mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-11-08 11:10:27 +01:00
Use BigMin instead of NaiveBigMin in spatial queries of SQLite and LevelDB backend.
This commit is contained in:
parent
8d4f73429f
commit
b40eb0021c
|
@ -356,7 +356,7 @@ func (ldbs *LevelDBSession) interleavedSpatialQuery(first, second []byte, done c
|
|||
}
|
||||
it.Next()
|
||||
} else {
|
||||
it.Seek(common.ToBigEndian(common.NaiveBigMin(zmin, zmax, zcode)))
|
||||
it.Seek(common.ToBigEndian(common.BigMin(zmin, zmax, zcode)))
|
||||
}
|
||||
}
|
||||
if err = it.GetError(); err != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user