Skip to content

Commit

Permalink
srs should be fully specified in configuration (#4460)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwkaltz committed Jan 3, 2019
1 parent 6f69326 commit 7454599
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion c2cgeoportal/scaffolds/update/CONST_config-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ mapping:
type: bool
required: True
srs:
type: int
type: str
required: True
spec:
type: any
Expand Down
2 changes: 1 addition & 1 deletion c2cgeoportal/views/pdfreport.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def get_report(self):
"request": "GetFeature",
"typeName": self.layername,
"featureid": ",".join(features_ids),
"srsName": "epsg:{}".format(srs)
"srsName": srs
}
)

Expand Down

0 comments on commit 7454599

Please sign in to comment.