Changes between Initial Version and Version 2 of Ticket #1522
- Timestamp:
- 02/16/12 16:47:55 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1522 – Description
initial v2 1 1 map 'test' has two layers 2 2 {{{ 3 3 Layer=1 Category=20 Table=net_table 4 4 Layer=2 Category=8 Table=links 5 5 }}} 6 {{{ 6 7 Traceback (most recent call last): 7 8 File "c:/osgeo4w/usr/src/grass-6.4.2RC2/dist.i686-pc- … … 28 29 : 29 30 'STATUS' 30 31 }}} 31 32 32 33 v.what works fine 33 34 {{{ 34 35 >> ret = grass.read_command('v.what', 35 36 quiet = True, … … 75 76 SETTINGS= 76 77 TAG=ID12 77 78 }}} 78 79 79 80 but grass.vector_what puts Layer 2 attributes into Layer 1 80 81 {{{ 81 82 >>data = grass.vector_what(map = 'test',coord = (60.0, 70.0), distance = 1.0) 82 83 >>data … … 106 107 'Type': 'Line', 107 108 'Id': 20}] 109 }}}