Hello Jakob,

thank you so much for the quick response!
The trick was step 2, where I just couldn't get behind.

Best regards,
Julia
Mit freundlichen Grüßen

Julia Rainer
Entwicklung Connectivity / Mobile Kommunikation / Car2X Technologien
AUDI AG
I/EE-86
D-85045 Ingolstadt
Tel.:
Mobile: +49-152-58811584
[email protected]<mailto:[email protected]>
www.audi.com<http://www.audi.com>

Sitz/Domicile: Ingolstadt
Registergericht/Court of Registry: Amtsgericht Ingolstadt
HRB Nr./Commercial Register No.: 1
Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Herbert Diess
Vorstand/Board of Management: Markus Duesmann (Vorsitzender/Chairman), Arno 
Antlitz, Dirk Große-Loheide, Peter Kössler, Sabine Maaßen, Hildegard Wortmann

Wichtiger Hinweis: Die vorgenannten Angaben werden jeder E-Mail automatisch 
hinzugefügt und lassen keine Rückschlüsse auf den Rechtscharakter der E-Mail zu.
Important Notice: The above information is automatically added to this e-mail. 
This addition does not constitute a representation that the content of this 
e-mail is legally relevant and/or is intended to be legally binding upon AUDI 
AG.
Von: [email protected] <[email protected]> Im Auftrag 
von Jakob Erdmann
Gesendet: Donnerstag, 19. November 2020 10:37
An: Sumo project User discussions <[email protected]>
Betreff: Re: [sumo-user] net File conversion location

Hello,
If I understand correctly, MOSAIC needs a network with shifted x,y coordinates 
that returns raw UTM values when calling conversion functions like 
traci.simulation.convertGeo.
You can get this with the following steps:
1) netconvert --osm-files ... --offset.disable-normalizatoin 
--plain-output-prefix plain
2) manually delete the <location> element from plain.nod.xml
3) netconvert -n plain.nod.xml -e plain.edg.xml -x plain.con.xml -i 
plain.tll.xml -t plain.typ.xml

regards,
Jakob


Am Do., 19. Nov. 2020 um 10:05 Uhr schrieb Rainer, Julia (I/EE-86) 
<[email protected]<mailto:[email protected]>>:
Hey Everyone,

I am working with another Eclipse tool MOSAIC and I have some issues converting 
the SUMO net files in a way that is understood by this system:

I am trying to import a net file with this location information:
<location netOffset="-672401.23,-5399632.08" 
convBoundary="6725.17,3651.66,7080.19,4177.92" 
origBoundary="11.274814,48.715766,11.611141,48.814343" projParameter="+proj=utm 
+zone=32 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"/>
This format is due to this network section being cut out of a larger section of 
downloaded and converted OSM map. I can transform the system with netconvert to 
receive this:
<location netOffset="-679126.40,-5403283.74" 
convBoundary="0.00,0.00,355.02,526.40" 
origBoundary="11.274814,48.715766,11.611141,48.814343" projParameter="+proj=utm 
+zone=32 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"/>
This so far causes no issues in netedit or SUMO, however the MOSAIC tool 
requires data to be in this format:
<location netOffset="-657054.62,-5334550.11" 
convBoundary="0.00,0.00,713.43,540.00" 
origBoundary="657054.62,5334550.11,657768.05,5335090.11" projParameter="!"/>
(this is another network than the one I am trying to convert as an example, so 
ignore the netOffset and conBoundary values not matching)

I am at loss on how the origBoundary can be modified so as to fit the 
requirements from this tool. There has to be a method on how this can be done 
with netconvert, or even manually?

Any help would be greatly appreciated!
Mit freundlichen Grüßen

Julia Rainer
Doktorand bei Entwicklung Connectivity / Mobile Kommunikation / Car2X 
Technologien
AUDI AG
I/EE-86
D-85045 Ingolstadt
Tel.:
Mobile: +49-152-58811584
[email protected]<mailto:[email protected]>
www.audi.com<http://www.audi.com>

Sitz/Domicile: Ingolstadt
Registergericht/Court of Registry: Amtsgericht Ingolstadt
HRB Nr./Commercial Register No.: 1
Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Herbert Diess
Vorstand/Board of Management: Markus Duesmann (Vorsitzender/Chairman), Arno 
Antlitz, Dirk Große-Loheide, Peter Kössler, Sabine Maaßen, Hildegard Wortmann

Wichtiger Hinweis: Die vorgenannten Angaben werden jeder E-Mail automatisch 
hinzugefügt und lassen keine Rückschlüsse auf den Rechtscharakter der E-Mail zu.
Important Notice: The above information is automatically added to this e-mail. 
This addition does not constitute a representation that the content of this 
e-mail is legally relevant and/or is intended to be legally binding upon AUDI 
AG.


INTERNAL
_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


INTERNAL
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to