bertspaan / georectify-service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Georectify Web Service

Warps maps, computes GeoJSON masks!

Run

Standalone:

cd app
npm install
node index.js

Docker:

docker-compose build
docker-compose up

Then the web service run on http://localhost:8080!

Wikimedia Commons

  • GeoJSON mask:
curl "http://localhost:8080/commons/geojson?title=File%3APigot_and_Co_%281842%29_p2.138_-_Map_of_Lancashire.jpg"
  • GeoTIFF:
curl "http://localhost:8080/commons/geotiff?title=File%3APigot_and_Co_%281842%29_p2.138_-_Map_of_Lancashire.jpg" -o lancashire.tiff

JSON

  • GeoJSON mask
curl -X POST http://localhost:8080/json/geojson -d @davidrumsey-30297022227.json  --header "Content-Type: application/json"
  • GeoTIFF:
curl -X POST http://localhost:8080/json/geotiff -d @davidrumsey-30297022227.json  --header "Content-Type: application/json" -o 30297022227.tiff

About


Languages

Language:JavaScript 96.8%Language:Dockerfile 3.2%