Skip to content

This script go trought the MediaCloud geographic tag set and labels all the tags with readable labels and descriptions.

Notifications You must be signed in to change notification settings

mitmedialab/MediaCloud-GeoTag-Labeller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MediaCloud GeoTag Labeller

This script go trought the MediaCloud geographic tag set and labels all the tags with readable labels and descriptions. We need to do this because tags are instantiated as needed, without labels nor descriptions.

Installation

First install the MediaCloud API client library. Then install these python dependencies:

pip install -r requirements.pip

Now copy settings.config.sample to settings.config and be sure to fill in these properties:

  • mediacloud.key
  • medialcoud.geo_tag_sets_id

Use

Simply run label-geo-tags.py to label another N tags from the tag set. It keeps track of the last labelled tag for you, so can run this on cron to label new tags as they are added to the set.

About

This script go trought the MediaCloud geographic tag set and labels all the tags with readable labels and descriptions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages