Changes between Version 2 and Version 3 of ExtendedRegions


Ignore:
Timestamp:
Oct 24, 2012, 6:45:19 AM (12 years ago)
Author:
jesseeichar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ExtendedRegions

    v2 v3  
    4848 * Get
    4949  * Params
    50     * id
     50    * id - required
    5151  * Example Response:
    5252{{{
     
    7777</response>
    7878}}}
     79 * List
     80  * Params
     81   * category - optional
     82   * bbox (minx,maxx,miny,maxy, srs) - optional.  SRS is optional and assumed to be EPSG:4326
     83   * label - searches the labels for regions that contain the text in this parameters - optional
     84  * Example Response
     85{{{
     86<regions count="1">
     87  <region>
     88    <id>country.1</id>
     89    <label>
     90      <eng>France</eng>
     91    </label>
     92  </region>
     93</regions>
     94}}}
     95 * GetGeom
     96  * Params
     97   * id - required (if multiple are provided then multiple geometries will be returned)
     98   * simplified - optional (if present and true then the geometry will be a simplified version.  Some implementations may ignore this hint and return full geometry)
     99  * Example Response:
     100{{{
     101<response>
     102  <geom id="2"> MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)), ((15 5, 40 10, 10 20, 5 10, 15 5)))</geom>
     103  <geom id="3"> MULTIPOLYGON (((30 20, 10 40, 45 40, 30 20)), ((15 5, 40 10, 10 20, 5 10, 15 5)))</geom>
     104</response>
     105}}}
     106
    79107=== Backwards Compatibility Issues ===
    80108