|
POST
|
So we return to the original question. How do I create a in memory feature class and use it in the SDK?? This is basic functionality in ArcObjects.
... View more
07-28-2020
09:00 PM
|
0
|
4
|
10029
|
|
POST
|
Hi Nabbir Just tested it. Creating a feature class in memory with the GP command works. The line: new Geodatabase(new FileGeodatabaseConnectionPath(new Uri(@"memory")))
fail with wrong Uri.
What are we missing?
Thanks
... View more
07-28-2020
07:55 AM
|
0
|
1
|
10029
|
|
POST
|
Hi Nobbir Thanks for the great answer. I understand that if we work in Pro (2.4) we should use memory/out_fc in Python and var outfc = "memory\\out_fc" in the SDK to get the best option. Thanks
... View more
07-27-2020
09:21 PM
|
0
|
0
|
10027
|
|
POST
|
There is no problem to create FGDB on disk and access it from the SDK We would like to use in memory workspace to get better performance for temporary layers.
... View more
07-27-2020
07:14 AM
|
0
|
0
|
10027
|
|
POST
|
Hello all I could not find any class or example for in memory workspace. From the other hand there are many arcpy examples with in memory. So (for example) if I run a GP tool from the SDK and let arcpy create a feature class in memory how do I access it from my code after it was created. Thanks
... View more
07-27-2020
02:53 AM
|
0
|
20
|
14743
|
|
POST
|
I would like to build a tool that will load MXD as web map (with reference layers). I found the MXD to web map GP tool in ArcMap that does exactly this. Since it is a python script I checked the source and found that its base on ago library. In github it say that this library is not updated in the last few years but this is still supported tool. I could write a script that combine ArcMap arcpy (that can publish to server) and python API that can create a web map from map service. Maybe I can write a script that call REST calls to do it. Anybody have done it or have any advice? The script should run for a few years until everybody moved to Pro Thanks
... View more
07-20-2020
10:13 AM
|
0
|
1
|
1224
|
|
POST
|
Hi Nadir You use direct connect. The help is not very updated but you use the same method as for workgroup sde database. Check here: How to connect to a geodatabase—ArcObjects 10.4 Help for Java | ArcGIS for Desktop Check the ArcMap connect doc, it is basicaly the same Connect to Microsoft SQL Server from ArcGIS—Help | Documentation Have fun
... View more
07-15-2020
09:50 PM
|
0
|
1
|
1589
|
|
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
|
519
|
|
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
|
1057
|
|
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
|
3241
|
|
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
|
3241
|
|
POST
|
We tried both (with or without) and it does not work
... View more
07-01-2020
09:48 PM
|
0
|
1
|
3241
|
|
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
|
3408
|
|
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
|
4051
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Wednesday | |
| 1 | 11-25-2024 06:09 AM | |
| 1 | 01-21-2026 09:53 PM | |
| 1 | 12-15-2025 10:07 PM | |
| 1 | 09-17-2025 06:35 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|