How to find the ocean using Google Maps API

Posted by geejay on Stack Overflow See other posts from Stack Overflow or by geejay
Published on 2010-03-24T09:23:52Z Indexed on 2010/03/24 11:13 UTC
Read the original article Hit count: 271

Filed under:

I am trying to figure out where the ocean is in an arbitrary Google Maps view.

I actually have the lat lon (a range of points, when joined together form the coastline) of the coastline. But how do I tell which side of this line is the coastline?

One possible solution would be to find the latlon of the nearest service or town or business or something, and then the ocean is obviously on the other side (given a small enough enclosing polygon).

Is there a better way?

© Stack Overflow or respective owner

Related posts about google-maps