#3536 closed defect (fixed)
python library db_table_in_vector function
Reported by: | lucadelu | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.4.1 |
Component: | Python | Version: | unspecified |
Keywords: | db_table_in_vector, db.droptable, pygrass table | Cc: | |
CPU: | All | Platform: | All |
Description
The function db_table_in_vector in db.py is looking for the vector of all the mapset. I think this is a problem specially when it is used in db.droptable.
Actually db_table_in_vector is used only in db.droptable and pygrass vector/table.py.
Attached I propose to add as default to look in actual mapset.
Attachments (1)
Change History (5)
by , 7 years ago
Attachment: | db_table_in_vector.diff added |
---|
comment:2 by , 7 years ago
Replying to lucadelu:
Can I submit this patch?
When changing it, could you replace 'vect' with 'vector' in list_strings()?
vects = list_strings('vector', mapset=mapset)
See manual of g.list
Thanks!
Note:
See TracTickets
for help on using tickets.
proposed patch for db_table_in_vector