So far no proper raster, because the following failed, but maybe the polygon gives us an idea? This polygon is the extent of all the road geometries in Denmark. Also I remember that when you did the raster at your end you said it worked. Is <span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">0.000036 degrees = 4m correct if I want to get a 4m by 4m cell sized uniform raster grid?</span><div>
<br><div><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">select ST_AsRaster( ST_GeomFromText('POLYGON((8.07734039737749 54.4984986588244,8.07734039737749 57.7505109647578,15.1919565742587 57.7505109647578,15.1919565742587 54.4984986588244,8.07734039737749 54.4984986588244))'), 0.000036, 0.000036);<div class="yj6qo ajU" style="outline-style:none;outline-width:initial;outline-color:initial;padding-top:10px;padding-right:0px;padding-bottom:10px;padding-left:0px;width:22px;margin-top:2px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br></div></span><br><div class="gmail_quote">On Thu, Mar 22, 2012 at 9:39 PM, Pierre Racine <span dir="ltr"><<a href="mailto:Pierre.Racine@sbf.ulaval.ca">Pierre.Racine@sbf.ulaval.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">> Thanks. The raster I need to visualise is a 4m by 4m grid on the entire map of<br>
> Denmark! :) So do you classify that as a large raster? If so is there a way to see a<br>
> portion of it or something?<br>
> I just want to manually check for a few areas on the map that the intersection<br>
> indeed works as expected and things haven't gone awry thanks to projection<br>
> differences or that I had degrees instead of meters or some such thing. Well, I<br>
> still have to first test if this GDAL upgrade will fix things and if make empty raster<br>
> .. makes a difference.<br>
<br>
</div>That must be big but Danemark is a small country ;-) Only width and height tell you if a raster is big.<br>
<br>
In the database, your grid is a set of rectangular geometry (how many?) or just a big raster now (width & height)?<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</div></div></blockquote></div><br></div></div>