Skip to content

Missing SRID 4326 for shapes_aggregated.shape #48

Open
@hbruch

Description

@hbruch

I suggest to explicitly set SRID 4326 for shape geometries in shapes_aggregated, e.g.

ST_SetSRID(4326, ST_MakeLine(array_agg(shape_pt_loc))) AS shape

That way, subsequent (materialized) views coud create a spatial index like e.g.

CREATE INDEX my_shapes_aggregated_view_shape_idx
ON my_shapes_aggregated_view_shape
USING GIST (shape);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions