I have imported a shapefile containing land use data for the UK. The layer says that its' coordinate system is EPSG:2770 OSGB 1936, however, when I display the image over a basemap it becomes obvious that the shapefile CRS is using WGS 84.
The first image is when the basemap CRS is set to EPSG:3857 and shapefile CRS is OSGB 1936. The second image when the basemap CRS is set to OSGB 1936 and shapefile CRS is OSGB 1936.
Here is the metadata for the shapefile:
Storage type of this layer
Description of this provider
OGR data provider (compiled against GDAL/OGR library version 2.4.0, running against GDAL/OGR library version 2.4.0)
Source for this layer
Geometry type of the features in this layer
Polygon (WKB type: "Polygon")
The number of features in this layer
Capabilities of this layer
Add Features, Delete Features, Change, Attribute Values, Add Attributes, Delete Attributes, Rename, Attributes, Create Spatial Index, Create Attribute Indexes, Fast, Access to Features at ID, Change Geometries
In layer spatial reference system units xMin,yMin 54236.5,5333.81 : xMax,yMax 655649.84,1220310.00
Layer Spatial Reference System
+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +towgs84=446.448,-125.157,542.06,0.15,0.247,0.842,-20.489 +units=m +no_defs
Is there anyway I can fix this? I have tried a variety of transformations in both QGIS 2 and 3.
EDIT: Problem fixed by using the 'Reproject Layer' tool to reproject the shapefile to WGS 84