Mercurial > gemma
comparison pkg/imports/fd.go @ 4177:8b75ac5e243e
Made 'staticcheck' happy with pgxutils package.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 05 Aug 2019 17:16:46 +0200 |
parents | c489c78ed525 |
children | 5d7ce7f926eb |
comparison
equal
deleted
inserted
replaced
4176:c9315a6eb2c2 | 4177:8b75ac5e243e |
---|---|
200 return nil, err | 200 return nil, err |
201 } | 201 } |
202 | 202 |
203 ft := caps.FindFeatureType(fd.FeatureType) | 203 ft := caps.FindFeatureType(fd.FeatureType) |
204 if ft == nil { | 204 if ft == nil { |
205 return nil, fmt.Errorf("Unknown feature type '%s'", fd.FeatureType) | 205 return nil, fmt.Errorf("unknown feature type '%s'", fd.FeatureType) |
206 } | 206 } |
207 | 207 |
208 feedback.Info("Found feature type '%s'", fd.FeatureType) | 208 feedback.Info("Found feature type '%s'", fd.FeatureType) |
209 | 209 |
210 epsg, err := wfs.CRSToEPSG(ft.DefaultCRS) | 210 epsg, err := wfs.CRSToEPSG(ft.DefaultCRS) |