<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>So I've got an update on this. <br>
</p>
<p>If I run this with the command line (gdal 2.1): <br>
</p>
<p>gdalwarp -cutline acid_forest_buffer.shp low_east.tif output.tif<br>
<i>Processing input file low_east.tif.</i><i><br>
</i><i>Using internal nodata values (e.g. -3.40282e+38) for image
low_east.tif.</i><i><br>
</i><i>Warning 1: Self-intersection at or near point
2309.5402184630693 1121.2793755624425</i><i><br>
</i><i>ERROR 1: Cutline is not valid after transformation</i></p>
<p>I had one community member confirm the clip works in 2.14.1. I
think ultimately this is a gdal version problem - sort of. <br>
</p>
<p>If I look at the shapefile in QGIS I get an error using the
topology tools looking for overlaps. I seem to have 2
multipolygons in this data. I clean those up and the tool runs as
expected. <br>
</p>
<p>Is there something with gdal 2.1 that chokes with a multipolygon
in running this type of clip against a raster?<br>
</p>
<br>
<div class="moz-cite-prefix">On 10/07/2016 09:27 AM, Randal Hale
wrote:<br>
</div>
<blockquote
cite="mid:a933b671-8c14-8fbc-c1fb-fec5a320850d@northrivergeographic.com"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<p>I've tried this on: <br>
</p>
<ul>
<li>2.14.6 on Windows</li>
<li>2.16.3 on Linux <br>
</li>
<li>Master on Linux <br>
</li>
</ul>
<p>Dropbox Link:
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://www.dropbox.com/sh/zg8miobad8ax0ef/AABXzPzTd8920I248_IprKjba?dl=0">https://www.dropbox.com/sh/zg8miobad8ax0ef/AABXzPzTd8920I248_IprKjba?dl=0</a></p>
<p>I have a raster and polygons. All matching in projection. M one
worry is the raster is a float32 tiff and something it wrong
with it. I didn't create the raster but I am trying to help
someone work their way through this exercise for a College
Class. <br>
</p>
<p>When I use the processing tool to clip the raster with the
vector I get an output image that in the legend shows the values
as being nan - which I guess is null. No matter what I do -
there is no clip. Just a large image that is black or nan
(null). <br>
</p>
<p>Thoughts? I'm stuck. I don't know if I'm seeing a bug or I've
got a bad image. The person originally working through this said
it all works correctly with 2.8 (but I haven't attempted that
version as of yet). <br>
</p>
<p>Randy<br>
</p>
<pre class="moz-signature" cols="72">--
------------------------------------------------
Randal Hale
North River Geographic Systems, Inc
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.northrivergeographic.com">http://www.northrivergeographic.com</a>
423.653.3611 <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:rjhale@northrivergeographic.com">rjhale@northrivergeographic.com</a>
twitter:rjhale <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://about.me/rjhale">http://about.me/rjhale</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.northrivergeographic.com/introduction-to-quantum-gis">http://www.northrivergeographic.com/introduction-to-quantum-gis</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://www.facebook.com/NRGSInc">https://www.facebook.com/NRGSInc</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
------------------------------------------------
Randal Hale
North River Geographic Systems, Inc
<a class="moz-txt-link-freetext" href="http://www.northrivergeographic.com">http://www.northrivergeographic.com</a>
423.653.3611 <a class="moz-txt-link-abbreviated" href="mailto:rjhale@northrivergeographic.com">rjhale@northrivergeographic.com</a>
twitter:rjhale <a class="moz-txt-link-freetext" href="http://about.me/rjhale">http://about.me/rjhale</a>
<a class="moz-txt-link-freetext" href="http://www.northrivergeographic.com/introduction-to-quantum-gis">http://www.northrivergeographic.com/introduction-to-quantum-gis</a>
<a class="moz-txt-link-freetext" href="https://www.facebook.com/NRGSInc">https://www.facebook.com/NRGSInc</a></pre>
</body>
</html>