This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

OSM API showing nested polygons on boundaries

0

When i try to search "Kungsholmen" place in sweden on openstreetmap it shows me multiple possible polygons for it. but when i try to search them using openstreetmap api it shows almost all locations in one selection. Can anybody please help me because if the arrays are different then it is possible to take out data separately but it has one array which is returned so i am unable to figure out which data is for which polygon.

Any help would be appreciated.

asked 26 Sep '20, 19:06

ahmadrsaleemi's gravatar image

ahmadrsaleemi
21112
accept rate: 0%

Can you add a bit more detail about what you are doing to search? Since OSM is easily downloadable, lots of people offer APIs searching copies of it, so it would be useful to know which you are using.

(26 Sep '20, 19:20) SomeoneElse ♦

Source code available on GitHub .