/// <summary> /// Method to get the identifier, by which this coordinate system can be accessed. /// </summary> /// <param name="authority">The authority name</param><param name="authorityCode">The code assigned by <paramref name="authority"/></param> /// <returns> /// The identifier or /// <value> /// null /// </value> /// </returns> new public virtual int?GetSRID(string authority, long authorityCode) { var key = new CoordinateSystemKey(authority, authorityCode); if (_sridByCs.TryGetValue(key, out int srid)) { return(srid); } return(null); }
public int?GetSRID(string authority, long authorityCode) { var key = new CoordinateSystemKey(authority, authorityCode); int srid; _initialization.WaitOne(); if (_sridByCs.TryGetValue(key, out srid)) { return(srid); } return(null); }