[GRASS5] question about v.patch

Mark P. Line mark at polymathix.com
Mon Jan 31 20:08:07 EST 2005


William K said:
>
> It looks like v.overlay could work with the default 'or' operator, but
> unfortunately it only works on areas (according to the docs), and I
> needed to patch to point vectors when I looked into it.  Tho I never
> actually TRIED it - maybe the docs are out of date.


if ( type[0] == GV_LINE && (operator == OP_OR || operator == OP_XOR) )
        G_fatal_error ( "Operator '%s' is not supported for type line.",
                         operator_opt->answer );

If v.overlay can't do it yet, I guess I'd most likely see a bit of awk
scripting in my future....


-- Mark

Mark P. Line
Polymathix
San Antonio, TX




More information about the grass-dev mailing list