Hoppa till huvudinnehållet

Geocode activity - format of "Address" input

Kommentarer

2 kommentarer

  • Berend Veldkamp

    It seems to me there's a problem with the Geocode activity. It uses a field called singleLine, whereas this particular geocoding server uses Street and/or Single Line Input.

     

    As a workaround, you could use a Send Web Request activity, where

     

    You could also use "Street" instead of "Single Line Input" in the Query definition, the result seems to be the same.

     

    The returned address will be in:

    =$webRequest1.json.candidates[0].address

    And its location can be retrieved with a Create Point activity where

    • X: =$webRequest1.json.candidates[0].location.x
    • Y: =$webRequest1.json.candidates[0].location.y
    • Spatial Reference: =$webRequest1.json.spatialReference.wkid

     

    0
  • Chris Dunlop

    Perfect, thanks Berend!

    0

Du måste logga in om du vill lämna en kommentar.