wiki:Geonol/API_REST/KMLResponseExample

Version 3 (modified by http://cbenz.myopenid.com/, 7 years ago) (diff)

--

Exemple de réponse KML

La réponse suivante correspond à cette requête : http://annuaire.comarquage.fr/rest/poi.kml?bbox=-22.236327886227,42.237904480392,25.224609611878,51.220675627132

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
  <Document>
    <name>Organismes</name>
    <ExtendedData>
      <Data name="date">
        <value>2010-05-12 17:13:58.637167</value>
      </Data>
      <Data name="start">
        <value>0</value>
      </Data>
      <Data name="count">
        <value>57582</value>
      </Data>
    </ExtendedData>
    <Placemark id="LocalPublicServiceOfFrance/caf-60175-01">
      <name>Caisse d'allocations familiales de Creil (siège)</name>
      <address>2 rue Charles Auguste Duguet, 60832 Creil</address>
      <Point>
        <coordinates>2.4763929,49.2603121</coordinates>
      </Point>
      <Style>
        <BalloonStyle>
          <text>
<![CDATA[
<div class="organization">
    <h1 style="font-size: small">
        <a rel="external" href="http://lannuaire.service-public.fr/services_locaux/picardie/oise/caf-60175-01.html">$[name]</a>
    </h1>
    <div class="adr">
      <div class="street-address">2 rue Charles Auguste Duguet</div>
      <span class="postal-code">60832</span>
      <span class="locality">Creil</span>
    </div>
</div>
]]>
          </text>
        </BalloonStyle>
      </Style>
    </Placemark>
    <Placemark id="LocalPublicServiceOfFrance/caf-60176-01">
      <name>Caisse d'allocations familiales de Crépy en Valois (antenne)</name>
      <address>espace rameau, 60800 Crépy-en-Valois</address>
      <Point>
        <coordinates>2.8895486,49.2338978</coordinates>
      </Point>
      <Style>
        <BalloonStyle>
          <text>
<![CDATA[
<div class="organization">
    <h1 style="font-size: small">
        <a rel="external" href="http://lannuaire.service-public.fr/services_locaux/picardie/oise/caf-60176-01.html">$[name]</a>
    </h1>
    <div class="adr">
      <div class="street-address">espace rameau</div>
      <span class="postal-code">60800</span>
      <span class="locality">Crépy-en-Valois</span>
    </div>
</div>
]]>
          </text>
        </BalloonStyle>
      </Style>
    </Placemark>
    <Placemark id="LocalPublicServiceOfFrance/caf-62119-03">
      <name>caisse d'allocations familiales (CAF) de Béthune</name>
      <address>Maison des Associations, Boulevard des Etats Unis,, 62400 Béthune</address>
      <Point>
        <coordinates>2.629601,50.517987</coordinates>
      </Point>
      <Style>
        <BalloonStyle>
          <text>
<![CDATA[
<div class="organization">
    <h1 style="font-size: small">
        <a rel="external" href="http://lannuaire.service-public.fr/services_locaux/nord-pas-de-calais/pas-de-calais/caf-62119-03.html">$[name]</a>
    </h1>
    <div class="adr">
      <div class="street-address">Maison des Associations, Boulevard des Etats Unis,</div>
      <span class="postal-code">62400</span>
      <span class="locality">Béthune</span>
    </div>
</div>
]]>
          </text>
        </BalloonStyle>
      </Style>
    </Placemark>
    <Placemark id="LocalPublicServiceOfFrance/caf-62463-01">
      <name>Caisse d'allocations familiales de Hucqueliers (accueil)</name>
      <address>Mairie, 1 La Grand'Place, 62650 Hucqueliers</address>
      <Point>
        <coordinates>1.9071876,50.5684468</coordinates>
      </Point>
      <Style>
        <BalloonStyle>
          <text>
<![CDATA[
<div class="organization">
    <h1 style="font-size: small">
        <a rel="external" href="http://lannuaire.service-public.fr/services_locaux/nord-pas-de-calais/pas-de-calais/caf-62463-01.html">$[name]</a>
    </h1>
    <div class="adr">
      <div class="street-address">Mairie, 1 La Grand'Place</div>
      <span class="postal-code">62650</span>
      <span class="locality">Hucqueliers</span>
    </div>
</div>
]]>
          </text>
        </BalloonStyle>
      </Style>
    </Placemark>
    <Placemark id="LocalPublicServiceOfFrance/caf-63210-01">
      <name>Caisse d'allocations familiales de Maringues (antenne)</name>
      <address>Mairie, 63350 Maringues</address>
      <Point>
        <coordinates>3.3282336,45.9214768</coordinates>
      </Point>
      <Style>
        <BalloonStyle>
          <text>
<![CDATA[
<div class="organization">
    <h1 style="font-size: small">
        <a rel="external" href="http://lannuaire.service-public.fr/services_locaux/auvergne/puy-de-dome/caf-63210-01.html">$[name]</a>
    </h1>
    <div class="adr">
      <div class="street-address">Mairie</div>
      <span class="postal-code">63350</span>
      <span class="locality">Maringues</span>
    </div>
</div>
]]>
          </text>
        </BalloonStyle>
      </Style>
    </Placemark>
    <Placemark id="LocalPublicServiceOfFrance/caf-64122-01">
      <name>Caisse d'Allocations Familiales de Biarritz (antenne)</name>
      <address>Centre Communal d'Action Sociale, Square d'Ixelles, 64200 Biarritz</address>
      <Point>
        <coordinates>-1.5574288,43.4832701</coordinates>
      </Point>
      <Style>
        <BalloonStyle>
          <text>
<![CDATA[
<div class="organization">
    <h1 style="font-size: small">
        <a rel="external" href="http://lannuaire.service-public.fr/services_locaux/aquitaine/pyrenees-atlantiques/caf-64122-01.html">$[name]</a>
    </h1>
    <div class="adr">
      <div class="street-address">Centre Communal d'Action Sociale, Square d'Ixelles</div>
      <span class="postal-code">64200</span>
      <span class="locality">Biarritz</span>
    </div>
</div>
]]>
          </text>
        </BalloonStyle>
      </Style>
    </Placemark>
    <Placemark id="LocalPublicServiceOfFrance/caf-64430-01">
      <name>Caisse d'Allocations Familiales d'Orthez (antenne)</name>
      <address>Mairie d'Orthez, place d'Armes, 64300 Orthez</address>
      <Point>
        <coordinates>-0.7739089,43.4875992</coordinates>
      </Point>
      <Style>
        <BalloonStyle>
          <text>
<![CDATA[
<div class="organization">
    <h1 style="font-size: small">
        <a rel="external" href="http://lannuaire.service-public.fr/services_locaux/aquitaine/pyrenees-atlantiques/caf-64430-01.html">$[name]</a>
    </h1>
    <div class="adr">
      <div class="street-address">Mairie d'Orthez, place d'Armes</div>
      <span class="postal-code">64300</span>
      <span class="locality">Orthez</span>
    </div>
</div>
]]>
          </text>
        </BalloonStyle>
      </Style>
    </Placemark>
  </Document>
</kml>