[GRASS-user] Upper case letters for defining columns via v.db.addtable

2014-10-13 Thread Johannes Radinger
Hi, when I want to specify a column in v.db.addtable, all upper case letters in the column name get converted to lower case. I'm working on GRASS 71 (trunk). Is this an intended behaviour? v.db.addtable map=myMap table=test layer=3 columns=My_COL INT cheers, /Johannes

[GRASS-user] Categories in new layers of vector maps

2014-10-13 Thread Johannes Radinger
Hi, I am slightly confused about creating new layers for vector maps and adding a category value. I want to add a layer and subsequently I want to use v.what.rast to query a raster map and update that layer. Hence, I need categories in the new layer. However, it seems that adding a new table and

Re: [GRASS-user] Upper case letters for defining columns via v.db.addtable

2014-10-13 Thread Helmut Kudrnovsky
Johannes Radinger wrote Hi, when I want to specify a column in v.db.addtable, all upper case letters in the column name get converted to lower case. I'm working on GRASS 71 (trunk). Is this an intended behaviour? v.db.addtable map=myMap table=test layer=3 columns=My_COL INT cheers,

Re: [GRASS-user] Upper case letters for defining columns via v.db.addtable

2014-10-13 Thread Helmut Kudrnovsky
a quick test here with sqlite as db-backend: also tested with dbf as db-backend: v.db.addcolumn --verbose map=mybusstopdbf@g7 columns=My_COL4 integer Adding column My_COL4 to the table db.columns table=mybusstopdbf cat ROUTES

[GRASS-user] Possible to use vector attribute for r.carve's depth parameter

2014-10-13 Thread maning sambale
Hi, I have a series of vector polygon layer where there is an attribute for estimated depth of the rivers/streams. I want to use this in r.carve [0] to improve the river/stream channel of my DEM. As I understand it, r.carve [0] only uses a single float value to carve the stream channel. Instead

Re: [GRASS-user] Categories in new layers of vector maps

2014-10-13 Thread Pietro
Hi Johannes, On Mon, Oct 13, 2014 at 10:18 AM, Johannes Radinger johannesradin...@gmail.com wrote: The map firestations@PERMANENT has categories (stored in layer 1) v.category input=firestations@PERMANENT option=report Layer/table: 1/firestations type countminmax point

Re: [GRASS-user] Upper case letters for defining columns via v.db.addtable

2014-10-13 Thread Helmut Kudrnovsky
Can you please test v.db.addtable with columns specified. This module does not work correctly in my case. it's maybe around http://trac.osgeo.org/grass/browser/grass/trunk/scripts/v.db.addtable/v.db.addtable.py#L106 - best regards Helmut -- View this message in context:

Re: [GRASS-user] Compile GRASS GIS 7

2014-10-13 Thread stephen sefick
Please let me know if y'all need anything else. Thanks for all of the help! GRASS GIS compilation log - Started compilation: Mon Oct 13 08:08:20 CDT 2014 -- Errors in: /home/USER/source/grass/grass7/tools/timer /home/USER/source/grass/grass7/lib/raster

Re: [GRASS-user] Compile GRASS GIS 7

2014-10-13 Thread Markus Neteler
On Mon, Oct 13, 2014 at 3:31 PM, stephen sefick ssef...@gmail.com wrote: Please let me know if y'all need anything else. Thanks for all of the help! We need to know what happens *inside* the subdirectories :-) GRASS GIS compilation log - Started compilation: Mon Oct

Re: [GRASS-user] Compile GRASS GIS 7

2014-10-13 Thread Thomas Adams
Stephen, Almost seems as though there are permissions problems; are you doing this as yourself (your login) or root? Also, what is the result of ./configure? Very odd results! Tom On Mon, Oct 13, 2014 at 7:31 AM, stephen sefick ssef...@gmail.com wrote: Please let me know if y'all need

Re: [GRASS-user] Categories in new layers of vector maps

2014-10-13 Thread Moritz Lennert
On 13/10/14 10:18, Johannes Radinger wrote: Hi, I am slightly confused about creating new layers for vector maps and adding a category value. Have you read the section Vector object categories and attribute management in the vector processing intro:

Re: [GRASS-user] Problems installing add-ons GRASS 7

2014-10-13 Thread Markus Neteler
Hi, On Wed, Sep 17, 2014 at 6:59 PM, Luis Miguel Royo Pérez luis.miguel.r...@gmail.com wrote: Hi everyone, I'm getting this error when I try to install add-ons in Lubuntu 14.04 Unable to load extensions. Traceback (most recent call last): File /usr/lib/grass70/scripts/g.extension, line

Re: [GRASS-user] Problems with r.viewshed

2014-10-13 Thread Markus Neteler
Hi, just for the record: I tried and did not have a problem: GRASS 7.0.0svn (latlong):~ r.viewshed -b input=srtmv4_spain output=visPort coordinates=-3.74034324324,42.5352702703 obs_elev=9 tgt_elev=1.75 max_dist=3 Computing events... 100% Computing visibility... 100% Writing output

Re: [GRASS-user] my first script

2014-10-13 Thread Giuliano Urgeghe
Hi, thanks for your help. At moment I have another problem in my script I have this line: #grass.run_command('v.in.lines', overwrite=True, input = output_esond_txt , output = output_esond_gis, fs='|') grass.run_command('v.in.ascii', overwrite=True, format= 'point', fs='|', input =

[GRASS-user] Fwd: my first script

2014-10-13 Thread Giuliano Urgeghe
-- Forwarded message -- From: Giuliano Urgeghe giulian...@gmail.com Date: 2014-10-13 23:53 GMT+02:00 Subject: Re: [GRASS-user] my first script To: Johannes Radinger johannesradin...@gmail.com Cc: grass-user@lists.osgeo.org Hi, thanks for your help. At moment I have another

Re: [GRASS-user] my first script

2014-10-13 Thread Anna Petrášová
On Mon, Oct 13, 2014 at 5:53 PM, Giuliano Urgeghe giulian...@gmail.com wrote: Hi, thanks for your help. At moment I have another problem in my script I have this line: #grass.run_command('v.in.lines', overwrite=True, input = output_esond_txt , output = output_esond_gis, fs='|')

Re: [GRASS-user] fatal error: 'libintl.h' file not found (OSX)

2014-10-13 Thread William Kyngesburye
libintl.h is not part of the OS X system, so it needs to be included in the GRASS app. I don't build my GRASS app with libintl, but I think Michael Barton does. But first, make sure you have the latest version of GRASS, 6.4.4. Michael may have missed libintl.h in older versions but fixed it