Re: [GRASS-user] link to datasets from other locations?

2009-07-02 Thread Glynn Clements

Hamish wrote:

 perhaps you could sneak a way with r.external using the GRASS
 GDAL driver plugin?

I don't think so. GDAL's GRASS support uses libgis functions, and
there's only one copy of libgis' variables. So when GDAL uses
G__setenv() to set the database/location/mapset of the input map, it
will affect the process as a whole, not just GDAL.

-- 
Glynn Clements gl...@gclements.plus.com
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] link to datasets from other locations?

2009-07-01 Thread Timmie



hamish-2 wrote:
 
 How do I link to a raster and vector data in another
 location presuming it has the same projection?
 add the mapset as a symlink to the mapset in the other location,
 then use the @othermapset notation.
 
So sharing data between locations is not really supported?
Even if I just want to add the layer to the map view?

Regards,
Timmie

-- 
View this message in context: 
http://n2.nabble.com/link-to-datasets-from-other-locations--tp3185792p3188925.html
Sent from the Grass - Users mailing list archive at Nabble.com.

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] link to datasets from other locations?

2009-07-01 Thread Hamish

Timmie wrote:
 So sharing data between locations is not really supported?

Not at all supported. (except for v.proj, r.proj, i.rectify)

 Even if I just want to add the layer to the map view?

if you want to mix things you must use multiple mapsets from the
same location with @othermapset.


perhaps you could sneak a way with r.external using the GRASS
GDAL driver plugin?


Hamish



  

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] link to datasets from other locations?

2009-07-01 Thread Glynn Clements

Timmie wrote:

  How do I link to a raster and vector data in another
  location presuming it has the same projection?
 
  add the mapset as a symlink to the mapset in the other location,
  then use the @othermapset notation.
 
 So sharing data between locations is not really supported?
 Even if I just want to add the layer to the map view?

The only operations which access data in a different location are
those where the data is necessarily in a different location because it
uses a different projection, e.g. re-projection or rectification.

In general, if it's possible for the data to be in the current
location, then it must be.

-- 
Glynn Clements gl...@gclements.plus.com
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] link to datasets from other locations?

2009-06-30 Thread Tim Michelsen

Hello grass users,

There exist v.external and r.external to link to data which hasn't been 
imported into GRASS.


But in order to save time and disk space I would like to link to data 
sets from other locations:


How do I link to a raster and vector data in another location presuming 
it has the same projection?


Kind regards,
Timmie

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] link to datasets from other locations?

2009-06-30 Thread Hamish

Tim Michelsen wrote:
 There exist v.external and r.external to link to data which
 hasn't been imported into GRASS.
 
 But in order to save time and disk space I would like to
 link to data sets from other locations:
 
 How do I link to a raster and vector data in another
 location presuming it has the same projection?

add the mapset as a symlink to the mapset in the other location,
then use the @othermapset notation.

(at your own risk)

Hamish



  

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user