class RoadsTransformer: Any

Transforms Road classes (RoadSpaces model) to the CityModel (CityGML model).

Constructors

<init>

constructor(configuration: Roadspaces2CitygmlConfiguration)

Transforms Road classes (RoadSpaces model) to the CityModel (CityGML model).

Parameters

Name Description
configuration: Roadspaces2CitygmlConfiguration

Methods

transformRoadCenterLaneLines

fun transformRoadCenterLaneLines(srcRoad: Road): List<AbstractCityObject>

Transforms the lines of the center lane (id=0) of a Road class (RoadSpaces model) to the AbstractCityObject (CityGML model).

Parameters

Name Description
srcRoad: Road

ReturnValue

Name Description
List<AbstractCityObject>

transformLaneSurfaces

fun transformLaneSurfaces(srcRoad: Road): List<AbstractCityObject>

Transforms lane surfaces of a Road class (RoadSpaces model) to the AbstractCityObject (CityGML model).

Parameters

Name Description
srcRoad: Road

ReturnValue

Name Description
List<AbstractCityObject>

transformLaneLines

fun transformLaneLines(srcRoad: Road): List<AbstractCityObject>

Transforms the relevant lines (center line and lane boundaries) of a Road class (RoadSpaces model) to the AbstractCityObject (CityGML model).

Parameters

Name Description
srcRoad: Road

ReturnValue

Name Description
List<AbstractCityObject>

transformLateralFillerSurfaces

fun transformLateralFillerSurfaces(srcRoad: Road): List<AbstractCityObject>

Transforms lateral filler surfaces of a Road to the AbstractCityObject (CityGML model). Lateral filler surfaces are between two adjacent lanes located within the same lane section. This usually addresses vertical height offsets, which are caused for example by sidewalks.

Parameters

Name Description
srcRoad: Road

ReturnValue

Name Description
List<AbstractCityObject>

transformLongitudinalFillerSurfaces

fun transformLongitudinalFillerSurfaces(srcRoad: Road, srcLaneTopology: LaneTopology): List<AbstractCityObject>

Transforms longitudinal filler surfaces to the AbstractCityObject (CityGML model). Longitudinal filler surfaces are between two successive lanes, which can be located in the same street or in successive streets.

Parameters

Name Description
srcRoad: Road
srcLaneTopology: LaneTopology

ReturnValue

Name Description
List<AbstractCityObject>

transformRoadMarkings

fun transformRoadMarkings(srcRoad: Road): List<GenericCityObject>

Transforms road markings of a Road class (RoadSpaces model) to the GenericCityObject (CityGML model).

Parameters

Name Description
srcRoad: Road

ReturnValue

Name Description
List<GenericCityObject>