There are three coordinate systems in play here:

1. WGS84 (lon,lat)
2. UTM (large x,y values in m)
3. shifted UTM (typically small x,y values in m)

You can freely convert between all of them and sumo provides functionality
for this (https://sumo.dlr.de/docs/Geo-Coordinates.html)
There is a fixed relationship between 1 and 2 (the center of each UTM zone
is fixed) but you can freely define the shift (3) and thereby place your
origin (0,0) wherever you need.

If that doesn't answer your question, please try to restate it with a usage
example.

regards,
Jakob



Am Di., 7. Dez. 2021 um 14:45 Uhr schrieb Ovsenjak, Gregor AVL/SI via
sumo-user <[email protected]>:

> Hello, thank You for your answer.
>
> what I meant was if it is possible to recalculate the UTM not from Lower
> Left corner (lat,long)  point but from the middle point of the bounding box?
>
>
> Best regards,
>
> Gregor
>
>
> ------------------------------
> *Od:* sumo-user <[email protected]> v imenu Jakob Erdmann <
> [email protected]>
> *Poslano:* torek, 07. december 2021 14:30:28
> *Za:* Sumo project User discussions
> *Zadeva:* Re: [sumo-user] ENU projection
>
> Each network contains it's bounding box within the convBoundary attribute
> of the <location> element
> To shift the reference system to the center, post-process your network with
>
>   netconvert -s old.net.xml -o new.net.xml --offset.x halfWidth --offset.y
> halfHeight
>
> where halfWidth is the third entry of convBoundary divided by 2 and
> halfHeight is the fourth entry divided by 2.
>
>
>
> Am Di., 7. Dez. 2021 um 13:16 Uhr schrieb Ovsenjak, Gregor AVL/SI via
> sumo-user <[email protected]>:
>
>> Thank You for Your answer.
>>
>>
>> Is it possible to shift the calculation of the ENU system so that the
>> reference point is not the lower left corner UTM point. I want to change
>> the reference point for calculating the ENU from lower left UTM point to
>> the middle UTM point of the bounding box. If it is possible how could I do
>> that ?
>>
>>
>>
>> Best regards,
>>
>> Gregor
>> ------------------------------
>> *Od:* sumo-user <[email protected]> v imenu Jakob Erdmann <
>> [email protected]>
>> *Poslano:* Ĩetrtek, 02. december 2021 17:16:01
>> *Za:* Sumo project User discussions
>> *Zadeva:* Re: [sumo-user] ENU projection
>>
>> Hello,
>>
>> Each SUMO network imported from a geo-referenced data sources comes with
>> it's own ENU projection: By default, these are UTM coordinates which are
>> shifted so that the lower left network corner is the coordinate origin. You
>> can customized the shift to you liking.
>> As long as your projection is expressible with a proj-string (
>> https://proj.org/usage/quickstart.html
>> <https://urldefense.com/v3/__https://proj.org/usage/quickstart.html__;!!Oq50-tQ!_gZdMwNPnCFxX5EbbYc1M8MxporOxWTZBEwQB1Ips5vgVWDwBi2P7t4gW8NKCmNfdJU$>)
>> it will be supported by netconvert using the option --proj (sumo is able
>> convert freely between lon/lat and your local projection.
>> "simple projection" is this:
>> https://en.wikipedia.org/wiki/Sinusoidal_projection
>> <https://urldefense.com/v3/__https://en.wikipedia.org/wiki/Sinusoidal_projection__;!!Oq50-tQ!_gZdMwNPnCFxX5EbbYc1M8MxporOxWTZBEwQB1Ips5vgVWDwBi2P7t4gW8NKz8hp9lE$>
>>
>> regards,
>> Jakob
>>
>> Am Do., 2. Dez. 2021 um 12:36 Uhr schrieb Ovsenjak, Gregor AVL/SI via
>> sumo-user <[email protected]>:
>>
>>> Hello,
>>>
>>> I was wondering if SUMO supports a ENU projection of geolocations
>>> (long,lat) from OSM import. I see that it supports a UTM and also a
>>> simple-projection which I don't know what it means. Can You please clarify
>>> that for me.
>>>
>>>
>>> Best regards,
>>>
>>> Gregor
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>> <https://urldefense.com/v3/__https://www.eclipse.org/mailman/listinfo/sumo-user__;!!Oq50-tQ!_gZdMwNPnCFxX5EbbYc1M8MxporOxWTZBEwQB1Ips5vgVWDwBi2P7t4gW8NKn4STLV4$>
>>>
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>> <https://urldefense.com/v3/__https://www.eclipse.org/mailman/listinfo/sumo-user__;!!Oq50-tQ!-GDjCEVv9mkUyW753D_d5UcQMTkb61phj8KkSpV846k4w6MIGrIYBa_qt75uHJrHJP8$>
>>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to