[GRASS5] Re: adapting locations to 5.7, volume nviz updates
Markus Neteler
neteler at itc.it
Wed Nov 17 03:26:08 EST 2004
On Mon, Nov 15, 2004 at 05:54:12PM +0000, Glynn Clements wrote:
>
> Markus Neteler wrote:
>
> > > I still don't quite understand how do you want to handle the WIND issue, but
> > > if I understand it correctly, can you and Radim take care of grass57
> > > startup that will add 3rd dim to DEFAULTWIND when grass57 is started on old location?
> >
> > I think it was just a proposal.
> > I don't know where to change libgis to add the three lines to WIND.
>
> WIND and cellhd/* files are read and written using the functions in
> lib/gis/{rd,wr}_cellhd.c.
>
> If the format is extended, rd_cellhd.c would need to be modified not
> to complain about those lines.
>
> Or just extend "struct Cell_head" to include the additional fields and
> use that instead of a distinct G3D_Region type (i.e. make G3D_Region
> an alias for "struct Cell_head"). G__read_Cell_head() would need to
> allow for old WIND files which don't have those fields, either by
> reading a WIND3 file or just using top=0.0, bottom=1.0.
Helena,
what do you think? Sounds like a "easy going" suggestion to me.
Will you/Jaro implement that?
I would like to get that solved soon to keep GRASS 5.7 user friendly
(to avoid that all users have to use g3.createwind).
Markus
More information about the grass-dev
mailing list