Function to reshape (clip) one geometry by another geometry.
A reshape (or clip) operation is used to adjust parcel boundaries in cases where this is appropriate. The most common application of this operation is when part of a parcel is underwater. We are interested in the land associated with parcels, so the underwater portion of parcels should be clipped away.
The main idea is that st_area(parcel.geom) should yield the land area. An example of where this operation would be applied: land parcels in San Mateo county that sit by the bay or ocean, but extend very far out into the bay or ocean.
Renamed to trim because this is the reverse of ESRI clip. Done in #42. May need more extensive testing for correctly handling multiple rows and MultiPolygons. Closing for now.
Function to reshape (clip) one geometry by another geometry.
A reshape (or clip) operation is used to adjust parcel boundaries in cases where this is appropriate. The most common application of this operation is when part of a parcel is underwater. We are interested in the land associated with parcels, so the underwater portion of parcels should be clipped away.
The main idea is that st_area(parcel.geom) should yield the land area. An example of where this operation would be applied: land parcels in San Mateo county that sit by the bay or ocean, but extend very far out into the bay or ocean.