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

2016-10-18 Thread James Duffy
to create the segmented map in the first place. Upon execution of 'i.segment.stats', i get the following error: Element type should be "cell" and not "raster. The tool does not continue and outputs a blank .csv file. Any help solving this would be much appreciated. Ki

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

2016-10-18 Thread James Duffy
On 18 October 2016 at 16:17, Moritz Lennert 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 installed the addon 'i.segment.stats' to use with my output from

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

2016-10-18 Thread James Duffy
On 18 October 2016 at 16:37, Moritz Lennert wrote: > 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: >> >&

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

2016-10-18 Thread James Duffy
Hello, I'm running the following command: i.segment.stats --overwrite --verbose map=angle_seg_uspo_angle_region_1_rank1@angle1 \ rasters=angle_ortho.1@angle1,angle_ortho.2@angle1,angle_ortho.3@angle1 ,angle_ortho.4@angle1 \ raster_statistics=min,max,mean,stddev,sum csvfile=/home/jd/Wales_GRASS/An

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

2016-10-19 Thread James Duffy
ss-user mailing list > grass-user@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/grass-user -- *James Duffy* PhD Researcher Environment and Sustainability Institute Penryn Campus University of Exeter Penryn Cornwall TR10 9FE ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] i.segment.stats memory usage error

2016-10-27 Thread James Duffy
Hello, I'm trying to use i.segment.stats with GRASS 7.0.4 in the osgeolive 32bit operating system. Prior to using this tool I have successfully created my segmented map using i.segment. When I try to execute the following command: i.segment.stats --overwrite --verbose map=gp_seg_optimum@gp1 \ r

Re: [GRASS-user] i.segment.stats memory usage error

2016-10-27 Thread James Duffy
On 27 October 2016 at 11:08, Moritz Lennert wrote: > > > Le 27 octobre 2016 11:22:02 GMT+02:00, James Duffy < > james.philip.du...@gmail.com> a écrit : > >Hello, > > > >I'm trying to use i.segment.stats with GRASS 7.0.4 in the osgeolive > >32bit

Re: [GRASS-user] i.segment.stats memory usage error

2016-10-27 Thread James Duffy
On 27 October 2016 at 11:45, Moritz Lennert wrote: > > > Le 27 octobre 2016 12:35:14 GMT+02:00, James Duffy < > james.philip.du...@gmail.com> a écrit : > >On 27 October 2016 at 11:08, Moritz Lennert > > > >wrote: > > > >> > >

Re: [GRASS-user] i.segment.stats memory usage error

2016-10-27 Thread James Duffy
On 27 October 2016 at 13:53, Moritz Lennert wrote: > On 27/10/16 12:51, James Duffy wrote: > >> >> >> On 27 October 2016 at 11:45, Moritz Lennert >> mailto:mlenn...@club.worldonline.be>> >> wrote: >> >> >> >> Le 27 octobre

Re: [GRASS-user] i.segment.stats memory usage error

2016-10-27 Thread James Duffy
On 27 October 2016 at 16:33, Moritz Lennert wrote: > On 27/10/16 16:15, Moritz Lennert wrote: > >> On 27/10/16 15:38, James Duffy wrote: >> >>> >>> >>> On 27 October 2016 at 13:53, Moritz Lennert >>> mailto:mlenn...@club.worldonline.be&g

Re: [GRASS-user] i.segment.stats memory usage error

2016-10-27 Thread James Duffy
On 27 October 2016 at 17:48, Moritz Lennert wrote: > Le Thu, 27 Oct 2016 16:45:47 +0100, > James Duffy a écrit : > > > On 27 October 2016 at 16:33, Moritz Lennert > > wrote: > > > > > On 27/10/16 16:15, Moritz Lennert wrote: > > >

Re: [GRASS-user] i.segment.stats memory usage error

2016-11-02 Thread James Duffy
Thanks for your support on this. James On 27 October 2016 at 20:47, Moritz Lennert wrote: > Le Thu, 27 Oct 2016 20:33:23 +0100, > James Duffy a écrit : > > > On 27 October 2016 at 17:48, Moritz Lennert > > wrote: > > > > > > > Running: > >

Re: [GRASS-user] i.segment.stats memory usage error

2016-11-04 Thread James Duffy
Markus Metz wrote: >> >>> On Wed, Nov 2, 2016 at 3:47 PM, Moritz Lennert >>> wrote: >>> >>>> On 02/11/16 11:05, James Duffy wrote: >>>> >>>>> >>>>> I can't register with osgeo to submit a bug as

Re: [GRASS-user] i.segment.stats memory usage error

