Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:api:rest [2018/04/23 16:12]
Jeff Konnen
en:api:rest [2018/07/06 11:24] (current)
Jeff Konnen
Line 10: Line 10:
 Geocoding can be done using the following URL: Geocoding can be done using the following URL:
  
-//apiv3.geoportail.lu/geocode/search+   //apiv3.geoportail.lu/geocode/search 
 + 
  
 **Parameters:** **Parameters:**
-  * num: //House number// +  *num: //House number// 
-  * street: //Street name// +  *street: //Street name// 
-  * locality: //Locality// +  *locality: //Locality// 
-  * zip: //Postcode// +  *zip: //Postcode// 
-  * dc: //random number (optional) to prevent caching// +  *dc: //random number (optional) to prevent caching// 
-  * cb: //callback function name. If specified return JSONP rahter than JSON//+  *cb: //callback function name. If specified return JSONP rahter than JSON// 
 +  *returnParcelInfo //sends back the parcel number if set to true // 
  
-  Full example:  +**Full example: ** 
-  //apiv3.geoportail.lu/geocode/search?num=54&street=Avenue%20Gaston%20Diderich&zip=&locality=Luxembourg&_dc=1386599465147&cb=stcCallback1001+   //apiv3.geoportail.lu/geocode/search?num=54&street=Avenue%20Gaston%20Diderich&zip=&locality=Luxembourg&_dc=1386599465147&cb=stcCallback1001
  
 **Alternative:** **Alternative:**
Line 35: Line 39:
   * count: //Number of results found//    * count: //Number of results found// 
   * results: //List order by descending accuracy and ratio//   * results: //List order by descending accuracy and ratio//
 +    * parcel //optional, according to request parameter returnParcelInfo true/false //
 +      * key // parcel id //
 +      * label // parcel label //
     * ratio: //ratio from 0-1. Expresses the certainty of the result, 1 being the maximum//     * ratio: //ratio from 0-1. Expresses the certainty of the result, 1 being the maximum//
     * name: //Formatted string representing the addresse//     * name: //Formatted string representing the addresse//
en/api/rest.1524492730.txt.gz · Last modified: 2018/04/23 16:12 by Jeff Konnen
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0