Skip to content

ST_SplitAgg example #9

@rmx90210

Description

@rmx90210

Hello! Thank you @pedrogit for this awesome collection of PostGIS enhancements. I have a use case for ST_SplitAgg and am excited to use it.

When I ran the first example for ST_SplitAgg I got this error:

ERROR:  column reference "geom" is ambiguous
LINE 10:  SELECT DISTINCT ON (ST_AsEWKB(geom)) unnest(ST_SplitAgg(a.g...

I replaced geom with a.geom and that seems to have resolved it. If it's helpful, I'm on Postgres 15.2.

I can do a PR to update the example. I have a few other questions about how ST_SplitAgg works and might keep adding to this thread, if that's OK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions