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_parquet() method on geopandas GeoDataFrame to write to file
gdf.to_parquet('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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4832aad695fadfac7371b268a252400c6c25a0e7b398724645b3b37cd94db49 |
|
MD5 | 9910160efba34cf4625ab6ce76afc1d6 |
|
BLAKE2b-256 | 70ef076f443cd380d42bebfb717f915a4ae0d86e8c8bf46c7fd55dc6c1cbb3f8 |