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

Multiple geotiff files #1

Open
mrmattwilkins opened this issue Mar 12, 2017 · 1 comment
Open

Multiple geotiff files #1

mrmattwilkins opened this issue Mar 12, 2017 · 1 comment

Comments

@mrmattwilkins
Copy link

Hi,
Can this work with a virtual mosaic? Got a bunch of tifs and want to make a kmz. Currently I do
gdalbuildvrt mosaic.vrt *.tif
gdal_translate -of KMLSUPEROVERLAY mosaic.vrt out.kmz
but the resulting kmz isn't optimized for garmins.
Thanks
Matt

@tf198
Copy link
Owner

tf198 commented Mar 15, 2017

Hi Matt

Haven't used the VRT driver myself but the scripts just use the gdal.Open() call which should be able to handle any drivers that you have installed, so in theory the following should work...

python gdal2kml.py mosaic.vrt my_map.kml
python kml2kmz.py my_map.kml

Let me know how you get on...

kogens referenced this issue in kogens/gdal2custommap Nov 22, 2023
Mostly fixes #1 although not elegant.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants