This is an automated email from the ASF dual-hosted git repository.
paleolimbot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/sedona-db.git
The following commit(s) were added to refs/heads/main by this push:
new 7b20d0c0 docs(examples): Add note about the SRID arg of ST_Point()
(#392)
7b20d0c0 is described below
commit 7b20d0c03b2d7befd9d710d21ae600277a0bee63
Author: Hiroaki Yutani <[email protected]>
AuthorDate: Tue Dec 2 00:10:11 2025 +0900
docs(examples): Add note about the SRID arg of ST_Point() (#392)
---
docs/crs-examples.ipynb | 12 ++++++++++++
docs/crs-examples.md | 6 ++++++
2 files changed, 18 insertions(+)
diff --git a/docs/crs-examples.ipynb b/docs/crs-examples.ipynb
index e23c07c7..c48751c1 100644
--- a/docs/crs-examples.ipynb
+++ b/docs/crs-examples.ipynb
@@ -140,6 +140,18 @@
"cities.schema"
]
},
+ {
+ "cell_type": "markdown",
+ "id": "f856dd33",
+ "metadata": {},
+ "source": [
+ "> Note: In this case, for a POINT geometry, we can specify the CRS
identifier at the last argument of `ST_Point()` directly. This might be handy
when we deal only with POINT geometries.\n",
+ "> \n",
+ "> ```sql\n",
+ "> SELECT ST_Point(-8238310.24, 4969803.3, 3857);\n",
+ "> ```"
+ ]
+ },
{
"cell_type": "code",
"execution_count": 6,
diff --git a/docs/crs-examples.md b/docs/crs-examples.md
index a35103e0..85e93b70 100644
--- a/docs/crs-examples.md
+++ b/docs/crs-examples.md
@@ -100,6 +100,12 @@ cities.schema
+> Note: In this case, for a POINT geometry, we can specify the CRS identifier
at the last argument of `ST_Point()` directly. This might be handy when we deal
only with POINT geometries.
+>
+> ```sql
+> SELECT ST_Point(-8238310.24, 4969803.3, 3857);
+> ```
+
```python
cities.to_view("cities", overwrite=True)