Convert a map file
gis_convertConvert a map file. Converts a map file to GeoJSON, KML, KMZ, GPX, CSV, Shapefile (zip), GeoPackage or FlatGeobuf, reprojected to WGS 84, kept in its original coordinate system or written in a chosen EPSG system (Shapefile, GeoPackage). The output is read back and compared with the input: feature count, every coordinate in metres, attribute values; features the target format cannot hold are counted and named. Use when: A map file has to be turned into another GIS format or coordinate system, with proof that nothing was lost. Not for: Raster data; styling; editing. File types: zip, shp, kml, kmz, gpx, geojson, json, csv, tsv, gpkg, fgb. Max 30 MB.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gis_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | Tool options, if any (see the tool description). | |
| file_url | No | Public https URL of the file (preferred). | |
| filename | No | File name with its extension, e.g. part.step. | |
| file_base64 | No | The file as base64, for small files without a URL (give filename too). |