Writing features without geometrier to SHP causes Python error #27086
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Feedback
Waiting on the submitter for answers
Modeller
Processing
Relating to QGIS Processing framework or individual Processing algorithms
stale
Uh oh! Seems this work is abandoned, and the PR is about to close.
Author Name: Magnus Nilsson (Magnus Nilsson)
Original Redmine Issue: 19258
Affected QGIS version: 3.2
Redmine category:processing/modeller
When I drop the feature geometries in a processing model and specify SHP as output, I get this Pythin error:
Processing algorithm…
Algorithm 'modell' starting…
Indataparametrar:
{ 'indata' : 'C:/Users/Magnus/Desktop/Stenungsund/ay_1415.shp', 'native:dropgeometries_1:Resultat' : 'C:/Users/Magnus/Desktop/Modellresultat/Resultat.shp' }
Förbered algoritm: native:dropgeometries_1
Kör Släng geometrier [1/1]
Indataparametrar:
{ INPUT: 'C:/Users/Magnus/Desktop/Stenungsund/ay_1415.shp', OUTPUT: 'C:/Users/Magnus/Desktop/Modellresultat/Resultat.shp' }
OK. Exekveringen tog 0.339 s (1 utdata).
Modellen kördes korrekt. Exekverade 1 algoritmer totalt på 0.378 s.
Beräkningen utfördes på 0.39 sekunder
Resultat:
{'native:dropgeometries_1:Resultat': 'C:/Users/Magnus/Desktop/Modellresultat/Resultat.shp'}
Läser in lagerresultat
Följande lager skapades inte korrekt.
- C:/Users/Magnus/Desktop/Modellresultat/Resultat.shp
Du kan kontrollera 'Loggmeddelande' panelen i QGIS huvudfönster för att hitta mer information om exekveringen av algoritmen.SHP-files do of course need geometry, but this case should be better taken care of, for example with a warning to the user.
The text was updated successfully, but these errors were encountered: