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

Warn if .prj file is missing #10417

Closed
qgib opened this issue Oct 23, 2006 · 6 comments
Closed

Warn if .prj file is missing #10417

qgib opened this issue Oct 23, 2006 · 6 comments
Labels
Feature Request Vectors Related to general vector layer handling (not specific data formats)

Comments

@qgib
Copy link
Contributor

qgib commented Oct 23, 2006

Author Name: neteler-itc-it - (neteler-itc-it -)
Original Redmine Issue: 358

Redmine category:vectors
Assignee: Gary Sherman


Hi,

the line and area measurement tools show
wrong units:

  • starting with meters[qm] they switch to km[km2] once we digitize the line

  • the value is multiplied by 100

This seems to appear both in 0.8 preview2 and HEAD

Tested with a Transverse Mercator map (Gauss-Boaga, Italy)

regards,

Markus

@qgib
Copy link
Contributor Author

qgib commented Oct 23, 2006

Author Name: Gavin Macaulay - (Gavin Macaulay -)


The units used for line lengths is metres if the line is less than 1000 m, and kilometres if greater. Similarily for area, where the cutover from m^2 to km^2 is 1000 m^2.

What do you mean when you say that the value is multiplied by 100? When the length units change from metres to kilometres, the value is divided by 1000, and for area the value in m^2 is divided by 1000000 when displayed as km^2

@qgib
Copy link
Contributor Author

qgib commented Oct 24, 2006

Author Name: neteler-itc-it - (neteler-itc-it -)


OK, I tested again and the situation is worse :-)

I zoomed to a building in
http://grass.itc.it/grass61/screenshots/images/qgis08_grass6_toolbox.png

(approximate scale while measuring is 1:500)

My chosen building is several meters long (maybe 22m). I start
to draw the measurement tool line, it shows 0m, then
immediately 300km (should be 3m), reaching 1000km (should be 10m)
it flips to 0km again and so forth.

I am reading a SHAPE file with TMERC based projection (similar to UTM).

HA, got it - the proj file is missing... it would be probably cool if
QGIS could say that the .prj file is missing (to wake up the user).

Markus

@qgib
Copy link
Contributor Author

qgib commented Oct 28, 2006

Author Name: Gavin Macaulay - (Gavin Macaulay -)


Good. I'll make this an enhancement against 0.9.

@qgib
Copy link
Contributor Author

qgib commented Mar 19, 2008

Author Name: leolami - (leolami -)


I think the bug is fixed in 0.9.2
Can we close it?

@qgib
Copy link
Contributor Author

qgib commented Mar 19, 2008

Author Name: Markus Neteler (Markus Neteler)


... so I close it. Thanks.


  • status_id was changed from Open to Closed
  • resolution was changed from to fixed

@qgib
Copy link
Contributor Author

qgib commented Aug 21, 2009

Author Name: Anónimo (Anónimo)


Milestone Version 0.9.2 deleted

@qgib qgib added Feature Request Vectors Related to general vector layer handling (not specific data formats) labels 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
Feature Request Vectors Related to general vector layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant