Skip to content

Commit

Permalink
docs: add explanation for default CRS
Browse files Browse the repository at this point in the history
  • Loading branch information
furqaankhan committed Dec 1, 2023
1 parent 7d38d3e commit 2f8bf37
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/api/sql/Raster-operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -1359,6 +1359,8 @@ Introduction: Returns a raster that is clipped by the given geometry.

If `crop` is not specified then it will default to `true`, meaning it will make the resulting raster shrink to the geometry's extent and if `noDataValue` is not specified then the resulting raster will have the minimum possible value for the band pixel data type.

!!!Note
Since `v1.5.1`, if the coordinate reference system (CRS) of the input `geom` geometry differs from that of the `raster`, then `geom` will be transformed to match the CRS of the `raster`. If the `raster` or `geom` doesn't have a CRS then it will default to `4326/WGS84`.

Format:

Expand Down Expand Up @@ -1739,7 +1741,7 @@ of the rectangular region. The new values to be assigned to the pixels in this r
to this function.

!!!Note
Since `v1.5.1`, if the coordinate reference system (CRS) of the input `geom` geometry differs from that of the `raster`, then `geom` will be transformed to match the CRS of the `raster`.
Since `v1.5.1`, if the coordinate reference system (CRS) of the input `geom` geometry differs from that of the `raster`, then `geom` will be transformed to match the CRS of the `raster`. If the `raster` or `geom` doesn't have a CRS then it will default to `4326/WGS84`.

Format:

Expand Down Expand Up @@ -1844,7 +1846,7 @@ Output:
Introduction: Returns the value at the given point in the raster. If no band number is specified it defaults to 1.

!!!Note
Since `v1.5.1`, if the coordinate reference system (CRS) of the input `point` geometry differs from that of the `raster`, then `point` will be transformed to match the CRS of the `raster`.
Since `v1.5.1`, if the coordinate reference system (CRS) of the input `point` geometry differs from that of the `raster`, then `point` will be transformed to match the CRS of the `raster`. If the `raster` or `point` doesn't have a CRS then it will default to `4326/WGS84`.

Format:

Expand Down Expand Up @@ -1884,7 +1886,7 @@ RS_Values is similar to RS_Value but operates on an array of points or grid coor
RS_Values can be significantly faster since a raster only has to be loaded once for several points.

!!!Note
Since `v1.5.1`, if the coordinate reference system (CRS) of the input `points` geometries differs from that of the `raster`, then `points` will be transformed to match the CRS of the `raster`.
Since `v1.5.1`, if the coordinate reference system (CRS) of the input `points` geometries differs from that of the `raster`, then `points` will be transformed to match the CRS of the `raster`. If the `raster` or `points` doesn't have a CRS then it will default to `4326/WGS84`.

Format:

Expand Down

0 comments on commit 2f8bf37

Please sign in to comment.