Skip to content

Commit

Permalink
Merge pull request #4281 from geoadmin/feat-BGDIDIC-1347-decomm-prona…
Browse files Browse the repository at this point in the history
…tura-waldreservate

BGDIDIC-1347: delete model and mako
  • Loading branch information
faselm authored Nov 6, 2023
2 parents 152c0e9 + af727eb commit 1256346
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 61 deletions.
23 changes: 1 addition & 22 deletions chsdi/models/vector/dritte.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

from sqlalchemy import Column, Unicode, Integer, Float
from sqlalchemy import Column, Unicode, Integer
from sqlalchemy.types import Numeric

from chsdi.models import register, bases
Expand All @@ -24,27 +24,6 @@ class Notfallschutz(Base, Vector):
register('ch.ensi.zonenplan-notfallschutz-kernanlagen', Notfallschutz)


class PronaturaWaldreservate(Base, Vector):
__tablename__ = 'waldreservate'
__table_args__ = ({'schema': 'pronatura', 'autoload': False})
__template__ = 'templates/htmlpopup/pronatura.mako'
__bodId__ = 'ch.pronatura.waldreservate'
__label__ = 'name'
id = Column('bgdi_id', Integer, primary_key=True)
objnummer = Column('objnummer', Integer)
name = Column('name', Unicode)
gisflaeche = Column('obj_gisflaeche', Float)
gesflaeche = Column('obj_gesflaeche', Float)
gisteilobjekt = Column('obj_gisteilobjekt', Float)
mcpfe_class_de = Column('mcpfe_class_de', Unicode)
mcpfe_class_fr = Column('mcpfe_class_fr', Unicode)
mcpfe_class_it = Column('mcpfe_class_it', Unicode)
mcpfe_class_en = Column('mcpfe_class_en', Unicode)
the_geom = Column(Geometry2D)

register(PronaturaWaldreservate.__bodId__, PronaturaWaldreservate)


class PronaturaNaturschutzgebiete(Base, Vector):
__tablename__ = 'naturschutzgebiete'
__table_args__ = ({'schema': 'pronatura', 'autoload': False})
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
39 changes: 0 additions & 39 deletions chsdi/templates/htmlpopup/pronatura.mako

This file was deleted.

0 comments on commit 1256346

Please sign in to comment.