Re: [gdal-dev] geometry overlap

2012-09-25 Thread Even Rouault
Selon Neelima Emmani : > Hi All, > I am trying to check, if there is an overlap between two area > featuretypes.Ex: LNDARE and OBSTRN. Actually in my dataset I have an overlap > but my code pasted below is returning false value for overlap. Can anyone > help me out. Here we are trying to code with

[gdal-dev] geometry overlap

2012-09-24 Thread Neelima Emmani
Hi All, I am trying to check, if there is an overlap between two area featuretypes.Ex: LNDARE and OBSTRN. Actually in my dataset I have an overlap but my code pasted below is returning false value for overlap. Can anyone help me out. Here we are trying to code with C#. while ((featLNDARE = la

Re: [gdal-dev] Geometry overlap test

2010-04-23 Thread Even Rouault
Alexandre, Overlap has a very particular meaning. See http://postgis.refractions.net/documentation/manual-1.5/ST_Overlaps.html Your 2 polygons intersects well, but they do not "overlap" because the intersection is equal to geometry 1... Best regards, Even Le Friday 23 April 2010 21:29:02 So

[gdal-dev] Geometry overlap test

2010-04-23 Thread Sorokine, Alexandre
Hi! I noticed that Geometry.Overlaps in ogr sometimes returns "no overlap" while intersection is not empty. For example: Geometry 1:POLYGON ((-1 -1,-1 1,1 1,1 -1,-1 -1)) boundaryLINESTRING (-1 -1,-1 1,1 1,1 -1,-1 -1) Geometry 2:POLYGON ((-2 -2,-2 2,2 2,2 -2,-2 -2)) boundaryLINESTRING (-2 -2