Please help me with error when I try to run Chart Automation Tool in ArcGIS 10.8.1. Many thanks.
"Running script ChartAutomation...
Main_Panel:
Add Layers to TOC...
Create Grids and Graticules...
Generate Cartographic Limits...
Executing: FeatureToLine metadata_lyr C:\Users\HN\Documents\ArcGIS\scratch.gdb\metadata_toline # ATTRIBUTESERROR 999999: Error executing function.
The geometry is not M-aware
Failed to execute (FeatureToLine).
Completed script ChartAutomation...
Failed to execute (ChartAutomation)."
Solved! Go to Solution.
Hello @NguyenBichHue ,
I can see that the tool is failing at Generate Cartographic Limits. The process uses MetadataA features from the chart gdb and this error is usually returned if there are no M_NSYS_NavigationalSystemOfMarks features in the MetadataA feature class. If that is the case, try creating a polygon covering the entire product area in the M_NSYS_NavigationalSystemOfMarks subtype, and run the tool again.
Thanks,
Paulina
Thank you for providing the import log @NguyenBichHue.
Did you import S-57 data directly into your chart gdb or did you create the product using Product Library? If the chart gdb was created using Product Library, it might be that the features you imported to the NIS didn't meet the extraction query for the specified panel scale. Can you open the attribute table for the MetadataA feature class in your chart gdb and verify that the features are there?
Hello @NguyenBichHue ,
I can see that the tool is failing at Generate Cartographic Limits. The process uses MetadataA features from the chart gdb and this error is usually returned if there are no M_NSYS_NavigationalSystemOfMarks features in the MetadataA feature class. If that is the case, try creating a polygon covering the entire product area in the M_NSYS_NavigationalSystemOfMarks subtype, and run the tool again.
Thanks,
Paulina
Thank Paulina,
However, in my chart gdb, MetadataA feature class has many features:
Converted 1 features in M_COVR to MetaDataA class, subtype M_COVR_Coverage.
Converted 1 features in M_NSYS to MetaDataA class, subtype M_NSYS_NavigationalSystemOfMarks.
Converted 37 features in M_QUAL to MetaDataA class, subtype M_QUAL_QualityOfData.
Thank you for providing the import log @NguyenBichHue.
Did you import S-57 data directly into your chart gdb or did you create the product using Product Library? If the chart gdb was created using Product Library, it might be that the features you imported to the NIS didn't meet the extraction query for the specified panel scale. Can you open the attribute table for the MetadataA feature class in your chart gdb and verify that the features are there?
Thank you Paulina,
I import S-57 data directly into NIS database, then connect with Product Library to create chart product. In Metadata feature class there has information of Compilation scale (22000).