Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] [TAZ][ERROR]

The error is most likely due to an outdated schema file at %SUMO_HOME%\data\xsd\additional_file.xsd
You can circumvent either by
- correcting SUMO_HOME to point to a newer sumo version
- setting option --xml-validation never
- removing all attributes from the <additional> element

Also, your flow definitions are invalid. Instead of
    <flow id="745.vl" type="veicoli_leggeri" begin="0" end="900" number="35" fromTaz="E9" toTaz="U3"...
your need to use
     <flow id="745.vl" type="veicoli_leggeri" begin="0" end="900" number="35" fromTaz="taz_0" toTaz="taz_1"  ...

regards,
Jakob

Am Do., 7. März 2019 um 12:41 Uhr schrieb Luca Di Costanzo <dicostanzo.luca@xxxxxxxxx>:
"Loading configuration... done.
Loading net-file from 'C:\Users\Luca\Desktop\LAVORO\UNIVERSITA\S8\FANO\Simulazione\TAZ\Fano.net.xml'... done (17ms).
Loading additional-files from 'C:\Users\Luca\Desktop\LAVORO\UNIVERSITA\S8\FANO\Simulazione\TAZ\prova.taz.xml'... 
Error: no declaration found for element 'taz'
 In file 'C:\Users\Luca\Desktop\LAVORO\UNIVERSITA\S8\FANO\Simulazione\TAZ\prova.taz.xml'
 At line/column 36/162.

Loading of additional-files failed.
Quitting (on error)."

This is the error SUMO give me when I try to load a simulation. I'm attaching also the *.net and *.rou file. I created the second one with OD2TRIPS.

Lastly the input files in my *.sumocfg is the following 


    <input>
        <net-file value="Fano.net.xml"/>
        <route-files value="TAZ.rou.xml"/>
       <additional-files value="prova.taz.xml"/>
    </input>



Ing. Luca Di Costanzo

-----------------------------
MsC in Hydraulic and Transportation Engineering 
Bsc in Civil Engineering 
skype: lucadicostanzo82
tel: +39 333 43 92 544


Il giorno mer 6 mar 2019 alle ore 18:17 Luca Di Costanzo <dicostanzo.luca@xxxxxxxxx> ha scritto:
Hi all,

I'm having my first steps with TAZ and SUMO. I'm using sumo 1.1.0 to create TAZ directly in NETEDIT without passing through POLYLINES. 

Unfortunately I'm having troubles using the additional TAZ file. Can someone give a look and try to understand what's wrong?

Regards 

Ing. Luca Di Costanzo

-----------------------------
MsC in Hydraulic and Transportation Engineering 
Bsc in Civil Engineering 
skype: lucadicostanzo82
tel: +39 333 43 92 544
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top