#OSMnx

Alexandre B A Villares 🐍villares@ciberlandia.pt
2025-05-06

«The official OSMnx reference paper has just been published open-access by Geographical Analysis: [link below] Years in the making, this article describes what OSMnx does and why it does it that way. But wait, there's more! I also discuss many lessons learned over the past decade in geospatial software development [...]» — @gboeing

Modeling and Analyzing Urban Networks and Amenities With OSMnx

onlinelibrary.wiley.com/doi/10

#Python #OSMnx #geoviz #geopandas #FLOSS #geospatial #OpenAccess

Alexandre B A Villares 🐍villares@ciberlandia.pt
2025-04-01

I had missed the great episode with Dr. Geoff Boeing at #TalkPythonToMe: #495: #OSMnx: #Python and #OpenStreetMap

I really love OSMnx and use it all the time, often with #py5 (which has a cool #shapely integration that helps).

Episode webpage: talkpython.fm/episodes/show/49

Media file: talkpython.fm/episodes/downloa

Alexandre B A Villares 🐍villares@ciberlandia.pt
2025-03-10

It is super cool to be listed as a "contributor" for having chimed in (constructively) on a project's issue :D

github.com/nathanrooy/taxicab/

#taxicab is a library that improves on #OSMnx route-finding function, giving more useful results, specially on short routes.

#geopython #python

2025-01-13

Principales caracteristicas del paquete de para descargar, modelar, analizar y visualizar fácilmente características geoespaciales de medium.com/@kaxtillo/osmnx-car

Alexandre B A Villares 🐍villares@ciberlandia.pt
2025-01-02

@awinkler this is not what you asked, but I've been playing with #osmnx and it is very cool. You can get "drive" routes between points

2024-12-03

I recently moved house, so I didn’t have time to take part in #30DayMapChallenge in November. Now that I’m getting settled, I want to start exploring my new neighbourhood and get back to mapping.

So here is Day 1 - Points showing council maintained trees in Abbey Wood, southeast London. 🌳 🗺️

Made in #python #matplotlib. Basemap data from #OpenStreetMap via #OSMnx (finally updated to v2.0). Tree data for London is available in the London Datastore.

🔗 Code: github.com/Lisa-Ho/30-day-map-

Map of Abbey Wood, London showing a dark basemap highlighting streets and buildings. Overlayed with points of four different colours to display council maintained trees distinguishing Apple, Cherry, Maple and Other
2024-11-24

#OSMnx 2.0.0 has just been released! 🎉osmnx.readthedocs.io/en/stable

2024-11-22

day 22: 2 colours.

is #halftone cheating?

the Lake District with halftone topography taken from Copernicus Global DEM and lakes and rivers from #OpenStreetMap

#h3 #matplotlib #python #geopandas #osmnx #CopernicusDEM #30DayMapChallenge

Map of the Lake District showing topography as halftone brown dots, and lakes and rivers in blue. credits: 'brown & blue / by:tlohde / OpenStreetMap contributors & Copernicus Global DEM'
2024-11-22

day 20: Parisian Trees

I've fallen a bit behind... so just the trees within 1 km of the centre of Paris

{'natural':'tree'}

Inspired by this map of Paris that's folded into the back of an old "Paris seen in four days" guidebook (can't find a date on it). Pretty map - and it has lots of trees drawn along the edges of streets.

#OpenStreetMap #30DayMapChallenge #Paris #France #map #osmnx #matplotlib

A 'map' that contains only small green dots marking the positions of trees in the centre of Paris. Some linear features like main roads and the banks of the Seine are just about visible. credits: "parisian trees / by:tlohde / (C) OpenStreetMap contributorsclose up of an old map of Paris. Monuments are shown as sketches, And the streets are lined with small depictions of trees.An old map of Paris, in muted greens and browns. with lots of creases in the paper.
2024-11-19

#30DayMapChallenge Day 19: #typography

Bit fiddly this one. But reasonably happy with it.

Data from #OpenStreetMap via #osmnx
fonts used: water splash (fontspace.com/water-splash-scr); Engravers MT; DejaVu Sans Mono; Bauhaus 93.

all done in #python with #matplotlib #geopandas and #shapely

Map of a portion of the River Thames through central London, and the bridges crossing it, entirely composed of textual elements. The river is composed of random letters (from the words River Thames) randomly placed and coloured in blue. With "River Thames" repeated along the centreline in a wavy, cursive font. The bridges are displayed as their names in block capitals in a serious serif font. The scale bar is shown as the text "one kilometre" that is 1 km in length; and "half of a mile" which is half a mile in length.
2024-11-03

Regional Capitals of Italy.

Polygons of Parks and gardens (green), buildings (white) and piazzas/squares (red). Data from #OpenStreetMap via #osmnx and plotted with #geopandas & #matplotlib. font: Scoglietto by Petra Heidorn

took me far too long to work out the required OpenStreetMap tags to get the nodes for the regional capitals.

#30DayMapChallenge Day 3: #Polygons

On the left-hand side is a 4 x 5 grid of circular maps showing the city centres of each of the twenty regional capitals of Italy. Only polygons of parks and gardens (green), buildings (white) and piazzas (red) are shown. Above each circle is the city title, with the region name below. On the right-hand side is a map of Italy, showing the regions (in red) and the regional capitals are labelled in green. The whole figure has a black background.
2024-11-02

Nom.

fediscience.org/@tlohde/113412
@tlohde - Croissant Distribution🥐 📊

or, where am I most likely to have my next croissant, assuming (something something) independence from my previous croissant. 🥐^k * e^(-🥐) / k!
--
2d kernel density estimation of the location of bakeries (blue) and farms (red) across France.

Locations taken from OpenStreetMap, with #osmnx & plotted with #matplotlib & #seaborn. font: Borel, by Rosalie Wagner.

#30DayMapChallenge Day 2: Lines

2024-11-02

Croissant Distribution🥐 📊

or, where am I most likely to have my next croissant, assuming (something something) independence from my previous croissant. 🥐^k * e^(-🥐) / k!
--
2d kernel density estimation of the location of bakeries (blue) and farms (red) across France.

Locations taken from OpenStreetMap (considered paying attention to the size of the farm, but didn't), with #osmnx & plotted with #matplotlib & #seaborn. font: Borel, by Rosalie Wagner.

#30DayMapChallenge Day 2: Lines

Minimalistic map of France, showing a series of nested contour lines in blue and red. Blue contours represented the density of bakeries; red farms. Above the main plot, the longitudinal distribution of bakeries and farms are shown (with a prominent bakery mode inline with Paris), and to the right the latitudinal distributions.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst