Re: [GRASS-user] unsupervised image classification

2012-03-28 Thread Milton Cezar Ribeiro
Excelent! thanks miltinho 2012/3/28, Markus Neteler : > On Tue, Mar 27, 2012 at 11:03 PM, Milton Cezar Ribeiro > wrote: >> Dear all, >> >> I need to classify a Landsat image on GRASS but I would like to >> automatically define the classes, not to define a priori. >> >> Is there a way of I set t

Re: [GRASS-user] pyhton script-how to get the pixel value from r.what

2012-03-28 Thread Adam Dershowitz, Ph.D., P.E.
On Mar 28, 2012, at 2:38 PM, tigrida wrote: > Hello! > > I am writing a python script, and I want to do mathematical operations with > some pixels, but I can't. Can anyone help me? > > > script: > ts_f= grass.read_command("r.what",input=Ts, east_north= "%s,%s" % > (eastF,northF)) > print "Ts

[GRASS-user] pyhton script-how to get the pixel value from r.what

2012-03-28 Thread tigrida
Hello! I am writing a python script, and I want to do mathematical operations with some pixels, but I can't. Can anyone help me? script: ts_f= grass.read_command("r.what",input=Ts, east_north= "%s,%s" % (eastF,northF)) print "Ts pixel frio=",ts_f lambda_f=(2.501-(0.00236*(ts_f-273.15)))*100

Re: [GRASS-user] unsupervised image classification

2012-03-28 Thread Markus Neteler
On Tue, Mar 27, 2012 at 11:03 PM, Milton Cezar Ribeiro wrote: > Dear all, > > I need to classify a Landsat image on GRASS but I would like to > automatically define the classes, not to define a priori. > > Is there a way of I set the input bands on a processing, and the > algorithm find the "signa

[GRASS-user] after performing join all character fields are trunctated to 1

2012-03-28 Thread Jennifer Boehnert
Thank you Micha for the quick response. When I perform this join through the GUI on Windows I get the following error ERROR: value too long for type character (1) and all my added fields which are of data type character have a length of 1 instead of the original 255. Any ideas what is going

Re: [GRASS-user] How to retrieve raster pixel value over a vector point layer

2012-03-28 Thread Micha Silver
On 03/28/2012 08:11 PM, Helena Herrera wrote: Greetings   I have a raster layer and a vector point layer and I need to associate pixel values with points: When you say "associate" If you mean to add the raster values to a column in the poi

Re: [GRASS-user] removing join

2012-03-28 Thread Micha Silver
On 03/28/2012 08:49 PM, Jennifer Boehnert wrote: Hello, I have performed a join between a vector map and a postgreSQL table using v.db.join.  I would like to remove this join now.  I cannot figure out how to do this. I think you can just

[GRASS-user] removing join

2012-03-28 Thread Jennifer Boehnert
Hello, I have performed a join between a vector map and a postgreSQL table using v.db.join. I would like to remove this join now. I cannot figure out how to do this. Thank you Jennifer ___ grass-user mailing list grass-user@lists.osgeo.org http://l

[GRASS-user] How to retrieve raster pixel value over a vector point layer

2012-03-28 Thread Helena Herrera
Greetings I have a raster layer and a vector point layer and I need to associate pixel values with points: 1- pixel values that are over points; 2- 3x3 pixel neighbor pixel values over a point. Is this possible do to in a more automatic way than query each by each point? Thanks Regards helena

[GRASS-user] Null values in date field

2012-03-28 Thread Eric Momsen
Hello, I am adding additional data to an existing vector map in GRASS 7. I used db.in.ogr (new data was provided in a dbf). Seemed to work fine. But when I use db.select or any other operations it quits when it reaches the first row with a null value for the date. I tried deleting some values

Re: [GRASS-user] Re: Grid Mismatch while importing with 6.4.1 and 6.4.2

2012-03-28 Thread Markus Metz
On Wed, Mar 28, 2012 at 3:02 PM, wrote: > Hello Markus > So, if the same image imported in different GRASS versions to the same > Location/Mapset, but it has a displacement of half pixel, it means that it > was a problem in earlier version of GRASS? So far, you have mentioned only a grid mismatc

[GRASS-user] Error handling from bash script

2012-03-28 Thread Dmitriy Tyugaev
Hi list! Tell me please, is it possible to handle GRASS errors from bash script? -- Cheers, Dmitriy ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Re: Grid Mismatch while importing with 6.4.1 and 6.4.2

2012-03-28 Thread antonio.rocha
Hello Markus So, if the same image imported in different GRASS versions to the same Location/Mapset, but it has a displacement of half pixel, it means that it was a problem in earlier version of GRASS? Thanks Antonio On Wed, 28 Mar 2012 14:49:42 +0200, Markus Metz wrote: On Wed, Mar 28, 2012

Re: [GRASS-user] Re: Grid Mismatch while importing with 6.4.1 and 6.4.2

2012-03-28 Thread Micha Silver
On 03/28/2012 02:52 PM, antonio.ro...@deimos.com.pt wrote: A few minutes after your message, Markus Mets sent another message in disagreement with this. Any other inputs? Yes, I should check better, before shooting off wrong answers! Sorry for misl

Re: [GRASS-user] Re: Grid Mismatch while importing with 6.4.1 and 6.4.2

2012-03-28 Thread antonio.rocha
A few minutes after your message, Markus Mets sent another message in disagreement with this. Any other inputs? On Wed, 28 Mar 2012 14:49:10 +0200, Micha Silver wrote: On 03/28/2012 02:06 PM, antonio.ro...@deimos.com.pt [1] wrote: Greetings Daniel lee suggested me that the problem migh

Re: [GRASS-user] Re: Grid Mismatch while importing with 6.4.1 and 6.4.2

2012-03-28 Thread Markus Metz
On Wed, Mar 28, 2012 at 2:06 PM, wrote: > Greetings > > > > Daniel lee suggested me that the problem might be the defined region. But, > as far as I know, Defined region has no impact over importing data. This is > true right? Yes, r.in.gdal ignores the current region. The extents and resolution

Re: [GRASS-user] Re: Grid Mismatch while importing with 6.4.1 and 6.4.2

2012-03-28 Thread Micha Silver
On 03/28/2012 02:06 PM, antonio.ro...@deimos.com.pt wrote: Greetings   Daniel lee suggested me that the problem might be the defined region. But, as far as I know, Defined region has no impact over importing data. This is true right?

[GRASS-user] Re: Grid Mismatch while importing with 6.4.1 and 6.4.2

2012-03-28 Thread antonio.rocha
Greetings Daniel lee suggested me that the problem might be the defined region. But, as far as I know, Defined region has no impact over importing data. This is true right? Thanks Antonio Am 27. März 2012 11:52 schrieb António Rocha : Greetings I have imported a Raster image in GRASS 6.4

Re: [GRASS-user] Vegetation index with OpenMP

2012-03-28 Thread Markus Metz
On Tue, Mar 27, 2012 at 1:17 PM, Ripsime Khachatryan wrote: > Hi all > > > I would like to asks if anybody calculated the vegetation index using OpenMP, > and can anybody give me detailed information how to do that. > I performed the same operation using MPI, so I am familiar with calculation. >

RE: [GRASS-user] I.vi.mpi

2012-03-28 Thread Chemin, Yann (IWMI)
You are trying to compile a GRASS 7 version module on a GRASS 6 install. From: grass-user-boun...@lists.osgeo.org [grass-user-boun...@lists.osgeo.org] on behalf of Ripsime Khachatryan [kul...@mail.ru] Sent: Wednesday, March 28, 2012 2:01 PM To: grass-user S

Re: [GRASS-user] Vector map too big for v.proj

2012-03-28 Thread Markus Metz
On Tue, Mar 27, 2012 at 8:21 PM, Kurt Springs wrote: > I am having a problem reprojecting vector maps from lat/long to Irish > National Grid.  I have been using v.proj: > > v.proj input=Lakes location=IrelandGeo output=Lakes1 > > and got: > > pj_transform() failed: latitude or longitude exceeded

[GRASS-user] I.vi.mpi

2012-03-28 Thread Ripsime Khachatryan
Hi all I have error related to GRASS GIS make: This is my Makefile: MODULE_TOPDIR =/localuser/soft/grass6/grass-6.4.2RC2 PGM = i.vi.mpi LIBES = $(RASTERLIB) $(GISLIB) $(MATHLIB) DEPENDENCIES = $(RASTERDEP) $(GISDEP) include $(MODULE_TOPDIR)/include/Make/Module.make default: cmd CC = m

[GRASS-user] Re : grass-user Digest, Vol 71, Issue 50

2012-03-28 Thread LUCKHAUPT DANIEL
Bonjour Je ne parle pas anglaisde ce fait je ne souhaite plus recevoir vos messages Salutations Daniel De : "grass-user-requ...@lists.osgeo.org" À : grass-user@lists.osgeo.org Envoyé le : Jeudi 22 mars 2012 23h03 Objet : grass-user Digest, Vol 71, Issue 50