As per http://docs.codehaus.org/display/GEOSDOC/1+Reporting+Issues I am
submitting my bug here before into JIRA.
basic info:
* Geoserver 1.50RC1
* Windows XP
* PostGIS Data backend
KML generation works perfectly. for example:
http://localhost:8080/geoserver/wms?VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=rpa:subway_stations&SRS=EPSG:4326&BBOX=-74.030891418457,40.5753784179688,-73.7557144165039,40.902515411377&WIDTH=320&HEIGHT=500&FORMAT=application/vnd.google-earth.kml+XML&STYLES=&TRANSPARENT=TRUE&UNIQUEID=
is fine.
but no matter what I do, the KMZ version always returs a 0 byte .png file,
eg:
http://localhost:8080/geoserver/wms?VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=rpa:subway_stations&SRS=EPSG:4326&BBOX=-74.030891418457,40.5753784179688,-73.7557144165039,40.902515411377&WIDTH=320&HEIGHT=500&FORMAT=application/vnd.google-earth.kmz+XML&STYLES=&TRANSPARENT=TRUE&UNIQUEID=
yields the following:
mfrumin@anonymised.com ~/desk/rpa/trx/tmp
$ ls
subway_stations.kml subway_stations.kmz
mfrumin@anonymised.com ~/desk/rpa/trx/tmp
$ unzip subway_stations.kmz
Archive: subway_stations.kmz
inflating: wms.kml
inflating: layer_0.png
mfrumin@anonymised.com ~/desk/rpa/trx/tmp
$ ls -alh
total 557K
drwxr-xr-x+ 2 mfrumin None 0 Feb 28 14:49 .
drwxr-xr-x+ 6 mfrumin None 0 Feb 28 14:49 ..
-rw-r--r-- 1 mfrumin None 0 Feb 28 14:45 layer_0.png
-rwx------+ 1 mfrumin None 551K Feb 28 14:13 subway_stations.kml
-rwx------+ 1 mfrumin None 574 Feb 28 14:45 subway_stations.kmz
-rw-r--r-- 1 mfrumin None 561 Feb 28 14:45 wms.kml
mfrumin@anonymised.com ~/desk/rpa/trx/tmp
$ cat wms.kml
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.0">
<Document><name>GeoServer</name><Folder><name>layer_0</name><description>rpa:subway_stations</description><GroundOverlay><nam
e>subway_stations.1</name><drawOrder>0</drawOrder><Icon><href>layer_0.png</href><viewRefreshMode>never</viewRefreshMode><view
BoundScale>0.75</viewBoundScale></Icon><LatLonBox><north>40.902515411377</north><south>40.5753784179688</south><east>-73.7557
144165039</east><west>-74.030891418457</west></LatLonBox></GroundOverlay></Folder></Document></kml>
thanks,
mike
--
View this message in context: http://www.nabble.com/KMZ-Generation-Bug-Report-tf3317897.html#a9226526
Sent from the GeoServer - User mailing list archive at Nabble.com.