You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i use the momepy.get_network_id function, i get errors with the nID. Code: guat_POI['nID'] = momepy.get_network_id(guat_POI, guat_Road, 'nID').
trying to defined a network id so i can calculate the Reached index. Anything im doing wrong or another better way to do it?
Ah figured the issue now, the unique id column on the street dataset was duplicated. I tried creating a unique_id on the street gdf and that was what i was using but after removing and using the default OBJECTID in the gdf, it works. Apologies for the worry. my bad
Describe the problem
When i use the momepy.get_network_id function, i get errors with the nID. Code: guat_POI['nID'] = momepy.get_network_id(guat_POI, guat_Road, 'nID').
trying to defined a network id so i can calculate the Reached index. Anything im doing wrong or another better way to do it?
Steps to reproduce
'''
import geopandas as gpd
import momepy
Load the datasets
guat_POI = gpd.read_file('/home/francis-andorful/MissingTagModel/StreetMopology/GuatemalaPOIs.geojson').to_crs(epsg=32615)
guat_Road = gpd.read_file('/home/francis-andorful/MissingTagModel/StreetMopology/GuatemalaRoads.geojson').to_crs(epsg=32615)
'''
Versions of your packages
'''
momepy = 0.60
Geopandas = 0.12.2
Your operating system
Ubuntu 20.04
Additional context
No response
The text was updated successfully, but these errors were encountered: