Re: [GRASS-user] winGRASS 7.8 64bit preview available in OSGeo4W - new snapshot: f5bfe545c

2019-10-28 Thread Moritz Lennert
On 27/10/19 20:27, Helmut Kudrnovsky wrote: Helmut Kudrnovsky wrote next winGRASS snapshot available: GRASS GIS 7.8.1dev 4785a5b77 testing welcome a new snapshot preview availabe in OSGeo4W 64bit GRASS GIS 7.8.1dev f5bfe545c with a fix for: #3882 winGRASS: not able to digitize vector

Re: [GRASS-user] Using GRASS and PostGIS

2019-10-28 Thread Moritz Lennert
On 22/10/19 21:41, Dheeraj Chand wrote: Hello, all, I've been proximal to GRASS for several years but never really used it much. I am currently working on macOS Catalina. One of the things that I find is that GRASS can get a bit slow here, part of which I attribute to running on

Re: [GRASS-user] v.kernel - Points weighted with attribute ?

2019-10-25 Thread Moritz Lennert
On 25/10/19 11:17, Taïs wrote: Hi Micha, I successfully run your R script. However to output is weird and I don't know how to fix it. In v.kernel, you can setup the "raduis" parameter to control what I assume to be the size of the kernel (of the moving window). AFAIU, radius is not the

Re: [GRASS-user] Do not report cells where thousands of maps have no data

2019-09-28 Thread Moritz Lennert
On 27/09/19 17:39, Nikos Alexandris wrote: GRASS GIS' `r.stats` modules does this: ``` r.stats input=$(g.list rast pattern=cru*.*1 separator=comma) -n -x -N ``` However, it won't do it for thousands of maps. Too many maps will hit the '[Argument list too long]' error which is triggered by the

Re: [GRASS-user] Script fails; manual entry works

2019-09-18 Thread Moritz Lennert
Le Wed, 18 Sep 2019 13:22:22 -0700 (PDT), Rich Shepard a écrit : > I've a script that begins this way: > > #!/usr/bin/bash > > # Create projection and exit > # LDQ-45123G3: > grass79 -c LDQ-45123G3/2009_OLC_Hood\ to\ > Coast/Bare_Earth/be45123g3/prj.adf /data/grassdata/g3 -e > > grass79

Re: [GRASS-user] Models using r.buildvrt

2019-09-18 Thread Moritz Lennert
Le Wed, 18 Sep 2019 10:56:04 -0700 (PDT), Rich Shepard a écrit : > There are 29 individual DEM maps for the drainage basin. The > r.buildvrt manual tells me that using r.buildvrt will produce a > slower loading map than would loading each raster map individually > unless only a small portion of

Re: [GRASS-user] Explain v.in.ogr error

2019-09-12 Thread Moritz Lennert
On 12/09/19 17:10, Rich Shepard wrote: On Thu, 12 Sep 2019, Moritz Lennert wrote: Could it be that your FileGDB contains raster data ? Moritz, Yes, it should be raster data. AFAIK, this not support by GDAL at the moment, and if it was, you would have to use r.in.gdal, not v.in.ogr

Re: [GRASS-user] Explain v.in.ogr error

2019-09-12 Thread Moritz Lennert
On 11/09/19 17:53, Rich Shepard wrote: Trying to import an ESRI FileGDB with 10m DEM for Oregon. I don't understand what I've done incorrectly and would appreciate learning from the grass command error message. Input file is OR_DEM_10M.gdb $ ogrinfo -al -so Geometry: Multi Polygon Feature

Re: [GRASS-user] r3.in.ascii --- Please help!

2019-09-04 Thread Moritz Lennert
Le Wed, 4 Sep 2019 08:17:16 +, Lindsi Seegmiller a écrit : > I cannot get r3.in.ascii to work. Does anyone have success importing > 3d rasters? For example, a simple ascii like the one below. I can import this without issues. How are you importing it and what error messages do you get ?

Re: [GRASS-user] Finding equal distant locations from a point on a network

2019-08-27 Thread Moritz Lennert
Le Mon, 26 Aug 2019 15:39:54 -0400, Mehrdad Varedi a écrit : > Hi Everyone, > > Would you please help me to see how can I find all points that have > the same distance from a specific location on a network? > For example, we have a road network and want to find locations that > are 1 km away

Re: [GRASS-user] licensing question: calling GRASS GIS modules via the grass.script API in an MIT/Apache licensed script ?

2019-08-24 Thread Moritz Lennert
Hi Vaclav, Thanks for taking the time for this ! Le Fri, 23 Aug 2019 21:42:15 -0400, Vaclav Petras a écrit : > On Tue, May 7, 2019 at 4:42 AM Moritz Lennert > wrote: > > > Hi, > > > > We work with a company on a project where we use GRASS GIS to > > c

Re: [GRASS-user] licensing question: calling GRASS GIS modules via the grass.script API in an MIT/Apache licensed script ?

