Re: [GRASS-user] Long post - Remote Sensing - Classifications

2009-02-23 Thread Hamish
mitch wrote: GUI: I got stuck at the i.cluster window. How do I set the sampling interval values? I'm not allow to use any kind of character but numbers...how do I differentiate row and column value? http://n2.nabble.com/file/n2369388/sampling.png If I leave 1 value I get this error:

[GRASS-user] problem with export of raster data

2009-02-23 Thread FAROUX STEPHANIE
Hello I try to export a raster integer map whose values range from - to 5880712. How can i specify that i want integer 4 bytes and not integer 2 bytes (it makes integer 2 bytes)?? Thank you. Stéphanie ___ grass-user mailing list

[GRASS-user] problem with r.surf.idw

2009-02-23 Thread Alberto Pettazzi
Dear all, I want to interpolate a raster map that contains real values. I KNOW the values are real because I output the raster values with r.out.ascii command and the file shows real values. The problem is when I interpolate the raster with the r.surf.idw function and output the interpolated

Re: [GRASS-user] Invert values of raster image

2009-02-23 Thread Wesley Roberts
Thanks Moritz, r.recode did exactly what I needed. much appreciated Wes Moritz Lennert mlenn...@club.worldonline.be 02/23/09 1:02 PM On 23/02/09 11:16, Wesley Roberts wrote: Dear list. I have a raster file with values coded in 8 bit grey scale 0-255. I would like to invert the raster

Re: [GRASS-user] problem with export of raster data

2009-02-23 Thread Markus Neteler
On Mon, Feb 23, 2009 at 12:15 PM, FAROUX STEPHANIE stephanie.far...@meteo.fr wrote: Hello I try to export a raster integer map whose values range from - to 5880712. How can i specify that i want integer 4 bytes and not integer 2 bytes (it makes integer 2 bytes)?? If you export with

[GRASS-user] problem in projection of shape files

2009-02-23 Thread Zahid Parvez
hi I have a shape file which I have to import in GRASS. Shape file is consists of a shape file, a dbf file and a prj file. The prj file has following information. PROJCS[BTM, GEOGCS[GCS_Everest_1830, DATUM[D_Everest_1830, SPHEROID[Everest_1830,6377299.36,300.8017]], PRIMEM[Greenwich,0.0],

[GRASS-user] OSGeo GRASS GIS Report 2008

2009-02-23 Thread Markus Neteler
Dear Community, we are supposed to complete our GRASS GIS Report 2008 for OSGeo, please help to expand the draft: http://wiki.osgeo.org/wiki/GRASS_GIS_Report_2008 thanks Markus ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] problem in projection of shape files

2009-02-23 Thread Jamie Adams
I would use ogr2ogr http://www.gdal.org/ogr2ogr.html from GDAL to reproject using a proj4 string. For example to wgs84: ogr2ogr -s_srs +proj=tmerc +lat_0=0 +lon_0=90 +k=0.9996 +x_0=50 +y_0=-200 +a=6377276.345 +b=6356075.41314024 +units=m +no_defs -t_srs wgs84 out.shp in.shp -Jamie On

Re: [GRASS-user] problem in projection of shape files

2009-02-23 Thread Markus Neteler
On Mon, Feb 23, 2009 at 10:19 PM, Zahid Parvez grassgisbanglad...@gmail.com wrote: hi I have a shape file which I have to import in GRASS. Shape file is consists of a shape file, a dbf file and a prj file. The prj file has following information. PROJCS[BTM, GEOGCS[GCS_Everest_1830,

[GRASS-user] Grass module to use to create a bounding box

2009-02-23 Thread Intengu Technologies
Hi List I have a raster and a vector layer but would want to limit the analysis to the bounding box of the vector layer - how do I accomplish this. Is there a vector module to create a vector bounding box (v.*). Thanks -- Sent from my mobile device Sindile Bidla

Re: [GRASS-user] Grass module to use to create a bounding box

2009-02-23 Thread John C. Tull
You should be able to set the region to the vector layer and then your set. You plan to do the analysis on the raster, correct? John On 2/23/09, Intengu Technologies sindile.bi...@gmail.com wrote: Hi List I have a raster and a vector layer but would want to limit the analysis to the bounding

[GRASS-user] Re: Grass module to use to create a bounding box

2009-02-23 Thread Intengu Technologies
Yes analysis on the raster - how do I do that John as I have a region defined already, which is larger than the extent of the vector. On 2/24/09, John C. Tull john.t...@wildnevada.org wrote: You should be able to set the region to the vector layer and then your set. You plan to do the analysis

[GRASS-user] v.external does not create vector layer

2009-02-23 Thread John R.
Hello, I am running GRASS 6.3.0 on Linux. I would like to use a postgis table as a read only vector layer in GRASS. One time I had v.external doing more than it does now. Here is a typical execution: # v.external 'dsn=PG:host=localhost user=postgres dbname=spatial_db' output=gpxpints_pg

Re: [GRASS-user] problem in projection of shape files

2009-02-23 Thread Hamish
Zahid Parvez wrote: I have a shape file which I have to import in GRASS. Shape file is consists of a shape file, a dbf file and a prj file. The prj file has following information. I will be very grateful if anyone could help me to find the ESPG code and any other way to re-project the

Re: [GRASS-user] r.info doesn't print out all category values

2009-02-23 Thread Hamish
William Hudspeth wrote: I have used to r.average to calculate mean pixel values by county. This involved converting the county vector layer to a raster, then using the county raster layer as the base in r.average. So far so, good. The r.average routine does what I want, but the resultant

[GRASS-user] Problem using i.cluster on GRASS GIS 6.4.0RC3

2009-02-23 Thread Intengu Technologies
I get the following error when using i.cluster: ERROR: Unable to create report file (null) This is how I wrote the commands i.group group=lsat1 subgroup=lsat1

Re: [GRASS-user] problem with r.surf.idw

2009-02-23 Thread Hamish
Alberto Pettazzi wrote: I want to interpolate a raster map that contains real values. I KNOW the values are real because I output the raster values with r.out.ascii command and the file shows real values. The problem is when I interpolate the raster with the r.surf.idw function and output