melowntech / vts-tools

VTS tool suite.
BSD 2-Clause "Simplified" License
12 stars 3 forks source link

support for surfaces without textures #2

Closed jachym closed 4 years ago

jachym commented 7 years ago

It would be great, if you could switch off textures in view configuration.

surfaces.[texture] = [] could be something like surfaces.[texture] = None

Same applies for raster free layers

e.g.

    "view": {

        "surfaces": { 
            "ev1": None, 
            "krnov": None }, 

        "freeLayers": { 

            "melown-mapzen-roads":  {
                "style": "johns-own-mapzen-style"
            },

            "melown-mapzen-places": {},

            "seznam-cr-dem": {
                "boundLayers": ["melown-cuzk-cadastral-parcels"]
            } 
        }  
    }
}
ladislavhorky commented 4 years ago

Surfaces without internal texture (e.g. DTMs) and no assigned bound-layer are now displayed as shaded mesh. For surfaces with internal texture (e.g. city models) there is no plan to accommodate turning off the texture in view. It can be done on frontend if needed.

The use-case of having lightweight building data is better solved using LOD2 extracted buildings.