[Geoserver-users] 1.50RC1 Document Name in KML Export

Requestion:

Can we please put the name of the layer/s that is/are exported into the
first <Document><name> in the KML export? Currently we always get:

<?xml version="1.0" encoding="UTF-8"?>
  <kml xmlns="http://earth.google.com/kml/2.0&quot;&gt;
<Document><name>GeoServer</name>...

which means that when i throw a bunch of KML's into GEarth, they all are
named GeoServer so it's a pain to turn them on and off selectively.

Possibly even add a KMNAME=XXXX parameter so that we can control the name if
we so desire.

thanks,
mike
--
View this message in context: http://www.nabble.com/1.50RC1-Document-Name-in-KML-Export-tf3356353.html#a9334693
Sent from the GeoServer - User mailing list archive at Nabble.com.

Good request. I will change the output to wrap each layer in its own document and use the layer name to describe it.
However, there still has to be one root document and if there are multiple layers, a common name can't be used so it will have to default to "GeoServer". But I will change it to use the layer name if only one layer is requested.
For a later release, I will add in a KMNAME parameter. Could you file a task for it and set it to 1.5.1?
(http://jira.codehaus.org/browse/GEOS)

cheers,

Brent Owens
(The Open Planning Project)

mfrumin wrote:

Requestion:

Can we please put the name of the layer/s that is/are exported into the
first <Document><name> in the KML export? Currently we always get:

<?xml version="1.0" encoding="UTF-8"?>
  <kml xmlns="http://earth.google.com/kml/2.0&quot;&gt;
<Document><name>GeoServer</name>...

which means that when i throw a bunch of KML's into GEarth, they all are
named GeoServer so it's a pain to turn them on and off selectively.

Possibly even add a KMNAME=XXXX parameter so that we can control the name if
we so desire.

thanks,
mike