Peter,<div><br></div><div>Perhaps you don't have permissions to write to the geometry_columns table.</div><div>Unfortunately the PG driver does not convey the error message from the database.</div><div><br></div><div><div class="gmail_quote">
On Tue, Apr 3, 2012 at 11:19 PM, Peter Tittmann <span dir="ltr"><<a href="mailto:ptittmann@gmail.com">ptittmann@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>Hi,</div><div><br></div><div>Using PostGIS 2 and gdal 1.7.3</div><div><br></div><div>Trying to run a simple ogr2ogr:</div><div><br></div><div>ogr2ogr -skipfailures -f "PostgreSQL" PG:"dbname=afri" us9805_dni.shp</div>
<div><br></div><div>returns:</div><div><br></div><div>Warning 1: Multi-column primary key in 'raster_columns' detected but not supported.</div><div>ERROR 1: AddGeometryColumn failed for layer us9805_dni, layer creation has failed.</div>
<div><br></div><div>Any suggestions would be welcome.</div><div><br></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888">
<div><div><br></div><div>-- </div><div>Peter Tittmann</div></div>
</font></span><br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards,<br>Chaitanya kumar CH.<br>
<br>+91-9494447584<br>17.2416N 80.1426E<br>
</div>