Built this over the weekend for my hometown (Svrljig, Serbia) using OpenStreetMap road networks and building footprints combined with Copernicus / Sentinel-2 data.
The live demo linked in the repo is my hometown version (hosted statically on Cloudflare). Attribution for OSM contributors and Copernicus is included in the game and repo.
I am working on a local tag & key prediction assistant for OSM (currently running inside iD as a userscript), testing it out on road semantic tags first. This is the v2 architecture, currently trained only on Switzerland. as you can see, still lots to improve and fix. Everything is strictly human-in-the-loop: it only suggests tags while you inspect imagery and map manually. [Thinking about it, an future model enrichened map would probably have demand.]
How it works (v2)
Graph & scene context: Instead of looking at a single way in isolation, the model builds a local multi-hop graph around the selected feature: connected corridors and junctions (turn angles, directions, polyline shapes), parallel ways (sidewalks/cycleways), on-way nodes (crossings, signals), surrounding landuse, and touching relations (turn restrictions, transit/cycle routes).
Model: A 20M-parameter Edge-Aware Graph Transformer trained and running locally on my RTX 4070 laptop GPU (8 GB VRAM). It predicts missing keys, typed values, structured per-slot lane arrays, and likely stale/contradictory tags after way edits. Worked on all the way from raw .pbfs, to processing and then training.
Improvements for v3
Calibration & restraint: The model is decent at predicting what a value should be if a key exists, but still over-suggests specialized tags on already well-mapped roads (e.g. bus lanes everywhere because it's a cheap reward during training).
End-to-end topology & arithmetic: Moving away from hand-engineered junction summaries and categorical-only lane counts toward direct learned attention over paths, angles, restrictions, and continuous numeric features. (Letting the model handle this directly should generalize much better and fix things like suggesting a bus-only lane on the only turning lane. It is the only way to scale frankly)
Global generalization without regional overfitting: Scaling to ~50M parameters across multi-country data (Germany, US, Netherlands, Sweden, Finland, Switzerland, Liechtenstein).
Longer-term direction
Beyond roads: Extending the same graph backbone to general OSM features (buildings, POIs, crossings, transit, landuse).
Vision for element mapping & way splitting: Fusing open high-res aerial imagery (starting with Swiss open orthos) to help with general element mapping, detecting where road ways should be split, and populating lane/turn/placement tags.
Completeness ("what's left to map") heatmaps: Combining vision and graph predictions across regions to surface missing tags and unmapped features as an overlay guiding mappers to high-impact areas.
I'm specialised in road infrastructure so I'm a bit biased toward lanes and way splitting, but ideally I want this to be widely useful and accessible (runs locally, trained on consumer hardware). I do this as a hobby with no backing, so I may not be able to train a massive vision backbone from scratch with my resources -- but even a compact open-data vision model would be a successor from 'Microsoft AI Buildings'. Perhaps they'll beat me to it or somebody else already has no clue... I'll release versions on GitHub once it's reliable.
I keep adding contextual clues (graph, scene, relations), but at the end of the day a graph-only model is still just making "what seems plausible" suggestions: it cannot see the ground or the same things we have when mapping. That is why in the long term, vision is necessary for it to become more than just really good autocomplete. Of course there will be data concerns with that, imagery date mismatch, data quality etc. Will take a lot of work.
// I use AI within development and also the bullet points above, I am not good with writing.
Had the idea in the summer but then a lot of personal stuff came in between so I had to stop development. I didn’t find more time now, I just started accepting that Claude would write better code than me anyways so I went through using Claude code with what I had written as base on GitHub.
In short: I have a dog with hip problems and he shouldn’t walk asphalt so much, plus it gets super hot in the summer. I live in an area where apparently there are no bag dispensers and you have to search for waste bins quite often (which unfortunately a lot of people see as invitation to just not pick up the poo). On the hot days, I always carry a water bottle so they can drink. Then I had a broken leg so I wanted to get routes with more benches to rest. Then we moved and suddenly people complained that this is not an off-leash area.
All of these came together pretty unfortunate and I was thinking how nice it would be to just have a map that covers all my dog-walk needs.
So, I made PawPath, a tracking-free, no-login dog walk map. It’s mobile first and installable as PWA. Plus, you can connect it to your OSM account to submit new stuff directly on the walk from the phone (after I shifted a bunch of stuff because I was trying to add a waste bin from the phone).
It covers the Netherlands and Germany for now but it’s open source and anyone can contribute by hosting a mirror for a new area, PawPath always fetches data from the mirror that holds the requested area and responds fastest. Check GitHub for more info and feel free to contribute :)
Would it be possible to implement some guard against people posting clearly AI generated text? I've seen this in other subreddits and it seems to work to some extent. There has been an influx of AI generated posts with some clear signs of AI writing (bullets with bold text, colon and then text, "not X but Y", "it's own X", etc). I think these can be easily flagged and we would reduce the slop to some extent at least.
These checkers aren't perfect and there will be some false positives, but IMO it would improve the discourse here.
Hi there, I have been using uMaps for a few months now and went to login this morning and noticed that none of my maps are showing up. I found this happened in 2023? Wasn't sure if others were having the same issues.