[ckan-dev] ckanext geoview - wfs preview

Philippe Duchesne pduchesne at gmail.com
Fri Sep 30 08:03:26 UTC 2016


Hello folks,

a few comments here :

first, I think having a WFS preview makes, if only because CKAN is meant to
preview open data as it is, and a lot of data is exposed through WFS. So
it's a way to test the data access as it is meant to be. Also, it allows
styling on the client side (not sure i've pushed that in ckan master
already, but now you can set an openlayer style descriptor per WFS
resource).
As for the performance issue, be aware that the WFS previewer in CKAN is by
default limited to max 300 features.

Regarding your problem Pedro, if you can point me at your WFS, i'll give it
a try and see what's wrong.

Matt, regarding geoview#25, as I answered on github, i no longer can use
the service, so I can"t test it, but it should work now.

Finally, one extra feature you may be interested in : you can define a
resource on a single feature type by appending #FEATURE_TYPE_NAME to the
wfs URL. Same for WMS.

thank you for the feedback,

--p.

On Thu, Sep 29, 2016 at 5:03 PM, Pedro Ferro <pedro.ferro at gmail.com> wrote:

> Thanks Guillaume and Matt for the explanations, quiet helpfull.
> WFS with just one layer it's not an option for me.
>
> Still have a problem with geoview plugin, the popup don't appear
> correctly...
> but I will deal with that later because  got a bigger issue with datastore
> (I will open a new topic with this subject)
>
>
>
>
> 2016-09-29 13:00 GMT+01:00 <ckan-dev-request at lists.okfn.org>:
>
>> Send ckan-dev mailing list submissions to
>>         ckan-dev at lists.okfn.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         https://lists.okfn.org/mailman/listinfo/ckan-dev
>> or, via email, send a message with subject or body 'help' to
>>         ckan-dev-request at lists.okfn.org
>>
>> You can reach the person managing the list at
>>         ckan-dev-owner at lists.okfn.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of ckan-dev digest..."
>>
>>
>> Today's Topics:
>>
>>    1. Re: ckanext geoview - wfs preview (Guillaume Sueur)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Thu, 29 Sep 2016 11:51:07 +0200
>> From: Guillaume Sueur <no-reply at neogeo-online.net>
>> To: ckan-dev at lists.okfn.org
>> Subject: Re: [ckan-dev] ckanext geoview - wfs preview
>> Message-ID: <2983a0f7-894f-43b5-d5fb-1f809af052f2 at neogeo-online.net>
>> Content-Type: text/plain; charset=iso-8859-15
>>
>> Hi,
>>
>> WMS has got a dedicated request for this need. It's called
>> GetFeatureInfo and returns a html, xml or plaint text result holding the
>> feature's attributes in it.
>> WFS display is a real pain in the ass, even for desktop GIS software,
>> full of pitfalls regarding the service version (1.0, 1.1, 2.0...) and
>> the layers content. You don't want to go that way unless you have a good
>> reason to do so (concretely, in a web context, it would be dealing with
>> objects geometries, for editing or computing buffers or so).
>>
>> Best regards
>>
>> Guillaume
>>
>> Le 29/09/2016 ? 09:30, Matthew Fullerton a ?crit :
>>
>> > Dear Pedro,
>> > I respect Guillaume's points, but one reason you might want WFS display
>> > is to display metadata about e.g. points via popups etc*. At the end of
>> > the day I think its nice to display actual data in CKAN and not just
>> > pictures.
>> >
>> > WFS display should be possible, but it is currently not possible unless
>> > you extract a single layer (at which point you are displaying a single
>> > GML file):
>> > https://github.com/ckan/ckanext-geoview/issues/25
>> >
>> > I hope that helps, and good for you for trying to showcase the potential
>> > of open data.
>> >
>> > Best,
>> > Matt
>> >
>> > *This is a bit of a moot point as even if ckanext-geoview could handle
>> > WFS, it doesn't do any metadata display currently
>> >
>> > --
>> > Matt Fullerton
>> > Software development and data science for open data and mobility
>> > matt at crowdsalad.de <mailto:matt at crowdsalad.de>
>> > +49 89 7456 0495 / +49 176 5789 6501
>> > http://www.crowdsalad.de
>> >
>> > On 28 September 2016 at 19:09, Pedro Ferro <pedro.ferro at gmail.com
>> > <mailto:pedro.ferro at gmail.com>> wrote:
>> >
>> >     Thanks for your insight  Guillaume.
>> >
>> >     I  really didn't thought (or have the  knowledge) about that issue
>> >     regarding that diferences between WMS and WFS.
>> >
>> >     If that is so, I will follow your suggestion, WMS with preview and
>> >     WFS just for download.
>> >
>> >     I have to built a CKAN site to show to other people inside my
>> >     organization the potencial of open data, and I'm trying to put their
>> >     all kind of data, but it's not easy to "a not IT guy" (have a lote
>> >     of things, plugins, that I can't put in action...)
>> >
>> >     thanks ones more
>> >     Pedro
>> >
>> >     _______________________________________________
>> >     ckan-dev mailing list
>> >     ckan-dev at lists.okfn.org <mailto:ckan-dev at lists.okfn.org>
>> >     https://lists.okfn.org/mailman/listinfo/ckan-dev
>> >     <https://lists.okfn.org/mailman/listinfo/ckan-dev>
>> >     Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>> >     <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
>> >
>>
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> 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
>>
>>
>> ------------------------------
>>
>> End of ckan-dev Digest, Vol 71, Issue 37
>> ****************************************
>>
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20160930/60c446f6/attachment-0003.html>


More information about the ckan-dev mailing list