1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#include "processor-line.hpp"
processor_line::processor_line(int srid) : geometry_processor(srid, "LINESTRING", interest_way | interest_relation )
{
}
processor_line::~processor_line()
{
}
geometry_builder::pg_geom_t processor_line::process_way(const nodelist_t &nodes)
{
return builder.get_wkb_simple(nodes, false);
}
geometry_builder::pg_geoms_t processor_line::process_relation(const multinodelist_t &nodes)
{
return builder.build_both(nodes, false, false, 1000000);
}
|