POST
|
Hi Uma Thanks for the answer and code. I will try it. What will happened if I add a few elements one by one? Will GetElements().FirstOrDefault() always return the last element added? If it is true then I need to do a loop with AddElement, GetElements().FirstOrDefault and SetName - for each element I would like to add - correct Thanks Mody
... View more
10-07-2020
10:47 PM
|
0
|
2
|
841
|
POST
|
Hi All I am trying to create a graphic element with code and then to get the element by the name. Code example below. The FindElement does not find anything. Open the element in Pro show that the name is still the default. In all the samples of FindElement it looks by default names (Point, Point 1, etc). Is it a bug?? Thanks Mody QueuedTask.Run(() => { //Place symbol in the center of the map var extent = MapView.Active.Extent; var location = extent.Center; //specify a symbol var pt_symbol = SymbolFactory.Instance.ConstructPointSymbol( ColorFactory.Instance.GreenRGB); //create a CIMGraphic var graphic = new CIMPointGraphic() { Symbol = pt_symbol.MakeSymbolReference(), Location = location, //center of map }; graphic.Name = "Mody"; graphicsLayer.AddElement(graphic); var elems = graphicsLayer.FindElements(new List<string>() { "Mody"})[0]; });
... View more
10-06-2020
06:39 AM
|
0
|
4
|
906
|
POST
|
Hi all I did not tested it but maybe you should use arcpy.SetParameter in your python code to return a value?
... View more
09-30-2020
09:33 PM
|
1
|
1
|
3556
|
POST
|
A map that have only one ImageService that show Mosaic. All other parameters are default (I create tpk not tpkx). Please try. Thanks
... View more
09-30-2020
06:47 AM
|
0
|
0
|
726
|
POST
|
Hi Mark The tool runs without error message and create tpk file but it is empty. Thanks
... View more
09-29-2020
10:34 PM
|
0
|
1
|
726
|
POST
|
Hello I have an non cache ImageService on a local server. I would like to create a package of a small area from the service to load to offline Runtime application. I think the best way is to create a local cache for it. I use Pro, how do I create such a package from pro? Thanks
... View more
09-23-2020
10:47 PM
|
0
|
4
|
779
|
POST
|
You cannot write directly from Desktop to enterprise tables that are not register in the Geodatabase. You cannot start edit in ArcMap and you cannot do it in arcpy too. You must register the table or use external software (pyodbc) Have fun
... View more
09-22-2020
10:47 PM
|
2
|
2
|
1844
|
POST
|
Hi Uma Is their any easy way to plash graphics in 2.6 I tried to play with add and remove element, change symbol and Sleep in between. It looks really bad. Thanks Mody
... View more
09-22-2020
03:47 AM
|
0
|
2
|
1925
|
POST
|
Hi Vardan About the first issue I would try to find a raster that was not added and try to understand why. Maybe problem with the spatial reference or with the raster format. About the second issue if the added images changes the boundary the service must be restarted. Have fun
... View more
09-16-2020
10:50 PM
|
1
|
1
|
391
|
POST
|
Hi All When you search webmap for layers you have the "Only show content within map area" I found this in the ideas: https://community.esri.com/ideas/11676 Is it possible to do it by code? Pro SDK? Python API? It looks like basic functionality to me. Any ideas or code samples will be great. Thanks
... View more
09-13-2020
09:55 PM
|
0
|
0
|
171
|
POST
|
If you have 2 licenses on your machine you can de authorize them and then authorize only 1. Then install license manager on the other machine and authorize the other license. Floating licenses does not have to be installed on one machine. Have fun
... View more
09-09-2020
10:00 PM
|
0
|
0
|
216
|
POST
|
We are loading a map package with relashionship between a layer and a table. We would like to show the user a joined layer where the table is joined (the relationship is 1:1). The first idea is to use a gpk that include a "join" gp tool. The join command create a layer, do we have to copy it (CopyFeatures) into some temporary feature class to show it? If we do not like to use local server is there any simple way to do it in code without local server? Thanks
... View more
09-09-2020
07:45 AM
|
0
|
0
|
260
|
POST
|
I have a 3 band raster and in one of the bands there are some NoData pixels. When I show it in Pro the area where one band have NoData value become transparent and I can see the layers under (looks strange). For this and other reasons I would like to fix this by replacing the NoData with other value (for example zero). The only way I found to do this is to build a raster function that had 3 different extract bands function to split the bands. Then On the band that has the problem I run IsNull and then Con giving a constant raster when the original is null. Finally I combine the 3 bands again. I still have problems with this. Is this the only way? I would like to keep the original raster without change. Thanks
... View more
09-06-2020
06:19 AM
|
0
|
1
|
835
|
POST
|
Hi Hamid Check this: Geoprocessor | ArcGIS API for JavaScript 4.16
... View more
08-31-2020
09:59 PM
|
1
|
0
|
236
|
POST
|
Hi Miri What do you need spatiotemporal for if you do not have geoevent/geoenalytic server?
... View more
08-30-2020
11:15 PM
|
0
|
0
|
626
|
Title | Kudos | Posted |
---|---|---|
1 | 02-20-2020 05:42 AM | |
1 | 02-19-2020 11:27 PM | |
1 | 01-10-2019 07:14 AM | |
1 | 10-30-2018 11:45 PM | |
5 | 11-18-2018 06:19 AM |
Online Status |
Offline
|
Date Last Visited |
08-13-2023
10:16 PM
|