Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Release 2024-10-09-rc1 #4448

Merged
merged 30 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
9f85478
Merge pull request #4436 from geoadmin/master
ltclm Sep 4, 2024
1b96a92
PB-201: Updated the CI name for milestone branch protection
ltshb Sep 4, 2024
27988af
Merge pull request #4437 from geoadmin/feat-PB-201-ci-milestones
ltshb Sep 4, 2024
a0de7de
BGDIDIC-642: with the migration to stac the image_number is empty
ltclm Sep 5, 2024
e7cd077
Merge pull request #4438 from geoadmin/fix_BGDIDIC-642_stac_terra_id
ltclm Sep 9, 2024
4410be3
BGDIDIC-662: add new release 2024
ltclm Sep 16, 2024
8dfd63b
Merge pull request #4439 from geoadmin/data_BGDIDIC-662_new_release_2024
ltclm Sep 16, 2024
f6df262
BGDIDIC-1259: download links are suffixed on stac with _2056
ltclm Sep 18, 2024
deb2917
Added layer BGDIDIC-2865: ch.babs.notfalltreffpunkte
rebert Sep 18, 2024
9dffa10
BGDIDIC-2865: lint
rebert Sep 18, 2024
175ca65
Merge pull request #4441 from geoadmin/BGDIDIC-2865-layer-notfalltref…
rebert Sep 18, 2024
95b25dc
BGDIDIC-2795: add zielort_dc_50_ladepunkte field
faselm Sep 23, 2024
25a04d4
BGDIDIC-2795: add zielort_dc_50_ladepunkte field
faselm Sep 23, 2024
275adf1
Merge pull request #4442 from geoadmin/feat-BGDIDIC-2795-ladebedarfsw…
faselm Sep 23, 2024
4e08bbc
BGDIDIC-695: update legends
faselm Sep 24, 2024
d777fb2
BGDIDIC-2865: fine tuning tooltip geometry sizes
ltclm Sep 25, 2024
2f1e9cf
Merge pull request #4444 from geoadmin/feat-BGDIDIC-2865-babs-notfall…
ltclm Sep 25, 2024
1999fbd
Merge pull request #4440 from geoadmin/data_BGDIDIC-1259_fix_tif_link
ltclm Sep 30, 2024
7d37733
BGDIDIC-695: fix legend typo
faselm Sep 30, 2024
0e599e5
Merge pull request #4443 from geoadmin/feat-BGDIDIC-695-volkszaehlung
faselm Sep 30, 2024
73888a5
Revert "BGDIDIC-2865: fine tuning tooltip geometry sizes"
ltclm Sep 30, 2024
d471ef0
Merge pull request #4446 from geoadmin/data_BGDIDIC-2865_revert_geome…
ltclm Sep 30, 2024
7f9dbc9
add template
ltclm Sep 30, 2024
bf2009f
Add announcements to index.rst
mariokeusen Oct 1, 2024
8c14d97
Update index.rst
mariokeusen Oct 1, 2024
b8e5dd6
add ltfas layers
faselm Oct 3, 2024
867275f
Complete list of new and updated layerz
mariokeusen Oct 4, 2024
20144f6
Small adaptations on announcements
mariokeusen Oct 4, 2024
0fb7d88
add layer ltclm
ltclm Oct 7, 2024
40837e6
Merge pull request #4447 from geoadmin/feat-relnotes_20241009
rebert Oct 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/create-milestone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ jobs:
uses: geoadmin/.github/.github/workflows/create-milestone.yml@master
secrets: inherit
with:
ci_status_check_name: 'AWS CodeBuild eu-central-1 (mf-chsdi3)'
ci_status_check_name: 'AWS CodeBuild eu-central-1 (mf-chsdi3-pr)'
1 change: 1 addition & 0 deletions chsdi/models/vector/uvek.py
Original file line number Diff line number Diff line change
Expand Up @@ -4296,6 +4296,7 @@ class LadebedarfsweltLadepunkte:
allgemein_zugaenglich_anzahl_ladepunkte = Column('allgemein_zugaenglich_anzahl_ladepunkte', Float)
quartier_ac_ladepunkte = Column('quartier_ac_ladepunkte', Float)
zielort_ac_ladepunkte = Column('zielort_ac_ladepunkte', Float)
zielort_dc_50_ladepunkte = Column('zielort_dc_50_ladepunkte', Float)
quartier_dc_150_ladepunkte = Column('quartier_dc_150_ladepunkte', Float)
schnell_dc_150_ladepunkte = Column('schnell_dc_150_ladepunkte', Float)
schnell_dc_350_ladepunkte = Column('schnell_dc_350_ladepunkte', Float)
Expand Down
38 changes: 38 additions & 0 deletions chsdi/models/vector/vbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,44 @@ class BundestankstellenBebecoZoom2(Base, BundestankstellenBebeco, Vector):
register(BundestankstellenBebeco.__bodId__, BundestankstellenBebecoZoom2)


