2

I have created several Grass locations with single mapsets while processing a series of satellite imageries at different stages of my analysis.

Now I need to copy some preprocessed rasters and vectors from the older locations to my current location and mapset. I am aware of using 'g.copy' which can be used in case of a single grass location and different mapsets. I know I can also export the rasters and vectors and import into my current location.

But found it wasting time as those data are already imported in Grass and all these Grass Locations are in same 'region' settings and with same projections.

Any hack for adding those rasters and vectors in my current Location and mapset?

USing Grass GIS 7.4 on Windows 7.

2 Answers 2

3

Here an overview as it depends on the projection(s):

When the projection is the same across the different locations, then

  • you either can simply copy/move the respective mapset in location A to location B,
  • or, at map level, you can use r.pack/v.pack to package maps and unpack them in the target mapset with r.unpack/v.unpack in a lossless way.

When projections differ across the different locations, then

0

If projection is different you might be better off using r.proj or v.proj to bring a map into your current location and mapset from another.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.