IdentifierAdder
Adds object identifiers from the RoadSpaces model to an AbstractCityObject (CityGML model).
Constructors
Functions
Link copied to clipboard
fun addDetailedIdentifier(id: RoadspaceObjectIdentifier, name: Option<String>, subName: String, index: Int = 0, dstCityObject: AbstractCityObject)
Link copied to clipboard
Adds a pseudo random hash id (hash based on the id and the name) and name to the dstCityObject.
Link copied to clipboard
Adds the hashed id of the LaneIdentifier to the dstCityObject, whereby the id can only be assigned once (otherwise an IllegalArgumentException is thrown).
Adds the hashed id and the name of the RoadspaceIdentifier to the dstCityObject, whereby the id can only be assigned once (otherwise an IllegalArgumentException is thrown).
Link copied to clipboard
Returns a completely random id.
Link copied to clipboard
Returns the GML identifier (with prefix) of the id.