|
POST
|
Arc GIS Pro is a 64-bit application, and a separate process for background geoprocessing is not needed. Please see Technical Article: 000012074.
... View more
09-26-2022
05:43 AM
|
2
|
0
|
5268
|
|
POST
|
Follow-up. I revisited this post today as I needed to process some 4-band TIFFs to 3-band JPG and noted I never uploaded a screenshot clarifying utilizing the Composite Bands Tool (Data Management) with a subset of the original imagery bands. To complete this, one needs to add each required band to the tool rather than just the image itself, as depicted below. Although I am using a TIF, an ECW file would work the same way. Additional parameters can be specified on the Environments tab, such as compression, reprojection, etc. Python or ModelBuilder can be utilized very efficiently if multiple files need to be processed.
... View more
09-26-2022
05:35 AM
|
0
|
0
|
3755
|
|
POST
|
We are creating a set of source Mosaic Datasets based on the imagery year and many need different transformations applied. These will be combined into a reference dataset to be published. 1) I have some data that needs to have a combination transformation applied (NAD_1983_HARN_To_NAD_1983_2011 + NAD_1983_To_HARN_Ohio). When building the mosaic I can only specify the individual transformations listed and not the combination. Is there a means to do this when building the dataset? Error 000800 the value is not a member of... is received for the combination transformation. 2) In ArcGIS Pro 3.0, is there s means to apply a transformation by layer rather than to the map? The map only allows one transformation per group. For example between NAS 1983 (2011) and NAD 1983 I have some data that needs the NAD_1983_HARN_To_NAD_1983_2011 + NAD_1983_To_HARN_Ohio transformation and other that needs the WGS_1984(ITFR08)_To_NAD_1983_2011 + WGS_1984(ITFR08)_To_NAD_1983 transformation. I am trying to project one of the datasets but they are very large and it has been running for over 16 hours. Thanks in advance.
... View more
08-30-2022
02:16 PM
|
0
|
0
|
930
|
|
POST
|
I am updating some raster data and related processing scripts. In the code reference guide Add Rasters To Mosaic Dataset (Data Management) a value of "#" is utilized for some parameters. What is the intent of this value vs ""? Does it indicate to use the default value for the parameter? import arcpy
arcpy.management.AddRastersToMosaicDataset(
"c:/data/AddMD.gdb/md_landsat", "Landsat 7 ETM+",
"c:/data/landsat7etm", "UPDATE_CELL_SIZES", "UPDATE_BOUNDARY",
"UPDATE_OVERVIEWS", "2", "#", "#", "GCS_WGS_1984.prj",
"*.tif", "SUBFOLDERS", "EXCLUDE_DUPLICATES",
"NO_PYRAMIDS", "NO_STATISTICS", "BUILD_THUMBNAILS",
"Add Landsat L1G", "FORCE_SPATIAL_REFERENCE",
"NO_STATISTICS", "", "USE_PIXEL_CACHE",
r"C:\test\cachelocation")
... View more
08-30-2022
04:35 AM
|
0
|
2
|
1644
|
|
POST
|
Correct, even when specifying a datum_transformation such as WKID 108190 (WGS_1984_(ITRF00)_To_NAD_1983) the data is still offset. FeatureLayer(url).query(out_sr=3734, datum_transformation=108190, return_true_curves=True).save(fgdb, 'data_fc1') The default is "None" for the datum_transformation but I believe when using FeatureLayer().query() and a transformation is not specified, the best transformation is selected by the system even when set to None. However, FeatureClassToFeatureClass, when the transformation is set to None, does not apply one or applies a different one. Hence the difference between the two code block results.
... View more
08-08-2022
10:45 AM
|
0
|
0
|
1190
|
|
POST
|
Good Morning All, I am updating a few backend scripts to ArcGIS Pro 3.0, and I am having an issue with a slight data shift in returned data from a third-party map service when requesting data to be returned in a different spatial reference. I believe the data is hosted on a 10.6 server using the WKID: 3857 (WGS 1984 Web Mercator). When I run the following code, I get back a feature class reprojected to WKID: 3734 (NAD 1983 StatePlane Ohio North (US Feet)), but there is a slight shift in the data - blue lines. FeatureLayer(url).query(out_sr=3734, datum_transformation=None, return_true_curves=True).save(fgdb, 'data_fc1') I experimented with omitting the datum_transformation parameter and also using many of the common WKID geographic transformation values between 3857 and 3734, but the data does not appear to shift at all. It is always down and to the right slightly. However, if I save the data in memory using the source coordinate system and then save the data to the local GDB using FeatureClass to FeatreClass or a similar tool, as shown in the code below, the data is returned correctly. outSR = arcpy.SpatialReference(3734)
FeatureLayer(url).query(return_true_curves=True).save('in_memory', 'temp')
with arcpy.EnvManager(outputCoordinateSystem=outSR, geographicTransformations=None):
arcpy.conversion.FeatureClassToFeatureClass(r'in_memory/temp', fgdb, 'data_fc2') Any ideas why the first code block does not work correctly?
... View more
08-08-2022
05:01 AM
|
0
|
2
|
1329
|
|
POST
|
Thanks Russell. We will break it down into the 15 to 18 groups of data and host those as individual Map Image Services. The majority of the data will be consumed by focused web maps/apps that only utilize a small number of layers. There is one large “default” map that has about 80% of the layers available but only 10-15% turned on by default. I agree maintenance would be easier and safer.
... View more
05-11-2022
03:57 AM
|
1
|
1
|
2225
|
|
POST
|
We are getting ready to publish a new set of web maps and apps. For testing and development, we published to AGOL our different layers or layer groups in a single Map Image Layer. We then only include needed layers or layer groups in the maps to be published. There are about 120 layers in 10 groups. Some groups are broken down into subgroups so there are about a total of 15-18 groups of data in total. Below is a screenshot small part of the layers in the single Map Image Layer. Some maps published for FieldMaps may only have a single layer being used; whereas, our default public web app includes almost everything we want to publicly expose. We are utilizing a hybrid approach with our data being hosted on an enterprise deployment and exposed to AGOL to be consumed by published maps and apps on AGOL. Would it be better to publish multiple Map Image Layers by a group rather than a single one with everything included?
... View more
05-07-2022
08:24 AM
|
0
|
3
|
2410
|
|
POST
|
Thanks, the data contains the date, duration, peak intensity, total intensity and amount of rainfall for each rain storm event in a month that exceed 1/2” precipitation. The data for each event is posted to a repeat row and additional data collected, such as was a inspection report completed within 24 hours, were any issues noted following the event, etc. I have been experimenting with adding a key to the index in the CSV to each rain event for month such as 202204_01, 202204_02, etc. then using the index of the repeat row from position() and pulldata() to load the data into each of the fields above for each repeat. Still need to figure out how to add 1 to the position() value when using the field app. Starts at 0 for field app and 1 for web app. Also, the number of events per month is highly variable, so the number of repeat rows needs to be dynamic as well. I am using repeat_count in the XLSform and the number of events from another pulldata() to set this value. However, this section of the form is just really clunky. I will pull out this section and upload it with a sample CSV file. I am also looking at generating a JSON rather than using a CSV or embedding the survey in an app and try using the Survey123 extensibility and JavaScript. In particular the addRepeat Method
... View more
05-02-2022
04:21 PM
|
0
|
0
|
1524
|
|
POST
|
I have a Survey123 form I am updating to a new version and have a question pertaining to automatically populating a repeat with information from an external source such as a feature service or even an uploaded CSV. Is this possible? One section of a monthly inspection form has a list of rain events that exceeded 1/2" and includes the Date & Time, duration, and precipitation amount. We pull the data from a local Wx station and have the information in a table on our enterprise database. However, I am currently manually entering this information on each Survey123 inspection and also collecting additional information such as did the contractor perform an inspection within 24 hours, the date the inspection was performed, etc. It is not bad during the dry seasons, but this spring has been really wet and this month there were 11 events that I am typing on 30+ inspections. I can easily add an index to the weather data based on the year & month i.e. 202204 that could be used to filter the events to the current inspection month but is there a way to load this into a repeat upon opening a survey? Is there another option other than a repeat that would allow the information to be loaded and also check off/ complete additional information for each row? Thanks in advance.
... View more
04-30-2022
08:11 AM
|
0
|
3
|
1591
|
|
POST
|
After working with ESRI support the past week, they confirmed this is a bug in v2.22 and v2.23. Bug Number: BUG-000146795
... View more
02-11-2022
05:07 AM
|
0
|
0
|
2700
|
|
POST
|
Thanks, Derek. I have a ticket in with ESRI and they are looking into the issue.
... View more
01-31-2022
02:01 PM
|
0
|
0
|
2744
|
|
POST
|
I narrowed the issue down to the _OnDockableNodeClick function in the AnchorBarController - Widget.js file starting at line 630. The following original code creates and shows a panel, in particular lines 30-40. Unfortunately, this loads a panel even when one already exists and the lang.hitch and aspect.after were adding additional ‘onClose’ events each time a panel was opened. _onDockableNodeClick: function(dockableItem){
var panelId, panelConfig;
if(dockableItem.config.inPanel === false){
if(dockableItem.isOpen){
this.widgetManager.loadWidget(dockableItem.config).then(
lang.hitch(this, function(widget) {
this._addToOpenedIds(dockableItem.config.id);
var position = this._getOffPanelPosition(dockableItem,
this.widgetManager.getWidgetMarginBox(widget));
position.zIndex = 100;
widget.setPosition(position, this.containerNode);
this.widgetManager.openWidget(widget);
this.own(aspect.after(widget, 'onClose', lang.hitch(this, function() {
dockableItem.setOpened(false);
this._removeFromOpenedIds(dockableItem.config.id);
dockableItem.iconItemNode.focus();
})));
}));
}else{
this.widgetManager.closeWidget(dockableItem.config.id);
this._removeFromOpenedIds(dockableItem.config.id);
}
}else{
panelId = dockableItem.config.id + '_panel';
if(dockableItem.isOpen){
dockableItem.setPanelIndex(this._calPanelIndex());
panelConfig = dockableItem.getConfigForPanel();
this.panelManager.showPanel(panelConfig).then(lang.hitch(this, function(panel){
panel.setPosition(panelConfig.panel.position);
aspect.after(panel, 'onClose', lang.hitch(this, function(){
dockableItem.setOpened(false);
this._removeFromOpenedIds(dockableItem.config.id);
if(dockableItem.iconItemNode){
dockableItem.iconItemNode.focus();
}
}));
}));
if(this.popupMore){
this.popupMore.hide();
}
this._addToOpenedIds(dockableItem.config.id);
}else{
this.panelManager.closePanel(panelId);
this._removeFromOpenedIds(dockableItem.config.id);
}
}
}, I added a conditional (Lines 30-32) to only to create the panel if the panel ID does not exist, which seems to have resolved the issue. I also comment out line 37 as the panel.setPosition is being called twice. I am not a programmer, so please provide some feedback. I also did not look at the upper portion, which deals with off Panel widgets. This revision also does not reset the panel position/size for existing panels or the panelIndex. _onDockableNodeClick: function(dockableItem){
var panelId, panelConfig;
if(dockableItem.config.inPanel === false){
if(dockableItem.isOpen){
this.widgetManager.loadWidget(dockableItem.config).then(
lang.hitch(this, function(widget) {
this._addToOpenedIds(dockableItem.config.id);
var position = this._getOffPanelPosition(dockableItem,
this.widgetManager.getWidgetMarginBox(widget));
position.zIndex = 100;
widget.setPosition(position, this.containerNode);
this.widgetManager.openWidget(widget);
this.own(aspect.after(widget, 'onClose', lang.hitch(this, function() {
dockableItem.setOpened(false);
this._removeFromOpenedIds(dockableItem.config.id);
dockableItem.iconItemNode.focus();
})));
}));
}else{
this.widgetManager.closeWidget(dockableItem.config.id);
this._removeFromOpenedIds(dockableItem.config.id);
}
}else{
panelId = dockableItem.config.id + '_panel';
if(dockableItem.isOpen){
// CHANGES ---
if(this.panelManager.getPanelById(panelId)){
this.panelManager.openPanel(panelId);
} else {
// CHANGES ---
dockableItem.setPanelIndex(this._calPanelIndex());
panelConfig = dockableItem.getConfigForPanel();
this.panelManager.showPanel(panelConfig).then(lang.hitch(this, function(panel){
// CHANGES --- // panel.setPosition(panelConfig.panel.position);
aspect.after(panel, 'onClose', lang.hitch(this, function(){
dockableItem.setOpened(false);
this._removeFromOpenedIds(dockableItem.config.id);
if(dockableItem.iconItemNode){
dockableItem.iconItemNode.focus();
}
}));
}));
} // CHANGES ---
... View more
01-30-2022
12:54 PM
|
0
|
0
|
2774
|
|
POST
|
Daniel, thanks for the reply. We also checked WAB v2.22 and the issue occurs in that version as well for the Launchpad Theme.
... View more
01-30-2022
06:56 AM
|
0
|
0
|
2807
|
|
POST
|
We are in the final stages of deploying a custom WAB site, and during final testing, a bug was found in the Launchpad Theme. During testing, it was noted that when you use the application, opening and closing docked widgets becomes slower and eventually significantly lags the application. A browsers refresh clears the issue but reoccurs with continued use. We use WAB v2.23 and have confirmed that the issue occurs in the default configuration from a fresh download. While monitoring the application, it was found that each time a docked widget is closed, either from the AnchorBarController or the close widget button, the _onNodeClick event is fired an additional time. For example, the first time a widget is closed, the event fires once, the second time the event twice, etc. If you open another widget, the same occurs starting at once the first time it is opened and incrementing after that. The issue can be demonstrated by placing a counsel.log at line 168 of the setOpened function of the BaseIconItems.js script in the Launchpad Theme, AnchorBarController widget. setOpened: function(value){
console.log("BaseIconItem.setOpened")
// console.trace()
if(value){
if(this.iconItemStatus){
domClass.add(this.iconItemStatus, 'selected');
}
if(this.iconItemNode){
domClass.add(this.iconItemNode, 'selected');
}
this.isOpen = true;
}else{
if(this.iconItemStatus){
domClass.remove(this.iconItemStatus, 'selected');
}
if(this.iconItemNode){
domClass.remove(this.iconItemNode, 'selected');
}
this.isOpen = false;
this.panelIndex = -1;
}
}, Below is a console.trace() from the setOpened function on the first time closing widget button in the AnchorBarController. We were planning on releasing our new website this week, and any help would be appreciated. I am NOT a developer and only know enough JavaScript to get myself into trouble. @DerekLaw or @RobertScheitlin__GISP any ideas or suggestions? Thanks.
... View more
01-30-2022
05:42 AM
|
0
|
6
|
2817
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-16-2019 05:49 PM | |
| 1 | 06-11-2025 03:32 PM | |
| 1 | 12-26-2023 09:15 AM | |
| 1 | 12-29-2023 10:06 AM | |
| 1 | 03-02-2023 05:52 AM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|