Blottiere Paul
ec06223555
Add main loop to configure layers
2019-03-27 15:00:38 +01:00
Blottiere Paul
365e01a1a0
Remove invalid layer in test
2019-03-27 14:59:06 +01:00
Blottiere Paul
f9981ac8d9
Fixes external layers
2019-03-27 14:59:06 +01:00
Blottiere Paul
09e9df1e94
Add WMS render context
2019-03-27 14:59:06 +01:00
Blottiere Paul
51ab846d8e
Merge pull request #9545 from signedav/getlegendgraphics_HEIGHTWIDTH
...
SRCHEIGHT/SRCWIDTH for GetLegendGraphic request
2019-03-27 14:27:27 +01:00
David Signer
cf595f9454
use direct widthAsInt/heigtAsInt in GetFeatureInfo
2019-03-27 12:51:52 +01:00
David Signer
61a89af4c1
decide in qgswmsrenderer if SRCWIDTH (for GetLegendGraphic) or WIDTH (for GetMap) is used
2019-03-27 11:53:54 +01:00
David Signer
6722ad5917
fallback possibility if HEIGHT is used on GetLegendGraphics for maps as well
2019-03-27 11:53:54 +01:00
David Signer
e1847725e4
use of SRCHEIGHT SRCWIDTH intead of HEIGHT WIDTH
2019-03-27 11:53:54 +01:00
David Signer
4c667ada96
SRCHEIGHT SRCWIDTH and the logical part for selection
...
it takes these values as map size in case of GetLegendGraphics Request and still HEIGHT and WIDTH if not a GetLegendGraphics Request
because this parameter is called from multiple used functions, this logical part is in the getWidthAsInt and getHeightAsInt functions
getHeight and getWidth can be used still like before
2019-03-27 11:53:54 +01:00
Juergen E. Fischer
8e70c08b18
osgeo4w: fix grass shortcuts in qgis-dev ( fixes #21680 )
2019-03-27 10:44:20 +01:00
Nyall Dawson
7f95991edf
Cleanup ellipsoid
2019-03-27 12:53:15 +10:00
Nyall Dawson
191bbd192a
Guard against nullptr
2019-03-27 12:53:15 +10:00
Nyall Dawson
b685d2ca8b
Dox
2019-03-27 12:53:15 +10:00
Nyall Dawson
67b48a4309
Use QgsReadWriteLocker
2019-03-27 12:53:15 +10:00
Nyall Dawson
858e5d0209
Sipify
2019-03-27 12:53:15 +10:00
Nyall Dawson
8daf4baef9
Followup https://github.com/OSGeo/proj.4/pull/1337
...
Add remaining mapping of old QGIS ellipsoid codes to PROJ db codes
2019-03-27 12:53:15 +10:00
Nyall Dawson
163f046945
Avoid loss of precision when reading ellipsoids from proj
2019-03-27 12:53:15 +10:00
Nyall Dawson
583f3d3472
Update/add new ellipsoid unit tests for proj 6
2019-03-27 12:53:15 +10:00
Nyall Dawson
545e8bcf2c
Add utility class for proj to Python bindings
2019-03-27 12:53:15 +10:00
Nyall Dawson
a1a8e92646
Map older QGIS ellipsoid acronyms to proj auth:code pairs for proj 6
2019-03-27 12:53:15 +10:00
Nyall Dawson
8fb17e225e
Alternative method of ellipsoid lookups
2019-03-27 12:53:15 +10:00
Nyall Dawson
72cb49c1c7
Improve performance of ellipsoid lookups on Proj >= 6
2019-03-27 12:53:15 +10:00
Nyall Dawson
6e57bfa845
Nicer sorting of ellipsoid defs
2019-03-27 12:53:15 +10:00
Nyall Dawson
edd84e95da
Create ellipsoid definitions using proj db
...
Sponsored by ICSM
2019-03-27 12:53:15 +10:00
Nyall Dawson
ef8d893393
More QgsMapLayer python fixes
2019-03-27 09:11:15 +10:00
Nyall Dawson
ac651ee0d9
Followup 8d51a693, fix broken plugins
2019-03-27 07:20:43 +10:00
Denis Rouzaud
8d51a693a1
missing changes of QgsMapLayer::Type => QgsMapLayerType
2019-03-26 14:09:19 -05:00
Denis Rouzaud
60682885c0
Small tweak to enum Python docs ( #9631 )
...
original credits to @nyalldawson
2019-03-26 14:00:37 -05:00
Alessandro Pasotti
bd9b3736d6
Fix map layer memory leak with bad layer handling
...
Long story: if the store contains a layer with the same ID
it silently fails to add it to the store.
This is the cause of leak in case client code calls
store->addLayers() within the (iterative) process of fixing
bad layers by patching the XML and re-reading it.
The proposed solution is to check in QgsProject::addLayer()
- which creates the layer object - if the newly created layer
was already in the store and delete it at the end of the
layer reading process if it was.
Deleting the layer from within the store->addLayers is
extremely dangerous, because the caller could keep a reference
to the layer and use it.
2019-03-26 17:05:53 +01:00
Denis Rouzaud
f000956e86
Merge pull request #9437 from 3nids/maplayertype_enum
...
create scope based enum for QgsMapLayer::LayerType >> QgsMapLayerType
2019-03-26 10:28:34 -05:00
Matthias Kuhn
74e8207bf2
Merge pull request #9628 from daniviga/fix-rpm-2
...
[RPM] Make buildrpm.sh more robust and fast
2019-03-26 15:32:16 +01:00
Daniele Viganò
08c095e7a7
[RPM] Fix rpmbuild.sh broken shell checks
2019-03-26 14:40:37 +01:00
Daniele Viganò
8f9e782396
Merge branch 'master' into fix-rpm-2
2019-03-26 10:39:25 +01:00
Daniele Viganò
4857a06d35
[RPM] Make buildrpm.sh more robust and fix -b flag usage
2019-03-26 10:38:07 +01:00
Nyall Dawson
4f9d0029ad
Add test mask images
2019-03-26 18:17:12 +10:00
Nyall Dawson
e5b87474d4
Test improvements
...
- Use standard test font, larger font size to minimize cross platform
rendering differences
- Create a local test report for debugging
2019-03-26 18:17:12 +10:00
Nyall Dawson
c282e95d1c
Fix segfault on exit
2019-03-26 18:17:12 +10:00
henrik
584290c507
Fixed turned of testss
2019-03-26 18:17:12 +10:00
henrik
5c38ba3941
Decoupled tests by removing shared self-variables.
2019-03-26 18:17:12 +10:00
henrik
4b90afdb9e
Spelling
2019-03-26 18:17:12 +10:00
henrik
cf63e00500
Added tests for PointDisplacementRenderer labels.
2019-03-26 18:17:12 +10:00
henrik
e8584c0cf4
Added tests for pointdisplacementlabels
2019-03-26 18:17:12 +10:00
henrik
99bb45edbd
Fixed indentation.
2019-03-26 18:17:12 +10:00
henrik
252b74f80a
Fixed indentation.
2019-03-26 18:17:12 +10:00
henrik
12b17b38c4
Changed QList to QVector for faster access.
2019-03-26 18:17:12 +10:00
Nyall Dawson
969fe29968
Update src/core/symbology/qgspointdisplacementrenderer.cpp
...
Co-Authored-By: HenrikSpa <henrik.spangmyr@midvatten.se>
2019-03-26 18:17:12 +10:00
Nyall Dawson
ce41dd3f0a
Update src/core/symbology/qgspointdisplacementrenderer.cpp
...
Co-Authored-By: HenrikSpa <henrik.spangmyr@midvatten.se>
2019-03-26 18:17:12 +10:00
henrik
f9f51cc831
Fixes labels for point displacement grid.
2019-03-26 18:17:12 +10:00
henrik
6fb06738ec
[FEATURE] [needs-docs] Point Displacement label distance factor
...
Adds label distance factor spinbox to Point Displacement symbology
window. Calculates label distance based on the current symbology
diagonal instead of a general maximum diagonal.
Replaces the hard coded distance "symbolDiagonal/2.0" with
"symbolDiagonal*mLabelDistanceFactor", where mLabelDistanceFactor is set
to the spinbox value.
It's an old feature request (Point displacement labels adjustable
offsets "https://issues.qgis.org/issues/5945 ").
2019-03-26 18:17:12 +10:00