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

Needed MultiLineString support in reading Graph from shapefile #1722

Merged
merged 1 commit into from Aug 29, 2015

Conversation

chrisnatali
Copy link
Contributor

Thought some other networkx might need this (there are definitely shapefiles out there with MultiLineStrings).

I also added a geom_attrs param to disable appending the geometry as attributes of the edge (since I may edit the underlying nodes, this info can get out of sync).

Tests for the new features are included.

@hagberg
Copy link
Member

hagberg commented Aug 8, 2015

I'm not a user of this feature but it looks fine to merge.

dschult added a commit that referenced this pull request Aug 29, 2015
Added MultiLineString support in reading Graph from shapefile
@dschult dschult merged commit 8f1cbb8 into networkx:master Aug 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants