Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36733 from elpaso/bugfix-36262-json-export-respec…
…t-use-layer-ids Server: respect "use layer ids" option in json getfeatureinfo
- Loading branch information
Showing
9 changed files
with
2,554 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2,435 changes: 2,435 additions & 0 deletions
2,435
tests/testdata/qgis_server/test_project_use_layer_ids.qgs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
tests/testdata/qgis_server/wms_getfeatureinfo_group_name_areas_nested.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
***** | ||
Content-Type: application/json; charset=utf-8 | ||
|
||
{ | ||
"features": [ | ||
{ | ||
"geometry": null, | ||
"id": "as-areas-short-name.18", | ||
"properties": { | ||
"bearbeiter": "scholle-b", | ||
"bemerkung": "", | ||
"beschriftung": "", | ||
"datum": "2013-06-11", | ||
"farbe": "255 0 0", | ||
"fid": 18, | ||
"flaeche": 12879.0, | ||
"flaechentyp": "Schraffur", | ||
"gid": 34, | ||
"last_change": "2013-06-11 10:03:45.52301+02", | ||
"name": "", | ||
"schraff_size": "10", | ||
"schraff_size_prt": "30.00", | ||
"schraff_width": "2", | ||
"schraff_width_prt": "6.00", | ||
"schraff_winkel": "45", | ||
"umfang": 758.4703, | ||
"umrissfarbe": "0 0 0", | ||
"umrissstaerke": "1", | ||
"umrissstaerke_prt": "3.00", | ||
"umrisstyp": "durchgezogen", | ||
"veranstaltung": "" | ||
}, | ||
"type": "Feature" | ||
} | ||
], | ||
"type": "FeatureCollection" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
tests/testdata/qgis_server/wms_getfeatureinfo_json_layer_ids.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Content-Length: 299 | ||
Content-Type: application/json; charset=utf-8 | ||
|
||
{ | ||
"features": [ | ||
{ | ||
"geometry": null, | ||
"id": "testlayer_èé_cf86cf11_222f_4b62_929c_12cfc82b9774.1", | ||
"properties": { | ||
"alias_id": 2, | ||
"alias_name": "two", | ||
"utf8nameè": "two àò" | ||
}, | ||
"type": "Feature" | ||
} | ||
], | ||
"type": "FeatureCollection" | ||
} |
23 changes: 23 additions & 0 deletions
23
tests/testdata/qgis_server/wms_getfeatureinfo_json_layer_ids_raster.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Content-Length: 402 | ||
Content-Type: application/json; charset=utf-8 | ||
|
||
{ | ||
"features": [ | ||
{ | ||
"id": "landsat_a7d15b35_ca83_4b23_a9fb_af3fbdd60d15", | ||
"properties": { | ||
"Band 1": "127", | ||
"Band 2": "142", | ||
"Band 3": "96", | ||
"Band 4": "70", | ||
"Band 5": "81", | ||
"Band 6": "119", | ||
"Band 7": "146", | ||
"Band 8": "199", | ||
"Band 9": "160" | ||
}, | ||
"type": "Feature" | ||
} | ||
], | ||
"type": "FeatureCollection" | ||
} |