Polygonpoints array sometimes missing from JSON results (php cURL)

Hi everyone. New to OSM and very excited about this resource. :slight_smile:

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:

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:

Thanks in advance.

Hi Tom,

some questions:

what do you want to do?

(a) Download the borders of some cities in the USA, no matter how.
(b) Do you want to do it by your own?

a) https://wambachers-osm.website/boundaries
b) can’t help you