Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Trips from Edges in Duarouter (Error: Mandatory edge)
  • From: "Evans, Barry" <B.Evans@xxxxxxxxxxxx>
  • Date: Thu, 15 Aug 2019 08:48:41 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=exeter.ac.uk; dmarc=pass action=none header.from=exeter.ac.uk; dkim=pass header.d=exeter.ac.uk; 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-SenderADCheck; bh=0lz0d0o7y2E7aQy6eDer5ZjEouy891inh/N2LcyZV1U=; b=arZgWADkDErraBoltXfLd5qc2d9k1cepmG3xNUDnOfCAmNuQUlXbwej5Q0gkNfk6SkrE1f4FVy5P3hy8+i6v0i37l5dfULiG6dKSDOD8QRwM+yv2QR+GnSDPg1wyl7yREzBn59bMxXxxeoycQJjnhwOOE0ivED+blRyBHS06lmsrOx74rwHrRR4vnPWwI0ojbu1yWHw2opZkA1MTV8Sg5HPdtPShelHlzoqHTaodHhdyHGWOddKbiMMoKeKvZWKtV4k9mobz6tTt1DmprsVuHGs4k5jp1XoOnblS8ehZzJBF1COv3k4MwPfSs0yCkvWuNACSymCm2rfUn6G4NXLerA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EbsJYy1vZpYP6VUHkS+S5pVqPHdr3SqgD1qezwvatJfyfiXY2dtXBgPc6Zy32QAh3lwjb/ah4N1q6q/oWx4ldUV79a7s6kqIWC2UdaY/liv9KmS+54GC37lTX8fVHTgnhGq8Q8FTW8swiLdxI3nSrrQU8VBpG1IbKMcQRu3lr8IYLex5RRbTqI8wI1X0SGr8XPbADPzBBbX2FeLNWzoz9tk3/cJ+xY+vDgaCqpAFEVXG/0uVpOOzZ7EZp5I7bueaQ/15XLUh0sPfoJs/TArPdl5Dv9Vvz+bUXtk7f1qF9eGA3lTHGXgg42Fe5ObS7tLfAFnVYiPxTTkvmTVlsGZCAA==
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdVTRjyLvKd8VH6fSCapxw99gngu/g==
  • Thread-topic: Trips from Edges in Duarouter (Error: Mandatory edge)

Hi all,

 

I’ve been working on a semi-random route generation whereby I have list of edges near housing estates and list of edges near places work. I use these to build a trip file (that I call ProbTrips.xml)  with the origin and destinations defined like the following:

 

<trip id="Office0" depart="21900.58" from="-157100316" to="-4430167#0"/>

<trip id="Office1" depart="21902.32" from="24239207#1" to="82835688#1"/>

 

I then attempt to use duarouter to turn these trips into routes with the configuration shown below. When running duarouter however I get some errors whereby it says the following:

 

Error: Mandatory edge '-121381302#7' not reachable by vehicle 'Office199'.

Error: The vehicle 'Office199' has no valid route.

 

This forces duarouter to quit. My current fix is to manually delete the trips that cause error and re-run duarouter again. I was wondering, is there way/option to prevent duarouter from quitting on error or a means to validate the origin and destination edges prior to running duarouter?

 

Kind regards,

 

Barry

 

<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/duarouterConfiguration.xsd">

 

    <input>

        <net-file value="MyRoads.net.xml"/>

        <route-files value="ProbTrips.xml"/>

    </input>

 

    <output>

        <write-license value="true"/>

        <output-file value="duaroutes.rou.xml"/>

    </output>

               

                <processing>

                                <repair value="true"/>

                                <repair.from value="true"/>

                                <repair.to value="true"/>

                </processing>

               

    <report>

       <no-step-log value="true"/>

    </report>

 

</configuration>


Back to the top