Changes between Initial Version and Version 2 of Ticket #1522


Ignore:
Timestamp:
Feb 16, 2012, 4:47:55 PM (12 years ago)
Author:
hamish
Comment:

verbatim formatting applied to ticket description.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1522 – Description

    initial v2  
    11map 'test' has two layers
    2 
     2{{{
    33Layer=1 Category=20 Table=net_table
    44Layer=2 Category=8  Table=links
    5 
     5}}}
     6{{{
    67Traceback (most recent call last):
    78  File "c:/osgeo4w/usr/src/grass-6.4.2RC2/dist.i686-pc-
     
    2829:
    2930'STATUS'
    30 
     31}}}
    3132
    3233v.what works fine
    33 
     34{{{
    3435>> ret = grass.read_command('v.what',
    3536                       quiet      = True,
     
    7576SETTINGS=
    7677TAG=ID12
    77 
     78}}}
    7879
    7980but grass.vector_what puts Layer 2 attributes into Layer 1
    80 
     81{{{
    8182>>data = grass.vector_what(map = 'test',coord = (60.0, 70.0), distance = 1.0)
    8283>>data
     
    106107'Type': 'Line',
    107108'Id': 20}]
     109}}}