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

Interactive mapping β€” GeoPandas 1.1.1+0.ge9b58ce.dirty documentation

Geospatial Python - Full Course for Beginners with Geopandas

YouTube
Geospatial Python - Full Course for Beginners with Geopandas

YouTube

A geodataframe "hello world" ?

#osmnx #Python #geodataframe #OpenStreetMaps

Free library idea: drawing maps and geodataframes in py5 Β· py5coding/py5generator Β· Discussion #344

I know it can sound a bit ridiculous, but, maybe if someone with the right skills comes by... I noticed that geocoded data in a geodataframe can contain shapely geometry, and previously I have play...

GitHub

@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 :)

sketch-a-day/2023/sketch_2023_08_25/sketch_2023_08_25.py at main Β· villares/sketch-a-day

One visual idea a day. Contribute to villares/sketch-a-day development by creating an account on GitHub.

GitHub

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

#opensource #gischat #dataexploration #visualization