-
Notifications
You must be signed in to change notification settings - Fork 13
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
It cannot open shapefiles #5
Comments
To get it working, edit init.py and modify line 907 from: I also had some issues with pillow and conda... but that's a different story. |
I encountered the "TypeError: integer argument expected, got float" at first time. I used Jupyter Notebook to write my python script. I read one answer from Karimbahgat on another Web Page to know that it may be caused by old version of PIL module from anaconda. I used your way to edit two part of But after I implement the instant mapping sentence, The error:
|
The error happens when it is trying to render text. The global OSSYSTEM detects that you are on a mac (darwin), and tries to use it as a key to locate the system-specific font folder from the |
Hello.
I installed the package by the option B, imported it successfully but got an error on the very first line from the Instant Mapping section:
geovis.ViewShapefile("C:/shapefile.shp")
The error:
I tried many different shapefiles, also using Customized Maps lines, but never managed to open any.
I also tried to set the size myself:
mysize = 500, 500
geovis.ViewShapefile(polygonshp, mysize)
But then I got an error:
Python 2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit (AMD64)] on win32.
So how do I use the package? Thanks.
The text was updated successfully, but these errors were encountered: