Shapely
geopandas
Shapely | geopandas | |
---|---|---|
7 | 10 | |
3,678 | 4,188 | |
1.1% | 1.6% | |
8.4 | 9.2 | |
17 days ago | 5 days ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" 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.
Shapely
-
Object oriented programming in GiS
https://github.com/shapely/shapely First paragraph of readme agrees w/ me
-
I used Python to control a custom stop-motion animation drawing machine
The frames' vector data is generated using a sketch made with my vsketch framework (it involves loading GeoJSON data, processing it with Shapely, and projecting it in 3D with NumPy).
-
GIS Developer career path
As has been said the definition of a GIS dev is far from written in stone, but to chime in from a personal standpoint: most of what I do is data wrangling/analysis with shapely/geopandas for vectors (or pygeos / fiona for performance when data volumes get large, but seeing as Shapely 2.0 just got released one can likely skip this part) + rasterio for rasters as well as parallelising these tasks for performance if needed (ray is great for that) and then performing machine learning learning against the data (mostly with sklearn and torch).
- shapely 2.0b1 released
-
Using QGIS Processing Toolbox in an Independent Application?
geopandas and the underlying geometry library shapely provide an alternative to the majority of the basic GIS functionality of qgis. See e.g. https://autogis-site.readthedocs.io/en/latest/ for a tutorial for the basics of these libraries.
- Shapely 1.8.0 released
- Trouble interpreting traceback from attempting to use DeepLabCut
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.”
What are some alternatives?
geopy - Geocoding library for Python.
py-qgis-wps - An implementation of the Web Processing Service standard from the Open Geospatial Consortium based on the QGIS processing API
GeoDjango - GeoDjango provides geospatial extensions to the Django web dev framework
Cartopy - Cartopy - a cartographic python library with matplotlib support
geojson - Python bindings and utilities for GeoJSON
BlenderGIS - Blender addons to make the bridge between Blender and geographic data
geoip2 - Python code for GeoIP2 webservice client and database reader
osmnx - OSMnx is a Python package to easily download, model, analyze, and visualize street networks and other geospatial features from OpenStreetMap.
django-countries - A Django application that provides country choices for use with forms, flag icons static files, and a country field for models.
geemap - A Python package for interactive geospatial analysis and visualization with Google Earth Engine.
geocoder - :earth_asia: Python Geocoder
Reverse Geocoder - A fast, offline reverse geocoder in Python