+ Reply to Thread
Results 1 to 20 of 20

Thread: Geometric Network Trace Web Routine

  1. #1
    Michael Miller

    Join Date
    Mar 2010
    Posts
    631
    Points
    153
    Answers Provided
    31


    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,678
    Points
    458
    Answers Provided
    71


    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
    631
    Points
    153
    Answers Provided
    31


    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,678
    Points
    458
    Answers Provided
    71


    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,678
    Points
    458
    Answers Provided
    71


    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
    62
    Points
    4
    Answers Provided
    1


    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,678
    Points
    458
    Answers Provided
    71


    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
    62
    Points
    4
    Answers Provided
    1


    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,678
    Points
    458
    Answers Provided
    71


    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 GISP
    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
    3
    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
    3
    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,678
    Points
    458
    Answers Provided
    71


    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

  14. #14
    Timothy Hayes
    Join Date
    Apr 2010
    Posts
    410
    Points
    10
    Answers Provided
    18


    0

    Question Re: Geometric Network Trace Web Routine

    Quote Originally Posted by MikeMillerGIS View Post
    **************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.
    Does this work within a Map Service using Flex and ArcGIS Server 10.1?

  15. #15
    Michael Miller

    Join Date
    Mar 2010
    Posts
    631
    Points
    153
    Answers Provided
    31


    0

    Default Re: Geometric Network Trace Web Routine

    This is a custom SOE, which means you would have to build a custom client to call it and handle the results.
    Michael Miller
    Solutions Manager
    mmiller@esri.com

  16. #16
    glenn hazelton
    Join Date
    Jul 2010
    Posts
    32
    Points
    0
    Answers Provided
    0


    0

    Default Re: Geometric Network Trace Web Routine

    what is the status of this trace tool in arcserver 10.2?
    i am anxious to use it.
    does it work best in the JS api or will it work with the Flex viewer.
    i am not a programmer so some step by step would be useful.
    this is an important tool.

  17. #17
    Domenico Ciavarella

    Join Date
    Mar 2010
    Posts
    2,678
    Points
    458
    Answers Provided
    71


    0

    Default Re: Geometric Network Trace Web Routine

    If you aren't developer from version 10.1 you can use gp for trace geometric network (http://resources.arcgis.com/en/help/...015r000000.htm) so you can create your model and expose it with service
    You can consume it with web client Esri: the service is exposed via rest. IMHO I prefer js because it doesn't need plug-in browser and you can use also on browser smarthphone without create an app but however every choice has pros & cons.
    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

  18. #18
    Satish Sadanandam
    Join Date
    Nov 2012
    Posts
    4
    Points
    1
    Answers Provided
    0


    0

    Default Re: Geometric Network Trace Web Routine

    Quote Originally Posted by praveenkdeshpande View Post
    Hey,

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

    is there any reference material on how to use this in silverlight application.
    I have a silverlight viewer running on 10.2.1 server and I would like to use gp - geometric network tool.

    Can someone help me how to get this done?

    Thanks,
    Satish

  19. #19
    Raymond Goins
    Join Date
    Feb 2011
    Posts
    31
    Points
    0
    Answers Provided
    0


    0

    Default Re: Geometric Network Trace Web Routine

    I have implemented it on a 10.2 server and seems fine. I was wondering if this was still in development? It gives different results compared to the 10.2 editing toolbar's valve isolation. When the isolation is run within arcmap the highlights mains stop at the valves even if the main segment continues past the valve. Also is there a way to return the objects, including valves, highlighted so that a list can be printed?

    Thanks

    Ray

  20. #20
    Karen Garcia
    Join Date
    Apr 2014
    Posts
    2
    Points
    0
    Answers Provided
    0


    0

    Default Re: Geometric Network Trace Web Routine

    Hi,

    I also noticed the same problem with craygo. When I do trace upstream/downstream, it will only give back the controlvalves but not the watermain and lateral line. Am I missing something?

    Did managed to highlight the selected watermain and lateral line but it's a tedious task.

    Thanks!

    Karen G.

+ 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