Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KML preview doesn't work #53

Closed
n3tmaster opened this issue Mar 16, 2017 · 7 comments
Closed

KML preview doesn't work #53

n3tmaster opened this issue Mar 16, 2017 · 7 comments

Comments

@n3tmaster
Copy link

I installed ckanext-geoview following installation instructions.
When I try to open a KML resource, CKAN isn't able to open OpenLayers in order to display my KML.

This is my ckan installation

http://149.139.16.91:5000/dataset/sir_bike_1

@drnextgis
Copy link

Cannot open URL.

@n3tmaster
Copy link
Author

mmm it's strange I just tried the link and it works

can you re-try the link please?

Thank you in advance

@pduchesne
Copy link

pduchesne commented Mar 17, 2017 via email

@n3tmaster
Copy link
Author

I'm sorry, the port 5000 is blocked by our IT manager. I changed the port used by my CKan installation: now it is the 5005.

So the url is : http://149.139.16.91:5005/dataset/sir_bike_1

Thank you in advance

@amercader
Copy link
Member

Does is work if you manually create the view? ie On the resource page > Manage > Views > New View > Map Viewer (Open Layers)

If that works you might need to add geo_view to the ones that get created automatically when adding a dataset adding this to your ini file:

ckan.views.default_views = ... geo_view

@n3tmaster
Copy link
Author

n3tmaster commented Mar 17, 2017 via email

@n3tmaster
Copy link
Author

I resolve the issue: I wrote a wrong url into ckan.site_url property.

Now it works. Thank you for the support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants