Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] geo-position of stops
  • From: <Maria.Armellini@xxxxxx>
  • Date: Tue, 20 Oct 2020 23:09:05 +0000
  • Accept-language: de-DE, en-US
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • Ironport-phdr: 9a23:or6DihO8inf3rd4Vjfkl6mtUPXoX/o7sNwtQ0KIMzox0K/z5r8bcNUDSrc9gkEXOFd2Cra4d1KyJ6Ou5BDNIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfLF/IA+0oAjfucUanItvJ6QswRbVv3VEfPhby3l1LlyJhRb84cmw/J9n8ytOvv8q6tBNX6bncakmVLJUFDspPXw7683trhnDUBCA5mAAXWUMkxpHGBbK4RfnVZrsqCT6t+592C6HPc3qSL0/RDqv47t3RBLulSwKMSMy/mPKhcxqlK9VoAyvqQFjw4DaY4+VOvhxfqLBct0VSmVMRdpRVzVDAo+gc4cDE/cNMOBFpIf9vVsOqh6+CBGrCe3o0DBInH720rcg3+k9CwHG2RIvH9YKsHTVqtX1NbwfXv2xzKnS1znMcu1Z1C775YPVfR8vveuCUqhsccrN10YvDQXFg02MpIHhIz+YyOUAvWiG4udhSO6ij3Iqphx/rzWzxMohl4fHi4IRx13L+ih13ps5KcCkRUN/btCqHppdui6bOoZyRM4pXm9muCE/yrIcuJ67ejAHx4kjxx7FcfCIbpaH7grlVOmLOjh3n3Zld6ylixmu9kigz/XwWdeo31ZOrypFisLMuW4X2xzU8MiHRf1w9Vqi1zaXzw3f9/1ILVopmafYJJMt2KM8m5QQvEjZACP7l136gLKUe0k64OSk9fnrbq/7qpKeNoJ4kBzyP6IzkcKlG+s4KBIBX22D9OS5073s4FP2Ta1Rjv0zjqnZqJfaJdkHpqKhAw9azIIj6xGnAjmo1toWk3YJIlJFdhyAjIbnPEvALO73APmwgluhji1nx/HAPr39GJXCNGLPn6rlfbZn8UJT1RQ8wche55JSFL4BPOr+VlLtuNDCExM0MAO5z/z6BNhz1Y4SQ3yDD6CBPKPXq1CI5+YvI+eWZI8SvTbwM/8r6OT0jX84g1ARZ7Wk3YESaH+mGvRmJ0SZYXztgtoaDGgKuhA+QPb3h1KcSTJTfWq9X7og5jEnD4KrFZzDRp2ogLyGxSu7A4ZWaX5cCl2XD3jna4GEW/YUaCKJPMBtiDsEVaKuS9xp6Be1qQWvy6Z7NvGGvWoHqo2l2dNx5vXImFc17zMzCs2c12SESSZwn3gURjk42+dkvEl6j0qY3LIrvvpDCNZv6uNVBwcmKYbHnas9FM/tHA/KetaRU1vgRc+pRjQ4T9Y0ytlJZ0dmB9SkgBeExDevBPoIjLGRV6Azp/bHwn32Yttmxmzu2aIljkE9T41IL2Lw1YBl8A2GU6vAiUSQ0Y+wcKkY2C/L9U+PyXDIsEwOA104arnMQX1KPhielt/+/E6XF7I=
  • Ironport-sdr: ByexdZ6Cr+l8RL0wrZJmrK6xnJOM32dvUx6hg4cTBy0Yvd6V7ysSkA+KGfI+Ch3AobKF6ftA+7 NBwaclAaP18Q==
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWptWqt4+FUh3acU+Rth5VfKygvqmhHR0g
  • Thread-topic: [sumo-user] geo-position of stops

Hi Max,

you could use sumolib:
# first get network coordinates from lane and position of the bus stop
x,y = sumolib.geomhelper.positionAtShapeOffset(net.getLane(laneID).getShape(), lanePos)
# then get lon lat from network coordinates
lon, lat = net.convertXY2LonLat(x, y, True)

See: https://sumo.dlr.de/docs/Tools/Sumolib.html#coordinate_transformations

Regards,
Giuliana
-----Ursprüngliche Nachricht-----
Von: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> Im Auftrag von Maximilian Socher
Gesendet: Dienstag, 20. Oktober 2020 13:39
An: sumo-user@xxxxxxxxxxx
Betreff: [sumo-user] geo-position of stops

Hi everyone,

just a quick question: Is there an easy/quick way to export the geo-position of all of my bustops?

Max



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user


Back to the top