356 reputation
114
bio website
location Germany
age
visits member for 1 year, 8 months
seen May 15 at 7:50
stats profile views 51

Oct
17
reviewed Reviewed How to display row and column indexes for an image in ArcGIS?
Oct
10
comment How to edit the position of a banner text's pointer?
Thanks. So ICallout is the name I was looking for :)
Oct
10
accepted How to edit the position of a banner text's pointer?
Oct
9
asked How to edit the position of a banner text's pointer?
Oct
9
comment Why does ITopologicalOperator2 .ConstructUnion produce a somehow invalid polygon?
@Petr: I added the spatial reference - no change. I think of making a test project I could share. Would that help?
Oct
9
revised Why does ITopologicalOperator2 .ConstructUnion produce a somehow invalid polygon?
added "set spatial reference for Union"
Oct
9
revised Why does ITopologicalOperator2 .ConstructUnion produce a somehow invalid polygon?
edited title
Oct
8
comment Why does ITopologicalOperator2 .ConstructUnion produce a somehow invalid polygon?
@AHigh: The GraphicsContainer is a casted IActiveView.FocusMap (added to question). Casting resultPolygon to an IPolygon didn't help.
Oct
8
revised Why does ITopologicalOperator2 .ConstructUnion produce a somehow invalid polygon?
added activeView.FocusMap; deleted 2 characters in body
Oct
8
comment Why does ITopologicalOperator2 .ConstructUnion produce a somehow invalid polygon?
Thanks. I added it to both my source and the question. Unfortunately it didn't help with the problem.
Oct
8
revised Why does ITopologicalOperator2 .ConstructUnion produce a somehow invalid polygon?
added update to shape.IsKnownSimple_2 = false;
Oct
2
revised Why does ITopologicalOperator2 .ConstructUnion produce a somehow invalid polygon?
clarification
Oct
2
comment Why does ITopologicalOperator2 .ConstructUnion produce a somehow invalid polygon?
@Petr, do you mean without using ConstructUnion? When I directly assign element.Geometry = feature.Shape it does work, as I pointed out. (made that more clear in the question) That's why I think it has to be something with ConstructUnion.
Oct
2
revised Why does ITopologicalOperator2 .ConstructUnion produce a somehow invalid polygon?
update
Oct
2
comment Why does ITopologicalOperator2 .ConstructUnion produce a somehow invalid polygon?
Thanks for the hints. 1.) I changed the asignment to ShapeCopy, but with no result. 2. + 3.) For testing I use a single layer where I select three polygon features. 4.) For testing I directly used the resultPolygon instead of the Buffer output as element geometry, but it didn't helped. And 5.) resultPolygon.IsEmpty is false.
Oct
2
revised Why does ITopologicalOperator2 .ConstructUnion produce a somehow invalid polygon?
edited body
Oct
2
comment Why does ITopologicalOperator2 .ConstructUnion produce a somehow invalid polygon?
@AHigh: Yes, I do make sure that there is only one geometry type. Thanks for pointing it out.
Oct
1
asked Why does ITopologicalOperator2 .ConstructUnion produce a somehow invalid polygon?
Oct
1
comment Geometry from multiple selected features into one geometry
I had to set the SpatialReference on the GeometryBag before adding elements. Otherwise the ConstructUnion would fail.
Sep
28
revised IMapControlEvents2.OnKeyDown not hit on Alt + key
fixed typos