Re: [gdal-dev] Executing a query getting null layer

2017-03-22 Thread andreahmed
I'm using WFS-T. Does ogrinfo support that ? Can you show me the full syntax please. I'm beginner in that topic. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-dev-Executing-a-query-getting-null-layer-tp5313639p5313704.html Sent from the GDAL - Dev mailing list archiv

[gdal-dev] SQL Expression post error

2017-01-31 Thread andreahmed
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