Project

General

Profile

« Previous | Next » 

Revision 3110

Added by perry over 17 years ago

slowly improving the spatial docs

View differences:

docs/user/spatial_option.html
1 1
<!--
2
  * harvester.html
2
  * spatial_option.html
3 3
  *
4
  *      Authors: Duane Costa
5
  *    Copyright: 2004 Regents of the University of California and the
4
  *      Authors: Matthew Perry
5
  *    Copyright: 2006 Regents of the University of California and the
6 6
  *               National Center for Ecological Analysis and Synthesis,
7 7
  *               and the University of New Mexico.
8 8
  *  For Details: http://www.nceas.ucsb.edu/
9
  *      Created: 2004 April 9
9
  *      Created: 2006 December 29
10 10
  *      Version: 
11 11
  *    File Info: '$ '
12 12
  * 
......
212 212
 <p style="margin-bottom:12pt"><span lang="en-US">When first installing a version of metacat with the spatial option, you'll want to ensure that </span><span style="font-style:italic" lang="en-US">install.spatial</span><span lang="en-US"> is </span><span style="font-style:italic" lang="en-US">true</span><span lang="en-US"> in build.properties. You'll also want to ensure that </span><span style="font-style:italic" lang="en-US">runSpatialOption </span><span lang="en-US">is </span><span style="font-style:italic" lang="en-US">true</span><span lang="en-US"> in metacat.properties. Both of these values are the default so, unless you explicitly set them to be false, the spatial option should install and run automatically.</span></p>
213 213

  
214 214
   <p style="margin-bottom:12pt">How do I configure the layout of the html mapping interface?</p>
215

  
216
   <p style="margin-bottom:12pt"> How can I change the lat/long display to degree-minutes-seconds ? </p>
217
      By default, the map display shows the cursors position in decimal degrees since this is the prefered format for many GPS/GIS applications. However, there may be cases where you need to report coordinates as degrees minutes-seconds. To do so, go into you skins spatial configuration file (usually ${skin.dir}/spatial/config.xml) and edit the CursorTrack widget as shown below:
218
       <pre> 
219
        &lt;CursorTrack id="cursorTrack"&gt;
220
          &lt;mouseHandler&gt;mainMap&lt;/mouseHandler&gt;
221
          &lt;showDMS&gt;true&lt;/showDMS&gt;
222
          &lt;showLatLong&gt;true&lt;/showLatLong&gt;
223
        &lt;/CursorTrack&gt;
224
       </pre>
225

  
215 226
   <p style="margin-bottom:12pt">How can I configure the initial extent of the map?</p>
216 227
   <p style="margin-bottom:12pt">How do I configure the "select location" dropdown to contain different predefined locations?</p>
217 228
   <p dir="ltr" style="text-align:left;margin-bottom:12pt;margin-top:0.0000in;margin-right:0.0000in">Can I use a different web mapping interface?</span></p>
......
219 230
   <p style="margin-bottom:12pt">How can I upgrade/change the version of geoserver?</p>
220 231
   <p style="margin-bottom:12pt">What versions of tomcat are supported?</p>
221 232
   <p style="margin-bottom:12pt">The spatial functionality has only been tested on tomcat 5. </p>
222
   <p style="margin-bottom:12pt">How do I add the spatial functionality to a metacat skin?</p>
233
   <p style="margin-bottom:12pt">How do I add the map to another page or metacat skin?</p>
223 234

  
224 235
  
225 236

  
226 237
<h4> <a name="adding_data">Adding Other Spatial Datasets to the Web Map</a> </h4>
227 238

  
228
  <h5> WMS data </h5>
239
  <h5> Adding your own spatial datasets </h5>
240
  <h5> External WMS data sources </h5>
229 241
  <h5> Spatial datasets already registered with metacat </h5>
230 242
  <h5> Raster Images </h5>
231 243

  

Also available in: Unified diff