Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
More getfeatureinfo test updates
  • Loading branch information
elpaso committed May 26, 2020
1 parent d6198a4 commit d859bb9
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 7 deletions.
4 changes: 2 additions & 2 deletions tests/src/python/test_qgsserver_wms_getfeatureinfo.py
Expand Up @@ -657,7 +657,7 @@ def testGetFeatureInfoGroupedLayers(self):
'&INFO_FORMAT=application/json' +
'&I=0&J=1' +
'&FEATURE_COUNT=10',
'wms_getfeatureinfo_group_name_areas',
'wms_getfeatureinfo_group_name_areas_nested',
'test_project_wms_grouped_nested_layers.qgs',
normalizeJson=True)

Expand All @@ -670,7 +670,7 @@ def testGetFeatureInfoGroupedLayers(self):
'&INFO_FORMAT=application/json' +
'&I=0&J=1' +
'&FEATURE_COUNT=10',
'wms_getfeatureinfo_group_name_areas',
'wms_getfeatureinfo_group_name_areas_nested',
'test_project_wms_grouped_nested_layers.qgs',
normalizeJson=True)

Expand Down
Expand Up @@ -5,7 +5,7 @@ Content-Type: application/json; charset=utf-8
"features": [
{
"geometry": null,
"id": "as-areas-short-name.18",
"id": "as_areas.18",
"properties": {
"bearbeiter": "scholle-b",
"bemerkung": "",
Expand Down
Expand Up @@ -5,7 +5,7 @@ Content-Type: application/json; charset=utf-8
"features": [
{
"geometry": null,
"id": "as_areas.18",
"id": "as-areas-short-name.18",
"properties": {
"bearbeiter": "scholle-b",
"bemerkung": "",
Expand Down
@@ -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"
}
Expand Up @@ -18,7 +18,7 @@ Content-Type: application/json; charset=utf-8
},
{
"geometry": null,
"id": "as_areas.18",
"id": "as-areas-short-name.18",
"properties": {
"bearbeiter": "scholle-b",
"bemerkung": "",
Expand Down Expand Up @@ -47,7 +47,7 @@ Content-Type: application/json; charset=utf-8
},
{
"geometry": null,
"id": "as_areas_query_copy.18",
"id": "as-areas-short-name-query-copy.18",
"properties": {
"bearbeiter": "scholle-b",
"bemerkung": "",
Expand Down
Expand Up @@ -5,7 +5,7 @@ Content-Type: application/json; charset=utf-8
"features": [
{
"geometry": null,
"id": "as_areas_query_copy.18",
"id": "as-areas-short-name-query-copy.18",
"properties": {
"bearbeiter": "scholle-b",
"bemerkung": "",
Expand Down

0 comments on commit d859bb9

Please sign in to comment.