ShapeFixer

ShapeFixer

Engine: checking
SFREST API Reference

EngineAccess.

Integrate ShapeFixer's powerful repair engine directly into your own applications. All endpoints are RESTful, secure, and return structured GIS JSON data.

POST

Upload GIS Data

Upload a ZIP (Shapefile), GeoJSON, GPKG, or KML file for processing.

Request Body

{
  "file": "Multipart/Form-Data"
}

Response Schema

{
  "path": "string",
  "format": "string"
}
POST

Run Validation

Analyze geometry and structural integrity of a previously uploaded file.

Request Body

{
  "path": "string"
}

Response Schema

{
  "issues": "Array",
  "stats": "Object"
}
POST

Execute Repair

Apply automated geometry fixes and spatial normalization.

Request Body

{
  "path": "string",
  "options": "{ singlepart: boolean, target_crs: string }"
}

Response Schema

{
  "repaired_path": "string",
  "preview_geojson": "Object"
}