[GRASS-user] Silent commands in python

2007-12-03 Thread Daniel Victoria
Hi all, This might be more of a python problem but here it goes... I wrote a water balance script in python to run under GRASS. What I would like now is that the commands in the python script would be silent, that is, no return from stdout or stderr. For instance every time I call a r.mapcalc

Re: [GRASS-user] Silent commands in python

2007-12-04 Thread Daniel Victoria
PROTECTED] wrote: Daniel Victoria wrote: This might be more of a python problem but here it goes... I wrote a water balance script in python to run under GRASS. What I would like now is that the commands in the python script would be silent, that is, no return from stdout or stderr

Re: [GRASS-user] Watershed delineation

2007-12-28 Thread Daniel Victoria
direction output with r.water.outlet. Is that possible? Unfortunatelly I can't test it here because r.watershed is still running (+2 days) and I don't want to stop the process now that it reached 50%... Cheers Daniel On Dec 28, 2007 7:12 AM, Hamish [EMAIL PROTECTED] wrote: Daniel Victoria wrote: I

Re: [GRASS-user] Watershed delineation

2007-12-29 Thread Daniel Victoria
Hamish, Thanks for all the references! Great reading I now finally understood that r.terraflow is NOT a substitute for r.watershed when it comes to delineate basins. On Dec 28, 2007 8:50 PM, Hamish [EMAIL PROTECTED] wrote: ps- I think it would be nice to write a r.catchment script from

Re: [GRASS-user] grass - idrisi export

2008-01-09 Thread Daniel Victoria
Apparently GDAL supports Idrisi format (RST - Idrisi Raster A.1). So r.out.gdal should do the trick On Jan 9, 2008 1:18 PM, temiz [EMAIL PROTECTED] wrote: hello I need to export grass raster maps to idrisi format. But I could not see grass - idrisi export function. What do you recommend me

Re: [GRASS-user] Re: highest and lowest point in catchment

2008-02-08 Thread Daniel Victoria
Maybe something like this... For each catchment you run r.info -r to get the highest and lowest value of the DEM (use a MASK for the catchment and r.info -r DEM). Then, with r.mapcalc you select the highest and lowest areas that you obtained with r.info. After that you can vectorize the areas

Re: [GRASS-user] v.patch drops boundary vector regions

2008-03-03 Thread Daniel Victoria
I had some similar problems and they were related to topology. I found this in the v.patch man page: NOTES Any vectors that are duplicated among the maps being patched together (e.g., border lines) will have to be edited or removed after v.patch is run. Such editing can be done automatically

[GRASS-user] Wingrass and AVG

2008-03-11 Thread Daniel Victoria
Hi all, First of all, great job with native WinGrass!! As much as I love the linux version, I had to install the windows version on a friends computer and it's working great! Even NVIZ works! Impressive!!! Had a little trouble in the begining because I forgot to install tcl but that was fixed

[GRASS-user] Re: Wingrass and AVG

2008-03-11 Thread Daniel Victoria
Just as a complement, the file that AVG complains about a hidden extension is r.out.mpeg.exe cheers Daniel On Tue, Mar 11, 2008 at 4:10 PM, Daniel Victoria [EMAIL PROTECTED] wrote: Hi all, First of all, great job with native WinGrass!! As much as I love the linux version, I had to install

Re: [GRASS-user] Importing a binary file: (a) why isn't the command logged in the maps history? (b) why is the resolution of the imported map slightly different than expected?

2008-03-18 Thread Daniel Victoria
Could it be a cell center / corner issue? Normally header information gives cell corners... Cheers Daniel On Tue, Mar 18, 2008 at 10:07 AM, Nikos Alexandris [EMAIL PROTECTED] wrote: [ Sorry for bombing you with questions - I am close to complete my work and need to clarify all details in my

Re: [GRASS-user] How effective is scripting in win-GRASS?

2008-04-10 Thread Daniel Victoria
In the email topic you asked about scripting... Well, I have a friend here that is not very computer literate but he needs to use some python scripts I wrote for Grass. I installed winGrass for him and I'm surprised how fast he learned! Also, the python scripts works normally, after some

Re: [GRASS-user] How effective is scripting in win-GRASS?

2008-04-11 Thread Daniel Victoria
Nice... Had missed that tip about grass launching Thanks Daniel On Fri, Apr 11, 2008 at 7:06 AM, Moritz Lennert [EMAIL PROTECTED] wrote: On 10/04/08 15:11, Daniel Victoria wrote: In the email topic you asked about scripting... Well, I have a friend here that is not very computer literate

[GRASS-user] Vectors in WMS

2008-04-24 Thread Daniel Victoria
Hi all, I've found some vectors of interest on a WMS server (Brazilian Environmental Ministry) and I'd like to save those vectors locally so I can do operations like buffers, distances, etc etc, I've seen the r.in.wms. Is there such a functionality for vectors? Thanks Daniel

Re: [GRASS-user] Vectors in WMS

2008-04-24 Thread Daniel Victoria
data. Maris. 2008/4/24, Daniel Victoria [EMAIL PROTECTED]: Hi all, I've found some vectors of interest on a WMS server (Brazilian Environmental Ministry) and I'd like to save those vectors locally so I can do operations like buffers, distances, etc etc, I've seen the r.in.wms

Re: [GRASS-user] Vectors in WMS

2008-04-25 Thread Daniel Victoria
How do I know if the server is WFS, WMS or whatever? On the web site they say it's a WMS... On Fri, Apr 25, 2008 at 12:23 AM, Hamish [EMAIL PROTECTED] wrote: Andreas Neumann wrote: To get unsymbolized original vector data, you'd choose a WFS service. from yesterday's 6.3.0 release

Re: [GRASS-user] mosaic with landsat geotiff

2008-05-08 Thread Daniel Victoria
Juan, Have you checked if the georreferencing on those images are correct? I was once told that the CBERS images available from INPE had only the center point with the correct georreferencing. The rest was up to the user. Could that be the problem you are seeing with r.patch? Don't know if the

Re: [GRASS-user] New User to Grass63

2008-05-12 Thread Daniel Victoria
Looks like some trouble with installation because grass i snot loading completelly. After the old map shows up it should disappear and 3 windows should come up, not just the Output GIS.m I'd recheck the installation... Daniel On Sun, May 11, 2008 at 3:03 PM, paul raymond [EMAIL PROTECTED]

Re: [GRASS-user] Plateau / Flatbed detection

2008-05-16 Thread Daniel Victoria
: http://www.jennessent.com/downloads/TPI-poster-TNC_18x22.pdf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Daniel Victoria Sent: Friday, May 16, 2008 12:48 PM To: grass Subject: [GRASS-user] Plateau / Flatbed detection Hi all, Has anybody done

Re: [GRASS-user] Change NaN to 0 with r.mapcalc(or whatever)?

2008-05-20 Thread Daniel Victoria
If by NaN you mean null values, you are looking for the r.null command Daniel On Tue, May 20, 2008 at 9:11 PM, Moskovitz, Bob [EMAIL PROTECTED] wrote: Hello All, Is there a way to r.mapcalc or some other command to change NaN values in rasters to another value? Bob Bob Moskovitz Seismic

[GRASS-user] r.series and Fourier

2008-06-12 Thread Daniel Victoria
Hi all, A friend of mine asked me if it would be possible to do a Fourier analysis on a raster time series with Grass (or any other tool). Since I'm no expert in Fourier or time series the first thing that came to my mind was to send the grass rasters to R and do the processing there. But then I

Re: [GRASS-user] r.series and Fourier

2008-06-13 Thread Daniel Victoria
: This should have gone to the list... 2008/6/12 Glynn Clements [EMAIL PROTECTED]: Daniel Victoria wrote: An FFT would produce a series (or two series - real/imag or arg/abs) of outputs. If you just want a single frequency component, you would need to pass the frequency (or period) as an argument

Re: [GRASS-user] running several command in batch.

2008-07-23 Thread Daniel Victoria
Hi Milton, You can put all commands in a shell script (sort of like .bat files in MS-DOS) and call the script from the Output Gis.m. Or you could run grass from a terminal (xterm) and call the shell script. I believe the only commands that won't work in these scripts are the d.* commands. All of

Re: [GRASS-user] r.soils.texture

2008-07-30 Thread Daniel Victoria
Miltinho, While it's not a texture map, this paper has a huge soil profile database for Brasil. It was published by the people from São Paulo Univerity - Piracicaba (You know ESALQ) A National Soil Profile Database for Brazil Available to International Scientists Miguel Cooper, Lúcia Maria

Re: [GRASS-user] v.dissolve bugfeature / workaround needed

2008-08-06 Thread Daniel Victoria
There is a long tread about this... http://thread.gmane.org/gmane.comp.gis.grass.user/21875/focus=21887 In the end I was under the impression that v.dissolve did work with string data, as Hamish wrote: http://article.gmane.org/gmane.comp.gis.grass.user/21920 But, I'm not sure if the column has

Re: [GRASS-user] segmentation fault with r.in.gdal

2008-08-07 Thread Daniel Victoria
'. -Vishal On Thu, Aug 7, 2008 at 3:05 PM, Daniel Victoria [EMAIL PROTECTED] wrote: Hi, Did you try to import outside of Grass, using gdal_translate instead of r.in.gdal Daniel On Thu, Aug 7, 2008 at 6:16 PM, Vishal Mehta [EMAIL PROTECTED] wrote: Hi all, I am attempting to import netcdf

Re: [GRASS-user] Snap a point to a line?

2008-08-13 Thread Daniel Victoria
Jonathan, I've done this using v.distance with the upload option (to_x and to_y) to get the coordinate of the nearest place in a line close to my points. Then I'd export the to_x and to_y columns and create a new point vector file. I've done this so I could create the watersheds for 150 pour

Re: [GRASS-user] How to convert BMP JPEG files to Shape(.shp) format

2008-08-27 Thread Daniel Victoria
Potrace + Inkscape sounds interesting. Just out of curiosity, does anyone knows if it could be used to vectorize scanned topo sheets? Daniel On Wed, Aug 27, 2008 at 9:04 AM, Paulo Marcondes [EMAIL PROTECTED] wrote: 2008/8/27 Alpha GRASS [EMAIL PROTECTED]: Dear all, I need to convert some

Re: [GRASS-user] g.mremove error: Argument list too long

2008-09-24 Thread Daniel Victoria
Hi, How about separating it in smaller chunks. Try 3 comands first g.mremove -f rast=* g.mremove -f vect=* g.mremove -f region=* If you still get argument list to long you will have to split the rast/vect/region list once more. I don't know how your rasters are named but, for example, remove all

Re: [GRASS-user] g.mremove error: Argument list too long

2008-09-24 Thread Daniel Victoria
). Use that to divide the groups. The starting with a was just a suggestion... Daniel On Wed, Sep 24, 2008 at 11:50 AM, Rainer M Krug [EMAIL PROTECTED] wrote: On Wed, Sep 24, 2008 at 4:01 PM, Daniel Victoria [EMAIL PROTECTED] wrote: Hi, How about separating it in smaller chunks. Try 3

Re: [GRASS-user] Re: [Qgis-user] dbf editor for mac for grass and qgis

2008-09-25 Thread Daniel Victoria
How about using sqlite? Does it have any limits? From my experience, sqlite is easy to use in grass vectors and, with little effort, you can connect it to oobase. Or just use sqlitebrowser or the command line to edit the databases. Daniel On Thu, Sep 25, 2008 at 7:38 AM, maning sambale [EMAIL

Re: [GRASS-user] Re: vector operations based on rasters

2008-09-26 Thread Daniel Victoria
How about v.rast.stats It will calculate raster univariate statistics for each vector polygon http://grass.itc.it/grass62/manuals/html62_user/v.rast.stats Daniel On Thu, Sep 25, 2008 at 7:53 PM, Tim Michelsen [EMAIL PROTECTED] wrote: Hello, thanks for your help. but this is not all that I

[GRASS-user] Runing grass inside Msys console

2008-10-08 Thread Daniel Victoria
Hi, I just installed WinGrass (great job by the way) but in order to run GRASS inside the MSYS console I have to explicitly go to the directory were grass63 is at. IOW, the grass63 startup script is not in the path environment. Is it possible to put the startup script in the path environment,

Re: [GRASS-user] Runing grass inside Msys console

2008-10-09 Thread Daniel Victoria
This is exactly what happened. I have the .grassrc6 in my home dir (grass/msys/home/username) but the grass63 startup script is in grass/msys/home/C/Documents and Settings/my_name/grass63. I fixed this by making a symbolic link. Did not know I could just move the script around. Daniel On Thu,

[GRASS-user] v.sample output to text file

2008-10-13 Thread Daniel Victoria
Hi all, I have a set of 23 Modis NDVI images and I want to sample all images at specific points (50 points). What I was looking for was something like v.sample but, instead of generating a new vector with the raster value, output the values to a text file. I though about using i.spectral but it

Re: [GRASS-user] v.sample output to text file

2008-10-14 Thread Daniel Victoria
Alexandris [EMAIL PROTECTED] wrote: On Mon, 2008-10-13 at 14:38 -0200, Daniel Victoria wrote: Hi all, I have a set of 23 Modis NDVI images and I want to sample all images at specific points (50 points). What I was looking for was something like v.sample but, instead of generating a new vector

[GRASS-user] Grass on Windows any different?

2008-10-17 Thread Daniel Victoria
Hi, I recently changed jobs and now I have to use Windows. So first of all, I'd like to congratulate the team that made WinGrass possible! It's working great. I just have some questions. Is there any speed difference between the Linux / Windows version? WinGrass feels slower for me but I can't

Re: [GRASS-user] r.reclass and g.remove: another issue

2008-10-17 Thread Daniel Victoria
Hi, I just found out that this old bug in WinGrass 6.3 The reclass_to file is not being removed after I removed the reclassed map. So I can't remove the original map. I also noticed that, using r.mapcalc in MSYS Console will not give the user any feedback like that percent count Daniel On

Re: [GRASS-user] Help: Converting a raster map between locations (from wgs84 lat / long to UTM)

2008-10-22 Thread Daniel Victoria
It's because your region in the target location is wrong. Here is a little trick: In your lat/lon location, after you set your region, run the command v.in.region (check correct syntax). This will create a bounding box of the region. Then, go to your target location (UTM) and use the command

Re: [GRASS-user] Help: Converting a raster map between locations (from wgs84 lat / long to UTM)

2008-10-23 Thread Daniel Victoria
Corrado, What v.in.region does is create a vector that surrounds your current region. Then, when you run v.proj, the vector covering the region is brought to your target location so you know where your projected raster should be at... The manual labor after that is setting the resolution

Re: [GRASS-user] dem - long section

2008-10-31 Thread Daniel Victoria
Also, take a look at the profile tools r.profile, d.profile or, if you are using the map display, it's the button to the right of the measure ruler Daniel On Fri, Oct 31, 2008 at 2:20 PM, Markus Neteler [EMAIL PROTECTED] wrote: On Fri, Oct 31, 2008 at 5:16 PM, Edmondo Elisei [EMAIL PROTECTED]

Re: [GRASS-user] Exporting raster maps into structured ascii file (X, Y, value, ...., value)

2008-11-05 Thread Daniel Victoria
Hi, Take a look at the r.what man page... http://grass.osgeo.org/gdp/html_grass63/r.what.html I did something similar but for a few points. What you will have to do is create a list with the x,y coordinates that you want and then pass it to r.what You could create your x,y list by hand or,

Re: [GRASS-user] call a script and see which command is running

2008-11-13 Thread Daniel Victoria
You could add some echo lines before each important comand so the script will print whatever is doing. Something like this: echo Erasing all. Goodbye cruel world g.mremove rast=* IMPORTANT: DO NOT EXCECUTE ABOVE LINE (left -f switch off on purpose) On Thu, Nov 13, 2008 at 3:49 PM, Milton Cezar

Re: [GRASS-user] Troubles withr.in.arc

2008-11-14 Thread Daniel Victoria
I don't understand. If you can display the raster how come the values are all null (*)? what command did you use for the import? Daniel On Thu, Nov 13, 2008 at 11:12 PM, Adalberto da Silva [EMAIL PROTECTED] wrote: I am trying to import some Esri ascii grid (*.ASC) with r.in.arc with Grass

[GRASS-user] Gui error behind splash screen

2008-11-28 Thread Daniel Victoria
Hi all, I just installed grass6.3 from les-ejk repository on a very striped down ubuntu machine and I can create the location and mapset with no problem in the GUI. The problem is that, after I create the mapset and grass tries to load the gis.m it gives me an error message which I can not see

[GRASS-user] Re: Gui error behind splash screen

2008-11-29 Thread Daniel Victoria
:09.719222 n-s resol: 0:00:09.719879 top:1 bottom: 0 cols3: 1 rows3: 1 depths: 1 e-w resol3: 1 n-s resol3: 1 t-b resol: 1 Don't see anything wrong... Daniel On Fri, Nov 28, 2008 at 4:45 PM, Daniel Victoria [EMAIL PROTECTED] wrote: Hi all, I just installed grass6.3 from

[GRASS-user] Re: Gui error behind splash screen

2008-11-29 Thread Daniel Victoria
another update. I can get into a lat lon location in the grass terminal but g.region -p gives me a segmentation fault On Sat, Nov 29, 2008 at 11:26 AM, Daniel Victoria [EMAIL PROTECTED] wrote: An update. Just found out that everything works fine with an UTM location but, the failure happens

Re: [GRASS-user] Re: Gui error behind splash screen

2008-11-29 Thread Daniel Victoria
I was hopping I would not have to resort to compiling everything from source. I recall that a while ago a simple apt-get would be enough to get everything working just fine in Ubuntu. Now that was friendly... Daniel On Sat, Nov 29, 2008 at 12:39 PM, Nikos Alexandris [EMAIL PROTECTED] wrote: On

Re: [GRASS-user] Re: Gui error behind splash screen

2008-11-30 Thread Daniel Victoria
and then will do the gdb thingy Daniel On Sun, Nov 30, 2008 at 12:41 AM, Hamish [EMAIL PROTECTED] wrote: Daniel Victoria wrote: another update. I can get into a lat lon location in the grass terminal but g.region -p gives me a segmentation fault ok, next we need to figure out why. can you rerun

Re: [GRASS-user] GRASS 6.3 for Ubuntu 8.10 - Intrepid Ibex

2008-12-01 Thread Daniel Victoria
is wrong... Daniel On Mon, Dec 1, 2008 at 7:10 AM, Jachym Cepicky [EMAIL PROTECTED] wrote: hi, some people reported this try sudo unlink /usr/local/lib/libgdi.so and apt-get install grass j 2008/11/29 Daniel Victoria [EMAIL PROTECTED]: I'm getting the following error when

Re: [GRASS-user] Re: Gui error behind splash screen

2008-12-03 Thread Daniel Victoria
the wxPython GUI for the first time! Impressive!! Congrats all grass developers for the well done job Daniel On Sun, Nov 30, 2008 at 12:41 AM, Hamish [EMAIL PROTECTED] wrote: Daniel Victoria wrote: another update. I can get into a lat lon location in the grass terminal but g.region -p gives me

Re: [GRASS-user] grass 6.3 install problem... can't get past splash screen on centos

2008-12-15 Thread Daniel Victoria
I had a similar problem some time ago and it turned out to be a badly installed gdal lib. I'd double check your gdal installation, including the shared libraries Daniel On Mon, Dec 15, 2008 at 4:58 PM, Ken Kwasnicki ken.kwasni...@gmail.com wrote: hi all, i've now had this problem on a couple

Re: [GRASS-user] Problemas con inicio de Grass

2009-01-24 Thread Daniel Victoria
By the looks of it it´s a bad gdal instalation. See if yoour linux distribution supplies a gdal package and try to re-install it Daniel On Fri, Jan 23, 2009 at 7:11 PM, Milton Cezar Ribeiro miltinho.astrona...@gmail.com wrote: (translation) Hi, I am new on linux and grass, and i have troubles

Re: [GRASS-user] many polys / 1 cat

2009-01-26 Thread Daniel Victoria
business better Cheers and thanks Daniel On Mon, Jan 26, 2009 at 5:02 PM, Nikos Alexandris nikos.alexand...@felis.uni-freiburg.de wrote: On Mon, 2009-01-26 at 16:40 -0200, Daniel Victoria wrote: Hi all, I imported a landcover shapefile in grass and I'm interested in only one of the land cover

Re: [GRASS-user] many polys / 1 cat

2009-01-27 Thread Daniel Victoria
Thanks Hamish! v.overlay saved the day!! It did take some time to run but the output was right what I wanted, even with the database fields in the original vector map! once again, thanks Daniel On Mon, Jan 26, 2009 at 6:35 PM, Hamish hamis...@yahoo.com wrote: Daniel Victoria wrote: Well, here

Re: [GRASS-user] problem with r.proj

2009-01-29 Thread Daniel Victoria
WOW! With such small resolution in your Alberts location, no wonder r.proj is having a hard time. Try to set the resolution in the output location to something more reasonable and compatible with you original map resolution... Cheers Daniel On Thu, Jan 29, 2009 at 11:16 AM, Mohammed Rashad

Re: [GRASS-user] starspan with grass support compilation failure

2009-01-30 Thread Daniel Victoria
Speaking as a user... I used starspan a couple of times and it's great. But what I most liked about it is that _it works outside of GRASS_! It's independent of GRASS, so an user with just a shapefile and some GeoTiffs can use it happily. At the same time that I believe it's a great tool and it

Re: [GRASS-user] Sampling multispectral data

2009-02-04 Thread Daniel Victoria
Hi Ned, Check out r.what manual page [1], specially the part about using input from a text file or, better yet, sending the output from v.out.ascii to r.what. Basicaly, what you do after having your points is export their coordinates using v.out.ascii and pipe it to r.what. The query will be

Re: [GRASS-user] convert r.report output to spreadsheet format

2009-02-26 Thread Daniel Victoria
Just save this as a .csv or .txt and open in any spreadsheet software, stating that the field delimiter is | Then just do some column copy/paste and you are done. No need for awk black-magic Daniel On Wed, Feb 25, 2009 at 3:51 AM, maning sambale emmanuel.samb...@gmail.com wrote: Thanks! An

Re: [GRASS-user] scripting mapcalc

2009-03-06 Thread Daniel Victoria
Hi Glynn, That is good to know. I started using that form because I would always get confused with ' and so I though that using the echo command would be safer. But now that I know better, my scripts will be simpler Daniel On Fri, Mar 6, 2009 at 1:41 AM, Glynn Clements gl...@gclements.plus.com

Re: [GRASS-user] Project map

2009-03-11 Thread Daniel Victoria
On Wed, Mar 11, 2009 at 11:09 AM, Stefanie Obmann stef...@gmx.at wrote: My question: If I save my vector map as shp.-file for another GIS (ARCGIS in my case) what projection does it use? My attribute table shows gg. Coordinates as in GRASS. So do I have to project it another time? (I also get

Re: [GRASS-user] how to open .hdf files in GRASS?

2009-05-11 Thread Daniel Victoria
I normally use the Modis Reprojecting Tool (MRT). Works great, can handle projections and outputs to GeoTiff daniel On Mon, May 11, 2009 at 3:30 PM, Hamish hamis...@yahoo.com wrote: Nadine wrote: i seem to have a problem using the GRASS version 7.0. I need to use images from MODIS that I

Re: [GRASS-user] r.series g.mlist unhappy together

2009-05-19 Thread Daniel Victoria
What is the exact command line you used and the error message? Because in your first email the error was due to the wrong use of quotes. The entire g.mlist command should be inside back ticks (` `), with no need for quotes inside the g.mlist line, exactly like Nikos suggested... On Tue, May 19,

[GRASS-user] GIS Manager map properties (wxpython)

2009-06-16 Thread Daniel Victoria
Hi all, Don't know if someone already reported this or if it's just happening in my machine. I'm using Grass 6.4RC5 from les-ejk ubuntu repositories (great job on the repositories, by the way!) and I noticed something strange in the wxpython GIS Manager. I have 2 maps on the GIS Manager, a

Re: [GRASS-user] can the grass calculate the area of different color for a image(tiff or other?)

2009-06-17 Thread Daniel Victoria
To be sure what number corresponds to what color, just plot your map and use the mouse query tool (r.what). Then you can click on a color and see the category number pop up on screen... On Wed, Jun 17, 2009 at 10:04 AM, maven apacheapachemav...@gmail.com wrote: And if you want to improve the

[GRASS-user] g.mapset unable to read GIS_LOCK env variable

2009-06-19 Thread Daniel Victoria
Hi all, Using Grass 6.4.0 from Osgeo4W in WinXP. When I try to change my mapset inside a grass section by typing, for example, g.mapset PERMANENT at the prompt I get the error: - GRASS 6.4.0svn (utm23) g.mapset PERMANENT ERROR: Unable to read GIS_LOCK environment

[GRASS-user] Grass osgeo4w does not like python(x,y)

2009-06-26 Thread Daniel Victoria
Hi list, I'm using a python distribution know as python(x,y), which mimics some matlab like funcionability in my WinXP box. It uses python version 2.5.4. I then installed Grass 6.4 from OsGeo4W and when I try to run grass wxpython I get the following error message (badly translated from

[GRASS-user] Re: Grass osgeo4w does not like python(x,y)

2009-06-26 Thread Daniel Victoria
Replying to my own email I replaced the the pywintypes25.dll in c:/windows/system32 with the one that came with OSGeo4W. Now everything (Grass wxpython and python(x,y)) is working swell, AFAICT. Cheers Daniel On Fri, Jun 26, 2009 at 9:47 AM, Daniel Victoriadaniel.victo...@gmail.com wrote:

[GRASS-user] WXGui inform of MASK raster

2009-06-26 Thread Daniel Victoria
Hi, I'm using grass6.4 from OSGeo4W (winXP) and just noticed that it would be nice to have something in the wxgui or terminal telling us when a MASK is in place. I don't see any warning if I create the mask using either the gui or comand line command. I tryed to file a wish on trac but somehow I

Re: [GRASS-user] Possible bug in v.edit

2009-09-01 Thread Daniel Victoria
I have Grass installed on windows (OsGeo4W) Grass 6.4 svn and the v.edit command only returns 2 polygons. But I can see the 3 overlapping polygons when I plot the vector file using layer 2... Cheers Daniel On Tue, Sep 1, 2009 at 1:46 PM, Marc-Antoine Nusslimarc-antoine.nues...@euratlas.com

Re: [GRASS-user] Re: Spatial interpolation of river network observations

2009-11-17 Thread Daniel Victoria
I recall Hamish once released an interpolate with barriers code that I believe it's in the addons. Never used it myself but you should take a look http://lists.osgeo.org/pipermail/grass-user/2008-February/043541.html The screenshot is very neet and looks like what you want to do. Just don't know

Re: [GRASS-user] classification of quickbird data

2009-11-18 Thread Daniel Victoria
Hi Christian, Well, I don't think you can do anything about the clouds. You will just have to live with that, or work with radar images, which is an entirely different beast... As for the classification, if you want to remove speckle (small huts for instance), maybe a median filter could help.

Re: [GRASS-user] how to find peaks

2009-11-18 Thread Daniel Victoria
Some friends and I had a similar problem once. We had to find hilltops because, according to brazilian environmental legislation, they are environmental preserves. (Top 1/3 of the mountain / hill has to be preserved) The way it was done to solve this was to define watersheds on an __inverted__

Re: [GRASS-user] how to find peaks

2009-11-18 Thread Daniel Victoria
, Daniel Victoria wrote: Some friends and I had a similar problem once. We had to find hilltops because, according to Brazilian environmental legislation, they are environmental preserves. (Top 1/3 of the mountain / hill has to be preserved) Daniel,  Does this mean that the bottom 2/3 can

Re: [GRASS-user] inverting DEMs

2009-11-21 Thread Daniel Victoria
Multiply the DEM by -1 In r.mapcalc do: dem_inv = dem * -1 On Sat, Nov 21, 2009 at 12:01 PM, Bulent Arikan bulent.ari...@gmail.com wrote: Hi, I am trying to invert a DEM (i.e., make peaks basins and vice versa) but there does not seem to be a module for this. I am assuming this can be done

Re: [GRASS-user] Creating Points Map

2009-11-26 Thread Daniel Victoria
If it's just 3 points, why not reproject them first and them import into Grass inside your final location? Take a look at the proj comand and the cs2cs. It will project your lat long points. The cs2cs will allow for datun shifts link to proj man page: http://trac.osgeo.org/proj/wiki/man_proj

Re: [GRASS-user] Creating Points Map

2009-11-27 Thread Daniel Victoria
for the cs2cs command to read input from a file... Cheers Daniel On Fri, Nov 27, 2009 at 3:01 PM, Rich Shepard rshep...@appl-ecosys.com wrote: On Thu, 26 Nov 2009, Daniel Victoria wrote: If it's just 3 points, why not reproject them first and them import into Grass inside your final location

Re: [GRASS-user] Importing Converted Points File

2009-11-28 Thread Daniel Victoria
Hi Rich, Did you skip the first line with the option skip=1 Daniel On Sat, Nov 28, 2009 at 3:27 PM, Rich Shepard rshep...@appl-ecosys.com wrote: On Sat, 28 Nov 2009, Markus Neteler wrote: Generally: If you have suggestions to improve the manual pages, please don't hesitate to suggest text

Re: [GRASS-user] getting pixel value by clicking

2009-11-30 Thread Daniel Victoria
There is a query raster map button in the Map Disply Window. Check out tje wxGUI manual at http://grass.itc.it/grass64/manuals/html64_user/wxGUI.html Daniel On Mon, Nov 30, 2009 at 1:28 PM, Franz Schiller franzschiller1...@gmail.com wrote: Hallo I'm a new user and I'm testing usability of

Re: [GRASS-user] *Direction* to nearest vector?

2009-12-01 Thread Daniel Victoria
Just a guess... Maybe v.distance? Create a point raster, on point for each cell in your raster. Run v.distance and look for the to_angle value calculated. Then convert the points back to raster v.distance man page...

Re: [GRASS-user] Converting txt file into raster layer

2009-12-02 Thread Daniel Victoria
I'd go with v.in.ascii or r.in.xyz but, for both, you will need to know the coordinates of each grid cell. Another thing to look for is, if you have more than one observation per time, you might have to separate the file and create one map (or layer) for each time step. That's something easily

Re: [GRASS-user] Supervised classification without i.class

2009-12-03 Thread Daniel Victoria
Hi Luis, I have imported shape files in grass 6.4 using v.in.ogr. Not a big hassle. One way to acquire training areas for the supervised classification is to digitize them using either the tcl/tk digitizer or, what I find easiest, the QGis digitizer. QGis is free and can create shape files. I'm

Re: [GRASS-user] Converting txt file into raster layer

2009-12-11 Thread Daniel Victoria
for all your help so far! Katie -Original Message- From: Daniel Victoria [mailto:daniel.victo...@gmail.com] Sent: Wed 12/2/2009 6:26 PM To: Carbonari, Katie (IS) Cc: grass-user@lists.osgeo.org Subject: Re: [GRASS-user] Converting txt file into raster layer I'd go with v.in.ascii

[GRASS-user] g.version.exe caught in anti-virus

2010-01-25 Thread Daniel Victoria
Hi all, Don't know if this is the right place to report or even if there is something we can do about it but, I installed grass from osgeo4w and, when running a virus scanner (a squared), it said g.version.exe contains a virus. I believe it to be a false positive because, according to virus

Re: [GRASS-user] Radiometric Correction @GRASS6.4

2010-02-04 Thread Daniel Victoria
On Thu, Feb 4, 2010 at 10:36 AM, Nikos Dumakis nikosdu1...@gmail.com wrote: Hello Markus. Thanks for your answers As far as I saw, there are no GRASS functions to perform Radiometric (by the way, at i.atcorr manual one of the links (INPE) is dead) The INPE link was for Mauro A. Homem Antunes

Re: [GRASS-user] Managing UTM different zones

2010-02-08 Thread Daniel Victoria
Don't think this is possible in Grass locations. You must have one location for each UTM zone. in your case I belive the best option would be to use a different projection (don't know which, I'm not very experienced with projections) Daniel On Mon, Feb 8, 2010 at 9:13 AM, Pedro Roma

Re: [GRASS-user] Re: Defining Partial Drainage Basin

2010-02-10 Thread Daniel Victoria
In order for a basin to be delineated correctly, the pour point has to be in a high accumulation area (I once heard the expression synthetic river...) Well, put your pour point on top of the accumulation map and see if it's on top of the river. If not, change your easting and northing coordinates

Re: [GRASS-user] Region Definition in GRASS

2010-02-10 Thread Daniel Victoria
An option for organizing the data would be to work with only one location but different mapsets, one for each resolution. But you still would have to set the resolution with g.region. Daniel On Wed, Feb 10, 2010 at 8:23 AM, Micha Silver mi...@arava.co.il wrote: On 10/02/2010 12:12, Pedro Roma

Re: [GRASS-user] Re: Defining Partial Drainage Basin

2010-02-10 Thread Daniel Victoria
10, 2010 at 5:47 PM, Rich Shepard rshep...@appl-ecosys.com wrote: On Wed, 10 Feb 2010, Daniel Victoria wrote: In order for a basin to be delineated correctly, the pour point has to be in a high accumulation area (I once heard the expression synthetic river...) Daniel,  Perhaps if I explain

Re: [GRASS-user] d.vect without centroid icon

2010-02-10 Thread Daniel Victoria
If you are displaying using command line, d.vect manual tells us about options display and type. Not sure which to use but I believe one should do what you want. If you are using the GUI, the vector properties will let you turn of centroids and do other cool stuff. On Wed, Feb 10, 2010 at 10:27

Re: [GRASS-user] Move points to nearest feature in a different layer

2010-03-01 Thread Daniel Victoria
I've done it using v.distance. It can output the x and y coords of the nearest feature (check upload option). So then I just created a new point vector with the coords given by v.distance Cheers Daniel 2010/3/1 António M. Rodrigues amrodrig...@fcsh.unl.pt: Dear GRASS users, I'm having some

Re: [GRASS-user] Re: null to equal zero

2010-03-18 Thread Daniel Victoria
or check out r.null command. You can convert any value to null and vice-versa Daniel On Thu, Mar 18, 2010 at 6:26 AM, Achim Kisseler a...@jupiter.uni-freiburg.de wrote: Hi Gary, so r.mapcalc result=if( isnull(Bones_AVE),0,outputmap) Is that right, no need for A=Bones_AVE? could the output

Re: [GRASS-user] v.to.rast multiple points per pixel

2010-03-20 Thread Daniel Victoria
Gary, If you want to get a raster with the sum of the point values you will probably have to first create a vector file where the value in each point is the sum. Then you rasterize this vector. Just not sure how it´s done Another way that might work, is export the points as ascii and use

Re: [GRASS-user] Osgeo4W grass error

2010-03-22 Thread Daniel Victoria
Are you using Win7? I think this is a windows restriction that you can't write to the c:\ root. This gave me a couple of headaches also Cheers Daniel On Mon, Mar 22, 2010 at 4:09 PM, Pablo Carreira pablotcarre...@hotmail.com wrote: Hi Milena, It works, but as reported on ticket 1022 it

Re: [GRASS-user] ERROR mapset mapname not found

2010-03-30 Thread Daniel Victoria
Could this be a permission / ownership problem? On Tue, Mar 30, 2010 at 5:37 AM, Achim Kisseler a...@jupiter.uni-freiburg.de wrote: Hi all, I have a problem with setting the mapset access for one mapset. All other mapsets can be accessed without problems and from different mapsets. I get:

Re: [GRASS-user] v.net.iso - service area

2010-04-05 Thread Daniel Victoria
If I understand you correctly, v.hull might help to create the service area polygon from the points http://grass.itc.it/grass62/manuals/html62_user/v.hull.html On Sun, Apr 4, 2010 at 8:12 PM, Richard Chirgwin rchirg...@ozemail.com.au wrote: -- Message: 3

Re: [GRASS-user] Installing v.krige on WinGrass 6.5

2010-04-27 Thread Daniel Victoria
You are missing a python library called Rpy2. You can find instructions here http://rpy.sourceforge.net/rpy2.html Daniel On Sat, Apr 24, 2010 at 6:11 PM, Adalberto da Silva adalbert...@uol.com.br wrote: Thank you, Martin, but now I got a new error message: (Sat Apr 24 18:07:06 2010)

Re: [GRASS-user] rainfall data

2010-05-05 Thread Daniel Victoria
You are going to have to be more specific. Are you trying to interpolate a rainfall map from several pluviometric stations or do you have precipitation maps from some other source and want to open them in Grass? To interpolate the rainfall check out the v.surf.* modules Daniel On Wed, May 5,

Re: [GRASS-user] rainfall data

2010-05-05 Thread Daniel Victoria
...@gmail.com wrote: Hi I've got TRMM rainfall data (in .tiff format), I want to do analysis on the data and estimate how much rainfall has fallen to the surface, check if there is possibility for flooding to occur. Which commands to pass to perform this? On Wed, May 5, 2010 at 1:49 PM, Daniel

[GRASS-user] Grass to R and back again (randomForest classification)

2010-06-11 Thread Daniel Victoria
Hi list, I'm trying to do a randomForest classification in a MODIS NDVI time series. So far I've been able to generate the randomForest and get the Grass NDVI images inside grass as a SpatialGridDataFrame. Then, following some notes from Markus Neteler [1], I converted the SpatialGridDataFrame to

Re: [GRASS-user] Grass to R and back again (randomForest classification)

2010-06-11 Thread Daniel Victoria
Thanks Nikos, it worked like a charm! I'd also like to thaks Ned Horning for some greatlly aprecciated off-list R help! Cheers Daniel On Fri, Jun 11, 2010 at 9:39 AM, Nikos Alexandris nikos.alexand...@felis.uni-freiburg.de wrote: Daniel Victoria: I'm trying to do a randomForest classification

  1   2   3   4   >