Opened 18 years ago
Closed 18 years ago
#120 closed defect (invalid)
x-axis doesn't scale correct
Reported by: | Owned by: | imi | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
For latitudes other than the equator, JOSM scales the y-axis wrong. This is due to the fact, that 1 degree in east-west direction at 0.0N is longer than at e.g. 50.0N. See the attached gpx-file, it shows two squares with a side length of 100km each. the one at the equator is shown correctly in JOSM, the other at 50.0N, 0.0E is not. A mapping tool should do this right. JOSM could scale the y-axis for example to the lowest (nearest to the equator) shown latitude. As a consequence, the "Align Nodes In Circle" tool always aligns in really ugly ovals (but I fear this bug is actually a second one).
Attachments (0)
Change History (2)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
This effect is because the mercator projection. You can switch to EPSG4192 in the preferences settings.
OK, attaching files doesn't work, so here it is:
<?xml version="1.0" encoding="UTF-8"?>
<gpx version="1.0">
<trk>
<number>1</number>
<trkseg>
<trkpt lat="0.0 " lon="0.0">
</trkpt>
<trkpt lat="0.8994" lon="0.0">
</trkpt>
<trkpt lat="0.8994" lon="0.8994">
</trkpt>
<trkpt lat="0.0" lon="0.8994">
</trkpt>
<trkpt lat="0.0 " lon="0.0">
</trkpt>
</trkseg>
<trkseg>
<trkpt lat="50.0 " lon="0.0">
</trkpt>
<trkpt lat="50.8994" lon="0.0">
</trkpt>
<trkpt lat="50.8994" lon="1.42597">
</trkpt>
<trkpt lat="50.0" lon="1.42597">
</trkpt>
<trkpt lat="50.0 " lon="0.0">
</trkpt>
</trkseg>
</trk>
</gpx>