diff --git a/flurstuecks_finder_nrw.py b/flurstuecks_finder_nrw.py index b30320d..735f0ee 100644 --- a/flurstuecks_finder_nrw.py +++ b/flurstuecks_finder_nrw.py @@ -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)