Check out the upgis_lineshift function on

http://trac.osgeo.org/postgis/wiki/UsersWikiplpgsqlfunctions

The resulting line will have endpoints that  you want.

hth
charles

On Apr 29, 2010, at 7:10 PM, ots wrote:

> 
> Hello,
> I have oriented line. The line is given as two points (WGS84). I need to
> calculate coordinates(also WGS84) of next two points on one side (left or
> right) of the line in the given distance so all 4 points make together
> rectangle. 
> Is there some function that can help me? I was searching but no idea.
> 
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to