Mercurial > gemma
comparison controllers/types.go @ 370:fe87457a05d7
Store spatial data as geography
The main coordinate system should be lat/lon. Just using geometry
with SRS 4326 will nonetheless let PostGIS consider coordinates
as Cartesian, leading to nonesense results in some calculations.
As there is no ST_Within for geography, replace with ST_CoveredBy,
which should more correct anyhow, because we now accept also
data on the boundary of the responsibility area.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 09 Aug 2018 15:45:16 +0200 |
parents | 0777aa6de45b |
children |
comparison
equal
deleted
inserted
replaced
369:a43495c91856 | 370:fe87457a05d7 |
---|