{"id":160,"date":"2018-06-12T14:20:17","date_gmt":"2018-06-12T18:20:17","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/renegade\/?post_type=chapter&#038;p=160"},"modified":"2018-06-13T15:01:29","modified_gmt":"2018-06-13T19:01:29","slug":"chapter-1-1-geoids-scripts","status":"publish","type":"chapter","link":"https:\/\/pressbooks.bccampus.ca\/renegade\/chapter\/chapter-1-1-geoids-scripts\/","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 Photoscan 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\">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\\PhotoScan Pro\\geoids) prior to launching the software. If Agisoft is running before 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 Agisoft Python script repository can be found <a href=\"http:\/\/wiki.agisoft.com\/wiki\/Python\" target=\"_blank\" rel=\"noopener\">here<\/a>.\r\n\r\nClick <a href=\"https:\/\/open.bcit.ca\/oer\/islandora\/object\/oer%3A45\" target=\"_blank\" rel=\"noopener\">here<\/a>\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 Agisoft\u00a0<strong>Scrpits<\/strong> folder (e.g.\u00a0C:\\Program Files\\Agisoft\\PhotoScan 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 Photoscan 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\">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\\PhotoScan Pro\\geoids) prior to launching the software. If Agisoft is running before 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 Agisoft Python script repository can be found <a href=\"http:\/\/wiki.agisoft.com\/wiki\/Python\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<p>Click <a href=\"https:\/\/open.bcit.ca\/oer\/islandora\/object\/oer%3A45\" target=\"_blank\" rel=\"noopener\">here<\/a>\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 Agisoft\u00a0<strong>Scrpits<\/strong> folder (e.g.\u00a0C:\\Program Files\\Agisoft\\PhotoScan Pro\\python\\Scripts).<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"author":365,"menu_order":1,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-160","chapter","type-chapter","status-publish","hentry"],"part":18,"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/renegade\/wp-json\/pressbooks\/v2\/chapters\/160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.bccampus.ca\/renegade\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.bccampus.ca\/renegade\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/renegade\/wp-json\/wp\/v2\/users\/365"}],"version-history":[{"count":6,"href":"https:\/\/pressbooks.bccampus.ca\/renegade\/wp-json\/pressbooks\/v2\/chapters\/160\/revisions"}],"predecessor-version":[{"id":214,"href":"https:\/\/pressbooks.bccampus.ca\/renegade\/wp-json\/pressbooks\/v2\/chapters\/160\/revisions\/214"}],"part":[{"href":"https:\/\/pressbooks.bccampus.ca\/renegade\/wp-json\/pressbooks\/v2\/parts\/18"}],"metadata":[{"href":"https:\/\/pressbooks.bccampus.ca\/renegade\/wp-json\/pressbooks\/v2\/chapters\/160\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/renegade\/wp-json\/wp\/v2\/media?parent=160"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/renegade\/wp-json\/pressbooks\/v2\/chapter-type?post=160"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/renegade\/wp-json\/wp\/v2\/contributor?post=160"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/renegade\/wp-json\/wp\/v2\/license?post=160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}