[GRASS-user] Question about generating signature files with i.gensig

2011-07-08 Thread Jenny Turner
Greetings I have one question regarding usage of i.gensig If I have training pixel that is not available in all images of input group, will that pixel be considered? Thanks Jenny ___ grass-user mailing list grass-user@lists.osgeo.org

[GRASS-user] i.gensig for pixels without values

2011-06-24 Thread Jenny Turner
Greetings I have a raster with a few classes (1,2,3,4,5) and some pixels exists where I don't have values in my group images (no-values). When generating signature files, are those files considered in the calculation of average, mean and numver of pixels? THanks Jenny

[GRASS-user] Using r.resamp.stats

2011-05-31 Thread Jenny Turner
I have one question regarding null values: I'm using r.resamp.stats with method average. My question is, if I have a Target pixel based on 10 null values and 1 non-null value, the target pixel will be based only on valid pixel? I mean, it only requires at least 1 value to produce an output value?

[GRASS-user] Using a r.mapcalc expression in grass.mapcalc

2011-05-19 Thread Jenny Turner
I need to use this expression output=@input (input has labels and I want to export them so i need to do this). How can I do this in grass.mapcalc in Python? Does it accept @? Thanks ___ grass-user mailing list grass-user@lists.osgeo.org

[GRASS-user] Error while running v.db.addcol

2011-04-14 Thread Jenny Turner
Greetings I0'm using winGRASS. When I run v.db.addcol in my WinXP I get this error: Default driver / database set to: driver: dbf database: $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/ 0 [main] sh 5240 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump 0 [main] sh 5436

[GRASS-user] Compiling a module in Win OsGEO4w

2011-04-05 Thread Jenny Turner
Greetings I have developed a function, which also includes a shared lib (libsegmentimage.dll) and I have compiled with success in OSGEO4W in winGRASS. (before that I needed to place libsegmentimage.dll in C:\OSGeo4W\usr\src\grass-6.4.svn_src\dist.i686-pc-mingw32\lib . It has places my binary

[GRASS-user] Error while running a compiled wingrass module in WinXP and win/

2011-04-05 Thread Jenny Turner
Greetings After Antonio's reply I tried to run my compiled module in WinGRASS (in winXP) and in Win7 and it runned ok in WinXP but I got this error in Win7: This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more

[GRASS-user] Retrieve list of values in Python

2011-03-29 Thread Jenny Turner
Greetings I would like to know how can I retrieve the list of available values in a Raster map in a Python Script? Thanks Best regards, Jenny Turner ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass

Re: [GRASS-user] GRASS'c Python core function to use as g.mlist

2011-03-14 Thread Jenny Turner
] - http://grass.fbk.eu/grass64/manuals/html64_user/g.mlist.html [2] - http://en.wikipedia.org/wiki/Wildcard_character#Computing On Fri, Mar 11, 2011 at 12:10 PM, Jenny Turner jennyturner1...@gmail.com wrote: Greetings I'm doing a GRASS Python Script where I need to list a set of raster maps

[GRASS-user] GRASS'c Python core function to use as g.mlist

2011-03-11 Thread Jenny Turner
Greetings I'm doing a GRASS Python Script where I need to list a set of raster maps but I'm not using its exact name but a basic regular expression (r flag in g.mlist function). So I want to find a list of rasters with output on its name: p=grass.mlist_grouped ('rast', pattern='output',

Re: [GRASS-user] using try/except with grass.mapcalc in a Python Script

2011-03-11 Thread Jenny Turner
in grass.mapcal should raise an error or an excpetion in order to stop the process. Any sugfgestions? Thanks Jenny On Tue, Mar 1, 2011 at 7:26 PM, Glynn Clements gl...@gclements.plus.comwrote: Jenny Turner wrote: I want to include grass.mapcalc function in try except but I'm not catching the errors

[GRASS-user] using try/except with grass.mapcalc in a Python Script

2011-03-01 Thread Jenny Turner
Greetings I want to include grass.mapcalc function in try except but I'm not catching the errors. Has anyone used this for grass.mapcalc? Thanks Jenny ___ grass-user mailing list grass-user@lists.osgeo.org

[GRASS-user] Eliminating values based on a null

2011-02-16 Thread Jenny Turner
Greetings in my base map (called X) I have a few null values and, in Y map I want to eliminate pixels that match with null values in X. How can I do this? besides using mapcalc Thanks Jenny ___ grass-user mailing list grass-user@lists.osgeo.org

[GRASS-user] Re: Help/manual on Georectifier 6.4.0

2010-11-22 Thread Jenny Turner
images)? Thanks Jenny On Thu, Nov 18, 2010 at 11:22 PM, Jenny Turner jennyturner1...@gmail.comwrote: Greetings I'm writting a tutorial of Georrectify tool (from 6.4.0 not latest launch) for my students. I was only able to find this: http://gama.fsv.cvut.cz/~landa/grass/swf/georect.html

