1#ifndef OSMSCOUT_IMPORT_PREPROCESSOR_H
2#define OSMSCOUT_IMPORT_PREPROCESSOR_H
23#include <unordered_map>
47 const GeoCoord&
coord)
91 const ImportParameter& parameter,
93 const std::string& filename) = 0;
#define OSMSCOUT_IMPORT_API
Definition ImportImportExport.h:45
Definition Preprocessor.h:36
virtual void ProcessBlock(RawBlockDataRef data)=0
std::shared_ptr< RawBlockData > RawBlockDataRef
Definition Preprocessor.h:77
virtual ~PreprocessorCallback()=default
Definition Preprocessor.h:86
virtual ~Preprocessor()=default
virtual bool Import(const TypeConfigRef &typeConfig, const ImportParameter ¶meter, Progress &progress, const std::string &filename)=0
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
Definition Preprocessor.h:70
std::vector< RawRelationData > relationData
Definition Preprocessor.h:73
std::vector< RawWayData > wayData
Definition Preprocessor.h:72
std::vector< RawNodeData > nodeData
Definition Preprocessor.h:71
GeoCoord coord
Definition Preprocessor.h:41
RawNodeData(OSMId id, const GeoCoord &coord)
Definition Preprocessor.h:46
TagMap tags
Definition Preprocessor.h:42
OSMId id
Definition Preprocessor.h:40
Definition Preprocessor.h:63
OSMId id
Definition Preprocessor.h:64
TagMap tags
Definition Preprocessor.h:65
std::vector< RawRelation::Member > members
Definition Preprocessor.h:66
Definition Preprocessor.h:56
TagMap tags
Definition Preprocessor.h:58
OSMId id
Definition Preprocessor.h:57
std::vector< OSMId > nodes
Definition Preprocessor.h:59