geojson-editor: a browser-based GeoJSON viewer, editor and RFC 7946 validator
The developer built geojson-editor, a learning project that lets users view, edit and validate GeoJSON files directly in the browser using MapLibre GL JS and terra-draw. Files can be loaded from disk, drag-and-drop, a URL or pasted text, and nothing is uploaded to a server. The tool supports drawing and editing geometries, editing feature properties with automatic value typing, and exporting with optional coordinate rounding. Its validator checks files against RFC 7946, flagging issues like unclosed rings and swapped latitude/longitude, with a one-click fix for winding order. The source code is available on GitHub and runs as a static demo or locally via pnpm.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in