Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/api/sql/Raster-Band-Accessors/RS_Count.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ Introduction: Returns the number of pixels in a given band. If band is not speci

Format:

`RS_Count(raster: Raster, band: Integer = 1, excludeNoDataValue: Boolean = true)`
`RS_Count(raster: Raster)`

`RS_Count(raster: Raster, band: Integer = 1)`

`RS_Count(raster: Raster)`
`RS_Count(raster: Raster, band: Integer = 1, excludeNoDataValue: Boolean = true)`

Return type: `Long`

Expand Down
4 changes: 2 additions & 2 deletions docs/api/sql/Raster-Band-Accessors/RS_SummaryStats.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ Introduction: Returns summary statistic for a particular band based on the `stat

Formats:

`RS_SummaryStats(raster: Raster, statType: String, band: Integer = 1, excludeNoDataValue: Boolean = true)`
`RS_SummaryStats(raster: Raster, statType: String)`

`RS_SummaryStats(raster: Raster, statType: String, band: Integer = 1)`

`RS_SummaryStats(raster: Raster, statType: String)`
`RS_SummaryStats(raster: Raster, statType: String, band: Integer = 1, excludeNoDataValue: Boolean = true)`

Return type: `Double`

Expand Down
4 changes: 2 additions & 2 deletions docs/api/sql/Raster-Band-Accessors/RS_SummaryStatsAll.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ Introduction: Returns summary stats struct consisting of count, sum, mean, stdde

Formats:

`RS_SummaryStatsAll(raster: Raster, band: Integer = 1, excludeNoDataValue: Boolean = true)`
`RS_SummaryStatsAll(raster: Raster)`

`RS_SummaryStatsAll(raster: Raster, band: Integer = 1)`

`RS_SummaryStatsAll(raster: Raster)`
`RS_SummaryStatsAll(raster: Raster, band: Integer = 1, excludeNoDataValue: Boolean = true)`

Return type: `Struct<count: Long, sum: Double, mean: Double, stddev: Double, min: Double, max: Double>`

Expand Down
8 changes: 4 additions & 4 deletions docs/api/sql/Raster-Band-Accessors/RS_ZonalStats.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,23 +53,23 @@ The `allTouched` parameter (Since `v1.7.1`) determines how pixels are selected:
Format:

```
RS_ZonalStats(raster: Raster, zone: Geometry, band: Integer, statType: String, allTouched: Boolean, excludeNoData: Boolean, lenient: Boolean)
RS_ZonalStats(raster: Raster, zone: Geometry, statType: String)
```

```
RS_ZonalStats(raster: Raster, zone: Geometry, band: Integer, statType: String, allTouched: Boolean, excludeNoData: Boolean)
RS_ZonalStats(raster: Raster, zone: Geometry, band: Integer, statType: String)
```

```
RS_ZonalStats(raster: Raster, zone: Geometry, band: Integer, statType: String, allTouched: Boolean)
```

```
RS_ZonalStats(raster: Raster, zone: Geometry, band: Integer, statType: String)
RS_ZonalStats(raster: Raster, zone: Geometry, band: Integer, statType: String, allTouched: Boolean, excludeNoData: Boolean)
```

```
RS_ZonalStats(raster: Raster, zone: Geometry, statType: String)
RS_ZonalStats(raster: Raster, zone: Geometry, band: Integer, statType: String, allTouched: Boolean, excludeNoData: Boolean, lenient: Boolean)
```

Return type: `Double`
Expand Down
8 changes: 4 additions & 4 deletions docs/api/sql/Raster-Band-Accessors/RS_ZonalStatsAll.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,23 +53,23 @@ The `allTouched` parameter (Since `v1.7.1`) determines how pixels are selected:
Format:

```
RS_ZonalStatsAll(raster: Raster, zone: Geometry, band: Integer, allTouched: Boolean, excludeNodata: Boolean, lenient: Boolean)
RS_ZonalStatsAll(raster: Raster, zone: Geometry)
```

```
RS_ZonalStatsAll(raster: Raster, zone: Geometry, band: Integer, allTouched: Boolean, excludeNodata: Boolean)
RS_ZonalStatsAll(raster: Raster, zone: Geometry, band: Integer)
```

```
RS_ZonalStatsAll(raster: Raster, zone: Geometry, band: Integer, allTouched: Boolean)
```

```
RS_ZonalStatsAll(raster: Raster, zone: Geometry, band: Integer)
RS_ZonalStatsAll(raster: Raster, zone: Geometry, band: Integer, allTouched: Boolean, excludeNodata: Boolean)
```

```
RS_ZonalStatsAll(raster: Raster, zone: Geometry)
RS_ZonalStatsAll(raster: Raster, zone: Geometry, band: Integer, allTouched: Boolean, excludeNodata: Boolean, lenient: Boolean)
```

Return type: `Struct<count: Long, sum: Double, mean: Double, median: Double, mode: Double, stddev: Double, variance: Double, min: Double, max: Double>`
Expand Down
4 changes: 2 additions & 2 deletions docs/api/sql/Raster-Operators/RS_AddBand.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ If no `toRasterIndex` is provided, the new band is appended to the end of `toRas
Format:

