#ifndef POLYLINECOMPRESSOR_H_ #define POLYLINECOMPRESSOR_H_ #include "osrm/coordinate.hpp" #include #include namespace osrm { namespace engine { struct SegmentInformation; class PolylineCompressor { private: std::string encode_vector(std::vector &numbers) const; std::string encode_number(const int number_to_encode) const; public: std::string get_encoded_string(const std::vector &polyline) const; std::vector decode_string(const std::string &geometry_string) const; }; } } #endif /* POLYLINECOMPRESSOR_H_ */