I used FileGDB SDK 1.4 with gdal gdal-1.11.3, I changed the Shape file projection to EPSG:4326 it then worked for me.
Thanks Gane On Thu, Dec 24, 2015 at 5:32 PM, Even Rouault <[email protected]> wrote: > > > > ogrinfo -al "SimpleShapeFile_1.shp" > > > > INFO: Open of `SimpleShapeFile_1.shp' > > using driver `ESRI Shapefile' successful. > > > > Layer name: SimpleShapeFile_1 > > Geometry: Point > > Feature Count: 1 > > Extent: (-104.960632, 39.736762) - (-104.960632, 39.736762) > > Layer SRS WKT: > > GEOGCS["WGS84(DD)", > > DATUM["WGS84", > > SPHEROID["WGS84",6378137.0,298.257223563]], > > PRIMEM["Greenwich",0.0], > > UNIT["degree",0.017453292519943295], > > AXIS["Geodetic longitude",EAST], > > AXIS["Geodetic latitude",NORTH]] > > Label: String (254.0) > > OGRFeature(SimpleShapeFile_1):0 > > Label (String) = 1 > > POINT (-104.960632 39.736762) > > > > > > > > ogr2ogr -f "FileGDB" "SimpleShapeFile.gdb" "SimpleShapeFile_1.shp" > > Which version of the FileGDB SDK did you use ? With v1.3 this fails for me > with : > ERROR 1: Failed at creating table for \SimpleShapeFile_1 (General function > failure.) > which isn't completely surprising since the SDK is quite picky on the > projection strings, and I guess the "WGS84(DD)" must not please it. The > SRS it > generated for you is completely invalid, hence the reprojection error you > get > later. > If you add -a_srs EPSG:4326 this will work fine. > > Even > > -- > Spatialys - Geospatial professional services > http://www.spatialys.com >
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
