Actually, there are two reference positions we could be talking about:

a) the point where the distortion of the projection is minimal (for UTM
this would be the center of the current UTM zone, I think).
b) the point that is called (0, 0)

Point b) can be shifted arbitrarily by setting the appropriate x,y offset
(netconvert options --offset.x --offset.y)
If this is what you need to change, it should suffice to compute the x,y
coordinate of your desired lon,lat reference point and set the offset the
negative of this value

If you need to change a) the you must use a projection other than UTM and
you can set this with netconvert option --proj and the appropriate
proj-string (https://proj.org/usage/quickstart.html) but I cannot tell you
which string that would be.

regards,
Jakob


Am Mi., 2. Feb. 2022 um 13:28 Uhr schrieb Ovsenjak, Gregor AVL/SI via
sumo-user <[email protected]>:

> Hello Jakob,
>
> Sorry maybe I did not explain my question very well. Here is a shorter
> summary.
>
>  A GEO to ENU system needs a reference position (Lon, Lat,Alt). This
> reference position gives a road representation in ENU system with x and y
> positions (flat earth). Due to the ENU transformation a map is good only
> for areas <2km without position drift. SUMO generates road network in UTM
> shifted to ENU system with the reference point always on the lower left
> corner (min lon, min lat )
>
>
> Question: is there a chance to set this reference position (lon, lat) by
> our own defined values ?
>
>
> With kind regards,
>
> Gregor Ovsenjak
>
> ------------------------------
> *Od:* sumo-user <[email protected]> v imenu Jakob Erdmann <
> [email protected]>
> *Poslano:* sreda, 02. februar 2022 12:46:30
> *Za:* Sumo project User discussions
> *Zadeva:* [EXTERNAL] Re: [sumo-user] Netconvert GeoConvHelper
>
> Are there any other differences to the projections besides the shift?  Are
> the axis directions different (i.e. increasing from north to south)? Am
> Mi., 2. Feb. 2022 um 09:03 Uhr schrieb Ovsenjak, Gregor AVL/SI via
> sumo-user <[email protected] ZjQcmQRYFpfptBannerStart
> This message is from an external sender
> This email originated from outside of the organization. Do not click links
> or open attachments unless you recognize the sender and know the content is
> safe. If you are not sure, you can use the ReportPhish Button to submit the
> message for analysis.
> ZjQcmQRYFpfptBannerEnd
> Are there any other differences to the projections besides the shift?  Are
> the axis directions different (i.e. increasing from north to south)?
>
> Am Mi., 2. Feb. 2022 um 09:03 Uhr schrieb Ovsenjak, Gregor AVL/SI via
> sumo-user <[email protected]>:
>
>> Hello Jakob,
>>
>>
>> I am working on a project where a vehicle is collecting data. We are
>> trying to recreate the map in an OpenDrive format. For that we need the
>> SUMO netconvert  software (which is awesome, by the way !!). The vehicle
>> collects data, and creates a local coordinate system based on the ENU
>> transformation, which means that they create a local tangent plane
>> coordinate system. But they take the first measured GNSS point as the ENU
>> reference point, which is (in this case) always in the top-right corner of
>> the map.
>>
>> This presents a problem for us because 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. Now we have one ENU coordinate
>> system in the top right corner and one in the bottom left corner, which
>> introduces an offset when overlaping x,y data from vehicle with the SUMO
>> converted OpenDrive file.
>>
>> I am wondering if there is a way to align these two ENU systems, or if we
>> can move the ENU tranformation to the top right corner. We have tried
>> shifting the coordinate origin but this does not solve the problem.
>>
>> Sorry for the long explanation,
>>
>>
>> With kind regards,
>>
>> Gregor Ovsenjak
>> _______________________________________________
>> 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!9_TjBvVOEqbUc7DLoHTmusegZSla4DNIsyuiQCjniyHqlKQajuRkz4J6zCffGLUAYuI$>
>>
> _______________________________________________
> 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