jmohring

How to intersect two geometry objects with 9.3 geoprocessor

Discussion created by jmohring on Jun 16, 2011
Latest reply on Jun 29, 2011 by csny490
Dear colleagues,

I have two geometry objects o1 and o2 created from arrays (e.g. o1 = gp.CreateObject("geometry", "polygon", array1).

Now I would like to intersect them. However

gp.Intersect_analysis("o1;o2",output) does not work, neither does
gp.Intersect_analysis(o1 + ";" + o2,output) work, nor does
gp.Intersect_analysis(str(o1) + ";" + str(o2),output) work.

Can it be that it's simply not possible to intersect geometry objects since the intersect tool requires strings?

Thank you for any help!
Jörg Mohring

Outcomes