[ckan-dev] Fwd: Issues using Geo plugins

Tiago Ribeiro tribeiro.tb at gmail.com
Tue Aug 13 11:03:36 UTC 2013


David,

I'm currently working with 2.2a (latest) version of CKAN. Is there a way to
import just the validators from DGU?
I'm sorry but I'm new to most of this and I'm learning as I go...


2013/8/13 David Read <david.read at hackneyworkshop.com>

> Tiago,
>
> Great to hear that helped.
>
> The data.gov.uk harvester is currently set to:
>
> ckan.spatial.validator.profiles = iso19139eden,constraints-1.4,gemini2-1.3
> ckan.spatial.validator.reject = true
>
> If you're not on the dgu branch of ckanext-spatial already then you'll
> need to switch to it to get these validators and the second option.
>
> However that still gives us 48 validation errors for spatialni.gov.uk
> data. This is not uncommon - producing XML that is valid Gemini2
> appears to be tripping up a lot of publishers. UKLP makes some effort
> to help, but at the end of the day it is NI's responsibility.
>
> It sounds like the datasets you see on data.gov.uk were harvested
> before we switched on the 'rejection', which was April. Previous to
> this, datasets were still harvested into CKAN even if they didn't
> fully validate. You can do this with this config:
>
> ckan.spatial.validator.reject = false
>
> David
>
> On 13 August 2013 10:32, Tiago Ribeiro <tribeiro.tb at gmail.com> wrote:
> > Thank you all for your help. I have finally the harvester job running...
> but
> > now I'm having another problem.
> >
> > I'm harvesting the catalog from an INSPIRE portal, namely this one:
> >
> http://www.spatialni.gov.uk/geoportal/csw/discovery?Request=GetCapabilities&Service=CSW
> >
> > I've tried to set the validator like this
> "ckan.spatial.validator.profiles =
> > inspire" in the config file but it doesn't work (KeyError: 'INSPIRE'),
> and
> > using "ckan.spatial.validator.profiles = iso19139,gemini2,constraints" it
> > gives validation error when reading the items...
> >
> > The data.gov.uk portal have harvested from the same source so I was
> > wondering if there's any other profile validator that I should use?
> >
> > Thanks!
> >
> > Tiago
> >
> > 2013/8/12 David Read <david.read at hackneyworkshop.com>
> >>
> >> You need to create a Harvest Job for the particular Harvest Source
> >> that you want to harvest from. You can do this with paster or in the
> >> web interface.
> >>
> >> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130813/1cd5ff16/attachment-0001.html>


More information about the ckan-dev mailing list