Skip to content

Commit

Permalink
adding comment if no filter is set
Browse files Browse the repository at this point in the history
  • Loading branch information
sjib committed Jul 17, 2024
1 parent a33819a commit 5d99389
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions qgepqwat2ili/qgepdss/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@ def textpos_common(row, t_type, geojson_crs_def):

logger.info("Exporting QGEP.river -> ABWASSER.fliessgewaesser, ABWASSER.metaattribute")
query = qgep_session.query(QGEP.river)
# always export all river
for row in query:
# AVAILABLE FIELDS IN QGEP.river

Expand Down Expand Up @@ -479,6 +480,7 @@ def textpos_common(row, t_type, geojson_crs_def):

logger.info("Exporting QGEP.lake -> ABWASSER.see, ABWASSER.metaattribute")
query = qgep_session.query(QGEP.lake)
# always export all lake
for row in query:
# AVAILABLE FIELDS IN QGEP.lake

Expand Down Expand Up @@ -514,6 +516,7 @@ def textpos_common(row, t_type, geojson_crs_def):

logger.info("Exporting QGEP.water_course_segment -> ABWASSER.gewaesserabschnitt, ABWASSER.metaattribute")
query = qgep_session.query(QGEP.water_course_segment)
# always export all water_course_segment
for row in query:

# AVAILABLE FIELDS IN QGEP.water_course_segment
Expand Down Expand Up @@ -563,6 +566,7 @@ def textpos_common(row, t_type, geojson_crs_def):

logger.info("Exporting QGEP.water_catchment -> ABWASSER.wasserfassung, ABWASSER.metaattribute")
query = qgep_session.query(QGEP.water_catchment)
# always export all water_catchment
for row in query:

# AVAILABLE FIELDS IN QGEP.water_catchment
Expand Down Expand Up @@ -596,6 +600,7 @@ def textpos_common(row, t_type, geojson_crs_def):
abwasser_session.flush()

logger.info("Exporting QGEP.river_bank -> ABWASSER.ufer, ABWASSER.metaattribute")
# always export all river_bank
query = qgep_session.query(QGEP.river_bank)
for row in query:

Expand Down Expand Up @@ -635,6 +640,7 @@ def textpos_common(row, t_type, geojson_crs_def):

logger.info("Exporting QGEP.river_bed -> ABWASSER.gewaessersohle, ABWASSER.metaattribute")
query = qgep_session.query(QGEP.river_bed)
# always export all river_bed
for row in query:

# AVAILABLE FIELDS IN QGEP.river_bed
Expand Down Expand Up @@ -670,6 +676,7 @@ def textpos_common(row, t_type, geojson_crs_def):

logger.info("Exporting QGEP.sector_water_body -> ABWASSER.gewaessersektor, ABWASSER.metaattribute")
query = qgep_session.query(QGEP.sector_water_body)
# always export all sector_water_body
for row in query:

# AVAILABLE FIELDS IN QGEP.sector_water_body
Expand Down Expand Up @@ -709,6 +716,7 @@ def textpos_common(row, t_type, geojson_crs_def):

logger.info("Exporting QGEP.administrative_office -> ABWASSER.amt, ABWASSER.metaattribute")
query = qgep_session.query(QGEP.administrative_office)
# always export all administrative_office
for row in query:
# AVAILABLE FIELDS IN QGEP.administrative_office

Expand Down Expand Up @@ -743,6 +751,7 @@ def textpos_common(row, t_type, geojson_crs_def):

logger.info("Exporting QGEP.cooperative -> ABWASSER.genossenschaft_korporation, ABWASSER.metaattribute")
query = qgep_session.query(QGEP.cooperative)
# always export all cooperative
for row in query:
# AVAILABLE FIELDS IN QGEP.cooperative

Expand Down Expand Up @@ -777,6 +786,7 @@ def textpos_common(row, t_type, geojson_crs_def):

logger.info("Exporting QGEP.canton -> ABWASSER.kanton, ABWASSER.metaattribute")
query = qgep_session.query(QGEP.canton)
# always export all canton
for row in query:
# AVAILABLE FIELDS IN QGEP.canton

Expand Down Expand Up @@ -812,6 +822,7 @@ def textpos_common(row, t_type, geojson_crs_def):

logger.info("Exporting QGEP.waste_water_association -> ABWASSER.abwasserverband, ABWASSER.metaattribute")
query = qgep_session.query(QGEP.waste_water_association)
# always export all waste_water_association
for row in query:
# AVAILABLE FIELDS IN QGEP.waste_water_association

Expand Down Expand Up @@ -846,6 +857,7 @@ def textpos_common(row, t_type, geojson_crs_def):

logger.info("Exporting QGEP.municipality -> ABWASSER.gemeinde, ABWASSER.metaattribute")
query = qgep_session.query(QGEP.municipality)
# always export all municipality
for row in query:
# AVAILABLE FIELDS IN QGEP.municipality

Expand Down Expand Up @@ -886,6 +898,7 @@ def textpos_common(row, t_type, geojson_crs_def):

logger.info("Exporting QGEP.waste_water_treatment_plant -> ABWASSER.abwasserreinigungsanlage, ABWASSER.metaattribute")
query = qgep_session.query(QGEP.waste_water_treatment_plant)
# always export all waste_water_treatment_plant
for row in query:
# AVAILABLE FIELDS IN QGEP.waste_water_treatment_plant

Expand Down

0 comments on commit 5d99389

Please sign in to comment.