geojson-normalize
A small JavaScript function that converts any GeoJSON object into a FeatureCollection. It saves you from handling each GeoJSON type separately.
Pick a small issue you can reproduce, then fix it with your AI coding agent.
Share on XLicense: ISC
Overview
geojson-normalize is a small JavaScript function that converts any GeoJSON object into a FeatureCollection. It saves you from writing separate handling for each GeoJSON type, since your code can always work with one consistent shape. Install it from npm as @mapbox/geojson-normalize and call normalize(object) to get a FeatureCollection back.
Key features
- Converts any GeoJSON object to a FeatureCollection
- Single function: normalize(object)
- Installed from npm as @mapbox/geojson-normalize
Best for
JavaScript developers who accept GeoJSON of mixed types and want to handle it as one FeatureCollection.
- Upstream
- mapbox/geojson-normalize
- Fork on GitHub
- Guo-astro/geojson-normalize
- Upstream stars
- 34
- Category
- Maps and geospatial
- Language
- JavaScript
- License
- ISC
- Forked
- 2020-11-01
- Sync status
- In syncLast synced 2026-10-19
More in Maps and geospatial
A Go terminal map viewer and journey planner for recorded activities and planned routes. Inspect tracks, elevation, and playback offline, or use Mapbox for place search and road routing.
Forked 2026-10-19Last synced 2026-10-19License: MITMaps and geospatialGitHub
GeoLibre is a GIS for visualizing and analyzing geospatial data across browser, desktop, mobile, and notebooks. It keeps work local with browser geoprocessing tools.
Forked 2026-10-07Last synced 2026-10-19License: MITMaps and geospatialGitHub
An open source command line toolkit that turns drone, balloon or kite photos into maps, point clouds, 3D models and elevation models. Used for aerial mapping and surveying.
Forked 2026-06-09Last synced 2026-10-19License: AGPL-3.0Maps and geospatialGitHub
A mobile web prototype for map lighting challenges. An organizer picks a real area and shares a link, and participants light up map cells by walking around it.
Forked 2026-06-09Last synced 2026-10-19No license declaredMaps and geospatialGitHub