Opened 13 years ago

Closed 13 years ago

#3622 closed defect (fixed)

ows_name in mapkmlrenderer not used

Reported by: msmitherdc Owned by: assefa
Priority: normal Milestone: 6.0 release
Component: Output-KML Version: svn-trunk (development)
Severity: normal Keywords: kml
Cc:

Description

The check for ows_name comes after the layer name check. Since each layer has to have a name, it will never check for the ows_name. This patch just reorders the check to go first.

Attachments (1)

kmlrenderer.patch (280 bytes ) - added by msmitherdc 13 years ago.
Patch to reorder the ows_name check

Download all attachments as: .zip

Change History (5)

by msmitherdc, 13 years ago

Attachment: kmlrenderer.patch added

Patch to reorder the ows_name check

comment:1 by assefa, 13 years ago

Hi Mike,

Quick question before applying the patch : why would the ows_name be used before the layer name? I think wms exposes the layer's name in the capabilities document? (Mapserv cgi also use's layer name).

comment:2 by msmitherdc, 13 years ago

Hi Assefa,

The problem is that, right now, you can never use the ows_name since the layer_name check comes first. Therefore the folders in the kml output will always be the layer name even when the ows_name is defined.

comment:3 by assefa, 13 years ago

ok. applied in r10771.

comment:4 by assefa, 13 years ago

Resolution: fixed
Status: newclosed

This is fixed. closing.

Note: See TracTickets for help on using tickets.