Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(22)  |  Call(18)  |  Derive(0)  |  Import(4)

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RLOS.py   defense-and-intel-analysis-toolbox(Download)
        if f.name == "SPOT":
            isSPOTPresent = True
    rows = arcpy.SearchCursor(obs)
    # find largest RADIUS2 and OFFSETA
    for row in rows:
    pointy = 0.0
    shapeField = arcpy.Describe(mbgCenterWGS84).ShapeFieldName
    rows = arcpy.SearchCursor(mbgCenterWGS84)
    for row in rows:
        feat = row.getValue(shapeField)

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RLOSdebug.py   defense-and-intel-analysis-toolbox(Download)
    spotMax = 0.0
    removeSPOT = False  
    rows = arcpy.SearchCursor(obs)
    for row in rows:
        if (row.RADIUS2 > radius2Max): radius2Max = row.RADIUS2
    pointy = 0.0
    shapeField = arcpy.Describe(mbgCenterWGS84).ShapeFieldName
    rows = arcpy.SearchCursor(mbgCenterWGS84)
    for row in rows:
        feat = row.getValue(shapeField)

src/a/r/arc-open-HEAD/arc_open/esri2open/parseRow.py   arc-open(Download)
from utilities import listFields, getShp, getOID, statusMessage, parseProp, makeInter
from arcpy import SpatialReference, SearchCursor  
from parseGeometry import getParseFunc
from json import dump
 
        sr.loadFromString(wgs84)
        #the search cursor
        self.rows=SearchCursor(featureClass,"",sr)
        #don't want the shape field showing up as a property
        del self.fields[self.shp]

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeRings2.py   defense-and-intel-analysis-toolbox(Download)
    # build ring values
    arcpy.AddMessage("Building ring table ...")
    getRows = arcpy.SearchCursor(input_centers)
    addRows = arcpy.InsertCursor(tempTable)
    y = 1
 
        arcpy.AddMessage("Building radial table ...")
        getRows = arcpy.SearchCursor(input_centers)
        addRows = arcpy.InsertCursor(tempRadialTable)
        y = 1

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeFansByFeature.py   defense-and-intel-analysis-toolbox(Download)
    arcpy.AddField_management(outFeature,"Bearing","DOUBLE")
 
    rows = arcpy.SearchCursor(prjInFeature)
    cur = arcpy.InsertCursor(outFeature)
    for row in rows:

src/e/s/esri2open-HEAD/Install/esri2open/parseRow.py   esri2open(Download)
from utilities import listFields, getShp, getOID, statusMessage, parseProp, makeInter
from arcpy import SpatialReference, SearchCursor  
from parseGeometry import getParseFunc
from json import dump
 
        sr.loadFromString(wgs84)
        #the search cursor
        self.rows=SearchCursor(featureClass,"",sr)
        #don't want the shape field showing up as a property
        del self.fields[self.shp]

src/e/s/esri2topo-HEAD/scripts/esri2open/parseRow.py   esri2topo(Download)
from utilities import listFields, getShp, getOID, statusMessage, parseProp, makeInter
from arcpy import SpatialReference, SearchCursor  
from parseGeometry import getParseFunc
from json import dump
 
        sr.loadFromString(wgs84)
        #the search cursor
        self.rows=SearchCursor(featureClass,"",sr)
        #don't want the shape field showing up as a property
        del self.fields[self.shp]

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/PolylineToPolygon.py   defense-and-intel-analysis-toolbox(Download)
    #Open Search cursor on polyline
    lineShapeFieldName = arcpy.Describe(inputPolylines).shapeFieldName
    inRows = arcpy.SearchCursor(inputPolylines)
    #Open Insert cursor on polygons
    outRows = arcpy.InsertCursor(outputPolygons,sr)

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeFanByBearingAndTraversal.py   defense-and-intel-analysis-toolbox(Download)
        arcpy.AddMessage("Getting centers ....")
        shapefieldname = arcpy.Describe(prjInFeature).ShapeFieldName
        rows = arcpy.SearchCursor(prjInFeature)
        for row in rows:
            feat = row.getValue(shapefieldname)

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeFan.py   defense-and-intel-analysis-toolbox(Download)
        arcpy.AddMessage("Getting centers ....")
        shapefieldname = arcpy.Describe(prjInFeature).ShapeFieldName
        rows = arcpy.SearchCursor(prjInFeature)
        for row in rows:
            feat = row.getValue(shapefieldname)

  1 | 2  Next