Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nicogis/geometric-network-utility-soe
- Owner: nicogis
- Created: 2016-11-24T19:25:17.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-11-12T09:56:02.000Z (about 1 month ago)
- Last Synced: 2024-11-12T10:40:16.111Z (about 1 month ago)
- Topics: arcgis-server, edges, geometric-network, junction, soe, soe-rest
- Language: C#
- Size: 46.9 KB
- Stars: 6
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
- TraceNetworkPosAlongInstallation:
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/GeometricNetworkUtilityd) 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