|
POST
|
Chris: Can you try running the script on just 1 field and see how long it takes. Then try running the script on 1 other field and see how long that takes. Then run the script on those two fields and see if it runs as long as running the 2 fields in individual scripts? I'm just curious if the CalculateField_management process runs much longer on the 2nd field when run in series.
... View more
04-08-2013
10:38 AM
|
0
|
0
|
2615
|
|
POST
|
When you are posting your reply go to the Code wrap menu and select # (It is in the 2nd row to the right above the posting window). Put CODE (with brackets) at the beginning of your code and /CODE (with brackets) at the end of your code as shown in my below sample that does not do anything but provide a visual sample. # Import system modules
import sys, string, os # arcgisscripting
import arcpy
import arcpy.mapping
from arcpy import env
import smtplib #E-mail library
# Create the Geoprocessor object
# gp = arcgisscripting.create(9.3)
# gp.overwriteoutput = 1
arcpy.env.overwriteOutput = True
# Load required toolboxes...
# gp.AddToolbox("C:/Program Files/ArcGIS/ArcToolbox/Toolboxes/Data Management Tools.tbx")
# gp.AddToolbox("C:/Program Files/ArcGIS/ArcToolbox/Toolboxes/Conversion Tools.tbx")
# Read in values from config file that are used to set Local variables
configfile = open('config_py.txt', 'r')
vars = configfile.read().rstrip().split(",")
connSDE = vars[0]
conn_EOC_Data = vars[1]
conngdb_Schema = vars[2]
... View more
04-08-2013
09:01 AM
|
0
|
0
|
2615
|
|
POST
|
Can you provide the python script that you are running? Please put it in the appropriate code block syntax so it is indented correctly.
... View more
04-08-2013
08:35 AM
|
0
|
0
|
2615
|
|
POST
|
Chris: How long does it take to run the python script that is outside an edit session? 9500 records is not alot of records, so this process should not take long (I would think 1-2 minutes at the most).
... View more
04-08-2013
08:10 AM
|
0
|
0
|
2615
|
|
POST
|
Mudapa: I would suggest using python to execute this task as it is quite simple and not too hard to learn. As such I would post this same thread to the Python subforum and include the version of ArcGIS you are using (very important) and the operating system that you are working with (not as important). I can provide you some sample code and provide helpful links from the python forum.
... View more
04-08-2013
06:43 AM
|
0
|
0
|
970
|
|
POST
|
I was hoping the forum old timer archie p would have an answer to this question.
... View more
04-04-2013
04:34 AM
|
0
|
0
|
3420
|
|
POST
|
What kind of database are you trying to connect to (e.g. Oracle, SQL Server, etc.)?
... View more
04-03-2013
07:00 AM
|
0
|
0
|
1183
|
|
POST
|
The issue where a dynamic mapservice sourced from a file geodatabase does not show up in this widget still appears to exist with the Flex 3.2 Build. Can anyone else confirm this to be the case? If this is the case, does ESRI plan to modify this widget so a dynamic mapservice sourced from a file geodatabase works with this widget?
... View more
04-03-2013
05:04 AM
|
0
|
0
|
1537
|
|
POST
|
Can you print out the variable AMSEAS_SST? I believe this should be a feature class. I'm wondering if you would need to make a connection to the SDE database with this connection string to really check for its existence. The ESRI Help sample at: http://resources.arcgis.com/en/help/main/10.1/index.html#//018v0000004p000000 Does not show how to use python to check an SDE feature class, so I'm thinking it might not be as straightforward as checking the existence of a feature class in a personal or file geodatabase.
... View more
04-02-2013
08:40 AM
|
0
|
0
|
1070
|
|
POST
|
Even with the automated tools, you would probably still have a huge cleanup job where the automated process drew many of the polygons incorrectly. You might try to consider hiring a company that is expert at performing this work, so you have a relatively clean dataset when the job is complete (Creative financing and hard-sell of multiple uses of this data to money managers). My organization was able to somehow come up with the money to do this. We can now spend our money on making the flat dataset more useful by relating it to parcel and assessment data instead of spending our time digitizing polygons.
... View more
04-02-2013
08:32 AM
|
1
|
0
|
2964
|
|
POST
|
Domenico: Do you think the rest admin api is more solid than psexec in conjunction with agssom.exe? My scheduled task that stops 2 geocode services with psexec in conjunction with agssom.exe worked fine this weekend but did not last weekend, even though nothing in my system changed so it is kind of unstable. Would I have access to the rest admin api at 10.0? I ask because this is my current production environment for at least another 6 months while my organization plans for and executes the upgrade to our enterprise environment.
... View more
03-25-2013
09:56 AM
|
0
|
0
|
1532
|
|
POST
|
Have you tried logged a support incident with ESRI concenring this issue?
... View more
03-25-2013
05:16 AM
|
0
|
0
|
1419
|
|
POST
|
Domenico: I did not see any errors in the Event Viewer or the AGS logs for the geocode service that could not be stopped.
... View more
03-22-2013
11:44 AM
|
0
|
0
|
1532
|
|
POST
|
Domenico: Can you elaborate in more detail where I would find a possible message warning/error in Windows Server 2008? Also, how can I tell if I have UAC (what does that stand for) enabled? Could you also possibly explain why my bat file would be able to stop 1 service, but it fails to stop the 2nd service that I call after stopping the first service?
... View more
03-22-2013
09:02 AM
|
0
|
0
|
1532
|
|
POST
|
For v9.3 import arcgisscripting # Create the Geoprocessor object gp = arcgisscripting.create() # Process: Copy Feature Class of cache features(2)... gp.FeatureClassToFeatureClass_conversion(TRANSPORTATION_RDCL_SDE, Transportation_gdb, "RDCL_SDE_COPY", "") This shows you have to initiate the gp object and then use it in your geoprocessing methods such as FeatureClassToFeatureClass_conversion. You should be able to find more 9.3 based python scripting info from the forum threads and you could always google for more links.
... View more
03-22-2013
08:54 AM
|
0
|
0
|
2207
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-19-2024 10:38 AM | |
| 1 | 2 weeks ago | |
| 1 | 02-23-2026 05:32 PM | |
| 2 | 02-11-2026 10:42 AM | |
| 1 | 12-22-2025 10:08 AM |
| Online Status |
Online
|
| Date Last Visited |
yesterday
|