Skip to content

Commit

Permalink
Merge pull request #103 from QGEP/2023-03-Bezeichnung-missing-null_to…
Browse files Browse the repository at this point in the history
…_emptystr

2023-03-Bezeichnung-missing-null_to_emptystr
  • Loading branch information
olivierdalang committed Mar 9, 2023
2 parents 6764e09 + d6d01f9 commit 8d2ad41
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 @@ -222,7 +222,7 @@ def textpos_common(row, t_type, geojson_crs_def):
# --- organisation ---
auid=row.uid,
bemerkung=truncate(emptystr_to_null(row.remark), 80),
bezeichnung=row.identifier,
bezeichnung=null_to_emptystr(row.identifier),
)
abwasser_session.add(organisation)
create_metaattributes(row)
Expand Down Expand Up @@ -444,7 +444,7 @@ def textpos_common(row, t_type, geojson_crs_def):
**base_common(row, "rohrprofil"),
# --- rohrprofil ---
bemerkung=truncate(emptystr_to_null(row.remark), 80),
bezeichnung=row.identifier,
bezeichnung=null_to_emptystr(row.identifier),
hoehenbreitenverhaeltnis=row.height_width_ratio,
profiltyp=get_vl(row.profile_type__REL),
)
Expand Down

0 comments on commit 8d2ad41

Please sign in to comment.