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

Scale bar has wrong units for GeoJSON layer #14926

Closed
qgib opened this issue Mar 15, 2012 · 5 comments
Closed

Scale bar has wrong units for GeoJSON layer #14926

qgib opened this issue Mar 15, 2012 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GUI/UX Related to QGIS application GUI or User Experience

Comments

@qgib
Copy link
Contributor

qgib commented Mar 15, 2012

Author Name: Tony Bigbee (Tony Bigbee)
Original Redmine Issue: 5183
Affected QGIS version: master
Redmine category:gui


If I import a GeoJSON file as a layer in a new project, the scale bar shows units as "CM" and the bar length/distance does not correctly map to features in the map.
Using the Measure Line GUI tool does give the correct distances (in meters/kilometers).

I have set project properties layer units to meters and the CRS to WGS 84 / EPSG:4326.
The layer property also has EPGS:4326 - WGS 84 as the CRS.

When I change the layer style unit to map (from Millimeter), the a diamond is then displayed (the polygon in the file is a rectangle) in black. This behavior does not make sense.

I've attached a sample GeoJSON file. The cooordinates are expressed as degrees in decimal format. The GeoJSON spec describes a couple of ways of specifying the CRS. Neither way changes QGIS behavior. http://www.geojson.org/geojson-spec.html#coordinate-reference-system-objects

Using 1.7.4-Wroclaw 411aff6 on Windows 64-bit.


@qgib
Copy link
Contributor Author

qgib commented Mar 31, 2012

Author Name: Tony Bigbee (Tony Bigbee)


This is not a bug--please close. Layers must be transformed/reprojected via Layer:Save As...
Adding this note as another userid as I am unable to login via my original userid.

@qgib
Copy link
Contributor Author

qgib commented Apr 16, 2012

Author Name: Paolo Cavallini (@pcav)


  • fixed_version_id was changed from Version 1.7.4 to Version 1.8.0

@qgib
Copy link
Contributor Author

qgib commented Sep 4, 2012

Author Name: Paolo Cavallini (@pcav)


  • fixed_version_id was changed from Version 1.8.0 to Version 2.0.0

@qgib
Copy link
Contributor Author

qgib commented Jun 28, 2014

Author Name: Jürgen Fischer (@jef-n)


  • fixed_version_id was changed from Version 2.0.0 to Future Release - Lower Priority

@qgib
Copy link
Contributor Author

qgib commented Dec 8, 2015

Author Name: Médéric RIBREUX (Médéric RIBREUX)


Hello, bug triage...

well, if this is not a bug, I am pleased to close it !


  • resolution was changed from to not reproducable
  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! GUI/UX Related to QGIS application GUI or User Experience labels May 24, 2019
@qgib qgib added this to the Future Release - Lower Priority milestone May 24, 2019
@qgib qgib closed this as completed May 24, 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! GUI/UX Related to QGIS application GUI or User Experience
Projects
None yet
Development

No branches or pull requests

1 participant