par Yeti Grenoblois » 03 juil. 2009, 15:48
Et pour les alpes juliennes, ça ressemble à ça :
Code : Tout sélectionner
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
<name>Alpes Juliennes.kml</name>
<Style id="sn_ylw-pushpin">
<IconStyle>
<scale>1.1</scale>
<Icon>
<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
</Icon>
<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
</IconStyle>
</Style>
<StyleMap id="msn_ylw-pushpin">
<Pair>
<key>normal</key>
<styleUrl>#sn_ylw-pushpin</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#sh_ylw-pushpin</styleUrl>
</Pair>
</StyleMap>
<Style id="sh_ylw-pushpin">
<IconStyle>
<scale>1.3</scale>
<Icon>
<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
</Icon>
<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
</IconStyle>
</Style>
<Placemark>
<name>Alpes Juliennes</name>
<styleUrl>#msn_ylw-pushpin</styleUrl>
<Polygon>
<tessellate>1</tessellate>
<outerBoundaryIs>
<LinearRing>
<coordinates>
14.17315918634391,46.4335890239608,0 14.12426713603345,46.4701900026447,0 14.06001630776513,46.48820688289607,0 14.01322852790969,46.48277993395551,0 13.96470234347076,46.501981110774,0 13.90624568284538,46.52007575864621,0 13.8571904581805,46.51626983102071,0 13.80827127243469,46.50815834302157,0 13.71678621897007,46.52142879202668,0 13.70542663287804,46.47861794477416,0 13.68860319235893,46.43972822122006,0 13.62773469799466,46.44548975545696,0 13.5890626018572,46.43589376400303,0 13.56867375575345,46.40017033966196,0 13.50387797036182,46.37347630226687,0 13.43825419586324,46.36010069457696,0 13.45224328462455,46.33552050412127,0 13.41470289204527,46.30862114575955,0 13.38621915807468,46.29495928533191,0 13.41043322915396,46.23877872089408,0 13.4138960273539,46.21206141241513,0 13.44719935080826,46.22356740351856,0 13.49454071968822,46.21544673734924,0 13.54507150396243,46.21291882725678,0 13.57219132094065,46.18934083796322,0 13.62883702327048,46.1877306426666,0 13.66250254834862,46.17674925801449,0 13.73514158234138,46.18051289076246,0 13.77990256787901,46.15664685111015,0 13.8597432742668,46.15442924089356,0 13.92364651379268,46.18588193225162,0 14.0008192250151,46.21270105460216,0 14.11660760189176,46.2154094766757,0 14.17454870087038,46.24399191212638,0 14.23591934874193,46.32221231774992,0 14.17315918634391,46.4335890239608,0 </coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
</Placemark>
</Document>
</kml>
Et pour les alpes juliennes, ça ressemble à ça :
[code]<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
<name>Alpes Juliennes.kml</name>
<Style id="sn_ylw-pushpin">
<IconStyle>
<scale>1.1</scale>
<Icon>
<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
</Icon>
<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
</IconStyle>
</Style>
<StyleMap id="msn_ylw-pushpin">
<Pair>
<key>normal</key>
<styleUrl>#sn_ylw-pushpin</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#sh_ylw-pushpin</styleUrl>
</Pair>
</StyleMap>
<Style id="sh_ylw-pushpin">
<IconStyle>
<scale>1.3</scale>
<Icon>
<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
</Icon>
<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
</IconStyle>
</Style>
<Placemark>
<name>Alpes Juliennes</name>
<styleUrl>#msn_ylw-pushpin</styleUrl>
<Polygon>
<tessellate>1</tessellate>
<outerBoundaryIs>
<LinearRing>
<coordinates>
14.17315918634391,46.4335890239608,0 14.12426713603345,46.4701900026447,0 14.06001630776513,46.48820688289607,0 14.01322852790969,46.48277993395551,0 13.96470234347076,46.501981110774,0 13.90624568284538,46.52007575864621,0 13.8571904581805,46.51626983102071,0 13.80827127243469,46.50815834302157,0 13.71678621897007,46.52142879202668,0 13.70542663287804,46.47861794477416,0 13.68860319235893,46.43972822122006,0 13.62773469799466,46.44548975545696,0 13.5890626018572,46.43589376400303,0 13.56867375575345,46.40017033966196,0 13.50387797036182,46.37347630226687,0 13.43825419586324,46.36010069457696,0 13.45224328462455,46.33552050412127,0 13.41470289204527,46.30862114575955,0 13.38621915807468,46.29495928533191,0 13.41043322915396,46.23877872089408,0 13.4138960273539,46.21206141241513,0 13.44719935080826,46.22356740351856,0 13.49454071968822,46.21544673734924,0 13.54507150396243,46.21291882725678,0 13.57219132094065,46.18934083796322,0 13.62883702327048,46.1877306426666,0 13.66250254834862,46.17674925801449,0 13.73514158234138,46.18051289076246,0 13.77990256787901,46.15664685111015,0 13.8597432742668,46.15442924089356,0 13.92364651379268,46.18588193225162,0 14.0008192250151,46.21270105460216,0 14.11660760189176,46.2154094766757,0 14.17454870087038,46.24399191212638,0 14.23591934874193,46.32221231774992,0 14.17315918634391,46.4335890239608,0 </coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
</Placemark>
</Document>
</kml>[/code]