{"id":1277,"date":"2021-12-01T16:13:09","date_gmt":"2021-12-01T15:13:09","guid":{"rendered":"https:\/\/ocad.com\/blog\/?p=1277"},"modified":"2021-12-01T16:13:55","modified_gmt":"2021-12-01T15:13:55","slug":"how-to-reduce-the-file-size","status":"publish","type":"post","link":"https:\/\/ocad.com\/blog\/2021\/12\/how-to-reduce-the-file-size\/","title":{"rendered":"How to reduce the file size?"},"content":{"rendered":"\n<p>Have you ever wondered why the file size of one of your map is so large? Then it&#8217;s probably time to clean up your map.<\/p>\n\n\n\n<p>Here are some suggestions how you can reduce the file size:<\/p>\n\n\n\n<p><strong>#01: Optimize\/Repair<\/strong><\/p>\n\n\n\n<p>Choose the  <strong><a rel=\"noreferrer noopener\" href=\"https:\/\/www.ocad.com\/wiki\/ocad\/en\/index.php?title=Map#Optimize_and_Repair\" target=\"_blank\">Optimize\/Repair<\/a> <\/strong>command in the <strong>Map<\/strong> menu to optimize (reduce) the size of the map file and repair damaged objects. With edit operations such as deleting objects, empty space is created in the map file. This function removes this empty space and therefore reduces the size of the map file. It&#8217;s therefore highly recommended to run the Optimize\/Repair from time to time.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/ocad.com\/blog\/wp-content\/uploads\/2021\/11\/CleanMap_OptimizationResult.png\"><img loading=\"lazy\" decoding=\"async\" width=\"580\" height=\"300\" src=\"https:\/\/ocad.com\/blog\/wp-content\/uploads\/2021\/11\/CleanMap_OptimizationResult.png\" alt=\"\" class=\"wp-image-1286\" srcset=\"https:\/\/ocad.com\/blog\/wp-content\/uploads\/2021\/11\/CleanMap_OptimizationResult.png 580w, https:\/\/ocad.com\/blog\/wp-content\/uploads\/2021\/11\/CleanMap_OptimizationResult-300x155.png 300w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><figcaption>Optimization result of a map.<\/figcaption><\/figure>\n\n\n\n<p>#<strong>02: Select and delete unnecessary objects<\/strong><\/p>\n\n\n\n<p>In the picture example above, you can see that there are many objects without symbols, unknown symbol or invalid symbol type. <\/p>\n\n\n\n<p>Choose <a rel=\"noreferrer noopener\" href=\"https:\/\/www.ocad.com\/wiki\/ocad\/en\/index.php?title=Select#Select_Objects_by_Symbol\" target=\"_blank\"><strong>Select Objects by Symbol<\/strong><\/a> in the <strong>Select<\/strong> menu to select all objects with certain symbols or in a certain layer. <\/p>\n\n\n\n<p>You can now assign the selected objects to new symbols or (what is probably more often the case) delete the objects.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/ocad.com\/blog\/wp-content\/uploads\/2021\/11\/CleanMap_SelectBySymbol.png\"><img loading=\"lazy\" decoding=\"async\" width=\"580\" height=\"300\" src=\"https:\/\/ocad.com\/blog\/wp-content\/uploads\/2021\/11\/CleanMap_SelectBySymbol.png\" alt=\"\" class=\"wp-image-1287\" srcset=\"https:\/\/ocad.com\/blog\/wp-content\/uploads\/2021\/11\/CleanMap_SelectBySymbol.png 580w, https:\/\/ocad.com\/blog\/wp-content\/uploads\/2021\/11\/CleanMap_SelectBySymbol-300x155.png 300w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><figcaption>Select By Symbol.<\/figcaption><\/figure>\n\n\n\n<p><strong>#03: Smooth not smoothed contours<\/strong><\/p>\n\n\n\n<p>When creating contours with the <a rel=\"noreferrer noopener\" href=\"https:\/\/www.ocad.com\/wiki\/ocad\/en\/index.php?title=DEM_Import_Wizard#Create_Contour_Lines\" target=\"_blank\"><strong>DEM Import Wizard<\/strong><\/a>, you can choose to create not smoothed contours. These contours consists of many vertices and let your file size increase. <\/p>\n\n\n\n<p>Select the contours and run the <strong><a rel=\"noreferrer noopener\" href=\"https:\/\/www.ocad.com\/wiki\/ocad\/en\/index.php?title=Smooth\" target=\"_blank\">Smooth<\/a><\/strong> command in the <strong>Topology<\/strong> menu to reduce the amount of vertices. Make sure to choose the tolerance so that no information is lost. Run the <strong>Optimize \/ Repair<\/strong> command afterwards.<\/p>\n\n\n\n<p>PS: To select all contours at once, either right-click on the contour symbol in the symbol box and choose <em>Select Objects by Symbol <\/em>or use the  <a rel=\"noreferrer noopener\" href=\"https:\/\/www.ocad.com\/wiki\/ocad\/en\/index.php?title=Select#Select_Objects_by_Symbol\" target=\"_blank\"><strong>Select Objects by Symbol<\/strong><\/a> function.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/ocad.com\/blog\/wp-content\/uploads\/2021\/11\/CleanMap_Smooth.png\"><img loading=\"lazy\" decoding=\"async\" width=\"580\" height=\"300\" src=\"https:\/\/ocad.com\/blog\/wp-content\/uploads\/2021\/11\/CleanMap_Smooth.png\" alt=\"\" class=\"wp-image-1288\" srcset=\"https:\/\/ocad.com\/blog\/wp-content\/uploads\/2021\/11\/CleanMap_Smooth.png 580w, https:\/\/ocad.com\/blog\/wp-content\/uploads\/2021\/11\/CleanMap_Smooth-300x155.png 300w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><figcaption>Select contours and run the smooth command.<\/figcaption><\/figure>\n\n\n\n<p><strong>#04: Remove unnecessary areas<\/strong><\/p>\n\n\n\n<p>If you import existing geodata, e.g. by using the <a rel=\"noreferrer noopener\" href=\"https:\/\/www.ocad.com\/wiki\/ocad\/en\/index.php?title=New_Map_Wizard\" target=\"_blank\">New Map Wizard<\/a>, you probably import an area too large. You can <strong><a rel=\"noreferrer noopener\" href=\"https:\/\/www.ocad.com\/wiki\/ocad\/en\/index.php?title=Crop_Objects\" target=\"_blank\">Crop<\/a> <\/strong>the map to the size of your actual project scope and remove unnecessary areas. Run the <strong>Optimize \/ Repair<\/strong> command afterwards.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/ocad.com\/blog\/wp-content\/uploads\/2021\/11\/CleanMap_Crop.png\"><img loading=\"lazy\" decoding=\"async\" width=\"580\" height=\"317\" src=\"https:\/\/ocad.com\/blog\/wp-content\/uploads\/2021\/11\/CleanMap_Crop.png\" alt=\"\" class=\"wp-image-1289\" srcset=\"https:\/\/ocad.com\/blog\/wp-content\/uploads\/2021\/11\/CleanMap_Crop.png 580w, https:\/\/ocad.com\/blog\/wp-content\/uploads\/2021\/11\/CleanMap_Crop-300x164.png 300w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><figcaption>Crop part of your map that you do not use.<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have you ever wondered why the file size of one of your map is so large? Then it&#8217;s probably time to clean up your map. Here are some suggestions how you can reduce the file size: #01: Optimize\/Repair Choose the Optimize\/Repair command in the Map menu to optimize (reduce) the size of the map file [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,35,46,1],"tags":[9,10],"class_list":["post-1277","post","type-post","status-publish","format-standard","hentry","category-ocad-11","category-ocad-12","category-ocad-2018","category-uncategorized","tag-orienteering-map-making","tag-professional-map-making"],"_links":{"self":[{"href":"https:\/\/ocad.com\/blog\/wp-json\/wp\/v2\/posts\/1277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ocad.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ocad.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ocad.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/ocad.com\/blog\/wp-json\/wp\/v2\/comments?post=1277"}],"version-history":[{"count":6,"href":"https:\/\/ocad.com\/blog\/wp-json\/wp\/v2\/posts\/1277\/revisions"}],"predecessor-version":[{"id":1314,"href":"https:\/\/ocad.com\/blog\/wp-json\/wp\/v2\/posts\/1277\/revisions\/1314"}],"wp:attachment":[{"href":"https:\/\/ocad.com\/blog\/wp-json\/wp\/v2\/media?parent=1277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ocad.com\/blog\/wp-json\/wp\/v2\/categories?post=1277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ocad.com\/blog\/wp-json\/wp\/v2\/tags?post=1277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}