Actually Dan, the issue here is we have some squirrely Shape:Point data.
For the Nulls, I can “probably” just check the X value, but given what I’ve seen with the 0 data…
For 0, I’ve come across data of the format (0, yyyyyyyy) and (xxxxxxxxx,0)
How those values got into the data, I have no idea. I believe they have possibly been there for years.
Hence the check for X=0 and Y=0 and if I’m doing that and finding those cases, I figurred might as well verify we don’t have some odd stuff with (None,Y)
Or (X,None) I haven’t come across any like that but we’re still working on tracking down how this got in there in the first place.
While this might be contrived (no argument there) the contrivance is in production data and needs to be cleaned out.
My initial code did query first.
When you say query the field manually, I’m guessing you mean do an Add XY Coordinates via ToolBox.
Did that a day or so back. Interestingly, it seemed to have missed the one (0,0) point and returned it as None,None.
Since that makes no sense, it’s more likely I just missed it in the large array or was off by one in an index.