[gdal-dev] OGR SQL Parser/Evaluator Overhaul

Frank Warmerdam warmerdam at pobox.com
Sun Aug 1 20:03:05 EDT 2010


Folks,

With the support of Camp To Camp I have been working on an overhaul for the
OGR SQL parsing engine.  The minimum goal was to support functions in the
column definitions for the output record set of a SELECT, but in order to
achieve this in a reasonable way I have worked towards a substantial
generalization of expression in OGR SQL and extending them to column
definitions.

I have written up a preliminary RFC for review at:

   http://trac.osgeo.org/gdal/wiki/rfc28_sqlfunc

I am seeking feedback before I polish it off and call for a vote this
week.

I will note that in my local development tree I now have this overhauled
implementation working, including the autotest/ogr/{ogr_join_test.py,
ogr_sql_test.py,ogr_index_test.py} test scripts all passing without
alteration.

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