On 6 October 2016 at 08:40, Even Rouault <[email protected]> wrote:
>
>> Ok - was just wondering if you're planning on hooking into existing
>> methods like QgsVectorDataProvider::renameAttributes here or whether
>> it'll be something specific to this format.
>
> That will of course use QgsOgrProvider::renameAttributes() which already
> exists and calls OGR_L_AlterFieldDefn(), so it is a matter of implementing the
> AlterFieldDefn API in the OGR GPKG driver.

Ok cool. I've been thinking (based on the recent discussion re table
manager plugin) that this existing rename field ability is quite
hidden from users and could do with a better UI. Maybe it's time for
https://github.com/qgis/QGIS-Enhancement-Proposals/issues/37 ...
Nyall


>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to