GIScience / orstools-qgis-plugin

Plugin for QGIS with a set of tools to use openrouteservice API´s, based on openstreetmap
https://plugins.qgis.org/plugins/ORStools/
MIT License
91 stars 31 forks source link

"Directions from Points 1 Layer" cant store Layer_ID field #124

Closed wmeinolf closed 3 years ago

wmeinolf commented 3 years ago

Here's what I did

Since quite a while I use "Directions from Points 1 Layer" in a qgis model. Recently, perhaps asince 3.16 Upgrade, the model does not work anymore. Today I tested "Directions from Points 1 Layer" directly started from processsing toolbox on a Layer with 2 points.

Here's what I got

The output layer, where I expext the route is created horever it's empty. I get the following protocol:

QGIS-Version: 3.16.0-Hannover QGIS-Codeversion: 43b64b13f3 Qt-Version: 5.11.2 GDAL-Version: 3.1.4 GEOS-Version: 3.8.1-CAPI-1.13.3 PROJ-Version: Rel. 6.3.2, May 1st, 2020 Verarbeite Algorithmus… Algorithmus Directions From Points 1 Layer startet… Eingabeparameter: { 'INPUT_LAYER_FIELD' : 'fid', 'INPUT_OPTIMIZE' : False, 'INPUT_POINT_LAYER' : 'C:/Users/WMeinolf/QGIS Root/temp/CLA Temp.gpkg|layername=zusammengeführt', 'INPUT_PREFERENCE' : 0, 'INPUT_PROFILE' : 0, 'INPUT_PROVIDER' : 0, 'OUTPUT' : 'TEMPORARY_OUTPUT' }

Objekt konnten nicht in Output_Layer_f2abb624_05f4_47f1_8cb8_fee838cb534d geschrieben werden: Konnte Attribut "fid" nicht speichern: Wert "" ist keine Zahl Ausführung nach 0.19 Sekunden abgeschlossen Ergebnisse: {'OUTPUT': 'Output_Layer_f2abb624_05f4_47f1_8cb8_fee838cb534d'}

Lade Ergebnis Layer Algorithmus 'Directions From Points 1 Layer' beendet

It states, that Attribute 2fid" couls not be stored as the value "" is no number. I tries various attribute types including to store the layer in GPKG to generate FID. Nothing helped. What do I wrong?

Here's what I was expecting

Layer with route between the 2 points of the layer as I got in the past.


Here's what I think could be improved

Sorry, I cant contribute here.