This is a migrated thread and some comments may be shown as answers.

I want to know if a specific point is the sea or land.

3 Answers 46 Views
Map
This is a migrated thread and some comments may be shown as answers.
YongWook
Top achievements
Rank 1
YongWook asked on 21 Nov 2017, 04:39 AM
Hello, I am a user using telerik winforms.
I am gratefully using radmap.
But I can not solve this problem, so I leave a post.

I am doing research to simulate drifting objects in the ocean.
But since a drifting object can not pass through the ground, I need a way to know if the specific coordinates are in the ground or in the sea.
It seems difficult to solve this method using 'Elevation'.

to sum it up,
Whether there is a way to know whether a specific point is the sea or the land.

Thank you.

3 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 21 Nov 2017, 01:04 PM
Hi YongWook,

Thank you for writing.

In order to check if a particular geo point is located in the sea or not you would need to rely on some service to do the job. Bing is providing an elevation API which is utilized by RadMap and you can access it through the IMapElevationProvider interface.

I can suggest performing an elevation request using the List elevation type and then to work with the returned sea level. You can check the following documentation article providing an example: https://docs.telerik.com/devtools/winforms/map/providers/bingmaps/elevation/list.

I hope this helps. Should you have further questions please do not hesitate to write back.

Regards,
Hristo
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
YongWook
Top achievements
Rank 1
answered on 21 Nov 2017, 06:22 PM
Thank you so much for your good reply.

With the reply, I was able to distinguish the sea (1m) from the land on the route.

Thank you again.
0
Hristo
Telerik team
answered on 22 Nov 2017, 11:23 AM
Hi YongWook,

Thank you for the updated. I am glad that I managed to help.

Let me know if you need further assistance.

Regards,
Hristo
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Map
Asked by
YongWook
Top achievements
Rank 1
Answers by
Hristo
Telerik team
YongWook
Top achievements
Rank 1
Share this question
or