NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi there,

I was just wondering if there is a way to get Open Street Map to detect the major oceans? When I use the reverse geocoding api on a position above an ocean I get - < error >Unable to geocode< /error >

I found this in the wiki and I was wondering if I was missing something? http://wiki.openstreetmap.org/wiki/Tag:place%3Dsea

Thanks, Pete

asked 06 Jul '14, 14:16

Peteskiii's gravatar image

Peteskiii
46226
accept rate: 0%


I'm not familar with the nominatim way of doing reverse-geocoding but guess that oceans (or anything outside the coastlines) is filtered during import. Can anybody plz. confirm?

permanent link

answered 06 Jul '14, 18:05

iii's gravatar image

iii
4.9k84082
accept rate: 10%

Maybe you can try some other engines listed in the OSM wiki at Search Engines

permanent link

answered 06 Jul '14, 18:17

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

Hey thanks for the reply, I thought nominatim was a part of OpenStreetMap! That's what I'm using for the reverse geocoding. I'll check out the other search engines on the wiki and see if I can figure out something.

That link i mentioned before though, is that a feature that is not yet available? http://wiki.openstreetmap.org/wiki/Tag:place%3Dsea

Thanks, Pete

(07 Jul '14, 00:38) Peteskiii

well, it is used 68 times on the whole planet as of today ...

see http://taginfo.openstreetmap.org/search?q=place%3Dsea

(07 Jul '14, 18:38) stephan75

You cannot detect ocean (area) objects in OSM by any geo-search model. Simply, der is no such class of objects (and OSM is not an exception). But, it is possible to create these oceans indirectly, though it is a complex and complicated task. So, if you are research and programming enthusiast, try the following option (major steps in bullets form):
1.Extract from an OSM dump the coastline data as poly-lines. Optionally, change the projection. Roughly, over 750 thousand poly-lines with over 32 million nodes.
2.Remove the redundancy (replications, overlaping sections...).
3.Connect the poly-lines (linear connections) into polygons. If needed perform gap reparations.
4.Transform the polygon set into (simple) area objects/structures. You can expect some 500 thousand area objects containing totally some 1000 holes. These are the land masses of the Planet.
5.Invert the land areas into water areas (e.g. add the global/Planet polygon and repeat the restructuring). You will get just some hundreds of planet_sea areas, though, some really very large.
6.Extract from the former sea areas the largest one and you get the Planet's global ocean. Roughly, this is everything outside the continents and islands. The global ocean contains more than 480 thousand holes and be careful with rendering especially without prior tiling.
Now, you can divide the global ocean into the traditional ocean areas.

permanent link

answered 08 Jul '14, 20:34

sanser's gravatar image

sanser
695383955
accept rate: 5%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×85
×8

question asked: 06 Jul '14, 14:16

question was seen: 6,170 times

last updated: 08 Jul '14, 20:34

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum