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:/...." "
I was able to use the '-nlt linestring' to export a line feature class successfully. The error appears to have been embedded in the sql statement. I was joining two tables and a view. The view was originally written using the 'myview.*'. I changed the SQL so that added each variable individually. This seemed to work.
table1.var1, table2.var2, myview.variable1, myview.variable2 . . . myview.variableN'.