Open, map and convert GIS data
open_gis_fileUse this when the user shares or links a geographic file (GeoJSON, KML, KMZ, GPX, zipped Shapefile, CSV with coordinates, WKT), pastes its content, or has a list of points or GeoJSON to put on a map, and wants to see it, understand it (format, coordinate system, extent, feature count, geometry types, fields, problems) or convert it to GeoJSON, KML, KMZ, GPX, Shapefile zip or CSV. Shapefile, GeoJSON, KML and CSV outputs open directly in QGIS. Also covers long tracks or point lists too big to write in the chat. Files up to 50 MB. Never use the user's current location unless they type it. Download links build their file when opened; no file is saved. TerraLab reads the file or link to answer and keeps no copy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A public http(s) link to the file. | |
| file | No | A file uploaded in the conversation. | |
| text | No | The file content pasted as text (GeoJSON, KML, GPX, CSV or WKT). | |
| title | No | Name for the map and the output files when there is no file name. | |
| points | No | Points to show and convert, with a name. The places the user asks about, not the user's own location. | |
| geojson | No | A GeoJSON FeatureCollection, Feature or geometry in WGS 84, given as an object. | |
| file_name | No | Optional name of the file, used to name the outputs. | |
| convert_to | No | Output formats wanted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Error code, on errors only. | |
| hint | No | What to do next, on errors only. | |
| message | No | Error message, on errors only. | |
| sources | No | Data sources and licences of the result. | |
| downloads | No | Download links; each builds its file when opened. | |
| truncated | No | ||
| totalFound | No |