[GRASS-dev] [RFC] Glossary: GISDATABASE -> DATASTORE

tlaronde at polynum.com tlaronde at polynum.com
Mon Mar 5 22:00:53 EST 2007


On Tue, Mar 06, 2007 at 02:02:12PM +1300, Hamish wrote:
> 
> > g.dump(8)
> > g.restore(8)
> > 
> > to dump a location in ascii, and to restore an ascii version of a
> > location to the binary one. I use a lot CVS to store versions of the
> > ascii gis files, and it will be a great archival/transfer even testing
> > and debugging tool (to verify the basic functionnality of a fresh
> > installation, g.restore spearfish for example).
> 
> is that just saving the projection settings & default region info found
> in PERMANENT/, or is it a full "tar czf spearfish.tgz spearfish/" ?
> r.out.ascii, v.out.ascii all maps?

Yes, as PostgreSQL pg_dump(8) and pg_restore(8), it will dump in ascii
the binary files (raster, vector and other types if any) on all the
MAPSETs in the LOCATION, and restore will rebuild everything (this means
that not only the geometry in ascii is saved [case tar or pax], but
this includes the cats, atts [or whatever they are called]; all the ascii
(or text) files needed to restore a complete compiled (binary) version
of the LOCATION). These text files are typically what has to be saved in
a CVS.
-- 
Thierry Laronde (Alceste) <tlaronde +AT+ polynum +dot+ com>
                 http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C




More information about the grass-dev mailing list