mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
Fixed reading SRTM from squashfs
This commit is contained in:
committed by
Konstantin Pastbin
parent
6bac0d5f65
commit
606a94c818
@@ -90,7 +90,7 @@ void SrtmTile::Init(std::string const & dir, ms::LatLon const & coord)
|
||||
}
|
||||
else
|
||||
{
|
||||
GetPlatform().GetReader(file)->ReadAsString(m_data);
|
||||
FileReader(base::JoinPath(dir, file)).ReadAsString(m_data);
|
||||
}
|
||||
|
||||
if (m_data.size() != kSrtmTileSize)
|
||||
|
||||
Reference in New Issue
Block a user