|
POST
|
This looks like the path forward. Thanks (will mark correct once we have implemented)
... View more
10-06-2020
07:45 AM
|
0
|
0
|
1359
|
|
POST
|
We have a situation where at times to working areas may be pretty close together, and when the occurs the offline area overlaps. At times there may be a significant amount of data collected in one of these overlapping areas So what is happening when a user wants to takes area 2 offline, they will also pull all of the data collected as part of area 1. And when syncing between these two offline maps they are still including the other area. What would be nice is if we could define a where clause as part of taking the map offline, so we only pull data associated to a specific project number. Is this possible? Associated to this is that we were hoping to allow crews to collect existing data near the work areas (because this data is collected with GPS it is a chance to improve accuracy), so for this reason we give a good size buffer around our boundary when taking the project offline. Thanks -Joe
... View more
10-02-2020
10:37 AM
|
0
|
2
|
1390
|
|
POST
|
Hi, I just put up a post about an issue I had with creating relationship (due to my own fault in the end), RelateFeature not creating relationship in offline data Here is a sample of how the relationship is created. In this specific example I loop through a set of features to create relationships, but should be pretty straight forward to modify for a single feature. If you were to be changing after the initial creation you could use UpdateFeatureAsync as is mentioned in the post foreach (var vertexInfo in Vertices)
{
var vertexFeature = (ArcGISFeature) vertexTable.CreateFeature();
vertexFeature.Geometry = vertexInfo.MapPoint;
if ( vertexInfo.NmeaLocation != null )
{
UpdateGpsAttributes(vertexFeature, vertexInfo.NmeaLocation);
}
// await vertexTable.AddFeatureAsync(vertexFeature); - moved below
Log.Debug($"Relate Feature Origin: {feature.FeatureTable.TableName}:{feature.GetAttributeValue("OBJECTID")}");
feature.RelateFeature(vertexFeature);
// Move to after RelateFeature
await vertexTable.AddFeatureAsync(vertexFeature);
Log.Debug($"Relate Feature Destination: {vertexFeature.FeatureTable.TableName}:{vertexFeature.GetAttributeValue("OBJECTID")}");
}
... View more
09-29-2020
07:21 AM
|
0
|
1
|
1595
|
|
POST
|
Jennifer, Thanks for the reply. It made me realize I needed to call AddFeatureAsync after creating the relationship. I was calling before, using UpadateFeatureAsync would have worked also but makes more sense move the AddFeature line foreach (var vertexInfo in Vertices)
{
var vertexFeature = (ArcGISFeature) vertexTable.CreateFeature();
vertexFeature.Geometry = vertexInfo.MapPoint;
if ( vertexInfo.NmeaLocation != null )
{
UpdateGpsAttributes(vertexFeature, vertexInfo.NmeaLocation);
}
// await vertexTable.AddFeatureAsync(vertexFeature); - moved below
Log.Debug($"Relate Feature Origin: {feature.FeatureTable.TableName}:{feature.GetAttributeValue("OBJECTID")}");
feature.RelateFeature(vertexFeature);
// Move to after RelateFeature
await vertexTable.AddFeatureAsync(vertexFeature);
Log.Debug($"Relate Feature Destination: {vertexFeature.FeatureTable.TableName}:{vertexFeature.GetAttributeValue("OBJECTID")}");
}
... View more
09-26-2020
12:14 PM
|
0
|
0
|
1987
|
|
POST
|
Yes the relationship info is also in the replica: PipeLine "currentVersion": 10.81,
"id": 3,
"name": "Pipeline Line",
"type": "Feature Layer",
"displayField": "assetgroup",
"description": "",
"copyrightText": "",
"defaultVisibility": true,
"editFieldsInfo": {
"creationDateField": "created_date",
"creatorField": "created_user",
"editDateField": "last_edited_date",
"editorField": "last_edited_user"
},
"relationships": [
{
"id": 0,
"name": "Vertices",
"relatedTableId": 17,
"cardinality": "esriRelCardinalityOneToMany",
"role": "esriRelRoleOrigin",
"keyField": "GlobalID",
"composite": true
}
], Vertices: "currentVersion": 10.81,
"id": 17,
"name": "Vertices",
"type": "Feature Layer",
"displayField": "ESRIGNSS_RECEIVER",
"description": "",
"copyrightText": "",
"defaultVisibility": true,
"editFieldsInfo": {
"creationDateField": "created_date",
"creatorField": "created_user",
"editDateField": "last_edited_date",
"editorField": "last_edited_user"
},
"relationships": [
{
"id": 0,
"name": "PipelineLine",
"relatedTableId": 3,
"cardinality": "esriRelCardinalityOneToMany",
"role": "esriRelRoleDestination",
"keyField": "PipeLineGlobalID",
"composite": true
}
],
... View more
09-25-2020
06:16 AM
|
0
|
0
|
1987
|
|
POST
|
I am trying to creating a relationship in data that is created from taking a map offline and it does not seem to have any effect. The code takes a list of vertices for a line and creates features that should then relate back to the line foreach (var vertexInfo in Vertices)
{
var vertexFeature = (ArcGISFeature) vertexTable.CreateFeature();
vertexFeature.Geometry = vertexInfo.MapPoint;
if ( vertexInfo.NmeaLocation != null )
{
UpdateGpsAttributes(vertexFeature, vertexInfo.NmeaLocation);
}
await vertexTable.AddFeatureAsync(vertexFeature);
Log.Debug($"Relate Feature Origin: {feature.FeatureTable.TableName}:{feature.GetAttributeValue("OBJECTID")}");
feature.RelateFeature(vertexFeature);
Log.Debug($"Relate Feature Destination: {vertexFeature.FeatureTable.TableName}:{vertexFeature.GetAttributeValue("OBJECTID")}");
} Everything runs without error and the features are created, however, the RelateFeatures does not do anything. If I look at the services the relationships are defined: In Vertex Feature Service: "relationships" : [
{
"id" : 0,
"name" : "PipelineLine",
"relatedTableId" : 3,
"cardinality" : "esriRelCardinalityOneToMany",
"role" : "esriRelRoleDestination",
"keyField" : "PipeLineGlobalID",
"composite" : true
}
], In PipeLine Feature Service: "relationships" : [
{
"id" : 0,
"name" : "Vertices",
"relatedTableId" : 17,
"cardinality" : "esriRelCardinalityOneToMany",
"role" : "esriRelRoleOrigin",
"keyField" : "GlobalID",
"composite" : true
}
], This is a look Vertex at the table in the offline database, as you can see the PipeLineGlobalID relationship field is left null: The log shows that the code to do the relate is running The relationships are created in ArcGIS Pro prior to publishing the services to AGOL. Any reason why this relationship does not get created? Thanks -Joe
... View more
09-24-2020
09:56 AM
|
0
|
4
|
2110
|
|
POST
|
var tileCache = new TileCache(Constants.Settings.ImageryLocation);
ArcGISTiledLayer imageLayer = new ArcGISTiledLayer(tileCache);
var map = new Esri.ArcGISRuntime.Mapping.Map(new Basemap(imageLayer))
{
InitialViewpoint = new Viewpoint(extent)
};
... View more
09-24-2020
08:30 AM
|
1
|
0
|
2018
|
|
POST
|
When one switches the Utility Network Display Content you get these annoying notifications that there is no filter on certain layers. Well of course there are no filters because the layers do not have associations. Can this be turned off someway? Thanks -Joe
... View more
09-10-2020
11:21 AM
|
0
|
0
|
508
|
|
POST
|
What you could do, is use the MouseMove event on the MapView so when the mouse is within a certain distance of the node it does the display. Could put a timer in there to be sure the mouse is not just moving across the point, but is being held there For display, you could have a graphic be displayed which would have a label appearance. When the mouse moves away the graphic gets removed.
... View more
09-03-2020
01:40 PM
|
0
|
0
|
2151
|
|
POST
|
As far as I am aware there is no hover interaction, the user would need to click on the node to display anything
... View more
09-03-2020
01:13 PM
|
0
|
2
|
2151
|
|
POST
|
I am trying to change the default version of our branch versioning to be protected instead of public to keep peoples from inadvertently editing directly in default. It would seem that this needs to be done with the Alter Version (Data Management) tool. However, I cannot get this to run successfully. I have tried to do this both using the feature service connection and to use the direct database connection. Doing the feature service connection I get an error that seems to possibly be something with permissions, but I am connected to Enterprise as the owner of the feature service Running using the direct connection the user seems to be associated to the name I am using for the version, but I have tried a lot of different combinations, from documentation I would think it is serverfolder/servicename.sde.default. As mentioned, though, I have tried lots of different combinations some with https others without. Any thoughts on why this will not work and how I could make this change. I am thinking just change in the underlying versions table in sql server, but concerned that might be a side affect to this Thanks -Joe
... View more
09-02-2020
09:51 AM
|
0
|
1
|
1682
|
|
POST
|
Thanks for the update, just so you are aware, I am just using the map template provided by the ArcGIS Solutions Deployment Tool | ArcGIS Solutions . With the new information and up coming changes perhaps changes could be made to the solution template in order to have the map configured as expected. Thanks -Joe
... View more
08-31-2020
08:50 AM
|
0
|
0
|
512
|
|
POST
|
Rich, I tried to do with Fiddler both from my machine using an iOS simulator and the approach to capture incoming traffic. Not able to get around ssl/cert issues. We are setup on AWS using a certificate through AWS and they operate in a kind of bizarre manner compared to how one normally sets up certificates (imo), and cannot see how to work around it. -Joe
... View more
08-13-2020
04:44 PM
|
0
|
0
|
5300
|
|
POST
|
If you look at my code, I have already filtered the elements by FeatureTable, var elements = traceResult.Elements.Where(e => e.NetworkSource.Name == featureLayer.FeatureTable.TableName).ToList(); The total number of elements returned in the trace results is far greater. After running the trace using var traceResults = await _utilityNetwork.TraceAsync(parameters); I get 11624 elements whether I use the map to Create the UtilityNetwork or use credentials to Create the UtilityNetwork But I am getting completely different results from GetFeaturesForElementsAsync based on how I initialize the UtilityNetwork. I have tested using the exact same start location of the FindConnected trace. Using the map, I do not get the complete result set as Features, using Credentials I do.
... View more
08-13-2020
05:21 AM
|
0
|
2
|
5300
|
|
POST
|
Using 100.8 Invalid results as I described, it returns 14 features when there are 5856 elements. The WebMap I use has Pipes, Junctions, and Devices. So all the main FeatureTables are represented. The idea of manually building out the map seems a poor workflow. How would I manage layer order, visibility, etc. Would be tough to make anything more the a very simple map using that approach. Something else I notice, it is terribly slow to open the WebMap. It takes about 20 seconds for the original drawing of the map. And we are zoomed at a level where only distribution pipes are visible Startup view:
... View more
08-12-2020
02:48 PM
|
0
|
2
|
5300
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-11-2026 09:07 AM | |
| 1 | 10-23-2025 12:16 PM | |
| 1 | 10-19-2022 01:08 PM | |
| 1 | 09-03-2025 09:25 AM | |
| 1 | 04-16-2025 12:37 PM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|