|
POST
|
Check the qualified field names environment setting, http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//001w00000008000000 I think it might solve the quirky file.fieldname issue that you allude to
... View more
01-06-2012
07:09 AM
|
0
|
0
|
1366
|
|
POST
|
Google search on Python format number with commas yields several options, eg. http://stackoverflow.com/questions/1823058/how-to-print-number-with-commas-as-thousands-separators-in-python-2-x
... View more
01-04-2012
09:52 AM
|
0
|
0
|
1166
|
|
POST
|
In Python either use: raw notation r"c:\temp" double backslashes "c:\\temp" single foreslashes "c:/temp" when specifying path names
... View more
01-02-2012
06:50 AM
|
0
|
0
|
940
|
|
POST
|
you should never be using folders that contain spaces for either the inputs or outputs, try fixing that first
... View more
12-29-2011
09:47 AM
|
1
|
0
|
2692
|
|
POST
|
Intersect http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00080000000p000000.htm
... View more
12-28-2011
01:55 AM
|
0
|
0
|
508
|
|
POST
|
Mosaic to new raster in data management tools is an option http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//001700000098000000
... View more
12-23-2011
05:38 AM
|
0
|
0
|
1966
|
|
POST
|
there is some information on this within the help files, don't know if it will help you much http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00p60000001m000000.htm
... View more
12-21-2011
04:33 AM
|
0
|
0
|
565
|
|
POST
|
If you have ArcGIS 10, then use bounding containers with the extent rectangle option, this will provide the base information that you need. http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=3D230972-1422-2418-34A5-2F3FFF97C238
... View more
12-15-2011
08:48 AM
|
1
|
0
|
12350
|
|
POST
|
If you are developing and testing scripts, it is often useful to include a reload(arcpy) line after the initial import, nothing gets changed once arcpy gets loaded until you quit python or pythonwin, hence, a reload causes arcpy to get reinstantiated removing the need to quit and start again. Once script development is done, then you can comment out the line. This applies to other modules that are imported, including user-developed ones, or numpy etc etc.
... View more
12-09-2011
12:55 PM
|
0
|
0
|
1983
|
|
POST
|
instead of arcpy.env.overwriteOutput = "True" try a boolean instead of a text string arcpy.env.overwriteOutput = True or arcpy.env.overwriteOutput = 1
... View more
12-09-2011
07:58 AM
|
0
|
0
|
1983
|
|
POST
|
fix all file paths in your script, they should be double-backslashes, single forward-slashes or use the raw notation, ie "c:\\temp" "c:/temp" r"c:\temp"
... View more
12-02-2011
06:08 AM
|
0
|
0
|
670
|
|
POST
|
CON should be Con in 10 don't know about the % stuff and dot notation isn't supported as far as I know in 10
... View more
12-01-2011
05:59 AM
|
0
|
0
|
2442
|
|
POST
|
like this? a_list = ["111-11-1","222-22-2","333-33-3"]
split_list = []
for a_val in a_list:
vals = a_val.split("-")
small_list = []
for a_num in vals:
small_list.append(int(a_num))
if small_list[0] <= 180:
small_list[0] += 180
else:
small_list[0] -= 180
print small_list
... View more
11-29-2011
12:19 PM
|
0
|
0
|
2046
|
|
POST
|
if it is an attribute query that is being used to split the file into separate shapefiles, then check Split Layers By Attribute (for version 10) at http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=37AEB018-1422-2418-A036-CA6D9920F808
... View more
11-29-2011
09:39 AM
|
0
|
0
|
3379
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-03-2017 11:39 AM | |
| 1 | 08-05-2019 05:21 PM | |
| 1 | 09-02-2016 08:05 AM | |
| 1 | 01-15-2018 01:10 PM | |
| 1 | 09-17-2018 12:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|