ckan / ckanext-geoview

CKAN Geospatial ResourceView
MIT License
43 stars 58 forks source link

KML preview doesn't work #53

Closed n3tmaster closed 7 years ago

n3tmaster commented 7 years ago

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 commented 7 years ago

Cannot open URL.

n3tmaster commented 7 years ago

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

can you re-try the link please?

Thank you in advance

pduchesne commented 7 years ago

the IP is accessible on port 80, but not 5000.

Are you sure you opened 5000 in your firewall ?

On Fri, Mar 17, 2017 at 10:52 AM, Leandro Rocchi notifications@github.com wrote:

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

can you re-try the link please?

Thank you in advance

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ckan/ckanext-geoview/issues/53#issuecomment-287312005, or mute the thread https://github.com/notifications/unsubscribe-auth/ABWOHE28cGTu-Der9hhDyXjrc6807Whxks5rmlf5gaJpZM4MfeA5 .

n3tmaster commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

thank you for your suggestion, I was able to activate OpenLayer view

but when I select “Preview” function, in order to view Open Layer with my data, i get a void fram (see attached image)

Any idea?

Thank you in advance so much!

Leandro

Il giorno 17 mar 2017, alle ore 13:27, Adrià Mercader notifications@github.com ha scritto:

Does is work if you manually create the view? ie On the resource page http://149.139.16.91:5005/dataset/sir_bike_1/resource/5e13467b-0b6f-4ff2-8395-19c3790e678e > 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 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ckan/ckanext-geoview/issues/53#issuecomment-287341317, or mute the thread https://github.com/notifications/unsubscribe-auth/AVi_D4FE9XUbnsqAuCSL17OoO4b2MvaRks5rmnwqgaJpZM4MfeA5.

n3tmaster commented 7 years ago

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

Now it works. Thank you for the support!