From e7c415de7b477b8b844c36b27678b334d81afd46 Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Mon, 25 Nov 2019 21:32:09 -0500 Subject: [PATCH 1/2] fix really overscaled lines We resample lines after sharp corners in some situations. Doing this for really overscaled tiles mean that sometimes the offset to the new vertex was closer than the precision supported. This disables that after a certain point. fix #9009 --- src/data/bucket/line_bucket.js | 4 +- .../mapbox-gl-js#9009/expected.png | Bin 0 -> 8060 bytes .../regressions/mapbox-gl-js#9009/style.json | 44 ++++++++++++++++++ 3 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 test/integration/render-tests/regressions/mapbox-gl-js#9009/expected.png create mode 100644 test/integration/render-tests/regressions/mapbox-gl-js#9009/style.json diff --git a/src/data/bucket/line_bucket.js b/src/data/bucket/line_bucket.js index 4e1f31c65d7..7e11a4fdae4 100644 --- a/src/data/bucket/line_bucket.js +++ b/src/data/bucket/line_bucket.js @@ -250,7 +250,9 @@ class LineBucket implements Bucket { if (join === 'bevel') miterLimit = 1.05; - const sharpCornerOffset = SHARP_CORNER_OFFSET * (EXTENT / (512 * this.overscaling)); + const sharpCornerOffset = this.overscaling <= 16 ? + SHARP_CORNER_OFFSET * EXTENT / (512 * this.overscaling) : + 0; // we could be more precise, but it would only save a negligible amount of space const segment = this.segments.prepareSegment(len * 10, this.layoutVertexArray, this.indexArray); diff --git a/test/integration/render-tests/regressions/mapbox-gl-js#9009/expected.png b/test/integration/render-tests/regressions/mapbox-gl-js#9009/expected.png new file mode 100644 index 0000000000000000000000000000000000000000..b14d5740582c0c51d433ecc09a80872beec3328b GIT binary patch literal 8060 zcmeHMc|4SD+g4A}Qz}D+8jNYIg(Uly++`~wB`PW*6pba>E8*5M8imSMA}Pxw$&#fs z))>Iu| z-_L7%d)MF(40AKpN^(YD>gQZhlD<(#5tMq>b7s6wM#c3lEvTnP)5yt5ioWgihi#Qx zSaz>7ZC5b+7O>nGkbnP9r)AbjZt{Bx>%_S$Oou+!|{hr*n z>)QIAY6(?#W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OwkKI z2hk2-5fuM*nq&3Vd){0&ZagQ7_1)SeD@%y%n{jb5OBC#$9<9GAhZ}bv6<`_%jRf{M z4z^|z=!g^#zz_R^Xh-(g%1;ENSqUFLvk1b9N@C?5Pr?u10FN^G=&=B^1c0KN3eE)i ze@{Li%FS>_^DR+OZ-O6!Hof$K-@uI@$fNnfe2}X;$e8}Wovmt z!Gj~K5_Z_zegZVC?hk7$ZCDvM&er^VN$A#=V~Y{;HzqV%*{oT+77Z&b&0{OPtv&lK z|F(XpUinCGq9deZEL#vwa&mG8*q~w<&Z_opKT-n?YWuH9p<2Wcjjlm8c-#EHbAz~; z7{QMrv!^+ryw7wv#Y<9s6AZB9ucv|$QG(Tf6}fs}0yyIrZ|)hAm?cdVYMx7W)r5|z zsp+zd=Rcg8pW(u}2r#?gNVPsk>d#3+j}hGi5@6pAa9M=Yi`f7tl5yDg-To}Qg3Cae zpArc@>;~<2|H$*Rxbg57+&HN<=ZH2eyM|MB1?u@F!Ba5&pVo&~D1xP#Zvd8oXJRNf z=aTtWi}xLzfyr)$cIFigS7q7M$16yz0LXc3c1Yj&T%$j)OpOWTr^cw5Yk%MNZ@!zG zupZ(^!w7!(9{N68D*kXKJner?L*_K^mT0 z_H(_15vZ(O2MJQ$5nfWAKcuA(z%4f4W1-9RNI-sh=tQ}7GSbOG`(m;aST|3N@+?#z1ZyZ%DmBVcfJ9=llyP`w$Ps~;X>@*gIYxt*L?W4x!{BuqDI literal 0 HcmV?d00001 diff --git a/test/integration/render-tests/regressions/mapbox-gl-js#9009/style.json b/test/integration/render-tests/regressions/mapbox-gl-js#9009/style.json new file mode 100644 index 00000000000..59b1f474e5f --- /dev/null +++ b/test/integration/render-tests/regressions/mapbox-gl-js#9009/style.json @@ -0,0 +1,44 @@ +{ + "version": 8, + "metadata": { + "test": { + "height": 256 + } + }, + "center": [ + 0, + 0 + ], + "zoom": 18, + "sources": { + "line": { + "type": "geojson", + "maxzoom": 10, + "data": { + "type": "Feature", + "geometry": { + "type": "LineString", + "coordinates": [[-180, 70], [0, 0], [100, 80]] + } + } + } + }, + "layers": [ + { + "id": "background", + "type": "background", + "paint": { + "background-color": "white" + } + }, + { + "id": "road", + "type": "line", + "source": "line", + "paint": { + "line-width": 20, + "line-color": "#000" + } + } + ] +} From 0a8092aae83e239c5cd21b884e7b4b22955337c5 Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Tue, 26 Nov 2019 13:19:39 -0500 Subject: [PATCH 2/2] make test smaller --- .../mapbox-gl-js#9009/expected.png | Bin 8060 -> 2372 bytes .../regressions/mapbox-gl-js#9009/style.json | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test/integration/render-tests/regressions/mapbox-gl-js#9009/expected.png b/test/integration/render-tests/regressions/mapbox-gl-js#9009/expected.png index b14d5740582c0c51d433ecc09a80872beec3328b..c6f451504a09396640a33f593af615f166cec127 100644 GIT binary patch literal 2372 zcmcgu`9GBF8=hm|(@2IWV=HA>#xmJ=vZd%ywi(rwu}vsjjf@bP!7wz|jIDH#3}cD0 zi-?Yju``ryMujY$*Y}V3{_wuf=XvkX`?>DtzOU=LpF}4ID`5dC0T2izY-4Ti0<4I` zhmQw%2hC=>f{$V|Xqtn{NnH{?*m(<~8o!Hkd9;76g z4!WJZFx}-_n=|mXG_1cD!`Xc2#f*YLarS83;K5y#$qjY?Cfk=Wu+OhGg+cGatnR%!l&^?Y2JgR#zuVvzkopdGKMW7 zJYsRh&8;?O{{bRISK2<`klcDJTdl0Pm@{_(XYUASagj)*Ju+??dspW~KtMnbSW+@^ zWO+VHit^{Ot80fxU~{~^NCGF6i#ejPPj8FkRX%gZm?Gg7h2P$eP&23hIHHp)Od=2n z?#&M_NEG}0&c|XozJ33WSJc&oB+%PRZe<@7S5zbw70LZC1Cmy}-LS^+ z!t>+E$PTQiyxgXh)pdejP;d^FNhV)1Gvll=x3KVm@Nhy~et$a`y}3B>+%P(4Jg}8q zP#{~SbVBED0hJ0NRa8`D!|!WxLP0Y1I2?}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9ucv|$QG(Tf6}fs}0yyIrZ|)hAm?cdVYMx7W)r5|z zsp+zd=Rcg8pW(u}2r#?gNVPsk>d#3+j}hGi5@6pAa9M=Yi`f7tl5yDg-To}Qg3Cae zpArc@>;~<2|H$*Rxbg57+&HN<=ZH2eyM|MB1?u@F!Ba5&pVo&~D1xP#Zvd8oXJRNf z=aTtWi}xLzfyr)$cIFigS7q7M$16yz0LXc3c1Yj&T%$j)OpOWTr^cw5Yk%MNZ@!zG zupZ(^!w7!(9{N68D*kXKJner?L*_K^mT0 z_H(_15vZ(O2MJQ$5nfWAKcuA(z%4f4W1-9RNI-sh=tQ}7GSbOG`(m;aST|3N@+?#z1ZyZ%DmBVcfJ9=llyP`w$Ps~;X>@*gIYxt*L?W4x!{BuqDI diff --git a/test/integration/render-tests/regressions/mapbox-gl-js#9009/style.json b/test/integration/render-tests/regressions/mapbox-gl-js#9009/style.json index 59b1f474e5f..f6c9625ad2e 100644 --- a/test/integration/render-tests/regressions/mapbox-gl-js#9009/style.json +++ b/test/integration/render-tests/regressions/mapbox-gl-js#9009/style.json @@ -2,7 +2,8 @@ "version": 8, "metadata": { "test": { - "height": 256 + "height": 100, + "width": 100 } }, "center": [