|
POST
|
After recently adding a Network Analyst Route Layer to Portal, the directions widget is showing driving miles and estimated time of arrival, but not total driving minutes. Any ideas on why? It should be showing a total number of minutes of driving time if it can calculate the estimated time of arrival.
... View more
08-11-2022
04:20 PM
|
0
|
0
|
740
|
|
POST
|
@Robert_LeClair I am not using either of those. Both tables are a point and polygon feature class.
... View more
02-09-2022
08:12 AM
|
0
|
0
|
1018
|
|
POST
|
In using the workflow from this article from @HusseinNasser2 , when moving a point feature associated with a polygon, I receive the error in the image below. Does anyone have any insight? My environment is a SQL Database on Enterprise 10.8.1 and ArcGIS Pro 2.6.7. Also, we are upgrading I have tested on an Enterprise 10.9.1 and ArcGIS Pro 2.9.1 environment as well yielding the same results. Attribute Rule Expression: //The attribute rule is added to the pointClass on the Field field on update
//buffer the point feature 40 feet, this will give us a circle polygon geometry
var bufferedGeometry = buffer($feature,0)
//get the guid of the point feature being updated
var AssetID = $feature.AssetID
//find the buffered geometry feature
var fs = FeatureSetbyName($datastore, "Database.Owner.ParkStructurePolygon")
//by filtering on the pointGuid
var bf = filter(fs, "AssetID = @AssetID")
//if we couldn't find it exit (someone might've deleted it)
if (count(bf) == 0) return $feature.AssetID;
//get the feature row (we should only have one )
var bufferedFeature = first(bf)
return {
//we want to just return the value of field `Field` no change require
"result": $feature.AssetID,
//this keyword indicates an edit that need to happen, its an array since we can make many edits
"edit": [
{
//the other class we want to edit
"className" : "Database.Owner.ParkStructurePolygon",
//the type of edit, in this case we want to update so we say `updates`, its an array since we can make many updates
"updates" : [
{
//what feature we need to update? we can either find it by the globalid or the objectId
"globalID" : bufferedFeature.globalID,
//what do we want to update (we can optionally add attributes property and update properties there)
"geometry": bufferedGeometry,
"AssetID": $feature.AssetID,
"Comments": $feature.Comments,
"Description": $feature.Description
}
]
}
]
}
... View more
02-09-2022
07:30 AM
|
0
|
2
|
1056
|
|
IDEA
|
@ABishop , I am using 2.6.6. I realized I did not include this in my original post and made an edit at the bottom of the main post.
... View more
10-21-2021
08:27 AM
|
0
|
0
|
7903
|
|
IDEA
|
At our organization, we keep layer files with read-only permissions for users on a network drive for standardized symbology. In ArcCatalog, you were able to right-click on a layer and choose properties to edit the layer file properties. In the Catalog Pane and Catalog View in ArcGIS Pro, this functionality is lost. Users should be able to modify layer file properties from the Catalog Pane or View as they were able to in ArcCatalog. Currently, this is on Version 2.6.6 that I was documenting this idea for.
... View more
10-21-2021
08:19 AM
|
1
|
3
|
7926
|
|
IDEA
|
Update on this, it has been logged as an enhancement request by working with an ESRI analyst a few weeks ago. The number is #ENH-000141842.
... View more
09-07-2021
10:50 AM
|
0
|
0
|
9441
|
|
IDEA
|
@MichaelVolz , I had the same issue with working in an enterprise database. It did at least break the links in batch so I could redirect to a different workspace all at once. @KoryKramer , thank you for the follow-up, I will be sure to kudos to the idea.
... View more
09-07-2021
10:48 AM
|
0
|
0
|
4327
|
|
IDEA
|
When viewing data in the table of contents under the 'List by Data Source' option, having the ability to batch change data sources would be efficient. For example, changing the data source from a database role that has editing privileges to a reader connection. Another example would be changing data from a parent database to a child database. Being able to right-click and say "change data source" would be helpful for a group of data rather than going into each layer's properties and changing the data source that way.
... View more
09-02-2021
02:59 PM
|
1
|
2
|
4413
|
|
POST
|
Glad it worked out, I have not used XRay but good to know if I do in the future.
... View more
08-09-2021
06:25 AM
|
0
|
0
|
6193
|
|
POST
|
Hi @JoeBryant1 , might it have to do with the version of the source FGDB coming from AGOL? Could you do a second transfer to have the FGDB be on 10.7 level? Maybe it thinks the AGOL FGDB is a newer version.
... View more
08-05-2021
02:20 PM
|
0
|
2
|
6263
|
|
POST
|
We are starting to migrate our enterprise database from traditional to branch versioning. The recommended SDE admin workflow (link below) for traditional versioning is to delete \ create versions after editing is complete on a version. At our organization, we reconcile\post, delete versions, compress, rebuild indexes, analyze, create versions via nightly Python routines. With migrating to branch versioning, compress is no longer needed, and you cannot rebuild indexes (indices?) on branch versioned data. My question for the community is it still necessary to delete\create branch versions on a daily schedule after an editor has completed edits for the day? Or is this becoming obsolete, such as compressing the database is as ESRI recommends migrating to branch versioning. https://desktop.arcgis.com/en/arcmap/10.3/manage-data/geodatabases/recommended-version-administration-workflow.htm
... View more
08-02-2021
08:58 AM
|
2
|
3
|
5623
|
|
IDEA
|
When publishing branch versioned data for the first time changing from traditional versioning, allow for required fields to be turned on by the right-click option in the 'Share As Web Layer' pane. I received 465 errors which I have to go into each layer and turn on all fields that are required to be turned on to publish branch versioned data to Portal. Being able to select the errors, right-click and choose 'turn on field' would be a great improvement.
... View more
07-29-2021
10:00 AM
|
3
|
0
|
807
|
|
POST
|
Had to make some updates, but the below solution worked. fc = "D:\\WorkSpace\\Water\\Workspace.gdb\\NewAccountsGeocoded"
fields = ['USER_MunisAccount','IN_Single_Line_Input']
qry = "Status NOT IN ( 'M', 'T')"
with arcpy.da.SearchCursor(fc, fields, qry) as cursor:
for row in cursor:
print(row [0], row [1])
txtFile.write("{0}{1}".format(arcpy.GetMessages(), '\n'))
HOST = "server.domain.com"
SUBJECT = "Report: Unable to Add UB Accounts to GIS Accounts"
TO = "symon@email.com", "dave@email.com", "brian@email.com"
FROM = "Water Accounts<GIS@email.com>"
text = "The following UB Account was not able to be imported into GIS WtrAccounts. Please see if there is an error in UB or if the address exists in COH Address GIS feature class. \n " + "UB Account: "+str(row[0]) + " | UB Address: "+str(row[1])+"\n"
BODY = "From: {1}{0}To: {2}{0}Subject: {3}{0}{0}{4}".format('\r\n', FROM, TO, SUBJECT, text)
server = smtplib.SMTP(HOST)
server.sendmail(FROM, TO, BODY)
server.quit()
... View more
07-29-2021
08:19 AM
|
0
|
0
|
2276
|
|
POST
|
So I got the code to work and email to a single address like the commented out line 11, but in trying to send to multiple email addresses like in line 10 it fails with the error message below. unhashable type: 'list' fc = "D:\\WorkSpace\\Water\\Workspace.gdb\\NewAccountsGeocoded"
fields = ['USER_MunisAccount','IN_Single_Line_Input']
qry = "Status NOT IN ( 'M', 'T')"
with arcpy.da.SearchCursor(fc, fields, qry) as cursor:
for row in cursor:
print(row [0], row [1])
txtFile.write("{0}{1}".format(arcpy.GetMessages(), '\n'))
HOST = "server.email.com"
SUBJECT = "Report: Unable to Add UB Accounts to GIS Accounts"
TO = ["symon@email.com","dave@email.com","brian@email.com"]
#TO = "brian@email.com"
FROM = "Water Accounts<GIS@email.com>"
text = "The following UB Account was not able to be imported into GIS WtrAccounts. Please see if there is an error in UB or if the address exists in COH Address GIS feature class. \n " + "UB Account: "+str(row[0]) + " | UB Address: "+str(row[1])+"\n"
BODY = "From: {1}{0}To: {2}{0}Subject: {3}{0}{0}{4}".format('\r\n', FROM, TO, SUBJECT, text)
server = smtplib.SMTP(HOST)
server.sendmail(FROM, [TO], BODY)
server.quit()
... View more
07-28-2021
03:11 PM
|
0
|
0
|
2297
|
|
POST
|
Thank you Dan, I updated the code below for lines 2, 3, and 4 based on the ESRI documentation, and still getting the error the field 'MunisAccount' does not exist. My guess is something in row 5 or row 13 is the issue? arcpy.SelectLayerByAttribute_management("NewAccountsGeocoded_Layer", "NEW_SELECTION", "Status NOT IN ( 'M', 'T')")
fc = "D:\\WorkSpace\\Water\\Workspace.gdb\\NewAccountsGeocoded"
fields = ['MunisAccount']
for row in arcpy.SearchCursor(fc, fields):
print((row.MunisAccount, row.ARC_Single_Line_Input))
arcpy.AddMessage("Water_ID_Updates Failed...{0}".format('\n'))
txtFile.write("Water_ID_Updates Failed...{0}".format('\n'))
txtFile.write("{0}{1}".format(arcpy.GetMessages(), '\n'))
HOST = "server.host.com"
SUBJECT = "Report: Unable to Add UB Accounts to GIS Accounts"
TO = "brian@email.com"
FROM = "Water Accounts<email@email.com>"
text = "The following UB Account was not able to be imported into GIS WtrAccounts. Please see if there is an error in UB or if the address exists in COH Address GIS feature class. \n " + "UB Account: "+str(row.MunisAccount) + " | UB Address: "+str(row.ARC_Single_Line_Input)+"\n"
BODY = "From: {1}{0}To: {2}{0}Subject: {3}{0}{0}{4}".format('\r\n', FROM, TO, SUBJECT, text)
server = smtplib.SMTP(HOST)
server.sendmail(FROM, [TO], BODY)
server.quit()
... View more
07-28-2021
07:47 AM
|
0
|
0
|
2307
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | Monday | |
| 1 | Monday | |
| 1 | Monday | |
| 2 | a week ago | |
| 1 | 3 weeks ago |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|