[mapguide-trac] #1096: <coordinates> tag in generated KML does not follow spec

MapGuide Open Source trac_mapguide at osgeo.org
Thu Sep 17 18:00:00 EDT 2009


#1096: <coordinates> tag in generated KML does not follow spec
---------------------------+------------------------------------------------
   Reporter:  jcarranz     |       Owner:       
       Type:  defect       |      Status:  new  
   Priority:  medium       |   Milestone:       
  Component:  KML Service  |     Version:  2.1.0
   Severity:  minor        |    Keywords:       
External_id:               |  
---------------------------+------------------------------------------------
 Generating KML of the Sheboygan parcels layer results in KML which
 resembles the following:

 {{{
 <LinearRing>
 <coordinates>
 -87.728935, 43.747964, 0.000000,
 -87.728934, 43.748081, 0.000000,
 -87.728159, 43.748827, 0.000000,
 -87.728144, 43.748841, 0.000000,
 }}}

 KML spec states: Four or more tuples, each consisting of floating point
 values for longitude, latitude, and altitude. The altitude component is
 optional. '''Do not include spaces within a tuple.''' The last coordinate
 must be the same as the first coordinate. Coordinates are expressed in
 decimal degrees only.

 XYZ values should not have a space trailing commas and coordinates should
 not be separated by commas. This behaves correctly in Google Earth but
 fails in other KML parsing libraries.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1096>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list