Skip to content

Commit

Permalink
Replace get() with dump().
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Apr 22, 2019
1 parent 29f1d9b commit cc7b36a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions filters/StatsFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ void StatsFilter::extractMetadata(PointTableRef table)

NL::json json = p.json();
MetadataNode boundary = metadata.addWithType("boundary",
json.get<std::string>(), "json", "GeoJSON boundary");
json.dump(), "json", "GeoJSON boundary");
MetadataNode bbox = metadata.add(mbox);
SpatialReference ref = table.anySpatialReference();
// if we don't get an SRS from the PointTableRef,
Expand All @@ -294,7 +294,7 @@ void StatsFilter::extractMetadata(PointTableRef table)

json = p.json();
MetadataNode ddboundary = dddbox.addWithType("boundary",
json.get<std::string>(), "json", "GeoJSON boundary");
json.dump(), "json", "GeoJSON boundary");
}
}
}
Expand Down

0 comments on commit cc7b36a

Please sign in to comment.