geopandas
lonboard
geopandas | lonboard | |
---|---|---|
10 | 1 | |
4,218 | 436 | |
2.3% | 7.1% | |
9.2 | 9.5 | |
2 days ago | 1 day ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
geopandas
-
Geopandas spatial predicate performance increase?
Interesting! Full honesty I don’t know, lol. But if I were to guess… something to do with implementation of pygeos and indexing. Recent geopandas versions I believe handle joins with shapely vs. pygeos differently. Maybe if there is a declared predicate, it treats the spatial index differently. https://github.com/geopandas/geopandas/pull/1421
-
Pandas or Polars to work with dataframes?
From the little I've seen, Polars looks good, but I'm sticking with Pandas for now... I do a lot of work with GeoPandas. When they release a usable version of GeoPolars, I'll take a look.
-
GeoPandas: Crimea Assigned to Ukraine in naturalearth_lowres
Details on the root of the issue.[0]
[0] https://github.com/geopandas/geopandas/issues/2382
- Geopandas sucks for converting files
- geopandas v0.12.0 released, with Shapely 2.0 support
-
Shapely just release version 1.8.5, which includes Python 3.11 support!
This means that almost all dependencies of GeoPandas now support Python 3.11, only Fiona is left (but being worked on). See this tracking issue: https://github.com/geopandas/geopandas/issues/2592
- Recreating QGIS SAGA polygon self-intersection in python?
-
Using QGIS Processing Toolbox in an Independent Application?
Best python package alternative in my opinion: geopandas
-
Spatial Joins and Big O
Geopandas uses pygeos to implement fast spatial joins (source code is here for the sjoin function: https://github.com/geopandas/geopandas/blob/main/geopandas/tools/sjoin.py). More from GeoPandas documentation: “GeoPandas offers built-in support for spatial indexing using an R-Tree algorithm. Depending on the ability to import pygeos, GeoPandas will either use pygeos.STRtree or rtree.index.Index. The main interface for both is the same and follows the pygeos model.”
lonboard
-
Parquet-WASM: Rust-based WebAssembly bindings to read and write Parquet data
I'll let Kyle chime in but I tested it a few months ago with millions of polygons on an M2 16GB of RAM laptop and it worked very well.
There is a library by the same author called lonboard that provides the JS bits inside JupyterLab. https://github.com/developmentseed/lonboard
I think it is based on the Kepler.gl / Deck.gl data loaders that go straight to GPU from network.
What are some alternatives?
Shapely - Manipulation and analysis of geometric objects
py-qgis-wps - An implementation of the Web Processing Service standard from the Open Geospatial Consortium based on the QGIS processing API
Cartopy - Cartopy - a cartographic python library with matplotlib support
BlenderGIS - Blender addons to make the bridge between Blender and geographic data
osmnx - OSMnx is a Python package to easily download, model, analyze, and visualize street networks and other geospatial features from OpenStreetMap.
geemap - A Python package for interactive geospatial analysis and visualization with Google Earth Engine.