https://github.com/developmentseed/geojson-pydantic
Pydantic data models for the GeoJSON spec
https://github.com/developmentseed/geojson-pydantic
geojson geojson-spec pydantic
Last synced: 4 months ago
JSON representation
Pydantic data models for the GeoJSON spec
- Host: GitHub
- URL: https://github.com/developmentseed/geojson-pydantic
- Owner: developmentseed
- License: mit
- Created: 2020-05-21T22:29:07.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-06-19T22:03:01.000Z (4 months ago)
- Last Synced: 2025-06-20T11:55:40.020Z (4 months ago)
- Topics: geojson, geojson-spec, pydantic
- Language: Python
- Homepage: https://developmentseed.org/geojson-pydantic/
- Size: 862 KB
- Stars: 262
- Watchers: 13
- Forks: 38
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# geojson-pydantic
Pydantic models for GeoJSON.
---
**Documentation**: https://developmentseed.org/geojson-pydantic/
**Source Code**: https://github.com/developmentseed/geojson-pydantic
---
## Description
`geojson_pydantic` provides a suite of Pydantic models matching the [GeoJSON specification rfc7946](https://datatracker.ietf.org/doc/html/rfc7946). Those models can be used for creating or validating geojson data.
## Install
```bash
$ python -m pip install -U pip
$ python -m pip install geojson-pydantic
```Or install from source:
```bash
$ python -m pip install -U pip
$ python -m pip install git+https://github.com/developmentseed/geojson-pydantic.git
```Install with conda from [`conda-forge`](https://anaconda.org/conda-forge/geojson-pydantic):
```bash
$ conda install -c conda-forge geojson-pydantic
```## Contributing
See [CONTRIBUTING.md](https://github.com/developmentseed/geojson-pydantic/blob/main/CONTRIBUTING.md).
## Changes
See [CHANGES.md](https://github.com/developmentseed/geojson-pydantic/blob/main/CHANGELOG.md).
## Authors
Initial implementation by @geospatial-jeff; taken liberally from https://github.com/arturo-ai/stac-pydantic/
See [contributors](hhttps://github.com/developmentseed/geojson-pydantic/graphs/contributors) for a listing of individual contributors.
## License
See [LICENSE](https://github.com/developmentseed/geojson-pydantic/blob/main/LICENSE)