c2cgeoportal-geoportal 2.8.1.137__py2.py3-none-any.whl → 2.8.1.139__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- c2cgeoportal_geoportal/views/pdfreport.py +4 -4
- c2cgeoportal_geoportal/views/theme.py +1 -3
- {c2cgeoportal_geoportal-2.8.1.137.dist-info → c2cgeoportal_geoportal-2.8.1.139.dist-info}/METADATA +1 -1
- {c2cgeoportal_geoportal-2.8.1.137.dist-info → c2cgeoportal_geoportal-2.8.1.139.dist-info}/RECORD +7 -7
- {c2cgeoportal_geoportal-2.8.1.137.dist-info → c2cgeoportal_geoportal-2.8.1.139.dist-info}/WHEEL +0 -0
- {c2cgeoportal_geoportal-2.8.1.137.dist-info → c2cgeoportal_geoportal-2.8.1.139.dist-info}/entry_points.txt +0 -0
- {c2cgeoportal_geoportal-2.8.1.137.dist-info → c2cgeoportal_geoportal-2.8.1.139.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) 2011-
|
1
|
+
# Copyright (c) 2011-2024, Camptocamp SA
|
2
2
|
# All rights reserved.
|
3
3
|
|
4
4
|
# Redistribution and use in source and binary forms, with or without
|
@@ -106,14 +106,14 @@ class PdfReport(OGCProxy):
|
|
106
106
|
self.layername = self.request.matchdict["layername"]
|
107
107
|
layer_config = self.config["layers"].get(self.layername)
|
108
108
|
|
109
|
+
if layer_config is None:
|
110
|
+
raise HTTPBadRequest("Layer not found: " + self.layername)
|
111
|
+
|
109
112
|
multiple = layer_config.get("multiple", False)
|
110
113
|
ids = self.request.matchdict["ids"]
|
111
114
|
if multiple:
|
112
115
|
ids = ids.split(",")
|
113
116
|
|
114
|
-
if layer_config is None:
|
115
|
-
raise HTTPBadRequest("Layer not found")
|
116
|
-
|
117
117
|
features_ids = (
|
118
118
|
[self.layername + "." + id_ for id_ in ids] if multiple else [self.layername + "." + ids]
|
119
119
|
)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) 2011-
|
1
|
+
# Copyright (c) 2011-2024, Camptocamp SA
|
2
2
|
# All rights reserved.
|
3
3
|
|
4
4
|
# Redistribution and use in source and binary forms, with or without
|
@@ -383,8 +383,6 @@ class Theme:
|
|
383
383
|
layer_info = {"id": layer.id, "name": layer.name, "metadata": self._get_metadata_list(layer, errors)}
|
384
384
|
if re.search("[/?#]", layer.name):
|
385
385
|
errors.add(f"The layer has an unsupported name '{layer.name}'.")
|
386
|
-
if isinstance(layer, main.LayerWMS) and re.search("[/?#]", layer.layer):
|
387
|
-
errors.add(f"The layer has an unsupported layers '{layer.layer}'.")
|
388
386
|
if layer.geo_table:
|
389
387
|
errors |= self._fill_editable(layer_info, layer)
|
390
388
|
if mixed:
|
{c2cgeoportal_geoportal-2.8.1.137.dist-info → c2cgeoportal_geoportal-2.8.1.139.dist-info}/RECORD
RENAMED
@@ -161,14 +161,14 @@ c2cgeoportal_geoportal/views/login.py,sha256=H4BCgOrhlbx34g5J1Sx8SdpoEoRCyL6PFRv
|
|
161
161
|
c2cgeoportal_geoportal/views/mapserverproxy.py,sha256=LZRr86YerMJElSkQvfBX2aBMCoAdVyOPoFu3WzfaaeE,8167
|
162
162
|
c2cgeoportal_geoportal/views/memory.py,sha256=nb2repOnil0PdziEjCLOZ-84LFKLkdAlKTnnMQoXDdA,3627
|
163
163
|
c2cgeoportal_geoportal/views/ogcproxy.py,sha256=xnbrLpB8ZZSU-P1_aM_9LZeFr7GJzbePB05Ls6tluTU,5231
|
164
|
-
c2cgeoportal_geoportal/views/pdfreport.py,sha256=
|
164
|
+
c2cgeoportal_geoportal/views/pdfreport.py,sha256=jRXOZxNwB2uMsFFNaUOb3Axc1W_ZW00mQ9EYRoENppE,9595
|
165
165
|
c2cgeoportal_geoportal/views/printproxy.py,sha256=0BzC6yFSg7vC_V21QKg1fArA9c0-JFl6-Kig9p-iZ9g,5909
|
166
166
|
c2cgeoportal_geoportal/views/profile.py,sha256=WOjnkLcL3nakQG0t2Zj6M0FWyG3T874nn7MXaa1Dl18,5394
|
167
167
|
c2cgeoportal_geoportal/views/proxy.py,sha256=r61TJd-GuSsGkzS98snO8owU3cDxbYnksL9-ux9bK7I,10421
|
168
168
|
c2cgeoportal_geoportal/views/raster.py,sha256=zdwXumFZZNx1Gxlqy_s_6Cm8l50vN6CUMkXYHsbWIdI,7567
|
169
169
|
c2cgeoportal_geoportal/views/resourceproxy.py,sha256=Wxzb0HkWQtL5JZmbNFfTP9-m83vKImsURGIotC3qbXc,3181
|
170
170
|
c2cgeoportal_geoportal/views/shortener.py,sha256=EP2geo-9hfce0ZQ6kzwpwnOb3ruGY2KwxBDtepJKYQI,6205
|
171
|
-
c2cgeoportal_geoportal/views/theme.py,sha256=
|
171
|
+
c2cgeoportal_geoportal/views/theme.py,sha256=BHsvtuWqTqlpy1eyvOH5h9oGLYgdo4cuf1qdJTAiBTQ,52696
|
172
172
|
c2cgeoportal_geoportal/views/tinyowsproxy.py,sha256=cfWyZc4mn003TF7XY03NC2S8svZoUWHScrIaS9i99Cc,7831
|
173
173
|
c2cgeoportal_geoportal/views/vector_tiles.py,sha256=jerhFjx3_qImXz0a3eQI4FLSSe0CGmkjSt6pAXzzxUg,3460
|
174
174
|
tests/__init__.py,sha256=KxmbgvRWDSJoEDH1cXnDIjbfBsgCzs2KdkTPuzYMq84,3826
|
@@ -184,8 +184,8 @@ tests/test_mapserverproxy_route_predicate.py,sha256=SzILSSzIuilzIkUYVPZiVzLwW1du
|
|
184
184
|
tests/test_raster.py,sha256=82NJ2MXgZlMqs0ytN-VgNw376iURdk4PkAg__dyh5ns,11948
|
185
185
|
tests/test_wmstparsing.py,sha256=xjA8nJuXFl3H5Bfs4sJw_8qX8E8qvAALK7Hs2-DTP2A,9054
|
186
186
|
tests/xmlstr.py,sha256=rkTKSU4FGjupBKLx75H8o-goB0KbQrxDvdpc6xVX_uQ,5985
|
187
|
-
c2cgeoportal_geoportal-2.8.1.
|
188
|
-
c2cgeoportal_geoportal-2.8.1.
|
189
|
-
c2cgeoportal_geoportal-2.8.1.
|
190
|
-
c2cgeoportal_geoportal-2.8.1.
|
191
|
-
c2cgeoportal_geoportal-2.8.1.
|
187
|
+
c2cgeoportal_geoportal-2.8.1.139.dist-info/METADATA,sha256=Zqp_yPZ_BgDhImyZC0B3T61eKhQPU9cNtMKu3zT_SGs,2172
|
188
|
+
c2cgeoportal_geoportal-2.8.1.139.dist-info/WHEEL,sha256=a-zpFRIJzOq5QfuhBzbhiA1eHTzNCJn8OdRvhdNX0Rk,110
|
189
|
+
c2cgeoportal_geoportal-2.8.1.139.dist-info/entry_points.txt,sha256=w0xGr1Bo8q5GBFiP4JgqbSIg-bNhG7bsGoEaGSTfzaE,1415
|
190
|
+
c2cgeoportal_geoportal-2.8.1.139.dist-info/top_level.txt,sha256=PJIbY7Nx51dDrJ052f5mDA7c6Tehm5aD-Gb32L_CtJA,29
|
191
|
+
c2cgeoportal_geoportal-2.8.1.139.dist-info/RECORD,,
|
{c2cgeoportal_geoportal-2.8.1.137.dist-info → c2cgeoportal_geoportal-2.8.1.139.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|