-
Prozkoumejte Mosaic+ — doplněk ArcGIS Pro pro kontrolu hodnot pixelů obrazu Mosaic Dataset a zdrojových rastrů
Explore Mosaic+ 0.2.8 RC je doplněk ArcGIS Pro vyvinutý při práci na systému pro správu a analýzu výsledků hydraulického modelování. Tato potřeba vznikla při práci s Mosaic Datasets obsahujícími částečně se překrývající rastry, někdy s různým nativním rozlišením a mřížkami. Při kontrole jsme chtěli rychle rozlišit mezi: *…
-
Pro SDK: Nejlepší způsob, jak zpracovávat události úprav s více stínovými vrstvami (Utility Network)
Vyvíjím vlastní doplněk ArcGIS Pro, který zpracovává aktualizace atributů, když uživatel upraví nebo přesune existující prvky Utility Network. V naší mapě máme standardní architekturu UN: jedna podkladová třída prvků (např. WaterDevice) je v obsahu mapy zastoupena několika „stínovými“ vrstvami prvků (např. Hydranty,…
-
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…
-
Rozvržení získat aktuální měřítko mapy
Ahoj, vytvořil jsem rozvržení s Mapframe, které obsahuje různé vrstvy. Jedna nebo dvě vrstvy mají Definitionquery na uživatelem vybrané ID. Tato vrstva(y) budou přizpůsobeny (přiblíženy) v Mapframe. Poté chci získat aktuální měřítko mapy/mapframe, zjistil jsem, že kamera má měřítko. Ale když se podívám na hodnotu, liší se…
-
Podpora VS code
Ahoj všichni Dostal jsem za úkol migrovat starý plugin pro ArcMap vyvinutý před deseti lety na plugin pro ArcGIS pro (ArcGIS pro 3.5). Převážně používám VS code pro vývoj webu. Mohu použít VS code pro vývoj pluginů pro pro? Rychlé hledání ukazuje na VS studio 2022. Prosím, osvěťte mě v tom.
-
Umožnit doplňkům číst připojenou atributovou tabulku rastrové vrstvy (IDisplayTable pro rastrové vrstvy)
Shrnutí problému ArcGIS Pro umožňuje uživateli připojit samostatnou tabulku k atributové tabulce rastrové vrstvy (Přidat připojení na jakýkoli raster s VAT). Připojené sloupce se pak chovají jako součást atributové tabulky rastrové vrstvy všude v aplikaci: zobrazují se v zobrazení atributové tabulky, v pop-upech a v panelu…
-
Existují nějaké plány na přidání podpory pro Single Sign-On (SSO) v ovládacím prvku WebViewBrowser?
Ahoj, nedávno jsme museli přestat používat Esriho WebViewBrowser ovládací prvek, protože jsme potřebovali povolit Single Sign-On (SSO). Vlastnost AllowSingleSignOnUsingOSPrimaryAccount třídy CoreWebView2EnvironmentOptions umožňuje povolit SSO, ale WebViewBrowser spravuje konstrukci a inicializaci prostředí WebView2 a žádné…
-
Open-source Forestry Toolkit pro ArcGIS Pro – terénní práce, mapování dronem, ohniska požárů a analýza lesů
Ahoj všichni, Rád bych sdílel malý open-source projekt, na kterém pracuji, nazvaný Forestry Toolkit, doplněk pro ArcGIS Pro postavený kolem praktických pracovních postupů v lesnictví a terénních pracích. Původně jsem ho začal vyvíjet, abych zjednodušil některé opakující se GIS úkoly, se kterými se setkávám při práci v…
-
MapFrame zamrzne, když je přidána vrstva
Ahoj, mám doplněk, který vytvoří rozvržení a poté exportuje do souboru PNG. Problém je, že když přidám vrstvu do mapy, která se používá k vytvoření Mapframe, zasekne se to (na tomto řádku). Také jsem chvíli čekal, abych zkontroloval, zda nejde o problém s výkonem, ale po 5-10 minutách se nic nestane. 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…
-
Kdy nepoužívat QueuedTask
Vyvíjím doplněk, kde je můj hlavní pracovní postup přihlásit se k událostem v ArcGIS Pro a hlásit souhrn důležitých událostí na náš server, který pohání dashboard na webovém klientu. Velkým cílem našeho doplňku je být co nejméně rušivý pro uživatele. Tato myšlenka spolu s potřebou někdy použít MCT nás vede k silnému…
-
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…