[postgis-users] GeomFromText

George Silva georger.silva at gmail.com
Fri Jul 18 06:18:49 PDT 2014


Manual works fine here. By convention, most of the spatial functions
defined in OGC are prefixes with ST_.


On Fri, Jul 18, 2014 at 7:34 AM, Nicolas Ribot <nicolas.ribot at gmail.com>
wrote:

> Hi Antti,
>
> 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)
>
> Nicolas
>
>
> On 18 July 2014 12:26, Antti J. Lind <anttij.lind at birdlife.fi> wrote:
>
>> Sorry!
>>
>> I cannot read manual
>> http://postgis.net/docs/reference.html
>>
>> It is in there:
>> ST_GeomFromText()
>>
>> --
>> AJL
>>
>> Antti J. Lind kirjoitti 2014-07-18 13:13:
>>
>>  Hello again,
>>>
>>> replacement for functions x & y found (st_x & st_y) and now one missing
>>> more...
>>> GeomFromText() has been removed. Which function is replacing it?
>>>
>>> My sql is
>>> SELECT GeomFromText('POINT(%s %s)',4326) AS p
>>>
>>> --
>>> Antti J. Lind
>>>
>>>
>>> -------- Alkuperäinen viesti --------
>>> Aihe: [postgis-users] Where are functions x & y?
>>> Päiväys: 2014-07-17 15:46
>>> Lähettäjä: "Antti J. Lind" <anttij.lind at birdlife.fi>
>>> Vastaanottaja: postgis-users at lists.osgeo.org
>>> Vastaus osoitteeseen: PostGIS Users Discussion <
>>> postgis-users at lists.osgeo.org>
>>>
>>> Hi,
>>>
>>> We have previously used postgis 1.3.6 with postgres 8.4.1.
>>> I installed postgres 9.3.4 and postgis 2.1.3
>>>
>>> When testing our app, I noticed that functions x(geometry) and
>>> y(geometry) aren't there anymore?
>>>
>>> --
>>> Antti J. Lind
>>>
>>> _______________________________________________
>>> postgis-users mailing list
>>> postgis-users at lists.osgeo.org
>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>>>
>>> _______________________________________________
>>> postgis-users mailing list
>>> postgis-users at lists.osgeo.org
>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>>>
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>



-- 
George R. C. Silva
SIGMA Consultoria
----------------------------
http://www.consultoriasigma.com.br/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20140718/4d73e8cd/attachment.html>


More information about the postgis-users mailing list