Skip to main content

I was following this example to write/update the metadata from SDE.

https://community.safe.com/s/article/working-with-geodatabase-metadata-writing-to-xml

 

READER features: from SDE

READER metadata: from SDE

 

WRITER: GENERIC (4 options: SHP, FGDB, DWG, KML)

 

I was able to write both spatial features and their metadata to FGDB (using ArcGIS Catalog to view both features and metadata).

But when I picked the output as Shapefile, the features were written out with a boundary (for lines, but not for points). E.g. I have a point file with 722 features it will be written as 722 features. If I write a line file with 1000 features then I will end up having 1001 because there is a boundary linework written as one of the spatial features.

Also, the metadata wasn't included in the shapefiles (using ArcGIS Catalog to view).

 

I try to narrow down the output by having a Shapefile writer only but the same problem persists.

 

Anyone can shed me some light on this issue? Thanks.

 

I dont think you can update shapefile metadata in the same way as a geodatabase. you might need an xml writer to create an xml metadata file for your shapefiles. alternatively you could update the gdb and have a secondary process to write the output to shp


Reply