Alessandro Pasotti
c4d62ef05f
Re-enable test that was failing on Travis
2018-06-04 14:27:01 +02:00
Alessandro Pasotti
6ece1aa543
registerProvider now returns a bool
2018-06-04 14:26:22 +02:00
Alessandro Pasotti
3aa630ca25
Added QgsDataProvider::ProviderOptions to the bindings
2018-06-01 14:18:44 +02: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
749bc02143
Fix provider for min/max updates
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
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
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
f7a6864b9c
[processing] Fix invalid characters in HTML for 'Raster layer unique values' report
2018-06-01 08:53:20 +10: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
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
Even Rouault
1d2686d0dc
[WFS provider] Handle DescribeFeatureType responses that consist of a single <include> ( fixes #18267 )
...
Also handle another occurence of a buggy server only accepting TYPENAMES plural
as parameter of DescribeFeatureType
2018-05-31 13:38:08 +02:00
Nyall Dawson
3aa4968f93
Optimise geometry conversion to/from geos
2018-05-30 18:52:41 +10:00
Nyall Dawson
d4a5df2f2c
More unit checks for project dirtying
2018-05-30 14:15:00 +10:00
Nyall Dawson
2a70c4bcca
Remove invalid ring handling from filterVertices, move to removeInvalidRings()
2018-05-30 05:01:40 +10:00
Nyall Dawson
53d4d0b40a
Fix filterVertices for multipoint geometries
2018-05-30 05:01:40 +10:00
Nyall Dawson
3ba7c0b322
Unit tests for filterVertices
2018-05-30 05:01:40 +10:00
nirvn
5ab3fe4ba0
Add subsetStringChanged signal
2018-05-29 17:10:17 +07:00
Denis Rouzaud
637f59ded1
fix server/app files and sipify test
2018-05-28 10:39:34 -08:00
Denis Rouzaud
6772f0d74e
fix test
2018-05-28 10:39:34 -08:00
Denis Rouzaud
70f8266495
add test to check that \since and \deprecated are at the end of command blocks
2018-05-28 10:39:34 -08:00
rldhont
facf7a22f0
Merge pull request #7007 from arnaud-morvan/server_filter_and_bbox
...
[server][wfs] Apply BBOX inside And using filterRect
2018-05-28 13:07:07 +02:00
arnaud.morvan@camptocamp.com
12a7be799c
[server] Apply BBOX inside And using filterRect
...
In case of a WFS GetFeature request,
if BBOX is not a direct child of the Filter element,
it is applyed through an intersects_bbox function in the QgsFeatureRequest filterExpression.
This is not compiled by providers like PostgreSQL, causing the whole filter to be interpreted on QGIS side.
When interpreted on QGIS side, the srsname given in the request is not handled properly as geom_from_gml return a geometry object, projection agnostic.
This result in a very long request returning no results.
This is a workaround for this performance and srs issue in the case the BBOX is direct child of an And operator,
itself at first level in Filter element.
This is a bug fix and huge optimisation for the case we have a And with a BBOX and another condition.
2018-05-28 11:25:17 +02:00
Nyall Dawson
870d20740c
[processing] Tweaks and checks for checkParameterValues
2018-05-28 16:02:38 +10:00
Andrea Aime
c923d5b63f
Fixes #16706 , categorized symbology matching lack of value is not properly encoded in SLD
2018-05-28 13:05:28 +10:00
Nyall Dawson
f8bc97030b
Remove extra space added before first line of docstring
2018-05-28 08:22:11 +10:00
Nyall Dawson
c864d22d1f
Add "get ..." to doxygen compliance blacklist
...
Should be "gets ..." for consistent tense, or better yet
"returns ..." for consistency.
2018-05-27 14:05:06 +10:00
Nyall Dawson
b6b08e96a0
Add 'accessor for' to doxygen compliance blacklist
...
Use "Returns the..." instead
2018-05-27 14:05:06 +10:00
Denis Rouzaud
487a6a8b70
add missing crsChanged signal in QgsProjectionSelectionWidget ( #7079 )
2018-05-26 18:06:14 -08:00
Nyall Dawson
94cf3fc788
Use "customize" instead of "customise"
...
Since we default to US spelling, we should always be using "customize"
2018-05-26 15:44:04 +10:00
Nyall Dawson
8f770c3f60
Add 'mutator for ' to doxygen compliance blacklist
2018-05-26 15:44:04 +10:00
Nyall Dawson
c10f6de437
Unit tests for QgsLineString::(x/y)Data()
2018-05-26 11:00:43 +10:00
Matthias Kuhn
cb4d11787c
Remove redundant virtual on override
2018-05-26 06:11:37 +10:00
Nyall Dawson
43928d8c9c
Don't crash when a null task is added to task manager
2018-05-25 16:53:51 +10:00
Nyall Dawson
5e360f90e8
Add unit test to prevent deprecated methods without description
...
And add missing descriptions
2018-05-25 16:31:03 +10:00
Nyall Dawson
1c615c15cc
More documentation compliance
...
Use Qt style "returns .." tense instead of "return ..", and lock
this in with a documentation compliance unit test
2018-05-25 15:09:00 +10:00
Nyall Dawson
44630b47ed
Add QgsDataProvider::ProviderOptions struct to constructors
...
for data providers
Allows a way to pass generic settings to providers, e.g.
passing a datum transform context for use in provider's
constructors.
2018-05-25 11:40:57 +10:00
Nyall Dawson
2cb8a33884
Fix broken see also links
2018-05-25 11:16:18 +10:00
Nyall Dawson
a3c543dfda
Fix test result
2018-05-25 11:16:18 +10:00
Nyall Dawson
fa912f5c1d
Doxygen test also checks for broken 'see also' links
2018-05-25 11:16:18 +10:00
Martin Dobias
61f84ce7f6
Merge pull request #7008 from PeterPetrik/qgsmeshlayer_2_scalar_vector_datasets
...
[mesh] Rendering of scalar and vector datasets
2018-05-24 07:43:14 -04:00
Even Rouault
839de2e26c
Merge pull request #7057 from rouault/fix_18882_alternate
...
[WFS provider] Revert to using singular TYPENAME keyword for WFS 2.0 DescribeFeatureType (fixes #18882 , refs #17872 )
2018-05-23 15:23:09 +02:00
Even Rouault
2330b7fc63
[WFS provider] Handle buggy servers that require plural form TYPENAMES for DescribeFeatureType ( fixes #18882 , refs #17872 )
...
Some servers like http://geoportal.samregion.ru/wfs12 return an
error when issuing a REQUEST=DescribeFeatureType&VERSION=2.0.0&TYPENAME=...
query, which is the conformant way
They expect the plural form TYPENAMES to be passed
As they return an exception when being provided with the singular form,
we can automate the retry with TYPENAMES.
2018-05-23 13:59:11 +02:00
Matthias Kuhn
2bbacb635f
Merge pull request #7054 from nyalldawson/compliant
...
Add compliance test to doxygen test
2018-05-23 11:03:15 +02:00
Juergen E. Fischer
e6c949895a
fix stretch build
2018-05-23 10:37:10 +02:00