maning sambale wrote: > 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 mapn...@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) Hamish _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user