@@ -31,7 +31,7 @@ use sedona_schema::{datatypes::SedonaType, matchers::ArgMatcher};
3131
3232/// RS_WorldToRasterCoordY() scalar UDF documentation
3333///
34- /// Converts pixel coordinates to world Y coordinate
34+ /// Converts world coordinates to raster Y coordinate
3535pub fn rs_worldtorastercoordy_udf ( ) -> SedonaScalarUDF {
3636 SedonaScalarUDF :: new (
3737 "rs_worldtorastercoordy" ,
@@ -43,7 +43,7 @@ pub fn rs_worldtorastercoordy_udf() -> SedonaScalarUDF {
4343
4444/// RS_WorldToRasterCoordX() scalar UDF documentation
4545///
46- /// Converts pixel coordinates to world X coordinate
46+ /// Converts world coordinates to raster X coordinate
4747pub fn rs_worldtorastercoordx_udf ( ) -> SedonaScalarUDF {
4848 SedonaScalarUDF :: new (
4949 "rs_worldtorastercoordx" ,
@@ -55,7 +55,7 @@ pub fn rs_worldtorastercoordx_udf() -> SedonaScalarUDF {
5555
5656/// RS_WorldToRasterCoord() scalar UDF documentation
5757///
58- /// Converts pixel coordinates to world coordinate Point
58+ /// Converts world coordinates to raster coordinates as a Point
5959pub fn rs_worldtorastercoord_udf ( ) -> SedonaScalarUDF {
6060 SedonaScalarUDF :: new (
6161 "rs_worldtorastercoord" ,
@@ -72,8 +72,8 @@ fn rs_worldtorastercoordx_doc() -> Documentation {
7272 "RS_WorldToRasterCoord(raster: Raster, x: Float, y: Float)" . to_string ( ) ,
7373 )
7474 . with_argument ( "raster" , "Raster: Input raster" )
75- . with_argument ( "x" , "Geometry : World x coordinate" )
76- . with_argument ( "y" , "Geometry : World y coordinate" )
75+ . with_argument ( "x" , "Float : World x coordinate" )
76+ . with_argument ( "y" , "Float : World y coordinate" )
7777 . with_sql_example ( "SELECT RS_WorldToRasterCoordX(RS_Example(), 34.865965, -111.812498)" . to_string ( ) )
7878 . build ( )
7979}
@@ -85,8 +85,8 @@ fn rs_worldtorastercoordy_doc() -> Documentation {
8585 "RS_WorldToRasterCoord(raster: Raster, x: Float, y: Float)" . to_string ( ) ,
8686 )
8787 . with_argument ( "raster" , "Raster: Input raster" )
88- . with_argument ( "x" , "Geometry : World x coordinate" )
89- . with_argument ( "y" , "Geometry : World y coordinate" )
88+ . with_argument ( "x" , "Float : World x coordinate" )
89+ . with_argument ( "y" , "Float : World y coordinate" )
9090 . with_sql_example ( "SELECT RS_WorldToRasterCoordY(RS_Example(), 34.865965, -111.812498)" . to_string ( ) )
9191 . build ( )
9292}
@@ -98,8 +98,8 @@ fn rs_worldtorastercoord_doc() -> Documentation {
9898 "RS_WorldToRasterCoord(raster: Raster, x: Float, y: Float)" . to_string ( ) ,
9999 )
100100 . with_argument ( "raster" , "Raster: Input raster" )
101- . with_argument ( "x" , "Geometry : World x coordinate" )
102- . with_argument ( "y" , "Geometry : World y coordinate" )
101+ . with_argument ( "x" , "Float : World x coordinate" )
102+ . with_argument ( "y" , "Float : World y coordinate" )
103103 . with_sql_example (
104104 "SELECT RS_WorldToRasterCoord(RS_Example(), 34.865965, -111.812498)" . to_string ( ) ,
105105 )
0 commit comments