This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var isoCountries = { | |
'AF' : 'Afghanistan', | |
'AX' : 'Aland Islands', | |
'AL' : 'Albania', | |
'DZ' : 'Algeria', | |
'AS' : 'American Samoa', | |
'AD' : 'Andorra', | |
'AO' : 'Angola', | |
'AI' : 'Anguilla', | |
'AQ' : 'Antarctica', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# Copyright 2014 Jeff Faudi. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
shapefile.py | |
Provides read and write support for ESRI Shapefiles. | |
author: jlawhead<at>geospatialpython.com | |
date: 20130727 | |
version: 1.2.0 | |
Compatible with Python versions 2.4-3.x | |
""" | |
__version__ = "1.2.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
#****************************************************************************** | |
# $Id: gdal2tiles.py 27044 2014-03-16 23:41:27Z rouault $ | |
# | |
# Project: Google Summer of Code 2007, 2008 (http://code.google.com/soc/) | |
# Support: BRGM (http://www.brgm.fr) | |
# Purpose: Convert a raster into TMS (Tile Map Service) tiles in a directory. | |
# - generate Google Earth metadata (KML SuperOverlay) | |
# - generate simple HTML viewer based on Google Maps and OpenLayers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pytumblr | |
import os | |
import code | |
import oauth2 as oauth | |
from pprint import pprint | |
import json | |
import urllib | |
import codecs | |
# Number of likes to fetch in one request |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script : get_meta.py | |
# Source : https://gist.github.com/jeffaudi/9fcac727cf6251287ecc/ | |
# Copyright (c) 2014, Jeff Faudi | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# | |
# * Redistributions of source code must retain the above copyright notice, this | |
# list of conditions and the following disclaimer. |