Skip to content

Commit

Permalink
Merge pull request #4446 from geoadmin/data_BGDIDIC-2865_revert_geome…
Browse files Browse the repository at this point in the history
…tries

Revert "BGDIDIC-2865: fine tuning tooltip geometry sizes"
  • Loading branch information
ltclm authored Sep 30, 2024
2 parents 0e599e5 + 73888a5 commit d471ef0
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions chsdi/models/vector/vbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,25 +221,18 @@ class Notfalltreffpunkte:
the_geom_point = Column('the_geom', Geometry2D)


class NotfalltreffpunkteZoom0(Base, Notfalltreffpunkte, Vector):
__minscale__ = 100000
the_geom = Column('the_geom_tooltip_0', Geometry2D)


class NotfalltreffpunkteZoom1(Base, Notfalltreffpunkte, Vector):
__minscale__ = 1
__maxscale__ = 100000
__minscale__ = 25000
the_geom = Column('the_geom_tooltip_1', Geometry2D)
the_geom = Column('the_geom_tooltip_2', Geometry2D)

register(NotfalltreffpunkteZoom1.__bodId__, NotfalltreffpunkteZoom1)

class NotfalltreffpunkteZoom2(Base, Notfalltreffpunkte, Vector):
__maxscale__ = 25000
__minscale__ = 1
the_geom = Column('the_geom_tooltip_2', Geometry2D)

class NotfalltreffpunkteZoom2(Base, Notfalltreffpunkte, Vector):
__minscale__ = 100000
the_geom = Column('the_geom_tooltip', Geometry2D)

register(NotfalltreffpunkteZoom0.__bodId__, NotfalltreffpunkteZoom0)
register(NotfalltreffpunkteZoom1.__bodId__, NotfalltreffpunkteZoom1)
register(NotfalltreffpunkteZoom2.__bodId__, NotfalltreffpunkteZoom2)


Expand Down

0 comments on commit d471ef0

Please sign in to comment.