Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Rerouters for buses and polyconvert from shapefiles

Hello,
1) closingLaneReroute only causes vehicles with a rerouting device to adapt their routes. See
http://sumo.dlr.de/wiki/Simulation/Rerouter#Closing_a_Lane
http://sumo.dlr.de/wiki/Demand/Automatic_Routing

Also, there is a known bug when using closingReroute with allow/disallow: https://github.com/DLR-TS/sumo/issues/3633

2) Polyconvert is used to import building shapes, Points of Interest and other map features for visualization. The default list of objects to import from OSM is given in
https://github.com/DLR-TS/sumo/blob/master/data/typemap/osmPolyconvert.typ.xml
(highway type is not imported but can be added in a custome typemap file)

If you want to import roads from shape files you should use netconvert. See http://sumo.dlr.de/wiki/Networks/Import/ArcView

regards,
Jakob


2017-11-20 10:05 GMT+01:00 Pyatkova, Katya via sumo-user <sumo-user@xxxxxxxxxxxxxxxxxxxxx>:
Dear SUMO community,

I have two questions that are puzzling me and I wanted to seek some help.

First one is related to the rerouters that are specific to certain type of vehicles. If I use rerouters with the option allow="bus" or disallow="passenger", the simulation breaks, because it seems to consider the rerouted roads as missing. The vehicles that are usually passing by the rerouted roads do not try to reroute at all. Do you have any suggestion how this can be fixed?

Second question has to do with polyconvert from shapefiles. If I run it with just --shapefile-prefixes it gives me the following error:

ERROR 1: Invalid index: -1
Error: Missing id number

Then I decided to convert my shapefile to OSM and I even added key highway to it, but I am afraid with no success. The resultant poi or poly files that I created didn't show much information. It looked like that:

<additional>

    <location netOffset="0.00,0.00" convBoundary="329963.72,4041901.61,331817.63,4044535.33" origBoundary="-4.899190,36.507636,-4.878147,36.531321" projParameter="+proj=utm +zone=30 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"/>

</additional>

I could not visualize that in the GUI. Can you please advise what is the most convenient way to convert?

Needless to say, your help would be greatly appreciated!


Best regards,


Katya Pyatkova
MSc, PhD Candidate
Centre for Water Systems
College of Engineering, Mathematics and Physical Sciences (CEMPS)
University of Exeter, North Park Road, Exeter EX4 4QF, United Kingdom
k.pyatkova@xxxxxxxxxxxx<mailto:k.pyatkova@xxxxxxxxxxxx>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


Back to the top