|
POST
|
Hello, I had a few Power Automate flows setup six months ago and since September they stopped working. I've try to re created from scratch using a template (Track when a record is created in a feature layer in ArcGIS Online) and I keep getting this error message: My Connection to AGOL is valid what am I doing wrong???? Thanks! Could not retrieve values. The dynamic invocation request failed with error: { "error": { "code": 400, "source": "unitedstates-002.azure-apim.net", "clientRequestId": "39bcdc27-e61b-40d6-a295-1302a78c2c3b", "message": "The response is not in a JSON format.", "innerError": "Cannot read properties of undefined (reading 'forEach')" } }.
... View more
10-31-2023
06:57 AM
|
0
|
6
|
2811
|
|
POST
|
Hello, I am trying to use the ListDatabaseSequences function and when using a SDE connection, I always get following error: OSError: Could not open SDE workspace. If I use a FGDB connection it's working fine. If I use the same SDE connection with the ListDomains function everything works just fine. I am testing the code "as is" from the AGS Pro on-line documentation. I am using AGS Pro 3.1.3 import arcpy
#this works for ListDatabaseSequences
#gdbFGDB = r"D:\droberge\temp\coa_GIS\dr_testArcade.gdb"
#this works for ListDomains
gdbSDE = r"D:\droberge\programs\GIS_PRO\dr_coa_MASTER\coaUNWater_coa_gis.sde"
sequences = arcpy.da.ListDatabaseSequences(gdbSDE)
domains = arcpy.da.ListDomains(gdbSDE)
try:
for seq in sequences:
print("------------------------")
print('Sequence name: {}'.format(seq.name))
print('Sequence start value: {}'.format(seq.startValue))
print('Sequence increment value: {}'.format(seq.incrementValue))
print('Sequence current value: {}'.format(seq.currentValue))
## for domain in domains:
## print(f"Domain name: {domain.name}")
## if domain.domainType == "CodedValue":
## coded_values = domain.codedValues
## for val, desc in coded_values.items():
## print(f"{val} : {desc}")
## elif domain.domainType == "Range":
## print(f"Min: {domain.range[0]}")
## print(f"Max: {domain.range[1]}")
except:
print(" we are in the except section... no bueno")
arcpy.AddMessage(arcpy.GetMessages(2))
print(arcpy.GetMessages(2))
print("Process is over!") This is the error sequences = arcpy.da.ListDatabaseSequences(gdbSDE) OSError: Could not open SDE workspace. Any help would be much appreciated. Thanks!
... View more
10-30-2023
01:30 PM
|
0
|
2
|
1013
|
|
POST
|
Is it possible to change the Editing units... By default they are are in meter. under settings, I changed everything to the units I would like to use (ft, acres, etc.) but when I try to create a feature (on a hosted feature layer)...it's only in meter. Now for lines, I can right click and select Direction/Distance which allow me to enter my distance in ft (which is fine), but if I try to create a buffer... units are only in meter Any help would be appreciated. Thanks!
... View more
10-06-2023
08:10 AM
|
0
|
2
|
1138
|
|
POST
|
Hello I am interested in using WGS84 Spatial reference, but there is a significant difference in speed to redraw a map. What would be the cause of this issue? Thanks!
... View more
10-06-2023
08:00 AM
|
0
|
1
|
720
|
|
POST
|
Sorry, I solved my problem: // Get other layer from datastore
var other_layer = FeatureSetByName($map, "Tree Inventory Areas")
// Intersect layer and feature, use `First` to take the top feature
var intersectFeat = Intersects($feature, other_layer)
//check for intersects
var intersect_count = Count(Intersects(other_layer, $feature))
var noZone = "999"
if(intersect_count ==0) {
return noZone
}
var xs_feat = First(intersectFeat)
var Zone =xs_feat["zone"]
//else
return Zone
... View more
06-23-2023
01:02 PM
|
0
|
0
|
4035
|
|
POST
|
@JohannesLindner I am using your code in a similar fashion, , it's working great if I click inside my Zone (blue area) but if I click outside I get the following warning message. Technically, since I don't have a Zone to intersect I should be getting a "NULL" value correct? What am I missing? Thanks! // Get other layer from datastore
var other_layer = FeatureSetByName($map, "Tree Inventory Areas")
// Intersect layer and feature, use `First` to take the top feature
var intersectFeat = Intersects($feature, other_layer)
var xs_feat = First(intersectFeat)
var Zone =xs_feat["zone"]
var noZone = "999"
if(xs_feat == null) {
return noZone
}
//else
return Zone
... View more
06-23-2023
12:30 PM
|
0
|
1
|
4036
|
|
POST
|
will do. Thanks @Robert_LeClair for looking into this👍
... View more
06-22-2023
07:23 AM
|
1
|
0
|
1073
|
|
POST
|
ideally, I would like to have my data in WGS 1984 Web Mercator (auxiliary sphere) as I can create templates (for building foot print) and the dimensions would stay the same regardless if I create a feature in South Dakota or in Indiana.
... View more
06-19-2023
11:32 AM
|
0
|
1
|
682
|
|
POST
|
sorry to get back at this issue again 😁 I am curious here.... if I edit my layer (WGS 1984 Web Mercator (auxiliary sphere) ) in a web map and create a line feature with the tooltips enable....if I follow the back of the property line I get the 95ft (which is geodesic) If I do the same process in ArcGIS Pro (same layer) and use the Distance Tool to create the line my 95ft is planar All I would like here is a little bit of consistency.
... View more
06-19-2023
08:17 AM
|
0
|
3
|
7280
|
|
IDEA
|
When editing a line feature in a web map, you can enable the Tooltips and get the total length of the segment. If you edit a polygon feature, you only get the area....It would be nice if the Total Length of a segment would also be display when creating a polygon.
... View more
06-19-2023
07:22 AM
|
0
|
2
|
809
|
|
POST
|
Yes, but my problem is that I also need to add lines based on survey data (see image below. Back of property line is 95', if I use the Edit/Distance tool and type 95... it doesn't match). I which we could have the option to CHOOSE between Planar and Geodesic when editing Web Mercator Auxillary Sphere data
... View more
06-15-2023
01:32 PM
|
0
|
2
|
1087
|
|
POST
|
yes most likely, but would you know of a way to create a feature (101'x193') using feature template regardless of where you are?
... View more
06-14-2023
11:19 AM
|
0
|
4
|
1099
|
|
POST
|
The image is not of a great quality but I believe you have a typo: seems like you have [company_something} and it should be {company_something}
... View more
06-14-2023
06:04 AM
|
0
|
0
|
836
|
|
POST
|
ok... few questions 1) why WGS 1984 Web Mercator (auxiliary sphere) is the default coord system when you create a new item (Feature Layer) in AGOL then? 2) 99.9% of my work is done in SP coord (from our own arcgis server) which I don't have any issues creating data. This is a weird project I have, which coord system would you recommend for data creating across 6-7 states? I need the info to be stored on AGOL. Thanks!
... View more
06-13-2023
02:46 PM
|
0
|
5
|
7311
|
|
POST
|
Hi I created a feature template (building layout 101'x193') that I would like to use across many states. But I noticed that the dimensions are different if using the template in South Dakota Vs Nebraska let's say I create the template in SD, if I use it in NE, then the dimensions are (104x200), IA I get (106x204). My question is: is it possible to create a feature template that will return CONSISTENT dimensions regardless of the state you are in? Thanks
... View more
06-13-2023
11:49 AM
|
0
|
6
|
1119
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-05-2024 06:19 AM | |
| 1 | 06-11-2025 08:07 AM | |
| 1 | 07-13-2025 04:58 PM | |
| 1 | 02-27-2025 08:13 AM | |
| 1 | 11-05-2024 06:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|