Mercurial Hosting > traffic-intelligence
diff python/storage.py @ 259:8ab76b95ee72
added code to save collision points and crossing zones in txt files
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Tue, 24 Jul 2012 15:18:12 -0400 |
parents | 583a2c4622f9 |
children | c71540470057 |
line wrap: on
line diff
--- a/python/storage.py Tue Jul 24 12:37:47 2012 -0400 +++ b/python/storage.py Tue Jul 24 15:18:12 2012 -0400 @@ -12,6 +12,16 @@ 'car':2, 'truck':3} +######################### +# txt files +######################### + + + +######################### +# Sqlite +######################### + def writeTrajectoriesToSqlite(objects, outFile, trajectoryType, objectNumbers = -1): """ This function writers trajectories to a specified sqlite file