<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="font-style: italic; ">I set  scaley to -1000, and it forced the raster south.</span><br><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Mark Wynter <<a href="mailto:mark@dimensionaledge.com">mark@dimensionaledge.com</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">23 June 2012 3:51:40 PM AEST<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>ST_MakeEmptyRaster</b><br></span></div><br><div>When making an empty raster, is there a way to control the direction of the raster?  <br><br>The starting point for the raster is upperleftx, upperlefty.  So If I'm in the southern hemisphere, the upperlefty value is a negative number, hence the grid builds in a northerly direction<br><br>INSERT INTO dummy_rast(rid,rast)<br>VALUES(1, ST_MakeEmptyRaster(100, 100, 570344, -3781663, 1000, 1000, 0, 0, 3577));<br><br>If I change the width to -100 in the hope of reversing the direction, no luck...<br><br>INSERT INTO dummy_rast(rid,rast)<br>VALUES(1, ST_MakeEmptyRaster(100, -100, 570344, -3781663, 1000, 1000, 0, 0, 3577));<br><br>The blocksize_y doesn't accept negative numbers, and defaults according...<br><br>srid | scale_x | scale_y | blocksize_x | blocksize_y | num_bands | pixel_types | nodata_values <br>------+---------+---------+-------------+-------------+-----------+-------------+---------------<br> 3577 |    1000 |    1000 |         100 |       65436 |         1 | {8BUI}      | {NULL}<br>(1 row)<br><br>I understand the logic of why it's doing what it is.<br><br>Is there a way of making the grid build in a southerly direction if I'm in the southern hemisphere? <br><br><br></div></blockquote></div><div><br class="Apple-interchange-newline">
</div>
<br></body></html>