It looks like it is turned into a
PolygonShape once added to the feature, is there any way to convert it back?
The
following code returns an error:
shape = new RectangleShape(1,2,2,1);
Feature feat = new Feature(shape);
BaseShape shape2 = feat.GetShape();
RectangleShape rectangle = (RectangleShape)shape2;
"Unable to cast object of type
'ThinkGeo.MapSuite.Core.PolygonShape' to type
'ThinkGeo.MapSuite.Core.RectangleShape'."