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: '[email protected]'
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
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to