Latitude / longitude lines

516 views
Skip to first unread message

Robert

unread,
Jan 28, 2016, 11:13:41 AM1/28/16
to Osmand
Hello,
I use Osmand on my Android phone mainly for planning, measuring and exploring sea routes (I'm a sailor) and am overall very pleased with it. However, I find the absence of latitude/longitude lines and display a bit inconvenient. What would it take to overlay such latitude/longitude display, as is common on nautical maps, onto the Osmand map? I could imagine that other sailors who use Osmand would also find this very useful. Note that I'm not relying on the Osmand map for navigation, but find it to be a useful tool for exploration of routes.
Here is an example of a nautical map with a latitude/longitude grid, and display of degrees/minutes along the edges: https://upload.wikimedia.org/wikipedia/commons/0/0a/NOAA_chart_25664_1976.png

Stephan75

unread,
Jan 28, 2016, 2:06:27 PM1/28/16
to Osmand
That is a new feature request.

Best way is to do some Discussion and brainstorming here, and then open an issue on github. IMHO.

Stephan

Max Erickson

unread,
Jan 28, 2016, 3:09:38 PM1/28/16
to Osmand
It'd be a bit of work, but one way to do part of it would be to grab one of the grids from here:

http://www.naturalearthdata.com/downloads/10m-physical-vectors/10m-graticules/

and, do the necessary conversions and create an OSMAnd style to show the data.

A built in feature would be nicer.


Max

Harry van der Wolf

unread,
Jan 29, 2016, 8:34:46 AM1/29/16
to osmand
This is a nice feature request, be it that it should be optional to switch on/switch off.
There are algorithms to calculate this so it should be possible to calculate the grid and overlay it. You don't even need external sources. 
But you do need an external source at this moment or create a separate map displaying them as lines. At this moment that would need to be "country borders", followed by "region/state/province/county" "borders" if you want to see them on a zoomed out level.

Harry


--
You received this message because you are subscribed to the Google Groups "Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osmand+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nico W

unread,
Jan 30, 2016, 2:25:43 PM1/30/16
to Osmand
Harry, that should not be too difficult to create, I would think. You need an algorithm to link coordinates together in equal latitude and longitude.

It would be a great feature for (aero)nautical purposes.

Robert

unread,
Jan 31, 2016, 3:26:08 AM1/31/16
to Osmand
Yes exactly, a switchable option is also what I had in mind. Perhaps adding an option under Configure map -> Show -> Lat/Long lines, or Configure map -> Map Rendering -> Lat/Long display -> on/off. Or perhaps this could be integrated in the nautical plugin.

I don't know the map data structure but given that I can tap a point and get its lat/long coordinates, wouldn't it be possible to get the coordinates of the top left and bottom right pixels of the screen, and based on this to draw lat/long lines at appropriate intervals?

Robert.
Reply all
Reply to author
Forward
0 new messages