[GRASS-user] 3D raster color coding

Veronica Andreo veroandreo at gmail.com
Fri Jun 1 00:04:55 PDT 2018


Hello,

That's probably because that palette is for integer values ranging from 0
to 360 [0]. Try with a relative one such as viridis or bcyr.

HTH,
Vero

[0] https://grass.osgeo.org/grass74/manuals/r.colors.html

El jue., 31 may. 2018 a las 3:18, Francois Chartier (<fra.chartier at gmail.com>)
escribió:

> Hi,
>
> I have created a 3D raster from soil properties with about 70K points,
> with a* lot of help from the mailing list i must say*.
> from the copy of the metadata of the 3d raster (below) it would confirm
> that the 3D raster worked and the grid is populated with data.
> I have copied below the r3.colors and assigned  'aspectcolr' as a trial.
> Unfortunately in the Display window nothing shows up, whether in 2D or in
> 3D view.  I do not know what i am doing incorrectly.
>
> Once I am done and able to develop the 3D raster of the soil properties, I
> will prepare a simple step by step for developing such a raster which may
> be useful for others.
>
>
> +----------------------------------------------------------------------------+
>  | Layer:    BHALL_May24v2 at Toronto          Date: Sun May 27 16:43:46
> 2018    |
>  | Mapset:   Toronto                        Login of Creator: Francois
> Charti |
>  | Location: Toronto
>     |
>  | DataBase: C:\Users\Francois Chartier\Documents\grassdata
>    |
>  | Title:    BHALL_May24v2
>     |
>  | Units:    none
>    |
>  | Vertical unit: units
>    |
>  | Timestamp: none
>     |
>
>  |----------------------------------------------------------------------------|
>  |
>     |
>  |   Type of Map:  raster_3d            Number of Categories: 0
>    |
>  |   Data Type:    FCELL
>     |
>  |   Rows:         90
>    |
>  |   Columns:      85
>    |
>  |   Depths:       307
>     |
>  |   Total Cells:  2348550
>     |
>  |   Total size:           3180868 Bytes
>     |
>  |   Number of tiles:      336
>     |
>  |   Mean tile size:       9466 Bytes
>    |
>  |   Tile size in memory:  30420 Bytes
>     |
>  |   Number of tiles in x, y and  z:   6, 7, 8
>     |
>  |   Dimension of a tile in x, y, z:   15, 13, 39
>    |
>  |
>     |
>  |        Projection: UTM (zone 17)
>    |
>  |            N:    4870795    S:    4825715   Res: 500.88888889
>     |
>  |            E:     651669    W:     609204   Res: 499.58823529
>     |
>  |            T:        352    B:         45   Res:     1
>    |
>  |   Range of data:   min = -8.99099445 max = 33.89262009
>    |
>  |
>     |
>  |   Data Source:
>    |
>  |
>     |
>  |
>     |
>  |
>     |
>  |   Data Description:
>     |
>  |    generated by v.vol.rst
>     |
>  |
>     |
>  |   Comments:
>     |
>  |    v.vol.rst input="BHMat1All_May12 at Toronto" wcolumn="cat" tension=40.
> \   |
>  |    smooth=0.1 segmax=50 npmin=200 npmax=700 dmin=2 wscale=1.0
> zscale=1.\   |
>  |    0 elevation="BHALL_May24v2"
>    |
>  |
>     |
>
>  +----------------------------------------------------------------------------+
> (Wed May 30 21:11:59 2018) Command finished (0 sec)
>
>
>
>
> ----------------------------------------------------------------------------------------
>
> (Wed May 30 21:10:02 2018)
>
> r3.colors map=BHALL_May24v2 at Toronto color=aspectcolr
>
> Color table for raster3d map <BHALL_May24v2 at Toronto> set to 'aspectcolr'
> (Wed May 30 21:10:03 2018) Command finished (0 sec)
>
> _______________________________________________
> 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/20180601/f5ade2ae/attachment.html>


More information about the grass-user mailing list