Hi, <br>I am a new postgis user, so sorry if my request seems trivial for someone.<br><br>I have to clip a polygon with another polygon file. I was used to do this operation with the simple comand "clip" in GRASS or QGIS. <br>
How can I do the same operation in postgis? I tried with sy_intersect, but it takes also the polygons outside my area, which simply intersect the border.<br>The request I wrote is:<br><br><br>CREATE TABLE w_md.x<br>AS (SELECT area, a.the_geom<br>
FROM oc a, co b<br> WHERE st_intersects(a.the_geom, b.the_geom));<br> <br> ALTER TABLE w_md.x_1999 ADD column ggid1 serial;<br> ALTER TABLE w_mdi.x_1999 ADD PRIMARY KEY (ggID1);<br><br>Thank you for your help,<br>
<br>Marta<br>