Re: [GRASS-user] r.in.gdal for importing categorical ArcGIS binary rasters

2014-02-18 Thread Markus Metz
On Tue, Feb 18, 2014 at 2:09 PM, manuel.martin wrote: > On 02/18/2014 01:56 PM, Markus Metz wrote: >> >> On Tue, Feb 18, 2014 at 1:14 PM, manuel.martin >> wrote: >>> >>> On 02/18/2014 12:47 PM, Markus Metz wrote: On Tue, Feb 18, 2014 at 11:43 AM, manuel.martin wrote: > > H

Re: [GRASS-user] Hydrological grass question: main channel length for each subbasin

2014-02-18 Thread Thomas Adams
Michel, I was thinking there may be a problem with multiple streams in a single basin, so that's not a surprise. Depending on your application, if your location has a fine enough raster resolution, I would think counting pixels and multiplying by the resolution would be an adequate approximation.

Re: [GRASS-user] Hydrological grass question: main channel length for each subbasin

2014-02-18 Thread Michel Wortmann
Thank you for your answers Helmut, Rich and Tom, Tom: this is indeed a smart way of doing it and I have associated each main channel pixel to a subbasin ID, but counting the cells and multiplying that by the resolution seems a bit simplistic or would you disagree with that? I have now done thi

Re: [GRASS-user] libgrass_gmath

2014-02-18 Thread Markus Neteler
On Tue, Feb 18, 2014 at 2:50 PM, Dave Roberts wrote: ... > 7.0 doesn't come close to compiling on this machine at present. If you want assistance here, let me know (perhaps after having checked grasswiki.osgeo.org/wiki/Compile_and_Install ). Markus ___

Re: [GRASS-user] libgrass_gmath

2014-02-18 Thread Dave Roberts
Hi Hamish. Thanks for the help. g.version -r returns 6.4.3 echo $GISBASE returns /usr/local/grass-6.4.3 echo $GRASS_LD_LIBRARY_PATH returns /usr/local/grass-6.4.3/lib echo $LD_LIBRARY_PATH returns /usr/local/grass-6.4.3/lib All good so far. However, ls $GISBASE/lib shows no libgrass_gmath

Re: [GRASS-user] r.in.gdal for importing categorical ArcGIS binary rasters

2014-02-18 Thread manuel.martin
On 02/18/2014 01:56 PM, Markus Metz wrote: On Tue, Feb 18, 2014 at 1:14 PM, manuel.martin wrote: On 02/18/2014 12:47 PM, Markus Metz wrote: On Tue, Feb 18, 2014 at 11:43 AM, manuel.martin wrote: Hi, I just compiled grass r59073 and gave a try. I could not get the attributes imported along wi

Re: [GRASS-user] r.in.gdal for importing categorical ArcGIS binary rasters

2014-02-18 Thread Markus Metz
On Tue, Feb 18, 2014 at 1:14 PM, manuel.martin wrote: > On 02/18/2014 12:47 PM, Markus Metz wrote: >> >> On Tue, Feb 18, 2014 at 11:43 AM, manuel.martin >> wrote: >>> >>> Hi, I just compiled grass r59073 and gave a try. >>> I could not get the attributes imported along with the raster, but maybe

Re: [GRASS-user] r.in.gdal for importing categorical ArcGIS binary rasters

2014-02-18 Thread manuel.martin
On 02/18/2014 12:47 PM, Markus Metz wrote: On Tue, Feb 18, 2014 at 11:43 AM, manuel.martin wrote: Hi, I just compiled grass r59073 and gave a try. I could not get the attributes imported along with the raster, but maybe am I missing something from the new revision of r.in.gdal (although from th

Re: [GRASS-user] r.in.gdal for importing categorical ArcGIS binary rasters

2014-02-18 Thread Markus Metz
On Tue, Feb 18, 2014 at 11:43 AM, manuel.martin wrote: > Hi, I just compiled grass r59073 and gave a try. > I could not get the attributes imported along with the raster, but maybe am > I missing something from the new revision of r.in.gdal (although from the > code it looks that the import of val

Re: [GRASS-user] r.in.gdal for importing categorical ArcGIS binary rasters

2014-02-18 Thread manuel.martin
Hi, I just compiled grass r59073 and gave a try. I could not get the attributes imported along with the raster, but maybe am I missing something from the new revision of r.in.gdal (although from the code it looks that the import of values from the attribute table should be automatic?). Markus,