Hi, I already know Nominatim which gives me address and some (much) more information for a specific location. That's fine but way too much for what I plan to do (and it would cause way too much traffic on Nominatim comparing to what I really need). So my question: is there a possibility to find out if a given position is located in water or outside? Means can I do a simple check if that position specifies a place on land or sea? Thanks! asked 16 Apr '13, 12:00 Satz Klauer |
There is no ready-made API for this. You have to load the oceans and other water areas into a PostGIS database and write a few lines of glue script (PHP or similar) for that. Rivers could be a little complicated since they are often mapped as linear features; you will want to extend them to areas when populating your database. answered 16 Apr '13, 12:49 Frederik Ramm ♦ |
Just to clarify, would the middle of a lake count as "land" or "sea"? What about an island in the middle of the lake?
An island in the middle of a lake would be land.