pysal 2.1.0rc
  • Installation
  • API
  • References
  • Site

      Contents:

      • Installation
        • 安装发布版本
        • 安装开发版本
        • 安装支持python 2的版本
      • API
        • pysal.lib PySAL Core
        • pysal.explore :探索性空间数据分析
        • pysal.viz :地理可视化
        • pysal.model :用于空间数据分析的线性模型
      • References
  • Page
      • pysal.explore.spaghetti.Network.enum_links_node

pysal.explore.spaghetti.Network.enum_links_node¶

Network.enum_links_node(v0)[源代码]¶

返回节点周围的边(链接)。

参数:
v0 : 利息

节点ID

返回:
links : 列表

与节点相邻的元组边的列表。

实例

>>> import pysal.explore.spaghetti as spgh
>>> ntw = spgh.Network(examples.get_path('streets.shp'))
>>> ntw.enum_links_node(24)
[(24, 48), (24, 25), (24, 26)]

Back to top

© Copyright 2018, pysal developers.
由 Sphinx 1.8.5 创建。