Just a note for future reference, I've begun developing an external Python library for transportation engineering. I've dubbed it PyTrails. The goal is to basically offload the grunt work that is being done in the Trails WB to a backend that is pip-installable. Essentially, I want the WB tools to be almost entirely focused on UI development and FreeCAD-specific workflows. That way, if someone wanted to implement this in QCad or even Godot, they can.
Anyway, right now, it doesn't do much. Thus far, I've got it to import / export LandXML files (validating them against a specifed schema), and convert the etree to a dict (and back). currently building Python-specific objects that encapsulate the XML data so they can be used directly in a Python-based application.
Anyway the github link is here:
No documentation, but I am at least doing unit testing and running TravisCI (which, I'm discovering, is really pretty cool!)
Once I get the Python object codebase in reasonable shape, I'll probably do an initial release as a pip-installable library and maybe add it to my WB as a dependency.