Skip to content

Optimizing GeoTiff tiles to be loaded in osgEarth #1997

Answered by gwaldron
shramir asked this question in Support Q&A
Discussion options

You must be logged in to vote

Hi.
For general tips on optimizing GeoTIFFs, there is information here:
https://docs.osgearth.org/en/latest/data.html#optimizing-a-geotiff

However: osgEarth expects its elevation tiles to be set up a certain way. They needs to be 257x257 with overlap on the four sides. the osgearth_conv utility can generate them. Here's an example. First make a VRT from your many files using the GDAL gdalbuildvrt utility. Then:

osgearth_conv --in driver GDALElevation --in url myInputData.vrt
              --out driver TMSElevation --out url mytmsrepo/tms.xml
              --out format tif

Hope this helps.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by shramir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants