Skip to content

Instantly share code, notes, and snippets.

Micah Cochran micahcochran

  • City of Athens, Alabama, USA
  • Athens, Alabama, USA
Block or report user

Report or block micahcochran

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@micahcochran
micahcochran / geosshim.py
Created Dec 31, 2015
geosshim.py Attempted Shapely support for Basemap
View geosshim.py
# Note: This code does NOT work!!!
# Attempt at a shim for Shapely to work with basemap.
# This is to try to use Shapely for the code that need libgeos.
# The code is minimal on purpose.
# add this file into the lib/mpl_toolkits/basemap folder
# in __init__.py change this line:
# import _geoslib
@micahcochran
micahcochran / geopandas_from_features_test.py
Created Sep 17, 2015
Geopandas from_feature Feature & FeatureCollection test
View geopandas_from_features_test.py
# This is a test for from_features function, which
# in geopandas reads the __geo_interface__ from other libraries.
# This test currently fails.
# 2015-09-17 I'm using a recent development version of geopandas
import geopandas as gpd
class geoEmptyClass:
pass
You can’t perform that action at this time.