```
RS_AddBand(toRaster: Raster, fromRaster: Raster, fromBand: Integer = 1, toRasterIndex: Integer = at_end)
RS_AddBand(toRaster: Raster, fromRaster: Raster)
```

```
RS_AddBand(toRaster: Raster, fromRaster: Raster, fromBand: Integer = 1)
```

```
RS_AddBand(toRaster: Raster, fromRaster: Raster)
RS_AddBand(toRaster: Raster, fromRaster: Raster, fromBand: Integer = 1, toRasterIndex: Integer = at_end)
```

Return type: `Raster`
Expand Down
8 changes: 4 additions & 4 deletions docs/api/sql/Raster-Operators/RS_AsRaster.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,23 @@ Introduction: `RS_AsRaster` converts a vector geometry into a raster dataset by
Format:

```
RS_AsRaster(geom: Geometry, raster: Raster, pixelType: String, allTouched: Boolean, value: Double, noDataValue: Double, useGeometryExtent: Boolean)
RS_AsRaster(geom: Geometry, raster: Raster, pixelType: String)
```

```
RS_AsRaster(geom: Geometry, raster: Raster, pixelType: String, allTouched: Boolean, value: Double, noDataValue: Double)
RS_AsRaster(geom: Geometry, raster: Raster, pixelType: String, allTouched: Boolean)
```

```
RS_AsRaster(geom: Geometry, raster: Raster, pixelType: String, allTouched: Boolean, value: Double)
```

```
RS_AsRaster(geom: Geometry, raster: Raster, pixelType: String, allTouched: Boolean)
RS_AsRaster(geom: Geometry, raster: Raster, pixelType: String, allTouched: Boolean, value: Double, noDataValue: Double)
```

```
RS_AsRaster(geom: Geometry, raster: Raster, pixelType: String)
RS_AsRaster(geom: Geometry, raster: Raster, pixelType: String, allTouched: Boolean, value: Double, noDataValue: Double, useGeometryExtent: Boolean)
```

Return type: `Raster`
Expand Down
8 changes: 4 additions & 4 deletions docs/api/sql/Raster-Operators/RS_Clip.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,23 @@ The `allTouched` parameter (Since `v1.7.1`) determines how pixels are selected:
Format:

```
RS_Clip(raster: Raster, band: Integer, geom: Geometry, allTouched: Boolean, noDataValue: Double, crop: Boolean, lenient: Boolean)
RS_Clip(raster: Raster, band: Integer, geom: Geometry)
```

```
RS_Clip(raster: Raster, band: Integer, geom: Geometry, allTouched: Boolean, noDataValue: Double, crop: Boolean)
RS_Clip(raster: Raster, band: Integer, geom: Geometry, allTouched: Boolean)
```

```
RS_Clip(raster: Raster, band: Integer, geom: Geometry, allTouched: Boolean, noDataValue: Double)
```

