Subversion Repositories eFlore/Projets.communes

Compare Revisions

Ignore whitespace Rev 1 → Rev 2

/trunk/modules/nettoyage_kml/squelettes/defaut.tpl.kml
New file
0,0 → 1,22
<?='<?xml version="1.0" encoding="utf-8"?>'."\n"?>
<!-- Source : openstreetmap : http://wiki.openstreetmap.org/wiki/WikiProject_France/Fonds_de_cartes/Contours_de_Communes_au_format_vecteur -->
<kml xmlns="http://earth.google.com/kml/2.2">
<Document>
<name><![CDATA[<?=$nom?>]]></name>
<Style id="commune-limite">
<LineStyle>
<width>0.8</width>
<color>ff956195</color>
</LineStyle>
<PolyStyle>
<fill>0</fill>
</PolyStyle>
</Style>
<Schema name="commune" id="commune">
<SimpleField name="code_insee" type="string"></SimpleField>
</Schema>
<? foreach ($placemarks as $placemark) : ?>
<?=$placemark?>
<? endforeach ?>
</Document>
</kml>