You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sedona.apache.org by "paleolimbot (via GitHub)" <gi...@apache.org> on 2026/06/02 20:10:39 UTC

[PR] fix(c/sedona-proj): Allow bound parameter for CRS argument of ST_Transform [sedona-db]

paleolimbot opened a new pull request, #904:
URL: https://github.com/apache/sedona-db/pull/904

   Before this PR
   
   ```python
   import pyproj
   import sedona.db
   
   sd = sedona.db.connect()
   
   url = "https://github.com/geoarrow/geoarrow-data/releases/download/v0.2.0/microsoft-buildings_point.parquet"
   crs = pyproj.CRS('ESRI:102005').to_json()
   sd.read_parquet(url).to_view("buildings")
   sd.sql("""SELECT ST_Transform(geometry, $1) AS geometry FROM buildings""", params=(crs, )).schema
   #> SedonaError: st_transform([WkbView(Planar, Some(AuthorityCode { auth_code: "OGC:CRS84" })), Arrow(Null)]): No kernel matching arguments
   ```
   
   After this PR
   
   
   ```python
   import pyproj
   import sedona.db
   
   sd = sedona.db.connect()
   
   url = "https://github.com/geoarrow/geoarrow-data/releases/download/v0.2.0/microsoft-buildings_point.parquet"
   crs = pyproj.CRS('ESRI:102005').to_json()
   sd.read_parquet(url).to_view("buildings")
   sd.sql("""SELECT ST_Transform(geometry, $1) AS geometry FROM buildings""", params=(crs, )).schema
   # SedonaSchema with 1 field:
   #   geometry: geometry<Wkb(esri:102005)>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(c/sedona-proj): Allow bound parameter for CRS argument of ST_Transform [sedona-db]

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot merged PR #904:
URL: https://github.com/apache/sedona-db/pull/904


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org