class Notfalltreffpunkte:
__tablename__ = 'v_notfalltreffpunkte'
__table_args__ = ({'schema': 'babs', 'autoload': False, 'extend_existing': True})
__template__ = 'templates/htmlpopup/notfalltreffpunkte.mako'
__bodId__ = 'ch.babs.notfalltreffpunkte'
__label__ = 'id'
__returnedGeometry__ = 'the_geom_point'
id = Column('ntp_id', Unicode, primary_key=True)
gebbezeichnung = Column('gebbezeichnung', Unicode)
strasse = Column('strasse', Unicode)
haus_nummer = Column('haus_nummer', Unicode)
plz = Column('plz', Integer)
ort = Column('ort', Unicode)
gemeinde = Column('gemeinde', Unicode)
kanton = Column('kanton', Unicode)
xkoord = Column('xkoord', Integer)
ykoord = Column('ykoord', Integer)
linkkanton = Column('linkkanton', Unicode)
linkbabs = Column('linkbabs', Unicode)
bemerkungen = Column('bemerkungen', Unicode)
the_geom_point = Column('the_geom', Geometry2D)


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

register(NotfalltreffpunkteZoom1.__bodId__, NotfalltreffpunkteZoom1)


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

register(NotfalltreffpunkteZoom2.__bodId__, NotfalltreffpunkteZoom2)


class LogistikraeumeArmeelogistikcenter(Base, Vector):
__tablename__ = 'abschnittsregionen_armeelogistikzentren'
__table_args__ = ({'schema': 'militaer', 'autoload': False})
Expand Down
103 changes: 103 additions & 0 deletions chsdi/static/doc/source/releasenotes/index.rst

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions chsdi/templates/htmlpopup/bfe_ladebedarfswelt_ladepunkte.mako
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
<td class="cell-left-large">${_('ch.bfe.ladebedarfswelt-ladepunkte_bequem.Zielort_AC_Ladepunkte')}</td>
<td>${c['attributes']['zielort_ac_ladepunkte'] or '-'}</td>
</tr>
<tr>
<td class="cell-left-large">${_('ch.bfe.ladebedarfswelt-ladepunkte_bequem.Zielort_DC_50_Ladepunkte')}</td>
<td>${c['attributes']['zielort_dc_50_ladepunkte'] or '-'}</td>
</tr>
<tr>
<td class="cell-left-large">${_('ch.bfe.ladebedarfswelt-ladepunkte_bequem.Quartier_DC_150_Ladepunkte')}</td>
<td>${c['attributes']['quartier_dc_150_ladepunkte'] or '-'}</td>
Expand Down
3 changes: 1 addition & 2 deletions chsdi/templates/htmlpopup/lubis_schraegaufnahmen.mako
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ isStac = c['featureId'].startswith('lubis-luftbilder_schraegaufnahmen')
# there is no way to open to activate the orthophoto with the link parameters
if isStac:
dataGeoAdminHost = request.registry.settings['datageoadminhost']
asset_url=f"{dataGeoAdminHost}/{c['layerBodId']}/{c['featureId']}/{c['featureId']}.tif"
asset_url=f"{dataGeoAdminHost}/{c['layerBodId']}/{c['featureId']}/{c['featureId']}_2056.tif"
preview_url=f"{dataGeoAdminHost}/{c['layerBodId']}/{c['featureId']}/{c['featureId']}.jpg"
meta_csv_url=f"{dataGeoAdminHost}/{c['layerBodId']}/{c['featureId']}/{c['featureId']}.csv"
viewer_url=asset_url
Expand Down Expand Up @@ -166,7 +166,6 @@ if not isStac:
lang,
image_rotation)
viewer_url = get_viewer_url(request, params)

