POST
|
From the documentation page, It looks like the Export Image operation only requires an Image Server role on 10.5+ when running against a mosaic dataset published as an image service. Yes, you can publish the result of a Clip Raster tool as a geoprocessing service
... View more
01-14-2021
01:46 PM
|
0
|
0
|
249
|
POST
|
Hi @rpavuluri , The extract data task does not work on raster layers or raster datasets. Based on the documentation: Syntax: As described in detail in the Feature Input topic, this parameter can be one of the following:
A list of URLs to a feature service layer with an optional filter to select specific features
A list of feature collections. Instead, you may want to look into the Export Image operation if you are using an image service, or the Clip Raster tool if you are using a locally stored raster dataset. -Calvin
... View more
01-14-2021
09:07 AM
|
0
|
2
|
257
|
POST
|
Without knowing too much about what's going on in your code, did you run through the section " Establish relationship between items" in the above link? It looks like the items copied, but you haven't yet mapped the output to use the new related items string. The above example has this: for key in source_target_itemId_map.keys():
source_item = source_items_by_id[key]
target_itemid = source_target_itemId_map[key]
target_item = target.content.get(target_itemid)
print(source_item.title + " # " + source_item.type)
for relationship in RELATIONSHIP_TYPES:
try:
source_related_items = source_item.related_items(relationship)
for source_related_item in source_related_items:
print("\t\t" + source_related_item.title + " # " +
source_related_item.type +"\t## " + relationship)
#establish same relationship amongst target items
print("\t\t" + "establishing relationship in target portal", end=" ")
target_related_itemid = source_target_itemId_map[source_related_item.itemid]
target_related_item = target.content.get(target_related_itemid)
status = target_item.add_relationship(target_related_item, relationship)
print(str(status))
except Exception as rel_ex:
print("\t\t Error when checking for " + relationship + " : " + str(rel_ex))
continue
... View more
01-13-2021
03:08 PM
|
0
|
4
|
253
|
POST
|
Hi Zachary, Can you try dropping the variable names in those boxes? For example: -Calvin
... View more
01-13-2021
03:04 PM
|
0
|
0
|
94
|
POST
|
Hi Bob, If you browse to the REST endpoint of the image service, you should see the OGC capabilities listed in the upper left-hand corner. As for through the API, I couldn't find anything exposing the extensions in :6443/arcgis/rest/services/serviceName/ImageServer. However, if you look in the admin services directory, there is a parameter "extensions" that lists out all of the extensions exposed on the image service. This would be formatted: "admin/services/serviceName.ImageServer?f=pjson" -Calvin
... View more
01-13-2021
02:53 PM
|
0
|
0
|
93
|
POST
|
Hi Jose, Is your Server federated with Portal? If so, Portal should take over the authentication for the feature service. If not, then you can be presented with the option to store credentials with the item when you add the feature service as an item to your Portal content. See Connect to secure services for more information. -Calvin
... View more
01-13-2021
02:39 PM
|
0
|
2
|
196
|
POST
|
Hi Adam, If you run a geoprocessing service published to ArcGIS Server, it uses Python libraries that come pre-installed with the ArcGIS Server installation, not anything from ArcGIS Pro. Additionally, it uses licenses assigned to the ArcGIS Server site, not a license configured with ArcGIS Pro or any other desktop client. Take a look at the functionality matrix for more information. You can find the version of Python used by ArcGIS Pro from Settings -> Python in the ArcGIS Pro interface. The Python Package Manager lists the versions of all packages currently installed in your environment. The Python version matrix for ArcGIS Desktop and ArcGIS Server can be found here. Hope this helps! -Calvin
... View more
01-13-2021
07:42 AM
|
1
|
4
|
268
|
POST
|
Hi Brittaney. What method did you use to copy the items? If you used arcgis.gis.Item.copy, then the following applies: "For layers, copy will create a new item that uses the URL as a reference. For non-layer based items, these will be copied and the exact same data will be provided." If you want to create new, non-dependent layers, then the arcgis.gis.ContentManager.clone_items method is your best bet. "Clone content to the GIS by creating new items." If you go this route, be sure to preserve the relationship between different items (e.g. feature layers in a web map) by following the example outlined here. An easy way to see if an item you cloned/copied is separate from the original is to go the Item Details page and scroll down to view the URL of the item. If the URLs are the same, then they are in fact the same item. -Calvin
... View more
01-12-2021
08:03 AM
|
0
|
6
|
273
|
POST
|
Hi Kirk, The .geodatabase file type is a SQLite geodatabase used for runtime applications, such as Collector for ArcGIS. The Make Query Layer geoprocessing tool is looking for a .sde database connection file, such as the one generated from the Create Database Connection geoprocessing tool. -Calvin
... View more
01-11-2021
09:16 AM
|
1
|
1
|
173
|
POST
|
Hi Alexander, Do you have an ArcGIS Server site with the Image Server role? In order to publish raster elevation surfaces, this is a requirement: https://www.esri.com/content/dam/esrisites/en-us/media/brochures/arcgis-enterprise-functionality-matrix.pdf -Calvin
... View more
01-07-2021
08:38 AM
|
1
|
0
|
90
|
Online Status |
Offline
|
Date Last Visited |
Friday
|