On mardi 31 janvier 2017 04:01:28 CET andreahmed wrote:
> I get a SQL Expression parsing error
>
> OE_DEBUG << LC << "SQL: " << expr << std::endl;
> _resultSetHandle = OGR_DS_ExecuteSQL( _dsHandle, expr.c_str(),
> _spatialFilter, 0L );
>
> the expr is expr = "SELECT * FROM tows:poi_ais"
I get a SQL Expression parsing error
OE_DEBUG << LC << "SQL: " << expr << std::endl;
_resultSetHandle = OGR_DS_ExecuteSQL( _dsHandle, expr.c_str(),
_spatialFilter, 0L );
the expr is expr = "SELECT * FROM tows:poi_ais"
In the database the table name is poi_ais. The layer is tows. Is