Re: [GRASS-user] Non-Topological Vector Polygon Layer From r.water.outlet

2016-10-26 Thread Moritz Lennert
Le Wed, 26 Oct 2016 08:37:38 -0600, Phillip Allen a écrit : > Hi, > > I have a point layer file that represents stream sediment sample > locations. My goal is to create watershed basins for each sample > location using r.water.outlet or r.stream.basins, then convert to a > vector layer and final

Re: [GRASS-user] DBMI-SQLite drive error when running i.segment.stats (with vector map creation)

2016-10-19 Thread Moritz Lennert
On 19/10/16 10:42, Blumentrath, Stefan wrote: The “.” could be allowed if quoted identifiers were used, but that would be a quite invasive change and can have side effects on many other modules. Furthermore quoted identifiers can be handled differently in the different DB backends, thus code com

Re: [GRASS-user] Problem running i.segment.stats

2016-10-18 Thread Moritz Lennert
On 18/10/16 17:44, James Duffy wrote: On 18 October 2016 at 16:37, Moritz Lennert mailto:mlenn...@club.worldonline.be>> wrote: On 18/10/16 17:28, James Duffy wrote: On 18 October 2016 at 16:17, Moritz Lennert mailto:mlenn...@club.worldonline.be> <

Re: [GRASS-user] Problem running i.segment.stats

2016-10-18 Thread Moritz Lennert
On 18/10/16 17:28, James Duffy wrote: On 18 October 2016 at 16:17, Moritz Lennert mailto:mlenn...@club.worldonline.be>> wrote: On 18/10/16 14:27, James Duffy wrote: Hello, I'm using GRASS 7.0.4 on the OSGeoLive pre-built operating system. I have installe

Re: [GRASS-user] Problem running i.segment.stats

2016-10-18 Thread Moritz Lennert
On 18/10/16 14:27, James Duffy wrote: Hello, I'm using GRASS 7.0.4 on the OSGeoLive pre-built operating system. I have installed the addon 'i.segment.stats' to use with my output from 'i.segment.uspo'. When selecting the 'rasters' input for this tool, I choose the original layers that were used

Re: [GRASS-user] RasterLite output

2016-10-16 Thread Moritz Lennert
Le 16 octobre 2016 17:27:48 GMT+02:00, Vincent Bain a écrit : >Hi, >could anyone help me with exporting a raster map to an existing >spatialite database ? > >Running r.out.gdal with Rasterlite on a newly created spatialite db >works fine, but I would like to export multiple rasters to a single >

Re: [GRASS-user] vector digitizer

2016-10-13 Thread Moritz Lennert
On 13/10/16 16:42, Vincent Bain wrote: Hi, trying to use the wxGUI digitizer with GRASS 7.3 I am quite puzzled with a default behavior I would like to change : Usually when I have to digitize large polygon maps, I try to do a bulk definition of attribute, i.e. after drawing the whole boundaries

Re: [GRASS-user] Raster color always white for null value

2016-10-11 Thread Moritz Lennert
Le 12 octobre 2016 06:43:17 GMT+02:00, NASAHARA Kenlo <24dake...@gmail.com> a écrit : >Dear GRASS people > >I am using GRASS 7.0.4 on Ubuntu 14.04. > >I am trying to display a DSM map (ALOS AW3D) >whose null value covers ocean. I use an original >color table like this: > >GRASS 7.0.4 (latlon):~

Re: [GRASS-user] Auto-detection of GCP for rectifying image

2016-10-07 Thread Moritz Lennert
On 06/10/16 11:59, Johannes Radinger wrote: Hi GRASS users! I have an image of a small object (e.g. photograph of blue square 15x5cm) which I want to automatically georeference. In addition, the image contains 6 points where I know the exact coordinates, i.e. these points can be use as ground co

Re: [GRASS-user] map display query and layers

2016-10-04 Thread Moritz Lennert
On 04/10/16 13:55, Dave Roberts wrote: Thanks Helmut, Thanks Anna I compiled the trunk version, and the map query tool now clearly behaves differently, but not how I expected Please note: the patch that was applied was for v.what. At this stage, I haven't had the opportunity to look at the GU

Re: [GRASS-user] map display query and layers

2016-10-02 Thread Moritz Lennert
On 02/10/16 10:53, Helmut Kudrnovsky wrote: it seems that d.what.vect [1] reports always all data of all layers. the same with v.what although the queried layer is specified. so maybe a bug/enhancement ticket is needed. https://trac.osgeo.org/grass/ticket/3172 I've attached a patch to v.wha

Re: [GRASS-user] Question on memory allocation and use

2016-10-02 Thread Moritz Lennert
On 23/09/16 20:51, Rich Shepard wrote: On Fri, 23 Sep 2016, Markus Metz wrote: Apparently there are less than 52 MB of free memory left. The resulting vector contours must be quite large. Try to export GRASS_VECTOR_LOWMEM=1 before running r.contour. Maybe also use a larger step or less levels.

Re: [GRASS-user] Question on memory allocation and use

