GeoPandas API for Parquet file format.
Project description
GeoParquet
GeoParquet for Python is a GeoPandas API designed to facilitate fast input/output of GIS data in the open source Parquet file format.
The project is currently a proof of concept.
Why is this project needed?
The GIS community currently lacks a fast, efficient, open-source file format for persisting and sharing data with. The purpose of the GeoParquet project is to develop such a file format.
How does it work?
The GeoParquet file format is simple adaptation of the existing Parquet file format: geometries are stored as well-known binary (WKB), and the coordinate reference system is stored as a WKT string (specifically WKT2_2018) in the file's metadata.
Basic usage
import geopandas as gpd
import geoparquet as gpq
# read in file from shapefile or other format using geopandas
gdf = gpd.read_file('example file.shp')
# call .to_geoparquet() method on geopandas GeoDataFrame to write to file
gdf.to_geoparquet('example file.geoparquet')
# read from file by calling gpq.read_geoparquet() function
gdf = gpq.read_geoparquet('example file.geoparquet')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for geoparquet-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aaee13d802d02d73c14a981bc73482c0074a5af671557971187890070fc7da9 |
|
MD5 | 848c138b9f3edf1cdca900c86c331001 |
|
BLAKE2b-256 | 27c33ffe3ddc783d3173fe87dbb213bc3b562dd31667662a5c12af100ac77524 |