-
Explore Mosaic+ — Add-in do ArcGIS Pro para inspecionar valores de pixels da imagem e das fontes do Mosaic Dataset
Explore Mosaic+ 0.2.8 RC é um Add-in do ArcGIS Pro desenvolvido durante o trabalho em um sistema para gerenciar e analisar resultados de modelagem hidráulica. A necessidade surgiu durante o trabalho com Mosaic Datasets que contêm rasters parcialmente sobrepostos, às vezes com diferentes resoluções e grades nativas. Durante…
-
SDK Pro: a melhor forma de lidar com eventos de edição com várias camadas de sombra (Utility Network)
Estou desenvolvendo um complemento personalizado do ArcGIS Pro para lidar com atualizações de atributos quando um usuário modifica ou move feições existentes da Utility Network. No nosso mapa, usamos uma arquitetura padrão da UN: uma única classe de feição subjacente (por exemplo, WaterDevice) é representada por várias…
-
FeatureDatasetDefinition from FeatureClassDefinition
I'm working on the schema of a geodatabase by working with the definitions of the items. One thing I want to check on is what Feature Dataset a Feature Class is contained in. But the SDK only appears to have a GetFeatureDataset method on the FeatureClass itself and not in the FeatureClassDefinition. Is there really no way…
-
How to do regression testing with ArcGIS Pro 3.7
Following the online advice https://doc.esri.com/en/arcgis-pro/latest/sdk/api-reference/conceptdocs/docs/ProGuide-Regression-Testing.html for regression testing an ArcGIS Pro addin, the file TestEnvironment.cs refers to a Task TestModeInitializeAsync, defined in ArcGIS.Desktop.Internal.Core.PropAppInternalExtensions. This…
-
Layout obtém escala atual do mapa
Olá, Eu criei um Layout com um Mapframe que contém várias camadas. Uma ou duas camadas têm uma Definitionquery para um ID selecionado pelo usuário. Essa(s) camada(s) será(ão) ajustada(s) (zoom para) no Mapframe. Depois disso, quero obter a escala atual do mapa do mapa/mapframe, encontrei que a câmera tem uma escala. Mas…
-
Suporte do VS code
Olá a todos Fui encarregado de migrar um plugin legado do ArcMap desenvolvido há uma década para um plugin do ArcGIS pro (ArcGIS pro 3.5). Eu uso predominantemente o VS code para meu desenvolvimento web. Posso usar o VS code para desenvolvimento de plugins pro? Uma busca rápida indica o VS studio 2022. Por favor, esclareça…
-
Permitir que add-ins leiam a tabela de atributos unida de uma camada raster (IDisplayTable para camadas raster)
Resumo do problema O ArcGIS Pro permite que um usuário una uma tabela independente à tabela de atributos de uma camada raster (Adicionar Junção em qualquer raster com um VAT). As colunas unidas então se comportam como parte da tabela de atributos do raster em toda a aplicação: aparecem na visualização da tabela de…
-
Há planos para adicionar suporte ao Single Sign-On (SSO) no controle WebViewBrowser?
Olá, recentemente tivemos que parar de usar o Esri's WebViewBrowser controle porque precisávamos que o Single Sign-On (SSO) fosse ativado. A propriedade AllowSingleSignOnUsingOSPrimaryAccount da classe CoreWebView2EnvironmentOptions permite ativar o SSO, mas o WebViewBrowser gerencia a construção e inicialização do…
-
Kit de Ferramentas Florestais Open-source para ArcGIS Pro – trabalho de campo, mapeamento por drone, pontos quentes de incêndio e análise florestal
Olá a todos, Gostaria de compartilhar um pequeno projeto open-source no qual venho trabalhando chamado Forestry Toolkit, um add-in para ArcGIS Pro construído em torno de fluxos de trabalho práticos de silvicultura e trabalho de campo. Eu comecei originalmente para simplificar algumas das tarefas repetitivas de GIS que…
-
MapFrame trava quando um layer é adicionado
Olá, eu tenho um Add-in que cria um layout e depois exporta para um arquivo PNG. O problema é que quando adiciono um layer ao mapa usado para criar o Mapframe, ele trava (nesta linha). Também esperei algum tempo para verificar se era um problema de desempenho, mas após 5-10 minutos nada acontece. oMapframe =…
-
ArcGIS Pro MCP
Dear all, I have released a free, open-source ArcGIS Pro add-in that lets an AI assistant work on the project you have open — style layers, run geoprocessing, query attributes, build layouts — by asking in plain language. "Colour the provinces by area, pastel red through green." "Which are bigger than 15,000 km²? Zoom to…
-
Quando não usar QueuedTask
Tenho desenvolvido um add-in onde meu fluxo de trabalho principal é assinar eventos no ArcGIS Pro e relatar um resumo dos eventos importantes para nosso servidor, que alimenta um painel em um cliente web. Um grande objetivo do nosso add-in é ser minimamente intrusivo para o usuário. Essa ideia, junto com a necessidade de…
-
How to deal with Nulls in the Geodatabase Tables?
Hi Everyone, I am relatively new to C# and this is a C#/SDK question. I have been switching back and forth between DBNull.Value versus null to identify null values. Can you someone confirm which is the correct one to use for my case? I am performing calculations using the data from a geodatabase table. Each set of values…
-
Main Group “Zoom To Layer” gives incorrect extent when a subgroup contains an empty layer
I have the following layer structure in ArcGIS Pro: Main Group ├── FeatureLayer A ├── FeatureLayer B └── Sub Group ├── FeatureLayer C └── FeatureLayer D (empty) Zoom To Layer works correctly for all individual feature layers and also for the Sub Group. However, when I right-click the Main Group and select Zoom To Layer,…
-
A CoreHost app targeting .NET 10 crashes when working with Pro 3.6 and previous
We have a small CoreHost application targeting .NET 8 that works with Pro 3.4-3.6. To make it also work with Pro 3.7 we changed the .NET target to 10. We expect the new version to work with Pro 3.4-3.7 as .NET supports backward compatibility and Pro 3.7 can load add-ins targeting .NET 6-10. The application (as recommended)…
-
ArcGIS Pro 3.6.1 Local Scene does not refresh imagery after adding/removing an elevation source until zooming
Hello, I found what appears to be a display issue in ArcGIS Pro 3.6.1 Local Scene. Steps to reproduce: * Create a new ArcGIS Pro project. * Add a new Local Scene and remove the default 2D map. * Add an elevation source (DEM) to the Ground surface. * Add an imagery raster layer. * Add or remove the elevation source again.…
-
Edit Operation Not Enabling Undo in ArcGIS Pro
All - I've been trying to find my problem for days and am stuck. The attached snippet has code that updates feature attributes inside an Edit Operation. When executed the updates are applied as expected, but the ArcGIS Pro "Undo" does not become enabled. The crux of the code is below. The code is attached. Any suggestions…
-
ArcGIS Pro Compatibility
We are building an ArcGIS Pro add-in with the ArcGIS Pro SDK. What's a good strategy to support older versions of ArcGIS Pro, especially versions using different .NET runtimes? For example, if we are building our next release with the ArcGIS Pro SDK 3.6, how should we support users running ArcGIS Pro 3.5 and older, or even…
-
Implementing Custom Asynchronous Job Pattern (SubmitJob/Status/Results) in C# SOE using ArcGIS Enterprise SDK
Hello everyone, I am developing a custom Server Object Extension (SOE) using C# and the ArcGIS Enterprise SDK. My extension needs to run heavy, long-running queries and traces against a Utility Network dataset. Because these operations can exceed standard HTTP and Web Adaptor timeouts, a synchronous REST request isn't…
-
SchemaBuilder error with enterprise geodatabase
Hi, I wrote code that adds a field to a feature class using SchemaBuilder. It works correctly with a file geodatabase, but not with an enterprise geodatabase hosted on PostgreSQL. In that case, an error message is returned stating: "The Fields collection contained multiple geometry fields. (st_perimeter(shape)". The error…
-
Get Reference to a "Trace Network" in a Geodatabase
Google Gemini says I should be able to get a reference to a Trace Network using the following code. TraceNetwork traceNetwork = gdb.OpenDataset<TraceNetwork>("MyNetwork"); (see below) I don't see "TraceNetwork" as a valid definition for a geodatabase object when I try this. Am I missing something, or is there another way…
-
Default Version Guard - ArcGIS Pro SDK add-in
The Problem If you edit enterprise, branch-versioned feature service data in ArcGIS Pro, you've probably had that moment of dread wondering whether you just made edits on the Default version instead of a child branch version. Even if you set Default to protected, users with Portal admin & version admin roles have the…
-
ArcGIS Enterprise Patch and QueryFilter issues/changes
Issue has resolved itself.
-
When I programatically select from a FeatureLayer anytime ofter selecting on the map, The application freezes.
I have a class that wraps a FeatueLayer. This is to make sure I can make MCT calls organically from other code. public class FeatureLayerWrapper { FeatureLayerWrapper(FeatureLayer featLayer){ RawfeatureLayer = featLayer; } public FeatureLayer RawfeatureLayer { get; private set;} public async Task<Selection> Select(…
-
Table Name from TOC returned prefaced with a "%"
Hi - I'm just trying to understand what's going on here. I have a stand-alone table from an Oracle database in my TOC named MAXIMO.ZXQSERVPOINT. See below. When, in code, I iterate through the tables present in the TOC the name is returned as "MAXIMO.%ZXQSERVPOINT". See below. What's the deal with the "%" ?? Any info would…