|
POST
|
Nice. Could you share your code? Have you tried benchmarking against a cursor without a shape field or using one of the Shape@XY etc shortcuts?
... View more
11-10-2011
01:56 PM
|
0
|
0
|
864
|
|
POST
|
You'll need a product (server or engine) installed on the Linux machine.
... View more
10-26-2011
10:39 AM
|
0
|
0
|
573
|
|
POST
|
The second one is the name of the layer in the TOC. If that's not working, something like this: arcpy.env.workspace = '#whatever the folder is'
mxd = arcpy.mapping.MapDocument("Current")
fclist = arcpy.ListFeatureClasses()
for i, fc in enumerate(fclist):
arcpy.CreateFeatureLayer_management(fc, "layer_%i" % i)
... View more
10-08-2011
09:32 PM
|
0
|
0
|
2913
|
|
POST
|
Yeah, if C:\Python26\Lib\site-packages\Desktop10.pth exists and is correct, it should jsut work. Make sure when you import that you use all lower case (import arcpy)
... View more
10-03-2011
09:27 AM
|
0
|
0
|
607
|
|
POST
|
Not all intellisense will work. In this case, the list of environments is generated at runtime so you won't get them as a dropdown. Nearly everything else should work though. You may want to use an interactive prompt like Idle or the Python window in ArcMap for these instances.
... View more
09-23-2011
11:58 AM
|
0
|
0
|
623
|
|
POST
|
The first time it's called it needs to load additional DLLs into memory. The subsequent calls already have the libraries resident in process memory, so they will run faster.
... View more
09-22-2011
10:57 AM
|
0
|
0
|
1645
|
|
POST
|
Ohhhh, you're not actually doing the .write() call, you're just reading. You may want to read from the file and output to a new one to be safe.
... View more
09-01-2011
09:00 AM
|
0
|
0
|
1754
|
|
POST
|
The sa toolbox in arcpy behaves slightly different than other tools to support the Raster object and map algebra natively.
... View more
08-26-2011
11:34 AM
|
0
|
0
|
1715
|
|
POST
|
I think a couple are due up on the geoprocessing resource center in the coming weeks, if I'm not mistaken.
... View more
08-25-2011
08:52 AM
|
0
|
0
|
2250
|
|
POST
|
ctypes.windll.LoadLibrary(r'c:\absolute\path\to\my.dll')
Need that 'r' in front of the string.
... View more
08-23-2011
08:51 AM
|
0
|
0
|
9761
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-26-2012 02:46 AM | |
| 2 | 01-06-2011 08:22 AM | |
| 1 | 03-25-2014 12:18 PM | |
| 1 | 08-12-2014 09:36 AM | |
| 1 | 03-31-2010 08:56 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|