Hi everyone. New to OSM and very excited about this resource.
I’m working to pull down the borders of a city and it seems to work really well except for one city (Escondido, California). When I do it manually through a browser, I can see that the data I want is available (it’s being rendered when I click on the Details button and it says it has polygon data), but I’m stumped as to how to get to that data programmatically.
Here’s the url I’m passing in my php cURL function call:
https://nominatim.openstreetmap.org/search?city=escondido&country=us&state=california
The call succeeds and the decoded JSON data is all nicely formatted, but it’s missing the array: Polygonpoints
If I were to do this same call using another city like Oceanside, for example, it works great:
https://nominatim.openstreetmap.org/search?city=oceanside&country=us&state=california
Thanks in advance.
Tom