[OpenLayers-Users] Kml problems

Vidal, Antoni antoni.vidal at icc.cat
Wed Sep 30 05:17:34 EDT 2009


Hello list,

 

I have a kml file with two Placemark with a point and a polygon each one, but only the last is showed over the map.

 

<?xml version="1.0" encoding="UTF-8"?><kml xmlns="http://earth.google.com/kml/2.0">

   <Document>

    <name>ICC - Fulls 1:25.000</name>

                <Folder id="layer 0">

                               <name>Tall 1:25.000</name>

      <Placemark>

         <name><![CDATA[67-23]]></name>

         <MultiGeometry>

            <Point>

               <coordinates>1.2292789482351385,42.12505809906476</coordinates>

            </Point>

            <Pgon>

               <outerBoundaryIs>

                  <LinearRing>

                     <coordinates decimal="." cs="," ts=" ">1.31261326,42.16672373 1.14594315,42.16672487 1.14594468,42.08339244 1.31261474,42.08339135 1.31261326,42.16672373</coordinates>

                  </LinearRing>

               </outerBoundaryIs>

            </Polygon>

                               </MultiGeometry>

      </Placemark>

                  

      <Placemark>

         <name><![CDATA[68-19]]></name>

         <MultiGeometry>

            <Point>

               <coordinates>1.3959550858972396,42.458391895861894</coordinates>

            </Point>

            <Polygon>

               <outerBoundaryIs>

                  <LinearRing>

                     <coordinates decimal="." cs="," ts=" ">1.47929122,42.50006088 1.31261965,42.5000564 1.31261912,42.4167232 1.47928988,42.41672697 1.47929122,42.50006088</coordinates>

                  </LinearRing>

               </outerBoundaryIs>

            </Polygon>

                               </MultiGeometry>

      </Placemark>

                </Folder>

   </Document>

</kml>

 

Any idea why the first Placemark isn't rendered over the map?

 

Thank's.

 

Antoni Vidal

Unitat d'Aplicacions SIG-WEB
Institut Cartogràfic de Catalunya <http://mercuri.icc.cat/website/mob_nf/mob1/mob2/inici2.htm?CONSULTA=Institut%20Cartogr%25E0fic%20de%20Catalunya&XYADDRESS=429486:4580392> 
Parc de Montjuïc, E-08038 Barcelona
Tel. (+34) 93 567 15 00 (ext. 3228)
www.icc.cat <http://www.icc.cat/> 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090930/f2395197/attachment.html


More information about the Users mailing list