|
IDEA
|
Excellent. I think I will add that piece with ArcObjects since I have used a densify function within ArcMap with no issues.
... View more
03-31-2020
11:36 AM
|
0
|
0
|
2182
|
|
IDEA
|
No go. That tool is not available with a Basic License.
... View more
03-31-2020
09:43 AM
|
0
|
1
|
2182
|
|
IDEA
|
Just to confirm if I geodesic densify along a latitude or a longitude then the new vertices will lay on that latitude or longitude. ie if I have a polyline along the 80W longitude and I densify it geodesically then all new vertices will have an x=-80.
... View more
03-30-2020
02:25 PM
|
0
|
1
|
2182
|
|
IDEA
|
The Create Fishnet geoprocessing tool is great for producing grid feature classes. One thing I find that it lacks is a resolution parameter. With this parameter there will be intermediate vertices added to the polyline or polygon so that it doesn't look so blocky when a projected spatial reference is used for the map. As an example I have created a 10 degree x 10 degree grid for North America and then changed the map spatial reference to North Polar Stereographic. Because the grid doesn't have any intermediate vertices the feature class appears blocky. Using a resolution of say 0.1 degrees would introduce vertices within each feature so as to make it smoother. I think the logic to do this already exists in the Layout Grid function. If I go to my Layout and add a Grid and color it red you can see the difference.
... View more
03-30-2020
12:26 PM
|
0
|
9
|
2292
|
|
POST
|
What is the proper way to check if a SpatialReference is WGS84? I have tried Dim sr as SpatialReference = MapView.Active.Camera.SpatialReference If sr = SpatialReferences.WGS84 Then IsWGS4=True 'doesnt work If sr Is SpatialReferences.WGS84 Then IsWGS4=True 'doesnt work If If sr.Name = "GCS_WGS_1984" Then IsWGS4=True 'this works
... View more
03-30-2020
11:23 AM
|
0
|
2
|
1590
|
|
POST
|
I see many examples with QueuedTask.Run and am wondering when is the appropriate time to use it. In the examples below why would you want to wait for seemingly simple things like creating a spatial reference or creating a value array? Why is there a need to put these snippets in a QueuedTask.Run task? // example of using ArcGIS.Core.Geometry.SpatialReference objectvar spatial_ref = await QueuedTask.Run(() => { return SpatialReferenceBuilder.CreateSpatialReference(3857); });// call MakeValueArray on spatial_ref so that ExecuteToolAsync can internally use the objectvar sr_param = Geoprocessing.MakeValueArray(spatial_ref); var valueArray = await QueuedTask.Run(() => { var g = new List<object>() { geometry, }; // Creates a 8000-meter buffer around the geometry object // null indicates a default output name is used return Geoprocessing.MakeValueArray(g, null, @"8000 Meters"); });
... View more
03-30-2020
11:15 AM
|
0
|
2
|
3221
|
|
POST
|
That's great info. I did some WPF a while back so ill have to pick it up again.
... View more
03-26-2020
08:49 PM
|
0
|
0
|
2717
|
|
POST
|
Many thanks. Just to confirm...I cannot use WinForms with the ArcGIS Pro SDK. The GUI elements must be the based on the SDK templates. Is that a correct assumption?
... View more
03-25-2020
09:14 PM
|
0
|
2
|
2717
|
|
POST
|
I'm building my first pro add-in and am currently in the initial stages. I have my tab, groups, and buttons setup. I want to change the button graphics but am having trouble understanding where to get the standard ESRI images. There is a link here DAML ID Reference Icons · Esri/arcgis-pro-sdk Wiki · GitHub but not certain how to view the images within Visual Studio. Second question is about best practices for Windows Forms within my add-in. with ArcMap i displayed a Form for each of my functions. What is the best practices for Pro? Is it to use the Pro built in panels? Or what object should I use to display to the user? Some of my forms require quite a bit of input. Rgds Abel;
... View more
03-24-2020
11:50 AM
|
0
|
4
|
2803
|
|
POST
|
Cool. I think I am on board. I think all this info will definitely help me move forward.
... View more
03-23-2020
06:32 PM
|
0
|
0
|
2306
|
|
POST
|
OK I think I get it now. I did read the link for the framework but must have missed that part. Here is how I tweaked my Config.daml to make this work: <ArcGIS defaultAssembly="MyAddin.dll" defaultNamespace="MyCompany.MyDepartment.MyAddin"> <insertModule id="MyAddin_Module" className="ModuleMain" autoLoad="false" caption="My Addin Module">
... View more
03-23-2020
01:40 PM
|
0
|
2
|
2306
|
|
POST
|
Not really sure I understand what you are suggesting.
... View more
03-23-2020
08:56 AM
|
0
|
4
|
2306
|
|
POST
|
Went through the tutorial on building my first add-in for ArcGIS Pro. Two things I have a question about: 1. I typically change all my project's namespace to something like MyCompany.MyDepartment.AddInName. This seems to break my add-in. Is this supported and what changes would I need to make to my Config.daml to support the custom namespace? 2. I also change most default modules to something more intuitive. So I changed Module1 to MdlMyAddin. This also seems to break the add-in. Is this supported and what do I need to change in the Config.daml to support the custom module name? Abel
... View more
03-20-2020
12:31 PM
|
0
|
6
|
2422
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-25-2020 09:25 PM | |
| 1 | 08-17-2022 11:17 AM | |
| 1 | 07-24-2022 01:36 PM | |
| 1 | 07-14-2022 11:22 AM | |
| 1 | 07-14-2022 10:29 AM |
| Online Status |
Offline
|
| Date Last Visited |
10-27-2025
11:11 AM
|