Liking cljdoc? Tell your friends :D

clj-geo

collections of fns to help working with geo data

Usage

[com.mungolab/clj-geo "0.1.0-SNAPSHOT"]

clj-geo.dateset namespace should contain fns for load / transform of open source datasets. All fns that load external data are doing that from root directory specified in clj-geo.env/dataset-path

clj-geo/env is extracting some values from environment variables.

examine clj-geo.example namespace for examples

Datasets prepare

opencache.uk

register for OKAPI customer API ( https://opencache.uk/okapi/signup.html )

download full dump wget -O full-dump 'https://opencache.uk/okapi/services/replicate/fulldump?consumer_key=<CUSTOMER_KEY>' tar -xf full-dump rm full-dump

this will generate index.json and partXXXXX.json

or using environment variable wget -O full-dump "https://opencache.uk/okapi/services/replicate/fulldump?consumer_key=${OPENCACHE_UK_KEY}"

latest dataset should be linked inside <DATA_DIR>/opencache.uk/latest containing part*.json files

opencaching.de

register for OKAPI customer API ( https://www.opencaching.de/okapi/signup.html )

download full dump wget -O full-dump 'https://opencaching.de/okapi/services/replicate/fulldump?consumer_key=<CUSTOMER_KEY>'

or using environment variable wget -O full-dump "https://opencaching.de/okapi/services/replicate/fulldump?consumer_key=${OPENCACHING_DE_KEY}"

latest dataset should be linked inside <DATA_DIR>/opencaching.de/latest containing part*.json files

links

http://www.naturalearthdata.com

http://thematicmapping.org/downloads/

https://eros.usgs.gov

collection of geographical names

https://geographic.org/

http://live.farearth.com/

License

Copyright © 2017 mungolab.com

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Can you improve this documentation?Edit on GitHub

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

× close