Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geoparquet-0.0.3.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

geoparquet-0.0.3-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page