Skip to content
This repository has been archived by the owner on Apr 15, 2021. It is now read-only.

ngds/ckanext-geoserver-bku03232018

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

###Geoserver Extension for CKAN

custom configurations:

  • geoserver.rest_url = 'geoserver://admin:geoserver@localhost:8080/geoserver/rest'
  • geoserver.default_workspace = 'ckan'
  • geoserver.workspace_name = ckan
  • geoserver.workspace_uri = 'http://localhost:5000/ckan'

Also requires this to be set:

ckan.datastore.write_url = 'postgresql://ckanuser:pass@localhost/datastore'

Geoserver publishing (automated)

This extension contains two paster commands that can be used in conjunction with crontab & supervisor to automatically publish tier 3 data to NGDS services (Geoserver)

Possible ogc publishing errors:
  • PUBLISH_OGC: Error Connecting to Redis while building publish_ogc_queue: check redis connection paramenters in production.ini. Also make sure that the redis server is up and running.
  • PUBLISH_OGC_QUEUE: There was en ERROR while pushing ids to publish_ogc_queue: this means that publish-ogs-redis-queue was not able to add dataset ids to the redis queue. Check to see if the redis server is working as expected.
  • PUBLISH_OGC_WORKER: ERROR, could not connect to Redis: the worker was not able to connect to the redis server. Make sure the redis server is up and running.
  • PUBLISH_OGC_WORKER: An Error has occured while publishing dataset: this means that ckan threw an exception while publishing dataset ids to the redis queue. See what the exception says and go from there (most often it is an issue with ckan not bening able to reach the redis server.
  • PUBLISH_OGC: ERROR, Could not get required API CALL parameters for dataset ': this means that ckan doesn't have the necessary data to call the geoserver api (which publishes tier 3 data to ogc). See what data is missing and troubleshoot from there.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published