Geopandas Spatial Joins - unable to import geandas.tools files
I am currently doing my GIS work in Python using a combination of Pandas and ArcPy. I recently heard about Geopandas and am interested in learning how to use it as an alternative to ArcPy for basic geoprocessing operations (spatial polygon connection points, intersecting polygons, etc.).
I have installed Geopandas and its dependencies (gdal, shapely, fiona and pyproj).
I found a Geopandas tutorial on spatial joins ( http://nbviewer.ipython.org/github/geopandas/geopandas/blob/master/examples/spatial_joins.ipynb ) that I tried to use in the Spatial Joins Between Two GeoDataFrames section.
The first 4 lines import the required modules:
import os
from shapely.geometry import Point
from geopandas import GeoDataFrame, read_file
from geopandas.tools import overlay
3 of these lines succeed and the fourth fails. I get the following import error: "ImportError: No module named tools"
Any suggestions as to what is going wrong? Could it be a bug while installing dependencies?
Thanks for the help!
source to share
Geopandas 0.1.0, which is the last documented release of geodata, was released on July 13, 2014 does not include a toolbox according to github
You should probably install the latest version of the geodata or pull the repository from github and build it yourself.
source to share