punkt-oppslag-lastejobb

Read GeoTIFF files, create a static quadtile index tree in the file system.

Usage no npm install needed!

<script type="module">
  import punktOppslagLastejobb from 'https://cdn.skypack.dev/punkt-oppslag-lastejobb';
</script>

README

Read GeoTIFF files, create a static quadtile index tree in the file system.

Usage

Usage: npx punkt-oppslag-lastejobb <dataDirectory> <datasetName>

Example

node index.js example/ssb-bbox telemark

Example of rasterizing a GeoJSON

wget https://data.artsdatabanken.no/Fylke/Telemark/polygon.32633.geojson
gdal_rasterize -co alpha=no -ot Byte -burn 255 -tap -ts 256 256 polygon.32633.geojson telemark.tif

Kommune

wget https://github.com/Artsdatabanken/kommune-kart/blob/master/kommune_25833.geojson
gdal_rasterize -co alpha=no -ot Int16 -a autorkode -tap -tr 100 100 kommune_25833.geojson kommune.tif

Landskapstyper

gdal_rasterize -co alpha=no -ot Int16 -a index -tap -tr 100 100 NN-LA-TI.geojson NN-LA-TI.tif