예제 #1
0
 private void ValidateEPSG_Click(object sender, EventArgs e)
 {
     try
     {
         m_epsgCoordSys = null;
         m_epsgCoordSys = _cat.FindCoordSys($"EPSG:{EPSGCodeText.Text}"); //NOXLATE
         if (m_epsgCoordSys == null)
         {
             string s = _cat.ConvertEpsgCodeToWkt(EPSGCodeText.Text);
             s = _cat.ConvertWktToCoordinateSystemCode(s);
             m_epsgCoordSys = _cat.FindCoordSys(s);
         }
     }
     catch
     {
     }
     UpdateOKButton();
 }