+ Reply to Thread
Results 1 to 3 of 3

Thread: Could the raster field of a feature class accessed by Python?

  1. #1
    Andy gao
    Join Date
    May 2012
    Posts
    2
    Points
    0
    Answers Provided
    0


    0

    Question Could the raster field of a feature class accessed by Python?

    Hi there,

    I have a feature class of a personal GDB that has a raster field. The rasters are the photos of all the features and the rasters are managed by the GDB.

    I noticed that the rasters are stored in the .idb folder togeter with the .mdb file. They are named like: 1.img, 2.img etc., the number is exactly the OBJECTID of the feature that it belongs to.

    A table called GDB_RasterColumns in the mdb stores the subfolder info of the .idb folder.

    By python , I can export all the photo form a GDB, name them by some porperties of the feature class.

    But my question is, can I import a bunch of photos to a feature class base on its properties? I need to modify the raster field by python, but it looks untouchable when hadling with setValue() of the UpdateCursor.

    Any help is appreciated.

  2. #2
    Andy gao
    Join Date
    May 2012
    Posts
    2
    Points
    0
    Answers Provided
    0


    0

    Default Re: Could the raster field of a feature class accessed by Python?

    really!
    no one?

  3. #3
    Derek Eamer
    Join Date
    May 2011
    Posts
    1
    Points
    0
    Answers Provided
    0


    0

    Exclamation Re: Could the raster field of a feature class accessed by Python?

    I am also very interested in how this can be done!

    btw, thanks Gaoang for posting the question in the first place. Reading your post actually showed me how to mass export raster fields in python and rename them

    hopefully someone will find a solution for mass importing raster fields though...

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts