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)
Change History (5)
by , 13 years ago
Attachment: | kmlrenderer.patch added |
---|
comment:1 by , 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 , 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.
Patch to reorder the ows_name check