[GRASS5] Identify GRASS database directory

Bernhard Reiter bernhard at intevation.de
Thu Feb 8 10:34:09 EST 2001


On Thu, Feb 08, 2001 at 09:27:18AM -0600, B. Byars wrote:
> Sorry for the slow response (our university ISP is having more
> problems -sigh-) but yes, the WIND file is common to all GRASS
> database directories.  Are you thinking of a script to find the
> WIND files to identify the GRASS data directories?

Yes, I will probably build this functionality into the
grassbrowse python script of the ossim bridge.
> 
> I've got something that we could modify for this if that's what
> you're thinking.  Let me know and we'll go from there.

If you already have some script, it would be great if you are
willing to share it.  Mail it to me or make it overwise available.

Thanks
	Bernhard
> 
> 
> 
> Bernhard Reiter wrote:
> 
> > Hi Bruce,
> >
> > if I have any directory, how can I decide if it is a GRASS database.
> > Especially if it contains raster data?
> >
> > There must be something that all grass database directories have in
> > common. If it is that WIND file, it would be sufficient for
> > identification.
> >
> > So are there WIND files in all grass database directories?
> >         Bernhard
> >
> > On Wed, Feb 07, 2001 at 12:03:29PM -0600, B. Byars wrote:
> > > The PERMANENT directory isn't automatically created each time
> > > with a new mapset.  Not sure what you mean about finding out is
> > > a directory is a GRASS dbase directory tho'?  I have a script I use to
> > > locate directories that looks for WIND files.  Is that what you mean?
> > >
> > > Bruce
> > >
> > >
> > > Bernhard Reiter wrote:
> > >
> > > > Just a quick question. Is there a fast and relyable way to find out,
> > > > if a directory is a GRASS database directory?
> > > > I expect the PERMANENT mapset directory to actually be created
> > > > once a directory serves as a GRASS database. Is this true for all
> > > > cases?
> > > >
> > > > Thanks,
> > > >         Bernhard
> > > >
> > > > --
> > > > Professional Service around Free Software                (intevation.net)
> > > > The FreeGIS Project                                         (freegis.org)
> > > > Association for a Free Informational Infrastructure            (ffii.org)
> > > > FSF Europe                                                (fsfeurope.org)
> > > >
> > > >   ------------------------------------------------------------------------
> > > >    Part 1.2Type: application/pgp-signature
> > >
> > >
> > > ----------------------------------------
> > > If you want to unsubscribe from GRASS Development Team mailing list write to:
> > > minordomo at geog.uni-hannover.de with
> > > subject 'unsubscribe grass5'
> > >
> >
> > --
> > Professional Service around Free Software                (intevation.net)
> > The FreeGIS Project                                         (freegis.org)
> > Association for a Free Informational Infrastructure            (ffii.org)
> > FSF Europe                                                (fsfeurope.org)
> >
> >   ------------------------------------------------------------------------
> >    Part 1.2Type: application/pgp-signature
> 
> 
> ---------------------------------------- 
> If you want to unsubscribe from GRASS Development Team mailing list write to:
> minordomo at geog.uni-hannover.de with
> subject 'unsubscribe grass5'
> 

-- 
Professional Service around Free Software                (intevation.net)  
The FreeGIS Project                                         (freegis.org)
Association for a Free Informational Infrastructure            (ffii.org)
FSF Europe                                            	  (fsfeurope.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 248 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20010208/2d3a2515/attachment.bin


More information about the grass-dev mailing list