[GRASS-user] Switching locations on-the-fly

Helmut Kudrnovsky hellik at web.de
Tue Oct 31 16:17:29 PDT 2017


Rich Shepard wrote
> I need to import a lot of data each having one of several projections. It
> is quicker for me to create a new location for each one, import it, then
> re-project it to the base location and a layer-specific mapset. This
> involves invoking grass, creating a new location, importing the .shp or
> .gdb, shutting down grass, restarting grass in the base location,
> re-projecting the new layer, then removing the (temporary) importing
> location.
> 
>    Is there a way to switch locations within a running grass instance,
> equivalent to creating/switching mapsets within a location?
> 
> Rich
> 
> _______________________________________________
> grass-user mailing list

> grass-user at .osgeo

> https://lists.osgeo.org/mailman/listinfo/grass-user

another quite comfortable way may be: 

reproject your data by ogr2ogr on the command line in a script, then do a
bulk import into grass



-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html


More information about the grass-user mailing list