This is an extended question of the following link : Multiply or Divide certain numbers on a projection file(?) of Japan
It works great with shapefiles but somehow it's not working well with FileGDB feature classes
Some of my layers are over 2GB; therefore, i had to store them as FileGDB feature class. I have installed FileGDB driver (using the latest version of GDAL) and modify the code shown in below
ogr2ogr -f "filegdb" -a_srs espg:4301 -dialect sqlite -sql "select scalecoords(geometry, 2.7777777777777777777777777777778e-7), ATTRIBUTES1, ATTRIBUTES2, from D:\NAME_VS_E.gdb\NAME_VS_E" D:\NAME_VS_E.gdb\test D:\NAME_VS_E.gdb\NAME_VS_E
and it returns an error "Unable to open datasource'D:\NAME_VS_E.gdb\NAME_VS_E' with the following drivers.
I have installed the driver though. It works great with
ogrinfo -so D:\NAME_VS_E.gdb