Preparing S-57 data using enc processor Python module: Difference between revisions
Preparing S-57 data using enc processor Python module
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
S-57 source data can be converted to MBTiles using the Python module ''enc_processor''. The output is split into one MBTiles dataset for each scaleband. Some layers are given custom fields to facilitate rendering in MARIA GDK. Zoom level configuration in the output is defined to work with the existing product ''NorwayNauticalENCVector'' | S-57 source data can be converted to MBTiles using the Python module ''enc_processor''. The output is split into one MBTiles dataset for each scaleband. Some layers are given custom fields to facilitate rendering in MARIA GDK. Zoom level configuration in the output is defined to work with the existing product ''NorwayNauticalENCVector.'' | ||
== Dependencies == | |||
The module depends on the following non-standard Python packages. | |||
* GDAL | |||
* protobuf | |||
[[File:S-57 enc processor.png|thumb]] | [[File:S-57 enc processor.png|thumb]] | ||
== Arguments == | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
Line 18: | Line 25: | ||
|} | |} | ||
== Example of use == | |||
<code>python -m enc_processor c:\work\enc\enc_root\ c:\work\enc\mbtiles\ --debug</code> | <code>python -m enc_processor c:\work\enc\enc_root\ c:\work\enc\mbtiles\ --debug</code> | ||
<code>python -m enc_processor --help</code> |
Revision as of 14:55, 13 March 2024
S-57 source data can be converted to MBTiles using the Python module enc_processor. The output is split into one MBTiles dataset for each scaleband. Some layers are given custom fields to facilitate rendering in MARIA GDK. Zoom level configuration in the output is defined to work with the existing product NorwayNauticalENCVector.
Dependencies
The module depends on the following non-standard Python packages.
- GDAL
- protobuf
Arguments
Argument | Description |
---|---|
input | Input folder containing S-57 "000" files. Folders are searched recursively. |
output | Output folder where MBTiles will be built |
--debug | Write debug log messages |
Example of use
python -m enc_processor c:\work\enc\enc_root\ c:\work\enc\mbtiles\ --debug
python -m enc_processor --help