Skip to content

Commit 2265170

Browse files
authored
Document IntersectsBbox (#447)
See npgsql/efcore.pg#3485
1 parent aadf84a commit 2265170

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

conceptual/EFCore.PG/mapping/nts.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,27 +137,28 @@ geom1.Difference(geom2) | [ST_Differenc
137137
geom1.Dimension | [ST_Dimension(geom1)](https://postgis.net/docs/ST_Dimension.html)
138138
geom1.Disjoint(geom2) | [ST_Disjoint(geom1, geom2)](https://postgis.net/docs/ST_Disjoint.html)
139139
geom1.Distance(geom2) | [ST_Distance(geom1, geom2)](https://postgis.net/docs/ST_Distance.html)
140-
EF.Functions.DistanceKnn(geom1, geom2) | [geom1 <-> geom2](https://postgis.net/docs/geometry_distance_knn.html) | Added in 6.0
141-
EF.Functions.Distance(geom1, geom2, useSpheriod) | [ST_Distance(geom1, geom2, useSpheriod)](https://postgis.net/docs/ST_Distance.html) | Added in 6.0
140+
EF.Functions.DistanceKnn(geom1, geom2) | [geom1 <-> geom2](https://postgis.net/docs/geometry_distance_knn.html)
141+
EF.Functions.Distance(geom1, geom2, useSpheriod) | [ST_Distance(geom1, geom2, useSpheriod)](https://postgis.net/docs/ST_Distance.html)
142142
geom1.Envelope | [ST_Envelope(geom1)](https://postgis.net/docs/ST_Envelope.html)
143143
geom1.ExactEquals(geom2) | [ST_OrderingEquals(geom1, geom2)](https://postgis.net/docs/ST_OrderingEquals.html)
144144
lineString.EndPoint | [ST_EndPoint(lineString)](https://postgis.net/docs/ST_EndPoint.html)
145145
polygon.ExteriorRing | [ST_ExteriorRing(polygon)](https://postgis.net/docs/ST_ExteriorRing.html)
146146
geom1.Equals(geom2) | [geom1 = geom2](https://postgis.net/docs/ST_Geometry_EQ.html)
147147
geom1.Polygon.EqualsExact(geom2) | [geom1 = geom2](https://postgis.net/docs/ST_Geometry_EQ.html)
148148
geom1.EqualsTopologically(geom2) | [ST_Equals(geom1, geom2)](https://postgis.net/docs/ST_Equals.html)
149-
EF.Functions.Force2D | [ST_Force2D(geom)](https://postgis.net/docs/ST_Force2D.html) | Added in 6.0
149+
EF.Functions.Force2D | [ST_Force2D(geom)](https://postgis.net/docs/ST_Force2D.html)
150150
geom.GeometryType | [GeometryType(geom)](https://postgis.net/docs/GeometryType.html)
151151
geomCollection.GetGeometryN(i) | [ST_GeometryN(geomCollection, i)](https://postgis.net/docs/ST_GeometryN.html)
152152
linestring.GetPointN(i) | [ST_PointN(linestring, i)](https://postgis.net/docs/ST_PointN.html)
153153
geom1.Intersection(geom2) | [ST_Intersection(geom1, geom2)](https://postgis.net/docs/ST_Intersection.html)
154154
geom1.Intersects(geom2) | [ST_Intersects(geom1, geom2)](https://postgis.net/docs/ST_Intersects.html)
155+
EF.Functions.IntersectsBbox(geom1, geom2) | [geom1 && geom2](https://postgis.net/docs/geometry_overlaps.html) | Added in 11.0
155156
geom.InteriorPoint | [ST_PointOnSurface(geom)](https://postgis.net/docs/ST_PointOnSurface.html)
156157
lineString.IsClosed() | [ST_IsClosed(lineString)](https://postgis.net/docs/ST_IsClosed.html)
157158
geomCollection.IsEmpty() | [ST_IsEmpty(geomCollection)](https://postgis.net/docs/ST_IsEmpty.html)
158159
linestring.IsRing | [ST_IsRing(linestring)](https://postgis.net/docs/ST_IsRing.html)
159160
geom.IsWithinDistance(geom2,d) | [ST_DWithin(geom1, geom2, d)](https://postgis.net/docs/ST_DWithin.html)
160-
EF.Functions.IsWithinDistance(geom1, geom2, d, useSpheriod) | [ST_DWithin(geom1, geom2, d, useSpheriod)](https://postgis.net/docs/ST_DWithin.html) | Added in 6.0
161+
EF.Functions.IsWithinDistance(geom1, geom2, d, useSpheriod) | [ST_DWithin(geom1, geom2, d, useSpheriod)](https://postgis.net/docs/ST_DWithin.html)
161162
geom.IsSimple() | [ST_IsSimple(geom)](https://postgis.net/docs/ST_IsSimple.html)
162163
geom.IsValid() | [ST_IsValid(geom)](https://postgis.net/docs/ST_IsValid.html)
163164
lineString.Length | [ST_Length(lineString)](https://postgis.net/docs/ST_Length.html)
@@ -182,7 +183,7 @@ point.M | [ST_M(point)]
182183
point.X | [ST_X(point)](https://postgis.net/docs/ST_X.html)
183184
point.Y | [ST_Y(point)](https://postgis.net/docs/ST_Y.html)
184185
point.Z | [ST_Z(point)](https://postgis.net/docs/ST_Z.html)
185-
UnaryUnionOp.Union(geometries) | [ST_Union(geometries)](https://postgis.net/docs/ST_Union.html) | Added in 7.0, see [Aggregate functions](translations.md#aggregate-functions).
186-
GeometryCombiner.Combine(geometries) | [ST_Collect(geometries)](https://postgis.net/docs/ST_Collect.html) | Added in 7.0, see [Aggregate functions](translations.md#aggregate-functions).
187-
EnvelopeCombiner.CombineAsGeometry(geometries) | [ST_Extent(geometries)::geometry](https://postgis.net/docs/ST_Extent.html) | Added in 7.0, see [Aggregate functions](translations.md#aggregate-functions).
188-
ConvexHull.Create(geometries) | [ST_ConvexHull(geometries)](https://postgis.net/docs/ST_ConvexHull.html) | Added in 7.0, see [Aggregate functions](translations.md#aggregate-functions).
186+
UnaryUnionOp.Union(geometries) | [ST_Union(geometries)](https://postgis.net/docs/ST_Union.html) | See [Aggregate functions](translations.md#aggregate-functions).
187+
GeometryCombiner.Combine(geometries) | [ST_Collect(geometries)](https://postgis.net/docs/ST_Collect.html) | See [Aggregate functions](translations.md#aggregate-functions).
188+
EnvelopeCombiner.CombineAsGeometry(geometries) | [ST_Extent(geometries)::geometry](https://postgis.net/docs/ST_Extent.html) | See [Aggregate functions](translations.md#aggregate-functions).
189+
ConvexHull.Create(geometries) | [ST_ConvexHull(geometries)](https://postgis.net/docs/ST_ConvexHull.html) | See [Aggregate functions](translations.md#aggregate-functions).

conceptual/EFCore.PG/release-notes/11.0.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,7 @@ REFERENCES employees (employee_id, PERIOD valid_period);
8686
```
8787

8888
For more details, see the [temporal constraints documentation](../misc/temporal-constraints.md).
89+
90+
## Other new features
91+
92+
* Added `EF.Functions.IntersectsBbox(geom1, geom2)` for expressing [the PostGIS `&&` operator](https://postgis.net/docs/geometry_overlaps.html). Thanks to [@bjornharrtell](https://github.com/bjornharrtell) for this contribution!

0 commit comments

Comments
 (0)