tordanik / OSM2World

converter that creates three-dimensional models of the world from OpenStreetMap data
http://osm2world.org/
GNU Lesser General Public License v3.0
562 stars 124 forks source link

Strange road rendering at Potsdamer Platz in Berlin #97

Open andre-dietrich opened 9 years ago

andre-dietrich commented 9 years ago

Hi @tordanik, first of all, great tool. We are using it for our GPS simulator https://gitlab.com/OvGU-ESS/GpsSatFi ...

If I try to generate an obj-file for the following location: http://www.openstreetmap.org/export#map=17/52.50956/13.37545

and preview the scene with your tool, everything is fine: 111

but the generated obj looks somehow strange: 222

you see, the lanes are somehow higher than they should be... I tried to filter out any kinds of tags, nodes, etc. that contain railways, lanes, etc. But I did not change the resulting obj-file.

Probably you can give me a hint to prevent this kind of elevated streets/lanes...

Regards

tordanik commented 9 years ago

Based on the look of these artifacts, they could be the outer walls of underground roads and railroads. Without terrain elevation, tunnels are at the same elevation as everything else (i.e. ground level), and thus their outer walls are visible. (To be honest, tunnels are still somewhat broken even with terrain elevation.)

To work around this, you can add the parameter renderUnderground=false to your configuration file. See the following before vs. after comparison:

potsdamer platz with underground potsdamer platz without underground

What I don't understand, though, is why the artifacts don't appear in OSM2World itself.