[Qgis-developer] Corrections of QgsOgrProvider implementaion of GDAL 2.0

Mark Johnson mj10777 at googlemail.com
Mon Mar 20 14:39:20 PDT 2017


>
> In the provider we could decide to allocate layer ids diffently than OGR .
>
>
>> Example if you have a dataset with
>
> - layer1 (geom1, geom2)
>
> - layer2 (geom)
>
>
>> Then you would map that to :
>
> - qgis_ogr_provider_layer_id = 1: layer1, geom1
>
> - qgis_ogr_provider_layer_id = 2: layer1, geom2
>
> - qgis_ogr_provider_layer_id = 3: layer2, geom
>
>
Which gdal function would then called for this construction
- the function that needs an id cannot use qgis_ogr_provider_layer_id

Some value must also be stored in the project, that must be valid days or
weeks later.

Is there a function that can use the original id
and OGR_F_GetGeomFieldRef()?

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170320/44d45fe3/attachment.html>


More information about the Qgis-developer mailing list