Skip to content

Commit

Permalink
Merge pull request #41 from QGEP/2021_08-fix_34
Browse files Browse the repository at this point in the history
fix #34 add missing attributes for abwasserbauwerk
  • Loading branch information
olivierdalang authored Aug 26, 2021
2 parents cdf7105 + 50fe7fd commit bc0f3f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qgepqwat2ili/qgep/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ def wastewater_structure_common(row):
warnings.warn(f"Mapping of wastewater_structure->abwasserbauwerk is not fully implemented.")
return {
# --- abwasserbauwerk ---
# 'akten': row.REPLACE_ME, # TODO : not sure, is it contract_section or records ?
"akten": row.records,
"astatus": get_vl(row.status__REL),
"baujahr": row.year_of_construction,
"baulicherzustand": get_vl(row.structure_condition__REL),
# 'baulos': row.REPLACE_ME, # TODO : not sure, is it contract_section or records ?
"baulos": row.contract_section,
"bemerkung": row.remark,
"betreiberref": get_tid(row.fk_operator__REL),
"bezeichnung": null_to_emptystr(row.identifier),
Expand Down

0 comments on commit bc0f3f4

Please sign in to comment.