// pseudocode // Make a list of points common to both List<Point> myPoints = new List<Point>(); For each node in ITopologyGraphNodes parent1count = 0 parent2count = 0 For each parent in node.parents if parent.m_pfC.Alias == "MyPointFeatureclass" then parent1count++; else if parent.m_FC.Alias == "MyLineFeatureclass" then parent2count++; next parent if parent1Count > 0 and parent2Count > 0 then List.Add((IPoint)node.Geometry); next node // write each point in List to featureclass. foreach point in List Write point to output featureclass next point
Hi All,I have been trying using IBasicGeoprocessor interface's Intersect method, to create point layer at the point of intersection between the 2 layers.(one is line layer & other is polygon layer)But even after setting outputFeatureClass's shapeType property to esriGeometryPoint, type of output layer is Polygon.Could you please help me in resolving this issue.Thanking you in advance.Regards,Viji
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.