<div dir="ltr">Hello,<div><br></div><div>I had a similar complaint previously and the recommendation I got was that if I want to show more finely grained data on the vector tiles, I should be raising the `extent` value.</div><div><br></div><div>There is a Simplify call at the end of ST_AsMVT that uses the wrong epsilon. It should be 0 instead of 0.5px. Please check this fix: <a href="https://github.com/postgis/postgis/pull/463/files">https://github.com/postgis/postgis/pull/463/files</a> - I'd be happy if it gets committed. :)</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 19, 2021 at 1:31 AM Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca">pramsey@cleverelephant.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I was interested to find that ST_AsMVTGeom drops features that fall below 1/2 a pixel in size.<br>
<br>
postgis30=# select st_astext(st_asmvtgeom('LINESTRING(10 10, 11 10)', 'LINESTRING(0 0, 16384 16384)'::geometry));<br>
 st_astext <br>
-----------<br>
<br>
(1 row)<br>
<br>
There's no configuration option to avoid this behaviour, and if you map a large enough area that your feature size falls below a pixel you end up with big blanks in your map. Have there been no complaints about this before?<br>
<br>
P.<br>
_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-devel</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Darafei "Komяpa" Praliaskouski<br>OSM BY Team - <a href="http://openstreetmap.by/" target="_blank">http://openstreetmap.by/</a><br></div></div>