<div dir="ltr">Thanks, those are great suggestions!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 3, 2021 at 7:54 PM Imre Samu <<a href="mailto:pella.samu@gmail.com">pella.samu@gmail.com</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"><div dir="ltr"><div><br></div><div>> I've updated the manual page</div><div><br></div><div>Thanks !</div><div><br></div><div>> Any further suggestions?  (Diagrams would be good, I know)</div><div><br></div><div>just for brainstorming, from a beginner mind.<br></div><div>No problem if these ideas are rejected.</div><div><br></div><div>#1.   </div><div>Adding  ST_MaximumInscribedCircle  to the "See also"</div><div>     reason:  in my mind  -  this is similar like the  "Circle on Polygon" problem </div><div><br></div>#2. <div>in the tutorial page [1]  19.1. ST_Centroid / ST_PointOnSurface  <div> .. there is an example diagram, maybe it can be reused ...<div>[1] <a href="https://postgis.net/workshops/postgis-intro/geometry_returning.html#st-centroid-st-pointonsurface" target="_blank">https://postgis.net/workshops/postgis-intro/geometry_returning.html#st-centroid-st-pointonsurface</a></div><div>or it is possible to crosslink the tutorial page [1] ?  <br></div><div><br></div><div>#3. reusing the geometry from [1] .. we can create an example .. <br></div><div><div>   when the  ~3 center like example is different.<br></div><div><br></div><div><font face="monospace"><font size="1">SELECT <br>  ST_AsText(ST_Centroid(geom)) AS "centroid",<br>  ST_AsText(ST_PointOnSurface(geom)) AS "pointOnSurface",       <br>  ST_AsText((SELECT center FROM ST_MaximumInscribedCircle(geom))) AS "center_maximumInscribedCircle" -- postgis >= 3.1 Geos >=3.9<br>FROM (VALUES<br>    ('POLYGON ((30 0, 30 10, 10 10, 10 40, 30 40, 30 50, 0 50, 0 0, 0 0, 30 0))'::geometry)<br>  ) AS t(geom);<br>+------------------------------+----------------+-------------------------------+<br>|           centroid           | pointOnSurface | center_maximumInscribedCircle |<br>+------------------------------+----------------+-------------------------------+<br>| POINT(11.666666666666666 25) | POINT(5 25)    | POINT(5.859375 5.859375)      |<br>+------------------------------+----------------+-------------------------------+<br>(1 row)</font><br></font></div><div><br></div><div>Regards,<br></div><div>   Imre</div></div></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Martin Davis <<a href="mailto:mtnclimb@gmail.com" target="_blank">mtnclimb@gmail.com</a>> ezt írta (időpont: 2021. febr. 4., Cs, 1:41):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I've updated the manual page:  <a href="https://postgis.net/docs/manual-dev/ST_PointOnSurface.html" target="_blank">https://postgis.net/docs/manual-dev/ST_PointOnSurface.html</a><div><br></div><div>Any further suggestions?  (Diagrams would be good, I know)</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 1, 2021 at 10:15 PM Paolo Cavallini <<a href="mailto:cavallini@faunalia.it" target="_blank">cavallini@faunalia.it</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">Hi all,<br>
the description of the function is scanty. I always assumed it<br>
calculated the point within a polygon closest to the centorid, but I<br>
read it may not be so:<br>
<a href="https://gis.stackexchange.com/questions/76498/how-is-st-pointonsurface-calculated" rel="noreferrer" target="_blank">https://gis.stackexchange.com/questions/76498/how-is-st-pointonsurface-calculated</a><br>
Is this confirmed?<br>
In case, I suggest describing it in the manpage.<br>
Thanks for any clarification.<br>
Cheers.<br>
-- <br>
Paolo Cavallini<br>
<a href="http://www.faunalia.eu" rel="noreferrer" target="_blank">www.faunalia.eu</a> - QGIS.org<br>
training, support, development on QGIS, PostGIS and more<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>
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>
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>