I created a gdb with filegdab api in gdal, then create an ogrlayer int gdb by function CreateLayer(newlayername,spatial,geotype,option), the thrid parameter "geotype"=wkbLinestring, after created the layer, I get the layer geometry type by function layerGeoType=pLayer->getgeomtype(); but the "layerGeoType"=wkbmultilinestring, is not the same as before I set the layer type wkbLinestring. I tried wkblinestring layer, wkbpolygon layer , all the layer into gdbfile , their geometry type become wkbmultilinestring, wkbmultipolygon, how could I control the layer geometry type in filegdb which would be the same as before.
Rebecca -- View this message in context: http://osgeo-org.1560.x6.nabble.com/why-the-layer-changed-geometry-type-after-insert-into-gdb-tp5180310.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
