Skip to main content

Readers

Each input format has its own requirements, and understanding these will help users interact with Geoflip's API effectively. Here's a breakdown of each supported format and their unique considerations:

  • GeoJSON: GeoJSON data can be supplied as part of the request body, making it simple to directly pass spatial data for processing.

  • Shapefiles: Shapefiles consist of multiple files (e.g., .shp, .dbf, .shx, and optionally .prj). To submit a Shapefile, all relevant files must be compressed into a .zip and uploaded via a multipart form request.

  • DXF Files: DXF files do not contain CRS (Coordinate Reference System) information inherently, meaning that users must specify the CRS as part of the request payload.

  • GeoPackage: GeoPackages are flexible and can store multiple layers of spatial data, making them an efficient format for more complex datasets. The file content needs to be base64-encoded for submission.

The reader endpoints allow users to submit these various spatial data formats and convert them into other formats or apply geospatial transformations, enhancing the usability of diverse GIS data. Below, we describe each input format and endpoint in detail, including examples to guide you through common scena