ESRI shapefiles include a .prj file containing CRS information in Well-Known Text (WKT) format. I'm developing a software in which I need to systematically read shapefiles' CRS information, convert it to a Proj4 string, and feed Proj4 with it.
The software I'm developing can not have dependencies on GDAL.
So, how can I systematically convert/parse a WKT string from a .prj file into a Proj4 string? Is there any direct mapping between the tags?
Alternatively, instead of converting to a Proj4 string, finding the corresponding EPSG code would also be acceptable.