[Gdal-dev] ogrinfo -sql doesn't work with GML files?

Frank Warmerdam warmerdam at pobox.com
Tue Jul 20 13:33:34 EDT 2004


Tyler Mitchell wrote:
> I can't seem to get ogrinfo to reduce my set of features in a GML file 
> using the -sql or -where parameters.  Should this be expected?  It doesn't 
> fail, but still returns the full set.  I've tested this using openev_fw 
> (windows) and a nightly build of gdal from yesterday (linux).

Tyler,

I checked, and sure enough, I never implemented the spatial or attribute
query capability in the GML driver.  I have incorporated it now in CVS.

>>ogrinfo airports.gml -sql "select name from airports where quadname like 
> 
> '%Lake'"
> Works great on shapefiles!
> 
> Tyler
> 
> 
> p.s. Bugzillla down?

Yes, bugzilla is still inaccessable unfortunately.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list