[postgis-users] st_offsetcurve

Francois Hugues hugues.francois at irstea.fr
Wed May 9 02:46:04 PDT 2012


Hello,

If i'm not wrong, this function really dos not exists in postgis 1.5.3 and is avalaible since 2.0.

http://postgis.refractions.net/docs/ST_OffsetCurve.html

Hugues.

--

 

Hugues FRANÇOIS

-----Message d'origine-----
De : postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-bounces at postgis.refractions.net] De la part de Pedro Costa
Envoyé : mercredi 9 mai 2012 11:40
À : PostGIS Users Discussion
Objet : [postgis-users] st_offsetcurve

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

_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list