From fd5c8e7fbfa92e70cc260cc6849ec8a790bc43a4 Mon Sep 17 00:00:00 2001 From: Thibault Coupin Date: Thu, 26 Jul 2018 11:10:39 +0200 Subject: [PATCH] [WMSServer] Add unit test for group short name for getcapabilities and getmap operations --- tests/src/python/test_qgsserver_wms_getmap.py | 18 + .../testdata/qgis_server/getcapabilities.txt | 101 + tests/testdata/qgis_server/getcontext.txt | 48 +- .../qgis_server/getprojectsettings.txt | 145 +- tests/testdata/qgis_server/test_project.qgs | 1380 +++- .../qgis_server/wms_getcapabilities_1_1_1.txt | 76 + .../qgis_server/wms_getcapabilities_1_3_0.txt | 101 + .../project_groups.qgs | 7188 +++++++++-------- .../testdata/qgis_server_project/project.qgs | 1069 ++- 9 files changed, 5852 insertions(+), 4274 deletions(-) diff --git a/tests/src/python/test_qgsserver_wms_getmap.py b/tests/src/python/test_qgsserver_wms_getmap.py index 8b809196a146..a651a76fae8b 100644 --- a/tests/src/python/test_qgsserver_wms_getmap.py +++ b/tests/src/python/test_qgsserver_wms_getmap.py @@ -1037,6 +1037,24 @@ def test_wms_getmap_group(self): self.assertEqual(r_individual, r_group, 'Individual layers query and group layers query results should be identical') + qs = "?" + "&".join(["%s=%s" % i for i in list({ + "MAP": urllib.parse.quote(self.projectGroupsPath), + "SERVICE": "WMS", + "VERSION": "1.1.1", + "REQUEST": "GetMap", + "LAYERS": "group_short_name", + "STYLES": "", + "FORMAT": "image/png", + "BBOX": "-16817707,-4710778,5696513,14587125", + "HEIGHT": "500", + "WIDTH": "500", + "CRS": "EPSG:3857" + }.items())]) + + r_group, _ = self._result(self._execute_request(qs)) + + self.assertEqual(r_individual, r_group, 'Individual layers query and group layers query with short name results should be identical') + qs = "?" + "&".join(["%s=%s" % i for i in list({ "MAP": urllib.parse.quote(self.projectGroupsPath), "SERVICE": "WMS", diff --git a/tests/testdata/qgis_server/getcapabilities.txt b/tests/testdata/qgis_server/getcapabilities.txt index 9f3bc708107c..bae809b7fc5c 100644 --- a/tests/testdata/qgis_server/getcapabilities.txt +++ b/tests/testdata/qgis_server/getcapabilities.txt @@ -116,6 +116,30 @@ Content-Type: text/xml; charset=utf-8 infoMapAccessService + + layer_with_short_name + A Layer with a short name + A Layer with an abstract + CRS:84 + EPSG:4326 + EPSG:3857 + + 8.20346 + 8.20355 + 44.9014 + 44.9015 + + + + + testlayer èé A test vector layer @@ -140,6 +164,83 @@ Content-Type: text/xml; charset=utf-8 + + group_name + Group title + Group abstract + CRS:84 + EPSG:4326 + EPSG:3857 + + 8.20346 + 8.20355 + 44.9014 + 44.9015 + + + + + testlayer + testlayer + CRS:84 + EPSG:4326 + EPSG:3857 + + 8.20346 + 8.20355 + 44.9014 + 44.9015 + + + + + + + + groupwithoutshortname + groupwithoutshortname + CRS:84 + EPSG:4326 + EPSG:3857 + + 8.20346 + 8.20355 + 44.9014 + 44.9015 + + + + + testlayer + testlayer + CRS:84 + EPSG:4326 + EPSG:3857 + + 8.20346 + 8.20355 + 44.9014 + 44.9015 + + + + + + diff --git a/tests/testdata/qgis_server/getcontext.txt b/tests/testdata/qgis_server/getcontext.txt index c2db432ccc12..f5cbba5ab245 100644 --- a/tests/testdata/qgis_server/getcontext.txt +++ b/tests/testdata/qgis_server/getcontext.txt @@ -2,9 +2,9 @@ Content-Type: text/xml; charset=utf-8 - + - + QGIS TestProject @@ -13,10 +13,36 @@ Content-Type: text/xml; charset=utf-8 + + + - + \ No newline at end of file diff --git a/tests/testdata/qgis_server/getprojectsettings.txt b/tests/testdata/qgis_server/getprojectsettings.txt index 4b10dfaaa5a7..c774dd090c75 100644 --- a/tests/testdata/qgis_server/getprojectsettings.txt +++ b/tests/testdata/qgis_server/getprojectsettings.txt @@ -2,7 +2,7 @@ Content-Length: 6939 Content-Type: text/xml; charset=utf-8 - + WMS QGIS TestProject @@ -10,7 +10,7 @@ Content-Type: text/xml; charset=utf-8 infoMapAccessService - + Alessandro Pasotti @@ -28,7 +28,7 @@ Content-Type: text/xml; charset=utf-8 - + @@ -43,7 +43,7 @@ Content-Type: text/xml; charset=utf-8 - + @@ -57,7 +57,7 @@ Content-Type: text/xml; charset=utf-8 - + @@ -68,7 +68,7 @@ Content-Type: text/xml; charset=utf-8 - + @@ -78,7 +78,7 @@ Content-Type: text/xml; charset=utf-8 - + @@ -88,7 +88,7 @@ Content-Type: text/xml; charset=utf-8 - + @@ -100,7 +100,7 @@ Content-Type: text/xml; charset=utf-8 - + @@ -138,6 +138,36 @@ Content-Type: text/xml; charset=utf-8 infoMapAccessService QGIS Test Project + + layer_with_short_name + A Layer with a short name + A Layer with an abstract + CRS:84 + EPSG:4326 + EPSG:3857 + + 8.20346 + 8.20355 + 44.9014 + 44.9015 + + + + + testlayer + + + + + + testlayer èé A test vector layer @@ -158,7 +188,7 @@ Content-Type: text/xml; charset=utf-8 default image/png - + testlayer èé @@ -168,7 +198,98 @@ Content-Type: text/xml; charset=utf-8 + + group_name + Group title + Group abstract + CRS:84 + EPSG:4326 + EPSG:3857 + + 8.20346 + 8.20355 + 44.9014 + 44.9015 + + + + groupwithshortname + + testlayer + testlayer + CRS:84 + EPSG:4326 + EPSG:3857 + + 8.20346 + 8.20355 + 44.9014 + 44.9015 + + + + + testlayer + + + + + + + + + groupwithoutshortname + groupwithoutshortname + CRS:84 + EPSG:4326 + EPSG:3857 + + 8.20346 + 8.20355 + 44.9014 + 44.9015 + + + + groupwithoutshortname + + testlayer + testlayer + CRS:84 + EPSG:4326 + EPSG:3857 + + 8.20346 + 8.20355 + 44.9014 + 44.9015 + + + + + testlayer + + + + + + + - testlayer èé + testlayer,testlayer,testlayer èé,layer_with_short_name - + \ No newline at end of file diff --git a/tests/testdata/qgis_server/test_project.qgs b/tests/testdata/qgis_server/test_project.qgs index bee9e30ede8f..a37f515d0012 100644 --- a/tests/testdata/qgis_server/test_project.qgs +++ b/tests/testdata/qgis_server/test_project.qgs @@ -1,5 +1,6 @@ - + + QGIS Test Project @@ -18,20 +19,45 @@ - + + + + + + + + + + + + + + + + + + + + testlayer20150528120452665 + testlayer_c0988fd7_97ca_451d_adbc_37ad6d10583a + testlayer_0b835118_a5d5_4255_b5dd_f42253c0a4a0 + testlayer_2b89ed65_ef2f_4897_af15_9b32d4c4e040 - + - + + + + - + degrees 8.20202108826836884 @@ -53,20 +79,37 @@ 0 - - - - + + + + + + + + + + + + + + + - + 8.20345930703634352 44.90139483904469131 @@ -100,6 +143,7 @@ + @@ -115,52 +159,52 @@ - ogr + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - + + + + @@ -168,12 +212,12 @@ - + - - - - + + + + @@ -181,24 +225,24 @@ 0 0 1 - - + + - + - + - @@ -207,8 +251,8 @@ @@ -217,8 +261,8 @@ @@ -227,37 +271,39 @@ - - - + + + - - - + + + - - - + + + - - - + + + - - + + + + . @@ -267,6 +313,8 @@ 0 generatedlayout + + @@ -276,205 +324,985 @@ "name" [% 'Name: ' || "name" %] - - - - - - - - - - - true - 30 - 50 - false - false - true - 0 - 16 - false - - - - - 255 - true - - - - - false - - - 90 - true - - - - - 2 - off - 0 - - - - current_layer - - true - Some UTF8 text èòù - - - testlayer20150528120452665 - - - - testlayer20150528120452665 - - - testlayer20150528120452665 - - - testlayer20150528120452665 - - - - WGS84 - - - false - - - - false - - - - - - 8.20315414376310059 - 44.901236559338642 - 8.204164917965862 - 44.90159838674664172 - - QGIS dev team - - Alessandro Pasotti - None - 4 - - - true - 2 - D - - conditions unknown - - - 8 - - - m2 - meters - - - - - - - 255 - 255 - 255 - 255 - 0 - 255 - 255 - - QGIS TestProject - - - - - 3452 - 1 - +proj=longlat +datum=WGS84 +no_defs - EPSG:4326 - - elpaso@itopen.it - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + 8.20345930703634352 + 44.90139483904469131 + 8.20354699399348775 + 44.90148252600183554 + + testlayer_0b835118_a5d5_4255_b5dd_f42253c0a4a0 + ./testlayer.shp + + + + testlayer + + + +proj=longlat +datum=WGS84 +no_defs + 3452 + 4326 + EPSG:4326 + WGS 84 + longlat + WGS84 + true + + + + + + + + + + + + + + + + 0 + 0 + + + + + true + + + + + ogr + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + 0 + + + 0 + generatedlayout + + + + + + + + + + + + + + 8.20345930703634352 + 44.90139483904469131 + 8.20354699399348775 + 44.90148252600183554 + + testlayer_2b89ed65_ef2f_4897_af15_9b32d4c4e040 + ./testlayer.shp + + + + testlayer + + + +proj=longlat +datum=WGS84 +no_defs + 3452 + 4326 + EPSG:4326 + WGS 84 + longlat + WGS84 + true + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + + + + + + + + + + ogr + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + 0 + + + 0 + generatedlayout + + + + + + + + + + + + + + + + + id + + + + + 8.20345930703634352 + 44.90139483904469131 + 8.20354699399348775 + 44.90148252600183554 + + testlayer_c0988fd7_97ca_451d_adbc_37ad6d10583a + ./testlayer.shp + layer_with_short_name + A Layer with a short name + A Layer with an abstract + + + + testlayer + + + +proj=longlat +datum=WGS84 +no_defs + 3452 + 4326 + EPSG:4326 + WGS 84 + longlat + WGS84 + true + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + + + + + + + + + + ogr + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + 0 + + + 0 + generatedlayout + + + + + + + + + + + + + + + + + id + + + + + + + + + + + + + + 0 + + + + off + current_layer + + 2 + + + EPSG:4326 + 1 + +proj=longlat +datum=WGS84 +no_defs + 3452 + + + + meters + m2 + + + 255 + + true + + + + + + + + + + + + + testlayer20150528120452665 + + + true + 50 + false + 0 + 30 + false + false + true + 16 + + + false + + + + + + D + 2 + true + + + 8 + + true + 90 + + 8.20315414376310059 + 44.901236559338642 + 8.204164917965862 + 44.90159838674664172 + + 4 + + + + + + + + true + + + testlayer20150528120452665 + + + testlayer20150528120452665 + + + testlayer20150528120452665 + + + elpaso@itopen.it + + 255 + 255 + 255 + 255 + 255 + 0 + 255 + + Some UTF8 text èòù + QGIS TestProject + + false + + WGS84 + + + false + + + None + Alessandro Pasotti + QGIS dev team + + conditions unknown + + + + + + + + + + QGIS Test Project + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/testdata/qgis_server/wms_getcapabilities_1_1_1.txt b/tests/testdata/qgis_server/wms_getcapabilities_1_1_1.txt index 9d80617d0d08..f035294010a6 100644 --- a/tests/testdata/qgis_server/wms_getcapabilities_1_1_1.txt +++ b/tests/testdata/qgis_server/wms_getcapabilities_1_1_1.txt @@ -111,6 +111,25 @@ Content-Type: text/xml; charset=utf-8 infoMapAccessService + + layer_with_short_name + A Layer with a short name + A Layer with an abstract + CRS:84 + EPSG:4326 + EPSG:3857 + + + + + testlayer èé A test vector layer @@ -130,6 +149,63 @@ Content-Type: text/xml; charset=utf-8 + + group_name + Group title + Group abstract + CRS:84 + EPSG:4326 + EPSG:3857 + + + + + testlayer + testlayer + CRS:84 + EPSG:4326 + EPSG:3857 + + + + + + + + groupwithoutshortname + groupwithoutshortname + CRS:84 + EPSG:4326 + EPSG:3857 + + + + + testlayer + testlayer + CRS:84 + EPSG:4326 + EPSG:3857 + + + + + + diff --git a/tests/testdata/qgis_server/wms_getcapabilities_1_3_0.txt b/tests/testdata/qgis_server/wms_getcapabilities_1_3_0.txt index 9f3bc708107c..bae809b7fc5c 100644 --- a/tests/testdata/qgis_server/wms_getcapabilities_1_3_0.txt +++ b/tests/testdata/qgis_server/wms_getcapabilities_1_3_0.txt @@ -116,6 +116,30 @@ Content-Type: text/xml; charset=utf-8 infoMapAccessService + + layer_with_short_name + A Layer with a short name + A Layer with an abstract + CRS:84 + EPSG:4326 + EPSG:3857 + + 8.20346 + 8.20355 + 44.9014 + 44.9015 + + + + + testlayer èé A test vector layer @@ -140,6 +164,83 @@ Content-Type: text/xml; charset=utf-8 + + group_name + Group title + Group abstract + CRS:84 + EPSG:4326 + EPSG:3857 + + 8.20346 + 8.20355 + 44.9014 + 44.9015 + + + + + testlayer + testlayer + CRS:84 + EPSG:4326 + EPSG:3857 + + 8.20346 + 8.20355 + 44.9014 + 44.9015 + + + + + + + + groupwithoutshortname + groupwithoutshortname + CRS:84 + EPSG:4326 + EPSG:3857 + + 8.20346 + 8.20355 + 44.9014 + 44.9015 + + + + + testlayer + testlayer + CRS:84 + EPSG:4326 + EPSG:3857 + + 8.20346 + 8.20355 + 44.9014 + 44.9015 + + + + + + diff --git a/tests/testdata/qgis_server_accesscontrol/project_groups.qgs b/tests/testdata/qgis_server_accesscontrol/project_groups.qgs index fe35e18923b4..3f4ceba5378a 100644 --- a/tests/testdata/qgis_server_accesscontrol/project_groups.qgs +++ b/tests/testdata/qgis_server_accesscontrol/project_groups.qgs @@ -1,523 +1,777 @@ - + + QGIS Server Hello World - + + + + +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs + 100035 + 0 + USER:100035 + * SCR généré (+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs) + merc + + false + + + - + - + - + - + - + - + - - - - - - - - - + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + points20150803121107046 + hello20131022151106574 + Hello_copy20150804164427541 + Hello_SubsetString_copy20160222085231770 + Hello_Project_SubsetString_copy20160223113949592 + dem20150730091219559 + country20131022151106556 + Country_copy20161127151800736 + country20170328164317226 + Country_07a7a712_8bf3_4cb0_abde_58338f73a4b2 + Country_Labels_67649087_4e95_4483_9c32_a9e14b8360db + Country_Diagrams_208edc6e_7828_426b_a7d8_c2383f10761d + - + - - - - - - - - + + + + + + + + + + + - + meters - -30425236.72921397164463997 - -10846058.0813884325325489 - 29667752.81264735385775566 - 14979028.33329574391245842 + -31805751.35382429882884026 + -2319350.10585405677556992 + 28287238.18803702667355537 + 23505736.30883011966943741 0 +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs - 3857 - 3857 - EPSG:3857 - WGS 84 / Pseudo Mercator + 100035 + 0 + USER:100035 + * SCR généré (+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs) merc - WGS84 + false 0 - - - - - - - - - - - - - - - - - - - - + - + - + - - - - - + - + - + + + + + + + + + + + + + + + + + + + + + + + - + -19619892.68012013286352158 -10327100.34232237376272678 19972134.91854240000247955 18415866.31293442100286484 - Country_copy20161127151800736 + Country_07a7a712_8bf3_4cb0_abde_58338f73a4b2 dbname='./helloworld.db' table="country" (geom) sql= - Country_Labels + Country copier - +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs + +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs 3857 3857 EPSG:3857 - WGS 84 / Pseudo Mercator + WGS 84 / Pseudo-Mercator merc WGS84 false + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + spatialite + - - - - + + + + - - + + - - + + - + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 0 + name + + + + + + + + + + + 0 + tablayout + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + - - + + - + + + + + + + + + - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 0 0 - - - - + name + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - . - - - - - - - - - - - - - - . + - 0 - - 0 - generatedlayout + tablayout + + - + - - - - - - - name - - 2 + - + + - + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + @@ -526,229 +780,42 @@ def my_form_open(dialog, layer, feature): - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + 0 0 - 0 - - - - + 1 + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -768,143 +835,130 @@ def my_form_open(dialog, layer, feature): - ../../../../../.. - - + + - - + + - - + + - + - - - + + ../../../../../.. 0 - + 0 generatedlayout - + + + - name + "name" - + - -14746250.07513097859919071 - -112075.42807669920148328 - 11342200.07719692215323448 - 10914413.7141284141689539 + -19619892.68012013286352158 + -10327100.34232237376272678 + 19972134.91854240000247955 + 18415866.31293442100286484 - Hello_Project_SubsetString_copy20160223113949592 - dbname='./helloworld.db' table="hello" (geom) sql= + Country_Diagrams_208edc6e_7828_426b_a7d8_c2383f10761d + dbname='./helloworld.db' table="country" (geom) sql= - Hello_Filter_SubsetString + Country_Diagrams copier - +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs + +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs 3857 3857 EPSG:3857 - WGS 84 / Pseudo Mercator + WGS 84 / Pseudo-Mercator merc WGS84 false + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + spatialite + - - + + - + + - - - - - - - - - - - - - - - - - + - - - - - - - - - - - + + + + + + + + + + + @@ -913,264 +967,75 @@ def my_form_open(dialog, layer, feature): - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + 0 0 - 0 - - - - + 1 + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - + - - + + - ../../../../../.. - - - + + - - - + + - - - + + - - + - + - + - - ../../../../../.. + . 0 @@ -1185,7 +1050,7 @@ Enter the name of the function in the "Python Init function" field. An example follows: """ -from PyQt4.QtGui import QWidget +from qgis.PyQt.QtWidgets import QWidget def my_form_open(dialog, layer, feature): geom = feature.geometry() @@ -1193,98 +1058,425 @@ def my_form_open(dialog, layer, feature): ]]> 0 generatedlayout - - - - - - - - - - + + - "pkuid" + name - + - -14746250.07513097859919071 - -112075.42807669920148328 - 11342200.07719692215323448 - 10914413.7141284141689539 + -19619892.68012013286352158 + -10327100.34232237376272678 + 19972134.91854240000247955 + 18415866.31293442100286484 - Hello_SubsetString_copy20160222085231770 - dbname='./helloworld.db' table="hello" (geom) sql="pkuid" in ( 7, 8 ) + Country_Labels_67649087_4e95_4483_9c32_a9e14b8360db + dbname='./helloworld.db' table="country" (geom) sql= - Hello_Project_SubsetString + Country_Labels copier - +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs + +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs 3857 3857 EPSG:3857 - WGS 84 / Pseudo Mercator + WGS 84 / Pseudo-Mercator merc WGS84 false + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + spatialite + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + . + + 0 + + + 0 + generatedlayout + + + + + + + + + + name + + 2 + + + - + + - + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + @@ -1293,203 +1485,46 @@ def my_form_open(dialog, layer, feature): - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + 0 0 - 0 - - - - + 1 + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -1501,14 +1536,7 @@ def my_form_open(dialog, layer, feature): - - - - - - - + - ../../../../../.. - - - + + - - - + + - - - + + - - + - + - - + + + ../../../../../.. @@ -1560,7 +1587,7 @@ Enter the name of the function in the "Python Init function" field. An example follows: """ -from PyQt4.QtGui import QWidget +from qgis.PyQt.QtWidgets import QWidget def my_form_open(dialog, layer, feature): geom = feature.geometry() @@ -1569,302 +1596,475 @@ def my_form_open(dialog, layer, feature): 0 generatedlayout - - - - - - - - + + + - "pkuid" + name - + - -14746250.07513097859919071 - -112075.42807669920148328 - 11342200.07719692215323448 - 10914413.7141284141689539 + -19619892.68012013286352158 + -10327100.34232237376272678 + 19972134.91854240000247955 + 18415866.31293442100286484 - Hello_copy20150804164427541 - dbname='./helloworld.db' table="hello" (geom) sql= + Country_copy20161127151800736 + dbname='./helloworld.db' table="country" (geom) sql= - Hello_SubsetString + Country_Labels - +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs + +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs 3857 3857 EPSG:3857 - WGS 84 / Pseudo Mercator + WGS 84 / Pseudo-Mercator merc WGS84 false + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + spatialite + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + . + + 0 + + + 0 + generatedlayout + + + + + + + + + + name + + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 0 - 0 - - - - + 1 + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -1876,14 +2076,7 @@ def my_form_open(dialog, layer, feature): - - - - - - - + - ../../../../../.. - - - + + - - - + + - - - + + - - + - + - - + + + ../../../../../.. @@ -1935,7 +2127,7 @@ Enter the name of the function in the "Python Init function" field. An example follows: """ -from PyQt4.QtGui import QWidget +from qgis.PyQt.QtWidgets import QWidget def my_form_open(dialog, layer, feature): geom = feature.geometry() @@ -1944,582 +2136,118 @@ def my_form_open(dialog, layer, feature): 0 generatedlayout - - - - - - - - + + + - "pkuid" + name - + - -19619892.68012013286352158 - -10327100.34232237376272678 - 19972134.91854240000247955 - 18415866.31293442100286484 + -14746250.07513097859919071 + -112075.42807669920148328 + 11342200.07719692215323448 + 10914413.7141284141689539 - country20131022151106556 - dbname='./helloworld.db' table="country" (geom) sql= + Hello_Project_SubsetString_copy20160223113949592 + dbname='./helloworld.db' table="hello" (geom) sql= - Country + Hello_Filter_SubsetString - +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs + +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs 3857 3857 EPSG:3857 - WGS 84 / Pseudo Mercator + WGS 84 / Pseudo-Mercator merc WGS84 false + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + spatialite + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - 0 - 0 - name - - - - - - - - - - - 0 - tablayout - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - 0 - 0 - name - - - - - - - - - - - 0 - tablayout - - - - - - - - + + - + + - + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + @@ -2528,198 +2256,25 @@ def my_form_open(dialog, layer, feature): - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + 0 0 - 0 - - - - + 1 + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -2731,7 +2286,14 @@ def my_form_open(dialog, layer, feature): - + + + + + + + - ../../../../../.. - - + + + - - + + + - - + + + - + + - + - - + + + ../../../../../.. 0 - + 0 generatedlayout - + + + + + + + + + + - "name" + "pkuid" - + - -19619892.68012013286352158 - -10327100.34232237376272678 - 19972134.91854240000247955 - 18415866.31293442100286484 + -2465695.66895584994927049 + 80258.53580146089370828 + 5037064.00943838991224766 + 3762589.19456820981577039 - country20170328164317226 - dbname='./helloworld.db' table="country" (geom) sql= + Hello_SubsetString_copy20160222085231770 + dbname='./helloworld.db' table="hello" (geom) sql="pkuid" in ( 7, 8 ) - Country_Diagrams + Hello_Project_SubsetString - +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs + +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs 3857 3857 EPSG:3857 - WGS 84 / Pseudo Mercator + WGS 84 / Pseudo-Mercator merc WGS84 false + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + spatialite + - - + + - + + - + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + @@ -2844,245 +2485,80 @@ def my_form_open(dialog, layer, feature): - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + 0 0 - 0 - - - - - + 1 + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - + + + + + + + + - - - + + + - - + + + - - + + + - + + - + - - - + + - + ../../../../../.. 0 @@ -3097,7 +2573,7 @@ Enter the name of the function in the "Python Init function" field. An example follows: """ -from qgis.PyQt.QtWidgets import QWidget +from PyQt4.QtGui import QWidget def my_form_open(dialog, layer, feature): geom = feature.geometry() @@ -3105,146 +2581,126 @@ def my_form_open(dialog, layer, feature): ]]> 0 generatedlayout + + + + + + + + + + + + - name + "pkuid" - - - -29.99999999999666755 - 29.99999999999666755 - 0.00000000000333245 - 59.99999999999666755 - - dem20150730091219559 - ./dem.tif - - - - dem - - - +proj=longlat +datum=WGS84 +no_defs - 3452 - 4326 - EPSG:4326 - WGS 84 - longlat - WGS84 - true - - - - - - gdal - - - - - - - - - - - None - WholeRaster - Estimated - 0.02 - 0.98 - 2 - - - 6 - 1912 - StretchToMinimumMaximum - - - - - - - 0 - - + -14746250.07513097859919071 -112075.42807669920148328 11342200.07719692215323448 10914413.7141284141689539 - hello20131022151106574 + Hello_copy20150804164427541 dbname='./helloworld.db' table="hello" (geom) sql= - Hello + Hello_SubsetString - +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs + +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs 3857 3857 EPSG:3857 - WGS 84 / Pseudo Mercator + WGS 84 / Pseudo-Mercator merc WGS84 false + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + spatialite + - - + + - + + - + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + @@ -3253,198 +2709,25 @@ def my_form_open(dialog, layer, feature): - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + 0 0 - 0 - - - - + 1 + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -3471,23 +2754,22 @@ def my_form_open(dialog, layer, feature): - ../../../../../.. - - - + + + - - - + + + - - - + + + @@ -3495,97 +2777,639 @@ def my_form_open(dialog, layer, feature): - + - + ../../../../../.. 0 - + 0 generatedlayout - - - + + + - - + + + + - COALESCE( "pkuid", '<NULL>' ) + "pkuid" - + - 1000 - 2000 - 1000 - 2000 + -19619892.68012013286352158 + -10327100.34232237376272678 + 19972134.91854240000247955 + 18415866.31293442100286484 - points20150803121107046 - dbname='./helloworld.db' table="points" (geom) sql= + country20131022151106556 + dbname='./helloworld.db' table="country" (geom) sql= - db_point + Country - +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs + +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs 3857 3857 EPSG:3857 - WGS 84 / Pseudo Mercator + WGS 84 / Pseudo-Mercator merc WGS84 false + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + spatialite + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 0 + name + + + + + + + + + + + 0 + tablayout + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 0 + name + + + + + + + + + + + 0 + tablayout + + + + + + + + - + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3594,203 +3418,47 @@ def my_form_open(dialog, layer, feature): - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + 0 0 - 0 - - - - + 1 + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - - - - - - ../../../../../.. - - - + + - - - + + - - - + + - + - - + - + ../../../../../.. @@ -3848,6 +3504,11 @@ def my_form_open(dialog, layer, feature): 0 generatedlayout + + + + + @@ -3857,127 +3518,792 @@ def my_form_open(dialog, layer, feature): "name" - - - - false - - -20609693.37008669599890709 - -11055006.82298868149518967 - 20961935.60850896313786507 - 19143772.79360072687268257 - - - - false - - - 2000 - 1 - 0 - - - days - 1 - 0 - 1 - 0 - - - meters - m2 - - false - - WGS84 - - - - - true - - false - + + + -19619892.68012013286352158 + -10327100.34232237376272678 + 19972134.91854240000247955 + 18415866.31293442100286484 + + country20170328164317226 + dbname='./helloworld.db' table="country" (geom) sql= + + + + Country_Diagrams + + + +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs + 3857 + 3857 + EPSG:3857 + WGS 84 / Pseudo-Mercator + merc + WGS84 + false + + + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + + spatialite + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + 0 + + + 0 + generatedlayout + + + + + + + + + name + + + + + -29.99999999999666755 + 29.99999999999666755 + 0.00000000000333245 + 59.99999999999666755 + + dem20150730091219559 + ./dem.tif + + + + dem + + + +proj=longlat +datum=WGS84 +no_defs + 3452 + 4326 + EPSG:4326 + WGS 84 + longlat + WGS84 + true + + + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + + + + + gdal + + + + + + + + + + + None + WholeRaster + Estimated + 0.02 + 0.98 + 2 + + + 6 + 1912 + StretchToMinimumMaximum + + + + + + + 0 + + + + -14746250.07513097859919071 + -112075.42807669920148328 + 11342200.07719692215323448 + 10914413.7141284141689539 + + hello20131022151106574 + dbname='./helloworld.db' table="hello" (geom) sql= + + + + Hello + + + +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs + 3857 + 3857 + EPSG:3857 + WGS 84 / Pseudo-Mercator + merc + WGS84 + false + + + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + + spatialite + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ../../../../../.. + + 0 + + + 0 + generatedlayout + + + + + + + + + + + + + + + + + + + COALESCE( "pkuid", '<NULL>' ) + + + + + 1000 + 2000 + 1000 + 2000 + + points20150803121107046 + dbname='./helloworld.db' table="points" (geom) sql= + + + + db_point + + + +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs + 3857 + 3857 + EPSG:3857 + WGS 84 / Pseudo-Mercator + merc + WGS84 + false + + + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + + spatialite + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ../../../../../.. + + 0 + + + 0 + generatedlayout + + + + + + + + + "name" + + + + + + + + + + + + + + + + + + + conditions unknown + + false + + Hello_SubsetString_copy20160222085231770 + Hello_copy20150804164427541 + country20131022151106556 + hello20131022151106574 + points20150803121107046 + + 5000 - - points20150803121107046 - points20150803121107046 + + points20150803121107046 + points20150803121107046 - conditions unknown - Simple test app. + true + + EPSG:3857 + 1 + +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs + 3857 + + + QGIS Server test - 90 - false - - - - + + + 0 + 1 + 1 + 1 + 1 + + 5000 + + dem20150730091219559 + - true D 2 + true - - - - + + false + 50 + 16 + true + false + false + true + 30 + 0 + + + false + + 5 + + + + + + Stéphane Brunner EPSG:3857 EPSG:4326 - - dem20150730091219559 - - - 1 - 1 - 0 - 1 - 1 - - Stéphane Brunner - - - + Simple test app. + + 255 + + + + true + + None - - - - - true + + false + - 255 - 255 255 - 246 - 108 + 255 255 128 + 108 + 255 + 246 - - 5000 - QGIS - - Hello_SubsetString_copy20160222085231770 - Hello_copy20150804164427541 - country20131022151106556 - hello20131022151106574 - points20150803121107046 - - 1 + enabled enabled to vertex - advanced + + 40.000000 + 40.000000 + + + country20131022151106556 + hello20131022151106574 + + 1 1 1 @@ -3986,411 +4312,461 @@ def my_form_open(dialog, layer, feature): to_vertex to_vertex - - 40.000000 - 40.000000 - - 40 - - country20131022151106556 - hello20131022151106574 - + advanced - 5 - 5000 - - - 255 - - - true - - - - +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs - 1 - 3857 - EPSG:3857 - + + m2 + meters + + + + + + 1 + 0 + + 0 + days + 1 + 2000 + + 0 + 1 + + false + + + + + false + + + -20609693.37008669599890709 + -11055006.82298868149518967 + 20961935.60850896313786507 + 19143772.79360072687268257 + + + + + + 90 + QGIS + true + + WGS84 + + + + + + + + QGIS Server Hello World + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - points20150803121107046 - hello20131022151106574 - Hello_copy20150804164427541 - Hello_SubsetString_copy20160222085231770 - Hello_Project_SubsetString_copy20160223113949592 - dem20150730091219559 - country20131022151106556 - Country_copy20161127151800736 - country20170328164317226 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + points20150803121107046 + hello20131022151106574 + Hello_copy20150804164427541 + Hello_SubsetString_copy20160222085231770 + Hello_Project_SubsetString_copy20160223113949592 + dem20150730091219559 + country20131022151106556 + Country_copy20161127151800736 + country20170328164317226 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - points20150803121107046 - hello20131022151106574 - Hello_copy20150804164427541 - Hello_SubsetString_copy20160222085231770 - Hello_Project_SubsetString_copy20160223113949592 - dem20150730091219559 - country20131022151106556 - Country_copy20161127151800736 - country20170328164317226 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + points20150803121107046 + hello20131022151106574 + Hello_copy20150804164427541 + Hello_SubsetString_copy20160222085231770 + Hello_Project_SubsetString_copy20160223113949592 + dem20150730091219559 + country20131022151106556 + Country_copy20161127151800736 + country20170328164317226 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/testdata/qgis_server_project/project.qgs b/tests/testdata/qgis_server_project/project.qgs index d9106e13bdba..ce905ec7e6bd 100644 --- a/tests/testdata/qgis_server_project/project.qgs +++ b/tests/testdata/qgis_server_project/project.qgs @@ -1,49 +1,73 @@ - + + - + + + + +proj=longlat +datum=WGS84 +no_defs + 3452 + 4326 + EPSG:4326 + WGS 84 + longlat + WGS84 + true + + + - - + + + + + + - + - + - + - + + + lines20170309173738550 + points20170309173738552 + polys20170309173913723 + landsat20170313142548073 + - + - - - - + + + + - + degrees - 17.92123882869385909 - 30.1492204088525888 - 18.0486921925404431 - 30.25992437587047235 + -119.80118356386469713 + 23.95241214538275187 + -82.91169073314071625 + 47.28163022407258609 0 @@ -59,54 +83,36 @@ 0 - - - - - - - - - - - - - - lines20170309173738550 - points20170309173738552 - polys20170309173913723 - multipoint20170309173637804 - landsat20170313142548073 - - - - - + + - + 781662.375 3339523.125 @@ -131,6 +137,30 @@ false + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + @@ -146,11 +176,11 @@ - - + + - + MinMax @@ -176,13 +206,13 @@ NoEnhancement - - + + 0 - + -117.62319839219053108 23.20820580488508966 @@ -207,68 +237,94 @@ true + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + ogr + - - + + - + + - - + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -277,55 +333,25 @@ - 0 0 - 0 - - + 1 + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -345,20 +371,19 @@ - - - + + - - + + - - + + @@ -367,14 +392,14 @@ - + - - + . 0 @@ -397,6 +422,8 @@ def my_form_open(dialog, layer, feature): ]]> 0 generatedlayout + + @@ -406,7 +433,7 @@ def my_form_open(dialog, layer, feature): "Name" - + -118.88888888888877204 22.80020703933767834 @@ -432,98 +459,127 @@ def my_form_open(dialog, layer, feature): true + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + ogr + - - + + - + + - - - + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -532,195 +588,26 @@ def my_form_open(dialog, layer, feature): - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 0 - 0 - - + 1 + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -768,32 +655,31 @@ def my_form_open(dialog, layer, feature): - - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + @@ -806,18 +692,18 @@ def my_form_open(dialog, layer, feature): - + - - + . 0 @@ -840,6 +726,8 @@ def my_form_open(dialog, layer, feature): ]]> 0 generatedlayout + + @@ -849,7 +737,7 @@ def my_form_open(dialog, layer, feature): Class - + -118.92286230599032137 24.50786971868489061 @@ -874,60 +762,86 @@ def my_form_open(dialog, layer, feature): true + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + ogr + - - + + - + + - - + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -936,55 +850,25 @@ def my_form_open(dialog, layer, feature): - 0 0 - 0 - - + 1 + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -1004,20 +888,19 @@ def my_form_open(dialog, layer, feature): - - - + + - - + + - - + + @@ -1026,14 +909,14 @@ def my_form_open(dialog, layer, feature): - + - - + . 0 @@ -1056,6 +939,8 @@ def my_form_open(dialog, layer, feature): ]]> 0 generatedlayout + + @@ -1066,109 +951,141 @@ def my_form_open(dialog, layer, feature): + + + + + + + - - false - - - - - - - - - - - meters - m2 - - - false - - - - true - 255 - - - - false - 400 multipoint20170309173637804 points20170309173738552 polys20170309173913723 - conditions unknown - - my_wcs_advertised_url - false - 90 - - 3452 - +proj=longlat +datum=WGS84 +no_defs - EPSG:4326 - + + + + + my_wms_advertised_url + 8 + + + true - MU 2 + MU + + false + + + m2 + meters + + + group1 + groupEmbedded + points + + false + + None + + + + 255 + + true + + + + my_wfs_advertised_url - - - + false 255 - 255 - 0 - 255 255 + 255 255 + 0 + 255 255 - + my_wcs_advertised_url + 500 + false - 8 8 8 + 8 - - - false + + 3452 + +proj=longlat +datum=WGS84 +no_defs + EPSG:4326 + 1 + + + 16 + false + 50 + false + true + 0 + 30 + false + true + + 90 + - - + - - - - - 500 - false - 8 - my_wms_advertised_url - - landsat20170313142548073 - - - group1 - groupEmbedded - points - + + + + + false + + conditions unknown + + + + + + NONE - false - None + false + + landsat20170313142548073 + + 400 + + + + + + + + + + + + +