I believe that you should use either the cutlineWhere or the cutlineSQL.
When I want a single field selection, I use the cutlineWhere,
when it is more complex I use the cutlineSQL
On Fri, Jul 31, 2020 at 6:40 PM Luke wrote:
> You need single quotes around your string literal:
>
>
On Sat, 1 Aug 2020, Andrew Bell wrote:
Thanks for the hint.
I had assumed that the caller was taking responsibility for it.
Seems like it would depend on what you're doing with the pointer after you
return it.
On Sat, Aug 1, 2020, 5:50 AM Andrew C Aitchison
wrote:
I would like to define
Seems like it would depend on what you're doing with the pointer after you
return it.
On Sat, Aug 1, 2020, 5:50 AM Andrew C Aitchison
wrote:
>
> I would like to define GetSpatialRef() for my raster driver as something
> like:
>
> const OGRSpatialReference* GetSpatialRef() const override {
I would like to define GetSpatialRef() for my raster driver as something like:
const OGRSpatialReference* GetSpatialRef() const override {
OGRSpatialReference* poSRS = new OGRSpatialReference();
if (poSRS->importFromEPSGA(27700)!=OGRERR_NONE)
{
delete