[Geoserver-devel] [jira] (GEOS-6450) Geoserver 2.5 - Output KMZ

Veronica Almeida created an issue

GeoServer / BugGEOS-6450

Geoserver 2.5 - Output KMZ

Issue Type:

BugBug

Assignee:

Andrea Aime

Components:

Google Earth KML Output, WMS

Created:

14/Apr/14 11:20 AM

Environment:

Centos, geoserver 2.5, JVM: Oracle Corporation: 1.7.0_51 (Java HotSpot™ 64-Bit Server VM)

Priority:

MajorMajor

Reporter:

Veronica Almeida

In the Geoserver 2.3.5 when request something like this:

http://geoserverurl/geoserver/wms/reflect?format=kmz&layers=layername&TRANSPARENT=true

The result is a KMZ with an image and a simple kml.

With Geoserver 2.5 doesn’t generate an image. And the size of KML is over 9
MB, so I couldn’t use with Google Maps.

What can I do to solve this?

I’ve already posted in geoserver-users@anonymised.comists.sourceforge.net and they told me that could be a bug.

In 2.3.5:

http://geoserverurl/geoserver/wms/reflect?format=kmz&layers=layername&TRANSPARENT=true

The content of KMZ is:

wms.kml
Folder images with image0.png

Size: 99.4 K

geoserver.log:

Request: reflect
Format = kmz
Palette = null
Buffer = 0
Width = 0
Filters = null
Filter = null
SRS = null
FeatureVersion = null
Height = 0
Tiled = false
Styles = [StyleImpl[ name=chuva_acumulada, DEFAULT]]
Layers = [org.geoserver.wms.MapLayerInfo@anonymised.com]
MaxFeatures = null
FeatureId = null
FormatOptions = {}
Crs = null
Angle = 0.0
BgColor = java.awt.Color[r=255,g=255,b=255]
Transparent = true
StartIndex = null
ViewParams = null
Bbox = null
Elevation =
RemoteOwsType = null
RemoteOwsURL = null
SldBody = null
ValidateSchema = false
Sld = null
CQLFilter = null
SldVersion = null
TilesOrigin = null
Env = {}
Exceptions = SE_XML
Time =
Version = null
Request = GetMap
BaseUrl = http://geoserverurl:8080/geoserver/
Get = true
RawKvp =

{TRANSPARENT=true, FORMAT=kmz, LAYERS=Previsao:vw_geo_chuva_diaria}

RequestCharset = UTF-8

In 2.5:

The content of KMZ is:

wms.kml
Folder images without files

Size: 9.2 MB

Request: reflect
Format = kmz
Time =
Buffer = 0
Height = 0
Filters = null
Filter = null
Width = 0
Palette = null
Tiled = false
FeatureVersion = null
SRS = null
Styles = [StyleImpl[ name=chuva_acumulada, DEFAULT]]
Layers = [org.geoserver.wms.MapLayerInfo@anonymised.com]
MaxFeatures = null
Elevation =
Bbox = null
ViewParams = null
Angle = 0.0
BgColor = java.awt.Color[r=255,g=255,b=255]
Transparent = true
Crs = null
StartIndex = null
FormatOptions = {}
RemoteOwsType = null
RemoteOwsURL = null
SldBody = null
ValidateSchema = false
Sld = null
CQLFilter = null
FeatureId = null
SldVersion = null
TilesOrigin = null
Env = {}
Exceptions = SE_XML
Version = null
Request = GetMap
RawKvp =

{TRANSPARENT=true, FORMAT=kmz, LAYERS=Previsao:vw_geo_chuva_diaria}

BaseUrl = http://geoserverurl:8080/geoserver/
Get = true
RequestCharset = UTF-8

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo