#1518: Misunderstanding with different topology format
------------------------------+---------------------------------------------
Reporter: lucadelu | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: LibVector | Version: 6.4.2 RCs
Keywords: vector, topology | Platform: All
Cpu: Unspecified |
------------------------------+---------------------------------------------
If you imported a file with GRASS7 and try to do some analysis with GRASS6
it return the following error:
{{{
ERROR: Topology format version 5.1 is not supported by this release. Try
to rebuild topology or upgrade GRASS.
}}}
For my point of view it isn't clear that the problem is related to GRASS7,
because the words "version 5.1" are misleading. I suggest to change the
error string with something more clear.
#1518: Misunderstanding with different topology format
------------------------------+---------------------------------------------
Reporter: lucadelu | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: LibVector | Version: 6.4.2 RCs
Keywords: vector, topology | Platform: All
Cpu: Unspecified |
------------------------------+---------------------------------------------
Comment(by mmetz):
In GRASS 7, the coor file format version is 5.1, as are the topo and sidx
file format versions, and the cidx file format version is 5.0. These are
internal versions that may or may not have changed across major GRASS
version changes. Changing this version numbering and the related messages
is possible for GRASS 7, but I'm afraid not for GRASS 6. As a user, you
will just have to rebuild topology or upgrade to a newer GRASS version. As
a developer, you can check include/vect/dig_defines.h to check versions
and backward compatibility. Note that the GRASS version in use has no
chance to figure out the version numbers of GRASS used to create the
vector, all it can say is that the creating version must have been some
GRASS version VERSION_MAJOR + x.
#1518: Misunderstanding with different topology format
------------------------------+---------------------------------------------
Reporter: lucadelu | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: LibVector | Version: 6.4.2 RCs
Keywords: vector, topology | Platform: All
Cpu: Unspecified |
------------------------------+---------------------------------------------
Comment(by neteler):
I believe that Luca only want to achieve that the rather cryptic
"ERROR: Topology format version 5.1 is not supported by this release..."
is changed
to something like
"ERROR: Topology format V5.1 of GRASS 7 is not supported by this GRASS 6
release...".
#1518: Misunderstanding with different topology format
------------------------------+---------------------------------------------
Reporter: lucadelu | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: LibVector | Version: 6.4.2 RCs
Keywords: vector, topology | Platform: All
Cpu: Unspecified |
------------------------------+---------------------------------------------
Comment(by mmetz):
Replying to [comment:2 neteler]:
> I believe that Luca only want to achieve that the rather cryptic
> "ERROR: Topology format version 5.1 is not supported by this release..."
is changed
> to something like
> "ERROR: Topology format V5.1 of GRASS 7 is not supported by this GRASS 6
release...".
Fixed to "ERROR: This version of GRASS (<MAJOR>.<MINOR>) is too old to
read this topology format. Try to rebuild topology or upgrade GRASS to at
least version <MAJOR + 1>." Same for category index and spatial index, and
in all branches (r52821-3).