Skip to content

Commit

Permalink
\google#274: Small changes in response to pull request comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
tst-ppenev committed Jul 15, 2017
1 parent ec6707a commit 79727df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/geedocs/answer/3230777.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ <h3>Inspect portable files for timestamp information</h3>
<h3>Composite globes and maps</h3>
<p>Portable globes and maps can also be assembled into layers to create a composite globe or map, a single file (<code>.glc</code>) that contains all the geospatial data for assembled layers. To assemble a composite file, you supply a KML polygon to cut your area of interest, then specify the layers and order in which they display. See <a href="../answer/4643041.html">Create composite globes and maps</a>.</p>
<h2><a name="creating_a_portable_globe"></a>Create a portable globe or map</h2>
<p>Cutting a globe or map is accomplished with a simple web interface. You import KML, or use your mouse, to define a polygon, which defines your 'area of interest.' This polygon not only defines the area that displays high-resolution imagery, but is also used by Fusion to create a localized search database.</p>
<p>Cutting a globe or map is accomplished with a simple web interface. You import KML, or use your mouse, to define a polygon, which defines your "area of interest." This polygon not only defines the area that displays high-resolution imagery, but is also used by Fusion to create a localized search database.</p>
<div class="note">
<p><strong>Note</strong>: The cutting processes are CPU and disk intensive, as they are retrieving all data within the specified polygon from the Earth Enterprise Server. This can affect the overall performance of the Server, including slowing end-user access.</p>
<p>To mitigate performance impact to end users, you may consider:</p>
Expand Down Expand Up @@ -123,7 +123,7 @@ <h3 id="globe_name">Map or globe name</h3>
<h3 id="drawing_the_polygon">Drawing the polygon</h3>
<p>Once the globe or map name has been specified, you can define the geographic region to be cut by drawing a polygon on the globe. There are two ways to draw the polygon.</p>
<h4>Hand drawing the polygon</h4>
<div class="alert"><p>This method is only available if you are running the discontinued Google Earth Plug-in in your browser.</p></div>
<div class="alert">When cutting a 3D globe this method is only available if you are running the discontinued Google Earth Plug-in in your browser. This method works for cutting 2D maps from your browser.</div>
<ol>
<li>By default, you draw a polygon by hand so the <strong>Select Region</strong> drop-down list is set to <strong>Manual</strong>. </li>
<li>Use the Hand tool <img alt="Pan tool" src="../art/fusion/portable/cutterHandTool2.png"/> to pan, then using the navigation controls in the plug-in, zoom in to the region of interest. </li>
Expand Down
1 change: 0 additions & 1 deletion docs/geedocs/answer/3230807.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ <h2><a name="Introduction">Introduction</a></h2>
<p>You can customize or extend GEE Portable, or create applications that work with it.</p>
<p>To help you get started, Google provides two <code>Hello World!</code> files that you can copy and use as templates. These files (<code>Hello_Maps.html</code> for 2D maps and <code>Hello_Earth.html</code> for 3D globes) call the required scripts, load the globe or map, define the <code>.css</code> file, and so on. The files include JSON and, if needed, KML polygons.</p>
<p>See the resources linked to below to learn how to edit and extend the <code>Hello_Maps.html</code> and <code>Hello_Earth.html</code> files.</p>
<p><strong>Note</strong>: Although it is possible to configure GEE Portable to display multiple globes or maps at the same time, this isn't recommended or supported.</p>
<h2><a id="Usefulresources" name="Usefulresources">Useful resources</a></h2>
<p><strong>Note</strong>: Clicking any of these links connects you to a site outside your network. If you’re not sure if your organization allows outside connections, check with your administrator first.</p>
<p><code>Hello_Maps.html</code> and <code>Hello_Earth.html</code> are based on the Google Maps API and Google Earth API. More information about these APIs is linked to below. Also included are links to some resources for learning how to parse your JSON data and KML coordinates.</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/geedocs/answer/4485225.html
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ <h3 id="serving_a_globe">Serving a globe</h3>
<li>To start serving run the following command in the directory you unpacked Portable Server:
<p><code>python portable_server.py</code></p>
</li>
<li>Navigate to the Portable Server administrative page at <code>http://localhost:9335</code>, using whatever <code>port</code> you've used in <code>portable.cfg</code>.</li>
<li>Navigate to the Portable Server administrative page at <code>http://localhost:9335</code>. If you have set a custom <code>port</code> number in <code>portable.cfg</code>, substitute that for "9335".</li>
</ol>
<p>You can select what globe is being served from the administrative page. Click on the folder icon (<img class="inline" alt="Portable folder icon" src="../art/fusion/portable/portable_folder_icon.png"/>), and you should a see a screen where you can select what globe, or map should be served by Portable Server.</p>
<p>You can shut down Portable Server from the administrative page, as well. Click on the hamburger menu button (<img class="inline" alt="Portable menu icon" src="../art/fusion/portable/portable_menu_icon.png"/>), and then on 'Quit'.</p>
Expand Down Expand Up @@ -243,7 +243,7 @@ <h3 id="google_earth_api">Google Earth API</h3>
<p>You can also reach the page listed above by clicking <strong>view in browser</strong> from the administration page at <code>http://localhost:9335</code>.</p>
<hr/>
<h3 id="portable_cfg">Defining options in portable.cfg</h3>
<p>The <strong>server</strong> directory under the directory the Portable Server archive is unpacked contains the main configuration file, <code>portable.cfg</code>. This file defines a number of options, but is primarily used to change the port on which the globe is served, if required.</p>
<p>The <strong>server</strong> directory under the Portable Server installation directory contains the main configuration file, <code>portable.cfg</code>. This file defines a number of options, but is primarily used to change the port on which the globe is served, if required.</p>
<ul cass="spaced-list">
<li><strong>port</strong>: defines the port on which to serve the globe. Default is 9335.</li>
<li><strong>globes_directory</strong>: the directory in which to look for globe files.</li>
Expand Down

0 comments on commit 79727df

Please sign in to comment.