Open tomalrussell opened 2 years ago
Opening an issue to keep a note of performance improvement ideas. Feel free to edit and add to this list:
Rough benchmarking for ~570,000 edges, split to ~600,000 splits on ~1km² grid. (OpenStreetMap Bangladesh highways, only trunk to tertiary).
snail.multi_intersections.split_linestrings
splits.geometry.apply(lambda g: list(get_cell_indices(g, r.width, r.height, list(r.transform))))
splits.cell_index.apply(lambda i: data[i[1], i[0]])
Opening an issue to keep a note of performance improvement ideas. Feel free to edit and add to this list:
Rough benchmarking for ~570,000 edges, split to ~600,000 splits on ~1km² grid. (OpenStreetMap Bangladesh highways, only trunk to tertiary).
snail.multi_intersections.split_linestrings
splits.geometry.apply(lambda g: list(get_cell_indices(g, r.width, r.height, list(r.transform))))
splits.cell_index.apply(lambda i: data[i[1], i[0]])