2016-10-01 Thread Moritz Lennert
Le 1 octobre 2016 14:42:49 GMT+02:00, Rich Shepard a écrit : >On Sat, 1 Oct 2016, Moritz Lennert wrote: > >> FYI: In grass7, r.mask has a 'vector' parameter which allows you >create a >> mask directly from a vector map. > >Moritz, > >I saw that

Re: [GRASS-user] Question on memory allocation and use

2016-10-01 Thread Moritz Lennert
On 23/09/16 20:51, Rich Shepard wrote: On Fri, 23 Sep 2016, Markus Metz wrote: Apparently there are less than 52 MB of free memory left. The resulting vector contours must be quite large. Try to export GRASS_VECTOR_LOWMEM=1 before running r.contour. Maybe also use a larger step or less levels.

Re: [GRASS-user] Unable to link to postgis/postgresql

2016-09-28 Thread Moritz Lennert
could you please give future feedback in the trac ticket: https://trac.osgeo.org/grass/ticket/3167 ? This would help archive all the discussions in one place. Thanks ! Moritz Cheers, Stefan On 27/09/16 13:11, Moritz Lennert wrote: Hi Benoît and Stefan, On 26/09/16 14:20, Benoit ANDRE

Re: [GRASS-user] Unable to link to postgis/postgresql

2016-09-27 Thread Moritz Lennert
fields before the host entry ? Moritz [1] https://trac.osgeo.org/grass/ticket/3167 Benoit Le 14/09/16 12:26, Moritz Lennert a écrit : This really is a serious issue. Would it be possible for you to provide a reproducible example ? Ideally starting out from the North Caroline data

Re: [GRASS-user] A question about raster map resolutions

2016-09-21 Thread Moritz Lennert
On 21/09/16 09:35, Nikos Alexandris wrote: Rich Shepard wrote: The LiDAR source location has x- and y-resolution of 3 feet (international) and several thousand cells east-west and north-south. g.region -p for this location displays: projection: 99 (unnamed) zone: 0 datum: ** unknown

Re: [GRASS-user] Unable to link to postgis/postgresql

2016-09-14 Thread Moritz Lennert
This really is a serious issue. Would it be possible for you to provide a reproducible example ? Ideally starting out from the North Caroline data. Something that creates a new postgresql database, redefined db.connect to link to that, g.copy a few maps and then see if the connection problem still

Re: [GRASS-user] Unable to link to postgis/postgresql

2016-09-13 Thread Moritz Lennert
Le Mon, 12 Sep 2016 13:22:29 +0200, Stefan Lüdtke a écrit : > Hi list, > > I hope this is not a duplicate, but I could not find any solution on > the web by know. > > I trying to connect to a remote postgresql database, without success. > > What I have done: > > 1) > db.connect driver=pg

Re: [GRASS-user] Vector maps with superimposed areas

2016-09-13 Thread Moritz Lennert
Le Fri, 9 Sep 2016 16:07:39 +, "Luna, Daniel Eduardo" a écrit : > Hi! > > I'm working with a vector map with superimposed areas, and I'm using > the module v.rast.stats with it, but it is not working for those > areas that are completely behind bigger areas. You guys know how we > can do thi

Re: [GRASS-user] Raster renamed but d.rast does not find it [RESOLVED]

