Create Chart in ArcGIS for Maritime

628
4
Jump to solution
10-25-2021 11:59 PM
NguyenBichHue
New Contributor II

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)."

0 Kudos
2 Solutions

Accepted Solutions
Paulakark
Esri Contributor

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

View solution in original post

0 Kudos
Paulakark
Esri Contributor

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?

View solution in original post

4 Replies
Paulakark
Esri Contributor

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

0 Kudos
NguyenBichHue
New Contributor II

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.

0 Kudos
Paulakark
Esri Contributor

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?

NguyenBichHue
New Contributor II

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). 

0 Kudos