I'm trying to import a Shapefile into PostGIS using the ogr2ogr, but it seems that the OGR is not automatically getting the EPSG from Shapefile.
My Shapefile has EPSG 4618, but the table created by ogr2ogr has EPSG 900914.
The code I'm using is as follows:
ogr2ogr -append -f "PostgreSQL" PG:"host=x dbname=x user=x password=x" points.shp -nln points -skipfailures -lco FID=id -lco GEOMETRY_NAME=geom
Anyone has any idea what's going on? Because the files (* .dbf, * .shx and so on) are in the same folder of the * .shp file.
I send below two print screens: one from shapefile and the other from PostGIS, showing the EPSG of each one, that are different, but they should be equal.
The content of .prj file is: