@@ -0,0 +1,1217 @@
+from tilezilla.db.sqlite.tables import Base, TileSpec, Tile%0A%0A%0Aif __name__ == '__main__':%0A    from tilezilla import tilespec, products, stores%0A    from sqlalchemy import create_engine%0A    from sqlalchemy.orm import sessionmaker%0A#    engine = create_engine('sqlite:///:memory:', echo=True)%0A    engine = create_engine('sqlite:///testing.db', echo=True)%0A    Base.metadata.create_all(engine)%0A    session = sessionmaker(bind=engine)()%0A%0A    # Create the tile specification%0A    weld_conus = tilespec.TILESPECS%5B'WELD_CONUS'%5D%0A    sql_weld_conus = TileSpec.from_class(weld_conus)%0A    session.add(sql_weld_conus)%0A    session.commit()%0A%0A    # Create a product%0A    prod = products.ESPALandsat('tests/data/LT50120312002300-SC20151009172149_EPSG5070/')%0A%0A    # Find and add tiles for product%0A    tiles = weld_conus.bounds_to_tile(prod.bounding_box(weld_conus.crs))%0A    for tile in tiles:%0A        sql_tile = Tile(ref_tilespec_id=sql_weld_conus.id,%0A                        horizontal=tile.horizontal,%0A                        vertical=tile.vertical,%0A                        hv='h%7B%7Dv%7B%7D'.format(tile.horizontal, tile.vertical))%0A        session.add(sql_tile)%0A    session.commit()%0A    from IPython.core.debugger import Pdb; Pdb().set_trace()%0A

Add demo code for later