[GRASS-user] Remote Sessions with NX (NoMachine)???

2009-10-17 Thread Lawrence Houston
GRASS Users: While running Sessions Remotely using NX (www.NoMachine.com) I can have problems using GRASS's XDRIVER: With NX 2.1 the XDRIVER successfully displays Raster Images, although with NX 3.X the XDRIVER Window remains "Blank" without the Raster Image being "Visible"!!! Would prefer to

[GRASS-user] Re: How To use a raster MASK correctly?

2009-10-17 Thread Roger André
Figured it out. Used the following r.mapcalc expression: r.mapcalc "new_hillshade=if(europe_dem < 100, 180, europe_hillshade)" I think I might be in love! -- On Sat, Oct 17, 2009 at 10:27 AM, Roger André wrote: > Hi All, > > I would like to use an elevation mask to reclass certain areas in a >

[GRASS-user] How To use a raster MASK correctly?

2009-10-17 Thread Roger André
Hi All, I would like to use an elevation mask to reclass certain areas in a raster, while leaving the values outside the mask alone. Below are my attempts so far. Unfortunately, when I export output raster, the reclass appears to have been applied to entire raster. Is there a way to do this usi

Re: [GRASS-user] Export Raster to Google Earth Files

2009-10-17 Thread Roger André
lol Awesome! Can you imagine ESRI creating a utility this way? Thanks for doing this. Roger -- On Fri, Oct 16, 2009 at 8:36 PM, Hamish wrote: > Andrew wrote: >> > I would like to export raster files to a Google Earth >> > image (kmz or kml). >> >  Does anyone know how this is done?  I found a

Re: [GRASS-user] HowTo fix country border topology problem?

2009-10-17 Thread Roger André
Hi Martin, Thanks, that is a exactly the problem. Your page is perfect for showing the cause and solution. One question though, since the solution relies on removing polygons whose areas are less than a minimum threshold, how can we do this accurately with a global data set? I suppose I could e

Re: [GRASS-user] can't ingest an E00 file using r.in.gdal, or anything else?

2009-10-17 Thread Jamie Adams
Hey Jeff, This is a valid file, though not well supported by software other than ESRI. E00 files most commonly hold vector formats, but can be used to contain raster data also. AFAIK, there is no way to import these directly into GRASS, it only supports the vector version with v.in.e00 For this

Re: [GRASS-user] Importing Vector Data

2009-10-17 Thread Bob Byer
Thanks Micha and to all that responded. Best regards, Bob From: Micha Silver To: Bob Byer Cc: grass-user@lists.osgeo.org Sent: Fri, October 16, 2009 4:34:07 PM Subject: Re: [GRASS-user] Importing Vector Data Bob Byer wrote: > All, >  I work extensively in th

[GRASS-user] can't ingest an E00 file using r.in.gdal, or anything else?

2009-10-17 Thread Jeff Hamann
I'm not sure why this is not working, and I'm having a little trouble getting a satisfactory answer on the web. I'm trying to import an e00 file (arc/info grid) using r.in.gdal. For example, GRASS 6.4.0svn (himom):~/Documents/rufus/incoming/wadnr > r.in.gdal input=lewis_dem30.e00 output=l

Re: [GRASS-user] v.to.rast with empty vector-file

2009-10-17 Thread Achim Kisseler
Thanks for response, Markus! I just did that a minute ago. But I found out that I don't have to handle that exception in my case: I do a r.patch further on, which works even if one raster-file is missing. So there is no need of an null-map anymore. Thanks again, Achim Markus Metz schrieb: > >

Re: [GRASS-user] v.to.rast with empty vector-file

2009-10-17 Thread Markus Metz
Achim Kisseler wrote: Dear grass users, has anyone an idea how to handle v.to.rast, if vector-file is empty? -> it produces an error and no map is created: Loading data... ERROR: Database connection not defined for layer 2 I want an null-raster-map instead. r.mapcalc "nullmap = null()" ?

[GRASS-user] v.to.rast with empty vector-file

2009-10-17 Thread Achim Kisseler
Dear grass users, has anyone an idea how to handle v.to.rast, if vector-file is empty? -> it produces an error and no map is created: Loading data... ERROR: Database connection not defined for layer 2 I want an null-raster-map instead. I created the empty vector map with v.extract (in an scrip

Re: [GRASS-user] HowTo fix country border topology problem?

2009-10-17 Thread Martin Landa
Hi, 2009/10/17 Roger André : > Tried the v.extract route - it didn't help.  The little segments came sure, because there are no 'lines' - just 'boundaries' and 'centroids' which constract 'areas'. > along.  So I decided to look at the original data and pull one the > polygons from it, to see if