[Qgis-developer] Re: Fix for Identify Tool problem with SpatiaLite

a.furieri at lqt.it a.furieri at lqt.it
Sun Mar 20 05:24:54 EDT 2011


On Sat, 19 Mar 2011 17:51:01 -0500, William Kyngesburye wrote
> But now there are also tests like:
> 
> #ifndef OMIT_GEOS
>   # code for *including* GEOS support
> #endif
> 
> 

Hi William,

all this makes a perfect sense, and fully 
explains the elusive "Identify tool" issue 
reported by Royce and Noli.

Where declaring OMIT_GEOS SpatiaLite will then 
be built ignoring at all any GEOS-based function.

i.e. the ST_Intersects() SQL function will be 
unsupported under such conditions; and consequently 
the QGIS own Identify Tool will obviously fail,
reporting a fatal "Undefined function" SQL error 
while attempting to execute the corresponding query.

Unhappily any error message raised by the QGIS 
SpatiaLite data provider is handled by the QgsDebugMsg() 
C++ function.
And consequently no message at all was shown to the 
user under ordinary release conditions.
 
bye Sandro


More information about the Qgis-developer mailing list