Web services
Shapefile conversor API documentation,
available via HTTP-JSON/XML service.
URL base service:
- JSON: https://lb.cercalia.com/services/json?key=<API KEY*>
- XML: https://lb.cercalia.com/services/xmlgeo?key=<A KEYPI*>
* API KEY. Same KEY used in maps API js
HTTP requests in GET or POST
Response in JSON / XML format
Get a shapefile from a list of WKT geometries
REQUEST
Request paramethers:
&cmd=shapefilegeoms&geoms=[POINT(3%2041)|1]
GEOMS |
Shape list, separated by commas. Shape format: [wkt|id] Where:
All the shapes included in every request must be the same type: if have several types, send it grouped in different requests. Types avaliables:
|
SRS |
Coordinate system used in GEOMS Default EPSG:4326 |
TOLERANCE |
Geometry simplification, in meters. Default: 0 |
RESPONSE
Response in ZIP file, including all the files (.dbf, .shp, .shx).