[ckan-dev] ckanext-geoview (Sovello Hildebrand Mgani)

Pedro Ferro pedro.ferro at gmail.com
Fri Oct 21 16:53:51 UTC 2016


Hi Sovello,

Thanks for your help.

My problem with ckanext geoview don't seem to be related with specifies
which map tiles (even so, I changed my development.ini according to your
suggestions and didn't get any change in the map view, still have the
Mapquest message...)

When I try to see the Geojson file I have the base layer but my geojson
layer is not shown (but appears in the on/off menu).

I get 2 errors message:
- GET http://hermes.airc.pt:82/css/bootstrap.min.css
-
http://hermes.airc.pt:82/dataset/42751955-0098-4cc4-b804-07d9e8f63312/resource/6c13dc8c-017b-4546-bb59-87e14b99f46e/download/distrito.geojson
 net::ERR_INCOMPLETE_CHUNKED_ENCODING

This happens at chrome



In IE e see the geojson file correctly....... ?!?!?


So if you or anyother people have any idea i would appreciate

thanks
Pedro


2016-10-20 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 (Sovello Hildebrand Mgani)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 20 Oct 2016 08:07:54 +0300
> From: Sovello Hildebrand Mgani <sovellohpmgani at gmail.com>
> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
> Subject: Re: [ckan-dev] ckanext-geoview
> Message-ID:
>         <CAPc02xvoURc2mqeo-Uf9KWGK1f8McXqaRD=LbFOwK2ZPjUt
> iaA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Pedro,
> May be you need this in your development.ini which specifies which map
> tiles to you.
> You may also need to edit the file based on this PR (not sure it has been
> merged into the main branch yet)
>
> https://github.com/ckan/ckanext-mapviews/pull/35/commits/
> ad0efcb4bd2c42796543f658e99190e2abafae53
>
> which prevents displaying the mapquest ad
>
> ckanext.spatial.common_map.type = custom
> ckanext.spatial.common_map.custom.url =
> http://tile.stamen.com/watercolor/{z}/{x}/{y}.jpg
> ckanext.spatial.common_map.attribution = Map tiles by <a href="
> http://stamen.com">Stamen Design</a>, under <a href="
> http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a
> href="
> http://openstreetmap.org">OpenStreetMap</a>, under <a href="
> http://creativecommons.org/licenses/by-sa/3.0">CC BY SA</a>.
>
> Let me know if this helps
>
> Cheers
>
>
> 2016-10-19 20:33 GMT+03:00 Pedro Ferro <pedro.ferro at gmail.com>:
>
> > Hi,
> >
> > I'm trying to install ckanext-geoview to view geojson files (and wms,
> wfs)
> > but I'm can't succeed.
> >
> > I've fallow de documentation in https://github.com/ckan/ckanext-geoview
> > and
> >
> >
> >    1. *with OpenLayers Viewer*
> >
> >
> > when edit the geojson file and make "new view" don't appear "Map viewer
> > (openlayers)" option
> >
> >
> >
> >
> > 2
> > *. with Leaflet GeoJSON Viewer*
> > can't preview (only get a grey screen) but can download it
> >
> >
> >
> > my development.ini:
> > ckan.plugins = stats text_view image_view recline_view datastore
> > datapusher pdf_view spatial_metadata spatial_query resource_proxy
> geo_view
> > geojson_view
> >
> > ckanext.spatial.search_backend = solr-spatial-field
> >
> > ckanext.geoview.ol_viewer.formats = geojson, wfs, wms kml
> > ckanext.geoview.ol_viewer.hide_overlays = false
> > ckanext.geoview.ol_viewer.default_feature_hoveron= true
> >
> >
> >
> >
> > the url for my ckan file: http://hermes.airc.pt:
> > 82/dataset/distritos/resource/6c13dc8c-017b-4546-bb59-87e14b99f46e
> >
> >
> > Thanks in advance,
> > Pedro
> >
> >
> > _______________________________________________
> > 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
> >
> >
>
>
> --
> :: Sovello Hildebrand Mgani ::
>
>
>
> --If you teach man to fish, you'll feed him a lifetime--
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.okfn.org/pipermail/ckan-dev/
> attachments/20161020/a449e923/attachment-0001.html>
>
> ------------------------------
>
> 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 72, Issue 41
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20161021/f522bb0c/attachment-0002.html>


More information about the ckan-dev mailing list