Thanks for the example file.
The bug is now fixed (https://github.com/eclipse/sumo/issues/13264)
As a work-around you could also shift your network so that the lower left
corner (convBoundary in <location>) is at 0,0:
netconvert -s net08.05.net.xml -o net2.net.xml --offset.x -3991.27
--offset.y -7094.43

regards,
Jakob

Am Di., 16. Mai 2023 um 09:22 Uhr schrieb Florian Schnepf <
florian.schnep...@web.de>:

> Hi,
>
> I attached it to this email
>
>
> *Gesendet:* Montag, 15. Mai 2023 um 16:18 Uhr
> *Von:* "Jakob Erdmann" <namdre.s...@gmail.com>
> *An:* "Sumo project User discussions" <sumo-user@eclipse.org>
> *Betreff:* Re: [sumo-user] Offset in gridDistricts.py
> Can you provide the network file (or a smaller version that shows the same
> problem)?
>
> Am Mo., 15. Mai 2023 um 13:38 Uhr schrieb Florian Schnepf <
> florian.schnep...@web.de>:
>
>> Hello everyone,
>>
>> I want to create a grid for OD Matrix using gridDistricts.py
>>
>> I attached a screenshot.
>>
>> The grid seems to have an offset to the net. I tried it with an older
>> version of my network and it works fine, so I think the network is the
>> problem.
>>
>> I also set the offset of my network to 0,0 with netconvert and --offset.x
>> and --offset.y, but with this output files from gridDistricts are exactly
>> the same
>>
>> What could it be and how can I fix it?
>>
>> Thanks in advance
>>
>> Regards
>> Florian
>> _______________________________________________
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>
> _______________________________________________ sumo-user mailing list
> sumo-user@eclipse.org To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> _______________________________________________
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to