Re: [GRASS-user] Using r.buffer on image with geographic coordinates

2011-04-05 Thread Ned Horning
Markus M. Thanks once again for the advice. I updated to the most recent version yesterday and tried v.buffer again but it ran out of memory at around the 75% complete mark during the snapping boundaries step. I only have 5.7 GB physical memory and 5.7 GB swap available. I tried r.grow and

Re: [GRASS-user] Using r.buffer on image with geographic coordinates

2011-03-30 Thread Ned Horning
Thanks for the help compiling with v.buffer. I think I'm running the correct version now but the function still does not complete properly. I pasted the last several lines from the terminal screen below. I have a feeling I ran out of memory. Any ideas about what I can try next? Ned -- D0/0:

Re: [GRASS-user] Using r.buffer on image with geographic coordinates

2011-03-28 Thread Ned Horning
Markus, Thanks for fixing the code. I managed to compile v.buffer and I ran it in the grass65 terminal window and these are the errors I got. There were several of the Next edge was visited messages but I only cut out the last couple. Any idea what the problem might be? I'm running on 64

Re: [GRASS-user] Using r.buffer on image with geographic coordinates

2011-03-28 Thread Ned Horning
Hi Markus M. Thanks for the pointer but I'm still having a problem (terminal output pasted below) and wonder if I'm still accessing v.buffer2. The program stops because I run out of memory. I have 5.7 GB of physical and 5.8 GB for my swap and it's not enough. I ran make and make install in

Re: [GRASS-user] Using r.buffer on image with geographic coordinates

2011-03-27 Thread Ned Horning
Hi Markus, Thanks for your help. I am trying to follow your instruction but ran into a problem compiling v.buffer. I used svn to download grass 6.5 into /usr/local/src and it appears to have compiled just fine and grass65 seems to be working. To compile v.buffer I tried: sudo make

[GRASS-user] Using r.buffer on image with geographic coordinates

2011-03-25 Thread Ned Horning
Hi - I am trying to create buffers for large (~1GB) line and polygon vector files. I tried v.buffer but after letting it run overnight with no apparent progress I killed the process. I'm not aware of any software capable of buffering large vector files on a modest computer so that wasn't a big

[GRASS-user] r.rescale error

2011-03-09 Thread Ned Horning
Hi - I am trying to run r.rescale to apply a contrast stretch to an image to allow me to more easily locate ground control points using Georectify. When I run the following command: r.rescale input=Quickbird.blue@PERMANENT from=48,106 output=Quickbird.blue.scale to=0,255 I get the

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

2011-02-17 Thread Ned Horning
Hi - I would like to do an unsupervised classification using i.cluster from GRASS 7 on my Ubuntu 64-bit machine. When I run i.cluster then i.maxlik on a Landsat image I only get one output class, the entire image. Only one class appears in the signature file so the problem is with the

[GRASS-user] Problem with i.cluster in Grass 7

2010-11-22 Thread Ned Horning
Hi - I'm trying to do an unsupervised classification using GRASS 7 compiled today from SVN on my Ubuntu 64-bit machine. When I run i.cluster from the GUI it completes instantly and creates an empty (except for the line: #produced by i.cluster) signature file. Below is the output from the

[GRASS-user] Error with g.region compiling on Windows

2010-09-09 Thread Ned Horning
/Hi - I am trying to compile the weekly snapshot 2010-09-04 on Windows XP so that I can access the r.univar.zonal addon. I get a message that there is an error with g.region. I tried make in the g.region directory and here are the errors I got: -- $ make gcc

[GRASS-user] Using pipes in python scripts

2010-07-01 Thread Ned Horning
I'm making progress translating my shell script to Python but ran into another stumbling block. I would like to convert the following shell script command to the python scrip: -- v.out.ascii $randomName fs=' ' | r.what input=$resampName $pointTableName -- I tried various combinations of

[GRASS-user] using mapcalc in a python script

2010-06-30 Thread Ned Horning
I am working on converting a shell script to python and ran into a problem I haven't been able to figure out using the r.mapcalc command. Can someone let me know how to write the following command using python. The command creates a GRASS MASK layer: r.mapcalc MASK=if(($cloudResampName

Re: [GRASS-user] Trouble running Grass 7

2010-06-30 Thread Ned Horning
Hi Markus, Thanks for the reply. He are the results of the two commands you requested: nedhorn...@ubuntu-desktop:~$ uname -a Linux ubuntu-desktop 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux nedhorn...@ubuntu-desktop:~$ ldd /usr/lib/libproj.so.0.6.6

Re: [GRASS-user] Trouble running Grass 7

2010-06-30 Thread Ned Horning
Markus, Thanks for the diagnostic help. I was using the GRASS 7 binary so that's the problem. I'll try to compile GRASS 7 using the SVN snapshot to see I can get that to work. Thanks for your patience. Ned On 06/30/2010 06:18 PM, Markus Neteler wrote: On Wed, Jun 30, 2010 at 11:47 PM, Ned

[GRASS-user] Trouble running Grass 7

