[postgis-users] st_offsetcurve

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



Hi,

That's because has not been implemented by default in postgis : you have to run the script which simon gave you at the end of his article. This wil create the necessary functions

http://www.spatialdbadvisor.com/file_download/55/PostGIS_Parallel.sql

Hugues.

-----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 12:28
À : PostGIS Users Discussion
Objet : Re: [postgis-users] st_offsetcurve

Hi Simon,

I had already seen its function. Congratulations.
But it returns me the following error:

ERROR:  function st_parallel(geometry, integer, integer, integer) does 
not exist
LINE 1: select (ST_Parallel(the_geom, 3, 0, 0)) as test
                 ^
HINT:  No function matches the given name and argument types. You might 
need to add explicit type casts.


when i do this:

select (ST_Parallel(the_geom, 3, 0, 0)) as test
from tests

do you know the problem?


PS: I´m already install the function by your file






Em 09-05-2012 11:22, Simon Greener escreveu:
> You could try my ST_Parallel function that works with all geometry 
> based versions of PostGIS.
>
> http://www.spatialdbadvisor.com/postgis_tips_tricks/205/st_parallel-for-postgis 
>
>
> NOTE: Projected based math only.
>
> regards
> S
> On Wed, 09 May 2012 20:15:41 +1000, Pedro Costa 
> <pedrocostaarma at sapo.pt> wrote:
>
>> Em 09-05-2012 10:46, Francois Hugues escreveu:
>>> If i'm not wrong, this function really dos not exists in postgis 
>>> 1.5.3 and is avalaible since 2.0.
>>
>> Thanks.
>> Anybody know a way of transform a polygon buffer in lines?
>>
>>
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>
>
>

_______________________________________________
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