{"id":85,"date":"2017-10-29T20:03:10","date_gmt":"2017-10-30T00:03:10","guid":{"rendered":"http:\/\/www.otherworldmapper.com\/blog\/?p=85"},"modified":"2019-01-16T13:06:56","modified_gmt":"2019-01-16T18:06:56","slug":"importing-cartography-data-shp","status":"publish","type":"post","link":"https:\/\/www.otherworldmapper.com\/blog\/tutorials\/importing-cartography-data-shp\/","title":{"rendered":"Importing Cartography Data (SHP)"},"content":{"rendered":"<h2>Summary<\/h2>\n<p>One of the features we added with the first release candidate was the ability to import real cartographic data (SHP format) into Other World Mapper. This lets you start your map from real world maps, continental maps or local maps.<\/p>\n<p>In this tutorial I&#8217;ll walk you through importing real maps into Other World Mapper and show you just a few things you can do with them.<\/p>\n<h2><strong>SHP Format<\/strong><\/h2>\n<p>The shapefile format is a popular geospatial vector data format for geographic information system (GIS) software. There are many sources, free and commercial for SHP data.<\/p>\n<p>For this tutorial we&#8217;ll use maps from Natural Earth,<\/p>\n<p><a href=\"http:\/\/www.naturalearthdata.com\/\">http:\/\/www.naturalearthdata.com<\/a>.<\/p>\n<p>Their terms of use are very friendly and their maps public domain. There are many sources of SHP files and Other World Mapper should be able to work with most.<\/p>\n<p>Note: If you have any issues importing an SHP file let us know!<\/p>\n<h2>Importing<\/h2>\n<p>We start by downloading a world map in a 1:110m scale. Note that Other World Mapper can import more detailed scales (i.e. 1:50m) but having more points the map will require more computer resources.<\/p>\n<p><a href=\"http:\/\/www.naturalearthdata.com\/downloads\/110m-physical-vectors\/110m-land\/\">http:\/\/www.naturalearthdata.com\/downloads\/110m-physical-vectors\/110m-land\/<\/a><\/p>\n<p>It will be a zip file and you&#8217;ll need to extract its contents. Make sure to keep all the files in the folder since the SHP format uses multiple files.<\/p>\n<p>Start Other World Mapper and close the Start Up Dialog. From the <strong>File<\/strong> menu, select <strong>Import&#8211;&gt;Shape File<\/strong>. Navigate to the folder created when extracting the zip file (should be ne_110m_land) and select the <strong>ne_110m_land.shp<\/strong> file.<\/p>\n<p>The import window will let you choose the <strong>item type<\/strong> and <strong>scale<\/strong> for the map. There are additional options in the window and I&#8217;ll go through them later in the tutorial.<\/p>\n<p>In this case, you want to start with the layer type as <strong>Landmass<\/strong> and a scale that will make the map large enough, at least 500%. Remember that since SHP files and Other World Mapper are vector based, no resolution is lost form scaling.<\/p>\n<figure id=\"attachment_291\" aria-describedby=\"caption-attachment-291\" style=\"width: 286px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2019\/01\/import-shape.png\"><img loading=\"lazy\" class=\"wp-image-291 size-full\" src=\"http:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2019\/01\/import-shape.png\" alt=\"Import SHP Window\" width=\"286\" height=\"568\" srcset=\"https:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2019\/01\/import-shape.png 286w, https:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2019\/01\/import-shape-151x300.png 151w, https:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2019\/01\/import-shape-252x500.png 252w\" sizes=\"(max-width: 286px) 100vw, 286px\" \/><\/a><figcaption id=\"caption-attachment-291\" class=\"wp-caption-text\">Import SHP Window<\/figcaption><\/figure>\n<p>From there, the new map window will let you choose a theme and change the size of the canvas if you want to make it larger than the default. For instance, you can chose the soft color theme as I did below.<\/p>\n<figure id=\"attachment_89\" aria-describedby=\"caption-attachment-89\" style=\"width: 1800px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/SHP-Tutorial-Landmasses.png\"><img loading=\"lazy\" class=\"size-full wp-image-89\" src=\"http:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/SHP-Tutorial-Landmasses.png\" alt=\"Imported SHP.\" width=\"1800\" height=\"869\" srcset=\"https:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/SHP-Tutorial-Landmasses.png 1800w, https:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/SHP-Tutorial-Landmasses-300x145.png 300w, https:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/SHP-Tutorial-Landmasses-768x371.png 768w, https:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/SHP-Tutorial-Landmasses-1024x494.png 1024w, https:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/SHP-Tutorial-Landmasses-1025x495.png 1025w\" sizes=\"(max-width: 1800px) 100vw, 1800px\" \/><\/a><figcaption id=\"caption-attachment-89\" class=\"wp-caption-text\">World map imported into OWM.<\/figcaption><\/figure>\n<h2>Working with the Map<\/h2>\n<p>At this point, working with the imported map will be just like working with a map you created from scratch. You can change the properties of continents, add regions to continents, add bodies of water, roads, features and more.<\/p>\n<p>If you want to break apart one of the continents to work with it separately, note that you can use the partition tool. You can also simply work by adding regions to the continents.<\/p>\n<p>For the map below I set the landmasses to have no fill and used boundaries to create a game board style SciFi map.<\/p>\n<figure id=\"attachment_104\" aria-describedby=\"caption-attachment-104\" style=\"width: 3600px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/Tutorial-SciFI.png\"><img loading=\"lazy\" class=\"size-full wp-image-104\" src=\"http:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/Tutorial-SciFI.png\" alt=\"SciFi Map\" width=\"3600\" height=\"1738\" srcset=\"https:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/Tutorial-SciFI.png 3600w, https:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/Tutorial-SciFI-300x145.png 300w, https:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/Tutorial-SciFI-768x371.png 768w, https:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/Tutorial-SciFI-1024x494.png 1024w, https:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/Tutorial-SciFI-1025x495.png 1025w\" sizes=\"(max-width: 3600px) 100vw, 3600px\" \/><\/a><figcaption id=\"caption-attachment-104\" class=\"wp-caption-text\">SciFi map from a world map.<\/figcaption><\/figure>\n<h2>Additional Layers<\/h2>\n<p>Other World Mapper also supports importing other SHP data as layers, such as boundaries and bodies of water.<\/p>\n<p>For this tutorial I downloaded the Rivers and Lake Centerlines shape file, as well as the Lakes + Reservoires<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"WMPPGef2qa\"><p><a href=\"https:\/\/www.naturalearthdata.com\/downloads\/110m-physical-vectors\/\">1:110m Physical Vectors<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"https:\/\/www.naturalearthdata.com\/downloads\/110m-physical-vectors\/embed\/#?secret=WMPPGef2qa\" data-secret=\"WMPPGef2qa\" width=\"600\" height=\"338\" title=\"Embedded WordPress Post\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>And I also downloaded the countries data<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"1kYhjy4oj0\"><p><a href=\"https:\/\/www.naturalearthdata.com\/downloads\/110m-cultural-vectors\/110m-admin-0-countries\/\">Admin 0 &#8211; Countries<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"https:\/\/www.naturalearthdata.com\/downloads\/110m-cultural-vectors\/110m-admin-0-countries\/embed\/#?secret=1kYhjy4oj0\" data-secret=\"1kYhjy4oj0\" width=\"600\" height=\"338\" title=\"Embedded WordPress Post\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>Starting from the original map, select <strong>File<\/strong>&#8211;&gt;<strong>Import<\/strong> and <strong>Shape File<\/strong> for each of the layers, and change the Target option to <strong>Current Map<\/strong> instead of New Map.<\/p>\n<p>Make sure you change the layer type to Boundary for the countries layers. For rivers and lakes, Other World Mapper will let you chose open path layers when the data is open path (i.e. a river) and close path layer when the SHP data is closed path. Chose rivers and water respectively.<\/p>\n<figure id=\"attachment_91\" aria-describedby=\"caption-attachment-91\" style=\"width: 1800px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/SHP-Tutorial-Layers.png\"><img loading=\"lazy\" class=\"size-full wp-image-91\" src=\"http:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/SHP-Tutorial-Layers.png\" alt=\"Imported SHP layers\" width=\"1800\" height=\"869\" srcset=\"https:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/SHP-Tutorial-Layers.png 1800w, https:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/SHP-Tutorial-Layers-300x145.png 300w, https:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/SHP-Tutorial-Layers-768x371.png 768w, https:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/SHP-Tutorial-Layers-1024x494.png 1024w, https:\/\/www.otherworldmapper.com\/blog\/wp-content\/uploads\/2017\/10\/SHP-Tutorial-Layers-1025x495.png 1025w\" sizes=\"(max-width: 1800px) 100vw, 1800px\" \/><\/a><figcaption id=\"caption-attachment-91\" class=\"wp-caption-text\">Multiple world map layers.<\/figcaption><\/figure>\n<h2>Advanced Options (Offsets)<\/h2>\n<p>The Start Offset option lets you offset the map so that it&#8217;s centered in Other World Mapper and will be in latitude and longitude values. For most maps Other World Mapper will be able to do this automatically, but in some cases you may need to do this manually if the imported layers appear to be outside the canvas.<\/p>\n<p>You can do this by matching the X and Y offset to the Start Offset shown or once you imported the layers you can use the Layers window to cut and then paste the layers centered on the map.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Summary One of the features we added with the first release candidate was the ability to import real cartographic data (SHP format) into Other World Mapper. This lets you start <a href=\"https:\/\/www.otherworldmapper.com\/blog\/tutorials\/importing-cartography-data-shp\/\" class=\"more-link\">[&hellip;]<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"Layout":""},"categories":[10,7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.otherworldmapper.com\/blog\/wp-json\/wp\/v2\/posts\/85"}],"collection":[{"href":"https:\/\/www.otherworldmapper.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.otherworldmapper.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.otherworldmapper.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.otherworldmapper.com\/blog\/wp-json\/wp\/v2\/comments?post=85"}],"version-history":[{"count":20,"href":"https:\/\/www.otherworldmapper.com\/blog\/wp-json\/wp\/v2\/posts\/85\/revisions"}],"predecessor-version":[{"id":293,"href":"https:\/\/www.otherworldmapper.com\/blog\/wp-json\/wp\/v2\/posts\/85\/revisions\/293"}],"wp:attachment":[{"href":"https:\/\/www.otherworldmapper.com\/blog\/wp-json\/wp\/v2\/media?parent=85"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.otherworldmapper.com\/blog\/wp-json\/wp\/v2\/categories?post=85"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.otherworldmapper.com\/blog\/wp-json\/wp\/v2\/tags?post=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}