Re: [GRASS-user] v.patch segmentation fault

2021-04-01 Thread Daniel McInerney
Hi Markus, MarkusM, many thanks to you both for the quick fix, I tested it now and it's working perfectly. best regards, Daniel. On 31/03/2021 22:47, Markus Neteler wrote: > Hi Daniel, > > On Tue, Mar 30, 2021 at 9:57 PM Daniel McInerney > wrote: >> Hi Markus, cc: List, >

Re: [GRASS-user] v.patch segmentation fault

2021-03-30 Thread Daniel McInerney
turning the segmentation fault. Hope that helps. best regards, Daniel On 28/03/2021 22:07, Markus Neteler wrote: > Hi Daniel, > > On Thu, Mar 11, 2021 at 11:35 AM Daniel McInerney > wrote: >> Hi List, >> >> I was running a series of steps in a workflow that patc

[GRASS-user] v.patch segmentation fault

2021-03-11 Thread Daniel McInerney
Hi List, I was running a series of steps in a workflow that patched different line vector datasets together using v.patch, but at one stage I got a Segmentation Fault without any indication of the cause. I soon realised that one of the inputs that I had previously generated with v.patch, did not

[GRASS-user] v.net.allpairs - reduce number of calculations

2021-01-11 Thread Daniel McInerney
Hi List, I've been using v.net.allpairs [1] for the calculation of shortest paths between pairs of nodes on a river network, and it is working very well. However, for some datasets there are several thousand individual nodes and I would like to reduce the associated processing time if possible.

[GRASS-user] v.net.distance - from feature was not reachable

2019-11-20 Thread Daniel McInerney
Hi List, We are using v.net.distance to calculate the shortest path between two points on a river network, but have been experiencing some issues in both grass 7.4 and 7.9. In some instances, we need to add a new vector line (stream) to the river network, which we have done using v.patch as

Re: [GRASS-user] v.out.ogr and Date fields

2019-11-13 Thread Daniel McInerney
:52 PM Markus Metz wrote: On Wed, Nov 6, 2019 at 3:01 PM Markus Neteler wrote: Hi Daniel, On Mon, Nov 4, 2019 at 12:23 PM Daniel McInerney wrote: Hi List, As part of a workflow, we are importing ESRI Shapefiles into GRASS so that we can manage the vector topology, before re-exporting

[GRASS-user] v.out.ogr and Date fields

2019-11-04 Thread Daniel McInerney
Hi List, As part of a workflow, we are importing ESRI Shapefiles into GRASS so that we can manage the vector topology, before re-exporting the vectors back to an ESRI Shapefile. However, we noticed that the date fields are being converted from a field of type Date to type String. Hopefully

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

2019-01-03 Thread Daniel McInerney
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 4 areas (may take some time)...  100%

Re: [GRASS-user] v.generalize and external boundaries

2018-08-25 Thread Daniel McInerney
c_basic_spm_grass7):~ > v.centroids merge_smooth > output=merged_areas layer=2 option=add > > > > > > You probably will have to do some manual cleaning of the result, > since the smoothed inner boundaries might no longer exactly intersect > with the untouched outer boundary

[GRASS-user] v.generalize and external boundaries

2018-08-24 Thread Daniel McInerney
Hi List, I'm using v.generalize in a script (excerpt included below) to smooth the boundaries of a polygon vector dataset. In the attached example (input_vector.png), I would like to *only* generalize the internal lines (blue), and leave the external boundary (green line) unchanged. I thought

Re: [GRASS-user] European cities map

2014-01-08 Thread Daniel McInerney
Hi Johannes, Eurostat's European Urban Audit dataset [1] could also be relevant.It contains a point Shapefile of each of the main EU cities (580 in total) as well as their respective urban extents as polygons. As far as I can see, the latest version dates from 2004 [2], but perhaps a more recent

Re: [GRASS-user] Export to Geotiff and produce tfw file

2013-11-06 Thread Daniel McInerney
Hi Luis, You should also include `createopt=TFW=YES` in your r.out.gdal command. best regards, Daniel On Wed, Nov 6, 2013 at 10:00 AM, Luisa Peña luisapena1...@gmail.com wrote: Dear all, I have a question regarding the export to geotiff using r.out.gdal: how can I generate an auxilliary

