不具合 ID 番号 |
BUG-000165467 |
送信されました | February 29, 2024 |
最終更新日 | November 14, 2024 |
適用対象 | ArcGIS Pro |
見つかったバージョン | 3.2.1 |
オペレーティング システム | Windows OS |
オペレーティング システムのバージョン | N/A |
ステータス | As Designed
開発チームによる確認後に、この動作が設計どおりであると判断されました。 詳細については、「参考情報」セクションをご参照ください。
|
参考情報
ArcGIS Pro will only display, edit, and process metadata stored in the ArcGIS metadata format. This behavior is by design and is documented. Having metadata stored in the ArcGIS metadata format is a requirement for ArcGIS Pro, ArcGIS Enterprise, and ArcGIS Online.
See the help topic View and edit metadata: https://pro.arcgis.com/en/pro-app/latest/help/metadata/view-and-edit-metadata.htm, specifically the section under the subheading View standard-format metadata content. Also, the ArcGIS Pro help topic Create FGDC CSDGM metadata (https://pro.arcgis.com/en/pro-app/latest/help/metadata/create-fgdc-csdgm-metadata.htm) states the following:
"The ArcGIS platform only works with metadata in the ArcGIS metadata format. If you have metadata content stored in the FGDC CSDGM XML format, it can't be used directly in ArcGIS Pro."
There are no versions of ArcMap and ArcCatalog that are capable of viewing or creating metadata that is compliant with the ISO 19115-1 or ISO 19115-3 metadata standards. This means that various assumptions as stated in the headline and synopsis of this issue are incorrect. ArcGIS Desktop applications can export metadata to the ISO 19115 standard XML format as defined by ISO 19139 (19115 and 19139 the original, not any -number), and to the FGDC CSDGM XML format. (A couple of different flavors of the ISO 19139 XML format are supported.)
Beginning with 10.0, ArcGIS Desktop applications only supported editing and processing metadata in the ArcGIS metadata format. However, there were certain accommodations made to help people transition from earlier versions of ArcGIS Desktop. This included automatically converting a small amount of FGDC CSDGM-format metadata content for display, as described here: https://desktop.arcgis.com/en/arcmap/latest/manage-data/metadata/about-viewing-metadata.htm. ArcGIS Desktop also supported viewing some standard metadata formats. However, these capabilities collectively have caused many problems in managing, publishing, and sharing data throughout the ArcGIS platform. Therefore, the design for displaying and managing metadata in ArcGIS Pro is intentionally different.
An item's FGDC CSDGM-format metadata must be upgraded to the ArcGIS metadata format before start editing the item's metadata. The suggested workaround employed by the user is to click the Edit button in ArcMap and then click Save. The result of the suggested workaround--WHICH IS NOT A RECOMMENDED WORKFLOW--is only the small portion of FGDC CSDGM metadata content that you see in the metadata display with the Item Description metadata style is automatically upgraded to the ArcGIS metadata format. From that point on, the item's metadata is considered to be in the ArcGIS metadata format, which is why it is visible in ArcGIS Pro.
The correct workflow is to do a full upgrade of the item's FGDC CSDGM-format metadata content to the ArcGIS metadata format first, so all the original metadata content is available in ArcGIS Pro and the ArcGIS platform. It is possible to upgrade the item's metadata in either ArcGIS Desktop or ArcGIS Pro. See the ArcGIS Pro help topic: https://pro.arcgis.com/en/pro-app/latest/help/metadata/upgrade-metadata-to-the-arcgis-format.htm, and the ArcGIS Desktop help topics: https://desktop.arcgis.com/en/arcmap/latest/manage-data/metadata/upgrading-existing-fgdc-metadata-from-the-description-tab.htm and https://desktop.arcgis.com/en/arcmap/latest/manage-data/metadata/the-arcgis-metadata-format.htm.
If the NOT RECOMMENDED workflow is followed and achieved a partial upgrade of an item's metadata, the Upgrade options are no longer available either in ArcGIS Desktop or ArcGIS Pro applications. The Upgrade command will either be hidden or not available. This behavior is intentional. Only after upgrading to the ArcGIS metadata format, the metadata can be edited. If already typed in and saved new metadata content for the item using the metadata editor and then do a full upgrade of the FGDC CSDGM metadata, all the information that has been typed in using the metadata editor will be lost. The goal of making the Upgrade commands not available is to prevent losing existing work.
However, the NOT RECOMMENDED workflow is followed, and realize full upgrade of FGDC CSDGM metadata content should be done, there are two different workarounds. Use the Upgrade Metadata geoprocessing tool in ArcGIS Desktop, or use a Python script in ArcGIS Pro to run the upgrade command provided in the ArcPy Metadata module.
対処法
Two possible workarounds.
- Save Metadata using the current ArcMap:
- Open ArcMap mxd file in ArcMap 10.8.2 (Current version)
- Open metadata.
- Click Edit.
- Click Save.
- Export ArcMap mxd file to ArcGIS Pro.
Note, based on this workflow: https://community.esri.com/t5/arcgis-pro-questions/arcmap-metadata-in-gdb-items-not-displaying-in-pro/td-p/1298747
2. Programmatically:
- Create Python Script to perform the following:
- Open file.
- Open the file in ArcGIS Pro.
- Open metadata.
- Convert to FGDC format.
- Save the file.
NOTES FROM DEVELOPMENT: The above set of workarounds is inaccurate. The ArcGIS Pro help topic Create FGDC CSDGM metadata (https://pro.arcgis.com/en/pro-app/latest/help/metadata/create-fgdc-csdgm-metadata.htm) states the following: "The ArcGIS platform only works with metadata in the ArcGIS metadata format. If you have metadata content stored in the FGDC CSDGM XML format, it can't be used directly in ArcGIS Pro." If the only place to see full metadata for an item in ArcGIS Desktop is under the FGDC Metadata heading in the metadata display, this means the existing item has metadata stored in the FGDC CSDGM format. This metadata content will not be visible in ArcGIS Pro. The recommended workflow is to upgrade the FGDC CSDGM-format metadata content to the ArcGIS metadata format. This can be accomplished in ArcGIS Desktop using the Upgrade button in the metadata display or using the Upgrade Metadata geoprocessing tool. This can be accomplished in ArcGIS Pro from the Catalog view using the Upgrade > FGDC CSDGM Content option on the Catalog tab on the ribbon, in the Metadata group. The metadata can be upgraded to the ArcGIS format for many items using the ArcPy Metadata Python module. The first set of steps described by the customer's workflow above only performs a partial upgrade of the item's FGDC CSDGM-format metadata content to the ArcGIS metadata format. THIS IS NOT A RECOMMENDED WORKFLOW. However, if those steps are performed, there are only two workflows to recover from that situation. In both cases, any metadata content that was typed in using the ArcGIS metadata editor will be lost.
1. Use the ArcGIS Desktop Upgrade Metadata geoprocessing tool to force upgrade all existing FGDC CSDGM-format metadata content to the ArcGIS metadata format.
2. In ArcGIS Pro, open the Python window and run the following script to use the upgrade method in the Metadata module to force the upgrade of all existing FGDC CSDGM-format metadata to the ArcGIS metadata format. After running the script, select another item to view its metadata, then select the original item again to see the changes. import arcpy from arcpy import metadata as md archive_item_path = r'Data_with_FgdcCsdgm_notUpgraded.shp' archive_item_md = md.Metadata(archive_item_path) archive_item_md.upgrade('FGDC_CSDGM') archive_item_md.save()
再現の手順