1#ifndef OSMSCOUT_IMPORT_IMPORTERRORREPORTER_H
2#define OSMSCOUT_IMPORT_IMPORTERRORREPORTER_H
65 inline ReportError(Report report,
66 const ObjectFileRef& ref,
67 const std::string& error)
82 std::string destinationDirectory;
84 std::list<ReportError> errors;
92 HTMLWriter relationReport;
93 size_t relationErrorCount;
95 HTMLWriter locationReport;
96 size_t locationErrorCount;
103 std::string GetName(
const ObjectOSMRef&
object,
104 const TagMap& tags)
const;
109 const std::string& destinationDirectory);
115 const std::string& error)
override;
119 const std::string& error);
123 const std::string& error);
126 const std::string& error);
129 const std::string& error);
132 const std::string& error);
#define OSMSCOUT_IMPORT_API
Definition ImportImportExport.h:45
void ReportWay(OSMId id, const TagMap &tags, const std::string &error)
void ReportLocationDebug(const ObjectFileRef &object, const std::string &error)
static const char *const FILENAME_INDEX_HTML
Definition ImportErrorReporter.h:46
void ReportRelation(OSMId id, const TagMap &tags, const std::string &error)
void ReportLocation(const ObjectFileRef &object, const std::string &error)
static const char *const FILENAME_TAG_HTML
Definition ImportErrorReporter.h:47
static const char *const FILENAME_WAY_HTML
Definition ImportErrorReporter.h:48
static const char *const FILENAME_RELATION_HTML
Definition ImportErrorReporter.h:49
~ImportErrorReporter() override
void ReportRelation(OSMId id, const TypeInfoRef &type, const std::string &error)
void ReportTag(const ObjectOSMRef &object, const TagMap &tags, const std::string &error) override
ImportErrorReporter(Progress &progress, const TypeConfigRef &typeConfig, const std::string &destinationDirectory)
static const char *const FILENAME_LOCATION_HTML
Definition ImportErrorReporter.h:50
Type type
The type of the cell.
Definition GroundTile.h:92
Definition TagErrorReporter.h:33
int64_t OSMId
Definition OSMScoutTypes.h:33
std::shared_ptr< TypeConfig > TypeConfigRef
Definition TypeConfig.h:1396
std::unordered_map< TagId, std::string > TagMap
Definition Tag.h:41
std::shared_ptr< ImportErrorReporter > ImportErrorReporterRef
Definition ImportErrorReporter.h:137
std::shared_ptr< TypeInfo > TypeInfoRef
Definition TypeConfig.h:61
uint16_t TagId
Definition Tag.h:39