Skip to content

Commit

Permalink
cleanup qgepsia405
Browse files Browse the repository at this point in the history
  • Loading branch information
sjib committed Jun 12, 2024
1 parent 5f7c77c commit c8b7ca9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions qgepqwat2ili/qgepsia405/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def modulo_angle(val):
if val is None:
return None

# 5.4.2023 add orientation
# add orientation
val = val + float(labelorientation)

val = val % 360.0
Expand All @@ -114,10 +114,11 @@ def create_metaattributes(row):
# FIELDS TO MAP TO ABWASSER.metaattribute
# --- metaattribute ---

# 31.3.2023 obj_id instead of name

# datenherr=getattr(row.fk_dataowner__REL, "name", "unknown"), # TODO : is unknown ok ?
# datenlieferant=getattr(row.fk_provider__REL, "name", "unknown"), # TODO : is unknown ok ?


# obj_id instead of name
datenherr=getattr(row.fk_dataowner__REL, "obj_id", "unknown"), # TODO : is unknown ok ?
datenlieferant=getattr(row.fk_provider__REL, "obj_id", "unknown"), # TODO : is unknown ok ?

Expand Down

0 comments on commit c8b7ca9

Please sign in to comment.