POST
|
Hello We are running ArcGIS Enterprise 10.9.1 on Windows Server 2016 Standard (single machine deployment) with all available patches installed. We have been experiencing intermittent performance issues for the past several months. These performance drops appear to have no correlation with usage, and seem to randomly happen at any given time of the day. We have been working with our IT network team and, thus far, all of our available tools tell us everything is fine in terms of the server/network load. We were able to install ArcGIS Monitor (2023.2), which has given us some metrics quantifying how bad the performance gets but we're still unable to identify the cause. I have attached a graph from Monitor showing the average request response time versus request rate for all services over the past 7 days. Does anyone have suggestions where to go with this in terms of pinpointing the issue?
... View more
11-07-2023
10:08 AM
|
0
|
4
|
1163
|
POST
|
We have a use case where we are collecting multiple point features at once. In this case it is for a sign inventory, where we have both field and office staff working on it. There are many instances where there can be more that one sign in the same location (such as an all-way stop where there is the main sign plus an additional plaque), and the users would prefer not to have to repeatedly click/tap at the same location on the map to add each sign. The solution to this dilemma would seem to be group templates. However, when attempting to publish my layer from ArcGIS Pro I am greeted with a "24081: Group templates are not supported" error. We are using Pro 2.9. Are there any workarounds that the community knows to achieve similar functionality in a feature service and/or web map?
... View more
10-24-2022
09:28 AM
|
1
|
0
|
334
|
POST
|
I've ran into this bug after upgrading from 2.8.x to 2.9.x. Using the saveACopy(aprxPath) workaround worked for me as well.
... View more
08-02-2022
08:50 AM
|
0
|
0
|
2224
|
IDEA
|
We would also love to transition our basemaps to vector tiles, but are running into these labeling limitations preventing us from giving an acceptable product to our end users. In our case, it seems like label weight settings from Pro are largely ignored when creating the tiles. Here is a screenshot of our (traditionally) cached basemaps (decent automatic label placement) And the same thing recreated as vector tiling (not nearly as good placement despite having identical labeling in Pro): It seems Esri's own vector basemaps have noticeable label overlap as well, so I presume this isn't anything we're doing?
... View more
05-31-2022
11:44 AM
|
0
|
0
|
821
|
POST
|
This is a phenomenon that has been occurring for us since the beginning of web geoprocessing tools, and seems to have become been more frequent after migrating our tools to the ArcGIS Pro runtime. The behavior is that the tool works as it should for awhile. Then, after temporarily losing connection to our enterprise geodatabase, it begins creating empty feature classes until the service is restarted. I've implemented a workaround where I've scripted the service to automatically restart after our nightly database compress. However, this doesn't account for other instances where connection is unexpectedly lost. Are there any more robust workarounds that anybody knows of? I'm wondering if I could write something into the python code to wake up whatever fell asleep after the connection was lost. Here is what I currently have. This is basically just a variant of the "Clip And Ship" tool rewritten to work with ArcGIS Pro. """This tool powers the clip and ship tool for the data downloads"""
from datetime import datetime
from os import listdir, mkdir, walk
from os.path import basename, isdir, join
from shutil import rmtree
from zipfile import ZipFile
from arcpy import AddMessage, env, GetParameterAsText
from arcpy.analysis import Clip
from arcpy.conversion import ExportCAD
from arcpy.management import CreateFileGDB
# Constants
GDB_NAME = "FayettevilleGISData.gdb"
ZIP_FOLDER = f"{env.scratchFolder}/output"
if not isdir(ZIP_FOLDER):
mkdir(ZIP_FOLDER)
AddMessage(env.scratchFolder)
# Clip layers to area of interest
env.overwriteOutput = True
inLayers = GetParameterAsText(0).split(";")
aoi = GetParameterAsText(1)
featureFormat = GetParameterAsText(2).split(" - ")[1]
outPath = "memory"
if featureFormat == "GDB":
# Create the geodatabase
CreateFileGDB(ZIP_FOLDER, GDB_NAME)
outPath = join(ZIP_FOLDER, GDB_NAME)
elif featureFormat == "SHP":
outPath = ZIP_FOLDER
for layer in inLayers:
# Clip the layer
AddMessage(layer)
outName = layer.replace("Download_Data\\", "")
if featureFormat == "SHP":
outName = f"{outName}.shp"
clippedFeatures = join(outPath, outName)
Clip(layer, aoi, clippedFeatures)
# Export to CAD if necessary
if featureFormat not in ("GDB", "SHP"):
cadLayers = []
for layer in inLayers:
cadLayers.append(join("memory", layer))
extension = "dwg"
if "DWG" in featureFormat:
extension = ".dwg"
if "DGN" in featureFormat:
extension = ".dgn"
elif "DXF" in featureFormat:
extension = ".dxf"
ExportCAD(cadLayers, featureFormat, (f"{ZIP_FOLDER}/"
f"FayettevilleGISData{extension}"))
# Zip the clipped files
outFile = GetParameterAsText(3)
with ZipFile(outFile, "w") as zipObj:
# Iterate over all the files in directory
for folderName, subfolders, filenames in walk(ZIP_FOLDER):
for filename in filenames:
if not filename.lower().endswith(".zip"):
# Create complete filepath of file in directory
filePath = join(folderName, filename)
# Add file to zip
outPath = basename(filePath)
if GDB_NAME in filePath:
outPath = join(GDB_NAME, basename(filePath))
try:
zipObj.write(filePath, outPath)
except:
pass
... View more
05-27-2022
08:53 AM
|
0
|
0
|
440
|
POST
|
Hello I've been attempting to automate geocoding our address points to our street centerlines to tie some of the attribution together. I have Geocoder setup that works fine in Pro (screenshot of it successfully running attached), but crashes when called via a Python script using the same parameters and running on the same machine. Any thoughts as to why I'm getting this behavior? I'm running ArcGIS Pro 2.8.2. Here is the code: from arcpy.geocoding import GeocodeAddresses
field_map = "'FULLADD' SingleLine VISIBLE NONE"
GeocodeAddresses(f"{GDB_PATH}/AddressToGeocode3",
ADDR_LOC,
field_map,
f"{GDB_PATH}/AddressToGeocode3_GeocodeAdd8") GDB_PATH is the same path used by my Pro project ADDR_LOC is the same locator path used in the Pro project Here is the error message returned: Traceback (most recent call last):
File "<pyshell#8>", line 4, in <module>
r"G:\GIS2\Staff\MikeM\Projects\SDE Maintenance\SDE Maintenance.gdb\AddressToGeocode3_GeocodeAdd8")
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geocoding.py", line 519, in GeocodeAddresses
raise e
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geocoding.py", line 516, in GeocodeAddresses
retval = convertArcObjectToPythonObject(gp.GeocodeAddresses_geocoding(*gp_fixargs((in_table, address_locator, in_address_fields, out_feature_class, out_relationship_type, country, location_type, category, output_fields), True)))
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 512, in <lambda>
return lambda *args: val(*gp_fixargs(args, True))
arcgisscripting.ExecuteError: ERROR 000010: Geocode addresses failed.
Failed to execute (GeocodeAddresses).
... View more
01-25-2022
11:33 AM
|
0
|
3
|
632
|
IDEA
|
We would also really like a Windows version of this, as we have users who would like to edit data in the office (on their PCs) as well as the field. This would provide them with a consistent experience and not require learning/teaching two different things. At the very least, maybe Esri could make some attempt to make the app work in Android emulators? We've tried BlueStacks, LD Player, and NoxPlayer. All three are unable to load the app from the .apk
... View more
09-22-2021
07:48 AM
|
0
|
0
|
2347
|
POST
|
Does anybody know of a way to override the state change check in arcpy? I looked at attributes arcpy.da.Editor as well as arcpy.env and have come up blank. It's frustrating to have to continually re-run a script until I happen to hit the lucky moment when none of our users have saved an edit recently.
... View more
03-19-2021
01:22 PM
|
0
|
1
|
1592
|
POST
|
This did the trick! Thanks. I found os.open() didn't seem to work, but os.startfile() did what I needed instead. # Open the PDF if the user wanted to if parameters[2].valueAsText == "true": os.startfile(pdfFile)
... View more
03-08-2021
01:12 PM
|
0
|
1
|
1486
|
POST
|
I've noticed that when you export a layout to PDF in Pro, it gives you a handy option to "View exported file." Is there a way to add this prompt for a file generated from a Python toolbox?
... View more
03-08-2021
09:29 AM
|
0
|
5
|
1534
|
POST
|
Here's another screenshot showing how the raster data sometimes will partially draw. I'm not 100% on this, but I don't recall this always being an issue for us in ArcGIS Pro. It seems around Pro 2.4 was when this was introduced. Has anybody else experienced this and know of a workaround?
... View more
03-03-2021
10:46 AM
|
2
|
0
|
3733
|
POST
|
This got me going. Thanks! proenv.bat was the missing link I needed. Upon doing a conda install ... and resolving the dependencies, I discovered the likely reason my package wasn't listed in default repositories: it resulted in having to downgrade one of the built-in packages! Luckily, so far, this doesn't appear to have messed anything up for me in my clone environment. Regarding "need" vs "nice," this definitely falls under the nice category. My project is to author a tool that creates a PDF packet containing a formal letter with an attached map, based on user input. My thought was to utilize a company letterhead template we have, versus recreating it from scratch (The python-docx package allows for manipulation of Microsoft Word documents). However, the template is fairly simple so it won't be too cumbersome to just code it using reportlab or something similar.
... View more
02-19-2021
12:34 PM
|
0
|
0
|
2727
|
POST
|
It appears the available packages to install in Pro is some form of curated list. Is there a way to get this to show everything available in the python package index? There is a particular package I'm after (python-docx) that isn't listed, and that I'm desiring for a python toolbox tool I'm working on. If I'm unable to install it the clean way, what would be the best workaround of getting it into my Pro Python environment?
... View more
02-19-2021
08:31 AM
|
0
|
6
|
2819
|
POST
|
The issue is that raster data from our enterprise GDB will randomly show and not show when zooming/panning/exporting the map. For example in a particular map template I'm working on: * Our imagery is not visible in the ArcGIS Pro map, but present on a PDF export (main data frame) * The opposite occurs with our hillshade (which is used in the vicinity map of the attached screenshots) Using: ArcGIS Pro 2.7.1 10.7.1 Enterprise GDB The same raster data displays perfectly fine in ArcMap/ArcCatalog as well as cached on our web basemaps. Pyramids are built and there are no scale ranges set. The issue is specific to ArcGIS Pro for us. Any thoughts?
... View more
02-18-2021
01:45 PM
|
2
|
5
|
3786
|
POST
|
Basically what the title says. We have our Portal setup to use our organization's Enterprise logins via SAML. Our users love this, as it is completely seamless to them! However, a problem that we've ran into is that 3rd party systems integrating with our GIS (in our case Tyler EnerGov, and possibly one more we're working on configuring now) have declared that they don't support Portal integration via SAML, and don't plan to. The best workaround to this would be to be the ability to link a built-in/ArcGIS portal account to an enterprise login. This would be similar in behavior to how you can sign into various web applications with your Google/Facebook/etc. account; the user's actual account would be controlled by the Portal, but the enterprise login would just be another way of accessing it. Is this something we can currently do, or is it something on the Road Map? I haven't been able to find any documentation on how to do it, and the current behavior seems to be that you can either login to your account via enterprise OR built-in login (but not both for the same account); i.e. I can't login to my portal account if it is associated with an account from our enterprise. (This works) (But not this)
... View more
09-18-2020
09:37 AM
|
0
|
1
|
1039
|
Title | Kudos | Posted |
---|---|---|
1 | 10-24-2022 09:28 AM | |
2 | 02-18-2021 01:45 PM | |
2 | 03-03-2021 10:46 AM | |
1 | 03-31-2020 01:00 PM | |
1 | 11-22-2019 02:24 PM |
Online Status |
Offline
|
Date Last Visited |
Thursday
|