>
> 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
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to