Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include elevation data in tiles #23

Open
abfab opened this issue Jun 30, 2011 · 2 comments
Open

Include elevation data in tiles #23

abfab opened this issue Jun 30, 2011 · 2 comments
Labels

Comments

@abfab
Copy link

abfab commented Jun 30, 2011

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.

@Komzpa
Copy link
Member

Komzpa commented Jul 1, 2011

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?)

@nickw1
Copy link
Collaborator

nickw1 commented May 3, 2020

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants