| 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 | |