POST
|
I've done the same. Will you please repost if it stops working again without warning? I am still having the problem where all of a sudden it just stops working in connected mode. We have since setup many projects and have been using them reliably in the field. I'll let you know if anything changes.
... View more
06-25-2014
11:07 AM
|
0
|
0
|
662
|
POST
|
I did not find a fix nor a cause. In the end, I rebuilt the data from the SDE up to publishing the service again, then making a new map on ArcGIS Online. Not sure which one fixed it.
... View more
06-24-2014
11:59 AM
|
0
|
0
|
662
|
POST
|
We have just started having the exact same problem. Our feature services are running on ArcGIS Server and registered through AGSOL to create editable maps for Collector. This happened all of a sudden with no explanation. I am also unable now to edit via ArcMap feature service editing. Any suggestions? I have tried recreating the data to no avail. "I have been getting the 'Update Failed - Updates could not be sent' error on both my android phone and tablet using the updated Collector app. The error this seemed to replace, which I was also getting, was the 'edit not applied' error. Also, I am not able to add an editable point to my web map via ArcGISonline (I currently have an organization account). This editable feature service was created with feature access where all of the operations are enabled. When trying to add an editable point via ArcGISonilne, I can click on my point template and the map does say 'Click to add a point' but it won't actually let me add the point. I feel like I'm missing some type of permission, but at this point I really don't know what's going on. Any help would be greatly appreciated, thank you!"
... View more
03-14-2014
07:44 AM
|
0
|
0
|
662
|
POST
|
Did you ever find a resolution to this? I am having the exact same problem.
... View more
04-29-2013
08:53 AM
|
0
|
0
|
1204
|
POST
|
I am trying to find a way to use a rubber band to select a line feature and store that selection (separate from current map selection). The selection must not affect the map selection - the map selection must retain all previously selected features. The stored line selection's attributes need to be used to re-query and add top the selection of the line feature class. The trouble that I am running into is that I need to store the rubber band selection in an intermediate and isolated space. I have code that currently uses a rubber band to select a line feature using the pmap.selectbyshape method. The code then stores the attributes of the selected line feature and re-queries the line layer to include all related lines (where the sequence attribute is => or =< the selected feature's). I am having trouble figuring out a way to retain previous selection while adding new selections based upon a rubber band selected line. Any help would be much appreciated! ________________________________________________________________________________________________________________ Protected Overrides Sub OnMouseDown(ByVal arg As ESRI.ArcGIS.Desktop.AddIns.Tool.MouseEventArgs) MyBase.OnMouseDown(arg) 'Get document Dim m_application As IMxApplication = CType(Hook, ESRI.ArcGIS.Framework.IApplication) Dim pMxDoc As IMxDocument = m_application.Document Dim pMap As IMap = pMxDoc.ActiveView.FocusMap 'get screen display Dim screenDisplay As IScreenDisplay3 = pMxDoc.ActiveView.ScreenDisplay 'create Rubber band Dim RubSelection As IRubberBand2 = New RubberEnvelope 'track the rubber band Dim selectionBoxRubber As IGeometry5 = RubSelection.TrackNew(screenDisplay, Nothing) 'reference the layer Dim selectEnv As ISelectionEnvironment = m_application.SelectionEnvironment Try pMap.SelectByShape(selectionBoxRubber, Nothing, False) Catch ex As Exception End Try If pMap.SelectionCount.ToString > 1 Then MsgBox("Please select only one road segment.") pMap.ClearSelection() ElseIf pMap.SelectionCount.ToString = 0 Then 'MsgBox("You must select a road segment.") Else '--------------------------------------------------------------------------------- ' Get the FeatureCursor '--------------------------------------------------------------------------------- Dim pCur As ICursor = Nothing Dim pFeature As IFeature Dim pFeatureLayer As IFeatureLayer Dim pFeatureSelection As IFeatureSelection Dim pSelectionSet As ISelectionSet Dim pWRMLayer As ILayer = pMxDoc.FocusMap.Layer(0) Dim pWRMFeatLayer As IFeatureLayer = pWRMLayer Dim pWRMFeatClass As IFeatureClass = pWRMFeatLayer.FeatureClass Dim RtSeq As String Dim Route As String Dim Priority As String Dim Dispatch As String Dim RtSeqFieldIndex As Integer Dim RouteFieldIndex As Integer Dim PriorityFieldIndex As Integer Dim DispatchFieldIndex As Integer 'Find Associated Field Indexes RtSeqFieldIndex = pWRMFeatClass.FindField("SEQUENCE") RouteFieldIndex = pWRMFeatClass.FindField("ROUTE_NUMBER") PriorityFieldIndex = pWRMFeatClass.FindField("DISPATCH_PRIORITY") DispatchFieldIndex = pWRMFeatClass.FindField("DISPATCH_GROUP") pFeatureLayer = pMap.Layer(0) pFeatureSelection = pFeatureLayer 'QI pSelectionSet = pFeatureSelection.SelectionSet pSelectionSet.Search(Nothing, False, pCur) Dim pFCur As IFeatureCursor = CType(pCur, IFeatureCursor) pFeature = pFCur.NextFeature 'set rt seq number for query RtSeq = pFeature.Value(RtSeqFieldIndex) Route = pFeature.Value(RouteFieldIndex) Priority = pFeature.Value(PriorityFieldIndex) Dispatch = pFeature.Value(DispatchFieldIndex) System.Runtime.InteropServices.Marshal.ReleaseComObject(pFCur) MsgBox("route seq number = " & RtSeq & " Route = " & Route & " Priority = " & Priority & " Disp Grp = " & Dispatch) ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 'get access to user form''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Dim frmStartEnd As New LastCmplSeg_Form 'call the form to show frmStartEnd.ShowDialog() frmStartEnd.Activate() Dim StartEndAnswer As Boolean Dim PartialRtQueryWhere As String StartEndAnswer = frmStartEnd.boolBegEnd 'MsgBox(StartEndAnswer) 'true = end , false = start If (StartEndAnswer = True) Then 'MsgBox("true") PartialRtQueryWhere = "DISPATCH_PRIORITY = " & Priority & " AND DISPATCH_GROUP = '" & Dispatch & "' AND ROUTE_NUMBER = " & Route & " AND SEQUENCE >= " & RtSeq SelectMapFeaturesByAttributeQuery(pMxDoc.ActiveView, pMap.Layer(0), PartialRtQueryWhere, esriSelectionResultEnum.esriSelectionResultNew) pMxDoc.ActiveView.Refresh() 'MsgBox(PartialRtQueryWhere) ElseIf (StartEndAnswer = False) Then 'MsgBox("false") PartialRtQueryWhere = "DISPATCH_PRIORITY = " & Priority & " AND DISPATCH_GROUP = '" & Dispatch & "' AND ROUTE_NUMBER = " & Route & " AND SEQUENCE <= " & RtSeq SelectMapFeaturesByAttributeQuery(pMxDoc.ActiveView, pMap.Layer(0), PartialRtQueryWhere, esriSelectionResultEnum.esriSelectionResultNew) pMxDoc.ActiveView.Refresh() 'MsgBox(PartialRtQueryWhere) Else Return End If pMxDoc.ActiveView.Refresh() End If
... View more
04-16-2012
08:18 AM
|
0
|
0
|
424
|
POST
|
Hello, I am looking for a scripting method for performing a find and replace operation on an xml (.rbj) file using VBA/VB.net. I would require that it replace the geodatabase paths (all set to be the same) with the current geodatabase location variable (workspace). I have found a few VB examples, however I can not get any of them to work within the VBA environment. Any help would be hugely appreciated. Thanks, Blair Hornung GIS Analyst ISC of Saskatchewan
... View more
08-23-2010
08:49 AM
|
0
|
0
|
586
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|