National Cycle Network Updated 2025-07-16
Great set of long distance routes.
They are very well chosen for their high safety and level interest, so you can just go into them without putting much thought into it.
Sometimes they go a bit too much on the side of safety, making certain transitions annoying, but in general the selection is spot on.
The routes do sometimes go on a bit of gravel, so they are most adequate for hybrid bikes rather than road bikes, although road bikes would be able to to much of them. A more road-bike dedicated possibility is the The National Byway.
Note however that there are many many other local routes which are not in the network, but arguably equally, or more worthwhile.
Their diginal map distribution mechanisms are a bit shitty and sometimes asks you to pay for certain formats, which is hard to understand given that the maintainer of those maps, the Ordnance Survey appears to be public... github.com/cirosantilli/cirosantilli.github.io/issues/61 "How to see the Sustrans National Cycle Network on Google maps?"
Googling "National Cycle Netowrk KML" leads to: data-sustrans-uk.opendata.arcgis.com/ from which we can download the KML. gis.stackexchange.com/questions/216770/how-to-open-kml-file-in-google-maps-for-android then shows how to make that viewable on Google Maps by going through www.google.com/maps/d/u/0/?hl=en on the browser. TODO 2021-11:
  • KML: nothing happens after the upload finishes, the "Select button remains grayed out
  • CSV: you need to "Choose a column to title your markers", but all I tried give "Oops! We're having trouble finding those locations. Did you pick the correct location columns?"
"Ralph Hughes" www.linkedin.com/in/ralph-hughes-501474121 is listed as the creator/responsible of the exports, but can't find his email. Sent an email to gissupport@sustrans.org.uk and he did reply a few days later that they are aware of the issue, and are particularly trying to reach out to Google about it. Great news!
GPSPrune 20.2-1 can open the KML however, so that file can't be entirely wrong.
OpenStreetMaps has them on by default though if you just click "Cycle Map" layer. It is not as incredibly detailed as the Ordnance Survey one, e.g. does not show which side of the street to ride on, but still, is very good.
Apache Jena CLI tools setup Updated 2025-07-16
The CLI tools don't appear to be packaged for Ubuntu 23.10? Annoying... There is a package libapache-jena-java but it doesn't contain any binaries, only Java library files.
To run the CLI tools easily we can download the prebuilt:
sudo apt install openjdk-22-jre
wget https://dlcdn.apache.org/jena/binaries/apache-jena-4.10.0.zip
unzip apache-jena-4.10.0.zip
cd apache-jena-4.10.0
export JENA_HOME="$(pwd)"
export PATH="$PATH:$(pwd)/bin"
and we can confirm it works with:
sparql -version
which outputs:
Apache Jena version 4.10.0
If your Java is too old then then running sparql with the prebuilts fails with:
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: arq/sparql has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:621)
Build from source is likely something like:
sudo apt install maven openjdk-22-jdk
git clone https://github.com/apache/jena --branch jena-4.10.0 --depth 1
cd jena
mvn clean install
TODO test it.
If you make the mistake of trying to run the source tree without build:
git clone https://github.com/apache/jena --branch jena-4.10.0 --depth 1
cd jena
export JENA_HOME="$(pwd)"
export PATH="$PATH:$(pwd)/apache-jena/bin"
it fails with:
Error: Could not find or load main class arq.sparql
as per: users.jena.apache.narkive.com/T5TaEszT/sparql-tutorial-querying-datasets-error-unrecognized-option-graph
Singularity Updated 2025-07-16
Compiler toolchain Updated 2025-07-16
Compiler + other closely related crap like linker.

There are unlisted articles, also show them or only show them.