Re: [GRASS-user] How to find intersection of two lines

2008-03-22 Thread Moritz Lennert
On 21/03/08 15:51, Jarek Jasiewicz wrote: Moritz Lennert wrote: On 20/03/08 17:15, Jarek Jasiewicz wrote: Moritz Lennert wrote: On 20/03/08 11:17, Jarosław Jasiewicz wrote: Hi I have lots of raster, thinned lines and second raster with with one line. I must find all points where second line i

Re: [GRASS-user] How to find intersection of two lines

2008-03-21 Thread Jarek Jasiewicz
Moritz Lennert wrote: On 20/03/08 17:15, Jarek Jasiewicz wrote: Moritz Lennert wrote: On 20/03/08 11:17, Jarosław Jasiewicz wrote: Hi I have lots of raster, thinned lines and second raster with with one line. I must find all points where second line intersect with lines on first raster it is

Re: [GRASS-user] How to find intersection of two lines

2008-03-21 Thread Markus Neteler
2008/3/20 Moritz Lennert <[EMAIL PROTECTED]>: ... > The map points (created with the parameter err=points) should contain > exactly these points. Obviously this only works if you can create > correct vector lines from your raster. > > See example here: > http://geog-pc40.ulb.ac.be/grass/misc/i

Re: [GRASS-user] How to find intersection of two lines

2008-03-20 Thread Moritz Lennert
On 20/03/08 17:15, Jarek Jasiewicz wrote: Moritz Lennert wrote: On 20/03/08 11:17, Jarosław Jasiewicz wrote: Hi I have lots of raster, thinned lines and second raster with with one line. I must find all points where second line intersect with lines on first raster it is very simple: r.mapcal

Re: [GRASS-user] How to find intersection of two lines

2008-03-20 Thread Jarek Jasiewicz
Moritz Lennert wrote: On 20/03/08 11:17, Jarosław Jasiewicz wrote: Hi I have lots of raster, thinned lines and second raster with with one line. I must find all points where second line intersect with lines on first raster it is very simple: r.mapcalc points=if(raster_two==1&&raster_one==1,1,

Re: [GRASS-user] How to find intersection of two lines

2008-03-20 Thread Moritz Lennert
On 20/03/08 11:17, Jarosław Jasiewicz wrote: Hi I have lots of raster, thinned lines and second raster with with one line. I must find all points where second line intersect with lines on first raster it is very simple: r.mapcalc points=if(raster_two==1&&raster_one==1,1,null()) but there is o

[GRASS-user] How to find intersection of two lines

2008-03-20 Thread Jarosław Jasiewicz
Hi I have lots of raster, thinned lines and second raster with with one line. I must find all points where second line intersect with lines on first raster it is very simple: r.mapcalc points=if(raster_two==1&&raster_one==1,1,null()) but there is one exception: AB BA when lines intersect wit