```
RS_Clip(raster: Raster, band: Integer, geom: Geometry, allTouched: Boolean)
RS_Clip(raster: Raster, band: Integer, geom: Geometry, allTouched: Boolean, noDataValue: Double, crop: Boolean)
```

```
RS_Clip(raster: Raster, band: Integer, geom: Geometry)
RS_Clip(raster: Raster, band: Integer, geom: Geometry, allTouched: Boolean, noDataValue: Double, crop: Boolean, lenient: Boolean)
```

Return type: `Raster`
Expand Down
4 changes: 2 additions & 2 deletions docs/api/sql/Raster-Operators/RS_Resample.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ For more information about ScaleX, ScaleY, SkewX, SkewY, please refer to the [Af
Format:

```sql
RS_Resample(raster: Raster, widthOrScale: Double, heightOrScale: Double, gridX: Double, gridY: Double, useScale: Boolean, algorithm: String)
RS_Resample(raster: Raster, referenceRaster: Raster, useScale: Boolean, algorithm: String)
```

```sql
RS_Resample(raster: Raster, widthOrScale: Double, heightOrScale: Double, useScale: Boolean, algorithm: String)
```

```sql
RS_Resample(raster: Raster, referenceRaster: Raster, useScale: Boolean, algorithm: String)
RS_Resample(raster: Raster, widthOrScale: Double, heightOrScale: Double, gridX: Double, gridY: Double, useScale: Boolean, algorithm: String)
```

Return type: `Raster`
Expand Down
4 changes: 2 additions & 2 deletions docs/api/sql/Raster-Operators/RS_SetBandNoDataValue.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ Since `v1.5.1`, this function supports the ability to replace the current no-dat
Format:

```
RS_SetBandNoDataValue(raster: Raster, bandIndex: Integer, noDataValue: Double, replace: Boolean)
RS_SetBandNoDataValue(raster: Raster, bandIndex: Integer = 1, noDataValue: Double)
```

```
RS_SetBandNoDataValue(raster: Raster, bandIndex: Integer = 1, noDataValue: Double)
RS_SetBandNoDataValue(raster: Raster, bandIndex: Integer, noDataValue: Double, replace: Boolean)
```

Return type: `Raster`
Expand Down
8 changes: 4 additions & 4 deletions docs/api/sql/Raster-Operators/RS_SetValues.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ to this function.
Format without ROI `geom`:

```
RS_SetValues(raster: Raster, bandIndex: Integer, colX: Integer, rowY: Integer, width: Integer, height: Integer, newValues: ARRAY[Double], keepNoData: Boolean = false)
RS_SetValues(raster: Raster, bandIndex: Integer, colX: Integer, rowY: Integer, width: Integer, height: Integer, newValues: ARRAY[Double])
```

```
RS_SetValues(raster: Raster, bandIndex: Integer, colX: Integer, rowY: Integer, width: Integer, height: Integer, newValues: ARRAY[Double])
RS_SetValues(raster: Raster, bandIndex: Integer, colX: Integer, rowY: Integer, width: Integer, height: Integer, newValues: ARRAY[Double], keepNoData: Boolean = false)
```

Return type: `Raster`
Expand All @@ -60,15 +60,15 @@ The `allTouched` parameter (Since `v1.7.1`) determines how pixels are selected:
Format with ROI `geom`:

```
RS_SetValues(raster: Raster, bandIndex: Integer, geom: Geometry, newValue: Double, allTouched: Boolean = false, keepNoData: Boolean = false)
RS_SetValues(raster: Raster, bandIndex: Integer, geom: Geometry, newValue: Double)
```

```
RS_SetValues(raster: Raster, bandIndex: Integer, geom: Geometry, newValue: Double, allTouched: Boolean = false)
```

```
RS_SetValues(raster: Raster, bandIndex: Integer, geom: Geometry, newValue: Double)
RS_SetValues(raster: Raster, bandIndex: Integer, geom: Geometry, newValue: Double, allTouched: Boolean = false, keepNoData: Boolean = false)
```

SQL Example
Expand Down