g3w-suite/g3w-client-sdk

Change 'GetFeatureInfo' format to 'application/json'

Opened this issue · 4 comments

Change 'GetFeatureInfo' format to 'application/json'

Waiting for fix on QGIS server 3.10 bug. qgis/QGIS#36733

Moved to release 3.1

@volterra79 with release 3.10.8, this bug is fixed.

{
    "features":[
        {
            "bbox":[
                1681002.200347,
                4851271.404551,
                1681085.247691,
                4851313.943171
            ],
            "geometry":{
                "coordinates":[
                    [
                        [
                            [
                                1681078.82791,
                                4851309.192433
                            ],
                            [
                                1681031.044576,
                                4851286.428484
                            ],
                            [
                                1681019.091185,
                                4851289.283176
                            ],
                            [
                                1681023.745538,
                                4851310.198322
                            ],
                            [
                                1681010.63857,
                                4851313.943171
                            ],
                            [
                                1681002.200347,
                                4851278.013288
                            ],
                            [
                                1681034.654721,
                                4851271.404551
                            ],
                            [
                                1681085.247691,
                                4851295.396428
                            ],
                            [
                                1681078.82791,
                                4851309.192433
                            ]
                        ]
                    ]
                ],
                "type":"MultiPolygon"
            },
            "id":"edifici20180829155021867.21",
            "properties":{
                "Address":"Via Alfredo Oriani gia' Via Vecchia",
                "Architectural barriers":"Verificato",
                "Categoria":"B",
                "Data sheet":"https://dev.g3wsuite.it/it/me/qdjango/366/Scheda%20rilevamento%20edifici_iTC9jkg.pdf",
                "Date checks barriers":"2018-09-06",
                "Fire exits":"Verificato",
                "Fire exits check date":"2018-09-05",
                "Fire system":"Non verificato",
                "Fire system check date":"2018-09-20",
                "Heigth":28,
                "Link":"https://g3wsuite.it",
                "Name":"Garibaldi Palace",
                "Photo":"https://dev.g3wsuite.it/it/me/qdjango/366/edificio_10_XU0nmtj.jpg",
                "Surface (mq)":null,
                "Type":"Residential",
                "Volume":60,
                "Year of construction":"2006-01-01",
                "id":21
            },
            "type":"Feature"
        }
    ],
    "type":"FeatureCollection"
}