On jeudi 23 janvier 2020 12:49:38 CET Andrew Bell wrote:
> Hi,
> 
> This function returns a pointer to a layer.  Does the dataset retain
> ownership of the layer, or does the user need to make sure that the layer
> gets deleted?
> 

https://gdal.org/api/gdaldataset_cpp.html#_CPPv4N11GDALDataset10ExecuteSQLEPKcP11OGRGeometryPKc

"""
Return
    an OGRLayer containing the results of the query. Deallocate with 
ReleaseResultSet().
"""

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to