2016-09-13 Thread Moritz Lennert
Le Fri, 9 Sep 2016 14:45:57 -0700 (PDT), Rich Shepard a écrit : > On Fri, 9 Sep 2016, Rich Shepard wrote: > > > Question: If a map is renamed why is the old name retained? > >Furthermore, there's no file named 'hdr' in the mapset's > directories. [I should have read this before sending

Re: [GRASS-user] Raster renamed but d.rast does not find it

2016-09-13 Thread Moritz Lennert
Le Fri, 9 Sep 2016 13:13:35 -0700 (PDT), Rich Shepard a écrit : > On Fri, 9 Sep 2016, Moritz Lennert wrote: > > > No need for that: open the properties of the layer and check which > > name is indicated as the map name. This is not automatically > > changed when you ren

Re: [GRASS-user] How to sum a hundred of raster maps using r.mapcalc

2016-09-09 Thread Moritz Lennert
On 09/09/16 17:09, Laurent C. wrote: 2016-09-08 12:32 GMT-05:00 Veronica Andreo : Hello, You can use r.series for that and pass the list of maps that you get with g.list directly into r.series using back ticks, or you can also pass a file with all map names. Check the manual for more examples:

Re: [GRASS-user] Problem re-projecting 'WGS_1984_Web_Mercator_Auxiliary_Sphere'

2016-09-09 Thread Moritz Lennert
On 08/09/16 17:10, Stuart Edwards wrote: Hi - I'm trying to work with some vector data that is in the 'WGS_1984_Web_Mercator_Auxiliary_Sphere' projection - an apparently popular web mapping projection. I want to re-project it to a state plane co-ordinate system (ohio-north us survey ft). Th

Re: [GRASS-user] Grass 7 and postgresql

2016-09-02 Thread Moritz Lennert
On 02/09/16 12:51, Benoit ANDRE wrote: Moritz, First, I move from 6 to 7 with /v.build/ or /v.build.all/ (depends on locations) Here, connections are already gone... I connect with : /db.connect driver=pg database="host=192.168.1.200,dbname=administration"/ /db.connect -p/ : driver: pg databa

Re: [GRASS-user] Grass 7 and postgresql

2016-09-02 Thread Moritz Lennert
On 02/09/16 11:38, Benoit ANDRE wrote: Hi all, Our GIS infrastructure is based on Grass 6.4.4, postrgresql 9.x and Qgis. Those all together are perfectly working. We want to update from 6.4.4 to 7.0.4. But we are confronted to a problem with the database : connection to postgresql is no more

Re: [GRASS-user] Specifying wxPython version at grass start

2016-09-01 Thread Moritz Lennert
On 31/08/16 21:53, Rich Shepard wrote: I have two versions of wxPython installed: 2.8.12.1 (for python2) and 3.0.2.0 (for python3). When I try to invoke grass72 I get this error: Starting GRASS GIS... ERROR: wxGUI requires wxPython >= 2.8.10.1. invalid literal for int() with base 10: 'wx'. ER

Re: [GRASS-user] Problem with v.edit delete tool

2016-08-31 Thread Moritz Lennert
On 31/08/16 16:32, Daniel Victoria wrote: Hi List, This is probably more due to my lack of understanding of how v.edit works. But here it goes. I have a polygon vector layer where some of the polygons have a 'No data' label. I'd like to delete those polygons so I ran the command, with the follo

Re: [GRASS-user] Working with LiDAR data

2016-08-31 Thread Moritz Lennert
On 31/08/16 15:55, Vaclav Petras wrote: On Wed, Aug 31, 2016 at 7:56 AM, Moritz Lennert mailto:mlenn...@club.worldonline.be>> wrote: Could you add these references to the wiki page ? Done. Thanks ! ___ grass-user mailing list gras

Re: [GRASS-user] Working with LiDAR data

2016-08-31 Thread Moritz Lennert
Hi Vaclav, On 30/08/16 18:28, Vaclav Petras wrote: On Tue, Aug 30, 2016 at 11:57 AM, Rich Shepard mailto:rshep...@appl-ecosys.com>> wrote: Please point me to something I can read to learn more about processing LAS files. My web searches result in companies' instructions for LiDAR

Re: [GRASS-user] Working with LiDAR data

2016-08-30 Thread Moritz Lennert
On 30/08/16 00:11, Rich Shepard wrote: Also, on the wiki page the top two references (Detailed description: here (FOSS4G 2006) and Summarised version: LiDAR filtering with GRASS) have broken links. Thanks for the heads up ! I've corrected the first, and found one publication which could co

Re: [GRASS-user] vector attribute calculation in grass python

2016-08-30 Thread Moritz Lennert
Dear Alassane, Please keep conversations on the list. On 29/08/16 19:49, alassane toure wrote: Dear Moritz, I am a newbi in python programming. Following your instructions i added the followings.. par_sqf=[] c_number=[] pchng=[] but pchng stayed NULL for all rows (see below)! You set pchng

Re: [GRASS-user] vector attribute calculation in grass python

2016-08-29 Thread Moritz Lennert
On 29/08/16 17:27, alassane toure wrote: Group, I am in the process of developing a python/grass code to calculate an attribute value based on other attributes. The following error comes up: NameError: name 'par_sqf' is not defined Here is the code... # some predefined variables #

Re: [GRASS-user] Landscape patch analysis

2016-08-29 Thread Moritz Lennert
On 20/08/16 22:36, Jaya Krishnan wrote: Hi, I have a raster with 2 classes forest and non-forest, on which I need to run Landscape patch analysis. I tried running some them (eg. edge density), but in the text output file, get only a single output instead of two. Help is appreciated. In order

Re: [GRASS-user] Pan sharpen Worldview-2 imagery

2016-08-17 Thread Moritz Lennert
On 16/08/16 19:56, William Hudspeth wrote: Hello Nikos, The link you provided documents how to use g.extension for installing python scripts in GRASS 7.3. In particular, it uses the 'url=' argument to specify a link to a zip file. I am using the stable version of GRASS 7.0 that is installed

Re: [GRASS-user] r.in.wms help needed

2016-08-09 Thread Moritz Lennert
On 09/08/16 20:12, Helmut Kudrnovsky wrote: hi, there is a nice map compilation available via WMTS: http://www.basemap.at/ WMTS GetCapabilities : https://www.basemap.at/wmts/1.0.0/WMTSCapabilities.xml what I've done: - create a location with EPSG:3857 - set the region for a small area of inter

Re: [GRASS-user] Select specific layer when copying vector map

2016-08-09 Thread Moritz Lennert
On 09/08/16 15:39, Johannes Radinger wrote: Indeed, v.extract using the layer option did the job! Thank you Moritz! Probably, I can then use v.category option="chlayer" to change the layer Nr. 3 to Nr. 1!? Yes. Moritz ___ grass-user mailing list gr

Re: [GRASS-user] Select specific layer when copying vector map

2016-08-09 Thread Moritz Lennert
On 09/08/16 13:48, Johannes Radinger wrote: Hi, I'd like to create from an existing GRASS vector map that has 3 layers (with three attribute tables) a new vector map that has only one layer and its associated attribute table (here the information related to layer 3). What I am doing so far (in

Re: [GRASS-user] Import sqlite table using db.in.ogr

2016-08-04 Thread Moritz Lennert
On 04/08/16 09:46, Markus Metz wrote: On Wed, Aug 3, 2016 at 11:04 PM, Johannes Radinger wrote: Hi all, the database is the original sqlite database the ships with the the NC grass7 location (nc_spm_08_grass7). I want to import a single table (e.g 'streams') from that NC grass7 database (sourc

Re: [GRASS-user] Import sqlite table using db.in.ogr

2016-08-04 Thread Moritz Lennert
On 03/08/16 23:04, Johannes Radinger wrote: Hi all, the database is the original sqlite database the ships with the the NC grass7 location (nc_spm_08_grass7). I want to import a single table (e.g 'streams') from that NC grass7 database (source, sqlite) into my new location (target) using db.in.o

Re: [GRASS-user] Import sqlite table using db.in.ogr

2016-08-03 Thread Moritz Lennert
On 03/08/16 17:31, Markus Neteler wrote: Hi, note the differences: On Wed, Aug 3, 2016 at 3:52 PM, Moritz Lennert mailto:mlenn...@club.worldonline.be>> wrote: On 03/08/16 12:35, Johannes Radinger wrote: ... db.in.ogr input=/media/grassgis_data/GRASS_loc

Re: [GRASS-user] Import sqlite table using db.in.ogr

2016-08-03 Thread Moritz Lennert
On 03/08/16 12:35, Johannes Radinger wrote: Hi, I am trying to import a sqlite table to my current mapset database (sqlite). In a further step I want to join the imported table to an already existing attribute table in my mapset-specific sqlite database. However I get an error that when I want

Re: [GRASS-user] v.import and v.proj errors

2016-08-02 Thread Moritz Lennert
On 02/08/16 17:24, Veronica Andreo wrote: Hi Helli, 2016-08-02 11:37 GMT-03:00 Helmut Kudrnovsky mailto:hel...@web.de>>: >as they are in mercator projection (epsg:3857) and I'm working in eu_laea I assume eu_laea is epsg: 3035 (http://epsg.io/3035)? if yes, epsg3035 is dedica

Re: [GRASS-user] Help for v.lidar.mcc

2016-07-26 Thread Moritz Lennert
On 25/07/16 23:55, Rafaela Soares wrote: Hi all, I have three point clouds generated from UAV images. I need these filter point clouds, and for this I used the v.lidar.mcc command is separate ground and non-ground. So, my new point cloud is more dense. Have more of 100 million points and the v.li

Re: [GRASS-user] [GRASS-dev] Comment regarding PSC election

2016-07-26 Thread Moritz Lennert
On 26/07/16 09:21, Veronica Andreo wrote: Hello Nikos, Lu Thanks for your answers :) I didn't intend to create any mess neither disrupt nor put in danger the ongoing election process, but to merely express my opinion. I'm sorry if I made a mess by doing so. It's a pity that the matter didn't re

Re: [GRASS-user] Exporting RGB Composite Images to GeoTIFF

2016-07-24 Thread Moritz Lennert
On 22/07/16 21:13, Nikos Alexandris wrote: * Moritz Lennert [2016-07-22 12:20:17 +0200]: .. The addon is not in the addons repository, so you cannot install it with a simple g.extension i.fusion.hpf. In GRASS 7.2 / trunk you can install it with g.extension by downloading the source code and

Re: [GRASS-user] Exporting RGB Composite Images to GeoTIFF

2016-07-24 Thread Moritz Lennert
On 22/07/16 18:07, Michele Toma wrote: I was able to resolve my issue (export the composite image so that it can be opened in Global Mapper and Photoshop) by opening it in QGIS using the GRASS Tools plugin. Click “Add raster layer” button and navigate to the composite image and click OK. Once it

Re: [GRASS-user] Exporting RGB Composite Images to GeoTIFF

2016-07-22 Thread Moritz Lennert
On 22/07/16 11:33, Helmut Kudrnovsky wrote: Moritz Lennert wrote On 21/07/16 16:27, Markus Neteler wrote: Hi, On Thu, Jul 21, 2016 at 2:53 AM, Michele Toma < michele.toma@ <mailto: michele.toma@ >> wrote: Hi everyone (again), __ __ I am ha

Re: [GRASS-user] Exporting RGB Composite Images to GeoTIFF

2016-07-22 Thread Moritz Lennert
On 21/07/16 16:27, Markus Neteler wrote: Hi, On Thu, Jul 21, 2016 at 2:53 AM, Michele Toma mailto:michele.t...@airborne.aero>> wrote: Hi everyone (again), __ __ I am having trouble exporting a composite RGB image into a GeoTIFF format that I can open in Global Mapper, Pho

Re: [GRASS-user] Pansharpening Landsat 8 Imagery

2016-07-19 Thread Moritz Lennert
On 19/07/16 09:40, Nikos Alexandris wrote: Hello Michele, * Michele Toma: .. on i.fusion.hpf, 7. Result: An image that is entirely gray (I found this link that says to use i.fusion.hpf, but following those instructions, I get "'make' is not recognized as an internal or external command,

Re: [GRASS-user] Pansharpening Landsat 8 Imagery

2016-07-19 Thread Moritz Lennert
I've seen that you've found a solution, but some comments anyhow: On 18/07/16 17:00, Michele Toma wrote: 5. Pansharpened bands 4, 3, 2 using band 8 as the panchromatic band with the IHS method Have you seen that brovey is also available as a method in i.pansharpen ? 7. Result: A

Re: [GRASS-user] area calculation after dissolve

2016-06-29 Thread Moritz Lennert
On 29/06/16 16:33, Uwe Fischer wrote: I have a polygon dataset which needs to be dissolved by a certain item. That works fine. But when I calculate the area size for the new created Polygons in the next step using v.to.db, I find that the system summarizes all the polygons with the same value in

Re: [GRASS-user] Simple example about vector database layers in GRASS

2016-06-14 Thread Moritz Lennert
On 14/06/16 09:45, roy roy wrote: I'm reading this wiki page: https://grasswiki.osgeo.org/wiki/Vector_Database_Management#The_concept_of_layers about the GRASS vector model ad the sketch seems to suggest that I can setup and display several layer given an available or digitized vetor geometry

Re: [GRASS-user] setting snap an min_area for v.in.ogr

2016-06-09 Thread Moritz Lennert
On 09/06/16 12:55, Uwe Fischer wrote: Moritz, thank you very much for your help. I understand so far whats going on. But I did not choose any menu items; I typed v.in.ogr in the console window, and then the reduced wizard showed up. So the flag --ui is what I need. Is --ui available for every

Re: [GRASS-user] setting snap an min_area for v.in.ogr

2016-06-09 Thread Moritz Lennert
On 09/06/16 10:47, Uwe Fischer wrote: Hello List, why are there no input boxes for snap threshold and min_area in the v.in.ogr menu in GRASS 7.0.3? I think those values are important to control the process. On the command line, the values can be entered. This is an old discussion. See [1] for

Re: [GRASS-user] r.in.wms and d.wms difference

2016-05-25 Thread Moritz Lennert
Le Wed, 25 May 2016 09:16:29 +, Martin Album Ytre-Eide a écrit : > Hello list! > > For me the d.wms in the gui works perfect. But when I script, I need > to download the wms layer (?) and for that I use r.in.wms which > works, but gives not as pleasant image. The image looks distorted in > s

Re: [GRASS-user] v.db.update not working as expected

2016-05-25 Thread Moritz Lennert
Le Wed, 25 May 2016 12:24:51 +0200, "Uwe Fischer" a écrit : > I have a dataset of boundaries and centroids where sometimes > centroids are missing because of digitizing errors. I tried to create > new centroids using v.centroids, but that did not work (please see my > message from May 12.) > >

Re: [GRASS-user] r.shade python issues

2016-05-23 Thread Moritz Lennert
On 23/05/16 15:01, Gareth Grewcock wrote: Hi Stefan - thanks for getting back to me. I had tried that before but still got issues, this time returning: 'NameError: name 'r' is not defined' /r.shade(shade=aspect, color=elevation, output=elevation_aspect_shaded)/ /Traceback (most recent call last

Re: [GRASS-user] problem creating secant Lambert Conformal Conic projection

2016-05-15 Thread Moritz Lennert
On 14/05/16 16:14, Markus Neteler wrote: Hi Eric, On Fri, May 13, 2016 at 6:16 PM, Eric Patton wrote: Hi guys, I am trying to make a new Grass location with the secant Lambert Conformal Conic projection. To be sure, that's this one, right? http://www.remotesensing.org/geotiff/proj_list/lamb

Re: [GRASS-user] units for dmax,dmin in v.distance

2016-05-13 Thread Moritz Lennert
On 13/05/16 07:04, Bartolomei.Chris wrote: Quick question: Does anyone know what the units are when using dmax and dmin options in v.distance? I have a lat/lon map ... map units are degrees. The man page says it OUTPUTS in meters for lat/lon maps, but does it use meters for INPUTS or degrees for

Re: [GRASS-user] PostgreSQL not in v.out.ogr format options

2016-05-11 Thread Moritz Lennert
others will have to help you with this. Rainer, do you have any advice ? Moritz Sorry for the delay getting back… Peter On Apr 30, 2016, at 5:55 AM, Moritz Lennert wrote: [Please keep discussions on the list] On 29/04/16 19:35, Peter Tittmann wrote: Thx for your reply

Re: [GRASS-user] problems with v.segment of longest flow path

2016-05-10 Thread Moritz Lennert
On 08/05/16 23:15, James Maas (MED) wrote: Most of the process appears to work well until I attempt to create segments of the vector map of the longest flow path this segment rules file. P 1 1 -10% P 2 1 -20% P 3 1 -30% P 4 1 -40% P 5 1 -50% P 6 1 -60% P 7 1 -70% P 8 1 -80%

Re: [GRASS-user] why is v.build.all (and many others) a windows batch file and not an executable?

2016-05-04 Thread Moritz Lennert
On 04/05/16 00:50, Bartolomei.Chris wrote: Hi Martin The problem I am having is that my bourne shell scripts (#!/bin/sh) cannot execute the bat files ... the scripts call the GRASS modules by name i.e. v.db.update map=stream_7 layer=3 column=block_col value="-1" --quiet In GRASS 6.4.4 (with msys

Re: [GRASS-user] PostgreSQL not in v.out.ogr format options

2016-04-30 Thread Moritz Lennert
ion with GRASS not picking up the correct ogr libraries. On what OS are you ? Moritz On Apr 29, 2016, at 10:27 AM, Moritz Lennert mailto:mlenn...@club.worldonline.be>> wrote: On 29/04/16 18:00, Peter Tittmann wrote: All, Using GRASS7. I would like to write to postgis from a GRASS vec

Re: [GRASS-user] PostgreSQL not in v.out.ogr format options

2016-04-29 Thread Moritz Lennert
On 29/04/16 18:00, Peter Tittmann wrote: All, Using GRASS7. I would like to write to postgis from a GRASS vector file, and would like to be able to append to a table as opposed to create new. I see that the `-a` flag is not implemented yet in v.out.postgis so I turned to v.out.ogr. Despite havin

Re: [GRASS-user] Copy an existing location

2016-04-29 Thread Moritz Lennert
On 29/04/16 08:34, Blumentrath, Stefan wrote: Yes, and maybe allowing for multiple input would be nice for such use cases as well!? For rasters this could possibly be done by adding the option to pack a group. Moritz ___ grass-user mailing list g

Re: [GRASS-user] v.dissolve on multiple items/controlling the output

2016-04-29 Thread Moritz Lennert
On 29/04/16 08:20, Uwe Fischer wrote: Hello list, I have two questions concerning v.dissolve. As far as I can see, there can be only one single column be specified as dissolve item. But I need to dissolve polygons using several items (up to 6) in one stroke. I checked out v.extract, too, hoping

Re: [GRASS-user] Category number of boundaries (Vector Digitizer in GRASS7.0.3 for Windows).

2016-04-26 Thread Moritz Lennert
On 26/04/16 13:03, Aldo CLERICI wrote: Dear GRASSusers, in digitizing an area with the button ‘Digitize new area (boundary without category)’ no category number is (correctly) assigned to the boundary but only to the centroid. In digitizing with ‘Digitize new boundary’ it seems that a category

Re: [GRASS-user] v.net vector orientation when creating a stream network with gauges

2016-04-12 Thread Moritz Lennert
[Please keep conversations on the list] On 12/04/16 10:02, Bartolomei.Chris wrote: Hi Moritz, Thank you for the feedback but I had already included Micha's snapping process in my attempts and while it gets very very close, there is still a .0something meter vector being added (as evidenced i

Re: [GRASS-user] v.net vector orientation when creating a stream network with gauges

2016-04-12 Thread Moritz Lennert
On 11/04/16 18:04, Bartolomei.Chris wrote: Good morning Markus, I'm using GRASS 6.4.4 I may be stuck using it as the client is running this version instead of GRASS 7 (legacy scripts) Do you think running v.net -a would help? There is no '-a' flag in v.net in GRASS 6.4.4. There is only '-c', b

Re: [GRASS-user] v.rast.stats with mode?

2016-04-11 Thread Moritz Lennert
On 31/03/16 10:32, patrick s. wrote: Following Anna's suggestion I had to find out that r.mode has to option to handle NULL values, i.e. exclude it from calculation? I need to aggregate rasters to polygons, with rasters covering only a small part of the polygon. As I realized now r.mode returns N

Re: [GRASS-user] v.net vector orientation when creating a stream network with gauges

2016-04-09 Thread Moritz Lennert
On 09/04/16 12:32, Bartolomei.Chris wrote: Hi Markus, I was able to get back to this issue and tried what you had suggested with creating the new layer 3 and re-categorizing the stream after v.net op=connect ... but to no avail. I even tried setting the forward and backward costs of the little ve

Re: [GRASS-user] Broken link in manpage?

2016-04-09 Thread Moritz Lennert
On 09/04/16 11:57, Paolo Cavallini wrote: Il 09/04/2016 11:54, Martin Landa ha scritto: sorry, but we have some release policy. There are daily builds at least for Windows [1] available. Ma [1] https://wingrass.fsv.cvut.cz/grass70/ I respect the choices of the GRASS-PSC. However, this IMHO u

Re: [GRASS-user] Output of i.segment

2016-04-03 Thread Moritz Lennert
On 31/03/16 01:17, Jaya Krishnan wrote: Hi fellow GRASS users, I have outputs of i.segment (object segmentation) for 30m Landsat imagery from 4 dates. The segments are around 1 each for each imagery. How can I use these outputs for land cover change analysis? Do I have to vectorize these and

Re: [GRASS-user] Change GRASS region multiple times

2016-03-24 Thread Moritz Lennert
On 23/03/16 22:16, Luna, Daniel Eduardo wrote: Thank you very much for your response Pietro! Unfortunately, I'm still having problems with this topic: During the execution of my module, the resolution can change just one time. Then. when I'm creating multiple raster maps, they all have the resol

Re: [GRASS-user] Newbie questions about GRASS data model

2016-03-23 Thread Moritz Lennert
Le Tue, 22 Mar 2016 16:58:24 +0100, "Uwe Fischer" a écrit : > Hello list, > > hello Anna, Helmut, Moritz, and Aldo > > I'd like to say thanks for the helpful tips on my questions > concerning the data model. Especially Aldo's explanations helped me > such a lot, thank you once more. I appreciat

Re: [GRASS-user] i.atcorr: Returns empty raster

2016-03-20 Thread Moritz Lennert
On 16/03/16 17:09, Abhishek Manandhar wrote: Hello all, I am using i.atcorr module of GRASS 7.0.4 release. I compiled the release, as I wanted to add the Sentinel-2 sensor. So far, I was successful in compiling the release. However, when I run atcorr, I get an empty raster file. I have included t

Re: [GRASS-user] select areas

2016-03-20 Thread Moritz Lennert
On 20/03/16 06:10, Daniel Torres wrote: Thanks for the answer Veronica, sadly it didn't worked. As far as I understand, using v.select with the flag -r , selects the common boundary first, so it is the excluded when in the reverse selection is done, don't understand how exactly to solve that usin

Re: [GRASS-user] [GRASS-dev] Fwd: [OSGeo-Discuss] FOSS4G 2016 - Call for Submissions!

2016-03-19 Thread Moritz Lennert
On 18/03/16 00:15, Luca Delucchi wrote: On 17 March 2016 at 18:52, Markus Neteler wrote: I'm happy to propose a workshop. I can help you... I'm submitting a paper for the scientific track. I am more than willing to also help out with a workshop, but I don't want to commit to writing a

Re: [GRASS-user] an error during installation addons

2016-03-19 Thread Moritz Lennert
On 17/03/16 11:42, Albert Saribekyan wrote: I want add r.bioclim module and have a problem GRASS 7.0.3 (nc_basic_spm_grass7):~ > g.extension extension=r.bioclim Fetching from GRASS-Addons SVN repository (be patient)... Compiling... ERROR: Please install GRASS development package GRASS 7.0.

Re: [GRASS-user] Newbie questions about GRASS data model details

2016-03-18 Thread Moritz Lennert
On 17/03/16 20:14, Uwe Fischer wrote: Hello all, I'm quite new to GRASS (coming from ESRI and MicroStation) and have two questions concerning the vector data model. I've read GRASS Wikis, manuals and other docs from the web, but I could not find comprehensive answers yet. Sorry for the long text

Re: [GRASS-user] snapping points to lines issue

2016-03-16 Thread Moritz Lennert
[Please keep conversations on the list] On 15/03/16 18:42, Bartolomei.Chris wrote: Hi Moritz, Thanks for the suggestion, I had been using that and the problem is that the snapping function in v.net actually just creates small vectors to attach the points without actually moving them. I just re

Re: [GRASS-user] snapping points to lines issue

2016-03-15 Thread Moritz Lennert
On 14/03/16 19:13, Bartolomei.Chris wrote: Has anyone had issues using the v.clean, v.distance, v.patch, v.clean trick to snap points to a nearby set of lines? I am running GRASS version 6.4.4 on a Windows 7 PC. I have USGS stream gauge locations I am trying to snap to a stream and then create

Re: [GRASS-user] Pygrass reading raster issue

2016-03-14 Thread Moritz Lennert
Le Mon, 14 Mar 2016 13:45:42 +0100, Lorenzo Bottaccioli a écrit : > Hi all, > > I'm tring to read a raster map from my grassData. > > I'm using this code > > import os > import grass.script.setup as gsetup > from grass.pygrass import raster > > gisbase = os.environ['GISBASE']

Re: [GRASS-user] r.external.out store data in memory

2016-03-14 Thread Moritz Lennert
On 11/03/16 16:06, Lorenzo Bottaccioli wrote: Hi list, I wanted to know if was possible and how to store produced rasters in memory (as an rasterio object or similar) and do not store/save the in the disk, because I just need to do some statistics and then delete them. This if possibele will spe

Re: [GRASS-user] How to merge 3d vectors in one vector

2016-03-11 Thread Moritz Lennert
On 10/03/16 04:00, Alec Ventura wrote: Just a simple question today =) I want to put all my 3d vectors in just one, I tried to use v.patch but the result was not a 3d vector. See https://trac.osgeo.org/grass/ticket/2433 Have you tried with grass71 ? Moritz

Re: [GRASS-user] How to define the png image dimensions when using d.mon?

2016-03-10 Thread Moritz Lennert
On 10/03/16 09:48, jean pierre huart wrote: I did it also directly in the terminal and it's the same result. [...] With these tests, I have the impression that 'GRASS_RENDER_TRANSPARENT', 'GRASS_RENDER_HEIGHT', 'GRASS_RENDER_WIDTH' are not taken into account by d.mon. Thanks for all these t

Re: [GRASS-user] How to define the png image dimensions when using d.mon?

2016-03-09 Thread Moritz Lennert
On 09/03/16 18:01, jean pierre huart wrote: Launching the two scripts directly in GRASS7 console using my location/mapset give the following results for just one width, height (1280,960): Using d.mon (not ok) viascript.png PNG 640x480 640x480+0+0 8-bit DirectClass 30.5KB 0.000u 0:00.000 I didn

Re: [GRASS-user] How to define the png image dimensions when using d.mon?

2016-03-09 Thread Moritz Lennert
s not work with d.mon ? Does my below script work for you (it uses the NC demo data set [1]) ? Moritz [1] https://grass.osgeo.org/download/sample-data/ Ciao On 09/03/16 16:12, Moritz Lennert wrote: On 09/03/16 15:39, jean pierre huart wrote: Thanks Vinay, for the suggestion but I get an er

Re: [GRASS-user] How to define the png image dimensions when using d.mon?

2016-03-09 Thread Moritz Lennert
On 09/03/16 15:39, jean pierre huart wrote: Thanks Vinay, for the suggestion but I get an error on the d.out.file instruction. By the way, I've investigated the problem a bit further and found that I mixed up instructions from manuals of different versions. So coming back to GRASS v 7.0.x referen

Re: [GRASS-user] v.in.ogr in Python Grass script

2016-03-04 Thread Moritz Lennert
[Please keep mails on the list] On 04/03/16 17:38, Uwe Fischer wrote: Moritz, thank you very much for your answer. In the wiki doc you mentioned, there are two entries for exactly the same folder (PATH and PYTHONPATH). In case of PATH, there are additional folders: PATH= C:\GRASS-64\etc;C:\

Re: [GRASS-user] v.in.ogr in Python Grass script

2016-03-04 Thread Moritz Lennert
On 04/03/16 11:09, Uwe Fischer wrote: Hi Michel, hi List, In addition to my question from yesterday (concerning v.in.ogr in a Python script), today another item shows up. I removed the old QGIS from my notebook and installed 2.14 with Grass 7 in order to try that version (following Michels advi

Re: [GRASS-user] d.correlate module problems

2016-02-29 Thread Moritz Lennert
On 29/02/16 12:13, Vicent García wrote: Hi! Does anyone know how to perform an image correlation in Grass GIS 7? I’m having troubles to execute d.correlate module due to it is not installed on the wxgui. In the Map Display Window -> Analyze map → Interactive Scatter Plot Tool. https://grass.o

[GRASS-user] New addon: i.segment.uspo for unsupervised segmentation parameter optimization

2016-02-19 Thread Moritz Lennert
Hi all, I justed posted a new addon: i.segment.uspo for unsupervised segmentation parameter optimization. It runs i.segment (in some configurations via i.segment.hierarchical) on a given number of test regions to extract the "best" combination of threshold and minsize for the given image. E

Re: [GRASS-user] i.spec.sam error

2016-02-13 Thread Moritz Lennert
On 13/02/16 03:14, Jaya Krishnan wrote: Hi, I am trying to use the addon i.spec.sam on GRASS 7.0.3, but am getting an error "'i.spec.sam' is not recognized as an internal or external command". Any help is appreciated. i.spec.sam is an addon, so you have to install it first with: g.extension i

Re: [GRASS-user] r.stream.extract

2016-02-11 Thread Moritz Lennert
On 11/02/16 11:37, Joshua Arnott wrote: Is there a binary for the "r.stream.extract" module available for GRASS 7.x on Windows? I'm running GRASS 7.0.3 64-bit and have managed to install many of the other r.stream.* modules, but r.stream.extract appears to be missing. Perhaps it has been moved /

Re: [GRASS-user] geogrid not smooth in ps.map output

2016-02-11 Thread Moritz Lennert
On 08/02/16 16:48, Tyler Smith wrote: On Sun, Feb 7, 2016, at 05:17 PM, Markus Neteler wrote: On Fri, Feb 5, 2016 at 8:08 PM, Tyler Smith wrote: How can I plot geographic grids as smooth curves with ps.map? What about using v.mkgrid and then reprojection it using vertex densification as pro

Re: [GRASS-user] find (x,y) index of data

2016-02-07 Thread Moritz Lennert
Le Thu, 04 Feb 2016 19:55:13 -0500, Ken Mankoff a écrit : > Hi, > > I think I've solved this. I can compute i,j with: > > On 2016-02-04 at 16:48, Ken Mankoff wrote: > > I'd like to do additional processing elsewhere (Python), outside of > > grass, based on the index (i,j) of each point in a ra

Re: [GRASS-user] R: v.to.db output (GRASS for Windows 7.0.3RC2)

2016-02-01 Thread Moritz Lennert
On 21/01/16 11:56, Aldo CLERICI wrote: Moritz, Thanks for the answer, but my question was probably much more simple. It was about the order of category values in the output list of v.to.db that seems random. Anyway, by analysing the following example from North Carolina dataset: v.to.db -p map=g

[GRASS-user] Fwd: [OSGeo-Discuss] FOSS4G 2016 - Call for Submissions!

2016-01-27 Thread Moritz Lennert
Forwarded Message Subject: [OSGeo-Discuss] FOSS4G 2016 - Call for Submissions! Date: Thu, 21 Jan 2016 15:48:47 +0100 From: till.ad...@fossgis.de To: disc...@lists.osgeo.org Hello OSGeo-community! Did you ever dream of having a presentation in a parliament or plenary chamber

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