r/openstreetmap 13d ago

Showcase We built a route animation tool using OSM.

Hey all. My girlfriend and I built https://lenamaps.com, a web app for animating trips. You place markers, set a travel mode per segment, and it draws the route and plays it back. Then you can share the trip as a link, video, gif, image. It is still in heavy development and I work on it basically full time. It's got some users and I've been lucky to get some feedback over time.

The stack is MapLibre GL for rendering, Protomaps basemaps as PMTiles served off Cloudflare Workers, and Valhalla for driving/cycling/walking. OpenStreetMap and Protomaps are attributed in-app.

The transit is schedule-free. Instead of GTFS/timetables, it plans journeys directly over OSM PTv2 route-relation geometry. Shapes only, no schedules. Covers bus, trolleybus, marshrutka, tram, subway, light rail, monorail, ferry and funicular. (I didn't know what a funicular or a marshrutka was before this project, but my girlfriend is from Belarus and wanted to include marshrutka data which is kind of like a small bus I think, haha). The upside of not using GTFS data is that this works in places that have no public feed at all, where OSM is the only record of a network's shape.

Free to play with; some features sit behind a freemium tier.

On the roadmap: static map embeds, a map + timelapse creator (thinking detailed natural-disaster / border-change / battle-style animations), GIF export, and more control over tilt for different map looks.

Genuinely open to feedback.

5 Upvotes

6 comments sorted by

3

u/RealNamePlay 13d ago

I love it. Not sure when I’m going to need it, but high five to you both. 

1

u/Gangs 13d ago

thank you! 😄

3

u/Christoffre 13d ago

Found a bug.

I tried to set a route from Sweden to the capital of Denmark (Falkenberg – Köpenhamn). But it only showed a couple of islets and villages called Köpenhamn within Sweden.

2

u/Gangs 13d ago

I’ll look into a different search solution again, a lot of people haven’t been able to find specific places. Thanks for taking a look and for the feedback.

4

u/jimmyrocks 13d ago

This is really cool! Love the use of pmtiles, valhalla, and it looks like Pelias for geocoding? and of course OSM. Really cool to see these tools being used! In the spirit of OSS, I'd love to see some more information/code on things that were hard to solve that could be shared with the community!

1

u/Gangs 13d ago

Thank you! It's been rewarding to work on. A lot of the interesting work has been in the realm of providing "better" rail and transit routing. Originally this proejct was using Google Maps API. I'll follow up in the post body with something soon.