2019-08-14 Thread Moritz Lennert
Ping. Anyone ? Or a pointer to whom I could ask ? Moritz On 7/05/19 10:42, Moritz Lennert wrote: Hi, We work with a company on a project where we use GRASS GIS to calculate accessibility indicators. The main output we provide is a Python script which calls GRASS GIS modules via

Re: [GRASS-user] too many categories: buffer overflow

2019-06-20 Thread Moritz Lennert
On 18/06/19 21:51, Ken Mankoff wrote: Hi Micha and Markus, On 2019-06-18 at 10:07 -04, Micha Silver wrote... Do you really want a vector polygon map with > 2 billion features? No, and there are not that many. % r.info -r basins min=-2147474681 max=2147429730 But I don't have

Re: [GRASS-user] How to check if a raster has a NULL value

2019-06-18 Thread Moritz Lennert
On 18/06/19 15:31, Markus Neteler wrote: Hi Robert, On Tue, Jun 18, 2019 at 1:54 PM Robert Nuske wrote: Hi Listers, r.fillnulls exits with an error if the input map has no holes. r.fillnulls one step in a bash script. The processing is stopped if r.fillnulls writes no output because of an

Re: [GRASS-user] importing and cleaning overlapping polygons that are supposed to overlap

2019-05-22 Thread Moritz Lennert
for each > > topological area, i.e. the overlapping input polygons can not be > > properly represented with a topological model when using the -c > > flag. As soon as you get incorrect boundaries and/or duplicate > > centroids when building topology, results are wrong. > &

Re: [GRASS-user] importing and cleaning overlapping polygons that are supposed to overlap

2019-05-16 Thread Moritz Lennert
On 16/05/19 03:11, Veronica Andreo wrote: Dear all, thanks for the answers... @Madi, I know, but that's how I got the data from a colleague using SaTScan to get cluster sizes. So, these "clusters" are 3, they are represented by circular areas and 2 of them overlap, and it is just fine that

Re: [GRASS-user] importing and cleaning overlapping polygons that are supposed to overlap

2019-05-15 Thread Moritz Lennert
On 14/05/19 23:46, Veronica Andreo wrote: Hi all, I was working today with a very simple vector map which corresponds to clusters (circular polygons) that overlap and it is just fine that they overlap. So, i received a shapefile with 3 of these clusters. Two of them overlaped. When I import

Re: [GRASS-user] mapcalc combining raster and vector

2019-05-08 Thread Moritz Lennert
potential for infiltration across a watershed. You can use v.what.rast to read the DEM value into the attribute table of your points. Then you can do whatever calculations you need based on that. Moritz On Wed., May 8, 2019, 08:17 Moritz Lennert, mailto:mlenn...@club.worldonline.be>>

Re: [GRASS-user] mapcalc combining raster and vector

2019-05-08 Thread Moritz Lennert
On 8/05/19 14:00, Micha Silver wrote: You will most likely have to convert the points to raster. But before that, can you explain what you mean by "located for 10 m from DEM", "10 to 20". Or, if you mean zones of equal height, you can transform them to vector polygons and use v.vect.stats on

[GRASS-user] licensing question: calling GRASS GIS modules via the grass.script API in an MIT/Apache licensed script ?

2019-05-07 Thread Moritz Lennert
Hi, We work with a company on a project where we use GRASS GIS to calculate accessibility indicators. The main output we provide is a Python script which calls GRASS GIS modules via the grass.script API. The company is willing to make this script free software, but would like to license it

Re: [GRASS-user] r.stream.extract: lat-long vs projected location

2019-05-06 Thread Moritz Lennert
On 3/05/19 22:07, Markus Metz wrote: On Fri, May 3, 2019 at 4:17 PM Moritz Lennert mailto:mlenn...@club.worldonline.be>> wrote: > > Hi, > > Does anyone have any experience, or theoretical knowledge based on the > code, on whether the results of r.stream.extract

[GRASS-user] r.stream.extract: lat-long vs projected location

2019-05-03 Thread Moritz Lennert
Hi, Does anyone have any experience, or theoretical knowledge based on the code, on whether the results of r.stream.extract (and also r.watershed) will be influenced by working in a lat-long location instead of a projected location ? Moritz ___

Re: [GRASS-user] Help, sub network detection.

2019-05-03 Thread Moritz Lennert
On 29/04/19 15:30, Mehrdad Varedi wrote: Hi Everyone, Is there a function to identify subnets for every object in a vector file? Consider there is a vector file and object1 is connected to Object 2 and 3 and object 3 is connected to Object 4. Is there a function that could generate the

Re: [GRASS-user] Combining 2d rasters to 3d using point files

2019-05-03 Thread Moritz Lennert
On 26/04/19 03:40, Francois Chartier wrote: Hi I would like to combine potentially 100s of 2d rasters into one 3d raster. Instead of using r.to.rast3 which could take a long time to prepare the setting, is there a way to export the raster as point files, and combine them using for example

Re: [GRASS-user] Read only mapsets

