A well normalized set of tables should have one single source of information. Unfortunately, the meta_history table has both numeric lat/lon attributes in addition to a PostGIS geometry object. This has sown confusion, in that data managers tend to forget to update the geometry object:
crmp=> select count(*) from meta_history where the_geom is NULL and (lat is not null and lon is not null);
count
-------
183
(1 row)
And even our own developer have used lat/lon instead of the geometry.
lat and lon should be removed.
A well normalized set of tables should have one single source of information. Unfortunately, the
meta_historytable has both numeric lat/lon attributes in addition to a PostGISgeometryobject. This has sown confusion, in that data managers tend to forget to update thegeometryobject:And even our own developer have used lat/lon instead of the
geometry.latandlonshould be removed.