Skip to main content

Geostream

Geostream is a Python tool to interact with OGC APIs with ease and download geospatial data to Geopandas GeoDataFrames.

Status: Currently only works with WFS API and is very experimental by nature. Use at own risk.

Installation

geostream is available via PyPi and can be installed with:

  • pip install geostream

Basic usage

from geostream import WFS

# Endpoint for WFS API of the City of Helsinki
endpoint = "https://kartta.hel.fi/ws/geoserver/avoindata/wfs"

# Initialize WFS reader 
# Note: API version can vary between data providers (by default 1.0.0 is used) 
wfs = WFS(endpoint, version="2.0.0")

# See all available layers
wfs.get_layers()

# Store the id of the first layer
first_layer = wfs.get_layers()[0]

# Find info for specific layer
wfs.get_layer_info(first_layer)

# Download a GeoDataFrame with Helsinki as the extent
helsinki_gdf = wfs.get_gdf_from_place("Helsinki")

# Download the data into GeoDataFrame from the Helsinki Region
data = wfs.load_wfs(layer_id=first_layer, bounding_box=helsinki_gdf)

Metadata

Release files for geostream 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for geostream 0.0.1
File Size Uploaded Provenance Actions
geostream-0.0.1.tar.gz 5.1 kB Without provenance Details for geostream-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for geostream 0.0.1
File Interpreter ABI Platform Actions
geostream-0.0.1-py3-none-any.whl Python 3 none any Details for geostream-0.0.1-py3-none-any.whl

Total release size: 10.4 kB

Release files / geostream-0.0.1.tar.gz

Download URL geostream-0.0.1.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
223506bda4a82b28a5ccdd261a92eb6ca65462ab4f98e8c60528e90b9167cbaf
BLAKE2b-256 checksum
How to use checksums
aa1543c91587136b201b90a92da11bd7a3cfabc41eccc55fade6a011ed102d0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / geostream-0.0.1-py3-none-any.whl

Download URL geostream-0.0.1-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84f804d6312cc99e6bbd4f37af20657c57362a110b8073bee8631ed6cb71ff90
BLAKE2b-256 checksum
How to use checksums
fd5313254b1f10fc973417483904ef8803db53a137d42803f510412139e88d23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Security for geostream 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page