POST
|
How do I either change the height of the feature-menu-viewport to match the main-container, or have it automatically fill it in? I tried: .esri-popup__main-container.esri-widget {
width: 500px !important;
height: 800px !important;
}
.esri-popup__feature-menu-viewport {
height: 800px !important;
}
... View more
09-02-2020
09:24 AM
|
0
|
2
|
818
|
POST
|
Quickly off the top of my head something like this. Are you trying to do this in a field calculator or in a script? Event_one = "Event_type1"
Event_two = "Event_type2"
Last_Event = "last_event_type"
if Event_one > Event_two:
Last_Event = "Event_type1"
else:
Last_Event = "Event_type2"
... View more
07-10-2020
11:16 AM
|
0
|
3
|
837
|
POST
|
Right click layer -> Data -> Export Features. Navigate to the folder you want it in. It will export as a shapefile.
... View more
07-10-2020
11:07 AM
|
0
|
0
|
260
|
POST
|
You will need to use geoprocessing tools probably. Run a geoprocessing task and python script | ArcGIS for Developers I personally use python to do these types of task. If I want a gui aspect to it I will just put the python script in the solution and run it from there. public async Task<IGPResult> ExecuteModel()
{
var progDlg = new ProgressDialog("Running Geoprocessing Tool", "Cancel");
progDlg.Show();
var progSrc = new CancelableProgressorSource(progDlg);
var pathPython = System.IO.Path.GetDirectoryName((new
System.Uri(Assembly.GetExecutingAssembly().CodeBase)).AbsolutePath);
pathPython = Uri.UnescapeDataString(pathPython);
System.Diagnostics.Debug.WriteLine(pathPython);
var tool_path = System.IO.Path.Combine(pathPython, @"PytonToolbox.pyt\Tool");
var parameters = Geoprocessing.MakeValueArray();
IGPResult gp_result = await Geoprocessing.ExecuteToolAsync(tool_path,
parameters, null, new CancelableProgressorSource(progDlg).Progressor);
Geoprocessing.ShowMessageBox(gp_result.Messages, tool_path,
gp_result.IsFailed ? GPMessageBoxStyle.Error : GPMessageBoxStyle.Default);
return gp_result;
}
... View more
05-22-2020
08:25 AM
|
1
|
3
|
1637
|
POST
|
Could you please share the code, I am running into the same problem. Thank you!
... View more
04-27-2018
08:31 AM
|
0
|
1
|
422
|
Title | Kudos | Posted |
---|---|---|
1 | 05-22-2020 08:25 AM |
Online Status |
Offline
|
Date Last Visited |
12-08-2022
06:31 AM
|