Skip to content

OSM importer crashes with --enable-3D (UnboundLocalError: newCoordy) #6932

@aalgirdas

Description

@aalgirdas

Describe the Bug

When running the Webots OSM importer with --enable-3D, the importer consistently crashes for me. Without --enable-3D, the same OSM input generates a .wbt correctly.

Steps to Reproduce

  1. Run the importer without 3D (works):
    python resources/osm_importer/importer.py --no-trees --no-forests --input="test.osm" --output="test.wbt"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions