Re: [GRASS-user] simple shell scrip example with parameters

2011-03-25 Thread Markus Neteler
Hi, I have taken Daniel's example and own and added them to the related Wiki page: http://grass.osgeo.org/wiki/GRASS_and_Shell Feel free to add more there. Markus On Wed, Mar 23, 2011 at 11:28 PM, Daniel Victoria wrote: > Not sure this is the best way to do but, if you are using bash in > lin

Re: [GRASS-user] r.rescale - float instead of integer?

2011-03-25 Thread Markus Neteler
On Thu, Mar 24, 2011 at 6:07 PM, Glynn Clements wrote: > > Johannes Radinger wrote: > >> I think r.mapcalc is probably the best solution, but as I don't know the >> maximum >> value in every case (I've to process several maps), I wanted to automatize. >> Probably I've to write a script to read th

[GRASS-user] Re: Import Interlis format

2011-03-25 Thread Patrick S.
Thanks Andreas, But it just doesn't seem a right approach to me to convert a topological format into a simple feature format to import it to GRASS. I am speaking of some 300.000 polygons of buildings and X00. parcels, which created a lot of topological problems when I imported from shapefi

Re: [GRASS-user] r.sun - run script

2011-03-25 Thread Markus Neteler
On Fri, Mar 25, 2011 at 6:35 AM, Eli Adam wrote: >>Consider to post such output as text here for example (easier to read): >>http://osgeo.pastebin.com/ > > I agree that screenshots of text are not as helpful as they could be. I'd say that screenshots are useful for maps. > I have been wanting to

[GRASS-user] Re: Import Interlis format

2011-03-25 Thread Andreas Neumann
Hi Patrick, You are right - there are currently only simple feature/non topological formats available in OGR/QGIS and others. GRASS is an exception and I believe that OGR can read old ArcInfo coverages (also a topological format). I just don't know any solution currently. The problem with In

Re: [GRASS-user] Managing the Harmonized World Soil Database in GRASS

2011-03-25 Thread Luigi Ponti
Dear Rich, > The HWSD is composed of a raster image file and a linked attribute database > stored in Microsoft Access 2003 format. It would be nice if the attributes were made available in a format using open standards. That would make it available to those of us who don't do windows.

Re: [GRASS-user] Managing the Harmonized World Soil Database in GRASS

2011-03-25 Thread Sylvain Maillard
Hi, some month ago I had to make some maps with the HWSD database. I used the mdbtool (http://mdbtools.sourceforge.net/) to extract all tables from the .mdb file to some sql files. Then I just imported all the table in a postgres database, and it is quite easy to access them in GRASS ... Regards

Re: [GRASS-user] Running a Pyhton Script on Mac (Mapcalc)

2011-03-25 Thread Johannes Radinger
Thank you nick for the tipp with the line breaks! I opend the script with text wrangler and there were indeed mac line endings. So I saved it with unix line endings and now it seems to work. Maybe GRASS should be able to handle line endings from various platforms if that is possible... Now I get

Re: [GRASS-user] Managing the Harmonized World Soil Database in GRASS

2011-03-25 Thread Rich Shepard
On Fri, 25 Mar 2011, Luigi Ponti wrote: There is a driver apparently more advanced than the OpenOffice.org one, which I haven't tried yet: http://www.kexi-project.org/wiki/wikiview/index@mdbdriver.html Luigi, How interesting! I use OO.o to translate .doc to .odt and .xls to ods, but it

Re: [GRASS-user] Running a Pyhton Script on Mac (Mapcalc)

2011-03-25 Thread Johannes Radinger
Hello GRASS-people!! I face a problem when I try to run mapcalculator in a pyhton script. I attached a sample test script which i tried on the subset of the spearfish data set (http://grass.fbk.eu/sampledata/north_carolina/nc_basic_spm.tar.gz) I just tried to multiply geology * elevation (just

Re: [GRASS-user] Running a Pyhton Script on Mac (Mapcalc)

2011-03-25 Thread Glynn Clements
Johannes Radinger wrote: > I opend the script with text wrangler and there were indeed > mac line endings. So I saved it with unix line endings and > now it seems to work. Maybe GRASS should be able to handle > line endings from various platforms if that is possible... 1. The terminator for the

[GRASS-user] Using r.buffer on image with geographic coordinates

2011-03-25 Thread Ned Horning
Hi - I am trying to create buffers for large (~1GB) line and polygon vector files. I tried v.buffer but after letting it run overnight with no apparent progress I killed the process. I'm not aware of any software capable of buffering large vector files on a modest computer so that wasn't a big

Re: [GRASS-user] Running a Pyhton Script on Mac (Mapcalc)

2011-03-25 Thread William Kyngesburye
On Mar 25, 2011, at 8:32 AM, Glynn Clements wrote: > > Johannes Radinger wrote: > >> I opend the script with text wrangler and there were indeed >> mac line endings. So I saved it with unix line endings and >> now it seems to work. Maybe GRASS should be able to handle >> line endings from vario

[GRASS-user] Region definition

2011-03-25 Thread Luisa Peña
Greetings I have a raster map with a size like 25000 x 3 with valid values on all its extent. With another raster, I defined a sub-extent of this raster, much smaller where only a small area is valid and the rest it NULL() like this: r.mapcalc output = if(regional_area@PERMANENT>0,2004@Reg,nul

Re: [GRASS-user] r.sun - run script

2011-03-25 Thread Eli Adam
Markus, Thanks for clarifying and I find the GRASS wiki very helpful due to the efforts people have made to accumulate vast useful information there. Thanks, Eli >>> Markus Neteler 03/25/11 2:32 AM >>> On Fri, Mar 25, 2011 at 6:35 AM, Eli Adam wrote: >>Consider to post such output as te

Re: [GRASS-user] Managing the Harmonized World Soil Database in GRASS

2011-03-25 Thread Luigi Ponti
On 25/03/2011 11:44, Sylvain Maillard wrote: Hi, some month ago I had to make some maps with the HWSD database. I used the mdbtool (http://mdbtools.sourceforge.net/) to extract all tables from the .mdb file to some sql files. Then I just imported all the table in a postgres database, and it i

[GRASS-user] Re: v.buffer problem (bug?)

2011-03-25 Thread leonidas
I'm trying to upgrade to GRASS 6.4.1RC2 following the instructions at https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable?field.series_filter=lucid But grass --version command reports that the version is GRASS GIS 6.4.0 Did I make any mistake? -- View this message in context: http://osg