Skip to content

Commit

Permalink
t.vect.in.sos uses yet existing layers if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
pesekon2 committed Aug 14, 2017
1 parent 0c15705 commit 9fa89ab
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions t.vect.in.sos/t.vect.in.sos.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,8 @@ def create_maps(parsed_obs, offering):

i += 1
else:
new.open(mode='rw', tab_name=tableName,
tab_cols=cols, link_name=tableName,
overwrite=True)
new.open(mode='rw',
layer=layersTimestamps.index(timestamp))

new.write(Point(*a['geometry']['coordinates']),
(name, value))
Expand Down

0 comments on commit 9fa89ab

Please sign in to comment.