Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Change list and details query #137

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bartverhaar
Copy link
Contributor

No description provided.

-- Omdat een selectiekader kan bestaan uit meerdere gebieden de left join vervangen voor een subquery.
--st_astext(selectiekader.the_geom) AS selectiekader,
--st_astext(st_centroid(selectiekader.the_geom)) AS selectiekader_centroid,
(select st_astext(st_extent("Gebied".the_geom))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume st_extent is used here because st_collect/st_union do not work for some reason and for select_area later on it does work, maybe add a comment why?
It seems to me this change means that objects will be selected for an incident when the incident coordinate is in the Gebied extent but not intersecting the Gebied itself...?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants