In [1]:
import fiona

#load the file
c = fiona.open('../../data/data_upload/AM.1.a.Timespentwalkingbiking/SanFranciscoWalkBike.shp','r')

In [2]:
#iterate over the file
for geog in list(c):
    #get the geometry = ie, the polygon or point
    geometry = geog['geometry']
    #get the properties DATA
    propeties = geog['properties']
    keys = propeties.keys()
    f

In [4]:
# Create the table, and such
from utils.db_connection import *


---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-4-31bb26d268b9> in <module>()
----> 1 from utils.db_connection import *

ImportError: No module named utils.db_connection

In [ ]: