User Tools

Site Tools


using_overlay_to_extract_data_from_openstreetmap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
using_overlay_to_extract_data_from_openstreetmap [2022/06/20 22:38]
abeverley [Show only roads in Westminster on a map]
using_overlay_to_extract_data_from_openstreetmap [2022/06/21 19:14]
abeverley [Show all segregated cycleways in Westminster on a map]
Line 7: Line 7:
   [out:​csv(number,​length)];​   [out:​csv(number,​length)];​
   {{geocodeArea:​Westminster}}->​.searchArea;​   {{geocodeArea:​Westminster}}->​.searchArea;​
-  way["​highway"​](area.searchArea);​+  way["​highway"​]["​highway"​!="​cycleway"​]["​highway"​!="​bridleway"​]["​highway"​!="​footway"​]["​highway"​!="​path"​]["​highway"​!="​service"​]["​access"​!="​private"​](area.searchArea);​
   make stat number=count(ways),​length=sum(length());​   make stat number=count(ways),​length=sum(length());​
   out;   out;
Line 34: Line 34:
   {{geocodeArea:​Westminster}}->​.searchArea;​   {{geocodeArea:​Westminster}}->​.searchArea;​
   (   (
-    way["​highway"​="​cycleway"​](area.searchArea);​+    way["​highway"​="​cycleway"​]["​foot"​!="​designated"​](area.searchArea);​
   );   );
   out body;   out body;
Line 45: Line 45:
   {{geocodeArea:​Westminster}}->​.searchArea;​   {{geocodeArea:​Westminster}}->​.searchArea;​
   (   (
-    way["​highway"​]["​highway"​!="​cycleway"​]["​highway"​!="​bridleway"​]["​highway"​!="​footway"​]["​highway"​!="​path"​](area.searchArea);​+    way["​highway"​]["​highway"​!="​cycleway"​]["​highway"​!="​bridleway"​]["​highway"​!="​footway"​]["​highway"​!="​path"​]["​highway"​!="​service"​]["​access"​!="​private"​](area.searchArea);​
   );   );
   out body;   out body;
using_overlay_to_extract_data_from_openstreetmap.txt ยท Last modified: 2022/06/21 19:14 by abeverley