Liking cljdoc? Tell your friends :D
All platforms.

carocad.geojson.specs

GeoJSON as Clojure Spec https://tools.ietf.org/html/rfc7946

GeoJSON as Clojure Spec
https://tools.ietf.org/html/rfc7946
raw docstring

bboxclj/s

(bbox geojson)

Returns the :bbox present in the geojson object. Otherwise, computes a bounding box with [min-lon, min-lat, max-lon, max-lat]. Note: according to the rfc7946 the values of a bbox array are [west, south, east, north], not [minx, miny, maxx, maxy]

However, for simplicity we calculate them that way

Returns the :bbox present in the geojson object. Otherwise, computes a bounding
box with [min-lon, min-lat, max-lon, max-lat]. Note: according to the rfc7946 the values of
a bbox array are [west, south, east, north], not [minx, miny, maxx, maxy]

However, for simplicity we calculate them that way
sourceraw docstring

geo-uriclj/s

(geo-uri geojson)

return a geoUri as specified by the rfc7946. Example: 'geo' URI: geo:lat,lon GeoJSON:{'type': 'Point', 'coordinates': [lon, lat]}

return a geoUri as specified by the rfc7946.
Example: 'geo' URI: geo:lat,lon
GeoJSON:{'type': 'Point', 'coordinates': [lon, lat]}
sourceraw docstring

uriclj/s

(uri geojson)

takes a point or feature and concatenates the coordinates as {longitude},{latitude}

takes a point or feature and concatenates the coordinates as {longitude},{latitude}
sourceraw docstring

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

× close