Opened 14 years ago

Closed 14 years ago

#4645 closed enhancement (fixed)

[Patch] Show coordinates as East/North

Reported by: robert@… Owned by: team
Priority: trivial Milestone:
Component: Core Version: latest
Keywords: lambert coordinates Cc: robert@…



it would be great if josm could show coordinates as East/North (using Lambert projection) instead of Latitude/longitude. That would help a lot in positioning old images from the french "cadastre".

My understanding is that and lonToString should be adapted to return East and North coodrinates (using

I'll have a look but as I am no java developper, it will take me quite some time before I get trunk up and running (wasn't there a CLASSPATH thing ? ;-)). So if this is easy and quick done for one of you, please do not wait for me and "just" code it ;-)



Attachments (2)

patch-east-north.txt (1.9 KB ) - added by tibob <robert@…> 14 years ago.
patch-east-north.2.txt (1.9 KB ) - added by tibob <robert@…> 14 years ago.

Download all attachments as: .zip

Change History (7)

by tibob <robert@…>, 14 years ago

Attachment: patch-east-north.txt added

comment:1 by tibob <robert@…>, 14 years ago

Cc: robert@… added

This was easier than I tought... So here is a patch do display East/North coordinates.

This is a bit of a hack because latToString should report a latitude, not "north", but I think it would be much more work to change the whole coordinate system t display east/north...



PS: I'll do a second upload of the patch in a sec as I inverted east and north.

by tibob <robert@…>, 14 years ago

Attachment: patch-east-north.2.txt added

comment:2 by tibob <robert@…>, 14 years ago

Summary: Show coordinates as East/North[Patch] Show coordinates as East/North

comment:3 by bastiK, 14 years ago

The patch looks ok, but does it change the behavior of the program in any way?

comment:4 by tibob <robert@…>, 14 years ago

Yes, it displays East/North coordinates (in the current projection) instead of lat/lon in the status bar and in the object selection panel.

It ist not very usefull in WGS84, but try it with a Fench Lambert projection (over Paris for example).

It also changes the projection preference window: you can choose to display coordinates in East/North (instead of Degrees). You have to change this preference of course to see the effect of the patch ;-)


comment:5 by bastiK, 14 years ago

Resolution: fixed
Status: newclosed

(In [3067]) applied #4645 - option to show projected coordinates instead of lat/lon (patch by tibob)

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
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.