This is a tilelive source for ArcGIS ImageServer endpoints.
The documentation used for implementation is here.
imageserver:
URIs are supported, with the following parameters available:
source
: the ImageServer URLrasterFunction
: the rasterFunction provided by the source server to apply to the data. (Optional)minzoom
: optional, default 0maxzoom
: optional, default 14baseTileSize
: base tile size in pixels (default 256)scale
: integer to scale base tile size (default 1)format
: image format, currently png and jpg are supported.
Examples:
- USGS 3DEP Multidimensional Hillshade:
imageserver:///?source=https://elevation.nationalmap.gov/arcgis/rest/services/3DEPElevation/ImageServer/&rasterFunction=Hillshade Multidirectional&maxzoom=14
Local testing:
node test.js
should place a single tile in the root directory if sucessful.
Testing with tessera:
- Install this source globally with
npm install -g .
- Install
tessera
- Run
tessera
with the tilelive module included:tessera --require=tilelive-imageserver "imageserver:///?source=https://elevation.nationalmap.gov/arcgis/rest/services/3DEPElevation/ImageServer/&rasterFunction=Hillshade Multidirectional&maxzoom=14"
- View
localhost:8080
in browser