55154 Commits

Author SHA1 Message Date
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
Alessandro Pasotti
e8a7d0e979 Guard vector file writer against invalid layers
instead of crashing.

Fixes #21856

Funded by: QCooperative.net
2019-04-16 13:27:47 +02:00
Matthias Kuhn
b90a01847f
Prefer parameterAsBoolean over parameterAsBool 2019-04-16 08:30:00 +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
4771f802fc
Add QgsProcessingParameters::parameterAsBoolean for consistency 2019-04-15 14:08:41 +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
a6e4faef1b
Add test 2019-04-15 08:12:09 +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
David Signer
27fc381600 fix comment 2019-04-12 22:24:42 +02:00
Matthias Kuhn
d0e24e8bc4
Add QgsProcessingAlgorithm::parameterAsBoolean
For consistency

Alias to QgsProcessingAlgorithm::parameterAsBool(), because the parameter class is called
QgsProcessingParameterBoolean
2019-04-12 21:26:09 +02: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
David Signer
fab5254595 using correct pictures and additional comments 2019-04-11 19:12:26 +02:00
David Signer
fa8e5fa348 add test files and correct image 2019-04-11 17:01:23 +02:00
David Signer
c22effb545 add for second case as well the default scale fallback 2019-04-11 17:01:09 +02:00
David Signer
8e62a89c98 add correct layer to testproject 2019-04-11 16:11:00 +02:00
David Signer
1d6a7dd53c replace image with the expected one from test 2019-04-11 14:51:01 +02:00
David Signer
755c8ff36d fix tests 2019-04-11 14:08:18 +02:00
David Signer
7f7d910991 tooltip and label text 2019-04-11 14:08:06 +02:00