%>

% if isStac: # STAC Tooltips
Expand Down
3 changes: 1 addition & 2 deletions chsdi/templates/htmlpopup/lubis_terra.mako
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,8 @@ else:
%>
% if isStac: # STAC Tooltips
<tr><td class="cell-left">${_(tt_lubis_ebkey)}</td> <td>${c['attributes']['image_number'] or '-'}</td></tr>
<tr><td class="cell-left">${_(tt_lubis_ebkey)}</td> <td><a href="${asset_url}" target="_blank">${c['featureId'] or '-'}</a></td></tr>
<tr><td class="cell-left">${_('ch.swisstopo.lubis-terrestrische_aufnahmen.tt_lubis_aufnahmedatum')}</td><td>${datum or '-'}</td></tr>
<tr><td class="cell-left">${_('tt_lubis_bildpfad')}</td> <td>${c['attributes']['filename'] or '-'}</td></tr>
<tr><td class="cell-left">${_('ch.swisstopo.lubis-terrestrische_aufnahmen.operate_name')}</td> <td>${c['attributes']['ort'] or '-'}</td></tr>
<tr><td class="cell-left">${_('ch.swisstopo.lubis-terrestrische_aufnahmen.station')}</td> <td>${c['attributes']['station'] or '-'}</td></tr>
<tr><td class="cell-left">${_('tt_lubis_schraegaufnahmen_x')}</td> <td>${c['attributes']['x'] or '-'}</td></tr>
Expand Down
24 changes: 24 additions & 0 deletions chsdi/templates/htmlpopup/notfalltreffpunkte.mako
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<%inherit file="base.mako"/>

<%def name="table_body(c, lang)">
<% c['stable_id'] = True %>
<tr><td class="cell-left">${_('ch.babs.notfalltreffpunkte.ntp_id')}</td> <td>${c['featureId']}</td></tr>
<tr><td class="cell-left">${_('ch.babs.notfalltreffpunkte.gebbezeichnung')}</td> <td>${c['attributes']['gebbezeichnung']}</td></tr>
<tr><td class="cell-left">${_('ch.babs.notfalltreffpunkte.strasse')}</td> <td>${c['attributes']['strasse']}</td></tr>
<tr><td class="cell-left">${_('ch.babs.notfalltreffpunkte.haus_nummer')}</td> <td>${c['attributes']['haus_nummer']}</td></tr>
<tr><td class="cell-left">${_('ch.babs.notfalltreffpunkte.plz_ort')}</td><td>${c['attributes']['plz']}&nbsp;${c['attributes']['ort']}</td></tr>
<tr><td class="cell-left">${_('ch.babs.notfalltreffpunkte.gemeinde')}</td><td>${c['attributes']['gemeinde']}</td></tr>
<tr><td class="cell-left">${_('ch.babs.notfalltreffpunkte.kanton')}</td><td>${c['attributes']['kanton']}</td></tr>
<tr><td class="cell-left">${_('ch.babs.notfalltreffpunkte.koord')}</td><td>${c['attributes']['xkoord']},&nbsp;${c['attributes']['ykoord']}</td></tr>
% if c['attributes']['linkkanton'] is not None:
<tr><td class="cell-left">${_('ch.babs.notfalltreffpunkte.linkkanton')}</td><td><a href="${c['attributes']['linkkanton']}" target="_blank">${_('link')}</a></td></tr>
% else:
<tr><td class="cell-left">${_('ch.babs.notfalltreffpunkte.linkkanton')}</td><td>-</td></tr>
% endif
% if c['attributes']['linkbabs'] is not None:
<tr><td class="cell-left">${_('ch.babs.notfalltreffpunkte.linkbabs')}</td><td><a href="${c['attributes']['linkbabs']}" target="_blank">${_('link')}</a></td></tr>
% else:
<tr><td class="cell-left">${_('ch.babs.notfalltreffpunkte.linkbabs')}</td><td>-</td></tr>
% endif
<tr><td class="cell-left">${_('ch.babs.notfalltreffpunkte.bemerkungen')}</td><td>${c['attributes']['bemerkungen'] or "-"}</td></tr>
</%def>
Loading