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
n = features.node(123)
w = features.way(123)
r = features.relation(123)
Challenges:
GOLs currently do not have an ID index, so queries would be relatively slow
However, performance could be increased significantly using "spatial hinting" (user supplies a coordinate or bbox that overlaps with the desired feature)
The text was updated successfully, but these errors were encountered:
In case anyone else stumbles across this feature request in search for a solution, one possible workaround is: next(f for f in my_features.ways if f.id == 123)
It doesn't use an index so it may be slow but it will return the way 123 in one line, if it exists.
Allow access to features by ID:
Challenges:
The text was updated successfully, but these errors were encountered: