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
Hi! Thanks for the great library. I would really like to use it to find nearby edges in road networks, but am having trouble getting scalable performance anywhere close to performance touted here.
I create an index with many Polylines, each containing N>1 edges. As the size of the index scales up, the closest edge query slows down:
I checked the benchmarks here and noticed that the test is run against a single shape with N edges, which is different from my naive indexing strategy of N shapes with few edges.
Being relatively new to the problem space, I wonder if you could help advise me about whether this library is a good fit for what I am trying to do? And if so, any tips on how to better model my network in S2?
FWIW, I pulled the source locally and tried to run the benchmark modeling my scenario, but the test times out. I added the following loopShapeIndexGenerator and swapped it out with the one used by the benchmark linked above:
Hi! Thanks for the great library. I would really like to use it to find nearby edges in road networks, but am having trouble getting scalable performance anywhere close to performance touted here.
I create an index with many
Polylines
, each containingN>1
edges. As the size of the index scales up, the closest edge query slows down:I checked the benchmarks here and noticed that the test is run against a single shape with N edges, which is different from my naive indexing strategy of N shapes with few edges.
Being relatively new to the problem space, I wonder if you could help advise me about whether this library is a good fit for what I am trying to do? And if so, any tips on how to better model my network in S2?
FWIW, I pulled the source locally and tried to run the benchmark modeling my scenario, but the test times out. I added the following
loopShapeIndexGenerator
and swapped it out with the one used by the benchmark linked above:Thanks!
The text was updated successfully, but these errors were encountered: