I have about 1000 nodes/locations of interest from openstreetmap. I queried Overpass API to get coordinates of those 1000 locations/nodes. What I am interested in is, getting a polygon based KML/shapefile for each of those 1000 locations. So basically, let's say I go to 1 of those 1000 locations on the map, currently I just have one location pointer for that location. But I need a whole polygon drawn for the location. For example, if it's a supermarket, I need a KML file for it such that it can show me a polygon drawn over the entire supermarket and not just a location pointer.
Is it possible to get that from Overpass API or anywhere else? Thanks in advance.
Overpass API Query Sample:
/*
This query looks for nodes with the given key/value combination.
*/
[out:json][timeout:25];
// gather results
(
// query part for: “building=<xyz>”
node["building"="<xyz>"];
);
// print results
out body;
>;
out skel qt;