Inspect a map file
gis_inspectInspect a map file. Reads a map file (Shapefile zip, KML, KMZ, GPX, GeoJSON, GeoPackage, FlatGeobuf, CSV with coordinates) and returns its layers, feature counts by geometry type, coordinate system and where it came from (file, format, assumed, flagged guess), extent in WGS 84 and in the original system, fields with types and samples, total length and area, GPS track statistics (length, climb, descent, elevation range, duration), a simplified WGS 84 GeoJSON for a map and a PNG preview. Use when: A map/GIS file has to be understood or shown on a web map without GIS software. Not for: Raster data (GeoTIFF), FileGDB, MapInfo, DXF/DWG (use dxf_render/dwg_to_dxf). 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_inspect"
}
}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). |