Re: [GRASS-user] Compilation error with g.extension v.krige

2013-10-17 Thread Daniel McInerney
Hi Alessandro, On Thu, Oct 17, 2013 at 11:30 AM, Alessandro Sarretta alessandro.sarre...@gmail.com wrote: Dear all, I'm trying to install v.krige via *g.extension v.krige* but I receive an error. My configurations are the followings: GRASS version: 6.4.3 GRASS SVN Revision: GIS

Re: [GRASS-user] GRASS7 d.mon

2013-10-14 Thread Daniel McInerney
Yes, you're right, it doesn't display in wxGUI either - I thought that it had been working over the w/e. Daniel On Mon, Oct 14, 2013 at 11:56 AM, Martin Landa landa.mar...@gmail.comwrote: Hi, 2013/10/14 Daniel McInerney daniel.o.mciner...@gmail.com: cairo.x86_64

Re: [GRASS-user] GRASS7 d.mon

2013-10-14 Thread Daniel McInerney
Many thanks Martin, that revision has solved the problem. Daniel On Mon, Oct 14, 2013 at 3:21 PM, Martin Landa landa.mar...@gmail.comwrote: Hi, 2013/10/14 Daniel McInerney daniel.o.mciner...@gmail.com: Yes, you're right, it doesn't display in wxGUI either - I thought that it please try

Re: [GRASS-user] GRASS7 d.mon

2013-10-14 Thread Daniel McInerney
, 2013/10/14 Daniel McInerney daniel.o.mciner...@gmail.com: Many thanks Martin, that revision has solved the problem. in this revision I just changed the error message to report more detailed info about failure. So it cannot be the reason why it's working now for you. Martin -- Martin Landa

Re: [GRASS-user] Joining vectors by location

2011-11-21 Thread daniel mcinerney
Hi Daniel. You should use v.rast.stats [1] as it Calculates univariate statistics from a raster map based on vector polygons and uploads statistics to new attribute columns. Should be a more straight forward approach. Best Regards, Daniel. [1]

Re: [GRASS-user] Joining vectors by location

2011-11-21 Thread daniel mcinerney
Hi Daniel, According to the documentation of [1] and previous discussions [2], v.rast.stats2 should be a lot faster. You should be able to change the BASECOLS variable in the script to only output the sums, which might speed things up for you. Hope that helps. Regards, Daniel. [1]

Re: [GRASS-user] Is it possible to export a Raster to KML

2011-10-24 Thread daniel mcinerney
Hi Katrin, Yes, it's possible using the r.out.kml add-on, see [1][2] [1] http://grass.osgeo.org/wiki/GRASS_AddOns#r.out.kml [2] http://osgeo-org.1803224.n2.nabble.com/KML-generator-for-GRASS-6-4-td4548193.html Regards, Daniel. On Mon, Oct 24, 2011 at 1:40 PM, katrin eggert

Re: [GRASS-user] How to calculate SUM of an image

2011-10-03 Thread daniel mcinerney
Hi Kim, What about using r.sum [1] or r.univar [2] ? Regards, Daniel [1] http://grass.osgeo.org/grass64/manuals/html64_user/r.sum.html [2] http://grass.osgeo.org/grass64/manuals/html64_user/r.univar.html On Mon, Oct 3, 2011 at 3:08 PM, Kim Besson kimbesson1...@gmail.com wrote: Greetings I

Re: [GRASS-user] Conversion of multiple rasters to PNG files

2011-04-12 Thread daniel mcinerney
Hi, you could use the following bash for loop as a basis for what you want to do: for file in `g.mlist rast pattern=searchpattern*`; do r.out.png input=$file output=/tmp/$file.png; done Regards, Daniel On Tue, Apr 12, 2011 at 5:10 AM, Mortsde alex.mort...@gmail.com wrote: Hi Community,

[GRASS-user] r.kappa query

2011-04-01 Thread daniel mcinerney
Hi list, I have a query regarding the error matrix produced using r.kappa (in GRASS 6.4.0 RC6) and hoping that the following will help someone to replicate my findings. From what I see, the error matrix is mis-labeling the rows/columns in the matrix. Using the spearfish dataset, I digitised 18

