POST
|
The line ("def #...") is not valid Python syntax. For some reason, exporting to Python script has malfunctioned - it has lots of problems. If there's supposed to be a function there, you'll have to write it yourself. If not, delete that line and continue on. edit: I'm pretty sure you'll also have to edit the line "True_48, False_49 = #"
... View more
09-17-202109:43 AM
|
1
|
1
|
1475
|
POST
|
Python cursor solution is successful, too:
... View more
03-09-202105:10 PM
|
0
|
0
|
5161
|
POST
|
What doesn't work? Quick test seems successful:
... View more
03-09-202105:02 PM
|
0
|
0
|
5162
|
POST
|
我试图从m发布图片服务osaic dataset but some rasters/overviews appear as checkerboard when published within a folder. Details: - server AMI: Esri ArcGIS Enterprise 10.8 on Ubuntu - image service is created from a mosaic dataset, which includes several individual mosaic datasets (created like in Multiple Mosaic Dataset Configuration here: Time in a mosaic dataset—Help | ArcGIS for Desktop ) - all rasters/overviews appear as normal when image service is in root server folder - all mosaic dataset overviews/rasters work as normal before publishing - image service only works partially when published within a nested folder. Some rasters/overviews appear as normal, others appear as checkerboard. When I zoom in to the raster resolution below, the raster appears.
... View more
10-26-202011:59 AM
|
0
|
1
|
539
|
POST
|
I think there may be a certificate issue on the server. The resolution was to use http/port 6080 rather than https/port 6443.
... View more
10-02-202002:00 PM
|
0
|
0
|
1261
|
POST
|
Traceback ( most recent call last ) : File "/arcgis/server/publisher/publish.py" , line 175 , in publish_dir self . create_sddraft ( mds_name , sddraft ) File "/arcgis/server/publisher/publish.py" , line 95 , in create_sddraft "wms_proxy," + mds_name File "/home/arcgis/miniconda2/envs/arcpy-publish/lib/python3.6/site-packages/arcpy/__init__.py" , line 2119 , in CreateImageSDDraft return arcgisscripting . _createimageservicesddraft ( raster_or_mosaic_layer , out_sddraft , service_name , server_type , connection_file_path , copy_data_to_server , folder_name , summary , tags ) RuntimeError : Unable to connect to the provided target server : https : // xxx . xxx . xxx . xxx : 6443 / arcgis / admin / More info: using Linux Enterprise AMI on AWS EC2. Do I perhaps need to expose any outgoing ports to allow this sort of roundtrip connection? I'm using VS Code, but running in bash terminal.
... View more
09-29-202011:37 AM
|
0
|
1
|
1261
|
POST
|
Yes, I can.
... View more
09-29-202011:11 AM
|
0
|
3
|
1261
|
POST
|
Hi Calvin, I have copied a working .ags to my server machine, however when running CreateImageSDDraft—Help | ArcGIS Desktop I see, "Unable to connect to the provided target server: https://xxx.xxx.xxx.xxx:6443/arcgis/admin/". I've tried with ags files referencing the actual server ip, as well as attempts at 127.0.0.1 and localhost. Any ideas?
... View more
09-29-202010:54 AM
|
0
|
5
|
1261
|
POST
|
I've been publishing services through arcpy and service definition files from a remote machine, but now want to publish services from a mosaic dataset actually stored on the ArcGIS Server machine. Is this possible? Is there a local script on the ArcGIS Server for publishing services? The first problem I've encountered with this plan is that arcpy installed on the server does not seem to include the mapping module, necessary for creating the connection file (which shouldn't be necessary, since I'm already on the machine): CreateGISServerConnectionFile—Help | ArcGIS for Desktop The rest of my workflow involves creating, staging, and uploading a service definition file.
... View more
09-28-202001:34 PM
|
0
|
7
|
1432
|
POST
|
Thanks, Calvin, you're exactly right. I followed along with this: Example: Publish an image service from a folder of images—ArcGIS Server | Documentation for ArcGIS Enterprise
... View more
08-06-202001:24 PM
|
2
|
0
|
849
|
Title | Kudos | Posted |
---|---|---|
1 | 04-12-201111:19 AM | |
1 | 09-17-202109:43 AM | |
1 | 04-04-201212:05 PM | |
2 | 07-16-202011:31 AM | |
1 | 02-11-201603:39 PM |
Online Status |
Offline
|
Date Last Visited |
01-05-202308:10 PM
|