Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong measurements when background is from a tiled service #20337

Closed
qgib opened this issue Feb 6, 2015 · 2 comments
Closed

Wrong measurements when background is from a tiled service #20337

qgib opened this issue Feb 6, 2015 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Projections/Transformations Related to coordinate reference systems or coordinate transformation

Comments

@qgib
Copy link
Contributor

qgib commented Feb 6, 2015

Author Name: Paolo Cavallini (@pcav)
Original Redmine Issue: 12143
Affected QGIS version: 2.6.0
Redmine category:projection_support


The scale gets wrong if one adds a tiled baselayer (e.g. Google or OSM via OpenLayers plugin, or via GDAL XML). E.g. at 1:2257 scale, on the video a 100 m line is 4.8 cm; adding a baselayer it becomes 6.9 cm, without changing the scale.
If I load a EPSG:3003 layer, add an OpenLayers plugin layer, the scale gets wrong and the project projection is set at 3857. Changing the projection back to 3003 makes things right again.
Apparently GDAL does not choose the correct zoom level to display the tiles. It does not seem related to the OL plugin, as it behaves the same on the server (seen through LizMap, with the same baselayer).

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0
  • regression was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Feb 26, 2018

Author Name: Paolo Cavallini (@pcav)


AFAICU this is related to EPSG:3857 being unsuitable for measurements.


  • resolution was changed from to invalid
  • status_id was changed from Open to Closed
  • description was changed from The scale gets wrong if one adds a tiled baselayer (e.g. Google or OSM via OpenLayers plugin, or via GDAL XML). E.g. at 1:2257 scale, on the video a 100 m line is 4.8 cm; adding a baselayer it becomes 6.9 cm, without changing the scale.
    If I load a EPSG:3003 layer, add an OpenLayers plugin layer, the scale gets wrong and the project projection is set at 3857. Changing the projection back to 3003 makes things right again.
    Apparently GDAL does not choose the correct zoom level to display the tiles. It does not seem related to the OL plugin, as it behaves the same on the server (seen through LizMap, with the same baselayer). to The scale gets wrong if one adds a tiled baselayer (e.g. Google or OSM via OpenLayers plugin, or via GDAL XML). E.g. at 1:2257 scale, on the video a 100 m line is 4.8 cm; adding a baselayer it becomes 6.9 cm, without changing the scale.
    If I load a EPSG:3003 layer, add an OpenLayers plugin layer, the scale gets wrong and the project projection is set at 3857. Changing the projection back to 3003 makes things right again.
    Apparently GDAL does not choose the correct zoom level to display the tiles. It does not seem related to the OL plugin, as it behaves the same on the server (seen through LizMap, with the same baselayer).

@qgib qgib closed this as completed Feb 26, 2018
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Projections/Transformations Related to coordinate reference systems or coordinate transformation labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Projections/Transformations Related to coordinate reference systems or coordinate transformation
Projects
None yet
Development

No branches or pull requests

1 participant