POST
|
Awesome. After installing ArcGIS 10.4 i faced a similar problem and the tweak worked after setting "PYTHOPATH" environment variable
... View more
06-02-2016
01:05 PM
|
0
|
0
|
1323
|
POST
|
Why is that after applying a topology on a lines feature class and run the planarize tool in an edit session, the sessions takes too long. On the other hand if you run planarize on the same featureclass that hasn't been applied a topology layer the session is extremely fast.
... View more
02-23-2016
10:15 PM
|
0
|
0
|
2053
|
POST
|
Normally, the feeling is always that until SP2 of any version for ArcGIS is released then its a no no for a production environment. This is the general feeling for Microsoft products as well. When are we receiving 10.3.2 of server and desktop?
... View more
05-28-2015
09:41 AM
|
0
|
1
|
2742
|
POST
|
Got this same error today 28/04/2014 while using AGS 10.2.2 on windows server 2012 R2. Tips from this forum helped me fix the issue but am afraid i had to use http://localhost:6080/arcgis/admin to join the machine to site. My steps were as follows. Removed all references. created a service account named "arcgis" in the AD Gave the account ulims\ArcGIS user rights on server used the domain account o install ArcGIS server. received the please wait.... hang screen. used admin to join the server to a site. See logs on the same. http://1drv.ms/1GCRITp Now it works.
... View more
04-28-2015
03:30 PM
|
0
|
0
|
267
|
POST
|
Can one edit a custom field in an archive class in an enterprise geodatabase which has archiving enabled. See sample screenshot. How can i edit the custom/user defined field named "update_to_sp"
... View more
04-02-2015
07:40 AM
|
0
|
0
|
3671
|
POST
|
Thanks to Esri support for providing answer to the problem. See attached full code with correction. Erroneous line of code reads like: arcpy.ImportToolbox(r"Database Connections\sde@localhost@ulims_publication.sde","ulimsAutomation") Corrected line of code reads: ##The below line code is when the toolbox containing the model is stored/hosted on SQL Server enterprise GDB arcpy.ImportToolbox(r"D:\GIS\Connection Files\Live Site\sde@172.24.0.47@ulims_gis.sde\ulims_gis.SDE.System_Admin","ulimsAutomation")
... View more
04-01-2015
06:01 AM
|
1
|
0
|
980
|
POST
|
Line 53 is the cause of the error. however, if i comment line 53 and uncomment line 47 the script runs flawlessly. This implies the problem occurs when when the model is stored in the enterprise geodatabase or any type of geodatabase used by Esri. The code only works if the model is in a toolbox stored in a folder. Let me if their is a solution.
... View more
03-22-2015
12:50 PM
|
0
|
0
|
980
|
POST
|
Thanks Blake. Your post was very helpful and i have applied the python formatting. The code should now be readable and clear.
... View more
03-18-2015
03:22 PM
|
1
|
0
|
980
|
POST
|
#-------------------------------------------------------------------------------
# Name: ULIMS Perfomance Management
# Purpose: Script scheduled in windows scheduler used to perfom enteprise geodatabase tuning
#
# Author: dmuthami
#
# Created: 17/03/2015
# Copyright: (c) dmuthami 2015
# Licence: <your licence>
#-------------------------------------------------------------------------------
import os, sys
import logging
import arcpy
import traceback
from arcpy import env
from datetime import datetime
def ulimsPerfomanceManagement():
#Set-up logging
logger = logging.getLogger('ulimsAutomation')
try:
#Export to text file#
currentDate = datetime.now().strftime("-%y-%m-%d_%H-%M-%S") # Current time
#Set-up some error logging code.
cat_logfile = os.path.join(os.path.dirname("__file__"), 'cat_logfile' + str(currentDate)+'.log')
#cat_logfile = r"C:\DAVID-MUTHAMI\GIS Data\Namibia ULIMS\Scripts" + "\\"+str(currentDate)+'.log'
hdlr = logging.FileHandler(cat_logfile)
formatter = logging.Formatter('%(asctime)s %(levelname)s %(message)s')
hdlr.setFormatter(formatter)
logger.addHandler(hdlr)
logger.setLevel(logging.INFO)
# Import the toolbox containing the model. This toolbox
# has an alias of "ulimsAutomation"
#Run model in a toolbox in a folder
# model optimizes enterprise geodatabase from SQL Server
#arcpy.ImportToolbox(r"C:\DAVID-MUTHAMI\GIS Data\Namibia ULIMS\Scripts\ULIMS_System.tbx","ulimsAutomation")
#Run model hosted on SQL Server enterprise GDB to optimize enterprise geodatabase
arcpy.ImportToolbox(r"Database Connections\sde@localhost@ulims_publication.sde","ulimsAutomation")
# Run the model.
#
arcpy.ULIMSPerformanceManagement_ulimsAutomation()
msg = "Performance tuning complete"
print msg
logger.info(msg)
except:
## Return any Python specific errors and any error returned by the geoprocessor
##
tb = sys.exc_info()[2]
tbinfo = traceback.format_tb(tb)[0]
pymsg = "PYTHON ERRORS:\n ulimsPerfomanceManagement() Function : Traceback Info:\n" + tbinfo + "\nError Info:\n " + \
str(sys.exc_type)+ ": " + str(sys.exc_value) + "\n" +\
"Line {0}".format(tb.tb_lineno)
msgs = "Geoprocessing Errors :\n" + arcpy.GetMessages(2) + "\n"
##Add custom informative message to the Python script tool
arcpy.AddError(pymsg) #Add error message to the Python script tool(Progress dialog box, Results windows and Python Window).
arcpy.AddError(msgs) #Add error message to the Python script tool(Progress dialog box, Results windows and Python Window).
##For debugging purposes only
##To be commented on python script scheduling in Windows _log
print pymsg
logger.info(pymsg)
print "\n" +msgs
logger.info(msgs)
def main():
pass
if __name__ == '__main__':
main()
#Run perfomance management module
ulimsPerfomanceManagement()
... View more
03-18-2015
01:53 PM
|
0
|
4
|
4415
|
POST
|
Hi Kelly, The type of layers am dealing with in AGOL are feature sevices. It would be great to see the grouped layers feature/functionality in AGOL. Regards, David Muthami
... View more
01-12-2015
09:38 PM
|
0
|
0
|
970
|
POST
|
I want to group layers in ArcGIS Online web map in a similar fashion to what one does on ArcGIS for desktop. If this is possible kindly let me know how it is done. Thanks
... View more
01-10-2015
08:24 PM
|
0
|
5
|
8732
|
POST
|
Hi, I am interested with whether you found a solution to group layers in ArcGIS online web map
... View more
01-10-2015
08:21 PM
|
3
|
7
|
1223
|
POST
|
How do i specify a left hand coordinate system in ArcGIS for Desktop. This is when am creating a custom projection system. See attached screenshot. Specifically, I want to make custom projection named Schwarzeck LO/22/19. See reference on the same for link. Projection 29379 -- Spatial Reference Should i make the scale factor negative or what?
... View more
11-02-2014
08:29 AM
|
0
|
1
|
4431
|
Title | Kudos | Posted |
---|---|---|
1 | 03-18-2015 03:22 PM | |
1 | 04-01-2015 06:01 AM | |
3 | 01-10-2015 08:21 PM | |
4 | 09-21-2014 09:28 AM | |
5 | 08-07-2014 11:29 AM |
Online Status |
Offline
|
Date Last Visited |
10-13-2021
03:54 PM
|