-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Boto3 support 2. Google Cloud support 3. IAM Role support 4. Uses GDAL 2.1.0+ 5. OptimizeRasters is Python27 and Python3+ compatible. 6. New -mode ‘createjob’ added. 7. Other minor fixes, performance enhancements.
- Loading branch information
Showing
8 changed files
with
1,384 additions
and
478 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,62 @@ | ||
<metadata xml:lang="en"><Esri><CreaDate>20160119</CreaDate><CreaTime>10590600</CreaTime><ArcGISFormat>1.0</ArcGISFormat><ArcGISstyle>ISO 19139 Metadata Implementation Specification</ArcGISstyle><SyncOnce>TRUE</SyncOnce><ModDate>20160125</ModDate><ModTime>15152100</ModTime><scaleRange><minScale>150000000</minScale><maxScale>5000</maxScale></scaleRange><ArcGISProfile>ISO19139</ArcGISProfile></Esri><tool name="ProfileEditor" displayname="Profile Editor" toolboxalias="" xmlns=""><arcToolboxHelpPath>c:\program files (x86)\arcgis\desktop10.3\Help\gp</arcToolboxHelpPath><parameters><param name="profileType" displayname="Profile Type" type="Required" direction="Output" datatype="String" expression="Amazon S3"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>The type of cloud storage solution to create a profile for.</SPAN></P></DIV></DIV></DIV></dialogReference></param><param name="profileName" displayname="Profile Name" type="Required" direction="Input" datatype="String" expression="profileName"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Name of the profile that is associated with the cloud storage access credentials. </SPAN></P><P><SPAN>The profile name is a pointer used by OptimizeRasters to extract the associated keys required to access the desired cloud storage solution. </SPAN></P><DIV><DIV><P><SPAN>Profile eidtor is meant to enter new profile names for storage. As a precautionary measure the user has to type in the name of existing profile to edit or delete it. </SPAN></P></DIV></DIV><DIV><DIV><P><SPAN>To </SPAN><SPAN STYLE="font-weight:bold;">Edit </SPAN><SPAN>an existing name, type it here and enter in the changed details. Pick the option to overwrite the profile name to store the edits. </SPAN></P><P><SPAN>To </SPAN><SPAN STYLE="font-weight:bold;">Delete </SPAN><SPAN>an existing profile name, type it here and pick the option from the actions list below. </SPAN></P></DIV></DIV></DIV></DIV></DIV></dialogReference></param><param name="accessKey" displayname="Access/Account Key ID" type="Required" direction="Input" datatype="String" expression="accessKey"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Enter the Access key ID for the entered profile name. </SPAN></P><P><SPAN>Refer to your cloud storage solution documentation for more information. </SPAN></P></DIV></DIV></DIV></dialogReference></param><param name="secretAccessKey" displayname="Secret Access/Account Key" type="Required" direction="Input" datatype="String" expression="secretAccessKey"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Enter the Secret Access key for the entered profile name. </SPAN></P><P><SPAN>Refer to your cloud storage solution documentation for more information. </SPAN></P><P><SPAN /></P></DIV></DIV></DIV></dialogReference></param><param name="action" displayname="Editor Option" type="Optional" direction="Input" datatype="String" expression="{Overwrite Existing | Delete Existing}"><dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Pick an appropriate action from the Editor Option pull down list. </SPAN></P><P><SPAN>This is only activated if an existing profile name is found. </SPAN></P></DIV></DIV></DIV></dialogReference></param></parameters><summary><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Stores credentials such as Profile Name, Secret ID and Secret Key for use with cloud storage solutions such as Amazon S3 or Microsoft Azure. </SPAN></P><P><SPAN>For the moment, Amzon S3 is supported. </SPAN></P></DIV></DIV></DIV></summary></tool><dataIdInfo><idCitation><resTitle>Profile Editor</resTitle></idCitation><idAbs><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Stores credentials such as Profile Name, Secret ID and Secret Key for use with cloud storage solutions such as Amazon S3 or Microsoft Azure. </SPAN></P><P><SPAN>For the moment, Amzon S3 is supported. </SPAN></P></DIV></DIV></DIV></idAbs></dataIdInfo><distInfo><distributor><distorFormat><formatName>ArcToolbox Tool</formatName></distorFormat></distributor></distInfo><mdHrLv><ScopeCd value="005"/></mdHrLv></metadata> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<metadata xml:lang="en"> | ||
<Esri> | ||
<CreaDate>20160119</CreaDate> | ||
<CreaTime>10590600</CreaTime> | ||
<ArcGISFormat>1.0</ArcGISFormat> | ||
<ArcGISstyle>ISO 19139 Metadata Implementation Specification</ArcGISstyle> | ||
<SyncOnce>TRUE</SyncOnce> | ||
<ModDate>20160125</ModDate> | ||
<ModTime>15152100</ModTime> | ||
<scaleRange> | ||
<minScale>150000000</minScale> | ||
<maxScale>5000</maxScale> | ||
</scaleRange> | ||
<ArcGISProfile>ISO19139</ArcGISProfile> | ||
</Esri> | ||
<tool name="ProfileEditor" displayname="Profile Editor" toolboxalias="" xmlns=""> | ||
<arcToolboxHelpPath>c:\program files (x86)\arcgis\desktop10.3\Help\gp</arcToolboxHelpPath> | ||
<parameters> | ||
<param name="profileType" displayname="Profile Type" type="Required" direction="Output" datatype="String" expression="Amazon S3"> | ||
<dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>The type of cloud storage solution to create a profile for.</SPAN></P></DIV></DIV></DIV></dialogReference> | ||
</param> | ||
<param name="profileName" displayname="Profile Name" type="Required" direction="Input" datatype="String" expression="profileName"> | ||
<dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Name of the profile that is associated with the cloud storage access credentials. </SPAN></P><P><SPAN>The profile name is a pointer used by OptimizeRasters to extract the associated keys required to access the desired cloud storage solution. </SPAN></P><DIV><DIV><P><SPAN>Profile eidtor is meant to enter new profile names for storage. As a precautionary measure the user has to type in the name of existing profile to edit or delete it. </SPAN></P></DIV></DIV><DIV><DIV><P><SPAN>To </SPAN><SPAN STYLE="font-weight:bold;">Edit </SPAN><SPAN>an existing name, type it here and enter in the changed details. Pick the option to overwrite the profile name to store the edits. </SPAN></P><P><SPAN>To </SPAN><SPAN STYLE="font-weight:bold;">Delete </SPAN><SPAN>an existing profile name, type it here and pick the option from the actions list below. </SPAN></P></DIV></DIV></DIV></DIV></DIV></dialogReference> | ||
</param> | ||
<param name="iAmRolePara" displayname="IAM Role Profile" type="Optional" direction="Input" datatype="GPBoolean" expression="iAmRolePara"> | ||
<dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Check the IAM Role profile if OptimizeRasters is to run on a trusted EC2 instance.</SPAN></P><P><SPAN>IAM role enables OptimizeRasters to run on an EC2 instance to securely access AWS resources without credential keys involved.</SPAN></P></DIV></DIV></DIV></DIV></DIV></dialogReference> | ||
</param> | ||
<param name="accessKey" displayname="Access/Account Key ID" type="Required" direction="Input" datatype="String" expression="accessKey"> | ||
<dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Enter the Access key ID for the entered profile name. </SPAN></P><P><SPAN>Refer to your cloud storage solution documentation for more information. </SPAN></P></DIV></DIV></DIV></dialogReference> | ||
</param> | ||
<param name="secretAccessKey" displayname="Secret Access/Account Key" type="Required" direction="Input" datatype="String" expression="secretAccessKey"> | ||
<dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Enter the Secret Access key for the entered profile name. </SPAN></P><P><SPAN>Refer to your cloud storage solution documentation for more information. </SPAN></P><P><SPAN /></P></DIV></DIV></DIV></dialogReference> | ||
</param> | ||
<param name="imRoleURL" displayname="Endpoint URL" type="Optional" direction="Input" datatype="String" expression="imRoleURL"> | ||
<dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Enter any custom endpoint URL if it's different from the default for the access type selected.</SPAN></P><P><SPAN>An endpoint is a URL that is the entry point for the data access storage.</SPAN></P><P><SPAN />[Defaults]<br/>Amazon S3 = http://blob.core.windows.net<br/>Microsoft Azure = http://s3.amazonaws.com<br/> | ||
</P> | ||
</DIV></DIV></DIV></dialogReference> | ||
</param> | ||
<param name="action" displayname="Editor Option" type="Optional" direction="Input" datatype="String" expression="{Overwrite Existing | Delete Existing}"> | ||
<dialogReference><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Pick an appropriate action from the Editor Option pull down list. </SPAN></P><P><SPAN>This is only activated if an existing profile name is found. </SPAN></P></DIV></DIV></DIV></dialogReference> | ||
</param> | ||
</parameters> | ||
<summary><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Stores credentials such as Profile Name, Secret ID and Secret Key for use with cloud storage solutions such as Amazon S3 or Microsoft Azure. </SPAN></P><P><SPAN>For the moment, Amzon S3 is supported. </SPAN></P></DIV></DIV></DIV></summary> | ||
</tool> | ||
<dataIdInfo> | ||
<idCitation> | ||
<resTitle>Profile Editor</resTitle> | ||
</idCitation> | ||
<idAbs><DIV STYLE="text-align:Left;"><DIV><DIV><P><SPAN>Stores credentials such as Profile Name, Secret ID and Secret Key for use with cloud storage solutions such as Amazon S3 or Microsoft Azure. </SPAN></P><P><SPAN>For the moment, Amzon S3 is supported. </SPAN></P></DIV></DIV></DIV></idAbs> | ||
</dataIdInfo> | ||
<distInfo> | ||
<distributor> | ||
<distorFormat> | ||
<formatName>ArcToolbox Tool</formatName> | ||
</distorFormat> | ||
</distributor> | ||
</distInfo> | ||
<mdHrLv> | ||
<ScopeCd value="005" /> | ||
</mdHrLv> | ||
</metadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,41 @@ | ||
<metadata xml:lang="en"><Esri><CreaDate>20160128</CreaDate><CreaTime>16313200</CreaTime><ArcGISFormat>1.0</ArcGISFormat><ArcGISstyle>ISO 19139 Metadata Implementation Specification</ArcGISstyle><SyncOnce>TRUE</SyncOnce><ModDate>20160128</ModDate><ModTime>17185500</ModTime><scaleRange><minScale>150000000</minScale><maxScale>5000</maxScale></scaleRange><ArcGISProfile>ISO19139</ArcGISProfile></Esri><dataIdInfo><idCitation><resTitle>Resume Jobs</resTitle></idCitation><idAbs><DIV STYLE="text-align:Left;"><DIV><P><SPAN>Resume OptimizeRaster Jobs that have failed. Only failed processes will be shown here. </SPAN></P></DIV></DIV></idAbs></dataIdInfo><distInfo><distributor><distorFormat><formatName>ArcToolbox Tool</formatName></distorFormat></distributor></distInfo><tool name="ResumeJobs" displayname="Resume Jobs" toolboxalias="" xmlns=""><parameters><param name="pendingJobs" displayname="Pending Jobs" type="Required" direction="Output" datatype="String" expression="OR_20160124T185810665000"><dialogReference><DIV STYLE="text-align:Left;"><P><SPAN>Pick an Optimize Rasters job to resume. Only files which failed to download / converted / upload will be processed by OptimizeRasters.</SPAN></P></DIV></dialogReference></param></parameters><summary><DIV STYLE="text-align:Left;"><DIV><P><SPAN>Resume OptimizeRaster Jobs that have failed. Only failed processes will be shown here. </SPAN></P></DIV></DIV></summary></tool><mdHrLv><ScopeCd value="005"></ScopeCd></mdHrLv></metadata> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<metadata xml:lang="en"> | ||
<Esri> | ||
<CreaDate>20160128</CreaDate> | ||
<CreaTime>16313200</CreaTime> | ||
<ArcGISFormat>1.0</ArcGISFormat> | ||
<ArcGISstyle>ISO 19139 Metadata Implementation Specification</ArcGISstyle> | ||
<SyncOnce>TRUE</SyncOnce> | ||
<ModDate>20160128</ModDate> | ||
<ModTime>17185500</ModTime> | ||
<scaleRange> | ||
<minScale>150000000</minScale> | ||
<maxScale>5000</maxScale> | ||
</scaleRange> | ||
<ArcGISProfile>ISO19139</ArcGISProfile> | ||
</Esri> | ||
<dataIdInfo> | ||
<idCitation> | ||
<resTitle>Resume Jobs</resTitle> | ||
</idCitation> | ||
<idAbs><DIV STYLE="text-align:Left;"><DIV><P><SPAN>Resume OptimizeRaster Jobs that have failed. Only failed processes will be shown here. </SPAN></P></DIV></DIV></idAbs> | ||
</dataIdInfo> | ||
<distInfo> | ||
<distributor> | ||
<distorFormat> | ||
<formatName>ArcToolbox Tool</formatName> | ||
</distorFormat> | ||
</distributor> | ||
</distInfo> | ||
<tool name="ResumeJobs" displayname="Resume Jobs" toolboxalias="" xmlns=""> | ||
<parameters> | ||
<param name="pendingJobs" displayname="Pending Jobs" type="Required" direction="Output" datatype="String" expression="OR_20160124T185810665000"> | ||
<dialogReference><DIV STYLE="text-align:Left;"><P><SPAN>Pick an Optimize Rasters job to resume. Only files which failed to download / converted / upload will be processed by OptimizeRasters.</SPAN></P></DIV></dialogReference> | ||
</param> | ||
</parameters> | ||
<summary><DIV STYLE="text-align:Left;"><DIV><P><SPAN>Resume OptimizeRaster Jobs that have failed. Only failed processes will be shown here. </SPAN></P></DIV></DIV></summary> | ||
</tool> | ||
<mdHrLv> | ||
<ScopeCd value="005"></ScopeCd> | ||
</mdHrLv> | ||
</metadata> |
Oops, something went wrong.