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
using_overlay_to_extract_data_from_openstreetmap [2022/06/21 16:26]
abeverley [Total length of highways in Westminster]
using_overlay_to_extract_data_from_openstreetmap [2022/06/21 19:14] (current)
abeverley [Total length of segregated cycleways in Westminster]
Line 15: Line 15:
   [out:​csv(number,​length)];​   [out:​csv(number,​length)];​
   {{geocodeArea:​Westminster}}->​.searchArea;​   {{geocodeArea:​Westminster}}->​.searchArea;​
-  way["​highway"​="​cycleway"​](area.searchArea);​+  way["​highway"​="​cycleway"​]["​foot"​!="​designated"​](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;
using_overlay_to_extract_data_from_openstreetmap.1655825190.txt.gz ยท Last modified: 2022/06/21 16:26 by abeverley