[sumo-user] pois2inductionLoops error

2024-04-25 Thread Joan Carmona Mercadé via sumo-user
Hi,

I'm trying to convert a shapefile of points into detectors. First, I use 
polyconvert to convert the shapefile into an additional XML file of  
structures.
Then, I try to use the pois2inductionLoops.py utility to convert pois file into 
detectors, but I'm getting the following error:

Reading net...
Reading PoIs...
Traceback (most recent call last):
  File "C:\Program Files 
(x86)\Eclipse\Sumo\tools\purgatory\pois2inductionLoops.py", line 45, in 
pois = sumolib.poi.readPois(sys.argv[2])
   ^^^
AttributeError: module 'sumolib' has no attribute 'poi'

Any idea?

Thanks!

Joan
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] shortest path exercise

2024-04-18 Thread Joan Carmona Mercadé via sumo-user
Hi,

I'm trying to find the shortest path between points A and B. I got my network 
from OSM. Then I create a simulation with a unique trip between A and B with no 
middle edges.

When I ask to Google, it gives me a route. But Sumo gives me a very different 
one. Then I modify the trip and add a middle edge from the route that Google 
gave to me. Then Sumo gives me the same route as Google.

If I check the values of output variables routeLength and duration, both values 
are greater in the first case (with no middle point). So, I don't understand 
why Sumo is giving me that route if it is longer and takes more time that the 
one with the middle edge.

What other parameters may I be forgetting?

Thanks,
Joan

___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Importing network from OSM data

2024-03-21 Thread Joan Carmona Mercadé via sumo-user
Hi Community,

I'm importing a network from OSM data.

The resulting network seems good, but I notice that generates many undesirable 
connections between lanes of the same edge but opposite direction. Here is an 
example (marked in yellow):

[cid:image001.png@01DA7B73.87C4FB60]

The question is: is there any option in netconvert that avoid such connections? 
Or I must remove them manually?

Thanks,

Joan

___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Network conversion

2024-03-11 Thread Joan Carmona Mercadé via sumo-user
Hello Community,

I'm trying to export a SUMO network to a VISUM environment.
Is there any use for exporting a SUMO network to some format that VISUM 
understands?

Thanks,
Joan

___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user