[GRASS-dev] [GRASS GIS] #2848: g.gui.vdigit: snapping distance seems to only be defined in map units, not screen pixels
GRASS GIS
trac at osgeo.org
Tue Sep 27 09:52:57 PDT 2016
#2848: g.gui.vdigit: snapping distance seems to only be defined in map units, not
screen pixels
--------------------------+---------------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 7.0.5
Component: wxGUI | Version: svn-releasebranch70
Resolution: | Keywords: vector, digitize
CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------
Comment (by mlennert):
Replying to [comment:14 annakrat]:
> Replying to [comment:13 mlennert]:
> > Replying to [comment:12 annakrat]:
> > > OK, try r69580. First remove the snapping record in your settings
file. Save it in trunk, and now open the dialog in older GRASS. Save it
and open it again in trunk. If there are no problems, I will backport it.
> >
> > This seems to work, except: when I chose map units in trunk, I get the
following in the settings file:
> >
> >
> > {{{
> > vdigit;snapping;units;screen pixels;value;25;unit;1
> > }}}
> >
> > which looks a bit contradictory ('unit: 1' should be 'units: map
units', or ?).
> >
>
> That's correct, 'units' is the old name kept there for backwards
compatibility, 'unit' is the new one (0 is screen pixels, 1 is map units).
Yes, I understand that, but if 1 is map units, then why does the line
contain 'units;screen pixels' and 'unit;1' ? Shouldn't it be 'units;map
units' ?
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2848#comment:15>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list