Dear Fereshteh,
 
can you provide your test shape file? When you first load a network in 
netedit, the junctions are not fully computed. Press F5 to compute all 
links.
 
Best regards
Mirko
 
 
 
-----Original-Nachricht-----
Betreff: Re: [sumo-user] incorrect street directions from shp to sumo.net
Datum: 2024-02-29T14:08:57+0100
Von: "fereshte jafari" <j.fereshte1...@gmail.com>
An: "Mirko Barthauer" <m.bartha...@t-online.de>
 
 
 
Dear Mirko,
 
Please see attached my typefile which does not include the oneway option. 
Also, I attached three pictures of a specific link in my network in 1-shp, 
2-sumo, 3-netedit. As you can see in the pictures in shp the DIR_TRAVEL=B 
while in sumo and netedit it shows just one direction on the link.
Besides that, I have one more question. My links in netedit are not 
connected completely as you can see in the attached screenshot while in the 
sumo they are well connected and there is no warning. I am wondering if 
this situation would be ok or problematic in next steps of simulation 
runnings? Because my network is very large and fixing these issues one by 
one is really timetaking. I prefer to skip it 😬

Thanks in advance for your help.

On Thu, Feb 29, 2024 at 7:26 AM Mirko Barthauer <m.bartha...@t-online.de
<mailto:m.bartha...@t-online.de> > wrote:
  Dear Feresteh,
   
  the only case this may happen when looking at the code is related to the
  type definitions you added. If the type has the attribute oneway="true",
  this overrides the value from the shape file. If this does not explain
  your problems, please provide a test file.
   
  Best regards
  Mirko
   
   
   
  -----Original-Nachricht-----
  Betreff: [sumo-user] incorrect street directions from shp to
  <http://sumo.net>
  Datum: 2024-02-28T17:41:24+0100
  Von: "fereshte jafari via sumo-user" <sumo-user@eclipse.org
  <mailto:sumo-user@eclipse.org> >
  An: "Sumo project User discussions" <sumo-user@eclipse.org
  <mailto:sumo-user@eclipse.org> >
   
   
   
  Hello!

  I converted my shapefile to a sumo network using the below command

  netconvert --shapefile-prefix roads4 --shapefile.use-defaults-on-failure
  --speed-in-kmh t --type-files osmNetconvert4.typ -v

  the generated network does not contain the road directions properly
  although this attribute already exists in my shapefile with the name
  DIR_TRAVEL which is given in the table of this documentation (Direction
  of travel ("B": both, "F": forward, "T": backward)). 
  <https://sumo.dlr.de/docs/Networks/Import/ArcView.html>
   
  In most cases, the directions are correct but bidirectional roads only
  work in one direction!
   
  Your guidance and help would be greatly appreciated.
   
  --
  Sincerely,
  Fereshteh Jafari Shahdani
  PhD candidate, Dep. of Civil Engineering
  ISISE - University of Minho


--
Sincerely,
Fereshteh Jafari Shahdani
PhD candidate, Dep. of Civil Engineering
ISISE - University of Minho

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

Reply via email to