class IdentifierAdder: Any

Adds object identifiers from the RoadSpaces model to an AbstractCityObject (CityGML model).

Constructors

<init>

constructor(parameters: Roadspaces2CitygmlParameters, reportLogger: Logger)

Adds object identifiers from the RoadSpaces model to an AbstractCityObject (CityGML model).

Parameters

Name Description
parameters: Roadspaces2CitygmlParameters
reportLogger: Logger

Methods

addIdentifier

fun addIdentifier(id: RoadspaceIdentifier, name: String, dstCityObject: AbstractCityObject)

Adds a pseudo random hash id (hash based on the id and the name) to the dstCityObject.

Parameters

Name Description
id: RoadspaceIdentifier
name: String
dstCityObject: AbstractCityObject

ReturnValue

Name Description
Unit

addIdentifier

fun addIdentifier(id: RoadspaceObjectIdentifier, dstCityObject: AbstractCityObject)

Adds a pseudo random hash id (hash based on the id) to the dstCityObject.

Parameters

Name Description
id: RoadspaceObjectIdentifier
dstCityObject: AbstractCityObject

ReturnValue

Name Description
Unit

addIdentifier

fun addIdentifier(id: LaneIdentifier, name: String, dstCityObject: AbstractCityObject)

Adds a pseudo random hash id (hash based on the id and the name) to the dstCityObject.

Parameters

Name Description
id: LaneIdentifier
name: String
dstCityObject: AbstractCityObject

ReturnValue

Name Description
Unit

generateRandomUUID

fun generateRandomUUID(): String

Returns a completely random id.

ReturnValue

Name Description
String