<div dir="ltr"><div><div><div>Hi,<br><br></div>I want to import many rasters from files into a same tablewith a foreign-key constraint to be able to query them individually or grouped as needed.<br><br></div>I was hopping that the raster2pgsql tool would be able to do it, but no chance.<br>
<br> Is there a way to ask raster2pgsql to add a foreign-key during import? If not, what would be the best approach for this purpose?<br><br>Thank you very much,<br><br></div>-Max Demars<br clear="all"><div><div><div><div>
<div><br>-- <br><div dir="ltr"><div><div><div>Stack Overflow: <a href="http://stackoverflow.com/users/1914034/burton449" target="_blank">http://stackoverflow.com/users/1914034/burton449</a><br></div></div>GIS Overflow: <a href="http://gis.stackexchange.com/users/14426/burton449" target="_blank">http://gis.stackexchange.com/users/14426/burton449</a><br>
</div>LastFm: <a href="http://www.lastfm.fr/user/burton449" target="_blank">http://www.lastfm.fr/user/burton449</a><br></div>
</div></div></div></div></div></div>