POST
|
I've just found out that this only happens if the upper layer has been generated by a buffer gp tool (Multiple Ring Buffer).
... View more
yesterday
|
0
|
0
|
12
|
POST
|
I'm using 3.3.1 and I notice it for the first time. Removing and readding the layer or refreshing the view doesn't work.
... View more
yesterday
|
0
|
0
|
17
|
POST
|
I'm using ArcGIS Pro 3.3.1. There are two polygon layers in my map. For both of them, layer blending is set to normal, but they still blend with each other. I want to turn it off! How can I achieve this? Thank you, Barbara
... View more
Tuesday
|
0
|
3
|
93
|
POST
|
Thank you, Charles. In my code sample above, I created the Geodatabase twice, what is wrong. The correct code to load stereo images into a stereo map is: await QueuedTask.Run(() =>
{
CIMMap cimMap = stereoMap.GetDefinition();
var stereoProps = cimMap.StereoProperties;
WorkspaceFactory workspaceFactory = WorkspaceFactory.FileGDB;
var fileGdbConnPath = new FileGeodatabaseConnectionPath(new Uri(gdbPath, UriKind.Absolute));
using (var fileGdb = new Geodatabase(fileGdbConnPath))
{
string workspaceConnectionString = fileGdb.GetConnectionString();
MosaicDataset mosaicDataset = fileGdb.OpenDataset<MosaicDataset>(mosaicName);
CIMStandardDataConnection mosaicDataConnection = new CIMStandardDataConnection()
{
WorkspaceConnectionString = workspaceConnectionString,
WorkspaceFactory = workspaceFactory,
Dataset = mosaicName,
DatasetType = esriDatasetType.esriDTMosaicDataset
};
var (leftImageID, rightImageID) = GetStereoImages(mosaicDataset);
stereoProps.SourceType = StereoSourceType.StereoModelCollection;
stereoProps.StereoModelCollection = mosaicDataConnection;
stereoProps.LeftImageID = leftImageID;
stereoProps.RightImageID = rightImageID;
cimMap.StereoProperties = stereoProps;
stereoMap.SetDefinition(cimMap);
}
return Task.CompletedTask;
}); And the code doesn't run away any more when I call Geodatabase gdb = new Geodatabase(fileGdbConnPath)! I also suspect that there was a problem with the ArcGIS Pro 3.3 Beta Version.
... View more
05-13-2024
05:36 AM
|
0
|
0
|
224
|
POST
|
Sorry, my post was too short. The entire code to programmatically load stereo images into a stereo map is the following: await QueuedTask.Run(() =>
{
CIMMap cimMap = stereoMap.GetDefinition();
var stereoProps = cimMap.StereoProperties;
WorkspaceFactory workspaceFactory = WorkspaceFactory.FileGDB;
var fileGdbConnPath = new FileGeodatabaseConnectionPath(new Uri(gdbPath, UriKind.Absolute));
Geodatabase gdb = new Geodatabase(fileGdbConnPath);
string workspaceConnectionString = gdb.GetConnectionString();
using (var fileGdb = new Geodatabase(fileGdbConnPath))
{
MosaicDataset mosaicDataset = fileGdb.OpenDataset<MosaicDataset>(mosaicName);
CIMStandardDataConnection mosaicDataConnection = new CIMStandardDataConnection()
{
WorkspaceConnectionString = workspaceConnectionString,
WorkspaceFactory = workspaceFactory,
Dataset = mosaicName,
DatasetType = esriDatasetType.esriDTMosaicDataset
};
var (leftImageID, rightImageID) = GetStereoImages(mosaicDataset);
stereoProps.SourceType = StereoSourceType.StereoModelCollection;
stereoProps.StereoModelCollection = mosaicDataConnection;
stereoProps.LeftImageID = leftImageID;
stereoProps.RightImageID = rightImageID;
cimMap.StereoProperties = stereoProps;
stereoMap.SetDefinition(cimMap);
}
return Task.CompletedTask;
}); Even though I put the entire code within a queued task and I await for it (await QueuedTask.Run(() =>), the code runs away when I call Geodatabase gdb = new Geodatabase(fileGdbConnPath), and I 'm not able to wait until the stereo images are loaded. I have to wait until the images are loaded before I can load layers to the stereo map. Alternatively, I could wait for the images to be loaded in the method OnDrawComplete(MapViewEventArgs args) in my module. This would be a workaround. Thanks for your help anyway.
... View more
05-08-2024
04:03 AM
|
0
|
0
|
298
|
POST
|
I change the data source of a stereo map programmatically (see here ). I dissassembled the following line of code var workspaceConnectionString = new Geodatabase(fileGdbConnPath).GetConnectionString(); to Geodatabase gdb = new Geodatabase(fileGdbConnPath);
string workspaceConnectionString = gdb.GetConnectionString(); to better explain the problem. Creating the gdb has to be run on the MCT thread: Geodatabase gdb = new Geodatabase(fileGdbConnPath); Ok, I did this (see code in above link). However, when I run this line of code, it is running away on a thread, but I want to await it. How can I achieve this? This is not supported by the compiler: Geodatabase gdb = await new Geodatabase(fileGdbConnPath); Thanks, Barbara
... View more
05-07-2024
07:10 AM
|
0
|
5
|
399
|
POST
|
Holly, no, I didn't figure it out. However, I'm in the Beta Testing program for ArcGIS Pro 3.3, and I tried to open a project with a broken link to a gdb on a remote machine. The project opens fast. So I conclude that this issue is fixed in version 3.3. Barbara
... View more
04-17-2024
05:57 AM
|
0
|
1
|
124
|
POST
|
Hi Charles, thank you for the clarification! I wasn't aware of it. This is very good to know, and it also explains why in one of my managed configurations, Initialize() was called, and in the other not. In both of them, autoLoad was set to false. Actually, why is the default for autoLoad = false? Wouldn't it be easier for developers if it was true? At least, I wouldn't have run into my problem explained above...
... View more
03-25-2024
02:06 AM
|
0
|
0
|
245
|
POST
|
@GKmieliauskas: Thank you for your reply! 1. I found out what caused the first problem. The implementation for the command in the ViewModel must be public, not internal: public ICommand CommandStartObject
{
get
{
return new RelayCommand(async (args) => await StartObjectAsync(), () => true);
}
} 2. You solved the second problem: if autoLoad in the Config.daml, is set to true, the function Initialize() in the module is called: <insertModule id="BiotopApp_Module" className="BiosModule" autoLoad="true" caption="BiosModule">
... View more
03-21-2024
05:06 AM
|
0
|
2
|
292
|
POST
|
I'm experiencing very strange behavior. I have two managed configurations. In the first, everything works fine. In the second, I'm running into the two following problems: 1. The binding in my dockpane is not working. The dockpane is referenced in the Config.daml as follows: <dockPane id="BiotopApp_View_Dockpanes_DockStart" caption="Objekt starten" className="BiotopApp.View.Dockpanes.DockStartViewModel" dock="group" dockWith="esri_core_projectDockPane">
<content className="BiotopApp.View.Dockpanes.DockStartView" />
</dockPane> I define a button in DockStart.xaml as follows: <Button x:Name="btnStart" Content="Objekt starten" Command="{Binding CommandStartObject}" IsEnabled="{Binding CommandStartEnabled}" Background ="LightGreen" HorizontalAlignment="Left" Margin="202,493.4,0,0" Grid.Row="1" VerticalAlignment="Top" Width="108" RenderTransformOrigin="0.776,-0.2" Height="26"/> The code in DockStartViewModel for the button is as follows: internal ICommand CommandStartObject
{
get
{
return new RelayCommand(async (args) => await StartObjectAsync(), () => true);
}
} 2. When I start the managed configuration, the following method is never called: internal class BiosModule : Module
{
protected override bool Initialize()
{
return base.Initialize();
}
... What am I overlooking? I am doing exactly the same things in both Managed Configurations. One last question: how does the .xaml know to which class it is bound? It is not the following line of code: d:DataContext="{Binding Path=DockStartViewModel}">
... View more
03-20-2024
06:39 AM
|
0
|
4
|
386
|
IDEA
|
Right now, I am sitting in front of ArcGIS Pro that is starting up and displays: "Loading Map...". It has been loading the map for 40 minutes. And is still loading. See my following question to the ArcGIS Pro Forum: https://community.esri.com/t5/arcgis-pro-questions/is-there-a-way-for-setting-maximal-waiting-time/m-p/1388021#M79444 There doesn't seem to be an option for setting the maximal waiting time for broken links. It's very annoying. I cannot wait more than 40 minutes until a map with a broken ArcMap Server link opens. It would be very helpful if the project opened within this maximal waiting time and the broken link would be displayed. So I could identify which layer causes the problem. We often run into this problem.
... View more
03-06-2024
02:24 AM
|
12
|
4
|
570
|
POST
|
It happens quite often that when opening an ArcGIS Pro project, the link to an ArcGIS Server layer is broken because there is a problem with the server. Currently, it takes a very long time (> 10 minutes) until the project opens and the layer displays with a broken link. I found another post addressing this issue: https://community.esri.com/t5/arcgis-pro-questions/local-server-taken-offline-issue-with-pro-projects/td-p/1332452 Is there a way for setting a maximum waiting time for a layer with broken links? This would be great.
... View more
02-28-2024
05:37 AM
|
2
|
3
|
286
|
POST
|
Tim Ormsby from the ArcGIS Pro Documentation Team just wrote me that keyboard shortcuts can be exported in the dialog "Customize The Ribbon". This isn't clearly visible in the GUI. Therefore, he will add this to the documentation.
... View more
02-08-2024
05:15 AM
|
0
|
0
|
453
|
POST
|
Hello Robert, I added a comment to this help page. Something else: do you have a reply to this question: https://community.esri.com/t5/arcgis-image-analyst-questions/where-are-3d-input-device-options-saved/m-p/1367785#M574 ?
... View more
01-18-2024
04:58 AM
|
0
|
1
|
532
|
Title | Kudos | Posted |
---|---|---|
1 | 09-20-2020 02:31 AM | |
12 | 03-06-2024 02:24 AM | |
2 | 02-28-2024 05:37 AM | |
1 | 01-08-2024 05:13 AM | |
1 | 12-22-2023 04:37 AM |
Online Status |
Offline
|
Date Last Visited |
yesterday
|