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
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to