--- id: geomet version: "1.1.0" license: Apache-2.0 license_treatment: permissive maintenance: aging --- # geomet — Pure Python conversion library for common geospatial data formats License: permissive · Maintenance: aging · Downloads: 8.9M/mo ## What it is and what it does GeoMet is a pure-Python library for converting between common geospatial data formats: GeoJSON, WKT (Well-Known Text), WKB (Well-Known Binary), Extended WKT/WKB (EWKT/EWKB), GeoPackage Binary, and EsriJSON. It handles 2D, 3D, and 4D geometries including Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, and GeometryCollection types. The library exposes conversions through idiomatic load/loads/dump/dumps interfaces, making it straightforward to parse and serialize geometries. The package was created to avoid the complexity and maintenance burden of depending on GEOS, a compiled C/C++ library. By implementing format conversion in pure Python, GeoMet allows geometry bugs to be fixed directly in the library without waiting for upstream GEOS releases. It also preserves SRID (spatial reference system identifier) information through conversions via a custom GeoJSON extension, and supports envelope metadata in GeoPackage format. Use it for: - Convert GeoJSON from web APIs into WKT for database storage or PostGIS queries - Parse WKB binary data from GeoPackage files and transform to GeoJSON for web applications - Preserve SRID information when converting between EWKT and EWKB formats in spatial workflows - Serialize geometry objects to EsriJSON for Esri mapping platforms - Handle mixed-dimension geometries (2D, 3D, 4D with Z, M, ZM coordinates) in data pipelines ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Converts between GeoJSON, WKT/WKB, Extended WKT/WKB, GeoPackage Binary, and EsriJSON formats for 2D, 3D, and 4D geometries without requiring compiled dependencies. Yes. GeoMet is stable, permissively licensed, has low install friction, and covers all common geospatial format conversions without compiled dependencies. The aging maintenance status (last release November 2023) is a minor concern for a mature library with no known vulnerabilities, but check whether your specific format combinations and SRID use cases are fully supported before committing to a production dependency. ## Install pip install geomet uv add geomet poetry add geomet ## Installing geomet Before you install: Low install friction with a single runtime dependency (click). The package is in production/stable status but aging—last release was over a year ago (November 2023) and the last commit was June 2025, suggesting maintenance is infrequent but not abandoned. License in practice: Licensed under Apache-2.0 (permissive), which allows commercial use, modification, and distribution with minimal restrictions—suitable for most projects. Quickstart: pip install geomet from geomet import wkt point = {'type': 'Point', 'coordinates': [116.4, 45.2, 11.1]} wkt.dumps(point, decimals=4) # Output: 'POINT (116.4000 45.2000 11.1000)' Verify before relying: - Performance characteristics when handling large geometry collections or high-volume conversions - Whether SRID preservation works consistently across all format combinations - Completeness of EsriJSON support relative to the Esri specification ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 8.9M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags geojson to wkt conversion, wkb wkt geometry parser, geopackage binary format, geospatial data format conversion, pure python geometry library, esri json geospatial, well-known text binary, geospatial, format-conversion, gis [View on SkillFed](https://skillfed.io/packages/geomet) · [View on PyPI](https://pypi.org/project/geomet/)