{"id":5,"date":"2018-04-30T17:37:16","date_gmt":"2018-04-30T21:37:16","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/2018\/04\/30\/chapter-1\/"},"modified":"2020-03-28T15:20:49","modified_gmt":"2020-03-28T19:20:49","slug":"chapter-1","status":"publish","type":"chapter","link":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/chapter\/chapter-1\/","title":{"raw":"Chapter 1.1 - Geoids &amp; Python Scripts","rendered":"Chapter 1.1 &#8211; Geoids &amp; Python Scripts"},"content":{"raw":"<h1>Overview<\/h1>\r\nThe steps necessary to add a <strong>local geoid<\/strong> and custom <strong>Python scripts<\/strong> to MetaShape are described below.\r\n<h2>Geoids<\/h2>\r\nIn order to improve the horizontal and vertical accuracy of maps and 3-D models generated in Photoscan, it is sometimes necessary to apply a local geoid. Any geoids in the correct data format can be used or they can be downloaded from Agisoft <a href=\"http:\/\/www.agisoft.com\/downloads\/geoids\/\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.\r\n\r\nOnce downloaded, they\u00a0<em><strong>must<\/strong><\/em><em>\u00a0<\/em>be copied to the Agisoft <strong>geoids<\/strong> directory (e.g. C:\\Program Files\\Agisoft\\MetaShape Pro\\geoids) prior to launching the software. If MetaShape is running, after the geoid is copied, it must be restarted.\r\n<h2>Python Scripts<\/h2>\r\nPython scripts are used to perform multiple sequential operations using a single command. They serve as shortcuts or give access to other functions of the software and data. The MetaShape Python script repository can be found <a href=\"http:\/\/wiki.agisoft.com\/wiki\/Python\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.\r\n\r\nClick <span style=\"background-color: #ff6600\"><a style=\"background-color: #ff6600\" href=\"https:\/\/open.bcit.ca\/oer\/islandora\/object\/oer%3A45\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a><\/span>\u00a0to download a script used to adjust the altitude of input photos. This updates the altitude from heights relative to the WGS 84 ellipsoid to heights relative to the ground which are much more useful and relevant.\r\n\r\nAny downloaded scripts\u00a0<em><strong>must<\/strong><\/em><em>\u00a0<\/em>be copied into the MetaShape <strong>Scripts<\/strong> folder (e.g. C:\\Program Files\\Agisoft\\MetaShape Pro\\python\\Scripts).\r\n\r\n&nbsp;","rendered":"<h1>Overview<\/h1>\n<p>The steps necessary to add a <strong>local geoid<\/strong> and custom <strong>Python scripts<\/strong> to MetaShape are described below.<\/p>\n<h2>Geoids<\/h2>\n<p>In order to improve the horizontal and vertical accuracy of maps and 3-D models generated in Photoscan, it is sometimes necessary to apply a local geoid. Any geoids in the correct data format can be used or they can be downloaded from Agisoft <a href=\"http:\/\/www.agisoft.com\/downloads\/geoids\/\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n<p>Once downloaded, they\u00a0<em><strong>must<\/strong><\/em><em>\u00a0<\/em>be copied to the Agisoft <strong>geoids<\/strong> directory (e.g. C:\\Program Files\\Agisoft\\MetaShape Pro\\geoids) prior to launching the software. If MetaShape is running, after the geoid is copied, it must be restarted.<\/p>\n<h2>Python Scripts<\/h2>\n<p>Python scripts are used to perform multiple sequential operations using a single command. They serve as shortcuts or give access to other functions of the software and data. The MetaShape Python script repository can be found <a href=\"http:\/\/wiki.agisoft.com\/wiki\/Python\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n<p>Click <span style=\"background-color: #ff6600\"><a style=\"background-color: #ff6600\" href=\"https:\/\/open.bcit.ca\/oer\/islandora\/object\/oer%3A45\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a><\/span>\u00a0to download a script used to adjust the altitude of input photos. This updates the altitude from heights relative to the WGS 84 ellipsoid to heights relative to the ground which are much more useful and relevant.<\/p>\n<p>Any downloaded scripts\u00a0<em><strong>must<\/strong><\/em><em>\u00a0<\/em>be copied into the MetaShape <strong>Scripts<\/strong> folder (e.g. C:\\Program Files\\Agisoft\\MetaShape Pro\\python\\Scripts).<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"author":365,"menu_order":1,"template":"","meta":{"pb_show_title":"","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[47],"contributor":[],"license":[],"class_list":["post-5","chapter","type-chapter","status-publish","hentry","chapter-type-standard"],"part":3,"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/chapters\/5","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/wp\/v2\/users\/365"}],"version-history":[{"count":2,"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/chapters\/5\/revisions"}],"predecessor-version":[{"id":27,"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/chapters\/5\/revisions\/27"}],"part":[{"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/parts\/3"}],"metadata":[{"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/chapters\/5\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/wp\/v2\/media?parent=5"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/pressbooks\/v2\/chapter-type?post=5"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/wp\/v2\/contributor?post=5"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/ericsaczuk\/wp-json\/wp\/v2\/license?post=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}