[postgis-users] LineString within Polygon
Burgholzer, Robert (DEQ)
Robert.Burgholzer at deq.virginia.gov
Wed Mar 2 07:17:59 PST 2016
IT is only a matter of parameter order:
ST_within( line, polygon)
From: postgis-users [postgis-users-bounces at lists.osgeo.org] on behalf of Mustafa Elbehery [elbeherymustafa at gmail.com]
Sent: Wednesday, March 02, 2016 10:06 AM
To: PostGIS Users Discussion
Subject: [postgis-users] LineString within Polygon
I want to make sure of what I am doing well.
I want to construct a geometry(LineString) from List of Points which represent the Path between Source && Destination Points.
Afterthen, would like to know if the path fully within a polygon.
What is the correct method, ST_within, or ST_Contains ?!!
Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the postgis-users