Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nicogis/geometric-network-utility-soe

Geometric Network Utility SOE
https://github.com/nicogis/geometric-network-utility-soe

arcgis-server edges geometric-network junction soe soe-rest

Last synced: 9 days ago
JSON representation

Geometric Network Utility SOE

Awesome Lists containing this project

README

        

# Geometric Network Utility SOE Rest

This solution (developed in c#) creates a SOE Rest in arcgis server 10.7.1 or superior for these operations:

- TraceNetwork
- ValveIsolation
- TraceNetworkPosAlong

Installation:

a) upload file Studioat.ArcGis.Soe.Rest.GeometricNetworkUtility.soe (see [help](https://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/0001/000100000nvz000000.htm))

b) create a service map and enable in capabilities the extension. In your mxd you must have at least a geometric Network

c) from service directory you can see all your Geometric Network

https://hostname/arcgis/rest/services/yourservice/MapServer/exts/GeometricNetworkUtility

d) TraceNetwork, IsolateValve and TraceNetworkPosAlong operation for Geometry Network
(example with id=1. To know id use request c)


https://hostname/arcgis/rest/services/myservice/MapServer/exts/GeometricNetworkUtility/GeometricNetworks/1/TraceNetwork
https://hostname/arcgis/rest/services/myservice/MapServer/exts/GeometricNetworkUtility/GeometricNetworks/1/IsolateValve



To see weights:

https://hostname/arcgis/rest/services/myservice/MapServer/exts/GeometricNetworkUtility/GeometricNetworks/1

###### Help

[Live](https://sit.sistemigis.it/sit/rest/services/Demo/GeometricNetwork/MapServer/exts/GeometricNetworkUtility/Help)

###### Video

[Live](https://www.youtube.com/watch?v=b3D0G68waL8)

###### Geometric Network

[Live demo](https://sit.sistemigis.it/Samples/GeometricNetwork)

###### Valve isolation

[Live demo](https://sit.sistemigis.it/Samples/valveisolation/)

###### FindLongest

[Live demo](https://sit.sistemigis.it/Samples/GeometricNetworkStream)

###### Pos Along

The geometric network must be simple edge with flow direction in same digitized direction of edges

[Live demo](https://sit.sistemigis.it/Samples/GeometricNetworkStreamPosAlong)

###### Samples

All samples are in folder data. You have projects and data for publish service and in client you have web apps js consume services):
1) you create services with enabled capabilites Geometric Network.
2) open config.js and set config.host, config.instance and config.operationalLayers = {GNLayer:'yourService'};

In ArcCatalog in capabilities (operations allowed) you can allow these operations (TraceNetwork, IsolateValve, PosAlong).

The solutions are checked 100% with stylecop and fxcop.

# FAQ
#### Question:
I have this error when you publish the service: 'ClassFactory cannot supply requested class'
#### Answer:
The problem is that you didn't check the ".NET extension support" when you have installed ArcGIS Server

#### Question:
Can I use this soe in ArcGIS Server installed on Linux
#### Answer:
No, you need porting this code in java if you need install on Linux