POST
|
I am using ArcMap and ArcCatalog 10.3 with a Map Document (.mxd) and Personal GeoDatabase (.mdb). There currently is one line feature class to indicate pipes on the map. The goal is to indicate observations on the map as route events. The first thing I do is create the new route feature class using the "Create Routes" tool in ArcMap with the existing line feature class as input. The route ID field is text called PIPE_ID. and the measure source is LENGTH. This works well. Now in ArcCatalog, I create a new table that will be the source for the route events. According to documentation I've read, the minimum for fields is a measure field that needs to be numeric and the route ID field. So the table contains OBJECTID, PIPE_ID (same data type), and MEASURE (as a double). Back in ArcMap, I use the "Make Route Event Layer" tool with the route feature class and table previously made as inputs. This creation goes well. So currently there are no points and I would like to begin editing, but when I start editing, ArcMap tells me that my new route event layer is not editable. Why is this? Warning: Event layer not editable—Help | ArcGIS for Desktop There is an ObjectID field in the new table I created. What else do I need to do? Thanks in Advance, Mark Oberg
... View more
03-05-2015
11:29 AM
|
0
|
0
|
3505
|
POST
|
ArcObjects is still able to be used, just not advertised on the developer page as well as the runtime SDK. Found the download in the EDN downloads area. All good..... till next time. ArcObjects is the way to go for ArcMap interaction. Thanks, Mark Oberg
... View more
02-05-2015
07:38 AM
|
0
|
0
|
7
|
POST
|
The application was not ArcGIS Engine based and used ArcObjects. The application took calls from my custom data software and highlighted related features in ArcMap. There is also a custom toolbar that I developed that did the reverse and took features that you highlighted in ArcMap and identified data in my custom app. The application was designed for those that had already purchased ArcMap and were familiar with it. This provided a low learning curve for customers to understand how the data interacted. I still would like to continue to provide this functionality to our customers that will/are using ArcMap 10.3 so any direction would be helpful. EDIT: Is ArcObjects SDK for .NET still able to be used in 10.3? Thanks, Mark Oberg
... View more
02-04-2015
06:00 AM
|
0
|
1
|
7
|
POST
|
Is there a way to interact with ArcMap with 10.3 version of the runtime SDK? In previous versions, I was able to use the ESRI.ArcGIS.ArcMapUI.IMxDocument and ESRI.ArcGIS.Framework.IAppROT in order to highlight features in ArcMap itself. Do similar interfaces and classes exist? Thanks in Advance, Mark Oberg
... View more
02-03-2015
01:02 PM
|
0
|
3
|
3702
|
POST
|
What is the proper way to enumerate layers in MPK package generate from a personal geodatabase without using a MapView control? All the examples use the MapView or hard-code an index of the layer needed. Here is code (VB.NET): Dim map As Esri.ArcGISRuntime.LocalServices.LocalFeatureService = _ Await Esri.ArcGISRuntime.LocalServices.LocalFeatureService.StartAsync(mpkPath) Dim i As Integer = 0 Do While True Dim sfTable As Esri.ArcGISRuntime.Data.ServiceFeatureTable = Nothing Try sfTable = Await Esri.ArcGISRuntime.Data.ServiceFeatureTable.OpenAsync(New Uri(map.UrlMapService & "/" & i)) Catch ex As Exception sfTable = Nothing End Try If sfTable Is Nothing Then Exit Do End If ' Do something with sfTable i += 1 Loop Is this the proper way of enumerating until you get a 404 error when you're passed the last index ? Thanks in advance, Mark Oberg
... View more
02-02-2015
08:26 AM
|
0
|
1
|
3636
|
POST
|
I attempted to follow those steps on a Windows 7 (x64 bit) Hyper-V VM with Visual Studio 2010 Professional and Visual Studio 2013 Express on it. I know the SDK doesn't support 2010 anymore, but I don't get the context menus on the right-click at all. I'll dive deeper into that when I get my code actually functioning. Thanks for the help.
... View more
02-02-2015
06:47 AM
|
0
|
1
|
7
|
POST
|
I'll mark that as an answer, but I need some clarification since I'm new to it. When I try the StartAsync with the LocalMapService I get an error about not being able to find the RuntimeLocalServer.exe. Do I need to distribute this with my program? I found the exe with supporting dlls in the following paths (32/64bit): C:\Program Files\ArcGIS SDKs\DotNet10.2.4\WindowsDesktop\bin\arcgisruntime10.2.4\LocalServer32\bin C:\Program Files\ArcGIS SDKs\DotNet10.2.4\WindowsDesktop\bin\arcgisruntime10.2.4\LocalServer64\bin IF you want me to make a new discussion related to this, let me know. Thanks in advance. Mark
... View more
01-30-2015
07:27 AM
|
0
|
3
|
7
|
POST
|
How do I open a mxd file to read names of the feature layers without a WPF control? In previous versions I used the ESRI.ArcGIS.Carto.MapDocumentClass to open the mxd then looped thru the feature layers using the ESRI.ArcGIS.Carto.IFeatureLayer guid. Example code (VB.NET): Dim objMap As ESRI.ArcGIS.Carto.IMapDocument = New ESRI.ArcGIS.Carto.MapDocumentClass objMap.Open(MXDPath) Dim pUID As ESRI.ArcGIS.esriSystem.UID = New ESRI.ArcGIS.esriSystem.UID pUID.Value = "{" & GetType(ESRI.ArcGIS.Carto.IFeatureLayer).GUID.ToString & "}" Dim objLayers As ESRI.ArcGIS.Carto.IEnumLayer = objMap.ActiveView.FocusMap.Layers(pUID, True) objLayers.Reset() Dim objGenericLayer As ESRI.ArcGIS.Carto.ILayer = objLayers.Next Do While objGenericLayer IsNot Nothing If TypeOf objGenericLayer Is ESRI.ArcGIS.Carto.IFeatureLayer Then Dim objLayer As ESRI.ArcGIS.Carto.IFeatureLayer = CType(objGenericLayer, ESRI.ArcGIS.Carto.IFeatureLayer) If objLayer.Selectable And objLayer.Visible Then ' Do Something with the selectable and visible feature layer End If End If objGenericLayer = objLayers.Next Loop Thanks
... View more
01-29-2015
08:31 AM
|
0
|
5
|
4053
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|