<div dir="ltr"><div><div>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.<br><br></div>Thanks<br></div>Gane<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 24, 2015 at 5:32 PM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@spatialys.com" target="_blank">even.rouault@spatialys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">><br>
> ogrinfo -al "SimpleShapeFile_1.shp"<br>
><br>
> INFO: Open of `SimpleShapeFile_1.shp'<br>
>       using driver `ESRI Shapefile' successful.<br>
><br>
> Layer name: SimpleShapeFile_1<br>
> Geometry: Point<br>
> Feature Count: 1<br>
> Extent: (-104.960632, 39.736762) - (-104.960632, 39.736762)<br>
> Layer SRS WKT:<br>
> GEOGCS["WGS84(DD)",<br>
>     DATUM["WGS84",<br>
>         SPHEROID["WGS84",6378137.0,298.257223563]],<br>
>     PRIMEM["Greenwich",0.0],<br>
>     UNIT["degree",0.017453292519943295],<br>
>     AXIS["Geodetic longitude",EAST],<br>
>     AXIS["Geodetic latitude",NORTH]]<br>
> Label: String (254.0)<br>
> OGRFeature(SimpleShapeFile_1):0<br>
>   Label (String) = 1<br>
>   POINT (-104.960632 39.736762)<br>
><br>
><br>
><br>
>   ogr2ogr -f "FileGDB" "SimpleShapeFile.gdb" "SimpleShapeFile_1.shp"<br>
<br>
</span>Which version of the FileGDB SDK did you use ? With v1.3 this fails for me<br>
with :<br>
ERROR 1: Failed at creating table for \SimpleShapeFile_1 (General function<br>
failure.)<br>
which isn't completely surprising since the SDK is quite picky on the<br>
projection strings, and I guess the "WGS84(DD)" must not please it. The SRS it<br>
generated for you is completely invalid, hence the reprojection error you get<br>
later.<br>
If you add -a_srs EPSG:4326 this will work fine.<br>
<span class="HOEnZb"><font color="#888888"><br>
Even<br>
<br>
--<br>
Spatialys - Geospatial professional services<br>
<a href="http://www.spatialys.com" rel="noreferrer" target="_blank">http://www.spatialys.com</a><br>
</font></span></blockquote></div><br></div>