User:Trolleway

From OpenStreetMap Wiki
Jump to navigation Jump to search

overpass query for building levels


[out:xml][timeout:25];
(
way["building"][!"building:levels"]({{bbox}});
way["building:part"][!"building:levels"]({{bbox}});
relation["building"][!"building:levels"]({{bbox}});
relation["building:part"][!"building:levels"]({{bbox}});
);

out meta;
>;
out meta qt;

Same query with removing village houses and garages

[out:xml][timeout:25];
(
way["building"][!"building:levels"]["building"!="house"]({{bbox}});
way["building:part"][!"building:levels"]["building"!="house"]({{bbox}});
relation["building"][!"building:levels"]["building"!="house"]({{bbox}});
relation["building:part"][!"building:levels"]["building"!="house"]({{bbox}});
);

out meta;
>;
out meta qt;

buildng levels query for moscow, with more filtering

[out:xml][timeout:25];
(
way["building"][!"building:levels"]["building"!="house"]["building"!="detached"]["building"!="garages"]["man_made"!~".*"]({{bbox}});
way["building:part"][!"building:levels"]["building"!="house"]["building"!="detached"]["building"!="garages"]["man_made"!~".*"]({{bbox}});
relation["building"][!"building:levels"]["building"!="house"]["building"!="detached"]["building"!="garages"]["man_made"!~".*"]({{bbox}});
relation["building:part"][!"building:levels"]["building"!="house"]["building"!="detached"]["building"!="garages"]["man_made"!~".*"]({{bbox}});
);

out meta;
>;
out meta qt;


Train This user maps along railway lines and while travelling by train. For more information see OpenRailwayMap.