|
POST
|
In ArcGIS Pro 2.3.1 is there a way to auto sync a layers view to all the imported layouts without having to go into the "Insert" tab to "Map Frame" and manually selecting the current view each time?
... View more
03-07-2019
07:35 AM
|
0
|
0
|
673
|
|
POST
|
Is there a way to check if a field is blank or null and if it's not continue the script? I can't quite get the function to work unless I'm missing something. Thanks if row[0] != "": # if field is not blank or null then... import sys
import os
import arcpy
sdeconnection = "Database Connections/SDE.sde"
fc = 'Database Connections/SDE.sde/NEO.SDE.Inspections/NEO.SDE.ACInspectionSites2019'
fields = ["INSPECTEDBY", "INSPECTIONSTATUS"]
try:
edit = arcpy.da.Editor(sdeconnection)
print "edit created"
edit.startEditing()
print "edit started"
edit.startOperation()
print "operation started"
# Perform edits
with arcpy.da.UpdateCursor(fc, fields) as cursor:
# For each row, evaluate the WELL_YIELD value (index position
# of 0), and update WELL_CLASS (index position of 1)
for row in cursor:
if row[0] != "": # if field is not blank or null then...
row[1] = "Completed Inspection"
# Update the cursor with the updated list
cursor.updateRow(row)
edit.stopOperation()
print "operation stopped"
edit.stopEditing(True) ## Stop the edit session with True to save the changes
print "edit stopped"
except Exception as err:
print err
if 'edit' in locals():
if edit.isEditing:
edit.stopOperation()
print "operation stopped in except"
edit.stopEditing(False) ## Stop the edit session with False to abandon the changes
print "edit stopped in except"
finally:
# Cleanup
arcpy.ClearWorkspaceCache_management()
... View more
02-26-2019
10:06 AM
|
0
|
3
|
2869
|
|
POST
|
I installed the latest version of survey123 (Windows x86) on a win10 tablet but My Surveys\Maps folder doesn't exist upon installation. I added the folder with the tpk but it's not showing in the basemap choices.
... View more
02-11-2019
07:24 AM
|
0
|
2
|
1260
|
|
POST
|
We are starting atmospheric corrosion inspections next week and I am having trouble getting the symbology from a related table that is joined to the point to change color based on the tables field. Does anyone have a workflow they can share? We are currently using ArcGIS Enterprise 10.6 & Collector app on IPhones.
... View more
02-01-2019
07:26 AM
|
0
|
0
|
474
|
|
POST
|
How do I select my own TPK imagery map when I download our maps offline?
... View more
01-10-2019
11:19 AM
|
0
|
5
|
2012
|
|
POST
|
Hi community, Our company is looking to invest money to buy some tablets for field use. We're looking for recommendations based on what you guys have tried and are actively using as a daily tool using ArcPro, Survey123, and Collector app. Most of the areas we service have poor service connection so we would need a reliable GPS/satellite signal either built-in or external to collect points. Thanks, Jordan
... View more
11-12-2018
06:15 AM
|
0
|
1
|
1246
|
|
POST
|
Hi Xuewen, I am getting a "page not found" for the blog post url.
... View more
10-12-2018
12:20 PM
|
0
|
2
|
3021
|
|
BLOG
|
Hi Derek, the URL - It’s time to get excited about the Aurora Project doesn't seem to be working.
... View more
10-09-2018
05:46 AM
|
0
|
0
|
1127
|
|
POST
|
Hi James, Our survey is setup in an enterprise system. When I looked at the record on the back-end of the system the FIRSTRESPONDEONSITE field still looked the same. I will try to do some more testing after work later today. By chance do you know if anyone else has experienced something similar?
... View more
09-28-2018
08:42 AM
|
0
|
0
|
1337
|
|
POST
|
Hi James, Our secretary created an Odor complaint form this morning for an operator before he left the office. When the operator arrived at the job site he called back into the office to let the secretary know that the address number was incorrect. The secretary went back into her Sent box and edited and resent the survey. She asked the operator to go back into his Survey123 app on his phone and refresh the inbox. When he did that particular form disappeared. For whatever reason going back into the Sent box and editing existing forms disappear completely in the inbox. Our inbox filter(last image listed below) has no relation to the address box so I assume it has to be a bug. DISPATCHEDTO =${username} AND FIRSTRESPONDERONSITE IS NULL Thanks, Jordan
... View more
09-25-2018
12:33 PM
|
0
|
2
|
1337
|
|
POST
|
We're experiencing a bug editing an existing sent survey form for a job in Survey123. Survey123 Notes: 9/25/18 Secretary sent survey to operator Operator received survey Secretary went back into Sent box, made a revision, and sent again. Operator refreshed inbox and the sent mail before the changes disappeared and the new revised survey didn't appear either. Problem: Reopening and editing a sent survey form for a job disappears in the operator’s inbox. Secretary Specs: Operating System: Windows 7 Survey123 for ArcGIS - Desktop Application Survey Version 3.0.149 AppFramework version: 3.1.113 Operator Specs: Operating System: IOS 12.0 Survey123 Version 3.0.149 AppFramework version: 3.1.113 We're using this survey in an enterprise environment. Enterprise system is version 10.6
... View more
09-25-2018
07:35 AM
|
0
|
4
|
1653
|
|
POST
|
Does anyone have knowledge with unregistering replica's using arcpy or some other solution I can incorporate into my script. We'd like to unregister replica's and the only workaround we've found was using the python function SynchronizeChanges_management. It kinda works but sometimes it doesn't remove the replica in the manager and we're forced to do it manually. # Local variables:
jnmiller_GIS_v1_gdb = "C:\\EIS\\%s_%s_v%s.gdb" % (versionName, version_list, checkout_number)
jnmiller_GIS_v1_gdb__2_ = jnmiller_GIS_v1_gdb
NEO_sde__2_ = jnmiller_GIS_v1_gdb
NEO_sde = "Database Connections\\NEO.sde"
# Execute SynchronizeChanges
try:
print("Attempting to Synchronize %s" % working_file)
# Process: Synchronize Changes
arcpy.SynchronizeChanges_management(jnmiller_GIS_v1_gdb, "%s_%s_v%s", NEO_sde, "FROM_GEODATABASE2_TO_1", "IN_FAVOR_OF_GDB2", "BY_OBJECT", "RECONCILE ")% (versionName, version_list, checkout_number)
except Exception:
e = sys.exc_info()[1]
print(e.args[0])
... View more
09-07-2018
10:34 AM
|
0
|
0
|
757
|
|
POST
|
we are encountering "error 000582: Error occurred during execution" while executing a python script creating a checkout replica. We were able to create the checkout replica successfully from ArcMap using the create replica geoprocessing tool. Script only works for SDE creds. We need other users to be able to replicate their own versions. Software versions -- ArcGIS Desktop 10.6 | SQL Server 2012 Error: Traceback (most recent call last):
File "C:\Users\jnmiller\Desktop\GEONET.py", line 41, in <module>
initial_sender, expand, reuse_schema, get_related, replica_geometry, archiving)
File "C:\Program Files (x86)\ArcGIS\Desktop10.6\ArcPy\arcpy\management.py", line 960, in CreateReplica
raise e
ExecuteError: ERROR 000582: Error occurred during execution.
Failed to execute (CreateReplica). Script: # http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/create-replica.htm
# Description: Create a checkout to a file GDB
# Import system modules
import arcpy
from arcpy import env
#get list of versions that will be checked out
version_list = "GIS"
#specify the checkout number for version & GDB naming
checkout_number = 1
#specify folder location and file name for checkout
working_folder = r"C:\\"
working_file = "Test_%s_v%s.gdb" % (version_list, checkout_number)
# Set workspace
env.workspace = r"Database Connections\NEO.sde"
# Set local variables
in_data = ["ArchivedProposedMainline"]
replica_type = "CHECK_OUT"
output_workspace = "%s\%s" % (working_folder, working_file)
replica_name = "MyReplica_%s_v%s" % (version_list, checkout_number) # This creates the replica in the GDB manager
access_type = "FULL" # Supports complex types (topologies and geometric networks) and requires the data to be versioned.
initial_sender = "PARENT_DATA_SENDER"
expand = "USE_DEFAULTS"
reuse_schema = "DO_NOT_REUSE"
get_related = "GET_RELATED"
replica_geometry = ""
archiving = "DO_NOT_USE_ARCHIVING"
#create the empty GDB for checkout
arcpy.CreateFileGDB_management(working_folder, working_file)
# Execute CreateReplica
arcpy.CreateReplica_management(in_data, replica_type, output_workspace, replica_name, access_type, \
initial_sender, expand, reuse_schema, get_related, replica_geometry, archiving)
... View more
08-21-2018
11:23 AM
|
0
|
1
|
2597
|
|
POST
|
Does anyone know how to trim everything after each date? We'd like to remove all the 4:00:00 AM from the database at once.
... View more
08-16-2018
09:48 AM
|
0
|
4
|
2898
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-11-2018 06:04 AM | |
| 1 | 04-11-2018 06:24 AM | |
| 1 | 04-04-2019 05:59 AM | |
| 1 | 05-06-2019 08:45 AM | |
| 2 | 06-06-2019 06:32 PM |
| Online Status |
Offline
|
| Date Last Visited |
01-13-2021
02:32 PM
|