{"id":4321,"date":"2018-10-28T15:02:33","date_gmt":"2018-10-28T15:02:33","guid":{"rendered":"https:\/\/www.geoplanit.co.uk\/?p=4321"},"modified":"2019-04-14T17:47:17","modified_gmt":"2019-04-14T17:47:17","slug":"loading-the-os-open-zoomstack-geopackage-into-arcgispro-with-os-styling","status":"publish","type":"post","link":"https:\/\/www.geoplanit.co.uk\/?p=4321","title":{"rendered":"Loading the OS Open Zoomstack Geopackage into ArcGISPro (with OS styling)."},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"696\" height=\"282\" src=\"https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_sedbergh.png?resize=696%2C282&#038;ssl=1\" alt=\"\" class=\"wp-image-4331\" srcset=\"https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_sedbergh.png?w=1043&amp;ssl=1 1043w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_sedbergh.png?resize=150%2C61&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_sedbergh.png?resize=300%2C122&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_sedbergh.png?resize=768%2C311&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_sedbergh.png?resize=1024%2C415&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_sedbergh.png?resize=604%2C245&amp;ssl=1 604w\" sizes=\"auto, (max-width: 696px) 100vw, 696px\" \/><figcaption>OS Open Zoomstack in ArcGIS Pro with symbology created by the Ordnance Survey<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This is a quick write up that&#8217;s related to the <a href=\"https:\/\/www.geoplanit.co.uk\/?p=4259\">blog series I&#8217;m doing on custom symbology in ArcGIS Pro<\/a>.&nbsp; Well sort of, it just so happens to be the perfect dataset to use to use for UK based mapping projects where you don&#8217;t want to use a costly licenced dataset (<a href=\"https:\/\/www.ordnancesurvey.co.uk\/business-and-government\/products\/open-mastermap.html\">maybe the forthcoming Open MasterMap may change that?<\/a>).&nbsp; &nbsp;Now, I know I normally write about 3D and CityEngine related stuff but I do love a good 2D map as well!&nbsp; This post assumes a simple working knowledge of ArcGIS Pro.&nbsp; &nbsp;I&#8217;m considering making this a video as well so you can see the entire process.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First you need to download the OS Open Zoomstack as a &#8216;geopackage&#8217; don&#8217;t worry whilst ArcGIS Pro doesn&#8217;t support direct editing of a &#8216;geopackage&#8217; it does support native reading of it. <a href=\"https:\/\/www.geoplanit.co.uk\/?p=4321\"><strong><em>* there&#8217;s some discussion in the comments at the end of this post, if you&#8217;re reading on the front page click here to view<\/em><\/strong><\/a><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Fun fact: the GeoPackage is an &#8216;open format for geospatial information&#8217;<\/p><cite><a href=\"https:\/\/www.geopackage.org\/\">You can read about it here.<\/a><\/cite><\/blockquote>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.ordnancesurvey.co.uk\/business-and-government\/products\/os-open-zoomstack.html\">Read about the trial here.<\/a><\/li><li><a href=\"https:\/\/www.ordnancesurvey.co.uk\/business-and-government\/products\/os-open-zoomstack.html#zoomtrial\">Sign-up to the trial here<\/a><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">A word of warning this is a UK national dataset, so naturally the size is large (10.1 Gigabytes!).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To help as well I suggest you download the Ordnance Survey&#8217;s custom symbology for this dataset which you can get from github.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/github.com\/OrdnanceSurvey\/OS-Open-Zoomstack-Stylesheets\/tree\/master\/GeoPackage%20and%20PostGIS\">Download for QGIS, Esri etc all style templates here.<\/a><\/li><li><a href=\"https:\/\/github.com\/OrdnanceSurvey\/OS-Open-Zoomstack-Stylesheets\/archive\/master.zip\">Or directly down the styles here.<\/a><\/li><li><a href=\"https:\/\/www.ordnancesurvey.co.uk\/docs\/user-guides\/os-open-zoomstack-geopackage.pdf\">Instructions for using these styles on the Zoomstack Geopackage in ArcMap and QGIS can be found here. (PDF)<\/a><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">As you can see there are some instructions on what to do with style sheets if you&#8217;re an ArcMap user in that PDF linked above&#8230; well I do not use ArcMap much anymore more so I&#8217;ve pretty much made a complete transition to <a href=\"https:\/\/pro.arcgis.com\/\">ArcGIS Pro<\/a> so here&#8217;s what you do next.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"350\" height=\"361\" src=\"https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_newmap.png?resize=350%2C361&#038;ssl=1\" alt=\"\" class=\"wp-image-4325\" srcset=\"https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_newmap.png?w=350&amp;ssl=1 350w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_newmap.png?resize=145%2C150&amp;ssl=1 145w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_newmap.png?resize=291%2C300&amp;ssl=1 291w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_newmap.png?resize=262%2C270&amp;ssl=1 262w\" sizes=\"auto, (max-width: 350px) 100vw, 350px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Step 1: New ArcGIS Pro project and then &#8216;insert&#8217; a new &#8216;map&#8217;.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_gpkg.png?resize=422%2C355&#038;ssl=1\" alt=\"\" class=\"wp-image-4323\" width=\"422\" height=\"355\" srcset=\"https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_gpkg.png?w=456&amp;ssl=1 456w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_gpkg.png?resize=150%2C126&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_gpkg.png?resize=300%2C253&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_gpkg.png?resize=321%2C270&amp;ssl=1 321w\" sizes=\"auto, (max-width: 422px) 100vw, 422px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Step 2: Convert the Geopackage into a File Geodatabase&#8230; <em>as far as I am aware you don&#8217;t need an Advanced licence or FME or the Data Interoperability Extension<\/em> (if I&#8217;m wrong comment below on this post) you can drag in each layer manually into a Map in ArcGIS Pro and then right-click the &#8216;export data&#8217; function.&nbsp; Or better yet, you can use the copy features GP tool (using the Batch function). <strong>*I&#8217;ve created a toolbox with two tools that simplifies this process for me.&nbsp; I will share this as a separate blog post soon&#8230;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Step 2: Remove the prefix &#8216;main_&#8217; from all the feature classes you imported into the new file geodatabase, otherwise you can&#8217;t use the lyr file on them&#8230;.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"696\" height=\"366\" src=\"https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_lyr2.png?resize=696%2C366&#038;ssl=1\" alt=\"\" class=\"wp-image-4327\" srcset=\"https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_lyr2.png?w=849&amp;ssl=1 849w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_lyr2.png?resize=150%2C79&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_lyr2.png?resize=300%2C158&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_lyr2.png?resize=768%2C403&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_lyr2.png?resize=514%2C270&amp;ssl=1 514w\" sizes=\"auto, (max-width: 696px) 100vw, 696px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Step 3: Find your &#8220;OS-Open-Zoomstack.lyr&#8221; (<a href=\"https:\/\/github.com\/OrdnanceSurvey\/OS-Open-Zoomstack-Stylesheets\/archive\/master.zip\">link to download it here<\/a>) and drag it in to your Map, notice all those red &#8220;<strong>!<\/strong>&#8221; marks, this means it can&#8217;t find the data these symbols are linking too.&nbsp; &nbsp;Click on one of these red &#8220;<strong>!<\/strong>&#8221; to fix them all.&nbsp; &nbsp;It will ask you where the data layer is located ( in this case &#8216;names&#8217;).&nbsp; Find the data in the new file geodatabase you created.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"696\" height=\"371\" src=\"https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_lyr3.png?resize=696%2C371&#038;ssl=1\" alt=\"\" class=\"wp-image-4329\" srcset=\"https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_lyr3.png?w=1055&amp;ssl=1 1055w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_lyr3.png?resize=150%2C80&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_lyr3.png?resize=300%2C160&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_lyr3.png?resize=768%2C409&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_lyr3.png?resize=1024%2C545&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.geoplanit.co.uk\/wp-content\/uploads\/2018\/10\/Zoomstack_lyr3.png?resize=507%2C270&amp;ssl=1 507w\" sizes=\"auto, (max-width: 696px) 100vw, 696px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Step 4: Well it should all work and all those &#8220;<strong>!<\/strong>&#8221; should have gone and you have a nicely symbolised OS Open Zoomstack data set courtesy of the nice folks at the Ordnance Survey.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A final note this workflow unbelievably helped me find where Esri hid the &#8216;repair data&#8217; function went, basically they built it into the &#8220;<strong>!<\/strong>&#8220;&#8230; d&#8217;oh.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Coming up in a future blog post: How we can use OS Open Zoomstack with our hand drawn custom symbology.<\/strong><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a quick write up that&#8217;s related to the blog series I&#8217;m doing on custom symbology in ArcGIS Pro.&nbsp; Well sort of, it just so happens to be the perfect dataset to use to use for UK based mapping projects where you don&#8217;t want to use a costly licenced dataset (maybe the forthcoming Open [&hellip;]<\/p>\n","protected":false},"author":161,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,249,13,114,140,83,1],"tags":[],"class_list":["post-4321","post","type-post","status-publish","format-standard","category-arcgis","category-arcgispro","category-arcmap","category-cartography","category-opendata","category-ordnance-survey","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=\/wp\/v2\/users\/161"}],"replies":[{"embeddable":true,"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4321"}],"version-history":[{"count":4,"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4321\/revisions"}],"predecessor-version":[{"id":4339,"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/4321\/revisions\/4339"}],"wp:attachment":[{"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.geoplanit.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}