|
POST
|
Seems, during the proxy restriction AGOL unable to initialize the Arcade Editor using attribute collection with HTTPS (secured) service. Anyway, you can perform the operation without Test it. Just click Ok, if expression is valid.. 🙂 $feature.BASEBALL
... View more
04-12-2018
02:37 PM
|
0
|
0
|
3154
|
|
POST
|
64-bit SQL Server Native Client (or) 64-bit SQL Server ODBC Driver (if Windows 7)
... View more
04-12-2018
12:31 PM
|
0
|
0
|
2630
|
|
POST
|
Use same syntax for variable values %value%, either Python 3 or Arcade
... View more
04-12-2018
11:07 AM
|
1
|
0
|
1223
|
|
POST
|
If agree with capitalize the Street name in between of this process before Sorting lyr = 'C:\Temp\Default.gdb\CurrntRoadNamesTablePublic_1'
#STREET field Index
streetindex = 2
rowindex = 0
datatosort = []
with arcpy.da.SearchCursor(lyr,"*") as cursor:
for row in cursor:
if row[streetindex]:
datatosort.append(row[:streetindex] + (row[streetindex].capitalize(),) + row[streetindex + 1:])
else:
datatosort.append(row)
datatosort.sort(key=lambda tup: tup[streetindex])
with arcpy.da.UpdateCursor(lyr,"*") as cursor:
for row in cursor:
row = datatosort[rowindex]
rowindex += 1
cursor.updateRow(row)
... View more
04-12-2018
10:30 AM
|
2
|
0
|
1226
|
|
POST
|
The sql_clause parameter not intended to update the sorted fields. It's in part of filter the features in order to iterate within Cursor either Update (or) Search. For sorted field, we have to use Sort_management to sort the STREET field in to temporary feature class and written back in to original feature class (Or) use this code to overwrite with the sorted rows lyr = 'C:\Temp\Default.gdb\CurrntRoadNamesTablePublic_1'
datatosort = []
with arcpy.da.SearchCursor(lyr,"*") as cursor:
for row in cursor:
datatosort.append(row)
#STREET field Index
streetindex = 2
rowindex = 0
datatosort.sort(key=lambda tup: tup[streetindex])
with arcpy.da.UpdateCursor(lyr,"*") as cursor:
for row in cursor:
row = datatosort[rowindex]
rowindex += 1
cursor.updateRow(row) Change the streetindex value as per STREET field index
... View more
04-11-2018
03:02 PM
|
1
|
2
|
1226
|
|
POST
|
This condition, expecting at least one space (' ') in prop_location value > elif prop_location.strip().split()[1] == 'S' or 'W': To avoid this error, try to skip the no space contained values by adding one more condition like elif ' ' not in prop_location:
return None
... View more
04-11-2018
01:31 PM
|
0
|
0
|
5544
|
|
POST
|
statistics_fields parameter should be within the list import arcpy
import os
import arcpy.mapping as map
from arcpy import env
import datetime
mxd = arcpy.mapping.MapDocument("Current")
slackFeatures = r'Slack Features'
date = datetime.date.today()
reportsGDB = r'\\Desktop\Summary_Report\Slack_Summary_Reports.gdb'
reportsFolder = r'\\Desktop\Summary_Reports'
inLayer = slackFeatures
outputName = 'slack_summary'
outLayer = reportsGDB + "/" + outputName
statsFields = [["footage", "SUM"]]
caseFields = ["NetworkID", "ProjectID", "type"]
arcpy.Statistics_analysis(inLayer, outLayer, statsFields, caseFields)
... View more
04-11-2018
01:21 PM
|
1
|
1
|
2249
|
|
POST
|
ArcGIS server directory system input folder, in respective service named folder Ex: C:\arcgisserver\directories\arcgissystem\arcgisinput\<ServiceName>.MapServer\extracted\v101
... View more
04-06-2018
11:48 AM
|
2
|
2
|
1243
|
|
POST
|
Try with asynchronous client-side geometry engine geometryEngineAsync.intersect(line1, line2).then(
function (resint){
console.log(resint);
}
);
... View more
04-04-2018
12:11 PM
|
0
|
0
|
615
|
|
POST
|
Hi Shyam, If input spatial tables from Oracle SDE, then it should be issue with table alias name was different from display name. Use the Alias Name in python script. You can find the alias name from Table properties.
... View more
04-03-2018
03:49 PM
|
0
|
1
|
1611
|
|
POST
|
For versioned data, we should start Edit session, without UNDO. So first parameter should be False edit.startEditing(False) (or) edit.startEditing(False, False) And use the startOperation & stopOperation methods on each feature insert. See the simple example from help document - Editor example 2 Editor—Help | ArcGIS Desktop
... View more
04-03-2018
10:23 AM
|
1
|
1
|
1141
|
|
POST
|
Kishore, since you are using JS 3.23 the IdentityManager -registerToken method should have the server parameter as Portal URL only not a rest end url. Your syntax for JS 4.x var tokenProp = { expires: parseInt(globalPSObj.expires), server: Configs.portalurl, ssl: globalPSObj.ssl, token: globalPSObj.Token, userId: globalPSObj.userId };
... View more
04-03-2018
09:32 AM
|
1
|
0
|
1230
|
|
POST
|
Try with change the syntax for line Fill (Bad syntax in request) Fill(p1).save(output) --replace with outF = Fill(p1) outF.save(output)
... View more
04-02-2018
03:06 PM
|
0
|
1
|
6402
|
|
POST
|
Molly, Regard less of field datatype, add vales should be put in double quotes. ex: "11000:11000" And respective values should be member of the unique values of the field
... View more
04-02-2018
02:33 PM
|
0
|
0
|
1183
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-17-2018 08:18 AM | |
| 1 | 04-12-2018 11:07 AM | |
| 1 | 04-11-2018 01:21 PM | |
| 1 | 11-06-2018 10:16 AM | |
| 1 | 04-03-2018 09:32 AM |
| Online Status |
Offline
|
| Date Last Visited |
12-28-2021
12:23 PM
|