geometry_to_geojson
Convert WKT geometry strings into GeoJSON format using Shapely's mapping function. Simplifies geospatial data transformation for integration with web mapping tools and GIS workflows.
Instructions
Convert a Shapely geometry (WKT) to GeoJSON using shapely.geometry.mapping.
Args:
geometry: WKT string of the geometry.
Returns:
Dictionary with status, message, and GeoJSON representation.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
geometry | Yes |
Input Schema (JSON Schema)
{
"properties": {
"geometry": {
"title": "Geometry",
"type": "string"
}
},
"required": [
"geometry"
],
"title": "geometry_to_geojsonArguments",
"type": "object"
}