[ckan-dev] WMS Manage Get Capabilities document not listing

Naresh N naresh919 at gmail.com
Mon Jul 20 13:37:02 UTC 2015


Dear Matt,
Thanks a lot for  the response. Map view is coming now after changing file
format to wms and adding view to  olgeoview option. But How ever in error
log it is showing 'Plugin for view geo_view could not be found'. Kindly let
me know is this create any issue? How to avoid this.

Please kindly also give suggestions for following things.

1. How to add single/one WMS Layer to CKAN  ( for example by giving layer
url and layer name).

2. How to add KML  file to ckan.  - able to add kml file by using Upload
Link option, but when I am adding by using upload file option and loading
local kml file it is showing  the following message in error log file '

Error - <type 'exceptions.UnboundLocalError'>: local variable
'proxy_service_url' referenced before assignment'


3. How to add Shapefile to CKAN  and visualize as WMS/WFS layer

4. How to Add WMTS Layers - I have added wmts_view in ckan.plugins and
wmts_view in  ckan.views.default_views in config file. But when iam opening
the application with localhost it is showing 500 internal server error.
And in error log file ' PluginNotFoundException: wmts_view.'



Thanks&Regards,
Naresh. N

On Mon, Jul 20, 2015 at 11:50 AM, <ckan-dev-request at lists.okfn.org> wrote:

