|
POST
|
Thanks for confirming where the last separator comes from. That's workable as long as I know where it's coming from. I can confirm this is not how it worked before this update, all separators were given the same color.
... View more
03-04-2024
09:36 AM
|
0
|
0
|
1548
|
|
POST
|
In your example above, notice how it's working for all list elements EXCEPT the last one. Try going to your data tab and setting it to where the max number of features is 1. Then try setting your color to anything. There will still be a separator, but it will always be the default value. Also, try removing the advanced formatting and manually enter a hex code or RGB value. Those boxes don't seem to work, only the color wheel. That's true for anything in my existing dashboards, for example, the color settings for entire dashboard.
... View more
03-04-2024
07:55 AM
|
1
|
2
|
1576
|
|
POST
|
It appears that after the latest AGO update, the separator color within dashboards does not work as it previously did. In the screenshot below, I have one object in a list widget. Previously, I would make the separator the same color as the background so it didn't show. Now, after the update, it reverts back to the default. And even if I use the advanced formatting, nothing appears to overwrite the default value. Also, if I remove advanced formatting and try to manually type in a value using the color wheel, that doesn't seem to hold either, using the hex code or RGB values. Only the color wheel seems to work.
... View more
03-04-2024
07:25 AM
|
1
|
5
|
1594
|
|
POST
|
We work with Edge, however I get the same when using Chrome. What I see when loading our AGO: When I uncheck the styles shown in the first screenshot below from Developer tools, I get the Roboto font, which is what I'm setting in the AGO typography (last screenshot below).
... View more
12-11-2023
07:53 AM
|
0
|
0
|
1241
|
|
POST
|
I've noticed that the typography on the ArcGIS Online home page is not updating, regardless of whether I chose a preset or custom font, it always defaults to "default, serif" for the home page font. What I want: What I get: If I uncheck "--homepage-title-font" and "--homepage-body-font" in the developer tools, I get the font I want from the first screenshot.
... View more
12-06-2023
02:35 PM
|
0
|
4
|
1312
|
|
POST
|
@NicholasGiner1 I'm curious how the percent storage metric works? If I use this metric using an average per hour over one day, I'm getting 4.0 as a result. However, if I look at the feature data storage in the AGO interface, I see 1%. Is there are reason I'm getting 4.0 returned?...I get the same if I use min or max. AGO Interface --- 1% usage Python API --- 4% If I return the feature storage, I get a value that aligns with the AGO interface, around 4.20GB once you convert MB to GB (4,305/1,024 = 4.20). If I then divide this by the 500GB shown in the AGO interface, I get the 1% usage.
... View more
11-13-2023
10:52 AM
|
0
|
0
|
1119
|
|
POST
|
I'm aware of overviews, which are used for mosaic datasets. I'm really just curious if there are benefits to building pyramids on the individual tiles in addition to the generating overviews.
... View more
10-13-2023
01:54 PM
|
0
|
1
|
2216
|
|
POST
|
We recently received hundreds of .tif images for a countywide imagery project. Ultimately, we will be building a mosaic dataset out of these images. It is unlikely that users will be accessing the individual .tif images, but rather they'd be accessing the mosaic to view the complete imagery package. My question is: is it worth our time (and disk space) to build pyramids on the individual .tif images? Will there be any performance gain on the mosaic if pyramids are built in addition to the overviews that we already plan on creating?
... View more
10-13-2023
08:21 AM
|
0
|
4
|
2322
|
|
POST
|
Is there a way to custom style the selection polygon and flash symbol in Experience Builder developer edition? We have a workflow that involves messages that select and flash features, and I'd like the selection to be hollow and the flash symbol to be a different color. Is there CSS styling somewhere in downloaded app that can be modified?
... View more
09-01-2023
07:50 AM
|
0
|
1
|
1298
|
|
IDEA
|
Please create a geodatabase/arcpy tool that returns permissions on an input enterprise dataset. There are cases when we have new staff start and they need/want the same permissions as another user. It would be nice to be able to iterate over datasets in a geodatabase, get the permissions on a particular dataset and be able to check what permissions a certain user has. In this example, I could set a target user name and if found, assign the new user the same permissions as the target user. The return could be something like either of the following: return = [{user: UserName1, edit: True, view: True}, {user: UserName2, edit: False, view: True}]
return = [{user: UserName1, select: True, insert: True, update: True, delete: True}, {user: UserName2, select: True, insert: False, update: False, delete: False}]
... View more
06-26-2023
01:39 PM
|
1
|
3
|
1204
|
|
POST
|
I believe I have resolved my issue, which is the number of attachments is greater than the max record count of the service. In order to retrieve all attachments, I needed to use the "max_records" and "offset" parameters. Sample code can be found here if anyone needs it for future reference.
... View more
06-22-2023
01:37 PM
|
1
|
0
|
3114
|
|
POST
|
The hosted feature layers I've been testing have not been edited since April 2022, so I don't believe that's an issue here. I did some digging with a few of our hosted feature layers that have a considerable amount of attachments. It seems like the "search" method on the Attachment Manager only returns whatever is the max record count for the service. It doesn't seem to automatically paginate if the max record count is hit. Using the feature layer above as an example, I should expect a return of around 3GB in size for the attachments. If I use the code below, only the first 2,000 attachments are returned...the max record count for the hosted feature layer service. Even if I pass in a value of 9,999 for the "max_records" parameter used by the "search" method, only the first 2,000 attachments are returned. import arcgis
itemId = '...'
# connect to portal
p = arcgis.GIS('...')
# set item object
item = p.content.get(itemId)
# get item layers
layers = item.layers
# set place holders
attachmentSize = 0
attachmentCount = 0
# iterate over item layers
for l in layers:
# check if layer supports attachments
attachmentSupport = l.properties.hasAttachments
if attachmentSupport:
attachments = l.attachments.search(where='1=1')
# iterate over attachments
for a in attachments:
attachmentCount += 1
s = a.get('SIZE')
attachmentSize += s
# convert attachment size to MB
attachmentSizeMB = ((float(attachmentSize) / 1024.0) / 1024.0)
print(f'Attachment Count: {attachmentCount:,}')
print(f'Attachment Size: {attachmentSize:,}')
print(f'Attachment Size (MB): {attachmentSizeMB:,.2f}') It seems that in order to retrieve ALL attachments you need to account for pagination/offset when using the Attachment Manager. With the script below, which uses the "max_records" and "offset" parameters, I was able to finally return all attachments and get a similar number that the item page displays. import arcgis
itemId = '...'
# connect to portal
p = arcgis.GIS('...')
# set item object
item = p.content.get(itemId)
# get item layers
layers = item.layers
# set place holders
attachmentLoops = 0
attachmentSize = 0
attachmentCount = 0
# iterate over item layers
for l in layers:
# check if layer supports attachments
attachmentSupport = l.properties.hasAttachments
if attachmentSupport:
# set query values
attachmentMax = 1000
attachmentOffset = 0
continueQuery = True
# get attachments
while continueQuery:
attachmentLoops += 1
attachments = l.attachments.search(where='1=1', max_records=attachmentMax, offset=attachmentOffset)
# check for attachments
if attachments:
# increment offset
attachmentOffset += attachmentMax
# iterate over attachments
for a in attachments:
attachmentCount += 1
s = a.get('SIZE')
attachmentSize += s
else:
continueQuery = False
# convert attachment size to MB
attachmentSizeMB = ((float(attachmentSize) / 1024.0) / 1024.0)
# check attachment loops
if attachmentLoops == 0:
attachmentLoops = 0
else:
attachmentLoops = attachmentLoops - 1
print(f'Number of Loops: {attachmentLoops:,}')
print(f'Attachment Count: {attachmentCount:,}')
print(f'Attachment Size: {attachmentSize:,}')
print(f'Attachment Size (MB): {attachmentSizeMB:,.2f}')
... View more
06-22-2023
01:32 PM
|
1
|
0
|
3224
|
|
POST
|
Is it possible to get the usage and availability of the Feature Data Store within AGO using the Python API? Below is a sample of the usage and availability I see when signed in as an admin to our AGO Organization. I don't see this as a property of within the arcgis.gis module.
... View more
06-20-2023
10:26 AM
|
0
|
2
|
1296
|
|
IDEA
|
I think it would be nice to provide the feature and attachment size separately for hosted feature layers, rather than providing only the overall item size. This is shown as two separate properties of a hosted feature layer from the item overview page already (screenshot below). It would be nice to have this available in the Python API as well.
... View more
06-20-2023
09:09 AM
|
3
|
0
|
674
|
|
IDEA
|
Please provide the hosted feature data storage usage and availability as properties within the arcgis.gis module of the Python API. It would be really nice to be able to easily query how much space is available in the feature data store as well as how much space is currently used. Below is what's shown in AGO. One property that would be returned is 4.10GB and the other would be 500.00GB. The units could be in bytes to remain consistent with other size values within the Python API.
... View more
06-20-2023
09:00 AM
|
1
|
1
|
912
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a month ago | |
| 1 | 01-16-2025 11:33 AM | |
| 1 | 01-13-2025 06:12 AM | |
| 1 | 01-13-2025 06:08 AM | |
| 1 | 03-19-2021 09:08 AM |
| Online Status |
Offline
|
| Date Last Visited |
Monday
|