allmaps / allmaps

Curating, georeferencing and exploring for IIIF maps
https://allmaps.org
75 stars 10 forks source link

Create CLI #7

Closed bertspaan closed 10 months ago

bertspaan commented 1 year ago

Create CLI with the following commands:

input: IIIF data or multiple output: parsed IIIF data allmaps iiif parse

input: IIIF data or multiple output: manifest that contains these images allmaps iiif --format manifest

input: IIIF data or multiple output: q: do you really want to download IIIF image data for these images? allmaps iiif download-image

input: image output: q: do you really want to download IIIF image data for these images? allmaps iiif generate-tiles

input: 1 or more annotations or annotationpages output: q: do you really want to download IIIF image data for these images? allmaps annotation --format gdal

input: 1 or more annotations or annotationpages output: allmaps annotation --format geojson

input: svg with pixel coordinates, or geojson output: geojson, or svg allmaps transform -a path/to/annotation.json

bertspaan commented 1 year ago

allmaps iiif parse allmaps iiif manifest allmaps iiif collection allmaps iiif download-image allmaps image tiles allmaps annotation parse allmaps annotation generate allmaps annotation geojson allmaps transform geojson allmaps transform svg

bertspaan commented 10 months ago

Done! See https://github.com/allmaps/allmaps/tree/main/apps/cli