Skip to content

Commit

Permalink
Merge pull request #4354 from geoadmin/data_BGDIDIC-984_activate_time…
Browse files Browse the repository at this point in the history
…series

Revert "Merge pull request #4340 from geoadmin/data_BGDIDIC-984_revert"
  • Loading branch information
ltclm authored Mar 13, 2024
2 parents 4395ea4 + 483b065 commit 5168f21
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 5168f21

Please sign in to comment.