Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New tools (toys?) to consider incorporating for this year #7

Open
emiliom opened this issue Aug 18, 2017 · 3 comments
Open

New tools (toys?) to consider incorporating for this year #7

emiliom opened this issue Aug 18, 2017 · 3 comments

Comments

@emiliom
Copy link
Member

emiliom commented Aug 18, 2017

Updated: 2017-9-19

  • Geoplot
  • OSMnx
  • GeoNotebook, a Jupyter notebook extension for geospatial visualization and analysis
  • A package Anthony Arendt mentioned during his xarray (nDArray) tutorial at GeoHackweek 2016, which I believe enabled (or aimed to) vector mapping and masking capabilities to work nicely with xarray. I think it was regionmask
@lsetiawan
Copy link
Member

Geoplot

I have ran into my first issue for Geoplot due to the release of Geopandas. Seems like it is dependant on an older version of Geopandas. When I try importing import geoplot as gplt I get ImportError:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-10-ef1162e9a1a5> in <module>()
     15 import geopandas as gpd
     16 from geopandas import (GeoSeries, GeoDataFrame)
---> 17 import geoplot as gplt
     18 
     19 data_pth = "../data"

//anaconda/envs/workenv/lib/python3.6/site-packages/geoplot/__init__.py in <module>()
      7 # from .utils import (gaussian_points, classify_clusters, gaussian_polygons, gaussian_multi_polygons,
      8 #                     uniform_random_global_points, uniform_random_global_network)
----> 9 from .geoplot import *
     10 from .quad import *
     11 from .crs import *

//anaconda/envs/workenv/lib/python3.6/site-packages/geoplot/geoplot.py in <module>()
      4 
      5 import geopandas as gpd
----> 6 from geopandas.plotting import __pysal_choro, norm_cmap
      7 import matplotlib.pyplot as plt
      8 import matplotlib as mpl

ImportError: cannot import name 'norm_cmap'

@emiliom
Copy link
Member Author

emiliom commented Sep 6, 2017

Thanks for testing geoplot. Let's skip it, then. We don't have time to deal with issues involving GeoPandas compatibility. If I have time I may mention geoplot in the tutorial, but not use it directly.

@emiliom
Copy link
Member Author

emiliom commented Sep 5, 2018

Note to self: The import geoplot statement is no longer a problem, with the current conda environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants