<div dir="ltr">I think I may have found an issue with the pgr_pointsasPolygon function<div><br></div><div>I have a collection off points,  I have assumed that the pgr_pointsasPolygon would draw a bounding polygon around all the points.</div><div><br></div><div>What seems to happen is that I get two very small polygon generated</div><div><br></div><div>Example as follows</div><div><br></div><div>insert into bug_output(the_geom) select st_setsrid(the_geom,3857)  from pgr_pointsasPolygon('select id, st_x(the_geom) as x, st_y(the_geom) as y from bug_input',0) as the_geom ;<br></div><div>Two small polygons generated</div><div><br></div><div>I try the following</div><div>insert into bug_output(the_geom) select st_multi((st_convexhull(st_collect(the_geom)))) from bug_input;<br></div><div><br></div><div>I get only large bounding polygon</div><div><br></div><div>I have checked the results with qgis<br><br>IF I have made a mistake please tell me </div><div>(dump of bug_input table attached)<br><br>Dave</div><div><br></div><div><br></div><div><br></div></div>