MySQL Forums
Forum List  »  GIS

Re: Need to clip x,y points that fall inside a polygon
Posted by: Carl Longnecker
Date: March 03, 2008 10:33PM

so you have a table of points and table of polygons? and you want to compare them? that's a join:
select point.name
     , region.name
  from point
  join region
    on contains(region.gisdata, point.gisdata)
this will return all points that exist in any of the polygons in the region table.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Need to clip x,y points that fall inside a polygon
2920
March 03, 2008 10:33PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.