<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I am having issues with outputting ers raster file from
      gdal_grid. I import a csv as shape, then grid it and output as
      ers. The Y coords are all negative as it is in fact a section I
      simply grid as a 2D raster. Although the shape file plots as I
      expect it, the ers is flipped upside-down, and hung at the lowest
      Y value. Please note, if I use GS7BG it works fine.<br>
    </p>
    <p>How do I get an ERS output that matches the shape file/data
      points?</p>
    <p>I have created a simple example... however, I am new to GDAL, and
      this is my first post, so please let me know if there is anything
      else I should provide.</p>
    <p>Thanks</p>
    <p>Ron<br>
    </p>
    <p><br>
    </p>
    <p>These are the commands:</p>
    <p>  711  ogr2ogr -f "ESRI Shapefile" xc_zc.shp new.csv -oo
      X_POSSIBLE_NAMES=xc -oo Y_POSSIBLE_NAMES=zc<br>
        712  gdal_grid -zfield Value -a linear:radius=5 xc_zc.shp -of
      ERS xc_zc.ers<br>
    </p>
    <p>here is the content of the data</p>
    <p>xc,zc,Value<br>
      1.25,-0.625,5<br>
      3.75,-0.625,5<br>
      6.25,-0.625,5<br>
      8.75,-0.625,5<br>
      11.25,-0.625,5<br>
      1.25,-1.938,4<br>
      3.75,-1.938,4<br>
      6.25,-1.938,4<br>
      8.75,-1.938,4<br>
      11.25,-1.938,4<br>
      1.25,-3.381,3<br>
      3.75,-3.381,3<br>
      6.25,-3.381,3<br>
      8.75,-3.381,3<br>
      11.25,-3.381,3<br>
      1.25,-4.969,2<br>
      3.75,-4.969,2<br>
      6.25,-4.969,2<br>
      8.75,-4.969,2<br>
      11.25,-4.969,2<br>
      1.25,-6.716,1<br>
      3.75,-6.716,1<br>
      6.25,-6.716,1<br>
      8.75,-6.716,1<br>
      11.25,-6.716,1<br>
    </p>
    <p>I have attached a jpg of my output (not sure whether the mailing
      list allows attachments...)<br>
    </p>
    <div class="moz-signature"><br>
      <font color="#000000"><font face="Calibri"><font style="font-size:
            11pt" size="3"><font style="font-size: 10pt" size="2"><font
                style="font-size: 11pt" size="3"><font color="#000000"><font
                    face="Calibri"><font style="font-size: 11pt"
                      size="3"></font></font></font></font></font></font></font></font></div>
  <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br />
<table style="border-top: 1px solid #D3D4DE;">
        <tr>
        <td style="width: 55px; padding-top: 13px;"><a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt=""  width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
                <td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avg.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>