Le 27 octobre 2016 11:22:02 GMT+02:00, James Duffy <[email protected]> a écrit : >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 \ >rasters=gp_ortho.1@gp1,gp_ortho.2@gp1,gp_ortho.3@gp1,gp_ortho.4@gp1 \ >raster_statistics=min,max,mean,stddev,variance,sum \ >csvfile=/home/jpd205/Wales_GRASS/GarronPill/gp_seg_stats \ >separator=comma > >I get this error: > >Calculating geometry statistics >ERROR: G_malloc: unable to allocate 4273800320 bytes of memory at > /tmp/tmpgzUtnA/r.object.geometry/main.c:129
This is coming from r.object.geometry. What are your region settings (g.region -p) ? How many segments do you have ? Try running I.segment.stats without requesting form statistics. And try running r.object.geometry directly. Moritz _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
