don't pass invalid bounding_boxes to boost::geometry::rtree_index
This commit is contained in:
parent
3b663af863
commit
4debc817b5
1 changed files with 2 additions and 2 deletions
|
@ -218,9 +218,9 @@ void topojson_datasource::parse_topojson(T const& buffer)
|
|||
{
|
||||
extent_.expand_to_include(box);
|
||||
}
|
||||
values.emplace_back(box_type(point_type(box.minx(),box.miny()),point_type(box.maxx(),box.maxy())), geometry_index);
|
||||
++geometry_index;
|
||||
}
|
||||
values.emplace_back(box_type(point_type(box.minx(),box.miny()),point_type(box.maxx(),box.maxy())), geometry_index);
|
||||
++geometry_index;
|
||||
}
|
||||
|
||||
// packing algorithm
|
||||
|
|
Loading…
Add table
Reference in a new issue