On Wed, Apr 6, 2016 at 3:57 PM, Even Rouault
wrote:
> > Is there a context where a double-quoted string would be acceptable here?
> > If so, then fine (maybe). But if not, it seems that something like
> > "unexpected character '"' found in where clause" would make more sense
> than
> > the curre
Le mercredi 06 avril 2016 22:48:38, Andrew Bell a écrit :
> On Wed, Apr 6, 2016 at 3:39 PM, Even Rouault
>
> wrote:
> > Andrew,
> >
> > > In version 1.X of GDAL, the following was accepted and worked:
> > >
> > > std::string query = "LOCATION=\"some text\"";
> > > OGR_L_SetAttributeFilter(layer
On Wed, Apr 6, 2016 at 3:39 PM, Even Rouault
wrote:
> Andrew,
>
> > In version 1.X of GDAL, the following was accepted and worked:
> >
> > std::string query = "LOCATION=\"some text\"";
> > OGR_L_SetAttributeFilter(layer, query.c_str());
> >
> > In version 2.X, this is no longer accepted and the d
Andrew,
> In version 1.X of GDAL, the following was accepted and worked:
>
> std::string query = "LOCATION=\"some text\"";
> OGR_L_SetAttributeFilter(layer, query.c_str());
>
> In version 2.X, this is no longer accepted and the double quotes must be
> replaced by single quotes:
>
> std::string
In version 1.X of GDAL, the following was accepted and worked:
std::string query = "LOCATION=\"some text\"";
OGR_L_SetAttributeFilter(layer, query.c_str());
In version 2.X, this is no longer accepted and the double quotes must be
replaced by single quotes:
std::string query = "LOCATION='some tex