Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to use the Python module networkx and specifically the read-shp () to ensure the transformation of a graph to a file sharpe but I always find this error noting that this is the first time I developed Python (level zero).

       >>> import networkx as nx

       >>>G=nx.DiGraph()

       >>> G=nx.read_shp('/home/test.shp')

Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'read_shp'

thank you in advance for helping me

share|improve this question
    
Do you still have this issue? if you are, try with a different line or point shapefile (different producer) and see how it works out for you – dassouki Jul 6 '13 at 17:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.