POST
|
Hi, As explained in ESRI documentation, only 'single symbol' or 'unclassed colors' symbologies are available for binnig enabled layer. If you wish to apply 'graduated colors', you can use 'Vary symbology by attribute' subtab and write a custom Arcade expression to derive the graduated colors based on an attribute. https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/symbolize-binned-feature-layers.htm For example, I wrote a simple if else Arcade statement to calculate "rgb(r, g, b)" text value used to draw the Solid Fill layer in the symbol. Here, if a total if greater or equal to 50, an "rgb(255,0,0)" red is output, else it is "rgb(255,255,0)" yellow, as shown in the square binning below. It works but I have to admit it is not easy concepts to use. Recently, I had a similar issue recently and you can look at this post for exact instructions to use: ArcGIS Pro 3.0.2 - How to apply colormap file .clr to feature class symbology? Hope this help.
... View more
01-05-2023
09:33 AM
|
0
|
0
|
391
|
POST
|
Thanks. It helped and it is informative. As expected, the ArcGIS Editor for OpenStreetMap in ArcGIS Desktop (ArcMap) could not open ESRI flavored .pbf. In addition, ArcGIS Editor for OpenStreetMap is not available in ArcGIS Pro either. ArcGIS Enterprise can export its own .pdf flavor but it is cumbersome to use... I will not use .pbf again for the time being.
... View more
01-05-2023
08:45 AM
|
0
|
0
|
4136
|
POST
|
Thanks. It eventually worked. The workflow is rather cumbersome and in addition to the resources mentioned above, follow the Attribute-driven instructions closely: https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/attribute-driven-symbology.htm
... View more
12-15-2022
08:28 AM
|
0
|
0
|
2245
|
POST
|
Hi, To Query a FeatureService, there are several Format to export the result. I used .PBF as it looks efficient and small but I cannot import the .pbf file into ArcGIS Pro (3.0.2). I guess it must be possible because the .pbf file is exported by ESRI ArcGIS Enterprise... I even tried to import the .pbf file in QGIS and the 'file is not a valid or recognized data source' Any help appreciated
... View more
12-15-2022
03:32 AM
|
1
|
2
|
4236
|
POST
|
Hi, I have a single band raster with a color classification I exported to colormap .clr file. Now the .clr file is simple a test file with gridcode and RGB values... As I converted my single band raster to polygons, I would like to apply the same color classification using the colormap .clr file. How is it possible? Thanks
... View more
12-14-2022
09:48 AM
|
0
|
7
|
2301
|
POST
|
Hi, I am trying to Query a FeatureService in which 'null' geometries causes errors. In the Query user interface, how is it possible to filter out 'null' geometries? Thanks
... View more
12-13-2022
03:01 AM
|
1
|
0
|
485
|
POST
|
Thanks. Appreciated. I did went through the Arcade Developers documentation and found the syntax confusing or cumbersome. When you call the function, you do not send any variable but in the function declaration there is an (x) variable... This x variable is like a 'dummy' variable but if not in the syntax, it produces an error...
... View more
12-12-2022
07:03 AM
|
0
|
1
|
1238
|
POST
|
Hi, In a PopUp, I am using a simple Arcade expression on which I'd like to count occurrences of a specific value stored in an array: Count(Filter(myArray, "21")); For example, I would expect this expression to return the total number of occurrences of value "21". But it returns a syntax error. Why?
... View more
12-12-2022
04:55 AM
|
0
|
4
|
1264
|
POST
|
Hi, I am trying to use the Calculate Field geoprocessing tool to calculate an attribute in a branch-versioned Feature Service. In the Input Table, I can browse to my branch-versioned Feature Service and find my feature class. That's ok. However, it looks like I cannot select the Version on which I will use the Calculate Field geoprocessing tool... I guess if I run the tool, it will perform calculation on the DEFAULT version (which I don't want) For info, I am not opening the Feature Service in the Table of Content (where I could select the Version) because it takes too long to display.
... View more
05-06-2022
04:19 AM
|
0
|
2
|
893
|
POST
|
Thanks Luke. I already tried the arcpy.AddMessage() but this one does not work in Code Block...
... View more
04-13-2022
01:58 AM
|
0
|
0
|
912
|
POST
|
Hi, As everybody, I use Calculate Field regularly in ArcGIS Pro. I wonder if it is possible to print messages in the Code Block section. I used the print() statment and the syntax is correct. After running the Calculate Field tool, if I click on the View Details, I cannot see the print messages I wished. This is purely informative and this helps to understand the calculation in details... Any guess?
... View more
04-13-2022
01:00 AM
|
0
|
3
|
969
|
POST
|
Hi, I managed to compute a checksum on attribute with Calculate Field code-block, using the hashlib module import hashlib
def hash(attribute):
hash = hashlib.md5(attribute.encode()).hexdigest()
return attribute Here I used MD5 algorithm. But SHA256 is just as good (or better). Just as simple as that! Ideally, I would like to compute this MD5 checksum in Arcade in attribute rule...
... View more
04-13-2022
12:55 AM
|
1
|
1
|
1196
|
POST
|
Correct, I have seen the GenerateCheckSum from the Aviation Charting extension... However, this needs extra licensing and I am unsure if it exists in ArcGIS Pro. Also, attribute rule cannot use Python script. However, if I were going with Python, I found: # Python program to find SHA256 hash string of a file
import hashlib
filename = input("Enter the input file name: ")
sha256_hash = hashlib.sha256()
with open(filename,"rb") as f:
# Read and update hash string value in blocks of 4K
for byte_block in iter(lambda: f.read(4096),b""):
sha256_hash.update(byte_block)
print(sha256_hash.hexdigest()) in https://www.codegrepper.com/code-examples/python/frameworks/file-path-in-python/python+sha256+checksum+file I wonder if it is doable to loop through selected attributes (including geometry), instead of byte_block, to calculate a SHA256 checksum...although computing on alphanumeric character instead of bytes would make the algorithm not as robust!
... View more
04-06-2022
09:15 AM
|
1
|
2
|
1235
|
POST
|
Thanks Rob. It is a similar approach I wish to apply into a GDB. Calculate a checksum (any algorithm: MD5, SHA-256...) for each single features. Ideally, I would implement it in an attribute rule. Is there any geoprocessing tool to calculate a checksum? Or any Arcade code to calculate a checksum in an attribute rule?
... View more
04-06-2022
08:51 AM
|
0
|
4
|
1237
|
POST
|
Hi, I wonder if there is a geoprocessing tool to calculate a CRC checksum for a given set of attributes in a file and/or enterprise GDB? Ideally, the CRC checksum should be generated with alphanumeric attributes and spatial attributes to output a robust checksum to detect any changes on feature after editing... If running same CRC checksum later on, it will be obvious to detect updated feature... Any help appreciated
... View more
04-06-2022
05:18 AM
|
1
|
6
|
1272
|
Title | Kudos | Posted |
---|---|---|
1 | 12-15-2022 03:32 AM | |
1 | 05-24-2018 02:11 AM | |
1 | 12-12-2023 08:54 AM | |
1 | 11-22-2023 08:59 AM | |
1 | 10-03-2023 06:03 AM |
Online Status |
Offline
|
Date Last Visited |
10-08-2024
02:12 PM
|