0

I have 3 databases, each containing vectorial data. I want for each zoom level to fetch the appropriate vectorial data. So I have the following:

"data": {
            "allowed origin": "*",
            "png options": {
                "palette": "/media/hi/styles/example-palette-openstreetmap-mapnik.act"
            },
            "provider": {
                "class": "hi.Goodies.VecTiles:Provider",
                "kwargs": {
                    "dbinfo": {
                        "host": "localhost",
                        "user": "postgres",
                        "database": "database1"
                    },
                    "queries": [
                        "SELECT geom AS __geometry__, gid FROM database1"
                    ]
                }
            }
        }

I want to make another query similar to :

"SELECT geom AS __geometry__, gid FROM database2"

for another zoom level. but I need first to declare database2 in my dbinfo. Is it possible to have this case ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.