[ckan-dev] Allow CSW harvesters to define CQL filters

Emanuele Tajariol etj at geo-solutions.it
Tue Feb 25 14:31:33 UTC 2014


Ciao Adrià,

> I'll have a test when I have a moment, do you have some example
> queries and a CSW server to test them?

Sure.

For testing I used mainly GeoNetwork instances, which deal with cql filters 
quite well. 
I used the opendata instance of the city of Florence:
   http://datigis.comune.fi.it/geonetwork/srv/en/csw

You can use this configuration to filter out a single record:
   {"cql": "title LIKE '%zonizzazione%'"}

A sample query was already in the issue #55 I guess.

   Ciao,
   Emanuele


Alle 17:01:04 di Thursday 13 February 2014, Adrià Mercader ha scritto:
> Thanks Emanuele, this looks really good.
> 
> I'll have a test when I have a moment, do you have some example
> queries and a CSW server to test them?
> I'll double check the owslib upgrade because we had compatibility
> issues on the past.
> 
> Cheers,
> 
> Adrià
> 
> On 12 February 2014 14:37, Emanuele Tajariol <etj at geo-solutions.it> wrote:
> > Hi list,
> > 
> > I just proposed a pull request to allow the harvesting of a subset of
> > records from a CSW source.
> > 
> > Here the issue:
> >    https://github.com/ckan/ckanext-spatial/issues/55
> > 
> > Here the pull request:
> >    https://github.com/ckan/ckanext-spatial/pull/56
> > 
> > Just minimal changes, in order to pass the CQL params down to owslib.
> > I also updated the version of owslib to the next stable version, from
> > 0.8.2 to 0.8.4 (version 0.8.3 referenced some unloadable libs).
> > 
> > Any comments on this?
> > 
> >    Thanks,
> >    Emanuele
> > 
> > --
> > ==
> > Our support, Your Success!
> > Visit http://opensdi.geo-solutions.it for more information.
> > ==
> > 
> > Ing. Emanuele Tajariol
> > Technical Lead
> > 
> > GeoSolutions S.A.S.
> > Via Poggio alle Viti 1187
> > 55054  Massarosa (LU)
> > Italy
> > phone: +39 0584 962313
> > fax:    +39 0584 1660272
> > mob:   +39 380 2116282
> > 
> > http://www.geo-solutions.it
> > http://twitter.com/geosolutions_it
> > 
> > -------------------------------------------------------
> > _______________________________________________
> > ckan-dev mailing list
> > ckan-dev at lists.okfn.org
> > https://lists.okfn.org/mailman/listinfo/ckan-dev
> > Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev


-- 
==
Our support, Your Success! 
Visit http://opensdi.geo-solutions.it for more information.
==

Ing. Emanuele Tajariol
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:    +39 0584 1660272
mob:   +39  380 2116282 

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------



More information about the ckan-dev mailing list