[GRASS5] Even More on Projections

Michel Wurtz mw at teledetection.fr
Fri Sep 22 05:12:47 EDT 2000


"Eric G . Miller" a écrit :
> 
> On Thu, Sep 21, 2000 at 03:32:59PM -0500, Frank Warmerdam wrote:
> > Folks,
> >
> [snip]
> > Currently I prepare a struct Cell_head, attempting to set the projection
> > to match that of the source file if possible.  I then call G_set_window()
> > with that structure, and then G_open_raster_new(), and write the file.
> > This seems to result in a cellhd file being created with the information
> > I passed to G_set_window() whether the projection matches the location or
> > not.  Am I responsible for doing validation to ensure the projection of
> > my new raster matches the location?  Some commands (like r.in.dted) seem
> > to check, while others (like r.in.doq) seem to do the same as r.in.gdal



More information about the grass-dev mailing list