[Qgis-developer] CSW plugin error

Angelos Tzotsos gcpp.kalxas at gmail.com
Wed Mar 21 18:35:59 EDT 2012


On 03/20/2012 06:44 PM, Paolo Cavallini wrote:
> Hi all.
> Testing pycsw demo:
>
> http://aiolos.survey.ntua.gr/pycsw/csw.py?service=CSW&version=2.0.2&request=GetCapabilities
>
> and I get:
>
> CSW exception InvalidParameterValue:
> Invalid query: (OperationalError) no such function: query_spatial u"SELECT
> records.identifier AS records_identifier, records.typename AS records_typename,
> records.schema AS records_schema, records.bbox AS records_bbox, records.xml AS
> records_xml, records.source AS records_source, records.insert_date AS
> records_insert_date \nFROM records \nWHERE records.typename IN (?) AND
> query_spatial(bbox,'POLYGON((4856116.93 1598429.32, 4856116.93 1637608.29, 4888465.19
> 1637608.29, 4888465.19 1598429.32, 4856116.93 1598429.32))','bbox','false') = 'true'
> and query_anytext(xml, 'land') = 'true'" ('csw:Record',)
>
> Any explanation?
> All the best.

Hi again.

This issue was a server upgrade problem with sqlalchemy, not pycsw.

Thanks for catching this up :)
It is now fixed.

Regards,
Angelos


-- 
Angelos Tzotsos
Remote Sensing Laboratory
National Technical University of Athens
http://users.ntua.gr/tzotsos



More information about the Qgis-developer mailing list