POST
|
Hi Matthias, i have tried this, but it seems that it doesnt work wmtsLayer is a valid wmtsLayer. It shows me the TileMatrix and the name. Dim wmtsCon As IWMTSConnection = New WMTSConnectionClass wmtsLayer.WMTSConnection(wmtsCon) wmtsService As IWMTSServiceDescription = CType(wmtsCon, IWMTSServiceDescription) wmtsService gives me no information. All is empty Armin
... View more
09-01-2014
02:10 AM
|
0
|
1
|
1654
|
POST
|
I have an WMTSLayer in ArcObjects. I want to get informations from this object. I found IWMTSLayerDescription and IWMTSServiceDescription as interfaces to get the informations i need. But i do not found any possibilty how to use these Interfaces. Is there any out there who has a solution? Greetings Armin
... View more
08-28-2014
12:46 AM
|
0
|
7
|
5627
|
POST
|
Hi Duncan, thank you for your solution. In the meantime i has also find a solution. Insead of using the ilayer object as parameter input i use the ilayer.name now. After this change it works correct and only the checked fields will be used. Armin
... View more
07-17-2014
12:05 AM
|
1
|
1
|
461
|
POST
|
Hi, i have a problem when exporting a table from a featurelayer with TableToExcel if the featurelayer has unchecked fields. It comes the error message RuntimeError: Cannot find field. The same works fine if no unchecked fields are available. Here is my code snippet: Dim objFLayer as IFeatureLayer = me.Layer Dim objGP As IGeoProcessor = New GeoProcessor Dim strOutFile As String = IO.Path.Combine(ExportFactory.GetProjectPath(ExportPathEnum.ExportPathEmbfiles), Me.ID & ".xls") Try objGP.OverwriteOutput = True objParameters = New VarArray ' Populate the variant array with parameter values. objParameters.Add(objFLayer) objParameters.Add(strOutFile) ' Execute the model tool by name. Dim objResult As IGeoProcessorResult = objGP.Execute("TableToExcel_conversion", objParameters, Nothing) Catch ex As Exception Finally System.Runtime.InteropServices.Marshal.ReleaseComObject(objGP) objGP = Nothing End Try Someone has an idea? Thank you Armin
... View more
07-16-2014
02:37 AM
|
1
|
3
|
3011
|
POST
|
Ryan, you have to check if OID is available. Do this with IRow.HasOid Armin
... View more
02-05-2013
07:27 AM
|
0
|
0
|
569
|
POST
|
We had the same problem some times ago with Dojo. It was the localisation attribute in the <html> tag Try <html> instead of <html lang="en"> Armin
... View more
12-17-2012
01:07 AM
|
0
|
0
|
629
|
POST
|
Armin, I'm curious, how did you determine it was the IDataStatistics interface that was causing you problems, you say it runs OK then crashes, what made you decide it was that and not something else? I only ask as I am having a 10.1 addin I am creating crashing with a heap corruption error at seemingly random times. It's such a catastrophic error that none of my error-trapping catches it, ArcMap simply bombs out to Windows. Duncan Hi Duncan, Try and Error 🙂 We have a software which generates interactive SVG maps from ArcMap projects. the error only occured, when using a functionality in our software which use the DataStatistics class from ArcObjects. There was no error when using IDataStatistics.UniqueValue function but the error comes during saving a xml file. I have then replaced the IDataStatistics.UniqueValue with a function who loops through the cursor and fill a simple .NET HashSet list. After this change the error is gone. Armin
... View more
11-09-2012
06:25 AM
|
0
|
0
|
688
|
POST
|
Hi Shawn, i have the same problem after installing the SP1 for ArcGIS 10.1. I use IDataStatistics.UniqueValues in my code. This works without problems but later in the code ArcMap crashs with error message: .NET Runtime - Fatal Execution Engine Error. I have removed the IDataStatistics.UniqueValues and create the unique values with .NET functions. After this the code runs without problems Armin
... View more
11-08-2012
11:32 PM
|
0
|
0
|
688
|
POST
|
I spoke too soon. While the script and console application work perfectly when I run the Python script from Idle, it hangs when I run the same code from within a script tool. The Console application window opens, but the parameters never get read when the script tool runs the code. Anyway, I know how to get the Data Frame Clip Geometry updated from the ArcObjects side, but I still need to find a way to connect it automatically to the Python code at runtime. rfairhur24 i have the same problem. Starting a console app with IAppRot freeze when running from a script tool. Just tested with ArcGIS 10.1 SP1 but even the same. Have you found a solution for this problem in the meantime? Armin
... View more
10-31-2012
07:46 AM
|
0
|
0
|
771
|
POST
|
If you are not interested in coding, then you can try Mappetizer which convert your ArcMap project into SVG
... View more
09-10-2012
04:19 AM
|
0
|
0
|
161
|
POST
|
I have an AddIn created in ArcGIS 10.0. When i register the AddIn with ESRIRegAddIn the Addin is written into the folder ...\ArcGIS\Addins\Desktop10.0. This is OK. When i now try to unregister the Addin with ESRIAddIn AddIn-ID /u it does not work. ESRIAddIn searchs the AddIn in folder Desktop10.1 not in Desktop10.0. What i am doing wrong? Armin
... View more
09-04-2012
12:03 AM
|
0
|
0
|
502
|
POST
|
I have done the changes in Config.esriaddinx and additionally compiled with the ArcObjects dll's coming with ArcGIS 10.0. This seems to work.
... View more
08-15-2012
08:17 AM
|
0
|
0
|
181
|
POST
|
Is it possible to develop an Add-In with Arcobjects 10.1 (.NET) which works also with a ArcGIS 10.0 system? Thank you for helping Armin
... View more
08-15-2012
01:21 AM
|
0
|
2
|
561
|
POST
|
Venkat thank you for your reply, but your link shows me only the description of IBasemapSubLayer Interface. I want to know what type of layer i will get when using IBasemapSubLayer.layer Armin
... View more
01-25-2011
03:31 AM
|
0
|
0
|
165
|
Title | Kudos | Posted |
---|---|---|
1 | 07-16-2014 02:37 AM | |
1 | 07-17-2014 12:05 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|