[GRASS-user] using g.mlist to set g.region

2013-03-17 Thread Milton Cezar Ribeiro
Dear all, I have a set of raster maps and I need to run a r.series with them. But each raster have different extent. How can I use g.mlist to get the extent that include all rasters to redefine my working regions? I am running grass under MSYS/Win7 best -- Miltinho - m...@rc.unesp.br

Re: [GRASS-user] Calculate average of 3 highest values for a set of raster maps

2013-03-15 Thread Milton Cezar Ribeiro
, Milton Cezar Ribeiro wrote: I have a set of 7 raster maps. I am able to calculate several stats with these mapas using r.series. Now I need to calculate the mean of the tree highest values of my 7 maps. Any idea of how can I do that? cheers -- Miltinho - m...@rc.unesp.br Laboratório de

[GRASS-user] Calculate average of 3 highest values for a set of raster maps

2013-03-14 Thread Milton Cezar Ribeiro
I have a set of 7 raster maps. I am able to calculate several stats with these mapas using r.series. Now I need to calculate the mean of the tree highest values of my 7 maps. Any idea of how can I do that? cheers -- Miltinho - m...@rc.unesp.br Laboratório de Ecologia Espacial e Conservação -

[GRASS-user] r.proj - how to use different dbase?

2013-02-16 Thread Milton Cezar Ribeiro
Dear all, I have two grass spatial database, each on different directory and with different projection/datum. How can I import a raster map while reprojectingit? Just suppose I am connected on C:\Mydata\GrassSDB_target newLocation PERMANENT and the source data are on

Re: [GRASS-user] r.proj - how to use different dbase?

2013-02-16 Thread Milton Cezar Ribeiro
Hi Markus Thanks. I suggest, if it is a know but, put this on manual page of GRASS while not fixed :-) Cheers miltinho 2013/2/16, Markus Metz markus.metz.gisw...@gmail.com: On Sat, Feb 16, 2013 at 4:50 PM, Milton Cezar Ribeiro miltinho.astrona...@gmail.com wrote: Dear all, I have two

[GRASS-user] to move or not move ? grass64 - ? - 7.0

2013-01-10 Thread Milton Cezar Ribeiro
Dear all I have used grass gis 6.4 and I am happy with this version. But I was wondering which are the advantages or disadvantages to move or not grass 7.0 Any thoughts are very welcome. cheers -- Miltinho - m...@rc.unesp.br Laboratório de Ecologia Espacial e Conservação - LEEC Depto de

Re: [GRASS-user] to move or not move ? grass64 - ? - 7.0

2013-01-10 Thread Milton Cezar Ribeiro
? By the way, a grass GIS DB/Mapset can be used for both versions ? Regards miltinho 2013/1/10, Rashad M mohammedrasha...@gmail.com: This can help you to make a decision[1]. [1] http://trac.osgeo.org/grass/wiki/Grass7/NewFeatures On Thu, Jan 10, 2013 at 11:13 PM, Milton Cezar Ribeiro

[GRASS-user] Multi-path corridors in grass?

2013-01-07 Thread Milton Cezar Ribeiro
Dear all, Anyone using GRASS to map multi-path corridors between paired or multiple habitat patches in landscape ecology studies? best -- Miltinho - m...@rc.unesp.br Laboratório de Ecologia Espacial e Conservação - LEEC Depto de Ecologia - UNESP - Rio Claro Av. 24A, 1515- Bela Vista 13506-900

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-31 Thread Milton Cezar Ribeiro
new year, Markus M best wishes miltinho 2012/12/30, Markus Metz markus.metz.gisw...@gmail.com: On Sun, Dec 30, 2012 at 8:59 PM, Milton Cezar Ribeiro miltinho.astrona...@gmail.com wrote: Hi Rashad I tested with the trunk svn, but apparently it still not worked to me. Are you able

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-31 Thread Milton Cezar Ribeiro
: On Mon, Dec 31, 2012 at 3:05 PM, Milton Cezar Ribeiro miltinho.astrona...@gmail.com wrote: Hi Markus Thanks for all your help. Please, which svn command I need to run to get the daily trunk subversion? See here: http://trac.osgeo.org/grass/wiki/Release/6.4.3RC2-News -- SVN Checkout

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-31 Thread Milton Cezar Ribeiro
Hi there Everything worked fine. Congrats for all your great job on GRASS-GIS solution, and again many thanks for the effert on deal with this in the transition 2012/2013 (yes! 2013 in Australia and other places around world!). best wishes miltinho 2012/12/31, Markus Neteler nete...@osgeo.org:

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-30 Thread Milton Cezar Ribeiro
can share the test data you are using in case not working after applying the patch [0] http://trac.osgeo.org/grass/attachment/ticket/1840/r.drain.diff [1] http://trac.osgeo.org/grass/attachment/ticket/1840/drain.c On Thu, Dec 27, 2012 at 2:31 AM, Milton Cezar Ribeiro miltinho.astrona

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-30 Thread Milton Cezar Ribeiro
PM, Milton Cezar Ribeiro miltinho.astrona...@gmail.com wrote: Hi Rashad I tested with the trunk svn, but apparently it still not worked to me. Are you able to test with my datased? https://www.yousendit.com/download/UW16RE9zTkxlM1JBSXNUQw What are the commands you used? I found r.drain

[GRASS-user] recompile grass 6.42 within window / Msys

2012-12-28 Thread Milton Cezar Ribeiro
Dear all, I need to recompile current grass 6.42 within windows. Where can I find the tips to deal with this? -- Miltinho - m...@rc.unesp.br Laboratório de Ecologia Espacial e Conservação - LEEC Depto de Ecologia - UNESP - Rio Claro Av. 24A, 1515- Bela Vista 13506-900 Rio Claro, SP, Brasil

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-27 Thread Milton Cezar Ribeiro
at 10:01 PM, Milton Cezar Ribeiro miltinho.astrona...@gmail.com wrote: Hi Mohamed and Markus Mohamed, thanks for your reply, I will wait for a solution within GRASS :-) Markus, thanks for your reply,. Sorry but I disagree a tiny bit, because is expected that between a source and target I

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-26 Thread Milton Cezar Ribeiro
: On Sun, Dec 23, 2012 at 7:07 PM, Milton Cezar Ribeiro miltinho.astrona...@gmail.com wrote: Dear all, I am running a least cost path analysis combining r.cost and r.drain. But on some cases, when the least cost path between source and target reach the border of my map, r.drain stop

[GRASS-user] r.drain problem when flow reach the border

2012-12-23 Thread Milton Cezar Ribeiro
Dear all, I am running a least cost path analysis combining r.cost and r.drain. But on some cases, when the least cost path between source and target reach the border of my map, r.drain stop on that position, and target point isn´t reached. Running on other softwares the algorithms the source and

Re: [GRASS-user] WinGrass under MSYS

2012-10-20 Thread Milton Cezar Ribeiro
Great, Thanks milton 2012/10/20, Martin Landa landa.mar...@gmail.com: Hi, 2012/10/20 Milton Cezar Ribeiro miltinho.astrona...@gmail.com: But I noticed that on the recent versions of Standalone WinGRASS, althoug MSYS is installed, we loose the capability of copy and past sets of grass

[GRASS-user] WinGrass under MSYS

2012-10-19 Thread Milton Cezar Ribeiro
On the previous version of Standalone WinGRASS, when installing I always got a icon on my desktop that allowed me to start grass inside Msys, so I was able to run scripts by copy and pasting several command lines directly on Msys console. But I noticed that on the recent versions of Standalone

Re: [GRASS-user] unsupervised image classification

2012-03-28 Thread Milton Cezar Ribeiro
Excelent! thanks miltinho 2012/3/28, Markus Neteler nete...@osgeo.org: On Tue, Mar 27, 2012 at 11:03 PM, Milton Cezar Ribeiro miltinho.astrona...@gmail.com wrote: Dear all, I need to classify a Landsat image on GRASS but I would like to automatically define the classes, not to define

[GRASS-user] unsupervised image classification

2012-03-27 Thread Milton Cezar Ribeiro
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 signatures within the images and define the number of classes? In this moment I

[GRASS-user] r.out.gdal : exporting category in HFA format

2012-03-24 Thread Milton Cezar Ribeiro
Dear all, I have a raster map with its own category information. Now I am using r.out.gdal to export to HFA (.img) format. But I would like to add the labels (category) in the output file, intead of have only VALUEs. Any idea? best -- Miltinho - m...@rc.unesp.br Laboratório de Ecologia Espacial

[GRASS-user] get values for each point within lines

2012-02-14 Thread Milton Cezar Ribeiro
Dear Grass gurus I have a vector map with lines, and I need to get raster values each 5 meters. So I used v.split to spring my lines in segments of 5 meters, and after that I used v.to.points to generate points on each node of my line segments. Now I am trying to overlap my points against a

[GRASS-user] zoom errors in grass WinGRASS-6.4.2RC2-1-Setup

2011-12-18 Thread Milton Cezar Ribeiro
Dear all, I am running grass 6.4.2 which I just downloaded and installed from OSGEO server. When I try to zoon in or out, I get the following error under Windows/7 64bits Traceback (most recent call last): File c:/osgeo4w/usr/src/grass-6.4.2RC2/dist.i686-pc-

Re: [GRASS-user] v.to.rast problem

2011-12-18 Thread Milton Cezar Ribeiro
Hola José, Send also db.describe of your map and the complete command of v.to.rast that you are using. Maybe you need to use something like: v.to.rast input=yourmap output=yourmap_rast use=attr column=PUT_A_NUMERIC_COLUMN best wishes miltinho 2011/12/18, José Carlos Guerrero Antúnez

Re: [GRASS-user] delineate Watersheds

2011-11-11 Thread Milton Cezar Ribeiro
Hi Ruth, Try g.region rast=YourMap r.terraflow... good look milton 2011/11/11, Ruth Sos Del Diego rsosdeldi...@googlemail.com: Hello list, I trying to delineate watersheds in a STRM-data(DGM.tif) | Data Type:CELL | | Rows: 1809

[GRASS-user] removing empty files from grass mapset

2011-10-29 Thread Milton Cezar Ribeiro
Dear all, I just remove 5,000 maps from a mapset using g.remove -f map=mymap, and observed that, although the command worked fine, when I go under the directories (like .../Mapset/cell) I see there a lot of empty files (0 bytes), and the removed raster map filenames are still there. How can I

[GRASS-user] g.remove from another mapset

2011-10-28 Thread Milton Cezar Ribeiro
Dear all, I need to remove raster maps from another mapset instead PERMANENT As I am putting this in a python-grass script, I tried something like g.remove -f rast=mymap@OTHERMAPSET but I get the error message that the raster map is not in the current mapset (PERMANENT). Any suggestion? best

Re: [GRASS-user] g.remove from another mapset

2011-10-28 Thread Milton Cezar Ribeiro
Hi Martin, Worked fine! best milton 2011/10/28, Martin Landa landa.mar...@gmail.com: Hi, 2011/10/28 Milton Cezar Ribeiro miltinho.astrona...@gmail.com: I need to remove raster maps from another mapset instead PERMANENT As I am putting this in a python-grass script, I tried something like

Re: [GRASS-user] Linear regression between 2 rasters (old and new)

2011-09-30 Thread Milton Cezar Ribeiro
Dear Antonio, Depending on your raster sizes you can load both maps into R and compute the stats over there. best miltinho 2011/9/30, António Rocha antonio.ro...@deimos.com.pt: I I have been using r.series to calculate a linear regression slope for an old and new raster map using

Re: [GRASS-user] Fwd: Area Extraction tools

2011-07-27 Thread Milton Cezar Ribeiro
Hi Yada, If you have a raster map with your area of interest you can use r.mask ... r.mapcalc DEM_clip=DEM or g.region rast=mask_file g.region res=DEFINE DESIRED RESOLUTION r.mapcalc DEM_clip=DEM I hope this helps. milton 2011/7/27 Yada Elisabeth yadaelisab...@gmail.com Dear GRASS users,

[GRASS-user] Miminum Spanning-Tree (MST)

2011-07-19 Thread Milton Cezar Ribeiro
Dear all, Is there a way of I obtaion a polygon- or raster-based Minimum Spanning Tree (MST) on GRASS? It is like to join every polygons to the neighbours using edges (linear links) without allow the edges overlap each other. cheers milton ___

[GRASS-user] voronoi tesselation for vector/raster patches

2011-07-19 Thread Milton Cezar Ribeiro
Dear all, Can I generate voronoi tesselation for polygons (instead of points) of raster-based patches? cheers milton ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Re: raster stats within vector

2011-07-17 Thread Milton Cezar Ribeiro
, and given percentile. Columns will be created on the fly, you only have to give the 'base name' of the columns. I.e., no need to create a column yourself. On 07/16/2011 10:14 PM, Milton Cezar Ribeiro wrote: BTW, my vector maps have polygons. milton 2011/7/16 Milton Cezar Ribeiro

[GRASS-user] v.rast.stats stucked

2011-07-17 Thread Milton Cezar Ribeiro
Dear all, I have a vector map with only 7 features (polygons). I use the command below to extract raster info. v.rast.stats vector=my_polygons raster=my_raster colprefix=LG As my polygons have holes, I receive several messages as the below: Area without centroid (may be OK for island) But I

[GRASS-user] Re: raster stats within vector

2011-07-16 Thread Milton Cezar Ribeiro
BTW, my vector maps have polygons. milton 2011/7/16 Milton Cezar Ribeiro miltinho.astrona...@gmail.com Dear all, I have a raster map with continuous values, and need to extract some stats (like mean, std etc) assigning these zonal values as a vector column. I just added the empty columns

[GRASS-user] raster stats within vector

2011-07-16 Thread Milton Cezar Ribeiro
Dear all, I have a raster map with continuous values, and need to extract some stats (like mean, std etc) assigning these zonal values as a vector column. I just added the empty columns on the my vector map using : v.db.addcol map=frag_ts columns=FLOW_STD DOUBLE PRECISION How can I do this

Re: [GRASS-user] calculating perimeter per patch

2011-02-12 Thread Milton Cezar Ribeiro
to vector, instead of r.to.vect? cheers milton 2011/2/12 Markus Metz markus.metz.gisw...@googlemail.com On Sat, Feb 12, 2011 at 5:11 AM, Milton Cezar Ribeiro miltinho.astrona...@gmail.com wrote: Dear all, I have a raster map where each patch (i.e. forest fragment) have different ID. I

Re: [GRASS-user] calculating perimeter per patch

2011-02-12 Thread Milton Cezar Ribeiro
Hi Markus, I will try that. The GRASS_VECTOR_LOWMEM=1 works only for G7? best milton 2011/2/12 Markus Metz markus.metz.gisw...@googlemail.com On Sat, Feb 12, 2011 at 11:58 AM, Milton Cezar Ribeiro miltinho.astrona...@gmail.com wrote: Hi Markus, Thanks for the reply. In fact a vector

Re: [GRASS-user] r.neighbors - annulus (torus) neighbor

2010-11-15 Thread Milton Cezar Ribeiro
Hi Jarek and r.neighbor maintenators, I suggest put a flag on r.neighbor for annulus (torus), so in future versions the module will be always update. Just a suggestion. Jarek, congrats. cheers milton 2010/11/15 Jasiewicz Jarosław jar...@amu.edu.pl Hi all! while I need annulus (or torus)

[GRASS-user] r.stream : vetor of horton order

2010-06-19 Thread Milton Cezar Ribeiro
Dear all, I extracted the drainage and direction from a DEM using r.stream.extract. r.stream.extract --o elevation=aster_dem_wgs84_UTM threshold=50 stream_vect=aster_dem_wgs84_UTM_vect_th00050 stream_rast=aster_dem_wgs84_UTM_rast_th00050

[GRASS-user] grass 64b in windows7

2010-06-18 Thread Milton Cezar Ribeiro
Dear all, How can I have a 64bit windows grass under a 6Gb Windows7 dell machine? I am using OSGeo4W/MSYS version, but many of my processing I get memory errors. cheers milton ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] problems starting Grass6.3 on Windows

2010-05-11 Thread Milton Cezar Ribeiro
Hi Vishal, Is there a why of you use grass 6.3? How about you try grass 6.4R6? Have you tryed grass with a sample (Northcaroline or Spearfish) mapset? cheers milton 2010/5/11 Vishal Mehta vishalm1...@gmail.com I'm having some recent trouble getting Grass to start on Windows XP. when i try

Re: [GRASS-user] Spgrass6 and R using GRASS Bash Scripts

2010-04-16 Thread Milton Cezar Ribeiro
Hi Gilbert, There ist more than one way. I will tell you the way that works for me: 0. Be sure your Rgui.exe are in the windows path like C:\Program Files (x86)\R\R-2.9.0\bin 1. Start grass/MSYS (sorry, I am on windows). 2. Connect to you mapseet 3. inside MSYS shell type: Rgui.exe 4.

Re: [GRASS-user] Re: r.mapcalc and nested if

2010-04-14 Thread Milton Cezar Ribeiro
Hi there, may be the last command need double == r.mapclac 'final=if(first_map==1,0,first_map' cheers milton 2010/4/14 Jarek Jasiewicz jar...@amu.edu.pl thedok78 pisze: Sorry, this is the expression: r.mapcalc 'map2=if(map ==1

Re: [GRASS-user] Running Python scripts inside GRASS

2010-03-09 Thread Milton Cezar Ribeiro
Hi There, I am happy running python inside a OSGeo4W grass instalallation. I start MSYS, start grass, and then ryn python 2.5 which are run from C:\OSGeo4W\apps\Python25. But I needed to copy the grass/python library to C:\OSGeo4W\apps\Python25\Lib\site-packages. Good luck, milton 2010/3/9

Re: [GRASS-user] Region Definition in GRASS

2010-02-05 Thread Milton Cezar Ribeiro
Pedro, If you run a r.mapcalc, the extent and resolution will follow the current region. So, check g.region -p before run r.mapcalc. You can use g.region rast=MapLandsat to set the current region to use MapLandsat dimensions as reference. After you can reset your extention and resolution using

Re: [GRASS-user] Raster Map subset

2010-02-05 Thread Milton Cezar Ribeiro
Hi Stephen, I suggest you use spgrass6 package on R, set your g.region using system(g.region n= s= w= e=) on R and use readRAST6 to load your map as SGDF. Of course, if you are under windows, you know that depending the size of your grid you will get troubles :-) best milton 2010/2/5 stephen

Re: [GRASS-user] Interpreting Terrestrial Geomorphometry

2010-01-27 Thread Milton Cezar Ribeiro
Hi There, I put my 2cents on the Markus' suggestion. This book changed my life :-) Thanks Tom! best regards milton 2010/1/27 Rich Shepard rshep...@appl-ecosys.com On Wed, 27 Jan 2010, Markus Neteler wrote: Let me recommend this book: http://geomorphometry.org/book Thank you, Markus.

Re: [GRASS-user] Problems Running r.flow

2010-01-27 Thread Milton Cezar Ribeiro
Hi Rich, try g.region nsres=5 ewres=5, may be you can bypass this. best regards milton 2010/1/27 Rich Shepard rshep...@appl-ecosys.com In -6.4svn from last Friday's weekly snapshot. After setting g.region rast=aber5m I tried running r.flow elevin=aber5m aspin=aber5aspect

Re: [GRASS-user] Problems Running r.flow

2010-01-27 Thread Milton Cezar Ribeiro
Jan 2010, Milton Cezar Ribeiro wrote: try g.region nsres=5 ewres=5, may be you can bypass this. milton, That's how I defined the resolution, but it was returned as slightly less for some reason. See: GRASS 6.4.0svn (Oregon):/usr4/grassbase g.region res=5 -p projection: 99 (Lambert

Re: [GRASS-user] Problems Running r.flow

2010-01-27 Thread Milton Cezar Ribeiro
rshep...@appl-ecosys.com On Wed, 27 Jan 2010, Milton Cezar Ribeiro wrote: But g.region res=5 and g.region nsres=5 ewres=5 produce the same result? I never tryed. Milton, Yes. res is equal to setting both nsres and weres to the same values. Rich, another way is you use n= s= w= e

Re: [GRASS-user] Problem with r.watershed in Spearfish

2010-01-25 Thread Milton Cezar Ribeiro
Margherita, Check with g.region -p and see how many 100x100 pixels you have. May be it is very small for your threshold. best milton 2010/1/25 Margherita Di Leo direg...@gmail.com Hi list! I often used r.watershed without problems, but today i had a very strange one. Please can anyone

Re: [GRASS-user] forcing raster accept only integer 0

2010-01-21 Thread Milton Cezar Ribeiro
Hi Glynn, Thanks for the reply. By the way, where I can have access to the list of datatypes for a raster map? I ran on my raster map and got datatype=CELL. I was expecting to get byte,float,integer... bests milton 2010/1/22 Glynn Clements gl...@gclements.plus.com Milton Cezar Ribeiro wrote

Re: [GRASS-user] change the cell value of a geotiff

2010-01-20 Thread Milton Cezar Ribeiro
Hey someone, don't push.. r.mapcalc NewMap=if(OldMap==999,null(),OldMap) bests milton 2010/1/20 maven apache apachemav...@gmail.com Hi: I have a geotiff now, and some cells have a not-expected value, so I want to Interpolation them, and I notice that there is a command named r.fillnull,

Re: [GRASS-user] change the cell value of a geotiff

2010-01-20 Thread Milton Cezar Ribeiro
Hi Maven, do you think that if you have min = -1267650600228229401496703205376.00 is the same value you used on r.null setnull=-1.26765060022823e+030 ? I think following the Hamish's suggestion you will get there :-) bests milton 2010/1/20 maven apache apachemav...@gmail.com

Re: [GRASS-user] how to know if LFS flag is enable

2010-01-20 Thread Milton Cezar Ribeiro
...@gclements.plus.com Milton Cezar Ribeiro wrote: I am using r.series to join several large raster maps, but the south part of my map is completely empty, and whem I try r.what I get a error message can't read. I was wondering if it is a problem with LFS (large file system) flag. I

[GRASS-user] Re: compiling grass 64bit under vista?

2010-01-20 Thread Milton Cezar Ribeiro
Dear Helmut and Markus I checked out the Helmut's suggestion, and in fact are there a MinGW-w64 that is a mix between 32-64b. I think it is a very promising solution for windows-based users, mainly because many of new computers that we buy for GIS end-users area, in general, with large memory

[GRASS-user] how to know if LFS flag is enable

2010-01-19 Thread Milton Cezar Ribeiro
Dear all, I am using r.series to join several large raster maps, but the south part of my map is completely empty, and whem I try r.what I get a error message can't read. I was wondering if it is a problem with LFS (large file system) flag. I compiled grass 6.4.0svn two weeks ago using

[GRASS-user] compiling grass 64bit under vista?

2010-01-19 Thread Milton Cezar Ribeiro
Dear all, I have used grass under Vista, and compiled it using Msys/OSgeo4W version. If I am not wrong I will get only a 32bit grass, because Msys/gcc and some of libs downloadable from the links http://trac.osgeo.org/grass/wiki/CompileOnWindows deal with 32bit instead 64. Is there a way of I

[GRASS-user] exporting to KML

2010-01-16 Thread Milton Cezar Ribeiro
Dear all, I have some vector files generated using r.stream.extract, and now I need to convert it to KML. But my mapset is on Albers projection. Is there a way of I export automatically my vector map using v.out.ogr withour projection transformation? v.out.ogr.exe --o input=myvect

[GRASS-user] slope unit in r.param.scale

2010-01-02 Thread Milton Cezar Ribeiro
Dear friends, I generated a map with slopes using: r.param.scale input=srtm output=srtm_SLOPE_ws007 param=slope size=07 The output range from r.info is min = 0.00 max = 3.930307 May I consider that all values 1 is equivalent to 100% (or 45 degrees) of steepnees? Case not, how can I

Re: [GRASS-user] Clipping Raster Map

2010-01-01 Thread Milton Cezar Ribeiro
Hi Rich, Have you tried r.mask ? bests milton 2010/1/1 Rich Shepard rshep...@appl-ecosys.com While the raster DEM displays quickly in the GUI it is unacceptably slow trying to display in the CLI monitor. Does the large number of colors explain the time difference? GRASS 6.4.0svn

Re: [GRASS-user] meaning of g.region zoom?

2009-12-30 Thread Milton Cezar Ribeiro
Hi Paulo, Have you tried g.region -d ? ciao milton 2009/12/30 Paolo Cavallini cavall...@faunalia.it Hi all. If I zoom to a small map full of nulls, with only a non-nulla area on one side, and zoom back to the full extent, I do not see the difference: === g.region

[GRASS-user] Re: mswindows/osgeo4w/mklibs.sh: dumpbin: command not found

2009-12-30 Thread Milton Cezar Ribeiro
Hi Helmut, Thanks for the reply. Apparently evething is working fine, thanks. Have happy holidays, milton 2009/12/30 Helmut Kudrnovsky hel...@web.de Hi Milton, Dear all, I am still trying to compile the grass under Vista/MSYS, and following the instructions available at: When I

Re: [GRASS-user] extract stream heads

2009-12-29 Thread Milton Cezar Ribeiro
Hey Markus, You are the same guy that is working on the Sandro's (UFZ) project and that wrote the r.stream grass program!? That small world. Good to know. cheers miltinho 2009/12/29 Markus Metz markus.metz.gisw...@googlemail.com Milton Cezar Ribeiro wrote: Dear all, I am (finally

[GRASS-user] drainage extraction - so homogeneous output across different relief conditions

2009-12-28 Thread Milton Cezar Ribeiro
Dear all, I extracted drainage from a large number of tiles of SRTM DEMs, for several regions of Brazil. The regions have very different relief conditions, ranging from almost flat to very inclined. I have some cartographic maps at scale 1:50,000, and the (reference) densities ranges from 7 to

[GRASS-user] Compiling addons

2009-12-28 Thread Milton Cezar Ribeiro
Dear all, I have compiled grass using the instructions available at http://trac.osgeo.org/grass/wiki/CompileOnWindows But now I need to compile some Addons, and I must confess that I have no idea of how to do that. I know that I need to download the addons sources, but I can't figure out what

[GRASS-user] Pre-built binaries (bc and readline): where find

2009-12-28 Thread Milton Cezar Ribeiro
Dear colleagues, I am just updating my grass system, to compile it under Vista. I am following the the instructions available at http://trac.osgeo.org/grass/wiki/CompileOnWindows. But when trying to download the Pre-built binaries bc and readline, I can't find/download it from sourceforge. Any

[GRASS-user] Re: Pre-built binaries (bc and readline): where find

2009-12-28 Thread Milton Cezar Ribeiro
Dear all, It was solved. I don't know why my internet explorer (under vista) not download the files, but Firefox do. cheers milton 2009/12/28 Milton Cezar Ribeiro miltinho.astrona...@gmail.com Dear colleagues, I am just updating my grass system, to compile it under Vista. I am following

[GRASS-user] extract stream heads

2009-12-28 Thread Milton Cezar Ribeiro
Dear all, I am (finally :-) extracting the drainage from a DEM using r.stream.extract. How can I extract also the stream heads? bests milton ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] fast updating of a large map from several small ones.

