Places: Use float64 for all coordinates to avoid rounding errors #3953

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2024-09-15 13:52:31 +02:00
parent e808de45e3
commit 735a3a2d13
32 changed files with 510 additions and 377 deletions

View File

@@ -20,8 +20,8 @@ type TestForm struct {
Photo bool `form:"photo"`
Archived bool `form:"archived"`
Error bool `form:"error"`
Lat float32 `form:"lat"`
Lng float32 `form:"lng"`
Lat float64 `form:"lat"`
Lng float64 `form:"lng"`
Dist uint `form:"dist"`
Color string `form:"color"`
Chroma int16 `form:"chroma"`