Opened 13 years ago

Closed 13 years ago

#3449 closed bug (fixed)

GdalTools: unclear results from clipping

Reported by: pcav Owned by: brushtyler
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: Python plugins and bindings Version:
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

Currently, when >1 layer is loaded into the canvas, clipping results are difficult to interpret. The tool attempts to clip all the loaded layers, whereas I guess the user expects only the topmost layer will be clipped.

Change History (2)

comment:1 by brushtyler, 13 years ago

Status: newassigned

All the active layers (visible ones) are clipped. When more then one layer are active the result is the merge of all the active layers clipped by the extent.

In this moment there's an issue because the topmost layer is inserted as the first one in the gdal_merge command, but seeing at the gdal_merge manpages, "In areas of overlap, the last image will be copied over earlier ones".

So when there are > 1 layers active, in the result the last layer in the TOC is over the topmost one. I'm going to fix it as soon as possible.

in reply to:  1 comment:2 by brushtyler, 13 years ago

Resolution: fixed
Status: assignedclosed

Replying to brushtyler:

So when there are > 1 layers active, in the result the last layer in the TOC is over the topmost one. I'm going to fix it as soon as possible.

Fixed in r15125. I guess I can close this ticket.

Note: See TracTickets for help on using tickets.