Skip to content

Commit 42dd820

Browse files
committed
Update self-hosted spatial queries note
1 parent e401434 commit 42dd820

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/routes/docs/products/databases/geo-queries/+page.markdoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ Appwrite provides first-class geo types that can be stored as table columns:
3333
- **Line**: Represents a series of connected geographic coordinates forming a path or route
3434
- **Polygon**: Represents a closed area defined by a series of coordinates forming a boundary and optional hole punches within that boundary. Polygons must be **closed** (first and last points are the same), and holes must lie completely inside the boundary, with no overlaps.
3535

36-
{% info title="Self-hosted installations" %}
37-
Spatial columns are supported only by MariaDB. If your self-hosted Appwrite instance uses MongoDB, spatial columns are not available.
38-
{% /info %}
39-
4036
# Spatial index {% #spatial-index %}
4137

4238
For optimal performance, create spatial indexes on columns you'll query. Spatial indexes use optimized data structures designed for geographic operations. Spatial indexes are **strongly recommended** if you plan to query your spatial data in any way.
@@ -52,3 +48,7 @@ Appwrite supports these geo query operations:
5248
- **Boundary queries**: Determine if points fall within defined areas
5349

5450
For complete documentation and examples of all geo query operations, see [Queries](/docs/products/databases/queries#geo-queries).
51+
52+
{% info title="Self-hosted installations" %}
53+
If you're self-hosting Appwrite, you will have to choose **MariaDB** as your preferred database to use geo-queries. Self-hosted Appwrite instances using **MongoDB** do not currently support spatial columns or indexes.
54+
{% /info %}

0 commit comments

Comments
 (0)