Comments (9)
Hello Shubham,
I tried that resource on a local instance of mine and it worked fine.
can you share a link to an online CKAN instance that reproduces the problem?
from ckanext-geoview.
Hi @pduchesne ,
I am also working on local instance only, but if you require I will set up the same in public instance and share the same. The basic difference I am able to see with a working site and my instance are mainly mapconfig options in the inspection of the elements. Is there any dependency on other extension or Framework?
from ckanext-geoview.
Can you share your ckanext.spatial.* and ckanext.geoview.* values from your config? And your basemaps.json config, if you have one.
from ckanext-geoview.
I have not installed the spatial extension, is it required for geoview to work, it's not there in documentation.
ckan.plugins = stats geo_view text_view image_view resource_proxy
ckan.views.default = image_view geo_view
ckan.spatial.srid = 4326
ckanext.geoview.ol_viewer.formats = wms kml geojson
from ckanext-geoview.
OK, I got it.
There's been a regression causing the default basemap to fail. I'll fix that.
In the mean time, to be able to work with your current install, you'll have to explicitly specify a basemap in your config, f.i. :
ckanext.spatial.common_map.type = XYZ
ckanext.spatial.common_map.custom.url = http://tile.openstreetmap.org/{z}/{x}/{y}.png
ckanext.spatial.common_map.attribution = Map tiles & Data by OpenStreetMap, under CC BY SA.
from ckanext-geoview.
my bad, you should use this (custom type) :
ckanext.spatial.common_map.type = custom
ckanext.spatial.common_map.custom.url = http://tile.openstreetmap.org/{z}/{x}/{y}.png
ckanext.spatial.common_map.attribution = Map tiles & Data by OpenStreetMap, under CC BY SA.
from ckanext-geoview.
Hi @pduchesne
Thanks for providing the configuration, it's displaying the display. But default, MAP Viewer(Open Layers) is not getting created for KML files/URLs. Is there any option or configuration entry for default view as MAP Viewer for all the KML files.
P.S.
Configuration entries used are:-
ckan.plugins = stats geo_view text_view image_view resource_proxy
ckan.views.default = image_view geo_view
ckan.spatial.srid = 4326
ckanext.geoview.ol_viewer.formats = wms kml geojson
ckanext.spatial.common_map.type = custom
ckanext.spatial.common_map.custom.url = http://tile.openstreetmap.org/{z}/{x}/{y}.png
ckanext.spatial.common_map.attribution = Map tiles & Data by OpenStreetMap, under CC BY SA.
from ckanext-geoview.
the correct config key for default views is ckan.views.default_views
, not ckan.views.default
from ckanext-geoview.
Thanks a lot, everything is working fine now. For default view, it was a typo.
from ckanext-geoview.
Related Issues (20)
- map zoomed out and not rendering when loading a page
- common_map WMS configuration wrong parameter HOT 1
- Change feature style in OL geoview
- Local WMS as basemap
- Missing CKAN compatibilty matrix
- Compatibility issue with 2.9 HOT 2
- Compability issue CKAN 2.9 python2 Trying to include unknown asset: <ckanext-geoview/geo-resource-styles_css> HOT 3
- Errors in using geoview HOT 3
- Language translation: Error in re-extraction message when updating translation file
- Geoview throws error everytime on CKAN 2.9 HOT 3
- Problems with geo map visualization HOT 1
- Webassets support for the WMTS preview
- on_same_domain check for WMTS and Shapefile preview
- Problem with extension installation
- No functionality after install HOT 7
- Shapefiles show as line on the top of maps, the .prj file seems not to be read HOT 1
- Layers do not display
- How display map for kml HOT 1
- Leaflet Shapefile won't load HOT 2
- Missing leaflet-providers in the webassets and attributionControl: false in the JS module
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ckanext-geoview.