set PYTHONPATH to the location of the Python3 libraries. I found these in ServerRuntime.pth
I tried this on AGS 10.5.1, i suspect the python3 arcpy will match Arcgis Pro at that point in time.
set PYTHONPATH=C:\Program Files\ArcGIS\Server\framework\runtime\ArcGIS\Resou
I got the solution by doing similarly as in below link:
I need to get the map service as dynamic layer from map, set the visibility of that dynamic layer and send the array of ids of the required layers inside it for setVisibleLayers.
From the linked article (emphasis mine):
The ArcGIS Server component of ArcGIS Enterprise also ships with Python. In recent releases, both Python 2.x and Python 3.x runtimes are provided.
Below that, it is specified that versions 10.6 and higher come with Python 3.6.x and 2.7.x. I see no indication that 3.6 is not included in any 10.7 version.
I wasn't able to solve the error I got (downloading specific tiles) but, I was able to figure out how to download specific areas I needed:
The image service provider allows only to download 15,000 px by 4,100 px area at one time. So, I created a graphic box that size and using the Export Data tool (and using the graphic as a clip) I'm exporting one tile at ...
I had what seemed to be the same errors, on a different server of course.
It worked after I reduced the url, deleting everything after /arcgis/rest/services/
If you try that it takes a long time to load the list of layers for me to choose the one I want, but that's better than not being able to use it at all.
No issue in QGIS using Web Mapping Service (WMS)
using this url
and added to QGIS (3.8)
It can also be save as a geotiff (etc) using 'Export' on the layer in QGIS.
The problem is resolved now and I would like to share the solution so i am answering my own question.
I tried publishing multiple network datasets and the issue was same.
This was causing an issue in configuring the directions widget in Web App Builder as well.
However this is resolved now.
I am using ArcGIS Portal and it turns out this was configured ...
Some quick troubleshooting steps in order:
Re-start all the Enterprise components (Portal, Server, Datastore). If the ArcSOC.exe process is still there after stopping these, simply kill it in task manager.
If the process/service comes back after restarting Enterprise, then its referenced in the config-store somewhere. Look at $:\arcgisserver\directories\...
I'll start my answer with noting its been probably 3+ years since I've worked with Data Interop and GP Services, so some of my knowledge might be out of date. I can't comment exactly on your workflow, but I can provide some information on these two components.
First, GP Services have a limited number of accepted Input and Output parameters. These parameters ...