[GRASS-user] r.slope.aspect: rejects DCELL precison for map with DCELL precision
Anna Petrášová
kratochanna at gmail.com
Wed May 10 19:38:49 PDT 2023
On Wed, May 10, 2023 at 9:14 PM Rich Shepard <rshepard at appl-ecosys.com>
wrote:
> I don't understand why a raster elevation map with DCELL precision is
> rejected by r.slope.aspect. The region was set to the vector analysis area.
>
> r.info tells me this about the elevation map:
>
> +----------------------------------------------------------------------------+
> | Map: dem2014 Date: Wed May 10 13:47:46
> 2023 |
> | Mapset: northside_rock Login of Creator: rshepard
> |
> | Location: Oregon
> |
> | DataBase: /data1/grassdata
> |
> | Title: dem_2014
> |
> | Timestamp: none
> |
>
> |----------------------------------------------------------------------------|
> |
> |
> | Type of Map: raster Number of Categories: 0
> |
> | Data Type: DCELL Semantic label: (none)
> |
> | Rows: 1037
> |
> | Columns: 1056
> |
> | Total Cells: 1095072
> |
> | Projection: NAD83(CORS96) / Oregon North
> |
> | N: 224201 S: 223164 Res: 1
> |
> | E: 2307121.58 W: 2306066 Res: 0.99960227
> |
> | Range of data: min = 240 max = 820
> |
> |
> |
> | Data Description:
> |
> | generated by r.surf.contour
> |
> |
> |
> | Comments:
> |
> | r.surf.contour --overwrite input="baseline_dem" output="dem_2014"
> |
> |
> |
>
> +----------------------------------------------------------------------------+
>
> grass reports (with the module usage redacted):
> r.slope.aspect elev=dem2014 slope=dem2014_slope aspect=dem2014_aspect
> format=degrees precision=DCELLl pcurv=dem2014_pcurve dx=dem2014_ew_slope
> dy=dem2014_ns_slope mem=2000 --o
> Generates raster maps of slope, aspect, curvatures and partial derivatives
> from an elevation raster map.
> ...
>
> ERROR: Value <DCELLl> out of range for parameter <precision>
> Legal range: CELL,FCELL,DCELL
>
> What exactly is out of range?
>
It's a typo in "DCELL"
>
> TIA,
>
> Rich
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20230510/5dec2979/attachment-0001.htm>
More information about the grass-user
mailing list