public class ShapefileMain
extends Object
This Main class serves as a tool to convert Shapefiles into OSM data, which can then be imported into Analysis.
The initial use case is for performing accessibility analysis on shapefiles representing bicycle networks.
These shapefiles have a property containing the Level of Traffic Stress (LTS) for each road segment.
This property is converted to an OSM tag in the output data. R5 reads and uses this tag to set its LTS values.
Several shapefiles are loaded and "noded", i.e. topological connections are created everywhere lines cross.
The inputs could potentially be any format that amounts to a collection of linestring features (GeoJSON etc.).