« Return to Thread: Open buffers or parallel lines

Re: Open buffers or parallel lines

by Simon Greener-3 :: Rate this Message:

Reply to Author | View in Thread

Regina,

> This might help
>
> http://trac.osgeo.org/postgis/wiki/UsersWikiplpgsqlfunctions
>
>  upgis_lineshift(centerline geometry, dist double precision)
>
> Though its simplified in the sense it bases on start and end points of
> the linestring to do the shift.
>
> To do true shifting when you have very curvy lines or polygons - you'd
> probably want to use Simon's approach.
>
> http://www.spatialdbadvisor.com/postgis_tips_tricks/128/exploding-a-line
> string-or-polygon-into-individual-vectors-in-postgis/
>
> (hmm I though he had that wrapped more nicely in a function, but can't
> find it).

I have it partially built. Am away consulting. Could finish it next week if Andreas is prepared to wait.

S
--
SpatialDB Advice and Design, Solutions Architecture and Programming,
Oracle Database 10g Administrator Certified Associate; Oracle Database 10g SQL Certified Professional
Oracle Spatial, SQL Server, PostGIS, MySQL, ArcSDE, Manifold GIS, FME, Radius Topology and Studio Specialist.
39 Cliff View Drive, Allens Rivulet, 7150, Tasmania, Australia.
Website: www.spatialdbadvisor.com
  Email: simon@...
  Voice: +61 362 396397
Mobile: +61 418 396391
Skype: sggreener
Longitude: 147.20515 (147° 12' 18" E)
Latitude: -43.01530 (43° 00' 55" S)
NAC:W80CK 7SWP3
_______________________________________________
postgis-users mailing list
postgis-users@...
http://postgis.refractions.net/mailman/listinfo/postgis-users

 « Return to Thread: Open buffers or parallel lines