Skip to content

Instantly share code, notes, and snippets.

View AlexArcPy's full-sized avatar

Alexey Tereshenkov AlexArcPy

View GitHub Profile
@AlexArcPy
AlexArcPy / convert.py
Created August 3, 2016 08:16 — forked from jwass/convert.py
Simple script used to convert some shapefiles to GeoJSON, leaving out a few undesired properties. Requires shapely 1.2.18.
import functools
import fiona
import geojson
import pyproj
import shapely.geometry
import shapely.ops
omit = ['SHAPE_AREA', 'SHAPE_LEN']
@AlexArcPy
AlexArcPy / GeoSeries.ipynb
Created July 31, 2016 14:40 — forked from kjordahl/GeoSeries.ipynb
Working with GeoSeries in GeoPandas
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AlexArcPy
AlexArcPy / GeoDataFrame.ipynb
Created July 31, 2016 14:39 — forked from kjordahl/GeoDataFrame.ipynb
working with GeoDataFrames in GeoPandas
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AlexArcPy
AlexArcPy / Geocoding.ipynb
Created July 31, 2016 14:39 — forked from kjordahl/Geocoding.ipynb
GeoPandas geocoding example
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AlexArcPy
AlexArcPy / citibike.ipynb
Created July 31, 2016 14:39 — forked from kjordahl/citibike.ipynb
Citibike data
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AlexArcPy
AlexArcPy / booli.py
Created June 4, 2016 16:26 — forked from emilkaiser/booli.py
Booli API Python
import httplib
import time
from hashlib import sha1
import random
import string
import json
callerId = "YOUR_CALLER_ID"
timestamp = str(int(time.time()))
unique = ''.join(random.choice(string.ascii_uppercase + string.digits) for x in range(16))