[postgis-users] st_offsetcurve

Pedro Costa pedrocostaarma at sapo.pt
Wed May 9 02:40:21 PDT 2012


Hi,

I'm trying to use the st_offsetcurve like this:

UPDATE test4
SET the_geom = ST_Multi(
ST_Union(

(ST_OffsetCurve(the_geom,  3.0, 'quad_segs=4 join=round')),

(ST_OffsetCurve(the_geom, -3.0, 'quad_segs=4 join=round'))));

But gives me this error:


ERROR:  function st_offsetcurve(geometry, numeric, unknown) does not exist
LINE 5: (ST_OffsetCurve(the_geom,  3.0, 'quad_segs=4 join=round')),
          ^
HINT:  No function matches the given name and argument types. You might 
need to add explicit type casts.



I have the geos 3.3.1 and postgis 1.5.3.
He tried to change the value of the distance because I saw in some 
forums but the error seems to be the last parameters.
Does anyone know how to solve?

Thanks




More information about the postgis-users mailing list