Re: [gdal-dev] OGRGeometry::Intersection returns NULL

2012-10-16 Thread Alisson Barbosa
Solved! The problem was because my GDAL/OGR had not been compiled with GEOS. 2012/10/10 Even Rouault > Le mercredi 10 octobre 2012 19:48:07, Alisson Barbosa a écrit : > > Hello, guys! > > > > I'm truggling through a rough moment here... > > I have this piece of code in a project that I work on:

Re: [gdal-dev] OGRGeometry::Intersection returns NULL

2012-10-10 Thread Even Rouault
Le mercredi 10 octobre 2012 19:48:07, Alisson Barbosa a écrit : > Hello, guys! > > I'm truggling through a rough moment here... > I have this piece of code in a project that I work on: > > if(basinPolygon->Intersects(luPolygon)) > { > OGRGeometry *result = basinPolygon->Intersection(luPol

[gdal-dev] OGRGeometry::Intersection returns NULL

2012-10-10 Thread Alisson Barbosa
Hello, guys! I'm truggling through a rough moment here... I have this piece of code in a project that I work on: if(basinPolygon->Intersects(luPolygon)) { OGRGeometry *result = basinPolygon->Intersection(luPolygon); if(result) newLayer.push_back(result); } Somehow

Re: [gdal-dev] OGRGeometry::Intersection

2012-10-10 Thread alissonzkv
Hi Hugo, I have the same problem. Regards, -- View this message in context: http://osgeo-org.1560.n6.nabble.com/OGRGeometry-Intersection-tp5007490p5007743.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___ gdal-dev mailing list gd