I have been using this method for the past year like this…
BaseShape tempShape = null;
tempShape = BaseShape.CreateShapeFromWellKnownData((byte[])FieldRow["WKB"]);
Now for whatever reason ThinkGeo just crashes with no explanation?
Help! I have to demo this soon!
CreateShapeFromWellKnownData is throwing null error
Hi Robert,
Sorry I can’t recreate the issue in my end. Could you please turn on the exception track and let us know the exception details? Also would you please let us know which map suite version is right and which is wrong so that we can do a comparison? Currently, we need to find a way to recreate the issue.
I just guess we might do some stronger validations on the shape in the new version. That’s would be very useful If you can provide some data or a sample which can recreate the issue.
Regards,
Troy
Hi Robert,
Attached is the test sample on our end for your information. as you can see if the wkb is wrong, then the exception will be thrown.
Best Regards
Summer