Liking cljdoc? Tell your friends :D

hiposfer.kamal.parsers.osm


datomize!clj

(datomize! input-stream)

read an OSM file and transforms it into a network of {:graph :ways :points}, such that the graph represent only the connected nodes, the points represent the shape of the connection and the ways are the metadata associated with the connections

read an OSM file and transforms it into a network of {:graph :ways :points},
such that the graph represent only the connected nodes, the points represent
the shape of the connection and the ways are the metadata associated with
the connections
sourceraw docstring

simplifyclj

(simplify ways)

returns the ways sequence including only the first/last and intersection nodes i.e. the connected nodes in a graph structure.

Uses the ::nodes of each way and counts which nodes appear more than once

returns the ways sequence including only the first/last and intersection
 nodes i.e. the connected nodes in a graph structure.

Uses the ::nodes of each way and counts which nodes appear more than once
sourceraw docstring

walking-speedclj

source

way-attrsclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close