Hi,
In my application I have a use case where I'd like users to be able to search for an address that's really a whole city. What I'm hoping for is not a point in the middle of the city, but rather a polygon representing that city's administrative boundaries or at least its approximate geographical area. I did some searching around and I see that OpenStreetMap / nominatim has something like this:
https://nominatim.openstreetmap.org/search.php?q=new+haven+ct+usa&polygon_geojson=1&format=json&featureType=city
But I don't see any equivalent in the Esri Geocoding Service or any of the other APIs. I guess arguably another way you could do it would be to just make an ordinary findAddressCandidates call, and then use the coordinates from that result to make a geometry query against a polygon layer representing _all_ such boundaries, but it doesn't seem like there's any layer like that, as far as I know.
Is there a way to do what I'm trying to do in ArcGIS APIs?
Thanks,
Dan