<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 15, 2020 at 1:33 PM Regina Obe <<a href="mailto:lr@pcorp.us">lr@pcorp.us</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 lang="EN-US"><div class="gmail-m_5132724693070625021WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">Yes stray doc. Did you find this via google. </span></p></div></div></blockquote><div><br></div><div>I usually 'guess' the page by just replacing the function name in the url. It's a very convenient way, apart from ST_Tessellate which is obviously spelled wrong in the docs.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_5132724693070625021WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">Looks like that page last got updated 4/17/2019. It’s the nature of how we build the docs that the updates overwrite existing for a particular Minor version, but don’t delete.</span></p></div></div></blockquote><div>Makes sense, it is gone from the TOC so that is fine.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_5132724693070625021WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">So it existed early in the life cycle of 3.0 but was later removed<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">Anyway I’ve deleted ST_Length2D_Spheroid.html and ST_Point_Inside_Circle.html which also seemed to have the same issue<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><div style="border-color:currentcolor currentcolor currentcolor blue;border-style:none none none solid;border-width:medium medium medium 1.5pt;padding:0in 0in 0in 4pt"><div><div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in"><p class="MsoNormal"><b><span style="font-size:11pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11pt;font-family:"Calibri",sans-serif"> postgis-users [mailto:<a href="mailto:postgis-users-bounces@lists.osgeo.org" target="_blank">postgis-users-bounces@lists.osgeo.org</a>] <b>On Behalf Of </b>Darafei "Kom?pa" Praliaskouski<br><b>Sent:</b> Friday, May 15, 2020 5:55 AM<br><b>To:</b> PostGIS Users Discussion <<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a>><br><b>Subject:</b> Re: [postgis-users] Fwd: Re: Broken installs for PostGIS for Ubuntu 20.04LTS / Focal?<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">It is mentioned in changelog and removed from the docs. For some reason there is stray page from older release.<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Fri, May 15, 2020 at 12:52 PM Tom van Tilburg <<a href="mailto:tom.van.tilburg@gmail.com" target="_blank">tom.van.tilburg@gmail.com</a>> wrote:<u></u><u></u></p></div><blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><div><div><p class="MsoNormal">It's the first thing I ran into as well after upgrading .<u></u><u></u></p></div><div><p class="MsoNormal">But it hasn't been mentioned in the docs? Whoops... time for an issue...<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Tom<u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Fri, May 15, 2020 at 10:56 AM Marco Boeringa <<a href="mailto:marco@boeringa.demon.nl" target="_blank">marco@boeringa.demon.nl</a>> wrote:<u></u><u></u></p></div><blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><div><p>Tom,<u></u><u></u></p><p>It now appears the PostGIS team indeed removed 'ST_Accum', but forgot to update the online PostGIS Help. I see two OSGEO tickets related to this:<u></u><u></u></p><p><a href="https://trac.osgeo.org/postgis/ticket/4356" target="_blank">https://trac.osgeo.org/postgis/ticket/4356</a><u></u><u></u></p><p><a href="https://trac.osgeo.org/postgis/changeset/17397" target="_blank">https://trac.osgeo.org/postgis/changeset/17397</a><u></u><u></u></p><p>Both mention replacing 'ST_Accum' with 'array_agg'.<u></u><u></u></p><p>Marco<u></u><u></u></p><div><p class="MsoNormal">Op 15-5-2020 om 10:38 schreef Marco Boeringa:<u></u><u></u></p></div><blockquote style="margin-top:5pt;margin-bottom:5pt"><p>Tom,<u></u><u></u></p><p>One more question:<u></u><u></u></p><p>After successfully installing the PostGIS 3.0.1 extension using CREATE EXTENSION in pgAdmin4 on PostgreSQL 12.3 on Ubuntu 20.04 Focal, I now ran into an issue where it appears the 'ST_Accum' function is missing in my PostGIS install. My code calls this, and it failed. I then had a look at the function list in pgAdmin, and indeed 'ST_Accum' is not listed. I do see loads of other PostGIS functions, just 'ST_Accum' seems missing (although I cannot garantuee there are a few more missing functions, but the list seems pretty comprehensive from a quick look, and the CREATE EXTENSION call went without a hitch).<u></u><u></u></p><p>Can you confirm you see 'ST_Accum' in your PostGIS 3.0.1 function list if you look in pgAdmin? The PostGIS Help does not mention some deprecation of this function:<u></u><u></u></p><p><a href="https://postgis.net/docs/ST_Accum.html" target="_blank">https://postgis.net/docs/ST_Accum.html</a><u></u><u></u></p><p>Marco<u></u><u></u></p><div><p class="MsoNormal">Op 14-5-2020 om 11:42 schreef Tom van Tilburg:<u></u><u></u></p></div><blockquote style="margin-top:5pt;margin-bottom:5pt"><div><div><p class="MsoNormal">Whatever lives in /usr/local/lib was my manual build so I had to delete that manually.<u></u><u></u></p></div><div><p class="MsoNormal">I did `sudo rm /usr/local/lib/libgeos*` (same for proj and sfcgal)<u></u><u></u></p></div><div><p class="MsoNormal">On top of that I purged all old package configurations `sudo apt purge <packagename>` just to be sure but I don't think it is needed.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Best,<u></u><u></u></p></div><div><p class="MsoNormal"> Tom<u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Thu, May 14, 2020 at 10:45 AM Marco Boeringa <<a href="mailto:marco@boeringa.demon.nl" target="_blank">marco@boeringa.demon.nl</a>> wrote:<u></u><u></u></p></div><blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><div><p>Hi Tom,<u></u><u></u></p><p>Thanks for the tip, but what did you do to remove the old install? Did you rely on Apt or Synaptic to remove the old libgeos version, or did you manually clean up folders? I had two versions of libgeos as well (3.7 and 3.8) if I remember well (need to start up the VM again to check), and removed the older one through Synaptic just leaving the 3.8 version, but that wasn't enough to solve my particular issues.<u></u><u></u></p><p>Marco<u></u><u></u></p><div><p class="MsoNormal">Op 14-5-2020 om 10:32 schreef Tom van Tilburg:<u></u><u></u></p></div><blockquote style="margin-top:5pt;margin-bottom:5pt"><div><div><p class="MsoNormal">I think I solved it.<u></u><u></u></p></div><div><p class="MsoNormal">The issue lies with gdal, not postgis (test by running `gdalinfo`), and it turns out there was an old install of libgeos (3.7) in my /us/local/lib. After simply removing all related files in /usr/local/lib gdal (and postgis and qgis) stopped complaining (I had to remove old installs of geos, proj and sfcgal for that).<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">This issue put me on the right track:<u></u><u></u></p></div><div><p class="MsoNormal"><a href="https://github.com/OSGeo/gdal/issues/2214" target="_blank">https://github.com/OSGeo/gdal/issues/2214</a><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">T.<u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Wed, May 13, 2020 at 3:15 PM Marco Boeringa <<a href="mailto:marco@boeringa.demon.nl" target="_blank">marco@boeringa.demon.nl</a>> wrote:<u></u><u></u></p></div><blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><div><p>Thanks Tom,<u></u><u></u></p><p>I have seen a similar error related to the "libgdal26" library, but that was after other trials to get something running on Ubuntu 20.04 Focal, where I successfully installed PostGIS 2.5.4, but then encountered issues when my code called the "postgis_full_version()" function and errored out with the error message below related to the "libgdal.so.26" library. However, as said, this was with PostGIS 2.5.4, not with the PostGIS 3.0.1 I actually want to install at this moment and that gave the other error related to the "postgis-3.so" library.<u></u><u></u></p><p>SQL Error [XX000]: ERROR: could not load library "/usr/lib/postgresql/11/lib/<a href="http://rtpostgis-2.5.so" target="_blank">rtpostgis-2.5.so</a>": /usr/lib/libgdal.so.26: undefined symbol: GEOSMakeValid_r<br> Where: SQL statement "SELECT public.postgis_gdal_version()"<br>PL/pgSQL function postgis_full_version() line 34 at SQL statement<u></u><u></u></p><p>Marco<u></u><u></u></p><div><p class="MsoNormal" style="margin-bottom:12pt"><u></u> <u></u></p><div><div><p class="MsoNormal">Sorry for the short answer, am on the way currently. Will try to do a decent report tonight.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Error is roughly the same but comes from libgdal26 in my case when doing apt install qgis after an upgrade to 20.04.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12pt">best, Tom<u></u><u></u></p><div><div><p class="MsoNormal">On Wed, 13 May 2020, 14:48 Marco Boeringa, <<a href="mailto:marco@boeringa.demon.nl" target="_blank">marco@boeringa.demon.nl</a>> wrote:<u></u><u></u></p></div><blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><div><p>Thanks for the response Tom, but could you be a bit more specific? <u></u><u></u></p><p>What do you mean with "Same problem with qgis"? Do you mean you've also encountered a "undefined symbol: GEOSMakeValid" error related to the "postgis-3.so" library when trying to use some tool in QGIS?<u></u><u></u></p><p>I have installed PostgreSQL 12 and PostGIS 3.0.1 via Synaptic on Ubuntu 20.04 (Focal) and use CREATE EXTENSION (via pgAdmin4), when I encounter the error.<u></u><u></u></p><div><p class="MsoNormal">Marco<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Op 13-5-2020 om 14:40 schreef Tom van Tilburg:<u></u><u></u></p></div><blockquote style="margin-top:5pt;margin-bottom:5pt"><div><p class="MsoNormal">Same problem with qgis<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Wed, 13 May 2020, 11:14 Marco Boeringa, <<a href="mailto:marco@boeringa.demon.nl" target="_blank">marco@boeringa.demon.nl</a>> wrote:<u></u><u></u></p></div><blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><p class="MsoNormal">Hi all,<br><br>Is there someone who can confirm they have been able to install PostGIS <br>3.0.1 via the official APT repository?:<br><br><a href="https://wiki.postgresql.org/wiki/Apt" target="_blank">https://wiki.postgresql.org/wiki/Apt</a><br><br>After using the Synaptics Package Manager to install the three packages <br>involved <br>("postgresql-12-postgis-3"/"postgresql-12-postgis-3-dbgsym"/"postgresql-12-postgis-3-scripts"), <br>and subsequently trying to create the PostGIS extension in pgAdmin4, I <br>get the following error:<br><br>ERROR: could not load library "/usr/lib/postgresql/12/lib/postgis-3.so": <br>/usr/lib/postgresql/12/lib/postgis-3.so: undefined symbol: GEOSMakeValid<br><br>I have been trying different things to fix this for past two days <br>including re-install, but to no avail. I have also attempted to include <br>the UbuntuGIS repository as a potential alternative resource of PostGIS <br>packages, but discovered the UbuntuGIS repository is lagging behind and <br>doesn't yet have packages for 20.04LTS.<br><br>Marco<br><br>_______________________________________________<br>postgis-users mailing list<br><a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a><u></u><u></u></p></blockquote></div><p class="MsoNormal"><u></u> <u></u></p><pre>_______________________________________________<u></u><u></u></pre><pre>postgis-users mailing list<u></u><u></u></pre><pre><a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><u></u><u></u></pre><pre><a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a><u></u><u></u></pre></blockquote></div></blockquote></div></div></div></div></div><p class="MsoNormal">_______________________________________________<br>postgis-users mailing list<br><a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a><u></u><u></u></p></blockquote></div><p class="MsoNormal"><u></u> <u></u></p><pre>_______________________________________________<u></u><u></u></pre><pre>postgis-users mailing list<u></u><u></u></pre><pre><a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><u></u><u></u></pre><pre><a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a><u></u><u></u></pre></blockquote></div><p class="MsoNormal">_______________________________________________<br>postgis-users mailing list<br><a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a><u></u><u></u></p></blockquote></div><p class="MsoNormal"><u></u> <u></u></p><pre>_______________________________________________<u></u><u></u></pre><pre>postgis-users mailing list<u></u><u></u></pre><pre><a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><u></u><u></u></pre><pre><a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a><u></u><u></u></pre></blockquote><p class="MsoNormal"><u></u> <u></u></p><pre>_______________________________________________<u></u><u></u></pre><pre>postgis-users mailing list<u></u><u></u></pre><pre><a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><u></u><u></u></pre><pre><a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a><u></u><u></u></pre></blockquote></div><p class="MsoNormal">_______________________________________________<br>postgis-users mailing list<br><a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a><u></u><u></u></p></blockquote></div><p class="MsoNormal">_______________________________________________<br>postgis-users mailing list<br><a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a><u></u><u></u></p></blockquote></div><p class="MsoNormal"><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><div><div><div><p class="MsoNormal">Darafei Praliaskouski<u></u><u></u></p></div><div><p class="MsoNormal">Support me: <a href="http://patreon.com/komzpa" target="_blank">http://patreon.com/komzpa</a><u></u><u></u></p></div></div></div></div></div></div></div>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a></blockquote></div></div>