<div dir="ltr"><div>Hi,<br><br>I'm loading some Ordnance Survey ITN GML data into PostgreSQL
9.1 / PostGIS 1.5 which contains a number of feature types that are
lookups without any geometry, the first file loads fine but loading
subsequent files using the ogr2ogr -append option fails with the error:<br>
<br> ERROR 1: Layer road already exists, CreateLayer failed.<br> Use the layer creation option OVERWRITE=YES to replace it.<br><br>I'm
finding that the gfs file generated by OGR sets the geometry type to
100 (no geometry), manually editing the gfs file to remove the
GeometryType element for the lookup feature types works around the error
but creates a redundant geometry column and an entry in
geometry_columns.<br>
<br>I've put further details and two sample gml files containing a single "feature" in each here: <a href="https://gist.github.com/walkermatt/7655745" target="_blank">https://gist.github.com/walkermatt/7655745</a><br>
<br></div>Happy to create at ticket if it's appropriate.<br><div><br>Thanks,<br>
<br>Matt<br clear="all"><br>-- <br>Matt Walker<br>Astun Technology<br>@_walkermatt<br>
</div></div>