[Users] Duplicate fid problem when splitting polygons

Matthias Kuhn matthias at opengis.ch
Tue May 11 05:48:06 PDT 2021


Hi George,

We tried to replicate this issue and didn't experience any problems with
fids. Which version of QGIS are you using?

Best wishes
Matthias

On Tue, May 11, 2021 at 12:04 PM George F Smith via Users <
users at lists.qfield.org> wrote:

> Hi All,
>
> I have a problem with splitting existing polygons with QField.  I have a
> polygon layer in .gpkg format that I amend in the field.  This has been
> saved from an original shapefile layer.  When I split polygons with QField,
> there are no problems, but when I bring them back into QGIS, I get an error
> message about duplicate fids, and only one part of the split polygon is
> successfully imported back into QGIS.
>
> When I package the layer for offline editing, it creates a "fid_1" field
> in addition to the existing "fid" field.  I'm not sure which one is causing
> the problems or why the second is created (maybe because the layer was
> originally a shapefile?).  Manually editing the fid and fid_1 fields in
> QField before syncing doesn't help.
>
> Is there a solution to this?  Should I just keep the layer as a shapefile
> to work with in QField?
>
> Thanks,
>
> George
>
> *George F Smith PhD CEcol MCIEEM*
> Consultant Ecologist
>
>
>
> Tel: +353-86-1736075
> what3words: overlaid.plastic.forests
> <https://map.what3words.com/overlaid.plastic.forests>
> george.smith at blackthornecology.ie
> www.blackthornecology.ie
>
> _______________________________________________
> Users mailing list
> Users at lists.qfield.org
> http://lists.qfield.org/listinfo.cgi/users-qfield.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qfield.org/pipermail/users-qfield.org/attachments/20210511/0378f955/attachment.htm>


More information about the Users mailing list