-
Notifications
You must be signed in to change notification settings - Fork 8
Update Map
Tom Mitchell edited this page Nov 18, 2016
·
1 revision
Run these commands on the portal host. You'll need a valid omni config file that is configured to use your portal.geni.net certificate and key.
-
Download all advertisement RSpecs from all AMs listed in the portal service registry (takes about 5 minutes to run):
geni-get-ad-rspecs -c <omni_config_file_location> -s /path/to/my/saved/rspecs --silent
-
Parse downloaded RSpecs and write to a GeoJSON file (takes 1 to 2 minutes to run):
geni-parse-map-data -s /path/to/my/saved/rspecs -o /path/to/current.json --silent sudo mv /path/to/current.json /var/www/common/map/current.json
-
Commit updated current.json to git (geni-portal/portal/www/common/map/current.json)
- Use the
--silent
option when running as a cron job so information and debugging messages aren't shown. - Use the
--debug
option to get a verbose output of what's going on.
More information on specific options is available in the man pages:
man geni-get-ad-rspecs
man geni-parse-map-data