<div dir="ltr">Manual works fine here. By convention, most of the spatial functions defined in OGC are prefixes with ST_.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 18, 2014 at 7:34 AM, Nicolas Ribot <span dir="ltr"><<a href="mailto:nicolas.ribot@gmail.com" target="_blank">nicolas.ribot@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Antti,<div><br></div><div>You can load the postgis legacy.sql file to restore deprecated function names (though it would be better to adapt your application to use new, conforming names)</div>
<span class="HOEnZb"><font color="#888888"><div><br></div>
<div>Nicolas</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On 18 July 2014 12:26, Antti J. Lind <span dir="ltr"><<a href="mailto:anttij.lind@birdlife.fi" target="_blank">anttij.lind@birdlife.fi</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sorry!<br>
<br>
I cannot read manual<br>
<a href="http://postgis.net/docs/reference.html" target="_blank">http://postgis.net/docs/<u></u>reference.html</a><br>
<br>
It is in there:<br>
ST_GeomFromText()<br>
<br>
--<br>
AJL<br>
<br>
Antti J. Lind kirjoitti 2014-07-18 13:13:<div><div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello again,<br>
<br>
replacement for functions x & y found (st_x & st_y) and now one missing more...<br>
GeomFromText() has been removed. Which function is replacing it?<br>
<br>
My sql is<br>
SELECT GeomFromText('POINT(%s %s)',4326) AS p<br>
<br>
--<br>
Antti J. Lind<br>
<br>
<br>
-------- Alkuperäinen viesti --------<br>
Aihe: [postgis-users] Where are functions x & y?<br>
Päiväys: 2014-07-17 15:46<br>
Lähettäjä: "Antti J. Lind" <<a href="mailto:anttij.lind@birdlife.fi" target="_blank">anttij.lind@birdlife.fi</a>><br>
Vastaanottaja: <a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
Vastaus osoitteeseen: PostGIS Users Discussion <<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><u></u>><br>
<br>
Hi,<br>
<br>
We have previously used postgis 1.3.6 with postgres 8.4.1.<br>
I installed postgres 9.3.4 and postgis 2.1.3<br>
<br>
When testing our app, I noticed that functions x(geometry) and<br>
y(geometry) aren't there anymore?<br>
<br>
--<br>
Antti J. Lind<br>
<br>
______________________________<u></u>_________________<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="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-<u></u>bin/mailman/listinfo/postgis-<u></u>users</a><br>
<br>
______________________________<u></u>_________________<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="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-<u></u>bin/mailman/listinfo/postgis-<u></u>users</a><br>
</blockquote>
______________________________<u></u>_________________<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="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-<u></u>bin/mailman/listinfo/postgis-<u></u>users</a></div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">
George R. C. Silva<br>SIGMA Consultoria<div>----------------------------<br><div><a href="http://www.consultoriasigma.com.br/" target="_blank">http://www.consultoriasigma.com.br/</a><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div></div></div></div>
</div>