clojurewerkz.neocons.rest.spatial

add-node-to-layer

(add-node-to-layer connection layer node)
Add a node with the appropriate latitude and longitude properties to the given layer

add-simple-point-layer

(add-simple-point-layer connection layer lat lon)(add-simple-point-layer connection layer)
Add a new point layer to the spatial index

find-within-distance

(find-within-distance connection layer point-x point-y distance-in-km)
Find all points in the layer within a given distance of the given point