tbl = r"D:\csny490\temp\test.mdb\GDB_SpatialRefs" >>> lmpy.listFields(tbl) NAME TYPE LENGTH SCALE PRECISION ---------------------------------------------------------------------------------------------------- SRID OID 4 0 0 SRTEXT String 2147483647 0 0 FalseX Double 8 0 0 FalseY Double 8 0 0 XYUnits Double 8 0 0 FalseZ Double 8 0 0 ZUnits Double 8 0 0 FalseM Double 8 0 0 MUnits Double 8 0 0 IsHighPrecision Integer 4 0 0 XYTolerance Double 8 0 0 ZTolerance Double 8 0 0 MTolerance Double 8 0 0 >>> lmpy.listRecords(tbl) RECORD #1 ---------------------------------------------------------------------------------------------------- SRID: 1 SRTEXT: PROJCS["NAD_1983_HARN_StatePlane_Washington_South_FIPS_4602_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",45.83333333333334],PARAMETER["Standard_Parallel_2",47.33333333333334],PARAMETER["Latitude_Of_Origin",45.33333333333334],UNIT["Foot_US",0.3048006096012192]] FalseX: -117498300.0 FalseY: -98850300.0 XYUnits: 609.601219202 FalseZ: -100000.0 ZUnits: 1.0 FalseM: -100000.0 MUnits: 1.0 IsHighPrecision: 1 XYTolerance: 0.00328083333333 ZTolerance: 2.0 MTolerance: 2.0 LISTED 1 RECORDS >>>
tbl2 = "C:\\csny490\\temp\\test.mdb\\GDB_Items" print arcpy.SearchCursor(tbl2, "Path = '\landscapes'").next().Type #Type field is a Memo field, and it works... {70737809-852C-4A03-9E22-2CECEA5B9BFA} >>> print arcpy.SearchCursor(tbl2, "Path = '\landscapes'").next().Documentation None >>> print arcpy.SearchCursor(tbl2, "Path = '\landscapes'").next().Definition None
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.