[postgis-users] operator does not exist

rakesh modi rakesh.modi1585 at gmail.com
Thu May 20 03:06:01 PDT 2010


Hi All,
when i am using this query it gives an error like operator does not exist.
My query and error are below--
SELECT gid, source, target, the_geom,
               ST_Distance(the_geom, GeometryFromText(
                        'POINT(77.549123 28.269926)')) AS dist
           FROM routable
           WHERE the_geom && ST_Expand(CAST(
                 'BOX(77.549123 28.269926,77.549123 28.269926)'
                 As box2d),200)


ERROR :-
ERROR:  operator does not exist: geography && box2d
LINE 5:      WHERE the_geom && ST_Expand(CAST(
                            ^
HINT:  No operator matches the given name and argument type(s). You might
need to add explicit type casts.

********** Error **********

ERROR: operator does not exist: geography && box2d
SQL state: 42883
Hint: No operator matches the given name and argument type(s). You might
need to add explicit type casts.
Character: 194

-- 
Rakesh Modi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20100520/49d46fdf/attachment.html>


More information about the postgis-users mailing list