Nyall Dawson
b6bc1ee2d4
Tweak QgsProcessingUtils::combineLayerExtents for future proofing, remove deprecated usage
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
82f2cb18b2
Deprecate default ctor for mesh layer options
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
f8dfdc4aa0
Deprecate method without transformContext
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
e930bee9e2
Add mandatory options to QgsVectorLayer ctor
...
... and deprecate the rest.
In QGIS 4 we'll have to get rid of the deprecated default ctor and
create a new one which takes no arguments.
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
6813a55fce
Deprecate vector layer ctor with default constructed options
...
replaced by QgsVectorLayer( const QgsVectorLayer::LayerOptions &options,
...
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
f5bc1c7196
Use options from provider ctor
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
bad0fe42d8
Removed leftover
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
4614c3e0bd
Dox typos
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
5f3dc50ccc
Remove deprecated QgsCoordinateTransform ctor ...
...
... and add a getter for coordinateTransform to QgsMapLayer
The reason is that I think we should reduce the dataProvider API
usage and rely on the higher level QgsMapLayer API whenever it
is possible, QgsMapLayer checks for data provider validity
and returns a default constructed QgsCoordinateTransform instead
of crashing.
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
7f271d1ebd
More coordinateTranformContext -> tranformContext
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
470759833e
coordinateTransformContext -> transformContext for consistency
...
I like "coordinateTransformContext" more btw.
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
df2bdf9c1a
Handle the coordinate tranform context in the layer ctor
...
Also use the context when read/write XML by passing it
in the R/W context
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
696264927f
Remove unused fwd declaration
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
71698bf707
Remove all deprecated usages of QgsCoordinateTransform without context
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
cb430c143e
Fix deprecated PUSH/POP
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
3d5e67e72c
Fix SIP (sipify does not like inline initializers)
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
dcf206232c
Step2 of coordinate traform context passing: SIP broken
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
c21cd35fe0
Add coordinate transform context to data provider options
...
First step to pass the context down into the rabbit hole.
2019-04-17 10:06:41 +10:00
Nyall Dawson
f947ffb5b1
Fix loss of renderer style after fixing a layer with a bad path
2019-04-17 05:18:22 +10:00
vcloarec
bed3da4308
fix QgsLayerTreeModel::refreshLayerLegend ( #9785 )
...
* fix QgsLayerTreeModel::refreshLayerLegend
Guard if the QModelIndex (idx) has no children.
* Update qgslayertreemodel.cpp
* Update qgslayertreemodel.cpp
* Update qgslayertreemodel.cpp
* Apply suggestions from code review
Co-Authored-By: vcloarec <vcloarec@gmail.com>
2019-04-16 17:37:26 +02:00
Juergen E. Fischer
891ea18bab
debian packaging: add ubuntu disco
2019-04-15 23:38:20 +02:00
Alessandro Pasotti
0e9428b652
Merge pull request #9787 from elpaso/request-21787-identify-links
...
Clickable links in identify results from GetFeatureInfo
2019-04-15 16:46:36 +02:00
Alessandro Pasotti
2895a64036
Const storage on list of formats
2019-04-15 14:46:59 +02:00
Alessandro Pasotti
0acc0565e4
Open identify links in external browser
...
Fixes #21787
2019-04-15 14:46:59 +02:00
Alessandro Pasotti
d24e6fd53b
Use logical DPI instead of physical
2019-04-15 14:43:00 +02:00
Matthias Kuhn
04409ac725
Merge pull request #9786 from m-kuhn/app_no_qforeach
...
No more Q_FOREACH in app
2019-04-15 10:24:51 +02:00
Matthias Kuhn
2f3646a142
Remaining Q_FOREACH to for changes
2019-04-15 09:27:17 +02:00
vcloarec
f86d8de4e8
fix the QgsMeshLayerProperties constructor
...
In constructor, if HAVE_3D is defined, the "mVector3DWidget is constructed with the mapCanvas instance of the QgisApp instance instead with the QgsMapCanvas instance which is an argument of the constructor.
2019-04-15 09:02:28 +02:00
Matthias Kuhn
6cd293f83d
No more Q_FOREACH in app
2019-04-15 07:15:22 +02:00
Nyall Dawson
e2f7b911ee
Spelling
2019-04-15 13:59:24 +10:00
Nyall Dawson
ae302fff99
More unit type handling
2019-04-15 13:59:24 +10:00
Nyall Dawson
5f41e54042
Fix build with proj4
2019-04-15 13:59:24 +10:00
Nyall Dawson
75993afcee
Another test
2019-04-15 13:59:24 +10:00
Nyall Dawson
927b05339e
Remove OGRSpatialReferenceH member from proj 6 builds
2019-04-15 13:59:24 +10:00
Nyall Dawson
10850bc689
More OGR->Proj conversion for proj 6
2019-04-15 13:59:24 +10:00
Nyall Dawson
dcb4553dc6
Port toProj4 to proj 6
2019-04-15 13:59:24 +10:00
Nyall Dawson
b42b295669
Port CRS map unit handling to proj 6
2019-04-15 13:59:24 +10:00
Nyall Dawson
d831f4e15f
Use proj6 api for geographicCrsAuthId(), add tests
2019-04-15 13:59:24 +10:00
Nyall Dawson
3bab21dc1b
Fix crs export to wkt on proj 6
2019-04-15 13:59:24 +10:00
Nyall Dawson
aa21d55fab
Port more QgsCoordinateReferenceSystem internals to proj v6
2019-04-15 13:59:24 +10:00
Nyall Dawson
018f3bc19b
Remove more proj4 api usage
2019-04-15 13:59:24 +10:00
Alessandro Pasotti
d3f6a5f9be
Merge pull request #9780 from elpaso/bugfix-plugins-dependencies-missing-metadata
...
Handle broken plugins when searching for dependencies
2019-04-12 15:57:33 +02:00
Alessandro Pasotti
507e327c0c
Handle broken plugins when searching for dependencies
2019-04-12 14:38:52 +02:00
rldhont
aa297b5185
Merge pull request #9763 from rldhont/sld-point-symbolizer-on-polygon-centroid-not-all-parts
...
Apply SLD PointSymbolizer on single centroid for polygon
2019-04-12 13:57:57 +02:00
rldhont
052b222196
Test apply SLD PointSymbolizer on single centroid for polygon
2019-04-12 12:32:56 +02:00
Marco Bernasocchi
a0a8e49e8f
Merge pull request #9777 from mbernasocchi/fix_maxwmswidth
...
[server] fix wmsMaxHeightEnv leftover code
2019-04-12 09:45:44 +02:00
Alessandro Pasotti
6092d56991
Merge pull request #9776 from pblottiere/server_params
...
[server] Fallback to unmanaged parameters
2019-04-12 09:31:35 +02:00
Marco Bernasocchi
c1546d9dcb
fix wmsMaxHeightEnv leftover code
...
Signed-off-by: Marco Bernasocchi <marco@opengis.ch>
2019-04-12 09:05:36 +02:00
Blottiere Paul
f6970faa84
Merge pull request #9772 from pblottiere/wms_fix
...
[server] Fixes WMS 1.3.0 certification
2019-04-11 13:57:13 +02:00
Blottiere Paul
a8a729b24d
Add test for an unkown parameter
2019-04-11 13:23:39 +02:00