Esempio n. 1
0
void ServicesDbWriter::close()
{
  finalizePartial();
  if ( (_nodesWritten > 0) || (_waysWritten > 0) || (_relationsWritten > 0) )
  {
    LOG_DEBUG("Write stats:");
    LOG_DEBUG("\t    Nodes: " << QString::number(_nodesWritten));
    LOG_DEBUG("\t     Ways: " << QString::number(_waysWritten));
    LOG_DEBUG("\tRelations: " << QString::number(_relationsWritten));
  }
}
Esempio n. 2
0
void ServicesDbReader::close()
{
  finalizePartial();
}
Esempio n. 3
0
void PartialOsmMapReader::read(shared_ptr<OsmMap> map)
{
  readPartial(map);
  finalizePartial();
}