|
POST
|
If I use a direct connection to SDE, does the extension need to exist only on the database server or on each client desktop
You only need register it on client (geodatabase aware). you don't need install where fc is stored. (execution code ao is on client). Set your clsidext in gdb. Per second question: I don't try clsext using service but you can ( ArcGIS Help 10.1 ) . Here ags is the client so install it where you have gis service.
... View more
10-04-2014
02:30 AM
|
0
|
0
|
681
|
|
POST
|
you can use also this sdk ArcGIS-Server-Admin-SDK/AdminService.cs at master · skendrot/ArcGIS-Server-Admin-SDK · GitHub
... View more
10-02-2014
06:56 AM
|
0
|
1
|
1960
|
|
POST
|
A type with static variables with initializer expressions, but no static constructors, can exhibit subtle differences in the timing of the type initializer execution set it in ctor static so you sure the initialization. however it hasn't sense if you don't need instance new MeasureAngleTool
... View more
10-02-2014
05:54 AM
|
1
|
1
|
2816
|
|
POST
|
The reason why it was a static var is because the tool always used the same color to show a line
do you need create new instances of tool? Have you same error if you inizialize your field in a ctor static ?
class TestColor
{
public static IRgbColor lineColor = null;
static TestColor()
{
lineColor = new RgbColorClass() { Red = 255, Green = 217, Blue = 128, UseWindowsDithering = true };
}
public TestColor(){}
}
... View more
10-02-2014
03:36 AM
|
0
|
3
|
2816
|
|
POST
|
have you set project x86? have you target framowork 3.5 or 4.0 (see ArcObjects Help for .NET developers for 4.0) ?
... View more
10-01-2014
08:02 AM
|
0
|
5
|
2816
|
|
POST
|
you can use arcrest (package python) here you can see sample change capabilities: ArcREST/_update_feature_service_prop.py at master · Esri/ArcREST · GitHub ArcRest: Esri/ArcREST · GitHub
... View more
09-30-2014
07:36 AM
|
1
|
0
|
1246
|
|
POST
|
Yes, it 's similar INetTopologyEditGen but with IForwardStarGEN you have also the weight!
... View more
09-25-2014
05:37 AM
|
0
|
0
|
1763
|
|
POST
|
Inizialized Flow Direction if you need downstream or upstream you can use similiar code for find edge in downstream or upstream with your business logic.
INetTopologyEditGEN netTopology = networkElements as INetTopologyEditGEN;
int edgeCount = netTopology.GetAdjacentEdgeCount(yourEIDJunction);
bool reverseOrientation;
int adjacentEdge;
for (int i = 0; i < edgeCount; i++)
{
netTopology.GetAdjacentEdge(yourEIDJunction, i, out adjacentEdge, out reverseOrientation);
netTopology.GetFromToJunctionEIDs(adjacentEdge, out fromEIDJunction, out toEIDJunction);
reverseOrientation = true // into Junction -> upstream reverseOrientation = false // exit Junction -> downstream
... View more
09-24-2014
07:11 AM
|
2
|
2
|
4579
|
|
POST
|
Yes sdk arcobjects is available in 10.2.2 and you can download in https://my.esri.com/welcome
... View more
09-19-2014
05:27 AM
|
0
|
3
|
1894
|
|
POST
|
JunctionFlag implements INetFlag ( ArcObjects 10 .NET SDK Help ). Here you can get UserClassID, UserID and UserSubId Then with these three info you get EID ( ArcObjects 10 .NET SDK Help ) with GetEID ( in this sample fromEIDJunction ) Then you can use code: IEnumNetEIDBuilderGEN eids = new EnumNetEIDArrayClass(); eids.ElementType = esriElementType.esriETEdge; eids.Add(nearestEdgeID); while (true) { int fromEIDJunction, toEIDJunction; INetTopologyEditGEN netTopology = networkElements as INetTopologyEditGEN; netTopology.GetFromToJunctionEIDs(nearestEdgeID, out fromEIDJunction, out toEIDJunction); int edgeCount = netTopology.GetAdjacentEdgeCount(fromEIDJunction); if (edgeCount == 1) { break; } bool reverseOrientation; int adjacentEdge; int livello = -1; int eidCurrent = -1; for (int i = 0; i < edgeCount; i++) { netTopology.GetAdjacentEdge(fromEIDJunction, i, out adjacentEdge, out reverseOrientation); if (reverseOrientation == true) // Junction incoming { int userClassID, userID, userSubID; networkElements.QueryIDs(adjacentEdge, esriElementType.esriETEdge, out userClassID, out userID, out userSubID); IFeature f = this.GetFeatureClassFromID(userClassID).GetFeature(userID); bla bla bla
... View more
09-02-2014
09:30 AM
|
0
|
0
|
1086
|
|
POST
|
From 10.1 if you need fine grained arcobjects you can use soe. The soe 'see' layers in the service but in soe you can write your logic business. What should you do in detail?
... View more
09-01-2014
02:17 AM
|
0
|
0
|
858
|
|
POST
|
see pag 5 http://downloads2.esri.com/support/TechArticles/ArcGIS10and101Deprecation_Plan.pdf ArcGIS Server 10.1 will no longer support local connections (DCOM connections). ArcGIS Server 10.1 will be a web services (REST, SOAP, and OGC) server only . If you need use arcobjects you can create a soe.
... View more
09-01-2014
01:49 AM
|
0
|
2
|
858
|
|
POST
|
or more simply, use QueryPoinAndDistance (see ArcObjects 10 .NET SDK Help )
... View more
08-30-2014
06:44 AM
|
0
|
0
|
984
|
|
POST
|
In GN if you have set flow with sink you can perform a task downstream trace and find a valid solution. Then with IEnumNetEID you build a polylineM (MAware) and with IMSegmentation3 Interface you calibrate M value and find the point to distance ...
... View more
08-29-2014
10:31 AM
|
0
|
1
|
984
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-20-2024 11:20 AM | |
| 1 | 05-25-2017 10:11 AM | |
| 1 | 06-20-2023 12:09 AM | |
| 1 | 10-14-2022 05:14 AM | |
| 1 | 06-14-2023 02:00 AM |
| Online Status |
Offline
|
| Date Last Visited |
05-18-2026
04:12 AM
|