[GRASS-dev] [GRASS GIS] #2255: g.mlist warnings for layers found in other mapsets

GRASS GIS trac at osgeo.org
Fri Apr 18 04:09:26 PDT 2014


#2255: g.mlist warnings for layers found in other mapsets
-------------------------+--------------------------------------------------
 Reporter:  pvanbosgeo   |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.1.0                    
Component:  Default      |     Version:  unspecified              
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by neteler):

 Not sure what the issue is... here an example:

 {{{
 grass71 -c ~/grassdata/nc_spm_08_grass7/user2

 GRASS 7.1.svn (nc_spm_08_grass7):~ > g.mlist rast
 raster map(s) available in mapset <PERMANENT>:
 aspect
 basin_50K
 ...
 elev_state_500m
 elevation
 elevation_shade
 ...
 zipcodes
 zipcodes_dbl
 GRASS 7.1.svn (nc_spm_08_grass7):~ >

 # now copy over "elevation" map as found in search path to
 # current mapset:
 GRASS 7.1.svn (nc_spm_08_grass7):~ > g.copy rast=elevation,elevation
 Copy raster <elevation at PERMANENT> to current mapset as <elevation>

 # list again:
 GRASS 7.1.svn (nc_spm_08_grass7):~ > g.mlist rast
 raster map(s) available in mapset <user2>:
 WARNING: 'cell/elevation' was found in more mapsets (also found in
          <PERMANENT>)
 WARNING: Using <elevation at user2>
 elevation
 raster map(s) available in mapset <PERMANENT>:
 aspect
 basin_50K
 boundary_county_500m
 ...
 elev_state_500m
 WARNING: 'cell/elevation' was found in more mapsets (also found in
          <PERMANENT>)
 WARNING: Using <elevation at user2>
 elevation at PERMANENT
 elevation_shade
 facility
 ...
 zipcodes_dbl
 GRASS 7.1.svn (nc_spm_08_grass7):~ >

 GRASS 7.1.svn (nc_spm_08_grass7):~ > g.mapsets -l
 Available mapsets:
 PERMANENT landsat neteler user1 user2

 GRASS 7.1.svn (nc_spm_08_grass7):~ > g.mapsets -p
 Accessible mapsets:
 user2 PERMANENT
 }}}

 So it tells the user that the map "elevation" exists multiple times in
 the search path ("Accessible mapsets")... Guess that's how it should be.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2255#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list