0.0.3 • Published 3 years ago

geotiff-picker v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

GeoTiff Picker

Fiule raster GeoTiff data picker

with API Restful/CLI interface

Demo

Requirements

Setup

sudo apt-get install python-webpy python-gdal

copy GeoTiff files in directory ./tiffs/

Usage

run web interface:

$ ./python-geotiff-picker.py 80

pick data via http:

$ curl "http://localhost/dem/?lat=42.5&lon=12.5"

multiple coordinates at same time

$ curl "http://localhost/dem/?locs=42.5,12.50|42.6,12.250|42.3,12.43|42.13,12.66"

return json:

{
	"dem":[
		100.0, 76.0, 99.0, 45.0
	]
}

Source

0.0.3

3 years ago