+ Reply to Thread
Results 1 to 13 of 13

Thread: Geometric Network Trace Web Routine

  1. #1
    Michael Miller

    Join Date
    Mar 2010
    Posts
    536
    Points
    124
    Answers Provided
    27


    0

    Default Geometric Network Trace Web Routine

    **************Current Release**********************
    * Version6-3-2011
    ***********************************************

    6-3-2011

    This is the first release of the geometric network trace web service. This web service calls the same trace routines used by the Infrastructure Editing Tools. At the moment, I am having issues with the trace completing. It works flawless from ArcGIS desktop, but never completes when called through ArcGIS Server, even on the same map. I am trying to track this down still, but I found it fails tracing from each valve to the source. I think the Find Connected/Path is not functioning correctly in ArcGIS Server. I wanted to post this in and see if any one else would have better luck.

  2. #2
    Domenico Ciavarella

    Join Date
    Mar 2010
    Posts
    2,544
    Points
    395
    Answers Provided
    60


    0

    Default Re: Geometric Network Trace Web Routine

    Hi, Mike
    for ArcGIS Server would it be better expose the trace as soe rest? In 10.1 you haven't the server context.
    Studio A&T srl

    Domenico Ciavarella

    ESRI Certified
    Enterprise Geodatabase Management Associate 10.1
    Web Application Developer Associate 10.1

    My ArcGIS.com

    Blog: NicoGis

  3. #3
    Michael Miller

    Join Date
    Mar 2010
    Posts
    536
    Points
    124
    Answers Provided
    27


    0

    Default Re: Geometric Network Trace Web Routine

    Yes, a SOE is a much better option. We are looking at a SOE or utilizing GP at 10.1.
    Michael Miller
    Solutions Manager
    mmiller@esri.com

  4. #4
    Domenico Ciavarella

    Join Date
    Mar 2010
    Posts
    2,544
    Points
    395
    Answers Provided
    60


    0

    Default Re: Geometric Network Trace Web Routine

    Hi Mike,
    I am refactoring your code (soe) and therefore I need a sample data (to run operations: trace and valve isolation) so that it can be tested. When I finish, I will post it in esri gallery.
    Thank you
    Studio A&T srl

    Domenico Ciavarella

    ESRI Certified
    Enterprise Geodatabase Management Associate 10.1
    Web Application Developer Associate 10.1

    My ArcGIS.com

    Blog: NicoGis

  5. #5
    Domenico Ciavarella

    Join Date
    Mar 2010
    Posts
    2,544
    Points
    395
    Answers Provided
    60


    1

    Default Re: Geometric Network Trace Web Routine

    Studio A&T srl

    Domenico Ciavarella

    ESRI Certified
    Enterprise Geodatabase Management Associate 10.1
    Web Application Developer Associate 10.1

    My ArcGIS.com

    Blog: NicoGis

  6. #6
    Aimei Chen
    Join Date
    Apr 2010
    Posts
    52
    Points
    0
    Answers Provided
    0


    0

    Default Re: Geometric Network Trace Web Routine

    Quote Originally Posted by ciava.at View Post
    Hi, there

    I followed the steps in the readme file and had the service up with trace and isolation operations allowed, but i can't see the trace tools anywhere. Would you please help?

    Thanks,

    Amy

  7. #7
    Domenico Ciavarella

    Join Date
    Mar 2010
    Posts
    2,544
    Points
    395
    Answers Provided
    60


    0

    Default Re: Geometric Network Trace Web Routine

    don't you see operation 'IsolateValve' in rest services?
    Studio A&T srl

    Domenico Ciavarella

    ESRI Certified
    Enterprise Geodatabase Management Associate 10.1
    Web Application Developer Associate 10.1

    My ArcGIS.com

    Blog: NicoGis

  8. #8
    Aimei Chen
    Join Date
    Apr 2010
    Posts
    52
    Points
    0
    Answers Provided
    0


    0

    Default Re: Geometric Network Trace Web Routine

    Quote Originally Posted by ciava.at View Post
    don't you see operation 'IsolateValve' in rest services?
    Thanks for your time.
    I saw the operations "IsolateValve" and "Tracenetwork" in rest services, but when i tried to open it with JS, none of the trace tools displayed.

  9. #9
    Domenico Ciavarella

    Join Date
    Mar 2010
    Posts
    2,544
    Points
    395
    Answers Provided
    60


    1

    Default Re: Geometric Network Trace Web Routine

    in config.js have you set:
    set config.host, config.instance and config.operationalLayers = {GNLayer:'yourService'};

    Have you errors in javascript?
    Have you set a proxy page?
    in firebug what do you see?
    Last edited by ciava.at; 06-14-2012 at 11:17 AM.
    Studio A&T srl

    Domenico Ciavarella

    ESRI Certified
    Enterprise Geodatabase Management Associate 10.1
    Web Application Developer Associate 10.1

    My ArcGIS.com

    Blog: NicoGis

  10. #10
    Tomas Riesco
    Join Date
    May 2010
    Posts
    18
    Points
    0
    Answers Provided
    1


    0

    Default Re: Geometric Network Trace Web Routine

    This is great!! I'll try it and give my input. Thanks!!

  11. #11
    praveen deshpande
    Join Date
    May 2012
    Posts
    2
    Points
    0
    Answers Provided
    0


    0

    Default Re: Geometric Network Trace Web Routine

    i register the DLL and i am able to publish the service with Geometric network.

    When i click on solve in the application i am getting below error.

    error:solve 400
    unable to complete operation. Please request for your help.

    can you please send me an email reply : praveenkdeshpande@gmail.com

  12. #12
    praveen deshpande
    Join Date
    May 2012
    Posts
    2
    Points
    0
    Answers Provided
    0


    0

    Red face Re: Geometric Network Trace Web Routine

    Hey,

    It was problem with my service.. now it's working...

    is there any reference material on how to use this in silverlight application.

  13. #13
    Domenico Ciavarella

    Join Date
    Mar 2010
    Posts
    2,544
    Points
    395
    Answers Provided
    60


    0

    Default Re: Geometric Network Trace Web Routine

    I have created a SOE rest, therefore rest compliant ESRI. As ESRI creates its classes for its web clients in order to interact with API ESRI rest services you need the same in SILVERLIGHT: in the sample links you can see a call to SOE in Silverlight (SOE elevation). If compared, you should do the same with the one I have created.
    http://help.arcgis.com/en/webapi/sil...ples/start.htm (see SOEs which is the one before the last section).
    Studio A&T srl

    Domenico Ciavarella

    ESRI Certified
    Enterprise Geodatabase Management Associate 10.1
    Web Application Developer Associate 10.1

    My ArcGIS.com

    Blog: NicoGis

+ Reply to Thread

Tags for this 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