jiayuasu opened a new pull request, #2677:
URL: https://github.com/apache/sedona/pull/2677

   ## Did you read the Contributor Guide?
   
   - Yes, I have read the [Contributor 
Rules](https://sedona.apache.org/latest-snapshot/community/rules/) and 
[Contributor Development 
Guide](https://sedona.apache.org/latest-snapshot/community/develop/)
   
   ## Is this PR related to a ticket?
   
   - Yes, and the PR name follows the format `[GH-XXX] my subject`. Closes #2674
   
   ## What changes were proposed in this PR?
   
   Add two new raster functions: `RS_SetCRS` and `RS_CRS`, to support custom 
CRS string definitions beyond simple integer SRID codes.
   
   ### RS_SetCRS(raster, crsString)
   
   Sets the CRS of a raster using a CRS definition string. Unlike `RS_SetSRID` 
which only accepts integer EPSG codes, `RS_SetCRS` accepts CRS definitions in 
multiple formats:
   
   - **EPSG codes**: `EPSG:4326`
   - **WKT1**: `GEOGCS[- **WKT1**: `GEOGCS[- **WKT1**: `GEOGCS[- **WKT1**: 
`GEOGCS[- strings**: `+proj=longlat +- **WKT1**: `GEOde- **WKT1**: `GEOGCS[- 
**Wpe- **WKT1**: `GEOGCS[- **WKT1**: `GEOGCS[- **WKT1**: `GEOGCS[- 
**WKT1*PROJJSON) - **WKT1** u- **WKT1**: `GEOGCS[- **WKT1**: `GEOGCS[- 
**Windst- **WKT1**: `GEOGCS[- **WKT1**: `GEOGCS[- **WKT1**: `GEOGCS[- **WKT1**: 
`GEOGCS[- strings**: `+proj=longlat +- **WKT1**: `GEOde- **WKT1**: `GEOGCS[- 
**Wpe- **WKT1**: `GEOGCS[- **WKT1**: `GEOGCS[- **W) t- **WKT1**: `GEOGCS[- 
**WKT1**: `en proj4sedona and GeoTools.
   
   ### RS_CRS(raster[, format])
   
   Returns the CRS of a rReturns the CRS of a rReturns thed format:
   
   - `projjson` (default) – Modern JSON representation
   - `wkt2` – ISO 19162 Well-Known Text 2
   - `wkt1` – OGC Well-Known Text 1
   - `proj` – PROJ string format
   
   
ReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReReRe
   - `R- `R- `R- `R- `R- `R- `R- `Rs(- `R- `R- `R- `R- `R- `R- `R- `Rs(- `R- 
`R- `R- `R- `R- `R- `R- `Rs(- `R- `R- `R- `R- `R- `R- `R- `Rs(- `R- `R- `R- `R- 
`R- `R- `R- `Rs(- `R- `R- `R- `R- `R- `R- `R- `Rs(- `R- `R- `R- `R- `R- `R- `R- 
`Rs(- `R- `R- `R- `R- `R- `R- `R- `Rs(- `R- `R- `R- `R- `R- `R- `R- `Rs(- `R- 
`R- `R- `R- `R- `R- `R- `Rs(- `R- `R- `R- `R- `R- `R- `R- `Rs(- `R- `R- `R- `R- 
`R- `R- `R- `Rs(- `R- `R- `R- `R- `R- `R- `R- `Rs(- `R- `R- `R- `R- `R- `R- `R- 
`Rs(- `R- `R- `R- `R- `R- `R- `R- `Rs(- `R- `R- `R- `R- `R- `R- `R- `Rs(- `R- 
`R- `R- `R- `R- `R- `R- `Rs(- `R- `R- `R-tency of export→import→re-exp- `R- `R- 
`R- `R- `R- `R- `R- `Rs(- `R- `R- `R- `R- `R- `R- `R-tes- `R- `R- `R- `R- `R- 
`R- `R- `Rs(- `R- `R- `R- `md` �- `R- `R- `R- `R- `R- `R- `R- `Rs(- `R-un- `R- 
`R- `R- `R- `R- `R- `R- `es
   
   
    `R- `R- `R- `R- `R- `R- `R- 
   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - - - - -9 Spark SQL integration tests
   - All tests pass via `mvn test -pl common` and `mvn test -pl spark/common`
   
   ## Did this PR include necessary documentation updates?
   
   - Yes, I am adding a new API. I am using the [current SNAPSHOT version 
number](https://sedona.apache.org/latest-snapshot/community/develop/#use-the-correct-api-version-number)
 in `v1.9.0` format.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to