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
### Crop Single Node and Feature ###
function crop!(nodes::Dict, bounds::OpenStreetMapX.Bounds, features::Dict, id::Int)
if !OpenStreetMapX.inbounds(nodes[id], bounds)
id in keys(features) && delete!(features, id)
delete!(nodes,id)
end
end
Is there any specific reason that id is deleted from both the features dictionary and the nodes dictionary? I mean, what is the relation (or is there any) between the features dictionary and the nodes dictionary?
The text was updated successfully, but these errors were encountered:
I'm confused about the following function.
Is there any specific reason that id is deleted from both the features dictionary and the nodes dictionary? I mean, what is the relation (or is there any) between the features dictionary and the nodes dictionary?
The text was updated successfully, but these errors were encountered: