[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] How to create stereo anaglyphs with Paraview added to Wiki

2009-04-29 Thread Benjamin Ducke
The Wiki page advises red/green glasses for viewing the images, but I have the sneaking suspicion that the method shown actually produces a red/cyan image, so red/cyan glasses would be better! Could anyone confirm this? I don't have the right glasses to check at the moment! Cheers, Ben Markus

Re: [GRASS-user] How to create stereo anaglyphs with Paraview added to Wiki

2009-04-29 Thread Guâno
Ben, I just checked the example anaglyph in the wiki with red/cyan glasses (very old ones, from Spirit/Opportunity landing..) and it works fine. cheers Carlos On Wed, Apr 29, 2009 at 08:19, Benjamin Ducke benjamin.du...@oxfordarch.co.uk wrote: The Wiki page advises red/green glasses for

Re: [GRASS-user] Resampling with percent cover

2009-04-29 Thread Nikos Alexandris
Ned: 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

Re: [GRASS-user] Grass 6.4 python.

2009-04-29 Thread Milton Cezar Ribeiro
Hi Glym, Thanks for the reply. I have tryed on two ways, both not work for me (under windows vista). 1) start msys; start grass without -mx ; and try to start python from inside grass sesssion. The python keep stoped (no error message, but stay with only python words on the console) 2) start

Re: [GRASS-user] Grass 6.4 python.

2009-04-29 Thread Milton Cezar Ribeiro
oops I typed grass -mx on email instead of grass -wx. Sorry. 2009/4/29 Milton Cezar Ribeiro miltinho.astrona...@gmail.com Hi Glym, Thanks for the reply. I have tryed on two ways, both not work for me (under windows vista). 1) start msys; start grass without -mx ; and try to start python

Re: [GRASS-user] Resampling with percent cover

2009-04-29 Thread Glynn Clements
Ned Horning wrote: 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

Re: [GRASS-user] Grass 6.4 python.

2009-04-29 Thread Glynn Clements
Milton Cezar Ribeiro wrote: Thanks for the reply. I have tryed on two ways, both not work for me (under windows vista). 'import site' failed; use -v for traceback Traceback (most recent call last): File c:/OSGeo4W/apps/grass/grass-6.5.svn/etc/wxpython/gis_set.py, line 23, in module

Re: [GRASS-user] Grass 6.4 python.

2009-04-29 Thread Milton Cezar Ribeiro
Hi Glym, But if you go to a DOS windows (using cmd) type python (it starts python 2.6) and try import sys, it works fine on text/DOS mode? By the way, the pythopath was included as windows environment variable. Any suggestion? miltinho 2009/4/29 Glynn Clements gl...@gclements.plus.com Milton

Re: [GRASS-user] Grass 6.4 python.

2009-04-29 Thread Milton Cezar Ribeiro
oops again: But if I go to a DOS windows (using cmd) 2009/4/29 Milton Cezar Ribeiro miltinho.astrona...@gmail.com Hi Glym, But if you go to a DOS windows (using cmd) type python (it starts python 2.6) and try import sys, it works fine on text/DOS mode? By the way, the pythopath was

[GRASS-user] problem with r.reclass rounding up values

2009-04-29 Thread A . Márcia BARBOSA
Hi everyone, I'm trying to reclass a floating point raster (continuous values from 0 to 1) using a txt file with the following rules: 0 thru 0.2 = 1 0.2 thru 0.8 = 2 0.8 thru 1 = 3 But the GRASS shell replies 0.70 rounded up to 0 0.70 rounded up to 0 1.30 rounded up to 1 1.30

[GRASS-user] problem with r.reclass rounding up values

2009-04-29 Thread A . Márcia BARBOSA
Hi everyone, I'm trying to reclass a floating point raster (continuous values from 0 to 1) using a txt file with the following rules: 0 thru 0.2 = 1 0.2 thru 0.8 = 2 0.8 thru 1 = 3 But the GRASS shell replies 0.70 rounded up to 0 0.70 rounded up to 0 1.30 rounded up to 1 1.30

[GRASS-user] Re: correcting a series of images for wrong bounding box (extend)

2009-04-29 Thread Tim Michelsen
My current idea is to play with the bounding box (extend) definitions when defining the projection of the location and then import-/reimport. IS there a option in GRASS to shift a raster by a vector (x, y)? I found such a tool in the ArcMap Toolbox. Regards, Timmie

Re: [GRASS-user] installing grass trunk to jaunty

2009-04-29 Thread Markus Neteler
On Wed, Apr 29, 2009 at 7:28 PM, maning sambale emmanuel.samb...@gmail.com wrote: Compiling from source following: http://grass.osgeo.org/wiki/Compile_and_Install#Ubuntu I am somehow stuck here: ./configure --enable-gpl --enable-libvorbis --enable-libtheora \            --enable-liba52

Re: [GRASS-user] Grass 6.4 python.

2009-04-29 Thread Milton Cezar Ribeiro
Hi Colin I will give a look on all these tips. Thanks a lot. milton 2009/4/29 Colin Nielsen colin.niel...@gmail.com Hi Milton, This is a common error I have come across, and shouldn't be a problem with your Python installation. It is just a question of getting PYTHONPATH and possibly

Re: [GRASS-user] Re: correcting a series of images for wrong bounding box (extend)

2009-04-29 Thread Markus Neteler
On Wed, Apr 29, 2009 at 10:32 PM, Tim Michelsen timmichel...@gmx-topmail.de wrote: My current idea is to play with the bounding box (extend) definitions when defining the projection of the location and then import-/reimport. IS there a option in GRASS to shift a raster by a vector (x, y)?

Re: [GRASS-stats] Re: [GRASS-user] Testing i.pca (continued...)

2009-04-29 Thread Nikos Alexandris
Nikos: I tested... tested... tested... (almost all tests below) and I just can't understand WHY i.pca does NOT perform data centering when using MODIS data (raw, rescaled at 0~255 or 0~254). The attached html file (exported from Tomboy note-taker) is (I suppose) easier to read :-)

Re: [GRASS-user] installing grass trunk to jaunty

2009-04-29 Thread Nikos Alexandris
On Thu, 2009-04-30 at 01:28 +0800, maning sambale wrote: Compiling from source following: http://grass.osgeo.org/wiki/Compile_and_Install#Ubuntu I am somehow stuck here: ./configure --enable-gpl --enable-libvorbis --enable-libtheora \ --enable-liba52 --enable-libdc1394

Re: [GRASS-user] Re: correcting a series of images for wrong bounding box (extend)

2009-04-29 Thread Nikos Alexandris
IS there a option in GRASS to shift a raster by a vector (x, y)? Sure: use r.region with relative coordinates Some things are so simple :-) ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-stats] Re: [GRASS-user] Testing i.pca (continued...)

2009-04-29 Thread Nikos Alexandris
The attached html file (exported from Tomboy note-taker) is (I suppose) easier to read :-) Not easier to read, please simply post things on a website! I have to note that some notes shouldn't be there. My mistake... they were linked and Tomboy's html-export tool exports all possible

Re: [GRASS-user] installing grass trunk to jaunty

2009-04-29 Thread mitch
hi maning, i haven't been playing so much with it (busy) but i got grass7 svn work on jaunty gdal and proj from synaptic DEPENDENCIES sudo apt-get install build-essential \ flex \ lesstif2-dev \ libfftw3-dev \ libglu1-mesa-dev \ libglu1-xorg-dev \ libpng12-dev \ libpq-dev \ unixodbc-dev \

[GRASS-user] Forgot to mention!

2009-04-29 Thread Joe Bayles
Running GRASS 6.3.0 on Mac OSX 10.5.6 Thanks! Joe ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-stats] Re: [GRASS-user] Testing i.pca (continued...)

2009-04-29 Thread Nikos Alexandris
Roger: You will find reading imagery/i.pca/main.c interesting and not hard. Nikos: :-). I tried once but there are many programming variables which do not make sense on first sight. And this takes time... :-p OK, it's sure not TOO hard. It takes time but if you stick on it you can figure

Re: [GRASS-user] installing grass trunk to jaunty

2009-04-29 Thread Nikos Alexandris
mitch: [...] ---%--- another question: what do i have to do exactly to update? svn up ./configure # also very important to avoid loosing time and stress: # 3. clean previous configuration, then the rest sudo make clean make make install (again?) Yes. However, note that the installation

Re: [GRASS-user] installing grass trunk to jaunty

2009-04-29 Thread Hamish
sudo make distclean there is no reason to run as root for anything but make install. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] installing grass trunk to jaunty

2009-04-29 Thread Nikos Alexandris
Nikos: sudo make distclean Hamish: there is no reason to run as root for anything but make install. Updating my notes right away! Thanks, Nikos ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] Resampling with percent cover

2009-04-29 Thread Hamish
Ned Horning wrote: 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