[GRASS-user] Re: v.breach addon
Maciej Sieczka
msieczka at sieczka.org
Sun Dec 13 22:57:22 EST 2009
Luís Ferreira pisze:
> On Mon, 2009-12-07 at 08:11 +0100, Maciej Sieczka wrote:
>> Luís Ferreira pisze:
>>> I had to change some strings to make v.breach work on GRASS
>>> 6.4svn revision 39873, Ubuntu/Debian 9.10.
>> Can you send a diff (diff original_file your_file), as attachment?
> Here is it :)
The problem with v.breach is down to v.parallel interface change in
v.parallel2 - option `distance' does not accept negative offsets
anymore, and introduces a new `side' option to distinguish left/right,
instead:
$ v.parallel in=lines out=lines_par dist=-1
ERROR: value <-1> out of range for parameter <distance>
Legal range: 0-100000000
@Devs: It would be cool if v.parallel could be changed to accept
negative offsets, for compatibility within 6.x line.
@Luís: I applied most your of patch. Thanks! Are you sure that's all
errors? I keep on getting warnings like:
WARNING: Unable to get point on line: cat = 1 offset = 2.831711 (line
length = 0)
at v.segment calls in the script, and a crash at v.in.ascii.
Best,
Maciek
--
Maciej Sieczka
http://www.sieczka.org
More information about the grass-user
mailing list