2016-11-04 Thread James Duffy
te: > > On 04/11/16 14:29, Markus Metz wrote: > >> > >> On Wed, Nov 2, 2016 at 5:15 PM, Markus Metz > >> wrote: > >>> > >>> On Wed, Nov 2, 2016 at 3:47 PM, Moritz Lennert > >>> wrote: > >>>> > >>>>

Re: [GRASS-user] i.segment.stats memory usage error

2016-11-07 Thread James Duffy
On 7 November 2016 at 14:13, Moritz Lennert wrote: > Hi James, > > On 04/11/16 22:08, James Duffy wrote: > >> Sorry to post again on this long thread... >> > > No worries :-) > > >> I have just managed to get my hands on a 64bit osgeolive install with &g

[GRASS-user] v.class.mlR error

2016-11-10 Thread James Duffy
Hello, I'm trying to run v.class.mlR on a vector map, with a separate vector map containing my training data. Currently I have two classes '1' and '2' stored in the column 'class'. My region is set to that of the segments to be classified. I run the following command: v.class.mlR segments_map=gp_

Re: [GRASS-user] v.class.mlR error

2016-11-11 Thread James Duffy
On 10 November 2016 at 19:37, Moritz Lennert wrote: > > > Le 10 novembre 2016 15:45:59 GMT+01:00, James Duffy < > james.philip.du...@gmail.com> a écrit : > >Hello, > > > >I'm trying to run v.class.mlR on a vector map, with a separate vector > >map &

Re: [GRASS-user] v.class.mlR error

2016-11-11 Thread James Duffy
On 11 November 2016 at 10:07, Moritz Lennert wrote: > > > Le 11 novembre 2016 10:21:11 GMT+01:00, James Duffy < > james.philip.du...@gmail.com> a écrit : > >On 10 November 2016 at 19:37, Moritz Lennert > > > >wrote: > > > >> > >&

Re: [GRASS-user] v.class.mlR error

2016-11-11 Thread James Duffy
On 11 Nov 2016 11:08 am, "Moritz Lennert" wrote: > > On 11/11/16 11:36, James Duffy wrote: >> >> >> >> On 11 November 2016 at 10:07, Moritz Lennert >> mailto:mlenn...@club.worldonline.be>> wrote: >> >> >> >> Le 11

[GRASS-user] Using g.extension in with rgrass7 in R

2017-05-03 Thread James Duffy
sion.py>", line 601, in write_xml_moduleslibgis_revison = grass.version()['libgis_revision']KeyError: 'libgis_revision'Warning message:running command 'g.extension.bat extension=i.segment.uspo operation=add' had status 1* Can anyone tell me where I have to se

[GRASS-user] Fwd: Using g.extension in with rgrass7 in R

2017-05-03 Thread James Duffy
- From: James Duffy Date: 3 May 2017 at 14:44 Subject: Using g.extension in with rgrass7 in R To: grass-user Hello, I'm trying to use GRASS in RStudio using the 'rgrass7' pacakge. So far I have: *library(rgrass7)initGRASS(gisBase = "C:/OSGeo4W64/apps/grass/grass-7

[GRASS-user] Vector attribute 'algebra' - calculating difference between areas of polygons

2017-05-17 Thread James Duffy
Hello list, I have two vectors (A and B), both of which are polygons of different sizes. They overlap each other, but not fully. I wish to calculate the area of each polygon (in meters) and perform the following: (A - B) / A Currently I think I can do this with the following: 1) Create a differ

[GRASS-user] v.to.db area calculations

2017-05-18 Thread James Duffy
shows 22.42226m2. I am working in WGS84. Can anyone shed some light on how v.to.db calculates area and why it might be going wrong please? Thank you James -- *James Duffy* PhD Researcher Environment and Sustainability Institute Penryn Campus University of Exeter Penryn Cornwall TR10 9

Re: [GRASS-user] v.to.db area calculations

2017-05-19 Thread James Duffy
I would suggest making tests with polygons of which you know the area > (e.g. simple squares to begin with) > > Moritz > -- *James Duffy* PhD Researcher Environment and Sustainability Institute Penryn Campus University of Exeter Penryn Cornwall TR10 9FE

Re: [GRASS-user] v.to.db area calculations

2017-05-19 Thread James Duffy
Le 19 mai 2017 10:19:06 GMT+02:00, "Blumentrath, Stefan" < > stefan.blumentr...@nina.no> a écrit : > >Just checked the data you send offline in QGIS 2.18.0. > > > >With your sample data > >SAGA (through processing) returns an area of 0.… > >QGIS

Re: [GRASS-user] v.to.db area calculations

2017-05-19 Thread James Duffy
May 18, 2017 at 4:22 PM, James Duffy > > > >wrote: > >> > >> Hello, > >> > >> I'm trying to calculate the area of a polygon using v.to.db as > >follows > >(through R): > >> > >> execGRASS("v.to.db", flag

Re: [GRASS-user] v.to.db area calculations

2017-05-24 Thread James Duffy
wrote: > On 19/05/17 11:25, James Duffy wrote: > >> Just to clear a few things up. >> >> The shapefile contains only a single polygon (I created it as a simple >> test to work out this discrepancy). >> >> OTF is turned off in QGIS, I am working in EPSG 43

[GRASS-user] v.class.mlR error

2017-05-24 Thread James Duffy
Hello, When trying to run the following: *v.class.mlR --verbose segments_map=seg_stats_vec@MAP1 training_map=seg_stats_train_val@MAP1 raster_segments_map=seg_optimum_clump@MAP1 classified_map=out train_class_column=class output_class_column=vote output_prob_column=prob folds=5 partitions=10 tun

Re: [GRASS-user] v.class.mlR error

2017-05-25 Thread James Duffy
again have the original error regarding escaped slashes. Kind regards James On 25 May 2017 at 09:15, Moritz Lennert wrote: > Le Thu, 25 May 2017 00:25:57 +0200, > Markus Neteler a écrit : > > > On Wed, May 24, 2017 at 12:14 PM, James Duffy > > wrote: > > ...

Re: [GRASS-user] v.class.mlR error

2017-05-25 Thread James Duffy
5 May 2017 at 11:43, Moritz Lennert wrote: > Le Thu, 25 May 2017 10:54:18 +0100, > James Duffy a écrit : > > > Hi Moritz, > > > > Your suggested edits to v.class.mlR.py worked (except you had one too > > many brackets on the end of each line, so I removed those). On

[GRASS-user] i.superpixels.slic not working

2017-06-12 Thread James Duffy
Hello, I'm trying to run the following: *i.superpixels.slic -n group=mod1@PERMANENT output=test num_pixels=5000 memory=1* The output gives me the following: (Mon Jun 12 10:17:40 2017) i.superpixels.slic -n group=mod1@PERMANENT output=test num_pixels=5000 memory=1 Cache data in memory m

Re: [GRASS-user] i.superpixels.slic not working

2017-06-12 Thread James Duffy
On 12 June 2017 at 10:36, Moritz Lennert wrote: > On 12/06/17 11:25, James Duffy wrote: > >> Hello, >> >> I'm trying to run the following: >> >> *i.superpixels.slic -n group=mod1@PERMANENT output=test num_pixels=5000 >> memory=1 >> >>

Re: [GRASS-user] i.superpixels.slic not working

2017-06-12 Thread James Duffy
On 12 June 2017 at 11:00, Moritz Lennert wrote: > On 12/06/17 11:38, James Duffy wrote: > >> On 12 June 2017 at 10:36, Moritz Lennert > <mailto:mlenn...@club.worldonline.be>> wrote: >> >> On 12/06/17 11:25, James Duffy wrote: >> >> Hell

Re: [GRASS-user] i.superpixels.slic not working

2017-06-12 Thread James Duffy
On 12 June 2017 at 12:09, Moritz Lennert wrote: > On 12/06/17 12:11, James Duffy wrote: > >> >> >> On 12 June 2017 at 11:00, Moritz Lennert > <mailto:mlenn...@club.worldonline.be>> wrote: >> >> On 12/06/17 11:38, James Duffy wrote: >&g

[GRASS-user] Suppress overwrite warnings in GRASS (using rgrass7)

2017-06-19 Thread James Duffy
Hello, I'm executing loops where temporary files are overwritten on a regular basis. Even with the 'quiet' flag, the "WARNING: Vector map already exists and will be overwritten" message is produced. How can I turn this off? Either with a flag just for that command, or across the whole session? A

Re: [GRASS-user] Importing .img file

2018-06-27 Thread James Duffy
importing > these data; perhaps r.in.gdal would be appropriate? The provided .xml file > is attached. > >Please provide advice on importing these data. > > TIA, > > Rich > ___ > grass-user mailing list > grass-user@lists.

Re: [GRASS-user] assessing spatial autocorrelation

2018-07-20 Thread James Duffy
un the examples of the man page without > > any problems. > > > > Moritz > > > > > > > > > > > ___ > grass-user mailing list > grass-user@lists.osgeo.org > https://lists.os