User:Kannix/Routino

From OpenStreetMap Wiki
Jump to: navigation, search

Routino: Router for OpenStreetMap Data

overpass query

  • overpass API query CEMT=* AND boat=yes AND motorboat=yes / Nordholland (~9mb):
<osm-script>
 <union>
 <union>
  <query type="way">
    <has-kv k="CEMT"/>
    <bbox-query s="51.90" n="53.50" w="4.00" e="7.25"/>
  </query>
  <query type="way">
    <has-kv k="boat" v="yes"/>
    <bbox-query s="51.90" n="53.50" w="4.00" e="7.25"/>
  </query>
  <query type="way">
    <has-kv k="motorboat" v="yes"/>
    <bbox-query s="51.90" n="53.50" w="4.00" e="7.25"/>
  </query>
 </union>
  <recurse type="way-node"/>
 </union>
 <print  mode="meta"/>
</osm-script>

transfer

Boat            > "foot"
Motorboat       > "horse"
CEMT 0          > "wheelchair" 
CEMT I          > "bicycle"
CEMT II         > "moped" 
CEMT III        > "motorcycle" 
CEMT IV         > "motorcar"
CEMT V (a/b)    > "goods"    
CEMT VI (a/b/c) > "hgv"
CEMT VII        > "psv"
CEMT VII:	"highway-motorway"
CEMT VIc:	"highway-trunk"
CEMT VIb:	"highway-primary"
CEMT VIa:	"highway-secondary"
CEMT Vb:	"highway-tertiary"
CEMT Va:	"highway-unclassified"
CEMT IV:	"highway-residential"
CEMT III:	"highway-service"
CEMT II:	"highway-track"
CEMT I:	        "highway-cycleway"
CEMT 0:	        "highway-path"
Motorboat:	"highway-steps"
Boat:	        "highway-ferry"

example