GeoJSON Utility for Openclaw

A robust diagnostic tool for inspecting, validating, and troubleshooting GeoJSON files and payloads to ensure spatial data integrity.

jvy
v1.0.0
Mar 21, 2026
0
873
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install geojson

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install geojson using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is GeoJSON Utility?

The GeoJSON utility is an essential addition to the Openclaw Skills library, designed specifically for developers and data scientists working with spatial datasets. It provides a non-destructive, read-only analysis environment to verify the structure and validity of GeoJSON payloads, ensuring that coordinates, geometry types, and nesting patterns adhere to standard specifications.

By leveraging this skill, users can quickly identify common pitfalls such as malformed FeatureCollections, out-of-range longitude/latitude values, or incorrect coordinate ordering. It serves as the primary diagnostic layer before passing data to heavy-duty GIS engines, making it a vital part of any geospatial development workflow powered by Openclaw Skills.

GeoJSON Utility Use Cases

  • Verifying the structural integrity of large GeoJSON FeatureCollection files.
  • Debugging coordinate range issues and detecting swapped latitude/longitude pairs.
  • Generating bounding box (bbox) summaries for spatial datasets.
  • Inspecting inline JSON payloads during API development and testing.
  • Validating geometry types and feature counts before importing data into production databases.

How GeoJSON Utility Works

  1. The agent identifies the source input, which can be either a local file path or a raw inline JSON string.
  2. The skill parses the data to determine the top-level GeoJSON type (e.g., Point, Feature, or FeatureCollection).
  3. It performs a deep scan of the geometry objects to count features and verify coordinate nesting.
  4. Mathematical checks are run to calculate the bounding box and flag any coordinates that fall outside plausible geographic ranges.
  5. A comprehensive report is generated, highlighting validation errors or suspicious patterns that require attention.
  6. If complex reprojection or editing is required, the skill suggests a hand-off to specialized GIS tools.

GeoJSON Utility Setup

To use this feature within Openclaw Skills, ensure Python 3 is installed on your system. You can install the necessary environment using the following command:

brew install python

The skill utilizes a dedicated Python script for processing. You can run validations directly from your terminal:

# Validate a specific file
python3 scripts/geojson_tool.py validate --file ./path/to/data.geojson

GeoJSON Utility Data Schema & Taxonomy

The GeoJSON skill organizes its output into a structured summary to help users quickly assess data health. The following taxonomy is typically returned:

Attribute Description
Top-Level Type Identifies if the object is a FeatureCollection, Feature, or Geometry.
Feature Count Total number of features found within the collection.
Geometry Stats A breakdown of types (e.g., Polygon: 5, MultiLineString: 2).
Bounding Box The calculated [minX, minY, maxX, maxY] for the dataset.
Validation Flags Warnings for CRS assumptions or coordinate order (lon,lat).

GeoJSON Utility Advanced Features

  • Multi-input support for both file-based and inline JSON string analysis.
  • Automated bounding box generation for quick spatial context.
  • Sophisticated coordinate range review to catch data entry errors (e.g., 90+ latitude).
  • CRS safety guidance to manage WGS84 assumptions and coordinate-order ambiguity.
  • Seamless integration with other Openclaw Skills for end-to-end geospatial workflows.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*