POST
|
Hello all I have a python script that gets some parameters and return a json. It uses the json.dumps(Dictionary) command When I run it from PyScripter I get a great json (see below). When I run it from ArcMap (as a tool) or from the GpService the json have a few problems: 1) key (3435) is not quoted. 2) Single quote and not double quote 3) All strings have u (u'461') in the beginning From Gp Service: {3435: {'KM to': '5.0', 'road_num': u'461', ... From pyScripter: {"3435": {"KM to": "5.0", "road_num": "461" When I put the second string in json beautifier it looks great, the first one does not work at all. Is there any setting for the json.dumps that make it works?
... View more
07-14-2020
06:06 AM
|
0
|
0
|
324
|
POST
|
What are the enterprise versions Power BI is supported on. Is there a version for Enterprise 10.6.1? Thanks
... View more
07-07-2020
02:50 AM
|
1
|
1
|
725
|
POST
|
It is all very simple (that is why I am lost). Everything in done on a single machine with ArcMap, VS and ArcObjects. I created very simple Python script. Create a toolbox from it (simple toolbox not python toolbox). I run the tool from ArcMap with no problem. I created a VS solution trying to call the same tool and it fail. Thanks
... View more
07-06-2020
10:00 PM
|
0
|
0
|
1250
|
POST
|
Hi Fabiano What do you mean? The code is AddIn it does not required registration and we run from VS so it register automatically everything. Please explain
... View more
07-06-2020
06:34 AM
|
0
|
4
|
1250
|
POST
|
We tried both (with or without) and it does not work
... View more
07-01-2020
09:48 PM
|
0
|
1
|
1250
|
POST
|
Hi All We have a problem with calling our toolbox from ArcObjects. Check the attached screen shot. The toolbox exists, it was created with the same version of ArcGIS, it include one simple tool. It all works just fine on my machine but we tested it on a few machines on the client site and it fail with the error message you see. Anybody have any idea what is wrong? Thanks
... View more
06-30-2020
03:00 AM
|
0
|
9
|
1417
|
POST
|
Hi Uma Thanks for the answer. I check the docs and your session in the Dev Summit. The only other question is can you run GP tools in that way? Should you run them as system call with the python.exe? If you do it this way is there any way to check the status of the GP tool? Thanks Mody
... View more
06-24-2020
11:18 PM
|
0
|
1
|
3104
|
POST
|
Hi all There was some talks a while ago about the possibility of running some of the Pro SDK libraries in standalone application (Headless). I need to write a standalone application that have no UI (it is a service) that run some geoprocessing and some geodatabase stuff. It cannot be written in Python since I need some functionality (not ArcGIS) that exists only in C#. Is it possible? Is it supported? Thanks
... View more
06-23-2020
09:08 PM
|
1
|
3
|
3201
|
POST
|
Hi All We have a GeoDatabase in sql server and some layers with attachments. We create the attachments using ArcMap or Pro. Some of the features have many attachments including big ones (movies) and we will have many features. We would like to control the creation of the attachment table in the database. I could not find any keyword for this in the DBTUNE. I am not even sure what parameter is used to create any table (the B_ parameters?) but is the attachments table will have the same keyword as the layer? More then that is there any parameter to create this table that will include terabyte of data? Thanks
... View more
05-26-2020
03:59 AM
|
0
|
0
|
353
|
POST
|
Hello all This question have nothing to do with GIS but I hope somebody will help. I need to find the permission of all users for a file/directory. You get this in Windows by opening the file properties and select the security tab. I can use os.access to get my permissions but I need the other users/groups too. I could not find any way to do it with basic python libraries (or with the libraries that comes in Pro). Is there any way to do it with the basic libraries or do you need some external library and which one? Thanks
... View more
05-25-2020
10:30 PM
|
0
|
1
|
943
|
POST
|
Hi The best way is the opt file. Check here: Using the Options file—License Manager Guide | Documentation Have fun
... View more
05-19-2020
09:50 PM
|
0
|
0
|
469
|
POST
|
I got this part but the question is how do you do DataGrid.Items.Add in runtime adding different combobox values to each row.
... View more
05-11-2020
03:16 AM
|
0
|
1
|
1028
|
POST
|
Hi Gintautas I made a few tests but I am not able to fill each combobox in a different line with different values. The values is determine by my program and not taking from any table. Can you put a few lines of code? Thanks
... View more
05-11-2020
01:25 AM
|
0
|
1
|
1028
|
POST
|
Hi all I have a user control that gives some options for a layer (include layer name and some comboboxes depend of the specific layer). When I press a button to open the Dockpane I would like to insert this user control once for each layer in the map and fill them up. If I have 3 layers I will insert 3 user controls into the Dockpane and if I have 5 layers - 5 user controls. No need to get the event of adding layers, I assume the user will press the button if he change the number of layers. Any code samples? Thanks
... View more
05-05-2020
06:23 AM
|
0
|
5
|
1108
|
Title | Kudos | Posted |
---|---|---|
1 | 2 weeks ago | |
1 | 09-18-2017 04:16 AM | |
1 | 10-21-2019 11:04 PM | |
1 | 02-20-2020 05:42 AM | |
2 | 02-19-2020 11:27 PM |
Online Status |
Offline
|
Date Last Visited |
10 hours ago
|