Posts

Showing posts from December 23, 2018

How to Identify Coordinate System (CRS) from projection file using Python

Image
up vote 2 down vote favorite I am working on many shapefiles (their corresponding projection files are also presented). Every shapefile has a different Coordinate System, so it becomes difficult to plot these in a generic manner. How can I identify with Python what is the CRS used in the shapefile? For example, the ".prj" file for some shapefiles is given below, but I am not able to identify what is the CRS to be used. GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]] GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]] GEOGCS[...