mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +00:00
Fixed reading SRTM from squashfs
This commit is contained in:
committed by
zyphlar
parent
aab883171d
commit
032183414b
@@ -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