<div dir="auto">g.region manual page:<div dir="auto"><a href="https://grass.osgeo.org/grass74/manuals/g.region.html">https://grass.osgeo.org/grass74/manuals/g.region.html</a><br></div><div dir="auto"><br></div><div dir="auto"># print current region info</div><div dir="auto">g.region -p</div><div dir="auto"><br></div><div dir="auto"># set to a raster 3d</div><div dir="auto">g.region raster_3d=nameofyourmap</div></div><br><div class="gmail_quote"><div dir="ltr">El sáb., 2 jun. 2018 19:58, Francois Chartier <<a href="mailto:fra.chartier@gmail.com" target="_blank" rel="noreferrer">fra.chartier@gmail.com</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">how do you ensure that region is selected to the extent of the raster. I think I already did this when making v.vol.rst. </div><br><div class="gmail_quote"><div dir="ltr">Le sam. 2 juin 2018 à 13:56, Veronica Andreo <<a href="mailto:veroandreo@gmail.com" rel="noreferrer noreferrer" target="_blank">veroandreo@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">What about the region? Is it set to the extent of your raster?</div><br><div class="gmail_quote"><div dir="ltr">El sáb., 2 jun. 2018 19:52, Francois Chartier <<a href="mailto:fra.chartier@gmail.com" rel="noreferrer noreferrer" target="_blank">fra.chartier@gmail.com</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">i removed the 'r' and used elevation and bcyr as the color tables, see below. Display window is blank.<div><br></div><div>to recap the steps: </div><div>1 - i selected the Mapset and also tried Map that corresponds to the 3d raster</div><div>2 - then in Define tab, i only choose the Name of Color Table: bcyr, i have not selected anything else, </div><div>3 - then i just Run.</div><div><br></div><div><div>(Sat Jun 02 13:45:02 2018) </div><div>r3.colors map=BHALL_May24v2@Toronto color=elevation </div><div>Color table for raster3d map <BHALL_May24v2@Toronto> set to 'elevation'</div><div>(Sat Jun 02 13:45:02 2018) Command finished (0 sec) </div><div>(Sat Jun 02 13:46:14 2018) </div><div>r3.colors map=BHALL_May24v2@Toronto color=bcyr </div><div>Color table for raster3d map <BHALL_May24v2@Toronto> set to 'bcyr'</div><div>(Sat Jun 02 13:46:15 2018) Command finished (0 sec) </div><div><br></div><div><br></div><div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">Le sam. 2 juin 2018 à 09:01, Francois Chartier <<a href="mailto:fra.chartier@gmail.com" rel="noreferrer noreferrer noreferrer" target="_blank">fra.chartier@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Is there any way to set the range for the color table?</div><br><div class="gmail_quote"><div dir="ltr">On Sat, Jun 2, 2018, 02:33 Veronica Andreo, <<a href="mailto:veroandreo@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">veroandreo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Try removing -r from your command (unchecking the box in the GUI).<div dir="auto"><br><div dir="auto">That flag is used to remove a color palette.</div></div><div dir="auto"><br></div>Best,</div><div dir="auto">Vero</div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr">El sáb., 2 jun. 2018 3:48, Francois Chartier <<a href="mailto:fra.chartier@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">fra.chartier@gmail.com</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div>Hi Veronica, <div><br></div><div>something is odd. here are the steps - Display window is still blank and the 3D raster has data ranging from -8 to 34.<br><div><br></div><div><div><br></div><br></div><div><br></div><div><span style="background-color:rgb(255,0,0)">Step 2 - set as viridis - according to manual this </span></div><div><div><div><br></div><b style="background-color:rgb(255,0,0)"><br></b></div></div><div><b style="background-color:rgb(255,0,0)">result in command window</b></div><div><div>(Fri Jun 01 21:44:05 2018) </div><div>r3.colors -r map=BHALL_May24v2@Toronto color=viridis </div><div>(Fri Jun 01 21:44:05 2018) Command finished (0 sec) </div><div><br></div><div><span style="background-color:rgb(255,0,0)"><b><u>Display is still blank. </u></b> </span></div><div><br></div><div><div><br></div><div><br></div><div><br></div><div><b><u style="background-color:rgb(255,0,0)">Data is there</u></b></div><div> |</div><div> | Type of Map: raster_3d Number of Categories: 0 |</div><div> | Data Type: FCELL |</div><div> | Rows: 90 |</div><div> | Columns: 85 |</div><div> | Depths: 307 |</div><div> | Total Cells: 2348550 |</div><div> | Total size: 3180868 Bytes |</div><div> | Number of tiles: 336 |</div><div> | Mean tile size: 9466 Bytes |</div><div> | Tile size in memory: 30420 Bytes |</div><div> | Number of tiles in x, y and z: 6, 7, 8 |</div><div> | Dimension of a tile in x, y, z: 15, 13, 39 |</div><div> | |</div><div> | Projection: UTM (zone 17) |</div><div> | N: 4870795 S: 4825715 Res: 500.88888889 |</div><div> | E: 651669 W: 609204 Res: 499.58823529 |</div><div> | T: 352 B: 45 Res: 1 |</div><div> | Range of data: min = -8.99099445 max = 33.89262009 |</div><div> | |</div><div> | Data Source: |</div><div> | |</div><div> | |</div><div> | |</div><div> | Data Description: |</div><div> | generated by v.vol.rst |</div><div> | |</div><div> | Comments: |</div><div> | v.vol.rst input="BHMat1All_May12@Toronto" wcolumn="cat" tension=40. \ |</div><div> | smooth=0.1 segmax=50 npmin=200 npmax=700 dmin=2 wscale=1.0 zscale=1.\ |</div> | 0 elevation="BHALL_May24v2" </div></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">Le ven. 1 juin 2018 à 12:54, Francois Chartier <<a href="mailto:fra.chartier@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">fra.chartier@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Thanks, I'll check it out. </div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jun 1, 2018, 03:05 Veronica Andreo, <<a href="mailto:veroandreo@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">veroandreo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>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.</div><div><br></div><div>HTH, <br></div><div>Vero</div><div><br></div><div>[0] <a href="https://grass.osgeo.org/grass74/manuals/r.colors.html" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://grass.osgeo.org/grass74/manuals/r.colors.html</a><br></div></div><br><div class="gmail_quote"><div dir="ltr">El jue., 31 may. 2018 a las 3:18, Francois Chartier (<<a href="mailto:fra.chartier@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">fra.chartier@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, <div><br></div><div>I have created a 3D raster from soil properties with about 70K points, with a<u> lot of help from the mailing list i must say</u>. </div><div>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.</div><div>I have copied below the r3.colors and assigned '<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">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.</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">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.</span></div><div><br></div><div><div>+----------------------------------------------------------------------------+</div><div> | Layer: BHALL_May24v2@Toronto Date: Sun May 27 16:43:46 2018 |</div><div> | Mapset: Toronto Login of Creator: Francois Charti |</div><div> | Location: Toronto |</div><div> | DataBase: C:\Users\Francois Chartier\Documents\grassdata |</div><div> | Title: BHALL_May24v2 |</div><div> | Units: none |</div><div> | Vertical unit: units |</div><div> | Timestamp: none |</div><div> |----------------------------------------------------------------------------|</div><div> | |</div><div> | Type of Map: raster_3d Number of Categories: 0 |</div><div> | Data Type: FCELL |</div><div> | Rows: 90 |</div><div> | Columns: 85 |</div><div> | Depths: 307 |</div><div> | Total Cells: 2348550 |</div><div> | Total size: 3180868 Bytes |</div><div> | Number of tiles: 336 |</div><div> | Mean tile size: 9466 Bytes |</div><div> | Tile size in memory: 30420 Bytes |</div><div> | Number of tiles in x, y and z: 6, 7, 8 |</div><div> | Dimension of a tile in x, y, z: 15, 13, 39 |</div><div> | |</div><div> | Projection: UTM (zone 17) |</div><div> | N: 4870795 S: 4825715 Res: 500.88888889 |</div><div> | E: 651669 W: 609204 Res: 499.58823529 |</div><div> | T: 352 B: 45 Res: 1 |</div><div> | Range of data: min = -8.99099445 max = 33.89262009 |</div><div> | |</div><div> | Data Source: |</div><div> | |</div><div> | |</div><div> | |</div><div> | Data Description: |</div><div> | generated by v.vol.rst |</div><div> | |</div><div> | Comments: |</div><div> | v.vol.rst input="BHMat1All_May12@Toronto" wcolumn="cat" tension=40. \ |</div><div> | smooth=0.1 segmax=50 npmin=200 npmax=700 dmin=2 wscale=1.0 zscale=1.\ |</div><div> | 0 elevation="BHALL_May24v2" |</div><div> | |</div><div> +----------------------------------------------------------------------------+</div><div>(Wed May 30 21:11:59 2018) Command finished (0 sec) </div></div><div><br></div><div><br></div><div>----------------------------------------------------------------------------------------</div><div><br></div><div><div>(Wed May 30 21:10:02 2018) </div><div>r3.colors map=BHALL_May24v2@Toronto color=aspectcolr </div><div>Color table for raster3d map <BHALL_May24v2@Toronto> set to 'aspectcolr'</div><div>(Wed May 30 21:10:03 2018) Command finished (0 sec) </div></div></div>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a></blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>