[ckan-dev] Allow CSW harvesters to define CQL filters
Reinier Battenberg
reinier.battenberg at mountbatten.net
Wed Mar 19 06:01:42 UTC 2014
that sounds like a very useful idea.
On Tuesday 18 March 2014 19:23:14 Emanuele Tajariol wrote:
> Ciao Adrià,
>
> great, I see you merged the pullreq! Thank you :)
>
> A point of discussion here: since now the harvested records may be filtered,
> an admin may want to create different sources pointing on the same server,
> but with different CQL filters. This may be done for instance for assigning
> different organizations or whatever to the different set of records.
> This can't be done at the moment because you can't create more sources with
> an identical entrypoint URL. Should an issue be opened about the relaxing
> of this constraint?
>
> Ciao,
> Emanuele
>
> Alle 15:31:33 di Tuesday 25 February 2014, Emanuele Tajariol ha scritto:
> > 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
> > > >
> > > > --
--
rgds,
Reinier Battenberg
Director
Mountbatten Ltd.
www.mountbatten.net
tel: +256 758 801749
twitter: @batje
More information about the ckan-dev
mailing list