Hi,

I was expecting absolute values in some coordinate system (as stated in the 
manual). Manual also states that values should be offset with “netOffset”.
What kind of coordinates does SUMO output? UTM?
I don’t know much about the creation of the original net-file since that was 
created before I got involved. I think it originates from some VISSIM export, 
but not sure.

/Daniel

From: [email protected] [mailto:[email protected]] On 
Behalf Of Jakob Erdmann
Sent: den 20 april 2018 09:03
To: Sumo project User discussions <[email protected]>
Subject: Re: [sumo-user] Vehicle position output

Hello,
What kind of coordinates would you expect? The origBoundary values look a bit 
like UTM values where the wrong zone was used for projecting something from 
Finnland.
regards,
Jakob

2018-04-20 7:58 GMT+02:00 Thuresson, Daniel 
<[email protected]<mailto:[email protected]>>:
Hi,

I have the EmissionOutput activated and wants to use the x and y position 
output. The manual says this:

pos_x

---

The absolut X coordinate of the vehicle. The value depends on the given 
geographic projection.

pos_y

---

The absolut Y coordinate of the vehicle. The value depends on the given 
geographic projection.



Fine, but the results file looks something like this:

<vehicle id="100.39" type="veh165" lane="1072.0_0" speed="13.89" pos="71.74" 
angle="274.98" x="4687.89" y="1231.88" dist2front="170.56"/>

What are the x and y values? A coordinate relative to something?
A read about this in the manual and found out that you should:

“For networks with no projection (projParameter='!'), only the offset must be 
applied.”

Ok, my offset is this:

<location netOffset="-1433123.30,-7374447.50" 
convBoundary="0.00,0.00,9340.19,10863.49" 
origBoundary="1433123.30,7374447.50,1442463.49,7385311.00" projParameter="!"/>

If I subtract the offsets the result still makes no sense to me…

Any help is appreciated!

Rgds /Daniel

_______________________________________________
sumo-user mailing list
[email protected]<mailto:[email protected]>
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdev.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=02%7C01%7Cdaniel.thuresson.2%40volvocars.com%7Ca1b23232278a435e5cfb08d5a68cc7f5%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C0%7C636598045934691319&sdata=pxLonLWs%2F63zPWQGqQdaxjLJzV4VjoL0OtvVcMexGz8%3D&reserved=0>

_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user

Reply via email to