{"id":1872,"date":"2022-12-22T06:37:02","date_gmt":"2022-12-22T05:37:02","guid":{"rendered":"http:\/\/lesmrdtrucs.mataf35400.fr\/?page_id=1872"},"modified":"2022-12-22T06:54:26","modified_gmt":"2022-12-22T05:54:26","slug":"calibration-de-cartes-marines","status":"publish","type":"page","link":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/calibration-de-cartes-marines\/","title":{"rendered":"Calibration de cartes marines"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1872\" class=\"elementor elementor-1872\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3c43c1e8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3c43c1e8\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-3bd10934\" data-id=\"3bd10934\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-68b0df9d elementor-widget elementor-widget-text-editor\" data-id=\"68b0df9d\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Pris l\u00e0: <a href=\"https:\/\/www.plaisance-pratique.com\/realiser-des-cartes-bsb-kap\" target=\"_blank\" rel=\"noopener\">https:\/\/www.plaisance-pratique.com\/realiser-des-cartes-bsb-kap<\/a><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f6b5fa5 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f6b5fa5\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-09b7580\" data-id=\"09b7580\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3e62600 elementor-widget elementor-widget-text-editor\" data-id=\"3e62600\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<h2>Pr\u00e9ambule<\/h2><p>Fugawi permet de calibrer des scan de cartes, mais seulement pour Fugawi. En effet, les donn\u00e9es de calibration sont dissoci\u00e9es de la carte elle-m\u00eame, rang\u00e9es dans une coin de Fugawi, et donc inutilisables par un autre logiciel.<\/p><p>Pour utiliser des cartes \u00ab\u00a0perso\u00a0\u00bb avec, par exemple, OpenCpn, il faut utiliser une autre m\u00e9thode.<\/p><p>Celle que j&rsquo;ai trouv\u00e9 la plus simple, c&rsquo;est de se servir de <span style=\"color: #0000ff;\"><em>MapCal II<\/em><\/span>, une composante du logiciel de navigation gratuit <span style=\"color: #0000ff;\"><em>SeaClear II<\/em><\/span>.<\/p><p>Il y a toute une proc\u00e9dure \u00e0 suivre, plut\u00f4t fastidieuse, mais heureusement rassembl\u00e9e et simplifi\u00e9e par \u00ab\u00a0Orion\u00a0\u00bb: <a href=\"http:\/\/www.plaisance-pratique.com\/IMG\/zip\/KAP-maker.zip\" target=\"_blank\" rel=\"noopener\">http:\/\/www.plaisance-pratique.com\/IMG\/zip\/KAP-maker.zip<\/a>.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0ecd66f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0ecd66f\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9f8dac6\" data-id=\"9f8dac6\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-160ca11 elementor-widget elementor-widget-text-editor\" data-id=\"160ca11\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<h2>M\u00e9thode:<\/h2><p>D\u00e9zipper le fichier dans un emplacement quelconque. Tout se passera alors dans cet emplacement:<br \/>Chez MRD, c&rsquo;est un RAR qui se trouve l\u00e0: <span style=\"color: #0000ff;\"><em>D:\\__Mes Documents\\Cartes de Fugawi\\KAP-maker.rar<\/em><\/span><\/p><h3>Pour faire des cartes :<\/h3><ul><li style=\"list-style-type: none;\"><ul><li>Double-cliquer sur <span style=\"color: #0000ff;\"><em>0-MRD-Vide-tous-les-repertoires-de-travail.bat<\/em><\/span> afin de vider tous les r\u00e9pertoires de travail.<\/li><li>Mettre les fichiers images (typiquement les scans de carte papier) dans le r\u00e9pertoire <span style=\"color: #0000ff;\"><em>Image<\/em><\/span> (quel que soit leur format).<\/li><li>Double-cliquer sur <span style=\"color: #0000ff;\"><em>1-Traitement-Images.bat<\/em><\/span>.<\/li><li>Ouvrir, avec <span style=\"color: #0000ff;\"><em>MapCal2<\/em><\/span>, les fichiers xxx.bmp g\u00e9n\u00e9r\u00e9s dans le r\u00e9pertoire <span style=\"color: #0000ff;\"><em>BMP<\/em><\/span> et les calibrer.<ul><li>Commencer par les points de calibration<\/li><\/ul><\/li><li>Finir par les points de bordure<\/li><li>Quand tout est calibr\u00e9, double-cliquer sur <span style=\"color: #0000ff;\"><em>2-Genere-Kap.bat<\/em><\/span>.<\/li><\/ul><\/li><\/ul><p>C\u2019est fini : les cartes se trouveront dans le r\u00e9pertoire <span style=\"color: #0000ff;\"><em>KAP<\/em><\/span>.<\/p><p><b>Remarques <\/b>:<\/p><ul><li style=\"list-style-type: none;\"><ul><li>En th\u00e9orie, pour un meilleur rendu des couleurs \u00e0 partir de photos, on peut utiliser la commande <span style=\"color: #0000ff;\"><em>1-Traitement-images_127.bat<\/em><\/span>, mais il y a un risque que des raies noires apparaissent sur les cartes dans OpenCPN. Dans la pratique, on ne voit pas beaucoup de diff\u00e9rence.<\/li><li>Le programme <span style=\"color: #0000ff;\"><em>Mapcal2<\/em><\/span> impl\u00e9mente le fichier de calibration <span style=\"color: #0000ff;\"><em>CHARTCAL.DIR<\/em><\/span> \u00e0 chaque fois que l\u2019on calibre une image: on peut donc calibrer plusieurs images avant de cr\u00e9er les cartes correspondantes. La commande <span style=\"color: #0000ff;\"><em>2-G\u00e9n\u00e8re-Kap.bat<\/em><\/span> cr\u00e9era en une seule fois toutes les cartes dont les images ont \u00e9t\u00e9 r\u00e9f\u00e9renc\u00e9es. Si tous les fichiers images n\u2019ont pas \u00e9t\u00e9 r\u00e9f\u00e9renc\u00e9s (pas d\u2019entr\u00e9e dans CHARTCAL.DIR), elle cr\u00e9era des fichiers <span style=\"color: #0000ff;\"><em>KAP<\/em><\/span> vides pour ces derniers.<\/li><\/ul><\/li><\/ul>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-448c15e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"448c15e\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-821fab8\" data-id=\"821fab8\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-483016c elementor-widget elementor-widget-text-editor\" data-id=\"483016c\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<h2>Scripts:<\/h2><h3>0-MRD-Vide-tous-les-repertoires-de-travail.bat<\/h3><p><span style=\"color: #0000ff;\"><em>ECHO OFF<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>REM Vide tous les r\u00e9pertoires avant travail<\/em><\/span><\/p><p><span style=\"color: #0000ff;\"><em>cd Images<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>del *.*<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>cd ..<\/em><\/span><\/p><p><span style=\"color: #0000ff;\"><em>cd BMP<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>del *.* \/q<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>cd ..<\/em><\/span><\/p><p><span style=\"color: #0000ff;\"><em>cd Calibration<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>del *.* \/q<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>cd ..<\/em><\/span><\/p><p><span style=\"color: #0000ff;\"><em>cd HDR<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>del *.* \/q<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>cd ..<\/em><\/span><\/p><p><span style=\"color: #0000ff;\"><em>cd KAP<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>del *.* \/q<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>cd ..<\/em><\/span><\/p><p><span style=\"color: #0000ff;\"><em>cd TIF<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>del *.* \/q<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>cd ..<\/em><\/span><\/p><h3>1-Traitement-images.bat<\/h3><p><span style=\"color: #0000ff;\"><em>ECHO OFF<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>REM transforme tous les fichiers images du r\u00e9pertoire Images en BMP <\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>REM et en TIF 64 couleurs <\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>REM Les fichiers BMP sont plac\u00e9 dans le r\u00e9pertoire BMP et les fichiers TIF dans le<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>REM r\u00e9pertoire TIF<\/em><\/span><\/p><p><span style=\"color: #0000ff;\"><em>REM\u00a0 Transforme les fichiers images en BMP<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>cd Images<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>..\\Programmes\\nconvert -out bmp *.*<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>move *.bmp ..\/BMP<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>cd ..<\/em><\/span><\/p><p><span style=\"color: #0000ff;\"><em>REM Transforme les fichiers BMP en fichiet TIF 64 couleurs utilis\u00e9es<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>REM Passage par format GIF pour forcer la cr\u00e9ation par la suite d\u2019un fichier TIFF<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>REM de type couleurs index\u00e9es (palette)<\/em><\/span><\/p><p><span style=\"color: #0000ff;\"><em>cd BMP<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>..\\Programmes\\nconvert\u00a0 -colors 64 -floyd -out gif\u00a0 *.bmp<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>..\\Programmes\\nconvert -c 3 -colors 64\u00a0 -out tiff\u00a0 *.gif<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>del *.gif<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>move *.tif ..\/TIF<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>cd ..<\/em><\/span><\/p><h3>2-Genere-kap.bat<\/h3><p><span style=\"color: #0000ff;\"><em>ECHO OFF<\/em><\/span><\/p><p><span style=\"color: #0000ff;\"><em>cd BMP<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>..\\Programmes\\mc2bsbh CHARTCAL.DIR<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>copy CHARTCAL.DIR ..\\Calibration<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>move *.hdr ..\/TIF<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>cd ..<\/em><\/span><\/p><p><span style=\"color: #0000ff;\"><em>cd TIF<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>SETLOCAL ENABLEdelayedExpansion<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>SETLOCAL ENABLEextensions<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>for %%A in (*.tif) do (..\\Programmes\\tif2bsb -c 127 %%~nA.hdr\u00a0 %%~nA.tif\u00a0 %%~nA.kap)<\/em><\/span><\/p><p><span style=\"color: #0000ff;\"><em>ENDLOCAL<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>move *.kap ..\\KAP<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>move *.hdr ..\\HDR<\/em><\/span><br \/><span style=\"color: #0000ff;\"><em>cd ..<\/em><\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Pris l\u00e0: https:\/\/www.plaisance-pratique.com\/realiser-des-cartes-bsb-kap Pr\u00e9ambule Fugawi permet de calibrer des scan de cartes, mais seulement pour Fugawi. En effet, les donn\u00e9es de calibration sont dissoci\u00e9es de la carte elle-m\u00eame, rang\u00e9es dans une coin de Fugawi, et donc inutilisables par un autre logiciel. Pour utiliser des cartes \u00ab\u00a0perso\u00a0\u00bb avec, par exemple, OpenCpn, il faut utiliser une autre [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","footnotes":""},"class_list":["post-1872","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/pages\/1872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/comments?post=1872"}],"version-history":[{"count":4,"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/pages\/1872\/revisions"}],"predecessor-version":[{"id":1877,"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/pages\/1872\/revisions\/1877"}],"wp:attachment":[{"href":"https:\/\/lesmrdtrucs.mataf35400.fr\/index.php\/wp-json\/wp\/v2\/media?parent=1872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}