-
Notifications
You must be signed in to change notification settings - Fork 180
faq 108534650
by Celeste Manu on 2017-03-20 21:45:38
I read in the MATSim documentation book that we can define legs, which are which routes (links) to travel per activity. However, my plans.xml looks similar in form to that of the example in the book and it yields the following error:
Attribute "type" with value "links" must have a value from the list "dist trav-time num-nodes num-intersects ".
This happens at the line where I define the route. What causes this error? Here is my plans.xml:
<?xml version="1.0" ?>
<!DOCTYPE plans SYSTEM "http://www.matsim.org/files/dtd/plans_v4.dtd">
<plans>
<person id="1">
<plan>
<act type="w" link="1" end_time="06:30"/>
<leg mode="car">
<route type="links">1 4 9 12 15</route>
</leg>
<act type="h" link="15"/>
</plan>
</person>
</plans>
by Kai Nagel on 2017-03-21 06:56:58
Dear Celeste,
(1) Please try replacing "plans_v4" by "population_v6" (or, if that does not work, "_v5") and let us know if that works.
(2) Could you please tell us where you found that plans file with plans_v4.dtd so we can mark it as deprecated? Thanks.
Best wishes, Kai
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq