[GRASS-user] Re: Selecting a sector of the viewshed

2010-04-15 Thread AhmadKhaled
Well, I think it wasn't that hard anyway. Here is how I did it. First, you should calculate the angle of each point with respect to the center of the circle (the observer's position). Then you can select those points which reside in the wanted range. grass.mapcalc("${temp} = if(isnull(${

Re: [GRASS-user] Finding Landsat's infrared bands

2010-04-15 Thread Markus Neteler
On Thu, Apr 15, 2010 at 10:14 PM, Kurt Springs wrote: > Hi all, > > I downloaded some Landsat data from the USGS.  When I opened the GeoTiff in > GRASS using r.in.gdal, I got the Blue, Green and Red bands.  How do I get the > near infrared, two medium infrared, thermal, and panchromatic bands.

[GRASS-user] Finding Landsat's infrared bands

2010-04-15 Thread Kurt Springs
Hi all, I downloaded some Landsat data from the USGS. When I opened the GeoTiff in GRASS using r.in.gdal, I got the Blue, Green and Red bands. How do I get the near infrared, two medium infrared, thermal, and panchromatic bands. I am using GRASS 6.4 RC6 on OS X. Kurt

[GRASS-user] FOSSGIS conference comitee announces "Call for location" for 2011

2010-04-15 Thread Marco Lechner - FOSSGIS e.V.
The FOSSGIS-conference is the largest german-language conference for Free and Open Source Software for GIS and Free Geodata. Today, the Conference Committee announced the "Call for location" for 2011. Because the conference-language is german, the CfL is either: FOSSGIS-Konferenz sucht Veranstaltu

Re: [GRASS-user] isolines and kml files interpolation

2010-04-15 Thread Markus Neteler
On Wed, Apr 14, 2010 at 11:43 PM, Ricardo Rodríguez wrote: > hello all, a question, points are interpolated by any method in kml and get > a new file with interpolation or isolines in kml, > thanks for your answers You need to import the map with v.in.ogr (perhaps v.external will do as well), the

[GRASS-user] Re: GRASS talks @ Barcelona FOSS4G conference?

2010-04-15 Thread Robert Nuske
Hi Markus, > perhaps also > the new GRASS poster (Robert, did you submit it?). Not yet, since I am not sure if I cna make it to the FOSS4G (there is another conference in the same week). But if you think it would be worth it, I will submit an abstract and somebody can take the poster to the co

[GRASS-user] Re: GRASS talks @ Barcelona FOSS4G conference?

2010-04-15 Thread Robert Nuske
Markus, > On Thu, Apr 15, 2010 at 4:59 PM, Robert Nuske wrote: > > Hi Markus, > > > >> perhaps also > >> the new GRASS poster (Robert, did you submit it?). > > > > Not yet, > > since I am not sure if I cna make it to the FOSS4G (there is another > > conference in the same week). > > > > But if yo

[GRASS-user] Re: GRASS talks @ Barcelona FOSS4G conference?

2010-04-15 Thread Markus Neteler
Hi Robert, On Thu, Apr 15, 2010 at 4:59 PM, Robert Nuske wrote: > Hi Markus, > >> perhaps also >> the new GRASS poster (Robert, did you submit it?). > > Not yet, > since I am not sure if I cna make it to the FOSS4G (there is another > conference in the same week). > > But if you think it would be

[GRASS-user] Selecting a sector of the viewshed

2010-04-15 Thread AhmadKhaled
Hi, I have used the r.los function to calculate the viewshed from a point in the map. The result is a subset of a circle around that point. Now, I want to select a sector of this circle which has an angle of 45 (or whatever), and nullify the rest of the circle. Any idea on what is the best way to

[GRASS-user] Complex numbers in GRASS

2010-04-15 Thread Margherita Di Leo
Hi List, I understand it may sound kind of strange problem. I need to know how GRASS manages complex numbers in a map. I.e. i produced a map with r.mapcalc using a formula and in some cell I could have complex. In GRASS i have not. I tried the same formula in MATLAB and I have, but MATLAB manages

Re: [GRASS-user] r.average and r.info

2010-04-15 Thread Markus Neteler
On Thu, Apr 15, 2010 at 1:08 PM, Glynn Clements wrote: ... > r.average stores the category/average mapping in the history, which is > limited to 50 lines. what would be the "perfect" phrase for the manual, "Notes" section? Markus ___ grass-user mailing

[GRASS-user] GRASS @ FOSS4G

2010-04-15 Thread peter . loewe
>I wonder how many GRASS related talks have been submitted. Myself, I have >sent one to the academic track and ask myself if to submit also a general >talk like "25 years of GRASS" (anyone else already?) and perhaps also >the new GRASS poster (Robert, did you submit it?). > >Just to avoid duplicati

[GRASS-user] WG: blank display

2010-04-15 Thread Sramkova, Anna
Update: I just realized, that I did not edit the world map, just some blank map, obviously (accidentally displayed both the world and the new map)...am I missing some step, in which I choose which map to edit? Von: Sramkova, Anna Gesendet: Donnerstag, 15

[GRASS-user] blank display

2010-04-15 Thread Sramkova, Anna
Hello, I'm a brand new GRASS user and I only need it for a very specific task: I'm using an ASCII raster map (created in Arc) of the world for spatial simulations in population genetics. Currently, the land is represented by 1s and water by 0s. I want to specify arbitrary regions that will be r

Re: [GRASS-user] Howto: Vector Digitizer in GRASS64 Linux

2010-04-15 Thread Micha Silver
On 15/04/2010 14:20, Pedro Roma wrote: Greetings Before I do some "practical" questions I have one "big question", why when I do v.digit a Tcl/Tk digitizer appears instead of the Wxpython digitizer? I'm running it in Linux with a recent grass64svn version? As Martin said, use the wxPyt

Re: [GRASS-user] Howto: Vector Digitizer in GRASS64 Linux

2010-04-15 Thread Martin Landa
Hi, 2010/4/15 Pedro Roma : > Before I do some "practical" questions I have one "big question", why when I > do v.digit a Tcl/Tk digitizer appears instead of the Wxpython digitizer? I'm > running it in Linux with a recent grass64svn version? Not sure if I understand well the question. Tcl/tk v.di

Re: [GRASS-user] Question with Python-SWIG example

2010-04-15 Thread Glynn Clements
AhmadKhaled wrote: > I was trying to run the example given on the "Grass and Python wiki" for > interface between Python-SWIG-GRASS. I ran the raster example, and I got the > following error: > > TypeError: 'int' object is unsubscriptable > > Which kinds of make sense, because presumably the G

[GRASS-user] Howto: Vector Digitizer in GRASS64 Linux

2010-04-15 Thread Pedro Roma
Greetings Before I do some "practical" questions I have one "big question", why when I do v.digit a Tcl/Tk digitizer appears instead of the Wxpython digitizer? I'm running it in Linux with a recent grass64svn version? Now, since I'm using tcl/tk I have some practical questions regarding digitaliz

Re: [GRASS-user] r.average and r.info

2010-04-15 Thread Glynn Clements
William Hudspeth wrote: > I am using r.average to calculate the mean pixel value in a base map > aggregating pixels in a cover map with the same value. I know that I > have 54 different categories (e.g. parcels) in the cover map, but when I > run r.info, it only outputs 47 of them, with a on

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

2010-04-15 Thread Glynn Clements
thedok78 wrote: > > Hello everybody, > I need to run a complex r.mapcalc expression, but I can't understand how to > use nested if. > This is the expression: > r.mapcalc > 'map2=if(mode(map[-1,-1],map[-1,0],map[-1,1],map[0,1],map[1,1],map[1,0],map[1,-1],map[0,-1])==1,0,mode(map[-1,-1],map[-1,0],

Re: [GRASS-user] Error with permissions in GRASS Linux

2010-04-15 Thread António Rocha
__ Information from ESET NOD32 Antivirus, version of virus signature database 5030 (20100415) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ grass-user mailing list grass-user@lists.osgeo.org http

[GRASS-user] GRASS talks @ Barcelona FOSS4G conference?

2010-04-15 Thread Markus Neteler
Dear all, I wonder how many GRASS related talks have been submitted. Myself, I have sent one to the academic track and ask myself if to submit also a general talk like "25 years of GRASS" (anyone else already?) and perhaps also the new GRASS poster (Robert, did you submit it?). Just to avoid dupl

[GRASS-user] Signature not invertible

2010-04-15 Thread joel dinis
Hello list, I'm with a problem running the i.gensig. I do: i.gensig trainingmap=areasras...@portugal_9 group=gr...@portugal_9subgroup=subgrupo signaturefile=assinaturascomareas where areasrastes has 4 classes. The *r.stats -c input=areasras...@portugal_9* is 1 92 2 234 3 2434 4 3016 * 287024 An

Re: [GRASS-user] Error with permissions in GRASS Linux

2010-04-15 Thread Micha Silver
On 15/04/2010 12:25, Gilbert Ferrara wrote: Greetings I'm a new GRASS64 user in Linux (I have used it in Windows). I have copied from GRASS website the nc_spm_08 dataset and I have placed it in /home/anrr/Desktop/gisdata and extracted tar.gz file. So my nc_spm_08 location is in /home/

[GRASS-user] Error with permissions in GRASS Linux

2010-04-15 Thread Gilbert Ferrara
Greetings I'm a new GRASS64 user in Linux (I have used it in Windows). I have copied from GRASS website the nc_spm_08 dataset and I have placed it in /home/anrr/Desktop/gisdata and extracted tar.gz file. So my nc_spm_08 location is in /home/anrr/Desktop/gisdata/nc_spm_08. When I add to my GIS DAT

Re: [GRASS-user] Error with sub-group while using i.gensigset

2010-04-15 Thread Luisa Peña
Regarding this question I decided to delete, using g.remove, all lists that I have created. And I was sucesseful but, anytime I open, using wxpython menu, i.group, the following is displayed in COmmand output: Invalid element 'g...@landsat@landsat' Invalid element 'g...@landsat@landsat' Invalid ele