Skip to content

Commit

Permalink
Verwende Feldlänge 1000 für 'LAGEBEZTXT'
Browse files Browse the repository at this point in the history
  • Loading branch information
pathmapper committed Feb 7, 2022
1 parent 5f1c14b commit 9adffa3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flurstuecks_finder_nrw.py
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,10 @@ def SearchFlurstueck(self, art, mouse_click):
geometry = 'geometrie'
fields = QgsFields()
for fieldname in fieldnames:
fields.append(QgsField(fieldname, QVariant.String, '', 100, 0))
fieldlength = 100
if fieldname == 'LAGEBEZTXT':
fieldlength = 1000
fields.append(QgsField(fieldname, QVariant.String, '', fieldlength, 0))
gml = None
gml = QgsGml(typename, geometry, fields)
wfs_request = gml.getFeaturesUri(url)
Expand Down

0 comments on commit 9adffa3

Please sign in to comment.