Interactive clipping NullReferenceException

Description

Call interactive clipping with no layer loaded
add "test" in output
run
NullReferenceException was unhandled by user code

This tool causes also crashes with

but as it works wiht other files, I think that this file is really the problem, because it gets geometry errors.

Environment

None

Activity

Show:
Paul Meems
November 12, 2015, 9:14 PM

I can reproduce this error.

Sergei Leschinsky
November 14, 2015, 4:58 PM

A fix is committed for not allowing empty input to pass validation.

As for the particular shapefile it has problems indeed. It's can be processed now (likely because of my fix early today) but clipping produces no results, because clipping operation creates shapefile without Z value while GEOS dutifully preserves the value, hence type mismatch. I guess the right way to fix it would be to create Z shapefile (for some reason I explicitly hasn't done that before. Will fix later.

Paul Meems
November 15, 2015, 12:07 PM

I can confirm the exception no longer appears because of the added checks in the tool form.
The GEOS part continues in so I close this issue.

Assignee

Sergei Leschinsky

Reporter

Olivier LeprĂȘtre

Labels

None

Fix versions

Priority

Medium
Configure