ThinkGeo.com    |     Documentation    |     Premium Support

Identify land or sea at certain point (lat, lon)

Hello,

I’m Ph.D. student and I’m new on thinkgeo.

Recently, I tested your product on WPF application.

I tested thinkgeo for my application (about ship routing).

In thinkgeo, is it possible to identify if a point (with latitude and longitude) is over land or sea?

If it is possible, how can I get to the results?

I searched in google, but I can’t reach to the solution.

Thank you.

Hi Ki_Su_Kim,

You should have a group of polygons which render all the land at first.

Then you can use spatial query “Contains” to make sure whether the target point is contained by any land polygon.

If so, that’s a land point, if not, that’s a sea point.

So the mainly problem is the data, a trustworthy data can give a good result.

Wish that’s helpful, and you can get more detail about how to use our API in our HowDoISample project.

Regards,

Don