|
POST
|
Hello! Does anyone know if it is possible to set the conditional visibility of a field (or perform a field calculation in the upcoming March release) based on whether or not a barcode was scanned during feature collection? For example, if you are collecting features which may or may not have a readable barcode associated with them, you may want to have some additional fields appear or disappear for the user, to add additional info manually. Or in the future, once Field Calculations are added, you might want to have a Yes/No field for 'Was a Barcode Used?' for QAQC purposes, that calculates automatically. Thanks in advance!
... View more
03-08-2022
02:24 PM
|
0
|
0
|
589
|
|
POST
|
When creating custom project templates in ArcGIS Pro, is it possible to have the template create a particular folder structure within its project folder? For example, if I wanted all my new projects to come with an empty Windows folder for Images, Exports, Data etc... in addition to the default file geodatabase and toolbox that it generates? If so, how would one do this? I'm not seeing a lot of in-depth guidance on what can and can't be set with custom project templates in ArcGIS Pro.
... View more
03-01-2022
03:29 PM
|
1
|
3
|
1529
|
|
IDEA
|
A built-in highlight option would be neat for quick stuff -- but as a workaround in the meantime (or for advanced highlighting!), you can achieve this effect by putting two copies of the same layer/dataset into your web map, and then changing the symbology for one of them to be your 'highlight' look. Then, when you are setting up the map action, toggle off the visibility for your default copy and turn on the highlight copy. That should pull off the same effect, albeit with a little more work.
... View more
02-22-2022
07:05 AM
|
0
|
0
|
2674
|
|
POST
|
I got the result I was looking for by following the process in the first half of this video -- adding a Red, Green, and Blue short integer field and calculating the colors for each class. I'm not sure if this is the best method or the only method, but it is a method and for now it will work. If you had a ton of classes, manually inputting the RGB values would be a pain. Hope this helps someone else if they come across this post.
... View more
02-17-2022
09:50 AM
|
0
|
0
|
5105
|
|
POST
|
I feel like I've done this in the past, but I'm stuck on how to make this work now with ArcGIS Pro and Server/Portal: I have a single raster file (a .tif, but have also tried .crf and .cog). It is comprised of a single band containing thematic data. I would like to share this raster/thematic data as an image service via ArcGIS Server/Portal. Currently I have the symbology (colors and value labels) set up as needed via the layer symbology in a map, and have tried exporting that configuration as a raster function template -- but I can not get any of it to stick when sharing it to an image service. I need it so that when a user adds the image service into a new web map, the desired colors are drawn by default and the legend contains the value labels. The closest I have gotten is to get the correct colors to show using three RGB bands, but then the value labels are gone. I've tried using a colormap as well but I can't get the datasets transparent NoData value to work correctly when doing that, and the value labels don't work with that either. Can anyone point me in the right direction for how to make this work? It feels like it should be a simple process, but I'm having trouble finding much documentation on the issue. I haven't tried putting it into a mosaic dataset yet, since it's a just single image, but I suppose I'll try that next. Desired legend when adding service to map Closest I've gotten, correct colors, no legend
... View more
02-16-2022
03:00 PM
|
0
|
13
|
5730
|
|
POST
|
Whoops, yep sorry I just saw that older post and was about to update with a link to that. Thanks!
... View more
01-20-2022
09:35 AM
|
1
|
0
|
944
|
|
POST
|
Not sure when the change happened, but we've noticed that the Magazine layout for StoryMap Collections now cuts off title text pretty aggressively (see screenshot below). I don't have a screenshot of what it looked like previously, but I'm fairly certain it wasn't cutting text off like it is now or we wouldn't have chosen that layout to begin with. I've tried all sorts of window and screen sizes on desktop and mobile (also embedded in a ArcGIS Hub and unembedded) but the titles are still getting consistently chopped.On mobile it shows a "..." instead, but still shortens the title enough to the point where it still won't be particularly informative. Not sure if this is an unintentional bug from a recent update or if this is a known issue and I should post something in the Ideas forum. I think it would be helpful to let the title text slide up to cover the top and center of the thumbnail image rather than chop it off. It appears as if only 20 or so characters can go on a line and I have to imagine most StoryMap titles are longer than that.
... View more
01-20-2022
09:30 AM
|
0
|
2
|
955
|
|
POST
|
Thanks for the update! I was able to get the item.update method to work for my purposes. Appreciate you taking a look.
... View more
11-02-2021
10:47 AM
|
0
|
4
|
4087
|
|
POST
|
Bummer, but thanks for the info. If anyone has any ideas for how to achieve this through another method, I'd love to hear it. Looking into using item.update now.
... View more
10-29-2021
12:30 PM
|
0
|
6
|
4125
|
|
POST
|
I'm writing a notebook to export a hosted feature layer that I own as a File Geodatabase item into my content, using item.export . This would be used as a backup copy of my data, if needed. I then intend to schedule a task for the notebook to have it run on its own periodically -- and ideally would like it to overwrite the previously-created backup each time so that I don't have a bunch of items creating clutter and taking up storage space. The item.export method has an argument for 'overwrite' to replace an existing item, which sounds like what I need, however I'm either misunderstanding it or it doesn't seem to be working correctly. When I set overwrite = true, it just creates a new item in my content with the same exact name. dataitem = gis.content.get(#itemid)
backupname = f'{dataitem.title} Backup'
dataitem.export(backupname, 'File Geodatabase', parameters=None, wait=True, overwrite=True) Any idea if this is a bug or intended behavior? Is there a better way to do this? I tried using a search to locate the previous backup so I could just delete it -- but even when feeding in the exact item name, it would occasionally pull up some other item in the org.
... View more
10-29-2021
08:45 AM
|
0
|
8
|
4145
|
|
POST
|
@Anonymous UserAha! Thank you Josh, I looked all through the Notebook itself for an option to update the version but didn't think to check the Settings on the item detail page. That is very helpful.
... View more
10-22-2021
12:03 PM
|
0
|
0
|
1126
|
|
POST
|
This is more of a notice than a question, but perhaps someone can confirm what I've found. Below is a snippet of code to create a spatially enabled data frame from a web layer. The layer is coming from a Federated Server/Portal, rather than an ArcGIS Online hosted feature layer. Running the script results in error code (498): Invalid Token. This does not occur when using hosted feature layers stored in ArcGIS Online, but does occur with other layers stored in our Portal. Using an enterprise vs built-in ArcGIS Online account doesn't make a difference, and the items are shared publicly. Data opens fine in a web map. from arcgis.gis import GIS
import pandas as pd
gis = GIS("home")
npdesOD = gis.content.get("1550e796acb346baa743e90c13a19bf4").layers[0]
npdesOD_sdf = pd.DataFrame.spatial.from_layer(npdesOD)
npdesOD_sdf.head() I have an older script that was created several months prior which uses the same workflow to create a spatially enabled dataframe, and it runs without issue. I can copy that exact working code into a new AGO Notebook and it will fail with error code 498, though. Looking at the Info tab for the Notebook, I realized that the older, working Notebook is using the 4.0 Runtime, while all new Notebooks I create are using the 5.0 Runtime. As a workaround for this issue, I was able to 'Save As' the old 4.0 Notebook, then delete the contents and write my new script to get around the bug. This works fine. However I'm hoping that the issue will be fixed for the 5.0 Runtime Notebooks, so that this workaround isn't needed. It also doesn't help users who don't have an old Notebook lying around.
... View more
10-22-2021
10:17 AM
|
0
|
2
|
1155
|
|
IDEA
|
Been waiting on this one for a while now. If allowing the user to choose a specific color is difficult for whatever reason, I'd even be okay with the option to choose something neutral like black or white from a list, instead of it always being blue. For certain themed dashboards, the blue can really stick out like a sore thumb.
... View more
09-20-2021
10:46 AM
|
0
|
0
|
4014
|
|
POST
|
That's unfortunate, but I appreciate the answer! The JSON workaround doesn't really apply in my specific case, though that is a good trick to know.
... View more
09-13-2021
07:45 AM
|
0
|
0
|
2117
|
|
POST
|
Maybe a weird question, but is it possible to add additional layers / end-points to an existing hosted feature layer in ArcGIS Online? I know you can create a hosted feature with multiple layers / end-points in a single service/item, but once you upload it there doesn't seem to be a way to add additional layers. Perhaps using the REST API or ArcGIS API for Python? Have found myself in a situation where this would be beneficial, rather than recreating or uploading an additional hosted feature layer. As an example, this Living Atlas layer for Recent Hurricanes has three layers / end-points in one service. https://services9.arcgis.com/RHVPKKiFTONKtxq3/ArcGIS/rest/services/Recent_Hurricanes_v1/FeatureServer What if you wanted to add a fourth?
... View more
09-10-2021
09:38 AM
|
0
|
3
|
2287
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | a month ago | |
| 1 | 09-17-2025 10:59 AM | |
| 1 | 09-17-2025 11:03 AM | |
| 3 | 4 weeks ago |
| Online Status |
Online
|
| Date Last Visited |
7 hours ago
|