| tag | 5911b09e2d69a78a2fe074ec8b9c604fe4a304ac | |
|---|---|---|
| tagger | Kristin Cowalcijk <bo@wherobots.com> | Mon Sep 22 19:13:55 2025 +0800 |
| object | 60232d6bb89b4c85291307b3287253291c8389df |
SedonaDB 0.1.0
| tag | 60232d6bb89b4c85291307b3287253291c8389df | |
|---|---|---|
| tagger | Kristin Cowalcijk <morisama@yeah.net> | Fri Sep 19 18:03:34 2025 +0800 |
| object | ab9fcbba50370bf829e7ef47af50e1a19745bbba |
Tag Apache SedonaDB 0.1.0-rc0
| commit | ab9fcbba50370bf829e7ef47af50e1a19745bbba | [log] [tgz] |
|---|---|---|
| author | Kelly-Ann Dolor <kelly@wherobots.com> | Fri Sep 19 00:13:30 2025 -0700 |
| committer | GitHub <noreply@github.com> | Fri Sep 19 00:13:30 2025 -0700 |
| tree | dc9d9d3005c46cdec833b44c7218a2e1cf227e1e | |
| parent | 5d52cd7d8554efef618ad810f56c350d0f923a18 [diff] |
[DOCS] Fit and finish fixes (#110) Co-authored-by: Jia Yu <jiayu198910@gmail.com>
SedonaDB is a high-performance, dependency-free geospatial compute engine.
You can easily run SedonaDB locally or in the cloud. The first release supports a core set of vector operations, but the full-suite of common vector and raster computations will be supported soon.
SedonaDB only runs on a single machine, so it’s perfect for processing smaller datasets. You can use SedonaSpark, SedonaFlink, or SedonaSnow for operations on larger datasets.
You can install Python SedonaDB with PyPI:
pip install "apache-sedona[db]"
This section shows how to query the Overture buildings data.
Start by establishing a connection:
import sedona.db sd = sedona.db.connect()
Set some AWS environment variables to access the data:
os.environ["AWS_SKIP_SIGNATURE"] = "true" os.environ["AWS_DEFAULT_REGION"] = "us-west-2"
Read the dataset into a Python SedonaDB DataFrame. This is lazy: even though the Overture buildings table contains millions of rows, SedonaDB will only fetch the data required for the query.
df = sd.read_parquet( "s3://overturemaps-us-west-2/release/2025-08-20.0/theme=buildings/type=building/" )
Now run a query to compute the centroids of tall buildings (above 20 meters) in New York City:
nyc_bbox_wkt = ( "POLYGON((-74.2591 40.4774, -74.2591 40.9176, -73.7004 40.9176, -73.7004 40.4774, -74.2591 40.4774))" ) sd.sql(f""" SELECT id, height, num_floors, roof_shape, ST_Centroid(geometry) as centroid FROM buildings WHERE is_underground = FALSE AND height IS NOT NULL AND height > 20 AND ST_Intersects(geometry, ST_SetSRID(ST_GeomFromText('{nyc_bbox_wkt}'), 4326)) LIMIT 5; """).show()
Here's the query output:
┌─────────────────────────┬────────────────────┬────────────┬────────────┬─────────────────────────┐ │ id ┆ height ┆ num_floors ┆ roof_shape ┆ centroid │ │ utf8view ┆ float64 ┆ int32 ┆ utf8view ┆ wkb <ogc:crs84> │ ╞═════════════════════════╪════════════════════╪════════════╪════════════╪═════════════════════════╡ │ 1b9040c2-2e79-4f56-aba… ┆ 22.4 ┆ ┆ ┆ POINT(-74.230407502993… │ ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤ │ 1b5e1cd2-d697-489e-892… ┆ 21.5 ┆ ┆ ┆ POINT(-74.231451103592… │ ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤ │ c1afdf78-bf84-4b8f-ae1… ┆ 20.9 ┆ ┆ ┆ POINT(-74.232593032240… │ ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤ │ 88f36399-b09f-491b-bb6… ┆ 24.5 ┆ ┆ ┆ POINT(-74.231878209597… │ ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤ │ df37a283-f5bd-4822-a05… ┆ 24.154542922973633 ┆ ┆ ┆ POINT(-74.241910239840… │ └─────────────────────────┴────────────────────┴────────────┴────────────┴─────────────────────────┘
SedonaDB has several advantages:
There are many different ways to contribute to SedonaDB:
The contributors meet on a monthly basis and we’re happy to add you to the call if you would like to join the community!
SedonaDB is a subproject of Apache Sedona, an Apache Software Foundation project.
The project is governed by the Apache Software Foundation and subject to all the rules and oversight requirements.