Select to view content in your preferred language

Can we know the names of countries that are in the polygon selection?

799
3
Jump to solution
04-05-2013 03:34 AM
FabienNAPPA
Regular Contributor
Hi all,

Can we know the names of countries that are in the polygon selection?

Y Does a service to do that?

Thank you in advance,
0 Kudos
1 Solution

Accepted Solutions
FabienNAPPA
Regular Contributor
I found the solution, there in the service "World Places Locator" the option "Single Line Input".

I was poorly documented, sorry!

Now I want to activate this service on my server but I do not know how.

Do you have an idea how to do?

Thanks

View solution in original post

0 Kudos
3 Replies
PhilipKnight1
Regular Contributor
Can we know the names of countries that are in the polygon selection?


Are you referring to a specific example of code? if so please reference the code.


But usually when you do a selection you should have access to the selected graphics. You'd have to loop through the selected graphics and get the associated Country names.

Hope this helps. If you reference the code you are referring to, I'd be happy to give you a more specific answer.
0 Kudos
FabienNAPPA
Regular Contributor
Thank you for your help.

I did not of reference code.

You see the service "World Places Locator" which allows you to find a city or country?

This is address of the service: http://tasks.arcgisonline.com/ArcGIS/rest/services/Locators/ESRI_Places_World/GeocodeServer/findAddr...

You must enter a city or country and it find you the coordinates.

I want the opposite, ie, sairir the coordinates MapPoint and receive the name of the country.
0 Kudos
FabienNAPPA
Regular Contributor
I found the solution, there in the service "World Places Locator" the option "Single Line Input".

I was poorly documented, sorry!

Now I want to activate this service on my server but I do not know how.

Do you have an idea how to do?

Thanks
0 Kudos