Hi,
I try to create a terrain renderer for unity3d using elevation data. Since I am to lazy to paint all the forest-areas and streets, I try to use OSM data to paint images, that describe the kind of landuse for each location. Right now I am only trying to render forest.
My current output is
The Problem is the white area on the top right (arrow). It looks like I am missing one large polygon. I am going through all the relations and draw all referenced ways that have outer in green in all that have inner in grey (to see them). In addition I go through all ways that have landuse=forest and draw them as polygon as well.
I think that I misunderstood the relation thing.
The code can be found here:
https://gist.github.com/mlankenau/cf6a7528020c77deb26899eb49544f95
Any help is highly appreciated