POST
|
If you use the python that comes with server it should use the server license see here: https://enterprise.arcgis.com/en/server/latest/develop/windows/scripting-service-publishing-with-arcpy.htm Note that sometime when you install both Pro and server on the same machine there is a mix between the python installations and it uses the wrong license even if you use the server's python. It better not to install Pro on the server machine.
... View more
yesterday
|
1
|
1
|
38
|
POST
|
I found the way to do it but it still in testing. First you create and publish a separate script ("child") that do the part that should be executed in parallel. It gets parameters just like any gp service. Then you write a tool that run gp service (use this: https://enterprise.arcgis.com/en/server/10.8/publish-services/windows/using-a-service-in-python-scripts.htm#ESRI_SECTION1_76BCC792830C479298250C5C06652EE6 ). In such a script you can control the number of parallel instances, giving each one a different variable and then check that all instances are finished before continue the father script that aggregate or append the results. the child script should return his private results to the caller somehow (url to the results or string). After the father script was running in Pro I had not problem publishing it as gp service as a "father" service. Running this father service I could see the number of running processes for the "child" service going up when the father script run a few instances of the child in parallel.
... View more
2 weeks ago
|
0
|
0
|
101
|
POST
|
Hi all My message setting is info and I get NO messages. I am aware of the resources problem. If you use multiprocessing wisely you can limit the number of parallel processes. If you have a server with many cores and each gp service do a lot of work but does not called very often you should be able to get better performance. Currently the tool just ended without calling the function I need to run in parallel. Again, it works on Pro so my code is working. Something in the server env stopping it. Thanks
... View more
3 weeks ago
|
0
|
0
|
237
|
POST
|
I would like to use multiprocessing module in python to use more cores in process that I can split to independent parts. I create a small script. Running it in Pro works (but open a CMD window) and I could publish it to the server. It does not work on the server and gives no error message. Second test that I tried is to write a python that uses multiprocessing. Then create a short bat file that call this script. Then my main script in pro just do os.system(bat file). Again, runs in Pro, published with no comments but does not run on server. Found this: https://community.esri.com/t5/python-questions/usage-of-multiprocessing-in-a-python-based/m-p/50820#M4017 from few years back with no answer. Anybody have an idea? Thanks
... View more
4 weeks ago
|
0
|
4
|
298
|
POST
|
Hi Marco We are going to use local PostgreSQL to keep very few (5-10) layers with about 1-2M features each. We need best performance with drawing and some statistics in dashboards. Can you give a few hints about the configuration assuming that I do not have the time to become an expert in PostgreSQL configuration? Thanks
... View more
4 weeks ago
|
0
|
1
|
225
|
POST
|
Hi Marco Thanks for the information but our configuration are a little different. Both the hosted database and the stand alone Postgres are in the same network segment and have identical network. The question is really did esri done any tricks to make the hosted better then just standard installation of Postgres? Thanks
... View more
05-13-2025
09:27 PM
|
0
|
1
|
302
|
POST
|
We have some simple large layers (about 1M features) that we like to display and use in Dashboards with some statistics. We can save them to hosted database (that is really Postgres) or build our out Postgres database. There are some advantages and disadvantage to both option. Do you think the performances should be different? Do you think esri build the Postgres of the hosted in a different way that we install a local Postgres? Thanks
... View more
05-12-2025
10:00 PM
|
0
|
5
|
404
|
POST
|
It will also be nice if the event can return something that will stop the tool (cancel code?)
... View more
05-10-2025
10:11 PM
|
0
|
0
|
257
|
POST
|
I work a lot with gp services. This is very powerful tool but the doc's are not great and there are some bugs. I could not do it without access the server directory and see the published script. In most cases when you see the published script and you understand what the publish process do you can fix the original script and republished. In some cases, updating the published script is the easiest way. It is unsupported but I got this advise from esri support. Dropping extra quote is something you can do on the published script. If you do not have access to the server I would install local server just for these tests Have fun
... View more
05-10-2025
10:06 PM
|
1
|
1
|
236
|
POST
|
Hi Wolf Thanks for the answer. Do you see any way to remove any GPtools from Pro on startup time? Maybe with Configuration? Maybe overwrite it with my own tool (that will make some tools before running the original tool)? Thanks
... View more
05-10-2025
09:42 PM
|
0
|
0
|
258
|
POST
|
I have a few gp tools that I do not want the user to use or at least use with caution. So the first option is to remove some gp tools from Pro using the SDK - is there such an option? If this is not possible I would like to pop a warning message. I tried to get the GPExecuteToolEvent. I see in the event parameters a lot of info but I could not find the name of the running tool. Any idea? Thanks
... View more
05-08-2025
03:50 AM
|
0
|
3
|
337
|
POST
|
I have some issues with the studio. After I created samples (I could not find the way to import polygon layer so I created them in the studio) I try to create chips. The export option gave me a list of my Enterprise data Stores. So I created a new Data Store that is a folder and gave it as target to the export. The Export finished successfully. In the folder I created I can see the image chips as small image files. Then I try to register this folder and got a message that there are no image chips in the directory. I tries to go to the model and select this folder but, again, I got a message that it is empty. What is the correct workflow to creating chips and use it for the model? Thanks
... View more
05-06-2025
04:53 AM
|
0
|
1
|
164
|
POST
|
As far as i understand the order of installations (Pro and server) define if this will be a problem or not. If you remove Pro from the server it works for me every time. Sometime uninstall the Pro and then reinstall (if you must have it) works too
... View more
05-03-2025
09:55 PM
|
0
|
1
|
427
|
POST
|
There is a lot of data and two servers so the DSM's are on network drive. I will test it on a local drive two (The servers are virtual). It is not going to be easy to manage it if it helps.
... View more
04-27-2025
09:54 PM
|
0
|
0
|
190
|
POST
|
Hi all My DSM is in UTM and tiff format. The observer point is in UTM too. Since this should run as a gp service on a server with no graphic card I do not think Geodesic Viewshed will do better. I am thinking about splitting to big tiles, do separate visibility on each tile and then merge the results but did not have the time to test it yet. Thanks
... View more
04-22-2025
09:34 PM
|
0
|
1
|
250
|
Title | Kudos | Posted |
---|---|---|
1 | yesterday | |
1 | 01-22-2018 02:51 AM | |
1 | 05-10-2025 10:06 PM | |
1 | 07-25-2017 10:07 PM | |
1 | 02-04-2025 10:10 PM |
Online Status |
Offline
|
Date Last Visited |
yesterday
|