Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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:

share|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].

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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