[postgis-users] setsrid does not exist

strk strk at keybit.net
Mon May 3 05:17:15 PDT 2010


On Mon, May 03, 2010 at 05:33:37PM +0530, rakesh modi wrote:
> Hi All,
> 
> i am trying to run this query but getting error -
> ERROR:  function setsrid(unknown) does not exist
> LINE 4:             FROM roads WHERE the_geom && SetSRID(
>                                                  ^
> what's the problem ..
> 
> ST_SetSRID(
>    'BOX3D((26.8988086602918-200 7.71874658182343-200
>    26.8988086602918+200 7.71874658182343+200)), ::box3d,4326)'
> )

You're passing ST_SetSRID a single string, with no cast
(what looks like an attempt to cast is inside the string single quote)

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-users mailing list