[ckan-dev] Access-Control-Allow-Origin problems with ckanext-spatial AND resource_proxy enabled.

Henrik Aagaard Sørensen BU1G at tmf.kk.dk
Wed Jun 19 09:23:33 UTC 2013


I see. Testing with one of the GeoJSON datasets from demo.ckan.org actually works.
I guess there must be a problem with our GeoJSON data then.

I will try to get it verified.

Thank Dominik.

-----Oprindelig meddelelse-----
Fra: ckan-dev-bounces at lists.okfn.org [mailto:ckan-dev-bounces at lists.okfn.org] På vegne af Dominik Moritz
Sendt: 18. juni 2013 22:00
Til: CKAN Development Discussions
Emne: Re: [ckan-dev] Access-Control-Allow-Origin problems with ckanext-spatial AND resource_proxy enabled.

Hi,

This cannot be the case because the dataproxy is only used for the recline preview but not the pdf, json, xml or gejson preview.

Cheers,
Dominik

On 18 Jun 2013, at 14:46, Henrik Aagaard Sørensen <BU1G at tmf.kk.dk> wrote:

> You answered another question regarding previewing local files.
> Could it be the same issue, that my files, which actually are stored local, cannot be viewed with Access-Control-Allow-Origin error due to the fact that it aren't viewable from the "open" internet?
> 
> 
> -----Oprindelig meddelelse-----
> Fra: ckan-dev-bounces at lists.okfn.org [mailto:ckan-dev-bounces at lists.okfn.org] På vegne af Dominik Moritz
> Sendt: 18. juni 2013 12:50
> Til: CKAN Development Discussions
> Emne: Re: [ckan-dev] Access-Control-Allow-Origin problems with ckanext-spatial AND resource_proxy enabled.
> 
> Hey,
> 
> Can you send me a link to a file that shows this issue?
> 
> Cheers,
> Dominik
> 
> On 18 Jun 2013, at 12:40, Henrik Aagaard Sørensen <BU1G at tmf.kk.dk> wrote:
> 
>> I've installed ckanext-spatial (with help from this community) and it does seems to have gone successfully.
>> 
>> However, when trying to view GeoJSON etc. from external sources, I get the classic is not allowed by Access-Control-Allow-Origin error, even though resource_proxy is enabled.
>> 
>> Any idea on what could be the problem? I've tried with several different sources.
>> 
>> I've installed CKAN via package on Ubuntu 12.04 LTS.
>> 
>> Regards
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> 
> Dominik Moritz
> CKAN developer  |  skype: d.moritz  |  @doobly_doo
> The Open Knowledge Foundation
> Empowering through Open Knowledge
> http://okfn.org/  |  @okfn  |  http://ckan.org  |  @CKANproject
> 
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev

Dominik Moritz
CKAN developer  |  skype: d.moritz  |  @doobly_doo
The Open Knowledge Foundation
Empowering through Open Knowledge
http://okfn.org/  |  @okfn  |  http://ckan.org  |  @CKANproject


_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org
http://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev




More information about the ckan-dev mailing list