|
POST
|
check the online help, http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00s300000030000000.htm you can start at the top of the arcpy mapping tree and follow it down for information on classes etc http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Geoprocessing_scripts_for_map_document_management_and_output/00s300000032000000/
... View more
03-05-2011
05:27 AM
|
0
|
0
|
681
|
|
POST
|
this line >>> GP = Dispatch ("esri.Geoprocessing.GPDispatch.1") is not needed since the geoprocessor was created earlier >>> gp = arcgisscripting.create and no module or method called Dispatch exists in your import statements or within their functions
... View more
03-05-2011
05:22 AM
|
0
|
0
|
1319
|
|
POST
|
You would have to troll the academic papers on methods of estimating diffuse radiation and atmospheric transmissivity to get answer for you particular area, I suspect the provided defaults are global estimates.
... View more
03-04-2011
11:22 AM
|
0
|
0
|
742
|
|
POST
|
I would say you should study "Diffuse Proportion" and "Transmittivity" before you use the tool since they refer to parameters associated with the atmosphere. You can vary these parameters to see their affect, but using the defaults would not be appropriate unless they apply to your circumstances
... View more
03-04-2011
10:47 AM
|
0
|
0
|
742
|
|
POST
|
I have seen weirdness in version 10...sometimes, simply saving the project, closing arcmap, restarting allows me to fix this "issue" Other times it doesn't let me. Also, if you want to use a field for 2 parameters, it doesn't allow you to use the same feature layer (or layer, or featureclass). There appears to be no rhyme or reason to this and it is frustrating since the multiple input option isn't an option if you want to use one field for one parameter and another field for another. I would put this down to a bug, but I don't have the time at present to document a complete workflow to document the process...it is on my summer list of things to do.
... View more
03-03-2011
12:11 PM
|
0
|
0
|
1150
|
|
POST
|
you answered your own question....join using the FID field (assuming you are using shapefiles). To make the join permanent, simply export the file to a new file (in v 10,right-click on the layer, Data, Export Data etc)
... View more
03-03-2011
12:04 PM
|
0
|
0
|
1650
|
|
POST
|
you might want to consider using the setnull instead http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//009z00000007000000.htm
... View more
03-02-2011
10:59 AM
|
1
|
0
|
1838
|
|
POST
|
Just a check if it is that particular shapefile... 1 File|Data Export Data give it a new name and saving location 2 try the code on the "clone" or if you have some bad records 3 select the first couple of records in the table and try running the code on the selection 4 if that still doesn't work, select one record, export to a new file and try again. if that doesn't work...no clue
... View more
02-27-2011
09:42 AM
|
0
|
0
|
2112
|
|
POST
|
this issue has been raised before http://ideas.arcgis.com/ideaView?id=087300000008JQKAA2 http://forums.arcgis.com/threads/3363-Where-are-the-ArcScripts-Code-galleries-in-the-ArcGIS-Resource-Centre join the club
... View more
02-27-2011
08:25 AM
|
0
|
0
|
1265
|
|
POST
|
see this page, particularly step 6 if you wish to change the order of things http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00150000001v000000.htm
... View more
02-27-2011
02:30 AM
|
0
|
0
|
15151
|
|
POST
|
did you try the second as well? is your field an integer field? worked on my computer
... View more
02-26-2011
11:38 AM
|
0
|
0
|
2112
|
|
POST
|
keywords: insertcursor, array http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002z0000001v000000.htm has some ideas
... View more
02-26-2011
11:35 AM
|
0
|
0
|
4064
|
|
POST
|
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/How_to_change_NoData_cells_to_a_value/009z000000ms000000/ untested Con(IsNull("Scaled_8bit"), 0 ,"Scaled_8bit") or something along that line
... View more
02-25-2011
03:44 PM
|
0
|
0
|
561
|
|
POST
|
parser: Python Prelogic code section
def split_string(a_field):
return a_field.split(";")[0]
expression section split_string(!textfield!) #where !textField! is the field you are trying to split
... View more
02-25-2011
01:38 PM
|
0
|
0
|
3588
|
|
POST
|
stupids finally over parser: Python Code block
import numpy
def rand_num(a_field):
return numpy.random.randint(1,1000)
the rest rand_num(!randnum!) where !randnum! is the field to place the random numbers. I think you were mixing up the script example with the field calculator example and I just didn't catch it or better still provide a minimum and maximum value
import numpy
def rand_num(min_val, max_val):
return numpy.random.randint(min_val,max_val)
with rand_num(1,1000) calling the function
... View more
02-25-2011
11:52 AM
|
0
|
0
|
6250
|
| 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
|