Liking cljdoc? Tell your friends :D

osm.reader


bz2clj

(bz2 file)

Returns a streaming Reader for a compressed bzip2 file.

Returns a streaming Reader for a compressed bzip2 file.
raw docstring

changesclj

(changes since)
raw docstring

delete-dirclj

(delete-dir dir db)

Recur delete a dir

Recur delete a dir
raw docstring

get-nodes-for-pointclj

(get-nodes-for-point xml)

Lazy sequence of nodes

Lazy sequence of nodes
raw docstring

get-nodes-hashclj

(get-nodes-hash xml)

Merge nodes hashs, to use with ways

Merge nodes hashs, to use with ways
raw docstring

get-propsclj

(get-props el)

get-way-refsclj

(get-way-refs way)

Reffs of a way

Reffs of a way
raw docstring

get-waysclj

(get-ways nodes xml)

Lazy sequence of ways

Lazy sequence of ways
raw docstring

make-nodeclj

(make-node node)

Transform node element in nice hash-map

Transform node element in nice hash-map
raw docstring

make-node-hash-from-tagclj

(make-node-hash-from-tag node)

Make a hashmap with node id and coords, to use with the ways

Make a hashmap with node id and coords, to use with the ways
raw docstring

make-wayclj

(make-way nodes way)

Transform a way element in a nice hash-map

Transform a way element in a nice hash-map
raw docstring

make-way-0clj

(make-way-0 props nodes)

Raw Way geojson object

Raw Way geojson object
raw docstring

make-way-swapclj

(make-way-swap dir way)

Make way, using a swap

Make way, using a swap
raw docstring

mk-dirclj

(mk-dir)

Give a writable dir to swap

Give a writable dir to swap
raw docstring

node-to-fileclj

(node-to-file id)

A tree like structure to a file id

A tree like structure to a file id
raw docstring

open-xmlclj

(open-xml file-in)

Open the XML.

Open the XML.
raw docstring

read-allclj

(read-all file)

Read all OSM xml into a vector. Not recomended for big files

Read all OSM xml into a vector. Not recomended for big files
raw docstring

read-streamclj

(read-stream file fun)

Convert from OSM xml to GEOJson

Convert from OSM xml to GEOJson
raw docstring

read-stream-swapclj

(read-stream-swap file fun)

Read a OSM xml, swapping to disk. Use for bigger files.

Read a OSM xml, swapping to disk. Use for bigger files.
raw docstring

swap-inclj

(swap-in dir id)

Read a swapped node

Read a swapped node
raw docstring

swap-outclj

(swap-out dir id data)

Write a node to swap

Write a node to swap
raw docstring

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

× close