diff pkg/models/common.go @ 1373:84e78d2e2d95

Backend: Centralized the definition of WGS84 constant in the models package.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 27 Nov 2018 13:02:28 +0100
parents a244b18cb916
children 6a67cd819e93
line wrap: on
line diff
--- a/pkg/models/common.go	Tue Nov 27 12:49:53 2018 +0100
+++ b/pkg/models/common.go	Tue Nov 27 13:02:28 2018 +0100
@@ -19,3 +19,6 @@
 	errNoString    = errors.New("Not a string")
 	errNoByteSlice = errors.New("Not a byte slice")
 )
+
+// WGS84 is the EPSG of the World Geodetic System 1984.
+const WGS84 = 4326