Here, the Python for create a list of feature types but....
import sys
from pyfme import *
try:
log=FMELogfile("shapeToTAB.log")
log.log("Opening reader",FME_INFORM)
reader=FMEReader("GEODATABASE_FILE")
reader.open("C:\depot\export\TE-PMB.gdb")
GeomList = []
schemaFeature=FMEFeature()
log.log("Copying schema features")
while reader.readSchema(schemaFeature):
GeomList.append(schemaFeature.getFeatureType())
log.logFeature(schemaFeature)
reader.close()
print GeomList
except FMEException, err:
print "FMEException: %s" % err
sys.exit(1)
I would like return a list of feature type of my geodatabase. Is it possible ?