Options for improving precision #56
Replies: 3 comments 12 replies
-
I really like the idea of having multiple precisions to pick from, as the precision needed is context specific, both in terms of domain and available machine resources. I guess having multiple nuget packages could create a diamond dependency problem? Having the data in separate files also let's you dynamically pick one. |
Beta Was this translation helpful? Give feedback.
-
I think there should be an easy-to-go setup which does not demand users to think about the geohash precision issue in the first place, so level 5 in the standard procedure is completely fine IMHO. However, it'd be nice to enable experienced users to optionally upgrade the precision of the data if needed. |
Beta Was this translation helpful? Give feedback.
-
Another approach I just thought of, would be to put all three data files into a separate folder within the NuGet package. Then a custom MSBuild target could be included in the package that would embed one of the three files into the target assembly at build time. One would control the precision in their csproj, for example: <PropertyGroup>
<GeoTimeZonePrecision>7</GeoTimeZonePrecision>
</PropertyGroup> |
Beta Was this translation helpful? Give feedback.
-
In #10 we talked about ways to improve precision algorithmically. However, one of the easiest ways we could improve precision is to build the data at a higher geohash precision.
Reference:
For this library, the practical options would be:
Currently we're using level 5.
18 votes ·
Beta Was this translation helpful? Give feedback.
All reactions