[GRASS-user] Clipping shapefiles

Craig Leat craig.leat at gmail.com
Sat Sep 13 14:08:40 EDT 2008


Hamish wrote:
>> > g.region vect=NZMG_s27
>> > v.in.region output=cutter type=line --overwrite
>> > v.overlay ainput=wellington_contours atype=line \
>> >    binput=cutter output=clipped operator=and
>
> and I think you'll want v.in.region to use type=area, not line, otherwise
> you risk only to get contour lines which cross the boundary and not those
> that fall within it.

The manual [1] for v.overlay states that btype must be area. Shouldn't
v.overlay complain if you try to use a line type?

Craig

[1] http://grass.itc.it/grass64/manuals/html64_user/v.overlay.html


More information about the grass-user mailing list