Add documentation to ExtractionContainer
This commit is contained in:
parent
3b435d8956
commit
d96e90c6f4
@ -62,6 +62,17 @@ ExtractionContainers::~ExtractionContainers()
|
|||||||
way_start_end_id_list.clear();
|
way_start_end_id_list.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Processes the collected data and serializes it.
|
||||||
|
* At this point nodes are still referenced by their OSM id.
|
||||||
|
*
|
||||||
|
* - map start-end nodes of ways to ways used int restrictions to compute compressed
|
||||||
|
* trippe representation
|
||||||
|
* - filter nodes list to nodes that are referenced by ways
|
||||||
|
* - merge edges with nodes to include location of start/end points and serialize
|
||||||
|
*
|
||||||
|
* FIXME: Each of this step should be an own function for readability.
|
||||||
|
*/
|
||||||
void ExtractionContainers::PrepareData(const std::string &output_file_name,
|
void ExtractionContainers::PrepareData(const std::string &output_file_name,
|
||||||
const std::string &restrictions_file_name)
|
const std::string &restrictions_file_name)
|
||||||
{
|
{
|
||||||
|
@ -36,6 +36,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
|
|
||||||
#include <stxxl/vector>
|
#include <stxxl/vector>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Uses external memory containers from stxxl to store all the data that
|
||||||
|
* is collected by the extractor callbacks.
|
||||||
|
*/
|
||||||
class ExtractionContainers
|
class ExtractionContainers
|
||||||
{
|
{
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
|
Loading…
Reference in New Issue
Block a user