Accepts a list of paths to raster files to load into the database.
        Returns the ids of the rasters loaded successfully in the same order
        as the list passed in.

def load(self, tableName='rasters', rasters=[]):
        '''
        Accepts a list of paths to raster files to load into the database.
        Returns the ids of the rasters loaded successfully in the same order
        as the list passed in.
        '''
        # Create table if necessary
        Base.metadata.create_all(self._engine)

        # Create a session
        Session = sessionmaker(bind=self._engine)
        session = Session()

        for raster in rasters:
            # Must read in using the raster2pgsql commandline tool.
            rasterPath = raster['path']

            if 'srid' in raster:
                srid = str(raster['srid'])
            else:
                srid = '4326'

            if 'no-data' in raster:
                noData = str(raster['no-data'])
            else:
                noData = '-1'

            wellKnownBinary = RasterLoader.rasterToWKB(rasterPath, srid, noData, self._raster2pgsql)

            rasterBinary = wellKnownBinary

            # Get the filename
            filename = os.path.split(rasterPath)[1]

            # Populate raster record
            mapKitRaster = MapKitRaster()
            mapKitRaster.filename = filename
            mapKitRaster.raster = rasterBinary

            if 'timestamp' in raster:
                mapKitRaster.timestamp = raster['timestamp']

            # Add to session
            session.add(mapKitRaster)

        session.commit()