[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Vehicle position output
|
Hi,
we already had german VISSIM networks here which used Gauss-Krueger
projection for the so-called DHDN (Deutsches Hauptdreiecksnetz). If the
network originates from local municipalities there is a good chance that
it uses the local standard like https://sv.wikipedia.org/wiki/SWEREF_99
or https://sv.wikipedia.org/wiki/RT_90
Best regards,
Michael
Am 20.04.2018 um 10:16 schrieb Jakob Erdmann:
> Then I do not think that the vissim network was projected with UTM. If
> you cannot guess the projection you can either try to find the original
> vissim network or you can simply re-import the network again from OSM
> and compute a linear mapping from 3 corresponding points in both
> .net.xml files. (only 1 point needed if you are feeling lucky).
>
>
>
> 2018-04-20 9:46 GMT+02:00 Thuresson, Daniel
> <daniel.thuresson.2@xxxxxxxxxxxxx
> <mailto:daniel.thuresson.2@xxxxxxxxxxxxx>>:
>
> Yes, Gothenburg: Latitud 57.70887, Longitud 11.974559999999997____
>
> __ __
>
> /Daniel____
>
> __ __
>
> *From:*sumo-user-bounces@xxxxxxxxxxx
> <mailto:sumo-user-bounces@xxxxxxxxxxx>
> [mailto:sumo-user-bounces@xxxxxxxxxxx
> <mailto:sumo-user-bounces@xxxxxxxxxxx>] *On Behalf Of *Jakob Erdmann
> *Sent:* den 20 april 2018 09:39
>
>
> *To:* Sumo project User discussions <sumo-user@xxxxxxxxxxx
> <mailto:sumo-user@xxxxxxxxxxx>>
> *Subject:* Re: [sumo-user] Vehicle position output____
>
> __ __
>
> Hello,
> SUMO uses UTM by default and shifts the coordinates so that the
> lower left network corner is at 0,0.
> However, your original network file was created without projection
> information (projParameter="!").
> In this case SUMO only takes the coordinates it was already given
> and shifts them without doing any projecting.
> From their magnitude one can try guess what the original projection
> for the vissim data was (possibly UTM).____
>
> __ __
>
> Do you know from which city this network is?____
>
> regards,____
>
> Jakob____
>
> __ __
>
> __ __
>
> 2018-04-20 9:22 GMT+02:00 Thuresson, Daniel
> <daniel.thuresson.2@xxxxxxxxxxxxx
> <mailto:daniel.thuresson.2@xxxxxxxxxxxxx>>:____
>
> 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:*sumo-user-bounces@xxxxxxxxxxx
> <mailto:sumo-user-bounces@xxxxxxxxxxx>
> [mailto:sumo-user-bounces@xxxxxxxxxxx
> <mailto:sumo-user-bounces@xxxxxxxxxxx>] *On Behalf Of *Jakob Erdmann
> *Sent:* den 20 april 2018 09:03
> *To:* Sumo project User discussions <sumo-user@xxxxxxxxxxx
> <mailto:sumo-user@xxxxxxxxxxx>>
> *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
> <daniel.thuresson.2@xxxxxxxxxxxxx
> <mailto:daniel.thuresson.2@xxxxxxxxxxxxx>>:____
>
> 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
> sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
> 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
> sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
> 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%7Ca16f2cf2b80c4f46858508d5a691c29e%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C0%7C636598067323967103&sdata=KXWzd%2BUwRXo5ucCGJISAntCOlDIhMSFGoHUp4zfcKvU%3D&reserved=0>____
>
> __ __
>
>
> _______________________________________________
> sumo-user mailing list
> sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
> <https://dev.eclipse.org/mailman/listinfo/sumo-user>
>
>
>
>
> _______________________________________________
> sumo-user mailing list
> sumo-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
Attachment:
signature.asc
Description: OpenPGP digital signature