Open abfab opened 13 years ago
a) Needs server-side modification. Load SRTM in PostGIS? Write own tools? b) Elevation data for hillshading is raster. Need an idea of good format to pack raster (delta coding? fourier transformations? binary?)
@abfab Sorry this is so many years after the issue but commenting in case others ask about this as I have a working server-side implementation. As described above, you can already include contours by importing contours into a database (e.g. PostGIS) and serving the contours as GeoJSON.
I do this on Freemap (https://www.free-map.org.uk). Source code for the GeoJSON server https://gitlab.com/nickw1/freemap-api, if the 'contour' GET parameter is set then it will generate contours as GeoJSON.
Purpose is to pre-process elevation data such as SRTM, and include it as vector data in tiles, in order to allow rendering of contour and / or hillshading.