Re: [GRASS-user] v.net parallelisation issues

2015-02-13 Thread Moritz Lennert
On 13/02/15 08:39, Mark Wynter wrote: I’ve encountered a bottleneck somewhere with v.net when scaling out with GNU Parallel… not sure if its an underlying issue with v.net or the way I’m calling the batch jobs? I’ve got 32 CPUs and commensurate RAM. What I’m obser

Re: [GRASS-user] SQLite Error

2015-02-12 Thread Moritz Lennert
On 12/02/15 13:30, Mark Wynter wrote: Haven’t come across anything to that effect Can you set schema='' or something like that ? Moritz I’ve reverted back to using solely PG driver - notwithstanding this SQLite issue. As a prologue to the several issues I encountered with Grass over the l

Re: [GRASS-user] v.parallel output with self intersecting line

2015-02-12 Thread Moritz Lennert
On 12/02/15 09:55, Roy wrote: Hi, i'm using v.parallel and i get self intersecting lines (on one side) as result, i obtain this expecially with "hook shaped lines"; Is it the same as what is reported in this bug: trac.osgeo.org/grass/ticket/2531 ? also the resulting vector does not have

Re: [GRASS-user] SQLite Error

2015-02-12 Thread Moritz Lennert
se: /var/tmp/nodeclean/PERMANENT/sqlite/sqlite.db schema: grass group: grass70 -text -c EPSG:3577 /var/tmp/test GRASS 7.0.0svn (test):~ > db.connect -p driver: sqlite database: /var/tmp/test/PERMANENT/sqlite/sqlite.db schema: group: On 12 Feb 2015, at 7:05 pm, Moritz Lennert mailto:mlenn...@cl

Re: [GRASS-user] SQLite Error

2015-02-12 Thread Moritz Lennert
On 12/02/15 02:14, Mark Wynter wrote: #(2) RESET THE DATABASE DRIVER FOR THE CURRENT MAPSET TO SQLITE db.connect driver=sqlite database='$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db' schema=grass db.connect -p #Output driver: sqlite database: /var/tmp/nodeclean/PERMANENT/sqlite/sqlite.db s

Re: [GRASS-user] Help with defining DB Drivers for input and outputs

2015-02-11 Thread Moritz Lennert
On 12/02/15 00:12, Mark Wynter wrote: Within the same mapset, is it possible to specify SQLITE as the database for the output layer, whilst using a map as an input that has a PG driver? I’ve read the manual and tried a few approaches, but I found the outputs still get written to PG. May be I’ve

Re: [GRASS-user] GRASS 7 d.vect.thematic, how to automatically generate breaks and assign colors and make a psmap legend?

2015-02-06 Thread Moritz Lennert
On 05/02/15 21:38, James Powell wrote: In the upgrade from GRASS 6.4.2 to GRASS 7, d.vect.thematic seems to have changed significantly. This is my tool of choice for making a legend for vector layers. For example, given a street map of lines called streetswm, and a column dacount indicating ve

Re: [GRASS-user] generalize polygons including holes

2015-02-05 Thread Moritz Lennert
On 05/02/15 14:49, Markus Metz wrote: On Thu, Feb 5, 2015 at 11:50 AM, Moritz Lennert wrote: On 05/02/15 10:06, Markus Metz wrote: On Thu, Feb 5, 2015 at 9:36 AM, Moritz Lennert wrote: [Please keep conversations on the list] On 04/02/15 16:12, Robert Nuske wrote: Hi Moritz is there

Re: [GRASS-user] generalize polygons including holes

2015-02-05 Thread Moritz Lennert
On 05/02/15 10:06, Markus Metz wrote: On Thu, Feb 5, 2015 at 9:36 AM, Moritz Lennert wrote: [Please keep conversations on the list] On 04/02/15 16:12, Robert Nuske wrote: Hi Moritz is there a way to generalize polygons including their holes? I am not too worried about topology, there are

Re: [GRASS-user] r.category value range

2015-02-05 Thread Moritz Lennert
On 05/02/15 11:12, Martin Album Ytre-Eide wrote: Hey, thanks! r.recode worked for me. As mentioned r.category clames it can do this, and in different cases - it might be more usefull to work with labels. I was trying to add labels and then do a "r.mapcalc expression="snow_type= @lwc_2014_05_15"

Re: [GRASS-user] generalize polygons including holes

2015-02-05 Thread Moritz Lennert
[Please keep conversations on the list] On 04/02/15 16:12, Robert Nuske wrote: Hi Moritz is there a way to generalize polygons including their holes? I am not too worried about topology, there are only polygons of one class in the dataset. I tried the following v.generalize in=m3 out=m5 type

Re: [GRASS-user] r.category value range

2015-02-04 Thread Moritz Lennert
On 04/02/15 15:51, Moritz Lennert wrote: On 04/02/15 15:45, Moritz Lennert wrote: On 04/02/15 15:23, Markus Metz wrote: On Wed, Feb 4, 2015 at 1:14 PM, Moritz Lennert wrote: On 04/02/15 11:48, Martin Album Ytre-Eide wrote: Hello! I trying to set a label for a range of values in a raster

Re: [GRASS-user] r.category value range

2015-02-04 Thread Moritz Lennert
On 04/02/15 15:45, Moritz Lennert wrote: On 04/02/15 15:23, Markus Metz wrote: On Wed, Feb 4, 2015 at 1:14 PM, Moritz Lennert wrote: On 04/02/15 11:48, Martin Album Ytre-Eide wrote: Hello! I trying to set a label for a range of values in a raster. I am using r.category (grass 7.0

Re: [GRASS-user] r.category value range

2015-02-04 Thread Moritz Lennert
On 04/02/15 15:23, Markus Metz wrote: On Wed, Feb 4, 2015 at 1:14 PM, Moritz Lennert wrote: On 04/02/15 11:48, Martin Album Ytre-Eide wrote: Hello! I trying to set a label for a range of values in a raster. I am using r.category (grass 7.0) "r.category map=lwc_2014 separator=

Re: [GRASS-user] generalize polygons including holes

2015-02-04 Thread Moritz Lennert
On 04/02/15 11:36, Robert Nuske wrote: Hi GRASS-Users is there a way to generalize polygons including their holes? I am not too worried about topology, there are only polygons of one class in the dataset. I tried the following v.generalize in=m3 out=m5 type=area method=douglas threshold=5000

Re: [GRASS-user] r.category value range

2015-02-04 Thread Moritz Lennert
On 04/02/15 11:48, Martin Album Ytre-Eide wrote: Hello! I trying to set a label for a range of values in a raster. I am using r.category (grass 7.0) "r.category map=lwc_2014 separator=':' rules=lwc.rules" My lwc.rules looks like this: 0:30:0.9 31:90:0.7 91:252:0.5 so, r.category does not

Re: [GRASS-user] Reconnecting vector attribution with Postgres/PostGIS

2015-02-02 Thread Moritz Lennert
On 02/02/15 14:36, Markus Metz wrote: On Mon, Feb 2, 2015 at 1:57 PM, Moritz Lennert wrote: On 02/02/15 13:37, Paul Shapley wrote: Hi Grass 7 users. I am trying to connect some vector layers with thier respective attribute tables in postgres/postgis. The tables all connected under version

Re: [GRASS-user] Reconnecting vector attribution with Postgres/PostGIS

2015-02-02 Thread Moritz Lennert
On 02/02/15 13:37, Paul Shapley wrote: Hi Grass 7 users. I am trying to connect some vector layers with thier respective attribute tables in postgres/postgis. The tables all connected under version 6.4.4 but not since upgrading to version 7RC1 (on winxp in this instance) they do not. It looks l

Re: [GRASS-user] How to read the v.build-dump options?

2015-02-02 Thread Moritz Lennert
On 30/01/15 12:16, Helmer Schack-Kirchner wrote: Dear grass-user members, to identify nodes of lines and to analyse the geometry of line crossings the output of the dump of v.build seems to be very useful. However I do not benefit fully of this data, because I did not find any explanation of the

Re: [GRASS-user] r.cost: exact meaning of percent_memory ?

2015-01-25 Thread Moritz Lennert
On 23/01/15 20:49, Markus Metz wrote: On Fri, Jan 23, 2015 at 6:16 PM, Moritz Lennert wrote: On 22/01/15 21:12, Markus Metz wrote: On Thu, Jan 22, 2015 at 2:30 PM, Moritz Lennert wrote: IIUC, this would mean that if I have a region of X DCELL cells, I would need: X*8 bytes of memory, or

Re: [GRASS-user] r.cost: exact meaning of percent_memory ?

2015-01-23 Thread Moritz Lennert
On 22/01/15 21:12, Markus Metz wrote: On Thu, Jan 22, 2015 at 2:30 PM, Moritz Lennert wrote: I am trying to understand the 'percent_memory' option in r.cost. In the man page it says: "The amount of map to hold in memory at one time can be controlled with the percent_memory op

[GRASS-user] r.cost: exact meaning of percent_memory ?

2015-01-22 Thread Moritz Lennert
I am trying to understand the 'percent_memory' option in r.cost. In the man page it says: "The amount of map to hold in memory at one time can be controlled with the percent_memory option. For large maps this value will have to be set to a lower value.". IIUC, this would mean that if I have a

Re: [GRASS-user] Checking and fixing roads for network analysis

2015-01-19 Thread Moritz Lennert
On 19/01/15 16:48, Daniel Victoria wrote: Hi Mark and others, I figured out where the error I'm getting from v.net.components is coming from. I just don't know how to fix it. The problem is that when I clean my roads network it's breaking some lines and these are kept with the same categories. S

Re: [GRASS-user] v.out.ogr drops some columns with non informative error

2014-12-17 Thread Moritz Lennert
On 17/12/14 16:26, Margherita Di Leo wrote: Hi Moritz, On Wed, Dec 17, 2014 at 3:59 PM, Moritz Lennert mailto:mlenn...@club.worldonline.be>> wrote: Are you exporting to shapefile ? There is a 10-letter limit to column names and apparently also a 255 columns limit:

Re: [GRASS-user] v.out.ogr drops some columns with non informative error

2014-12-17 Thread Moritz Lennert
On 17/12/14 14:59, Margherita Di Leo wrote: Hi, I'm experiencing this problem, exporting a vector file with a table associated, several columns are exported but two of them are dropped, and the error is not informative: ERROR 6: Failed to add field named 'wetness_idx' ERROR 6: Failed to add fie

Re: [GRASS-user] grass : how to do Isochrone maps?

2014-12-10 Thread Moritz Lennert
On 09/12/14 17:37, image93 wrote: Hello, Thank you very much. The v.isochrones seems to require in input a vector network (roads) with a speed attributes column. I have just checked my openstreetmap roads vector layer. And this column is not fully completed, data are lacking for many routes. How

Re: [GRASS-user] grass 7 : ERROR: G_malloc

2014-12-10 Thread Moritz Lennert
On 10/12/14 13:33, image93 wrote: Hello, I tried several tests with grass 7 on my windows station. When i launch the process (v.isochrones), error messages appear, one of them is ERROR: G_malloc. Please find below the message. ---

Re: [GRASS-user] randomize the position of a raster map

2014-12-09 Thread Moritz Lennert
On 08/12/14 18:26, Milton Ribeiro wrote: Hi all, I have a landcover maps, and I need to randomize the position of them, keeping all the pixels on the new raster map. IIUC, you actually want to randomize the categories of pixels where categories are land covers and there is a constraint that y

Re: [GRASS-user] grass : how to do Isochrone maps?

2014-12-09 Thread Moritz Lennert
On 07/12/14 23:38, image93 wrote: Hello, Thank you for your reply. Sorry i'm newbie with grass 1/ I downloaded grass 7 beta on my windows 7. I installed the v.isochrones from addons. But how to use this new extension ? is it possible to use an graphical interface (gui) or i have to use the prom

Re: [GRASS-user] DTM/DEM to TIN

2014-12-05 Thread Moritz Lennert
On 05/12/14 16:24, G. Allegri wrote: I've just discoevered r.refine, which seems to do exactly what I need ;) https://github.com/jontodd/r.refine Looks great. Maybe you can convince the author to put the code into the GRASS addons SVN ? Moritz ___

Re: [GRASS-user] grass : how to do Isochrone maps?

2014-12-04 Thread Moritz Lennert
On 04/12/14 10:12, image93 wrote: Hello, I would like to make Isochrone maps with grass(time and distance calculations) 1 / Could you tell me how to do that with grass please? In GRASS7 You can use the extension v.isochrones [1]. But this is just a script which provides some fancy packagin

Re: [GRASS-user] Loading JSON data in GRASS

2014-12-04 Thread Moritz Lennert
output=patched_map should work just as well. Moritz Thanks again Roy -Original Message- From: Moritz Lennert [mailto:mlenn...@club.worldonline.be] Sent: Wednesday, December 03, 2014 3:59 AM To: Arighna; 'Vaclav Petras'; grass-user@lists.osgeo.org Subject: Re: [GRASS-u

Re: [GRASS-user] Loading JSON data in GRASS

2014-12-03 Thread Moritz Lennert
On 02/12/14 17:51, Arighna wrote: I am using -e flag to copy the attribute table as well. I have data in json format. I am importing json data in separate maps and then patching them into one map to have all the points in one place. So, if you have several patch_map*, then you could just do:

Re: [GRASS-user] temporal mapcalc 3hour precipitation to hourly

2014-12-02 Thread Moritz Lennert
On 02/12/14 13:30, maning sambale wrote: Hi, A have a temporal raster of 3hourly_rainrate. t.rast.list input=3hr_rainrate name|mapset|start_time|end_time 3hr_rainrate_2014-11-13_0300|PERMANENT|2014-11-13 03:00:00|2014-11-13 06:00:00 3hr_rainrate_2014-11-13_0600|PERMANENT|2014-11-13 06:00:00|20

Re: [GRASS-user] Loading JSON data in GRASS

2014-12-02 Thread Moritz Lennert
On 02/12/14 10:12, Arighna wrote: Hi Moritz, Thanks a lot for your reply. It is connected with the 'cat' column as I didn't provide any key column while importing the data. Both the input and the output maps have the key column as 'cat'. Still I am getting the error. Could this be a problem tha

Re: [GRASS-user] Loading JSON data in GRASS

2014-12-02 Thread Moritz Lennert
On 30/11/14 06:10, arighna roy wrote: Hi, I am trying to append points to a new map patch_map6. v.patch -e input=patch_map1 output=patch_map6 When I run the above command I get the following error. ERROR: Key column not found I don't know which column it is looking for. The "key column"

Re: [GRASS-user] mapping interface

2014-12-02 Thread Moritz Lennert
On 02/12/14 05:25, shashank khare wrote: Thanks Markus! It is close to what I was trying to do but still I would love someday GRASS to have a modular GUI especially 3D which can be embedded in any app within few minutes. Not sure I understand exactly what you are looking for, but have you lo

Re: [GRASS-user] how to change all cats in a vector line

2014-12-01 Thread Moritz Lennert
On 30/11/14 06:28, Michael Barton wrote: C. Michael Barton Director, Center for Social Dynamics & Complexity Professor of Anthropology, School of Human Evolution & Social Change Head, Graduate Faculty in Complex Adaptive Systems Science Arizona State University voice: 480-9

Re: [GRASS-user] Computing major and minor axes for polygons

2014-11-24 Thread Moritz Lennert
On 21/11/14 23:19, Benjamin Ducke wrote: Hi All -- Does anybody here know of an existing GRASS modules that will compute the major and minor axes for the polygons of a vector map? I don't know how you define these axes for a polygon, but I imagine that v.voronoi's '-s' flag might help you (gr

Re: [GRASS-user] i.maxlik's reject versus i.segment's goodness

2014-11-20 Thread Moritz Lennert
On 20/11/14 08:40, Markus Metz wrote: On Wed, Nov 19, 2014 at 2:04 PM, Moritz Lennert wrote: On 18/11/14 09:47, Markus Metz wrote: On Sun, Nov 16, 2014 at 3:21 AM, Vaclav Petras wrote: Hi, I executed the examples in i.cluster and i.maxlik manuals and also the following i.segment command

Re: [GRASS-user] i.maxlik's reject versus i.segment's goodness

2014-11-19 Thread Moritz Lennert
On 18/11/14 09:47, Markus Metz wrote: On Sun, Nov 16, 2014 at 3:21 AM, Vaclav Petras wrote: Hi, I executed the examples in i.cluster and i.maxlik manuals and also the following i.segment command: i.segment group=lsat7_2002@w1-imagery output=lsat7_2002_segments threshold=0.5 goodness=lsat7_200

Re: [GRASS-user] A question before I embark on a programming exercise

2014-11-14 Thread Moritz Lennert
On 14/11/14 11:21, Rainer M Krug wrote: Glynn Clements writes: Moritz Lennert wrote: r.mapcalc down_id = if(dir=1, id[1,1], if(dir=2, id[0,1], if(dir=3, id[-1,1] etc r.mapcalc follows C expression syntax; "="is assignment, "==" is the equality test. In this

Re: [GRASS-user] A question before I embark on a programming exercise

2014-11-13 Thread Moritz Lennert
On 13/11/14 00:25, Thomas Adams wrote: Moritz, I need to be sure I understand this line: down_id = if(dir=1, id[1,1], if(dir=2, id[0,1], if(dir=3, id[-1,1] etc dir=1 is what direction?; dir=2 is what direction?, etc. Is dir=1 directly to the 'East', dir=3 directly 'south', dir=5 directly

Re: [GRASS-user] A question before I embark on a programming exercise

2014-11-12 Thread Moritz Lennert
On 12/11/14 05:10, Thomas Adams wrote: I need to generate an ascii text file from a flow direction grid that consists of (among a couple other things that don't really matter at this point) for each pixel: Rainer has already given you a whole program, but here's a decomposition in simple (unte

Re: [GRASS-user] v.rast.stats by other column instead of 'cat'

2014-11-07 Thread Moritz Lennert
On 07/11/14 10:25, Javier Martínez-López wrote: Dear all, is it possible to use v.rast.stats or a similar function to compute univariate statistics from a raster map for each category present in a column of a vector map? As far as I know v.rast.stats only allow to do it by 'cat'. I think this

Re: [GRASS-user] [GRASS-dev] problem with creating areas from set of points with specific category

2014-11-07 Thread Moritz Lennert
On 05/11/14 22:00, Anna Petrášová wrote: Hi, my problem is - I have polygons defined as a set of coordinates with assigned categories and I want to create vector areas where the centroid would have that category. I don't want to use PyGRASS because of ctypes. I wanted to write an ascii file (asc

Re: [GRASS-user] [GRASS-dev] recent presentation of GRASS7

2014-11-05 Thread Moritz Lennert
On 04/11/14 13:48, Yann Chemin wrote: Hi Moritz, Please check the grass-promo materials, both in posters and lectures directories Thanks for the reminder, Yann ! I knew we had something, but I forgot to look in the svn tree... Moritz On Nov 4, 2014 5:50 PM, "Moritz Lennert" ma

[GRASS-user] recent presentation of GRASS7

2014-11-04 Thread Moritz Lennert
Does anyone have recent presentation material (slides or similar) on GRASS in general, but more particularly GRASS 7 and its new features ? I will present Grass 7 at the be-openGIS-fr on Thursday, and want to avoid reinventing the wheel if not necessary. Moritz

Re: [GRASS-user] mounting a read-only PERMANENT from remote server

2014-10-30 Thread Moritz Lennert
On 30/10/14 10:52, Markus Neteler wrote: On Thu, Oct 30, 2014 at 10:23 AM, Moritz Lennert wrote: Hello, I know that people work with entire GISDBASES on remote server, often via NFS, but does anyone have experience with mounting only one mapset from a remote server into a location on the

[GRASS-user] mounting a read-only PERMANENT from remote server

2014-10-30 Thread Moritz Lennert
Hello, I know that people work with entire GISDBASES on remote server, often via NFS, but does anyone have experience with mounting only one mapset from a remote server into a location on the local machine ? Moritz ___ grass-user mailing list grass-

Re: [GRASS-user] detecting olive trees from satellite imagery

2014-10-29 Thread Moritz Lennert
On 29/10/14 15:05, Margherita Di Leo wrote: Dear All, I have to develop a classifier to detect olive tree canopies using Geoeye-1 images. I had thought of segmentation and indeed the segmentation is capable of separating and detecting canopies. However I need now a classifier that retains only t

Re: [GRASS-user] Loading JSON data in GRASS

2014-10-22 Thread Moritz Lennert
On 21/10/14 04:38, Arighna wrote: Hi Vaclav, I have loaded the point in GRASS. But the attributes are not loaded successfully. I am posting one sample data. Could you please help me finding what is wrong with the data. Or maybe I am going wrong with the loading process. This sample data is not

Re: [GRASS-user] Overlapping points in ps.map

2014-10-22 Thread Moritz Lennert
On 21/10/14 17:41, Johannes Radinger wrote: Hi, I am trying to use ps.map to create a map of many vector points which should be colored based on the values (0-1) in a specific column in the attribute table. If I understood the manual correctly, I need to create an rgbcolumn indicating the color

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: http://grass.osgeo.org/grass64/manuals/

Re: [GRASS-user] Basic problem with defining parameter

2014-10-08 Thread Moritz Lennert
On 08/10/14 16:00, adamhoff wrote: Hello, I'm new to GRASS and programming and I'm trying to learn Grass shell programming and developing a small code help me automate my work. I'm doing this tutorial grasswiki.osgeo.org/wiki/Shell_scripting and have already run into a problem (which, early in a

Re: [GRASS-user] Which algorithm does v.net.path use?

2014-09-30 Thread Moritz Lennert
On 29/09/14 12:54, Pilaf wrote: Hi everybody, I'm interested in knowing what algorithm is used for the v.net.path shortest path computation. AFAICT, it's Dijkstra: http://trac.osgeo.org/grass/browser/grass/trunk/lib/vector/dglib/graph.c#L785 Moritz ___

Re: [GRASS-user] how to tweak the parameters to speed up i.segment

2014-09-26 Thread Moritz Lennert
On 26/09/14 11:56, Margherita Di Leo wrote: Hi, I have not clear understanding how the parameters [...] in i.segment could be tweaked to speed up the running time. meansize I suppose you mean minsize ? This does not speed up running time. It just adds a last iteration that ignores the t

Re: [GRASS-user] Equidistant points along lines of a vector network

2014-09-23 Thread Moritz Lennert
On 23/09/14 10:23, Johannes Radinger wrote: Hi, I've got a vector network (river network) and I want to place points along that network. The points should be placed every 250 m starting from the outlet. Any network junctions should be ignored so that every point is 250 apart from the next upstre

Re: [GRASS-user] v.net.centrality closeness

2014-09-11 Thread Moritz Lennert
On 10/09/14 16:31, Will Fields wrote: I'm using v.net.centrality to do some calculations, and I had a question about how closeness centrality is calculated by the module: Is the value for closeness centrality actually "farness" (the sum of the distance from a site in a network to all other sites

[GRASS-user] New addon: v.centerline

2014-08-29 Thread Moritz Lennert
FYI I just added a new module to the GRASS7 addons [1] which I called v.centerline. It is somewhat of an experimental module and I invite anyone with other ideas of how to solve this problem to add to the module. Below a description of the module and the two implemented algorithms. Enjoy !

Re: [GRASS-user] GRASS r.flow command error

2014-08-29 Thread Moritz Lennert
On 28/08/14 00:53, john polo wrote: Hi, I am using the r.flow command from the GRASS toolset inside of QGIS with no success. My apologies if this should be on QGIS-users instead. The raster file I am using is an elevation map from USDA's data gateway. I'm on a Win 7 64bit machine with QGIS 2.4 ju

Re: [GRASS-user] Grouping spatial points

2014-07-08 Thread Moritz Lennert
On 08/07/14 13:58, Johannes Radinger wrote: Hi, I've a point vector containing more than 500 points. Some of these points are spatially clumped while others are single independent points (from viewing the map). Now I am wondering if there is any tool in GRASS (or maybe other spatial-statistical

Re: [GRASS-user] quick way to create a mask and region after zooming in?

2014-07-08 Thread Moritz Lennert
On 03/07/14 01:11, Vishal Mehta wrote: hi all, i want to zoom into a region of interest and have that be the extent of a mask and a named region.(no single map layer quite covers the region of interest) isn't there a a command or flag with g.region or r.mask to do this? if not i'm looking at ha

Re: [GRASS-user] turning grass.commands quiet

2014-07-02 Thread Moritz Lennert
On 02/07/14 13:04, Martin Landa wrote: Hi, 2014-07-02 3:50 GMT+02:00 Milton Ribeiro : Is there a way of the grass commands not send any messages while running? yes, set up environmental variable GRASS_VERBOSE to 0, or -1 (also error messages will suppressed in this case). bash: export GRASS

Re: [GRASS-user] Problem creating signature file with i.gensig in

2014-07-02 Thread Moritz Lennert
On 02/07/14 16:01, lbianchi wrote: Hi, this is my first message to the list. I'm using Grass 6.4.3 under Linuxmint 16. I'm trying to make a supervised classification. After digitizing the training areas, I transformed them from vector to raster. Then I've done the following: /|g.region rast=tr

Re: [GRASS-user] i.segment

2014-06-30 Thread Moritz Lennert
On 30/06/14 12:09, Francesco Nex wrote: Hi, My name is Francesco and I'm very new with GRASS. I tried to use the i.segment command and I got a problem. The command lines I used are the following: i.segment -d group=060140_file_OFD output=060140_file_segs_L1 threshold=0.1 i.segment -d group=0601

Re: [GRASS-user] classify image after i.segment

2014-06-27 Thread Moritz Lennert
On 26/06/14 23:54, Milton Ribeiro wrote: Just one more question: how can I use the objects output from i.segment in the steps to classify the image using i.maxlik? I tried to find a step-by-step classification using the raster objects from i.segment by no luck. If you really want to use i.maxl

Re: [GRASS-user] classify image after i.segment

2014-06-26 Thread Moritz Lennert
On 26/06/14 05:33, Milton Ribeiro wrote: Dear all, I got a set of i.segment output objects, and would like to classify the pixels within the regions. Check out the v.class.ml addon [1]. For a general procedure with modules in GRASS core see the script attached to this message [2] And the w

Re: [GRASS-user] something wrong with v.colors?

2014-05-13 Thread Moritz Lennert
On 13/05/14 04:04, Veronica Andreo wrote: Dear all, Is something wrong with v.colors? I'm not able to colorize anything, it does say it sets the corresponding color table, but then... just grey... v.colors map=soils_general@PERMANENT use=cat color=wave d.mon wx0 d.vect soils_general ---> no col

Re: [GRASS-user] r.covar and its n-value

2014-05-05 Thread Moritz Lennert
On 02/05/14 11:27, Moritz Lennert wrote: On 01/05/14 20:12, Vladimír Fárek wrote: Hello friends, I'm little bit confused about the r.covar correlation outputs. Do r.covar counts all cells in compared grids, or uses it only sample-cells? How to find out the n-value of given outputs? n i

Re: [GRASS-user] join r.coin-result to a vector attribute table

2014-05-05 Thread Moritz Lennert
On 04/05/14 15:41, Helmut Kudrnovsky wrote: hi, given - a vector map (v) rasterized by v.to.rast via an ID (vr) - r.coin (vr) with another raster (rast2) any hints/ideas how to "join" back the r.coin-result of (vr) with (rast2) back to the vector (v) attribute table? I would recommend using

Re: [GRASS-user] r.covar and its n-value

2014-05-02 Thread Moritz Lennert
On 01/05/14 20:12, Vladimír Fárek wrote: Hello friends, I'm little bit confused about the r.covar correlation outputs. Do r.covar counts all cells in compared grids, or uses it only sample-cells? How to find out the n-value of given outputs? n is the number of non-null cells in the current regi

Re: [GRASS-user] filling inter-contour area with constant value

2014-04-29 Thread Moritz Lennert
[Please keep threads on the list] On 29/04/14 00:33, John Ciolek wrote: Hi Moritz. What do you mean by the following suggestion? On Apr 28, 2014, at 2:45 AM, Moritz Lennert wrote: - if necessary, add a line at the edge of the region and patch that with your contour lines to close polygons

Re: [GRASS-user] filling inter-contour area with constant value

2014-04-28 Thread Moritz Lennert
On 28/04/14 10:12, Venkatesh Raghavan wrote: Hi Moritz and Markus, On 2014/04/28 16:54, Markus Neteler wrote: On Mon, Apr 28, 2014 at 9:46 AM, Moritz Lennert wrote: ... This stackoverflow question is about colors, not values. Which are you looking for exactly ? Need to fill unique values

Re: [GRASS-user] filling inter-contour area with constant value

2014-04-28 Thread Moritz Lennert
On 28/04/14 06:07, Venkatesh Raghavan wrote: Dear All, We are trying some morphological DEM interpolation algorithm which requires rasterized contour maps with constant values in intercontour areas. For example I like to fill the area between 10 and 20 meter, 20-30 meter vector contour lines wit

Re: [GRASS-user] Help needed for ascii point export

2014-04-15 Thread Moritz Lennert
On 15/04/14 13:03, Thomas Adams wrote: Moritz et al, Thank you for the helpful suggestions. One of the problems I have is that about half of the points are in a tidal estuary where the elevations are all zero (sea level); so utilizing the elevations to sort will not work -- I have several thousa

Re: [GRASS-user] Help needed for ascii point export

2014-04-15 Thread Moritz Lennert
On 15/04/14 08:13, jctorres wrote: Hello You can create a map of these points contining the elevation as attribute. Once you output this map you could sort points using the elevation values. you can do this for instance using v.to.rast to convert the points to raster, them combine this map with

[GRASS-user] v.neighborhoodmatrix

2014-04-05 Thread Moritz Lennert
Hello, FYI: I just added to the grass7 vector addons svn a small and simple module that calculates the adjacency (nieghborhood) matrix of polygons in a vector map and outputs it either into a file or to stdout. I hope it comes in handy to some. Moritz

Re: [GRASS-user] r.mapcalc and g.region

2014-03-31 Thread Moritz Lennert
On 31/03/14 15:33, BLANDENIER Lucien wrote: Hello, I'm wondering how does r.mapcalc compute the value of a new pixcel if the resolution have been reduced before (i.e. the pixcel is larger). Is it an average ? I did a simple test with a 10*10 pixcel raster. I reduced the resolution to 5*5 and

Re: [GRASS-user] visited lines

2014-03-25 Thread Moritz Lennert
On 24/03/14 18:24, Annalisa Minelli wrote: Hello Moritz, I tried your solution and since I generated the path using the same v.net.path with the same -s flag (which preserves the segments) that you suggest, when I do the v.distance trying to "copy" the attribute cat from the net segments it seems

Re: [GRASS-user] visited lines

2014-03-24 Thread Moritz Lennert
On 24/03/14 17:10, Moritz Lennert wrote: On 20/03/14 11:41, Annalisa Minelli wrote: Hi list, I have a maybe stupid question, but I should identify (by category) the net lines visited from going to one point to another along a net. I tried the v.net <http://v.net> module, but I'm not

Re: [GRASS-user] visited lines

2014-03-24 Thread Moritz Lennert
On 20/03/14 11:41, Annalisa Minelli wrote: Hi list, I have a maybe stupid question, but I should identify (by category) the net lines visited from going to one point to another along a net. I tried the v.net module, but I'm not colpletely sure to have understood what the 'nreport'

Re: [GRASS-user] projection issue

2014-03-24 Thread Moritz Lennert
On 24/03/14 14:03, Vincent Bain wrote: Le lundi 24 mars 2014 à 13:49 +0100, Moritz Lennert a écrit : You're not wrong. The difference comes from the GRASS file /etc/ogr_csv/pcs.csv in which there is a specific rule set for 3857. Don't know why, though. Moritz Thank you Morit

Re: [GRASS-user] projection issue

2014-03-24 Thread Moritz Lennert
On 24/03/14 13:10, Vincent Bain wrote: Comment on my previous message : if we have a closer look at parameters, we notice a difference between the current (grass location) projection parameters and epsg:3857 parameters : Current : a (semi-major axis) = 6378137 rf (flattening f

Re: [GRASS-user] issues with netCDF import

2014-03-21 Thread Moritz Lennert
On 21/03/14 15:28, Damian Maddalena wrote: Hi Anna, Thank you for the reply. The output from running gdalinfo NETCDF:"global_30s_2009_153.nc ":lai is below. I do not see anything in the metadata that suggests a problem. Perhaps a more experienced eye can find the

Re: [GRASS-user] connect points to a network with areal constraints

2014-03-17 Thread Moritz Lennert
On 14/03/14 10:38, Annalisa Minelli wrote: Dear list, I should connect some points to an existing network but I have some geographical contraints (areal zones which cannot be crossed by connections). I tried using v.net staff but these modules seems not to give me the possibility t

[GRASS-user] survey: use of different geometry types in same vector map

2014-03-05 Thread Moritz Lennert
Hello, Recent discussions here with colleagues about GRASS' vector format and the teaching of vector handling in GIS have brought up a question about the fact that GRASS (contrary to some other well-known vector formats) allows a mix of geometry types (points, lines, polygons) in the same map

Re: [GRASS-user] Network problem and v.net.visibility approach

2014-02-28 Thread Moritz Lennert
On 28/02/14 15:58, Margherita Di Leo wrote: Dear All, Can this problem [1] posed on stackexchange be solved using v.net.visibility? For those to lazy to go and look: "I'm dealing with a quite big line shapefile containing road tracks. The roads are connected to each other, creating distinct

Re: [GRASS-user] Tessellation of a set of polygons

2014-02-27 Thread Moritz Lennert
On 27/02/14 11:58, Thomas Leduc wrote: Thanks a lot for your concern. Please find enclosed the corresponding .prj file. I don't have time to look into this any further right now, but the import of the file reports a series of topological errors. You might want to check on those, first. Mori

Re: [GRASS-user] Resetting vector cats and/or a quick exchange between numpy and vector tables

2014-02-27 Thread Moritz Lennert
On 24/02/14 18:58, Michel Wortmann wrote: Thanks for your help Markus, see below. On 02/23/2014 11:32 PM, Markus Neteler wrote: On Fri, Feb 21, 2014 at 3:06 PM, Michel Wortmann wrote: Hi list, I have some (basic) vector related questions: After cleaning a vector map, it doesnt have continuou

Re: [GRASS-user] Tessellation of a set of polygons

2014-02-27 Thread Moritz Lennert
On 25/02/14 17:54, Thomas Leduc wrote: Dear GRASS-users & developpers, As summed up below, I've tried to tessellate the enclosed datasource (a shapefile It would help if you gave us the projection info for that dataset. Moritz ___ grass-user mailin

Re: [GRASS-user] r.in.gdal for importing categorical ArcGIS binary rasters

2014-02-21 Thread Moritz Lennert
On 21/02/14 17:12, Markus Metz wrote: On Fri, Feb 21, 2014 at 2:00 PM, Moritz Lennert wrote: On 21/02/14 11:30, Markus Metz wrote: On Fri, Feb 21, 2014 at 9:35 AM, Moritz Lennert wrote: On 20/02/14 22:14, Markus Metz wrote: I would not replace a working gdal version with a probably not

Re: [GRASS-user] r.in.gdal for importing categorical ArcGIS binary rasters

2014-02-21 Thread Moritz Lennert
On 21/02/14 11:30, Markus Metz wrote: On Fri, Feb 21, 2014 at 9:35 AM, Moritz Lennert wrote: On 20/02/14 22:14, Markus Metz wrote: I would not replace a working gdal version with a probably not working gdal version. Your gdalinfo reported a raster attribute table, not mine. You could double

Re: [GRASS-user] r.in.gdal for importing categorical ArcGIS binary rasters

2014-02-21 Thread Moritz Lennert
On 20/02/14 22:14, Markus Metz wrote: I would not replace a working gdal version with a probably not working gdal version. Your gdalinfo reported a raster attribute table, not mine. You could double-check again if your gdalinfo still finds a raster attribute table, then import with r.in.gdal. O

Re: [GRASS-user] Table of polygons bordering each one

2014-02-19 Thread Moritz Lennert
On 15/02/14 14:35, Markus Neteler wrote: On Sun, Feb 9, 2014 at 8:13 PM, David Montoya mailto:jdmon...@gmail.com>> wrote: Hi, I have a question. I need to generate a table that says which polygons bordering to each one, for example: ID1 ID2 1 3

Re: [GRASS-user] r.in.gdal for importing categorical ArcGIS binary rasters

2014-02-14 Thread Moritz Lennert
On 13/02/14 18:48, manuel.martin wrote: So I looked closer at the data and it is ESRI's binary ArcInfo Grid format with vat.adf files in the layer directory. These tables may be accessed outside of ArcGIS using for instance gdalinfo, and the R raster library seem to do it as well. However these t

Re: [GRASS-user] [GRASS-dev] Object-based image classification in GRASS

2014-02-13 Thread Moritz Lennert
On 12/02/14 17:28, Vaclav Petras wrote: On Wed, Feb 12, 2014 at 7:42 AM, Martin Landa mailto:landa.mar...@gmail.com>> wrote: Hi, 2014-02-12 13:41 GMT+01:00 Nikos Alexandris mailto:n...@nikosalexandris.net>>: [...] > think of simply using "r.statistics2" and providing an i

Re: [GRASS-user] [GRASS-dev] Object-based image classification in GRASS

2014-02-13 Thread Moritz Lennert
On 12/02/14 13:41, Nikos Alexandris wrote: Salut GRASSers, Moritz Lennert wrote: [..] With all the elements in place, especially with Pietro's recent work, it should be quite easy to create a unifying module 'i.segment.classify' which would take as input - the segment

Re: [GRASS-user] r.in.gdal for importing categorical ArcGIS binary rasters

2014-02-13 Thread Moritz Lennert
On 13/02/14 13:32, manuel.martin wrote: I think geoTiffs do not handle categorical variables (can anyone confirm?), neither the writeRAST6() function from spgrass6 (tested yesterday), and that's why I looked for a full GRASS option (avoiding using R to go from ArcGIS to GRASS). So it is true that

Re: [GRASS-user] Transforming raster lines to vectors with correct segment attributes

2014-02-03 Thread Moritz Lennert
On 03/02/14 11:48, Johannes Radinger wrote: Hi Moritz, hi all, sorry for my late response. I can now provide an example using the NC dataset. First I needed to generate data (rasterized line/river) similar to the data input I am using. So I transformed the streams vector into a raster using the

<    3   4   5   6   7   8   9   10   11   12   >