> 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. Uploading files using FIleStore API (Filip Radulovic)
>    2. Re: Uploading files using FIleStore API (Ian Ward)
>    3. Re: Uploading files using FIleStore API (Filip Radulovic)
>    4. WMS Manage Get Capabilities document not listing the      layers
>       (Naresh N)
>    5. Re: WMS Manage Get Capabilities document not listing      the
>       layers (Matthew Fullerton)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 19 Jul 2015 21:17:17 +0200
> From: Filip Radulovic <filiprd at gmail.com>
> To: ckan-dev at lists.okfn.org
> Subject: [ckan-dev] Uploading files using FIleStore API
> Message-ID:
>         <
> CABCDM+W3c+TXJ300vEe5OrmDXQadq-Y8DLU42fnBwh6kWUgpYA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi all,
>
> I have installed today a new instance of CKAN using source on Ubuntu 14.04
> (I have perviously installed it using package on 12.04).
>
> With some problems along the way, I have managed to put everything together
> so CKAN works, I can upload files, DataStore and DataPush work as well, I
> have tested some curl commands etc.
>
> However, I have one small problem. I get missing value errors when I try to
> upload a file using FileStore API.  For example, I do
>
> *curl -H'Authorization: foo-foo-foo-foo'
> 'http://127.0.0.1:5000/api/action/resource_create
> <http://127.0.0.1:5000/api/action/resource_create>' --form
> upload=/home/filip/Downloads/MyFile.csv --form package_id=foo-foo-foo*
>
> and I get
>
> *{"help":
> "http://127.0.0.1:5000/api/3/action/help_show?name=resource_create
> <http://127.0.0.1:5000/api/3/action/help_show?name=resource_create>",
> "success": false, "error": {"url": ["Missing value"], "__type": "Validation
> Error"*
>
> If I try to add a resource with link (using --form url=http://example.com)
> it gets executed successfully.
>
> So, any hint on what might be the problem? I searched for some solutions
> but I couldn't figure it out.
>
> Cheers
>
>
> --------
> Filip Radulovic
> www.filip.milstan.net
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.okfn.org/pipermail/ckan-dev/attachments/20150719/f58f9237/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Sun, 19 Jul 2015 16:35:44 -0400
> From: Ian Ward <ian at excess.org>
> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
> Subject: Re: [ckan-dev] Uploading files using FIleStore API
> Message-ID:
>         <
> CAA3rUNceAH3YTbmcbrTkXafkt2+C7AfvuXxLWp2unj9xxMTYcg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> This is just a problem with the resource validation being overly strict.
> Provide any value for the resource url when uploading and it should work.
> On 19 Jul 2015 3:18 pm, "Filip Radulovic" <filiprd at gmail.com> wrote:
>
> > Hi all,
> >
> > I have installed today a new instance of CKAN using source on Ubuntu
> 14.04
> > (I have perviously installed it using package on 12.04).
> >
> > With some problems along the way, I have managed to put everything
> > together so CKAN works, I can upload files, DataStore and DataPush work
> as
> > well, I have tested some curl commands etc.
> >
> > However, I have one small problem. I get missing value errors when I try
> > to upload a file using FileStore API.  For example, I do
> >
> > *curl -H'Authorization: foo-foo-foo-foo'
> > 'http://127.0.0.1:5000/api/action/resource_create
> > <http://127.0.0.1:5000/api/action/resource_create>' --form
> > upload=/home/filip/Downloads/MyFile.csv --form package_id=foo-foo-foo*
> >
> > and I get
> >
> > *{"help":
> > "http://127.0.0.1:5000/api/3/action/help_show?name=resource_create
> > <http://127.0.0.1:5000/api/3/action/help_show?name=resource_create>",
> > "success": false, "error": {"url": ["Missing value"], "__type":
> "Validation
> > Error"*
> >
> > If I try to add a resource with link (using --form url=
> http://example.com)
> > it gets executed successfully.
> >
> > So, any hint on what might be the problem? I searched for some solutions
> > but I couldn't figure it out.
> >
> > Cheers
> >
> >
> > --------
> > Filip Radulovic
> > www.filip.milstan.net
> >
> > _______________________________________________
> > 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/20150719/f3d3db09/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 3
> Date: Sun, 19 Jul 2015 22:47:42 +0200
> From: Filip Radulovic <filiprd at gmail.com>
> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
> Subject: Re: [ckan-dev] Uploading files using FIleStore API
> Message-ID:
>         <CABCDM+UAMP1tqfC=
> c-FfQ-_aT9hX3pL0a2kJbTNNqbfj7+WWzw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Ian,
>
> Thanks for the response. If I do as you say and add "--form url=
> http://example.com" to the same execution I mentione din the previous
> email
> it creates a resource with the specified url, but no file is uploaded.
>
>
>
> --------
> Filip Radulovic
> www.filip.milstan.net
>
> On Sun, Jul 19, 2015 at 10:35 PM, Ian Ward <ian at excess.org> wrote:
>
> > This is just a problem with the resource validation being overly strict.
> > Provide any value for the resource url when uploading and it should work.
> > On 19 Jul 2015 3:18 pm, "Filip Radulovic" <filiprd at gmail.com> wrote:
> >
> >> Hi all,
> >>
> >> I have installed today a new instance of CKAN using source on Ubuntu
> >> 14.04 (I have perviously installed it using package on 12.04).
> >>
> >> With some problems along the way, I have managed to put everything
> >> together so CKAN works, I can upload files, DataStore and DataPush work
> as
> >> well, I have tested some curl commands etc.
> >>
> >> However, I have one small problem. I get missing value errors when I try
> >> to upload a file using FileStore API.  For example, I do
> >>
> >> *curl -H'Authorization: foo-foo-foo-foo'
> >> 'http://127.0.0.1:5000/api/action/resource_create
> >> <http://127.0.0.1:5000/api/action/resource_create>' --form
> >> upload=/home/filip/Downloads/MyFile.csv --form package_id=foo-foo-foo*
> >>
> >> and I get
> >>
> >> *{"help":
> >> "http://127.0.0.1:5000/api/3/action/help_show?name=resource_create
> >> <http://127.0.0.1:5000/api/3/action/help_show?name=resource_create>",
> >> "success": false, "error": {"url": ["Missing value"], "__type":
> "Validation
> >> Error"*
> >>
> >> If I try to add a resource with link (using --form url=
> http://example.com)
> >> it gets executed successfully.
> >>
> >> So, any hint on what might be the problem? I searched for some solutions
> >> but I couldn't figure it out.
> >>
> >> Cheers
> >>
> >>
> >> --------
> >> Filip Radulovic
> >> www.filip.milstan.net
> >>
> >> _______________________________________________
> >> 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/20150719/8b5df475/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 4
> Date: Mon, 20 Jul 2015 10:00:39 +0530
> From: Naresh N <naresh919 at gmail.com>
> To: ckan-dev at lists.okfn.org
> Subject: [ckan-dev] WMS Manage Get Capabilities document not listing
>         the     layers
> Message-ID:
>         <CAKAPXzM37dcL6yAkeRyqizGrpgwcqo1=
> CJzDOzJhg6M9GRt6Kw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Dear All,
> I have installed CKAN on Ubuntu 12.04 by following  steps given in
> http://docs.ckan
> .org/en/latest/maintaining/installing/install-from-package.html.
> After that I have installed spatial extension by following steps given in
> https://github.com/ckan/ckanext-geoview.
>
>  But when  I added  WMS get Capability document url and given file format
> as XML.In Preview section only Text type only available. Not able to find
> map view along with layers from get capability document. How to enable map
> view.
>
> Please kindly help me to resolve the problem.
>
> Thanks&Regards,
> Naresh
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.okfn.org/pipermail/ckan-dev/attachments/20150720/9e53a400/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 5
> Date: Mon, 20 Jul 2015 06:14:41 +0000
> From: Matthew Fullerton <matthew at smartlane.de>
> To: "ckan-dev at lists.okfn.org" <ckan-dev at lists.okfn.org>
> Subject: Re: [ckan-dev] WMS Manage Get Capabilities document not
>         listing the     layers
> Message-ID: <1437372828082.37549 at smartlane.de>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Dear Naresh,
>
> Have you tried changing the file format to WMS? You can type formats in
> manually yourself. Then the option to add a GeoView should be there under
> Views.
>
>
> Best,
>
> Matt?
>
>
> ________________________________
> Von: ckan-dev <ckan-dev-bounces at lists.okfn.org> im Auftrag von Naresh N <
> naresh919 at gmail.com>
> Gesendet: Montag, 20. Juli 2015 06:30
> An: ckan-dev at lists.okfn.org
> Betreff: [ckan-dev] WMS Manage Get Capabilities document not listing the
> layers
>
> Dear All,
> I have installed CKAN on Ubuntu 12.04 by following  steps given in
>
> http://docs.ckan.org/en/latest/maintaining/installing/install-from-package.html
> .
> After that I have installed spatial extension by following steps given in
> https://github.com/ckan/ckanext-geoview.
>
>  But when  I added  WMS get Capability document url and given file format
> as XML.In Preview section only Text type only available. Not able to find
> map view along with layers from get capability document. How to enable map
> view.
>
> Please kindly help me to resolve the problem.
>
> Thanks&Regards,
> Naresh
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.okfn.org/pipermail/ckan-dev/attachments/20150720/16d45aaa/attachment.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 57, Issue 22
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150720/cd92b197/attachment-0002.html>


More information about the ckan-dev mailing list