In a single script I would like to:
open a mapset and do vector processing, then,
open another mapset,
import vectors from previous mapset
continue processing.
Any psuedoscript to do this?
--
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------
In a single script I would like to:
open a mapset and do vector processing, then,
open another mapset,
import vectors from previous mapset
continue processing.
Any psuedoscript to do this?
is it all in the same location?
if so you can use g.mapset (no "s") to change the current mapset, then
refer to other mapset maps as mapname@othermapset. (imagery modules need
work here) no need to import anything.
if not you could still use g.mapset to change the location, but it is
probably safer/more sane to use GRASS_BATCH_JOB to drive the process to
leave & restart GRASS in the new location and run v.proj, maybe with
another script to drive the overall job.
will the g.gui GUI be needed? that might complicate things for g.mapset.
TODO: finish script to create a new location with command line params from
outside of GRASS (See thread from ~2 weeks ago)