POST
|
Can you please send the data containing the 2 geometries only. I will write a piece of code to try to repro the problem.
... View more
07-29-2013
09:15 AM
|
0
|
0
|
210
|
POST
|
Without seeing the actual data and code, I can only take a guess on the cause of the problem. The error message should be "The coordinates or measures are out of bounds." rather than the other one you mentioned, NETWORK_E_EDIT_SESSION_IN_PROGRESS. The error code associated with this error message can be returned from various places in ArcGIS library. In addition to check the feature geometry's location in the coordinate system, the attributes measurement such as Z and M is also considered as the possible cause here. Also, if the geometry involves curve segment, like bezier, clothid, etc., can sometimes also causes this problem during the process.
... View more
07-25-2013
12:53 PM
|
0
|
0
|
210
|
POST
|
Please go to the top of the page, there are lines highlighted in yellow shows how to mark the thread as answered. Thanks.
... View more
07-24-2013
08:03 AM
|
0
|
0
|
104
|
POST
|
Can you please mark the thread as answered to close it, and help other people to find the solution to similar problems? Thanks.
... View more
07-22-2013
10:11 AM
|
0
|
0
|
104
|
POST
|
I'd use esriGeometry2Dimension as I metntioned before to get the polygon output. ESRI.ArcGIS.Geometry.IPolygon pPoly = pTopoOp2.Intersect(pPolygon2, ESRI.ArcGIS.Geometry.esriGeometryDimension.esriGeometry2Dimension) as IPolygon; Then I will use ISegmentCollection ISegmentCollection pSegColl = pPoly as ISegmentCollection int count = pSegColl.SegmentCount for(int i = 0; i<count; i++) { ISegment pSeg = pSegColl(i); //Do whatever you want with it } You can create a segment collection of polyline type ISegmentCollection pSegColl2 = new Polyline() as ISegmentCollection and then add all the segment from the pSegColl to pSegColl2. I didn't check the syntax of the code, but you got the idea.
... View more
07-19-2013
02:10 PM
|
0
|
0
|
221
|
POST
|
No problem. I will try my best to help. First you need to get the polygon feature class, and a shape (a polygon or an envelope I assume) as input in your code. We can then start from there. What programming language you use?
... View more
07-17-2013
09:26 AM
|
0
|
0
|
221
|
POST
|
Use ITopologicalOperator::Intersect with output option set to esriGeometry2Dimension, you get a polygon, and then cast to ISegmentCollection. All the segments in this collection will be within the shape.
... View more
07-16-2013
07:58 AM
|
0
|
0
|
221
|
POST
|
I will use ISpatialFilter to get the polygons. For each polygon, cast from IPolygon to ISegmentCollection interface, you get the segments that you want.
... View more
07-15-2013
02:26 PM
|
0
|
0
|
221
|
POST
|
In ArcObject, there are IZAware and IMAware interfaces, you can call DropZs and DropMs to reset the Z values and M values, or set ZAware or MAware properties to false. These do not apply to feature class, so you have to go through each feature and get the geometry. http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/IZAware_Interface/002m00000442000000/ http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/IMAware_Interface/002m0000022t000000/
... View more
07-15-2013
02:17 PM
|
0
|
0
|
33
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|