[gdal-dev] Re: problems with creating polygon

lengwei2008 421059144 at qq.com
Tue Jul 12 22:19:31 EDT 2011


I'm so sorry, I think I figure the problem out now
    poLayer = poDS->CreateLayer( "polygon", NULL, wkbPoint, NULL );
shall be changed to 
    poLayer = poDS->CreateLayer( "polygon", NULL, wkbPolygon, NULL );


--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/problems-with-creating-polygon-tp6577474p6577498.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list