|
POST
|
I have the code to create a shapefile programmatically, something like this 28310 - Create a new empty shapefile programmatically more over I am able to put the data from a layer in it. It works perfectly. Some client hands to me several layers that have data in Russian. When I export from my application to a shp file I got the same behavior described here esri - Character encoding support in geodatabases and shapefiles - Geographic Information Systems Stack Exchange . the fields with Cyrillic alphabet appears like ???????? . I found this article: 21106 - Read and write shapefile and dBASE files encoded in various code pages but it does not apply to ArcEngine (arcObjects) . Is there a way to change the codification when I'm creating the shp file using the workspace provided by the shapefileworkspacefactory?
... View more
10-22-2015
01:52 PM
|
0
|
1
|
2745
|
|
POST
|
Hello fellows, About a year ago I was involved in a project that want to develop an application with an fast, dynamic an fresh geographic view of the information. In that time we choose ArcGIS Runtime SDK for WPF, but with the promise of a more powerful tool always have in mid the migration to the brand new API for .NET. We have been working with the SDK (10.2.3) and we were thinking to migrate to ArcGIS Runtime SDK for .NET, But last week the release of the version 10.2.5 of the SDK for WPF hit us. To be honest we thought that 10.2.3 is going to be the last version of the SDK for WPF, and the next step will be the SDK for .NET. So far, in a big picture, we do not see differences among both SDK's (we develop in WPF technology).... but should we migrate? should we stay in the SDK for WPF? Please give me your opinions
... View more
02-11-2015
07:11 AM
|
0
|
1
|
4991
|
|
POST
|
OK, I just figured that in the line 26, I was setting the workspace name in the wrong way, the correct way is: datasetName.WorkspaceName = (ws as IDataset).FullName as IWorkspaceName; but now, there is the following exception: "Value does not fall within the expected range."........but Which value? what does it mean?
... View more
11-24-2014
07:48 PM
|
0
|
1
|
710
|
|
POST
|
I am using ArcObjects 10.2, I'm trying to join two tables that I have in a filegeodatabase. This is my code: // Arrange
var path = @"c:\MY_FGDB.gdb";
var gdbConnector = new GeoDBConnector();
IWorkspaceFactory workspaceFactory = new FileGDBWorkspaceFactoryClass();
var ws = workspaceFactory.OpenFromFile(path, 0);
// Act
var tableOfRoutes = gdbConnector.OpenTable(ws as IWorkspace2, "Table1");
var tableWithFeatures = gdbConnector.OpenTable(ws as IWorkspace2, "Table2");
// Create the query definition.
IQueryDef queryDef = (ws as IFeatureWorkspace).CreateQueryDef();
queryDef.Tables = "Table1, Table2";
queryDef.SubFields = "*";
queryDef.WhereClause = "Table1.EventID = Table2.Inspection";
// Make the new TableQueryName.
IQueryName2 queryName2 = (IQueryName2)new TableQueryNameClass();
queryName2.QueryDef = queryDef;
queryName2.PrimaryKey = "Table1.EventID";
queryName2.CopyLocally = true;
// Set the workspace and name of the new QueryTable.
IDatasetName datasetName = (IDatasetName)queryName2;
datasetName.WorkspaceName = ws as IWorkspaceName;
datasetName.Name = "inspectionData";
// Open and return the table.
IName name = (IName)queryName2;
ITable InspectionTable = (ITable)name.Open();
At line 31, I get the following exception: The data necessary to complete this operation is not yet available. (Exception from HRESULT: 0x8000000A) What I am missing?
... View more
11-24-2014
07:33 PM
|
0
|
2
|
2480
|
|
POST
|
First, I check that Microsoft.VisualStudio.Shell.9.0 was in the GAC, It was not there... then I proceed as Juho Vainio in Geonet suggest : Visual Studio Command Prompt --> Run as Administrator --> gacutil /i Microsoft.VisualStudio.Shell.9.0.dll, but it failed because I was not giving the full pat of the dll, so I search for it in the Visual Studio 2008 SDK, and Voila!!! it appear in the GAC but the project still does not compile, so, I chec in the real GAC: C:\Windows\Microsoft.NET\assembly and found that the file does not exist neither in the GAC_32, nor GAC_64 folder, moreover, it exists in the folder GAC_MSIL, so....i took the folder C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.VisualStudio.Shell.9.0 and copied it to the folders GAC_32 and GAC_64. Now the project compiles.
... View more
09-23-2014
08:00 PM
|
0
|
0
|
1038
|
|
POST
|
First, I check that Microsoft.VisualStudio.Shell.9.0 was in the GAC, It was not there... tVisual Studio Command Prompt --> Run as Administrator --> gacutil /i Microsoft.VisualStudio.Shell.9.0.dll, but it failed because I was not giving the full path of the dll, so I search for it in the Visual Studio 2008 SDK, and Voila!!! it appear in the GAC but the project still does not compile, so, I chec in the real GAC: C:\Windows\Microsoft.NET\assembly and found that the file does not exist neither in the GAC_32, nor GAC_64 folder, moreover, it exists in the folder GAC_MSIL, so....i took the folder C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.VisualStudio.Shell.9.0 and copied it to the folders GAC_32 and GAC_64. Now the project compiles.
... View more
09-23-2014
07:36 PM
|
0
|
0
|
548
|
|
POST
|
Digging in the error, I arrive to the C:\Program Files (x86)\MSBuild\Esri\ESRI.ArcGIS.AddIns.targets, it calls some tasks from ESRI.ArcGIS.AddIns.SDK.dll, but I don't get which is the difference, between VS2010 and VS2013....does they use different MSBuild versions?
... View more
09-22-2014
07:34 PM
|
0
|
0
|
548
|
|
POST
|
Well, I tried everything described here: install the SDK of VS2010, run my VS as admin, Create the build for x86.....but nothing ever happen...I got the same error I'm trying to compile an Add-in in VS 2013
... View more
09-22-2014
06:54 PM
|
0
|
0
|
548
|
|
POST
|
I have several projects made in Visual Studio 2010, those projects are ArcGIS Desktop Add-in's. I have been change of computer, and my new one only have Visual Studio 2013 due to some company politics I'm not allowed to install VS2010. I tried to open this projects in VS2013, and they open with no problem, but when i try to compile it, it get me the following issue: ESRI.ArcGIS.AddIns.SDK, Version=10.2.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86. Could not load file or assembly 'Microsoft.VisualStudio.Shell.9.0, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. my research so far has get me to install the VS SDK, but I'm not quite sure about which one(2008...2013) Any one has any possible solution for this?
... View more
09-20-2014
07:33 AM
|
0
|
1
|
4392
|
|
POST
|
Hi!! Have you success in this effort? I'm looking for something simmilar due my master. Have you implemented APDM? I have several questions
... View more
08-11-2014
05:39 PM
|
0
|
0
|
602
|
|
POST
|
I decided to implement the APDM (http://apdm.net/), a model for pipelines. I have been reading the documentation of the version 6.0, and one of the main characteristics is the module segmentation this version provides. Encouraged by the fact of make a clean brand new implementation, I decide to dig in the visio models. I was going to star defining the objects in the Core module, but then I realize that it requires the domains due the type of data involved. I search for a detailed walkthrough about this implementation process, but so far I have not find it. So I decided to start just guided by my guts. in the process to define the domains I found that ArcCatalog allows me to create domains, but this domains are build by keyValue pairs (value-description); in other hand the definition of this domains in the APDM states that some of them has more fields than just a value and a description, so...here start the real adventure. How do I implement this domains? First I try to force the Create domain tool to do it, but it did not allow me, so then I try the TableToDomain tool. this tool allows me to create the domain, but it does not "extend" the domain concept, it just extract the values for the Value Field and Description Field. I get a little confused how to implement that components of the model. Any suggestion is welcome.
... View more
08-11-2014
09:24 AM
|
1
|
1
|
4035
|
|
POST
|
I am already forcing the garbage collector (twice) when I am cleaning up....although I did not clean the renderers...but the map does not show any issue when creating renderer, because the map shows all graphics....either way I'm going to do it..it will free more memory.
... View more
06-25-2014
06:33 AM
|
0
|
0
|
1733
|
|
POST
|
Thanks Mike!! Either way I will try to discuss the point that you address with the analyst.
... View more
06-25-2014
05:05 AM
|
0
|
0
|
1733
|
|
POST
|
Yes I do.....Why?? The client wants it... 😞 I tried to suggest the use of ClassBreaksRenderer but the requirement states that each object is different so each one must have its own representation in the legend control.
... View more
06-25-2014
04:48 AM
|
0
|
0
|
1733
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 12-01-2023 02:45 AM | |
| 1 | 07-19-2021 11:25 PM | |
| 1 | 07-21-2023 04:44 AM | |
| 1 | 07-07-2023 05:15 AM | |
| 1 | 01-19-2023 03:19 AM |
| Online Status |
Offline
|
| Date Last Visited |
08-02-2024
12:42 AM
|