Re: [GRASS-user] r.kappa query

2011-04-01 Thread daniel mcinerney
; -nan and NA that are each reported within the r.kappa output? Regards, Daniel. On Fri, Apr 1, 2011 at 3:42 PM, Markus Metz markus.metz.gisw...@googlemail.com wrote: On Fri, Apr 1, 2011 at 2:45 PM, daniel mcinerney daniel.o.mciner...@gmail.com wrote: Hi list, I have a query regarding

Re: [GRASS-user] i.cluster not working in GRASS 7

2011-02-18 Thread daniel mcinerney
Hi Ned, I have been using i.cluster in GRASS 7 on a 64-bit fedora server, without any trouble. However, I managed to replicate your problem and create a single class output by setting the parameter 'sample=5,5' as you had done in your example. If I run i.cluster without that parameter, the

Re: [GRASS-user] Calculate averagfe of raster maps without mapcalc

2011-02-16 Thread daniel mcinerney
Hi Kim, You can use r.univar to compute univariate statistics of your raster data. http://grass.fbk.eu/grass65/manuals/html65_user/r.univar.html Regards, Daniel. On Wed, Feb 16, 2011 at 2:31 PM, Kim Besson kimbesson1...@gmail.com wrote: Greetings I need to calculate the average of a set of

Re: [GRASS-user] Produce KML/KMZ files in GRASS

2011-01-13 Thread daniel mcinerney
Hi Monica, You can use r.out.kml [1] to export GRASS rasters to kml. [1] http://grass.osgeo.org/wiki/GRASS_AddOns#r.out.kml Regards, Daniel. On Thu, Jan 13, 2011 at 1:03 PM, Monica Buescu monicabuescu1...@gmail.comwrote: Greetings I would like to know if it's possible to produce KML/KMZ

[GRASS-user] v.out.ogr issue

2010-06-30 Thread daniel mcinerney
Hi List, I'm having trouble exporting a GRASS vector file using v.out.ogr. The file contains 1 million areas and its attributes are stored in a postgresql table (view of joined tables and connected to geometry using v.db.connect). When I run the following command: v.out.ogr -c type=area

Re: [GRASS-user] Difficulties with i.pr

2010-04-14 Thread Daniel McInerney
Daniel, Thank you for the thread. I'm working with polygons. Did you classify any image with the i.pr? JD On Mon, Apr 12, 2010 at 4:36 PM, Daniel McInerney daniel.mciner...@ucd.iewrote: Hi Joel, I did some work with i.pr a while back, but was unsuccessful in getting it to fully work. Is your

Re: [GRASS-user] Difficulties with i.pr

2010-04-12 Thread Daniel McInerney
Hi Joel, I did some work with i.pr a while back, but was unsuccessful in getting it to fully work. Is your vector file a point or polygon? I tested i.pr.training with points. You might get some ideas from this thread: http://www.mail-archive.com/grass-user@lists.osgeo.org/msg00153.html

Re: [GRASS-user] problem with spgrass6

2010-03-01 Thread Daniel McInerney
Hi Leo, these type of questions are best sent to the grass-st...@list.osgeo.org [1] list (cc'd here), which discusses GRASS-GIS, R spgrass6 issues. What does sessionInfo() give? Best Regards, Daniel. [1] http://www.osgeo.org/mailman/listinfo/grass-stats Leo Hardtke wrote: Hi list, I am

Re: [GRASS-user] KML generator for GRASS 6.4

2010-02-10 Thread Daniel McInerney
Hi Luis, You should be able to export GRASS vectors to KML using v.out.kml [1] or v.out.ogr [1] [1] http://grasslab.gisix.com/scripts/v.out.kml/ [2] http://grass.itc.it/gdp/html_grass64/v.out.ogr.html Regards, Daniel. Luis Lisboa wrote: Greetings I would like to know if there is any

Re: [GRASS-user] GRASS tools for palsar/radar images

2008-11-21 Thread Daniel McInerney
Hi Maning, I'm not aware of any GRASS tools to process radar data, but you could have a look at Polsarpro [1], which handles ALOS Palsar data and is available for various operating systems. Best [2] might also be of use if you're using ASAR data. [3] is referenced in Markus and Helena's book and