2009-12-25 Thread Milton Cezar Ribeiro
Dear all, I have a large raster project (~60,000 x 48,000 pixels) and I extracted the drainage from DEM for ~1,000 subbasin. Now I would like to join all the pieces of drainage, but whem I tryed : g.region rast=`g.mlist pat=ANA_COD5_drenbin_* sep=,` r.series input=`g.mlist

Re: [GRASS-user] Landscape connectivity

2009-12-02 Thread Milton Cezar Ribeiro
Hi Markus, So, if I understood well the practical theory you need is not that one described by Urban Keitt (2001), because they use nodes and edges, and you want a patch-based graph theory, isn't it? May be Fall et all (2007) is a better technical approach? Andrew Fall, Marie-Josee Fortin,

Re: [GRASS-user] % of cover class upstream

2009-11-18 Thread Milton Cezar Ribeiro
Hi guys, sorry for my delay. I am trying your suggestions. cheers milton 2009/11/14 Rich Shepard rshep...@appl-ecosys.com On Sat, 14 Nov 2009, Milton Cezar Ribeiro wrote: I have a DEM, a drainage and a Cover mapa, and I need to estimate - for ANY pixel of my drainage - what is the amount

[GRASS-user] % of cover class upstream

2009-11-14 Thread Milton Cezar Ribeiro
Dear all, I have a DEM, a drainage and a Cover mapa, and I need to estimate - for ANY pixel of my drainage - what is the amount of my cover classes that contribute (or are upstream) of that pixel. Any help are VERY welcome. Cheers milton ___

Re: [GRASS-user] Data Import and Coordinate Information

2009-11-14 Thread Milton Cezar Ribeiro
Hi Rich, Are you using v.in.ogr with -o flag? bests milton 2009/11/14 Rich Shepard rshep...@appl-ecosys.com For my current project, almost all data come from the Oregon GIS office (now called the Geographic Enterprise Office). All the data available for download (.shp and .e00 primarily)

Re: [GRASS-user] Programación en GIS

2009-11-04 Thread Milton Cezar Ribeiro
Hi Flavio, how about Python? http://grass.osgeo.org/wiki/GRASS_and_Python saludos milton 2009/11/4 Flavio ESPECHE NIEVA flavio.espe...@gmail.com De mi mayor consideración: Soy nuevo en la lista y estoy comenzando a trabajar con GRASS. Necesito desarrollar aplicaciones (en C, Java o PHP)

Re: [GRASS-user] internal buffer of polygon

2009-10-29 Thread Milton Cezar Ribeiro
Hi Maning, Sometimes I have the same issue, but I don't solve this on vector. Just supose you have a map where 1 is your raster-based-polygon and NULL is outside of polygon. You can use r.mapcalc to invert it, in the maner that 1 come to be your non-polygon, and NULL your polygon. So you can run

Re: [GRASS-user] stream extraction from ASTER dem

2009-09-28 Thread Milton Cezar Ribeiro
To: Milton Cezar Ribeiro miltinho.astrona...@gmail.com Cc: grass-user grass-user grass-user@lists.osgeo.org Received: Monday, 28 September, 2009, 7:14 PM Milton Cezar Ribeiro wrote: Dear all, I have a DEM with dimensions 10,000 x 6,000. Now I need to extract all the stream

Re: [GRASS-user] stream extraction from ASTER dem

2009-09-28 Thread Milton Cezar Ribeiro
(sensu Tom Hengl!) from large DEM (10,000x6,000), please let me know. bests milton 2009/9/28 Markus Metz markus.metz.gisw...@googlemail.com Milton Cezar Ribeiro wrote: Dear all, I have a DEM with dimensions 10,000 x 6,000. Now I need to extract all the stream or drainage, as well

[GRASS-user] stream extraction from ASTER dem

2009-09-27 Thread Milton Cezar Ribeiro
Dear all, I have a DEM with dimensions 10,000 x 6,000. Now I need to extract all the stream or drainage, as well as generated some other stream/flow related features like flow direction, stream lenght, etc. I work on a computer with 6Gb under Vista, and the grass version is the OSGeo4W one. But

[GRASS-user] set color for negative and positive values

2009-09-05 Thread Milton Cezar Ribeiro
Dear all, I have a set of 10,000 distance maps. On this map I have negative (-300 to 0) and posivie (0 to +300) values. I would like to attrib a color table to those maps from yellow-cyan-dark green when the negative values goes from 0 to -300, and from yellow-orange-red when values goes from 0

Re: [GRASS-user] MAP Calculator mean of eight neighbors to interpolate 0 value in raster map

2009-08-28 Thread Milton Cezar Ribeiro
May be something like: (please, check several values!) r.mapcalc B=if(A==0, sum(A[-1,-1], A[0, -1], A[1,-1], A[-1,0], A[1,0], A[-1,1], A[0, 1], A[1,1])/8, A) cheers milton 2009/8/28 stephen sefick ssef...@gmail.com if(0, (sum([-1,1], [0, 1], [1,1], [-1,0], [0,0], [1,0],[-1,-1],

Re: [GRASS-user] MAP Calculator mean of eight neighbors to interpolate 0 value in raster map

2009-08-28 Thread Milton Cezar Ribeiro
Hi stephen, just to remember not include yourmap[0,0] bests milton 2009/8/28 stephen sefick ssef...@gmail.com I think so- let me try it On Fri, Aug 28, 2009 at 12:04 PM, achima...@jupiter.uni-freiburg.de wrote: r.mapcalc newmap = if ( yourmap==0 , ( sum( yourmap[-1,1] , yourmap[0,1] ,

Re: [GRASS-user] MAP Calculator mean of eight neighbors to interpolate 0 value in raster map

2009-08-28 Thread Milton Cezar Ribeiro
Hi Stephen, may be you can share some picture? bests milton 2009/8/28 stephen sefick ssef...@gmail.com This does not quite work for my purposes. The problem is the the 0 values are in a 2 or 3 grid wide seam in between patched raster maps, so the value is lower than it should be using

Re: [GRASS-user] Removing 0 values from raster map

2009-08-21 Thread Milton Cezar Ribeiro
Hi stephen, May be this? g.region rast=`g.mlist pat=srtm* sep=,` r.series input=`g.mlist pat=srtm* sep=,` output=srtm_leste method=maximum of you can play with r.mapcalc to identify where is zero, and calculate the mean using [-1,-1][-1,0], [1,1] (not use [0,0]) to average (sum/8). good

Re: [GRASS-user] Reading list of vector maps into file or array

2009-08-20 Thread Milton Cezar Ribeiro
It is amazing!!! Thanks hamish! milton 2009/8/20 Hamish hamis...@yahoo.com Mark: If I do 'g.list vect walker.list', the list is not in one column and seems to be separated by tabs, with 4 columns and a bunch of rows of vector files. g.mlist I'm building an animated GIF of the

Re: [GRASS-user] Reading list of vector maps into file or array

2009-08-20 Thread Milton Cezar Ribeiro
Hi Mark, Have you tried something like grass.mlist_grouped(type = 'rast') (may be you need change to vect) on python? good luck milton 2009/8/20 M S msei...@gmail.com Greetings All: How would one read the vector maps in a current mapset into a file, or a list in an array (using python)?

Re: [GRASS-user] magic?

2009-08-20 Thread Milton Cezar Ribeiro
Hi Achim, could you, please, share with us your region -p ? bests milton 2009/8/20 achim a...@jupiter.uni-freiburg.de Hi, I tried a lot. And I found a solution: I made a buffer around the area with 0 distance. Then v.to.rast works. If anyone knows why, it would be very interesting for

[GRASS-user] sqlite3 and grass64 OSGeoW4 installation

2009-08-20 Thread Milton Cezar Ribeiro
Dear Grass-gurus, I am running grass64 available on OSGeoW4 Express installation. Now I need to play with grass python and sqlite3. I gone on OSGeoW4 installer again, and when I try to choose the sqlite3 lib to install the installer (available at

Re: [GRASS-user] bus error in v.in.ogr

2009-08-14 Thread Milton Cezar Ribeiro
Hi Maning, O flyed on your email and saw only warnings, not errors. It appears to worked. bests milton 2009/8/14 maning sambale emmanuel.samb...@gmail.com I am importing a polygon shapefile and I get this error. The shapefile was created using QGIS. v.in.ogr layer=forest_p116r048_repair

Re: [GRASS-user] passing raster map to Python object

2009-08-12 Thread Milton Cezar Ribeiro
Hi Hamish, Thanks for your encourager's email. I started to play with numpy for other purposes, but I will give a look in deep for this. If I get success I will be happy report it here. bests milton 2009/8/12 Hamish hamis...@yahoo.com Milton Cezar Ribeiro wrote: I am building

[GRASS-user] python script: grass.list_grouped for other mapset

2009-08-12 Thread Milton Cezar Ribeiro
Dear all, I am building some codes on python that read grass informations. If I start msys - grass - select my location mapset, I am able to both get the list of rasters or read a raster map. To get the list of raster maps I use something like:

[GRASS-user] passing raster map to Python object

2009-08-11 Thread Milton Cezar Ribeiro
Dear all, I am building a simulation python code that read a raster maps on grass mapset. As my maps is not so large (512x512 pixels) I dump it on a text file (using r.out.ascii), after I read the text file on python, parse it using a function that I wrote, and after create a matrix-like object

[GRASS-user] osgeo4w grass instalation : Tkinter error on python script

2009-08-10 Thread Milton Cezar Ribeiro
Dear all, [Windows 64 / XP] Sorry if this is not the best place to ask for this. I installed the Osgeo4W grass, using the installer available at: http://trac.osgeo.org/grass/wiki/CompileOnWindows After startup the installer, I choose Express instalation, and installed grass from it. Grass

[GRASS-user] can I access mapset outside of grass, by using python?

2009-08-07 Thread Milton Cezar Ribeiro
Dear friends, I can run some simple scripts on python if I start Msys - grass64 - python myscrypt.py But now I would like to know if I can build a python code outside of a msys/grass session, and get access on a mapset withour stay running grass. thanks a lot, milton

[GRASS-user] convert a raster map on a matrix on python.

2009-08-07 Thread Milton Cezar Ribeiro
Dear all, how can I read all lines of a raster map and assing it on a matrix (list of lists) on python. I am able to get all informations about a raster map, using for example grass.raster_info('MYMAP') but I need to load the grass raster map as a grid on python. Any help are welcome. Cheers

Re: [GRASS-user] grass 6.4 for win - old tcltk GUI

2009-08-06 Thread Milton Cezar Ribeiro
Hi Edmond, Any error message?! XP / VISTA / 32 / 64 ? MSYS or Standalone version? I can't help, but I think this information could be useful for helpers. Cheeers milton 2009/8/6 Edmondo Elisei edmondo.eli...@gmail.com Dear Grass lists, the old GUI doesn't start. It happens with 6.4 RC5

Re: [GRASS-user] g.list not working on GUI after edit .grassrc6

2009-08-05 Thread Milton Cezar Ribeiro
. Anyway Following the suggestion by Micha (remove .grassrc6) everything is ok now!!! Thanks a lot Nikos Micha! milton 2009/8/5 Micha Silver mi...@arava.co.il Nikos Alexandris wrote: On Tue, 2009-08-04 at 19:33 -0400, Milton Cezar Ribeiro wrote: Hi Nikos. Thanks for the reply

[GRASS-user] can I run python code in standalone grass 6.4?

2009-08-05 Thread Milton Cezar Ribeiro
Dear all, Is this possible? I installed standalone grass 6.4. from http://grass.itc.it/grass64/binary/mswindows/native/WinGRASS-6.4.0RC5-1-Setup.exe After start this mswindows version I can start MSYS/grass64, and also run python test.py. Now I would like to run some grass-python code but when I

  1   2   3   >