I'm trying to write some code that, given a latitude and longitude, will report which ocean (if any) this point is in.

Is there a public resource available that defines the borders of the oceans as a set of lat/long points that I can download?

  • 1
    This question is I think a bit different from the other one. The resources pointed to in the accepted answer has just two polygons, one for the Caspian Sea and one for the rest of the world, whereas @Dancrumb wants to know which body of water a given point lies in, e.g. North Atlantic, Bering Sea, etc. – MerseyViking Jan 4 '12 at 18:10

ESRI's Ocean Basemap might be useful for your task:


| improve this answer | |

Ocean polygons available here:




Different resolutions. You can open the shapefiles in QGis and save as any format you want [assuming you're writing a browser based app].

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.