POST
|
I'm using ArcGIS Enterprise 10.8 so I think: Python 2.7.16, NumPy 1.9.3, and matplotlib 1.5.2 Python 3.6.9, NumPy 1.16.5, and matplotlib 3.1.1 Naty
... View more
04-26-2021
01:21 AM
|
0
|
1
|
855
|
POST
|
Hi all, I created a geoprocessing task and it perfectly works. At the end I see that I have the same problem of this thread with arcgis server with linux: https://community.esri.com/t5/python-questions/arcgis-server-on-linux-python-unable-to-change-file-permissions/m-p/272973 Does someone have the solution? Or I cant do anything to change the files permission from arcgis python? Thanks, Naty
... View more
04-23-2021
07:51 AM
|
0
|
5
|
916
|
POST
|
So I can just see the jobs list in arcgis/admin... Ok...anyway maybe you can help me in this: In a simple webpage I created to submit a job I just need to prevent the submit if the GP is executing another job. Can I do this somehow? Thanks, Naty
... View more
04-21-2021
11:19 AM
|
0
|
1
|
1044
|
POST
|
Hi all, is it possible to retrieve the jobs list for a rest GP service with ArcGIS Javascript API? Thanks,Naty
... View more
04-21-2021
10:57 AM
|
0
|
3
|
1069
|
POST
|
Hi all, is it possible to retrieve the jobs list for a rest GP service with ArcGIS Javascript API? Thanks, Naty
... View more
04-21-2021
10:53 AM
|
0
|
0
|
306
|
POST
|
I just needed to upgrade ArcGIS Pro to the 2.6. Thanks, Naty
... View more
04-21-2021
10:50 AM
|
0
|
0
|
268
|
POST
|
here you are 🙂 print("Hello World") @JoshuaBixby wrote: Please share the simple script with the print statement in it that fails (unless the script it just the one line you already shared), then others can look at the code and try publishing it on their machines to see if there are issues.
... View more
03-29-2021
08:29 AM
|
0
|
0
|
2136
|
POST
|
I run the script with 3 parameters...and it's ok in local. projectPath=arcpy.GetParameterAsText(0) dbTablePath=arcpy.GetParameterAsText(1) pdfPath=arcpy.GetParameterAsText(2) I'trying to publish the script but how can I change the parameters (to let it run on the server) ? and also I tried to publish a simple script...with: print ("Hello") and I got this error: Script1 113 GPService https://xxxxxxxx:6443/arcgis/admin siteadmin 2021-03-24 16:33:26 Status: Failed StatusMessage: ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds. ErrorMessage: ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds. Thanks, Naty
... View more
03-29-2021
01:29 AM
|
0
|
0
|
2149
|
POST
|
I just want to run it on my Linux ArcGIS Server. What I have to do? Thanks, Naty
... View more
03-25-2021
03:41 AM
|
0
|
2
|
2184
|
POST
|
I run the script with 3 parameters...and it's ok in local. projectPath=arcpy.GetParameterAsText(0) dbTablePath=arcpy.GetParameterAsText(1) pdfPath=arcpy.GetParameterAsText(2) I'trying to publish the script but how can I change the parameters (to let it run on the server) ? and also I tried to publish a simple script...with: print ("Hello") and I got this error: Script1 113 GPService https://xxxxxxxx:6443/arcgis/admin siteadmin 2021-03-24 16:33:26 Status: Failed StatusMessage: ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds. ErrorMessage: ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds. Thanks, Naty
... View more
03-24-2021
03:59 AM
|
0
|
4
|
2206
|
POST
|
Hi everybody, is it possible to run an arcpy scripts with: ArcGISProject that open .aprx file arcpy.da.SearchCursor to connect to oracle exportToPDF to export a Layout in the .aprx and if yes, is it possible to schedule it or run it on demand? Thanks, Naty
... View more
03-23-2021
07:04 AM
|
0
|
10
|
2534
|
POST
|
Dear Everybody, I'm trying to make a batch to export PDF from ArcGIS Pro. Before I export PDF I need to set definition query for each layers based on values in a table. Then, there is the export but what I'm getting is always a blank PDF, it looks like it's not refreshing after I set the new extent. After the script, of course, the layout show me the last extent I set....and it's correct! Thanks in advance, project = arcpy.mp.ArcGISProject("CURRENT")
layout = project.listLayouts("Layout")[0]
mapframe = layout.listElements("MAPFRAME_ELEMENT", "Map Frame")[0]
mapLayers = project.listMaps("Layers")[0]
fields=['field1', 'field2', 'field3', 'field4', 'field5']
search_cursor=arcpy.da.SearchCursor("theTable",fields)
for row in search_cursor:
print(u'{0}, {1}, {2}'.format(row[0], row[1], row[2]))
queryStr="MAPID="+str(row[0])
for lyr in mapLayers.listLayers():
if lyr.supports("DEFINITIONQUERY"):
lyr.definitionQuery = queryStr
layer=mapLayers.listLayers("l")[0]
print(u'{0}, {1}, {2}, {3}'.format(row[0], row[1], row[2], queryStr))
layer_extent = mapframe.getLayerExtent(layer, False, False)
mapframe.camera.setExtent(layer_extent)
layout.exportToPDF(os.path.join(r"D:\test", f"{row[1]}.pdf"))
... View more
03-10-2021
03:03 AM
|
1
|
4
|
726
|
POST
|
Hi all, I wish I could hide a layer and meanwhile clear selected features (of that layer I'm hiding)...is it possible? Thanks, Naty
... View more
10-08-2020
11:41 AM
|
0
|
0
|
238
|
POST
|
Dear Tanu, I have installed ArcGIS Pro 2.5 Advanced. I use Export Web Map but clicking the right button menu on it ... it doesnt show me Share As option...why? How can I publish the print service?
... View more
04-09-2020
07:26 AM
|
0
|
1
|
747
|
DOC
|
Hi Robert, thanks for your answer. I already implemented filter in initBasemaps() function...and it works I need to run again initBasemaps() from another widget? and if yes how can I check if BasemapGallery already exists in basemapGalleryDiv? I tried to run initBasemaps()from another widget...with the filtered basemaps list but the BasemapGallery doesn't refresh. Thank you in advance, Naty
... View more
04-06-2020
08:33 AM
|
0
|
0
|
4051
|
Title | Kudos | Posted |
---|---|---|
1 | 03-10-2021 03:03 AM | |
1 | 12-03-2015 07:20 AM | |
1 | 06-23-2016 03:04 AM | |
1 | 08-03-2016 07:04 AM | |
1 | 01-31-2019 08:57 AM |
Online Status |
Offline
|
Date Last Visited |
05-05-2021
10:29 AM
|