diff --git a/chsdi/models/vector/stopo.py b/chsdi/models/vector/stopo.py index f2912d3f83..2cfac182a1 100644 --- a/chsdi/models/vector/stopo.py +++ b/chsdi/models/vector/stopo.py @@ -919,7 +919,8 @@ class GridstandSwisssurface3d(Base, Vector): __template__ = 'templates/htmlpopup/swisssurface3d.mako' __label__ = 'id' id = Column('tilekey', Unicode, primary_key=True) - temporalkey = Column('temporalkey', Integer) + gpstime_min = Column('gpstime_min', Integer) + gpstime_max = Column('gpstime_max', Integer) the_geom = Column(Geometry2D) register('ch.swisstopo.swisssurface3d.metadata', GridstandSwisssurface3d) diff --git a/chsdi/templates/htmlpopup/swisssurface3d.mako b/chsdi/templates/htmlpopup/swisssurface3d.mako index f786578674..791555ae2e 100644 --- a/chsdi/templates/htmlpopup/swisssurface3d.mako +++ b/chsdi/templates/htmlpopup/swisssurface3d.mako @@ -2,5 +2,6 @@ <%def name="table_body(c, lang)"> ${_('ch.swisstopo.swisssurface3d.metadata.tilekey')} ${c['id'] or '-'} - ${_('ch.swisstopo.swisssurface3d.metadata.temporalkey')} ${c['attributes']['temporalkey'] or '-'} + ${_('ch.swisstopo.swisssurface3d.metadata.gpstime_min')} ${c['attributes']['gpstime_min'] or '-'} + ${_('ch.swisstopo.swisssurface3d.metadata.gpstime_max')} ${c['attributes']['gpstime_max'] or '-'}