Skip to content

Commit

Permalink
Forgot to update the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
e-n-f committed Sep 6, 2024
1 parent 2b54558 commit dee7e53
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions read_json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,13 +285,9 @@ std::vector<mvt_layer> parse_layers(FILE *fp, int z, unsigned x, unsigned y, int
// handle longitude wraparound
//
// this is supposed to be data for a single tile,
// so any jump from the left hand side of the world
// to the right side, or vice versa, is unexpected,
// so any jump from the left hand side edge of the world
// to the right edge, or vice versa, is unexpected,
// so move it to the other side.
//
// (unless this is z0, in which case it is still
// reasonable to have a big, world-spanning polygon,
// and I'm not sure what to do about that.)

if (fix_longitudes) {
for (size_t i = 0; i < dv.size(); i++) {
Expand Down

0 comments on commit dee7e53

Please sign in to comment.