Hi Pierre,<br>I checked the srids of the geometry and the rasters and they are both now set to --> 900913! <br>I was using qgis and I think I made a mistake because I think the tif files on disk are using <br>srid = 4326, while the postgis layer I added was using 900913 for osm. <br>
I have never used OpenJump.. is it possible to view both my raster and road geometries from <br>postgis on to qgis? Or you recommend installing OpenJump? <br>Also, do I still need to do some sort of reprojection on the geometries? Is the SRID of 900913<br>
reported for my rasters...reliable information?<br><br>Cheers,<br>Ed<br><br><br><div class="gmail_quote">On Mon, Feb 27, 2012 at 3:40 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">> I noticed that the OSM data is using srid = 900913. So I reloaded the tif files as<br>
> the same srid, yet no luck with the intersection query! :( ALTER TABLE<br>
> public.planet_osm_line ADD COLUMN way geometry(LineString,900913);<br>
<br>
</div>Specifying -s 900913 at load time do not make the rasters to be 900913... You have to reproject something with ST_Transform. Go for reprojecting the geometries since we still have a bug with reprojectings rasters.<br>

<div class="HOEnZb"><div class="h5"><br>
Pierre<br>
<br>
_______________________________________________<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>