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
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to