[GRASS-user] v.rast.stats

2010-06-17 Thread Sandile Gumede
Hi It is still giving me -NULL value error. Do you think maybe its the way I downloaded my rainfall data? This is the site where I downloaded my data sets* ftp://trmmopen.gsfc.nasa.gov/pub/gis/ *and this data covers the whole world, the only thing I did was to clip a specific region (using

Re: [GRASS-user] Using Tck/tk vector digitizer for training areas

2010-06-17 Thread Jenny Turner
Thanks Micha for your help but I got an error while doing this 1- Create new empty vectorial 2- run v.db.addtable command that you kindly sent me 3- use v.digit as defined previously 4- Inside tcltk's digitizing menu select Digitize new Centroid 5- Leave layer as 1 6- Change Mode to Manual Entry

[GRASS-user] v.rast.stats

2010-06-17 Thread Sandile Gumede
Hi It is still giving me -NULL value error. Do you think maybe its the way I downloaded my rainfall data? This is the site where I downloaded my data sets* ftp://trmmopen.gsfc.nasa.gov/pub/gis/ *and this data covers the whole world, the only thing I did was to clip a specific region (using

[GRASS-user] Compiling r.seg

2010-06-17 Thread katrin eggert
Hi there I have tried to compile r.seg, a Segmentation developed by Trento University. I Know this is not part of GRASS6.4 and not even an addon but can you help me on this? (where I got the module http://www.ing.unitn.it/~grass/) This is the command:sudo make -C r.seg

[GRASS-user] scripts

2010-06-17 Thread Sandile Gumede
Hi I'm not familiar with bash scripting, I want to write a script that starts GRASS and create a new LOCATION and a MAPSET, specify the coordinate system for my database, specify a geodetic datum for the LOCATION, import datasets into the GRASS, do watershed analysis on the DEM data set, convert

Re: [GRASS-user] Compiling r.seg

2010-06-17 Thread Leonardo Hardtke
Hi, I compiled r.seg in grass 6.5 (Ubuntu 10.04) but it must be the same in grass 6.4. Just copy r.seg directory to the raster subdirectory of the grass source code tree. cd /usr/local/grass-6.4.0svn/ratster/r.seg make when done... cd /usr/local/grass-6.4.0svn make sudo make install. Hope it

[GRASS-user] Re: Compiling r.seg

2010-06-17 Thread katrin eggert
Hello Leonardo It wAs more or less what I have done. Thanks... My only question was related with binary file because it's slightly different from the others.. Regarding r.seg usability: have you tried/used? I'm having some difficulties in using and parameterizing and there is not much information

[GRASS-user] Import, project

2010-06-17 Thread stn
Hi, I am new to grass and don't really know where to start. Please give me some hints on 1) how to import+project a vector-shapefile (containing one layer of non-overlapping administrative regions) with unknown projection+coordinate-system into a database with latitude/longitude 2) how to

Re: [GRASS-user] Import, project

2010-06-17 Thread Hamish
stn wrote: I am new to grass and don't really know where to start. here is a good place: http://grass.osgeo.org/wiki/GRASS_Help also the GRASS book is very good. also Markus's quick intro guides: http://grass.osgeo.org/grass64/manuals/html64_user/index.html Please give me some hints on

Re: [GRASS-user] Import, project

2010-06-17 Thread Micha Silver
On 06/17/2010 08:59 PM, stn wrote: Hi, I am new to grass and don't really know where to start. With the man pages ;-) Please give me some hints on 1) how to import+project a vector-shapefile (containing one layer of non-overlapping administrative regions) with unknown

Re: [GRASS-user] Import, project

2010-06-17 Thread Mark Seibel
2) how to import+project a e00-rasterfile into the same database (containing rasterpoints 1kmx1km, each with one scalar property) This solution may not help if ESRI software is inaccessible, but perhaps the maintainer of the .e00 data can do this conversion for you. I verified it does work (I

Re: [GRASS-user] Using Tck/tk vector digitizer for training areas

2010-06-17 Thread Micha Silver
On 06/17/2010 12:36 PM, Jenny Turner wrote: Thanks Micha for your help but I got an error while doing this 1- Create new empty vectorial 2- run v.db.addtable command that you kindly sent me 3- use v.digit as defined previously 4- Inside tcltk's digitizing menu select Digitize new Centroid 5-

[GRASS-user] how to get raster region corresponding to vector polygon region?

2010-06-17 Thread Ken Kwasnicki
Hello, I have a raster map (dem) and I want to select a region of the raster corresponding to a polygon that is in a vector map. What is the best way to do this? It looks like r.in.poly might be along the lines of what I need but in that case I think I would need to generate the ascii poly

Re: [GRASS-user] Import, project

2010-06-17 Thread stn
2010/6/17 Hamish hamis...@yahoo.com you have to create a GRASS Location for each source map projection, then pull them all into the target Location with r.proj or v.proj. Hi Hamish, thanks for the infos. Here is one thing I can't get into my head. First there is the problem that I do not

[GRASS-user] Re: how to get raster region corresponding to vector polygon region?

2010-06-17 Thread Marcello Gorini
Kwas wrote: Hello, I have a raster map (dem) and I want to select a region of the raster corresponding to a polygon that is in a vector map.nbsp; What is the best way to do this?nbsp; It looks like r.in.poly might be along the lines of what I need but in that case I think I would need

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

2010-06-17 Thread Richard Chirgwin
and parameterizing and there is not much information about it. Do you have any additional information? Thanks Katrin -- next part -- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100617/de65f9ec/attachment-0001.html

Re: [GRASS-user] Import, project

2010-06-17 Thread Nikos Alexandris
(Apologies for the interference...) Hamish: you have to create a GRASS Location for each source map projection, then pull them all into the target Location with r.proj or v.proj. stn wrote: Hi Hamish, thanks for the infos. Here is one thing I can't get into my head. First there is the

RE: [GRASS-user] Import, project [SEC=PERSONAL]

2010-06-17 Thread Andrew MacIntyre
Nikos Alexandris wrote: If I am not wrong even under @rc-gis the .prj is required to work properly. No, the .prj is not required but without it the dataset's coordinate system is undefined. The .prj file for a shapefile is in WKT (well known text) format, and generally the coordinate

Re: [GRASS-user] Import, project

2010-06-17 Thread Daniel Victoria
As others have said, a shapefile is composed of several other files (.shp, .shx, .dbf, .prj), each containing some different info. So, even though the polygons and points coordinates are inside the .shp file, you need to know the projection in order to know what those coordinates represent

Re: [GRASS-user] Import, project [SEC=PERSONAL]

2010-06-17 Thread Nikos Alexandris
Nikos Alexandris wrote: If I am not wrong even under @rc-gis the .prj is required to work properly. On Friday 18 of June 2010 02:48:02 Andrew MacIntyre wrote: No, the .prj is not required but without it the dataset's coordinate system is undefined. The .prj file for a shapefile is in WKT

Re: [GRASS-user] Import, project

2010-06-17 Thread Nikos Alexandris
[...] On Friday 18 of June 2010 03:47:25 Daniel Victoria wrote: Of course the values of the coordinates can give you some hints as to if you are working with UTM, lat/long etc... --8--- For example, what is the output of ogrinfo Shapefile.shp -al -ro -so? Nikos

Re: [GRASS-user] Re: how to get raster region corresponding to vector polygon region?

2010-06-17 Thread Hamish
Marcello wrote: There is probably a better way to do that (and I would like to hear it very much, specially if there is a single command to do this), but for now, I think the code below does the job: g.region vect=your_vector v.extract input=your_vector output=selected_polygon type=area