[gdal-dev] Should GDAL handle this KML superoverlay?
Even Rouault
even.rouault at spatialys.com
Tue Nov 1 06:09:44 PDT 2016
Le mardi 01 novembre 2016 13:46:28, Rahkonen Jukka (MML) a écrit :
> Hi,
>
> I have some images which are georeferenced with a KML file and they show
> fine with Google Earth. However, GDAL does not know what to do with them.
> I put some test data here:
>
> http://latuviitta.org/downloads/shaded.kmz
> http://latuviitta.org/downloads/shaded.kml
> http://latuviitta.org/downloads/shaded.png
>
> Test with gdalinfo (GDAL 2.2-dev, has KMLSUPEROVERLAY driver)
>
> gdalinfo shaded.kmz
> ERROR 4: `shaded.kmz' not recognized as a supported file format.
> gdalinfo failed - unable to open 'shaded.kmz'.
>
> By looking at the only documentation I found from KMLSUPEROVERLAY (i.e.
> running "gdalinfo --format kmlsuperoverlay") it looks like
> KMLSUPEROVERVIEW likes to write tiles instead of referring one whole png
> file as in the dataset that I have. This mail thread may be related
> http://osgeo-org.1560.x6.nabble.com/kmz-KMLSUPEROVERLAY-back-to-a-georefer
> enced-raster-td5286480.html.
Jukka,
The driver could certainly be improved to handle this case, as it is rather
simple compared to what it can already support (there are many potential
variations of superoverlay or overlays, which make it hard to support them in
a generic way). You can file an enhancement ticket.
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the gdal-dev
mailing list