Skip to content

Remove History.lat and History.lon #199

@jameshiebert

Description

@jameshiebert

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions