3

I'm using Python 2.7 and ArcGIS 10.1. I have one topology problem in my Python script and I don't know how to fix it. I have one road and I want to select polygons with a query where intersect with my road(or my road within the polygons). But my bad road have very small section where intersect with others polygons if I use easy way with a query then query select all polygons(and polygons where intersect with the small sections), I don't want that I don't need small road section and I don't want the intersect polygons with this section. Any idea how to fix that using Python and Arcpy ?

  • +1 Would be very interested in seeing ways to access arcobjects methods like ITopologyGraph.SetParentSelected. – Kirk Kuykendall Apr 22 '16 at 20:31
  • its difficult python topology ? – hellas Apr 22 '16 at 20:47
  • Years ago Esri made a big deal about topology, saying that was what differentiated GIS from CAD. From what I can tell, they have not included any arcpy functions that let you do the sorts of queries you have described. It can be done with ArcObjects. – Kirk Kuykendall Apr 22 '16 at 23:55
  • It's not completely clear to me. Maybe you can accomplish what you need by using a spatial join, without using topology. desktop.arcgis.com/en/arcmap/10.3/tools/analysis-toolbox/… – Kirk Kuykendall Apr 22 '16 at 23:58
  • then i think so must be use python functions and not arcpy – hellas Apr 23 '16 at 8:06