[Gdal-dev] ogr2ogr SetAttributeFilter error

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Mon Mar 20 08:24:45 EST 2006


Hi,

Using:

OS: Linux
GDAL/OGR: 1.2.6
proj: 4.4.9

We're trying to create a GML document from a .ovf file:

$ cat ./rtwl.ovf

<OGRVRTDataSource>
  <OGRVRTLayer name="rtwl">
    <SrcDataSource>ODBC:foo/foo at foodb</SrcDataSource>
    <SrcSQL>select * from RMRWL</SrcSQL>
    <GeometryType>wkbPoint</GeometryType>
    <LayerSRS>WGS84</LayerSRS>
    <GeometryField encoding="PointFromColumns" x="value"
y="accesstype"/>
  </OGRVRTLayer>
</OGRVRTDataSource>

$ ogr2ogr_cmd -f GML rtwl.gml rtwl.ovf

...and get the following error message:

ERROR 1: SetAttributeFilter() not supported on ExecuteSQL() results.

...it appears that the GML document is output the way we expect it, but
I'm not sure what the above error message means.

Any help would be appreciated.  Especially if it doesn't involve
(immediately) upgrading :)

Thanks

..Tom





More information about the Gdal-dev mailing list