Zum Hauptinhalt gehen

Add attributes to geometry?

Kommentare

3 Kommentare

  • Permanently deleted user

    It looks like geometry is a member of graphic. Graphics hold both the geometry and attributes. So my answer is probably no.

    So I'll shift my question... How can I display the graphic on the map with its associated attributes? Is there a way? 

    0
  • Permanently deleted user

    Hi Erik

    so if you have a geometry you can create a graphic and assign your geomtery to it

    ie in an assign task

       theNewGraphic = New Graphic

    theNewGraphic.Geometry = myAlreadySourcedGeometry

    'and assign attributes

    theNewGraphic.Attributes("fielName").Value = "the value of the field"

    'and you can still draw it in the client using:

    External Client Command Activity ,  AddMarkupFeature, theNewGraphic

    or something along those lines

    and extract it using: ExtractGraphicsLayerById

    Just a suggestion since I am not currently at work and able to pre-test my suggestion ;-)  No doubt there may be a couple of missing steps

    Regards

    Ralph

    0
  • Permanently deleted user

    Hi Ralph,

    is there away to access that attribute value without the extract function ? is it possible to add that field (along with any other attibutes we add in the workflow) to the results pane ?

    Thanks

    Mazen

    0

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