Re: [GRASS-user] Re: Help/manual on Georectifier 6.4.0

2010-11-22 Thread Jenny Turner
all the functionality of the 6.4.0 georectifier is included in the georectifier in 6.4.1 and above. Markus M [1] http://grass.osgeo.org/grass64/manuals/html64_user/wxGUI.GCP_Manager.html Thanks Jenny On Thu, Nov 18, 2010 at 11:22 PM, Jenny Turner jennyturner1...@gmail.com wrote

[GRASS-user] Help/manual on Georectifier 6.4.0

2010-11-18 Thread Jenny Turner
Greetings I'm writting a tutorial of Georrectify tool (from 6.4.0 not latest launch) for my students. I was only able to find this: http://gama.fsv.cvut.cz/~landa/grass/swf/georect.html. Is there any other Wiki or document? Thanks Jenny ___ grass-user

[GRASS-user] Python Script is not able to find a file in a different Drive

2010-10-14 Thread Jenny Turner
Greetings I have a python script that needs to get a file (import a raster). I have tried in Ubuntu and also in Windows and it works but, When I have that file in a different hard drive (D: instead of C: where WinGRASS is installed) os.path.isfile(input) is false... Why? is it some limitation of

[GRASS-user] Precision error in r.mapcalc

2010-07-21 Thread Jenny Turner
Greetings I have a raster (FCELL ) that has a minimum value of 0.1312103122 and If I try to have an image with just those values r.mapcalc minim= if(image==0.1312103122,10,0) I get an all Zero image. Then I opened the minim metadata and i see that in comments I have: if(clustered.1 == 0.13121031,

Re: [GRASS-user] Error in GUI's sub-group definition in i.maxlik and others modules

2010-07-07 Thread Jenny Turner
. As well as I tried to add images to a group/sub-group and I cannot open the dropdown box for image selection in i.group. Shall I add this to the Trac list? On Wed, Jun 30, 2010 at 3:35 PM, Jenny Turner jennyturner1...@gmail.comwrote: Hi It might be something to do with that. But for instance, I

Re: [GRASS-user] Commandline for creating a vectorial

2010-07-01 Thread Jenny Turner
...@osgeo.org wrote: On Wed, Jun 30, 2010 at 6:11 PM, Jenny Turner jennyturner1...@gmail.com wrote: Greetings I'm using GRASS6.4.0.RC6 in Windows and I need to create a script that creates vectorials. By using WxGUI menu is quite easy Vector/Develop vector map/Create new Vector map

Re: [GRASS-user] Error in GUI's sub-group definition in i.maxlik and others modules

2010-06-30 Thread Jenny Turner
://trac.osgeo.org/grass/ticket/780 ? Markus On Tue, Jun 29, 2010 at 10:07 AM, Jenny Turner jennyturner1...@gmail.com wrote: Hi again This error not only occurs in i.maxlik but also in the others modules where users should select sub-group (except georrectify GU). Dones anyone has

[GRASS-user] Commandline for creating a vectorial

2010-06-30 Thread Jenny Turner
Greetings I'm using GRASS6.4.0.RC6 in Windows and I need to create a script that creates vectorials. By using WxGUI menu is quite easy Vector/Develop vector map/Create new Vector map and then name and options. is there any commandline to perform exacly this? Thanks Jenny

Re: [GRASS-user] Error in GUI's sub-group definition in i.maxlik and others modules

2010-06-28 Thread Jenny Turner
Hello Martin I got this error in GRASS6.4.0.RC6, from two weeks ago in LinuxUbuntu9.10 but also in Windows. Jenny On Fri, Jun 25, 2010 at 9:57 PM, Martin Landa landa.mar...@gmail.comwrote: Hi, 2010/6/24 Jenny Turner jennyturner1...@gmail.com: I have been testing i.maxlik and I'm getting

[GRASS-user] Error in GUI's sub-group definition in i.maxlik and others modules

2010-06-24 Thread Jenny Turner
Greetings I have been testing i.maxlik and I'm getting a strange error. When I select the group, in group parameter, automatically, sub-group list includes the available sub-groups but, when i select one, it's selected in the frame but it's not inserted in the command to be runned. In the bottom

[GRASS-user] Converting raster to point-vector- Question

2010-06-23 Thread Jenny Turner
Hi there I have a few training areas, in raster format, that I have used for Clasification (i.maxlik). Thuis means that pixels have information like this: 633376.703089|222904.095941||9|Category 9 or 642250.637155|224541.035235||10|Category 10 I i convert using this expression: r.to.vect

[GRASS-user] Error while compiling r.in.gdal

2010-06-21 Thread Jenny Turner
Greetings I'm doing some testing in r.in.gdal (by changing a few stuff just to test) in LINUX with GRASS6.4.0svnRC6 but I go this error: gcc -L/usr/local/grass-6.4.0svn/lib -Wl,--export-dynamic -Wl,-rpath-link,/usr/local/grass-6.4.0svn/lib-o /usr/local/grass-6.4.0svn/bin/r.in.gdal

[GRASS-user] Re: Error while compiling r.in.gdal

2010-06-21 Thread Jenny Turner
exit status make: *** [/usr/local/grass-6.4.0svn/bin/r.in.testing] Error 1 make: Leaving directory `/home/anrr/Desktop/dwe_devep/r.in.testing' On Mon, Jun 21, 2010 at 4:09 PM, Jenny Turner jennyturner1...@gmail.comwrote: Greetings I'm doing some testing in r.in.gdal (by changing a few stuff

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

2010-06-17 Thread Jenny Turner
and support Jenny On Wed, Jun 16, 2010 at 7:59 PM, Micha Silver mi...@arava.co.il wrote: On 06/16/2010 06:55 PM, Jenny Turner wrote: Hi Micha and GRASS-users/list Let me see if I get this straight 1- use v.digit (e.g. v.digit -n map=vector00 bgcmd=d.rast map=lsat5_1987_40 ) 2- Inside tcltk's

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

2010-06-16 Thread Jenny Turner
Hi Micha and GRASS-users/list Let me see if I get this straight 1- use v.digit (e.g. v.digit -n map=vector00 bgcmd=d.rast map=lsat5_1987_40 ) 2- Inside tcltk's digitizing menu select Digitize new Centroid 3- Leave layer as 1? 4- Change Mode to Manual Entry? 5- And for each Centroid I select a

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

2010-06-09 Thread Jenny Turner
Greetings I'm using WinGRASS (from OSGEO4W installer) to do some supervised classification. Since I'm using winGRASS i.class function is not available neither wxGUI's vector digitizer. So I'm using tcl/tk but I'm a bit confused on using it. About the background images I used a discussion from

Re: [GRASS-user] Georrectify and nearest neighbor

2010-06-07 Thread Jenny Turner
...@osgeo.org wrote: On Wed, Jun 2, 2010 at 10:04 AM, Jenny Turner jennyturner1...@gmail.com wrote: My name is Jenny Turner and I've been using georrectify graphical module in WxpyTHon GRASS6.4. I saw a video of the proceeding but I would like to know if there is a description or a tutorial

[GRASS-user] Georrectify and nearest neighbor

2010-06-02 Thread Jenny Turner
My name is Jenny Turner and I've been using georrectify graphical module in WxpyTHon GRASS6.4. I saw a video of the proceeding but I would like to know if there is a description or a tutorial of what to do and how. I have understand what I have to do but I need to explain to other persons (non

[GRASS-user] Re: GRASS GUI assessment

2010-06-01 Thread Jenny Turner
First of all, let me thank you for all your help on describing and commentying the GRASS GUI's. Regarding Benjamin Ducke: - Wxpython Vector Digitizer is not yet available in Windows right? - Regarding QGIS, if a GRASS function is not available at QGIS I have heard that it's quite easy to put in

[GRASS-user] GRASS GUI assessment

2010-05-27 Thread Jenny Turner
Greetings I have sent an email a couple of weeks ago regarding a quick compare/assessment regarding GRASS versions. Now, I need to do the same but for GRASS GUI's. As far as I can see I can identify 3 GUIS: - Tcl/tk - WxPython - QGIS is there any comparison (Wikis, documents, ...) between those

Re: [GRASS-user] Importing Landsat images with different coordinates

2010-05-26 Thread Jenny Turner
that the destination tiff was smaller than the original? Can you display the tiff files? Maybe it's some disk problem (in the log you sent last time, it seems there was an error reading the file...)? On 05/25/2010 04:10 PM, Jenny Turner wrote: Sorry Micha My original Landsat image: Driver: GTiff

Re: [GRASS-user] Importing Landsat images with different coordinates

2010-05-25 Thread Jenny Turner
On Mon, May 24, 2010 at 8:46 PM, Micha Silver mi...@arava.co.il wrote: On 05/24/2010 06:26 PM, Jenny Turner wrote: Hi Following this topic I have tested this methodology by converting from UTM 29N to a specific local coordinate system (EPSG:3763) (available at PROJ4) gdalwarp -t_srs EPSG

Re: [GRASS-user] Importing Landsat images with different coordinates

2010-05-24 Thread Jenny Turner
of TIFFWriteEncodedStrip and the destination.tif has a different size. Any tips of what migh be wrong? Thank you Jenny On Tue, May 18, 2010 at 8:42 PM, Micha Silver mi...@arava.co.il wrote: Jenny Turner wrote: Greetings Firman, but imagine that I have rasters in UTM for differente zones (e.g. huge countries

Re: [GRASS-user] Importing Landsat images with different coordinates

2010-05-18 Thread Jenny Turner
Greetings Firman, but imagine that I have rasters in UTM for differente zones (e.g. huge countries like USA, etc). How can I produce an automatic importing tool that uses gdalwarp to project an image to WGS84 and import to GRASS? Thanks for your help Best regards, Jenny On Mon, May 17, 2010 at

[GRASS-user] GRASS Script for importing data with different source_coordinates/projection

2010-05-18 Thread Jenny Turner
Greetings This almost a follow-up from a previous message that I sent regarding Landsat-7 image importing. I need to develop a script to import images from multi-SOURCE_COORDINATE_SYSTEM to defined target_COORDINATE_SYSTEM (WGS84). Since my input images come from different UTM zones it won't be

Re: [GRASS-user] Importing Landsat images with different coordinates

2010-05-17 Thread Jenny Turner
On Mon, May 10, 2010 at 12:21 PM, Firman Hadi jalmibur...@gmail.com wrote: On 10 May 2010, at 18:00, Jenny Turner wrote: Greetings I need to import Landsat images (r.in.gdal) to my location but, my Landsat images are in a specific Coordinate system (WGS84) that is different from mine

[GRASS-user] Importing Landsat images with different coordinates

2010-05-10 Thread Jenny Turner
Greetings I need to import Landsat images (r.in.gdal) to my location but, my Landsat images are in a specific Coordinate system (WGS84) that is different from mine. Could anyone explain me (briefly ) the steps to import this images? Thanks Jenny ___

Re: [GRASS-user] Compare GRASS versions

2010-04-26 Thread Jenny Turner
Thanks Markus So the main reason for still supporting GRASS 6.4 is its stability right? For instance, do you plan to launch 6.5 as a end-product? Thanks Jenny 6.4 and 6.5 are rather close, 7 is starting to deviate. What I need to know is if there is any document that compares and

[GRASS-user] Compare GRASS versions

2010-04-22 Thread Jenny Turner
Greetings I'm preparing a small GIS tool to High School students to do some image processing, image vizualization etc and I'm thinking of using GRASS since is free and pretty much do what I need. But I realized that 6.4, 6.5 and 7 have different characteristics, functionalities. What I need to

re: [GRASS-user] Gorreferencing using GRASS

2010-04-21 Thread Jenny Turner
Greetings This was the right email at the right time. I was just doing some georreferencing and I have one or two questions regarding Martin video (awesome, by the way): 1- Right in the beggining, you have a raster, named mrizka, displayed in Display window1. I want to know: - How did you put the

[GRASS-user] Compare GRASS versions

2010-04-16 Thread Jenny Turner
Greetings I'm preparing a small GIS tool to High School students to do some image processing, image vizualization etc and I'm thinking of using GRASS since is free and pretty much do what I need. But I realized that 6.4, 6.5 and 7 have different characteristics, functionalities. What I need to

[GRASS-user] Can't initialize wxpython GRASS6.4

2010-04-14 Thread Jenny Turner
Greetings I have just installed in my old laptop a Ubuntu Karmic version of GRASS (6.4). I know it's not new but I'm getting an ODD error that it's not suppose to happen. I have placed nc_spm_08 data in /home/jenny/data folder and everytime I do sudo grass64 -wxpython When it's open GRASS GIS