The location element states that your network coordinates (including edge
shapes) are already projected with UTM (the Universal Transverse Mercator)
to meter values.
see
https://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system

Am Do., 30. Juni 2022 um 09:36 Uhr schrieb Sasan Amini <[email protected]>:

> I have imported the network from OSM and did not define any projection
> specifications (I thas been a while, I can't be sure honestly about that).
> I have plotted x,y from net.edge.getShape() of sumolib for the plot.
>  but here is what the location element in the xml says:
>    <location netOffset="-689240.30,-5332378.01"
> convBoundary="0.00,0.00,3968.56,4377.92"
> origBoundary="11.543158,48.116111,11.598089,48.155686"
> projParameter="+proj=utm +zone=32 +ellps=WGS84 +datum=WGS84 +units=m
> +no_defs"/>
>
> On Thu, Jun 30, 2022 at 7:16 AM Jakob Erdmann <[email protected]>
> wrote:
>
>> Any coordinates in a .net.xml file are supposed to be in m. The Value
>> range of 0-4000 in you image certainly doesn't suggest WGS84.
>> It would help if you described from what kind of data your network was
>> created and what it says in the <location> element at the start of your
>> .net.xml file (the first child element after the opening <net> element).
>>
>> Am Do., 30. Juni 2022 um 03:03 Uhr schrieb Sasan Amini <
>> [email protected]>:
>>
>>> Dear all,
>>> how can I transform my network coordinates in order to get x,y in a
>>> mercator system? When I plot the network in python I get a WGS84 view but I
>>> prefer to get a flattened top view as in epsg:3875. I cannot convert from
>>> OSM as I have been fixing the network manually. Netconvert --proj.dhdn
>>> didn't help. Any tips are welcomed.
>>>
>>> Thanks
>>> Sasan
>>> [image: image.png]
>>> _______________________________________________
>>> 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
>>
> _______________________________________________
> 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