Skip to content

Instantly share code, notes, and snippets.

@ian29

ian29/lsib.py Secret

Created September 7, 2012 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ian29/4611ee28da10ac6b99c7 to your computer and use it in GitHub Desktop.
Save ian29/4611ee28da10ac6b99c7 to your computer and use it in GitHub Desktop.
def translateAttributes(attrs):
if not attrs: return
tags = {}
tags.update({'admin_level':'2'})
tags.update({'boundary':'administrative'})
return tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment