[GRASS-user] db.? to change column names

2018-08-30 Thread Rich Shepard

  I imported a .dat file using v.in.ascii to a lon_lat location, then
re-projected it to the desired location. The column names for the CRS in the
database were still 'lon' and 'lat'. I did not see a db.* module to change
the names; neither db.columns nor db.describe have this capability.

  Using the gui I was able to 'manage tables' and change the column names
there, but did not look to see if there was the related command on the
bottom of the dialog box.

  What module lets me rename columns when working at the command line or
from a script?

Regards,

Rich

___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Error: Extension Not Found on Grass

2018-08-30 Thread Markus Neteler
On Mon, Aug 6, 2018 at 8:15 PM Lucila Dunnington
 wrote:
> Hello!
>
> Any time I try to add an extension on my Grass 7.4.1 it gives me the error 
> for example:
> Downloading precompiled GRASS Addons ...
> ERROR: Extension  not found

... please tell us which operating system you use.

> the extensions all appear to the in the list of the Grass-Addons SVN 
> repository
>
> I'm wondering if since I am operativg through a secure server, the extensions 
> can not be downloaded?

All possible but not expected and so far not reported.
Or, so you have to use a proxy?

Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Display times with ps.map products [FIXED]

2018-08-30 Thread Rich Shepard

On Thu, 30 Aug 2018, Rich Shepard wrote:


Where should I start looking for the reason? The *.psmap file? The
creation of the 'clipped' raster? Some place else?


  DIY: found and fixed the problem. The colortable command in the .psmap
file was set to the original raster map, not the new one. Now the .ps output
completes in 1m43.062s.

Rich
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Display times with ps.map products

2018-08-30 Thread Rich Shepard

On Thu, 30 Aug 2018, Rich Shepard wrote:


After 'clipping' the raster per the above series of commands the output
file, 'dubois_crk_dem' is much smaller at 169,182,790 Bytes, but when
ps.map is run it reports the output scale set to 1:789624, or almost 10x
larger. It also takes a _very_ long time to load while the .ps map is
being created.


  More information: I stopped the ps.map command after 21 minutes trying to
load dubois_crk_dem.

  Where should I start looking for the reason? The *.psmap file? The
creation of the 'clipped' raster? Some place else?

Rich
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Understanding Raster Map Input Files

2018-08-30 Thread Moritz Lennert

On 21/08/18 15:38, Vidura Dantanarayana wrote:

Hi all,
I'm currently doing my research on wildfire behavior modeling. For that 
purpose, I'm using the wildfire behavior module in GRASS GIS. I came up 
with these problems in understanding the sample raster map files 
provided by GRASS GIS. The content is as follows,


File 01: 1hour_moisture

# 15 categories   --->   (1)
1 Hour Fuel Moisture of Bass River Fire of 1977 -->   (2)

0.00 0.00 0.00 0.00 --->   (3)
0:no data 
->   (4)
3:3 % 
-->   (5)
15:15 % 
-->    (6)


Can you explain (1) to (6)

File 02: fire_origin

# 1 categories -> (7)
Map of Fire Origin of Bass River Fire > (8)

0.00 0.00 0.00 0.00 -> (9)
0:no data ---> (10)
1:fire origin -> 
(11)


Well, also (7) to (11)


The fire demo data comes in a ready-made GRASS location formation. The 
easiest way to use it is to create a directory (traditionally called 
"GRASSDATA", but you can chose any name you like) and to decompress the 
contents of the fire_grass6data.tar.gz into that directory. You can then 
launch GRASS GIS, pointing it to the demolocation and the demomapset.


The information you mention above comes from internal files of the GRASS 
Database which contain the category and category labels information. You 
do not need to understand these internal formats (part of the GRASS 
raster format which is organized in a series of files). Generally, you 
should never have to actually go into the GRASS database, i.e. the 
directory where GRASS stores its data, to get information from files. 
You should rather access this information via the relevant modules.


For example you can see the same information using r.category:

r.category 1hour_moisture
3   3 %
15  15 %

which means that two categories are identified for this file: 3, which 
is labeled '3%' and 15 which is labeled '15%'.


Using, for example, r.stats you can see how many pixels of the map are 
in each category:


r.stats -c 1hour_moisture --q
3 27139
15 3098
* 48163

