Shapefile conversor

Web services

Shapefile conversor API documentation,

available via HTTP-JSON/XML service.

URL base service:

* 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]&clientid=0123456789

GEOMS

Shape list, separated by commas. Shape format: [wkt|id]

Where:

  • wkt: Shape, in WKT format
  • id: Shape ID

All the shapes included in every request must be the same type: if have several types, send it grouped in different requests. Types avaliables:

  • Point
  • PolyLine
  • Polygon
  • MultiPoint

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