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

weights header bug #456

Closed
jkoschinsky opened this issue Aug 18, 2016 · 1 comment
Closed

weights header bug #456

jkoschinsky opened this issue Aug 18, 2016 · 1 comment

Comments

@jkoschinsky
Copy link
Collaborator

Found a bug where GeoDa doesn't recognize shapefile names with spaces as in this example (name: Space Data.shp). When you try to create a weights file, you get this error:

screen shot 2016-08-18 at 3 31 07 pm

I played with it to get it to generate a weights file and opened it in a txt editor:

screen shot 2016-08-18 at 3 23 15 pm

Because the shapefile name consists of two separate words (Space Data), GeoDa thinks the shapefile name is Space and is looking for a weights ID called Data, not realizing this is part of the shapefile name. When you rename the shape file (ship, shx, dbf, prj) from Space Data to SpaceData, you get rid of the error.

@jkoschinsky jkoschinsky added this to the 1.8 milestone Aug 18, 2016
lixun910 referenced this issue in lixun910/geoda Aug 19, 2016
for name with “blank space”, writing to weights file will automatically
add quotes. Also add code to read these weights file with “quotes” file
name.
@jkoschinsky
Copy link
Collaborator Author

jkoschinsky commented Aug 31, 2016

works now:

screen shot 2016-08-31 at 12 11 17 pm

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