POST
|
hi james would you give me a example for 'group by' with a subquery?, please
... View more
10-01-2013
08:08 AM
|
0
|
0
|
192
|
POST
|
give a look at this http://forums.arcgis.com/threads/930...656#post330656
... View more
09-26-2013
08:49 AM
|
0
|
0
|
672
|
POST
|
give a look at this http://forums.arcgis.com/threads/93056-manual-selection-as-input-parameter-for-a-script?p=330656#post330656
... View more
09-26-2013
08:49 AM
|
0
|
0
|
250
|
POST
|
I need a arcpy script to process data from a selection, it's made manually in arcmap. the selection is part of a mesh, to print data from a specified field. Can i put a selection made ??????manually as input parameter for a script? until now, I have a script that processes the selection stored in a layer that is displayed in the TOC #import arcpy module
#
import arcpy
# Load the MXD default document
#
mxd = arcpy.mapping.MapDocument("CURRENT")
# Define the TOC default Data Frame
#
df = arcpy.mapping.ListDataFrames(mxd, "Capas")[0]
#access to the target (mesh selection), stored in a layer,
#By selecting the corresponding layer located on the TOC
#
fc = arcpy.mapping.ListLayers(mxd,"",df)[0]
#define of the field to consult.
#
field = "idMalla"
print "campo idMalla: "
# query for reading a specified field.
#
cursor = arcpy.SearchCursor(fc)
for row in cursor:
print(row.getValue(field))
# delete memory
del mxd, df
[ATTACH=CONFIG]27638[/ATTACH]
... View more
09-20-2013
08:22 AM
|
0
|
0
|
2445
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|