|
POST
|
You were close with your original code, just a couple issues: with arcpy.da.SearchCursor(data, fieldName, sql_clause=(None,'ORDER BY IDA DESC')) as cursor:
for i in range(5):
print("IDA value: ", next(cursor)[0])
... View more
11-17-2022
07:05 AM
|
1
|
1
|
1966
|
|
POST
|
You don't, you just re-license the already installed ArcGIS Server software to add the Image Server role to it.
... View more
11-16-2022
08:15 AM
|
0
|
4
|
2791
|
|
POST
|
It seems to me you are in the market for ArcGIS Data Appliance | Documentation ArcGIS Data Appliance is a content solution with much of the same data that is available through ArcGIS Online services You could install ArcGIS Enterprise with portal, but that doesn't give you all of the data and services you describe wanting from ArcGIS Online.
... View more
11-11-2022
09:50 AM
|
0
|
1
|
3476
|
|
IDEA
|
@KoryKramer, with standard SQL the following expression does not select NULL: FIRE_NAME <> 'ZWINGE' I just fired up Pro 3.0.2 and tested Select By Attributes on a feature class in a file geodatabase, and results were as expected, which is not to select NULL.
... View more
11-01-2022
01:25 PM
|
0
|
0
|
8231
|
|
IDEA
|
@Jon-PaulMcCool, @RandyCasey is absolutely correct. The use of NULL introduces 3-value logic into SQL comparison operators. Since NULL cannot be equal or unequal to any other value, including NULL itself, one cannot select NULL records based on equality comparisons.
... View more
11-01-2022
12:11 PM
|
0
|
0
|
8257
|
|
POST
|
Have you tested it outside of an enterprise geodatabase? Is the code your running and the changes to the data working on the same version of the data? If I have users modifying data in version X and they don't reconcile and post, I won't see them in version Y.
... View more
11-01-2022
07:10 AM
|
1
|
0
|
2716
|
|
POST
|
"They," the licenses, are not cancelled. What is cancelled is the license file. Once a license file is cancelled, it won't work to authorize any additional licenses, but that is because the license file itself has been cancelled and not because the licenses have been deauthorized or obsoleted. Personally, I liked it better when they were called Provisioning files because that is exactly what they are, and changing the name to Licensing files leads to confusion, especially for people newer to Esri licensing in My Esri. If you are interested in actual license information, I suggest looking at the Authorizations or Authorizations Activity reports because those contain information on licenses.
... View more
10-26-2022
11:17 AM
|
2
|
0
|
3236
|
|
POST
|
Can you elaborate on what you mean by "reinstating these license?" Cancelling a license file does not deauthorize already-deployed licenses, so the licenses are still active and valid if you look under Authorizations.
... View more
10-26-2022
10:26 AM
|
0
|
1
|
3242
|
|
POST
|
Posting pictures of code isn't much better than giving someone a picture of money, i.e., you aren't going to get much of anything for it. See Posting code with Syntax Highlighting on GeoNet and Code Formatting... the basics++ . Also, elaborate a bit more on what specifically isn't working. If you are getting errors, share the specific error and tracebacks.
... View more
10-20-2022
06:44 AM
|
0
|
1
|
1838
|
|
POST
|
To both improve your own troubleshooting and get better feedback from Community members, focus on creating and sharing a Minimal, Reproducible Example (MRE): How to create a Minimal, Reproducible Example - Help Center - Stack Overflow. Having an MRE is also most helpful when opening cases with Esri Support.
... View more
10-20-2022
06:35 AM
|
2
|
1
|
4102
|
|
POST
|
Here is another approach besides using elif blocks: update(!pci2016!, !pci2017!, !pci2018!, !pci2019!, !pci2020!)
# and code block
def update(pci2016, pci2017, pci2018, pci2019, pci2020):
for newValue in (pci2020, pci2019, pci2018, pci2017, pci2016):
if newValue != 0: break
return newValue
... View more
10-12-2022
03:25 PM
|
1
|
1
|
2198
|
|
POST
|
If you are using ArcGIS Pro, I suggest you use literal strings or f-strings: expression = f"{str(Num)[4:7]} not between {dateStart} and {dateEnd}"
... View more
10-07-2022
12:33 PM
|
1
|
1
|
3004
|
|
POST
|
When I try just building your expression I get an error before I even get to the arcpy tool: (The specific values I used don't matter for test building expression, just the data types matter, and I had to change !Num! to just Num for testing) >>> Num = 123456
>>> dateStart = 1
>>> dateEnd = 2
>>> expression = "str(Num)[4:7] not between '" + dateStart + "' and '" + dateEnd + "'"
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: can only concatenate str (not "int") to str
>>> Are you sure you are pasting your exact code?
... View more
10-07-2022
12:28 PM
|
0
|
1
|
3004
|
|
POST
|
Python slicing is start to stop, not start through stop, so [5:8] returns only 3 characters and not 4 characters.
... View more
10-07-2022
12:20 PM
|
1
|
0
|
3005
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-11-2026 07:04 AM | |
| 1 | 07-17-2026 06:54 AM | |
| 2 | 07-06-2026 12:29 PM | |
| 1 | 07-06-2026 12:00 PM | |
| 2 | 06-05-2026 10:30 AM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|