Mercurial > gemma
diff pkg/imports/dma.go @ 2106:2b72f5e005aa
WFS imports: Write get GetFeature URLs into import log.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 04 Feb 2019 15:49:17 +0100 |
parents | 427f86518097 |
children | 86c88fc0ff5e |
line wrap: on
line diff
--- a/pkg/imports/dma.go Mon Feb 04 15:39:58 2019 +0100 +++ b/pkg/imports/dma.go Mon Feb 04 15:49:17 2019 +0100 @@ -176,7 +176,8 @@ features int ) - if err := wfs.DownloadURLs(urls, func(r io.Reader) error { + if err := wfs.DownloadURLs(urls, func(url string, r io.Reader) error { + feedback.Info("Get features from: '%s'", url) rfc, err := wfs.ParseRawFeatureCollection(r) if err != nil { return fmt.Errorf("parsing GetFeature document failed: %v", err)