Re: [GRASS-user] How to convert multi-bands clusters in a vectorial

2010-07-21 Thread Monica Buescu
Hi there > > > > I have used an external tool to produce clusters from Landsat images. For > > each input bands, I obtain clusters with a desginated value (mean of the > > values in that cluster). So, if I use 4 bands, I obtained 4 outputs with > > clusters. in each image I obtain the same cluste

[GRASS-user] Converting raster to Vector (areas)- Question

2010-07-21 Thread Luis Lisboa
Greetings I have a labeled/classified image like this (hoje this displayed correctly ): 1 1 1 1 1 1 3 2 2 2 1 1 1 3 2 2 1 1 1 1 3 2 1 4 4 4 4 4 4 4 4 4 4 4 4 When I convert this to vector (areas) the pixel with value 1 in row 4 is considered a different "area" from the one with all ones but it sh

Re: [GRASS-user] List of existing values

2010-07-21 Thread Nikos Dumakis
hELLO all Regarding the use of r.stats -1 input=image | sort | uniq I have sent a message saying that this works just fine but... I have only tested in WinGRASS 6.4.RC6). When I tried in Linux (GRASS6.4.0RC6) I got this error: Sorry <|> is not a valid option Sorry is not a valid option Sorry <|>

Re: [GRASS-user] Converting raster to Vector (areas)- Question

2010-07-21 Thread Markus Metz
Luis Lisboa wrote: > Greetings > I have a labeled/classified image like this (hoje this displayed correctly > ): > 1 1 1 1 1 1 3 > 2 2 2 1 1 1 3 > 2 2 1 1 1 1 3 > 2 1 4 4 4 4 4 > 4 4 4 4 4 4 4 > When I convert this to vector (areas) the pixel with value 1 in row 4 is > considered a different "area"

[GRASS-user] Supervised Remote Sensing

2010-07-21 Thread Etienne DELAY (deust 2010)
hello I am starting remote sensing based on ecw file. I built a sub Goup, "Supervised" and I run i.class i.class group=1325_13 sub=supervised map=1325_13.red outsig=outsig1 I am interested digitizes areas, I save them, and I go out of module. He said that the data are recorded. As I want to use

[GRASS-user] Precision error in r.mapcalc

2010-07-21 Thread Jenny Turner
Greetings I have a raster (FCELL ) that has a minimum value of 0.1312103122 and If I try to have an image with just those values r.mapcalc "minim= if(image==0.1312103122,10,0)" I get an all Zero image. Then I opened the minim metadata and i see that in comments I have: if(clustered.1 == 0.13121031,

[GRASS-user] Supervised Remote Sensing

2010-07-21 Thread António Rocha
5297 (20100721) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] List of existing values

2010-07-21 Thread Nikos Alexandris
Nikos Dumakis: > > In my case I have not more than 1200 different cell values. If I do : > > r.stats -1 input=data > > I obtained a list of all pixel values but what I am lookinf is for the > > unique values (not repeated). Martin Landa wrote: > as mentioned in Hamish's response, use combination

Re: [GRASS-dev] Re: [GRASS-user] Get current location projection in a Python Script

2010-07-21 Thread Nikos Alexandris
Nikos Alexandris wrote: > > > > >> rows = int(grass.region()['rows']) > > > > >> cols = int(grass.region()['cols']) Glynn: > > > > > In 7.0, these fields are already integers; r40555 should be > > > > > backported. Markus: > > > > AFAIK it has been backported some time ago. > > > > http:

[GRASS-user] Error while installing winGRASS in Osgeo4w

2010-07-21 Thread António Rocha
find sources in or .. Any idea of what might be wrong? or be missing? Thanks Antonio __ Information from ESET NOD32 Antivirus, version of virus signature database 5298 (20100721) __ The message was checked by ESET NOD32 Antivirus. http://www.ese

[GRASS-user] Error while installing winGRASS in Osgeo4w

2010-07-21 Thread Helmut Kudrnovsky
hi, >grass-6.4.svn_src_snapshot_2010_07_18 [...] >Any idea of what might be wrong? or be missing? > >Thanks >Antonio see http://lists.osgeo.org/pipermail/grass-commit/2010-July/013788.html from July 19, so one day later as your downloaded snapshot. please try a later snapshot or a fresh-svn-c

[GRASS-user] Stack Dumpfile in WinGRASS installation with OSGEO4w

2010-07-21 Thread Monica Buescu
Hi Since I saw today a message from Helmut, stating that 19-07 Snapshot is to be updated, I decided to install an earlier version (from June). While I was installing GRASS i got a lot of : 0 [main] sh 3880 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump 0 [main] sh 960 open_s

Re: [GRASS-user] Supervised Remote Sensing

2010-07-21 Thread Etienne DELAY (deust 2010)
t; Take a look at: > http://grass.osgeo.org/gdp/html_grass64/imageryintro.html in Image > classification > > Hope it helps > Antonio > > > __ Information from ESET NOD32 Antivirus, version of virus > signature database 5297 (20100721) __ > &g

Re: [GRASS-user] Supervised Remote Sensing

2010-07-21 Thread Micha Silver
On 07/21/2010 10:09 PM, Etienne DELAY (deust 2010) wrote: Hi Antonio Thank you for your réponce, I reread the link you sent me. But I think I always pass a side of something because it still doen't work ... after having completed the digitalization with i.class group=1325_13 sub=supervised map=1

Re: [GRASS-user] Supervised Remote Sensing

2010-07-21 Thread Etienne DELAY (deust 2010)
Le 21/07/10 21:20, Micha Silver a écrit : > On 07/21/2010 10:09 PM, Etienne DELAY (deust 2010) wrote: >> Hi Antonio >> Thank you for your réponce, I reread the link you sent me. But I think I >> always pass a side of something because it still doen't work ... >> after having completed the digitaliz

Re: [GRASS-user] Precision error in r.mapcalc

2010-07-21 Thread Glynn Clements
Jenny Turner wrote: > I have a raster (FCELL ) that has a minimum value of 0.1312103122 The data is stored in binary floating point, and 0.1312103122 isn't exactly representable in that format. The closest representable value is 0.0010cb7fe (hex) = 0.13121031224727630615234375 (decimal). FCELL

Re: [GRASS-dev] Re: [GRASS-user] Get current location projection in a Python Script

2010-07-21 Thread Glynn Clements
Nikos Alexandris wrote: > Nikos Alexandris wrote: > > > > > >> rows = int(grass.region()['rows']) > > > > > >> cols = int(grass.region()['cols']) > Is python's "int()" truncating or rounding up values? The question came to > me > while thinking of r.mapcalc's respective functions ( i.