Skip to content

Commit

Permalink
adding how to fixed a network with a satellite background and the rel…
Browse files Browse the repository at this point in the history
…ated issues, #2
  • Loading branch information
yunpangfloetteroed committed Apr 2, 2024
1 parent e4a2e8f commit 9610eb2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/web/docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,17 @@ i.e. if simulations where run with the option `<statistic-output value="stats.xm
The [osmWebWizard](Tutorials/OSMWebWizard.md) tool provides the simples solution to obtain a scenario with background images.
Selecting the checkbox 'Satellite background' before generating the scenario is sufficient. To select another image provider, the tool [tileGet.py](Tools/Misc.md#tilegetpy) can also be used.

It is important to know that the netowork projection will be changed from UTM to Mercator if you want to generate a sumo network with a satellite background. Accordingly, the length of most edges will be enlarged (almost doubled), although each node cooridnate remains unchanged. The respective network can be corrected by using the following way:
- netconvert -s *.net.xml -p plain --proj.plain-geo
- netconvert -e plain.edg.xml -n plain.nod.xml -x plain.con.xml -i plain.tll.xml --proj.utm

The above "plain" can be specified by users.

Once the network is corrected, it no longer matches
- the respective satellite background,
- the respective OSM background
- the locations of the public transport stops extracted from the OSM. It is therefore necessary to recheck and correct the location information not only for stops but aslo for the corresponding access-lanes. If the locations of stops do not have to be precise, simply enter friendlyPos="true" in the respective line for each stop in the file. But then they are always at the end of the edge.

### sumo-gui breaks

Sometimes [sumo-gui](sumo-gui.md) terminates with no reason.
Expand Down

0 comments on commit 9610eb2

Please sign in to comment.