Skip to content

Download JSON from Overpass API file and upload to Google Site. Wrapped in a Ruby script which handles calling the Java code and email out the results.

Notifications You must be signed in to change notification settings

mwarhaftig/CoinTravelerServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java script to download JSON from Overpass API file and upload to Google Site. Wrapped in a Ruby script which handles calling the Java code and email out the results. All notes assume command being run from CoinTravelerServer repo's base directory and Linux based OS.

Requires Java 1.7 & Ruby 2.X.

To run update via Ruby wrapper and include email notification: ./dist/UpdateJsonOnSiteAndEmail.rb GoogleUsername GooglePassword ./BitcoinMapNodes.json

Parameters:

  1. Google account username (and Google Site domain name).
  2. Google account password.
  3. Local path for file. The file's name will be what you want to update on Google Site.

To run up the Java updater without email notification: java -cp ./dist/UpdateJsonOnSite.jar:./dependencies/ coinTraveler.UpdateJsonOnSite GoogleUsername GooglePassword ./BitcoinMapNodes.json

Parameters:

  1. Google account username (and Google Site domain name).
  2. Google account password.
  3. Local path for file. The file's name will be what you want to update on Google Site.

To create a new jar after updating Java code: jar cfm ./dist/UpdateJsonOnSite.jar Manifest.txt coinTraveler/UpdateJsonOnSite.class


Thanks to Pavol Rusnak for his CoinMap which brought this data and concept to my attention.

Map Data
© by OpenStreetMap contributors
Special thanks to Roland Olbricht for Overpass API

Map Icons
© OpenStreetMap contributors
Available under Open Database Licence (www.opendatacommons.org/licenses/odbl)

Kingpin - Pin Clustering
Copyright [2013-2014] The Apache Software Foundation

This product includes software developed by
The Apache Software Foundation (http://www.apache.org/) and
Bryan Bonczek (https://github.com/itsbonczek).

About

Download JSON from Overpass API file and upload to Google Site. Wrapped in a Ruby script which handles calling the Java code and email out the results.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published