Clip raster by polygon

Description

I believe this method is already in MapWinGIS.
I'm not sure if it is already mapped to MW5.API.
Anyway the tool is not present in the toolbox.

Activity

Show:
Paul Meems
November 29, 2015, 10:17 AM

It works great, it is just not clear what output format will be used.
I tested it with a vrt-file with ECW files and a file with vrt extension is created but when I look at its properties it says EHdr and the coloring is lost.
Perhaps adding a output format to the dialog would make it more clear and default it to TIFF?

Sergei Leschinsky
November 27, 2015, 3:58 PM

The tool is committed. It works with a single polygon only. A new issue is created for the problem of passing projection to the resulting grid: MWGIS-15.

Paul Meems
November 5, 2015, 9:57 PM
Edited

I just quickly looked at the GisUtils class and it already has a ClipGridWithPolygon() method which implements MapWinGIS.ClipGridWithPolygon and MapWinGIS.ClipGridWithPolygon2.

Now only the tool needs to be created.

Done

Assignee

Sergei Leschinsky

Reporter

Paul Meems

Labels

Fix versions

Affects versions

Priority

Medium