2019-04-26 Thread Moritz Lennert
On 26/04/19 11:53, Panagiotis Mavrogiorgos wrote: Hello everyone, I was wondering, is there a way to enforce a Mapset to be read-only? I guess that this can always be enforced on the Filesystem level with something like this: find . -type f -exec chmod a-w {} \; but then again some

Re: [GRASS-user] [GRASS-dev] Motion: Migrate SVN and trac tickets to github under OSGeo organization

2019-04-25 Thread Moritz Lennert
Am 25. April 2019 16:45:01 MESZ schrieb Martin Landa : >Dear PSC, > >po 22. 4. 2019 v 17:27 odesílatel Markus Neteler >napsal: >> Next steps of migration to Github: > >I will prepared detailed plan in the next days. Ma Kudos to you, Martin, for all the work you are doing on this ! Moritz

Re: [GRASS-user] create basins of similar area

2019-04-25 Thread Moritz Lennert
Am 25. April 2019 17:29:24 MESZ schrieb Martin Landa : >Hi, > >čt 25. 4. 2019 v 17:19 odesílatel Francois Chartier > napsal: >> Use r.wathershed or r.basins. > >well, I know these tools. I am just not sure how to control optimal >basin area (eg. 4-5km2). I just found `threshold` parameter. > I

Re: [GRASS-user] v.class.mlR Error in data.frame : arguments imply differing number of rows

2019-04-16 Thread Moritz Lennert
On 16/04/19 16:50, Jamille Haarloo wrote: Replacing ids <- rownames(features) with ids <- rownames(predicted) is the only edit I did after the previous try, so this should have solved the error. Watch out: I'm not sure that this is really equivalent. I think I used the rownames(features) to

[GRASS-user] Nice opportunity to show off GRASS functionality and topological vector format ?

2019-04-16 Thread Moritz Lennert
Hi, If anyone has some time and wants to show off some GRASS GIS power: https://www.ecmwf.int/en/learning/workshops/ecmwf-summer-weather-code-2019 "The Summer of Weather Code(ESoWC) programme by the European Centre for Medium-Range Weather Forecasts (ECMWF) is a collabrative online programme

Re: [GRASS-user] v.class.mlR Error in data.frame : arguments imply differing number of rows

2019-04-15 Thread Moritz Lennert
Hi Jamille, On 15/04/19 14:49, Jamille Haarloo wrote:> Dear Moritz and other Grass- users and developers, > > I tried dealing with the error myself by changing predicted <- > data.frame(predict(models.cv , features)) into > predicted <- data.frame(predict(models.cv

Re: [GRASS-user] [GRASS-dev] help with git migration

2019-04-04 Thread Moritz Lennert
On 1/04/19 12:10, Veronica Andreo wrote: Hi, El lun., 1 abr. 2019 06:59, Martin Landa <mailto:landa.mar...@gmail.com>> escribió: Hi, po 1. 4. 2019 v 11:45 odesílatel Moritz Lennert mailto:mlenn...@club.worldonline.be>> napsal: > I would suggest to al

Re: [GRASS-user] help with git migration

2019-04-01 Thread Moritz Lennert
On 1/04/19 11:24, Martin Landa wrote: Hi, út 26. 3. 2019 v 20:45 odesílatel Martin Landa napsal: Now I would like to ask to help with reducing number of open issues with target 7.0+, see https://trac.osgeo.org/grass/ticket/3789#comment:2. Please go through [1] and close issues which are

[GRASS-user] Thank you to our sponsors !

2019-03-27 Thread Moritz Lennert
Hi everyone, Just a big thank you to those that sponsor GRASS GIS development, even with very small amounts. If everyone who uses GRASS GIS gives just 10 Euros / Dollars once a year, then this would already allow us to pay travel for developers to code sprints which are generally very productive

Re: [GRASS-user] GeoPackage and multiple tables

2019-03-18 Thread Moritz Lennert
Am 17. März 2019 18:16:44 MEZ schrieb Ken Mankoff : > >On 2019-03-17 at 10:03 -0700, Ken Mankoff wrote... >> After learning from Markus & Moritz I see that the GPKG files are as >> they should be - vector features are not in triplicate. I think there >> are some strange QGIS import issues where

Re: [GRASS-user] GeoPackage and multiple tables

2019-03-16 Thread Moritz Lennert
Le Sat, 16 Mar 2019 09:20:17 -0700, Ken Mankoff a écrit : > Hi Moritz [and Markus] > > On 2019-03-16 at 08:24 -0700, Moritz Lennert > wrote... > > Try running v.out.ogr three times, changing layer each time and > > using the -u flag for updating the existing gpkg fi

Re: [GRASS-user] GeoPackage and multiple tables

2019-03-16 Thread Moritz Lennert
Le Sat, 16 Mar 2019 07:23:19 -0700, Ken Mankoff a écrit : > Hello, > > I'm trying to export a vector to GeoPackage. The vector has 3 layers > and each layer has an associated table. When I view the data > (pre-export) in GRASS it looks good, but when I export and open in > QGIS I only see the

Re: [GRASS-user] Split polygons with lines

2019-03-15 Thread Moritz Lennert
On 10/03/19 15:39, Shane Carey wrote: Hi, I've been looking for ways of grass gis splitting a polygon into multiplepolygons with a line shapefile and wondering are there tools in Grass to do this!! Does the following correspond to what you are looking for ? test = polygons test2 = lines #

Re: [GRASS-user] v.to.points: extract start/end nodes

2019-03-15 Thread Moritz Lennert
On 15/03/19 14:03, Martin Landa wrote: Hi, I need to extract start or end nodes of lines into two separated output maps. Unfortunately `v.to.points` doesn't seems to support it (only `nodes` or `vertices` can be chosen). I am thinking to add such functionality to `v.to.points`. But before that,

Re: [GRASS-user] Raster - assign interpolated values into range

2019-02-26 Thread Moritz Lennert
st ticket in trac. Moritz On Mon, Feb 25, 2019, 05:57 Moritz Lennert <mailto:mlenn...@club.worldonline.be> wrote: On 23/02/19 23:16, Francois Chartier wrote: > What about if i dont want constant spacing but at certain ranges? Have you tried r.recode as Vero suggested ? Mo

Re: [GRASS-user] Raster - assign interpolated values into range

2019-02-25 Thread Moritz Lennert
On 23/02/19 23:16, Francois Chartier wrote: What about if i dont want constant spacing but at certain ranges? Have you tried r.recode as Vero suggested ? Moritz Le sam. 23 févr. 2019 à 11:00, Veronica Andreo > a écrit : El sáb., 23 feb. 2019 12:17,

Re: [GRASS-user] [GRASS-dev] Fwd: [OSGeo-Discuss] FOSS4G 2019 Bucharest Call for Contributions Open

2019-02-08 Thread Moritz Lennert
On 8/02/19 18:03, Ondřej Pešek wrote: Fr 8. 2. 2019 15:27 Veronica Andreo > wrote: Will you attend the conference, Ondrej? Yes. And would you be willing to participate in the organisation of a remote sensing workshop in which we present the OBIA toolchain,

Re: [GRASS-user] 3D raster remove voxels above DEM

2019-02-06 Thread Moritz Lennert
to in between the DEM and lower surface, by setting a more customized Region than a Block? You could try r3.mask. Moritz On Feb 6, 2019 04:45, "Moritz Lennert" <mailto:mlenn...@club.worldonline.be>> wrote: Hi François, Thanks for sharing the solution you fou

Re: [GRASS-user] [GRASS-dev] Fwd: [OSGeo-Discuss] FOSS4G 2019 Bucharest Call for Contributions Open

2019-02-05 Thread Moritz Lennert
Hi everyone, On 4/02/19 14:34, Veronica Andreo wrote: Hi I plan to attend and I can help if you want to propose a workshop. What about the OBIA processing chain? I would like to take such a workshop indeed ;) Personally, I was thinking on offering a TGRASS workshop (as we did in Paris and

[GRASS-user] Fwd: [OSGeo-Discuss] FOSS4G 2019 Bucharest Call for Contributions Open

2019-01-25 Thread Moritz Lennert
Who else will come to Bucharest ? Anyone willing to (co-)organise a workshop ? What topics would users find the most useful for a workshop ? Moritz Forwarded Message Subject: [OSGeo-Discuss] FOSS4G 2019 Bucharest Call for Contributions Open Date: Thu, 24 Jan 2019 15:59:23

Re: [GRASS-user] OBIA image segmentation with GRASS, i.segment(.uspo)

2019-01-07 Thread Moritz Lennert
Dear Helmuth, Please note that in general it is considered bad netiquette to address such a mail to individual developers instead of the project mailing list [1] (in CC). I, therefore, invite you to use that channel for communication. On 5/01/19 13:36, Helmuth Wiesinger wrote: Dear Mr.

Re: [GRASS-user] v.out.ogr - layer name

2019-01-04 Thread Moritz Lennert
On 3/01/19 15:13, Daniel McInerney wrote: Hi List, When I export a vector using v.out.ogr, I'm unable to assign an output layer name when the output format is 'ESRI_Shapefile'. For example: v.out.ogr input=grid_clip output=grid_clip.shp output_layer=sub_grid format='ESRI_Shapefile' Exporting

[GRASS-user] meaning/unit of output of r.relief

2018-12-21 Thread Moritz Lennert
Hello, Does the numerical output of r.relief have a specific meaning / unit ? Moritz ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] map calculator in python loop

2018-12-12 Thread Moritz Lennert
On 12/12/18 12:59, Alessandro Sebastiani wrote: dear all, i'm dealing this time with r.mapcalc. I have different rasters which i grouped using g.list. Now r_list contains all my raster. I want to multiply those rasters to another raster (called "costante")  in order to obtain a new map, that i

Re: [GRASS-user] grass-user Digest, Vol 152, Issue 4

2018-12-07 Thread Moritz Lennert
Dear Shivam, Several others have alraedy tried to help you and Helmut has sent you the relevant info from the man page. Maybe the best for you would be to explain to us what you are trying to do. Not which modules you are trying to run, but what you want to accomplish with these modules.

Re: [GRASS-user] vector segment lengths

2018-12-05 Thread Moritz Lennert
Am 5. Dezember 2018 22:14:27 MEZ schrieb Ken Mankoff : >Hi Moritz, > >On 2018-11-29 at 04:38 -0800, Moritz Lennert > wrote: >> If you want the length of each segment, you will have to attribute >> different category values to all of them. The best is to this on a

Re: [GRASS-user] vector segment lengths

2018-11-29 Thread Moritz Lennert
On 29/11/18 08:55, Ken Mankoff wrote: Hi GRASS list, How do I find out the length of each segment after running v.split? I have this code: v.split -f input=v output=v_split units=meters length=100 --o I'd like to know the length. Presumably they are 100 m, but the last segment of each line

Re: [GRASS-user] buffer to wrap points

2018-11-29 Thread Moritz Lennert
On 29/11/18 12:46, Frank David wrote: Hello all, I did not find in v.buffer the way to create a common buffer on points if I want the buffer wraps all my points. Is there any tricks ? If you mean a unified buffer (i.e. overlapping buffers are seen as one single polygon) then this is the

Re: [GRASS-user] v.extract and layer/table settings with layer=2

2018-11-27 Thread Moritz Lennert
Am 27. November 2018 20:51:37 MEZ schrieb Johannes Radinger : >Hi all, > >this is maybe I quite easy routine for somebody that is using v.extract >regularly. > >Here my challenge: I have a vector map (initially created by v.net >tools) >that has several layers and associated tables to each

Re: [GRASS-user] Get values from raster map following a direction map for n steps

2018-11-23 Thread Moritz Lennert
On 23/11/18 14:28, Markus Metz wrote: On Tue, Nov 20, 2018 at 9:16 AM Stefan Blumentrath mailto:stefan.blumentr...@nina.no>> wrote: > > Dear all, > > > > In an r.mapcalc expression, I would like to trace values along a direction map for 1 to n steps (e.g. looking 4 steps ahead along a

Re: [GRASS-user] Script for idw cross validation

2018-11-14 Thread Moritz Lennert
Hi Francesco, On 13/11/18 05:57, francesco sapienza wrote: Hello! i'm trying to validate my IDW model for field values of pH (and other parameters) using the following: |# Partition sample points in 4 groups Module("v.kcv", map="pHsr", npartitions=4, column="part")| |Module("v.extract",

Re: [GRASS-user] v.vol.rst - DMIN and Segment Size

2018-11-14 Thread Moritz Lennert
On 14/11/18 01:28, Francois Chartier wrote: Hi, v.vol.rst starts working when npmin is 100 m or more.  I dont believe that this algorythm only works with data points spaced by 100 m that does not make sense.  is there a max total number for a dataset? is it because i have too few rows and

Re: [GRASS-user] Help Puerto Rico Crowdsource GIS Data

2018-11-11 Thread Moritz Lennert
Am 12. November 2018 06:00:53 MEZ schrieb Yosem Companys : >Hi All, > >Do you or someone you know have expertise crowdsourcing GIS data? > >I'm currently advising Hunter College's Center for Puerto Rican Studies >("Centro"), one of only a handful of groups using GIS mapping to help >Puerto Rico.

Re: [GRASS-user] Finding why postgres database cannot be opened

2018-11-07 Thread Moritz Lennert
Hi Rich, On 7/11/18 19:55, Rich Shepard wrote:   Grass seems to recognize the postgres data base and that I'm logged in to it: db.connect -p driver: pg database: /home/rshepard/data/grassdata/willamette_basin/willamette-river-hg db.login driver=pg database=willamette-river-hg --o

Re: [GRASS-user] v.colors: color rules

2018-11-06 Thread Moritz Lennert
On 06/11/18 17:10, Rich Shepard wrote: Examples of rules with the v.colors module show single digits and percentages. Will the module read a file that has a range of values to which a color is assigned? rules.txt: 1-10 231:00:00 11-20 89:00:00 21-30 231:00:231 31-40 231:173:00 41-50

Re: [GRASS-user] Semi-automatic classification of old thematic map

2018-11-06 Thread Moritz Lennert
On 06/11/18 13:38, Markus Neteler wrote: Hi, On Tue, Nov 6, 2018 at 11:24 AM Giuseppe Cillis wrote: Dear all, I would like to classify in a semi-automatic way, an old scanned thematic map of land use. The different classes of land use are represented by polygons of different colors. Which

Re: [GRASS-user] g.message in python not working

2018-11-06 Thread Moritz Lennert
On 06/11/18 12:36, Micha Silver wrote: Is there any change in the way g.message works under python between GRASS 7.4.0 and 7.4.2? I am not getting any message output. (python "print" and "cat" statements work as expected). The script printed messages fine in 7.4.0. I see the usual result at

Re: [GRASS-user] From Vector to raster

2018-11-06 Thread Moritz Lennert
On 06/11/18 09:34, francesco sapienza wrote: Hello! i'm having problems in the simple task of convert a vector to a raster. I have obteined my vector polygon starting from 2d points in my map (v.hull) i can see the new polygon and now i want to create a raster with "1" values inside the area

Re: [GRASS-user] v.net.iso calculation based on traveling time fails

2018-11-02 Thread Moritz Lennert
Am 2. November 2018 10:13:10 MEZ schrieb Mithoefer : >Dear List, > >I use GRASS GIS 7.4 to calculate traveling distances using v.net.iso >based on OSM data. I used v.clean to basically clean the data. > >If I run an analysis based for distances I get an result, but using >costs in terms of

Re: [GRASS-user] Migrating to new RDBMS

2018-10-31 Thread Moritz Lennert
On 31/10/18 16:49, Rich Shepard wrote: On Wed, 31 Oct 2018, Moritz Lennert wrote: This sounds like Stefan might be on the right path: are you sure your Postgresql server accepts connections from the network ? What is 'listen_addresses' set to in your postgresql.conf ? And is password

Re: [GRASS-user] Migrating to new RDBMS

2018-10-31 Thread Moritz Lennert
On 31/10/18 15:56, Rich Shepard wrote: On Wed, 31 Oct 2018, Moritz Lennert wrote: You database seems to be called 'willamette-river-hg', i.e. all hyphens, whereas you are trying to db.copy to 'willamette_river_hg', i.e. one hyphen, one underscore. Moritz, Thank you. I use hyphens

Re: [GRASS-user] Migrating to new RDBMS

2018-10-31 Thread Moritz Lennert
On 30/10/18 22:37, Rich Shepard wrote: On Tue, 30 Oct 2018, Rich Shepard wrote: I was thinking of working within grass rather than at the bash prompt. You're right: I know the difference between double and single quotes but blew it on this instance. I'm still missing something. From

Re: [GRASS-user] Question about .ply file with a trailing white space at the end

2018-10-31 Thread Moritz Lennert
Dear ? May I encourage you to send such questions to the mailing list, and not as private mail to the developers. On 31/10/18 11:43, ifmendo...@gmail.com wrote: Dear Moritz I having the same problem you solved here

Re: [GRASS-user] Exporting set of raster cells with different values as one layer

2018-10-26 Thread Moritz Lennert
f each command is a map with pixel values of 1 where the condition is met and null where not. Moritz > >Thanks again for the quick reply >Best regards >Kalindu Perera > >On Fri, 26 Oct 2018 at 11:46, Moritz Lennert > >wrote: > >> >> >> Am 26. Oktobe

Re: [GRASS-user] Exporting set of raster cells with different values as one layer

2018-10-26 Thread Moritz Lennert
Am 26. Oktober 2018 06:42:44 MESZ schrieb Kalindu Perera : >Dear all, > >I'm doing wildfire simulations in the Grass. I need to calculate the >area >of only the wildfire spread from the simulation. For that, I need to >take >only the wildfire spread as a separate layer. But the drawback is the

Re: [GRASS-user] Python script for template creation -i.atcorr module-reg

2018-10-22 Thread Moritz Lennert
488,,0.968 489,,1 490,,0.760 491,,0.590 492,,0.455 AFAIK, you always need the same number of fields on every line, but the first 8 lines only have two fields while the rest has 3 fields. Moritz On Mon, Oct 22, 2018 at 1:32 PM Moritz Lennert wrote: On 22/10/18 06:02, kameswari devi wrote

Re: [GRASS-user] Python script for template creation -i.atcorr module-reg

2018-10-22 Thread Moritz Lennert
On 22/10/18 06:02, kameswari devi wrote: Hello all, I m trying to use Create_iwave.py for template creation in grass for atmopsheric correction.But due to the spectral response values errors are thrown. here i am sending the rsr i used and error i got .please suggest me. thakn you wav(nm) B10

Re: [GRASS-user] i.segment and i.segment.stats errors

2018-10-18 Thread Moritz Lennert
On 17/10/18 19:15, Jamille Haarloo wrote: Yes, I noticed as other modules weren't working either. Stupid.. Just got the results with 7.6 and some "nan" values again. This shouldn't happen with the current version. Did you reinstall with 'g.extension i.segment.stats' ? Moritz

Re: [GRASS-user] i.segment and i.segment.stats errors

2018-10-17 Thread Moritz Lennert
On 17/10/18 15:39, Jamille Haarloo wrote: Alright. Just tried, but got an old error back again. Also when reinstalling r.object.geometry got 'ERROR: File is not a zip file' i.segment.stats -n map=SegW24IDM4DV4@LUP1 rasters=DV2@LUP1,DV4@LUP1,IDM2@LUP1,IDM4@LUP1,W2@LUP1,W4@LUP1

Re: [GRASS-user] i.segment and i.segment.stats errors

2018-10-17 Thread Moritz Lennert
On 16/10/18 22:20, Jamille Haarloo wrote: The csv looks ok, but quite extensive and heavy. Yes, but when dealing with large areas, not going through the vector fomat actually speeds up the process. You can feed this csv into v.class.mlR directly. I reinstalled again and tried with less

Re: [GRASS-user] i.segment and i.segment.stats errors

2018-10-16 Thread Moritz Lennert
On 15/10/18 21:00, Jamille Haarloo wrote: I did with neighborhood statistics and vector, and without. with neighb. statistics & with vector i.segment.stats -n --overwrite map=SegW24IDM4DV4@LUP1 rasters=DV2@LUP1,DV4@LUP1,IDM2@LUP1,IDM4@LUP1,W2@LUP1,W4@LUP1

[GRASS-user] heads up: changes in the UI of i.cutlines

2018-10-15 Thread Moritz Lennert
Hi all, If any of you use i.cutlines, watch out: in order to simplify and clarify its interface, I changed some parameter names and reduced the output options to just the vector tiles. So there has been a change in interface to the module. I also added the option to provide the module with

Re: [GRASS-user] i.segment and i.segment.stats errors

2018-10-15 Thread Moritz Lennert
On 15/10/18 10:54, Moritz Lennert wrote: On 15/10/18 10:17, Moritz Lennert wrote: On 12/10/18 21:10, Jamille Haarloo wrote: Markus. i.segment finished without giving an error. Moritz, I am back at the older error. I've seen this error documented online as a result of 'unaccepted' column-names

Re: [GRASS-user] i.segment and i.segment.stats errors

2018-10-15 Thread Moritz Lennert
On 15/10/18 10:17, Moritz Lennert wrote: On 12/10/18 21:10, Jamille Haarloo wrote: Markus. i.segment finished without giving an error. Moritz, I am back at the older error. I've seen this error documented online as a result of 'unaccepted' column-names. I tried to keep the name of the input

Re: [GRASS-user] i.segment and i.segment.stats errors

2018-10-15 Thread Moritz Lennert
Process ended with non-zero return code 1. See errors in the (error) output. (Thu Oct 11 18:33:18 2018) Command finished (99 min 25 sec) On Thu, Oct 11, 2018 at 4:23 PM Moritz Lennert mailto:mlenn...@club.worldonline.be>> wrote: On 11/10/18 19:42, Jamille Haarloo wrote: > Mar

Re: [GRASS-user] How to use r.grow module

2018-10-12 Thread Moritz Lennert
Hi Vidura, On 11/10/18 19:15, Vidura Dantanarayana wrote: Hi everyone, I'm a new user to grass and can I know how to create a raster map containing one cell using r.grow module. I read the manual but could not understand any. r.grow is not meant for creating a map with one cell. It creates

Re: [GRASS-user] Mean slope of FCELL raster map

2018-10-12 Thread Moritz Lennert
On 12/10/18 00:28, Rich Shepard wrote: A small watershed is mostly flat; the only way to show variability in slope is using the r.colors.stddev module. Most slopes are within 1 std. dev. of the mean and I would like to present that mean value for the map. Neither r.info nor r.stats seem to

Re: [GRASS-user] v.krige dependency: rpy2

2018-10-12 Thread Moritz Lennert
Am 11. Oktober 2018 18:25:53 MESZ schrieb Rich Shepard : > One dependency for v.krige is rpy2. The CRAN package list (at >https://ftp.osuosl.org/pub/cran/) does not show this, only rPython, >Version: >0.0-6 Published: 2015-11-15. FYI: there is also v.kriging which does not depend on R.

Re: [GRASS-user] i.segment and i.segment.stats errors

2018-10-11 Thread Moritz Lennert
On 11/10/18 19:42, Jamille Haarloo wrote: Markus, that's great! I will install the latest version and retry. I will report next Monday. Thanks Moritz. The spaces and '&' in paths of output files did not give problems before, but I retried without the spaces and '&' just in case.

Re: [GRASS-user] i.segment and i.segment.stats errors

2018-10-10 Thread Moritz Lennert
On 09/10/18 17:19, Jamille Haarloo wrote: first lines of test.csv cat|area|perimeter|compact_square|compact_circle|fd 1|11876.00|1398.00|0.311808|3.618821|1.543932 2|635805.00|57572.00|0.055400|20.367814|1.640512 3|25898.00|3322.00|0.193773|5.823198|1.595825

Re: [GRASS-user] i.segment and i.segment.stats errors

2018-10-09 Thread Moritz Lennert
On 09/10/18 13:48, Jamille Haarloo wrote: Hello Moritz, First a pop-up came about not finding it, so reinstalled it. g.extension r.object.geometry WARNING: Extension already installed. Re-installing... Downloading precompiled GRASS Addons ... Updating addons metadata file... Installation of

Re: [GRASS-user] i.segment and i.segment.stats errors

2018-10-08 Thread Moritz Lennert
csv and tell us what you get ? And what is your computational region (g.region -p) and the output of r.info SegmW24IDM4DV4 ? Moritz >Process ended with non-zero return code -1073741515. See >errors in the (error) output. > >On Mon, Oct 8, 2018 at 10:06 AM Moritz Lennert > >wrot

Re: [GRASS-user] i.segment and i.segment.stats errors

2018-10-08 Thread Moritz Lennert
On 04/10/18 17:06, Jamille Haarloo wrote: i.segment.stats errors: Please, whenever you report errors, also report the command line used. ERROR: Error while executing: 'CREATE TABLE segmstat_tmp_vect_7968 (cat int, area double precision, compact_circle double precision, DV2_mean double

Re: [GRASS-user] Using grass to create elevation and orthoimagery for 3d package (needs tiff format)

2018-10-04 Thread Moritz Lennert
On 03/10/18 22:29, Rasha Shalaby wrote: I am certain is is a grass solution. I am able to load one .adf and export as png (which i can convert to tif). The main issue I am facing is being able to stitch multiple .adf (tiles) into one and lining it up with the orthoimagery. r.in.gdal to import

Re: [GRASS-user] integer and discrete raster

2018-09-25 Thread Moritz Lennert
On 25/09/18 15:40, Frank David wrote: Thank you Vero, If I well understand, r.series return always floating values. But from trunk r73206 we expect something different... Ok I will wait for the next release, and continue with a int(). But I still not understand from where r.series return

Re: [GRASS-user] Identify duplicate points

2018-09-25 Thread Moritz Lennert
On 24/09/18 17:05, Markus Neteler wrote: On Fri, Sep 21, 2018 at 1:13 PM Johannes Radinger wrote: Hi all, this is maybe a very easy question: But how is it possible to identify duplicate points (that have the same pair of coordinates) of a set of points. I'd like to get the categories of

Re: [GRASS-user] v.category report cats

2018-09-12 Thread Moritz Lennert
On 12/09/18 14:40, Johannes Radinger wrote: Hi all, I was wondering about the report output of 'v.category option=report'. This output contains a column for each layer that is called 'count'. Does this 'count' refer to the number of vector objects or the number of unique category numbers in

[GRASS-user] issue with grass_session on MacOSX: Cannot find GRASS GIS start script

2018-09-03 Thread Moritz Lennert
Hi, A student has been confronted with the following error trying to use grass_session on Mac: ** from grass_session import Session GRASSBIN: /Applications/GRASS-$GRASS_MMVER.app/Contents/MacOS cmd: /Applications/GRASS-$GRASS_MMVER.app/Contents/MacOS --config path out:

Re: [GRASS-user] [GRASS-dev] experimental Python 3 support in trunk

2018-09-03 Thread Moritz Lennert
Le Mon, 3 Sep 2018 08:27:53 +0200, Markus Neteler a écrit : > On Mon, Sep 3, 2018 at 4:21 AM Anna Petrášová > wrote: > > > > Hi, > > > > I committed the experimental support of Python 3 to trunk (grass77) > > by Sanjeet (GSoC 2018). > > This is excellent, thanks for much for your hard work,

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

2018-08-31 Thread Moritz Lennert
On 31/08/18 16:46, Rich Shepard wrote: On Fri, 31 Aug 2018, Markus Neteler wrote: Maybe this helps: it allows to rename a column in the attribute table connected to a given vector map: https://grass.osgeo.org/grass74/manuals/v.db.renamecolumn.html Markus, Yes, it would help.

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

2018-08-31 Thread Moritz Lennert
On 31/08/18 16:43, Rich Shepard wrote: On Fri, 31 Aug 2018, Moritz Lennert wrote: Markus gave you the name of a module, but just to make sure: the column content in your attribute table does not change because you reproject, so your columns lat and lon should still contain lat and lon values

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

2018-08-31 Thread Moritz Lennert
On 31/08/18 00:09, Rich Shepard wrote: 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

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

[GRASS-user] installing GRASS on Windows 7 [was: Re: Georeferencing a vector onto a WMS layer]

2018-08-21 Thread Moritz Lennert
This is more a question for our windows gurus... On 20/08/18 16:41, Jacki Pilon wrote: I wanted to use GRASS because of it flexibility but I have now an installation problem (MS-Window7sp2). I tried both 32 and 64 bits versions. * 1) The 32 bits versions crashed at the beginning :* Cleaning up

Re: [GRASS-user] v.patch -a: how to interpret message "Line -58728 already has area/isle -1611 to left"

2018-08-21 Thread Moritz Lennert
On 20/08/18 22:09, Markus Metz wrote: On Mon, Aug 20, 2018 at 5:42 PM, Moritz Lennert mailto:mlenn...@club.worldonline.be>> wrote: > > I am trying to patch together a series of vector maps, using v.patch -a (apparently without -a, category values are not retained).  These

[GRASS-user] v.patch -a: how to interpret message "Line -58728 already has area/isle -1611 to left"

2018-08-20 Thread Moritz Lennert
I am trying to patch together a series of vector maps, using v.patch -a (apparently without -a, category values are not retained). These maps contain polygons that were extracted from the same base map (but in each map there are different polygons than in the others), treated with different

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