2010-06-29 Thread Ned Horning
Hi - I am trying to install Grass 7 in a local directory and the installation seems to have gone ok but when I run it I get the following error: -- WARNING: Nviz extension (3D view mode) disabled. Reason: /home/nedhorning/bin/grass70/lib/libgrass_datetime.7.0.svn.so: wrong ELF class:

Re: [GRASS-user] Raster attributes

2010-03-02 Thread Ned Horning
a script. I have a decent understanding of r.reclass and r.category but the problem is that I'm not sure how to join the database to the raster. I'll see if the r.rast4d module can provide some hints. Ned On 3/2/2010 2:38 AM, Hamish wrote: Ned Horning wrote: Is it possible to link a raster

[GRASS-user] Raster attributes

2010-03-01 Thread Ned Horning
Is it possible to link a raster image to a set of attributes stored in a database using GRASS? I am working with the Harmonized World Soil Database which consist of an image and a database that holds a set of soil attributes. These attributes can be linked/joined to the image since the pixel

[GRASS-user] Maximum number of parameters

2009-10-09 Thread Ned Horning
I am writing a script that calibrates a 6-band image using slope and intercept values but am having a problem reading these values from the command line. In total the script expects 14 parameters to be entered at the command line but is seems as if only 9 are accepted. Is that a limitation of

[GRASS-user] Paper using GRASS and R

2009-09-25 Thread Ned Horning
All, I sent this to Markus and he suggested that some folks on the list might be interested as well. A recent article in the International Journal of Remote Sensing described a comparison of image classification results from the random forest and kNN algorithms using GRASS and R. The title

[GRASS-user] Problem finding r.mask in Windows script

2009-09-23 Thread Ned Horning
Hi - I have a script that I am running on the Windows version of GRASS 6.4.0 installed using OSGEO4W. The script seems to run okay but the I am getting a message that I can't figure out. Early in the script I have the command: r.mask -r maskcats=* I also tried: r.mask -r MASK In both

Re: [GRASS-user] Problem finding r.mask in Windows script

2009-09-23 Thread Ned Horning
Markus, I ran the script in the lower pane of the Output - GIS.m window. I expect this is a stupid question but in the Windows version where is the GRASS terminal? Ned Markus Neteler wrote: just a curiosity: are you sure to run this script in the GRASS terminal? Markus

[GRASS-user] Resampling with percent cover

2009-04-29 Thread Ned Horning
Hi – I am still working on creating a percent shrub cover map using GRASS and R and have a question regarding resampling. I have shrub/non-shrub/cloud maps at 1m resolution and I want to resample those to 30m pixels using the following logic. The value of each output 30m pixel will be the

Re: [GRASS-user] Working with large images

2009-04-26 Thread Ned Horning
Moritz, When I run gdalinfo I get the following error: ERROR 4: This is a BigTIFF file. BigTIFF is not support by this version of GDAL and libtiff The command line runs GDAL version 1.5.4 Ned Moritz Lennert wrote: On 26/04/09 12:13, Nikos Alexandris wrote: Nikos: In Ubuntu repositories

Re: [GRASS-user] Working with large images

2009-04-25 Thread Ned Horning
Nikos, Thanks for responding. I installed the 6.4 RC4 binary from the weekly snapshot. Is BigTIFF support only available if I compile from source? Ned Nikos Alexandris wrote: On Sat, 2009-04-25 at 23:07 +0300, Ned Horning wrote: Hi - I am trying to load a large (8 GB) tiff image

[GRASS-user] Sampling multispectral data

2009-02-04 Thread Ned Horning
Greetings, I am looking into the possibility of using GRASS with the R Random Forest algorithm to create a land cover classification. I read the Furlanello, Neteler et al. paper (very nice) and some others but I need some help with the details. My problem is somewhat different from the

[GRASS-user] Listing subgroups and signature files

2009-01-21 Thread Ned Horning
All - Is there a command to list signature files? I created a few signature files but I haven't figured out how to list them to see their file names in GRASS. The same goes for subgroups although I can see the subgroup names in the group directory (not via a GRASS command). Last week I'm

[GRASS-user] (no subject)

2009-01-19 Thread Ned Horning
Markus, Thanks for the feedback. The advice is very helpful. I've been slowly getting used to GRASS but still have a way to go. If I can stick with it I hope to learn enough to create a week-long GRASS for conservation workshop that we can offer at our research station in southeastern Arizona and

[GRASS-user] Advice for starting a GRASS project

2009-01-09 Thread Ned Horning
I'd like to get some feedback on my proposed approach for a land cover classification project in GRASS. Basically I'm looking for pointers to help me avoid too many learning curve pitfalls. I have the 3rd edition of the Grass book (great resource) and lots of image processing experience using

[GRASS-user] Landsat SLC-Off gap filling

2008-10-20 Thread Ned Horning
Hi - Is there anyone out there who has worked on an algorithm to fill gaps in Landsat ETM+ SLC-Off data? Now that the Landsat 7 archive is freely available I am looking for an open source approach to fill the gaps in the SLC-Off data and GRASS seems like a good option. I'm most interested in