ThinkGeo.com    |     Documentation    |     Premium Support

Creating a circle and detect what is it contain

Hello all ,
i need to create a circle using a longitude and latitude and get all points this circle contain and make some calculations to these points

thanks

Hi Mostafa,

You can create a ellipse shape, and then use spatial query to get all features included in it.

Please refer the HowDoI sample, you can find the SpatialQueryAFeatureLayer sample here:

And the containing should be what you want.

Wish that’s helpful.

Regards,

Ethan

Ethan
i appreciate your help , Thanks

i have another problem , i already have a drawn point but i don’t know how to get it’s longitude and latitude to use them for circle center

Hi Mostafa,

Your other topic should asked the same question, so please refer the sample: https://github.com/ThinkGeo/GetFeaturesClickedOnSample-ForWinForms

It should be helpful.

Regards,

Ethan