-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OGR processing of scratch layers doesn't work #25185
Comments
Author Name: Tobias Wendorff (Tobias Wendorff) Copy of the error message:
Seems like the comma is wrong :) |
Author Name: Tobias Wendorff (Tobias Wendorff) Argh... of course the comma is wrong. It expects a field! But this isn't needed... |
Author Name: Nyall Dawson (@nyalldawson) Does it work correctly if you add a field to the memory layer? I suspect this issue isn't related to the use of a memory layer, but rather that the algorithms don't work correctly with layers with no fields. In which case it's likely also an issue in 2.x
|
Author Name: Tobias Wendorff (Tobias Wendorff) Nyall Dawson wrote:
Yes it does.
It didn't work in 2.x:
But it should work in ogr2ogr! Without the comma, I'm getting the correct result.
Could you perhaps add the comma only, if fields.length > 0 ? |
Author Name: Nyall Dawson (@nyalldawson)
|
Author Name: Tobias Wendorff (Tobias Wendorff) Giovanni Manghi wrote:
No, I'm using the core function and my processing doesn't start at all, since the OGR commandline breaks. |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Tobias Wendorff (Tobias Wendorff)
Original Redmine Issue: 17287
Affected QGIS version: 2.18.13
Redmine category:processing/ogr
Assignee: Giovanni Manghi
I've created a point on a scratch layer (EPSG:4326) and want to create an ogr2ogr buffer using "processing".
The result is an error, as you can see on the animated gif attached.
The text was updated successfully, but these errors were encountered: