[GRASS-dev] [GRASS GIS] #2110: error registering maps outside mapset

GRASS GIS trac at osgeo.org
Tue Oct 22 01:52:17 PDT 2013


#2110: error registering maps outside mapset
----------------------+-----------------------------------------------------
 Reporter:  lucadelu  |       Owner:  grass-dev@…              
     Type:  defect    |      Status:  new                      
 Priority:  normal    |   Milestone:  7.0.0                    
Component:  Temporal  |     Version:  svn-trunk                
 Keywords:  register  |    Platform:  All                      
      Cpu:  All       |  
----------------------+-----------------------------------------------------

Comment(by huhabla):

 I have discussed this topic off the list with Luca and investigated the
 problem in more detail. Luca suggested to register only maps from foreign
 mapsets that are not already in the temporal database and that have a
 timetsamp attached with r.timestamp, so that there is no need anymore to
 modify the timestamp in the spatial database metadata. Revision r58084
 allows now to use existing time stamps in the registration process that
 were set with (r|r3|v).timestamp. This works only if the map is not
 already registered in the temporal database. However, timestamps will be
 rewritten in the spatial database metadata, since the registration method
 is generic and does not care where the timestamps originated from.

 A more fundamental problem that occurs when registering maps from foreign
 mapsets is the following:

 Space time datasets are defined by the spatio-temporal extents and the
 metadata of their maps. Hence, if you modify a map, then you will modify
 the space time datasets in which this map is registered. That's one reason
 why space time datasets are mapset specific.

 Consider to have a work-mapset A and foreign mapset B. Now you register
 maps from mapset B in a space time dataset of mapset A. Now the owner of
 mapset B creates several space time datasets in his mapset and modifies
 some maps that are registered in the space time dataset of mapset A using
 the temporal framework (t.snap, t.shift, ...). The metadata modification
 of maps in mapset B will result in the modification of the space time
 dataset in mapset A. Hence the owner of mapset B can compromise the space
 time datasets of the owner of mapset A. This will violate the GRASS
 permission system, hence, its not allowed will be prevented by the
 temporal framework.

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



More information about the grass-dev mailing list