48053 Commits

Author SHA1 Message Date
Even Rouault
04a55b2578
[cleanup] QgsFieldCalculator: avoid use of hardcoded magic indices 2018-06-01 13:17:13 +02:00
Even Rouault
f4bf1ec907
[OGR provider] GPKG: allow repeated creation of int fields with len != 0 (fixes #19009) 2018-06-01 13:15:41 +02:00
Andrea Giudiceandrea
6192b5eb36 Add fill/stroke color & opacity parameters to more north arrows svg images 2018-06-01 18:02:16 +07:00
Nyall Dawson
05f426e061 Remove orig_ogc_fid fields from server filter tests 2018-06-01 21:00:20 +10:00
Nyall Dawson
e6e54de383 Add test to ensure that orig_ogc_fid field is only ever used internally
We don't want to expose this field to users, or include it in layer
exports or copies

And rename internal field to __orig_ogc_fid to avoid clashes with
existing datasets which have been exported before this fix and which
now contain a orig_ogc_fid field
2018-06-01 21:00:20 +10:00
Alessandro Pasotti
0fa88e6faf Skip failing test on Travis
the test passes locally
2018-06-01 10:55:17 +02:00
Alessandro Pasotti
2f41d32e98 Added test to cmake 2018-06-01 10:55:17 +02:00
Alessandro Pasotti
cac675a978 Removed commented code 2018-06-01 10:55:17 +02:00
Alessandro Pasotti
749bc02143 Fix provider for min/max updates 2018-06-01 10:55:17 +02:00
Alessandro Pasotti
6f3be9fa3d SIP updates 2018-06-01 10:55:17 +02:00
Alessandro Pasotti
b696e9b1fd Minor updates to the doc strings 2018-06-01 10:55:17 +02:00
Alessandro Pasotti
1e3661cbf7 Added QgsSpatialIndex to the python provider 2018-06-01 10:53:46 +02:00
Alessandro Pasotti
abcad019a9 Python provider tests passing
Except for QgsLayerDefinition.exportLayerDefinitionLayers
and QgsLayerDefinition.loadLayerDefinitionLayers
2018-06-01 10:53:46 +02:00
Alessandro Pasotti
29575b5b7e QgsDebugMsg -> QgsDebugMsgLevel 2018-06-01 10:53:46 +02:00
Alessandro Pasotti
324fd7d522 Allow python creation of QgsFeatureIterator from an abstract one 2018-06-01 10:53:46 +02:00
Alessandro Pasotti
7ffdab2d09 Do not dec ref in methodcode 2018-06-01 10:53:46 +02:00
Alessandro Pasotti
adcc2e96f9 Moved python provider to separate file
Also cloned other memory layer methods
2018-06-01 10:53:46 +02:00
Alessandro Pasotti
e341b3a5cf Tests for Python vector data provider (still failing but not crashing!) 2018-06-01 10:53:46 +02:00
Alessandro Pasotti
839a889038 SIP wrappers for QgsProviderMetadata 2018-06-01 10:53:46 +02:00
Alessandro Pasotti
9d66eb8db4 API to register new vector data providers 2018-06-01 10:53:46 +02:00
Alessandro Pasotti
222f3ad9e0 Check for index validity and do not crash! 2018-06-01 10:53:46 +02:00
Nyall Dawson
bd65fc607b [processing][gdal] Don't double quote output paths
Breaks for some drivers, e.g. KML

Fixes #18264
2018-06-01 18:21:41 +10:00
Nyall Dawson
30ecb33855 [processing][GRASS] Fix some algorithms always export as GPKG, regardless of format selected 2018-06-01 16:53:00 +10:00
Nyall Dawson
60a87e9497 [processing] Fix error when creating tests and raster output
no longer exists

Fixes #16123
2018-06-01 16:20:12 +10:00
Nyall Dawson
4289bcb3cb [processing][saga] Fix some field parameters are incorrectly defined as feature sources
Fixes #18193
2018-06-01 15:55:11 +10:00
Nyall Dawson
f6416a1990 [processing] Fix missing vector inputs when run in batch mode
Fix incorrect definition of compatibleVectorLayers, which was
using layer WKB type values instead of processing source types.
2018-06-01 15:55:11 +10:00
Nyall Dawson
d1bcfbfef3 [processing] Rename File parameter in modeler to File/Folder
Better reflects what it does
2018-06-01 15:55:11 +10:00
Nyall Dawson
950d042e72 [processing] Fix errors when filling parameters in batch panel
Fixes #18408
2018-06-01 15:55:11 +10:00
Nyall Dawson
dcba919eef Add another acceptable hash 2018-06-01 11:54:31 +10:00
Nyall Dawson
4719a7c1f5 See if test now passes on Travis 2018-06-01 11:54:31 +10:00
Nyall Dawson
09d21cf920 Resurrect another GRASS test 2018-06-01 11:54:31 +10:00
Nyall Dawson
3f456993d6 Resurrect a GRASS test 2018-06-01 11:54:31 +10:00
Nyall Dawson
0e7c31e9e7 [processing][grass] Fix handling of optional file parameters 2018-06-01 11:54:31 +10:00
Nyall Dawson
e273ac2815 [processing] Some test debugging help 2018-06-01 11:54:31 +10:00
Nyall Dawson
46a4c23648 Resurrect a grass test 2018-06-01 11:54:31 +10:00
Nyall Dawson
ae95adba40 [processing][GRASS] Fix r.relief.scaling has inverted min/max values for altitude and azimuth parameters
Fixes #19076
2018-06-01 09:36:24 +10:00
Nyall Dawson
1c684456aa [processing] Log an error when a numeric parameter has min value >= max value
Refs #19076
2018-06-01 09:36:24 +10:00
Nyall Dawson
32792d3409 Better dox, spelling 2018-06-01 08:53:20 +10:00
Nyall Dawson
f7a6864b9c [processing] Fix invalid characters in HTML for 'Raster layer unique values' report 2018-06-01 08:53:20 +10:00
Nyall Dawson
8bdec09b3b Revert "Fix QCA-ssl for FreeBSD"
This reverts commit 25ba36180cfbf836b9458beb98e28f62349c4260.

Breaks linux build
2018-06-01 08:32:46 +10:00
Matthias Kuhn
5e3ce8ff6a SC2003: expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]]. 2018-06-01 08:25:46 +10:00
Matthias Kuhn
09f17d9952 SC2006: Use $(..) instead of legacy ... 2018-06-01 08:24:38 +10:00
Nyall Dawson
408a9fbf0b Fix some shellcheck warnings 2018-06-01 08:21:48 +10:00
Even Rouault
efa7f99b6f
Merge pull request #7132 from rouault/fix_19077_bis
[OGR provider] Avoid attribute table to be empty on OGR layer with mixed geom types (fixes #19077)
2018-05-31 23:51:15 +02:00
Even Rouault
2969ba1e99
test_provider_ogr_gpkg.py: avoid bug_17795.gpkg test sample to be modified by tests 2018-05-31 23:05:37 +02:00
Even Rouault
ee06d52421
[OGR provider] Avoid attribute table to be empty on OGR layer with mixed geom types (fixes #19077) 2018-05-31 23:05:37 +02:00
Denis Rouzaud
0cffd19e5f monkey path custom widgets
this will add module to the system to avoid missing modules when running on a local install (uic widget-plugin not installed)
2018-05-31 12:33:38 -08:00
Even Rouault
9fcee524b9
Merge pull request #7128 from rouault/fix_17945
[WFS provider] Add typename prefix before attribute/geometry name for Update requests (fixes #17945)
2018-05-31 21:01:45 +02:00
Even Rouault
1e4b01bb9b
[WFS provider] Add typename prefix before attribute/geometry name for Update requests (fixes #17945)
Deegree requires those namespace prefixes. I've also verified that
GeoServer is indifferent regarding them.
2018-05-31 18:30:39 +02:00
Matthias Kuhn
48bbd2460c
Run string comparison test on all providers 2018-05-31 18:27:16 +02:00