POST
|
Thank you JonathanQuinn for the comments. For datastore backup(Relational & Tilecache) I could able to mentioned the folder(Key) names, so I tried to do with portal content directory to avoid multiple buckets.
... View more
04-20-2022
03:46 AM
|
0
|
0
|
723
|
POST
|
Trying to configure portal content into s3 bucket. Configuration is successful ,if we provide "objectStore" values as s3 bucket name Ex: { "type":"cloudStore","provider":"Amazon", "connectionString":{"region":"me-south-1","credentialType":"IAMRole"}, "objectStore":"portal-contents-bucket" -- working } We would like to configure the portal content directory inside one of the folder in the S3 bucket . But If we provide "objectStore" values as folder name inside the bucket (portal-contents-bucket/portalcontents) it is failing. Error message is "Cannot write to the portal-contents-bucket\portalcontents\ S3 bucket." Ex: { "type":"cloudStore","provider":"Amazon", "connectionString":{"region":"me-south-1","credentialType":"IAMRole"}, "objectStore":"portal-contents-bucket/portalcontents" -- not working } Can we provide "objectStore" value as the folder inside the S3 bucket or it should be always S3 bucket name?
... View more
04-17-2022
07:22 AM
|
0
|
2
|
801
|
POST
|
If Tile cache data stores created in primary-standby mode or in Single machine in ArcGIS Enterprise Portal 10.9.1,Can the default backup location of the Tile cache data stores in Amazon Simple Storage Service (S3) bucket?
... View more
03-16-2022
01:53 AM
|
0
|
1
|
448
|
POST
|
MultiPatch 3D data successfully published into ArcGIS Enterprise Portal10.9.1 using ArcGIS Pro (using Share as Web Layer). We have Choose the option as "Copy all data" and choose "Cache on the server" option. Could not find any other option related with "Cache". How can I make sure cache is created successfully for this hosted scene layer? As per my understating Scene Layer cache should be in ArcGIS Data store Tile cache folder, If yes in which folder the generated tiles available?
... View more
03-15-2022
07:46 AM
|
0
|
0
|
203
|
POST
|
Thank you Davin for valuable input. Can we use arcpy.da.InsertCursor with Feature service in arcpy with ArcGIS server (means without ArcGIS Pro) .Or we need to use apply edits to feature layer using python "urllib" libraries by making http calls with json input
... View more
07-26-2021
06:27 AM
|
0
|
1
|
319
|
POST
|
Hi DavinWalker2, Yes. While running in desktop I am getting the same error message you have mentioned. But once I published as the geoprocessing service I am getting exception message as "error return without exception set"(If there is concurrent requests). Would like to know few more details about your solution. A solution is to edit a feature service instead? So your suggestion is consume feature service inside my geoprocessing code. If we use feature service, Does the data update become transactional if we use feature service? Means I have 5 different feature class inserts required per request, if any one of the feature class update failed I would like to rollback all the other update happened on that request. Branched versioned dataset? I didn't use this before, Does it required Portal also. In my current environment we have ArcGIS server and Desktop only. Does this mean that concurrent editing is not possible using arcpy.da.Editor in geoprocessing? Please note that we are consuming this geoprocessing from ArcGIS JS API application. To immediately show the drawing file geometries over the base map with appropriate layer name and symbology.
... View more
07-23-2021
01:20 PM
|
0
|
3
|
1419
|
POST
|
Yes.It is versioned.I am editing in sde.default itself
... View more
07-23-2021
03:33 AM
|
0
|
0
|
1435
|
POST
|
Hi JoeBorgione, I am providing complete shared path. While doing the post I just modified the path. FYI,Code is working fine with single request at a time. Only problem is when there is concurrent users trying to edit the feature class.
... View more
07-22-2021
11:34 AM
|
0
|
0
|
1452
|
POST
|
//Start
eGeoDBWorkSpace = r"dbconnection.sde" #database connection
----
-----
edit = arcpy.da.Editor(eGeoDBWorkSpace)
try:
edit.startEditing(True, True) #*Error : Getting error on this line , If editing started by one user request, between any other request came to the server.The new request will fail.
edit.startOperation()
inserCursor = arcpy.da.InsertCursor(polyFC,['ID',...., 'SHAPE@'])
for inRow in poly_insert_rows:
inserCursor.insertRow(inRow)
del inserCursor
arcpy.AddMessage("MP to Temp FC finished")
inserCursor = arcpy.da.InsertCursor(plynFC,['ID',...., 'SHAPE@')
for inRow in plyn_boundary_insert_rows:
inserCursor.insertRow(inRow)
del inserCursor
-------
-----
edit.stopOperation()
edit.stopEditing(True)
except Exception as err:
if 'edit' in locals():
if edit.isEditing:
edit.stopOperation()
edit.stopEditing(False)
------
------
arcpy.ClearWorkspaceCache_management()
//End
... View more
07-22-2021
09:52 AM
|
0
|
0
|
1477
|
POST
|
Have an issue with Geoprocessing service while doing start editing for more than one user at same time. Input for Geoprocessing service is CAD drawing file(dgn/dwg) from web application. and Geoprocessing code is inserting the features to appropriate feature classes in enterprise geodatabase. Enterprise geodatabase is versioned and editing is doing in SDE.Default. ArcGIS server version is 10.8 Please find the code snippets eGeoDBWorkSpace = r"dbconnection.sde" #Enterprice geodatbase ---- edit = arcpy.da.Editor(eGeoDBWorkSpace) try: edit.startEditing(True, True) -- *Error edit.startOperation() inserCursor = arcpy.da.InsertCursor(polyFC,['ID',...., 'SHAPE@']) for inRow in poly_insert_rows: inserCursor.insertRow(inRow) del inserCursor arcpy.AddMessage("MP to Temp FC finished") inserCursor = arcpy.da.InsertCursor(plynFC,['ID',...., 'SHAPE@') for inRow in plyn_boundary_insert_rows: inserCursor.insertRow(inRow) del inserCursor ------- ----- edit.stopOperation() edit.stopEditing(True) except Exception as err: #arcpy.AddError(err) if 'edit' in locals(): if edit.isEditing: edit.stopOperation() edit.stopEditing(False) *Error : Getting error on this line , If editing started by one user request, between any other request came to the server.The new request will fail. Really appreciate the support to resolve this issue.
... View more
07-22-2021
09:38 AM
|
0
|
11
|
1797
|
POST
|
Thanks for you reply.Can we maintain the symbology once we have convert the file using GP.The drawing files have complex features and symbology.
... View more
04-05-2017
02:26 AM
|
0
|
1
|
1196
|
POST
|
We have an ArcGIS java script web application. We need to add a functionality to allow the user to upload the Drawing file (DGN/DWG/SHP) from the client browser and Zoom into the drawing file location and display the drawing as a map service. It should be on the fly and it should maintain the symbology. Any suggestions?
... View more
04-04-2017
10:38 PM
|
2
|
4
|
3826
|
Title | Kudos | Posted |
---|---|---|
2 | 04-04-2017 10:38 PM |
Online Status |
Offline
|
Date Last Visited |
a week ago
|