#2363: Temporal datasets in a mapset are not visible when the mapset is renamed
-------------------------+--------------------------------------------------
Reporter: annakrat | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.1.0
Component: Temporal | Version: svn-trunk
Keywords: mapset | Platform: All
Cpu: Unspecified |
-------------------------+--------------------------------------------------
When I create a strds in a mapset and then rename the mapset, the strds is
not accessible any more, although it is still in the database. I am not
sure if this is a defect or undocumented limitation.
#2363: Temporal datasets in a mapset are not visible when the mapset is renamed
-------------------------+--------------------------------------------------
Reporter: annakrat | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.1.0
Component: Temporal | Version: svn-trunk
Keywords: mapset | Platform: All
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by huhabla):
This is a limitation that is not easy to fix. The module t.list will show
only those stds from mapsets you have access to. If you rename a mapset,
the ids of the stds will still build upon the original mapset name and
therefor this mapset will be unknown to GRASS. Hence, if you rename a
mapset you have to access the temporal database by your tool of choice and
modify the mapset and id columns of the stds and map tables. In worst case
you need to modify 5 tables with SQL staments to rename the mapset.
#2363: Temporal datasets in a mapset are not visible when the mapset is renamed
-------------------------+--------------------------------------------------
Reporter: annakrat | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.1.0
Component: Temporal | Version: svn-trunk
Keywords: mapset | Platform: All
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by annakrat):
Replying to [comment:1 huhabla]:
> This is a limitation that is not easy to fix. The module t.list will
show only those stds from mapsets you have access to. If you rename a
mapset, the ids of the stds will still build upon the original mapset name
and therefor this mapset will be unknown to GRASS. Hence, if you rename a
mapset you have to access the temporal database by your tool of choice and
modify the mapset and id columns of the stds and map tables. In worst case
you need to modify 5 tables with SQL staments to rename the mapset.
That's what I thought. The main problem is that it is unexpected. Perhaps
the GUI startup dialog could find out if there is temporal database and
warn the user before renaming the mapset (using t.connect -pg). It would
be of course then nice if there would be some tool to automatically update
the database.