Exporting elevation data to web/mbtiles

Hi all,

I'm trying to export a Geotiff with 16bit elevation data to web tiles/mbtiles...However, from the results I see that produced tiles are pngs with 8bit bands, so data are not "elevation" anymore (I think jpgs don't support 16bit bands). Has anyone tried to do the same thing? Any suggestions?

Thanks in advance
mantesat

Answers

  • Mykle
    Mykle Global Mapper User Trusted User
    As far as I know, elevation data are separate from map data.  The format required for elevation data are dependent upon the application, and loaded separately.  So, I don't think that elevation data are supported within tiled map formats like mbtiles.  You can certainly create a shaded map as a raster file, with whatever other data you like.  But the elevation values will not be included, other than indirectly by contour lines for example. 

    As one example, the ORUX Maps application for Android phones/tablets uses the mbtiles format for maps.  Elevation data can be separately loaded from on-line sources, or from DEM-format files. 

    You may be able to load elevation data into Global Mapper, and export data to a file that can be used by your application or program.