curl -d '<xls:XLS xmlns

ls="http://www.opengis.net/xls" version="1.0"><xls:RequestHeader sessionID=""/><xls:Request methodName="GeocodeRequest" version="1.0" requestID="" maximumResponses="50"><xls:GeocodeRequest><xls:Address countryCode="FR"><xls:freeFormAddress>Tatoux</xls:freeFormAddress></xls:Address></xls:GeocodeRequest></xls:Request></xls:XLS>' -H 'Content-Type: text/xml' -e atlasnw.free.fr 'http://wxs.ign.fr/geoportail/gazetteer/OpenLSPOST?gppkey=_zzp9EtvLlAgmuH31ti2Et4BQukAAAAAAIO6Cl3sP9JcQiq4AAABKCWy1QgAAAAAAlgAAQENzIOB9QOp4Ud_odliy7NbY3bAuwSkTdkBKkJsqekozuF08bkVgf4t_IeHk9GSoxnXVFdanGXJmgDDNAAAQzQAAMK0AABCtAAA'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1432 100 1089 0 343 11709 3688 --:--:-- --:--:-- --:--:-- 12032<xls:XLS xmlns

ls="http://www.opengis.net/xls" version="1.000000" xmlns:gml="http://www.opengis.net/gml" xmlns

si="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/xls /WEBS/ign/interop-gazetteer.ign.fr/docs/lbs_p/gen/data/openls/LocationUtilityService.xsd">
<ResponseHeader xmlns="http://www.opengis.net/xls"/>
<Response xmlns="http://www.opengis.net/xls" requestID="" version="1.0">
<GeocodeResponse>
<GeocodeResponseList numberOfGeocodedAddresses="1">
<GeocodedAddress>
<Point xmlns="http://www.opengis.net/gml">
<pos dimension="2">48.141605 -1.466266</pos>
</Point>
<Address countryCode="BDNYME">
<StreetAddress>
<Street></Street>
</StreetAddress>
<Place type="Municipality">tatoux</Place>
<PostalCode>Lieu-dit habité</PostalCode>
</Address>
<GeocodeMatchCode accuracy="1" matchType="City"/>
</GeocodedAddress>
</GeocodeResponseList>
</GeocodeResponse>
</Response>
</xls:XLS
Partager