I have Shapefiles without a CRS (e.g. without .prj-file).
I would like to set the CRS (EPSG:31468) before I pass the shape-files.
I tried the following:
1. Setting a .prj-file manually with the string
PROJCS["DHDN_3_degree_Gauss_Kruger_zone_4",GEOGCS["GCS_DHDN",DATUM["D_Deutsches_Hauptdreiecksnetz",SPHEROID["Bessel_1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",12],PARAMETER["scale_factor",1],PARAMETER["false_easting",4500000],PARAMETER["false_northing",0],UNIT["Meter",1]]
2.using ogr2ogr
ogr2ogr -s_srs EPSG:31468 -t_srs EPSG:31468 out.shp in.shp
If I import those shapes into QGIS, QGIS always recognizes CRS EPSG:2167.
I have set in QGIS the correct CRS and exported it in a new file. The .prj of the new file is identical to that one of the input file.
So whats wrong with my files?!