POST
|
I'm curious if anyone knows if ArcGIS supports connecting to AWS S3 via the Cloud Storage Connection file (acs) using a proxy. Our org is using Privacea as a proxy to handle authentication to various AWS resources We can use privacera to generate an access key and secret key and connect through the proxy URL programmatically using Python, but don't know how to / if possible to wire this up in Pro. This configuration doesn't seem to do the trick. Is this unsupported or am I doing something incorrectly.
... View more
03-17-2023
06:27 AM
|
0
|
0
|
375
|
POST
|
This is a really pesky issue. I have confirmed that my spatial query should return 1931 records (confirmed with local data via ArcGIS Pro as well as REST query with returnCountOnly set to true). However, using a utility function that paginates through results using the exceededTransferLimit flag, I get back 2370 results. My function submits an initial query which returns 1931 results, but the exceededTransferLimit flag is set to true, so it submits a second time with the resultOffset set to 1931 and gets back 439 features with no exceededTransferLimit key (not even set to false - it's just not included in the response) so my final result set is 2370 records instead of 1931. The python API only returns 1931, so that seems works, but I have users just using Python requests. Is there something I'm implementing incorrectly? def paginate_queries(query_url:str, params:object, features:list=[])->pd.DataFrame:
if len(features)>0:
params['resultOffset']=len(features)
result = requests.post(query_url, params=params).json()
print(f"{len(result['features'])} features returned")
newfeatures = features + result['features']
if ('exceededTransferLimit' in result.keys()) and (result['exceededTransferLimit']):
return paginate_queries(query_url, params, features=newfeatures)
return pd.json_normalize(newfeatures)
... View more
03-16-2023
01:08 PM
|
0
|
0
|
3287
|
POST
|
We have Enterprise Server installed on Linux (10.9.1), and will also be using the Linux server to automate some arcpy and ArcGIS Python API based tasks (mostly ETL to our enterprise geodatabase mostly but also automation of Service publishing and other Enterprise related tasks). Official documentation says to install arcgis-server-py3 for our version using conda, but I also see on the Esri packages on anaconda entries for arcpy, arcpy-base, and arcpy-server (https://anaconda.org/esri/repo?sort=_name&sort_order=asc). Arcpy seems to be tied to ArcGIS Pro versions, while arcgis-server-py3 seems to be tied to ArcGIS Server versions. Question is: Can I create a conda env on my Linux machine (with Server 10.9.1 installed) with arcpy-base (version 3.1) to take advantage of new capabilities in Pro with respect to automation? Even though I don't install Pro on my Linux server (because I can't). The Description for the arcpy packages on conda say "Provides the ArcPy interface to ArcGIS Pro and Server installations. Requires ArcGIS Pro or Server installed on the same machine."
... View more
03-14-2023
11:51 AM
|
0
|
2
|
551
|
POST
|
Oooof - this was a while ago and somewhat annoying. In our case, we kept the same Portal URLs and just changed the Server context to /server from /arcgis. So we broke the federation, changed the server context, and refederated. What happened was every service was republished, and created new Portal items for every Server service. This didn't pose a ton of problems with MapServices, utility services, etc. on Server - we just had to delete the old items from Portal referencing the old Server URLs. Also updating any content (feature layers, maps, etc. with new Server urls). However with hosted feature services from datastore, we lost the (hosted) or (hosted, view) labels in the content explorer, and it was a pain to fix (need to go into the Portal content directory and manually change some things in the json files). Survey123s and Workforce projects needed some additional remediation, since there are multiple types of linked assets created. I forget the details on that one because there was only a couple and some users were happy republishing their Surveys. Hope that helps! Good luck!
... View more
02-23-2023
12:04 PM
|
0
|
0
|
778
|
POST
|
I was told by Esri support this is a bug with ArcGIS Pro at 3.03 (and possibly others), and will be fixed at the next version, releasing around the end of the month. https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDE1MDAzMA==
... View more
02-09-2023
05:41 PM
|
0
|
1
|
2900
|
POST
|
Interesting - that's a good suggestion. If I add my server URL to Allow origins, it fixes the Preflight request but the first request still uses the proxy (and still fails). Adding the URL to Trusted servers seems to have no effect in this scenario. So ultimately still doesn't work, but at least I have enough information to take it to the product team and plead my case.
... View more
02-09-2023
11:47 AM
|
0
|
0
|
1099
|
POST
|
But the GeocodeServer supports POST which is another way to get around those limits in a batch geocoding scenario. I'm now just wondering if this is an unnecessary limitation, and I can try to convince the product team to change things to support this - either allow creation of customer geocode services or stop using the proxy and just use POST for batch geocoding from AGOL to enterprise.
... View more
02-09-2023
11:30 AM
|
0
|
2
|
1108
|
POST
|
Thank you - this was my suspicion - but why they decided to use the proxy to query the GeocodeServer information is beyond me. Unfortunately, it does prevent this pattern - and since we're unable to publish custom geocoders into ArcGIS Online, this functionality in inaccessible to our AGOL users (upload a CSV of asset IDs and use a custom geocoder to turn them to a hosted feature service for example). I'm curious if this is done by design for some reason, or is an oversight from the product team. Maybe the proxy is implemented because of the size of the potential payload in a batch geocoding request? If it exceeds the standard size then a proxy must be used. This is where my technical knowledge can't keep up. 🙂
... View more
02-09-2023
11:14 AM
|
0
|
4
|
1124
|
POST
|
We have an AGOL / Enterprise hybrid environment to support a variety of use cases, and our users are generally using ArcGIS Online while they behind our firewall, so they can access services published to ArcGIS Enterprise. I have tried to register an Enterprise GeocoderServer with our AGOL instance (Setting-->Utility Services-->Geocoding). I am able to add my Enterprise GeocoderServer URL, which enables "geosearch" in the map viewer (and I've tested this and it works as long as I am behind our firewall). However, "Allow Batch Geocoding" is greyed out to off, and I'm unable to change it. I've checked the network tab and see two failures: 1. 400 error on https://myagolorg.maps.arcgis.com/sharing/proxy?https://myenterpriseorg/arcgis/rest/services/locator... 2. Preflight error on https://myenterpriseorg/arcgis/rest/services/locators/APTLocator/GeocodeServer?f=json Does anyone know what's happening here, and if there is some security setting (either in Enterprise or AGOL) that I'm missing, or if this just isn't supported? Thank you!
... View more
02-09-2023
10:56 AM
|
0
|
6
|
1134
|
POST
|
We have an AGOL / Enterprise hybrid environment to support a variety of use cases, and our users are generally using ArcGIS Online while they behind our firewall, so they can access services published to ArcGIS Enterprise. I have tried to register an Enterprise GeocoderServer with our AGOL instance (Setting-->Utility Services-->Geocoding). I am able to add my Enterprise GeocoderServer URL, which enables "geosearch" in the map viewer (and I've tested this and it works as long as I am behind our firewall). However, "Allow Batch Geocoding" is greyed out to off, and I'm unable to change it. I've checked the network tab and see two failures: 1. 400 error on https://myagolorg.maps.arcgis.com/sharing/proxy?https://myenterpriseorg/arcgis/rest/services/locators/APTLocator/GeocodeServer?f=json 2. Preflight error on https://myenterpriseorg/arcgis/rest/services/locators/APTLocator/GeocodeServer?f=json Does anyone know what's happening here, and if there is some security setting (either in Enterprise or AGOL) that I'm missing, or if this just isn't supported? Thank you!
... View more
02-09-2023
10:55 AM
|
0
|
0
|
364
|
POST
|
Thank you - this has helped me get in the right direction - it's a little confusing (being brand new to imagery workflows) because I don't believe this imagery is "scanned" in the way I'm thinking about it, but I guess the lack of spatial information in the tiffs means I should treat it as such.
... View more
02-02-2023
10:39 AM
|
0
|
0
|
728
|
POST
|
I have a directory of about 800 tiffs without any geo reference information, but was also provided an Excel doc with the intended datum and coordinate system, as well what I assume to be the arcthe required information for each image. The columns in the Excel doc are Easting, Northing, Orthometric Elevation, Phi, Omega, and Kappa. I am curious which Pro tool I need to use to add spatial information to the images (so I can add them to a map, create orthomosaics, publish, etc. etc.). If not easily done in Pro, I can also use Python / Arcpy to do the same, I'm just not sure what I need to do. Example: Flight Line Image # Easting Northing Orthometirc Elevation Phi Omega Kappa 1 1 1767185.381 390437.0933 4112.756424 -1.068121 -3.124987 -63.358142 1 2 1768146.527 390866.8791 4098.426989 6.587689 -4.682265 -61.321469
... View more
02-02-2023
09:44 AM
|
0
|
2
|
758
|
POST
|
Hmm- I couldn't even publish one gp service. I'll probably open a case.
... View more
01-25-2023
09:58 AM
|
0
|
0
|
2941
|
POST
|
Anyone figure out solutions to this: getting same errors with Pro 3.0 and Enterprise 10.9 and 10.9.1.
... View more
01-25-2023
07:05 AM
|
0
|
2
|
2948
|
POST
|
@OsamaOthman Did you ever resolve this issue? I am getting the same error with the most basic of script tools (in a Python toolbox).
... View more
01-25-2023
06:44 AM
|
1
|
0
|
830
|
Title | Kudos | Posted |
---|---|---|
1 | 12-21-2023 10:51 AM | |
1 | 07-10-2024 06:03 AM | |
1 | 02-28-2024 07:43 AM | |
1 | 09-14-2022 06:39 AM | |
3 | 07-21-2023 07:11 AM |
Online Status |
Offline
|
Date Last Visited |
yesterday
|