I am trying to export a line feature class from an oracle spatial database to a file geodatabase. I can export polygons with no problem, but cannot find the appropriate command '-nlt' for Line Feature.
ogr2ogr -update -overwrite -nln CONVERT_TO_LINEAR -nln sf_line -a_srs EPSG:3089 -progress -f FileGDB g:/...." "
Define the geometry type for the created layer. One of NONE, GEOMETRY, POINT, LINESTRING, POLYGON, GEOMETRYCOLLECTION, MULTIPOINT, MULTIPOLYGON or MULTILINESTRING. And CIRCULARSTRING, COMPOUNDCURVE, CURVEPOLYGON, MULTICURVE and MULTISURFACE for GDAL 2.0 non-linear geometry types
.select distinct a.geom.sdo_gtype from your_table a;
? Naturally you must edit the SQL a bit to suit your table.