Zum Hauptinhalt gehen

Union Two Geometries

Kommentare

2 Kommentare

  • Kevin Penner
    Hi Sean,

     

    Get ready for a nice one liner! Put this into the featureset argument of the UnionTask:

     

    New List(Of Graphic)({new Graphic With {.geometry = unionGeometry1}, new Graphic With {.geometry =unionGeometry2}})

     

    Replace unionGeometry1 and unionGeometry2 with the ones from the previous unions.

     

    -Kev

     

     
    0
  • Sean McClurkan
    That sure beats the Create List->Add List Items->Convert List to FeatureSet->Union sequence I made.  Thanks for the one-liner.   Here's a one-liner in return:

     

    You will never persuade me to change my behavior simply by convincing me it is ridiculous.

     

    Hope that helps.  Cheers!
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.