[Qgis-user] Problems to export as a GeoPackage

Raymond Nijssen r.nijssen at terglobo.nl
Tue Jul 21 06:43:51 PDT 2020


Could it be that your shapefile has a field named "fid" which does not 
hold unique numbers in every row?

Raymond



On 21-07-2020 14:59, José Carlos Guerrero Antúnez wrote:
> Hi,
> 
> I am having trouble saving a shapefile as geopackage.
> 
> The error message is this,
> Export to vector file failed.
> 
> Error: Feature write errors:
> 
> Feature creation error (OGR error: failed to execute insert : UNIQUE 
> constraint failed: sa_area_estudio.fid)
> 
> 
> I'm working in MacOS (Mojave) and QGIS LTR 3.10.
> 
> 
> Many thanks in advance,
> 
> 
> -- 
> José Carlos Guerrero
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> 


More information about the Qgis-user mailing list