small changes

Signed-off-by: map-per <map-per@gmx.de>
This commit is contained in:
map-per
2025-12-11 16:45:05 +01:00
parent 3283ca8307
commit 39bcb9a1a8

View File

@@ -14,15 +14,12 @@ TypeToOSMTranslator::TypeToOSMTranslator(bool initialize)
LoadConfigFile();
}
void TypeToOSMTranslator::LoadConfigFile() {
LOG(LINFO, ("Hello from LoadConfigFile"));
void TypeToOSMTranslator::LoadConfigFile()
{
LOG(LINFO, ("Loading 'mapcss-mapping.csv' file for TypeToOSMTranslator"));
Platform &p = GetPlatform();
std::unique_ptr<ModelReader> reader = p.GetReader("mapcss-mapping.csv");
LOG(LINFO, ("File has size ", reader->Size()));
ReaderStreamBuf buffer(std::move(reader));
std::istream s(&buffer);