/
srv
/
osrm
/
osrm-backend
/
include
/
engine
/
plugins
/
/srv/osrm/osrm-backend/include/engine/plugins
mkdir
upload
Name
Size
Mode
Actions
match.hpp
1238
0644
edit
dl
rm
nearest.hpp
770
0644
edit
dl
rm
plugin_base.hpp
13940
0644
edit
dl
rm
table.hpp
747
0644
edit
dl
rm
tile.hpp
910
0644
edit
dl
rm
trip.hpp
1267
0644
edit
dl
rm
viaroute.hpp
937
0644
edit
dl
rm
Edit:
/srv/osrm/osrm-backend/include/engine/plugins/tile.hpp
(910B)
#ifndef TILEPLUGIN_HPP #define TILEPLUGIN_HPP #include "engine/api/tile_parameters.hpp" #include "engine/plugins/plugin_base.hpp" #include "engine/routing_algorithms.hpp" #include <utility> #include <vector> /* * This plugin generates Mapbox Vector tiles that show the internal * routing geometry and speed values on all road segments. * You can use this along with a vector-tile viewer, like Mapbox GL, * to display maps that show the exact road network that * OSRM is routing. This is very useful for debugging routing * errors */ namespace osrm::engine::plugins { class TilePlugin final : public BasePlugin { public: Status HandleRequest(const RoutingAlgorithmsInterface &algorithms, const api::TileParameters ¶meters, osrm::engine::api::ResultT &pbf_buffer) const; }; } // namespace osrm::engine::plugins #endif /* TILEPLUGIN_HPP */
Save
cmd:
run