Skip to content

Commit 22d7d53

Browse files
committed
document node_ids param
1 parent 88b65ec commit 22d7d53

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libpysal/graph/_network.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ def pdna_to_adj(origins, network, node_ids, threshold):
3333
Geodataframe of origin geometries to begin routing.
3434
network : pandana.Network
3535
pandana.Network instance that stores the local travel network
36+
node_ids:
37+
array of node_ids in the pandana.Network aligned with the input
38+
observations in `origins`. This is created via a call like
39+
`pandana.Network.get_node_ids(df.geometry.x, df.geometry.y)`
3640
threshold : int
3741
maximum travel distance (inclusive)
3842

0 commit comments

Comments
 (0)