Skip to content

Error trying to generate simulation with python osmWebWizard.py #16357

@pedefe

Description

@pedefe

Hello,
I just install sumo 1.22.0 for windows 64 bits, and trying to import OSM simulation, console displays error :

C:\Program Files (x86)\Eclipse\Sumo\tools>python osmWebWizard.py
Building scenario in 'C:\Program Files (x86)\Eclipse\Sumo\tools\2025-03-15-18-32-49'.
Downloading map data
Converting map data
usage: osmWebWizard.py [-h] [-c FILE] [-C FILE] [--save-template FILE] [-p PREFIX] [-f OSM_FILE] [-m TYPEMAP] [--netconvert-typemap NETCONVERT_TYPEMAP] [-o OLDAPI_PREFIX] [-t TILES]
                       [--vehicle-classes VEHICLE_CLASSES] [-d OUTPUT_DIRECTORY] [-n NETCONVERT_OPTIONS] [--pedestrians] [-y POLYCONVERT_OPTIONS] [-z] [-v]
osmWebWizard.py: error: typemap file "${SUMO_HOME}\data\typemap\osmPolyconvert.typ.xml" not found

Simulation folder has been created : C:\Program Files (x86)\Eclipse\Sumo\tools\2025-03-15-18-32-49
with file osm_bbox.osm.xml.gz, size , 223641 bytes.
C:\Program Files (x86)\Eclipse\Sumo\data\typemap*osmPolyconvert.typ.xml* file exists with 5815 bytes, and containg lines like :

<polygonTypes>

    <polygonType id="traffic_sign"            name="traffic_sign" color=".0,.0,.0" layer="0"/>
    <polygonType id="waterway"                name="water"       color=".71,.82,.82" layer="-4"/>
    <polygonType id="natural"                 name="natural"     color=".55,.77,.42" layer="-4"/>
    <polygonType id="natural.water"           name="water"       color=".71,.82,.82" layer="-4" fill="force"/>
    <polygonType id="natural.bay"             name="bay"         color=".71,.82,.82" layer="-4" fill="force"/>
    <polygonType id="natural.strait"          name="strait"      color=".71,.82,.82" layer="-4" fill="force"/>
    <polygonType id="natural.wetland"         name="water"       color=".71,.82,.82" layer="-4" fill="force"/>

What happends ?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions