Re: [GRASS-user] river and dams in netwok analysis

2015-10-17 Thread Moritz Lennert
Le Fri, 16 Oct 2015 18:38:28 +0200, Etienne DELAY a écrit : > Dear all, > I'm try to understand network analysis fonction in grass 6.4. I have > 2 layers : > * Points layer with the spatial dams repartition > * polylines layer with rivers > I would like to know for

Re: [GRASS-user] External Database and projections

2015-10-14 Thread Moritz Lennert
On 07/10/15 21:09, Markus Neteler wrote: On Wed, Oct 7, 2015 at 12:55 PM, Blumentrath, Stefan wrote: ... My suggestion is to not use PostGIS for big rasters, unless you have to, because you want to use the data in a specific application for example. Note

Re: [GRASS-user] R: Re: Performing a Maximum Likelihood Supervised classification with a single band

2015-10-14 Thread Moritz Lennert
On 14/10/15 17:40, Nikos Alexandris wrote: Moritz Lennert: If you only work with one band, you could use your training areas to define the mean value and standard deviation in band 4 that corresponds to your class of interest and then just use r.recode to classify your image with something

Re: [GRASS-user] R: Re: Performing a Maximum Likelihood Supervised classification with a single band

2015-10-14 Thread Moritz Lennert
On 14/10/15 14:20, Umberto Filippo Minora wrote: Thanks Nikos, Well, actually my training areas are defined as they need to be specific features in my location (rock glaciers). I would like to use i.maxlik to classify the other pixels of my image (other than rock glaciers, alias my training

Re: [GRASS-user] Reprojection of raster maps in various platforms: projected coordinates are different

2015-10-14 Thread Moritz Lennert
[Please keep conversations on the list] On 14/10/15 23:19, Uttam Kumar wrote: _ _ _*This information is for the original data (Source):*_ *PROJ.4 : '+proj=sinu +lon_0=0 +x_0=0 +y_0=0 +a=6371007.181 +b=6371007.181 +units=m +no_defs '* Coordinate System is: PROJCS["Sinusoidal",

Re: [GRASS-user] Query vector type has problems

2015-10-07 Thread Moritz Lennert
On 07/10/15 10:19, Markus Neteler wrote: On Mon, Sep 7, 2015 at 8:14 AM, Markus Neteler wrote: On Sep 7, 2015 3:58 AM, "Anna Petrášová" wrote: ... it took me a while to figure out the problem, but it's because your samples are 3D and the stand

Re: [GRASS-user] grass71_trunk: error on access gui

2015-10-02 Thread Moritz Lennert
On 02/10/15 15:17, Eugenio Trumpy wrote: Hi Markus, yes I did it. Maybe you have to erase your previous installation before installing the newly compiled one: https://lists.osgeo.org/pipermail/grass-dev/2015-September/076473.html Moritz ___

Re: [GRASS-user] v.in.ogr: encoding problem with shapefile DBF file

2015-10-01 Thread Moritz Lennert
On 01/10/15 08:34, RichardCooper wrote: Hi, I'm getting an error on attempting to import a shapefile with a DBF file containing Thai characters (sample below) using v.in.ogr. I've also attempted to set encoding as per https://grass.osgeo.org/grass70/manuals/v.in.ogr.html The file is utf-8 and

Re: [GRASS-user] help t.rast.algebra

2015-09-24 Thread Moritz Lennert
On 18/09/15 17:38, Veronica Andreo wrote: Hi Soeren, list I need some help with t.rast.algebra. Well, if it is that my problem is really a t.rast.algebra problem... I have 2 strds with different granularities. A is an annual time series that contains the min annual temperature, B is a monthly

Re: [GRASS-user] Import point time-series as space-time dataset

2015-09-17 Thread Moritz Lennert
On 17/09/15 10:43, Laurent C. wrote: Hello, I'm working with files that represent the variation of a value over time for a single point. Looks like that: 0 1200 0.03125 1380 0.125 1500 0.3125 1620 0.65625 1740 I need to import them as a raster space-time dataset. What I'm doing now is

Re: [GRASS-user] v.colors and raster color table.

2015-09-11 Thread Moritz Lennert
On 10/09/15 17:04, Aldo CLERICI wrote: I’m having problem in assigning a raster color table to a vector map. g.copy vector=roads,roads_copia (no color table) v.colors map=roads_copia raster=slope (a color table is assigned) v.colors map=roads_copia raster=soils (no color table assigned) It

Re: [GRASS-user] WARNING: Unable to open raster map...format field in header file invalid

2015-09-11 Thread Moritz Lennert
On 11/09/15 09:27, raphael.viscarra-ros...@csiro.au wrote: Hi Markus, Yes…not sure where the double @ comes from – it just displays this in the error message… I looked at the files in the cellhd folder (which I assume are the header files) and they seem fine: proj: 3 zone: 0 north:

Re: [GRASS-user] Is it possible to export a vector as new table in existing spatialite database?

2015-09-10 Thread Moritz Lennert
On 06/09/15 23:43, John A Stevenson wrote: On 04/09/15 18:38, Markus Neteler wrote: On Fri, Sep 4, 2015 at 5:49 PM, John A Stevenson wrote: I would like to export a vector as new table in existing spatialite database. Please let us know how it goes, then we may add

Re: [GRASS-user] v.in.ascii with undefined columns?

2015-09-04 Thread Moritz Lennert
Le Fri, 4 Sep 2015 15:34:01 +0200, Moritz Lennert <mlenn...@club.worldonline.be> a écrit : > Le Thu, 3 Sep 2015 16:33:58 +0200, > "patrick s." <patrick_...@gmx.net> a écrit : > > > As Alternative the db.in.ogr-command allows to load csv-files into >

Re: [GRASS-user] v.in.ascii with undefined columns?

2015-09-04 Thread Moritz Lennert
Le Thu, 3 Sep 2015 16:33:58 +0200, "patrick s." a écrit : > As Alternative the db.in.ogr-command allows to load csv-files into > GRASS, but misses the option to create spatial points out of the > coordinates. Check out v.in.db for that step. > Furthermore this might

Re: [GRASS-user] R: How to add map names to g.gui.animation window

2015-08-28 Thread Moritz Lennert
...@lists.osgeo.org] Per conto di Moritz Lennert Inviato: giovedì 27 agosto 2015 16:56 A: Anna Petrášová Cc: GRASS-User Oggetto: Re: [GRASS-user] How to add map names to g.gui.animation window On 27/08/15 15:39, Anna Petrášová wrote: On Thu, Aug 27, 2015 at 6:45 AM, Moritz Lennert mlenn

Re: [GRASS-user] How to add map names to g.gui.animation window

2015-08-27 Thread Moritz Lennert
On 27/08/15 15:39, Anna Petrášová wrote: On Thu, Aug 27, 2015 at 6:45 AM, Moritz Lennert mlenn...@club.worldonline.be mailto:mlenn...@club.worldonline.be wrote: I have the feeling that I had this working before, but it might have been in my dreams: I have a series of maps (not a space

[GRASS-user] How to add map names to g.gui.animation window

2015-08-27 Thread Moritz Lennert
I have the feeling that I had this working before, but it might have been in my dreams: I have a series of maps (not a space-time data set) that I want to display in an animation and for every map that is displayed during the animation I would like to see the name of that map displayed during

Re: [GRASS-user] Label vector map

2015-08-26 Thread Moritz Lennert
On 26/08/15 13:25, henk witte wrote: Well, this is embarrassing – I cannot open my own pack! I created a new workspace with a default Cartesian projection but if I try to unpack I get IOError: [Errno 2] No such file or directory: 'C:\\Users\\he

Re: [GRASS-user] Label vector map

2015-08-26 Thread Moritz Lennert
On 26/08/15 16:26, Paulo van Breugel wrote: On Wed, Aug 26, 2015 at 2:17 PM, Moritz Lennert mlenn...@club.worldonline.be mailto:mlenn...@club.worldonline.be wrote: On 26/08/15 13:25, henk witte wrote: Well, this is embarrassing – I cannot open my own pack! I created

Re: [GRASS-user] [GRASS-dev] r.agent testing

2015-08-24 Thread Moritz Lennert
On 20/08/15 16:13, Annalisa Minelli wrote: Dear all, after my recents modifications on Makefile [0] of the r.agent addon, Michael and me were trying to build correctly the module. In fact, even if on my debian machine it compiles and builds up well using g.extension, it seems that, sometimes (on

Re: [GRASS-user] function doesn't work anymore

2015-07-15 Thread Moritz Lennert
On 14/07/15 16:41, Gra wrote: Hi this function Hi this function: def normalize (inras,outras): min = grass.raster_info(inras)['min'] max = grass.raster_info(inras)['max'] grass.mapcalc($outras = float(($inras -$valuem) / ($valueM-$valuem)), inras = inras, outras = outras, valuem =

Re: [GRASS-user] aspect map with azimuth values

2015-07-09 Thread Moritz Lennert
On 2015-07-09 00:51, Glynn Clements wrote: Moritz Lennert wrote: how can I convert aspect map's values to azimuth values? or is there any way to create aspect map with azimuth values? I think this should work (but you should double check): if aspect = 90, then azimuth = 90 - aspect else

Re: [GRASS-user] aspect map with azimuth values

2015-07-08 Thread Moritz Lennert
On 2015-07-08 08:33, Ahmet Temiz wrote: Hello how can I convert aspect map's values to azimuth values? or is there any way to create aspect map with azimuth values? I think this should work (but you should double check): if aspect = 90, then azimuth = 90 - aspect else: azimuth = 450 - aspect

Re: [GRASS-user] Exporting a raster tiff with RGB 3 bands produce a paletted tiff

2015-07-07 Thread Moritz Lennert
On Fri, 3 Jul 2015 14:06:58 +0200, Andrea Peri aperi2...@gmail.com wrote: No, it was not what I expected . I expected to see the same image I see in the grass display (using d.rgb) Instead I see someone completelly different. That is expected, and also depends on the program you use to

Re: [GRASS-user] Exporting a raster tiff with RGB 3 bands produce a paletted tiff

2015-07-03 Thread Moritz Lennert
On 02/07/15 16:23, Andrea Peri wrote: Hi Markus, thx for hint. I tried but probably I miss something. because have an error: ERROR 6: SetColorTable() not supported for multi-sample TIFF files. ERROR 6: SetColorTable() can only be called on band 1. ERROR 6: SetColorTable() can only be

Re: [GRASS-user] not able to import and use pygrass

2015-06-29 Thread Moritz Lennert
On 29/06/15 16:57, Gra wrote: Hi I compiled Grass 7.0 (with OpenMP) on a CENTOS 7 OS. everything works properly, but I'm not able to use PYGRASS here is my first part of the codes if I add import pygrass I have the error: * import pygrass ImportError: No module named pygrass try

Re: [GRASS-user] Error in pansharp tool: missing grass.script

2015-06-26 Thread Moritz Lennert
On 25/06/15 15:58, Vaclav Petras wrote: On Thu, Jun 25, 2015 at 3:41 AM, Moritz Lennert mlenn...@club.worldonline.be mailto:mlenn...@club.worldonline.be wrote: On 24/06/15 15:09, Vaclav Petras wrote: It seems like one. I think it might help, at least help to debug, if you

Re: [GRASS-user] Error in pansharp tool: missing grass.script

2015-06-26 Thread Moritz Lennert
On 26/06/15 04:20, Vaclav Petras wrote: GRASS modules run only in the proper environment which is best ensured by actually running GRASS. As elsewhere we are in discussions about good practice and making things clearer, I'd just like to slightly modify this statement: GRASS modules run only

Re: [GRASS-user] addon r.stream.distance fails on linux mint 17.

2015-06-25 Thread Moritz Lennert
On 25/06/15 09:09, Rengifo Ortega wrote: Dear Community, today I tried to install r.stream.distance in grass 70 running o linux mint machine 32 bits, using the g.extension gui and it failed. Any idea how to solve this issue. Any help will be appreciated. See below for details ! (Thu Jun 18

Re: [GRASS-user] Error in pansharp tool: missing grass.script

2015-06-25 Thread Moritz Lennert
On 25/06/15 08:58, Andrea Peri wrote: Hi Vaclav,, I send the results of tests: outside from grass: python -c import grass.script as grass Traceback (most recent call last): File string, line 1, in module ImportError: No module named grass.script -

Re: [GRASS-user] Error in pansharp tool: missing grass.script

2015-06-25 Thread Moritz Lennert
On 24/06/15 15:09, Vaclav Petras wrote: It seems like one. I think it might help, at least help to debug, if you replace import grass.script as grass by import grass.script as gscript and grass. by gscript.. I think this change should be done anyway in all source code. Could you explain your

Re: [GRASS-user] r.watershed

2015-06-24 Thread Moritz Lennert
On 23/06/15 10:32, Robl Jörg Christian wrote: Dear GRASS Gurus, During the last days I've discovered a strange behaviour of r.watershed and D8. The used DEM is the result from a landscape evolution model and there are no depressions. I cannot use MFD as the D8-FlowDirections input data of a

Re: [GRASS-user] Derivation of Landsat 8 Tasseled Cap coefficients for certain scene in Grass

2015-06-10 Thread Moritz Lennert
On 09/06/15 23:42, Kozlova Maria wrote: Dear all, Asking for help in sudden difficult situation: I need to derive proper, 'personal', Tasseled Cap coefficients for some scenes of my study area. I know, such procedure can be done by Matlab, but unfortunately, my colleague who could do this

Re: [GRASS-user] Derivation of Landsat 8 Tasseled Cap coefficients for certain scene in Grass

2015-06-10 Thread Moritz Lennert
On 10/06/15 13:18, Nikos Alexandris wrote: * Kozlova Maria k...@yandex.ru [2015-06-10 11:48:44 +0300]: Dear colleagues, Thank you for response. a little bit later I will type the full procedure for derivation of TC coefficients. PCA itself cannot be applied here as it is based only on

Re: [GRASS-user] i.atcorr for GeoEye-1 and Worldview-3

2015-06-09 Thread Moritz Lennert
On 09/06/15 03:16, Kamhul Camhol wrote: Well, it's been 4 days and it seems the US-based reseller is not keen on providing the information either or they are not allowed to do so. Perhaps it's a protocol in agreement with commercial software providers. Without access to these such as ERDAS or

Re: [GRASS-user] i.atcorr for GeoEye-1 and Worldview-3

2015-06-05 Thread Moritz Lennert
On 04/06/15 21:13, Nikos Alexandris wrote: * Markus Neteler nete...@osgeo.org [2015-06-04 20:52:54 +0200]: On Thu, Jun 4, 2015 at 2:19 PM, Moritz Lennert mlenn...@club.worldonline.be wrote: ... Do I understand correctly that you would need the numbers behind the curves in this document

Re: [GRASS-user] i.atcorr for GeoEye-1 and Worldview-3

2015-06-05 Thread Moritz Lennert
On 05/06/15 10:52, Nikos Alexandris wrote: * Moritz Lennert mlenn...@club.worldonline.be [2015-06-05 09:43:40 +0200]: .. Maybe with a little more crowd-hunting or by someone just contacting DigitalGlobe we would get the table of values right away? I tried to contact DigitalGlobe in the past

Re: [GRASS-user] i.atcorr for GeoEye-1 and Worldview-3

2015-06-05 Thread Moritz Lennert
On 05/06/15 12:28, Moritz Lennert wrote: On 05/06/15 10:52, Nikos Alexandris wrote: * Moritz Lennert mlenn...@club.worldonline.be [2015-06-05 09:43:40 +0200]: .. Maybe with a little more crowd-hunting or by someone just contacting DigitalGlobe we would get the table of values right away? I

Re: [GRASS-user] i.atcorr for GeoEye-1 and Worldview-3

2015-06-04 Thread Moritz Lennert
On 03/06/15 15:06, Markus Neteler wrote: On Wed, Jun 3, 2015 at 6:56 AM, Kamhul Camhol monk_pur...@yahoo.com wrote: Hello. I'm quite new with GRASS but I need to atmospherically process high-resolution imagery with i.atcorr. I have three images Quickbird, GeoEye-1 and Worldview-3 imagery of a

Re: [GRASS-user] i.atcorr for GeoEye-1 and Worldview-3

2015-06-04 Thread Moritz Lennert
On 04/06/15 13:47, Nikos Alexandris wrote: * Moritz Lennert mlenn...@club.worldonline.be [2015-06-04 11:38:04 +0200]: On 03/06/15 15:06, Markus Neteler wrote: On Wed, Jun 3, 2015 at 6:56 AM, Kamhul Camhol monk_pur...@yahoo.com wrote: Hello. I'm quite new with GRASS but I need

Re: [GRASS-user] GRASS 7.0.0 Issues with Object Based Image Analysis

2015-05-18 Thread Moritz Lennert
On 15/05/15 16:02, Jake Chila wrote: Actually, scratch that. The script ran once, but now when I run it from the GUI it doesn't actually update the table, it just runs through without doing anything. Before going any further with this, try the new addon: i.segment.stats [1] which does the

Re: [GRASS-user] Creating Raster Subsets in GRASS 7.0.0

2015-05-18 Thread Moritz Lennert
On 12/05/15 19:10, Jake Chila wrote: Hi Micha, No worries, thanks for the headsup re: creating subsets. I noticed that resolution thing also, and just thought that it was because that scene is from a different path/row and the g.region command actually sets the region on the edge of this scene,

Re: [GRASS-user] Creating Raster Subsets in GRASS 7.0.0

2015-05-18 Thread Moritz Lennert
On 12/05/15 16:23, Jake Chila wrote: Hi Moritz, I definitely did mean 'g.region -p', sorry for that. I ended up getting it to work using 'r.mapcalc' after setting the region. I saw someone online had used it with the simple expression newmap=oldmap. Then, when I export the newmap it is only of

Re: [GRASS-user] Creating Raster Subsets in GRASS 7.0.0

2015-05-12 Thread Moritz Lennert
On 08/05/15 19:13, Jake Chila wrote: Hey all, I am currently working with some landsat data in Grass 7.0.0 on windows 7, and am trying to hone in on my study area (much smaller than the whole scene). From what I can tell, the best way to do this is through the 'g.region' command however, I am

Re: [GRASS-user] Add DB entries to vector line (after v.split)

2015-05-11 Thread Moritz Lennert
On 08/05/15 19:10, Ken Nussear wrote: Thanks very much, that is all working well. I did try the addon you mention, but using grass7 it wont install in either linux or mac os It's just a shell script, so you might be able to just download it and run it in a GRASS GIS session, unless the script

Re: [GRASS-user] Add DB entries to vector line (after v.split)

2015-05-07 Thread Moritz Lennert
On 06/05/15 22:12, knussear wrote: Interestingly 4 years later and using V.split in grass7 and I'm still having the same problem tried the v.category solution and the cats were never deleted. Are you sure ? In the original thread, the check for success was wrong [1]: v.db.select checks

Re: [GRASS-user] Large vector file processing

2015-04-24 Thread Moritz Lennert
On 24/04/15 09:54, Margherita Di Leo wrote: Hi, I'm trying to vectorize a very large file | Type of Map: raster Number of Categories: 255 | | Data Type:CELL | | Rows: 88537 | | Columns: 54410 | | Total Cells:

Re: [GRASS-user] conditional buffering with DEM

2015-04-23 Thread Moritz Lennert
On 23/04/15 16:44, Ahmet Temiz wrote: thank you Nikos I meant that creating buffers from a line, which also querying DEM values. DEM is in subquery position of buffer map You cannot do that directly, AFAIK, but using r.mapcalc you can combine the two variables. Different paths are

Re: [GRASS-user] v.isochrones : error message

2015-04-16 Thread Moritz Lennert
On 15/04/15 15:00, image93 wrote: Hello, Thank you Moritz. I succeed in getting your last v.isochrones version. I have just one last question. According to you, it would be possible to use v.isochrones extension via Qgis interface? You should be able to easily integrate it into the

Re: [GRASS-user] Obtain r.stream.extract accumulation map?

2015-04-16 Thread Moritz Lennert
On 14/04/15 23:17, César Augusto Ramírez Franco wrote: Hello dear list I'm using r.stream.extract to obtain a stream network and further processing of the vector map (as points using v.to.points) in R to generate longitudinal stream profiles and calculate the hypsometric curve, but I need to

Re: [GRASS-user] region settings and wx display

2015-04-15 Thread Moritz Lennert
On 15/04/15 16:43, Tyler Smith wrote: On Wed, Apr 15, 2015, at 02:11 AM, Markus Neteler wrote: Do you have any suggestions where to add better information? Extend the bubble help of the zoom icons with a hint? Thanks for asking! Would it be possible to have an alert pop up when you open

Re: [GRASS-user] v.isochrones : error message

2015-04-15 Thread Moritz Lennert
On 15/04/15 08:08, Markus Neteler wrote: On Tue, Apr 14, 2015 at 10:05 AM, Moritz Lennert mlenn...@club.worldonline.be wrote: On 13/04/15 21:25, image93 wrote: ... Is this a problem of repostory? There are several the repositories for Grass extensions? i don't know. I found it: for grass70

Re: [GRASS-user] v.isochrones : error message

2015-04-14 Thread Moritz Lennert
On 13/04/15 21:25, image93 wrote: Hello, I removed the current extension and then reinstall it g.extension v.isochrones op=remove -f g.extension v.isochrones op=add i'am working with windows 7 32 bit OS. I found the path pointing to the v.isochrones.bat :

Re: [GRASS-user] region settings and wx display

2015-04-14 Thread Moritz Lennert
On 14/04/15 02:01, Nikos Alexandris wrote: * Tyler Smith ty...@plantarum.ca [2015-04-13 16:43:05 -0400]: Hi, I've just spent an hour fighting with setting the region in GRASS 7. Finally I discovered that the display region and computational region are now independent. Is there a way to have

Re: [GRASS-user] v.isochrones : error message

2015-04-13 Thread Moritz Lennert
On 12/04/15 12:45, image93 wrote: Hello, Thank for your replies and for your previous example. I try to follow it. I succeed in preparing data (v.db.update, v.net, etc. ). Moreover, i succeed in generating relevant isochrones map thanks to GUI graphical interface. i paste below an SS :

Re: [GRASS-user] addons web page needs some corrections

2015-04-08 Thread Moritz Lennert
On 07/04/15 21:47, Markus Neteler wrote: On Tue, Apr 7, 2015 at 9:37 PM, Alexander Muriy amu...@gmail.com wrote: Hello! Dear maintainers of GRASS site, could you correct an addons page, please? http://grass.osgeo.org/grass70/manuals/addons/ Descriptions for modules are moved down in some

Re: [GRASS-user] addons web page needs some corrections

2015-04-08 Thread Moritz Lennert
On 08/04/15 08:30, Moritz Lennert wrote: On 07/04/15 21:47, Markus Neteler wrote: On Tue, Apr 7, 2015 at 9:37 PM, Alexander Muriy amu...@gmail.com wrote: Hello! Dear maintainers of GRASS site, could you correct an addons page, please? http://grass.osgeo.org/grass70/manuals/addons

Re: [GRASS-user] How to convert points distribution toward surface information?

2015-04-08 Thread Moritz Lennert
On 08/04/15 15:38, image93 wrote: Good afternoon, I have a points cover representing different bus and train stops. I applied a categorized symbology : Each colour represents a class of value (field regarding time acess from a starting point) Iwould like represents this time information

[GRASS-user] New addon module: i.segment.stats

2015-04-07 Thread Moritz Lennert
Hello everyone, I've added a new module to the addons repository: i.segment.stats [1] which calculates spectral and form statistics for raster segments, typically coming from i.segment or possibly r.clump. It is meant as one part of the general toolchain for object-based image segmentation.

Re: [GRASS-user] v.isochrones : error message

2015-04-05 Thread Moritz Lennert
On 05/04/15 00:03, image93 wrote: Hello, I'm working with grass 7 on windows 7 8 go RAM 64 bits. When i execute the v.isochrones process, there is an error message and the process does not work. Below, i paste the interface of the v.isochrones output command:

Re: [GRASS-user] v.isochrones : error message

2015-04-05 Thread Moritz Lennert
On 05/04/15 12:53, image93 wrote: Hello, Below, the computational region setting : projection: 99 (Lambert Conformal Conic) zone: 0 datum: towgs84=0,0,0,0,0,0,0 ellipsoid: grs80 north: 7037330.05419347 south:

Re: [GRASS-user] extract slope lower than 25 meters ?

2015-04-03 Thread Moritz Lennert
On 03/04/15 09:45, image93 wrote: Good morning, I have to extract slope lower than 25 meters. But i'm working with SRTM raster DEM 30 meters resolution... 1/ Is there a tool with qgis in order to extract slope values? 2/ According to you, is it possible to extract 25 meters slope values with

Re: [GRASS-user] get vector table with unique feature id

2015-04-03 Thread Moritz Lennert
On 03/04/15 14:42, Paulo van Breugel wrote: I have a shapefile with overlapping polygons. After importing I thus end up with a vector layer with for each unique polygon (feature) one or more category values (i.e., one to many relationship). Now I want to create a second attribute table linked

Re: [GRASS-user] digitize adjacent polygons

2015-03-12 Thread Moritz Lennert
On 10/03/15 19:18, Markus Neteler wrote: On Mar 10, 2015 6:02 PM, Moritz Lennert mlenn...@club.worldonline.be mailto:mlenn...@club.worldonline.be wrote: On 10/03/15 16:35, Margherita Di Leo wrote: Hi, is there a way to digitize polygons with the new vector digitizer tool, using

Re: [GRASS-user] digitize adjacent polygons

2015-03-10 Thread Moritz Lennert
On 10/03/15 16:35, Margherita Di Leo wrote: Hi, is there a way to digitize polygons with the new vector digitizer tool, using existing borders? I mean, if I have to digitize two adjacent polygons, how can I start one exactly where the other finishes, using the line shared by the two, without

Re: [GRASS-user] Importing USGS' wrs2_descending Shapefile

2015-03-05 Thread Moritz Lennert
On 06/03/15 08:44, Nikos Alexandris wrote: .. Markus M: So, I guess I'll forget the idea to fully automatise the process of Landsat border trimming? Can't we just have all of the Path-Row tiles ready in a compressed GRASS format? Some sort of packed ASCII file which can be easily imported?

Re: [GRASS-user] v.net tools with polygons

2015-03-03 Thread Moritz Lennert
On 02/03/15 21:39, Daniel Victoria wrote: Hi list, I'm beginning to learn and use the v.net http://v.net tools in Grass in order to evaluate the distance from several crop fields to a processing plant. I've successfully build the road network with the end nodes but now I'm in doubt. My

Re: [GRASS-user] upload raster category labels to vector point laye

2015-02-26 Thread Moritz Lennert
On 26/02/15 15:13, Paulo van Breugel wrote: Is there an (easy) way to upload raster category labels to a point file, equivalent to uploading category values with v.what.rast? That would be a nice addition to v.what.rast. Probably worth an enhancement ticket in trac. One workaround would be

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

2015-02-26 Thread Moritz Lennert
On 26/02/15 00:15, image93 wrote: Dear all, dear Moritz, thank you again for your last usefull messages. Regarding my driving isochrone works. Last time (December 2014), when i executed the v.isochrones process, an error message appeared due to running of memory. For remind, i 'm working on

Re: [GRASS-user] how to do public transport isochrone maps (with OSM data)?

2015-02-24 Thread Moritz Lennert
On 24/02/15 01:24, image93 wrote: Hello, Two months ago, i tried to do drive isochrone with the new plugin called v.isochrones. Now, i w'd like to do public transport isochrone map with grass. is it possible to have an idea of the processing steps? what kind of input data must be supplied ?

Re: [GRASS-user] Importing xyz raster with corner coordinates?

2015-02-23 Thread Moritz Lennert
On 23/02/15 14:48, Lauri Myllyvirta wrote: Hello, I need to import a set of raster data in ASCII xyz format, with the coordinates referring to the southwest corner of the grid cell rather than the center as is the convention. I can think of a number of clumsy ways to solve the problem by

Re: [GRASS-user] Searching for technical details on how v.rast.stats calculates means and other statistics

2015-02-20 Thread Moritz Lennert
On 20/02/15 12:33, RichardCooper wrote: I seem to be getting an error with r.univar when using a zone file. I run, g.region as follows: g.region -a raster=cahpa_i0apr_05216_nc_remapped_nc_1@prcp05216ijk res=0.22 What does g.region -p show ? Then r.univar (see below). There are 6 categories

Re: [GRASS-user] exit from grass after setting GRASS env variable

2015-02-19 Thread Moritz Lennert
On 19/02/15 18:19, Giuseppe Amatulli wrote: Hi, i have a very simple question but i'm not able find the simple answer. I'm following the procedure for Setting the GRASS environmental variables, http://grasswiki.osgeo.org/wiki/GRASS_and_Shellin the bash environment. Everything works grate and I'm

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 http://v.net when scaling out with GNU Parallel… not sure if its an underlying issue with v.net http://v.net or the way I’m calling the batch jobs? I’ve got 32 CPUs and commensurate RAM. What I’m

Re: [GRASS-user] Choosing mapset from command line

2015-02-13 Thread Moritz Lennert
On 13/02/15 15:33, Johannes Radinger wrote: Hi, I tried to access my machine with GRASS GIS via SSH and wanted to get the text based welcome screen of GRASS 7 (RC in Ubuntu) to select a mapset. Usually I am starting the GUI selection menu so I am not familiar with the text based startup. I

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

2015-02-13 Thread Moritz Lennert
On 13/02/15 13:40, Mark Wynter wrote: Hi Moritz With the second approach (the code I shared in my post), I have 3500 discrete jobs, and I set the number of batches equal to the number of CPUs. Each batch job is despatched to a cpu, where it then pulls from a queue of job id’s that are

Re: [GRASS-user] Choosing mapset from command line

2015-02-13 Thread Moritz Lennert
On 13/02/15 16:58, Johannes Radinger wrote: Maybe I expressed myself unclear or mixed things up: I want to get the text based menu to select e.g. a location and a mapset, which I think is called text-based location wizzard [1]. I mixed that up with the welcome screen. And of course I don't need

Re: [GRASS-user] SQLite Error

2015-02-12 Thread Moritz Lennert
/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 mlenn...@club.worldonline.be mailto:mlenn...@club.worldonline.be

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
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

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

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

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 mlenn...@club.worldonline.be wrote: On 05/02/15 10:06, Markus Metz wrote: On Thu, Feb 5, 2015 at 9:36 AM, Moritz Lennert mlenn...@club.worldonline.be wrote: [Please keep conversations on the list] On 04

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

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] 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 mlenn...@club.worldonline.be 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

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] 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 mlenn...@club.worldonline.be 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

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] 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

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

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 mlenn...@club.worldonline.be wrote: On 22/01/15 21:12, Markus Metz wrote: On Thu, Jan 22, 2015 at 2:30 PM, Moritz Lennert mlenn...@club.worldonline.be wrote: IIUC, this would mean that if I have a region

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 mlenn...@club.worldonline.be 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

[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.

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

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 mlenn...@club.worldonline.be 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

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

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

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