#geodataframe — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #geodataframe, aggregated by home.social.
-
Made today during class at Sesc with data from #OpenStreetMap using #osmnx #OSM #BSB #geodataframe #geopandas #shapely Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_11_13
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work:
https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
https://liberapay.com/Villares
https://wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding
UPDATE: moving water (the lake) under the white paths -
while exploring @geopandas docs I learned it has a "explore()" function that creates an interactive #leafletjs map of the #geodataframe #pandas #gis #geodata #gischat #geopandas
https://geopandas.org/en/stable/docs/user_guide/interactive_mapping.html
-
Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_10_13
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work:
https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
https://liberapay.com/Villares
https://wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding
#GeoPandas #GeoDataFrame -
"#Geospatial #Python - Full Course for Beginners with #Geopandas"
https://www.youtube.com/watch?v=0mWgVVH_dos
#folium #mapclassify #leafmap #OpenstreetMap #Jupyter #GIS #geodataframe #geodataviz
-
A geodataframe "hello world" ?
-
@natera cheers Luis...
I've learned to get things just inside a bounding box...https://github.com/villares/sketch-a-day/blob/main/2023/sketch_2023_08_25/sketch_2023_08_25.py but I'm struggling with the documentation :(
I don't have a very definite goal but I'm exploring some ideas. I'd like to highlight a a chosen street and calculate it's length in meters.I can convert a #osmnx graph to a #GeoDataFrame, just edges, and select named edges. But then I can't convert them back to a network (because I don't have nodes? Because I'm using the wrong methods?)
Can I plot the gdf together with the graph? Maybe I should learn to extract the nodes?I can see some shapely geometry inside the dataframes, I wish I could convert/project it's coordinates to meters and then to some "screen coordinates" so I can draw them myself with #py5 instead of matplotlib (I never use matplotlib so I'm perpetually confused by it).
And don't worry if you can't help me much with this...
Update: I learned how to get the gdf (edged, nodes) tuple and I can highlight the selected street :)
-
I ran into issues with @geopandas explore today when the #geodataframe included datetime columns. Still have to check if this is a known issue and then create a reproducible example