[PINPOINT-153]  PlateStar.MakeMPC() can't recognize numbers over 99999
Type Bug
Priority Low
Severity Minor
Component Astrometric Engine
Fixed In Version [5.15.1
Versions Affected [5.05.0
Severity Closed
Resolution Not an issue
Reported By Bob Denny
Resources Bob Denny
Start Date 4/15/2010

Description
As it is, you pass the designation and MakeMPC looks for a pure number less than 100000 to decide to produce the numbered MP format. But Now the 5-char "number" can be encoded for numbers 100000 and up. Need smarter code here to try converting the encoded number, and only if that fails, then deciding it's a designation.

Comments
4/15/2010 5:35:02 PM   Bob Denny
It alrady does this. Tested with numerics greater than 100000 and it definitely encodes the number correctly. The problem was the user passing it as a string and not a 32-bit integer.
4/15/2010 5:06:01 PM   Bob Denny
Will instead accept numbers greater than 99999 and encode them for the MPC report within PinPoint.