Skip to content
Browse files

+ add_box - fix Polygon json output

  • Loading branch information...
1 parent 6f14cc4 commit 9c98ced7ad7d9be8ea0e290b96862d4ccf1d34ab @artemp artemp committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/metawriter.cpp
View
3 src/metawriter.cpp
@@ -170,7 +170,8 @@ void metawriter_json_stream::add_box(box2d<double> const &box, Feature const& fe
minx << ", " << miny << "], [" <<
maxx << ", " << miny << "], [" <<
maxx << ", " << maxy << "], [" <<
- minx << ", " << maxy << "] ] ]";
+ minx << ", " << maxy << "], [" <<
+ minx << ", " << miny << "] ] ]";
write_properties(feature, properties);

0 comments on commit 9c98ced

Please sign in to comment.
Something went wrong with that request. Please try again.