[GRASS-user] Re: grass-gdal ubuntu issue solved (?)

2010-01-27 Thread incanus
Hi, that repositories doesn't work for me in Ubuntu 9.10, it's normal? -- View this message in context: http://n2.nabble.com/grass-gdal-ubuntu-issue-solved-tp2352498p4465833.html Sent from the Grass - Users mailing list archive at Nabble.com. ___

Re: [GRASS-user] Re: gdal, v.in.ogr, Ubuntu intrepid

2010-01-27 Thread Micha Silver
On 01/27/2010 10:11 AM, incanus wrote: anyone discovered how to do this correctly? I've tried several ways, but my ubuntu 9.10 don't see gdal 1.6 Are you using the ubuntugis repository from ppa? -- Micha Silver http://www.surfaces.co.il/ Arava Development Co. +972-52-3665918

Re: [GRASS-user] r.slope.aspect: Unexpected Results

2010-01-27 Thread Glynn Clements
Rich Shepard wrote: It's possible that the cropping may have changed the grid slightly. Glynn, I do hope it's something simple. I can't do more until I have a good DEM map for the project area. What are the grid parameters (bounds, resolution, rows/cols) for the source map and

[GRASS-user] Re: gdal, v.in.ogr, Ubuntu intrepid

2010-01-27 Thread incanus
if you mean http://ppa.launchpad.net/qgis/ubuntu, yes Is there any else? -- View this message in context: http://n2.nabble.com/gdal-v-in-ogr-Ubuntu-intrepid-tp1886320p4466091.html Sent from the Grass - Users mailing list archive at Nabble.com. ___

[GRASS-user] Location installation in svn6.4.0

2010-01-27 Thread Pedro Roma
Greetings I have just installed svn6.4.0 (using a snapshot) and I was expecting to have a location folder at my installed directory. But nothing was there. In the snapshot folder location is there. 1- What do I have to do in order to install location folder? (in order to learn for the future :) )

Re: [GRASS-user] Re: gdal, v.in.ogr, Ubuntu intrepid

2010-01-27 Thread Micha Silver
On 01/27/2010 11:27 AM, incanus wrote: if you mean http://ppa.launchpad.net/qgis/ubuntu, yes Is there any else? Not that one. There's an UbuntuGIS repo https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable/?field.series_filter= -- Micha Silver http://www.surfaces.co.il/ Arava

Re: [GRASS-user] r.slope.aspect: Unexpected Results

2010-01-27 Thread Markus Metz
Glynn Clements wrote: Rich Shepard wrote: Source map (demNW raster map): nsres: 32.82281055 ewres: 32.82281055 Resolution in feet. Cropped map (abernethy vector boundary map): nsres: 4.99982001 ewres: 4.99979979

Re: [GRASS-user] r.slope.aspect: Unexpected Results

2010-01-27 Thread Glynn Clements
Markus Metz wrote: I don't think it is possible to have different units within the same location because units are set globally in PERMANENT/PROJ_UNITS. Is it? Correct. Apparently the issue has been reolved. Which is fortunate; as the previous post doesn't actually make much sense. --

Re: [GRASS-user] Re: gdal, v.in.ogr, Ubuntu intrepid

2010-01-27 Thread Paolo Craveri
Hi, I solved my troubles with these repositories: #ubuntu gis deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu karmic main deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu karmic main -- -- Paolo C. Lat. 44° 39' 11.08'' N Long. 7° 23' 25.26'' E

Re: [GRASS-user] regular wingrass builds

2010-01-27 Thread Paolo Craveri
2010/1/27 Colin (Nielsen) Wren colin.niel...@gmail.com: Wow that is amazing, thanks so much Martin. -Colin +1 -- -- Paolo C. Lat. 44° 39' 11.08'' N Long. 7° 23' 25.26'' E ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] Location installation in svn6.4.0

2010-01-27 Thread Pedro Roma
But, shouldn't it be done automatically by SV6.4.0 installer?? On Wed, Jan 27, 2010 at 2:34 PM, Rich Shepard rshep...@appl-ecosys.comwrote: On Wed, 27 Jan 2010, Pedro Roma wrote: 1- What do I have to do in order to install location folder? (in order to learn for the future :) ) The

[GRASS-user] problems importing vector and raster data via python script

2010-01-27 Thread Sonja Jankowfsky
I'm running a python script under windows/eclipse, where I try to import a shape and a raster file with v.in.ogr and r.in.gdal. grass.run_command(r.in.gdal,'-o', input='E:\pythoninput\mnyzeron5m.asc', output='dem5m', '-o') grass.run_command(v.in.ogr, '-o',

Re: [GRASS-user] Location installation in svn6.4.0

2010-01-27 Thread Rich Shepard
On Wed, 27 Jan 2010, Pedro Roma wrote: But, shouldn't it be done automatically by SV6.4.0 installer?? No. No more than installing a word processor will create data directories for you. You can have multiple locations; each one for a particular project and/or geographic projection. Rich

Re: [GRASS-user] Interpreting Terrestrial Geomorphometry

2010-01-27 Thread Rich Shepard
On Wed, 27 Jan 2010, Markus Neteler wrote: Let me recommend this book: http://geomorphometry.org/book Thank you, Markus. I'll ask my local library to borrow a copy for me. (of course it has a GRASS chapter :) Well, duh! GRASS grows on soils doesn't it? Rich

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.

[GRASS-user] Re: problems importing vector and raster data via python script

2010-01-27 Thread Margherita Di Leo
I'm running a python script under windows/eclipse, where I try to import a shape and a raster file with v.in.ogr and r.in.gdal. grass.run_command(r.in.gdal,'-o', input='E:\pythoninput\mnyzeron5m.asc', output='dem5m', '-o') Sonja, the correct command would be: grass.run_command(r.in.gdal,

Re: [GRASS-user] r.shaded.relief question

2010-01-27 Thread Rich Shepard
On Tue, 26 Jan 2010, Rich Shepard wrote: Feeling irrationally exuberant that I might be able to quickly move on to hydrological modeling, I just tried running r.shaded.relief on the same raster DEM map used for the slopes, aspects, and curvatures. No joy. the relief map looks like the earlier

Re: [GRASS-user] problems importing vector and raster data via python script

2010-01-27 Thread Glynn Clements
Sonja Jankowfsky wrote: I'm running a python script under windows/eclipse, where I try to import a shape and a raster file with v.in.ogr and r.in.gdal. grass.run_command(r.in.gdal,'-o', input='E:\pythoninput\mnyzeron5m.asc', output='dem5m', '-o') Python uses backslash as an escape

[GRASS-user] Re: Location installation in svn6.4.0

2010-01-27 Thread António Rocha
Pedro, I guess you have to compile with --with-nls Best Regards Antonio __ Information from ESET NOD32 Antivirus, version of virus signature database 4810 (20100127) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

Re: [GRASS-user] r.shaded.relief question

2010-01-27 Thread Rich Shepard
On Wed, 27 Jan 2010, Rich Shepard wrote: On the shaded relief map, the drainage basin head appears as flat as the confluence area. Fixed this, too. r.shaded.relief needed the zmult set higher than 1. '5' does very nicely. Rich ___ grass-user

[GRASS-user] Max length of sql_query in v.extract

2010-01-27 Thread Luigi Ponti
Hello, Is there a length limit to a where sql statement fed to v.extract? I am getting an ... Error in db_open_select_cursor() ... in the middle of a very long query. Thanks for any hints, Luigi ___ grass-user mailing list

Re: [GRASS-user] Which version to start working

2010-01-27 Thread Markus Neteler
On Wed, Jan 27, 2010 at 6:18 PM, Luisa Peña luisapena1...@gmail.com wrote: Greetings I've been browsing around GRASS website and GRASS wikis and I pretend to start working on GRASS in a LINUX system. Besides normal GRASS operations I also want to develop a few modules/scripts that I will

[GRASS-user] Call for Workshops and Tutorials - FOSS4G 2010, Barcelona, Spain (Sept 6-9)

2010-01-27 Thread Markus Neteler
Barcelona, Spain. 15 January 2010. The Free and Open Source Software for Geospatial (FOSS4G) conference is pleased to announce a Call for Workshops and Tutorials for the 2010 conference, being held September 6-9, 2010, in Barcelona, Spain. FOSS4G is the international gathering of tribes for open

Re: [GRASS-user] Max length of sql_query in v.extract

2010-01-27 Thread Markus Neteler
On Wed, Jan 27, 2010 at 8:35 PM, Luigi Ponti lpo...@infinito.it wrote: Hello, Is there a length limit to a where sql statement fed to v.extract? I am getting an ... Error in db_open_select_cursor() ... in the middle of a very long query. Could you please try to analyse with g.gisenv

[GRASS-user] Problems Running r.flow

2010-01-27 Thread Rich Shepard
In -6.4svn from last Friday's weekly snapshot. After setting g.region rast=aber5m I tried running r.flow elevin=aber5m aspin=aber5aspect flout=aberFlowline lgout=aberFlowlength and ran into resolution problems: Reading input files: elevation ERROR: Elevation file's resolution differs from

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

[GRASS-user] r.fillnulls with very large map

2010-01-27 Thread stephen sefick
As to a previous post I can't use r.fillnulls on the entire map- it fails. This is the unelegant method that I am going to try: g.region n=570352.0 s=537854.2 w=1829041 e=1884039 r.fillnulls input=ft_bragg_lidar_2009 output=filled1 g.region n=570352.0 s=537854.2 w=1884039 e=1939037 r.fillnulls

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

2010-01-27 Thread Rich Shepard
On Wed, 27 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

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

2010-01-27 Thread Markus Neteler
On Thu, Jan 28, 2010 at 1:59 AM, Rich Shepard rshep...@appl-ecosys.com wrote: On Wed, 27 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:

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

2010-01-27 Thread Rich Shepard
On Thu, 28 Jan 2010, Markus Neteler wrote: If you add -a to g.region, you obtain the desired resolution by (automatically) a slightly enlarged region which make the pixels fit into it properly. Markus, Thank you. I'm still learning about the -a option and when to use it. Perhaps this is

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

2010-01-27 Thread Markus Neteler
On Thu, Jan 28, 2010 at 2:46 AM, Rich Shepard rshep...@appl-ecosys.com wrote: On Thu, 28 Jan 2010, Markus Neteler wrote: If you add -a to g.region, you obtain the desired resolution by (automatically) a slightly enlarged region which make the pixels fit into it properly. Markus,  Thank

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

2010-01-27 Thread Rich Shepard
On Thu, 28 Jan 2010, Markus Neteler wrote: You have to set to the raster map first. That's what I do, Markus, when I start GRASS and when I change from the 10m resolution maps to the 5m resolution maps. What I _really_ need to figure out is why so many modules fail for me. I cannot get

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

2010-01-27 Thread Milton Cezar Ribeiro
*Hum* Interesting -a flag. But g.region res=5 and g.region nsres=5 ewres=5 produce the same result? I never tryed. Rich, another way is you use n= s= w= e= options, that may be will result something like -a, I suppose. cheers milton 2010/1/27 Rich Shepard rshep...@appl-ecosys.com On Wed, 27

[GRASS-user] Re: [GRASS-dev] Re: GRASS to Numpy [was: Re: List of new features in GRASS 7 (in trac)]

2010-01-27 Thread Hamish
Timmie: Here is a example that I was trying out with Spearfish location: ### PY ### import scipy.io as sio elev = sio.loadmat('elev.mat') elev.get('map_data') data = elev.get('map_data') import pylab pylab.plot(data) pylab.show() pylab.contour(data) pylab.contour(data.reverse())

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

2010-01-27 Thread Milton Cezar Ribeiro
Rich, If your are using a resolution of ~5m, I suggest you adjust your region ~1m. I think that the final result will not suffer so much changes. If so, may be you can try finer resolution (4m?). g.region n=1334420 s=1279150 w=769190 e=819255 res=5 good luck milton 2010/1/27 Rich Shepard