IDEA
|
@Pei-SanTsai Thank you for your post! I see where Thomas was talking about now. Appreciate it!
... View more
08-09-2024
08:25 AM
|
0
|
0
|
199
|
IDEA
|
I tried what ThomasHamill suggested but couldn't get it to work. Instead I added my layers (I have them grouped together) back to the map and that appears to have worked to fix this issue. Although when I try and reorder any of the fields it still isn't reflected in my web app.
... View more
08-01-2024
06:31 AM
|
0
|
0
|
299
|
POST
|
This was the same for me - it was a google chrome issue. I used Microsoft Edge and it worked fine.
... View more
07-26-2024
05:54 AM
|
0
|
0
|
863
|
POST
|
Hello, I was also trying to do this so I could label all my rasters. To do this I had to create a polygon layer. Make sure the project you are working on is saved and closed, then open the python notebook in a different project. Also, I only had one 'Map' - when I had multiple it would not work. Below is my python code: import arcpy # Set the workspace environment arcpy.env.workspace = r"C:\path\to\your\geodatabase.gdb" # Update the path to your geodatabase # Input map project file (.aprx) map_project = r"C:\path\to\your\map_project.aprx" # Update the path to your map project file (.aprx) # Reference the map project aprx = arcpy.mp.ArcGISProject(map_project) # Get all the maps in the project maps = aprx.listMaps() # Create a polygon feature class to store layer names as polygons polygon_fc_name = "LayerNamesPolygon" polygon_fc_path = arcpy.management.CreateFeatureclass(arcpy.env.workspace, polygon_fc_name, "POLYGON").getOutput(0) # Add a field to store layer names in the polygon feature class arcpy.management.AddField(polygon_fc_path, "Layer_Name", "TEXT") # Iterate through each map in the project for map_obj in maps: # Iterate through each layer in the map object for lyr in map_obj.listLayers(): if lyr.isRasterLayer: # Get the raster layer name raster_layer_name = lyr.name # Get the extent of the raster layer desc = arcpy.Describe(lyr) extent = desc.extent # Create a polygon from the extent array = arcpy.Array([extent.lowerLeft, extent.lowerRight, extent.upperRight, extent.upperLeft]) polygon = arcpy.Polygon(array) # Insert the polygon with layer name into the feature class with arcpy.da.InsertCursor(polygon_fc_path, ["SHAPE@", "Layer_Name"]) as cursor: cursor.insertRow([polygon, raster_layer_name]) # Save changes to the map project aprx.save() # Delete the ArcGISProject object to release locks del aprx
... View more
04-05-2024
09:34 AM
|
0
|
0
|
468
|
POST
|
I've had a similar issue, and I believe the 'members of your organization' is important here. It seems like the locator is only available to people logged in. As a municipality, it would be a lot better if we could have the public also use our locator, since we update road names more frequently then ESRI's Default locator.
... View more
01-17-2024
09:58 AM
|
1
|
0
|
650
|
POST
|
I'm also having this issue - the map zooms in far too close when I have filtering on, and there is only one feature it's zooming to. There should be a limit on how far it zooms in automatically?
... View more
07-13-2023
08:04 AM
|
0
|
0
|
964
|
Title | Kudos | Posted |
---|---|---|
1 | 01-17-2024 09:58 AM |
Online Status |
Offline
|
Date Last Visited |
08-09-2024
04:46 PM
|