<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><font color="#000000" face="Arial" size="2">Good morning list, </font><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>
<div><font face="Arial" size="2">I'm looking for a function and/or method to clip a 
polygon. In general, I need to limit a polygon to the map boundary for export 
(export as shapefile from a web map)...so if I had a 20x20 square that was 
overlapping the&nbsp;visible map by 10 units, the exported result would be a 10x20 
rectangle.&nbsp; PHP MapScript is my weapon of choice.&nbsp; I'd also welcome opinions on 
the approach or suggestions for alternatives.<br><br></font></div>
<div></div> 
<div><font face="Arial" size="2">Thanks for your assistance,<br><br> </font></div>
<div></div> 
<div><font face="Arial" size="2">Josh<br><br>PS.&nbsp; Sorry for the re-post...forgot the subject<br></font></div>
<div> &nbsp;</div></div></div></div></div></div></body></html>