Mercurial > gemma
comparison pkg/imports/wp.go @ 4832:5062ccb2381d
Unified error message on "Unsupported CRS"
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Thu, 07 Nov 2019 12:21:55 +0100 |
parents | f32d086b5dbf |
children | 046a07a33b19 |
comparison
equal
deleted
inserted
replaced
4830:125cac3c977d | 4832:5062ccb2381d |
---|---|
220 | 220 |
221 feedback.Info("Found feature type '%s", wp.FeatureType) | 221 feedback.Info("Found feature type '%s", wp.FeatureType) |
222 | 222 |
223 epsg, err := wfs.CRSToEPSG(ft.DefaultCRS) | 223 epsg, err := wfs.CRSToEPSG(ft.DefaultCRS) |
224 if err != nil { | 224 if err != nil { |
225 feedback.Error("Unsupported CRS name '%s'", ft.DefaultCRS) | 225 feedback.Error("Unsupported CRS: '%s'", ft.DefaultCRS) |
226 return err | 226 return err |
227 } | 227 } |
228 | 228 |
229 if wp.SortBy != "" { | 229 if wp.SortBy != "" { |
230 feedback.Info("Features will be sorted by '%s'", wp.SortBy) | 230 feedback.Info("Features will be sorted by '%s'", wp.SortBy) |