IDEA
|
2 weeks ago
|
0
|
0
|
45
|
IDEA
|
Hi @JamesRains It looks like the layer is coming from a Map Image Layer (Map Service)? By default, these are added as composite layers: https://pro.arcgis.com/en/pro-app/3.3/help/data/services/use-map-image-layers.htm#ESRI_SECTION1_1B5AB5F9429F4295827ACBB30AB493FF The UI in the screenshot shows a composite layer as indicated by the connector I have highlighted below: I suspect that if you add the sublayer of the Map Service as a feature layer, you should be able to get the functionality you are looking for. To add a map image layer's sub layer as a feature layer you have two options: The first option: In the Contents pane go to your Portal and find the map image layer item. Double click on the item to display the sub layers. Once you see the sub layers you can drag and drop into your map or right click and choose to add to a map. The second option: Get the URL of the Map Service and use the sub layer URL with the 'Add Data From Path' option: https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/add-layers-to-a-map.htm#ESRI_SECTION1_FABB01A75AFE4A1FB0BEC3D7CE74E3C5. When using this second option you would want to pass in the URL pointing to the sub layer not to the map service. For example: Use this with the /1 for the first layer: https://sampleserver6.arcgisonline.com/arcgis/rest/services/PoolPermits/MapServer/1 Do not use this without the /1 for the entire service: https://sampleserver6.arcgisonline.com/arcgis/rest/services/PoolPermits/MapServer
... View more
3 weeks ago
|
0
|
0
|
123
|
IDEA
|
05-28-2024
08:00 AM
|
0
|
0
|
605
|
POST
|
Hi Michael, BUG-000150723 was resolved for the case where features were disappearing after split in a named branch version. Here is the repro case for this bug which I am no longer able to reproduce in 3.0.6, 3.1.3, 3.2: Polygon Branch Versioned Feature Layer (Version must be the non default version) Load in the a Branch Versioned Polygon Feature Class into Pro Select a feature on the map and run the split tool from the editing tool bar to split the polygon Reselect the polygon and run another split on it. Notice in the attribute table that it will say 3 features are selected, but only two are visible in the attribute table. We did work in 3.2 to resolve this issue and installed those same fixes in the 3.0.6 and 3.1.3 updates. I am no longer able to reproduce the behavior as described in the repro case. Likewise, in my testing I could not reproduce BUG-000151169 when testing with 3.0.6, 3.1.3, or 3.2. Here is the repro case I received for BUG-000151169: In the editing menu, select the "Split" tool Select the polygon, perform a split operation. This is successful. We'll call the created features polygon #1 and polygon #2. Without de-selecting anything, perform a 2nd split operation on polygon #2. This fails with an error message: "Splitting features failed. ERROR: Unable to complete operation. Unable to perform applyEdits operation. Error: A polygon cut operation could not classify all parts of the polygon as left or right of the cutting line." Press escape, discard edits, clear all selections. In the editing menu, select the "Split" tool. Select polygon #2 and attempt the "Split" operation. This succeeds, but not in the way intended. BUG: The result "cuts" or "removes" part of the polygon (it disappears) instead of performing a split. I recently marked this issue as non-reproducible because I could not reproduce with any of our supported/patched software. Can you please work with Technical Support to get a bug logged with the behavior you are seeing as it appears to be slightly different than these two bugs? This will be the easiest way for my team to get the appropriate repro case for this. Unfortunately the error message "Error: A polygon cut operation could not classify all parts of the polygon as left or right of the cutting line" can arise in many scenarios and seems to be causing multiple issues to be convolved.
... View more
11-27-2023
07:26 AM
|
0
|
0
|
824
|
POST
|
@MichaelJimenez you need to escape the quotes. I came across this looking for answers when I ran into the same issue so I assume you have moved on. Since the outstatistics parameter is JSON not just a simple string you need to escape the quotes in the outstatistics JSON that is passed in. This is the code I wrote for my case. # Set variables before execution
lName = "TestLayer" #layer name from contents pane
statField = 'TextField255' #field to get statistics from
whereClause = '1=1' #optional where clause
import arcpy
from arcgis.gis import GIS
from arcgis.features import FeatureLayer
gis = GIS("home")
url = arcpy.Describe(lName).catalogPath
layer = FeatureLayer(url)
hClause = "Count({}) > 1".format(statField)
queryResult = layer.query(where=whereClause, groupByFieldsForStatistics=statField, havingClause=hClause, outStatistics="[{\"statisticType\":\"count\",\"onStatisticField\":\"%s\",\"outStatisticFieldName\":\"NonUniqueCount\"}]" % (statField))
queryResult.sdf[['TextField255', 'NonUniqueCount']] Note that I was using this inside of Pro so I have a mix of arcpy and arcgis api for python in my example. Hope this helps you or someone else reading this later.
... View more
10-13-2023
05:02 AM
|
0
|
0
|
764
|
IDEA
|
@LindsayRaabe_FPCWAHave you seen this doc: https://developers.arcgis.com/rest/services-reference/online/truncate-feature-layer-.htm My understanding is that you cannot set this property, rather it will be true if the following conditions are met. 1. you need to be running Truncate as owner (publisher) of the feature layer or a portal administrator to be able to truncate 2. the layer cannot have sync or change tracking enabled. 3. the layer cannot have relationships with other layers 4. the layer cannot be a view layer or be a hosted layer that other view layers are created off of. I am trying to get confirmation on my statements above to make sure I am correct.
... View more
03-27-2023
01:21 PM
|
0
|
0
|
2457
|
IDEA
|
@LindsayRaabe_FPCWA I am happy to report that this should be a lot faster in Pro 3.1. We are now grouping edits into fewer round trips to the feature service so it should work a lot faster especially in cases where you are deleting a lot of data. This is for both Delete Rows and Delete Features tools. We have also made some server side changes that allow us to put more edits into each ApplyEdits request we send to the feature service (Asynchronous ApplyEdits and ApplyEdits with UploadID) . Look for these server side changes in Enterprise 11.1 and the next (summer update) to ArcGIS Online.
... View more
02-13-2023
12:48 PM
|
0
|
0
|
1295
|
POST
|
This error maps to one of the following: FDO_E_DATASET_CANNOT_RENAME "Cannot rename the dataset with objects already open." CADASTRAL_E_CONTAINS_COMPRESSEDDATA "No license available." WMSCONN_E_MISSING_URL "URL is missing." NETWORKLOADER_E_INVALID_FIELD_NAME "An invalid field name was specified." E_TEMPMETAFILE "Cannot create temporary metafile." Hope this helps.
... View more
12-14-2022
10:29 AM
|
0
|
0
|
666
|
IDEA
|
Hi David, As you state the behavior you are describing is expected. The intention of using the source spatial reference in Pro is to avoid adding overhead (aka reprojection) to query requests by default. We report the actual (source) spatial reference of the data which means users are more informed when reprojection is occurring. This is especially informative when multiple layers are published from different spatial references. You are correct that this is a difference in the way Pro handles the spatial reference when compared to ArcMap. Pro will treat feature layers (from feature or map services) as individual datasets rather than as maps. This means that the published map spatial reference is not used by default instead we use the source spatial reference as you describe. Are you able to set the spatial reference of the published map after adding these layers? If you do this, you can set the Pro map's spatial reference to your desired GDA2020 and the transformations you authored should be used. You can do this after adding the data to the map or you can set your Map and Scene properties such that GDA2020 is the default rather than using the 'first operational layer'.
... View more
09-26-2022
06:54 AM
|
0
|
0
|
1135
|
POST
|
Hi Molly, Can you try setting the spatial reference of the map in Pro to a few different options (Web Mercator for example) to see if any other spatial references will allow the the layers display?
... View more
08-29-2022
09:41 AM
|
0
|
1
|
1763
|
POST
|
Hi @AndersVolue do you have any code I could use to try to reproduce this error message with my own data?
... View more
02-18-2022
09:05 AM
|
0
|
1
|
1601
|
IDEA
|
Hi @MichaelSnook Are you looking for geo-database replication or standard database replication? It would be helpful for us to make sure we are understanding what you are looking for. Would you be able to contact me via PM? I have some more follow up questions about your workflows that I would like to ask you in order to get a better understanding of your constraints.
... View more
02-14-2022
05:09 PM
|
0
|
0
|
2473
|
POST
|
Hello, Multi-column unique value renderers are not supported in ArcGIS Online, I suspect that this may be the crux of the problem. If you publish with a single unique value renderer from Pro do you get the expected results? Perhaps an Arcade expression for symbolizing your data may work instead of the multi-column renderer?
... View more
02-07-2022
06:01 AM
|
0
|
0
|
270
|
POST
|
Hi Bart, Can you explain a bit more about what you would like to do with this API. I don't think we have anything at the moment but would like to understand your use case a bit better. Thanks, Russell
... View more
01-11-2022
11:56 AM
|
0
|
1
|
1334
|
Title | Kudos | Posted |
---|---|---|
1 | 08-29-2013 08:26 AM | |
1 | 08-20-2014 11:38 AM | |
1 | 09-05-2013 09:03 AM | |
1 | 05-22-2018 04:53 PM | |
1 | 02-04-2015 11:53 AM |
Online Status |
Offline
|
Date Last Visited |
a week ago
|