KML Superoverlay driver cannot handle Folders
|Reported by:||pphunor||Owned by:||warmerdam|
The driver does not recognize the Region and GroundOverlay? entries placed under a Folder node. See https://developers.google.com/kml/documentation/kmlreference#folder.
- An example KML can be downloaded from here (84MB): https://onedrive.live.com/redir?resid=E2CC0A25F3CEB4B7!106&authkey=!AO_hm98MiSO7Yq4&ithint=file%2czip
- An example mapfile layer using that KML:
LAYER NAME "PROVA1" TYPE RASTER STATUS ON DEBUG ON DATA "prova1_mosaic.kml" PROJECTION "init=EPSG:4326" END CLASS NAME "Superoverlay" STYLE END END END
I debugged and modified the driver so that it can handle the attached KML. I've chosen the solution with the least amount of changes, and it is not proved against any standards. Use it up if you think so.