Skip to content

EduardsSk/geonames-openrefine

 
 

Repository files navigation

Geonames OpenRefine Service

Simple wrapper of the Geonames API which provides output in the OpenRefine reconciliation service format.

Usage

Clone the repository, install dependencies with npm install and start the service using npm start. Then browse to http://localhost:5060/reconcile.

The service uses the demo account by default. You should create a username at the Geonames website and activate it for API usage. Then you can set the GEONAMES_USERNAME environment variable with your username.

Mapbox Usage

The preview functionality can show a map of the location if you provide an access token. Create a free account on the MapBox site and add a new access token. Then set the token in the MAPBOX_ACCESS_TOKEN environment variable.

Deployment

Deploy to AWS

This app uses the aws-serverless-express library to adapt the Express app to AWS Serverless. To deploy the app, set the following NPM configuration (for example in a .npmrc file:)

s3BucketName = <NAME>
region = us-east-1
cloudFormationStackName = GeonamesOpenRefineStack
functionName = GeonamesOpenRefine
accountId = <ACCOUNT>

Then deploy the app with:

$ npm run package-deploy

Deploy to Heroku

Deploy

About

OpenRefine wrapper for the Geonames webservice

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 72.3%
  • Pug 27.7%