void ServicesDbReader::setConfiguration(const Settings& conf) { ConfigOptions configOptions(conf); setMaxElementsPerMap(configOptions.getMaxElementsPerPartialMap()); setUserEmail(configOptions.getServicesDbReaderEmail()); setBoundingBox(configOptions.getConvertBoundingBox()); }
void ServicesDbReader::setConfiguration(const Settings& conf) { setMaxElementsPerMap(ConfigOptions(conf).getMaxElementsPerPartialMap()); setUserEmail(conf.getString(emailKey(), "")); }
PartialOsmMapReader::PartialOsmMapReader() { setMaxElementsPerMap(ConfigOptions().getMaxElementsPerPartialMap()); _elementsRead = 0; }