Skip to content

Commit

Permalink
BGDIDIC-1596: update field names
Browse files Browse the repository at this point in the history
  • Loading branch information
faselm committed Nov 14, 2023
1 parent 9deaf0d commit 2c6197a
Showing 1 changed file with 35 additions and 15 deletions.
50 changes: 35 additions & 15 deletions chsdi/models/vector/stopo.py
Original file line number Diff line number Diff line change
Expand Up @@ -1551,19 +1551,30 @@ class GeologieRohstoffeZementAbbauVerarbeitung(Base, Vector):
__template__ = 'templates/htmlpopup/rohstoffe_zement_abbau_verarbeitung.mako'
__bodId__ = 'ch.swisstopo.geologie-rohstoffe-zement_abbau_verarbeitung'
__label__ = 'obname'
id = Column('obid', Integer, primary_key=True)
id = Column('bgdi_id', Integer, primary_key=True)
type = Column('type', Unicode)
obname = Column('obname', Unicode)
tckinds = Column('tckinds', Unicode)
ltkinds = Column('ltkinds', Unicode)
emkinds = Column('emkinds', Unicode)
pckind = Column('pckind', Unicode)
cpkind = Column('cpkind', Unicode)
stkind = Column('stkind', Unicode)
tlyearsformatted = Column('tlyearsformatted', Unicode)
clkind = Column('clkind', Unicode)
stkind_de = Column('stkind_de', Unicode)
stkind_fr = Column('stkind_fr', Unicode)
stkind_it = Column('stkind_it', Unicode)
stkind_en = Column('stkind_en', Unicode)
info_url_de = Column('info_url_de', Unicode)
info_url_fr = Column('info_url_fr', Unicode)
info_url_it = Column('info_url_it', Unicode)
info_url_en = Column('info_url_en', Unicode)
purl = Column('purl', Unicode)
the_geom = Column(Geometry2D)

swissgeol_link = Column('swissgeol_link', Unicode)
edkinds = Column('cpkind', Unicode)
ltkinds_de = Column('ltkinds_de', Unicode)
ltkinds_fr = Column('ltkinds_fr', Unicode)
ltkinds_it = Column('ltkinds_it', Unicode)
ltkinds_en = Column('ltkinds_en', Unicode)
infos_url_de = Column('infos_url_de', Unicode)
infos_url_fr = Column('infos_url_fr', Unicode)
infos_url_it = Column('infos_url_it', Unicode)
infos_url_en = Column('infos_url_en', Unicode)

register('ch.swisstopo.geologie-rohstoffe-zement_abbau_verarbeitung', GeologieRohstoffeZementAbbauVerarbeitung)


Expand All @@ -1575,12 +1586,21 @@ class GeologieRohstoffeZiegelAbbau(Base, Vector):
__label__ = 'obname'
id = Column('bgdi_id', Integer, primary_key=True)
obname = Column('obname', Unicode)
tckinds = Column('tckinds', Unicode)
ltkinds = Column('ltkinds', Unicode)
stkind = Column('stkind', Unicode)
tlyearsformatted = Column('tlyearsformatted', Unicode)
cpkind = Column('cpkind', Unicode)
stkind_de = Column('stkind_de', Unicode)
stkind_fr = Column('stkind_fr', Unicode)
stkind_it = Column('stkind_it', Unicode)
stkind_en = Column('stkind_en', Unicode)
infos_url_de = Column('infos_url_de', Unicode)
infos_url_fr = Column('infos_url_fr', Unicode)
infos_url_it = Column('infos_url_it', Unicode)
infos_url_en = Column('infos_url_en', Unicode)
purl = Column('purl', Unicode)
clkind = Column('clkind', Unicode)
swissgeol_link = Column('swissgeol_link', Unicode)
ltkinds_de = Column('ltkinds_de', Unicode)
ltkinds_fr = Column('ltkinds_fr', Unicode)
ltkinds_it = Column('ltkinds_it', Unicode)
ltkinds_en = Column('ltkinds_en', Unicode)
the_geom = Column(Geometry2D)

register(GeologieRohstoffeZiegelAbbau.__bodId__, GeologieRohstoffeZiegelAbbau)
Expand Down

0 comments on commit 2c6197a

Please sign in to comment.