This repository has been archived. Allmaps CLI has moved to https://github.com/allmaps/allmaps.
Clone this repository:
git clone https://github.com/allmaps/cli.git
Then, install the dependencies:
npm install
TODO:
- Add script to create annotation from command line args (GCPs, pixel mask)
- Turn multiple maps into single GeoTIFF or map tile set
- Turn
iiif-image.js
into CLI tool (accept args)
To run the examples in this README, clone the cli-examples
repository in the same directory where you have cloned this repository.
Example:
./iiif-tiles.js -i ../cli-examples/NL-RtSA_4201_I-138-02-5.jpg -o ../cli-examples/iiif
Example:
./iiif-manifest.js -m 'https://rotterdamspubliek.nl/iiif/manifest/test' \
-i https://rotterdamspubliek.nl/iiif/863C7B0202ED49629FF21D3CC48E7A24/info.json \
-i https://rotterdamspubliek.nl/iiif/A136B927DA744CD2BEA9F1A3FF2271BA/info.json \
Example:
./geo-mask.js -a ../cli-examples/NL-RtSA_4201_I-138-02-5.json
Examples:
./annotation-to-gdal-script.js -a ../cli-examples/NL-RtSA_4201_I-138-02-5.json \
-s ../cli-examples -o ../cli-examples/tiles | bash