[R-sig-Geo] rgeos: gOverlaps not working properly?

2012-10-15 Thread zbynek.jano...@centrum.cz
Hello, I have following problem with gOverlaps function: I have two lines, A and B. line A has 57 vertexes, all identical with vertexes of line B yet, gOverlaps(A,B) gives FALSE the code follows... CooA # coordinates of line A [,1] [,2] [1,] -506157.4 -1122381 [2,] -506046.4

Re: [R-sig-Geo] rgeos: gOverlaps not working properly?

2012-10-15 Thread Roman Luštrik
Would it be possible to provide your output in a form that we can read it? I suggest dput(). Cheers, Roman On Mon, Oct 15, 2012 at 2:20 PM, zbynek.jano...@centrum.cz zbynek.jano...@centrum.cz wrote: Hello, I have following problem with gOverlaps function: I have two lines, A and B. line

Re: [R-sig-Geo] rgeos: gOverlaps not working properly?

2012-10-15 Thread zbynek.jano...@centrum.cz
Absolutely, sorry for that dput(CooA) structure(c(-506157.3827, -506046.35779, -506021.42681, -505984.87158, -505953.70149, -505910.16251, -505883.4289, -505840.08242, -505800.22761, -505771.72411, -505735.3649, -505701.88969, -505651.2245,

Re: [R-sig-Geo] rgeos: gOverlaps not working properly?

2012-10-15 Thread Barry Rowlingson
‘gOverlaps’ returns TRUE when the geometries share some but not all interior points, and the intersection has the same dimension as the geometries themselves. Hence gOverlaps(A,A) == FALSE due to that 'but not all' part of the documentation. Barry

Re: [R-sig-Geo] rgeos: gOverlaps not working properly?

2012-10-15 Thread zbynek.jano...@centrum.cz
Thank you very much, problem solved. Zbynek -- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/rgeos-gOverlaps-not-working-properly-tp7581278p7581282.html Sent from the R-sig-geo mailing list archive at Nabble.com. ___ R-sig-Geo