POST
|
Running Enterprise 10.9.1, with a SQL Server DB Publishing as a web layer from Pro, Feature class is a low polygon count with a simple definition query The web layer has 16 FCs, it's always the first one in the TOC (which never changes) and the only one that vanishes. Happens intermittently every few months, we just open the Pro project, hit "overwrite service" and it's back. This is the only service exhibiting this behavior Not a huge issues, but does generate a helpdesk ticket and annoyed staff. Other than ghosts or Gremlins, any ideas?
... View more
08-15-2024
12:09 PM
|
0
|
0
|
112
|
POST
|
Slightly different wording of other people's questions... For people *currently* using a local Pro install, what laptop are you using? I'm more interested in something that actually works, not "I'll go get coffee while I wait for 50 polygons to be clipped". From other queries so for I have found ASUS G15 with 40Gb physical RAM Raden 780M with 32Gb RAM Anyone else?
... View more
08-07-2024
10:51 AM
|
0
|
2
|
260
|
BLOG
|
(sort of) the same thing. Added the support app to my Android, login with my usual ESRI username/pw, get "Please log in with a non-OKTA account". We don't use OKTA.
... View more
05-01-2024
03:19 PM
|
0
|
0
|
124
|
POST
|
Bah. I flipped the user and role fields in my head (matching the order on the screen, not in the csv). In my defense, I did have to remove the UT portion of the string the help doc said it needed... Thank you for the quick reply. Tycho
... View more
04-17-2024
02:44 PM
|
1
|
0
|
444
|
POST
|
We can successfully add users manually, so that part's not a problem. I grabbed the csv template from my Portal (10.9.1) which has this (in Notepad++ for reference): Email,Role,User Type,First Name,Last Name,Username Various ESRI help docs list user type and roles as: role—This is the role the organization-specific login will have in the organization. Valid role values are viewer, user, publisher, data editor, admin, or <custom_role_name> Some examples of user type id values for the standard user types include viewerUT, editorUT, fieldworkerUT, creatorUT, GISProfessionalBasicUT, GISProfessionalStdUT, and GISProfessionalAdvUT My csv file ends up with: Portal throws this: viewer/viewer works (if I drop the UT), where is a list of the correctly spelled/capitalized/etc. strings for Role and User Type? I'm tired of trying to guess.
... View more
04-17-2024
02:02 PM
|
0
|
2
|
497
|
IDEA
|
Sorry about raising a long-dead thread. Did this ever get fixed? Enterprise 10.9.1 can't display Pro 3.x annotation (silly me not finding BUG-000151842 first) and our upgrade to Enterprise 11 is a ways off.
... View more
03-19-2024
09:12 AM
|
0
|
0
|
461
|
POST
|
WOOT! It worked!! I've been banging my head on this for an embarrassing amount of time. I'm so used to seeing files that have extra dots in the name before the extension this would never have occurred to me. Need to revert back to the old DOS days of only a dot before the the extension, no special characters, no spaces. Not sure I can manage 8 character names though...
... View more
02-09-2024
10:28 AM
|
1
|
0
|
870
|
POST
|
Yep, it's there. I took out the copy-the-geodatabase part (which works just fine) to narrow down the issue and save time while I run this over and over (and over...)
... View more
02-09-2024
09:25 AM
|
0
|
0
|
879
|
POST
|
Unfortunately that adds a / to the path and still gives me pretty much the same error ("cannot find" vs "does not exist"): for fc in feature_classes: spatial_ref = arcpy.Describe(os.path.join(geodb2,fc)).spatialReference print (spatial_ref.name) IOError: "S:\GIS\Scratch\Conversion2\GISPWBASE.gdbsp.gdb\Locates" does not exist (I need to use geodb2 as that is the variable that is failing) Part of what I don't understand is both versions of the arcpy.env.workspace can find the feature classes with the same printed output: [u'Locates', u'Easements', u'NWGASMAPS', u'NWNaturalGas', u'namedstreams', u'lakes_rivers', u'LocatesAnno', u'addresses', u'Taxlots', u'Roads', u'TheDallesIrrigation'] but the hacked together one can't find the FCs for the next step.
... View more
02-09-2024
09:15 AM
|
0
|
2
|
884
|
POST
|
I am trying to copy a geodb to a different name, do work on the copy, then overwrite the original. My error checking fails before it can even start. My error checking is to make sure the projection is correct before continuing on that (copied) FC. What I'm running into is changing arcpy.env.workspace "on the fly" to the newly created geodb; it can't find the FC's to check the projection. I've narrowed the snippet below to just show the error generated (and only one list item), not the work I'm trying to do. I have tried all manner of things trying to put a string together for the "on the fly" part. Python 2 because that's all they have. import arcpy
### Lists
geodb_list = [r"S:\GIS\Scratch\Conversion2\GISPWBASE.gdb"]
# Note that 2nd file exists: "S:\GIS\Scratch\Conversion2\GISPWBASE.gdbsp.gdb"
for geodb in geodb_list:
env = str(geodb)
ext = "sp.gdb"
geodb2 = str(env+ext)
arcpy.env.workspace = env
feature_classes = arcpy.ListFeatureClasses()
print feature_classes
for fc in feature_classes:
spatial_ref = arcpy.Describe(fc).spatialReference
print (spatial_ref.name)
#
arcpy.env.workspace = geodb2
feature_classes = arcpy.ListFeatureClasses()
print feature_classes
for fc in feature_classes:
spatial_ref = arcpy.Describe(fc).spatialReference
print (spatial_ref.name)
#OUTPUT
[u'Locates', u'Easements', u'NWGASMAPS', u'NWNaturalGas', u'namedstreams', u'lakes_rivers', u'LocatesAnno', u'addresses', u'Taxlots', u'Roads', u'TheDallesIrrigation']
NAD_1927_StatePlane_Oregon_North_FIPS_3601
NAD_1927_StatePlane_Oregon_North_FIPS_3601
NAD_1927_StatePlane_Oregon_North_FIPS_3601
NAD_1927_StatePlane_Oregon_North_FIPS_3601
NAD_1927_StatePlane_Oregon_North_FIPS_3601
NAD_1927_StatePlane_Oregon_North_FIPS_3601
NAD_1927_StatePlane_Oregon_North_FIPS_3601
NAD_1927_StatePlane_Oregon_North_FIPS_3601
NAD_1927_StatePlane_Oregon_North_FIPS_3601
NAD_1927_StatePlane_Oregon_North_FIPS_3601
NAD_1927_StatePlane_Oregon_North_FIPS_3601
[u'Locates', u'Easements', u'NWGASMAPS', u'NWNaturalGas', u'namedstreams', u'lakes_rivers', u'LocatesAnno', u'addresses', u'Taxlots', u'Roads', u'TheDallesIrrigation']
Traceback (most recent call last):
File "<module1>", line 37, in <module>
File "C:\Program Files (x86)\ArcGIS\Desktop10.7\arcpy\arcpy\__init__.py", line 1260, in Describe
return gp.describe(value, data_type)
File "C:\Program Files (x86)\ArcGIS\Desktop10.7\arcpy\arcpy\geoprocessing\_base.py", line 376, in describe
self._gp.Describe(*gp_fixargs(args, True)))
IOError: "Locates" does not exist Thanks, Tycho
... View more
02-08-2024
02:06 PM
|
0
|
8
|
982
|
POST
|
Doh. Didn't realize the tool is tied to the active map view as opposed to just dragging from the catalog or typing in the path. Makes it a little harder to jump around in a project. Thanks, Tycho
... View more
10-16-2023
04:04 PM
|
0
|
1
|
510
|
POST
|
Hopefully it's just because it is early... The Pro help doc (https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/basics/batch-geoprocessing.htm) is what I want to do (one AOI, several FCs of interest): The Pro geoprocessing tool in my Project does the opposite: Using the current Pro 3.1.3. I'm at a loss.
... View more
10-16-2023
11:42 AM
|
0
|
3
|
536
|
POST
|
Got the error with one FC on the map, adding a basemap, didn't help. Didn't save, restarted Pro setting up the exact same paths/features/etc, (didn't add a basemap since that was just a troubleshooting step) in the Project, shared... no errors. <bangs head on wall>
... View more
08-18-2023
02:56 PM
|
0
|
1
|
2639
|
POST
|
This is somewhat related to Pop-ups configured in ArcGIS Pro change when the feature service is added into a new Map Viewer? as well as another thread I've been fighting for months Bolded strings within Arcade if – then--else expression I have an Arcade if-then-else statement written for a popup (just a text snippet below) //Precinct 01 //01-01 if($feature.PRECINCT_T =='01'&&$feature.SPLIT_TXT=='01'){ return "01 West The Dalles"+TextFormatting.NewLine+TextFormatting.NewLine+"Federal Races"+TextFormatting.NewLine+TextFormatting.NewLine+"US Representative 2nd District"+TextFormatting.NewLine+TextFormatting.NewLine+"Statewide Partisan"+TextFormatting.NewLine+TextFormatting.NewLine+"Senate District 26"+TextFormatting.NewLine+TextFormatting.NewLine+"House District 52"+TextFormatting.NewLine+TextFormatting.NewLine+"Statewide Nonpartisan"+TextFormatting.NewLine+TextFormatting.NewLine+"Circuit Court District 07"+TextFormatting.NewLine+TextFormatting.NewLine+"District Attorney"+TextFormatting.NewLine+TextFormatting.NewLine+"Wasco County Elected Positions"+TextFormatting.NewLine+TextFormatting.NewLine+"City of The Dalles"+TextFormatting.NewLine+TextFormatting.NewLine+"Soil & Water Conservation District"+TextFormatting.NewLine+TextFormatting.NewLine+"N W Co PUD Subdivision #3"+TextFormatting.NewLine+TextFormatting.NewLine+"Columbia Gorge Community College"+TextFormatting.NewLine+TextFormatting.NewLine+"Columbia Gorge ESD Zone #4 - At Large"+TextFormatting.NewLine+TextFormatting.NewLine+"Columbia Gorge Education Service District Zone 2"+TextFormatting.NewLine+TextFormatting.NewLine+"N Wasco County School District #21 Zone 4"+TextFormatting.NewLine+TextFormatting.NewLine+"Mid Columbia Fire and Rescue"+TextFormatting.NewLine+TextFormatting.NewLine+"Wasco County Library Service District"+TextFormatting.NewLine+TextFormatting.NewLine+"Northern Wasco County Parks & Recreation"+TextFormatting.NewLine+TextFormatting.NewLine+"Port of The Dalles"+TextFormatting.NewLine+TextFormatting.NewLine+"Northern Oregon Corrections"+TextFormatting.NewLine+TextFormatting.NewLine+"Wasco County 4-H and Extension Service District" } //01.02 else if ($feature.PRECINCT_T =='01'&&$feature.SPLIT_TXT=='02') { return "01 West The Dalles"+TextFormatting.NewLine+TextFormatting.NewLine+ "Federal Races"+TextFormatting.NewLine+TextFormatting.NewLine+"US Representative 2nd District"+TextFormatting.NewLine+TextFormatting.NewLine+"Statewide Partisan"+TextFormatting.NewLine+TextFormatting.NewLine+"Senate District 26"+TextFormatting.NewLine+TextFormatting.NewLine+"House District 52"+TextFormatting.NewLine+TextFormatting.NewLine+"Statewide Nonpartisan"+TextFormatting.NewLine+TextFormatting.NewLine+"Circuit Court District 07"+TextFormatting.NewLine+TextFormatting.NewLine+"District Attorney"+TextFormatting.NewLine+TextFormatting.NewLine+"Wasco County Elected Positions"+TextFormatting.NewLine+TextFormatting.NewLine+"City of The Dalles"+TextFormatting.NewLine+TextFormatting.NewLine+"Soil & Water Conservation District"+TextFormatting.NewLine+TextFormatting.NewLine+"Chenowith Water PUD Subdivision #4"+TextFormatting.NewLine+TextFormatting.NewLine+"N W Co PUD Subdivision #3"+TextFormatting.NewLine+TextFormatting.NewLine+"Columbia Gorge Community College"+TextFormatting.NewLine+TextFormatting.NewLine+"Columbia Gorge ESD Zone #4 - At Large"+TextFormatting.NewLine+TextFormatting.NewLine+"Columbia Gorge Education Service District Zone 2"+TextFormatting.NewLine+TextFormatting.NewLine+"N Wasco County School District #21 Zone 3"+TextFormatting.NewLine+TextFormatting.NewLine+"Mid Columbia Fire and Rescue"+TextFormatting.NewLine+TextFormatting.NewLine+"Wasco County Library Service District"+TextFormatting.NewLine+TextFormatting.NewLine+"Northern Wasco County Parks & Recreation"+TextFormatting.NewLine+TextFormatting.NewLine+"Port of The Dalles"+TextFormatting.NewLine+TextFormatting.NewLine+"Northern Oregon Corrections"+TextFormatting.NewLine+TextFormatting.NewLine+"Wasco County 4-H and Extension Service District" } Which does this in Pro (ignore the bolding, I know that part won't work in the web map) And this when it is exported as either a web map or service (again, ignore the bolding, I know that won't work) Presumably there is a way to create popups in Pro that will look the same on a web map? Having to guess what it'll look like then repeatedly exporting to a web map and hoping it'll work seems a little clunky. Thanks, Tycho
... View more
07-26-2023
09:00 AM
|
1
|
0
|
356
|
POST
|
Sorry about the indentation. I basically just copied the image from the help doc here and thought it would work if I dumped it into Notepad. And I missed the () at the end since none of the models needs an argument - added them and it works. So yep, missed something obvious from not paying attention (as usual).
... View more
05-02-2023
11:53 AM
|
1
|
0
|
696
|
Title | Kudos | Posted |
---|---|---|
1 | 04-17-2024 02:44 PM | |
1 | 02-09-2024 10:28 AM | |
1 | 05-02-2023 11:53 AM | |
1 | 07-26-2023 09:00 AM | |
1 | 10-28-2022 11:32 AM |
Online Status |
Offline
|
Date Last Visited |
09-23-2024
05:35 PM
|