[ckan-dev] GIS dataset import

Philippe Duchesne philippe at okfn.be
Thu Jan 16 11:34:49 UTC 2014


thank you David.

yes, thumbnail generation is something i have thought about.
Ideally i would consider it as part of the harvesting process, thus running
server side.
However it is probably easier to first do that browser-side, and leverage
the existing openlayers-based viewer. But it would then be a manual
operation.
Is there a generic support for thumbnails generation/storage/display in
CKAN ? (geo stuff put aside)

To be exact, there is currently no OL3 support, as OL3 has not yet protocol
implementations for OGC services. So it's currently all OL2.

FYI, one more simple but convenient feature : the CKAN resource url
supports the BBOX fragment to directly point the viewer at a given bounding
box:
http://portal.openbelgium.be/dataset/geospatial-test/resource/f1b701a2-a3f3-46b5-9947-ebcc6bb806cc#bbox=4.3837,50.8426,4.3884,50.8446

I'll share further developments.

best,

--p.



On Thu, Jan 16, 2014 at 12:00 PM, David Read <david.read at hackneyworkshop.com
> wrote:

> Philippe,
>
> This is spectacular! A previewer for geo-data in nearly any format!
>
> A glance at the code suggests you've done an extensive job on this,
> with a proxy that chunks and OpenLayers 2 and 3 support. So once
> you've ironed out the remaining issues, I'm sure everyone will be
> pleased to benefit from it and encourage more geo-data publishing.
>
> One idea that I'm keen on is creating thumbnail images of these
> previews, that could be shown on the resource or even dataset page. I
> think this would entice people to the previews. Is there some JS or
> OpenLayers function that could create a mini screenshot to create the
> thumbnail automatically that we might employ at some point?
>
> David
>
> On 14 January 2014 21:36, Philippe Duchesne <philippe at okfn.be> wrote:
> > Hello David, Cliff,
> >
> > FYI, a fork of ckanext-spatial done for openbelgium.be has support for
> > WFS,WMS,KML,GML,GeoJSON,ArcGIS and Google Fusion Tables.
> >
> > You can have a look at
> http://portal.openbelgium.be/dataset/geospatial-test
> > for a demo.
> >
> > The code is still in beta stage, but available at
> > https://github.com/pduchesne/ckanext-spatial/tree/OL3_VIEWER
> >
> > best,
> >
> > --p.
> >
> >
> > On Tue, Jan 14, 2014 at 5:52 PM, David Read <
> david.read at hackneyworkshop.com>
> > wrote:
> >>
> >> Cliff,
> >>
> >> CKAN's datastore can store GIS data files like any others. The service
> >> you then want to provide is the ability to preview them.
> >>
> >> data.gov has a previewer that I think should cover KML, and I don't
> >> think it would be too hard to develop it to show GeoJSON and
> >> Shapefiles too (since I believe OpenLayers supports these). Perhaps
> >> OKF people can find a dataset as an example, because I couldn't find a
> >> KML file with a quick look.
> >>
> >> The other way geodata is often provided is via a WMS or WFS server
> >> (rather than as a downloadable file). CKAN is not ideal for serving
> >> this data. But data.gov.uk has developed a WMS viewer for CKAN and it
> >> is easily extended to WFS. I believe OKF has recently done a similar
> >> tool.
> >>
> >> David
> >>
> >> On 13 January 2014 18:22, Cliff Ingham <inghamn at bloomington.in.gov>
> wrote:
> >> > We're looking at publishing all of the GIS data for our city.  Am I
> >> > correct in thinking that CKAN is built for this, or is CKAN only for
> the
> >> > metadata about our GIS data?
> >> >
> >> > Importing GIS data files as datasets has not been going very well.
>  I'm
> >> > thinking we're doing it wrong.
> >> >
> >> > --
> >> > Cliff Ingham
> >> > http://www.ohloh.net/accounts/inghamn
> >> > -------------------------------------
> >> > "If debugging is the process of removing software bugs, then
> programming
> >> > must be the process of putting them in."
> >> > -- Edsger Dijkstra
> >> > _______________________________________________
> >> > 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
> >
> >
> >
> > _______________________________________________
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140116/aa271565/attachment-0003.html>


More information about the ckan-dev mailing list