POST
|
Hi Dean, I am a little confused about your URL there. Does your "portal" site have a web adaptor named "server"? Or am I misinterpreting the syntax?
... View more
Wednesday
|
0
|
1
|
28
|
POST
|
Hi Jose, Glad that was able to work out for you. As for your second question, I believe you would have to add the service as a new item in order to get prompted to store credentials. I don't think the Portal interface will bring that up on its own. Best, Calvin
... View more
Tuesday
|
0
|
0
|
6
|
POST
|
Hi Kamille, ArcGIS Pro can detect the source used for the layers in your project. Based on that first screenshot, it seems as though there are some layers coming from the Y:\Public Works\Highway \GIS_Data\Pavement directory. I am not sure if this is a folder, a file geodatabase, or something else, but either way, it looks like the data source is not currently registered with ArcGIS Server. The "name" section in the screenshot is simply the name you want to assign to the data store connection. Then, when looking at Server Manager or your Portal content, you will see a data store item appear with the name you entered. Once you fill in the name, click "Create". If this succeeds, then you can Analyze the web layer again, and proceed to publish. If it fails, then most likely the issue is that the account running ArcGIS Server does not have read/write access to the directory. A note of caution, the file path you specify (e.g. the Y Drive) must be the same on the machine where ArcGIS Server is installed. It may be helpful to use UNC paths here instead. https://enterprise.arcgis.com/en/server/latest/manage-data/windows/registering-your-data-with-arcgis-server-using-manager.htm https://pro.arcgis.com/en/pro-app/latest/help/sharing/overview/manage-registered-data-stores.htm#GUID-9EAFE998-C1A7-456A-ADB1-679A76337ED6 -Calvin
... View more
a week ago
|
0
|
2
|
60
|
POST
|
I'm not sure about raster processing templates, but you could also try creating a raster dataset, symbolizing it with class breaks manually, saving the layer file, and then applying the symbology to the new layer.
... View more
a week ago
|
0
|
0
|
32
|
POST
|
What Python IDE are you using to execute the script? What are the differences between the connection pathways being used here?
... View more
a week ago
|
0
|
0
|
69
|
POST
|
That does seem odd. Next time you run the geoprocessing tool manually in ArcGIS Pro, can you go to the History pane, locate the result, right-click the item and copy the Python command? I would want to make sure that the command in the Python script is exactly the same as what is running behind the scenes when executing the geoprocessing tool through the interface.
... View more
a week ago
|
1
|
2
|
87
|
POST
|
Hi Richard, First off, it looks like you are using the ArcPy library. If that is the case, you may want to reach out to the Python Community instead. As for your question, I am curious as to how your raster dataset displays in ArcGIS Pro when you added it. Is it RGB? Classified? Unique values? Stretched? If it's RGB, then it won't have a colorizer or renderer property. If you manually change the symbology for the raster layer to use class breaks, stretched ramp, or unique values, you will notice that the layer.symbology.colorizer property does get defined. Hope this helps. -Calvin
... View more
a week ago
|
0
|
2
|
39
|
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
a week ago
|
0
|
0
|
52
|
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
a week ago
|
0
|
2
|
60
|
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
a week ago
|
0
|
4
|
79
|
Online Status |
Offline
|
Date Last Visited |
yesterday
|