[GRASS5] warning when wrong region settings

Markus Neteler neteler at geog.uni-hannover.de
Tue Mar 6 05:20:13 EST 2001


On Mon, Mar 05, 2001 at 09:15:44PM -0800, Eric G. Miller wrote:
> On Mon, Mar 05, 2001 at 10:51:55AM +0100, mlennert at club.worldonline.be wrote:
> > Hello,
> > 
> > I ran the cell driver and forgot to set the region back to default after that. 
> > When trying to display a vector map d.vect just runs without any error 
> > message, but nothing is displayed. I finally realized the problem when trying 
> > to display a raster map and receiving error messages. Shouldn't there be the 
> > same kind of error message for vector and site maps ?
> 
> Mostly there's the idea that an entire GRASS location would be in one
> projection, so routines often don't check that the projection in the
> region setting matches the projection defined for the spatial layer.  In
> the case of sites, it's not really possible with the current format.
> There's a possible heuristic for lat/lon vs. other projections based on
> the way lat/lon is stored.  But other than that...  Seems like it would
> be nicer if we didn't have to change the region settings to convert
> D_cell to some regular graphics file format.  Perhaps the PNGdriver does
> this, I haven't tested it...

>From the man page
http://www.geog.uni-hannover.de/grass/gdp/html_grass5/html/PNGdriver.html
it seems that it directly exports the file.

As I don't get the required "gd lib" compiled, I can't test it...

 Markus

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list