POST
|
If you are on maintenance call ESRI. They should fix it for you. At the time I needed a solution immediately and did not have the time to continue trouble shooting. Either way good luck.
... View more
05-06-2015
07:32 AM
|
1
|
2
|
722
|
POST
|
My problem was that it is a bug (ESRI tech support confirmed) and I could not perform my work flow with python it had to be done with model builder which worked. You can check the folders where the data you are manipulating resides and look for the schema lock file and manually delete it. It some cases the lock file does not get deleted. Are you sure you checked the overwrite geoprocessing files in the geoprocessing options setting?
... View more
05-06-2015
06:15 AM
|
1
|
4
|
722
|
POST
|
Where is the Join Data tool box in 10.2 for joining points to polygons based on falling inside or closest to a point?
... View more
03-17-2015
11:35 AM
|
0
|
1
|
3693
|
POST
|
I have several scripts that I have running through tasking manager that perform various functions on a file geodatabase. However when they run the generate a schema lock. Is there a graceful way to end a python script or should I use os.remove(schema.ini)?
... View more
03-04-2015
11:43 AM
|
0
|
1
|
4519
|
POST
|
@Blake do you have any insight on why my for statements are not working using my the variable?
... View more
02-09-2015
09:09 AM
|
0
|
1
|
132
|
POST
|
So there is nothing I can do with this arcpy.da.Walk(workspace, datatype="FeatureClass", type="FeatureClass") which is able to find all of the shapefiles in the sundirectories?
... View more
02-09-2015
08:16 AM
|
1
|
3
|
819
|
POST
|
The problem with this is it does not access the sub directories. So it does not work.
... View more
02-09-2015
06:40 AM
|
0
|
5
|
819
|
POST
|
It is line 7. I print it a few lines down to confirm it picked up all the shape files. The loop is intended to strip the directories and .shp for conversion.
... View more
02-05-2015
04:09 PM
|
0
|
2
|
819
|
POST
|
I am having an issue with using arcpy.CopyFeatures_management. I am attempting to copy shape files from a temp directory and write them to a database as feature classes. What is wrong with this code? My print function correctly lists all of the shape files in the temp directory however It then writes one shape to my database directory and gives it the database name. import arcpy
from arcpy import env
import os
import sys
arcpy.env.overwriteOutput = True
workspace = "S:\\xxx\\GIS\\"
feature_classes = []
walk = arcpy.da.Walk(workspace, datatype="FeatureClass", type="FeatureClass")
outWorkspace = "S:\\xxx\\xxx\\xxx.gdb"
for dirpath, dirnames, filenames in walk:
for filename in filenames:
feature_classes.append(os.path.join(dirpath, filename))
print feature_classes
for filename in feature_classes:
outFeatureClass = os.path.join(outWorkspace, filename.strip(".shp"))
arcpy.CopyFeatures_management(filename, outWorkspace)
... View more
02-05-2015
03:19 PM
|
0
|
11
|
5013
|
POST
|
Looks like I am going to go that route. Thanks. The solution is posted here
... View more
02-05-2015
01:03 PM
|
0
|
0
|
677
|
POST
|
when I do that I get this 000258: Output S:\Shared\1 Survey Operations\Data Management\Databases\DB\HarkandDB_Nad27.gdb\protrac already exists
... View more
02-05-2015
12:31 PM
|
0
|
1
|
2121
|
POST
|
that's what I have...my folder GIS setting the env is recursive because the shapefiles are in directories within the folder GIS. When I run the model the second time it takes aproximatly1 second
... View more
02-05-2015
12:13 PM
|
0
|
0
|
2121
|
POST
|
I get the warning error 000258 name already used when I attempt to run the model again to check that it works
... View more
02-05-2015
12:02 PM
|
0
|
4
|
2121
|
Title | Kudos | Posted |
---|---|---|
1 | 05-06-2015 06:15 AM | |
1 | 05-06-2015 07:32 AM | |
1 | 02-09-2015 08:16 AM | |
1 | 02-05-2015 10:20 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|