pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Devrim Gündüz <devrim@gunduz.org>
To: Ankur Kaushik <ankurkaushik@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: ERROR: function geomfromtext(unknown)
Date: Fri, 17 Apr 2015 10:08:28 +0300
Message-ID: <1429254508.25074.1.camel@gunduz.org> (raw)
In-Reply-To: <CALXoLqz8QvVJq61RBAuhhSt96ScOX=SxUpA8XJqgnjoVVO0U5w@mail.gmail.com>
References: <CALXoLqz8QvVJq61RBAuhhSt96ScOX=SxUpA8XJqgnjoVVO0U5w@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>


Hi,

On Fri, 2015-04-17 at 12:31 +0530, Ankur Kaushik wrote:
> ERROR:  function geomfromtext(unknown) does not exist
> LINE 1: update route set route_string=GeomFromText(' LINESTRING(19.0...
>                                       ^
> HINT:  No function matches the given name and argument types. You might
> need to add explicit type casts.
> 
> 
> Facing this Error while executing Below command
> 
> update route set route_string=GeomFromText(' LINESTRING(19.073210000000003
> 73.01268,19.07328 73.01181000000001,

I think it would be st_geomfromtext, and that one comes with PostGIS.

Regards,
-- 
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (3+ messages)  latest in thread

Message-ID: <1429254508.25074.1.camel@gunduz.org>
Permalink:  ../1429254508.25074.1.camel@gunduz.org/
Also on:    postgresql.org/message-id/1429254508.25074.1.camel@gunduz.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: devrim@gunduz.org, ankurkaushik@gmail.com
  Subject: Re: ERROR: function geomfromtext(unknown)
  In-Reply-To: <1429254508.25074.1.camel@gunduz.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox