[GRASS-dev] [GRASS GIS] #2465: g.gui.iclass: allow to save the class definitions

#2465: g.gui.iclass: allow to save the class definitions
--------------------------------------------+-------------------------------
Reporter: mlennert | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: svn-releasebranch70
Keywords: g.gui.iclass class definitions | Platform: Unspecified
      Cpu: Unspecified |
--------------------------------------------+-------------------------------
It would be great if g.gui.iclass allowed to save class definitions, even
without exporting to a vector map.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2465&gt;
GRASS GIS <http://grass.osgeo.org>

#2465: g.gui.iclass: allow to save the class definitions
--------------------------------------------+-------------------------------
Reporter: mlennert | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: svn-releasebranch70
Keywords: g.gui.iclass class definitions | Platform: Unspecified
      Cpu: Unspecified |
--------------------------------------------+-------------------------------

Comment(by wenzeslaus):

Please describe what is a class definition (name and color?), what is
saved to vector map and which format would be appropriate in your opinion.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2465#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2465: g.gui.iclass: allow to save the class definitions
--------------------------------------------+-------------------------------
Reporter: mlennert | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: svn-releasebranch70
Keywords: g.gui.iclass class definitions | Platform: Unspecified
      Cpu: Unspecified |
--------------------------------------------+-------------------------------

Comment(by mlennert):

Sorry, my first report was apparently a bit too short:

in g.gui.iclass the user defines the classes to be digitised by their name
and color. Once at least one of polygon of each class is digitised and the
result saved as a vector map, it is enough to just reload that vector map
to get the class definitions.

While working with g.gui.iclass I was confronted with #2439 and had the
gui crash while trying to digitize polygons. Each time I had to redefine
the classes. Not an enormous amount of work, but just enough of a nuisance
to create an itch. And, without having looked at the code, I would imagine
that offering the possibility to save / load the class definitions to /
from a simple text file shouldn't be too difficult. This could be also
useful for groups in which someone want to share class definitions.

Moritz

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2465#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>