Is there any api which provide boundary coordinates of city, county and country ? I want to use those api to draw boundary for search place. Example: If i search for Arizona USA i should get coordinate for Arizona jurisdictional boundary.
Hi mukul chavan,
I think you should have a look at the ArcGIS REST API:
ArcGIS REST API | ArcGIS for Developers
Below you will find an example retrieving the boundary of the state of Arizona:
https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_States_Generalized/FeatureServer/0/query?where=STA…
HTH,
Egge-Jan
Hey Thanks!!!
I have gone through api link which you have provided. But did not get information which I am seeking. Can you please provide me link from where did you get "https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices.arcgis.com%2FP3ePLMYs2RVChkJx%2Farcgis%2Frest%2… " this service, so that I can get much information on how to pass queryparams , what should be passed to get county boundary , city boundary , district boundary..
I found this map through the Living Atlas: https://www.arcgis.com/home/item.html?id=d7c21ac2f29348cebf45f70515f72a42
The underlying service can be found here: https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_States_Generalized/FeatureServer/0
At the bottom of this page you will find a link to query the service:
https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_States_Generalized/FeatureServer/0/query
Here you can enter your parameters - see screen capture.
BR,
Hi Egge-Jabn,
I have gone through API repository and found state & county data but did not found any api which will return boundary coordinates for city , town and district.
I have search data on https://services.arcgis.com/P3ePLMYs2RVChkJx/ArcGIS/rest/services this link.
Example :- I want to get boundary coordinates for Gilbert in Arizona, which API I should consume for this?
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.