POST
|
Hi Eric, Our Software based on ArcGIS has one Setup to run on machines installed with ArcGIS Desktop or ArcGIS Engine. So our customers have machines just installed with ArcGIS Engine. So this test machine has also just installed ArcGIS Engine. We need the Installation withour ArcGIS Desktop to test if all DLL's are delivered and registered through our Setup. So this approach wouldn't be sufficent for our test environment. Christoph
... View more
01-15-2018
01:26 AM
|
1
|
0
|
11
|
POST
|
Hi Eric Bader, do you see a solution for my question? Regards Christoph
... View more
01-05-2018
01:33 AM
|
0
|
0
|
11
|
POST
|
Hi Eric Bader, within the Subcription i have an ArcGIS Engine Developer Kit ESU Number which endures for one year. This seems to be a single use licence. i registered this subcription this summer on 3 machines of me with Arcgis Engine 10.2.1, my developer machine and two test machines. In September we started to migrate our Software from ArcGIS Engine 10.2.1 to 10.5.1. So i installed three new machines, one developer machine and two test machines. I registered the first two succesfull with the ESU Number, the third machine didn't work anymore. I got an error „Autorisierung der Software fehlgeschlagen“ (Authorization failed). Even if i deregistered one of the 10.2.1 machines i couldnt register my last 10.5.1 test machine. We cannot deliver our new release so far, because we couldnt execute all our Tests. Regards Christoph Römer
... View more
12-15-2017
12:30 AM
|
0
|
2
|
11
|
POST
|
i have the same issue. Only when the Process runs in an background job, even if IMap is initialized. The IMap Object is not null, but the access to IMap.Mapscale aborts.
... View more
12-14-2017
02:54 AM
|
0
|
1
|
35
|
POST
|
I have problems to authorize my Testmachine. During Migration from 10.2.1 to 10.5.1 i installed my Developer machine and two Test machines with 10.5.1. On the 2nd Testmachine i wasn't able to authorize the machine anymore. Esri Support said that the Engine Developer Licence is a Single Use Licence. So may questions to ArcGIS Engine Developers. How do you authorize your Testmachine? I don't understand how to buy an Developer Subscription without being able to authorize test machines?
... View more
12-05-2017
01:45 AM
|
0
|
7
|
779
|
POST
|
The Snippet plugin didnt got my simplify corrections correct after i copied the function from vs. so again: Snippet public static void ZoomToSelection( string layername, bool layeraktualisieren, string ff) { try { IEnumGeometry enumGeometry = new EnumFeatureGeometryClass (); IEnumGeometryBind enumGeometryBind = enumGeometry as IEnumGeometryBind ; ArrayList envelopList = new ArrayList (); IEnvelope2 maxEnvelope = new EnvelopeClass (); ILayer layer = cGlobalUtilGISLayer .GetLayer(layername); if (layer == null ) { //Debuglog... return ; } IFeatureSelection featureSelection = layer as IFeatureSelection ; if (featureSelection != null && featureSelection.SelectionSet != null ) { //Debuglog... return ; } //The following function doesnt respond sometimes! enumGeometryBind.BindGeometrySource( null , featureSelection.SelectionSet); IGeometryFactory3 geometryFactory = new GeometryEnvironmentClass (); maxEnvelope.Union(geometryFactory.CreateGeometryFromEnumerator(enumGeometry).Envelope); cGlobalGISVar .MyActiveView.Extent = maxEnvelope; if (layeraktualisieren) { cGlobalGISVar .MyActiveView.Refresh(); } } catch ( Exception ex) { //Debuglog... } }
... View more
03-22-2017
05:41 AM
|
0
|
0
|
5
|
POST
|
We developed a function to step over an polygon layer, for each polygon, select every house (point layer) which lies inside the polygon. Now we zoom in den Map on these Buildings, to export the map. This jobs sometimes runs into an Esri Function enumGeometryBind.BindGeometrySource without response. But always at different polygons/areas. Sometimes all 6.000 areas are exported, sometimes the "no response" is at the 150th area, sometimes at area 3.500 ... . We put logs into our code to check the input feature and the selectionset and IEnumGeometryBind, but there is nothing we found as irregular. When u run the same areas again the programm will zoom to the area, where it doesnt work out before and maybe won't repsond at a another area. We develop with C# under VS 2015 and ArcGIS Desktop 10.2.1. All Layers are DBQuerylayers in ArcGIS from SQLServer2012. Migth be something with COM? Here the Code: Snippet public static void ZoomToSelection( string layername, bool layeraktualisieren) { try { IEnumGeometry enumGeometry = new EnumFeatureGeometryClass (); IEnumGeometryBind enumGeometryBind = enumGeometry as IEnumGeometryBind ; ArrayList envelopList = new ArrayList (); IEnvelope2 maxEnvelope = new EnvelopeClass (); ILayer layer = cGlobalUtilGISLayer .GetLayer(layername); if (layer == null ) { //Debuglog... return ; } IFeatureSelection featureSelection = layer as IFeatureSelection ; if (featureSelection != null && featureSelection.SelectionSet != null ) { //Debuglog... return ; } //The following function doesnt respond sometimes! enumGeometryBind.BindGeometrySource( null , featureSelection.SelectionSet); IGeometryFactory3 geometryFactory = new GeometryEnvironmentClass (); maxEnvelope.Union(geometryFactory.CreateGeometryFromEnumerator(enumGeometry).Envelope); cGlobalGISVar .MyActiveView.Extent = maxEnvelope; if (layeraktualisieren) { cGlobalGISVar .MyActiveView.Refresh(); } } catch ( Exception ex) { //Debuglog... } }
... View more
03-22-2017
05:34 AM
|
0
|
1
|
658
|
POST
|
Thank you for your reply. As I wrote in my text over the code example, i tried with "Right side of vehicle" and with 1, also with "1", but there was no impact on the solved result. it was always solved with standard "Either side of vehicle".
... View more
10-15-2015
09:19 AM
|
0
|
0
|
8
|
POST
|
Hi, i have problem setting the curbapproach for some points while loading them with loadlocations in C#. The code runs unter ArcGIS Desktop und Engine 10.2.1. We want to calculate routes with curbapproach right for main roads and right/left for side roads. In my sample i just wanted to test all my points mit curbaprroach right, i couldn't find sample code except for old c++ code i couldnt get through. i tried the set_DefaultValue("CurbApproach", "?") with 1 and "Right side of vehicle". The result is always that the my assigned curbapproach ist not inherited. public int LoadNALocations( ICursor inputPointFeatureCursor, INAContext naContext, string naClassName, string KeyfeldLayer ) { if (inputPointFeatureCursor == null ) { return 0; } INAClassLoader2 naClassLoader = new NAClassLoaderClass () as INAClassLoader2 ; var listOfAgents = new List <ESRI.ArcGIS.NetworkAnalyst. INALocatorAgent >(); naClassLoader.Initialize(naContext, naClassName, inputPointFeatureCursor); int rowsIn = 0; int rowsOut = 0; naClassLoader.FieldMap.set_MappedField( "Name" , "Stuetzpunkte.ID" ); naClassLoader.FieldMap.set_DefaultValue( "CurbApproach" , "Right side of vehicle " ); int agentCount = naContext.Locator.LocatorAgentCount; for ( int locIndex = 0; locIndex < agentCount; locIndex++) { listOfAgents.Add(naContext.Locator.get_LocatorAgent(locIndex)); } // Remove the existing locator agents from the locator . This for loop is done in reverse order, because agents are being removed as the loop executes for ( int locIndex = agentCount - 1; locIndex >= 0; locIndex--) { naContext.Locator.RemoveLocatorAgent(locIndex); } INALocatorLocationFieldsAgent naLocFAgent = new NALocatorLocationFieldsAgentClass (); naLocFAgent.OIDFieldName = "Stuetzpunkte.SOURCEOID" ; naLocFAgent.SourceIDFieldName = "Stuetzpunkte.SOURCEID" ; naLocFAgent.PositionFieldName = "Stuetzpunkte.POSALONG" ; naLocFAgent.SideFieldName = "Stuetzpunkte.SIDEOFEDGE" ; (( INALocatorAgent )naLocFAgent).Bind(naContext.NetworkDataset, null ); naContext.Locator.AddLocatorAgent(naLocFAgent as INALocatorAgent ); try { naClassLoader.Load(inputPointFeatureCursor, null , ref rowsIn, ref rowsOut); } catch ( Exception ex) { Prot.Meldung( "Beim Laden der Stützpunkte ist ein Fehler aufgetreten:\n" + ex.ToString(), true ); return 0; } (( INAContextEdit )naContext).ContextChanged(); if (naContext.Locator.LocatorAgentCount == 1) { // Now remove the custom fields agent and add back the stored agents naContext.Locator.RemoveLocatorAgent(0); foreach ( var agent in listOfAgents) { naContext.Locator.AddLocatorAgent(agent); } } return rowsOut; }
... View more
10-15-2015
06:52 AM
|
0
|
2
|
2600
|
POST
|
Hi, I didn't solve the problem itself, but i got a workaround: I realized that the function only ran into nirvana, when the IPageLayoutControl2 was ActiveView before. If the IMapControl3 was ActiveView the function worked. So when loading the mxd as template i switched the ActiveView to mapcontrol when it was pagelayoutcontrol before loading and back afterwards. Regards Christoph
... View more
06-24-2015
07:57 AM
|
0
|
0
|
4
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|