Dear all, i'm trying buffer some geometries with GDAL. I have success with poligons and lines but i can't create the buffer when i try to do the same procedure with an OGRPoint.
Here is a screenshot with the buffer http://i.imgur.com/rRQuooc.jpg I'm using the Buffer function from OGRGeometry Class in a map with WGS 84 coordinates reference system. Anyone know what could be wrong? Code example OGRFeature *pfeature = player->GetNextFeature(); // Apunta al primer feature while (pfeature) { OGRFeature* pnewfeature = pfeature->Clone(); pnewfeature->SetGeometry(pnewfeature->GetGeometryRef()->Buffer(bufferdist)); pdestlayer->CreateFeature(pnewfeature); pfeature = player->GetNextFeature(); } -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Buffering-geometries-tp5081031.html Sent from the GDAL - Dev mailing list archive at Nabble.com. _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
