[Geoserver-users] 1.50RC1 kml_reflect error

As it turns out, not only does KMZ support not work in 1.5 RC1, I think the
whole kml_reflect feature is broken. for example:

http://localhost:8080/geoserver/wms/kml_reflect?layers=tiger:tiger_roads
returns a KML file with the following network link:

http://localhost:8080/geoserver//wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+XML&width=1024&height=1024&srs=EPSG:4326&layers=tiger:tiger_roads&styles=tiger_roads&KMScore=30&KMAttr=true

this is by default the .kmz so we know it won't work. but if i change the
.kmz to .kml and even set the KMScore to 100 so that it will always be
vector, it returns the following KML file:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE
ServiceExceptionReport SYSTEM
"http://localhost:8080/geoserver/schemas//wms/1.1.1/WMS_exception_1_1_1.dtd&quot;&gt;
<ServiceExceptionReport version="1.1.1"> <ServiceException
code="org.vfny.geoserver.wms.requests.GetMapKvpReader">null is not a valid
pair of coordinates</ServiceException> </ServiceExceptionReport>

i think this is a bug, but it says to send to the list first

thanks,
mike
--
View this message in context: http://www.nabble.com/1.50RC1-kml_reflect-error-tf3356076.html#a9333702
Sent from the GeoServer - User mailing list archive at Nabble.com.

The error you are getting there is a "no bounding box" error. Make sure you add the bounding box to the end of your query.
The kml reflector is meant to be run in google earth only, it is designed as a simple way to set up datasets in google earth that should work all the time; that is why it returns kmz files: in case the result is large and it needs to be compressed into an image overlay. So the returning of kmz files is not a bug, but the way it is intended to work.

cheers,

Brent Owens
(The Open Planning Project)

mfrumin wrote:

As it turns out, not only does KMZ support not work in 1.5 RC1, I think the
whole kml_reflect feature is broken. for example:

http://localhost:8080/geoserver/wms/kml_reflect?layers=tiger:tiger_roads
returns a KML file with the following network link:

http://localhost:8080/geoserver//wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+XML&width=1024&height=1024&srs=EPSG:4326&layers=tiger:tiger_roads&styles=tiger_roads&KMScore=30&KMAttr=true

this is by default the .kmz so we know it won't work. but if i change the
.kmz to .kml and even set the KMScore to 100 so that it will always be
vector, it returns the following KML file:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE
ServiceExceptionReport SYSTEM
"http://localhost:8080/geoserver/schemas//wms/1.1.1/WMS_exception_1_1_1.dtd&quot;&gt;
<ServiceExceptionReport version="1.1.1"> <ServiceException
code="org.vfny.geoserver.wms.requests.GetMapKvpReader">null is not a valid
pair of coordinates</ServiceException> </ServiceExceptionReport>

i think this is a bug, but it says to send to the list first

thanks,
mike