James Milner
banner
jameslmilner.bsky.social
James Milner
@jameslmilner.bsky.social
Staff Engineer, open source fan, hacking on geospatial in my spare time. Lives in London
Experimenting with a little undo/redo ↩️
October 22, 2025 at 9:41 PM
I got some marker pins commissioned to celebrate adding marker support to Terra Draw 😎
October 18, 2025 at 10:43 AM
After a long time, I finally figured out how to support adding markers universally in Terra Draw. Now there's a marker mode that works for @maplibre.org , @openlayers.org, Leaflet etc. It uses their native marker support to allow you to add icons to the map, like you would add a point
October 12, 2025 at 5:52 PM
Good morning Leeds ☕😎@uk.osgeo.org #foss4guk
October 1, 2025 at 10:40 AM
I've been working on an open source library to do routing in JavaScript called Terra Route. This morning I've added functionality for understanding complex graphs, you can get info like the number of nodes, edges, lengths, degrees, connected components etc! github.com/JamesLMilner...
September 28, 2025 at 11:58 AM
Made some performance improvements to Terra Route, a JavaScript shortest path library. Here's a video at 4x CPU slowdown, comparing the next fastest library (green route) against my latest changes (purple route). Here's the link: github.com/jameslmilner...
September 14, 2025 at 11:27 AM
I've taken this a step further today - we can now test to ensure all examples load without error, essentially creating a series of smoke tests for all mapping libraries. This adds a little bit of extra confidence in changes being made to the project going forward.
August 12, 2025 at 11:39 AM
Scrapped the custom local development environment in favour of @storybook.js.org for Terra Draw. Lots of useful built in functionality and helpers provide cleaner isolated examples of different functionality.
August 3, 2025 at 3:02 PM
One highlight from the Bosnia trip last week was taking the cable car in Sarajevo up to the top of the surrounding mountain and walking down the abandoned bobsleigh track from the 1984 winter Olympics
July 27, 2025 at 7:38 PM
The request to draw freehand lines in Terra Draw keeps popping up so I've been experimenting with it a little this evening and it's actually a lot of fun! Little demo on a @maplibre.org map #foss4g #gischat
July 23, 2025 at 7:41 PM
Amazing last day in Mostar presenting about Terra Draw for FOSS4G EU. Thanks to everyone who came along or caught the live stream #foss4geu
July 18, 2025 at 8:04 PM
Kicking off #foss4ge with a welcome message from the mayor of Mostar
July 16, 2025 at 7:22 AM
A day in Sarajevo yesterday before heading to Mostar today for #FOSS4G EU
July 15, 2025 at 5:12 AM
I've added a way to understand graphs a bit better in Terra Route (a GeoJSON path finding library). You can use it to see if graphs are disjointed, the number of nodes, edges, lengths etc. You can check it out here: github.com/jameslmilner...
June 29, 2025 at 8:35 PM
Getting an update on OSM UK at @geomob.bsky.social London
June 18, 2025 at 5:52 PM
A minor milestone for a lot of projects, but Terra Draw hit 10k downloads a week on npm this week 🎉
June 15, 2025 at 1:07 PM
Terra Route latest update goes from 1.5x faster than the alternative library to 2.25x faster for route finding! This works well with Terra Draw in a custom draw mode, where you draw out multi-stop routes in real time
June 9, 2025 at 6:46 PM
Been working a bit more on snapping polygons today in Terra Draw, now when you have a polygon selected you'll be able to snap it's vertexes to other polygons ✏️📐🌏
June 8, 2025 at 7:47 PM
catching up with @bertspaan.nl who gave me all these fun @latest.allmaps.org stickers. New version of Allmaps Editor powered by Terra Draw coming soon 😎
June 1, 2025 at 12:33 PM
Terra Draw is now used by the UNDP GeoHub - thanks to Jin Igarashi for his work making that happen!
May 5, 2025 at 12:14 PM
Working on a new version of Terra Route - if all works out it'll be about 45x faster than ngraph.graph and about 22x faster than GeoJSON Path Finder (both great libs).
April 13, 2025 at 8:53 PM
My @bsky.app posts feed always looks like this
April 6, 2025 at 10:15 AM
It could work nicely on mobile apps for places like uni campuses, national parks, theme parks etc where the networks are quick to download and have a small memory footprint
April 5, 2025 at 10:42 AM
I've been working on improving a route snapping mode implementation for Terra Draw, and ended up creating a whole new library for efficient clientside routing on GeoJSON. It's about 35-68% faster than prior art depending on configurations.
April 2, 2025 at 7:05 PM
Terra Draw supports custom snapping implementations for the polygon mode - I did a little proof of concept for snapping to right angles 📐✏️
March 11, 2025 at 8:38 PM