-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spatial: Translate EnvelopeCombiner.CombineAsGeometry aggregate function #28184
Labels
area-query
area-spatial
area-sqlite
area-sqlserver
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-enhancement
Milestone
Comments
roji
added a commit
to roji/efcore
that referenced
this issue
Jul 8, 2022
roji
added
the
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
label
Jul 8, 2022
roji
changed the title
Spatial: Translate EnvelopeCombiner.Combine aggregate function
Spatial: Translate EnvelopeCombiner.CombineAsGeometry aggregate function
Jul 8, 2022
roji
added a commit
to roji/efcore
that referenced
this issue
Jul 8, 2022
ghost
pushed a commit
that referenced
this issue
Jul 8, 2022
Are the code example of how this works? For instance using Just trying to get a await _context.Screens
.GroupBy(x => 1)
.Select(g => EnvelopeCombiner.CombineAsGeometry(g.Select(x => x.Position)))
.FirstOrDefaultAsync(); results in: SELECT ST_Extent(t.position)::geometry
FROM (
SELECT s.position, 1 AS "Key"
FROM screens AS s
) AS t
GROUP BY t."Key"
LIMIT 1 Can this be used without a group by? What is the intended behavior? |
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-query
area-spatial
area-sqlite
area-sqlserver
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-enhancement
@airbreather graciously added EnvelopeCombiner.Combine for us in NetTopologySuite/NetTopologySuite#610, so once NTS is next released we can add an aggregate method translation for that as a follow-up to #13278:
The text was updated successfully, but these errors were encountered: