This application contains Python code for the workflows related to the Composite Source File/Project Reference File(CSF/PRF).
The CSF/PRF Toolbox application currently contains an ArcGIS Python Toolbox and associated Python code.
The Toolbox file: csf_prf/src/csf_prf/CSF_PRF_Toolbox.pyt
- csf_prf/src/csf_prf/CompositeSourceCreatorTool.py
- csf_prf/src/csf_prf/ENCDownloaderTool.py
- csf_prf/src/csf_prf/S57ConversionTool.py
Once Pydro pulls the latest changes, you will need to open ArcGIS Pro and add a Folder Connection.
~You can click the Run button to open a dialog box to copy the folder path to add to ArcGIS Pro
- Open ArcGIS Pro
- Open an existing project or create a new project
- Access the Catalog Pane: Click View, then click Catalog Pane
- Right click on Folders, then click on Add Folder Connection
- Choose a folder that lets you access the tools; ex: c:\path\to\pydro...
- In the Catalog Pane, expand Folders and expand the new folder you just added
- Navigate to the CSF/PRF toolbox; ex: c:\path\to\pydro...\csf_prf\src\csf_prf\CSF_PRF_Toolbox.pyt
- Double click on the CSF_PRF_Toolbox.pyt file to open it
- Double click one of the tools to open the user interface
- Add the required parameters for the tool or any optional parameters
Sheets and Output Folder are the only required parameters. - Add the output folder for the tool to export files
~You may want to add a new Folder Connection to ArcGIS Pro for your chosen output folder as well. - Click run to start the tool
~approx. runtime takes 7-10 minutes - Click View Details to see log messages that show the status of the tool
- View the output folder you selected to see the output data
- If running the Composite Source Creator Tool, an optional maritime_layerfile.lyrx file
is added to the output folder to view the data like an ENC chart - Drag the maritime_layerfile.lyrx file into a map
The S-57 to Geopackage conversion tools performs a geotransformation for objects where the field 'descrp' = 'New'. The transformation used is NAD 83 (2011) to WGS 84 (ITRF08). These objects will have the transformation noted in the 'transformed' field. Additional documentation on NAD83 to WGS84 can be found here: Choosing An Appropriate Transformation