POST
|
My org has locally over 2k tifs from SRTM in an S3 bucket - curious if someone could point me to a high level workflow / steps to achieve the following. 1. Local querying (via arcpy or Pro) to pass in feature classes to assign elevation values to points. I assume this has something to do with creating a mosaic dataset / DEM surface, and then referencing that in Pro / arcpy workflows, but that is where my knowledge stops. 2. Publishing mosaic dataset as an Image service so similar workflows (assign elevation to points, as well as visualization) can be achieved via web servers (we have image server in our Enterprise instance for this). Any tutorials or high level process steps could help - I'm saavy in ArcGIS space, just not imagery / raster space.
... View more
04-12-2023
12:13 PM
|
0
|
0
|
354
|
POST
|
Thank you - you might be right the general use cases might be minimal. Our primary use case is aviation data - a lot of systems export flight data as lat / long / altitude in CSV format, so easily being able to view this in 3D would be useful.
... View more
04-12-2023
06:14 AM
|
0
|
0
|
847
|
POST
|
Thanks for the response - this pattern makes sense but seems a little cumbersome -so there is no way to enable this on creating a feature layer from a CSV (which is useful because it infers your schema), and no way to enable it after a feature service has been created?
... View more
04-11-2023
08:48 AM
|
0
|
0
|
889
|
POST
|
I've uploaded a CSV with lat/longs and created a hosted feature layer in AGOL. One of the attributes in the layer is altitude (in feet), but I am unable to symbolize these points in the scene viewer, which seems to only be able to show a constant altitude for all points. I know if I created a shapefile with z values, or maybe geojson and reuploaded this might work, but is there any way to enable this with a CSV layer, either with Arcade or a analysis service to add Z values? Or a way I'm missing to do this in the scene viewer for point features?
... View more
04-11-2023
07:04 AM
|
0
|
5
|
916
|
POST
|
I have Pro 3.0.4 on my computer, and ArcGIS Server 10.9.1 (fully patched) on Linux. In all cases I'm just exporting the schema - no data, and taking a table from a local file gdb and recreating it in an enterprise GDB. If I ExportXMLWorksapceDocument from Pro, copy the XML file to my Linux box and run ImportXMLWorkspace document it fails. If I ExportXMLWorkspace from Pro, and run import also from Pro, it works. If I ExportXMLWorkspace from Server, and run import also from Server, it works. The pattern I need is the first one, which is failing. Is this because my Pro version is not aligned with the Server version, because I couldn't find anything in the documentation that indicated it needs to be. I don't have access to my production databases, so I'm trying to use git to get xml files to the production server, and have a automated script which checks a folder and creates the tables. I am testing here in my development environment (which is why I do have access to the databases for testing).
... View more
04-06-2023
05:55 AM
|
0
|
0
|
378
|
POST
|
Thanks - its good to get a read from the community. There is a lot of text in the file, which is probably why it's taking so long. A lot of our users don't have Pro, so want to set the understanding of how long things might take.
... View more
04-03-2023
08:38 AM
|
1
|
0
|
437
|
POST
|
It's very easy with hosted feature layers to allow users to export the data to CSV, GeoJSON, Shapefile, etc. from the item info page via the Export Data button. I would like to enable this for server-based feature layers with the extract capability enabled. However, when I look at the item info page for the Feature Layer there is no Extract Data button available, and no options on the Settings tab to enable it. Which means users wanting to export the data will either need Pro, or to use the Extract Data from the analysis pane of the Map Viewer, which seems like too many steps when you just want to export the data. Is there any way to enable this capability for Server based feature services?
... View more
04-03-2023
08:33 AM
|
1
|
4
|
1215
|
POST
|
I can't tell what the expected behavior is: creating a point hosted feature class from a 40 MB CSV with about 90 records takes almost 4 minutes. Our severs area appropriately sized according to Esri's recommended specifications, and I see no errors in the logs. Almost 40 jobid requests in the network tab indicate "partial" - I assume it's uploading the data in subsets - but this still feels too long. AGOL takes under 30 seconds. Thoughts? Do I just want things to be faster than they are?
... View more
03-30-2023
10:23 AM
|
1
|
3
|
529
|
POST
|
With respect to this specific issue, I found that is occurs whenever you pipe output of a Python script with an arcpy command. The script will execute fine until it reaches the arcpy command (import arcpy will work though). So python myarcpyscript.py will execute fine, but python myarcpyscript.py >> myarcpylog.log will terminate ungracefully with Fatal Python error: Py_Initialize: can't initialize sys standard streams OSError: [WinError 6] Invalid handle. Esri support confirmed this is an issue at 10.9.1 (and maybe earlier), but was fixed at 11.0.
... View more
03-28-2023
10:38 AM
|
0
|
0
|
734
|
POST
|
Did you ever figure out what was happening? Running into this same issue at 10.9.1 as well. Running script manually works fine but thought crontab receiving the same errors listed by @SiCasley
... View more
03-24-2023
02:34 AM
|
0
|
1
|
756
|
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
|
328
|
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
|
2793
|
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
|
502
|
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
|
650
|
Title | Kudos | Posted |
---|---|---|
1 | 07-10-2024 06:03 AM | |
1 | 02-28-2024 07:43 AM | |
1 | 09-14-2022 06:39 AM | |
2 | 07-21-2023 07:11 AM | |
1 | 06-23-2022 07:46 AM |
Online Status |
Offline
|
Date Last Visited |
Tuesday
|