Skip to content

Commit 7454599

Browse files
authored
srs should be fully specified in configuration (#4460)
1 parent 6f69326 commit 7454599

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

c2cgeoportal/scaffolds/update/CONST_config-schema.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ mapping:
344344
type: bool
345345
required: True
346346
srs:
347-
type: int
347+
type: str
348348
required: True
349349
spec:
350350
type: any

c2cgeoportal/views/pdfreport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def get_report(self):
147147
"request": "GetFeature",
148148
"typeName": self.layername,
149149
"featureid": ",".join(features_ids),
150-
"srsName": "epsg:{}".format(srs)
150+
"srsName": srs
151151
}
152152
)
153153

0 commit comments

Comments
 (0)