How to extract SRID from a feature class

1544
1
10-14-2016 10:42 AM
TimBarker
New Contributor II

I am using Desktop Basic 10.1 and 10.3 to prepare data.  The shapefiles and tifs that result are sent to a client for import to his proprietary spatial database.  All of the products I produce are built to a selected projection for each study area.

The open source software that consumes these products requires an SRID.  I have searched online and through the software.  How do I extract this information within ArcMap?  Is it even stored somewhere with the file geodatabase feature class, shapefiles, or tifs?  In the properties window I can get the details about the projection like below:

ata Type: Shapefile Feature Class
Shapefile: D:\BC_2016\BC_Bounds\Study_area\BC_Land_bounds_20160515.shp
Geometry Type: Polygon
Coordinates have Z values: No
Coordinates have measures: No

Projected Coordinate System: NAD_1983_BC_Environment_Albers
Projection: Albers
False_Easting: 1000000.00000000
False_Northing: 0.00000000
Central_Meridian: -126.00000000
Standard_Parallel_1: 50.00000000
Standard_Parallel_2: 58.50000000
Latitude_Of_Origin: 45.00000000
Linear Unit: Meter

Geographic Coordinate System: GCS_North_American_1983
Datum: D_North_American_1983
Prime Meridian: Greenwich
Angular Unit: Degree

Is there a way to extract the SRID for this spatial coordinate system?

1 Reply
DanPatterson_Retired
MVP Emeritus

This old thread contains your example plus others for Canadian locals.  The suggestion is to replace the underscores and use the string substituted into the createspatialreference 

arcgis 10.2 - Creating a spatial reference in arcpy from projection name - Geographic Information Sy... 

worth a shot... better than trying aimlessly to find SRID or WKID for something that isn't even embedded in the file in the first place.

An alternative is to just keep a lookup table of what you have come across

0 Kudos