Try to avoid another cross-platform rounding error

This commit is contained in:
Eric Fischer 2016-03-02 15:19:16 -08:00
parent 7e5db337c6
commit ae827af8dc
2 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,3 @@
{ "type": "LineString", "coordinates": [ [ 2.4609375, 46.07323062540838 ], [ 43.2421875, 59.88893689676585 ] ] }
{ "type": "LineString", "coordinates": [ [ 2.4609375, 46.07323062540838 ], [ 43.2421875, 59.9 ] ] }
{ "something": [ { "type": "LineString", "coordinates": [ [ -1.40625, 28.92163128242129 ], [ 26.71875, 17.978733095556183 ], [ 22.148437499999996, -23.563987128451217 ] ] } ] }

View File

@ -1,5 +1,5 @@
{ "type": "FeatureCollection", "properties": {
"bounds": "-1.406250,-23.563987,102.000000,59.888937",
"bounds": "-1.406250,-23.563987,102.000000,59.900000",
"center": "22.500000,20.489949,3",
"description": "tests/geometry/out/-z3.json.check.mbtiles",
"format": "pbf",
@ -12,7 +12,7 @@
}, "features": [
{ "type": "FeatureCollection", "properties": { "zoom": 0, "x": 0, "y": 0 }, "features": [
{ "type": "FeatureCollection", "properties": { "layer": "bare" }, "features": [
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 2.460938, 46.134170 ], [ 43.242188, 59.888937 ] ] } }
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 2.460938, 46.134170 ], [ 43.242188, 59.933000 ] ] } }
,
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ -1.406250, 28.921631 ], [ 26.718750, 18.062312 ], [ 22.148438, -23.563987 ] ] } }
] }
@ -46,7 +46,7 @@
,
{ "type": "FeatureCollection", "properties": { "zoom": 1, "x": 1, "y": 0 }, "features": [
{ "type": "FeatureCollection", "properties": { "layer": "bare" }, "features": [
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 2.460938, 46.103709 ], [ 43.242188, 59.888937 ] ] } }
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 2.460938, 46.103709 ], [ 43.242188, 59.910976 ] ] } }
,
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ -1.406250, 28.921631 ], [ 0.000000, 28.420391 ], [ 26.718750, 18.020528 ], [ 24.741211, 0.000000 ], [ 24.345703, -3.513421 ] ] } }
] }
@ -72,7 +72,7 @@
,
{ "type": "FeatureCollection", "properties": { "zoom": 2, "x": 2, "y": 1 }, "features": [
{ "type": "FeatureCollection", "properties": { "layer": "bare" }, "features": [
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 2.460938, 46.088472 ], [ 43.242188, 59.888937 ] ] } }
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 2.460938, 46.088472 ], [ 43.242188, 59.910976 ] ] } }
,
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ -1.406250, 28.921631 ], [ 0.000000, 28.401065 ], [ 26.718750, 17.999632 ], [ 24.741211, 0.000000 ], [ 24.543457, -1.757537 ] ] } }
] }
@ -114,7 +114,7 @@
,
{ "type": "FeatureCollection", "properties": { "zoom": 3, "x": 4, "y": 2 }, "features": [
{ "type": "FeatureCollection", "properties": { "layer": "bare" }, "features": [
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 2.460938, 46.080852 ], [ 43.242188, 59.888937 ] ] } }
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 2.460938, 46.080852 ], [ 43.242188, 59.905468 ] ] } }
] }
] }
,