Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-dev] Retrieving the type of Junction
  • From: Adrien Dubedat <adrien.dubedat@xxxxxxx>
  • Date: Mon, 1 Nov 2021 17:16:28 +0000
  • Accept-language: fr-FR, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cae.com; dmarc=pass action=none header.from=cae.com; dkim=pass header.d=cae.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=YiVYpFzmACyWvdHQRrROtoFB9cF+UI0bTF+KiGWoqU8=; b=jt+KnT4aDmJ7Pv/oBlEMO/Zj1wUUR56d7YPINS1P+dTQa4gNOFWwtSb9UYfEQ/qZt/kMR/KvV1SlopffwDbXzap9fT/6BMM8cdSMIrkdw1PQZRdD+PLpod+HRVtQxXz+jtj5lcLwzpT6RBs9QYIaX6Xq4As+ew7iozDqF6tIviMXRG9k3V0vaTlpWDFmUqYwtb+OGeJe4G75U1ac7lajhl3g2jjxpEXUEVUJbFPmGCQfZjA5p+OjD0mpTJ9fIsvL2+BLw7yMzspPD9vHYcA64KeXahNLDpw4JscJXfsoDnVs7LTKmGwWfmEtwdYAbTjvZXc5TMZNXKeevbLDH6aOYg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WCIpiCljAfJYsbnnh+CFd095EgDBFnpyYhl9XWaRExAhrfgrf0miUpYwSSTTJ8wIqscG9kTVUsnc/VS3UQHo47tpse1NOTmt3L279dgmKlxnus+aybKb5o+1HvqhrYh8sLzaUJM3+l/4rZu9gkbua8Vc+dqELT8uciAU/pCFsXxqsCbTxsAwL2gChtIK1m6cSKPxrHfV9oRNc5ra+zWi4b0KL7IJjKjozqy2ohD0Cqrc+iRTKJnUGrLh594qf8q8vdk40+3TgvZMGTspOvt7vy1k+1CTej7NJjeVpShVty/MChSFOjZYRwxN7bORJMfhNPn/iJ3hfLyeME2sf0Jz7g==
  • Delivered-to: sumo-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-dev/>
  • List-help: <mailto:sumo-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-dev>, <mailto:sumo-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-dev>, <mailto:sumo-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdfPQ4m3YfuNrhChQyylfx+WTG2BFg==
  • Thread-topic: Retrieving the type of Junction

Hi,

 

I’m trying to retrieve the type of a Junction, I’m using the C++ library.

 

In an osm.net.xml file which lists all junctions, I see there are some different node types (https://sumo.dlr.de/docs/Networks/PlainXML.html#node_types) :

 

<junction id="101335548" type="traffic_light" x="9587.74" y="5049.51" incLanes="-770022998#1_0 480644124#1_0 690226256#9_0 -11661029#1_0" intLanes=":101335548_0_0 :101335548_1_0 :101335548_16_0 :101335548_17_0 :101335548_4_0 :101335548_5_0 :101335548_18_0 :101335548_19_0 :101335548_8_0 :101335548_9_0 :101335548_20_0 :101335548_21_0 :101335548_12_0 :101335548_13_0 :101335548_22_0 :101335548_23_0" shape="9587.30,5041.43 9593.31,5043.64 9592.97,5045.85 9593.23,5046.73 9593.79,5047.47 9594.63,5048.06 9595.77,5048.51 9593.99,5054.65 9591.44,5054.42 9590.39,5054.75 9589.50,5055.38 9588.76,5056.31 9588.18,5057.54 9582.17,5055.32 9582.52,5053.10 9582.26,5052.21 9581.71,5051.46 9580.87,5050.85 9579.74,5050.39 9581.63,5044.27 9584.11,5044.53 9585.13,5044.20 9586.00,5043.58 9586.72,5042.65">

 

I looked in the C++ classes / headers, mostly in “Junction” class, and I didn’t find anything related to that type, while we can get the Position or the Shape for example.

 

Does anyone have an idea on how to get this data ?

 

Thank you,

Adrien


Back to the top