[postgis-users] get segment of multiline between two points

Paragon Corporation lr at pcorp.us
Fri Sep 10 10:48:44 PDT 2010


Marco,

Yes.

If you are using PostGIS 1.5 or above you can use ST_DumpPoints to dump the
points out which is a bit faster than ST_PointN (or you can use ST_Point)

http://www.postgis.org/documentation/manual-svn/ST_DumpPoints.html

For lower versions you can use ST_PointN

http://www.postgis.org/documentation/manual-svn/ST_PointN.html

Leo and Regina
http://www.postgis.us

 

-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Marco
Sent: Friday, September 10, 2010 1:15 PM
To: postgis-users at postgis.refractions.net
Subject: [postgis-users] get segment of multiline between two points

Hi,

as the subject I've two points on a layer multiline and I need all the
points included in that segment to draw on the client side.

is this possible?
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