|
Libosmium
2.15.4
Fast and flexible C++ library for working with OpenStreetMap data
|
Everything related to input and output of OSM data. More...
Classes | |
| class | Bzip2BufferDecompressor |
| class | Bzip2Compressor |
| class | Bzip2Decompressor |
| class | CompressionFactory |
| class | Compressor |
| class | Decompressor |
| class | File |
| class | GzipBufferDecompressor |
| class | GzipCompressor |
| class | GzipDecompressor |
| class | Header |
| class | InputIterator |
| class | InputIteratorRange |
| class | NoCompressor |
| class | NoDecompressor |
| class | OutputIterator |
| class | Reader |
| class | ReaderWithProgressBar |
| class | Writer |
Enumerations | |
| enum | file_compression { file_compression::none = 0, file_compression::gzip = 1, file_compression::bzip2 = 2 } |
| enum | file_format { file_format::unknown = 0, file_format::xml = 1, file_format::pbf = 2, file_format::opl = 3, file_format::json = 4, file_format::o5m = 5, file_format::debug = 6, file_format::blackhole = 7, file_format::last = 7 } |
| enum | read_meta { read_meta::no = 0, read_meta::yes = 1 } |
| enum | overwrite : bool { overwrite::no = false, overwrite::allow = true } |
| enum | fsync : bool { fsync::no = false, fsync::yes = true } |
Functions | |
| const char * | as_string (file_compression compression) |
| template<typename TChar , typename TTraits > | |
| std::basic_ostream< TChar, TTraits > & | operator<< (std::basic_ostream< TChar, TTraits > &out, const file_compression compression) |
| const char * | as_string (const file_format format) noexcept |
| template<typename TChar , typename TTraits > | |
| std::basic_ostream< TChar, TTraits > & | operator<< (std::basic_ostream< TChar, TTraits > &out, const file_format format) |
| template<typename TItem , typename TSource > | |
| InputIteratorRange< TSource, TItem > | make_input_iterator_range (TSource &source) |
| template<typename TDest > | |
| OutputIterator< TDest > | make_output_iterator (TDest &destination) |
| template<typename TDest > | |
| OSMIUM_DEPRECATED OutputIterator< TDest > | make_output_iterator (TDest &destination, const size_t buffer_size) |
| template<typename... TArgs> | |
| osmium::memory::Buffer | read_file (TArgs &&... args) |
| InputIterator< Reader > | begin (Reader &reader) |
| InputIterator< Reader > | end (Reader &) |
| InputIterator< ReaderWithProgressBar > | begin (ReaderWithProgressBar &reader) |
| InputIterator< ReaderWithProgressBar > | end (ReaderWithProgressBar &) |
Everything related to input and output of OSM data.
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
| InputIteratorRange<TSource, TItem> osmium::io::make_input_iterator_range | ( | TSource & | source | ) |
| OutputIterator<TDest> osmium::io::make_output_iterator | ( | TDest & | destination | ) |
| OSMIUM_DEPRECATED OutputIterator<TDest> osmium::io::make_output_iterator | ( | TDest & | destination, |
| const size_t | buffer_size | ||
| ) |
|
inline |
|
inline |
| osmium::memory::Buffer osmium::io::read_file | ( | TArgs &&... | args | ) |
Read contents of the given file into a buffer in one go. Takes the same arguments as any of the Reader constructors.
The buffer can take up quite a lot of memory, so don't do this unless you are working with small OSM files and/or have lots of RAM.
1.8.13