Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.0
-
Fix Version/s: None
-
Component/s: Google Earth KML Output
-
Labels:None
-
Environment:Windows XP, Tomcat 6.0.10, Google Earth 4.2.0198.2451 (beta)
-
Testcase included:yes
-
Number of attachments :
Description
Adding a legend of true to a KML file causes Google Earth to report an error.
I used the KML Output option for topp:states and saved it (If I just opened it then it worked fine).
I then modified it and replaced the legend=false with legend=true and then opened it from My Computer. google Earth then opened and reported an error when processing the KML file.
I am attaching a screendump of the error as well as the KML file that I used.
I noticed that a similar bug report had been raised at http://jira.codehaus.org/browse/GEOS-1595 but marked as closed as it could not be reproduced.
I have gone from 1.5.0 to 1.6.0 and so am unsure as to whether it would have been in previous versions. Based on the closed bug report I will download 1.5.3 and try that out.
My Geoserver.war is dated 11/02/2008 and I am unsure which release of 1.6.0 that it represents.
I'm happy to help with testing or if you need more information to reproduce the problem.
I upgraded to 1.6.1. The issue was still present.
However when I did not use KML Reflect and used the full text like this
http://127.0.0.1:9090/geoserver//wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kml+XML&width=1024&height=1024&srs=EPSG:4326&layers=topp:act_suburb_polygon&styles=act_suburb_bir_2003&legend=true&bbox=-180,-90,180,90
then it worked. So my guess is the problem is specific to KML Reflect.