Use the new SGBucket api
This commit is contained in:
parent
b4ecb6f2db
commit
94bbed80d0
@ -138,7 +138,7 @@ public:
|
|||||||
{
|
{
|
||||||
// left align longitude offsets
|
// left align longitude offsets
|
||||||
unsigned offset = _offset[0] - _offset[0] % _bucketSpanAtOffset(_offset[1]);
|
unsigned offset = _offset[0] - _offset[0] % _bucketSpanAtOffset(_offset[1]);
|
||||||
return SGBucket(_offsetToLongitudeDeg(offset), _offsetToLatitudeDeg(_offset[1]));
|
return SGBucket( SGGeod::fromDeg(_offsetToLongitudeDeg(offset), _offsetToLatitudeDeg(_offset[1])) );
|
||||||
}
|
}
|
||||||
|
|
||||||
BucketBox getParentBox(unsigned level) const
|
BucketBox getParentBox(unsigned level) const
|
||||||
|
Loading…
Reference in New Issue
Block a user