{"id":272,"date":"2021-07-27T09:47:39","date_gmt":"2021-07-27T14:47:39","guid":{"rendered":"https:\/\/sites.owu.edu\/geog-112\/?page_id=272"},"modified":"2022-12-05T14:49:12","modified_gmt":"2022-12-05T19:49:12","slug":"lab-9-from-arcgis-desktop-to-online","status":"publish","type":"page","link":"https:\/\/sites.owu.edu\/geog-112\/schedule-content\/lab-9-from-arcgis-desktop-to-online\/","title":{"rendered":"Lab 9: ArcGIS Online"},"content":{"rendered":"<blockquote style=\"border: 0px solid #666;padding: 10px;background-color: #f2f2f2\"><p>Update 12\/5\/2022<\/p><\/blockquote>\n<p><strong>100 points<br \/>\n<\/strong>Assign: Wednesday, November 16<span style=\"font-size: 1rem\"><br \/>\n<\/span><span style=\"font-size: 1rem\">Due: Monday, December 5<\/span><\/p>\n<blockquote style=\"border: 0px solid #666;padding: 10px;background-color: #f2f2f2\"><p><strong>From ArcGIS Desktop to ArcGIS Online<\/strong><\/p><\/blockquote>\n<p>ArcGIS Pro is has tools that allow you to transform work completed in Pro and send it to Online. In Online you have many more sharing options &#8211; apps and so on, to share with the world. The idea is to complement and compare your video output (from Pro) with app output (from Online). Two ways of getting your work out of the software and to a broader audience.<\/p>\n<p>Unfortunately, if you try and send your choropleth, graduated symbol and dot density maps (from Lab 8) to Arc Online there is an eruption of errors. To many to fix.<\/p>\n<p>So we are stepping back earlier, to your un-symbolized data, sending that to ArcGIS Online and puttering with it there. It works, or should, but does require that you recreate the symbolization and classification work. That should not be too difficult.<\/p>\n<p><strong>Lab 9 Goal<\/strong>: to have a functioning ArcGIS Online app you can embed or link to your HTML pages.<\/p>\n<blockquote style=\"border: 0px solid #666;padding: 10px;background-color: #f2f2f2\"><p><strong>The Details<\/strong><\/p><\/blockquote>\n<p>Open <strong>ArcGIS Pro<\/strong> and your project.<\/p>\n<p>You will export the data from one of your layers to a new <strong>ArcGIS Pro<\/strong> project, then from there, share it to <strong>ArcGIS Online<\/strong>.<\/p>\n<p>We are doing this to avoid the <em>nasty<\/em> errors, previously mentioned. It&#8217;s a work-around.<\/p>\n<p>I&#8217;m using my <strong>Wisconsin_Counties<\/strong> layer (vs. my chroropleth, graduated symbol, or dot density layers). In essence, the layer we started with prior to starting Lab 7.<\/p>\n<p>Right mouse click on the layer, then <strong>Data<\/strong> &gt;&gt; <strong>Export Features<\/strong><\/p>\n<p><strong>Input Features<\/strong> should be the name of the layer you are exporting from: leave it as is<\/p>\n<p><strong>Output Location<\/strong> should be your <strong>state geodatabase (.gdb)<\/strong>: leave it as is<\/p>\n<p>Output Name: I used <strong>wisconsin_pop_online<\/strong>. Hit <strong>OK<\/strong>.<\/p>\n<p>It automatically adds the layer to your project. <strong>Save.<\/strong><\/p>\n<p>Under the <strong>Project<\/strong> tab create a <strong>new<\/strong> map (click on <strong>Map<\/strong>). We are getting out of one Project and into another to try and avoid the napsy errors.<\/p>\n<p>I named mine: <strong>wisconsin_online_map<\/strong><\/p>\n<p><strong>Location<\/strong>: use default: mine is C\\Users\\jbkrygier\\Documents\\ArcGIS\\Projects but yours will be different, a location on the lab computer.<\/p>\n<p>Yes, create a <strong>new folder<\/strong> for this project<\/p>\n<p>A new map project opens. Right-click on the Map layer and <strong>Add Data<\/strong><\/p>\n<p>Navigate to the data you just saved: mine is in my Wisconsin.gdb which is This PC &gt;&gt; Documents &gt;&gt; ArcGIS &gt;&gt; Projects &gt;&gt; Wisconsin. Again, yours will be different as you are on a lab computer. All this navigating to ArcPro stuff is a pain in the flaputus, but one of the things you have to get used to.<\/p>\n<p><strong>Remove<\/strong> the Topographic layer<\/p>\n<p><strong>Save<\/strong><\/p>\n<p><em><strong>Note 1:<\/strong> Clown break.<\/em><\/p>\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 50%\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-396 aligncenter\" src=\"https:\/\/sites.owu.edu\/geog-112\/wp-content\/uploads\/sites\/186\/2021\/11\/bed.jpg\" alt=\"\" width=\"276\" height=\"196\" srcset=\"https:\/\/sites.owu.edu\/geog-112\/wp-content\/uploads\/sites\/186\/2021\/11\/bed.jpg 1377w, https:\/\/sites.owu.edu\/geog-112\/wp-content\/uploads\/sites\/186\/2021\/11\/bed-300x213.jpg 300w, https:\/\/sites.owu.edu\/geog-112\/wp-content\/uploads\/sites\/186\/2021\/11\/bed-768x545.jpg 768w, https:\/\/sites.owu.edu\/geog-112\/wp-content\/uploads\/sites\/186\/2021\/11\/bed-1024x727.jpg 1024w\" sizes=\"auto, (max-width: 276px) 100vw, 276px\" \/><\/td>\n<td style=\"width: 50%\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-402 aligncenter\" src=\"https:\/\/sites.owu.edu\/geog-112\/wp-content\/uploads\/sites\/186\/2021\/11\/clown13.jpg\" alt=\"\" width=\"257\" height=\"233\" srcset=\"https:\/\/sites.owu.edu\/geog-112\/wp-content\/uploads\/sites\/186\/2021\/11\/clown13.jpg 446w, https:\/\/sites.owu.edu\/geog-112\/wp-content\/uploads\/sites\/186\/2021\/11\/clown13-300x272.jpg 300w\" sizes=\"auto, (max-width: 257px) 100vw, 257px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><em><strong>Note 2:\u00a0<\/strong>comment on these two terrible clown artworks, as well as those below, in you Substack for this lab.<\/em><\/p>\n<p>Look at the <strong>table<\/strong> for your layer to make sure it&#8217;s all there. I&#8217;m sure it is.<\/p>\n<p>Click on the <strong>Share<\/strong> tab &gt;&gt; <strong>Web Layer<\/strong> &gt;&gt; <strong>Publish Web Layer<\/strong><\/p>\n<p><strong>Share<\/strong> <strong>as Web Layer<\/strong> window appears.<\/p>\n<p><strong>Name<\/strong>: mine changed to <strong>wi_totalpop<\/strong><\/p>\n<p>Add a <strong>summary<\/strong> and at least one <strong>tag<\/strong><\/p>\n<p>Click on <strong>Analyze<\/strong>: this tells you what&#8217;s fucked up and has to be fixed.<\/p>\n<p>Hopefully, you don&#8217;t have too many problems to fix. See if you can fix them.<\/p>\n<p>Click on <strong>Analyze<\/strong> again.<\/p>\n<p>When it&#8217;s good to go, hit <strong>Publish<\/strong><\/p>\n<p><em><strong>Note 3:<\/strong> in order to publish to your ArcGIS Online account you need to be logged in. If you logged in earlier, this will just work. If not, I suspect it will ask you to log in.<\/em><\/p>\n<p>After some processing: Web layer published successfully &#8230; click on <strong>Manage the Web Layer<\/strong><\/p>\n<p>This should open up <strong>ArcGIS Online:<\/strong> mine is wi_totalpop and its a <strong>Featured Layer<\/strong> (hosted)<\/p>\n<p>Scroll down a bit and under <strong>Layers<\/strong> you should see the layer you exported: <strong>click <em>it good<\/em><\/strong><\/p>\n<p>Scroll down and at the bottom, under <strong>Time Settings<\/strong>, <strong>Enable Time.<\/strong> Leave the rest of the settings.<\/p>\n<p><strong><em>Slap<\/em> OK<\/strong><\/p>\n<p>Step back (arrow at top left) to your <strong>Feature Layer.<\/strong><\/p>\n<p>Upper right, click on <strong>Create View Layer.<\/strong><\/p>\n<p>You should see your map; click <strong>Next<\/strong> &gt;&gt; <strong>Next<\/strong> &gt;&gt; <strong>Create<\/strong><\/p>\n<p><strong>X<\/strong> closed the success window <em>with aplomb.<\/em><\/p>\n<p>Under <strong>Share<\/strong> (upper right) select <strong>Everyone<\/strong><\/p>\n<p>Open in <strong>Map Viewer Classic<\/strong><\/p>\n<p>Use the <strong>Change Style<\/strong> icon to putter with the symbolization<\/p>\n<p><em><strong>Note 4<\/strong>: I&#8217;m not going to go into detail here, but Choose an attribute to show, then a drawing style (graduated color, symbol, etc.) and recreate your graduated color \/ choropleth map as in ArcGIS Pro. This means the same classification, colors, etc. I know its a bit of a pain in the slemco but so be it.\u00a0<\/em><\/p>\n<p><strong>Save<\/strong> &gt;&gt; Wisconsin Total Population 1900-2020<\/p>\n<p><em><strong>Note<\/strong> <strong>5:<\/strong> Explore what the other layer icons do. Describe them in your lab log notes for this lab.\u00a0<\/em><\/p>\n<p><em><strong>Note 6:\u00a0<\/strong>another clown break.<\/em><\/p>\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 50%\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-399 alignleft\" src=\"https:\/\/sites.owu.edu\/geog-112\/wp-content\/uploads\/sites\/186\/2021\/11\/clown-sexy.jpg\" alt=\"\" width=\"271\" height=\"308\" srcset=\"https:\/\/sites.owu.edu\/geog-112\/wp-content\/uploads\/sites\/186\/2021\/11\/clown-sexy.jpg 590w, https:\/\/sites.owu.edu\/geog-112\/wp-content\/uploads\/sites\/186\/2021\/11\/clown-sexy-263x300.jpg 263w\" sizes=\"auto, (max-width: 271px) 100vw, 271px\" \/><\/td>\n<td style=\"width: 50%\">Hello? Yes, this is John Krygier. (what happens when you call me on the weekend).<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Return to <strong>Content<\/strong> and click on your newly created map \/ feature layer.<\/p>\n<p>On right, select <strong>Create Web Map<\/strong> &gt;&gt; <strong>Instant Apps<\/strong> and type the word <strong>time<\/strong> into search box<\/p>\n<p>Select <strong>Slider app<\/strong><\/p>\n<p><em><strong>Note 7<\/strong>: this has nothing to do with tiny steamed hamburgers<\/em><\/p>\n<p><em><strong>Note 8:<\/strong>You are now the master of your domain, having worked your way (successfully!) through all sorts of stuff in this class. Thus: <strong>I&#8217;d like you to take on and figure out the various settings for this app.<\/strong> Don&#8217;t just leave all the defaults! Work through the options and use help if you have a question about the settings.\u00a0<\/em><\/p>\n<p>When your app is brilliant, change share settings to <strong>everyone<\/strong> and <strong>publish<\/strong><\/p>\n<p>You can return to your <strong>Content<\/strong> page in ArcGIS and see your web map.<\/p>\n<p>Click once on your\u00a0<strong>Web Map<\/strong> and scroll to the bottom to get the URL to your web map app.<\/p>\n<ul>\n<li>Embed in your HTML: Go to your HTML folder and open up maps.htm in Notepad.\n<ul>\n<li>find a good place for the app to be embedded on the page and use the following code except: \u00a0<strong>use your URL in the quotes after src=<\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<table style=\"height: 74px\" width=\"396\">\n<tbody>\n<tr>\n<td style=\"width: 444.8500061035156px\">&lt;iframe width=&#8221;150%&#8221; height=&#8221;1040px&#8221; src=&#8221;https:\/\/owugis.maps.arcgis.com\/apps\/webappviewer\/index.html?id=88d765019ed14e4f87356699db9e262a&#8221; frameborder=&#8221;1&#8243; scrolling=&#8221;yes&#8221; class=&#8221;iframe-class&#8221;&gt;&lt;\/iframe&gt;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Hey: make sure, when you copy the above and paste it into your Notepad HTML doc, that the double quotes are &#8220;straight&#8221; as opposed to &#8220;curly&#8221; double quotes. Some browsers seem to translate these quotes into curlies and that won&#8217;t work for HTML and you will get an error when you view the page in a browser.<\/p>\n<p><em><strong>Note 9: Educationally sound repeated task:<\/strong> Scholars of learning have shown that doing things over and over contributes to understanding. Sometimes! Thus, repeat this effort and create a <strong>second map app,<\/strong> graduated symbols rather than colors.\u00a0<\/em><\/p>\n<table style=\"border-collapse: collapse;width: 100%\">\n<tbody>\n<tr>\n<td style=\"width: 50%\">It&#8217;s OK! We&#8217;re almost done!<\/td>\n<td style=\"width: 50%\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-405 alignleft\" src=\"https:\/\/sites.owu.edu\/geog-112\/wp-content\/uploads\/sites\/186\/2021\/11\/clown7.jpg\" alt=\"\" width=\"206\" height=\"275\" srcset=\"https:\/\/sites.owu.edu\/geog-112\/wp-content\/uploads\/sites\/186\/2021\/11\/clown7.jpg 540w, https:\/\/sites.owu.edu\/geog-112\/wp-content\/uploads\/sites\/186\/2021\/11\/clown7-225x300.jpg 225w\" sizes=\"auto, (max-width: 206px) 100vw, 206px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><em><strong>Note 10:<\/strong> There is no note 10<\/em><\/p>\n<p>Return to your HTML and either link the web map or embed it in your pages. Upload to the cc.owu.edu server.<\/p>\n<blockquote style=\"border: 0px solid #666;padding: 10px;background-color: #f2f2f2\"><p><strong>Completing the Lab<\/strong><\/p><\/blockquote>\n<p>By end of class on the due date:<\/p>\n<ul>\n<li>Two map apps linked to or embedded in your HTML<\/li>\n<li>Comments on Notes 2 and 5.<\/li>\n<li>Comments on any problems, issues, solutions, etc. with this lab.<\/li>\n<li>ps: Clowns via\u00a0<a href=\"https:\/\/mitchoconnell.blogspot.com\/2012\/03\/clown-art-top-100-most-disturbing.html\">Mitch O&#8217;Connell<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Update 12\/5\/2022 100 points Assign: Wednesday, November 16 Due: Monday, December 5 From ArcGIS Desktop to ArcGIS Online ArcGIS Pro is has tools that allow you to transform work completed in Pro and send it to Online. In Online you <span class=\"readmore\"><a href=\"https:\/\/sites.owu.edu\/geog-112\/schedule-content\/lab-9-from-arcgis-desktop-to-online\/\">Continue Reading<\/a><\/span><\/p>\n","protected":false},"author":138,"featured_media":0,"parent":52,"menu_order":11,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-272","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sites.owu.edu\/geog-112\/wp-json\/wp\/v2\/pages\/272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.owu.edu\/geog-112\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.owu.edu\/geog-112\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.owu.edu\/geog-112\/wp-json\/wp\/v2\/users\/138"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.owu.edu\/geog-112\/wp-json\/wp\/v2\/comments?post=272"}],"version-history":[{"count":37,"href":"https:\/\/sites.owu.edu\/geog-112\/wp-json\/wp\/v2\/pages\/272\/revisions"}],"predecessor-version":[{"id":932,"href":"https:\/\/sites.owu.edu\/geog-112\/wp-json\/wp\/v2\/pages\/272\/revisions\/932"}],"up":[{"embeddable":true,"href":"https:\/\/sites.owu.edu\/geog-112\/wp-json\/wp\/v2\/pages\/52"}],"wp:attachment":[{"href":"https:\/\/sites.owu.edu\/geog-112\/wp-json\/wp\/v2\/media?parent=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}