Resumen
Creates an AML, IENC, or ENC chart product in the ArcGIS for Maritime: Cartografía product library using an S-57 cell descriptive record and geometry objects.
Uso
For use with ArcGIS for Maritime: Cartografía preconfigured product library.
At least one series must exist under the product class you want to edit. See adding a new series to a product class for more information.
Creates S-57-derived products in the product library for AML, IENC, or ENC. The New Nautical Product wizard must be used to create paper chart products.
Area of Interest (AOI) geometry is obtained from the M_COVR object and written to the product library.
Creates the product, instance, and AOI levels in the Product Library tree view.
Writes the metadata entries to the Nautical Metadata table, which is obtained from the S-57 dataset descriptive records.
Creates the product extraction queries. See setting extraction queries for product classes for more information.
Sintaxis
CreateS57Product(in_s57_cell, in_pl_workspace, {in_pl_owner}, in_pl_series)
Parámetro | Explicación | Tipo de datos |
in_s57_cell | Base file in the S-57 format and the product you want to create in the product library. | File |
in_pl_workspace | Product library workspace you want to edit. | Workspace |
in_pl_owner (Opcional) | Product library schema owner name. Set this parameter if the user account specified in the product library workspace is not the schema owner. This applies only to product libraries stored in enterprise geodatabases. | String |
in_pl_series | The products supported are ENC, AML, and IENC electronic navigational products. This is specified as Solution Name::Product Class Name::Series Name::Product. | String |
Muestra de código
CreateS57Product example (Python window)
The following Python window script demonstrates how to use the CreateS57Product tool.
# Import arcpy module
import arcpy
# Check for Nautical extension
if arcpy.CheckExtension("Nautical") == "Available":
arcpy.CheckOutExtension("Nautical")
else:
raise ex("Maritime: Charting license is unavailable.")
# Check for Production Mapping extension
if arcpy.CheckExtension("Foundation") == "Available":
arcpy.CheckOutExtension("Foundation")
else:
raise ex("Production Mapping license is unavailable.")
# Local variables:
ENC = "C:\Data\ENCs\US4CA68M\ENC_ROOT\US4CA68M\US4CA68M.000"
PRODUCT_LIBRARY_gdb = "C:\Data\CreateProductPython\PRODUCT_LIBRARY.gdb"
# Process: Create S-57 Product
print "Creating product"
arcpy.CreateS57Product_nautical(ENC, PRODUCT_LIBRARY_gdb, "", "Nautical::ENC::NewSeries","",)
print "Complete"
Entornos
Esta herramienta no utiliza ningún entorno de geoprocesamiento.
Información sobre licencias
- ArcGIS Desktop Basic: No
- ArcGIS Desktop Standard: No
- ArcGIS Desktop Advanced: Requiere Maritime Charting