Mercurial > gemma
changeset 4880:ed0de319d09a
Fix parameter format for WFS 2.0
See table 7 in the WFS 2.0 Interface Standard
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 29 Jan 2020 14:06:36 +0100 |
parents | 783d0bec86d3 |
children | 9f1c33ba3f0a |
files | pkg/wfs/download.go |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/wfs/download.go Wed Jan 29 14:03:57 2020 +0100 +++ b/pkg/wfs/download.go Wed Jan 29 14:06:36 2020 +0100 @@ -181,7 +181,8 @@ // Only use first namespace ns := feature.Namespaces[0] if wfs2 { - v.Set("NAMESPACES", fmt.Sprintf("(%s,%s)", ns.Space, ns.Local)) + v.Set( + "NAMESPACES", fmt.Sprintf("xmlns(%s,%s)", ns.Space, ns.Local)) } else { v.Set("NAMESPACE", fmt.Sprintf("(%s:%s)", ns.Space, ns.Local)) }