(* representing NULL pixels which don't contain a value).

Moritz






___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS museum !

2018-08-30 Thread Rich Shepard

On Thu, 30 Aug 2018, "Peter Löwe" wrote:


I would be very glad if a central spot for memorabilia could be created
since I'm the current caretaker of the framed frontpage of GRASS manual
v.2. which was signed by William Shatner.


Peter,

  Perhaps the osgeo.org would provide a place. They could also include SAGA
and other open-source GIS tools, including a room dedicated to Frank
Warnerdam and Bill (I forget his last name) who worked at the USGS and
greatly contributed open-source code.

Rich
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS museum !

2018-08-30 Thread Rich Shepard

On Thu, 30 Aug 2018, "Peter Löwe" wrote:


Shall we give this a try ?


Peter,

  If the community thinks there's value in doing this, then go for it.

  I remember working with grass-4.x and frustrated by limitations such as
only integer values in raster maps. But, there were committed folks at CERL,
Baylor U., and Germany.

Regards,

Rich

___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] GRASS museum !

2018-08-30 Thread Peter Löwe
Hi Rich, hi all,

there is already a number of physical artifacts which are significant to the 
GRASS project (printed documentation with autographs, tape reels, etc.).

Maybe there will be someday a "shrine of GRASS" in one particular physical 
location (Urbana-Champaign ? Hannover ? Baylor ?).

In the meantime we could list and track the artifacts in the wiki in a "virtual 
shrine", so we know who's currently the caretaker of each artifact and where 
it's located.
To make the artifacts citeable by DOI, we could assign "landing pages" for them 
in a repository, like Zenodo. Landing pages can be updated when the caretaker 
changes or the artefact is moved to another pyhsical location. 

This would be very easy to achieve, as all of the infrastructure is already in 
place.   

Shall we give this a try ?

best,
Peter



___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Creating elevation for a location

2018-08-30 Thread Rich Shepard

On Thu, 30 Aug 2018, Veronica Andreo wrote:


It will be easier to help if you provide a more detailed description of
your problem and what you want to achieve. If what you need is slope and
aspect, the module you need is r.slope.aspect. This module needs an
elevation map as input.


  I will add that we need a definition of 'location.' Do you mean one point
or a defined area such as a drainage basin?

Rich
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Creating elevation for a location

2018-08-30 Thread Veronica Andreo
Hi Vidura,

It will be easier to help if you provide a more detailed description of
your problem and what you want to achieve. If what you need is slope and
aspect, the module you need is r.slope.aspect. This module needs an
elevation map as input.

HTH,
Vero

El jue., 30 ago. 2018 a las 9:03, Vidura Dantanarayana ()
escribió:

> Hi All,
> I'm a beginner user of Grass GIS (of course for GIS) and I want to know if
> it's possible to create a relevant elevation and aspect raster maps for a
> specified location. If it's possible, can you explain how to do that?
> Anyways have a good day everyone.
>
> BR,
> Vidura Dantanarayana.
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] Creating elevation for a location

2018-08-30 Thread Vidura Dantanarayana
Hi All,
I'm a beginner user of Grass GIS (of course for GIS) and I want to know if
it's possible to create a relevant elevation and aspect raster maps for a
specified location. If it's possible, can you explain how to do that?
Anyways have a good day everyone.

BR,
Vidura Dantanarayana.
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Display times with ps.map products

2018-08-30 Thread Helmut Kudrnovsky
Rich Shepard wrote
> On Wed, 29 Aug 2018, Helmut Kudrnovsky wrote:
> 
>> g.region -a raster=bedem vector=dubois_crk
>> r.mask vector=dubois_crk
> 
> Helmut,
> 
>The above work, but ...
> 
>> r.mapcalc newraster=yourraster
> 
>This doesn't:
> 
>r.mapcalc 'dbuois_crk_dem=bedem'
>...
>ERROR: r.mapcalc: Sorry, 
> 
>  is not a valid parameter
>[Raster MASK present]
> 
>I'm not seeing what I've done incorrectly.
> 
> Regards,
> 
> Rich
> 
> ___
> grass-user mailing list

> grass-user@.osgeo

> https://lists.osgeo.org/mailman/listinfo/grass-user

That was only a description of a possible workflow, not exact syntax of
every module.

For the syntax of r.mapcalc, see the manual:

https://grass.osgeo.org/grass75/manuals/r.mapcalc.html







-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user