-
Notifications
You must be signed in to change notification settings - Fork 36
docs: add flatgeobuf page #458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
paleolimbot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like pre-commit has something to say about this.
The example from the release post would be good to include here...the ability to do a partial read of a remote FlatGeoBuf is a great feature ( https://sedona.apache.org/latest/blog/2025/12/01/sedonadb-020-release/#gdalogr-spatial-file-format-read-support ). This won't work for the Microsoft Buildings example (or any of the GeoArrow data fgb files) because they don't contain spatial indexes (I wrote them this way to keep them under the 2GB GitHub releases limit).
| ```python | ||
| url = "https://github.com/geoarrow/geoarrow-data/releases/download/v0.2.0/microsoft-buildings_point.fgb.zip" | ||
| df = sd.read_pyogrio(url) | ||
| df.show(3) | ||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm surprised that this loads quickly!
| sd = sedona.db.connect() | ||
| ``` | ||
|
|
||
| # Read Microsoft Buildings FlatGeobuf data with SedonaDB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # Read Microsoft Buildings FlatGeobuf data with SedonaDB | |
| ## Read Microsoft Buildings FlatGeobuf data with SedonaDB |
|
|
||
| Now lets see how to read another FlatGeobuf dataset. | ||
|
|
||
| # Read Vermont boundary FlatGeobuf data with SedonaDB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # Read Vermont boundary FlatGeobuf data with SedonaDB | |
| ## Read Vermont boundary FlatGeobuf data with SedonaDB |
No description provided.