[GRASS-dev] r44766: v.what: cosmetics in output (empty lines)
Martin Landa
landa.martin at gmail.com
Wed Dec 29 15:35:05 EST 2010
Hi,
2010/12/29 Hamish <hamish_b at yahoo.com>:
> sorry but r44766: "v.what: cosmetics in output (empty lines)"
> will have to be reverted.
well, this commit just plays with empty lines in logical manner
$ v.what map=archsites east_north=595743,4925281 dist=250 --q -a
before
"""
East: 595743
North: 4925281
Map: archsites
Mapset: PERMANENT
Type: Point
Id: 8
Layer: 1
Category: 8
Driver: dbf
Database: /home/martin/grassdata/spearfish60/PERMANENT/dbf/
Table: archsites
Key column: cat
cat : 8
str1 : No Name
"""
after
"""
East: 595743
North: 4925281
Map: archsites
Mapset: PERMANENT
Type: Point
Id: 8
Layer: 1
Category: 8
Driver: dbf
Database: /home/martin/grassdata/spearfish60/PERMANENT/dbf/
Table: archsites
Key column: cat
cat : 8
str1 : No Name
"""
$ v.what map=archsites east_north=595743,4925281 dist=250 --q -ag
before
"""
East=595743
North=4925281
Map=archsites
Mapset=PERMANENT
Type=Point
Id=8
Layer=1
Category=8
Driver=dbf
Database=/home/martin/grassdata/spearfish60/PERMANENT/dbf/
Table=archsites
Key_column=cat
cat=8
str1=No_Name
"""
after
"""
East=595743
North=4925281
Map=archsites
Mapset=PERMANENT
Type=Point
Id=8
Layer=1
Category=8
Driver=dbf
Database=/home/martin/grassdata/spearfish60/PERMANENT/dbf/
Table=archsites
Key_column=cat
cat=8
str1=No_Name
"""
If you really thinking that it can break existing scripts, I have
problem to revert it. Anyway I can hardly imagine that it can break
goodly written script;-)
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
More information about the grass-dev
mailing list