hello,
how can I check the user's geometry before it gets passes to the editor?
I'm using editor in rectangle mode (I use rectangle because it accepts points which is great) but if the user draws a perfectly straight line nothing gets selected. I need to intercept it somewhere before the editor actually gets called, to check the geometry.
to be clear, the code returns fine with an empty selection, no errors at all, until I check my Server Logs. In Server Manager I get:
"Geodatabase error: The number of points is less than required for feature"
to me this means the SL code lets the line pass, but the .MapServer doesn't know how to handle it.
Thanks,