Skip to content

Commit

Permalink
BGDIDIC-984: activate time support / timeseries for
Browse files Browse the repository at this point in the history
ch.swisstopo.pixelkarte-pk25.metadata
  • Loading branch information
ltclm committed Feb 7, 2024
1 parent 253419b commit d273869
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions chsdi/models/vector/stopo.py
Original file line number Diff line number Diff line change
Expand Up @@ -810,8 +810,8 @@ class GridstandTemplate:
id = Column('gid', BigInteger, primary_key=True)
tileid = Column('tileid', Unicode)
lk_name = Column('lk_name', Unicode)
datenstand = Column('release', Integer)
releasekey = Column('releasekey', Unicode)
datenstand = Column('release', Integer) # flightyear
releasekey = Column('releasekey', Unicode) # gdwh_releasekey
the_geom = Column(Geometry2D)


Expand All @@ -826,7 +826,9 @@ class GridstandPermiterTemplate:

class GridstandPk25Meta(Base, GridstandTemplate, Vector):
__bodId__ = 'ch.swisstopo.pixelkarte-pk25.metadata'
__tablename__ = 'view_gridstand_datenhaltung_pk25_tilecache'
__tablename__ = 'view_pk25_metadata'
__timeInstant__ = 'year'
year = Column('year', Unicode)


register('ch.swisstopo.pixelkarte-pk25.metadata', GridstandPk25Meta)
Expand Down

0 comments on commit d273869

Please sign in to comment.