Denis Rouzaud
b9fdd02db6
fix copy in Dockerfile
2019-03-27 09:12:53 -05:00
Blottiere Paul
20a26a0dd6
Minor cleaning
2019-03-27 15:00:39 +01:00
Blottiere Paul
a159c01901
Remove unnecessary members from renderer
2019-03-27 15:00:39 +01:00
Blottiere Paul
0b68762b4d
Remove more methods from renderer
2019-03-27 15:00:39 +01:00
Blottiere Paul
dedf0abaeb
Move another method to context
2019-03-27 15:00:38 +01:00
Blottiere Paul
5c874ca554
Remove some unnecessary methods from renderer
2019-03-27 15:00:38 +01:00
Blottiere Paul
59eadbb5c6
Move some methods from renderer to context
2019-03-27 15:00:38 +01:00
Blottiere Paul
ca602ec99e
Update doc for QgsRenderer
2019-03-27 15:00:38 +01:00
Blottiere Paul
389076f813
Add doc for QgsWmsRenderContext
2019-03-27 15:00:38 +01:00
Blottiere Paul
dcd43dc5c3
Remove some unused methods
2019-03-27 15:00:38 +01:00
Blottiere Paul
5f4c052125
Update getFeatureInfo with render context
2019-03-27 15:00:38 +01:00
Blottiere Paul
b702c30eb7
Update dxf unit tests
2019-03-27 15:00:38 +01:00
Blottiere Paul
66d4de64f7
Update getDxf with render context
2019-03-27 15:00:38 +01:00
Blottiere Paul
24f3f97011
Update getPrint with render context
2019-03-27 15:00:38 +01:00
Blottiere Paul
8a46e2ffff
Update getLegendGraphics with render context
2019-03-27 15:00:38 +01:00
Blottiere Paul
47b4d05283
Update getMap with render context
2019-03-27 15:00:38 +01:00
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