[Gdal-dev] ogr2ogr SetAttributeFilter error

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Tue Mar 21 13:00:25 EST 2006


Hi,

Any thoughts on this one?

Thanks

..Tom


> -----Original Message-----
> From: gdal-dev-bounces at lists.maptools.org 
> [mailto:gdal-dev-bounces at lists.maptools.org] On Behalf Of 
> Kralidis,Tom [Burlington]
> Sent: Monday, March 20, 2006 8:25 AM
> To: gdal-dev at lists.maptools.org
> Subject: [Gdal-dev] ogr2ogr SetAttributeFilter error
> 
> 
> 
> 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
> 
> 
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org 
> http://lists.maptools.org/mailman/listinfo/gdal-dev
> 




More information about the Gdal-dev mailing list