Skip to main content

Hello ,

Could I create tables (Feature classes ) in Arcmap by using Arcsde writer even if there is no content ( empty content )

my problem : I have to export the data required monthly from Fme .

sometimes ,no data output .

sometimes there are new data .

in case no data ,i would like to have always feature class , when I show the table of content in arcmap ,I see it is empty .

even if there is output or not ,i would like to have monthly feature class has the same name . How could I achieve it ?

fme 2021

You can put a NoFeatureTester into your workspace - this will create a feature if no features come into it. You could pass this feature to your SDE table - it would still create a record though so maybe not really what you're after?


If you're looking to make an empty FeatureClass, you'll need to use ArcPy (this can be used in a PythonCaller in FME)

https://pro.arcgis.com/en/pro-app/3.0/tool-reference/data-management/create-feature-class.htm


If you're looking to make an empty FeatureClass, you'll need to use ArcPy (this can be used in a PythonCaller in FME)

https://pro.arcgis.com/en/pro-app/3.0/tool-reference/data-management/create-feature-class.htm

Thanks but how could I write the script in Python caller and let it work .

sorry Iam not so familiar with Python .

could you provide me a temperate workspace include the script Python caller ,thanks a lot in advance

fme 2021


You can put a NoFeatureTester into your workspace - this will create a feature if no features come into it. You could pass this feature to your SDE table - it would still create a record though so maybe not really what you're after?

Thanks for ur reply .

i got ur idea ,it is good if I did not solve it with Python caller ,so I can use it .


Reply