|
POST
|
My problem is that I don't have the ability to create a view layer because the data is published as a referenced feature service.
... View more
05-02-2025
12:13 PM
|
0
|
0
|
594
|
|
POST
|
I am pretty new to using Portal, so forgive me if this is a dumb question. I have published our parcel fabric as a referenced feature service. That being said, on occasion, I want to use parcels in other maps without having to worry about the end user being able to edit the data. I would love to be able to create a "View" of the feature service, but that can only be done if it were shared as a copy. So, what is the best workflow here? The only alternative I see is to publish a second copy of the parcel fabric as a copy, but now we have a second version of the layer that does not stay synchronized with the source data, which just adds to the administrative headache on my end. What am I missing here?
... View more
05-02-2025
07:06 AM
|
0
|
3
|
634
|
|
POST
|
Replying to myself in case anyone else has the same issue as we finally figured it out by writing in a debug line that lists the layers it is currently scanning. In the past, we had created a few applications using AppStudio, which has since been abandoned by ESRI. They are classified as a "Native Application," so they get lumped in with the "Application" filter. We added a specific filter that skips these items when scanning. Once I did that, the script worked flawlessly. Here is our version of the script.
... View more
05-01-2025
11:39 AM
|
0
|
0
|
1539
|
|
POST
|
Not a question, but just wanted to share a script that has been helpful for us. In the past we attempted to use this incredible script created by @jcarlson to scan our organization to figure out where feature layers were being used. The script is amazing and worked for many people, but not for us. It ran, and appeared to be working, but after a few seconds, it would hang and then never complete. It took us a long time to figure out why, but we finally did. We had some old App Studio applications in our ArcGIS Online organization. These are classified as "Native Applications," which get lumped in with the scripts scan of all applications in the organization. Once we added a debug function to list the layer being scanned, we found that it was getting hung on those native applications every time. We had to add in a segment to skip that application type, but once we did, it worked flawlessly. Here is our full code, which will skip Native Application item types if they are causing issues for you. """ Script to find where a specific AGOL layer is used within an ArcGIS Online organization. This tool connects to your AGOL org, searches specified item types for references to the layer's URL or item ID, and summarizes the results. """ # --------------------------------------------------------------------------- # Import & Warning Suppression # --------------------------------------------------------------------------- import warnings from urllib3.exceptions import InsecureRequestWarning # Suppress "Unverified HTTPS request" warnings for cleaner output warnings.simplefilter("ignore", InsecureRequestWarning) import os import json import pandas as pd from arcgis.gis import GIS # --------------------------------------------------------------------------- # CONFIGURATION – set these before running # --------------------------------------------------------------------------- ORG_URL = "https://YOUR ORG HERE.arcgis.com/" # Your AGOL organization URL USERNAME = "AGOL_USERNAME" # Your AGOL username PASSWORD = "AGOL_PASSWORD" # Your AGOL password LAYER_ID = "292q8e3ff7b94837a8f373c946bz1c5b" # Item ID of the layer to search for ITEM_TYPES = ["Web Map", "Application"] # Which item types to scan MAX_ITEMS = 5000 # Max items per search (-1 for no limit) # --------------------------------------------------------------------------- def find_usage(gis, layer_id): """ Search for references to a layer in specified item types. Parameters: gis (arcgis.gis.GIS): Authenticated GIS object. layer_id (str): Item ID of the target layer. Returns: dict: Keys are item types; values are lists of items where the layer is found. """ # Retrieve the layer item and its service URL layer_item = gis.content.get(layer_id) layer_url = layer_item.url usage = {} for item_type in ITEM_TYPES: # Map generic 'Application' to true web mapping apps actual_type = ( "Web Mapping Application" if item_type.lower() == "application" else item_type ) # Fetch all items of this type items = gis.content.search(query="", item_type=actual_type, max_items=MAX_ITEMS) print(f"[DEBUG] {actual_type}: {len(items)} items to scan") found = [] for it in items: # Log which item is being checked print(f"[DEBUG] Scanning {it.id} — {it.title}") # Skip Native Applications to avoid hangs if it.type.startswith("Native Application"): print(f"[DEBUG] Skipping native app {it.id}") continue try: # Pull JSON payload and check for layer URL or ID payload = json.dumps(it.get_data()) if layer_url in payload or layer_id in payload: found.append(it) except Exception as e: print(f"[WARN] Error fetching {it.id}: {e}") print(f"[DEBUG] → {len(found)} matches in {actual_type}\n") usage[item_type] = found return usage def summarize(usage): """ Print a summary table of items that reference the layer. Parameters: usage (dict): Output from find_usage(), mapping item types to item lists. """ for itype, items in usage.items(): header = f"\n{itype}s referencing layer:\n" + "-" * (len(itype) + 12) print(header) if not items: print(" None found") continue # Build a DataFrame for legibility df = pd.DataFrame([{ 'title': it.title, 'id': it.id, 'owner': it.owner } for it in items]) print(df.to_string(index=False)) def main(): """ Main execution flow: validate config, connect to AGOL, run search, and output results. """ # Ensure password is provided if not PASSWORD: print("ERROR: AGOL_PASSWORD environment variable not found. Exiting.") return # Inform user of connection attempt print(f"→ Connecting to {ORG_URL} as {USERNAME}…") try: gis = GIS(ORG_URL, USERNAME, PASSWORD) print("✔ Connected successfully.\n") except Exception as e: print(f"✖ Failed to connect: {e}") return # Perform the usage search print(f"→ Searching for usage of layer '{LAYER_ID}' in item types {ITEM_TYPES}…") usage = find_usage(gis, LAYER_ID) # Output a concise summary summarize(usage) print("\n→ Done.") if __name__ == '__main__': main()
... View more
05-01-2025
11:34 AM
|
3
|
4
|
1204
|
|
POST
|
Copy Features doesn't even give you the option to select which fields are copied. It just does all of them.
... View more
04-29-2025
11:19 AM
|
0
|
0
|
1616
|
|
POST
|
Here is a screenshot showing one example of the issue occurring. When I zoomed out to ~1:8000 it began to redraw normally until zooming back in.
... View more
04-01-2025
01:24 PM
|
0
|
1
|
932
|
|
POST
|
Hmm. I will consult with IT on this. My local drive does not have the space but would a external hard drive serve as a suitable option for such a test?
... View more
04-01-2025
10:08 AM
|
0
|
0
|
938
|
|
POST
|
1. I think so. When I go to the raster properties and look at the statistics section, I see this: 2. I will need to test this further to get a concrete answer for you on this as that is not something I thought about. I want to say it usually happens when I'm zoomed in, because it seems to happen frequently when editing parcels. But I will need to reproduce it and then zoom out and confirm if it happens at the overview level as well. 3. The allowed types are as follows: None, JPEG, LZ77, and LERC. The default method is currently set to JPEG. The Compression Quality is set to 75. The LERC tolerance is set to 0.01. I believe those should be defaults as I don't think it was anything that I changed. 4. I have never used the Dynamic Range Adjustment option. I actually had to look up how to do that. Is that something that I should be doing? As mentioned in point 1, I think statistics have been calculated when the imagery was initially created. 5. It is up to date. Thanks for your help so far!
... View more
04-01-2025
10:08 AM
|
0
|
1
|
938
|
|
POST
|
We purchased 3 inch pixel resolution aerial imager for our county this year. I have loaded it into a mosaic dataset and it works well at first. However I have noticed that after the map has been open for some time, the imagery performance seems to get worse. It will occasionally glitch out and only a portion of the imager will show. Sometimes the imagery will show up, but it will be with a reddish hue. Things like that. Usually you can fix the glitch by zooming in or out or panning the screen. But eventually the imagery will stop drawing in altogether until ArcGIS Pro is restarted. It's very annoying to constantly have to restart pro. Any ideas what the problem could be? Some general info, the uncompressed data is about 500GB. It is stored in a mosaic dataset that is on an enterprise geodatabase on a pretty beefy GIS server. I don't have the exact specs for the server, however. My PC is also pretty powerful. It has 32GB of RAM as well as a dedicated Nvidia GPU. So I don't really believe it to be a hardware issue. I've rebuilt it from scratch several times and always get the same issue. Screenshot of the issue:
... View more
03-25-2025
07:40 AM
|
0
|
8
|
1044
|
|
IDEA
|
I don't understand why map image layers are locked together in a group. I have map image layers from our portal to ArcGIS Online so that the public can see, but not edit some of our data. When I add that layer to my map, it gets added as a group and it cannot be ungrouped. This is very frustrating. There is a wonky workaround. If you add each individual rest service as an item to AGOL, then you will be able to pull the layers in one at a time, but obviously this requires a lot more setup and seems a bit pointless to have to go through all of that.
... View more
03-21-2025
07:53 AM
|
11
|
2
|
779
|
|
POST
|
This is very helpful information and I will definitely have to keep it in mind in the future! Fortunately, I have since solved my issue in another way. It turns out, the black border was being caused because our aerial imagery supplier had included a low resolution countywide preview image that had the no data space as solid black. I was able to correct it by removing that image from the mosaic dataset and rebuilding the overviews!
... View more
03-11-2025
08:26 AM
|
1
|
0
|
320
|
|
POST
|
That is correct. But as you can see, B 02 041does exist. You can even select the parcel, copy the text from the attribute, paste it in the search box, and it still will not find it. Regarding your question, no. This is entirely contained in arcgis online. Below is a screenshot of the web map that is being used in the instant app. As you can see, it has no issues finding the parcel number:
... View more
02-25-2025
06:49 AM
|
0
|
0
|
923
|
|
POST
|
It is public and it is using layers that are not tied into our enterprise. Just feature classes that are published to AGOL. Here is a link to the map. Here is a screenshot of those settings:
... View more
02-20-2025
02:26 PM
|
0
|
0
|
940
|
|
POST
|
The item is missing on the feature service page itself, however. Not just the web map. I need the feature layer to update because this service is being passed through to AGOL via URL with stored credentials. So if it won't show up on the feature service, there is no way to get it to show up in AGOL.
... View more
02-18-2025
09:34 AM
|
0
|
0
|
580
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 5 | 4 weeks ago | |
| 1 | 10-02-2024 07:04 AM | |
| 1 | 05-23-2024 02:54 PM | |
| 1 | 07-29-2025 01:09 PM |
| Online Status |
Online
|
| Date Last Visited |
6 hours ago
|