mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-04 17:35:42 +02:00
Reduce maxzooms being guessed a little: (#2)
* Reduce maxzooms being guessed a little: * Use 1.5 standard deviations, not 2, as the minimum distinguishable * Give overlapping polygons and linestrings more distinct indices * Add another drop rate guessing options, from the same metrics -zg uses * Guard against using -rp without -zg
This commit is contained in:
@@ -85,7 +85,7 @@
|
||||
,
|
||||
{ "type": "FeatureCollection", "properties": { "zoom": 12, "x": 657, "y": 1582 }, "features": [
|
||||
{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [
|
||||
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ -122.249830, 37.793321 ], [ -122.249787, 37.793338 ], [ -122.249830, 37.793321 ] ] } }
|
||||
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ -122.249787, 37.793338 ], [ -122.249830, 37.793321 ], [ -122.249787, 37.793338 ] ] } }
|
||||
] }
|
||||
] }
|
||||
,
|
||||
@@ -109,7 +109,7 @@
|
||||
,
|
||||
{ "type": "FeatureCollection", "properties": { "zoom": 13, "x": 1314, "y": 3165 }, "features": [
|
||||
{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [
|
||||
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ -122.249830, 37.793313 ], [ -122.249787, 37.793338 ], [ -122.249830, 37.793313 ] ] } }
|
||||
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ -122.249787, 37.793338 ], [ -122.249830, 37.793313 ], [ -122.249787, 37.793338 ] ] } }
|
||||
] }
|
||||
] }
|
||||
,
|
||||
@@ -133,7 +133,7 @@
|
||||
,
|
||||
{ "type": "FeatureCollection", "properties": { "zoom": 14, "x": 2628, "y": 6331 }, "features": [
|
||||
{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [
|
||||
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ -122.249824, 37.793308 ], [ -122.249787, 37.793338 ], [ -122.249830, 37.793308 ] ] } }
|
||||
{ "type": "Feature", "properties": { }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ -122.249787, 37.793338 ], [ -122.249830, 37.793308 ] ], [ [ -122.249824, 37.793308 ], [ -122.249787, 37.793338 ] ] ] } }
|
||||
] }
|
||||
] }
|
||||
] }
|
||||
|
||||
Reference in New Issue
Block a user