|
POST
|
Hi, Take a look at ArcGIS Pro SDK API reference EllipticArcBuilderEx method
... View more
11-04-2023
01:37 AM
|
0
|
3
|
1280
|
|
POST
|
Hi, Shapefiles have some limitations. DISTINCT, ORDER BY, and ALL are only supported when working with databases. They are not supported by other data sources (such as dBASE or INFO tables). SearchCursor—ArcGIS Pro | Documentation You could try to use Table method Sort.
... View more
10-29-2023
12:10 AM
|
2
|
1
|
1423
|
|
POST
|
Hi, IGPResult has property Values. It contains output values or null if tool execution fails. It's list of strings
... View more
10-26-2023
10:43 AM
|
1
|
0
|
3084
|
|
POST
|
@MichaelBranscomb You have changed AAB generation with Cloudmake content. Instead of moving all thread you have moved only my answer from the thread.
... View more
10-25-2023
03:31 AM
|
0
|
1
|
2819
|
|
POST
|
Look at the Esri ArcGIS Pro SDK community sample BackStage_PropertyPage. It shows how to store project or application settings and read them on project open event.
... View more
10-24-2023
03:25 AM
|
0
|
0
|
965
|
|
POST
|
Hi, At first you need to sign in your Android application: Sign your Android app To prepare an Android release build, you must first generate a signing keystore file. For detailed information on how to create this file, see the Android documentation. Before running the Make tool, either cloud or local, ensure that you have provided the following in the Android tab of Settings, found under the Platforms heading: Package name—Always use a reverse internet domain name, for example, com.companyname.applicationname. The package name is a unique identifier for the app and is the default name for the application process. Once you publish your app, you cannot change the package name. For additional details, see the package name explanation in the manifest element of the Android SDK. Keystore file path—The location of the keystore file on your desktop machine. Key alias—Key name created at the time of keystore creation. More info here: Sign your app—ArcGIS AppStudio | Documentation
... View more
10-23-2023
12:05 PM
|
0
|
2
|
2841
|
|
POST
|
It is difficult to understand your situation without code, printscreens and etc.
... View more
10-16-2023
08:57 AM
|
0
|
1
|
1806
|
|
POST
|
Only one tool can be opened at the same time. If you activate one tool, it deactivates previous. Another thing if you open dockpane with tool activating. Then you must close/hide it your tool by overriding OnToolDeactivateAsync. EmbeddableControl pattern does it automatically.
... View more
10-16-2023
07:17 AM
|
0
|
3
|
1814
|
|
POST
|
Hi, Look at the ArcPro SDK community QueryBuilderControl sample. // update mapMember definition query
QueuedTask.Run(() =>
{
if (fLayer != null)
fLayer.SetDefinitionQuery(newExpression);
});
... View more
10-04-2023
11:48 AM
|
0
|
0
|
1336
|
|
POST
|
I just copied you some functions from AppStudio MapView template to show you layer loading pattern. 1. Creating layer object 2. Connect to loadStatusChanged event listening 3. Load layer Look at Maps SDK For Qt sample
... View more
09-29-2023
07:00 AM
|
0
|
0
|
2587
|
|
POST
|
Pushing to layers list is not layer loading. Look at the MapViewer template. Loading layer sequence must be like this: function loadVectorTileLayer()
{
mapLayers.push(layerUrl)
const tiledcustomLayer = ArcGISRuntimeEnvironment.createObject("ArcGISVectorTiledLayer", {url: layerUrl});
operationalLayers.append(tiledcustomLayer)
addLayerToContent(tiledcustomLayer)
}
function addLayerToContent(layer)
{
if (layer.loadStatus !== Enums.LoadStatusLoaded)
{
layer.loadStatusChanged.connect(function(){
if (layer.loadStatus === Enums.LoadStatusLoaded){
// your code here
}
}
)
layer.load()
}
else
{
mapView.processLoadStatusChange()
mapView.setViewpointGeometry(layer.fullExtent)
}
}
... View more
09-29-2023
03:16 AM
|
0
|
3
|
2604
|
|
POST
|
Hi, You can load your csv data to featureclass using geoprocessing. Code from ArcGIS Pro SDK Community sample: //args for GP Tool
string input_table = @"C:\Users\uma2526\Documents\ArcGIS\Projects\CustomItemTest\AlaskaCitiesXY.csv";
var gbd = Project.Current.GetItems<GDBProjectItem>().FirstOrDefault().Path;
string outputFC = $@"{gbd}\AlaskaCitiesPointConv";
string XField = "POINT_X";
string YField = "POINT_Y";
var sr = MapView.Active.Map.SpatialReference;
var environments = Geoprocessing.MakeEnvironmentArray(overwriteoutput: true);
var cts = new CancellationTokenSource();
//Make the GP Tool arg array
var args = Geoprocessing.MakeValueArray(input_table, outputFC, XField, YField, "", sr);
//Execute
_ = await Geoprocessing.ExecuteToolAsync("XYTableToPoint_management", args, environments, cts.Token,
(eventName, o) =>
{
System.Diagnostics.Debug.WriteLine($@"GP event: {eventName}");
}, GPExecuteToolFlags.None); //No action is taken, so the new Feature class doesn't get added to the map Sample is here
... View more
09-28-2023
10:55 PM
|
0
|
0
|
2228
|
|
POST
|
Hi, One of your geoprocessing tool parameters doesn't match your requirement. Add clipping_geometry parameter with value "NONE". Default value is "ClippingGeometry". var parameters = Geoprocessing.MakeValueArray(layer, envelope, output, "", "", "NONE");
var result = Geoprocessing.ExecuteToolAsync("management.Clip", parameters, null, null, null, GPExecuteToolFlags.None); More info here
... View more
09-28-2023
10:45 PM
|
0
|
0
|
1095
|
|
POST
|
Hi, Have you checked your project database for existence of output name subLayerName + "_clipped" ? You need to check your project database and delete old one featureclass if exists or generate unique name when forming output featureclass name. I would recommend you to run ExecuteToolAsync with GPToolExecuteEventHandler parameter as in sample. You will get possibility to get information about invalid geoprocessing parameters. var result = await Geoprocessing.ExecuteToolAsync(tool_path, args, null, _cts.Token,
(event_name, o) => // implement delegate and handle events
{
switch (event_name)
{
case "OnValidate": // stop execute if any warnings
if ((o as IGPMessage[]).Any(it => it.Type == GPMessageType.Warning))
_cts.Cancel();
break;
case "OnProgressMessage":
string msg = string.Format("{0}: {1}", new object[] { event_name, (string)o });
System.Windows.MessageBox.Show(msg);
_cts.Cancel();
break;
case "OnProgressPos":
string msg2 = string.Format("{0}: {1} %", new object[] { event_name, (int)o });
System.Windows.MessageBox.Show(msg2);
_cts.Cancel();
break;
}
});
... View more
09-28-2023
12:52 AM
|
0
|
0
|
844
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | yesterday | |
| 1 | 3 weeks ago | |
| 1 | 3 weeks ago | |
| 2 | 04-24-2026 08:33 AM | |
| 1 | 03-23-2026 11:44 AM |
| Online Status |
Online
|
| Date Last Visited |
yesterday
|