forked from organicmaps/organicmaps
Remove 1 coding bits per 2 levels (not one). Avoid artefacts in triangle-chains coding.
This commit is contained in:
parent
416b67f26d
commit
c728abb8dc
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ namespace feature
|
|||
{
|
||||
serial::CodingParams DataHeader::GetCodingParams(int scaleIndex) const
|
||||
{
|
||||
return serial::CodingParams(m_codingParams.GetCoordBits() - (m_scales[3] - m_scales[scaleIndex]),
|
||||
return serial::CodingParams(m_codingParams.GetCoordBits() - (m_scales[3] - m_scales[scaleIndex]) / 2,
|
||||
m_codingParams.GetBasePointUint64());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue