[QGIS-Developer] QGIS/OGR: FeatureIds reassigned on write to data provider?
Even Rouault
even.rouault at spatialys.com
Wed Jul 5 02:30:15 PDT 2017
On mercredi 5 juillet 2017 10:51:02 CEST Sandro Mani wrote:
> On 05.07.2017 08:51, Giovanni Manghi wrote:
> > as far as I remember this is not entirely true: if you go on redmine
> > and look for the (sometimes very long) tickets about this very big
> > issue at that time (now thankfully), is wasn't necessary to have the
> > shapefile open in edit mode two applications to leave it in a
> > "inconsistent" state, if was really just QGIS. After edits and after
> > saving (and removing it from the project) opening it in another gis
> > package frequently shown (for example) features that were deleted and
> > messages about the inconsistent state of the vector.
I think what you mention here was the fact that repacking could cause corruptions on
Windows in some cases. Which has been fixed by recent GDAL versions.
> >
> > please do not revert to the previous, wrong, way to do.
>
> I don't think the talk is about reverting, but rather about holding off
> repacking the layer until it is removed from QGIS, meaning that you can
> hit the inconsistent state issues as long as the layer is open in QGIS
> (and the question is whether this particular scenario should be
> supported), but as soon as the layer is removed from QGIS, it is
> repacked and the layer left in a consistent state.
My feeling is that, for good or worse, they are definitely people wanting to have QGIS and
"put here the name of your favorite proprietary GIS software" running at the same time, and
possibly on the same datasets. This is apparently important in migration scenarios where
people aren't ready yet to jump completely to QGIS. That said, this is also tricky to do in a
reliable way.
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170705/3e600394/attachment.html>
More information about the QGIS-Developer
mailing list