Created on: Dec 21, 2017
Author: mholmes
This is a module designed to generate GeoJSON from the
MoEML location files. It also pilots the generation of GeoJSON
geometries from the existing geo elements, which at the time
of writing are simply crude lists of coordinates.
We use XSLT 3.0 so that we can create an XML framework
to be saved out in JSON, a simpler and less error-prone
approach than simply constructing the literal text output.
The included global locations variable
contains the complete set of MoEML location files. For the moment, we
use the untransformed original versions; in future we may work with
versions further down the static build process.
Output is going to be JSON. I don't think we need the
json-node-output-method param to be set; we'll see.
We use the variant spellings list document that has been
generated earlier in the build process or during a previous build
to get all the names of places.
Root template. This file is designed to run on itself or anything else.
It loads its requirements dynamically.
This is a generated document used only for debugging purposes.
It contains GeoJSON content in XSLT's JSON/XML format.