diff --git a/TODO.md b/TODO.md index 02274a3..95ba408 100644 --- a/TODO.md +++ b/TODO.md @@ -5,6 +5,29 @@ Engineering to-do list. The reviewer-facing open items live in ## Waiting on hardware +### MAPEM decoder and traffic lights per lane (added 2026-10-28) + +`MapemUperCodec` decodes every recorded MAPEM (17 from the 2026-03-18 drive + the bench RSU's) +field-for-field like asn1tools (`MapemUperCodecTest`, fixture from `tools/mapem_corpus.py`). +`TrafficLights.join` puts SPATEM signal groups on MAPEM lanes: on the recorded pairs, 340 of 341 +signalled exits find their SPATEM movement (3/165's group 65 is never in its SPATEMs), and the +geometric turn fallback agrees with 198 of 201 stated maneuvers (`TrafficLightsTest`). 132 unit +tests pass. Installed on the Pixel 2026-10-28 16:38 (from Android Studio); not yet seen live, the +RSU was switched off. + +Needs the Pixel (new APK), the XIAO on COM10 and the bench RSU sending CAM + SPATEM + MAPEM: + +- [ ] Dashboard: the signal card says "MicrOBU test crossroads" instead of "Traffic light -1/23". +- [ ] Walk or ride toward the bench crossroads along an ingress lane (the RSU's refPoint is + 53.554698, 10.022548; lanes run 12-72 m out N/E/S/W): the card shows "North in · N m to the + stop line" (or the lane you are on) and chips with arrows (↑←→) in the group's colour. +- [ ] V2X map: the light stands on the reference point (no RSU CAM needed), 4 ingress lanes in + their signal colour, the rider's lane thicker, 4 egress lanes grey. +- [ ] logcat `handleMapUper[serial]: decoded station=... -1/23 rev 1 (8 lanes)` about 1 Hz, and no + "unexpected BTP port 2003" lines. +- [ ] V2X data logger: `MAPEM` rows with `source='esp32'`, `lat/lon` = the reference point and a + summary naming the intersection. + ### XIAO ESP32-C5 battery: voltage, low-battery warning, shutdown (added 2026-10-05) The production board is now a Seeed XIAO ESP32-C5 on COM10 (8 MB flash), on a LiPo with no protection @@ -62,8 +85,9 @@ Settings > Developer > V2X data logger. 110 unit tests pass. ESP32-C5 path check SPATEM (58 B), 472 CAM in 90 s, 0 oversize. COM10 app-flashed 2026-10-28 (d0fcb45-dirty, NVS kept; STATUS 106 octets, 3999 mV). BLE reconnected to the Pixel on the bond it already had (16:38, bond state 12, ATT MTU 517, credentials loaded, 1 ticket). Still to do (RSU off): a V2X - log shows `MAPEM` rows with `source='esp32'`. App side: `CamUseCaseRepository` logs "unexpected BTP - port" for 2003/2018 (no decoder there yet). On the CiT One, MAPEM arrives via `v2x/rx/mapem` (subscribed now) or + log shows `MAPEM` rows with `source='esp32'`. App side: MAPEM is decoded since 2026-10-28 (see + "MAPEM decoder and traffic lights per lane"); VAM (2018) still gets "unexpected BTP port" from + `CamUseCaseRepository`. On the CiT One, MAPEM arrives via `v2x/rx/mapem` (subscribed now) or the processed `v2x-uca/output/json/map` topic; the API lists no VAM topic, so no VAM rows are expected there. - [ ] **Signed SPATEM/MAPEM on air.** On 2026-10-28 the bench RSU sent CAM, SPATEM and MAPEM all diff --git a/app/src/main/java/com/hawhamburg/micr0bu/MainActivity.kt b/app/src/main/java/com/hawhamburg/micr0bu/MainActivity.kt index a676fcf..a66db8e 100644 --- a/app/src/main/java/com/hawhamburg/micr0bu/MainActivity.kt +++ b/app/src/main/java/com/hawhamburg/micr0bu/MainActivity.kt @@ -101,7 +101,7 @@ class MainActivity : AppCompatActivity() { // Both flows already expire their own entries on a clock, so nothing here has to // decide when a hazard or a traffic light has gone stale. val denmEvents by mqttViewModel.denmEvents.collectAsState() - val spatIntersections by mqttViewModel.spatIntersections.collectAsState() + val trafficLights by mqttViewModel.trafficLights.collectAsState() val ownCamPosition by mqttViewModel.ownCamPosition.collectAsState() val v2xLogState by logViewModel.state.collectAsState() val v2xLogFiles by logViewModel.files.collectAsState() @@ -188,7 +188,7 @@ class MainActivity : AppCompatActivity() { obuStationTypeWarning = obuStationTypeWarning, obuStationType = obuStationType, hazards = denmEvents, - signals = spatIntersections, + signals = trafficLights, ownPosition = ownCamPosition, onNavigateToConnection = { navController.navigate(Screen.Connection.route) }, onNavigateToSensors = { diff --git a/app/src/main/java/com/hawhamburg/micr0bu/data/cam/CamUseCaseRepository.kt b/app/src/main/java/com/hawhamburg/micr0bu/data/cam/CamUseCaseRepository.kt index 55d882c..9c06cfb 100644 --- a/app/src/main/java/com/hawhamburg/micr0bu/data/cam/CamUseCaseRepository.kt +++ b/app/src/main/java/com/hawhamburg/micr0bu/data/cam/CamUseCaseRepository.kt @@ -21,6 +21,7 @@ import com.hawhamburg.micr0bu.data.transport.Esp32LinkState import com.hawhamburg.micr0bu.data.transport.Esp32Link import com.hawhamburg.micr0bu.domain.asn1.DenmUperCodec import com.hawhamburg.micr0bu.domain.asn1.RealAsn1UperCodec +import com.hawhamburg.micr0bu.domain.asn1.MapemUperCodec import com.hawhamburg.micr0bu.domain.asn1.SpatemUperCodec import com.hawhamburg.micr0bu.domain.cam.Cam import com.hawhamburg.micr0bu.domain.cam.CamParser @@ -29,6 +30,7 @@ import com.hawhamburg.micr0bu.domain.cam.OwnStationIds import com.hawhamburg.micr0bu.domain.cam.OwnTxLoopback import com.hawhamburg.micr0bu.domain.cam.StationType import com.hawhamburg.micr0bu.domain.denm.DenmEvent +import com.hawhamburg.micr0bu.domain.map.MapEvent import com.hawhamburg.micr0bu.domain.spat.SpatEvent import com.hawhamburg.micr0bu.domain.usecase.UseCaseAlert import com.hawhamburg.micr0bu.domain.usecase.UseCaseDetectionEngine @@ -197,6 +199,17 @@ class CamUseCaseRepository @Inject constructor( */ val decodedSpat: SharedFlow = _decodedSpat.asSharedFlow() + private val _decodedMap = MutableSharedFlow(replay = 16, extraBufferCapacity = 16) + /** + * MAPEMs decoded from UPER, from the ESP32-C5 (BTP port 2003, since firmware d0fcb45) or the + * CiT One's `v2x/rx/mapem` topic: the lane geometry SPATEM's signal groups refer to. Replayed + * like [decodedSpat], since a MAPEM repeats only about once a second. + * + * The ESP32-C5 forwards only MAPEMs of up to 494 bytes (one link message); road MAPEMs are often + * bigger and then arrive only over the CiT One. + */ + val decodedMap: SharedFlow = _decodedMap.asSharedFlow() + private val _decodedDenm = MutableSharedFlow(replay = 32, extraBufferCapacity = 32) /** * DENMs decoded from UPER, from either hardware path: the ESP32-C5 serial link or the CiT @@ -242,8 +255,7 @@ class CamUseCaseRepository @Inject constructor( source = "mqtt", ) RAW_SPATEM_TOPIC -> handleSpatUper(envelope.payload, rssiDbm = null, source = "mqtt") - // No MAPEM decoder yet; it is received for the V2X data logger only. - RAW_MAPEM_TOPIC -> Unit + RAW_MAPEM_TOPIC -> handleMapUper(envelope.payload, rssiDbm = null, source = "mqtt") else -> Log.w(TAG, "rawV2x: unexpected topic ${raw.topic}") } } @@ -296,6 +308,7 @@ class CamUseCaseRepository @Inject constructor( BtpPort.CAM -> handleCamFromSerial(v2x) BtpPort.DENM -> handleDenmFromSerial(v2x) BtpPort.SPATEM -> handleSpatFromSerial(v2x) + BtpPort.MAPEM -> handleMapUper(v2x.uper, v2x.rssiDbm, source = "serial") // The firmware only forwards ports it was told to accept, so anything else // means the two sides have drifted out of sync. else -> Log.w(TAG, "unexpected BTP port ${v2x.btpPort} from firmware") @@ -569,6 +582,19 @@ class CamUseCaseRepository @Inject constructor( _decodedSpat.tryEmit(spat) } + /** A MAPEM heard over the air: lane geometry for one or more intersections. */ + private fun handleMapUper(uper: ByteArray, rssiDbm: Int?, source: String) { + val map = MapemUperCodec.decode(uper, System.currentTimeMillis(), rssiDbm) + if (map == null) { + Log.w(TAG, "handleMapUper[$source]: decode FAILED for ${uper.size}-byte MAPEM " + + "(rssi=$rssiDbm dBm) - first bytes: ${uper.toHexPreview()}") + return + } + Log.d(TAG, "handleMapUper[$source]: decoded station=${map.stationId} " + + "intersections=${map.intersections.joinToString { "${it.key} rev ${it.revision} (${it.lanes.size} lanes)" }}") + _decodedMap.tryEmit(map) + } + /** * The bits of a received frame the decoders and their log lines need, independent of whether * it came off the serial link or an MQTT topic. [rssiDbm] is null on the MQTT path: the diff --git a/app/src/main/java/com/hawhamburg/micr0bu/data/log/V2xLogger.kt b/app/src/main/java/com/hawhamburg/micr0bu/data/log/V2xLogger.kt index c59ebf3..04f3cf9 100644 --- a/app/src/main/java/com/hawhamburg/micr0bu/data/log/V2xLogger.kt +++ b/app/src/main/java/com/hawhamburg/micr0bu/data/log/V2xLogger.kt @@ -20,6 +20,7 @@ import com.hawhamburg.micr0bu.data.transport.SerialFrameType import com.hawhamburg.micr0bu.data.transport.V2xRxFrame import com.hawhamburg.micr0bu.domain.asn1.DenmUperCodec import com.hawhamburg.micr0bu.domain.asn1.RealAsn1UperCodec +import com.hawhamburg.micr0bu.domain.asn1.MapemUperCodec import com.hawhamburg.micr0bu.domain.asn1.SpatemUperCodec import com.hawhamburg.micr0bu.domain.cam.ObuGnssParser import com.hawhamburg.micr0bu.domain.log.ItsMessageKind @@ -91,13 +92,14 @@ data class V2xLogFile(val file: File, val sizeBytes: Long, val modifiedMs: Long, * not publish `v2x/rx/mapem`). The OBU's position comes from `v2x/rx/obu_gnss`. The API carries * no RSSI, so that column stays NULL. * - * Every message is stored, including kinds the app cannot decode (MAPEM, VAM): the UPER bytes go + * Every message is stored, including kinds the app does not decode here (VAM): the UPER bytes go * in the file untouched, and where a decoder exists a few fields are decoded alongside for - * convenience. A message is never skipped because decoding failed. + * convenience (for MAPEM, the first intersection's reference point and the intersections' names). + * A message is never skipped because decoding failed. * - * What it can hear is bounded by the hardware, not by this class: the current ESP32-C5 firmware - * forwards only BTP ports 2001, 2002 and 2004 (see `gn_unwrap.c`), so MAPEM and VAM appear in an - * ESP32 log only once the firmware accepts ports 2003 and 2018. + * What it can hear is bounded by the hardware, not by this class: the ESP32-C5 firmware forwards + * BTP ports 2001-2004 and 2018 (see `gn_unwrap.c`; MAPEM and VAM since firmware d0fcb45), and only + * messages of up to 494 bytes, so road MAPEMs often reach an ESP32 log only over the CiT One. * * A singleton, like the repositories it listens to. [com.hawhamburg.micr0bu.service.V2xLogService] * keeps the process alive and the CPU awake while a log runs; this class does the work. @@ -320,6 +322,15 @@ class V2xLogger @Inject constructor( Decoded(summary = "intersections=" + s.intersections.joinToString(",") { it.key } + " movements=" + s.intersections.sumOf { it.movements.size }) } + ItsMessageKind.MAPEM -> MapemUperCodec.decode(uper, tsMs, rssiDbm)?.let { m -> + val first = m.intersections.first() + Decoded( + lat = first.refLatitude, lon = first.refLongitude, + summary = "intersections=" + m.intersections.joinToString(",") { + "${it.key}@${it.revision}" + (it.name?.let { n -> " '$n'" } ?: "") + } + " lanes=" + m.intersections.sumOf { it.lanes.size }, + ) + } else -> null } }.getOrNull() ?: Decoded() diff --git a/app/src/main/java/com/hawhamburg/micr0bu/data/transport/SerialFrame.kt b/app/src/main/java/com/hawhamburg/micr0bu/data/transport/SerialFrame.kt index 2f95d3a..4564728 100644 --- a/app/src/main/java/com/hawhamburg/micr0bu/data/transport/SerialFrame.kt +++ b/app/src/main/java/com/hawhamburg/micr0bu/data/transport/SerialFrame.kt @@ -137,6 +137,7 @@ object Crc16CcittFalse { object BtpPort { const val CAM = 2001 const val DENM = 2002 + const val MAPEM = 2003 /** * Watch the crossover: SPATEM is BTP port **2004** but ItsPduHeader messageID **4**, while diff --git a/app/src/main/java/com/hawhamburg/micr0bu/domain/asn1/MapemUperCodec.kt b/app/src/main/java/com/hawhamburg/micr0bu/domain/asn1/MapemUperCodec.kt new file mode 100644 index 0000000..cad672e --- /dev/null +++ b/app/src/main/java/com/hawhamburg/micr0bu/domain/asn1/MapemUperCodec.kt @@ -0,0 +1,298 @@ +package com.hawhamburg.micr0bu.domain.asn1 + +import com.hawhamburg.micr0bu.domain.map.IntersectionGeometry +import com.hawhamburg.micr0bu.domain.map.LaneConnection +import com.hawhamburg.micr0bu.domain.map.LaneNode +import com.hawhamburg.micr0bu.domain.map.LaneType +import com.hawhamburg.micr0bu.domain.map.MapEvent +import com.hawhamburg.micr0bu.domain.map.MapLane +import com.hawhamburg.micr0bu.domain.map.Maneuvers +import com.hawhamburg.micr0bu.domain.map.NodeOffset +import com.hawhamburg.micr0bu.domain.map.SpeedLimit + +/** + * ASN.1 UPER **decoder** for MAPEM (ETSI TS 103 301 / SAE J2735 DSRC `MapData`), for messages + * received over the air on the ESP32-C5 path and from the CiT One's `v2x/rx/mapem` topic. + * + * Decode-only, like [SpatemUperCodec]: MAPEM is an RSU's message. + * + * ## Field widths + * From the ETSI modules in `asn1/` (`mapem_2_2_1.asn`, `dsrc_2_2_1.asn`, `cdd_2_2_1.asn`): + * + * - `Latitude` (-900000000..900000001) = 31 bits, `Longitude` (-1800000000..1800000001) = 32 + * - `Elevation` (-4096..61439) = 16, `LaneWidth` (0..32767) = 15, `Velocity` (0..8191) = 13 + * - `MsgCount` = 7, `LaneID` / `SignalGroupID` / `LaneConnectionID` / `RestrictionClassID` = 8, + * `ApproachID` = 4, `IntersectionID` / `RoadRegulatorID` = 16, `LayerID` (0..100) = 7 + * - `Offset-B10..B16` = 10, 11, 12, 13, 14, 16 bits (offset by -2^(n-1)), the six XY node sizes + * - `DescriptiveName` IA5String (SIZE(1..63)): 6-bit length, then 7 bits per character + * - BIT STRINGs of fixed size are just their bits: `LaneDirection` 2, `LaneSharing` 10, + * `AllowedManeuvers` 12, the lane-type attributes 16, except `LaneAttributes-Vehicle`, which is + * `SIZE (8,...)` and so has an extension bit before its 8 bits + * - Extensible ENUMERATEDs are an extension bit plus the root index: `LayerType` 3, + * `SpeedLimitType` 4, `NodeAttributeXY` 4, `SegmentAttributeXY` (38 values) 6 + * - `SEQUENCE (SIZE(lo..hi)) OF` counts are `n-lo` in ceil(log2(hi-lo+1)) bits: intersections 5, + * lanes 8, nodes (2..63) 6, connections 4, speed limits 4, node/segment attributes 3, overlays 3 + * + * Traps, each of which silently shifts everything after it: + * - `LaneAttributes`, `Connection`, `ConnectingLane`, `IntersectionReferenceID` and + * `RegulatorySpeedLimit` are NOT extensible: no extension bit, unlike the SEQUENCEs around them. + * - `NodeOffsetPointXY` is a non-extensible CHOICE of 8 (3 bits), but `NodeListXY` and + * `LaneTypeAttributes` are extensible CHOICEs (extension bit first). + * - A lane's nodes start at the stop line and run outward, so an ingress lane is driven from its + * last node toward its first. + * + * ## Verification + * `MapemUperCodecTest` decodes every distinct MAPEM on record (17 from the 2026-03-18 drive, out of + * 7 916 received, 288 to 1348 bytes, plus the bench RSU's) and compares every decoded field with + * `asn1tools` decoding the same bytes against those modules. + * + * Returns null rather than guessing on an extension, a regional extension, a computed lane, or + * preempt priority data. A dropped MAPEM costs nothing - the next comes within a second - while a + * misread one would put a signal on the wrong lane. + */ +object MapemUperCodec { + + private const val MESSAGE_ID_MAPEM = 5 + private const val PROTOCOL_VERSION = 2 + + fun decode(bytes: ByteArray, receivedAtEpochMs: Long, rssiDbm: Int? = null): MapEvent? = try { + decodeOrNull(BitReader(bytes), receivedAtEpochMs, rssiDbm) + } catch (e: IndexOutOfBoundsException) { + null // truncated + } + + private fun decodeOrNull(br: BitReader, receivedAtEpochMs: Long, rssiDbm: Int?): MapEvent? { + // ---- ItsPduHeader ---- + if (br.getBitsInt(8) != PROTOCOL_VERSION) return null + if (br.getBitsInt(8) != MESSAGE_ID_MAPEM) return null + val stationId = br.getBits(32) + + // ---- MapData: extension bit + 8 optionals ---- + if (br.bit()) return null + val hasTimeStamp = br.bit() + val hasLayerType = br.bit() + val hasLayerId = br.bit() + val hasIntersections = br.bit() + br.getBits(4) // roadSegments, dataParameters, restrictionList, regional: after intersections + if (hasTimeStamp) br.getBits(20) + val revision = br.getBitsInt(7) + if (hasLayerType && !br.enumerated(3)) return null + if (hasLayerId) br.getBits(7) + if (!hasIntersections) return null // road segments only: nothing to join a SPATEM to + + val count = br.getBitsInt(5) + 1 + val intersections = ArrayList(count) + repeat(count) { intersections.add(readIntersection(br) ?: return null) } + // What follows the intersections is not needed and nothing after it is read, so it is not + // walked either. + return MapEvent(stationId, revision, intersections, rssiDbm, receivedAtEpochMs) + } + + private fun readIntersection(br: BitReader): IntersectionGeometry? { + if (br.bit()) return null + val hasName = br.bit() + val hasLaneWidth = br.bit() + val hasSpeedLimits = br.bit() + val hasPreempt = br.bit() + val hasRegional = br.bit() + + val name = if (hasName) br.name() else null + val hasRegion = br.bit() // IntersectionReferenceID: not extensible + val region = if (hasRegion) br.getBitsInt(16) else null + val id = br.getBitsInt(16) + val revision = br.getBitsInt(7) + + // Position3D: extensible, elevation + regional optional + if (br.bit()) return null + val hasElevation = br.bit() + if (br.bit()) return null // Position3D.regional + val lat = br.getBits(31) - 900_000_000L + val lon = br.getBits(32) - 1_800_000_000L + val elevation = if (hasElevation) br.getBitsInt(16) - 4096 else null + + val laneWidth = if (hasLaneWidth) br.getBitsInt(15) else null + val speedLimits = if (hasSpeedLimits) br.speedLimits() ?: return null else emptyList() + + val laneCount = br.getBitsInt(8) + 1 + val lanes = ArrayList(laneCount) + repeat(laneCount) { lanes.add(readLane(br) ?: return null) } + if (hasPreempt || hasRegional) return null + + return IntersectionGeometry( + region = region, id = id, revision = revision, name = name, + refLatitude = lat / 1e7, refLongitude = lon / 1e7, elevationDm = elevation, + laneWidthCm = laneWidth, speedLimits = speedLimits, lanes = lanes, + ) + } + + private fun readLane(br: BitReader): MapLane? { + if (br.bit()) return null + val hasName = br.bit() + val hasIngress = br.bit() + val hasEgress = br.bit() + val hasManeuvers = br.bit() + val hasConnects = br.bit() + val hasOverlays = br.bit() + val hasRegional = br.bit() + + val laneId = br.getBitsInt(8) + val name = if (hasName) br.name() else null + val ingress = if (hasIngress) br.getBitsInt(4) else null + val egress = if (hasEgress) br.getBitsInt(4) else null + + // LaneAttributes: NOT extensible, regional optional + val hasAttrRegional = br.bit() + val direction = br.getBitsInt(2) + val sharedWith = br.getBitsInt(10) + if (br.bit()) return null // LaneTypeAttributes extension + val type = LaneType.entries[br.getBitsInt(3)] + val typeAttributes = if (type == LaneType.VEHICLE) { + if (br.bit()) return null // LaneAttributes-Vehicle SIZE(8,...) extension + br.getBitsInt(8) + } else { + br.getBitsInt(16) + } + if (hasAttrRegional) return null + + val maneuvers = if (hasManeuvers) Maneuvers(br.getBitsInt(12)) else null + + // NodeListXY: extensible CHOICE { nodes, computed } + if (br.bit()) return null + if (br.getBitsInt(1) != 0) return null // ComputedLane + val nodeCount = br.getBitsInt(6) + 2 + val nodes = ArrayList(nodeCount) + repeat(nodeCount) { nodes.add(readNode(br) ?: return null) } + + val connections = if (hasConnects) { + List(br.getBitsInt(4) + 1) { readConnection(br) } + } else emptyList() + val overlays = if (hasOverlays) List(br.getBitsInt(3) + 1) { br.getBitsInt(8) } else emptyList() + if (hasRegional) return null + + return MapLane( + laneId = laneId, name = name, ingressApproach = ingress, egressApproach = egress, + isIngress = direction and 0b10 != 0, isEgress = direction and 0b01 != 0, + sharedWith = sharedWith, type = type, typeAttributes = typeAttributes, + maneuvers = maneuvers, nodes = nodes, connections = connections, overlays = overlays, + ) + } + + private fun readNode(br: BitReader): LaneNode? { + if (br.bit()) return null // NodeXY extension + val hasAttributes = br.bit() + val offset = when (br.getBitsInt(3)) { + 0 -> br.xy(10) + 1 -> br.xy(11) + 2 -> br.xy(12) + 3 -> br.xy(13) + 4 -> br.xy(14) + 5 -> br.xy(16) + 6 -> { + val lon = br.getBits(32) - 1_800_000_000L + val lat = br.getBits(31) - 900_000_000L + NodeOffset.LatLon(latitude = lat.toInt(), longitude = lon.toInt()) + } + else -> return null // regional + } + if (!hasAttributes) return LaneNode(offset) + + // NodeAttributeSetXY: extensible, 7 optionals + if (br.bit()) return null + val hasLocal = br.bit() + val hasDisabled = br.bit() + val hasEnabled = br.bit() + val hasData = br.bit() + val hasDWidth = br.bit() + val hasDElevation = br.bit() + val hasRegional = br.bit() + val local = if (hasLocal) br.enumList(4) ?: return null else emptyList() + val disabled = if (hasDisabled) br.enumList(6) ?: return null else emptyList() + val enabled = if (hasEnabled) br.enumList(6) ?: return null else emptyList() + if (hasData && !br.skipLaneDataAttributes()) return null + val dWidth = if (hasDWidth) br.getBitsInt(10) - 512 else null + val dElevation = if (hasDElevation) br.getBitsInt(10) - 512 else null + if (hasRegional) return null + return LaneNode(offset, local, disabled, enabled, dWidth, dElevation) + } + + private fun readConnection(br: BitReader): LaneConnection { + // Connection and ConnectingLane: neither is extensible + val hasRemote = br.bit() + val hasSignalGroup = br.bit() + val hasUserClass = br.bit() + val hasConnectionId = br.bit() + val hasManeuver = br.bit() + val toLane = br.getBitsInt(8) + val maneuver = if (hasManeuver) Maneuvers(br.getBitsInt(12)) else null + var remoteRegion: Int? = null + var remoteId: Int? = null + if (hasRemote) { + if (br.bit()) remoteRegion = br.getBitsInt(16) + remoteId = br.getBitsInt(16) + } + return LaneConnection( + toLane = toLane, maneuver = maneuver, remoteRegion = remoteRegion, remoteIntersection = remoteId, + signalGroup = if (hasSignalGroup) br.getBitsInt(8) else null, + userClass = if (hasUserClass) br.getBitsInt(8) else null, + connectionId = if (hasConnectionId) br.getBitsInt(8) else null, + ) + } + + // ---- primitives ---- + + private fun BitReader.bit(): Boolean = getBitsInt(1) == 1 + + private fun BitReader.xy(bits: Int): NodeOffset.Xy { + val half = 1 shl (bits - 1) + val x = getBitsInt(bits) - half + val y = getBitsInt(bits) - half + return NodeOffset.Xy(x, y) + } + + /** DescriptiveName: IA5String (SIZE(1..63)). */ + private fun BitReader.name(): String { + val length = getBitsInt(6) + 1 + return String(CharArray(length) { getBitsInt(7).toChar() }) + } + + /** Reads an extensible ENUMERATED; false (value unusable) if it is an extension value. */ + private fun BitReader.enumerated(rootBits: Int): Boolean { + if (bit()) return false + getBits(rootBits) + return true + } + + /** SEQUENCE (SIZE(1..8)) OF an extensible ENUMERATED with [rootBits]-bit root indices. */ + private fun BitReader.enumList(rootBits: Int): List? = + List(getBitsInt(3) + 1) { + if (bit()) return null + getBitsInt(rootBits) + } + + /** SpeedLimitList ::= SEQUENCE (SIZE(1..9)) OF RegulatorySpeedLimit (not extensible). */ + private fun BitReader.speedLimits(): List? = + List(getBitsInt(4) + 1) { + if (bit()) return null // SpeedLimitType extension value + val type = getBitsInt(4) + SpeedLimit(type, getBitsInt(13)) + } + + /** + * Walks a LaneDataAttributeList: SEQUENCE (SIZE(1..8)) OF an extensible CHOICE of 7. Nothing + * here uses its content (none of the recorded MAPEMs carry one), but it sits between fields + * that are used. + */ + private fun BitReader.skipLaneDataAttributes(): Boolean { + repeat(getBitsInt(3) + 1) { + if (bit()) return false + when (getBitsInt(3)) { + 0 -> getBits(9) // pathEndPointAngle DeltaAngle (-150..150) + 1, 2, 3 -> getBits(8) // laneCrownPoint* RoadwayCrownAngle (-128..127) + 4 -> getBits(9) // laneAngle MergeDivergeNodeAngle (-180..180) + 5 -> if (speedLimits() == null) return false + else -> return false // regional + } + } + return true + } +} diff --git a/app/src/main/java/com/hawhamburg/micr0bu/domain/map/MapGeometry.kt b/app/src/main/java/com/hawhamburg/micr0bu/domain/map/MapGeometry.kt new file mode 100644 index 0000000..0077cf0 --- /dev/null +++ b/app/src/main/java/com/hawhamburg/micr0bu/domain/map/MapGeometry.kt @@ -0,0 +1,172 @@ +package com.hawhamburg.micr0bu.domain.map + +import kotlin.math.PI +import kotlin.math.cos + +/** + * Intersection geometry for one or more intersections, decoded from a MAPEM heard over the air + * (ETSI TS 103 301 / SAE J2735 DSRC `MapData`). + * + * MAPEM is SPATEM's static half: it says where each lane runs, which lanes it may be left for, + * and which signal group controls each of those connections. SPATEM then says what each signal + * group is showing. The two join on [IntersectionGeometry.key] and the signal group number; see + * [com.hawhamburg.micr0bu.domain.spat.TrafficLights]. + * + * Repetition is about 1 Hz per intersection and the content rarely changes, so consumers keep the + * latest per [IntersectionGeometry.key]. + */ +data class MapEvent( + /** Originating RSU's station ID, from the ItsPduHeader. */ + val stationId: Long, + /** `MapData.msgIssueRevision`. */ + val msgIssueRevision: Int, + val intersections: List, + /** Received signal strength, dBm - ESP32-C5 path only. */ + val rssiDbm: Int? = null, + /** Wall-clock ms this MAPEM was received. */ + val timestamp: Long, +) + +/** One intersection's lanes, all positioned relative to [refLatitude]/[refLongitude]. */ +data class IntersectionGeometry( + /** `RoadRegulatorID`, when present. */ + val region: Int?, + /** `IntersectionID` - only unique within [region]. */ + val id: Int, + /** `MsgCount`; a SPATEM for this intersection carries the same number when it matches. */ + val revision: Int, + val name: String?, + /** Reference point, degrees (`Latitude`/`Longitude` are 1/10 microdegree on the wire). */ + val refLatitude: Double, + val refLongitude: Double, + /** Reference point elevation, decimetres, when present. */ + val elevationDm: Int?, + /** Default lane width, centimetres, when present. */ + val laneWidthCm: Int?, + /** `vehicleMaxSpeed` and friends, as (SpeedLimitType value, speed in 0.02 m/s units). */ + val speedLimits: List, + val lanes: List, +) { + /** Same scheme as [com.hawhamburg.micr0bu.domain.spat.IntersectionSignalState.key]. */ + val key: String get() = "${region ?: -1}/$id" + + fun lane(laneId: Int): MapLane? = lanes.firstOrNull { it.laneId == laneId } +} + +data class SpeedLimit( + /** `SpeedLimitType` enumeration value (5 = vehicleMaxSpeed). */ + val type: Int, + /** `Velocity`: 0.02 m/s units. */ + val speed: Int, +) { + val metresPerSecond: Double get() = speed * 0.02 +} + +/** One `GenericLane`. */ +data class MapLane( + val laneId: Int, + val name: String?, + val ingressApproach: Int?, + val egressApproach: Int?, + /** `LaneDirection` bit 0: traffic travels toward the stop line (into the intersection). */ + val isIngress: Boolean, + /** `LaneDirection` bit 1: traffic travels away from the intersection. */ + val isEgress: Boolean, + /** `LaneSharing`, 10 bits, bit 0 (overlappingLaneDescriptionProvided) as the MSB. */ + val sharedWith: Int, + val type: LaneType, + /** The type's attribute BIT STRING (8 bits for vehicle lanes, 16 for the rest), MSB = bit 0. */ + val typeAttributes: Int, + /** `AllowedManeuvers` for the lane as a whole, when present. */ + val maneuvers: Maneuvers?, + /** + * The lane's centre line, starting at the stop line (the node nearest the intersection) and + * running outward. Each node is an offset from the previous one, the first from the + * intersection's reference point. + */ + val nodes: List, + val connections: List, + /** `overlays`: lane IDs drawn over this one. */ + val overlays: List, +) + +/** `LaneTypeAttributes` CHOICE, in alternative order: the ordinal is the wire index. */ +enum class LaneType { VEHICLE, CROSSWALK, BIKE_LANE, SIDEWALK, MEDIAN, STRIPING, TRACKED_VEHICLE, PARKING } + +/** One `NodeXY`: where the node is, plus the attributes the decoder keeps. */ +data class LaneNode( + val offset: NodeOffset, + /** `NodeAttributeXY` values (1 = stopLine), when present. */ + val localAttributes: List = emptyList(), + /** `SegmentAttributeXY` values disabled / enabled from this node on. */ + val disabled: List = emptyList(), + val enabled: List = emptyList(), + /** Lane width change from here on, centimetres. */ + val dWidthCm: Int? = null, + /** Elevation change, centimetres. */ + val dElevationCm: Int? = null, +) + +sealed interface NodeOffset { + /** `node-XY1`..`node-XY6`: east ([xCm]) and north ([yCm]) of the previous node, centimetres. */ + data class Xy(val xCm: Int, val yCm: Int) : NodeOffset + /** `node-LatLon`: an absolute position, 1/10 microdegree. */ + data class LatLon(val latitude: Int, val longitude: Int) : NodeOffset +} + +/** One `Connection`: this lane may be left for [toLane], under [signalGroup]'s light. */ +data class LaneConnection( + val toLane: Int, + /** `connectingLane.maneuver`: which way this particular connection turns, when given. */ + val maneuver: Maneuvers?, + /** Set when [toLane] belongs to another intersection: that intersection's (region, id). */ + val remoteRegion: Int?, + val remoteIntersection: Int?, + /** `SignalGroupID` - the movement in a SPATEM for this intersection that controls it. */ + val signalGroup: Int?, + val userClass: Int?, + val connectionId: Int?, +) + +/** `AllowedManeuvers`, a 12-bit BIT STRING; [bits] holds it with bit 0 as the MSB (0x800). */ +@JvmInline +value class Maneuvers(val bits: Int) { + private fun has(bit: Int) = bits and (0x800 ushr bit) != 0 + val straight: Boolean get() = has(0) + val left: Boolean get() = has(1) + val right: Boolean get() = has(2) + val uTurn: Boolean get() = has(3) + val leftTurnOnRed: Boolean get() = has(4) + val rightTurnOnRed: Boolean get() = has(5) +} + +/** A lane node as a position. */ +data class MapPoint(val latitude: Double, val longitude: Double) + +/** + * Absolute positions of [lane]'s nodes, stop line first. + * + * XY offsets are metres on a local plane tangent at the reference point (DSRC's definition), so a + * spherical approximation is exact enough at intersection scale: a 100 m lane is off by well + * under a millimetre. + */ +fun IntersectionGeometry.lanePoints(lane: MapLane): List { + var lat = refLatitude + var lon = refLongitude + return lane.nodes.map { node -> + when (val o = node.offset) { + is NodeOffset.Xy -> { + lat += o.yCm / 100.0 / METRES_PER_DEGREE + lon += o.xCm / 100.0 / (METRES_PER_DEGREE * cos(refLatitude * PI / 180.0)) + } + is NodeOffset.LatLon -> { + lat = o.latitude / 1e7 + lon = o.longitude / 1e7 + } + } + MapPoint(lat, lon) + } +} + +/** Metres per degree of latitude on the WGS 84 equatorial-radius sphere. */ +private const val METRES_PER_DEGREE = 6_378_137.0 * PI / 180.0 diff --git a/app/src/main/java/com/hawhamburg/micr0bu/domain/spat/TrafficLights.kt b/app/src/main/java/com/hawhamburg/micr0bu/domain/spat/TrafficLights.kt new file mode 100644 index 0000000..5fe5a50 --- /dev/null +++ b/app/src/main/java/com/hawhamburg/micr0bu/domain/spat/TrafficLights.kt @@ -0,0 +1,231 @@ +package com.hawhamburg.micr0bu.domain.spat + +import com.hawhamburg.micr0bu.domain.map.IntersectionGeometry +import com.hawhamburg.micr0bu.domain.map.LaneConnection +import com.hawhamburg.micr0bu.domain.map.LaneType +import com.hawhamburg.micr0bu.domain.map.MapLane +import com.hawhamburg.micr0bu.domain.map.MapPoint +import com.hawhamburg.micr0bu.domain.map.Maneuvers +import com.hawhamburg.micr0bu.domain.map.lanePoints +import kotlin.math.PI +import kotlin.math.abs +import kotlin.math.atan2 +import kotlin.math.cos +import kotlin.math.hypot + +/** + * A signalised intersection as a road user sees it: SPATEM's signal groups placed on MAPEM's lanes. + * + * MAPEM says "ingress lane 1 may be left straight ahead for lane 6, under signal group 1"; SPATEM + * says "signal group 1 is green for another 12 s". Joined, that is "North in, straight: green, + * 12 s" - and, with the rider's position and heading, which of those is the rider's own light. + */ +data class TrafficLight( + /** `region/id`, as [IntersectionSignalState.key] and [IntersectionGeometry.key]. */ + val key: String, + /** The latest SPATEM for this intersection, if one has been heard. */ + val signal: SpatIntersection?, + /** The latest MAPEM for it, if one has been heard. Without it, signal groups are bare numbers. */ + val geometry: IntersectionGeometry?, + /** Every ingress lane that has a signalled connection, in MAPEM order. */ + val approaches: List, + /** The ingress lane the rider is on, when [geometry], a position and a heading say so. */ + val ownApproach: OwnApproach?, +) { + /** + * The SPATEM's revision differs from the MAPEM's: the geometry the signal groups refer to has + * changed since this MAPEM, so the lane labels may be wrong until the new MAPEM arrives. + */ + val revisionMismatch: Boolean + get() = signal != null && geometry != null && signal.state.revision != geometry.revision + + val name: String? get() = geometry?.name +} + +/** One ingress lane and the light for each way out of it. */ +data class ApproachSignals( + val lane: MapLane, + /** Where the lane's stop line is (its first node). */ + val stopLine: MapPoint, + /** Travel direction into the intersection, degrees clockwise from north. */ + val bearingDeg: Double, + val exits: List, +) { + /** + * Exits grouped by signal group, each with every turn that group controls: the usual case is + * one group for straight-and-right and another for left, and a rider wants one light per group. + */ + val byGroup: List>> + get() = exits.groupBy { it.connection.signalGroup }.toList() +} + +/** One `Connection` with the turn it makes and the SPATEM movement that controls it. */ +data class LaneExit( + val connection: LaneConnection, + val turn: Turn, + /** The movement for [LaneConnection.signalGroup] in the latest SPATEM, if it has one. */ + val movement: SignalMovement?, +) + +enum class Turn { STRAIGHT, LEFT, RIGHT, U_TURN, UNKNOWN } + +data class OwnApproach( + val approach: ApproachSignals, + /** Along the lane from the rider to the stop line. */ + val distanceToStopLineM: Double, +) + +object TrafficLights { + + /** Farther than this from the reference point, no lane is matched to the rider. */ + const val MATCH_RADIUS_M = 200.0 + /** A lane matches only if the rider is within this of its centre line. */ + private const val MATCH_LATERAL_M = 6.0 + /** ...and travelling within this of its direction, when moving fast enough for a heading. */ + private const val MATCH_HEADING_DEG = 50.0 + private const val MIN_SPEED_FOR_HEADING_MPS = 1.0 + + /** + * Joins [signal] and [geometry] (either may be null, not both) for a rider at [own], if known. + * [ownSpeedMps] below [MIN_SPEED_FOR_HEADING_MPS] means the heading is not trusted and the + * nearest lane wins on distance alone. + */ + fun join( + signal: SpatIntersection?, + geometry: IntersectionGeometry?, + own: MapPoint? = null, + ownHeadingDeg: Double? = null, + ownSpeedMps: Double? = null, + ): TrafficLight { + val key = signal?.key ?: geometry?.key ?: error("join needs a SPATEM or a MAPEM") + if (geometry == null) return TrafficLight(key, signal, null, emptyList(), null) + val movements = signal?.state?.movements?.associateBy { it.signalGroup } ?: emptyMap() + val approaches = geometry.lanes + .filter { it.isIngress && it.connections.any { c -> c.signalGroup != null } } + .mapNotNull { lane -> + val points = geometry.lanePoints(lane) + if (points.size < 2) return@mapNotNull null + val bearing = bearing(geometry, points[1], points[0]) + ApproachSignals( + lane = lane, + stopLine = points[0], + bearingDeg = bearing, + exits = lane.connections.filter { it.signalGroup != null }.map { c -> + LaneExit(c, turnOf(geometry, lane, c, bearing), movements[c.signalGroup]) + }, + ) + } + val ownApproach = own?.let { match(geometry, approaches, it, ownHeadingDeg, ownSpeedMps) } + return TrafficLight(key, signal, geometry, approaches, ownApproach) + } + + /** + * The turn a connection makes: its own `maneuver` when it names exactly one turn, else the + * lane's, else the angle between the ingress lane and the lane it leads to. Only about half the + * recorded connections carry a maneuver. + */ + internal fun turnOf(geometry: IntersectionGeometry, lane: MapLane, c: LaneConnection, inBearing: Double): Turn { + c.maneuver?.single()?.let { return it } + lane.maneuvers?.single()?.let { return it } + return geometricTurn(geometry, c, inBearing) + } + + /** The turn from the angle between the ingress lane ([inBearing]) and where [c] leads. */ + internal fun geometricTurn(geometry: IntersectionGeometry, c: LaneConnection, inBearing: Double): Turn { + if (c.remoteIntersection != null) return Turn.UNKNOWN + val target = geometry.lane(c.toLane) ?: return Turn.UNKNOWN + val points = geometry.lanePoints(target) + if (points.size < 2) return Turn.UNKNOWN + val delta = normalise(bearing(geometry, points[0], points[1]) - inBearing) + return when { + abs(delta) <= 35.0 -> Turn.STRAIGHT + delta in 35.0..150.0 -> Turn.RIGHT + delta in -150.0..-35.0 -> Turn.LEFT + else -> Turn.U_TURN + } + } + + /** + * Which of the MAPEMs heard for one intersection a SPATEM refers to: the one with its revision, + * else the newest. Two revisions of one intersection can be on air at once (the 2026-03-18 drive + * heard 1/1 at revisions 2 and 3, with SPATEMs for both), and their signal groups differ. + */ + fun pickGeometry(candidates: List, spatRevision: Int?): IntersectionGeometry? = + candidates.lastOrNull { it.revision == spatRevision } ?: candidates.lastOrNull() + + internal fun Maneuvers.single(): Turn? { + val turns = listOfNotNull( + Turn.STRAIGHT.takeIf { straight }, Turn.LEFT.takeIf { left }, + Turn.RIGHT.takeIf { right }, Turn.U_TURN.takeIf { uTurn }, + ) + return turns.singleOrNull() + } + + private fun match( + geometry: IntersectionGeometry, + approaches: List, + own: MapPoint, + headingDeg: Double?, + speedMps: Double?, + ): OwnApproach? { + val p = geometry.toLocal(own) + if (hypot(p.first, p.second) > MATCH_RADIUS_M) return null + val useHeading = headingDeg != null && (speedMps ?: 0.0) >= MIN_SPEED_FOR_HEADING_MPS + var best: Pair? = null + for (approach in approaches) { + // A rider can only be on a lane they may use: crosswalks and sidewalks are not theirs. + if (approach.lane.type != LaneType.VEHICLE && approach.lane.type != LaneType.BIKE_LANE) continue + val points = geometry.lanePoints(approach.lane).map { geometry.toLocal(it) } + var along = 0.0 + for (s in 0 until points.size - 1) { + val (ax, ay) = points[s] + val (bx, by) = points[s + 1] + val dx = bx - ax + val dy = by - ay + val length = hypot(dx, dy) + if (length < 0.01) continue + // Projection onto segment a->b (outward from the stop line) + val t = (((p.first - ax) * dx + (p.second - ay) * dy) / (length * length)).coerceIn(0.0, 1.0) + val lateral = hypot(p.first - (ax + t * dx), p.second - (ay + t * dy)) + val beyondStopLine = s == 0 && t == 0.0 && ((p.first - ax) * dx + (p.second - ay) * dy) < 0 + if (lateral <= MATCH_LATERAL_M && !beyondStopLine) { + // Travel on an ingress lane runs b->a, toward the stop line. + val travel = compassBearing(-dx, -dy) + val headingOk = !useHeading || abs(normalise(headingDeg!! - travel)) <= MATCH_HEADING_DEG + if (headingOk && (best == null || lateral < best.second)) { + best = OwnApproach(approach, along + t * length) to lateral + } + } + along += length + } + } + return best?.first + } + + /** East/north metres from the reference point, on the same tangent plane as the XY offsets. */ + private fun IntersectionGeometry.toLocal(p: MapPoint): Pair = + Pair( + (p.longitude - refLongitude) * METRES_PER_DEGREE * cos(refLatitude * PI / 180.0), + (p.latitude - refLatitude) * METRES_PER_DEGREE, + ) + + private fun bearing(geometry: IntersectionGeometry, from: MapPoint, to: MapPoint): Double { + val a = geometry.toLocal(from) + val b = geometry.toLocal(to) + return compassBearing(b.first - a.first, b.second - a.second) + } + + /** Degrees clockwise from north of the vector (east, north), in [0, 360). */ + private fun compassBearing(east: Double, north: Double): Double = + (atan2(east, north) * 180.0 / PI + 360.0) % 360.0 + + /** Into (-180, 180]. */ + private fun normalise(deg: Double): Double { + var d = deg % 360.0 + if (d > 180.0) d -= 360.0 + if (d <= -180.0) d += 360.0 + return d + } + + private const val METRES_PER_DEGREE = 6_378_137.0 * PI / 180.0 +} diff --git a/app/src/main/java/com/hawhamburg/micr0bu/ui/screens/DashboardScreen.kt b/app/src/main/java/com/hawhamburg/micr0bu/ui/screens/DashboardScreen.kt index eed69e4..eca6e1e 100644 --- a/app/src/main/java/com/hawhamburg/micr0bu/ui/screens/DashboardScreen.kt +++ b/app/src/main/java/com/hawhamburg/micr0bu/ui/screens/DashboardScreen.kt @@ -65,7 +65,10 @@ import com.hawhamburg.micr0bu.domain.cam.Cam import com.hawhamburg.micr0bu.domain.denm.DenmEvent import com.hawhamburg.micr0bu.domain.denm.DenmParser import com.hawhamburg.micr0bu.domain.spat.SignalPhase +import com.hawhamburg.micr0bu.domain.spat.SignalMovement import com.hawhamburg.micr0bu.domain.spat.SpatIntersection +import com.hawhamburg.micr0bu.domain.spat.TrafficLight +import com.hawhamburg.micr0bu.domain.spat.Turn import com.hawhamburg.micr0bu.domain.usecase.GeoMath import com.hawhamburg.micr0bu.viewmodel.SensorUiState import kotlinx.coroutines.delay @@ -85,7 +88,7 @@ fun DashboardScreen( obuStationTypeWarning: Boolean = false, obuStationType: Int? = null, hazards: List = emptyList(), - signals: List = emptyList(), + signals: List = emptyList(), ownPosition: Cam? = null, onNavigateToConnection: () -> Unit, onNavigateToSensors: () -> Unit, @@ -409,17 +412,18 @@ fun DashboardScreen( ) } - // Signals cannot be ranked by distance: SPATEM carries no position at all. The geometry - // that would place an intersection lives in MAPEM, which nothing on the air is currently - // sending. So the one shown is the one changing soonest, which is in any case the one a - // rider approaching a junction needs to see. + // The intersection whose ingress lane the rider is on (MAPEM geometry plus position and + // heading) comes first, nearest stop line first. Otherwise - no MAPEM heard, or not on one + // of its lanes - the one changing soonest, which is the one a rider approaching a junction + // most likely needs. val nextSignal = remember(signals) { val now = System.currentTimeMillis() - signals.minByOrNull { it.secondsToNextChange(now) ?: Double.MAX_VALUE } + signals.filter { it.ownApproach != null }.minByOrNull { it.ownApproach!!.distanceToStopLineM } + ?: signals.minByOrNull { it.signal?.secondsToNextChange(now) ?: Double.MAX_VALUE } } - nextSignal?.let { signal -> + nextSignal?.let { light -> SignalCard( - signal = signal, + light = light, additionalCount = signals.size - 1, onClick = onNavigateToV2x, ) @@ -638,16 +642,16 @@ private fun HazardCard( } /** - * The signalised intersection changing soonest: its leading phase with a countdown, then every - * signal group as a coloured chip. - * - * Signal groups are bare numbers because that is all the app knows. Calling one "your lane" needs - * MAPEM geometry, and a friendlier label would claim knowledge that is not there. + * The intersection that matters most: the one whose lane the rider is on, else the one changing + * soonest. With MAPEM geometry the card names the intersection and, once the rider is on one of + * its ingress lanes, shows that lane's lights - one chip per signal group, with the turns it + * controls - and the distance to the stop line. Without it, signal groups are bare numbers, + * since anything friendlier would claim knowledge that is not there. */ @OptIn(ExperimentalLayoutApi::class) @Composable private fun SignalCard( - signal: SpatIntersection, + light: TrafficLight, additionalCount: Int, onClick: () -> Unit, ) { @@ -662,16 +666,28 @@ private fun SignalCard( } } val now = nowMs.longValue + val signal = light.signal ?: return + val own = light.ownApproach - val leading = signal.state.movements.minByOrNull { movement -> + // The rider's own light: the straight-ahead exit of their lane, else its first. Without a + // matched lane, the group changing soonest speaks for the intersection, as before. + val leading = own?.approach?.let { approach -> + (approach.exits.firstOrNull { it.turn == Turn.STRAIGHT } ?: approach.exits.firstOrNull())?.movement + } ?: signal.state.movements.minByOrNull { movement -> movement.current?.secondsUntil(now)?.takeIf { it >= 0.0 } ?: Double.MAX_VALUE } val phase = leading?.current?.phase val tint = phaseTint(phase) val countdown = leading?.current?.secondsUntil(now)?.takeIf { it in 0.0..99.0 } - val hiddenGroups = signal.state.movements.size - DASH_MAX_SIGNAL_GROUPS + // One chip per signal group: the rider's lane's groups with their turn arrows, or every group. + val chips: List> = own?.approach?.byGroup?.map { (_, exits) -> + exits.joinToString("") { it.turn.arrow() } to exits.first().movement + } ?: signal.state.movements.map { stringResource(R.string.v2x_spat_group, it.signalGroup) to it } + + val hiddenGroups = chips.size - DASH_MAX_SIGNAL_GROUPS val footer = listOfNotNull( + if (light.revisionMismatch) stringResource(R.string.dash_signal_map_outdated) else null, if (hiddenGroups > 0) stringResource(R.string.dash_more_count, hiddenGroups) else null, if (additionalCount > 0) stringResource(R.string.dash_signal_more, additionalCount) else null, ).joinToString(" · ") @@ -690,11 +706,23 @@ private fun SignalCard( Icon(Icons.Default.Traffic, null, tint = tint, modifier = Modifier.size(28.dp)) Column(modifier = Modifier.weight(1f)) { Text( - stringResource(R.string.dash_signal_title, signal.state.key), + light.name ?: stringResource(R.string.dash_signal_title, light.key), style = MaterialTheme.typography.labelLarge, color = tint, fontWeight = FontWeight.SemiBold, ) + if (own != null) { + Text( + stringResource( + R.string.dash_signal_own_approach, + own.approach.lane.name + ?: stringResource(R.string.v2x_lane_fallback, own.approach.lane.laneId), + own.distanceToStopLineM, + ), + style = MaterialTheme.typography.bodySmall, + color = MaterialTheme.colorScheme.onSurfaceVariant, + ) + } Text( text = countdown ?.let { stringResource(R.string.dash_signal_countdown, phaseLabel(phase), it) } @@ -707,12 +735,12 @@ private fun SignalCard( // Wraps rather than scrolls: a horizontal scroller inside a scrolling dashboard // is awkward to drive one-handed, and the chip row is short by construction. FlowRow(horizontalArrangement = Arrangement.spacedBy(6.dp)) { - signal.state.movements.take(DASH_MAX_SIGNAL_GROUPS).forEach { movement -> - val groupTint = phaseTint(movement.current?.phase) + chips.take(DASH_MAX_SIGNAL_GROUPS).forEach { (label, movement) -> + val groupTint = phaseTint(movement?.current?.phase) val groupCountdown = - movement.current?.secondsUntil(now)?.takeIf { it in 0.0..99.0 } + movement?.current?.secondsUntil(now)?.takeIf { it in 0.0..99.0 } Text( - text = stringResource(R.string.v2x_spat_group, movement.signalGroup) + + text = label + (groupCountdown?.let { " " + stringResource(R.string.v2x_spat_countdown, it) } ?: ""), style = MaterialTheme.typography.bodySmall, fontFamily = FontFamily.Monospace, @@ -739,6 +767,15 @@ private fun SignalCard( } } +/** An arrow for a turn, as signs show it. */ +private fun Turn.arrow(): String = when (this) { + Turn.STRAIGHT -> "↑" + Turn.LEFT -> "←" + Turn.RIGHT -> "→" + Turn.U_TURN -> "↶" + Turn.UNKNOWN -> "?" +} + /** Traffic-light colour for a phase: go is green, stop is red, anything in between is amber. */ @Composable private fun phaseTint(phase: SignalPhase?): Color = when { diff --git a/app/src/main/java/com/hawhamburg/micr0bu/ui/screens/V2xLiveMapView.kt b/app/src/main/java/com/hawhamburg/micr0bu/ui/screens/V2xLiveMapView.kt index ca4156d..bc81fe6 100644 --- a/app/src/main/java/com/hawhamburg/micr0bu/ui/screens/V2xLiveMapView.kt +++ b/app/src/main/java/com/hawhamburg/micr0bu/ui/screens/V2xLiveMapView.kt @@ -31,7 +31,11 @@ import androidx.lifecycle.compose.LocalLifecycleOwner import com.hawhamburg.micr0bu.R import com.hawhamburg.micr0bu.domain.cam.Cam import com.hawhamburg.micr0bu.domain.denm.DenmEvent +import com.hawhamburg.micr0bu.domain.map.lanePoints +import com.hawhamburg.micr0bu.domain.spat.SignalPhase import com.hawhamburg.micr0bu.domain.spat.SpatIntersection +import com.hawhamburg.micr0bu.domain.spat.TrafficLight +import com.hawhamburg.micr0bu.domain.spat.Turn import com.hawhamburg.micr0bu.domain.usecase.AlertLevel import com.hawhamburg.micr0bu.domain.usecase.UseCaseAlert import org.osmdroid.config.Configuration @@ -40,6 +44,7 @@ import org.osmdroid.util.GeoPoint import org.osmdroid.views.CustomZoomButtonsController import org.osmdroid.views.MapView import org.osmdroid.views.overlay.Marker +import org.osmdroid.views.overlay.Polyline /** * V2X Monitor live map (Phase 03, Section 13) — the map body behind [V2xMapScreen], plotting the @@ -49,7 +54,9 @@ import org.osmdroid.views.overlay.Marker * Marker vocabulary, one shape per message type so the map reads without a legend: * - CAM — teardrop pin, tinted by that station's most severe active alert level * - DENM — hazard warning triangle - * - SPATEM — traffic light, with the lamp for the intersection's leading phase lit + * - SPATEM — traffic light, with the lamp for the intersection's leading phase lit. With the + * intersection's MAPEM it stands on the MAPEM's reference point and its lanes are drawn: each + * ingress lane in the colour of its straight-ahead light (else its first), egress lanes grey * * Unlike [MapScreen] this has no phone-GNSS-only fallback: [own] always reflects whichever ego * source [com.hawhamburg.micr0bu.data.cam.CamUseCaseRepository] currently trusts (obu_gnss / @@ -69,7 +76,7 @@ fun V2xLiveMapView( remotes: Map, alerts: List, denms: List = emptyList(), - spats: List = emptyList(), + lights: List = emptyList(), followOwn: Boolean = true, onUserPanned: () -> Unit = {}, modifier: Modifier = Modifier, @@ -92,6 +99,7 @@ fun V2xLiveMapView( // tint applied would recolour every pin on the map. val icons = remember(context) { MapIcons(context) } val markers = remember { mutableMapOf() } + val lanes = remember { mutableMapOf() } val mapViewRef = remember { mutableStateOf(null) } val lifecycleOwner = LocalLifecycleOwner.current @@ -143,14 +151,17 @@ fun V2xLiveMapView( update = { mv -> val now = System.currentTimeMillis() - // Intersections we can actually place: SPATEM carries signal state but no geometry - // (that is MAPEM's job), so the only position available is the sending RSU's own CAM. - val locatedSpats = spats.mapNotNull { spat -> - remotes[spat.stationId]?.let { rsu -> spat to rsu } + // Intersections we can actually place: at the MAPEM's reference point when its MAPEM + // has been heard, else at the sending RSU's own CAM position (SPATEM has no geometry). + val locatedSpats = lights.mapNotNull { light -> + val spat = light.signal ?: return@mapNotNull null + val at = light.geometry?.let { GeoPoint(it.refLatitude, it.refLongitude) } + ?: remotes[spat.stationId]?.let { rsu -> GeoPoint(rsu.latitude, rsu.longitude) } + at?.let { Triple(light, spat, it) } } // An RSU drawn as a traffic light must not also be drawn as a CAM pin underneath it: // two markers on one point, the lower one unreachable. - val spatStationIds = locatedSpats.map { (spat, _) -> spat.stationId }.toSet() + val spatStationIds = locatedSpats.map { (_, spat, _) -> spat.stationId }.toSet() val live = mutableSetOf() @@ -201,13 +212,38 @@ fun V2xLiveMapView( } } - locatedSpats.forEach { (spat, rsu) -> - val phase = spat.leadingPhase(now) + val liveLanes = mutableSetOf() + lights.forEach { light -> + val geometry = light.geometry ?: return@forEach + val signalled = light.approaches.associateBy { it.lane.laneId } + geometry.lanes.forEach lane@{ lane -> + val points = geometry.lanePoints(lane) + if (points.size < 2) return@lane + val key = "${light.key}#${lane.laneId}" + liveLanes += key + val approach = signalled[lane.laneId] + val exit = approach?.let { a -> a.exits.firstOrNull { it.turn == Turn.STRAIGHT } ?: a.exits.firstOrNull() } + val own = light.ownApproach?.approach?.lane?.laneId == lane.laneId + lanes.getOrPut(key) { Polyline(mv) }.apply { + setPoints(points.map { GeoPoint(it.latitude, it.longitude) }) + outlinePaint.color = if (approach == null) LANE_GREY else exit?.movement?.current?.phase.toLaneColor() + outlinePaint.strokeWidth = if (approach == null) 4f else if (own) 14f else 9f + title = lane.name ?: context.getString(R.string.v2x_lane_fallback, lane.laneId) + } + } + } + lanes.keys.retainAll { it in liveLanes } + + locatedSpats.forEach { (light, spat, at) -> + // On the rider's lane, that lane's light speaks for the intersection. + val phase = light.ownApproach?.approach?.let { a -> + (a.exits.firstOrNull { it.turn == Turn.STRAIGHT } ?: a.exits.firstOrNull())?.movement?.current?.phase + }?.toLamp() ?: spat.leadingPhase(now) markers.marker(mv, "$KEY_SPAT${spat.key}", live).apply { - position = GeoPoint(rsu.latitude, rsu.longitude) + position = at setAnchor(Marker.ANCHOR_CENTER, Marker.ANCHOR_BOTTOM) icon = icons.signal(phase) - title = context.getString( + title = light.name ?: context.getString( R.string.v2x_spat_rx_title, spat.state.key, spat.stationId, ) snippet = spat.state.movements.joinToString(" · ") { movement -> @@ -225,6 +261,8 @@ fun V2xLiveMapView( (key in live).also { kept -> if (!kept) markers[key]?.closeInfoWindow() } } mv.overlays.clear() + // Lanes first, so every marker draws over them. + lanes.values.forEach { mv.overlays.add(it) } markers.entries .sortedBy { (key, _) -> key.drawOrder() } .forEach { (_, marker) -> mv.overlays.add(marker) } @@ -255,6 +293,7 @@ fun V2xLiveMapView( // guarantees no further update after it. onRelease = { markers.clear() + lanes.clear() it.onDetach() }, modifier = modifier.fillMaxSize(), @@ -328,25 +367,35 @@ private enum class SignalLamp(val drawableRes: Int) { /** * The lamp to light for this intersection. * - * Without MAPEM there is no lane geometry, so there is no way to know which of an intersection's - * signal groups applies to the rider's own approach. This follows the rule the Dashboard's - * SignalCard already uses — the group changing soonest speaks for the intersection — so the same - * intersection reads the same way in both places rather than inventing a second convention. + * Used when the rider is not on one of the intersection's ingress lanes (or no MAPEM is known): + * then no signal group is theirs, and this follows the rule the Dashboard's SignalCard uses — the + * group changing soonest speaks for the intersection — so it reads the same in both places. */ private fun SpatIntersection.leadingPhase(nowMs: Long): SignalLamp { val leading = state.movements.minByOrNull { movement -> movement.current?.secondsUntil(nowMs)?.takeIf { it >= 0.0 } ?: Double.MAX_VALUE } - val phase = leading?.current?.phase - return when { - phase == null -> SignalLamp.DARK - phase.isGo -> SignalLamp.GREEN - phase.isStop -> SignalLamp.RED - phase.isTransition -> SignalLamp.AMBER - else -> SignalLamp.DARK // UNAVAILABLE / DARK / caution - } + return leading?.current?.phase.toLamp() } +private fun SignalPhase?.toLamp(): SignalLamp = when { + this == null -> SignalLamp.DARK + isGo -> SignalLamp.GREEN + isStop -> SignalLamp.RED + isTransition -> SignalLamp.AMBER + else -> SignalLamp.DARK // UNAVAILABLE / DARK / caution +} + +/** Lane colour on the map: the traffic-light colours, with a lane whose group is silent dark grey. */ +private fun SignalPhase?.toLaneColor(): Int = when (toLamp()) { + SignalLamp.GREEN -> 0xFF4CAF50.toInt() + SignalLamp.RED -> 0xFFE53935.toInt() + SignalLamp.AMBER -> 0xFFFFC107.toInt() + SignalLamp.DARK -> 0xFF546E7A.toInt() +} + +private const val LANE_GREY = 0x9978909C.toInt() + /** * Marker tint per severity, matching [UseCaseAlertPanel]'s colours so the same station reads the * same way in both places. Stations with no active alert stay neutral grey-blue rather than green: diff --git a/app/src/main/java/com/hawhamburg/micr0bu/ui/screens/V2xMapScreen.kt b/app/src/main/java/com/hawhamburg/micr0bu/ui/screens/V2xMapScreen.kt index 7537778..9007092 100644 --- a/app/src/main/java/com/hawhamburg/micr0bu/ui/screens/V2xMapScreen.kt +++ b/app/src/main/java/com/hawhamburg/micr0bu/ui/screens/V2xMapScreen.kt @@ -61,17 +61,17 @@ fun V2xMapScreen( val stations by viewModel.stationsInRange.collectAsState() val alerts by viewModel.useCaseAlerts.collectAsState() val denms by viewModel.denmEvents.collectAsState() - val spats by viewModel.spatIntersections.collectAsState() + val lights by viewModel.trafficLights.collectAsState() // Follow is on until the rider touches the map, and comes back when they ask for it. Without // the hand-over, every incoming CAM would drag the viewport back to the ego position and the // map could not be panned at all while traffic is flowing. var followOwn by remember { mutableStateOf(true) } - // SPATEM carries no geometry of its own, so an intersection can only be placed if its RSU has - // also been heard over CAM. Saying so is better than silently dropping it: "the map shows two + // SPATEM carries no geometry of its own, so an intersection can only be placed if its MAPEM or + // its RSU's CAM has been heard too. Saying so is better than silently dropping it: "the map shows two // of the three lights I can see in the list" is otherwise an unexplained discrepancy. - val unlocatedSpats = spats.count { it.stationId !in stations.keys } + val unlocatedSpats = lights.count { it.geometry == null && it.signal?.stationId !in stations.keys } Box(modifier = Modifier.fillMaxSize()) { V2xLiveMapView( @@ -79,7 +79,7 @@ fun V2xMapScreen( remotes = stations, alerts = alerts, denms = denms, - spats = spats, + lights = lights, followOwn = followOwn, onUserPanned = { followOwn = false }, modifier = Modifier.fillMaxSize(), @@ -125,7 +125,7 @@ fun V2xMapScreen( MapCount( icon = Icons.Default.Traffic, tint = SignalGreenDot, - count = spats.size, + count = lights.size, label = stringResource(R.string.v2x_map_legend_spat), ) } diff --git a/app/src/main/java/com/hawhamburg/micr0bu/viewmodel/MqttViewModel.kt b/app/src/main/java/com/hawhamburg/micr0bu/viewmodel/MqttViewModel.kt index 332892a..8971d9e 100644 --- a/app/src/main/java/com/hawhamburg/micr0bu/viewmodel/MqttViewModel.kt +++ b/app/src/main/java/com/hawhamburg/micr0bu/viewmodel/MqttViewModel.kt @@ -20,7 +20,11 @@ import com.hawhamburg.micr0bu.data.transport.OutgoingMessage import com.hawhamburg.micr0bu.data.transport.StationStatus import com.hawhamburg.micr0bu.domain.denm.DenmEvent import com.hawhamburg.micr0bu.domain.denm.DenmParser +import com.hawhamburg.micr0bu.domain.map.IntersectionGeometry +import com.hawhamburg.micr0bu.domain.map.MapPoint import com.hawhamburg.micr0bu.domain.spat.SpatIntersection +import com.hawhamburg.micr0bu.domain.spat.TrafficLight +import com.hawhamburg.micr0bu.domain.spat.TrafficLights import com.hawhamburg.micr0bu.domain.denm.DenmUseCase import com.hawhamburg.micr0bu.domain.usecase.UseCaseAlert import com.hawhamburg.micr0bu.domain.usecase.UseCaseType @@ -269,6 +273,47 @@ class MqttViewModel @Inject constructor( .sortedByDescending { it.timestamp } }.stateIn(viewModelScope, SharingStarted.Eagerly, emptyList()) + /** + * Intersection geometry heard over MAPEM, oldest first. Kept per intersection AND revision: + * two revisions of one intersection can be on air at once, and a SPATEM's signal groups mean + * whatever its own revision's MAPEM says ([TrafficLights.pickGeometry]). + */ + private val mapGeometries: StateFlow> = combine( + camUseCaseRepository.decodedMap + .runningFold(emptyMap>()) { acc, map -> + acc + map.intersections.associate { "${it.key}#${it.revision}" to (it to map.timestamp) } + }, + tickerFlow(MAP_EXPIRY_TICK_MS), + ) { byKey, _ -> + val now = System.currentTimeMillis() + byKey.values + .filter { (_, heardAt) -> now - heardAt <= MAP_TTL_MS } + .sortedBy { (_, heardAt) -> heardAt } + .map { (geometry, _) -> geometry } + }.stateIn(viewModelScope, SharingStarted.Eagerly, emptyList()) + + /** + * [spatIntersections] with each SPATEM's signal groups placed on its MAPEM's lanes, and the + * rider's own approach picked from their position and heading. An intersection whose MAPEM has + * not been heard (yet) is still listed, with no lanes: its signal groups stay bare numbers. + */ + val trafficLights: StateFlow> = combine( + spatIntersections, + mapGeometries, + camUseCaseRepository.ownPosition, + ) { spats, geometries, own -> + val byKey = geometries.groupBy { it.key } + spats.map { spat -> + TrafficLights.join( + signal = spat, + geometry = TrafficLights.pickGeometry(byKey[spat.key].orEmpty(), spat.state.revision), + own = own?.let { MapPoint(it.latitude, it.longitude) }, + ownHeadingDeg = own?.headingDeg, + ownSpeedMps = own?.speedMps, + ) + } + }.stateIn(viewModelScope, SharingStarted.Eagerly, emptyList()) + /** Emits immediately, then every [periodMs], purely to re-trigger a time-dependent combine. */ private fun tickerFlow(periodMs: Long): Flow = flow { while (true) { @@ -299,6 +344,13 @@ class MqttViewModel @Inject constructor( const val SPAT_TTL_MS = 15_000L const val SPAT_EXPIRY_TICK_MS = 2_000L + /** + * MAPEM repeats at about 1 Hz and its geometry is static, so a minute of silence is generous; + * a light is only ever shown while its SPATEM is live anyway. + */ + const val MAP_TTL_MS = 60_000L + const val MAP_EXPIRY_TICK_MS = 5_000L + /** RSU CAMs arrive at ~2 Hz, same as any other station, so the same window applies. */ const val RSU_TTL_MS = 15_000L const val RSU_EXPIRY_TICK_MS = 2_000L diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 61be90a..7ce4861 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -44,6 +44,9 @@ Dunkel Unbekannt %1$s · %2$.0f s + %1$s · %2$.0f m bis zur Haltelinie + Fahrstreifenkarte veraltet + Fahrstreifen %1$d Luftdruck Höhe Richtung diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 8a4ad89..f2adf6d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -45,6 +45,9 @@ Dark Unknown %1$s · %2$.0f s + %1$s · %2$.0f m to the stop line + Lane map out of date + Lane %1$d Pressure Altitude Heading diff --git a/app/src/test/java/com/hawhamburg/micr0bu/MapemUperCodecTest.kt b/app/src/test/java/com/hawhamburg/micr0bu/MapemUperCodecTest.kt new file mode 100644 index 0000000..cc6d97a --- /dev/null +++ b/app/src/test/java/com/hawhamburg/micr0bu/MapemUperCodecTest.kt @@ -0,0 +1,139 @@ +package com.hawhamburg.micr0bu + +import com.hawhamburg.micr0bu.domain.asn1.MapemUperCodec +import com.hawhamburg.micr0bu.domain.map.LaneType +import com.hawhamburg.micr0bu.domain.map.MapEvent +import com.hawhamburg.micr0bu.domain.map.NodeOffset +import com.hawhamburg.micr0bu.domain.map.lanePoints +import org.junit.Assert.assertEquals +import org.junit.Assert.assertNotNull +import org.junit.Assert.assertNull +import org.junit.Assert.assertTrue +import org.junit.Test + +/** + * [MapemUperCodec] against every distinct MAPEM on record, field by field. + * + * `src/test/resources/mapem/corpus.txt` holds each MAPEM's bytes followed by every field as + * `asn1tools` decodes it with the ETSI modules in `asn1/` (written by `tools/mapem_corpus.py`): + * 17 distinct MAPEMs from the 2026-03-18 drive (7 916 received, 288 to 1348 bytes) and the bench + * RSU's, captured by the ESP32-C5 on 2026-10-28. [dump] renders the decoder's output in the same + * text, so any field this decoder reads at the wrong width or in the wrong place shows up as a + * differing line - and since UPER has no padding, as a cascade of them. + */ +class MapemUperCodecTest { + + private class Sample(val hex: String, val expected: List) + + private val corpus: List by lazy { + val text = javaClass.classLoader!!.getResource("mapem/corpus.txt")!!.readText() + val samples = ArrayList() + var hex: String? = null + val lines = ArrayList() + fun flush() { hex?.let { samples.add(Sample(it, lines.toList())) }; lines.clear() } + for (line in text.lines()) { + when { + line.startsWith("#hex ") -> { flush(); hex = line.removePrefix("#hex ") } + line.startsWith("#") || line.isBlank() -> {} + else -> lines.add(line) + } + } + flush() + samples + } + + private fun String.hexToBytes(): ByteArray = chunked(2).map { it.toInt(16).toByte() }.toByteArray() + + private fun Int?.orNone(): String = this?.toString() ?: "None" + + /** Same text as `tools/mapem_corpus.py`'s dump(). */ + private fun dump(m: MapEvent): List { + val out = mutableListOf("station=${m.stationId} rev=${m.msgIssueRevision}") + for (i in m.intersections) { + val lat = Math.round(i.refLatitude * 1e7) + val lon = Math.round(i.refLongitude * 1e7) + out += "I key=${i.key} rev=${i.revision} name=${i.name ?: "None"} ref=$lat,$lon " + + "elev=${i.elevationDm.orNone()} width=${i.laneWidthCm.orNone()} " + + "speeds=${i.speedLimits.joinToString(",") { "${it.type}:${it.speed}" }}" + for (lane in i.lanes) { + val dir = (if (lane.isIngress) 2 else 0) or (if (lane.isEgress) 1 else 0) + out += "L id=${lane.laneId} name=${lane.name ?: "None"} in=${lane.ingressApproach.orNone()} " + + "eg=${lane.egressApproach.orNone()} dir=$dir share=${lane.sharedWith} " + + "type=${lane.type.ordinal} attr=${lane.typeAttributes} man=${lane.maneuvers?.bits.orNone()}" + for (node in lane.nodes) { + val pos = when (val o = node.offset) { + is NodeOffset.Xy -> "xy=${o.xCm},${o.yCm}" + is NodeOffset.LatLon -> "ll=${o.latitude},${o.longitude}" + } + out += "N $pos local=${node.localAttributes.joinToString(",")} " + + "dis=${node.disabled.joinToString(",")} en=${node.enabled.joinToString(",")} " + + "dw=${node.dWidthCm.orNone()} de=${node.dElevationCm.orNone()}" + } + for (c in lane.connections) { + val remote = c.remoteIntersection?.let { "${c.remoteRegion ?: -1}/$it" } ?: "None" + out += "C to=${c.toLane} man=${c.maneuver?.bits.orNone()} remote=$remote " + + "sg=${c.signalGroup.orNone()} uc=${c.userClass.orNone()} cid=${c.connectionId.orNone()}" + } + if (lane.overlays.isNotEmpty()) out += "O " + lane.overlays.joinToString(",") + } + } + return out + } + + @Test + fun `every recorded MAPEM decodes to exactly what asn1tools reads`() { + assertEquals("corpus size", 18, corpus.size) + corpus.forEachIndexed { n, sample -> + val decoded = MapemUperCodec.decode(sample.hex.hexToBytes(), receivedAtEpochMs = 0L) + assertNotNull("MAPEM #$n (${sample.hex.length / 2} bytes) did not decode", decoded) + val actual = dump(decoded!!) + val first = sample.expected.indices.firstOrNull { it >= actual.size || actual[it] != sample.expected[it] } + if (first != null || actual.size != sample.expected.size) { + val at = first ?: sample.expected.size + throw AssertionError( + "MAPEM #$n differs at line ${at + 1}:\n asn1tools: ${sample.expected.getOrNull(at)}\n" + + " decoder: ${actual.getOrNull(at)}", + ) + } + } + } + + @Test + fun `bench RSU MAPEM - test crossroads geometry`() { + val bench = corpus.single { it.expected.any { line -> "MicrOBU test crossroads" in line } } + val map = MapemUperCodec.decode(bench.hex.hexToBytes(), 0L, rssiDbm = -58)!! + assertEquals(-58, map.rssiDbm) + val i = map.intersections.single() + assertEquals("-1/23", i.key) + assertEquals(53.554698, i.refLatitude, 1e-9) + assertEquals(10.022548, i.refLongitude, 1e-9) + assertEquals(8, i.lanes.size) + + val northIn = i.lane(1)!! + assertEquals("North in", northIn.name) + assertTrue(northIn.isIngress && !northIn.isEgress) + assertEquals(LaneType.VEHICLE, northIn.type) + // Straight to lane 6 (South out), left to 4 (East out), right to 8 (West out), all group 1 + val byTarget = northIn.connections.associateBy { it.toLane } + assertTrue(byTarget.getValue(6).maneuver!!.straight) + assertTrue(byTarget.getValue(4).maneuver!!.left) + assertTrue(byTarget.getValue(8).maneuver!!.right) + assertEquals(setOf(1), northIn.connections.map { it.signalGroup }.toSet()) + + // First node 12 m north (and 1.75 m west) of the reference point: the stop line. + val points = i.lanePoints(northIn) + assertEquals(12.0, (points[0].latitude - i.refLatitude) * 111_319.49, 0.01) + assertEquals(72.0, (points[1].latitude - i.refLatitude) * 111_319.49, 0.01) + } + + @Test + fun `wrong message, wrong version and truncation give null`() { + val bytes = corpus.first().hex.hexToBytes() + assertNull(MapemUperCodec.decode(bytes.copyOf().also { it[1] = 4 }, 0L)) // a SPATEM id + assertNull(MapemUperCodec.decode(bytes.copyOf().also { it[0] = 1 }, 0L)) // protocol version 1 + for (n in 0 until bytes.size - 1) { + // UPER has no end marker: a cut inside the last few bits may still decode, but must not throw + MapemUperCodec.decode(bytes.copyOf(n), 0L) + } + } +} diff --git a/app/src/test/java/com/hawhamburg/micr0bu/TrafficLightsTest.kt b/app/src/test/java/com/hawhamburg/micr0bu/TrafficLightsTest.kt new file mode 100644 index 0000000..c81e3e2 --- /dev/null +++ b/app/src/test/java/com/hawhamburg/micr0bu/TrafficLightsTest.kt @@ -0,0 +1,156 @@ +package com.hawhamburg.micr0bu + +import com.hawhamburg.micr0bu.domain.asn1.MapemUperCodec +import com.hawhamburg.micr0bu.domain.asn1.SpatemUperCodec +import com.hawhamburg.micr0bu.domain.map.IntersectionGeometry +import com.hawhamburg.micr0bu.domain.map.MapPoint +import com.hawhamburg.micr0bu.domain.spat.SpatIntersection +import com.hawhamburg.micr0bu.domain.spat.TrafficLights +import com.hawhamburg.micr0bu.domain.spat.TrafficLights.single +import com.hawhamburg.micr0bu.domain.spat.Turn +import org.junit.Assert.assertEquals +import org.junit.Assert.assertFalse +import org.junit.Assert.assertNotNull +import org.junit.Assert.assertNull +import org.junit.Assert.assertTrue +import org.junit.Test +import kotlin.math.PI +import kotlin.math.cos + +/** + * [TrafficLights.join] on recorded messages only: every MAPEM in `mapem/corpus.txt` with a SPATEM + * of the same intersection and revision from `mapem/spat_samples.txt` (both written by + * `tools/mapem_corpus.py`): 16 road intersections from the 2026-03-18 drive and the bench RSU's + * test crossroads from the 2026-10-28 ESP32-C5 capture. + */ +class TrafficLightsTest { + + private fun String.hexToBytes(): ByteArray = chunked(2).map { it.toInt(16).toByte() }.toByteArray() + + private fun resource(name: String) = javaClass.classLoader!!.getResource(name)!!.readText() + + /** Every intersection geometry in the corpus, in order. */ + private val maps: List by lazy { + resource("mapem/corpus.txt").lines().filter { it.startsWith("#hex ") }.flatMap { + MapemUperCodec.decode(it.removePrefix("#hex ").hexToBytes(), 0L)!!.intersections + } + } + + /** (key, revision) -> the recorded SPATEM's state for that intersection. */ + private val spats: Map, SpatIntersection> by lazy { + resource("mapem/spat_samples.txt").lines().filter { it.isNotBlank() }.associate { line -> + val (key, revision, hex) = line.split(" ") + val spat = SpatemUperCodec.decode(hex.hexToBytes(), 0L) + assertNotNull("recorded SPATEM for $key rev $revision does not decode", spat) + val state = spat!!.intersections.single { it.key == key && it.revision == revision.toInt() } + (key to revision.toInt()) to SpatIntersection(state, spat.stationId, null, 0L) + } + } + + private val bench by lazy { maps.single { it.key == "-1/23" } } + private val benchSpat by lazy { spats.getValue("-1/23" to 1) } + + /** [north] / [east] metres from the bench intersection's reference point. */ + private fun benchPoint(north: Double, east: Double) = MapPoint( + bench.refLatitude + north / 111_319.49, + bench.refLongitude + east / (111_319.49 * cos(bench.refLatitude * PI / 180)), + ) + + @Test + fun `bench crossroads - four approaches, three exits each, all on SPATEM groups`() { + val light = TrafficLights.join(benchSpat, bench) + assertEquals("MicrOBU test crossroads", light.name) + assertFalse(light.revisionMismatch) + assertEquals(listOf("North in", "East in", "South in", "West in"), light.approaches.map { it.lane.name }) + for (approach in light.approaches) { + assertEquals(setOf(Turn.STRAIGHT, Turn.LEFT, Turn.RIGHT), approach.exits.map { it.turn }.toSet()) + approach.exits.forEach { assertNotNull("group ${it.connection.signalGroup} not in SPATEM", it.movement) } + } + // North in drives south (180 deg) toward a stop line 12 m north of the reference point. + val north = light.approaches.first() + assertEquals(180.0, north.bearingDeg, 2.0) + assertEquals(listOf(1), north.byGroup.map { it.first }) + assertEquals(benchSpat.state.movements.first { it.signalGroup == 1 }, north.exits.first().movement) + assertEquals(270.0, light.approaches[1].bearingDeg, 2.0) // East in drives west + } + + @Test + fun `bench crossroads - the rider's approach from position and heading`() { + // 40 m north, on the North-in lane (1.75 m west of the centre line), riding south + val riding = TrafficLights.join(benchSpat, bench, benchPoint(40.0, -1.75), ownHeadingDeg = 180.0, ownSpeedMps = 5.0) + assertEquals("North in", riding.ownApproach?.approach?.lane?.name) + assertEquals(28.0, riding.ownApproach!!.distanceToStopLineM, 0.1) + + // Same place, riding north: that is the North-out lane's direction, an egress lane, no light + assertNull(TrafficLights.join(benchSpat, bench, benchPoint(40.0, -1.75), 0.0, 5.0).ownApproach) + // Standing still: heading is not trusted, the nearest ingress lane wins + assertEquals("North in", + TrafficLights.join(benchSpat, bench, benchPoint(40.0, -1.0), 0.0, 0.0).ownApproach?.approach?.lane?.name) + // West of the intersection, riding east: West in + assertEquals("West in", + TrafficLights.join(benchSpat, bench, benchPoint(-1.75, -30.0), 90.0, 4.0).ownApproach?.approach?.lane?.name) + // Inside the intersection, past the stop line: no approach + assertNull(TrafficLights.join(benchSpat, bench, benchPoint(5.0, -1.75), 180.0, 5.0).ownApproach) + // Far away + assertNull(TrafficLights.join(benchSpat, bench, benchPoint(400.0, -1.75), 180.0, 5.0).ownApproach) + } + + @Test + fun `recorded road intersections - every signalled exit finds its SPATEM movement`() { + var exits = 0 + val missing = mutableListOf() + for (map in maps.distinctBy { it.key to it.revision }) { + val spat = spats[map.key to map.revision] + assertNotNull("no recorded SPATEM for ${map.key} rev ${map.revision}", spat) + val light = TrafficLights.join(spat, map) + assertFalse(light.revisionMismatch) + assertTrue("${map.key}: no signalled approach", light.approaches.isNotEmpty()) + for (approach in light.approaches) for (exit in approach.exits) { + exits++ + if (exit.movement == null) missing += "${map.key} lane ${approach.lane.laneId} group ${exit.connection.signalGroup}" + } + } + println("TrafficLightsTest: $exits signalled exits, unmatched: $missing") + // The one gap on record: 3/165's MAPEM names a group 65 that its SPATEMs never carry. + assertTrue("only 3/165 group 65 may be missing, got $missing", missing.all { it.startsWith("3/165 ") && it.endsWith(" group 65") }) + assertTrue("exits checked: $exits", exits > 300) + } + + @Test + fun `geometric turn agrees with the maneuver wherever a recorded connection carries one`() { + var compared = 0 + val disagreements = mutableListOf() + for (map in maps.distinctBy { it.key to it.revision }) { + for (approach in TrafficLights.join(null, map).approaches) for (exit in approach.exits) { + val stated = exit.connection.maneuver?.single() ?: continue + if (stated == Turn.U_TURN) continue + compared++ + val geometric = TrafficLights.geometricTurn(map, exit.connection, approach.bearingDeg) + if (geometric != stated) disagreements += "${map.key} ${approach.lane.laneId}->${exit.connection.toLane}: $stated vs $geometric" + } + } + println("TrafficLightsTest: geometric turn vs stated maneuver: ${compared - disagreements.size}/$compared agree; $disagreements") + // The fallback only decides connections without a maneuver; it has to be right nearly always. + assertTrue("compared $compared", compared > 100) + assertTrue("${disagreements.size}/$compared disagree: ${disagreements.take(10)}", disagreements.size * 20 <= compared) + } + + @Test + fun `two revisions on air - the SPATEM's revision picks the MAPEM`() { + val both = maps.filter { it.key == "1/1" }.distinctBy { it.revision } + assertEquals(listOf(2, 3), both.map { it.revision }.sorted()) + assertEquals(2, TrafficLights.pickGeometry(both, 2)?.revision) + assertEquals(3, TrafficLights.pickGeometry(both, 3)?.revision) + assertEquals(both.last(), TrafficLights.pickGeometry(both, 9)) + // The wrong pairing is flagged + assertTrue(TrafficLights.join(spats.getValue("1/1" to 2), both.single { it.revision == 3 }).revisionMismatch) + } + + @Test + fun `SPATEM without MAPEM still gives a light, just without lanes`() { + val light = TrafficLights.join(benchSpat, null) + assertEquals("-1/23", light.key) + assertTrue(light.approaches.isEmpty()) + assertNull(light.ownApproach) + } +} diff --git a/app/src/test/resources/mapem/corpus.txt b/app/src/test/resources/mapem/corpus.txt new file mode 100644 index 0000000..617a7cc --- /dev/null +++ b/app/src/test/resources/mapem/corpus.txt @@ -0,0 +1,2401 @@ +# 18 distinct MAPEMs (7916 received), fields by asn1tools. Generated by tools/mapem_corpus.py; do not edit. +#hex 0205000177d308000308cd8342fc9a94efb0637d8b2617db2e6300030078022ac82671b8a0b56681450d24082420000009b0b7aaf068002007d7d19e59bdc336c362416070000210200624400000096234d61701f050c0ca66424072420000009b0c26ac968002007d7d026ce490efc723816090000212200824400000096248d5c701f050c0d0e7424062420000009b0cc0aa228002007d7d080962c3107b510160b000020a200a24400000096261157941f050c0d82502401142000000db0fc4b77480020f76960f87a503d0ad0bc79c59d402c2a000081840288880000012c26a2d6700225b426f5aa12010a10000006d883e5a74400107c1430b95a9745ea760a3cf1cf101613000040e20124440000009614e56644008aba13a8d84102d8102000000d86415bfe4001032b83828300c0410318102000000d86ed5961400104ac708282c0c0810358102000000d871b5886400103599002838100c10398102000000d87f954df400105027c028341010 +station=96211 rev=0 +I key=3/120 rev=1 name=MAP_ITS_01_120_6.1 ref=535520227,100112589 elev=None width=325 speeds= +L id=8 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=1469,-10365 local=1 dis= en= dw=None de=None +N xy=-481,-131 local= dis= en= dw=None de=None +N xy=-2154,-530 local= dis= en= dw=None de=None +N xy=-2344,-631 local= dis= en= dw=None de=None +C to=3 man=2048 remote=None sg=1 uc=None cid=8 +L id=3 name=None in=None eg=1 dir=1 share=64 type=0 attr=0 man=None +N xy=2259,-10148 local= dis= en= dw=None de=None +N xy=480,134 local= dis= en= dw=None de=None +N xy=297,100 local= dis= en= dw=None de=None +L id=7 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=1555,-10677 local=1 dis= en= dw=None de=None +N xy=-481,-131 local= dis= en= dw=None de=None +N xy=-202,-55 local= dis= en= dw=None de=None +N xy=-4356,-882 local= dis= en= dw=None de=None +C to=4 man=2048 remote=None sg=1 uc=None cid=9 +L id=4 name=None in=None eg=1 dir=1 share=64 type=0 attr=0 man=None +N xy=2339,-10468 local= dis= en= dw=None de=None +N xy=480,134 local= dis= en= dw=None de=None +N xy=323,116 local= dis= en= dw=None de=None +L id=6 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=1632,-10991 local=1 dis= en= dw=None de=None +N xy=-481,-131 local= dis= en= dw=None de=None +N xy=-1015,-234 local= dis= en= dw=None de=None +N xy=-3569,-700 local= dis= en= dw=None de=None +C to=5 man=2048 remote=None sg=1 uc=None cid=5 +L id=5 name=None in=None eg=1 dir=1 share=64 type=0 attr=0 man=None +N xy=2436,-10779 local= dis= en= dw=None de=None +N xy=480,134 local= dis= en= dw=None de=None +N xy=352,80 local= dis= en= dw=None de=None +L id=1 name=None in=1 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=2018,-9286 local=1 dis= en= dw=None de=None +N xy=477,150 local= dis= en= dw=None de=None +N xy=903,296 local= dis= en= dw=None de=None +N xy=2581,1071 local= dis= en= dw=None de=None +N xy=2501,936 local= dis= en= dw=None de=None +C to=10 man=2048 remote=None sg=2 uc=None cid=6 +L id=10 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=1236,-9522 local= dis= en= dw=None de=None +N xy=-478,-147 local= dis= en= dw=None de=None +N xy=-579,-172 local= dis= en= dw=None de=None +L id=2 name=None in=1 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=2110,-9612 local=1 dis= en= dw=None de=None +N xy=480,134 local= dis= en= dw=None de=None +N xy=1622,605 local= dis= en= dw=None de=None +N xy=1875,773 local= dis= en= dw=None de=None +N xy=2531,964 local= dis= en= dw=None de=None +C to=9 man=2048 remote=None sg=2 uc=None cid=7 +L id=9 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=1337,-9839 local= dis= en= dw=None de=None +N xy=-495,-163 local= dis= en= dw=None de=None +N xy=-556,-159 local= dis= en= dw=None de=None +L id=11 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=1601,-9218 local=1 dis= en= dw=None de=None +N xy=-107,263 local= dis= en= dw=None de=None +C to=12 man=None remote=None sg=3 uc=None cid=1 +L id=12 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=1773,-9887 local=1 dis= en= dw=None de=None +N xy=86,-287 local= dis= en= dw=None de=None +C to=11 man=None remote=None sg=3 uc=None cid=2 +L id=13 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=1819,-10106 local=1 dis= en= dw=None de=None +N xy=-84,288 local= dis= en= dw=None de=None +C to=14 man=None remote=None sg=4 uc=None cid=3 +L id=14 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=2041,-11041 local=1 dis= en= dw=None de=None +N xy=129,-264 local= dis= en= dw=None de=None +C to=13 man=None remote=None sg=4 uc=None cid=4 +#hex 0205001233b4080003094d8342fc9a94efb0637d8b2637d8b75cd2000600f211558fedf6713dabfa1000028a1648042804200000461f312fd8230614fdc0c4cf1896272fc441ba6f9ae4761b7ed0585c0000808805990108000001619f932823061bca52c900450c00000518076e341515ba04d9582c271ad0113b9eec89daf8b08ebaeeb00b0a8000102100a3230000000628f98c86f294b2408342000000d65639ec023ce0bc87315ca1680f3262e715db99b82c18800080c4018888800001596176a20970839bc6c386ab992049a010800001165c5ab2823060bb87a15a395f0afc0a005b9e08a2c4a27e1582c0001822c188000814401448084000002b0c0f68c11830315ea81a1ff8901cd0c0000045913a65c08f382f71ac57385883cbe0c641b58521d003d41609000060c20082460000008c0e9d5b0311ef05cfe08040c60408000000cb496b0061f3f828341030103581020000003014d07c078b020a0c040d +station=1192884 rev=0 +I key=3/121 rev=4 name=MAP_ITS_01_121_17.4 ref=535495926,99867130 elev=0 width=325 speeds= +L id=2 name=None in=1 eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-4200,1531 local= dis= en= dw=-125 de=None +N xy=-386,771 local= dis= en= dw=None de=None +N xy=-392,1099 local= dis= en= dw=None de=None +N xy=-209,1092 local= dis= en= dw=None de=None +N xy=-357,3287 local= dis= en= dw=None de=None +N xy=-634,6125 local= dis= en= dw=None de=None +C to=11 man=2048 remote=None sg=1 uc=None cid=1 +L id=11 name=None in=None eg=3 dir=1 share=4 type=2 attr=0 man=None +N xy=-3681,613 local= dis= en= dw=-125 de=None +N xy=485,-693 local= dis= en= dw=None de=None +L id=1 name=None in=1 eg=None dir=2 share=96 type=0 attr=0 man=None +N xy=-4067,1818 local= dis= en= dw=None de=None +N xy=-374,744 local= dis= en= dw=None de=None +N xy=-310,1046 local= dis= en= dw=None de=None +N xy=-230,1281 local= dis= en= dw=None de=None +N xy=-141,1497 local= dis= en= dw=None de=None +N xy=-149,1580 local= dis= en= dw=None de=None +N xy=-651,5976 local= dis= en= dw=None de=None +C to=10 man=2048 remote=None sg=1 uc=None cid=2 +L id=10 name=None in=None eg=3 dir=1 share=96 type=0 attr=0 man=None +N xy=-3441,793 local= dis= en= dw=None de=None +N xy=485,-693 local= dis= en= dw=None de=None +L id=8 name=None in=3 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=-2717,984 local= dis= en= dw=-25 de=None +N xy=242,-397 local= dis= en= dw=None de=None +N xy=916,-1328 local= dis= en= dw=None de=None +N xy=2451,-3353 local= dis= en= dw=None de=None +N xy=951,-1225 local= dis= en= dw=None de=None +C to=6 man=512 remote=None sg=2 uc=None cid=3 +L id=6 name=None in=None eg=2 dir=1 share=68 type=0 attr=0 man=None +N xy=-2683,2897 local= dis= en= dw=225 de=None +N xy=411,283 local= dis= en= dw=None de=None +N xy=538,371 local= dis= en= dw=None de=None +L id=9 name=None in=3 eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-2619,1381 local= dis= en= dw=-125 de=None +N xy=238,-390 local= dis= en= dw=None de=None +N xy=839,-1346 local= dis= en= dw=None de=None +N xy=1008,-1408 local= dis= en= dw=None de=None +N xy=1487,-1979 local= dis= en= dw=None de=None +N xy=1098,-1410 local= dis= en= dw=None de=None +C to=5 man=2048 remote=None sg=3 uc=None cid=4 +C to=6 man=512 remote=None sg=2 uc=None cid=5 +L id=5 name=None in=None eg=1 dir=1 share=4 type=2 attr=0 man=None +N xy=-3711,3491 local= dis= en= dw=-125 de=None +N xy=-118,469 local= dis= en= dw=None de=None +N xy=-95,510 local= dis= en= dw=None de=None +L id=7 name=None in=3 eg=None dir=2 share=96 type=0 attr=0 man=None +N xy=-2994,814 local= dis= en= dw=-25 de=None +N xy=247,-405 local= dis= en= dw=None de=None +N xy=924,-1340 local= dis= en= dw=None de=None +N xy=2428,-3303 local= dis= en= dw=None de=None +N xy=363,-471 local= dis= en= dw=None de=None +N xy=640,-779 local= dis= en= dw=None de=None +C to=4 man=2048 remote=None sg=3 uc=None cid=6 +L id=4 name=None in=None eg=1 dir=1 share=96 type=0 attr=0 man=None +N xy=-3980,3419 local= dis= en= dw=None de=None +N xy=-120,478 local= dis= en= dw=None de=None +N xy=-97,520 local= dis= en= dw=None de=None +L id=12 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-2652,1712 local= dis= en= dw=None de=None +N xy=271,127 local= dis= en= dw=None de=None +C to=13 man=None remote=None sg=4 uc=None cid=12 +L id=13 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-4055,1055 local= dis= en= dw=None de=None +N xy=-271,-127 local= dis= en= dw=None de=None +C to=12 man=None remote=None sg=4 uc=None cid=13 +#hex 02050012346c08000304c890c195c64d5b5c7300030100022ac7c7a8389ef572014534240324200000199b50cc1808f38b1e5c807c676f18f952ee11f1a1fea4e0861aa276811138fd611600587400030088072110000002b900ea3011e700353b04e7c88240424200000199b6dce6408f38b1d9c807c586f30f920ee31f141fea4e0561a9276791138fd5d1600587c0003010807a110000002b9246ebc11e700353b04e7c88240524200000199b8ad0b208f38b1c9c847c486f40f8eeee61f0e5fea4e0261a9276711130fd5916015884000301ac46000181040410880000015ca3f9a608f3801a9d8273e440808a110000002b96af7dc11e700353b04e7c88240b442000000571d7c37823ce006a762ad88446502c1a0001c144018888000001670131d7023ce0fb1a50ec56f84818884000000aa643d2c11e700373b156c422328160f0000e0c200e444000000b37d28a1c11e707d8d28762b7c240d44200000055295c5008f3801d9d4ab62111942b088000707585100068408041110000002cde6e1600479c1f634a1d8adf04028c880000011f325e3c08ec100c403d24802284000000b2a9bc23811e75bcd3166800a473afb2445871000084ac3c80004296204000216b11200010c585400018b92010a10000008cb09f0250479c4f0bafa075fce43e54f8233801a29443e34fa00292c21000083560e800041cb06400020f240934200000087fd26b5061a9f32c43e2a2a926300681960c4001020b07200081158410004092c45000384d6208001c28b0f4000e15587200070b0209203040800009a074bf208199c0509848c00099030408000099eb539a07ea64041440608100001344da7180fbcc80a150a1900152060810000134a89790104b38082c80c1020000268d30788209670142e1634002e40c10200002681d27e81f7990106101820400004d2864f603fb3202864306c006481820400004d3121060406ce020d202040800007416c37821a98414362a38003640810200001597e8201e667c107101020400002a5dd2003d2cf828745874007481020400003997e22c10bcc2083c80810200001d5b7bf8086261050f8b8f000f90204080000744ecb581e867c1081010204000039a9661c0f433e0a21181f002120408100000e8e3e2604313082112010408000076bdee5821998414463240004640410200001d64324a079d9f042440208100000eadb837043530828946884009480820400002c7fcb703cccf8213302040800007dd2f3d02627b4144e0844084ec0810200001e603ea6067a13051302118214201040800007e57e7c82627ac14520a48005240410200001e24bc76067a15042a40408100000fd8f057033d0a028ac3c9400ac81020400004c661fc504c4f602162020408000098a5be020981e3051688130016902040800007edc7df01a087410b901020400003da3c5140cfc2e0a2f1127002f20408100000fafd0c004c2f48218202040800007dab80b82617a814622450006240810200001ee6a120067e16043240208100000fd1f170033f0b828cc4ca400cc80820400004c9ea08204c2f4821a201040800007a92935819f868146a2854006a40410200001f5223660985e6 +station=1193068 rev=0 +I key=3/256 rev=1 name=HH02\256\9 ref=535471696,99883236 elev=None width=325 speeds= +L id=3 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=5793,1548 local= dis= en= dw=-25 de=None +N xy=1145,-224 local= dis= en= dw=None de=None +N xy=3175,-541 local= dis= en= dw=None de=None +N xy=3241,-287 local= dis= en= dw=None de=None +N xy=3176,-11 local= dis= en= dw=None de=None +N xy=6177,426 local= dis= en= dw=None de=None +N xy=6976,551 local= dis= en= dw=None de=None +N xy=3760,352 local= dis= en= dw=None de=None +C to=14 man=2048 remote=None sg=6 uc=None cid=1 +L id=14 name=None in=None eg=4 dir=1 share=64 type=0 attr=0 man=None +N xy=513,2700 local= dis= en= dw=-25 de=None +N xy=-486,118 local= dis= en= dw=None de=None +N xy=-561,136 local= dis= en= dw=None de=None +L id=4 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=5851,1842 local= dis= en= dw=-25 de=None +N xy=1142,-224 local= dis= en= dw=None de=None +N xy=3160,-538 local= dis= en= dw=None de=None +N xy=3216,-285 local= dis= en= dw=None de=None +N xy=3152,-11 local= dis= en= dw=None de=None +N xy=6165,425 local= dis= en= dw=None de=None +N xy=6972,551 local= dis= en= dw=None de=None +N xy=3758,352 local= dis= en= dw=None de=None +C to=15 man=2048 remote=None sg=6 uc=None cid=2 +L id=15 name=None in=None eg=4 dir=1 share=64 type=0 attr=0 man=None +N xy=584,2991 local= dis= en= dw=-25 de=None +N xy=-486,118 local= dis= en= dw=None de=None +N xy=-561,136 local= dis= en= dw=None de=None +L id=5 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=5909,2137 local= dis= en= dw=-25 de=None +N xy=1138,-223 local= dis= en= dw=None de=None +N xy=3144,-536 local= dis= en= dw=None de=None +N xy=3191,-282 local= dis= en= dw=None de=None +N xy=3129,-11 local= dis= en= dw=None de=None +N xy=6153,425 local= dis= en= dw=None de=None +N xy=6968,550 local= dis= en= dw=None de=None +N xy=3756,352 local= dis= en= dw=None de=None +C to=16 man=2048 remote=None sg=6 uc=None cid=3 +C to=17 man=2048 remote=None sg=6 uc=None cid=4 +L id=16 name=None in=None eg=4 dir=1 share=64 type=0 attr=0 man=None +N xy=655,3283 local= dis= en= dw=-25 de=None +N xy=-486,118 local= dis= en= dw=None de=None +N xy=-561,136 local= dis= en= dw=None de=None +L id=17 name=None in=None eg=4 dir=1 share=64 type=0 attr=0 man=None +N xy=725,3575 local= dis= en= dw=-25 de=None +N xy=-486,118 local= dis= en= dw=None de=None +N xy=-561,136 local= dis= en= dw=None de=None +L id=11 name=None in=4 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=471,2159 local= dis= en= dw=-25 de=None +N xy=-486,118 local= dis= en= dw=None de=None +N xy=-9456,2250 local= dis= en= dw=None de=None +C to=6 man=2048 remote=None sg=7 uc=None cid=5 +L id=6 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=6153,942 local= dis= en= dw=-25 de=None +N xy=492,-91 local= dis= en= dw=None de=None +N xy=709,-132 local= dis= en= dw=None de=None +L id=12 name=None in=4 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=400,1867 local= dis= en= dw=-25 de=None +N xy=-485,118 local= dis= en= dw=None de=None +N xy=-9456,2250 local= dis= en= dw=None de=None +C to=7 man=2048 remote=None sg=7 uc=None cid=6 +L id=7 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=6098,647 local= dis= en= dw=-25 de=None +N xy=492,-91 local= dis= en= dw=None de=None +N xy=709,-132 local= dis= en= dw=None de=None +L id=13 name=None in=4 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=330,1576 local= dis= en= dw=-25 de=None +N xy=-483,117 local= dis= en= dw=None de=None +N xy=-9456,2250 local= dis= en= dw=None de=None +C to=8 man=2048 remote=None sg=7 uc=None cid=7 +C to=10 man=512 remote=None sg=13 uc=None cid=8 +L id=8 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=6043,352 local= dis= en= dw=-25 de=None +N xy=492,-91 local= dis= en= dw=None de=None +N xy=709,-132 local= dis= en= dw=None de=None +L id=10 name=None in=None eg=3 dir=1 share=64 type=0 attr=0 man=None +N xy=3273,-226 local= dis= en= dw=None de=None +N xy=59,-496 local= dis= en= dw=None de=None +N xy=64,-535 local= dis= en= dw=None de=None +L id=1 name=None in=1 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=2715,4238 local= dis= en= dw=-25 de=None +N xy=-204,2227 local=5 dis= en= dw=None de=None +N xy=-789,6948 local= dis= en= dw=None de=None +C to=14 man=512 remote=None sg=1 uc=None cid=9 +C to=15 man=512 remote=None sg=1 uc=None cid=10 +C to=16 man=512 remote=None sg=1 uc=None cid=11 +C to=17 man=512 remote=None sg=1 uc=None cid=12 +C to=10 man=2048 remote=None sg=3 uc=None cid=23 +L id=2 name=None in=1 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=3111,4133 local= dis= en= dw=-25 de=None +N xy=-123,1405 local= dis= en= dw=None de=None +N xy=-41,462 local= dis= en= dw=None de=None +N xy=-14,159 local= dis= en= dw=-100 de=None +N xy=-408,148 local= dis= en= dw=None de=None +N xy=-15,159 local=5 dis= en= dw=None de=None +C to=8 man=1024 remote=None sg=2 uc=None cid=13 +C to=7 man=1024 remote=None sg=2 uc=None cid=14 +C to=6 man=1024 remote=None sg=2 uc=None cid=15 +L id=9 name=None in=3 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=4050,-662 local= dis= en= dw=None de=None +N xy=53,-525 local= dis= en= dw=None de=None +N xy=2172,-11179 local= dis= en= dw=None de=None +N xy=1584,-7776 local= dis= en= dw=None de=None +C to=6 man=512 remote=None sg=8 uc=None cid=16 +C to=7 man=512 remote=None sg=8 uc=None cid=17 +C to=8 man=512 remote=None sg=8 uc=None cid=18 +C to=17 man=1024 remote=None sg=14 uc=None cid=19 +C to=16 man=1024 remote=None sg=14 uc=None cid=20 +C to=15 man=1024 remote=None sg=14 uc=None cid=21 +C to=14 man=1024 remote=None sg=14 uc=None cid=22 +L id=18 name=None in=None eg=None dir=2 share=12 type=1 attr=512 man=None +N xy=5134,1529 local= dis= en= dw=None de=None +N xy=6,-100 local= dis= en= dw=None de=None +C to=19 man=None remote=None sg=9 uc=None cid=24 +L id=19 name=None in=None eg=None dir=1 share=12 type=1 attr=512 man=None +N xy=5078,2509 local= dis= en= dw=None de=None +N xy=-6,100 local= dis= en= dw=None de=None +L id=20 name=None in=None eg=None dir=2 share=12 type=1 attr=512 man=None +N xy=5197,2502 local= dis= en= dw=None de=None +N xy=-9,100 local= dis= en= dw=None de=None +C to=21 man=None remote=None sg=10 uc=None cid=25 +L id=21 name=None in=None eg=None dir=1 share=12 type=1 attr=512 man=None +N xy=5288,1508 local= dis= en= dw=None de=None +N xy=9,-100 local= dis= en= dw=None de=None +L id=22 name=None in=None eg=None dir=2 share=12 type=1 attr=512 man=None +N xy=5225,241 local= dis= en= dw=None de=None +N xy=9,-100 local= dis= en= dw=None de=None +C to=23 man=None remote=None sg=11 uc=None cid=26 +L id=23 name=None in=None eg=None dir=1 share=12 type=1 attr=512 man=None +N xy=5134,1277 local= dis= en= dw=None de=None +N xy=-9,100 local= dis= en= dw=None de=None +L id=24 name=None in=None eg=None dir=2 share=12 type=1 attr=512 man=None +N xy=5281,1270 local= dis= en= dw=None de=None +N xy=-3,100 local= dis= en= dw=None de=None +C to=25 man=None remote=None sg=12 uc=None cid=27 +L id=25 name=None in=None eg=None dir=1 share=12 type=1 attr=512 man=None +N xy=5316,262 local= dis= en= dw=None de=None +N xy=3,-100 local= dis= en= dw=None de=None +L id=26 name=None in=None eg=None dir=2 share=8 type=1 attr=512 man=None +N xy=1046,2159 local= dis= en= dw=None de=None +N xy=26,97 local= dis= en= dw=None de=None +C to=27 man=None remote=None sg=21 uc=None cid=28 +L id=27 name=None in=None eg=None dir=1 share=8 type=1 attr=512 man=None +N xy=815,1284 local= dis= en= dw=None de=None +N xy=-26,-97 local= dis= en= dw=None de=None +L id=28 name=None in=None eg=None dir=2 share=8 type=1 attr=512 man=None +N xy=605,1312 local= dis= en= dw=None de=None +N xy=-23,-97 local= dis= en= dw=None de=None +C to=29 man=None remote=None sg=22 uc=None cid=29 +L id=29 name=None in=None eg=None dir=1 share=8 type=1 attr=512 man=None +N xy=815,2187 local= dis= en= dw=None de=None +N xy=23,97 local= dis= en= dw=None de=None +L id=30 name=None in=None eg=None dir=2 share=8 type=1 attr=512 man=None +N xy=1389,3580 local= dis= en= dw=None de=None +N xy=24,97 local= dis= en= dw=None de=None +C to=31 man=None remote=None sg=23 uc=None cid=30 +L id=31 name=None in=None eg=None dir=1 share=8 type=1 attr=512 man=None +N xy=1102,2411 local= dis= en= dw=None de=None +N xy=-24,-97 local= dis= en= dw=None de=None +L id=32 name=None in=None eg=None dir=2 share=8 type=1 attr=512 man=None +N xy=850,2439 local= dis= en= dw=None de=None +N xy=-24,-97 local= dis= en= dw=None de=None +C to=33 man=None remote=None sg=24 uc=None cid=31 +L id=33 name=None in=None eg=None dir=1 share=8 type=1 attr=512 man=None +N xy=1137,3622 local= dis= en= dw=None de=None +N xy=24,97 local= dis= en= dw=None de=None +L id=34 name=None in=None eg=None dir=2 share=4 type=1 attr=512 man=None +N xy=1725,3531 local= dis= en= dw=None de=None +N xy=25,97 local= dis= en= dw=None de=None +C to=35 man=None remote=None sg=25 uc=None cid=32 +L id=35 name=None in=None eg=None dir=1 share=4 type=1 attr=512 man=None +N xy=1424,2341 local= dis= en= dw=None de=None +N xy=-25,-97 local= dis= en= dw=None de=None +L id=36 name=None in=None eg=None dir=2 share=4 type=1 attr=512 man=None +N xy=1389,2103 local= dis= en= dw=None de=None +N xy=26,97 local= dis= en= dw=None de=None +C to=37 man=None remote=None sg=26 uc=None cid=33 +L id=37 name=None in=None eg=None dir=1 share=4 type=1 attr=512 man=None +N xy=1151,1207 local= dis= en= dw=None de=None +N xy=-26,-97 local= dis= en= dw=None de=None +L id=38 name=None in=None eg=None dir=3 share=8 type=1 attr=512 man=None +N xy=3538,3706 local= dis= en= dw=None de=None +N xy=98,-19 local= dis= en= dw=None de=None +C to=39 man=None remote=None sg=4 uc=None cid=34 +L id=39 name=None in=None eg=None dir=3 share=8 type=1 attr=512 man=None +N xy=2432,3923 local= dis= en= dw=None de=None +N xy=-98,19 local= dis= en= dw=None de=None +C to=38 man=None remote=None sg=4 uc=None cid=35 +L id=40 name=None in=None eg=None dir=2 share=4 type=1 attr=512 man=None +N xy=3671,3321 local= dis= en= dw=None de=None +N xy=98,-21 local= dis= en= dw=None de=None +C to=41 man=None remote=None sg=5 uc=None cid=36 +L id=41 name=None in=None eg=None dir=1 share=4 type=1 attr=512 man=None +N xy=2194,3643 local= dis= en= dw=None de=None +N xy=-98,21 local= dis= en= dw=None de=None +L id=42 name=None in=None eg=None dir=2 share=8 type=1 attr=512 man=None +N xy=3783,87 local= dis= en= dw=None de=None +N xy=-98,20 local= dis= en= dw=None de=None +C to=43 man=None remote=None sg=15 uc=None cid=37 +L id=43 name=None in=None eg=None dir=1 share=8 type=1 attr=512 man=None +N xy=4504,-59 local= dis= en= dw=None de=None +N xy=98,-20 local= dis= en= dw=None de=None +L id=44 name=None in=None eg=None dir=2 share=8 type=1 attr=512 man=None +N xy=4427,-255 local= dis= en= dw=None de=None +N xy=96,-29 local= dis= en= dw=None de=None +C to=45 man=None remote=None sg=16 uc=None cid=38 +L id=45 name=None in=None eg=None dir=1 share=8 type=1 attr=512 man=None +N xy=3804,-66 local= dis= en= dw=None de=None +N xy=-96,29 local= dis= en= dw=None de=None +L id=46 name=None in=None eg=None dir=2 share=8 type=1 attr=512 man=None +N xy=2887,325 local= dis= en= dw=None de=None +N xy=-97,23 local= dis= en= dw=None de=None +C to=47 man=None remote=None sg=17 uc=None cid=39 +L id=47 name=None in=None eg=None dir=1 share=8 type=1 attr=512 man=None +N xy=3454,192 local= dis= en= dw=None de=None +N xy=97,-23 local= dis= en= dw=None de=None +L id=48 name=None in=None eg=None dir=2 share=8 type=1 attr=512 man=None +N xy=3499,23 local= dis= en= dw=None de=None +N xy=97,-22 local= dis= en= dw=None de=None +C to=49 man=None remote=None sg=18 uc=None cid=40 +L id=49 name=None in=None eg=None dir=1 share=8 type=1 attr=512 man=None +N xy=2970,144 local= dis= en= dw=None de=None +N xy=-97,22 local= dis= en= dw=None de=None +L id=50 name=None in=None eg=None dir=2 share=4 type=1 attr=512 man=None +N xy=3727,368 local= dis= en= dw=None de=None +N xy=-97,23 local= dis= en= dw=None de=None +C to=51 man=None remote=None sg=19 uc=None cid=41 +L id=51 name=None in=None eg=None dir=1 share=4 type=1 attr=512 man=None +N xy=4730,130 local= dis= en= dw=None de=None +N xy=97,-23 local= dis= en= dw=None de=None +L id=52 name=None in=None eg=None dir=2 share=4 type=1 attr=512 man=None +N xy=2706,619 local= dis= en= dw=None de=None +N xy=-97,26 local= dis= en= dw=None de=None +C to=53 man=None remote=None sg=20 uc=None cid=42 +L id=53 name=None in=None eg=None dir=1 share=4 type=1 attr=512 man=None +N xy=3400,435 local= dis= en= dw=None de=None +N xy=97,-26 local= dis= en= dw=None de=None +#hex 020500ff3b6208000308cd8342fc9a94efb067719b16171aae6500010001042ac7d5cd389e98d881450d240314200000057fb8d632200bce2061ad419ea25e00b0c8000101100c22200000059f074a9208f383d45501c3ae04804284000000b3028afdd1005e7102f56a8cf4b2f10585c00008108059110000002cf9d66620479c1ea2a80e1d70240e14021000000afe339584401544436946e3336cd18161f0000406201e4404200000166fb9320822a20f5136070eac12049210000002da0a08c79440179c983032e44c65da950583400018208030910000002cc6471bc0479c01555001829524082420000005b405716c08802f393038666c98e9b4ca0b0580003051005122000000598a2612208f3802aaa003052a480e484000000b3fb5a9011005e726084ccb931dd694c1609000060c2008244000000b30d2bda811e70055540060a54900450800000166133693a200bce205cad619e8e5e40b0a8000107100a22200000059f6e4ef808f383d45501c3ae0 +station=16726882 rev=0 +I key=1/1 rev=2 name=MAP_ITS_03\310\5.2 ref=535478938,99835825 elev=None width=325 speeds= +L id=3 name=None in=1 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=4024,2758 local=1 dis= en= dw=-25 de=None +N xy=-1951,724 local= dis= en= dw=None de=None +N xy=-2136,752 local= dis= en= dw=None de=None +C to=12 man=2048 remote=None sg=1 uc=None cid=1 +L id=12 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=7694,1353 local= dis= en= dw=-25 de=None +N xy=468,-172 local= dis= en= dw=None de=None +N xy=391,-144 local= dis= en= dw=None de=None +L id=2 name=None in=1 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=4136,3063 local=1 dis= en= dw=-25 de=None +N xy=-1954,725 local= dis= en= dw=None de=None +N xy=-2139,753 local= dis= en= dw=None de=None +C to=11 man=2048 remote=None sg=1 uc=None cid=2 +L id=11 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=7797,1634 local= dis= en= dw=-25 de=None +N xy=468,-172 local= dis= en= dw=None de=None +N xy=391,-144 local= dis= en= dw=None de=None +L id=14 name=None in=1 eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=3865,2392 local=1 dis= en= dw=-175 de=None +N xy=-1612,567 local= dis= en= dw=None de=None +N xy=-2451,838 local= dis= en= dw=None de=None +C to=15 man=2048 remote=None sg=2 uc=None cid=3 +L id=15 name=None in=None eg=2 dir=1 share=4 type=2 attr=0 man=None +N xy=6108,1601 local= dis= en= dw=-175 de=None +N xy=468,-202 local= dis= en= dw=None de=None +N xy=391,-168 local= dis= en= dw=None de=None +L id=9 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=8352,3193 local=1 dis= en= dw=-25 de=None +N xy=4192,-1678 local= dis= en= dw=None de=None +N xy=4503,-1387 local= dis= en= dw=None de=None +C to=6 man=2048 remote=None sg=3 uc=None cid=4 +L id=6 name=None in=None eg=1 dir=1 share=64 type=0 attr=0 man=None +N xy=4497,4540 local= dis= en= dw=-25 de=None +N xy=-470,168 local= dis= en= dw=None de=None +N xy=-416,149 local= dis= en= dw=None de=None +L id=8 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=8235,2912 local=1 dis= en= dw=-25 de=None +N xy=4152,-1637 local= dis= en= dw=None de=None +N xy=4563,-1435 local= dis= en= dw=None de=None +C to=5 man=2048 remote=None sg=3 uc=None cid=5 +L id=5 name=None in=None eg=1 dir=1 share=64 type=0 attr=0 man=None +N xy=4420,4241 local= dis= en= dw=-25 de=None +N xy=-470,168 local= dis= en= dw=None de=None +N xy=-416,149 local= dis= en= dw=None de=None +L id=7 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=8117,2624 local=1 dis= en= dw=-25 de=None +N xy=4162,-1641 local= dis= en= dw=None de=None +N xy=4573,-1453 local= dis= en= dw=None de=None +C to=4 man=2048 remote=None sg=3 uc=None cid=6 +L id=4 name=None in=None eg=1 dir=1 share=64 type=0 attr=0 man=None +N xy=4306,3946 local= dis= en= dw=-25 de=None +N xy=-470,168 local= dis= en= dw=None de=None +N xy=-416,149 local= dis= en= dw=None de=None +L id=1 name=None in=1 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=4249,3367 local=1 dis= en= dw=-25 de=None +N xy=-1956,726 local= dis= en= dw=None de=None +N xy=-2141,754 local= dis= en= dw=None de=None +C to=10 man=2048 remote=None sg=1 uc=None cid=7 +L id=10 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=7900,1916 local= dis= en= dw=-25 de=None +N xy=468,-172 local= dis= en= dw=None de=None +N xy=391,-144 local= dis= en= dw=None de=None +#hex 0205001232f808000309cd8342fc9a94efb16f7d8b768d6fb160b99c000c1b441aab20465ce27b0616200005142c9018500840000029cdab9811831be7757237397f3c160700002022006640420000014eca07808c18a1a4d701130f2480a28400000107be3e71bdfb7b02763f7313a5f2c02c0a00004084008c880000010fd80c408c00f14389e912009a100000022e1e3902466a17006191ec0583c000101880389100000022dc876e13eb63681e7ff09010d0084000002af164ba0460c9109184e38b68e58161100004082010240420000015767bcb8230627d6c7703d9f20205b020400000058a2ba0899615400405060185820630204000000388cc701917d014160818081ac08100000016992fc21847b50010141c061a081cc08100000017afb170258840141a081c +station=1192696 rev=0 +I key=3/1745 rev=3 name=MAP_ITS_17_1745_10.3 ref=535509550,99856651 elev=0 width=325 speeds= +L id=6 name=None in=1 eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=621,-282 local= dis= en= dw=-125 de=None +N xy=-99,2745 local= dis= en= dw=None de=None +N xy=-398,4047 local= dis= en= dw=None de=None +C to=3 man=2048 remote=None sg=1 uc=None cid=1 +L id=3 name=None in=None eg=3 dir=1 share=4 type=2 attr=0 man=None +N xy=714,-964 local= dis= en= dw=-125 de=None +N xy=105,-1188 local= dis= en= dw=None de=None +N xy=38,-391 local= dis= en= dw=None de=None +L id=5 name=None in=1 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=892,-25 local= dis= en= dw=None de=None +N xy=-130,3032 local= dis= en= dw=None de=None +N xy=-157,1907 local= dis= en= dw=None de=None +N xy=-181,1624 local= dis= en= dw=None de=None +C to=2 man=2048 remote=None sg=1 uc=None cid=2 +L id=2 name=None in=None eg=3 dir=1 share=64 type=0 attr=0 man=None +N xy=984,-926 local= dis= en= dw=None de=None +N xy=48,-497 local= dis= en= dw=None de=None +N xy=113,-1070 local= dis= en= dw=None de=None +L id=1 name=None in=3 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=1566,-1136 local= dis= en= dw=None de=None +N xy=821,-7456 local= dis= en= dw=None de=None +N xy=50,-532 local= dis= en= dw=None de=None +C to=7 man=2048 remote=None sg=2 uc=None cid=3 +L id=7 name=None in=None eg=1 dir=1 share=64 type=0 attr=0 man=None +N xy=1480,-146 local= dis= en= dw=None de=None +N xy=-42,1133 local= dis= en= dw=None de=None +N xy=-25,508 local= dis= en= dw=None de=None +L id=4 name=None in=3 eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=1814,-838 local= dis= en= dw=-125 de=None +N xy=530,-5081 local= dis= en= dw=None de=None +N xy=365,-3178 local= dis= en= dw=None de=None +C to=8 man=2048 remote=None sg=2 uc=None cid=4 +L id=8 name=None in=None eg=1 dir=1 share=4 type=2 attr=0 man=None +N xy=1743,-105 local= dis= en= dw=-125 de=None +N xy=-42,1143 local= dis= en= dw=None de=None +N xy=-20,484 local= dis= en= dw=None de=None +L id=11 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=1105,-560 local= dis= en= dw=None de=None +N xy=101,21 local=4 dis= en= dw=None de=None +C to=12 man=None remote=None sg=3 uc=None cid=11 +L id=12 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=547,-626 local= dis= en= dw=None de=None +N xy=-111,-12 local= dis= en= dw=None de=None +C to=11 man=None remote=None sg=4 uc=None cid=12 +L id=13 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=1330,-520 local= dis= en= dw=None de=None +N xy=-124,-19 local=4 dis= en= dw=None de=None +C to=14 man=None remote=None sg=3 uc=None cid=13 +L id=14 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=1887,-466 local= dis= en= dw=None de=None +N xy=88,16 local= dis= en= dw=None de=None +C to=13 man=None remote=None sg=4 uc=None cid=14 +#hex 020500122a7408000308cd8342fc9a94efb0677d9b1657db2e6700010001062ac7e6c6389e8341014524240624200000059ea6242680020f415a1ec1588e2b0f800010c58190001008807a1100000024c39963a0047520009a34400c488800001275dcc1282adf5432370612029210000002cf37d0e1400107a6ac8f5e2c3f05874000086880721100000024c1d54ff004d518015aa09010908000001678e47d7a00083d55607af462682c36000043840350880000011fff07a800a6a209f39744818884000008b2e9d3f290004010d4a213ca82111ad0e8406d62116d4d68858e97467aa96a885aa924436b45c23d796a1058d3a083a6a50464733833c0cbd4669e94f0c8072c4103fcbb04b1c511588900018cac26000103c4044c8880000126576511013e0d00a711e201244400000093af12d881eb2b01e74b60902d1080000115fc181fa80020096a4109f540888ce878201eb208b6e6b442cb4b833d54b5442d549221b4a2e11eb4b5082d69cc41d3528232199c19dea5f03346ca8c63f7963881d25e025263702c2200010404020888000001276bc64a03d65603ce96c12052210000022bfb788c50004014d442140a801118d0f0401566116e4d60859e97067aa96a885aa924436545e23d596b105cd39083a2a50463f33a33b9cbe8667c9540c7d52ca10344bd048d4700583c000208880391100000024ef2cdc507aaac079d2d8241034220000459a259348800204f8341af5cf8611763104bd05d624aa065128a0f7894104006bc13240944056c49e62aa158c3a828600085500c622eb8730895ccd000030ba13ca530488e430eb0920005125841000289ac1c800145161a8000a34b0e400051b587a00028e2c0e00020256568000a3a4804284400003b386364310004156faa39c2e57035afc482b6f2813cf0819cdb785571ada1979ba9161e4000c04b0e200060358690003022c460001c156564000c164802284400008b399d62a10004156faa2a42e231d0a74fa39696cb07321e5992446dae872dbc7a8ebb98b61552610872ffbd15a5e5087ccf660f91e9e1c977e43c4680876ec760f448f61f5b1bcd60e8000c0cb084000607584a0003042ca9000182840ad08084000002ccd297ba0460c01c590010ab6102a22021000000b38ab28f0118307acb383d159810498102000000ced41692400104bef10084c04104d8102000000cdbf17ed400103430f008480810518102000000cd5a8a54400104baee008540c10558102000000cc7bcbaa4001034712008501010590084000000cedf14c3400104bef08085c14005c8084000000cd63565e400103410d020c2010800000198af19ba8002068a20010c83000c901080000019aee16ac80020979dd042c604080000033c1c4df11005e7043d2f828b4245410b58102000000ceb84f91440179c0f13420a2c0a16042e604080000033a813b591005e7043f2f828bc2c5c10bd8102000000ce568b4e440179c0f0b420a2e0c18043060408000003326059991005e704412f828c4347810c58102000000cc4c12e7440179c0f53720a300e1f04326040800000330d948d51005e704432f028cc3c8010cd8102000000cbe80ebb440179c0efb440a32102100346021000004b46d8a439011511e0c1d8a4cb65b8926d06c5e07ab22d1f7516880fe5da278bab400f658c450f407da2e614f600356021000000b6a9c1bb5811511071d308806ee200 +station=1190516 rev=0 +I key=1/1 rev=3 name=MAP_ITS_03_312_6.3 ref=535487628,99824770 elev=None width=325 speeds= +L id=6 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=7500,-3565 local=1 dis= en= dw=None de=None +N xy=464,-166 local= dis= en= dw=None de=None +N xy=2821,-953 local= dis= en= dw=None de=None +C to=15 man=2048 remote=None sg=1 uc=None cid=12 +C to=3 man=512 remote=None sg=2 uc=None cid=1 +L id=15 name=None in=None eg=4 dir=1 share=64 type=0 attr=0 man=None +N xy=4326,-2502 local= dis= en= dw=None de=None +N xy=-477,164 local= dis= en= dw=None de=None +N xy=-503,141 local= dis= en= dw=None de=None +L id=3 name=None in=None eg=1 dir=1 share=68 type=0 attr=0 man=None +N xy=6894,-2011 local= dis= en= dw=None de=None +N xy=173,469 local= dis= en= dw=None de=None +N xy=141,524 local= dis= en= dw=None de=None +L id=5 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=7391,-3871 local=1 dis= en= dw=None de=None +N xy=467,-167 local= dis= en= dw=None de=None +N xy=2801,-961 local= dis= en= dw=None de=None +C to=14 man=2048 remote=None sg=1 uc=None cid=13 +L id=14 name=None in=None eg=4 dir=1 share=64 type=0 attr=0 man=None +N xy=4213,-2817 local= dis= en= dw=None de=None +N xy=-474,163 local= dis= en= dw=None de=None +N xy=-491,168 local= dis= en= dw=None de=None +L id=4 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=7282,-4177 local=1 dis= en= dw=None de=None +N xy=469,-168 local= dis= en= dw=None de=None +N xy=2804,-947 local= dis= en= dw=None de=None +C to=13 man=2048 remote=None sg=1 uc=None cid=14 +L id=13 name=None in=None eg=4 dir=1 share=64 type=0 attr=0 man=None +N xy=4092,-3116 local= dis= en= dw=None de=None +N xy=-471,162 local= dis= en= dw=None de=None +N xy=-525,186 local= dis= en= dw=None de=None +L id=12 name=None in=4 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=3741,-4150 local=1 dis= en= dw=None de=None +N xy=-479,165 local= dis= en= dw=None de=None +N xy=-1732,642 local= dis= en= dw=None de=None +N xy=-1483,541 local= dis= en= dw=None de=None +N xy=-1011,354 local= dis= en= dw=None de=None +N xy=-1318,429 local= dis= en= dw=None de=None +N xy=-1693,605 local= dis= en= dw=None de=None +N xy=-2134,725 local= dis= en= dw=None de=None +N xy=-1686,585 local= dis= en= dw=None de=None +N xy=-1611,558 local= dis= en= dw=None de=None +N xy=-1065,362 local= dis= en= dw=None de=None +N xy=-1871,628 local= dis= en= dw=None de=None +N xy=-1815,660 local= dis= en= dw=None de=None +N xy=-1245,412 local= dis= en= dw=None de=None +N xy=-2175,757 local= dis= en= dw=None de=None +N xy=-2402,670 local= dis= en= dw=None de=None +N xy=-3069,708 local= dis= en= dw=None de=None +N xy=-1921,374 local= dis= en= dw=None de=None +N xy=-669,81 local= dis= en= dw=None de=None +C to=17 man=512 remote=None sg=3 uc=None cid=25 +C to=9 man=2048 remote=None sg=4 uc=None cid=15 +L id=17 name=None in=None eg=3 dir=1 share=68 type=0 attr=0 man=None +N xy=4795,-5598 local= dis= en= dw=None de=None +N xy=-194,-460 local= dis= en= dw=None de=None +N xy=-178,-369 local= dis= en= dw=None de=None +L id=9 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=6897,-5278 local= dis= en= dw=None de=None +N xy=470,-168 local= dis= en= dw=None de=None +N xy=826,-296 local= dis= en= dw=None de=None +L id=11 name=None in=4 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=3846,-3843 local=1 dis= en= dw=None de=None +N xy=-475,164 local= dis= en= dw=None de=None +N xy=-1730,641 local= dis= en= dw=None de=None +N xy=-1485,542 local= dis= en= dw=None de=None +N xy=-1017,356 local= dis= en= dw=None de=None +N xy=-1317,429 local= dis= en= dw=None de=None +N xy=-1691,604 local= dis= en= dw=None de=None +N xy=-2134,725 local= dis= en= dw=None de=None +N xy=-1686,585 local= dis= en= dw=None de=None +N xy=-1612,558 local= dis= en= dw=None de=None +N xy=-1066,362 local= dis= en= dw=None de=None +N xy=-1867,627 local= dis= en= dw=None de=None +N xy=-1815,660 local= dis= en= dw=None de=None +N xy=-1247,412 local= dis= en= dw=None de=None +N xy=-2182,760 local= dis= en= dw=None de=None +N xy=-2419,675 local= dis= en= dw=None de=None +N xy=-3081,711 local= dis= en= dw=None de=None +N xy=-1932,376 local= dis= en= dw=None de=None +N xy=-695,110 local= dis= en= dw=None de=None +C to=8 man=2048 remote=None sg=4 uc=None cid=16 +L id=8 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=7006,-4972 local= dis= en= dw=None de=None +N xy=470,-168 local= dis= en= dw=None de=None +N xy=826,-296 local= dis= en= dw=None de=None +L id=10 name=None in=4 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=3951,-3535 local=1 dis= en= dw=None de=None +N xy=-471,162 local= dis= en= dw=None de=None +N xy=-1728,640 local= dis= en= dw=None de=None +N xy=-1487,542 local= dis= en= dw=None de=None +N xy=-1022,358 local= dis= en= dw=None de=None +N xy=-1316,428 local= dis= en= dw=None de=None +N xy=-1689,604 local= dis= en= dw=None de=None +N xy=-2134,725 local= dis= en= dw=None de=None +N xy=-1686,585 local= dis= en= dw=None de=None +N xy=-1614,559 local= dis= en= dw=None de=None +N xy=-1067,363 local= dis= en= dw=None de=None +N xy=-1863,626 local= dis= en= dw=None de=None +N xy=-1816,660 local= dis= en= dw=None de=None +N xy=-1249,413 local= dis= en= dw=None de=None +N xy=-2189,762 local= dis= en= dw=None de=None +N xy=-2436,680 local= dis= en= dw=None de=None +N xy=-3094,714 local= dis= en= dw=None de=None +N xy=-1944,378 local= dis= en= dw=None de=None +N xy=-742,112 local= dis= en= dw=None de=None +C to=7 man=2048 remote=None sg=4 uc=None cid=17 +L id=7 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=7115,-4667 local= dis= en= dw=None de=None +N xy=469,-168 local= dis= en= dw=None de=None +N xy=826,-296 local= dis= en= dw=None de=None +L id=16 name=None in=3 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=5195,-5724 local=1 dis= en= dw=None de=None +N xy=-194,-460 local= dis= en= dw=None de=None +N xy=-1065,-2109 local= dis= en= dw=None de=None +N xy=-837,-828 local= dis= en= dw=None de=None +N xy=-536,-1301 local= dis= en= dw=None de=None +N xy=-854,-1947 local= dis= en= dw=None de=None +N xy=-748,-1553 local= dis= en= dw=None de=None +N xy=-764,-1792 local= dis= en= dw=None de=None +N xy=-1087,-2488 local= dis= en= dw=None de=None +N xy=-752,-1701 local= dis= en= dw=None de=None +N xy=-781,-1707 local= dis= en= dw=None de=None +N xy=-314,-790 local= dis= en= dw=None de=None +N xy=-488,-1023 local= dis= en= dw=None de=None +N xy=-352,-826 local= dis= en= dw=None de=None +N xy=-2212,-4511 local= dis= en= dw=None de=None +N xy=-653,-1216 local= dis= en= dw=None de=None +N xy=-506,-419 local= dis= en= dw=None de=None +N xy=-539,-692 local= dis= en= dw=None de=None +N xy=-953,-1512 local= dis= en= dw=None de=None +C to=9 man=512 remote=None sg=5 uc=None cid=18 +C to=8 man=512 remote=None sg=5 uc=None cid=19 +C to=7 man=512 remote=None sg=5 uc=None cid=20 +C to=13 man=1024 remote=None sg=5 uc=None cid=26 +C to=14 man=1024 remote=None sg=5 uc=None cid=27 +C to=15 man=1024 remote=None sg=5 uc=None cid=28 +C to=3 man=2048 remote=None sg=8 uc=None cid=9 +C to=43 man=1024 remote=None sg=5 uc=None cid=29 +L id=2 name=None in=1 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=6243,-1780 local=1 dis= en= dw=None de=None +N xy=173,469 local= dis= en= dw=None de=None +N xy=901,2396 local= dis= en= dw=None de=None +N xy=363,905 local= dis= en= dw=None de=None +N xy=182,458 local= dis= en= dw=None de=None +N xy=121,388 local= dis= en= dw=None de=None +N xy=230,734 local= dis= en= dw=None de=None +N xy=696,1389 local= dis= en= dw=None de=None +N xy=188,746 local= dis= en= dw=None de=None +C to=15 man=512 remote=None sg=6 uc=None cid=2 +C to=14 man=512 remote=None sg=6 uc=None cid=3 +C to=13 man=512 remote=None sg=6 uc=None cid=4 +C to=17 man=2048 remote=None sg=7 uc=None cid=5 +C to=43 man=512 remote=None sg=6 uc=None cid=11 +L id=1 name=None in=1 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=6557,-1880 local=1 dis= en= dw=None de=None +N xy=173,469 local= dis= en= dw=None de=None +N xy=578,1571 local= dis= en= dw=None de=None +N xy=1065,2685 local= dis= en= dw=None de=None +N xy=722,2860 local= dis= en= dw=None de=None +N xy=801,3251 local= dis= en= dw=None de=None +N xy=1094,5818 local= dis= en= dw=None de=None +N xy=731,2293 local= dis= en= dw=None de=None +N xy=1500,2230 local= dis= en= dw=None de=None +N xy=676,1057 local= dis= en= dw=None de=None +N xy=607,957 local= dis= en= dw=None de=None +N xy=843,1185 local= dis= en= dw=None de=None +N xy=921,870 local= dis= en= dw=None de=None +N xy=913,847 local= dis= en= dw=None de=None +N xy=587,505 local= dis= en= dw=None de=None +N xy=785,257 local= dis= en= dw=None de=None +N xy=733,118 local= dis= en= dw=None de=None +N xy=836,123 local= dis= en= dw=None de=None +N xy=941,111 local= dis= en= dw=None de=None +C to=7 man=1024 remote=None sg=6 uc=None cid=6 +C to=8 man=1024 remote=None sg=6 uc=None cid=7 +C to=9 man=1024 remote=None sg=6 uc=None cid=8 +C to=42 man=1024 remote=None sg=6 uc=None cid=10 +L id=43 name=None in=None eg=4 dir=1 share=4 type=2 attr=0 man=None +N xy=4938,-2118 local= dis= en= dw=-125 de=None +N xy=-456,200 local= dis= en= dw=None de=None +N xy=-446,182 local= dis= en= dw=None de=None +L id=42 name=None in=None eg=2 dir=1 share=4 type=2 attr=0 man=None +N xy=6315,-5572 local= dis= en= dw=-125 de=None +N xy=470,-153 local= dis= en= dw=None de=None +N xy=465,-154 local= dis= en= dw=None de=None +L id=18 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=6992,-2414 local=1 dis= en= dw=None de=None +N xy=95,-30 local= dis= en= dw=None de=None +C to=19 man=None remote=None sg=None uc=None cid=1 +L id=19 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=5884,-2067 local=1 dis= en= dw=None de=None +N xy=-95,30 local= dis= en= dw=None de=None +C to=18 man=None remote=None sg=None uc=None cid=2 +L id=20 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=5482,-5548 local=1 dis= en= dw=None de=None +N xy=93,-36 local= dis= en= dw=None de=None +C to=21 man=None remote=None sg=None uc=None cid=3 +L id=21 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=4591,-5206 local=1 dis= en= dw=None de=None +N xy=-93,36 local= dis= en= dw=None de=None +C to=20 man=None remote=None sg=None uc=None cid=4 +L id=22 name=None in=None eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=7036,-2877 local=1 dis= en= dw=None de=None +N xy=95,-31 local= dis= en= dw=None de=None +C to=23 man=None remote=None sg=None uc=None cid=5 +L id=23 name=None in=None eg=None dir=1 share=4 type=2 attr=0 man=None +N xy=5517,-2466 local=1 dis= en= dw=None de=None +N xy=-96,26 local= dis= en= dw=None de=None +L id=24 name=None in=None eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=4446,-4899 local=1 dis= en= dw=None de=None +N xy=-94,32 local= dis= en= dw=None de=None +C to=25 man=None remote=None sg=None uc=None cid=6 +L id=25 name=None in=None eg=None dir=1 share=4 type=2 attr=0 man=None +N xy=5596,-5290 local=1 dis= en= dw=None de=None +N xy=94,-35 local= dis= en= dw=None de=None +L id=44 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=7196,-3204 local=1 dis= en= dw=-25 de=None +N xy=30,95 local= dis= en= dw=None de=None +C to=45 man=None remote=None sg=9 uc=None cid=21 +L id=45 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=6881,-4207 local=1 dis= en= dw=-25 de=None +N xy=-30,-95 local= dis= en= dw=None de=None +C to=44 man=None remote=None sg=10 uc=None cid=22 +L id=46 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=6785,-4394 local=1 dis= en= dw=-25 de=None +N xy=31,95 local= dis= en= dw=None de=None +C to=47 man=None remote=None sg=11 uc=None cid=23 +L id=47 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=6490,-5298 local=1 dis= en= dw=-25 de=None +N xy=-31,-95 local= dis= en= dw=None de=None +C to=46 man=None remote=None sg=12 uc=None cid=24 +L id=48 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=4704,-2458 local=1 dis= en= dw=-25 de=None +N xy=32,95 local= dis= en= dw=None de=None +C to=49 man=None remote=None sg=13 uc=None cid=30 +L id=49 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=4400,-3353 local=1 dis= en= dw=-25 de=None +N xy=-22,-71 local= dis= en= dw=None de=None +C to=48 man=None remote=None sg=14 uc=None cid=31 +L id=50 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=4313,-3531 local=1 dis= en= dw=-25 de=None +N xy=33,94 local= dis= en= dw=None de=None +C to=51 man=None remote=None sg=15 uc=None cid=32 +L id=51 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=4000,-4421 local=1 dis= en= dw=-25 de=None +N xy=-33,-94 local= dis= en= dw=None de=None +C to=50 man=None remote=None sg=16 uc=None cid=33 +L id=52 name=None in=None eg=None dir=3 share=4 type=2 attr=0 man=None +N xy=-25758,4324 local= dis= en= dw=-175 de=None +N xy=2096,-315 local= dis= en= dw=None de=None +N xy=4825,-1143 local= dis= en= dw=None de=None +N xy=5763,-1860 local= dis= en= dw=None de=None +N xy=854,-467 local= dis= en= dw=None de=None +N xy=3540,-1212 local= dis= en= dw=None de=None +N xy=505,-38 local= dis= en= dw=None de=None +N xy=7261,-2432 local= dis= en= dw=None de=None +N xy=2860,-955 local= dis= en= dw=None de=None +N xy=832,-19 local= dis= en= dw=None de=None +N xy=1633,-778 local= dis= en= dw=None de=None +L id=53 name=None in=None eg=None dir=3 share=4 type=2 attr=0 man=None +N xy=10864,-4394 local= dis= en= dw=-175 de=None +N xy=-1821,609 local= dis= en= dw=None de=None +N xy=-2021,904 local= dis= en= dw=None de=None +#hex 0205000161d3080003094d8342fc9a94efb0737dcb36f7d9335cd20008075210558f5971713d6892028a6e48042840000022c6c0b9c40010d27c262b5fd6d04692a02de8f01164b04b19200010158b40001012c52000080c4065088800001211eeb9c08d0254c4483312202c64440000090a2f2a1829ec3405110e71014322200000485d4143c159243427882192008a11000006b2582bd90004166f902ba8f452c7d7501092facf54856168000608b041000313100b22220000048d5f923a1e8ca5858a0c364834884400002306464ad90004015d544352e75e02e51c00ba5b00b94722b044000405585c0002830802091100000234af1c50537d8501afde48906110880000160b608c9a000909aaa420642eb9312c3a000141d62c4000810b14200040a100e22220000048d120fe61db6b2859b0bb64826684400001313ec197d000469d62738cf7293720e568530ac12000182560b0000c28481448440000231cb93bf500045a40a182d2b4fb0598c482df0b41673182b04200070b58cc00040612069211000004c758cba940011ff68eba3edcad4c98f33af20b14400090d24255422000005944a82e6800200e6cc0947a720b2a8000a0e102a7222000004b458cb5700fbdc216caba692132a11000002ca44829e4001000f6b84bcd2e0594c0005078814b9110000025a2ff5bea07dee10b655d34908d9088000036c157ae9620008c64ecc118d7540c43c89530219c6a7182caa0002c4090919088000036c1572f5020008c9c8d981894d3c643b214f12197ca6082ca60002c44900c50084000006b0d9ac051005512547788092989d1a09680f09c2b25fc2058bc000609080b990108000005848c15d208a8812d0442a086588028901080000056a9a355022a219c7894545fb0c481848440000131da833c900047bd54a98fceaa0b26b1ee3a02c5900024549054d088000046256038520008d6c074e12219ce00d127027048a809736016328001a2c080cc08100000059f94c10800203a66b0503870b8203b02040000016a67288a0008317654140c1c300810c081000000581d541a800203de8c0504878c8204b02040000016401421a000830b5e014101e34081ec081000000635166592000819c394142020360820c0810000005af6c0d2800209931b0507880e0208b02040000018ce5949a800209931b0509088e8209302040000018c788fca80020670e50508888f020db020400000184f62b94800205d0f7050e090f820e30204000001859fb09c80020a3309050d8910020eb02040000018403a50280020a130d050f0990820f30204000001836da038800205f0f3050e8991020fb02040000018461186c8002038a5905100a11821030204000001866015ec80020c79a7050f8a120210b0204000001892d9084800203ae7005110a928211302040000018a7e0e6280020c559005108a930213b0204000001b08a2b91e80020838d405140b13821430204000001b0860bebe800207cb2c05138b140215a0108000001895212308002039e6605160a948016101080000018aa8103e80020c659a042d60210000003615c97dc500040f26540a2e162a042e60210000003616d972b1000410e1ac0a2d162b042f4021000000317bf219900040ce9ca0a30112c00302021000000318a12bb10004131e36086280420000005a8846b080020c3d82051907168019101080000016740257200080f19f810cd0084000000b1909a7d00041862f60a340f2e0034202100000030f4e6219000407a50a086a8042000000633066aa200081b237c146c205e006c40420000005aa9c31e8002093b21043740210000003087f37a10004079d060a3814300038202100000030d202e990004186afa0 +station=90579 rev=0 +I key=4/937 rev=4 name=MAP_ITS_09_937_23.4 ref=535457905,99849874 elev=None width=325 speeds= +L id=2 name=None in=1 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=-3232,-1124 local=1 dis= en= dw=None de=None +N xy=295,531 local= dis= en= dw=None de=None +N xy=863,1389 local= dis= en= dw=None de=None +N xy=52,84 local= dis= en= dw=None de=None +N xy=222,60 local= dis= en= dw=None de=None +N xy=44,88 local= dis= en= dw=None de=None +C to=25 man=512 remote=None sg=1 uc=None cid=1 +C to=22 man=2048 remote=None sg=2 uc=None cid=2 +C to=20 man=2048 remote=None sg=2 uc=None cid=3 +L id=25 name=None in=None eg=4 dir=1 share=68 type=0 attr=0 man=None +N xy=-5897,-2248 local= dis= en= dw=None de=None +N xy=-1216,339 local= dis= en= dw=None de=None +N xy=-1471,393 local= dis= en= dw=None de=None +L id=22 name=None in=None eg=3 dir=1 share=68 type=0 attr=0 man=None +N xy=-5585,-5498 local= dis= en= dw=None de=None +N xy=-389,-920 local= dis= en= dw=None de=None +N xy=-478,-793 local= dis= en= dw=None de=None +L id=20 name=None in=None eg=3 dir=1 share=68 type=0 attr=0 man=None +N xy=-5208,-5602 local= dis= en= dw=None de=None +N xy=-311,-755 local= dis= en= dw=None de=None +N xy=-542,-957 local= dis= en= dw=None de=None +L id=1 name=None in=1 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=-2896,-1290 local=1 dis= en= dw=None de=None +N xy=205,456 local= dis= en= dw=None de=None +N xy=936,1861 local= dis= en= dw=None de=None +N xy=4014,8225 local= dis= en= dw=None de=None +N xy=4012,7506 local= dis= en= dw=None de=None +C to=11 man=1024 remote=None sg=3 uc=None cid=4 +C to=4 man=256 remote=None sg=3 uc=None cid=19 +L id=11 name=None in=None eg=2 dir=1 share=68 type=0 attr=0 man=None +N xy=-1345,-5859 local= dis= en= dw=None de=None +N xy=838,-362 local= dis= en= dw=None de=None +N xy=1104,-485 local= dis= en= dw=None de=None +L id=26 name=None in=4 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=-6586,-3402 local=1 dis= en= dw=None de=None +N xy=-469,170 local= dis= en= dw=None de=None +N xy=-4789,1886 local= dis= en= dw=None de=None +N xy=-142,56 local= dis= en= dw=None de=None +N xy=-326,-148 local= dis= en= dw=None de=None +N xy=-142,57 local= dis= en= dw=None de=None +C to=4 man=1024 remote=None sg=4 uc=None cid=5 +C to=11 man=2048 remote=None sg=5 uc=None cid=6 +L id=4 name=None in=None eg=1 dir=1 share=68 type=0 attr=0 man=None +N xy=-1698,-2284 local= dis= en= dw=None de=None +N xy=446,1064 local= dis= en= dw=None de=None +N xy=382,914 local= dis= en= dw=None de=None +L id=24 name=None in=4 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=-6736,-3693 local=1 dis= en= dw=None de=None +N xy=-5718,2312 local= dis= en= dw=None de=None +N xy=-3026,1830 local= dis= en= dw=None de=None +C to=14 man=2048 remote=None sg=5 uc=None cid=7 +C to=22 man=512 remote=None sg=4 uc=None cid=8 +C to=20 man=512 remote=None sg=4 uc=None cid=10 +L id=14 name=None in=None eg=2 dir=1 share=68 type=0 attr=0 man=None +N xy=-1500,-6157 local= dis= en= dw=None de=None +N xy=731,-310 local= dis= en= dw=None de=None +N xy=1240,-549 local= dis= en= dw=None de=None +L id=19 name=None in=3 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=-3092,-6561 local=1 dis= en= dw=None de=None +N xy=-1578,-2841 local= dis= en= dw=None de=None +N xy=-2119,-1737 local= dis= en= dw=None de=None +N xy=-6357,-3930 local= dis= en= dw=None de=None +C to=4 man=2048 remote=None sg=6 uc=None cid=9 +C to=5 man=2048 remote=None sg=6 uc=None cid=20 +L id=10 name=None in=2 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=-839,-4355 local=1 dis= en= dw=None de=None +N xy=1312,-756 local= dis= en= dw=None de=None +N xy=1323,-773 local= dis= en= dw=None de=None +N xy=204,-119 local= dis= en= dw=None de=None +N xy=223,-467 local= dis= en= dw=None de=None +N xy=206,-116 local= dis= en= dw=None de=None +C to=4 man=512 remote=None sg=7 uc=None cid=11 +C to=25 man=2048 remote=None sg=8 uc=None cid=12 +L id=13 name=None in=2 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=-669,-5207 local=1 dis= en= dw=None de=None +N xy=4058,-2211 local= dis= en= dw=None de=None +N xy=3513,-1197 local= dis= en= dw=None de=None +N xy=4582,-647 local= dis= en= dw=None de=None +C to=20 man=1024 remote=None sg=9 uc=None cid=13 +L id=37 name=None in=5 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=2197,-7821 local=1 dis= en= dw=None de=None +N xy=-455,204 local= dis= en= dw=None de=None +N xy=-697,313 local= dis= en= dw=None de=None +C to=42 man=2048 remote=None sg=10 uc=None cid=14 +L id=42 name=None in=None eg=7 dir=1 share=68 type=0 attr=0 man=None +N xy=8902,-9544 local= dis= en= dw=None de=None +N xy=495,-62 local= dis= en= dw=None de=None +N xy=1429,-179 local= dis= en= dw=None de=None +L id=38 name=None in=5 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=2322,-7522 local=1 dis= en= dw=None de=None +N xy=-505,215 local= dis= en= dw=None de=None +N xy=-647,302 local= dis= en= dw=None de=None +C to=41 man=2048 remote=None sg=10 uc=None cid=15 +L id=41 name=None in=None eg=7 dir=1 share=68 type=0 attr=0 man=None +N xy=8959,-9238 local= dis= en= dw=None de=None +N xy=495,-62 local= dis= en= dw=None de=None +N xy=1429,-179 local= dis= en= dw=None de=None +L id=35 name=None in=6 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=687,-8916 local=1 dis= en= dw=None de=None +N xy=-3289,-831 local= dis= en= dw=None de=None +N xy=-3235,-1530 local= dis= en= dw=None de=None +N xy=-4318,-2768 local= dis= en= dw=None de=None +N xy=-4893,-2845 local= dis= en= dw=None de=None +C to=42 man=2048 remote=None sg=11 uc=None cid=16 +L id=36 name=None in=6 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=686,-8544 local=1 dis= en= dw=None de=None +N xy=-2844,-616 local= dis= en= dw=None de=None +N xy=-3501,-1565 local= dis= en= dw=None de=None +N xy=-4408,-2831 local= dis= en= dw=None de=None +N xy=-4930,-2879 local= dis= en= dw=None de=None +C to=41 man=2048 remote=None sg=11 uc=None cid=17 +L id=3 name=None in=1 eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-3661,-1279 local=1 dis= en= dw=-175 de=None +N xy=2619,4353 local= dis= en= dw=None de=None +N xy=2441,5224 local= dis= en= dw=None de=None +N xy=3329,6222 local= dis= en= dw=None de=None +N xy=805,1986 local= dis= en= dw=None de=None +C to=23 man=2048 remote=None sg=12 uc=None cid=18 +L id=23 name=None in=None eg=3 dir=1 share=4 type=2 attr=0 man=None +N xy=-5864,-5399 local= dis= en= dw=-175 de=None +N xy=-211,-495 local= dis= en= dw=None de=None +N xy=-382,-821 local= dis= en= dw=None de=None +L id=5 name=None in=None eg=1 dir=1 share=4 type=2 attr=0 man=None +N xy=-1382,-2390 local= dis= en= dw=-175 de=None +N xy=227,549 local= dis= en= dw=None de=None +N xy=559,1414 local= dis= en= dw=None de=None +L id=12 name=None in=2 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=-600,-4878 local=1 dis= en= dw=None de=None +N xy=3029,-1709 local= dis= en= dw=None de=None +N xy=3701,-1525 local= dis= en= dw=None de=None +N xy=5519,-908 local= dis= en= dw=None de=None +C to=22 man=1024 remote=None sg=9 uc=None cid=21 +L id=21 name=None in=3 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=-3408,-6390 local=1 dis= en= dw=None de=None +N xy=-1184,-2226 local= dis= en= dw=None de=None +N xy=-957,-1124 local= dis= en= dw=None de=None +N xy=-303,-356 local= dis= en= dw=None de=None +N xy=-575,-747 local= dis= en= dw=None de=None +N xy=-361,-296 local= dis= en= dw=None de=None +C to=25 man=1024 remote=None sg=13 uc=None cid=22 +L id=6 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-2075,-2552 local=1 dis= en= dw=None de=None +N xy=-279,107 local= dis= en= dw=None de=None +C to=7 man=None remote=None sg=14 uc=None cid=23 +L id=7 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-1433,-2799 local=1 dis= en= dw=None de=None +N xy=279,-107 local= dis= en= dw=None de=None +C to=6 man=None remote=None sg=14 uc=None cid=24 +L id=8 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-3979,-1523 local=1 dis= en= dw=None de=None +N xy=-265,140 local= dis= en= dw=None de=None +C to=9 man=None remote=None sg=15 uc=None cid=25 +L id=9 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-3071,-1981 local=1 dis= en= dw=None de=None +N xy=267,-136 local= dis= en= dw=None de=None +C to=8 man=None remote=None sg=15 uc=None cid=26 +L id=15 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-1397,-4942 local=1 dis= en= dw=None de=None +N xy=-100,-283 local= dis= en= dw=None de=None +C to=16 man=None remote=None sg=16 uc=None cid=27 +L id=16 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-1061,-3991 local=1 dis= en= dw=None de=None +N xy=100,283 local= dis= en= dw=None de=None +C to=15 man=None remote=None sg=16 uc=None cid=28 +L id=17 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-1589,-5555 local=1 dis= en= dw=None de=None +N xy=100,283 local= dis= en= dw=None de=None +C to=18 man=None remote=None sg=17 uc=None cid=29 +L id=18 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-1807,-6171 local=1 dis= en= dw=None de=None +N xy=-100,-283 local= dis= en= dw=None de=None +C to=17 man=None remote=None sg=17 uc=None cid=30 +L id=27 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-5652,-2614 local=1 dis= en= dw=None de=None +N xy=-140,-265 local= dis= en= dw=None de=None +C to=28 man=None remote=None sg=18 uc=None cid=31 +L id=28 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-5313,-1970 local=1 dis= en= dw=None de=None +N xy=140,265 local= dis= en= dw=None de=None +C to=27 man=None remote=None sg=18 uc=None cid=32 +L id=29 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-6137,-3455 local=1 dis= en= dw=None de=None +N xy=132,269 local= dis= en= dw=None de=None +C to=30 man=None remote=None sg=19 uc=None cid=33 +L id=30 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-6437,-4068 local=1 dis= en= dw=None de=None +N xy=-132,-269 local= dis= en= dw=None de=None +C to=29 man=None remote=None sg=19 uc=None cid=34 +L id=31 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-5950,-5066 local=1 dis= en= dw=None de=None +N xy=-286,89 local= dis= en= dw=None de=None +C to=32 man=None remote=None sg=20 uc=None cid=35 +L id=32 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-4928,-5386 local=1 dis= en= dw=None de=None +N xy=286,-89 local= dis= en= dw=None de=None +C to=31 man=None remote=None sg=20 uc=None cid=36 +L id=33 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-3493,-6078 local=1 dis= en= dw=None de=None +N xy=-277,112 local= dis= en= dw=None de=None +C to=34 man=None remote=None sg=21 uc=None cid=37 +L id=34 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-2820,-6351 local=1 dis= en= dw=None de=None +N xy=277,-112 local= dis= en= dw=None de=None +C to=33 man=None remote=None sg=21 uc=None cid=38 +L id=39 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=1105,-9073 local=1 dis= en= dw=None de=None +N xy=14,-300 local= dis= en= dw=None de=None +C to=40 man=None remote=None sg=22 uc=None cid=39 +L id=40 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=1072,-8353 local=1 dis= en= dw=None de=None +N xy=-14,300 local= dis= en= dw=None de=None +C to=39 man=None remote=None sg=22 uc=None cid=40 +L id=43 name=None in=None eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-3420,-5864 local=1 dis= en= dw=None de=None +N xy=-281,102 local= dis= en= dw=None de=None +C to=44 man=None remote=None sg=21 uc=None cid=41 +L id=44 name=None in=None eg=None dir=1 share=4 type=2 attr=0 man=None +N xy=-2736,-6113 local=1 dis= en= dw=None de=None +N xy=281,-102 local= dis= en= dw=None de=None +L id=45 name=None in=None eg=None dir=3 share=4 type=2 attr=0 man=None +N xy=1394,-8335 local=1 dis= en= dw=None de=None +N xy=-28,298 local= dis= en= dw=None de=None +C to=46 man=None remote=None sg=22 uc=None cid=42 +L id=46 name=None in=None eg=None dir=3 share=4 type=2 attr=0 man=None +N xy=1462,-9044 local=1 dis= en= dw=None de=None +N xy=28,-298 local= dis= en= dw=None de=None +C to=45 man=None remote=None sg=22 uc=None cid=43 +L id=47 name=None in=None eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-2113,-6042 local=1 dis= en= dw=None de=None +N xy=-99,-283 local= dis= en= dw=None de=None +C to=48 man=None remote=None sg=17 uc=None cid=44 +L id=48 name=None in=None eg=None dir=1 share=4 type=2 attr=0 man=None +N xy=-1887,-5396 local=1 dis= en= dw=None de=None +N xy=99,283 local= dis= en= dw=None de=None +L id=49 name=None in=None eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-1503,-3240 local=1 dis= en= dw=None de=None +N xy=271,-126 local= dis= en= dw=None de=None +C to=50 man=None remote=None sg=14 uc=None cid=45 +L id=50 name=None in=None eg=None dir=1 share=4 type=2 attr=0 man=None +N xy=-2240,-2898 local=1 dis= en= dw=None de=None +N xy=-271,126 local= dis= en= dw=None de=None +L id=51 name=None in=None eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-3295,-2401 local=1 dis= en= dw=None de=None +N xy=268,-133 local= dis= en= dw=None de=None +C to=52 man=None remote=None sg=15 uc=None cid=46 +L id=52 name=None in=None eg=None dir=1 share=4 type=2 attr=0 man=None +N xy=-4274,-1914 local=1 dis= en= dw=None de=None +N xy=-268,133 local= dis= en= dw=None de=None +L id=53 name=None in=None eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-1661,-4780 local=1 dis= en= dw=None de=None +N xy=-78,-289 local= dis= en= dw=None de=None +C to=54 man=None remote=None sg=16 uc=None cid=47 +L id=54 name=None in=None eg=None dir=1 share=4 type=2 attr=0 man=None +N xy=-1369,-3697 local=1 dis= en= dw=None de=None +N xy=78,289 local= dis= en= dw=None de=None +L id=55 name=None in=None eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-6017,-4632 local=1 dis= en= dw=None de=None +N xy=-269,131 local= dis= en= dw=None de=None +C to=56 man=None remote=None sg=20 uc=None cid=48 +L id=56 name=None in=None eg=None dir=1 share=4 type=2 attr=0 man=None +N xy=-4832,-5210 local=1 dis= en= dw=None de=None +N xy=269,-131 local= dis= en= dw=None de=None +#hex 02050001626b080003094d8342fc9a94efb0737dcb36f7d9335cd20008075210558f5971713d6892028a6e48042840000022c6c0b9c40010d27c262b5fd6d04692a02de8f01164b04b19200010158b40001012c52000080c4065088800001211eeb9c08d0254c4483312202c64440000090a2f2a1829ec3405110e71014322200000485d4143c159243427882192008a11000006b2582bd90004166f902ba8f452c7d7501092facf54856168000608b041000313100b22220000048d5f923a1e8ca5858a0c364834884400002306464ad90004015d544352e75e02e51c00ba5b00b94722b044000405585c0002830802091100000234af1c50537d8501afde48906110880000160b608c9a000909aaa420642eb9312c3a000141d62c4000810b14200040a100e22220000048d120fe61db6b2859b0bb64826684400001313ec197d000469d62738cf7293720e568530ac12000182560b0000c28481448440000231cb93bf500045a40a182d2b4fb0598c482df0b41673182b04200070b58cc00040612069211000004c758cba940011ff68eba3edcad4c98f33af20b14400090d24255422000005944a82e6800200e6cc0947a720b2a8000a0e102a7222000004b458cb5700fbdc216caba692132a11000002ca44829e4001000f6b84bcd2e0594c0005078814b9110000025a2ff5bea07dee10b655d34908d9088000036c157ae9620008c64ecc118d7540c43c89530219c6a7182caa0002c4090919088000036c1572f5020008c9c8d981894d3c643b214f12197ca6082ca60002c44900c50084000006b0d9ac051005512547788092989d1a09680f09c2b25fc2058bc000609080b990108000005848c15d208a8812d0442a086588028901080000056a9a355022a219c7894545fb0c481848440000131da833c900047bd54a98fceaa0b26b1ee3a02c5900024549054d088000046256038520008d6c074e12219ce00d127027048a809736016328001a2c080cc08100000059f94c10800203a66b0503870b8203b02040000016a67288a0008317654140c1c300810c081000000581d541a800203de8c0504878c8204b02040000016401421a000830b5e014101e34081ec081000000635166592000819c394142020360820c0810000005af6c0d2800209931b0507880e0208b02040000018ce5949a800209931b0509088e8209302040000018c788fca80020670e50508888f020db020400000184f62b94800205d0f7050e090f820e30204000001859fb09c80020a3309050d8910020eb02040000018403a50280020a130d050f0990820f30204000001836da038800205f0f3050e8991020fb02040000018461186c8002038a5905100a11821030204000001866015ec80020c79a7050f8a120210b0204000001892d9084800203ae7005110a928211302040000018a7e0e6280020c559005108a930213b0204000001b08a2b91e80020838d405140b13821430204000001b0860bebe800207cb2c05138b140215a0108000001895212308002039e6605160a948016101080000018aa8103e80020c659a042d60210000003615c97dc500040f26540a2e162a042e60210000003616d972b1000410e1ac0a2d162b042f4021000000317bf219900040ce9ca0a30112c00302021000000318a12bb10004131e36086280420000005a8846b080020c3d82051907168019101080000016740257200080f19f810cd0084000000b1909a7d00041862f60a340f2e0034202100000030f4e6219000407a50a086a8042000000633066aa200081b237c146c205e006c40420000005aa9c31e8002093b21043740210000003087f37a10004079d060a3814300038202100000030d202e990004186afa0 +station=90731 rev=0 +I key=4/937 rev=4 name=MAP_ITS_09_937_23.4 ref=535457905,99849874 elev=None width=325 speeds= +L id=2 name=None in=1 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=-3232,-1124 local=1 dis= en= dw=None de=None +N xy=295,531 local= dis= en= dw=None de=None +N xy=863,1389 local= dis= en= dw=None de=None +N xy=52,84 local= dis= en= dw=None de=None +N xy=222,60 local= dis= en= dw=None de=None +N xy=44,88 local= dis= en= dw=None de=None +C to=25 man=512 remote=None sg=1 uc=None cid=1 +C to=22 man=2048 remote=None sg=2 uc=None cid=2 +C to=20 man=2048 remote=None sg=2 uc=None cid=3 +L id=25 name=None in=None eg=4 dir=1 share=68 type=0 attr=0 man=None +N xy=-5897,-2248 local= dis= en= dw=None de=None +N xy=-1216,339 local= dis= en= dw=None de=None +N xy=-1471,393 local= dis= en= dw=None de=None +L id=22 name=None in=None eg=3 dir=1 share=68 type=0 attr=0 man=None +N xy=-5585,-5498 local= dis= en= dw=None de=None +N xy=-389,-920 local= dis= en= dw=None de=None +N xy=-478,-793 local= dis= en= dw=None de=None +L id=20 name=None in=None eg=3 dir=1 share=68 type=0 attr=0 man=None +N xy=-5208,-5602 local= dis= en= dw=None de=None +N xy=-311,-755 local= dis= en= dw=None de=None +N xy=-542,-957 local= dis= en= dw=None de=None +L id=1 name=None in=1 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=-2896,-1290 local=1 dis= en= dw=None de=None +N xy=205,456 local= dis= en= dw=None de=None +N xy=936,1861 local= dis= en= dw=None de=None +N xy=4014,8225 local= dis= en= dw=None de=None +N xy=4012,7506 local= dis= en= dw=None de=None +C to=11 man=1024 remote=None sg=3 uc=None cid=4 +C to=4 man=256 remote=None sg=3 uc=None cid=19 +L id=11 name=None in=None eg=2 dir=1 share=68 type=0 attr=0 man=None +N xy=-1345,-5859 local= dis= en= dw=None de=None +N xy=838,-362 local= dis= en= dw=None de=None +N xy=1104,-485 local= dis= en= dw=None de=None +L id=26 name=None in=4 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=-6586,-3402 local=1 dis= en= dw=None de=None +N xy=-469,170 local= dis= en= dw=None de=None +N xy=-4789,1886 local= dis= en= dw=None de=None +N xy=-142,56 local= dis= en= dw=None de=None +N xy=-326,-148 local= dis= en= dw=None de=None +N xy=-142,57 local= dis= en= dw=None de=None +C to=4 man=1024 remote=None sg=4 uc=None cid=5 +C to=11 man=2048 remote=None sg=5 uc=None cid=6 +L id=4 name=None in=None eg=1 dir=1 share=68 type=0 attr=0 man=None +N xy=-1698,-2284 local= dis= en= dw=None de=None +N xy=446,1064 local= dis= en= dw=None de=None +N xy=382,914 local= dis= en= dw=None de=None +L id=24 name=None in=4 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=-6736,-3693 local=1 dis= en= dw=None de=None +N xy=-5718,2312 local= dis= en= dw=None de=None +N xy=-3026,1830 local= dis= en= dw=None de=None +C to=14 man=2048 remote=None sg=5 uc=None cid=7 +C to=22 man=512 remote=None sg=4 uc=None cid=8 +C to=20 man=512 remote=None sg=4 uc=None cid=10 +L id=14 name=None in=None eg=2 dir=1 share=68 type=0 attr=0 man=None +N xy=-1500,-6157 local= dis= en= dw=None de=None +N xy=731,-310 local= dis= en= dw=None de=None +N xy=1240,-549 local= dis= en= dw=None de=None +L id=19 name=None in=3 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=-3092,-6561 local=1 dis= en= dw=None de=None +N xy=-1578,-2841 local= dis= en= dw=None de=None +N xy=-2119,-1737 local= dis= en= dw=None de=None +N xy=-6357,-3930 local= dis= en= dw=None de=None +C to=4 man=2048 remote=None sg=6 uc=None cid=9 +C to=5 man=2048 remote=None sg=6 uc=None cid=20 +L id=10 name=None in=2 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=-839,-4355 local=1 dis= en= dw=None de=None +N xy=1312,-756 local= dis= en= dw=None de=None +N xy=1323,-773 local= dis= en= dw=None de=None +N xy=204,-119 local= dis= en= dw=None de=None +N xy=223,-467 local= dis= en= dw=None de=None +N xy=206,-116 local= dis= en= dw=None de=None +C to=4 man=512 remote=None sg=7 uc=None cid=11 +C to=25 man=2048 remote=None sg=8 uc=None cid=12 +L id=13 name=None in=2 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=-669,-5207 local=1 dis= en= dw=None de=None +N xy=4058,-2211 local= dis= en= dw=None de=None +N xy=3513,-1197 local= dis= en= dw=None de=None +N xy=4582,-647 local= dis= en= dw=None de=None +C to=20 man=1024 remote=None sg=9 uc=None cid=13 +L id=37 name=None in=5 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=2197,-7821 local=1 dis= en= dw=None de=None +N xy=-455,204 local= dis= en= dw=None de=None +N xy=-697,313 local= dis= en= dw=None de=None +C to=42 man=2048 remote=None sg=10 uc=None cid=14 +L id=42 name=None in=None eg=7 dir=1 share=68 type=0 attr=0 man=None +N xy=8902,-9544 local= dis= en= dw=None de=None +N xy=495,-62 local= dis= en= dw=None de=None +N xy=1429,-179 local= dis= en= dw=None de=None +L id=38 name=None in=5 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=2322,-7522 local=1 dis= en= dw=None de=None +N xy=-505,215 local= dis= en= dw=None de=None +N xy=-647,302 local= dis= en= dw=None de=None +C to=41 man=2048 remote=None sg=10 uc=None cid=15 +L id=41 name=None in=None eg=7 dir=1 share=68 type=0 attr=0 man=None +N xy=8959,-9238 local= dis= en= dw=None de=None +N xy=495,-62 local= dis= en= dw=None de=None +N xy=1429,-179 local= dis= en= dw=None de=None +L id=35 name=None in=6 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=687,-8916 local=1 dis= en= dw=None de=None +N xy=-3289,-831 local= dis= en= dw=None de=None +N xy=-3235,-1530 local= dis= en= dw=None de=None +N xy=-4318,-2768 local= dis= en= dw=None de=None +N xy=-4893,-2845 local= dis= en= dw=None de=None +C to=42 man=2048 remote=None sg=11 uc=None cid=16 +L id=36 name=None in=6 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=686,-8544 local=1 dis= en= dw=None de=None +N xy=-2844,-616 local= dis= en= dw=None de=None +N xy=-3501,-1565 local= dis= en= dw=None de=None +N xy=-4408,-2831 local= dis= en= dw=None de=None +N xy=-4930,-2879 local= dis= en= dw=None de=None +C to=41 man=2048 remote=None sg=11 uc=None cid=17 +L id=3 name=None in=1 eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-3661,-1279 local=1 dis= en= dw=-175 de=None +N xy=2619,4353 local= dis= en= dw=None de=None +N xy=2441,5224 local= dis= en= dw=None de=None +N xy=3329,6222 local= dis= en= dw=None de=None +N xy=805,1986 local= dis= en= dw=None de=None +C to=23 man=2048 remote=None sg=12 uc=None cid=18 +L id=23 name=None in=None eg=3 dir=1 share=4 type=2 attr=0 man=None +N xy=-5864,-5399 local= dis= en= dw=-175 de=None +N xy=-211,-495 local= dis= en= dw=None de=None +N xy=-382,-821 local= dis= en= dw=None de=None +L id=5 name=None in=None eg=1 dir=1 share=4 type=2 attr=0 man=None +N xy=-1382,-2390 local= dis= en= dw=-175 de=None +N xy=227,549 local= dis= en= dw=None de=None +N xy=559,1414 local= dis= en= dw=None de=None +L id=12 name=None in=2 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=-600,-4878 local=1 dis= en= dw=None de=None +N xy=3029,-1709 local= dis= en= dw=None de=None +N xy=3701,-1525 local= dis= en= dw=None de=None +N xy=5519,-908 local= dis= en= dw=None de=None +C to=22 man=1024 remote=None sg=9 uc=None cid=21 +L id=21 name=None in=3 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=-3408,-6390 local=1 dis= en= dw=None de=None +N xy=-1184,-2226 local= dis= en= dw=None de=None +N xy=-957,-1124 local= dis= en= dw=None de=None +N xy=-303,-356 local= dis= en= dw=None de=None +N xy=-575,-747 local= dis= en= dw=None de=None +N xy=-361,-296 local= dis= en= dw=None de=None +C to=25 man=1024 remote=None sg=13 uc=None cid=22 +L id=6 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-2075,-2552 local=1 dis= en= dw=None de=None +N xy=-279,107 local= dis= en= dw=None de=None +C to=7 man=None remote=None sg=14 uc=None cid=23 +L id=7 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-1433,-2799 local=1 dis= en= dw=None de=None +N xy=279,-107 local= dis= en= dw=None de=None +C to=6 man=None remote=None sg=14 uc=None cid=24 +L id=8 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-3979,-1523 local=1 dis= en= dw=None de=None +N xy=-265,140 local= dis= en= dw=None de=None +C to=9 man=None remote=None sg=15 uc=None cid=25 +L id=9 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-3071,-1981 local=1 dis= en= dw=None de=None +N xy=267,-136 local= dis= en= dw=None de=None +C to=8 man=None remote=None sg=15 uc=None cid=26 +L id=15 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-1397,-4942 local=1 dis= en= dw=None de=None +N xy=-100,-283 local= dis= en= dw=None de=None +C to=16 man=None remote=None sg=16 uc=None cid=27 +L id=16 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-1061,-3991 local=1 dis= en= dw=None de=None +N xy=100,283 local= dis= en= dw=None de=None +C to=15 man=None remote=None sg=16 uc=None cid=28 +L id=17 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-1589,-5555 local=1 dis= en= dw=None de=None +N xy=100,283 local= dis= en= dw=None de=None +C to=18 man=None remote=None sg=17 uc=None cid=29 +L id=18 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-1807,-6171 local=1 dis= en= dw=None de=None +N xy=-100,-283 local= dis= en= dw=None de=None +C to=17 man=None remote=None sg=17 uc=None cid=30 +L id=27 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-5652,-2614 local=1 dis= en= dw=None de=None +N xy=-140,-265 local= dis= en= dw=None de=None +C to=28 man=None remote=None sg=18 uc=None cid=31 +L id=28 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-5313,-1970 local=1 dis= en= dw=None de=None +N xy=140,265 local= dis= en= dw=None de=None +C to=27 man=None remote=None sg=18 uc=None cid=32 +L id=29 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-6137,-3455 local=1 dis= en= dw=None de=None +N xy=132,269 local= dis= en= dw=None de=None +C to=30 man=None remote=None sg=19 uc=None cid=33 +L id=30 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-6437,-4068 local=1 dis= en= dw=None de=None +N xy=-132,-269 local= dis= en= dw=None de=None +C to=29 man=None remote=None sg=19 uc=None cid=34 +L id=31 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-5950,-5066 local=1 dis= en= dw=None de=None +N xy=-286,89 local= dis= en= dw=None de=None +C to=32 man=None remote=None sg=20 uc=None cid=35 +L id=32 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-4928,-5386 local=1 dis= en= dw=None de=None +N xy=286,-89 local= dis= en= dw=None de=None +C to=31 man=None remote=None sg=20 uc=None cid=36 +L id=33 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-3493,-6078 local=1 dis= en= dw=None de=None +N xy=-277,112 local= dis= en= dw=None de=None +C to=34 man=None remote=None sg=21 uc=None cid=37 +L id=34 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-2820,-6351 local=1 dis= en= dw=None de=None +N xy=277,-112 local= dis= en= dw=None de=None +C to=33 man=None remote=None sg=21 uc=None cid=38 +L id=39 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=1105,-9073 local=1 dis= en= dw=None de=None +N xy=14,-300 local= dis= en= dw=None de=None +C to=40 man=None remote=None sg=22 uc=None cid=39 +L id=40 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=1072,-8353 local=1 dis= en= dw=None de=None +N xy=-14,300 local= dis= en= dw=None de=None +C to=39 man=None remote=None sg=22 uc=None cid=40 +L id=43 name=None in=None eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-3420,-5864 local=1 dis= en= dw=None de=None +N xy=-281,102 local= dis= en= dw=None de=None +C to=44 man=None remote=None sg=21 uc=None cid=41 +L id=44 name=None in=None eg=None dir=1 share=4 type=2 attr=0 man=None +N xy=-2736,-6113 local=1 dis= en= dw=None de=None +N xy=281,-102 local= dis= en= dw=None de=None +L id=45 name=None in=None eg=None dir=3 share=4 type=2 attr=0 man=None +N xy=1394,-8335 local=1 dis= en= dw=None de=None +N xy=-28,298 local= dis= en= dw=None de=None +C to=46 man=None remote=None sg=22 uc=None cid=42 +L id=46 name=None in=None eg=None dir=3 share=4 type=2 attr=0 man=None +N xy=1462,-9044 local=1 dis= en= dw=None de=None +N xy=28,-298 local= dis= en= dw=None de=None +C to=45 man=None remote=None sg=22 uc=None cid=43 +L id=47 name=None in=None eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-2113,-6042 local=1 dis= en= dw=None de=None +N xy=-99,-283 local= dis= en= dw=None de=None +C to=48 man=None remote=None sg=17 uc=None cid=44 +L id=48 name=None in=None eg=None dir=1 share=4 type=2 attr=0 man=None +N xy=-1887,-5396 local=1 dis= en= dw=None de=None +N xy=99,283 local= dis= en= dw=None de=None +L id=49 name=None in=None eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-1503,-3240 local=1 dis= en= dw=None de=None +N xy=271,-126 local= dis= en= dw=None de=None +C to=50 man=None remote=None sg=14 uc=None cid=45 +L id=50 name=None in=None eg=None dir=1 share=4 type=2 attr=0 man=None +N xy=-2240,-2898 local=1 dis= en= dw=None de=None +N xy=-271,126 local= dis= en= dw=None de=None +L id=51 name=None in=None eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-3295,-2401 local=1 dis= en= dw=None de=None +N xy=268,-133 local= dis= en= dw=None de=None +C to=52 man=None remote=None sg=15 uc=None cid=46 +L id=52 name=None in=None eg=None dir=1 share=4 type=2 attr=0 man=None +N xy=-4274,-1914 local=1 dis= en= dw=None de=None +N xy=-268,133 local= dis= en= dw=None de=None +L id=53 name=None in=None eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-1661,-4780 local=1 dis= en= dw=None de=None +N xy=-78,-289 local= dis= en= dw=None de=None +C to=54 man=None remote=None sg=16 uc=None cid=47 +L id=54 name=None in=None eg=None dir=1 share=4 type=2 attr=0 man=None +N xy=-1369,-3697 local=1 dis= en= dw=None de=None +N xy=78,289 local= dis= en= dw=None de=None +L id=55 name=None in=None eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-6017,-4632 local=1 dis= en= dw=None de=None +N xy=-269,131 local= dis= en= dw=None de=None +C to=56 man=None remote=None sg=20 uc=None cid=48 +L id=56 name=None in=None eg=None dir=1 share=4 type=2 attr=0 man=None +N xy=-4832,-5210 local=1 dis= en= dw=None de=None +N xy=269,-131 local= dis= en= dw=None de=None +#hex 020500ffb03a08000309cd8342fc9a94efb2617d9306acafb164b99c000c20101aab1e4648e2792cf4200005147090045088000012ae75c04981c3fc0af425700c8b0d200010758610000842c19000082560e8000414b08400020b100d4220000004ab43ef77211deee423f1e00806211000000255a2f7a5208797761300f50401888800000120b8a97e07cdbd20e6a7c4200e444000000905b146b83ac1f207a9bd5100822021000000b05b242b411830e6f7c81f28f50900c90800000220af6ee48700c2b164fc27a3da35900101604400060c200424400000095784205742e3bd205e9e6f2404242000000882c6b8f61c030a55ccf0ea80084ecde1f20586c0002021202921000000241669b230e1e8425a1908269058640002029204a21000000855a3271aa0901774433c9e8a19741bfa20c68e211d4cb282c1e000140890291080000042ad05397784753c821a86f430cb7ae071091c6a88f22548160d0000a024816880420000056ad90b85d822d41344f6086dcbd3e210366a115fba3080ea34047072f80b088000503040e604080000015718dfd3c06c3ac0a0f060e040f6040800000157df5fefc1944540a0e060f04104021000001b00937ad811510e408dc1d26fe87d4687c9364585f014220e20002240420000006ae33bf0a022a223e379604126040800000103c179400f8cf40a130813041360408000001041e69b010e1aa0a120812041460210000003023a78e8118303f92e02854245010558084000000c09b5a490460c1049a80a140915041660408000001045f4e6c1096560a170a16041760408000001042e41a40f71aa0a160a1704186021000000302ce4e841183042f95828642c6010658084000000c0a3d0730460c0f49aa0a180b19041a60408000001573d9dc4c0663de0a1b0c1a041b6040800000157b79dcbc195c2c0a1a0c1b041c602100000035734de22411830176f202874347010758084000000d5ec978a30460c195c1e0a1c0d1d +station=16756794 rev=0 +I key=3/2052 rev=3 name=MAP_ITS_20_2052_12.3 ref=535444004,99796090 elev=0 width=325 speeds= +L id=1 name=None in=1 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=-8981,147 local= dis= en= dw=None de=None +N xy=-61,496 local= dis= en= dw=None de=None +N xy=-1518,14342 local= dis= en= dw=None de=None +C to=13 man=512 remote=None sg=1 uc=None cid=7 +C to=12 man=512 remote=None sg=1 uc=None cid=8 +C to=6 man=1024 remote=None sg=2 uc=None cid=9 +C to=7 man=1024 remote=None sg=2 uc=None cid=10 +C to=8 man=1024 remote=None sg=2 uc=None cid=11 +L id=13 name=None in=None eg=4 dir=1 share=64 type=0 attr=0 man=None +N xy=-9697,-1095 local= dis= en= dw=None de=None +N xy=-785,-71 local= dis= en= dw=None de=None +N xy=-772,-64 local= dis= en= dw=None de=None +L id=12 name=None in=None eg=4 dir=1 share=64 type=0 attr=0 man=None +N xy=-9681,-1454 local= dis= en= dw=None de=None +N xy=-903,-69 local= dis= en= dw=None de=None +N xy=-640,-44 local= dis= en= dw=None de=None +L id=6 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=-6715,-3332 local= dis= en= dw=None de=None +N xy=923,-46 local= dis= en= dw=None de=None +N xy=618,-30 local= dis= en= dw=None de=None +L id=7 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=-6735,-3666 local= dis= en= dw=None de=None +N xy=688,-28 local= dis= en= dw=None de=None +N xy=851,-43 local= dis= en= dw=None de=None +L id=8 name=None in=None eg=2 dir=1 share=4 type=2 attr=0 man=None +N xy=-6734,-3923 local= dis= en= dw=-125 de=None +N xy=623,-28 local= dis= en= dw=None de=None +N xy=916,-44 local= dis= en= dw=None de=None +L id=3 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=-6789,-567 local= dis= en= dw=None de=None +N xy=513,43 local= dis= en= dw=None de=None +N xy=1183,79 local= dis= en= dw=None de=None +N xy=474,-298 local=4 dis= en= dw=None de=None +C to=2 man=512 remote=None sg=3 uc=None cid=6 +L id=2 name=None in=None eg=1 dir=1 share=64 type=0 attr=0 man=None +N xy=-8688,349 local= dis= en= dw=None de=None +N xy=-114,932 local= dis= en= dw=None de=None +N xy=-45,623 local= dis= en= dw=None de=None +L id=4 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=-6771,-901 local= dis= en= dw=None de=None +N xy=513,41 local= dis= en= dw=None de=None +N xy=1639,117 local=4 dis= en= dw=None de=None +N xy=6967,498 local= dis= en= dw=None de=None +C to=13 man=2048 remote=None sg=4 uc=None cid=4 +L id=5 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=-6758,-1245 local= dis= en= dw=None de=None +N xy=542,33 local= dis= en= dw=None de=None +N xy=8592,617 local= dis= en= dw=None de=None +C to=12 man=2048 remote=None sg=4 uc=None cid=5 +L id=9 name=None in=4 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=-9678,-3670 local= dis= en= dw=None de=None +N xy=-767,-70 local= dis= en= dw=None de=None +N xy=-4878,-374 local= dis= en= dw=None de=None +N xy=-2608,-515 local= dis= en= dw=None de=None +N xy=-1850,226 local= dis= en= dw=None de=None +N xy=-1111,357 local= dis= en= dw=None de=None +C to=7 man=2048 remote=None sg=5 uc=None cid=2 +L id=10 name=None in=4 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=-9718,-3345 local= dis= en= dw=None de=None +N xy=-790,-56 local= dis= en= dw=None de=None +N xy=-4797,-378 local= dis= en= dw=None de=None +N xy=-2627,-505 local= dis= en= dw=None de=None +N xy=-1757,213 local= dis= en= dw=None de=None +N xy=-1080,338 local= dis= en= dw=None de=None +C to=6 man=2048 remote=None sg=5 uc=None cid=1 +L id=11 name=None in=4 eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-9439,-3909 local= dis= en= dw=-150 de=None +N xy=-606,-40 local= dis= en= dw=None de=None +N xy=-4679,-353 local= dis= en= dw=None de=None +N xy=-1789,-406 local= dis= en= dw=None de=None +N xy=-1345,-186 local= dis= en= dw=None de=None +N xy=-1990,208 local= dis= en= dw=None de=None +N xy=-1149,380 local= dis= en= dw=None de=None +C to=8 man=2048 remote=None sg=5 uc=None cid=3 +L id=14 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-9117,-177 local= dis= en= dw=None de=None +N xy=-296,-42 local= dis= en= dw=None de=None +C to=15 man=None remote=None sg=6 uc=None cid=14 +L id=15 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-8323,-65 local= dis= en= dw=None de=None +N xy=296,42 local= dis= en= dw=None de=None +C to=14 man=None remote=None sg=6 uc=None cid=15 +L id=16 name=None in=None eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-8045,-330 local= dis= en= dw=-175 de=None +N xy=576,110 local= dis= en= dw=None de=None +N xy=659,-6 local= dis= en= dw=None de=None +N xy=3398,249 local= dis= en= dw=None de=None +N xy=5701,380 local= dis= en= dw=None de=None +C to=17 man=None remote=None sg=7 uc=None cid=16 +L id=17 name=None in=None eg=None dir=1 share=4 type=2 attr=0 man=None +N xy=-9113,-492 local= dis= en= dw=-175 de=None +N xy=-1053,-106 local= dis= en= dw=None de=None +L id=18 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-7231,-432 local= dis= en= dw=None de=None +N xy=-15,122 local= dis= en= dw=None de=None +C to=19 man=None remote=None sg=8 uc=None cid=19 +L id=19 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-7138,-1428 local= dis= en= dw=None de=None +N xy=28,-299 local= dis= en= dw=None de=None +C to=18 man=None remote=None sg=8 uc=None cid=18 +L id=20 name=None in=None eg=None dir=3 share=4 type=2 attr=0 man=None +N xy=-7622,-454 local= dis= en= dw=-125 de=None +N xy=-4,92 local= dis= en= dw=None de=None +C to=21 man=None remote=None sg=9 uc=None cid=20 +L id=21 name=None in=None eg=None dir=3 share=4 type=2 attr=0 man=None +N xy=-7571,-1463 local= dis= en= dw=-125 de=None +N xy=9,-300 local= dis= en= dw=None de=None +C to=20 man=None remote=None sg=9 uc=None cid=21 +L id=22 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-7073,-3173 local= dis= en= dw=None de=None +N xy=18,299 local= dis= en= dw=None de=None +C to=23 man=None remote=None sg=10 uc=None cid=22 +L id=23 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-7122,-3991 local= dis= en= dw=None de=None +N xy=-18,-299 local= dis= en= dw=None de=None +C to=22 man=None remote=None sg=10 uc=None cid=23 +L id=24 name=None in=None eg=None dir=3 share=4 type=2 attr=0 man=None +N xy=-7474,-3167 local= dis= en= dw=-125 de=None +N xy=23,299 local= dis= en= dw=None de=None +C to=25 man=None remote=None sg=11 uc=None cid=24 +L id=25 name=None in=None eg=None dir=3 share=4 type=2 attr=0 man=None +N xy=-7537,-3981 local= dis= en= dw=-125 de=None +N xy=-23,-299 local= dis= en= dw=None de=None +C to=24 man=None remote=None sg=11 uc=None cid=25 +L id=26 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-8970,-2285 local= dis= en= dw=None de=None +N xy=-308,-17 local= dis= en= dw=None de=None +C to=27 man=None remote=None sg=12 uc=None cid=26 +L id=27 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-8482,-2257 local= dis= en= dw=None de=None +N xy=299,22 local= dis= en= dw=None de=None +C to=26 man=None remote=None sg=12 uc=None cid=27 +L id=28 name=None in=None eg=None dir=3 share=4 type=2 attr=0 man=None +N xy=-9005,-1911 local= dis= en= dw=-125 de=None +N xy=-325,-28 local= dis= en= dw=None de=None +C to=29 man=None remote=None sg=13 uc=None cid=28 +L id=29 name=None in=None eg=None dir=3 share=4 type=2 attr=0 man=None +N xy=-8503,-1885 local= dis= en= dw=-125 de=None +N xy=299,15 local= dis= en= dw=None de=None +C to=28 man=None remote=None sg=13 uc=None cid=29 +#hex 020500ffa9ca080003094d8342fc9a94efb2697d93464c6fb45cce000612ea0d558ed997713d5c091000028a2648028824000050a83ba1c42fcf8a22e087009109a0126f6242756da84fc6101980f4cc2083ff41236e31890ef08087c4e20c2b0980001015859000284880491090000024c6167cf07d31607f246d24034420000028540df9e22a37b710e244384d34b50953af8002f8b09dcc26311ef95821d7ec091d316c482f86843e5f109158340000812c2c80014204018888000001262c947503ef8c83f623992029201080000089815d9100fd2321ef762924dc7229605824000101880221010800000470b7d8404e63d909567a4480e4840000011304dad2c1f7c643cdec4749c95458c0b0280002041002422000000470dace3000f7882439e992041211000008cc18aa2c0479c3d7a240b1de1d41834360edb79060d0f02c2d0000c14402cc888000011e4d25a0093c110c8907848146864000020f8173670c4b30018d83c010d28c03c8a60434a30ac24800101960c400080e48186844000010f59d338046c080a39070871382b80ac0900018296088000c16081ac0810000001ccd781a07ea53050703868207302040000007378cb1a2116410010141a101c081ec0810000001fa73a1e07d27c050804878208302040000007f22b6d020758c141e12200822c081000000178e62a013b7c0142414220824c0810000001f3ca9d00ba20a05088509020ab020400000073a1c3a21e79fd0010142c102a082cc08100000015dd6f682085ac142a0e2c0 +station=16755146 rev=0 +I key=3/2421 rev=3 name=MAP_ITS_24_2421_4.3 ref=535425175,99846665 elev=0 width=325 speeds= +L id=1 name=None in=4 eg=None dir=2 share=36 type=0 attr=0 man=None +N xy=526,1671 local= dis= en= dw=None de=None +N xy=-1666,-59 local= dis= en= dw=None de=None +N xy=-1312,112 local= dis= en= dw=None de=None +N xy=-752,208 local= dis= en= dw=None de=None +N xy=-713,393 local= dis= en= dw=None de=None +N xy=-555,437 local= dis= en= dw=None de=None +N xy=-520,528 local= dis= en= dw=None de=None +N xy=-2557,2662 local= dis= en= dw=None de=None +N xy=-1917,2036 local= dis= en= dw=None de=None +N xy=-915,1123 local= dis= en= dw=None de=None +N xy=-965,1056 local= dis= en= dw=None de=None +N xy=-4215,4358 local= dis= en= dw=None de=None +C to=9 man=2048 remote=None sg=1 uc=None cid=1 +C to=11 man=512 remote=None sg=5 uc=None cid=9 +L id=9 name=None in=None eg=2 dir=1 share=36 type=0 attr=0 man=None +N xy=4485,1999 local= dis= en= dw=None de=None +N xy=489,44 local= dis= en= dw=None de=None +N xy=996,109 local= dis= en= dw=None de=None +L id=3 name=None in=4 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=518,1999 local= dis= en= dw=None de=None +N xy=-1373,-73 local= dis= en= dw=None de=None +N xy=-1596,135 local= dis= en= dw=None de=None +N xy=-602,181 local= dis= en= dw=None de=None +N xy=-685,380 local= dis= en= dw=None de=None +N xy=-501,395 local= dis= en= dw=None de=None +N xy=-548,531 local= dis= en= dw=None de=None +N xy=-3523,3670 local= dis= en= dw=None de=None +N xy=-907,984 local= dis= en= dw=None de=None +N xy=-908,1115 local= dis= en= dw=None de=None +N xy=-1001,1076 local= dis= en= dw=None de=None +N xy=-4201,4361 local= dis= en= dw=None de=None +C to=6 man=2048 remote=None sg=1 uc=None cid=2 +C to=11 man=512 remote=None sg=5 uc=None cid=8 +L id=6 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=4452,2282 local= dis= en= dw=None de=None +N xy=495,50 local= dis= en= dw=None de=None +N xy=984,115 local= dis= en= dw=None de=None +L id=5 name=None in=2 eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=4139,3208 local= dis= en= dw=None de=None +N xy=500,50 local= dis= en= dw=None de=None +N xy=3037,329 local= dis= en= dw=None de=None +N xy=5916,662 local= dis= en= dw=None de=None +C to=4 man=2048 remote=None sg=2 uc=None cid=3 +L id=4 name=None in=None eg=4 dir=1 share=4 type=2 attr=0 man=None +N xy=183,2824 local= dis= en= dw=None de=None +N xy=-564,-39 local= dis= en= dw=None de=None +N xy=-682,-46 local= dis= en= dw=None de=None +L id=7 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=4173,2891 local= dis= en= dw=None de=None +N xy=495,50 local= dis= en= dw=None de=None +N xy=2493,285 local= dis= en= dw=None de=None +N xy=6442,710 local= dis= en= dw=None de=None +C to=2 man=2048 remote=None sg=2 uc=None cid=4 +L id=2 name=None in=None eg=4 dir=1 share=64 type=0 attr=0 man=None +N xy=218,2502 local= dis= en= dw=None de=None +N xy=-497,-30 local= dis= en= dw=None de=None +N xy=-754,-45 local= dis= en= dw=None de=None +L id=8 name=None in=2 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=4194,2604 local= dis= en= dw=-25 de=None +N xy=862,72 local= dis= en= dw=None de=None +N xy=1143,117 local= dis= en= dw=None de=None +N xy=262,27 local= dis= en= dw=None de=None +N xy=438,377 local= dis= en= dw=None de=None +N xy=262,30 local= dis= en= dw=None de=None +C to=11 man=1024 remote=None sg=3 uc=None cid=5 +L id=11 name=None in=None eg=3 dir=1 share=68 type=0 attr=0 man=None +N xy=2356,720 local= dis= en= dw=None de=None +N xy=79,-495 local= dis= en= dw=None de=None +N xy=137,-964 local= dis= en= dw=None de=None +L id=10 name=None in=3 eg=None dir=2 share=100 type=0 attr=0 man=None +N xy=3083,871 local= dis= en= dw=None de=None +N xy=75,-640 local= dis= en= dw=None de=None +N xy=108,-784 local= dis= en= dw=None de=None +N xy=26,-186 local= dis= en= dw=None de=None +N xy=-270,-346 local= dis= en= dw=None de=None +N xy=26,-186 local= dis= en= dw=None de=None +C to=9 man=512 remote=None sg=4 uc=None cid=6 +C to=6 man=512 remote=None sg=4 uc=None cid=7 +L id=12 name=None in=3 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=2766,824 local= dis= en= dw=None de=None +N xy=54,-496 local= dis= en= dw=None de=None +N xy=228,-1598 local= dis= en= dw=None de=None +N xy=312,-2704 local= dis= en= dw=None de=None +C to=2 man=1024 remote=None sg=6 uc=None cid=10 +C to=4 man=1024 remote=None sg=6 uc=None cid=11 +L id=13 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=821,3085 local= dis= en= dw=None de=None +N xy=-6,83 local= dis= en= dw=None de=None +C to=14 man=None remote=None sg=7 uc=None cid=13 +L id=14 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=888,2403 local= dis= en= dw=None de=None +N xy=17,-112 local=4 dis= en= dw=None de=None +C to=13 man=None remote=None sg=8 uc=None cid=14 +L id=15 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=3740,3343 local= dis= en= dw=None de=None +N xy=-12,124 local= dis= en= dw=None de=None +C to=16 man=None remote=None sg=9 uc=None cid=15 +L id=16 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=3874,1754 local= dis= en= dw=None de=None +N xy=7,-157 local= dis= en= dw=None de=None +C to=15 man=None remote=None sg=9 uc=None cid=16 +L id=17 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=1820,1108 local= dis= en= dw=None de=None +N xy=-197,-16 local= dis= en= dw=None de=None +C to=18 man=None remote=None sg=10 uc=None cid=17 +L id=18 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=3314,1256 local= dis= en= dw=None de=None +N xy=232,10 local= dis= en= dw=None de=None +C to=17 man=None remote=None sg=10 uc=None cid=18 +L id=21 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=929,2164 local= dis= en= dw=None de=None +N xy=-25,127 local=4 dis= en= dw=None de=None +C to=22 man=None remote=None sg=8 uc=None cid=21 +L id=22 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=954,1517 local= dis= en= dw=None de=None +N xy=8,-149 local= dis= en= dw=None de=None +C to=21 man=None remote=None sg=7 uc=None cid=22 +#hex 02050012453c080003094d8342fc9a94efb2697d93464cafb45cce000612ec0d558edbb6713db4271000028a1648022804200000124e7184f87144432d02ac1ce82c22000040440208808400000239b7ff2c25d5b508b8dd1490085080000011de03e583e53c5acb595d0a660b07800010210072220000004737bf2b84d6b881167b9c120312100000023a8ef010644b72a905e574d41607000040620062440000008f085cb40f9e8f21eeb18c90149048000011c9174ac213e70b207d4e6d02c12000081040104848000011e10b6ee1c5110c5a5113c0812c0810000001d8abc640881760505018482053020400000092cce1fa077ace050482050206b0204000000766ce9001dda20141c061a081cc0810000001dc574e0087969050682070 +station=1197372 rev=0 +I key=3/2422 rev=3 name=MAP_ITS_24_2422_4.3 ref=535425718,99869223 elev=0 width=325 speeds= +L id=1 name=None in=1 eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=1848,4255 local= dis= en= dw=None de=None +N xy=552,67 local= dis= en= dw=None de=None +N xy=8277,925 local= dis= en= dw=None de=None +C to=8 man=2048 remote=None sg=1 uc=None cid=1 +L id=8 name=None in=None eg=2 dir=1 share=4 type=2 attr=0 man=None +N xy=879,4043 local= dis= en= dw=None de=None +N xy=-651,-150 local= dis= en= dw=None de=None +N xy=-1309,-187 local= dis= en= dw=None de=None +L id=2 name=None in=1 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=1920,3884 local= dis= en= dw=None de=None +N xy=3239,363 local= dis= en= dw=None de=None +N xy=11438,1331 local= dis= en= dw=None de=None +C to=7 man=2048 remote=None sg=1 uc=None cid=2 +L id=7 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=891,3671 local= dis= en= dw=None de=None +N xy=-595,-120 local= dis= en= dw=None de=None +N xy=-1329,-200 local= dis= en= dw=None de=None +L id=6 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=1309,3076 local= dis= en= dw=None de=None +N xy=-2997,-427 local= dis= en= dw=None de=None +N xy=-6683,-715 local= dis= en= dw=None de=None +C to=3 man=2048 remote=None sg=2 uc=None cid=3 +L id=3 name=None in=None eg=1 dir=1 share=64 type=0 attr=0 man=None +N xy=2114,3252 local= dis= en= dw=None de=None +N xy=926,121 local= dis= en= dw=None de=None +N xy=885,99 local= dis= en= dw=None de=None +L id=5 name=None in=2 eg=None dir=2 share=36 type=0 attr=0 man=None +N xy=581,2646 local= dis= en= dw=None de=None +N xy=-1730,-245 local= dis= en= dw=None de=None +N xy=-7190,-806 local= dis= en= dw=None de=None +C to=4 man=2048 remote=None sg=2 uc=None cid=4 +L id=4 name=None in=None eg=1 dir=1 share=36 type=0 attr=0 man=None +N xy=2114,2935 local= dis= en= dw=None de=None +N xy=552,67 local= dis= en= dw=None de=None +N xy=1320,158 local= dis= en= dw=None de=None +L id=9 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=1578,3634 local= dis= en= dw=None de=None +N xy=32,-138 local= dis= en= dw=None de=None +C to=10 man=None remote=None sg=3 uc=None cid=9 +L id=10 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=1433,4349 local= dis= en= dw=None de=None +N xy=-34,206 local= dis= en= dw=None de=None +C to=9 man=None remote=None sg=4 uc=None cid=10 +L id=13 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=1644,3360 local= dis= en= dw=None de=None +N xy=-35,136 local= dis= en= dw=None de=None +C to=14 man=None remote=None sg=3 uc=None cid=13 +L id=14 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=1813,2672 local= dis= en= dw=None de=None +N xy=30,-151 local= dis= en= dw=None de=None +C to=13 man=None remote=None sg=4 uc=None cid=14 +#hex 020500ffaf52080003094d8342fc9a94efb2697d93464cefb95cce000612ee0d558ee835713e2ed41000025826481468400000088b6f52463d9757153c45e9d4160f0000208200e4440000008f4296df0e2a86e1ecf15c9024d0800000111547408c7b0eae2a78bbd3702c1a000041440188880000011e7df0461c550dc3d9e2b92041a100000082284fc10020e5088f1d20037b3c00ecf5020ce582c110000818401048c800001242f185c81e4ab42d4ffd920092100000043c2b6a5c38aa1b933e488c0b420307422b0b80003075821000209880599100000023519e4202759e188fd9e3c90149048000021e0d77d61c530dc99dd44445a12783c7158210002042c560000c0c90085088000011bc63d1247523222237efe748ac2c800142562a4008228480628400000211fb6ca700ece3a374ee35c0ea6360233e403ad8e0ac19000182960e8000c16202a6424000008d429a420020e508ef1e201035810200000035e96c980f8d040a0e070d040e604080000009203260103b5e0a0d070e040f60408000000e6ffd6f05a50802840203c1041810200000036ed72c00bd3ee0a0f0810041160408000000eb13c5803eb2e028482444104981020000002e34dc6040ac3828442448104d0084000000acddda4045a8104b2a0a140a0c001420210000002e85bc2d045a80fc4ba0 +station=16756562 rev=0 +I key=3/2423 rev=3 name=MAP_ITS_24_2423_9.3 ref=535428917,99900628 elev=0 width=300 speeds= +L id=10 name=None in=3 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=-1317,1353 local= dis= en= dw=None de=None +N xy=-3111,-338 local= dis= en= dw=None de=None +N xy=-12527,-1419 local= dis= en= dw=None de=None +C to=7 man=2048 remote=None sg=1 uc=None cid=4 +L id=7 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=2580,1759 local= dis= en= dw=None de=None +N xy=554,55 local= dis= en= dw=None de=None +N xy=871,87 local= dis= en= dw=None de=None +L id=9 name=None in=3 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=-1368,1665 local= dis= en= dw=None de=None +N xy=-3112,-338 local= dis= en= dw=None de=None +N xy=-12521,-1426 local= dis= en= dw=None de=None +C to=6 man=2048 remote=None sg=1 uc=None cid=5 +L id=6 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=2551,2083 local= dis= en= dw=None de=None +N xy=554,55 local= dis= en= dw=None de=None +N xy=871,87 local= dis= en= dw=None de=None +L id=8 name=None in=3 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=-1404,1985 local= dis= en= dw=None de=None +N xy=-496,-54 local= dis= en= dw=None de=None +N xy=-1476,-184 local= dis= en= dw=None de=None +N xy=-401,-98 local= dis= en= dw=None de=None +N xy=-453,-267 local= dis= en= dw=None de=None +N xy=-250,-53 local= dis= en= dw=None de=None +C to=4 man=1024 remote=None sg=2 uc=None cid=6 +L id=4 name=None in=None eg=1 dir=1 share=100 type=0 attr=0 man=None +N xy=376,4281 local= dis= en= dw=None de=None +N xy=-28,173 local= dis= en= dw=None de=None +N xy=-173,1019 local= dis= en= dw=None de=None +L id=1 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=2134,2711 local= dis= en= dw=None de=None +N xy=554,55 local= dis= en= dw=None de=None +N xy=5092,560 local= dis= en= dw=None de=None +N xy=8449,929 local= dis= en= dw=None de=None +C to=11 man=2048 remote=None sg=3 uc=None cid=7 +C to=4 man=512 remote=None sg=4 uc=None cid=19 +L id=11 name=None in=None eg=3 dir=1 share=64 type=0 attr=0 man=None +N xy=-1485,2312 local= dis= en= dw=None de=None +N xy=-554,-61 local= dis= en= dw=None de=None +N xy=-1034,-113 local= dis= en= dw=None de=None +L id=5 name=None in=2 eg=None dir=2 share=36 type=0 attr=0 man=None +N xy=2101,3051 local= dis= en= dw=None de=None +N xy=553,55 local= dis= en= dw=None de=None +N xy=5050,546 local= dis= en= dw=None de=None +N xy=8487,967 local= dis= en= dw=None de=None +C to=4 man=512 remote=None sg=4 uc=None cid=8 +C to=21 man=2048 remote=None sg=3 uc=None cid=3 +L id=2 name=None in=1 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=-232,3721 local= dis= en= dw=None de=None +N xy=-696,4642 local= dis= en= dw=None de=None +N xy=-1033,7401 local= dis= en= dw=None de=None +C to=11 man=512 remote=None sg=5 uc=None cid=9 +C to=21 man=512 remote=None sg=65 uc=None cid=20 +L id=3 name=None in=1 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=-74,4764 local= dis= en= dw=None de=None +N xy=-39,285 local= dis= en= dw=None de=None +N xy=-355,2263 local= dis= en= dw=None de=None +N xy=-44,283 local= dis= en= dw=None de=None +N xy=-372,484 local= dis= en= dw=None de=None +N xy=-42,284 local= dis= en= dw=None de=None +C to=6 man=1024 remote=None sg=6 uc=None cid=10 +C to=7 man=1024 remote=None sg=6 uc=None cid=11 +L id=21 name=None in=None eg=3 dir=1 share=36 type=0 attr=0 man=None +N xy=-1516,2626 local= dis= en= dw=None de=None +N xy=-496,-54 local= dis= en= dw=None de=None +N xy=-1092,-120 local= dis= en= dw=None de=None +L id=13 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-1070,2854 local= dis= en= dw=None de=None +N xy=-15,130 local= dis= en= dw=None de=None +C to=14 man=None remote=None sg=7 uc=None cid=13 +L id=14 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-896,1176 local= dis= en= dw=None de=None +N xy=7,-81 local= dis= en= dw=None de=None +C to=13 man=None remote=None sg=7 uc=None cid=14 +L id=15 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=895,3439 local= dis= en= dw=None de=None +N xy=210,16 local= dis= en= dw=None de=None +C to=16 man=None remote=None sg=8 uc=None cid=15 +L id=16 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-550,3248 local= dis= en= dw=None de=None +N xy=-134,-9 local= dis= en= dw=None de=None +C to=15 man=None remote=None sg=8 uc=None cid=16 +L id=17 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=1417,3160 local= dis= en= dw=None de=None +N xy=-11,92 local= dis= en= dw=None de=None +C to=18 man=None remote=None sg=9 uc=None cid=17 +L id=18 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=1588,1478 local= dis= en= dw=None de=None +N xy=5,-121 local= dis= en= dw=None de=None +C to=17 man=None remote=None sg=9 uc=None cid=18 +L id=19 name=None in=None eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=1245,1444 local= dis= en= dw=-150 de=None +N xy=9,-107 local= dis= en= dw=None de=None +C to=20 man=None remote=None sg=10 uc=None cid=12 +L id=20 name=None in=None eg=None dir=1 share=4 type=2 attr=0 man=None +N xy=1069,3117 local= dis= en= dw=-150 de=None +N xy=-8,93 local= dis= en= dw=None de=None +#hex 0205001225f4080003094d8342fc9a94efb2677d93368e6fb75cd60006125a15558ef699713ed5421000028a32480628400000210dd38b307adb8d50fd212fb05ab16030deb8169c6c0b08400010410082220000004816f339a186c76031b42312051a1000000255ab37dd109db78654f907a8b15841000103ac160001018901c908000004210c0d4f8e26a6b0146282d061e1af13b19a906239b1158290001842c108000c24401448800000121c5b01c831e898595f156200824400000090dee85fc19d45c2ca58a824093420000004ab50afe2213b4f0ca9f2cf4d80b04800040524011402100000110d8195a09810c4e83c5748003d127582c3200014084030c8084000002559df82ee00f0ea08dc9e10900850800000221b5120e930ef8b0c5ea73302c0a9080585c0002818805991000000255a06819e01b8ee88c2ddec901890800000220e3cd351232117c07112216961cccdfcc16168000c14081ac081000000217ed2e681e2ca8141c0e1a081cc0810000002193cfa7820f60c141a0e1c081ec0810000002adab420381ed9f41420101e0820c0810000002add6c085a2165c10010141e12200822c08100000060cb4dc40230682d5d0400405090508820930204000001847937b208c182bb86c142216240826c08100000060280d8c023060529f5050a0589820a3020400000181c8366608c1a37f895001014261828082a804200000160148e0e022a2434b5e1b2adb7bdf182858342c00588084000000c0dddc35045451bec288008082e804200000060c78e3b022a282e1d34004050c0706000c101080000058494b9be08a8876547d07c51a820fb0204000000ab7a2ffd287ce9140040510078f821030204000000ab83efa6c083d85050f84100 +station=1189364 rev=0 +I key=3/2349 rev=5 name=MAP_ITS_23_2349_7.5 ref=535432601,99943234 elev=0 width=325 speeds= +L id=3 name=None in=1 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=-4653,716 local= dis= en= dw=None de=None +N xy=2779,426 local= dis= en= dw=None de=None +N xy=3728,763 local= dis= en= dw=None de=None +N xy=213,44 local= dis= en= dw=None de=None +N xy=269,430 local= dis= en= dw=None de=None +N xy=211,54 local= dis= en= dw=None de=None +C to=8 man=1024 remote=None sg=1 uc=None cid=4 +L id=8 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=-7458,-1587 local= dis= en= dw=None de=None +N xy=54,-552 local= dis= en= dw=None de=None +N xy=109,-954 local= dis= en= dw=None de=None +L id=10 name=None in=3 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=-9549,-559 local= dis= en= dw=None de=None +N xy=-549,-61 local= dis= en= dw=None de=None +N xy=-12400,-1397 local= dis= en= dw=None de=None +C to=8 man=512 remote=None sg=2 uc=None cid=7 +C to=5 man=2048 remote=None sg=4 uc=None cid=6 +L id=7 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=-6048,-1377 local= dis= en= dw=None de=None +N xy=309,-2384 local= dis= en= dw=None de=None +N xy=197,-1958 local= dis= en= dw=None de=None +N xy=60,-593 local= dis= en= dw=None de=None +N xy=-157,-1198 local= dis= en= dw=None de=None +N xy=71,-591 local= dis= en= dw=None de=None +C to=5 man=512 remote=None sg=3 uc=None cid=8 +C to=4 man=512 remote=None sg=3 uc=None cid=9 +L id=5 name=None in=None eg=1 dir=1 share=64 type=0 attr=0 man=None +N xy=-4563,57 local= dis= en= dw=None de=None +N xy=286,38 local= dis= en= dw=None de=None +N xy=1199,171 local= dis= en= dw=None de=None +L id=4 name=None in=None eg=1 dir=1 share=64 type=0 attr=0 man=None +N xy=-4626,383 local= dis= en= dw=None de=None +N xy=314,46 local= dis= en= dw=None de=None +N xy=1189,168 local= dis= en= dw=None de=None +L id=9 name=None in=3 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=-9595,-239 local= dis= en= dw=None de=None +N xy=-550,-61 local= dis= en= dw=None de=None +N xy=-12394,-1428 local= dis= en= dw=None de=None +C to=4 man=2048 remote=None sg=4 uc=None cid=5 +L id=1 name=None in=1 eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-4735,1384 local= dis= en= dw=None de=None +N xy=4129,628 local= dis= en= dw=None de=None +N xy=2222,512 local= dis= en= dw=None de=None +N xy=836,235 local= dis= en= dw=None de=None +C to=12 man=2048 remote=None sg=5 uc=None cid=2 +L id=12 name=None in=None eg=3 dir=1 share=4 type=2 attr=0 man=None +N xy=-9761,750 local= dis= en= dw=None de=None +N xy=-392,-44 local= dis= en= dw=None de=None +N xy=-1166,-124 local= dis= en= dw=None de=None +L id=2 name=None in=1 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=-4696,1053 local= dis= en= dw=None de=None +N xy=4335,707 local= dis= en= dw=None de=None +N xy=1875,408 local= dis= en= dw=None de=None +N xy=1034,264 local= dis= en= dw=None de=None +C to=11 man=2048 remote=None sg=5 uc=None cid=3 +L id=11 name=None in=None eg=3 dir=1 share=64 type=0 attr=0 man=None +N xy=-9722,414 local= dis= en= dw=None de=None +N xy=-292,-35 local= dis= en= dw=None de=None +N xy=-1269,-133 local= dis= en= dw=None de=None +L id=6 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=-6370,-1430 local= dis= en= dw=None de=None +N xy=801,-6672 local= dis= en= dw=None de=None +N xy=274,-3027 local= dis= en= dw=None de=None +N xy=1843,-18445 local= dis= en= dw=None de=None +C to=11 man=1024 remote=None sg=6 uc=None cid=10 +L id=13 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-5130,1485 local= dis= en= dw=None de=None +N xy=-30,298 local= dis= en= dw=None de=None +C to=14 man=None remote=None sg=7 uc=None cid=13 +L id=14 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-4962,-177 local= dis= en= dw=None de=None +N xy=15,-125 local= dis= en= dw=None de=None +C to=13 man=None remote=None sg=7 uc=None cid=14 +L id=15 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-9386,1031 local= dis= en= dw=None de=None +N xy=-19,125 local= dis= en= dw=None de=None +C to=16 man=None remote=None sg=8 uc=None cid=15 +L id=16 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-9299,267 local= dis= en= dw=None de=None +N xy=22,-144 local=4 dis= en= dw=None de=None +C to=15 man=None remote=None sg=9 uc=None cid=16 +L id=17 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-6566,-1144 local= dis= en= dw=-125 de=None +N xy=-331,-48 local=4 dis= en= dw=None de=None +C to=18 man=None remote=None sg=10 uc=None cid=17 +L id=18 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-5902,-1063 local= dis= en= dw=-125 de=None +N xy=187,27 local= dis= en= dw=None de=None +C to=17 man=None remote=None sg=11 uc=None cid=18 +L id=19 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-7872,-1256 local= dis= en= dw=-125 de=None +N xy=-182,-11 local= dis= en= dw=None de=None +C to=20 man=None remote=None sg=11 uc=None cid=19 +L id=20 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-7280,-1229 local= dis= en= dw=-125 de=None +N xy=383,37 local=4 dis= en= dw=None de=None +C to=19 man=None remote=None sg=12 uc=None cid=20 +L id=21 name=None in=None eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-8028,-996 local= dis= en= dw=-175 de=None +N xy=-4819,-485 local= dis= en= dw=None de=None +N xy=-9361,-1053 local= dis= en= dw=None de=None +C to=22 man=None remote=None sg=13 uc=None cid=11 +L id=22 name=None in=None eg=None dir=1 share=4 type=2 attr=0 man=None +N xy=-7305,-971 local= dis= en= dw=-175 de=None +N xy=381,20 local=4 dis= en= dw=None de=None +L id=23 name=None in=None eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=-6596,-906 local= dis= en= dw=-175 de=None +N xy=-328,-45 local=4 dis= en= dw=None de=None +C to=24 man=None remote=None sg=14 uc=None cid=12 +L id=24 name=None in=None eg=None dir=1 share=4 type=2 attr=0 man=None +N xy=-5847,-801 local= dis= en= dw=-175 de=None +N xy=714,125 local= dis= en= dw=None de=None +N xy=482,53 local= dis= en= dw=None de=None +L id=31 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-9263,-23 local= dis= en= dw=None de=None +N xy=-13,145 local=4 dis= en= dw=None de=None +C to=32 man=None remote=None sg=15 uc=None cid=31 +L id=32 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=-9185,-714 local= dis= en= dw=None de=None +N xy=15,-123 local= dis= en= dw=None de=None +C to=31 man=None remote=None sg=8 uc=None cid=32 +#hex 0205001230ec080003094d8342fc9a94efb2677d93372d2fb95cd2000612b411558ef699713ed5421000028a2a480248042000002276537e41352fa0187e4eae20b232790161b0000208201a840420000011f6e775412e4d4c2411a3120112100000044ee66e9026a8940b8f2153a91e74a8160b0e8000105100e42200000047dfcd300485b4f096d6b4480e680420000072711f1330e7745db154609e8e8505fb5cdc8f1480082a4e2f20d442b039f41fb073c33ae82c3500008309018d080000072739316c8e7765da151d0fd0e8bc55115a30148a96cadc3520920e8647a51ce54ec42b0420003075829000184080211100000024f4269620717400728cb5100522200000049e5055560e127a0e55974480648400000213bf6b5249c49d2e83edad69c14947809678005251e02c2500010184024c8800000126a950af02bc0d836a839920622100000043f9e5cf020dd9f8cc4ee1619511c880b058000503240b44200000087f6cb00845234f196fdc18329f38dc16090000a0448148840000020ff594ba084c6a632a037bc4536e52109921c0773ce0b092000601241734200000189bad43cc0ae830155b0460e67a77e1cf18dd60b5c581595995a2a11d90010161c800041c081e80420000026657d178823063261b84844d2dd4332fbbb814200e1400204042000001673b12d4823061c4b3983d6ea00208b020400000099d0c3b40635d2050904088209302040000009cf748780a3a32050884090209b02040000009d69d88c894d4e4004050a0489820a302040000009ce35ff00776720509850a020ab02040000009db5d5d286eaab4004050b058a820b302040000009e12d10408a578050a860b00 +station=1192172 rev=0 +I key=3/2394 rev=4 name=MAP_ITS_23_2394_9.4 ref=535432601,99943234 elev=0 width=325 speeds= +L id=1 name=None in=2 eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=6953,4040 local= dis= en= dw=None de=None +N xy=5423,2054 local= dis= en= dw=None de=None +N xy=3662,1476 local= dis= en= dw=None de=None +N xy=1164,484 local= dis= en= dw=None de=None +C to=13 man=2048 remote=None sg=1 uc=None cid=4 +L id=13 name=None in=None eg=4 dir=1 share=4 type=2 attr=0 man=None +N xy=3513,2986 local= dis= en= dw=None de=None +N xy=-654,-173 local= dis= en= dw=None de=None +N xy=-764,-186 local= dis= en= dw=None de=None +L id=2 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=7065,3728 local= dis= en= dw=None de=None +N xy=5444,2071 local= dis= en= dw=None de=None +N xy=2314,937 local= dis= en= dw=None de=None +N xy=2514,1035 local= dis= en= dw=None de=None +C to=14 man=2048 remote=None sg=1 uc=None cid=5 +L id=14 name=None in=None eg=4 dir=1 share=64 type=0 attr=0 man=None +N xy=3580,2656 local= dis= en= dw=None de=None +N xy=-757,-177 local= dis= en= dw=None de=None +N xy=-659,-166 local= dis= en= dw=None de=None +L id=7 name=None in=3 eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=6287,614 local= dis= en= dw=None de=None +N xy=954,-2597 local= dis= en= dw=None de=None +N xy=652,-1731 local= dis= en= dw=None de=None +N xy=1064,-2565 local= dis= en= dw=None de=None +N xy=882,-2166 local=4 dis= en= dw=None de=None +N xy=590,-1294 local= dis= en= dw=None de=None +N xy=324,-680 local= dis= en= dw=None de=None +N xy=1000,-2068 local= dis= en= dw=None de=None +N xy=963,-2211 local= dis= en= dw=None de=None +C to=13 man=1024 remote=None sg=2 uc=None cid=12 +L id=6 name=None in=3 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=6601,729 local= dis= en= dw=None de=None +N xy=955,-2598 local= dis= en= dw=None de=None +N xy=570,-1542 local= dis= en= dw=None de=None +N xy=1118,-2735 local= dis= en= dw=None de=None +N xy=838,-2007 local= dis= en= dw=None de=None +N xy=603,-1353 local= dis= en= dw=None de=None +N xy=328,-732 local= dis= en= dw=None de=None +N xy=1074,-2139 local= dis= en= dw=None de=None +N xy=917,-2206 local= dis= en= dw=None de=None +C to=4 man=512 remote=None sg=3 uc=None cid=7 +C to=5 man=512 remote=None sg=3 uc=None cid=8 +L id=4 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=7433,2402 local= dis= en= dw=None de=None +N xy=395,128 local= dis= en= dw=None de=None +N xy=593,181 local= dis= en= dw=None de=None +L id=5 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=7328,2731 local= dis= en= dw=None de=None +N xy=388,122 local= dis= en= dw=None de=None +N xy=597,186 local= dis= en= dw=None de=None +L id=3 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=7158,3401 local= dis= en= dw=None de=None +N xy=6291,2420 local= dis= en= dw=None de=None +N xy=3509,1447 local= dis= en= dw=None de=None +N xy=146,60 local= dis= en= dw=None de=None +N xy=89,384 local= dis= en= dw=None de=None +N xy=146,60 local= dis= en= dw=None de=None +C to=9 man=1024 remote=None sg=4 uc=None cid=6 +L id=9 name=None in=None eg=3 dir=1 share=64 type=0 attr=0 man=None +N xy=5450,350 local= dis= en= dw=None de=None +N xy=188,-458 local= dis= en= dw=None de=None +N xy=426,-909 local= dis= en= dw=None de=None +L id=12 name=None in=4 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=3900,1852 local= dis= en= dw=None de=None +N xy=-969,-193 local= dis= en= dw=None de=None +N xy=-2521,-490 local= dis= en= dw=None de=None +N xy=-2748,-444 local= dis= en= dw=None de=None +C to=5 man=2048 remote=None sg=5 uc=None cid=3 +L id=11 name=None in=4 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=3948,1537 local= dis= en= dw=None de=None +N xy=-860,-177 local= dis= en= dw=None de=None +N xy=-2625,-500 local= dis= en= dw=None de=None +N xy=-2754,-457 local= dis= en= dw=None de=None +C to=4 man=2048 remote=None sg=5 uc=None cid=2 +L id=10 name=None in=4 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=4012,1210 local= dis= en= dw=None de=None +N xy=-948,-173 local= dis= en= dw=None de=None +N xy=-2752,-529 local= dis= en= dw=None de=None +N xy=-1381,-215 local= dis= en= dw=None de=None +N xy=-948,135 local= dis= en= dw=None de=None +N xy=-274,-25 local= dis= en= dw=None de=None +C to=9 man=512 remote=None sg=6 uc=None cid=1 +L id=23 name=None in=3 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=5978,486 local= dis= en= dw=None de=None +N xy=186,-464 local= dis= en= dw=None de=None +N xy=694,-1908 local= dis= en= dw=None de=None +N xy=829,-2178 local= dis= en= dw=None de=None +N xy=966,-2325 local= dis= en= dw=None de=None +N xy=215,-424 local= dis= en= dw=None de=None +N xy=811,-1237 local= dis= en= dw=None de=None +N xy=161,-394 local=4 dis= en= dw=None de=None +C to=14 man=1024 remote=None sg=2 uc=None cid=14 +L id=15 name=None in=None eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=4798,753 local= dis= en= dw=-125 de=None +N xy=-2877,-494 local= dis= en= dw=None de=None +N xy=-1431,-278 local= dis= en= dw=None de=None +N xy=-2465,-274 local= dis= en= dw=None de=None +C to=16 man=None remote=None sg=7 uc=None cid=10 +L id=16 name=None in=None eg=None dir=1 share=4 type=2 attr=0 man=None +N xy=6616,1449 local= dis= en= dw=-125 de=None +N xy=549,230 local= dis= en= dw=None de=None +N xy=859,320 local= dis= en= dw=None de=None +L id=17 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=5025,474 local= dis= en= dw=None de=None +N xy=-115,-46 local= dis= en= dw=None de=None +C to=18 man=None remote=None sg=8 uc=None cid=17 +L id=18 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=6638,1084 local= dis= en= dw=None de=None +N xy=142,50 local= dis= en= dw=None de=None +C to=17 man=None remote=None sg=8 uc=None cid=18 +L id=19 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=6867,3142 local= dis= en= dw=None de=None +N xy=83,-178 local=4 dis= en= dw=None de=None +C to=20 man=None remote=None sg=9 uc=None cid=19 +L id=20 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=6598,4088 local= dis= en= dw=None de=None +N xy=-35,114 local= dis= en= dw=None de=None +C to=19 man=None remote=None sg=10 uc=None cid=20 +L id=21 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=7019,2793 local= dis= en= dw=None de=None +N xy=-70,171 local=4 dis= en= dw=None de=None +C to=22 man=None remote=None sg=11 uc=None cid=21 +L id=22 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=7205,2178 local= dis= en= dw=None de=None +N xy=41,-136 local= dis= en= dw=None de=None +C to=21 man=None remote=None sg=12 uc=None cid=22 +#hex 02050000302908000309cd8342fc9a94efb2677d93372dafb164b99c1db0257018ab1d58e8e27e146a05147090109080000036724ae59a00082bf0c873a533b86ab9744e0f30280082b0f800011b581200010f0807a1100000024c7271ad0283e701d9938901490800000267454e862200b9c0afc325d81822680081a9433856210000238b0b2000226101042200000049982e3d20507ce03794c12099201080000059d293e968802ce02c00c4940c976e2b14800011d589100010f880a2101080000059a3d628608c18141f380fad9620042440000012f9c386f0479c083bf6815a10400402d50288091901080000059fb1c8a208ce0741b960462fa92049a10000002cf2f675e400107d6d59337672e4160e8000640200e444000000b36da793011e7057e1902305ec9028d08000001679c9464a200bce0fadab26710e4a82c0a00010849044d0084000002ceca6a5144017381f63564ce21c951581c0002112c508000cdc400c48084000002be5766e0118302dcd220224750010903510800000165f65842a0008141f3849d7eee0b0b4000523100b32200000059ed9cbb208dfa3eb6ac12280586f092072210000002cbab7026440179c0a0f9c24e7f3a1583c0003122c08800149490045088000055f69ed86880319003180044a105023267dc19ec9ec221fd7801103bc52ac2e0001c9d60e4001050b082000829589400039b2c3d00020e1620800107220104404200000166abcf410233809194d052051120aa201080000097df5f51a200b061627950072de224f7e6515844000495ac0c80028a810598102000002cc90aebd400142bedca002018f738142e1658082ec08100000066a9780a200083129e4142c185a0830c0810000005f9539de800203c182050c8697020cb020400000598af5cae8002890e1f4004059b2f8286038bc10698102000000ce416b404001031d8a8286c3cc0106d8102000000cf0c2383400104e475828683cc410718102000000bf0debb500040d06380a1d1032041d60408000002ffb15c3400104c0720287044cc10798102000000cd03e0c5400101aaf68287c48d0107d8102000000ce9f212e400106a7098287848d40 +station=12329 rev=0 +I key=1900/2396 rev=3 name=MAP_ITS_23_2396_12.3 ref=535413620,99956789 elev=None width=325 speeds= +L id=4 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=6437,-845 local=1 dis= en= dw=None de=None +N xy=191,-462 local= dis= en= dw=None de=None +N xy=933,-2441 local= dis= en= dw=None de=None +N xy=343,-652 local= dis= en= dw=None de=None +N xy=527,-639 local=4 dis= en= dw=None de=None +C to=15 man=2048 remote=None sg=1 uc=None cid=27 +C to=2 man=1024 remote=None sg=2 uc=None cid=30 +L id=15 name=None in=None eg=4 dir=1 share=64 type=0 attr=0 man=None +N xy=4553,4525 local= dis= en= dw=None de=None +N xy=-191,462 local= dis= en= dw=None de=None +N xy=-39,78 local= dis= en= dw=None de=None +L id=5 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=6698,-756 local=1 dis= en= dw=-50 de=None +N xy=191,-462 local= dis= en= dw=None de=None +N xy=1542,-3821 local=4 dis= en= dw=None de=None +N xy=330,-818 local= dis= en= dw=None de=None +C to=16 man=2048 remote=None sg=1 uc=None cid=28 +C to=11 man=512 remote=None sg=2 uc=None cid=38 +L id=16 name=None in=None eg=4 dir=1 share=64 type=0 attr=0 man=None +N xy=4869,4585 local= dis= en= dw=None de=None +N xy=-191,462 local= dis= en= dw=None de=None +N xy=-68,152 local= dis= en= dw=None de=None +L id=19 name=None in=2 eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=6738,-181 local=1 dis= en= dw=-100 de=None +N xy=192,-463 local= dis= en= dw=None de=None +N xy=2073,-5193 local= dis= en= dw=None de=None +C to=20 man=2048 remote=None sg=1 uc=None cid=29 +C to=18 man=512 remote=None sg=2 uc=None cid=31 +L id=20 name=None in=None eg=4 dir=1 share=4 type=2 attr=0 man=None +N xy=5242,4419 local= dis= en= dw=-125 de=None +N xy=-191,462 local= dis= en= dw=None de=None +N xy=-11,203 local= dis= en= dw=None de=None +L id=2 name=None in=None eg=1 dir=1 share=64 type=0 attr=0 man=None +N xy=3297,2159 local= dis= en= dw=-25 de=None +N xy=-249,-5 local= dis= en= dw=None de=None +N xy=-426,16 local=4 dis= en= dw=None de=None +N xy=-150,5 local= dis= en= dw=None de=None +L id=18 name=None in=None eg=3 dir=1 share=4 type=2 attr=0 man=None +N xy=8035,1105 local= dis= en= dw=-100 de=None +N xy=643,-106 local= dis= en= dw=None de=None +N xy=49,-11 local= dis= en= dw=None de=None +L id=9 name=None in=3 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=7357,1886 local=1 dis= en= dw=None de=None +N xy=491,-85 local= dis= en= dw=None de=None +N xy=4982,-839 local= dis= en= dw=None de=None +C to=7 man=1024 remote=None sg=3 uc=None cid=32 +L id=7 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=5850,-436 local= dis= en= dw=-25 de=None +N xy=191,-462 local= dis= en= dw=None de=None +N xy=48,-133 local= dis= en= dw=None de=None +L id=10 name=None in=3 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=7396,2249 local=1 dis= en= dw=-25 de=None +N xy=491,-85 local= dis= en= dw=None de=None +N xy=5000,-875 local= dis= en= dw=None de=None +C to=2 man=2048 remote=None sg=4 uc=None cid=33 +L id=17 name=None in=3 eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=6953,2641 local=1 dis= en= dw=-50 de=None +N xy=492,-85 local= dis= en= dw=None de=None +N xy=5000,-875 local= dis= en= dw=None de=None +C to=3 man=2048 remote=None sg=4 uc=None cid=34 +C to=20 man=512 remote=None sg=3 uc=None cid=55 +L id=3 name=None in=None eg=1 dir=1 share=4 type=2 attr=0 man=None +N xy=3246,2488 local= dis= en= dw=-125 de=None +N xy=-146,-92 local= dis= en= dw=None de=None +N xy=-478,-227 local=4 dis= en= dw=None de=None +L id=13 name=None in=4 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=4018,4229 local=1 dis= en= dw=None de=None +N xy=-191,462 local= dis= en= dw=None de=None +N xy=-789,1911 local= dis= en= dw=None de=None +C to=11 man=1024 remote=None sg=5 uc=None cid=35 +L id=11 name=None in=None eg=3 dir=1 share=64 type=0 attr=0 man=None +N xy=7603,1497 local= dis= en= dw=-65 de=None +N xy=491,-85 local= dis= en= dw=40 de=None +N xy=195,-31 local= dis= en= dw=None de=None +L id=14 name=None in=4 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=3757,4134 local=1 dis= en= dw=-25 de=None +N xy=-191,462 local= dis= en= dw=None de=None +N xy=-793,1850 local= dis= en= dw=None de=None +C to=7 man=2048 remote=None sg=6 uc=None cid=36 +C to=2 man=512 remote=None sg=5 uc=None cid=37 +L id=1 name=None in=1 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=3495,1731 local=1 dis= en= dw=50 de=None +N xy=-463,0 local= dis= en= dw=None de=None +N xy=-1456,40 local= dis= en= dw=None de=None +N xy=-1242,-36 local= dis= en= dw=None de=None +N xy=-2126,-159 local= dis= en= dw=None de=None +N xy=-1539,-128 local= dis= en= dw=None de=None +N xy=-1529,-118 local= dis= en= dw=None de=None +C to=11 man=2048 remote=None sg=7 uc=None cid=39 +C to=7 man=512 remote=None sg=8 uc=None cid=40 +C to=8 man=512 remote=None sg=8 uc=None cid=41 +C to=18 man=2048 remote=None sg=7 uc=None cid=54 +C to=15 man=1024 remote=None sg=8 uc=None cid=56 +C to=16 man=1024 remote=None sg=8 uc=None cid=57 +L id=8 name=None in=None eg=2 dir=1 share=4 type=2 attr=0 man=None +N xy=5470,-382 local= dis= en= dw=-100 de=None +N xy=70,-179 local= dis= en= dw=None de=None +N xy=144,-350 local= dis= en= dw=None de=None +L id=21 name=None in=4 eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=3573,3747 local=1 dis= en= dw=-125 de=None +N xy=-237,596 local= dis= en= dw=None de=None +N xy=-283,241 local= dis= en= dw=None de=None +N xy=-777,1637 local= dis= en= dw=None de=None +C to=8 man=2048 remote=None sg=9 uc=None cid=43 +C to=3 man=512 remote=None sg=10 uc=None cid=42 +L id=22 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=4674,3773 local=1 dis= en= dw=None de=None +N xy=-161,-71 local=4 dis= en= dw=None de=None +N xy=-113,-50 local= dis= en= dw=None de=None +C to=23 man=None remote=None sg=11 uc=None cid=44 +L id=23 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=5451,4116 local=1 dis= en= dw=None de=None +N xy=274,121 local= dis= en= dw=None de=None +C to=22 man=None remote=None sg=12 uc=None cid=45 +L id=24 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=3668,3311 local=1 dis= en= dw=None de=None +N xy=-272,-126 local= dis= en= dw=None de=None +C to=25 man=None remote=None sg=13 uc=None cid=46 +L id=25 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=4446,3671 local=1 dis= en= dw=None de=None +N xy=67,31 local=4 dis= en= dw=None de=None +N xy=205,95 local= dis= en= dw=None de=None +C to=24 man=None remote=None sg=14 uc=None cid=47 +L id=26 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=6405,2880 local=1 dis= en= dw=None de=None +N xy=-114,277 local= dis= en= dw=None de=None +C to=27 man=None remote=None sg=15 uc=None cid=48 +L id=27 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=7216,899 local=1 dis= en= dw=None de=None +N xy=114,-277 local= dis= en= dw=None de=None +C to=26 man=None remote=None sg=15 uc=None cid=49 +L id=28 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=3611,2797 local=1 dis= en= dw=None de=None +N xy=-96,284 local= dis= en= dw=None de=None +C to=29 man=None remote=None sg=16 uc=None cid=50 +L id=29 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=4056,1475 local=1 dis= en= dw=None de=None +N xy=96,-284 local= dis= en= dw=None de=None +C to=28 man=None remote=None sg=17 uc=None cid=51 +L id=30 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=5135,197 local=1 dis= en= dw=None de=None +N xy=-299,-19 local= dis= en= dw=None de=None +C to=31 man=None remote=None sg=18 uc=None cid=52 +L id=31 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=6780,302 local=1 dis= en= dw=None de=None +N xy=339,19 local= dis= en= dw=None de=None +C to=30 man=None remote=None sg=18 uc=None cid=53 +#hex 020500ffbb17080003094d8342fc9a94efb2697d93464e6fb65cc6000612fa04558f3b5e713fb33b028a16480228400000136f2ba4725000401215623f755b21ddebb582c2e0000404402c8880000012dfd6ca280750f1915e966412010a10000004dbd7290ba4001003e4b042b99a21c94b9082c32000040840308880000012e038c9a88784f2c15e966412019210000010dbdbc972940010e7bbda2c97bff1682f008f119b1d1e4bf4583cc268205a4fd783cf46d201906bc0b09800030310091220000004b749f29e800e8ff11252858202b0204000001b7f012348800208e5ae05030202020330204000001b7c1b276e8002876a3e40242828141014101d8102000000dbca595644001468448a0121414100a0c0810c0810000006dd8f4bc2200081c6944140e0a0e081a80420000076e0c2cde820008b3db3a477dcd350b15b57c58d1a163cc668245cabe041ae1fe87b16e1b02838082000388084000000dbce298244001084d33a +station=16759575 rev=0 +I key=3/2429 rev=1 name=MAP_ITS_24_2429_6.1 ref=535450206,100000059 elev=None width=325 speeds= +L id=1 name=None in=1 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=15534,4553 local=1 dis= en= dw=None de=None +N xy=-476,-341 local= dis= en= dw=None de=None +N xy=-1033,-677 local= dis= en= dw=None de=None +N xy=-4369,-2197 local= dis= en= dw=None de=None +C to=11 man=2048 remote=None sg=1 uc=None cid=1 +L id=11 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=16301,5200 local= dis= en= dw=None de=None +N xy=673,793 local= dis= en= dw=None de=None +N xy=978,1224 local= dis= en= dw=None de=None +L id=2 name=None in=1 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=15730,4282 local=1 dis= en= dw=None de=None +N xy=-481,-362 local= dis= en= dw=None de=None +N xy=-937,-614 local= dis= en= dw=None de=None +N xy=-4534,-2271 local= dis= en= dw=None de=None +C to=12 man=2048 remote=None sg=1 uc=None cid=2 +L id=12 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=16497,4945 local= dis= en= dw=None de=None +N xy=777,812 local= dis= en= dw=None de=None +N xy=978,1224 local= dis= en= dw=None de=None +L id=3 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=15804,5929 local=1 dis= en= dw=None de=None +N xy=635,493 local= dis= en= dw=None de=None +N xy=1175,1023 local= dis= en= dw=None de=None +N xy=1285,1537 local= dis= en= dw=None de=None +N xy=2188,2845 local= dis= en= dw=None de=None +N xy=2351,2604 local= dis= en= dw=None de=None +N xy=2436,2568 local= dis= en= dw=None de=None +N xy=1319,1724 local= dis= en= dw=None de=None +N xy=2536,2888 local= dis= en= dw=None de=None +N xy=288,350 local= dis= en= dw=None de=None +C to=9 man=2048 remote=None sg=3 uc=None cid=3 +L id=9 name=None in=None eg=1 dir=1 share=64 type=0 attr=0 man=None +N xy=14927,5364 local= dis= en= dw=None de=None +N xy=-454,-257 local= dis= en= dw=None de=None +N xy=-1462,-757 local= dis= en= dw=None de=None +L id=5 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=16256,4516 local=1 dis= en= dw=None de=None +N xy=57,-82 local= dis= en= dw=None de=None +C to=6 man=None remote=None sg=4 uc=None cid=4 +L id=6 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=15885,5047 local=1 dis= en= dw=None de=None +N xy=-38,62 local=4,5 dis= en= dw=None de=None +C to=5 man=None remote=None sg=4 uc=None cid=5 +L id=7 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=15525,5476 local=1 dis= en= dw=None de=None +N xy=322,-367 local=4,5 dis= en= dw=None de=None +C to=8 man=None remote=None sg=5 uc=None cid=6 +L id=8 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=15134,6020 local=1 dis= en= dw=None de=None +N xy=-58,81 local= dis= en= dw=None de=None +C to=7 man=None remote=None sg=5 uc=None cid=7 +L id=13 name=None in=None eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=16773,7120 local=1 dis= en= dw=None de=None +N xy=1270,1257 local= dis= en= dw=None de=None +N xy=2012,2666 local= dis= en= dw=None de=None +N xy=1110,1375 local= dis= en= dw=None de=None +N xy=1128,1291 local= dis= en= dw=None de=None +N xy=2444,2569 local= dis= en= dw=None de=None +N xy=1621,1794 local= dis= en= dw=None de=None +N xy=368,1018 local= dis= en= dw=None de=None +N xy=2838,3126 local= dis= en= dw=None de=None +C to=14 man=None remote=None sg=2 uc=None cid=8 +L id=14 name=None in=None eg=None dir=1 share=4 type=2 attr=0 man=None +N xy=15586,6180 local=1 dis= en= dw=None de=None +N xy=-947,-611 local= dis= en= dw=None de=None +#hex 020500ffef5d080003094d8342fc9a94efb0637d8b66b7d8b55cc60006014a04558f6b78713f201c028a364802284000001b33e3b8c100040ef7fab781e42500100fec303744f578961b0000202b1220002025889000103080699100000024d519dfa049209022245c40490888000011f11e60c01390a099d54a4820884400000afcd8fe8400100a0859557cd9ebc56150000618b0b800030e100a22200000049fe5d2fe0e7b1607ffb91207a210000002bee6440d0004027214555f367af0584c000186880491100000024f9f2a440e16ad00daef7100b22021000000b68056211811830e626d40e12172405242000000d9d5252d880023c10d5205c537262e3faab1707ce302c35000103c9018908000008673e753ea0008f05154c16fb5c40bb02bb05e073cc3f04474c781990a8f2b13721e25a9243d2ed82416230000a2020228440000008f9dd1e5009c8504ceaa5240724200000219d5058fa8002aed1c60400416f65cb0bc0abf45e6d3e43f0547505fed4183c9a4d90787da428f4b16060589400028892061a11000006cda81e3440010492091612197b20918f19604973cd51458510003092c24800184d6164000c28b0380007045824000382920e1210000004ce74320940010e2b41c1e8ad8538c2b2200202c0c801040c400c48800000126e8fad98211d6c2fe76488020901080000059cb06a5c08c182b8f2415ada64836480420000016667b4bda200ad407e67103ed3c02c3900020544038c8084000002cd075dd60460c124824088917240824021000004b3960b365100551176a63106d8f01160ed380b4c295c5d194622d7e9812681d23d0fa5153e0ff17b23d7ada3016250000a2c480428042000001665e96d0a200b06276ad495432f25a00202c3a000241c104d8102000000cca3ec05440179c0cf3d80a140a08041460408000003371db3e11005e704c50a0084c2410558102000000cdfd6c42440179c0f34c00a160b0a04166040800000339da94cd1005e70434d0028542c2c105d8102000000ccd1a110440179c0d3ba60a180c1704186040800000336ec8bb11005e704b3168285c306010658102000000bfd757351005e703a33782868346410698102000000cc6020f9440179c1123460a190d1a +station=16772957 rev=0 +I key=3/165 rev=1 name=MAP_ITS_01_165_15.1 ref=535462520,99962396 elev=None width=325 speeds= +L id=1 name=None in=1 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=5091,3632 local=1 dis= en= dw=None de=None +N xy=-34,509 local= dis= en= dw=None de=None +N xy=-253,2313 local=4 dis= en= dw=None de=None +N xy=-3,24 local= dis= en= dw=None de=None +N xy=-375,3422 local= dis= en= dw=None de=None +C to=13 man=2048 remote=None sg=1 uc=None cid=1 +C to=18 man=512 remote=None sg=2 uc=None cid=2 +C to=17 man=512 remote=None sg=2 uc=None cid=6 +L id=13 name=None in=None eg=3 dir=1 share=64 type=0 attr=0 man=None +N xy=5446,-518 local= dis= en= dw=None de=None +N xy=73,-494 local= dis= en= dw=None de=None +N xy=34,-233 local= dis= en= dw=None de=None +L id=18 name=None in=None eg=4 dir=1 share=68 type=0 attr=0 man=None +N xy=3143,774 local= dis= en= dw=None de=None +N xy=-434,-246 local= dis= en= dw=None de=None +N xy=-611,-347 local= dis= en= dw=None de=None +L id=16 name=None in=4 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=3692,-24 local=1 dis= en= dw=None de=None +N xy=-432,-245 local= dis= en= dw=None de=None +N xy=-10765,-6225 local= dis= en= dw=None de=None +C to=10 man=2048 remote=None sg=3 uc=None cid=12 +C to=11 man=2048 remote=None sg=3 uc=None cid=14 +L id=10 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=8139,2431 local= dis= en= dw=None de=None +N xy=414,278 local= dis= en= dw=None de=None +N xy=511,370 local= dis= en= dw=None de=None +L id=15 name=None in=4 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=3532,259 local=1 dis= en= dw=None de=None +N xy=-434,-246 local= dis= en= dw=None de=None +N xy=-10765,-6225 local= dis= en= dw=None de=None +C to=9 man=2048 remote=None sg=3 uc=None cid=13 +L id=9 name=None in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=7804,2628 local= dis= en= dw=None de=None +N xy=534,360 local= dis= en= dw=None de=None +N xy=363,247 local= dis= en= dw=None de=None +L id=11 name=None in=None eg=2 dir=1 share=4 type=2 attr=0 man=None +N xy=8213,2118 local= dis= en= dw=-125 de=None +N xy=610,-150 local= dis= en= dw=None de=None +N xy=388,23 local= dis= en= dw=None de=None +L id=5 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=6820,2412 local=1 dis= en= dw=None de=None +N xy=2081,1352 local= dis= en= dw=None de=None +N xy=1577,915 local= dis= en= dw=None de=None +N xy=1599,683 local= dis= en= dw=None de=None +N xy=1551,454 local= dis= en= dw=None de=None +C to=13 man=1024 remote=None sg=4 uc=None cid=15 +L id=6 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=6643,2685 local=1 dis= en= dw=None de=None +N xy=2088,1356 local= dis= en= dw=None de=None +N xy=1526,904 local= dis= en= dw=None de=None +N xy=1728,748 local= dis= en= dw=None de=None +N xy=1795,486 local= dis= en= dw=None de=None +N xy=3592,467 local= dis= en= dw=None de=None +N xy=2073,533 local= dis= en= dw=None de=None +N xy=2392,882 local= dis= en= dw=None de=None +N xy=2198,1170 local= dis= en= dw=None de=None +N xy=2653,1545 local= dis= en= dw=None de=None +C to=17 man=2048 remote=None sg=5 uc=None cid=16 +L id=17 name=None in=None eg=4 dir=1 share=64 type=0 attr=0 man=None +N xy=3310,485 local= dis= en= dw=None de=None +N xy=-434,-246 local= dis= en= dw=None de=None +N xy=-611,-347 local= dis= en= dw=None de=None +L id=7 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=6816,3197 local=1 dis= en= dw=None de=None +N xy=1745,1120 local=4 dis= en= dw=None de=None +N xy=1516,918 local= dis= en= dw=None de=None +N xy=1794,765 local= dis= en= dw=None de=None +N xy=1846,498 local= dis= en= dw=None de=None +N xy=3594,468 local= dis= en= dw=None de=None +N xy=2038,524 local= dis= en= dw=None de=None +N xy=2356,868 local= dis= en= dw=None de=None +N xy=2173,1157 local= dis= en= dw=None de=None +N xy=2648,1542 local= dis= en= dw=None de=None +C to=18 man=2048 remote=None sg=5 uc=None cid=17 +L id=12 name=None in=3 eg=None dir=2 share=68 type=0 attr=0 man=None +N xy=5792,-460 local=1 dis= en= dw=None de=None +N xy=73,-494 local= dis= en= dw=None de=None +N xy=1158,-8504 local= dis= en= dw=None de=None +N xy=798,-4944 local= dis= en= dw=None de=None +N xy=1487,-4783 local= dis= en= dw=None de=None +C to=10 man=512 remote=None sg=6 uc=None cid=18 +C to=9 man=512 remote=None sg=6 uc=None cid=19 +C to=11 man=512 remote=None sg=6 uc=None cid=20 +C to=3 man=2048 remote=None sg=7 uc=None cid=4 +C to=4 man=2048 remote=None sg=7 uc=None cid=5 +L id=28 name=None in=2 eg=None dir=2 share=64 type=0 attr=0 man=None +N xy=6608,4617 local=1 dis= en= dw=None de=None +N xy=555,-498 local= dis= en= dw=None de=None +N xy=837,-159 local= dis= en= dw=None de=None +N xy=560,356 local=4 dis= en= dw=None de=None +C to=3 man=512 remote=None sg=65 uc=None cid=3 +L id=3 name=None in=None eg=1 dir=1 share=64 type=0 attr=0 man=None +N xy=5959,5555 local= dis= en= dw=None de=None +N xy=17,347 local= dis= en= dw=None de=None +N xy=-7,713 local= dis= en= dw=None de=None +L id=4 name=None in=None eg=1 dir=1 share=4 type=2 attr=0 man=None +N xy=6496,5422 local= dis= en= dw=-125 de=None +N xy=184,457 local= dis= en= dw=None de=None +N xy=181,211 local= dis= en= dw=None de=None +L id=27 name=None in=2 eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=4925,2427 local=1 dis= en= dw=-150 de=None +N xy=-7,113 local= dis= en= dw=None de=None +N xy=-10,120 local= dis= en= dw=None de=None +C to=14 man=1024 remote=None sg=8 uc=None cid=21 +L id=14 name=None in=None eg=3 dir=1 share=4 type=2 attr=0 man=None +N xy=5149,-554 local= dis= en= dw=-125 de=None +N xy=73,-494 local= dis= en= dw=None de=None +N xy=34,-233 local= dis= en= dw=None de=None +L id=8 name=None in=2 eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=6496,3289 local=1 dis= en= dw=-175 de=None +N xy=1748,1122 local= dis= en= dw=None de=None +N xy=433,769 local= dis= en= dw=None de=None +N xy=1053,624 local= dis= en= dw=None de=None +N xy=1328,599 local= dis= en= dw=None de=None +N xy=1676,561 local= dis= en= dw=None de=None +N xy=1406,385 local= dis= en= dw=None de=None +N xy=5134,1146 local= dis= en= dw=None de=None +N xy=3368,1342 local= dis= en= dw=None de=None +N xy=1009,-39 local= dis= en= dw=None de=None +N xy=2805,1676 local= dis= en= dw=None de=None +C to=18 man=2048 remote=None sg=5 uc=None cid=22 +L id=2 name=None in=1 eg=None dir=2 share=4 type=2 attr=0 man=None +N xy=4852,3489 local=1 dis= en= dw=-125 de=None +N xy=-150,1353 local= dis= en= dw=None de=None +N xy=101,1611 local=4 dis= en= dw=None de=None +C to=14 man=2048 remote=None sg=9 uc=None cid=7 +L id=19 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=4751,3077 local=1 dis= en= dw=-25 de=None +N xy=-98,-20 local= dis= en= dw=None de=None +C to=20 man=None remote=None sg=10 uc=None cid=8 +L id=20 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=5917,3320 local=1 dis= en= dw=-25 de=None +N xy=98,20 local= dis= en= dw=None de=None +C to=19 man=None remote=None sg=None uc=None cid=9 +L id=21 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=6133,3138 local=1 dis= en= dw=-25 de=None +N xy=-26,96 local= dis= en= dw=None de=None +C to=22 man=None remote=None sg=11 uc=None cid=10 +L id=22 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=6618,1331 local=1 dis= en= dw=-25 de=None +N xy=26,-96 local= dis= en= dw=None de=None +C to=21 man=None remote=None sg=11 uc=None cid=11 +L id=23 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=4934,272 local=1 dis= en= dw=-25 de=None +N xy=-89,-45 local= dis= en= dw=None de=None +C to=24 man=None remote=None sg=12 uc=None cid=23 +L id=24 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=5868,748 local=1 dis= en= dw=-25 de=None +N xy=89,45 local= dis= en= dw=None de=None +C to=23 man=None remote=None sg=12 uc=None cid=24 +L id=25 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=4014,1485 local=1 dis= en= dw=-25 de=None +N xy=-47,111 local= dis= en= dw=None de=None +C to=26 man=None remote=None sg=13 uc=None cid=25 +L id=26 name=None in=None eg=None dir=3 share=8 type=1 attr=0 man=None +N xy=4480,249 local=1 dis= en= dw=-25 de=None +N xy=36,-93 local= dis= en= dw=None de=None +C to=25 man=None remote=None sg=13 uc=None cid=26 +#hex 02054149af940801038b4dd38f94f8555074cbcfa20c7cb7f3e7cb7e1c9cc002e045590b564714323c802bc0515b03b6008f3b7f2e9a1069dc28400007000009d472c090006ee04b0440001005834000080ac208000409400889dbf974d0837f5e82440000000a2bf2c090006ee0d806345c3cfa20d3b89080000e0000165845793770800096044000406b0640002045844000102a8020f170f3e8837f5e84440000000b2c1d449bb84000d80a3d3dfd7a6841a771a100001c000028af3502400044812c0a0000419608400020eb0840001085006229efebd3420dfd7a191000000027513502400044836038d5f2f3e8834ee442000038000046a0ea24224200025812000104ac12000082960c4000416a0103d7cbcfa20dfd7a211000000023508af211210000 +station=1095348116 rev=1 +I key=-1/23 rev=1 name=MicrOBU test crossroads ref=535546980,100225480 elev=None width=350 speeds=5:694 +L id=1 name=North in in=1 eg=None dir=2 share=64 type=0 attr=0 man=3584 +N xy=-175,1200 local= dis= en= dw=None de=None +N xy=0,6000 local= dis= en= dw=None de=None +C to=4 man=1024 remote=None sg=1 uc=None cid=0 +C to=6 man=2048 remote=None sg=1 uc=None cid=1 +C to=8 man=512 remote=None sg=1 uc=None cid=2 +L id=2 name=North out in=None eg=1 dir=1 share=64 type=0 attr=0 man=None +N xy=175,1200 local= dis= en= dw=None de=None +N xy=0,6000 local= dis= en= dw=None de=None +L id=3 name=East in in=2 eg=None dir=2 share=64 type=0 attr=0 man=3584 +N xy=1200,175 local= dis= en= dw=None de=None +N xy=6000,0 local= dis= en= dw=None de=None +C to=2 man=512 remote=None sg=2 uc=None cid=3 +C to=6 man=1024 remote=None sg=2 uc=None cid=4 +C to=8 man=2048 remote=None sg=2 uc=None cid=5 +L id=4 name=East out in=None eg=2 dir=1 share=64 type=0 attr=0 man=None +N xy=1200,-175 local= dis= en= dw=None de=None +N xy=6000,0 local= dis= en= dw=None de=None +L id=5 name=South in in=3 eg=None dir=2 share=64 type=0 attr=0 man=3584 +N xy=175,-1200 local= dis= en= dw=None de=None +N xy=0,-6000 local= dis= en= dw=None de=None +C to=2 man=2048 remote=None sg=1 uc=None cid=6 +C to=4 man=512 remote=None sg=1 uc=None cid=7 +C to=8 man=1024 remote=None sg=1 uc=None cid=8 +L id=6 name=South out in=None eg=3 dir=1 share=64 type=0 attr=0 man=None +N xy=-175,-1200 local= dis= en= dw=None de=None +N xy=0,-6000 local= dis= en= dw=None de=None +L id=7 name=West in in=4 eg=None dir=2 share=64 type=0 attr=0 man=3584 +N xy=-1200,-175 local= dis= en= dw=None de=None +N xy=-6000,0 local= dis= en= dw=None de=None +C to=2 man=1024 remote=None sg=2 uc=None cid=9 +C to=4 man=2048 remote=None sg=2 uc=None cid=10 +C to=6 man=512 remote=None sg=2 uc=None cid=11 +L id=8 name=West out in=None eg=4 dir=1 share=64 type=0 attr=0 man=None +N xy=-1200,175 local= dis= en= dw=None de=None +N xy=-6000,0 local= dis= en= dw=None de=None diff --git a/app/src/test/resources/mapem/spat_samples.txt b/app/src/test/resources/mapem/spat_samples.txt new file mode 100644 index 0000000..ead3955 --- /dev/null +++ b/app/src/test/resources/mapem/spat_samples.txt @@ -0,0 +1,17 @@ +-1/23 1 020418ff6ed745a2a1018000b8104005a2a1d3d501001143710e390e390e3fa238876c876c876fc00850dc413641364137e88e20af20af20aff0 +1/1 2 020400ff3b6241ae52018800080008202001ae527c060220100020004002001c8080000003203000200100050018 +1/1 3 020400122a7441ae53018800080008302001ae53104e0f201646703e803f203ed724381fb820081fe390dc12481270125de88e092e09420938f467058205cd05af6a4382c882ee02df350dc18c419f01979c4006001a007101322b81f401f901f6b91dc0fdc10040ff1c86e09240938092ef447049704a1049c7a2b82c102e682d7b51dc1644177016f9a86e0c620cf80cbce0000480d915c0e880e9c0e9d68ee0762076c076cb4370492049c04977a23824b8250824e3d15c152c173415a588ee0ab40bb80af0c437064006c2065e680032408c8ce0744074e074eb48703b103b603b65a1b8249024e024bbd11c125c12841271e8ce0a960b9a0ad2c487055a05dc0578621b83200361032f34800f00400112056437040b0415041072238208020d020ab915c119411bc11a9c8ee08e808fc08f2e437058c059605917a2382c882cd82cb3d15c179817c017adec009002600a003400d803800e903321b8203020a82083511c102c10681055a8ae08c008de08d4e477046f047e0479721b82c382cb02c8bd11c1630166c1659e8ae0bc20be00bd6f700080030010006001c008002800b20764370406041504106a238205820d020ab519c118011bc11a9c90e08de08fc08f2e4370587059605917a2382c602cd82cb3d19c178417c017ade0002904321b8205820a82083911c104010681055c8ce08ca08de08d4e4870474047e0479721b82c602cb02c8bd11c1644166c1659e8ce0bcc0be00bd6f00024824d0dc100410181019c8ce087a08840884e4370569056e056e7a3382d282d502d53c001520a34370401040b04067233823282378235390dc1644166c1659e8ce0bea0bfe0bf4f0005882cd0dc1004102c1019c8ce08f2090608fce43705a505af05aa7a33830e831383113c001720c343703fc041004066a3382170221021c390dc156815b81591e8ce0b180b400b2cf00060834d0dc101810541041a8ce0870088e0884e43705640573056e7a3382cb02d282d03c001e20e3437040b041004107233823c823f023f3d0dc169416a816a9e8ce0c260c3a0c30f0007c83cd0dc102c10681041c8ce08de08fc08e8e437059b05aa05a07a3382ff830703023c00202103437040b041a041072338223822b0226390dc15cc160815e1e8ce0b5e0b7c0b68f00084 +1900/2396 3 02040000302941ae6701883b604ae0302001ae67949c1120164371bda1bda1bda7a238def8def8defbd19c728872887289e90e396239623962f4371d9c1d9c1d9c7a238ed08ed08ed0bd19c799079907991e400d803800e901321b8ded0ded0ded3d11c6f7c6f7c6f7de8ae394439443944f4771cb11cb11cb17a1b8ece0ece0ece3d11c768476847685e8ae3cc83cc83cc8f2007801f009880dd1dc6f046f046f05c86e398039b239a8e4471cc51cde1cd9722b8ead8eba0eb7b91dc75a8760c75f9c86e3d043d363d2cf4471e871ea01e9b7a2b8f8e8f9b0f98bc402000dc811d21c6f046f046f05c86e398039b239a8e4471cc51cde1cd972338ead8eba0eb7b921c75a8760c75f9c86e3d043d363d2cf4471e871ea01e9b7a338f8e8f9b0f98bc4021008881590dc6f686f686f69c88e37be37be37bee4571cac1cac1cac7a3b8e5d8e5d8e5dbd0dc767076847671e88e3b423b4c3b42f4571e6e1e731e6e788046012903321b8ded0ded0ded3911c6f7c6f7c6f7dc8ce395839583958f4871cbb1cbb1cbb7a1b8ece0ed08ece3d11c768476987685e8ce3cdc3ce63cdcf0009081dd21c6f046f046f05c86e397639b239a8e4471cc01cde1cd972338eab0eba0eb7b921c7594760c75f9c86e3cfa3d363d2cf4471e821ea01e9b7a338f8c0f9b0f98bc402700d8821d1dc6f046f046f05c86e397639b239a8e4471cc01cde1cd9722b8eab0eba0eb7b91dc7594760c75f9c86e3cfa3d363d2cf4471e821ea01e9b7a2b8f8c0f9b0f98bcc02800a403800e4824018002b20a005000a882cd0dc73007378733dc8ce3a703aac3a8ee4371e641e821e7372338f6e0f7d0f75bc002c20c34671bb71bb71bb77a1b8e678e678e67bd19c75e475e475e5e86e3d223d223d22f000b4834d0dc73147350733dc8ce3a7a3a983a8ef4371e691e781e737a338f708f780f75bc002e20e34671bb71bb71bb77a1b8e678e678e67bd19c75e475e475e5e86e3d223d223d22f000bc83cd0dc6f686f686f69c8ce38fe38fe38fef4371d971d9c1d9c7a338f1e0f208f20bc403000c4840024003221134371bda1bda1bda72338e3f8e3f8e3fbd0dc767076707671e8ce3c823c823c82f000cc848d0dc731473787365c8ce3a8e3ac03ab6e4371e731e8c1e877a338f7a8f870f84bc403400d40 +3/120 1 0204000177d341ae480188001803c0102001ae48e320032010062002000900148080184006001c80c00c4001000881000c40030010 +3/121 4 0204001233b441ae520188001803c8402001ae527d6b032016467032f0424039d2a43819f021981d6150dc0ed812ac1091088e077609600852846703f705dc04fb3a43820302f582851d0dc120c19a0161d020008004404c8ae065e0848073a5477033e043303ac2a1b81db025582122111c0eec12c010a508ae07ee0bb809f67477040605eb050a3a1b8241833402c3a04003001480d919c0cbc10900e74a90e067c08660758543703b604ab0424422381dd82580214a119c0fdc177013ece90e080c0bd60a1474370483066805874080080031021a1b81a6821201d89919c0dfc11580f8ce86e08200b0409f69467044205b9052d48801800680 +3/165 1 020400ffef5d41ae68018800180528102001ae6841f20c20134671c8e1cca1cb63a1b8e790ee70ea61d19c75bc7be87800e86e3bf6404c3e58800004808d15c7238732872d8e86e39e43b9c3a9874571d6f1efa1e003a1b8efd90130f96204002001880cd0dc72b0738c733d28ce39943b1a3a4864371d9c1eb91e2d4a338eee8fd70f7fa4800c003400e20434371cac1cf21cd94a2b8e6a0ed08e97190dc76847b3478dd28ae3bce3f983e2690003c814d0dc72b073c8736528ce39a83b423a5c64371da11ecd1e374a338ef38fe60f89a48010004401620634571c8e1cca1cb63a1b8e768ee48ea39d15c75bc7bd47800e86e3bec40423e44820048013005081cd19c7238732872d8e86e39da3b923a8e74671d6f1ef51e003a1b8efb10108f912040040014820d15c7238732872d8e86e39e43b9c3a9874571d6f1efa1e003a1b8efd90130f9620001520934671c7a1cbb1ca22a1b8e768ee70ea61d19c756c7bc077b0c86e3bec40383e3080001c828d0dc72c473b4736528ce399e3b2e3a4864371da61ec31e374a338eee8fd98f84a4000820b34371d1a1d921d4752338ebf0f2a8ee7250dc7a087e047be968ce3dc2407e3ebca1002800b20c34371ca71ce81ccf4a338e650ec90e92190dc76707af878b528ce3bb03f663dfe91005c01820d34371d241d8d1d5152338ebf0f258ee7250dc7a307ddc7be968ce3dc240563ea8a1006401a +3/1745 3 0204001232f841ae52018800183688302001ae5284e303201646703a20429041f524381d8821c0217290dc106812ac1285688e083e0960094cb46704ec05dc05d25a43827d82f582f0ad0dc15a4198c1965820008004404c8ce074e0852083ea48703b60438042e521b820f82558250ad11c109012c0129968ce09e20bb80ba4b487050005eb05e15a1b82b70331832cb04003001080cd0dc0f1410a410a568ce082008fc08fcc437050505aa05aa623382a802ff82ffb0400b0034810d0dc0f1410a410a568ce07da08b608b6b437050a058705876a33829902dc82dcb4400c0038 +3/2052 3 020400ffb03a41ae58018800184020302001ae583e860c201643709ff8a228a09da2385024513c5076d15c288a291628b388ee146314a91477c4370acc8b6c8aead2238568c5b8c577e915c2bbe2e3e2c37420038010404c86e13ff14451413b4470a048a278a0eda2b85114522c516711dc28c6295228ef886e159916d915d5a4470ad18b718aefd22b8577c5c7c586e88009002800b203645709e689f589ebe23b84fac50244fd710dc2952298e2967c88e14b314d114bde4570ab38b948ac2c23b856145d1c568e10dc2c9a301e2cd720003102323384f344fac4f5f121c27d6281227eb886e14a914c714b3e4470a598a688a5ef2338559c5ca45616121c2b0a2e8e2b47086e164d180f166b910010005205646709eb89fa89f5e24384fd4504c502710dc293e29a2298fa88e14a914db14d1d4670aae8b998ac7c243855ec5d4456b610dc2c4a30322ceb2400100020019031a3384f344fac4f5f10dc2902293e2917c8ce156716f7158f84370b0d8bd58b21d0801c0079039a3384f344fac4f5f10dc2902293e2917c8ce156716f7158f84370b0d8bd58b21d00020410686e13f5143b1409b4670a278a4a8a31e21b8563c5bb4572e519c2bd22ea22c4b420098024412686e13f5143b1409b4670a278a4a8a31e21b8563c5bb4572e519c2bd22ea22c4b4200a002a414686e141314591431c4670a318a5e8a4ae21b856645c5457ce519c2bbe2ef22caf4200b002e416686e141314591431c4670a318a5e8a4ae21b856645c5457ce519c2bbe2ef22caf4200c003241868ce13eb141d1409c4370a458a5e8a54ea33856145c5456de50dc2c4a2f6a2caf4200d003641a68ce13eb141d1409c4370a458a5e8a54ea33856145c5456de50dc2c4a2f6a2caf4200e003a0 +3/2349 5 0204001225f441ae65018800184968502001ae657ef30e201645719b41a6819eb3a3b8ce18d3b8cfd1d0dc698c6d386a69288e34d036a6353e94571aea1c7f1bad4a3b8d7c8e470dde250dc6e7875a8718520002101322b8cd50d340cf3191dc66e469dc67d4c86e34b2369c353494471a5e1b531a9f4a2b8d700e3f8dd4251dc6bbc72386edd286e37283ad438c290001c80d90dc6798698c68b1488e33d634d03462a4571a451afe1a90523b8d2a0d868d4fa90dc6c7070946edd688e364238543778b4571b801cc01c1b50801000490232338cd50d340cf31921c66e469dc67d4c86e34b2369c353494471a5e1b531a9f4a338d700e3f8dd42521c6bbc72386edd286e37283ad438c2910018005205646719b41a6819eb3a438ce18d3b8cfd1d0dc698c6d386a69288e34d036a6353e94671aea1c7f1bad4a438d7c8e470dde250dc6e7875a8718522001000640cc86e33cc34c63458a44719eb1a681a31522b8d228d7f0d48291dc69506c346a7d486e3638384a376eb4471b211c2a1bbc5a2b8dc00e600e0da8000a207343719dc1a681a2c4a338d098d4f8d31a90dc6c5c6f2c6e3d88ce369c3804378cc1003400e208343719e11a681a2c4a338d098d4d0d2f290dc6c5c6f186e2988ce369237f03778c1003c020209343719e11a681a314a338d1d8d638d45ad0dc6c5c6fcc6edd68ce36ec38a4382cc00040828d19c66f869a067d4e86e34bc3728352a74671af41cc01bb2421b8dca0ef60e2920001120b346719821a6819b41a1b8d2f0dca0d481d19c6ae073006dc4e86e37283bd8389a81004801320c346719be1a6819f53a1b8d2f0dca0d4a9d19c6bbc73006ec9086e371e3bd838a4800050834d19c660869a066d0686e34bc3728352074671ab81cc01b713a1b8dca0ef60e26a0000b20e346719be1a6819f53a1b8d2f0dca0d4a9d19c6bd073006ec9086e37283bd838a480003083cd0dc678469a068c548ce3480358e3520b4371b171bf31bbc5a338dbb0e290e0db0001f +3/2394 4 0204001230ec41ae65018800184ad0402001ae65ce4f0b20164671a181acc1a7c42438d138d6d8d45a10dc6b1c6dec6cad488e359837003660a4671b671cac1c4352438dbb0e5d8e29290dc706c758073dd62002000a404c86e346c358e355ca4471a3b1acc1ab3522b8d4f8d980d8bad1dc6ab86cfc6c99686e370038ae387cc4471b851c5c1c43622b8df48e600e53b0400c003880d90dc68ec6b1c6ab9488e348035983566a4571aa41b301b175a3b8d598d9f8d932d0dc6e14715c70f9888e371438b83886c4571bee1cc51ca760800e004102321b8d250d638d63ad11c693c6b306b3168ae3502366a35fca4771a901b441b0d521b8da98e2e0e12ad11c6d60718470a968ae3714399438b8a00018815919c689c6b30693ce90e346c35b634bc74371aa41bf31afe3a238d548dfc0d819d19c6c5c7490701d090e364c3a66382c84371b9e1e501d06408006001103322b8d138d660d279d1dc68d86b6c6978e86e354837e635fc74471aa91bf81b033a2b8d8b8e920e03a11dc6c9874cc7059086e373c3ca03a0c80000481cd19c67d46b30689c886e352a37f035fc74671ae51d241be43a1b8dc28f280e7e20000a208346719f51acc1a27221b8d4a8dfc0d7f1d19c6b9474906f90e86e370a3ca039f881004401220934371a401acc1ab352338d4f8d980d8bad0dc6e147170710d88ce37d2398a394ec0004c828d0dc68c46b306ab928ce34c635fc35c0a4371b801c2a1c0c62338dd90e308e1f30001420b34371a401acc1ab352338d520d980d8bad0dc6e287170710d88ce37dc398a394ec00054830d0dc69006b306ae148ce34ee360635deb4371b8a1c2f1c1b62338de08e330e29300016 +3/2421 3 020400ffa9ca41ae58018800184ba8302001ae58ac220920164670aa50afa0ad75243855a05848573290dc2d282f442ddd688e169e17ac16f8b4670c170d020c995a438613068886542d0dc3304378c350d620008004404c8ce154a15f415a494870ab40b090ae14a1b85a785e885be2d11c2d502f582e0568ce182e1a041928b4870c260d110ca35a1b866306f186a1ac4003001080d915c2a942be82b4928ee1568161215c294370b4f0bd10b7c5a2385aa05eb05c0ad15c305c3408325168ee184c1a221946b4370cc60de30d4358000a408c86e159a164e15f4a4470ad20b2c0aff522b859b05dc05b1ad1dc2d142f1c2dc9686e187e19be1914c4470c440ce40c8f622b865406ba8679b04006001c815915c2a942be82b5d48ee1568161215cca4370b4a0bd10b775a2385a785eb05be2d15c305c3408326568ee184c1a221950b4370cc10de30d43588010004903321b85668593857d2911c2b482cb02bfd48ae166c177016c6b4770b450bc70b725a1b861f866f86453111c31103390323d88ae19501aea19e6c1002800b20734370ac80b270aff5233857f85af059b2d0dc30ac32283189a8ce18c419821932d1003401620834370ad20b270aff5a33859b05c585b1b10dc312432dc323da8ce195a1a3619e6d1003801520934370ad20b270aff5a33858985b405a02d0dc30fc325031b1a8ce190019aa195ad1003c01020a34670a7d0ad70aa0421b85a505fa05b92919c2f9434803175286e19641c8e1a5ea100440120 +3/2422 3 02040012453c41ae5b018800184bb0302001ae5b0fa80320164370d390d4d0d486223869f06a906a6b119c377839f839e5690e1bda1d1a1d10b4370e650f0a0f006223873507878782b119c3c1440ec40c5620008004404c86e1a7c1aa41a86c4470d430d570d48623386f18741873a2d21c37c83a483a0d686e1cd41e141df6c4470e6f0f0f0f0062338787881d88162c4003001080cd19c349434e434bd686e1bf81cca1cb6c4670e4c0ef10eb05a1b8791880e87ee2c40090034810d19c33e0343033f4686e1bd01c701c52c4670e100eba0e51521b878787f307beac400a0038 +3/2423 3 020400ffaf5241ae5c018800184bb8302001ae5cb68a0a20164670fc810220ff55a4387eb881888022d0dc41b443e442a5888e20e421fc215cc46710f4122a11b75a438881891c88e32d0dc46784c0449c162002000a404c8ae1f9020441feab4770fd7103110045a1b8836887c8854b111c41c843f842b988ae21e82454236eb4771103123911c65a1b88cf098089382c000620364670fb910220ff55a4387e4081888022d0dc416443d04291688e20bc21f22152b46710e5122511b25243887a091a08e0a90dc46284bdc4999620038006408c8ae1f7220441feab4770fc8103110045a1b882c887a08522d11c417843e442a568ae21ca244a2364a47710f4123411c1521b88c5097b89332c4008004c81590dc3fd440744075a88e1ff420442044d457105910b31090623b88340861084fb10dc44ac476846dd888e226023be2378c457118a1270122a60001240cc86e1fea203a203ad4470ffa102210226a2b882c88598848311dc41a04308427d886e225623b4236ec447113011df11bc622b88c50938091530400a002c904000001420734370fff102210226a33882008390839350dc44c046784679a8ce22e223dc23dcd1003400e20834670f8710220fdc4a1b8820088688522919c42cc48e44665286e22d8263e24c2a1003c01020934370ffa102210226a33881608318831b50dc44c0463c463da8ce22ba23a023a0d1004401220a34370ffa102210226a33881608318831b50dc44c0463c463da8ce22ba23a023a0d000300 +3/2429 1 020400ffbb1741ae68018800184be8102001ae6842870420134671d471da11d97621b8ef38f208f1bb119c7b0c7db47d65886e3ec6401a3ff2d1000400220334671d471da11d97621b8ef38f208f1bb119c7b0c7db47d51886e3ec6401a3fe8d0000c810d0dc75807684768588ae3b923c143c14d4371ee11f361f366a2b8fa50fcf8fcfb840040014814d0dc75a876847671a8ae3b383ba63b9cd4371ec81eff1efa722b8f7d0f988f96384006001c808d15c751c7684765d886e3bce3c823c6ec4571ec31f6d1f54621b8fb190068ffa340008 +3/256 1 02040012346c41ae52018800180800102001ae527bf719206646703ca03ed03e36a4381ec81fe01f9350dc122012ac1285c88e091a0960094ce467058705dc05a5724382cb02f582da390dc19281a7c19a1c60008004001800840ec8ce077607c607b2d48703ca03f203e86a1b823f0253024e3911c120c12ac1285c8ce0af00bae0b36d487058705e605aa6a1b8320034f8331b88005001800720d645703bb03e303d96a3b81e501f901f4350dc11f812981271c88e090609560942e457057805d7059b6a3b82c382f302d5350dc19001a7c198dc0004100b21b81fe02058205b911c100410401041c8ae085c08e808acc477043d04830465621b82aa82cd82beb911c156816801609c8ae0b0e0c080b86d3002400a002c00c202643703fc040b040b72238200820802083915c10b811d0115988ee087a090608cac4370555059b057d722382ad02d002c13915c161c1810170da4006801c007904321b81fb82058205b911c0ff010401041c8ae085208e808acc477043804830465621b82a802cd82beb911c155416801609c8ae0b040c080b86d20040011004883990dc0fdc102c102dc88e07f808200820e457042904740456623b821c02418232b10dc1540166c15f5c88e0aaa0b400b04e4570582060405c369802600a002a00b101b21b81fe02058205b911c100410401041c8ce085c08e808acc487043d04830465621b82aa82cd82beb911c156816801609c8ce0b0e0c080b86d0005c824d0dc0fdc10401019c8ae08ca08fc08e8e437059105aa05a0722b82ff830e83073c001820a343703f204060401722b8223822d822b390dc15cc161c1609e8ae0b900bb80baef0006482cd0dc0fa010681019a8ae083e08a2087ad437054b057d0569722b82c102da02d038001a20c343703ed041504066a2b8237824b8244390dc166c170c16d1c8ae0c3a0c8a0c6ce0006c854d0dc0fc8107c102da8ae08c0091a08f2e437058c05b905a5722b82fd03138309b8001c216343703ed041504016a2b82148228821eb50dc155415f415a5c8ae0b220b720b4ae0007485cd0dc0fb4107c102da8ae083e08a2087ad437054b057d0569722b82bc02d782cdb8001e218343703f70410040b722b822d823a0237b90dc161c1680166dc8ae0bd60c080bfef0007c864d0dc0fb4107c102da8ae083e08a2087ad437054b057d0569722b82bc02d782cdb8002021a343703f2041f040b6a2b82300246823cb90dc163016e41695c8ae0bf40c4e0c26e00084810d15c0f140fdc0f79886e087a094c08dec457055005d2059b6a1b82e403408313b04022008c814d15c0f140fdc0f79886e087a094c08dec457055005d2059b6a1b82e403408313b0002420f0060009484001800262110060009c8480180028213345703d403f703ed6a1b82260253023f3115c157c174816a9a86e0bae0d020c6cc000a4850d15c0eb00f780f15886e0898096a08fcc457053705e1058c621b82eb835c031db0002a0 +4/937 4 0204000161d341ae53018800201d48402001ae53853215201005000048080184002000c80c0144004004c81000c8005002000a20500310018007206003100240142070030002c82000c000c2090031003401520a0061003800f20b0031004001120c0060004883400c001620e0062005c01800b483c00c8019006802e2100062006c01c00bc84400c801d007802c2120061007c020213006100840222140032008c02400c0854018802500980292160063009c02800a802b diff --git a/tools/mapem_corpus.py b/tools/mapem_corpus.py new file mode 100644 index 0000000..09857a7 --- /dev/null +++ b/tools/mapem_corpus.py @@ -0,0 +1,176 @@ +"""Builds the MAPEM test corpus for MapemUperCodecTest: every distinct MAPEM on record, with every +field decoded by asn1tools (the ETSI modules in asn1/), as canonical text the Kotlin test re-creates +from MapemUperCodec's output and compares line by line. + + py -3.11 tools/mapem_corpus.py + +Sources: the 2026-03-18 drive (its-g5-receiver-firmware/recordings/its_messages_*.db, msg_type 5, the +UPER is field 3 of the CiT One protobuf blob) and any MAPEM in obu-firmware's replay TSV (the bench +RSU, captured by the ESP32-C5; run `make replay` in obu-firmware/test/host first). +Writes app/src/test/resources/mapem/corpus.txt, and spat_samples.txt beside it: for every intersection +in the corpus, one recorded SPATEM of the same intersection (` `), for +TrafficLightsTest. +""" +import collections +import glob +import re +import sqlite3 +from pathlib import Path + +import asn1tools + +ROOT = Path(__file__).resolve().parent.parent +ASN = ROOT / 'asn1' +OUT = ROOT / 'app/src/test/resources/mapem/corpus.txt' +SPAT_OUT = OUT.parent / 'spat_samples.txt' +LANE_TYPES = ['vehicle', 'crosswalk', 'bikeLane', 'sidewalk', 'median', 'striping', 'trackedVehicle', 'parking'] + + +def enum_roots(): + src = ''.join((ASN / n).read_text(encoding='utf-8', errors='replace') for n in ('dsrc_2_2_1.asn', 'cdd_2_2_1.asn')) + src = re.sub(r'/\*.*?\*/', '', src, flags=re.S) + src = re.sub(r'--.*', '', src) + roots = {} + for name in ('NodeAttributeXY', 'SegmentAttributeXY', 'SpeedLimitType'): + body = re.search(r'\b' + name + r'\s*::=\s*ENUMERATED\s*\{(.*?)\}', src, re.S).group(1).split('...')[0] + roots[name] = [x.strip() for x in body.split(',') if x.strip()] + return roots + + +def varint(b, i): + v = s = 0 + while True: + x = b[i] + i += 1 + v |= (x & 0x7F) << s + s += 7 + if x < 0x80: + return v, i + + +def protobuf_field3(b): + i = 0 + while i < len(b): + tag, i = varint(b, i) + field, wire = tag >> 3, tag & 7 + if wire == 0: + _, i = varint(b, i) + elif wire == 2: + n, i = varint(b, i) + if field == 3: + return b[i:i + n] + i += n + elif wire == 5: + i += 4 + elif wire == 1: + i += 8 + else: + return None + return None + + +def bits(value): + data, n = value + return int.from_bytes(data, 'big') >> (len(data) * 8 - n) if n else 0 + + +def dump(d, roots): + """Canonical text; MapemUperCodecTest.dump() must produce the same.""" + out = [f"station={d['header']['stationId']} rev={d['map']['msgIssueRevision']}"] + for i in d['map']['intersections']: + speeds = ','.join(f"{roots['SpeedLimitType'].index(s['type'])}:{s['speed']}" for s in i.get('speedLimits', [])) + ref = i['refPoint'] + out.append(f"I key={i['id'].get('region', -1)}/{i['id']['id']} rev={i['revision']} name={i.get('name')} " + f"ref={ref['lat']},{ref['long']} elev={ref.get('elevation')} width={i.get('laneWidth')} speeds={speeds}") + for lane in i['laneSet']: + a = lane['laneAttributes'] + kind, attr = a['laneType'] + man = bits(lane['maneuvers']) if 'maneuvers' in lane else None + out.append(f"L id={lane['laneID']} name={lane.get('name')} in={lane.get('ingressApproach')} " + f"eg={lane.get('egressApproach')} dir={bits(a['directionalUse'])} share={bits(a['sharedWith'])} " + f"type={LANE_TYPES.index(kind)} attr={bits(attr)} man={man}") + choice, nodes = lane['nodeList'] + assert choice == 'nodes' + for node in nodes: + kind, v = node['delta'] + pos = f"ll={v['lat']},{v['lon']}" if kind == 'node-LatLon' else f"xy={v['x']},{v['y']}" + at = node.get('attributes', {}) + local = ','.join(str(roots['NodeAttributeXY'].index(x)) for x in at.get('localNode', [])) + dis = ','.join(str(roots['SegmentAttributeXY'].index(x)) for x in at.get('disabled', [])) + en = ','.join(str(roots['SegmentAttributeXY'].index(x)) for x in at.get('enabled', [])) + out.append(f"N {pos} local={local} dis={dis} en={en} dw={at.get('dWidth')} de={at.get('dElevation')}") + for c in lane.get('connectsTo', []): + cl = c['connectingLane'] + man = bits(cl['maneuver']) if 'maneuver' in cl else None + r = c.get('remoteIntersection') + remote = f"{r.get('region', -1)}/{r['id']}" if r else None + out.append(f"C to={cl['lane']} man={man} remote={remote} sg={c.get('signalGroup')} " + f"uc={c.get('userClass')} cid={c.get('connectionID')}") + if 'overlays' in lane: + out.append('O ' + ','.join(map(str, lane['overlays']))) + return out + + +def main(): + spec = asn1tools.compile_files([str(ASN / n) for n in + ('spatem_2_2_1.asn', 'mapem_2_2_1.asn', 'dsrc_2_2_1.asn', 'cdd_2_2_1.asn')], 'uper') + roots = enum_roots() + seen = collections.OrderedDict() + for path in sorted(glob.glob(str(ROOT / 'its-g5-receiver-firmware/recordings/its_messages_*.db'))): + db = sqlite3.connect(f'file:{path}?mode=ro', uri=True) + for (blob,) in db.execute('select asn1_message from messages where msg_type = 5'): + uper = protobuf_field3(bytes(blob)) + if uper: + seen[uper] = seen.get(uper, 0) + 1 + tsv = ROOT / 'obu-firmware/test/host/build/replay.tsv' + if tsv.exists(): + for line in tsv.read_text().splitlines(): + col = line.split('\t') + if len(col) > 10 and col[3] == '2003': + uper = bytes.fromhex(col[10]) + seen[uper] = seen.get(uper, 0) + 1 + lines = [f'# {len(seen)} distinct MAPEMs ({sum(seen.values())} received), fields by asn1tools. ' + 'Generated by tools/mapem_corpus.py; do not edit.'] + for uper in seen: + lines.append('#hex ' + uper.hex()) + lines.extend(dump(spec.decode('MAPEM', uper), roots)) + OUT.parent.mkdir(parents=True, exist_ok=True) + OUT.write_text('\n'.join(lines) + '\n', encoding='ascii') + print(f'{OUT.relative_to(ROOT)}: {len(seen)} MAPEMs, {len(lines)} lines') + + # One SPATEM per (intersection, MAP revision) in the corpus, with at least 2 movements. + wanted = set() + for uper in seen: + for i in spec.decode('MAPEM', uper)['map']['intersections']: + wanted.add((f"{i['id'].get('region', -1)}/{i['id']['id']}", i['revision'])) + samples = {} + + def offer(uper): + try: + d = spec.decode('SPATEM', uper) + except Exception: + return + for i in d['spat']['intersections']: + k = (f"{i['id'].get('region', -1)}/{i['id']['id']}", i['revision']) + if k in wanted and k not in samples and len(i['states']) >= 2: + samples[k] = uper + + for path in sorted(glob.glob(str(ROOT / 'its-g5-receiver-firmware/recordings/its_messages_*.db'))): + db = sqlite3.connect(f'file:{path}?mode=ro', uri=True) + for (blob,) in db.execute('select asn1_message from messages where msg_type = 4'): + if len(samples) == len(wanted): + break + uper = protobuf_field3(bytes(blob)) + if uper: + offer(uper) + if tsv.exists(): + for line in tsv.read_text().splitlines(): + col = line.split('\t') + if len(col) > 10 and col[3] == '2004': + offer(bytes.fromhex(col[10])) + SPAT_OUT.write_text(''.join(f'{k} {r} {u.hex()}\n' for (k, r), u in sorted(samples.items())), encoding='ascii') + print(f'{SPAT_OUT.relative_to(ROOT)}: {len(samples)} of {len(wanted)} intersection revisions have a SPATEM') + + +if __name__ == '__main__': + main()