Re: [GRASS-user] edit cateogry names in raster map

2018-06-13 Thread Milton Ribeiro
I there, I am not sure if you can have a class as zero, so: r.reclass r.category best Sent from my TK 90X Miltinho - m...@rc.unesp.br Spatial Ecology and Conservation lab - LEEC Departament of Ecology - UNESP - Rio Claro/SP Av. 24A, 1515 - Bela Vista 13506-900, Rio Claro, SP, Brasil Fone:

Re: [GRASS-user] randomize the position of a raster map

2014-12-09 Thread Milton Ribeiro
Hi Moritz, I like your tips.. I will try this. Thanks! milton 2014-12-09 12:55 GMT-02:00 Moritz Lennert mlenn...@club.worldonline.be: On 08/12/14 18:26, Milton Ribeiro wrote: Hi all, I have a landcover maps, and I need to randomize the position of them, keeping all the pixels on the new

[GRASS-user] randomize the position of a raster map

2014-12-08 Thread Milton Ribeiro
Hi all, I have a landcover maps, and I need to randomize the position of them, keeping all the pixels on the new raster map. Is there a command that can do this within GRASS? best -- Miltinho - m...@rc.unesp.br Laboratório de Ecologia Espacial e Conservação - LEEC Depto de Ecologia - UNESP -

[GRASS-user] r.neighbors selecting a random value from the window

2014-10-02 Thread Milton Ribeiro
Dear all, Given a moving window (maybe with r.neihbors), I need to select a random value which occurs within the window. Is there any function for this in grass? cheers -- Miltinho - m...@rc.unesp.br Laboratório de Ecologia Espacial e Conservação - LEEC Depto de Ecologia - UNESP - Rio Claro

Re: [GRASS-user] align large number of images in a automated way

2014-07-30 Thread Milton Ribeiro
Dear all, Thanks for all your replies. Considering the answers and comments I complement my request: 1. I have no interest on the spatial coordinates, only need align the images (so I can use a local coordinate) 2. Although the camera is fixed, there are some variability on the image positions,

[GRASS-user] i.rectify (or gdalwarp -off topic)

2014-07-30 Thread Milton Ribeiro
Dear all, sorry to post this issue here, but maybe some of you can help me. Following Markus Neteler (and other) suggestioins, I was able to automatically generate a ground control point file for a large set of images. Now I have (at least) two directions. 1. rectify the image using i.rectify

[GRASS-user] Problem while importing large shapefile

2014-07-25 Thread Milton Ribeiro
Dear all, I have a shape file with large number of polygons (some of them many points). While trying to import I got the fallowing error message: Error: G_realloc : unable to allocate 5448004 bytes of memory at struct_alloc.c: 133. Any hint to bypass this issue? I am running

Re: [GRASS-user] turning grass.commands quiet

2014-07-02 Thread Milton Ribeiro
Thanks Moritz and Martin best milton 2014-07-02 12:25 GMT-03:00 Moritz Lennert mlenn...@club.worldonline.be: On 02/07/14 13:04, Martin Landa wrote: Hi, 2014-07-02 3:50 GMT+02:00 Milton Ribeiro miltinho.astrona...@gmail.com: Is there a way of the grass commands not send any messages

[GRASS-user] turning grass.commands quiet

2014-07-01 Thread Milton Ribeiro
Dear all, Is there a way of the grass commands not send any messages while running? I tryed g.gisenv set=DEBUG=0 but I would like none messages during command execute. thanks -- Miltinho - m...@rc.unesp.br Laboratório de Ecologia Espacial e Conservação - LEEC Depto de Ecologia - UNESP - Rio

Re: [GRASS-user] wingrass 7.0 - copy and paste on console

2014-06-26 Thread Milton Ribeiro
Hi Helmut et al, After I use once the right-click, I can´t repeat the procedure. Any hint why it happens (under windows 8, stande alonge grass 7.0) cheers 2014-06-26 12:36 GMT-03:00 Helmut Kudrnovsky hel...@web.de: I'm always confused about that. Was this change from msis to MS Windows

Re: [GRASS-user] classify image after i.segment

2014-06-26 Thread Milton Ribeiro
Just one more question: how can I use the objects output from i.segment in the steps to classify the image using i.maxlik? I tried to find a step-by-step classification using the raster objects from i.segment by no luck. best wishes milton 2014-06-26 18:34 GMT-03:00 Helmut Kudrnovsky

Re: [GRASS-user] wingrass 7.0 - copy and paste on console

2014-06-26 Thread Milton Ribeiro
Excelent! worked fine to me! 2014-06-26 18:29 GMT-03:00 Vaclav Petras wenzesl...@gmail.com: On Thu, Jun 26, 2014 at 11:36 AM, Helmut Kudrnovsky hel...@web.de wrote: I'm always confused about that. Was this change from msis to MS Windows (native) command line which brought the worse

[GRASS-user] wingrass 7.0 - copy and paste on console

2014-06-25 Thread Milton Ribeiro
Dear all, I just installed standalone grass 7.0.0 under windows. How can I copy a series of commands on text-console of GRASS 7.0.0.beta2 ? I tried control-V, middle-buttom from the mouse, but nothing work. This short-cut works fine under grass 6.4 on the same machine. best wishes --

[GRASS-user] classify image after i.segment

2014-06-25 Thread Milton Ribeiro
Dear all, I got a set of i.segment output objects, and would like to classify the pixels within the regions. how can I do that? best wishes -- 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

[GRASS-user] v.univar error in sum stats (windows, 6.4.3RC2)

2014-03-06 Thread Milton Ribeiro
Dear all, I have vector maps with just one line each. When I run v.univar setting a numeric collumn, de MIN and MAX value looks fine (the same value) but SUM stats looks very strange. Anyone have idea what is happening? best -- Miltinho - m...@rc.unesp.br Laboratório de Ecologia Espacial e

Re: [GRASS-user] add a centroid in the center of polygon

2014-01-31 Thread Milton Ribeiro
Dear all thanks again for all your kindy support and discussions. you clarified about issues and possibilities of deal with this job. Pretty thanks miltinho 2014-01-31 Moritz Lennert mlenn...@club.worldonline.be: On 30/01/14 23:13, Markus Metz wrote: On Thu, Jan 30, 2014 at 10:39 AM,

Re: [GRASS-user] add a centroid in the center of polygon

2014-01-27 Thread Milton Ribeiro
markus.metz.gisw...@gmail.com wrote: On Sat, Jan 25, 2014 at 12:10 AM, Milton Ribeiro miltinho.astrona...@gmail.com wrote: Dear all, I have a polygon vector, and need to add point in the center of mass of each one. I used v.centroid, but it adds just a centroid, but not in the central

Re: [GRASS-user] add a centroid in the center of polygon

2014-01-25 Thread Milton Ribeiro
Thanks Markus, Cheers milton 2014/1/25 Markus Neteler nete...@osgeo.org On Sat, Jan 25, 2014 at 12:10 AM, Milton Ribeiro miltinho.astrona...@gmail.com wrote: Dear all, I have a polygon vector, and need to add point in the center of mass of each one. I used v.centroid, but it adds

[GRASS-user] add a centroid in the center of polygon

2014-01-24 Thread Milton Ribeiro
Dear all, I have a polygon vector, and need to add point in the center of mass of each one. I used v.centroid, but it adds just a centroid, but not in the central position of the polygon area. any hint are welcome! cheers -- Miltinho - m...@rc.unesp.br Laboratório de Ecologia Espacial e

Re: [GRASS-user] grass-python editing using Wing-IDE

2014-01-18 Thread Milton Ribeiro
On Fri, Jan 17, 2014 at 2:23 PM, Milton Ribeiro miltinho.astrona...@gmail.com wrote: Dear all, I would like to know if is there anyone using WingIDE python editor to write python grass scripting. I am using WingIDE under windows, but grass.scripting lib methods not autocomplete

Re: [GRASS-user] grass-python editing using Wing-IDE

2014-01-18 Thread Milton Ribeiro
Hi there Just to keep the info, I found it, and now everything is working fine with autocomplete under Wingware. I copied the folder C:\Program Files (x86)\GRASS GIS 6.4.3RC2\etc\python\grass to C:\Python27\Lib\site-packages Thanks again milton 2014/1/18 Milton Ribeiro miltinho.astrona

Re: [GRASS-user] grass-python editing using Wing-IDE

2014-01-18 Thread Milton Ribeiro
Hi Vaclav, Yes, the idea is just for script editing, but to run the script I will do within grass GUI. I will also setup PYTHONPATH as you suggested cheers milton 2014/1/18 Vaclav Petras wenzesl...@gmail.com On Sat, Jan 18, 2014 at 6:47 PM, Milton Ribeiro miltinho.astrona...@gmail.com

[GRASS-user] grass-python editing using Wing-IDE

2014-01-17 Thread Milton Ribeiro
Dear all, I would like to know if is there anyone using WingIDE python editor to write python grass scripting. I am using WingIDE under windows, but grass.scripting lib methods not autocomplete, and the help of grass.scripting not appears on WingIDE as for other libs of python. best wishes --