+ Reply to Thread
Results 1 to 3 of 3

Thread: migrating arcobject code

  1. #1
    Gary Bushek
    Join Date
    Apr 2010
    Posts
    86
    Points
    1
    Answers Provided
    1


    0

    Default migrating arcobject code

    I have some old ArcObject code that i'm migrating and was wondering if there was an easier way now to do this in the REST API's. The user will input a street name and 2 cross street names. I need to get the geometry of the first street that falls within the 2 cross streets. The original code is quite complex in that it uses ArcObject IPath.QueryPointAndDistance() and IPath.GetSubCurve() and a few other things. Can't quite decipher why they do this but it was also written like 6-10 years ago so maybe its antiquated code since replaced by newer stuff. Personally, I would have thought they could have gotten the 2 intersections and just did a spatial intersect with the first street or something but I'm not sure what the thought process was. If I still need to do something similar woould I need to write a GP service to do this? I know its a shot in the dark but if anyone has any ideas please let me know. Otherwise, i'll just press on.

    thanks, Gary

  2. #2
    Morten Nielsen

    Join Date
    Oct 2009
    Posts
    1,166
    Points
    44
    Answers Provided
    7


    0

    Default Re: migrating arcobject code

    Yes a GP Service would be a good fit for this
    /Morten Nielsen
    ArcGIS Runtime SDK for .NET
    silverlight team blog - twitter - personal blog

  3. #3
    Gary Bushek
    Join Date
    Apr 2010
    Posts
    86
    Points
    1
    Answers Provided
    1


    0

    Default Re: migrating arcobject code

    any specific toolbox functions come to mind to accomplish this?

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts