[gdal-dev] Select an area from a table OGR

Ahmed Tolba Ahmed.Tolba at schiebel.net
Wed Mar 29 05:42:26 PDT 2017


I found the problem. The problem is the name = "thömas" is a widestring. It seems that gdal doesn't work with it ? is there a solution ?

From: Ahmed Tolba
Sent: Wednesday, March 29, 2017 1:51 PM
To: 'gdal-dev at lists.osgeo.org'
Subject: Select an area from a table OGR


Hi All,

I'm trying to select a specific field in the table area, and I want to retrieve that layer, which has the features, I got a correct layer, but the layer has no features to look for

Here is what I'm doing    OGRLayer * layer = m_wfs_t->ExecuteSQL("SELECT * from areas WHERE name= 'thömas' ", NULL, "sqlite");

... iterate over layer features.  There are no features.

Sincerely,
Ahmed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170329/1f6efe20/attachment.html>


More information about the gdal-dev mailing list