[Geoserver-devel] [jira] (GEOS-5302) Misplaced Placemark Tag in KML output

Benjamin St created BugGEOS-5302
Misplaced Placemark Tag in KML output

Issue Type:

BugBug

Affects Versions:

2.1.3

Assignee:

Andrea Aime

Components:

Google Earth KML Output

Created:

08/Sep/12 4:56 AM

Description:

Placemark Tags are misplaced in KML export. The </Placemark> Tag is put before <Placemark> and the tag is not closed. See example output snippet below.

Regards
Ben

<LookAt>
<longitude>13.269096636907724</longitude>
<latitude>52.5085663237119</latitude>
<heading>10.0</heading>
<tilt>10.0</tilt>
<range>700</range>
</LookAt>
<Style>
<IconStyle>
<color>00ffffff</color>
<scale>0.4</scale>
<Icon>
<href>http://icons.opengeo.org/markers/icon-poly.1.png</href>
</Icon>
</IconStyle>
<LabelStyle>
<color>00ffffff</color>
</LabelStyle>
<PolyStyle/>
<MultiGeometry>
<Point>
<coordinates>13.269096636907724,52.5085663237119</coordinates>
</Point>
<Polygon>
<outerBoundaryIs>
<LinearRing>
<coordinates>13.2696,52.5087 13.2686,52.5087 13.2686,52.5084 13.2695,52.5084 13.2696,52.5087</coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
</MultiGeometry>
</Placemark>
<Placemark id=“buildings_0.fid–2cd09bda_139a0a0cfbe_-74da”>
<name><![CDATA[buildings_0.fid–2cd09bda_139a0a0cfbe_-74da]]></name>
<description><![CDATA[<h4>buildings_0</h4>

<ul class=“textattributes”>
<li><strong><span class=“atr-name”>type</span>:</strong> <span class=“atr-value”>building</span></li>
<li><strong><span class=“atr-name”>key_for_mapping</span>:</strong> <span class=“atr-value”>23a.2</span></li>
<li><strong><span class=“atr-name”>subtype_id</span>:</strong> <span class=“atr-value”>7</span></li>
<li><strong><span class=“atr-name”>key</span>:</strong> <span class=“atr-value”>23a.2</span></li>

<li><strong><span class=“atr-name”>id</span>:</strong> <span class=“atr-value”>9</span></li>
<li><strong><span class=“atr-name”>color</span>:</strong> <span class=“atr-value”>#00A078</span></li>
<li><strong><span class=“atr-name”>label_size</span>:</strong> <span class=“atr-value”>14</span></li>

<li><strong><span class=“atr-name”>floor</span>:</strong> <span class=“atr-value”>2</span></li>
<li><strong><span class=“atr-name”>border_color</span>:</strong> <span class=“atr-value”>#AFAFAF</span></li>
<li><strong><span class=“atr-name”>color_label</span>:</strong> <span class=“atr-value”>#B4B4B4</span></li>
</ul>
]]></description>

Environment:

Debian Linux

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Benjamin St

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa). For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)