Modify

Opened 18 years ago

Closed 18 years ago

#120 closed defect (invalid)

x-axis doesn't scale correct

Reported by: jlermer@… 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 anonymous, 18 years ago

OK, attaching files doesn't work, so here it is:

<?xml version="1.0" encoding="UTF-8"?>
<gpx version="1.0">
<trk>

<name>02-SEP-06 #2</name>

<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>

comment:2 by imi, 18 years ago

Resolution: invalid
Status: newclosed

This effect is because the mercator projection. You can switch to EPSG4192 in the preferences settings.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain imi.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.