[SPIP Zone] squelette kml et plugin gis

Est-ce que http://trac.rezo.net/trac/spip-zone/browser/plugins/dev/gis
contient un squelette pour du format kml ?
je n'ai pas trouvé.

Ce serait quelque chose comme :

#CACHE{7200}
[(#HTTP_HEADER{Content-type: application/vnd.google-earth.kml+xml[; charset=(#CHARSET)]})]
<?xml version="1.0"[ encoding="(#CHARSET)"]?>
<kml xmlns="http://earth.google.com/kml/2.0" xmlns:html="http://www.w3.org/1999/xhtml">
<Document><Folder>
<BOUCLE_articles(ARTICLES){branche ?}{par date}{0,20}>
<Placemark>
<name></name>
<description><html:div>#DESRIPTION</div></description>
<styleUrl>#waypoint</styleUrl>
<Point><coordinates>
#LAT #LONX
</coordinates></Point>
</Placemark>
</BOUCLE_articles>
</Folder></Document></kml>

Nicolas Krebs escribió:

Est-ce que http://trac.rezo.net/trac/spip-zone/browser/_plugins_/_dev_/gis
contient un squelette pour du format kml ? je n'ai pas trouvé.

Hi Nicolas.

There is not a kml squelette actually

Ce serait quelque chose comme :

#CACHE{7200}
[(#HTTP_HEADER{Content-type: application/vnd.google-earth.kml+xml[; charset=(#CHARSET)]})]
<?xml version="1.0"[ encoding="(#CHARSET)"]?>
<kml xmlns="http://earth.google.com/kml/2.0&quot; xmlns:html="http://www.w3.org/1999/xhtml&quot;&gt;
<Document><Folder>
<BOUCLE_articles(ARTICLES){branche ?}{par date}{0,20}>
<Placemark>
<name></name>
<description><html:div>#DESRIPTION</div></description>
<styleUrl>#waypoint</styleUrl>
<Point><coordinates>
#LAT #LONX
</coordinates></Point>
</Placemark>
</BOUCLE_articles>
</Folder></Document></kml>
  

We can put this one. :slight_smile:

berio

pd: sorry, I don't know french

_______________________________________________
spip-zone@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-zone