I have committed preliminary, minimal, experimental, barely-tested
support for creating new maps via GDAL (i.e. like r.external, but in
the opposite direction).
The feature is enabled with r.external.out, which allows you to
optionally set the format (default GeoTIFF), extension (default none;
Recent commits changed v.category opt=del behaviour.
Before:
$ v.random out=pts n=3
$ v.category opt=print in=pts
1
2
3
$ v.category opt=del in=pts out=pts_delcat
$ v.category opt=print in=pts_delcat
No output, i.e. v.category opt=del removed them all.
Now:
$ v.category opt=print in=pts
1
Take a simple vector map - 3 points, each having an unique category:
$ v.info -t rndv
nodes=3
points=3
lines=0
boundaries=0
centroids=0
areas=0
islands=0
faces=0
kernels=0
primitives=3
map3d=0
$ v.category opt=print in=rndv
(no output, i.e. no categories)
Why does v.db.addtable say 1
Hi,
2008/12/6 Maciej Sieczka [EMAIL PROTECTED]:
$ v.category opt=print in=pts
1
2
3
$ v.category opt=del in=pts out=pts_delcat
$ v.category opt=print in=pts_delcat
2
3
I.e. only category 1 is removed.
yes, only cat '1' is removed ('1' is default value for 'cat' parameter)
to remove
Hi,
2008/12/6 Maciej Sieczka [EMAIL PROTECTED]:
Why does v.db.addtable say 1 categories read from map when adding table to
it?:
it's because v.to.db groups all features without category into cat
'-1'. Fixed (not reported) in r34751.
Martin
--
Martin Landa landa.martin gmail.com *
Martin Landa pisze:
Hi,
2008/12/6 Maciej Sieczka [EMAIL PROTECTED]:
Why does v.db.addtable say 1 categories read from map when adding table to
it?:
it's because v.to.db groups all features without category into cat
'-1'. Fixed (not reported) in r34751.
Thanks for q quick fix.
Best,
Maciek
Martin Landa pisze:
2008/12/6 Maciej Sieczka [EMAIL PROTECTED]:
Such a change in user interface is not acceptable for GRASS 6. By
well, you are right (reverted r34750).
Cool.
default all categories should be selected. I don't see a reason to
change the default behaviour in GRASS 7
On Sat, Dec 6, 2008 at 10:27 AM, Glynn Clements
[EMAIL PROTECTED] wrote:
I have committed preliminary, minimal, experimental, barely-tested
support for creating new maps via GDAL (i.e. like r.external, but in
the opposite direction).
This sounds great!
The feature is enabled with
Maciek:
default all categories should be selected. I don't see a reason to
change the default behaviour in GRASS 7 either.
Martin:
new behaviour can be useful if you want to remove not all categories,
but only selected one (well, you can always use v.edit for that).
perhaps we should
re r34762, etc.
G_percent() should stay at the start of the for loop. If the loop takes
a long time to run, 0% should print before the first iteration has begun,
and final 99/100% message in loop should not be printed before the last
iteration is complete. Otherwise it seems to stall at 99% done,
10 matches
Mail list logo