1

I am trying to create a Overpass Query that would give me polygons of Land that is NOT a highway/street/waterbody/(anything place that cannot be residential). The area Im looking does not have much mapping data. I wanted to have all residential areas and buildings but they arent mapped yet.

I need an alternative that would be a good guestimate of where these residential areas might be. (Not roads/waterbodies/parks)

I just can't seem to polygons of the spaces between the streets in the picture below.

UPDATE

Link to Overpass Link http://overpass-turbo.eu/s/j3I This will fetch the roads and water bodies, I don't want the land, I just want the spaces between those roads

enter image description here

1

The following query will return any ways with tags, that are not in the list of tags you wanted to be excluded:

[out:json];

(way[~"."~"."]({{bbox}}); - 
(

  way["natural"="water"]({{bbox}});
  way["natural"="water"]({{bbox}});
  way["water"="lake"]({{bbox}});
  way["natural"="coastline"]({{bbox}});
  way["waterway"="riverbank"]({{bbox}});

way["highway"~"primary|secondary|tertiary|residential|unclassified|service"]["sidewalk"!~"."]({{bbox}});

););


out body;
>;
out skel qt;

http://overpass-turbo.eu/s/j3P

  • is there no way to get that data by exclusion or something? there seem to be shapes there. I mean, surely theres something mapped, just not named. – user134611 Oct 5 '16 at 13:24
  • Does the revised query answer your question? – mmd Oct 5 '16 at 13:29
  • aah, that again gets the roads. I wanted things linke landuse that are not roads/streets – user134611 Oct 5 '16 at 19:04
  • I am getting the Buildings only. – user134611 Oct 5 '16 at 19:09
  • No, roads are excluded, if they are primary/secondary/etc. If you want landuse, why don't you simply query for landuse? Overall, your question is very unclear. Can you please revise your question and formulate pricely what you want? Again the reminder, if the data is not in the OSM database, the query can never return such data! – mmd Oct 6 '16 at 7:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.