get rid of libboost dependency
This commit is contained in:
parent
4674f0f116
commit
d387314715
18 changed files with 282 additions and 104 deletions
|
|
@ -13,8 +13,8 @@ void GeoJsonOutput::print(const Point<T>& p, Attrs attrs) {
|
|||
_wr.keyVal("type", "Point");
|
||||
_wr.key("coordinates");
|
||||
_wr.arr();
|
||||
_wr.val(p.template get<0>());
|
||||
_wr.val(p.template get<1>());
|
||||
_wr.val(p.getX());
|
||||
_wr.val(p.getY());
|
||||
_wr.close();
|
||||
_wr.close();
|
||||
_wr.key("properties");
|
||||
|
|
@ -36,8 +36,8 @@ void GeoJsonOutput::print(const Line<T>& line, Attrs attrs) {
|
|||
_wr.arr();
|
||||
for (auto p : line) {
|
||||
_wr.arr();
|
||||
_wr.val(p.template get<0>());
|
||||
_wr.val(p.template get<1>());
|
||||
_wr.val(p.getX());
|
||||
_wr.val(p.template getY());
|
||||
_wr.close();
|
||||
}
|
||||
_wr.close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue