[GRASS-dev] [GRASS GIS] #1605: WXGUI d.vect doesn't offer all vector map layers in a dropdown list
GRASS GIS
trac at osgeo.org
Thu Feb 21 01:44:37 PST 2013
#1605: WXGUI d.vect doesn't offer all vector map layers in a dropdown list
--------------------------+-------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.3
Component: wxGUI | Version: 6.4.2
Keywords: vector layer | Platform: Unspecified
Cpu: Unspecified |
--------------------------+-------------------------------------------------
Comment(by annakrat):
Replying to [comment:5 mmetz]:
> Replying to [comment:4 martinl]:
> > Replying to [comment:3 mmetz]:
> > > Replying to [comment:2 annakrat]:
> > > > Now, layers listed with v.category (and not v.db.connect) are
shown.
> > >
> > > Not good. This method was used some years ago, but it makes the GUI
even slower than it is already. Therefore v.category was no longer used to
get the vector's layers. v.db.connect is usually very fast, but v.category
takes some time for a larger vector.
> > >
> > > Please revert this change.
Reverted.
> >
> > any other suggestion? Store number of layers in header file?
>
> Alternatively, v.category could get a new option for option, something
like option=layers which would print out only layer numbers, one per line.
This would be fast if topology is available because in this case the
internal category index can be used and the vector map would need to be
opened with head only. Without topology, option=layers would print
nothing.
Is this change possible now for grass 64?
Anna
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1605#comment:6>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list