pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ERROR: function geomfromtext(unknown)
3+ messages / 3 participants
[nested] [flat]

* ERROR: function geomfromtext(unknown)
@ 2015-04-17 07:01 Ankur Kaushik <ankurkaushik@gmail.com>
  2015-04-17 07:08 ` Re: ERROR: function geomfromtext(unknown) Devrim Gündüz <devrim@gunduz.org>
  2015-04-17 10:42 ` Re: ERROR: function geomfromtext(unknown) Shreeyansh Dba <shreeyansh2014@gmail.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Ankur Kaushik @ 2015-04-17 07:01 UTC (permalink / raw)
  To: pgsql-admin

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,

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: ERROR: function geomfromtext(unknown)
  2015-04-17 07:01 ERROR: function geomfromtext(unknown) Ankur Kaushik <ankurkaushik@gmail.com>
@ 2015-04-17 07:08 ` Devrim Gündüz <devrim@gunduz.org>
  1 sibling, 0 replies; 3+ messages in thread

From: Devrim Gündüz @ 2015-04-17 07:08 UTC (permalink / raw)
  To: Ankur Kaushik <ankurkaushik@gmail.com>; +Cc: pgsql-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

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: ERROR: function geomfromtext(unknown)
  2015-04-17 07:01 ERROR: function geomfromtext(unknown) Ankur Kaushik <ankurkaushik@gmail.com>
@ 2015-04-17 10:42 ` Shreeyansh Dba <shreeyansh2014@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Shreeyansh Dba @ 2015-04-17 10:42 UTC (permalink / raw)
  To: Ankur Kaushik <ankurkaushik@gmail.com>; +Cc: pgsql-admin

Hi Ankur,
Try function "st_geomfromtext".

Regards
Ajinkya Bangale
www.shreeyansh.com

On Fri, Apr 17, 2015 at 12:31 PM, Ankur Kaushik <ankurkaushik@gmail.com>
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,
>

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2015-04-17 10:42 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-04-17 07:01 ERROR: function geomfromtext(unknown) Ankur Kaushik <ankurkaushik@gmail.com>
2015-04-17 07:08 ` Devrim Gündüz <devrim@gunduz.org>
2015-04-17 10:42 ` Shreeyansh Dba <shreeyansh2014@gmail.com>

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