POST
|
I finally find a solution to my problem. Thanks to all
... View more
02-12-2014
11:30 PM
|
0
|
0
|
7
|
POST
|
Hi all I want to cut a polygon by many polylines but i don't know how to do it. I can cut polygon to 2 parts ( left and right ) using this code
ESRI.ArcGIS.Geometry.ITopologicalOperator4 topologicalOperator4 = polygon as ESRI.ArcGIS.Geometry.ITopologicalOperator4;
ESRI.ArcGIS.Geometry.IGeometryCollection geometryCollection = topologicalOperator4.Cut2(polyline);
But how to cut by many polylines. Waitting for your help.
... View more
02-10-2014
12:36 AM
|
0
|
3
|
550
|
POST
|
I used to use this code but I can't union 2 adjacent polygons, result return only one polygon (polygon 1 to union ). Two polygons don't intersect , just have a common segment. How can I fix that?
... View more
10-22-2013
06:14 PM
|
0
|
1
|
39
|
POST
|
I have some selected feature as Polygon in SDE geo database show in map control. They are side-by-side features but now I want to merge them into one by code . How can I do this, anyone has any example code ? I use ArcGIS engine 9.3 and C# thank you Cuongdx
... View more
10-09-2013
03:05 AM
|
0
|
3
|
3600
|
POST
|
Of couse I will try my best to help another people to find solution. I don't know how to mark thread is answered to close.Can you show me how to do this?
... View more
07-23-2013
11:33 PM
|
0
|
0
|
139
|
POST
|
I use this code to find intersect of 2 polygon void CreatePolylineFromExistingGeometries(ESRI.ArcGIS.Geometry.IPolygon pPolygon1, ESRI.ArcGIS.Geometry.IPolygon pPolygon2) { //Build a new polyline by intersecting two existing polygons. ESRI.ArcGIS.Geometry.ITopologicalOperator2 pTopoOp2 = pPolygon1 as ITopologicalOperator2; //Simplify. pTopoOp2.IsKnownSimple_2 = false; pTopoOp2.Simplify(); ESRI.ArcGIS.Geometry.IPolyline pPoly = pTopoOp2.Intersect(pPolygon2, ESRI.ArcGIS.Geometry.esriGeometryDimension.esriGeometry1Dimension) as IPolyline; //pPoly is the new generated polyline. } but when i check pPoly ( new polyline generated) then the properties IsEmpty of pPoly is true so i can't show pPoly in map. When i change esriGeometry1Dimension to esriGeometry2Dimension and return IPolygon then i can show Polygon intersect of 2 polygon. But i want to use polyline more than polygon intersect. So how to fix this problem?
... View more
07-19-2013
02:16 AM
|
0
|
0
|
330
|
POST
|
I use arcgis engine 9.3 and C#, i want to query geodatabase by a rectangle and get all polygon or segment within rectangle.So i intend to query all polygon and use ITopologicalOperator::Intersect to get segment within rectangle.Is it the best way?Do you have any code about it?
... View more
07-17-2013
06:46 PM
|
0
|
0
|
330
|
POST
|
Thank you weif4314 , although i don't really know how to do but i will try by that way.Can you support me?
... View more
07-16-2013
05:47 PM
|
0
|
0
|
330
|
POST
|
But I want to get a part of segment in shape, not all segment.How can i do it?
... View more
07-15-2013
05:28 PM
|
0
|
0
|
330
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|