[gdal-dev] OGR ExecuteSQL

Even Rouault even.rouault at spatialys.com
Thu Jan 23 10:03:26 PST 2020


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


More information about the gdal-dev mailing list