[cig-commits] r7436 - in short/3D/PyLith/trunk/doc/userguide/fileformats: . figs

brad at geodynamics.org brad at geodynamics.org
Sat Jun 23 22:03:22 PDT 2007


Author: brad
Date: 2007-06-23 22:03:22 -0700 (Sat, 23 Jun 2007)
New Revision: 7436

Added:
   short/3D/PyLith/trunk/doc/userguide/fileformats/figs/
   short/3D/PyLith/trunk/doc/userguide/fileformats/figs/meshhex8.eps
   short/3D/PyLith/trunk/doc/userguide/fileformats/figs/meshhex8.fig
Modified:
   short/3D/PyLith/trunk/doc/userguide/fileformats/fileformats.lyx
Log:
Finished complete draft of fileformats appendix.

Added: short/3D/PyLith/trunk/doc/userguide/fileformats/figs/meshhex8.eps
===================================================================
--- short/3D/PyLith/trunk/doc/userguide/fileformats/figs/meshhex8.eps	2007-06-24 02:50:52 UTC (rev 7435)
+++ short/3D/PyLith/trunk/doc/userguide/fileformats/figs/meshhex8.eps	2007-06-24 05:03:22 UTC (rev 7436)
@@ -0,0 +1,198 @@
+%!PS-Adobe-2.0 EPSF-2.0
+%%Title: meshhex8.fig
+%%Creator: fig2dev Version 3.2 Patchlevel 4
+%%CreationDate: Sat Jun 23 21:56:20 2007
+%%For: brad at goldfork (Brad Aagaard)
+%%BoundingBox: 0 0 191 121
+%%Magnification: 1.0000
+%%EndComments
+/$F2psDict 200 dict def
+$F2psDict begin
+$F2psDict /mtrx matrix put
+/col-1 {0 setgray} bind def
+/col0 {0.000 0.000 0.000 srgb} bind def
+/col1 {0.000 0.000 1.000 srgb} bind def
+/col2 {0.000 1.000 0.000 srgb} bind def
+/col3 {0.000 1.000 1.000 srgb} bind def
+/col4 {1.000 0.000 0.000 srgb} bind def
+/col5 {1.000 0.000 1.000 srgb} bind def
+/col6 {1.000 1.000 0.000 srgb} bind def
+/col7 {1.000 1.000 1.000 srgb} bind def
+/col8 {0.000 0.000 0.560 srgb} bind def
+/col9 {0.000 0.000 0.690 srgb} bind def
+/col10 {0.000 0.000 0.820 srgb} bind def
+/col11 {0.530 0.810 1.000 srgb} bind def
+/col12 {0.000 0.560 0.000 srgb} bind def
+/col13 {0.000 0.690 0.000 srgb} bind def
+/col14 {0.000 0.820 0.000 srgb} bind def
+/col15 {0.000 0.560 0.560 srgb} bind def
+/col16 {0.000 0.690 0.690 srgb} bind def
+/col17 {0.000 0.820 0.820 srgb} bind def
+/col18 {0.560 0.000 0.000 srgb} bind def
+/col19 {0.690 0.000 0.000 srgb} bind def
+/col20 {0.820 0.000 0.000 srgb} bind def
+/col21 {0.560 0.000 0.560 srgb} bind def
+/col22 {0.690 0.000 0.690 srgb} bind def
+/col23 {0.820 0.000 0.820 srgb} bind def
+/col24 {0.500 0.190 0.000 srgb} bind def
+/col25 {0.630 0.250 0.000 srgb} bind def
+/col26 {0.750 0.380 0.000 srgb} bind def
+/col27 {1.000 0.500 0.500 srgb} bind def
+/col28 {1.000 0.630 0.630 srgb} bind def
+/col29 {1.000 0.750 0.750 srgb} bind def
+/col30 {1.000 0.880 0.880 srgb} bind def
+/col31 {1.000 0.840 0.000 srgb} bind def
+/col32 {0.004 0.004 0.004 srgb} bind def
+/col33 {0.977 0.977 0.977 srgb} bind def
+/col34 {0.184 0.207 0.281 srgb} bind def
+/col35 {0.445 0.496 0.660 srgb} bind def
+/col36 {0.980 0.250 0.250 srgb} bind def
+/col37 {0.770 0.000 0.012 srgb} bind def
+/col38 {0.980 0.730 0.410 srgb} bind def
+/col39 {0.945 0.496 0.000 srgb} bind def
+/col40 {0.980 0.980 0.449 srgb} bind def
+/col41 {0.883 0.883 0.000 srgb} bind def
+/col42 {0.375 0.781 0.055 srgb} bind def
+/col43 {0.230 0.488 0.031 srgb} bind def
+/col44 {0.199 0.730 0.980 srgb} bind def
+/col45 {0.117 0.430 0.570 srgb} bind def
+/col46 {0.789 0.551 0.980 srgb} bind def
+/col47 {0.379 0.004 0.684 srgb} bind def
+
+end
+save
+newpath 0 121 moveto 0 0 lineto 191 0 lineto 191 121 lineto closepath clip newpath
+-139.5 175.5 translate
+1 -1 scale
+
+/cp {closepath} bind def
+/ef {eofill} bind def
+/gr {grestore} bind def
+/gs {gsave} bind def
+/sa {save} bind def
+/rs {restore} bind def
+/l {lineto} bind def
+/m {moveto} bind def
+/rm {rmoveto} bind def
+/n {newpath} bind def
+/s {stroke} bind def
+/sh {show} bind def
+/slc {setlinecap} bind def
+/slj {setlinejoin} bind def
+/slw {setlinewidth} bind def
+/srgb {setrgbcolor} bind def
+/rot {rotate} bind def
+/sc {scale} bind def
+/sd {setdash} bind def
+/ff {findfont} bind def
+/sf {setfont} bind def
+/scf {scalefont} bind def
+/sw {stringwidth} bind def
+/tr {translate} bind def
+/tnt {dup dup currentrgbcolor
+  4 -2 roll dup 1 exch sub 3 -1 roll mul add
+  4 -2 roll dup 1 exch sub 3 -1 roll mul add
+  4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb}
+  bind def
+/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul
+  4 -2 roll mul srgb} bind def
+ /DrawEllipse {
+	/endangle exch def
+	/startangle exch def
+	/yrad exch def
+	/xrad exch def
+	/y exch def
+	/x exch def
+	/savematrix mtrx currentmatrix def
+	x y tr xrad yrad sc 0 0 1 startangle endangle arc
+	closepath
+	savematrix setmatrix
+	} def
+
+/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def
+/$F2psEnd {$F2psEnteredState restore end} def
+
+$F2psBegin
+10 setmiterlimit
+0 slj 0 slc
+ 0.06000 0.06000 sc
+%
+% Fig objects follow
+%
+% 
+% here starts figure with depth 50
+% Polyline
+2 slj
+7.500 slw
+n 2400 1200 m 2400 2700 l 5400 2700 l 5400 1200 l
+ cp gs col45 s gr 
+% Polyline
+ [60] 0 sd
+n 3900 1200 m
+ 3900 2700 l gs col45 s gr  [] 0 sd
+% here ends figure;
+% 
+% here starts figure with depth 40
+% Ellipse
+7.500 slw
+n 5400 1200 37 37 0 360 DrawEllipse gs col39 1.00 shd ef gr gs col39 s gr
+
+% Ellipse
+n 5400 2700 37 37 0 360 DrawEllipse gs col39 1.00 shd ef gr gs col39 s gr
+
+% Ellipse
+n 3900 2700 37 37 0 360 DrawEllipse gs col39 1.00 shd ef gr gs col39 s gr
+
+% Ellipse
+n 3900 1200 37 37 0 360 DrawEllipse gs col39 1.00 shd ef gr gs col39 s gr
+
+% Ellipse
+n 2400 1200 37 37 0 360 DrawEllipse gs col39 1.00 shd ef gr gs col39 s gr
+
+% Ellipse
+n 2400 2700 37 37 0 360 DrawEllipse gs col39 1.00 shd ef gr gs col39 s gr
+
+/Helvetica-Bold ff 180.00 scf sf
+3900 2925 m
+gs 1 -1 sc (2) col0 sh gr
+/Helvetica-Bold ff 180.00 scf sf
+2325 2925 m
+gs 1 -1 sc (0) col0 sh gr
+/Helvetica-Bold ff 180.00 scf sf
+2325 1050 m
+gs 1 -1 sc (1) col0 sh gr
+/Helvetica-Bold ff 180.00 scf sf
+3825 1050 m
+gs 1 -1 sc (3) col0 sh gr
+/Helvetica-Bold ff 180.00 scf sf
+5400 2925 m
+gs 1 -1 sc (4) col0 sh gr
+/Helvetica-Bold ff 180.00 scf sf
+5400 1050 m
+gs 1 -1 sc (5) col0 sh gr
+/Helvetica-Bold ff 180.00 scf sf
+3975 1575 m
+gs 1 -1 sc (y) col0 sh gr
+/Helvetica-Bold ff 180.00 scf sf
+4425 1950 m
+gs 1 -1 sc (x) col0 sh gr
+% here ends figure;
+% 
+% here starts figure with depth 30
+% Polyline
+7.500 slw
+gs  clippath
+4365 1980 m 4365 1920 l 4214 1920 l 4334 1950 l 4214 1980 l cp
+3930 1485 m 3870 1485 l 3870 1636 l 3900 1516 l 3930 1636 l cp
+eoclip
+n 3900 1500 m 3900 1950 l
+ 4350 1950 l gs col42 s gr gr
+
+% arrowhead
+n 3930 1636 m 3900 1516 l 3870 1636 l 3930 1636 l  cp gs col42 1.00 shd ef gr  col42 s
+% arrowhead
+n 4214 1980 m 4334 1950 l 4214 1920 l 4214 1980 l  cp gs col42 1.00 shd ef gr  col42 s
+% here ends figure;
+$F2psEnd
+rs
+showpage

Added: short/3D/PyLith/trunk/doc/userguide/fileformats/figs/meshhex8.fig
===================================================================
--- short/3D/PyLith/trunk/doc/userguide/fileformats/figs/meshhex8.fig	2007-06-24 02:50:52 UTC (rev 7435)
+++ short/3D/PyLith/trunk/doc/userguide/fileformats/figs/meshhex8.fig	2007-06-24 05:03:22 UTC (rev 7436)
@@ -0,0 +1,47 @@
+#FIG 3.2
+Landscape
+Center
+Inches
+Letter  
+100.00
+Single
+-2
+1200 2
+0 32 #010101
+0 33 #fafafa
+0 34 #2f3548
+0 35 #727fa9
+0 36 #fb4040
+0 37 #c50003
+0 38 #fbbb69
+0 39 #f27f00
+0 40 #fbfb73
+0 41 #e2e200
+0 42 #60c80e
+0 43 #3b7d08
+0 44 #33bbfb
+0 45 #1e6e92
+0 46 #ca8dfb
+0 47 #6101af
+1 3 0 1 39 39 40 -1 20 0.000 1 0.0000 5400 1200 37 37 5400 1200 5437 1200
+1 3 0 1 39 39 40 -1 20 0.000 1 0.0000 5400 2700 37 37 5400 2700 5437 2700
+1 3 0 1 39 39 40 -1 20 0.000 1 0.0000 3900 2700 37 37 3900 2700 3937 2700
+1 3 0 1 39 39 40 -1 20 0.000 1 0.0000 3900 1200 37 37 3900 1200 3937 1200
+1 3 0 1 39 39 40 -1 20 0.000 1 0.0000 2400 1200 37 37 2400 1200 2437 1200
+1 3 0 1 39 39 40 -1 20 0.000 1 0.0000 2400 2700 37 37 2400 2700 2437 2700
+2 3 0 1 45 7 50 -1 -1 0.000 2 0 -1 0 0 5
+	 2400 1200 2400 2700 5400 2700 5400 1200 2400 1200
+2 1 1 1 45 7 50 -1 -1 4.000 2 0 -1 0 0 2
+	 3900 1200 3900 2700
+2 1 0 1 42 7 30 -1 -1 0.000 0 0 -1 1 1 3
+	1 1 1.00 60.00 120.00
+	1 1 1.00 60.00 120.00
+	 3900 1500 3900 1950 4350 1950
+4 0 0 40 -1 18 12 0.0000 4 135 105 3900 2925 2\001
+4 0 0 40 -1 18 12 0.0000 4 135 105 2325 2925 0\001
+4 0 0 40 -1 18 12 0.0000 4 135 105 2325 1050 1\001
+4 0 0 40 -1 18 12 0.0000 4 135 105 3825 1050 3\001
+4 0 0 40 -1 18 12 0.0000 4 135 105 5400 2925 4\001
+4 0 0 40 -1 18 12 0.0000 4 135 105 5400 1050 5\001
+4 0 0 40 -1 18 12 0.0000 4 150 120 3975 1575 y\001
+4 0 0 40 -1 18 12 0.0000 4 105 105 4425 1950 x\001

Modified: short/3D/PyLith/trunk/doc/userguide/fileformats/fileformats.lyx
===================================================================
--- short/3D/PyLith/trunk/doc/userguide/fileformats/fileformats.lyx	2007-06-24 02:50:52 UTC (rev 7435)
+++ short/3D/PyLith/trunk/doc/userguide/fileformats/fileformats.lyx	2007-06-24 05:03:22 UTC (rev 7436)
@@ -1,4 +1,4 @@
-#LyX 1.4.3 created this file. For more info see http://www.lyx.org/
+#LyX 1.4.4 created this file. For more info see http://www.lyx.org/
 \lyxformat 245
 \begin_document
 \begin_header
@@ -71,7 +71,12 @@
 \begin_layout Standard
 \noindent
 \align center
-[ADD FIGURE OF MESH HERE]
+\begin_inset Graphics
+	filename figs/meshhex8.eps
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Caption
@@ -98,7 +103,7 @@
 \end_layout
 
 \begin_layout LyX-Code
-// square of edge length 2.
+// squares of edge length 2.
 \end_layout
 
 \begin_layout LyX-Code
@@ -383,10 +388,6 @@
   // additional groups can be listed here
 \end_layout
 
-\begin_layout LyX-Code
-
-\end_layout
-
 \begin_layout Standard
 \begin_inset Float figure
 placement H
@@ -669,10 +670,6 @@
 \end_layout
 
 \begin_layout LyX-Code
-
-\end_layout
-
-\begin_layout LyX-Code
 0.0  0.0  0.0    -2.00  0.25  0.00
 \end_layout
 
@@ -684,10 +681,6 @@
 0.0  0.0 -4.0     0.00  0.00  0.00
 \end_layout
 
-\begin_layout LyX-Code
-
-\end_layout
-
 \begin_layout Standard
 \begin_inset Float figure
 placement H
@@ -708,16 +701,42 @@
 Spatial Database Coordinate Systems
 \end_layout
 
+\begin_layout Standard
+The spatial database files support four different types of coordinate systems.
+ Conversions among the three geographic coordinate systems are supported
+ in 3-D.
+ Conversions among the geographic and geographic projected coordinate systems
+ are supported in 2-D.
+ In using the coordinate systems, we assume that you have installed the
+ 
+\family typewriter
+proj
+\family default
+ program in addition to the Proj.4 libraries, so that you can obtain a list
+ of support projections, datums, and ellipsoids.
+ Alternatively, refer to the documentation for the 
+\begin_inset LatexCommand \htmlurl[Proj.4 Cartographic Projections library]{http://proj.maptools.org}
+
+\end_inset
+
+.
+\end_layout
+
 \begin_layout Subsubsection
 Cartesian
 \end_layout
 
+\begin_layout Standard
+This is a conventional Cartesian coordinate system.
+ Conversions to other Cartesian coordinate systems are possible, 
+\end_layout
+
 \begin_layout LyX-Code
 cs-data = cartesian {
 \end_layout
 
 \begin_layout LyX-Code
-  to-meters = 1.0e+3 // locations in km
+  to-meters = 1.0e+3 // Locations in km
 \end_layout
 
 \begin_layout LyX-Code
@@ -728,10 +747,151 @@
 }
 \end_layout
 
+\begin_layout Standard
+\begin_inset Float figure
+placement H
+wide false
+sideways false
+status open
+
+\begin_layout Caption
+Format for Cartesian coordinate systems in spatial database files.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsubsection
+Geographic
+\end_layout
+
+\begin_layout Standard
+This coordinate system is for geographic coordinates, such as longtitude
+ and latitude.
+ Specification of the location in three-dimensions is supported.
+ The vertical datum can be either the reference ellipsoid or mean sea level.
+ The vertical coordinate is positive upwards.
+\end_layout
+
 \begin_layout LyX-Code
+cs-data = geographic {
+\end_layout
 
+\begin_layout LyX-Code
+  // Conversion factor to get to meters (only applies to vertical coordinate
+ unless you are 
 \end_layout
 
+\begin_layout LyX-Code
+  // using a geocentric coordinate system).
+\end_layout
+
+\begin_layout LyX-Code
+  to-meters = 1.0e+3
+\end_layout
+
+\begin_layout LyX-Code
+  space-dim = 2 // 2 or 3 dimensions
+\end_layout
+
+\begin_layout LyX-Code
+ 
+\end_layout
+
+\begin_layout LyX-Code
+  // Run 
+\begin_inset Quotes eld
+\end_inset
+
+proj -le
+\begin_inset Quotes erd
+\end_inset
+
+ to see a list of available reference ellipsoids.
+\end_layout
+
+\begin_layout LyX-Code
+  // Comments are not allowed at the end of the next line.
+\end_layout
+
+\begin_layout LyX-Code
+  ellipspod = WGS84
+\end_layout
+
+\begin_layout LyX-Code
+ 
+\end_layout
+
+\begin_layout LyX-Code
+  // Run 
+\begin_inset Quotes eld
+\end_inset
+
+proj -ld
+\begin_inset Quotes erd
+\end_inset
+
+ to see a list of available datums.
+\end_layout
+
+\begin_layout LyX-Code
+  // Comments are not allowed at the end of the next line.
+\end_layout
+
+\begin_layout LyX-Code
+  datum-horiz = WGS84
+\end_layout
+
+\begin_layout LyX-Code
+ 
+\end_layout
+
+\begin_layout LyX-Code
+  // 
+\begin_inset Quotes eld
+\end_inset
+
+ellipsoid
+\begin_inset Quotes erd
+\end_inset
+
+ or 
+\begin_inset Quotes eld
+\end_inset
+
+mean sea level
+\begin_inset Quotes erd
+\end_inset
+
+
+\end_layout
+
+\begin_layout LyX-Code
+  // Comments are not allowed at the end of the next line.
+\end_layout
+
+\begin_layout LyX-Code
+  datum-vert = ellipsoid
+\end_layout
+
+\begin_layout LyX-Code
+ 
+\end_layout
+
+\begin_layout LyX-Code
+  // Use a geocentric coordinate system?
+\end_layout
+
+\begin_layout LyX-Code
+  is-geocentric = false // true or false
+\end_layout
+
+\begin_layout LyX-Code
+}
+\end_layout
+
 \begin_layout Standard
 \begin_inset Float figure
 placement H
@@ -740,7 +900,7 @@
 status open
 
 \begin_layout Caption
-Format of Cartesian coordinate systems in spatial database files.
+Format for geographic coordinate systems in spatial database files.
 \end_layout
 
 \end_inset
@@ -749,16 +909,373 @@
 \end_layout
 
 \begin_layout Subsubsection
-Geographic
+Geographic Projection
 \end_layout
 
-\begin_layout Subsubsection
-Geographic Projection
+\begin_layout Standard
+This coordinate system applies to geographic projections.
+ As in the geographic coordinate system, the vertical coordinate (if used)
+ can be specified with respect to either the reference ellipsoid or mean
+ sea level.
 \end_layout
 
+\begin_layout LyX-Code
+cs-data = geo-projected {
+\end_layout
+
+\begin_layout LyX-Code
+  to-meters = 1.0e+3 // Conversion factor to get to meters.
+\end_layout
+
+\begin_layout LyX-Code
+  space-dim = 2 // 2 or 3 dimensions
+\end_layout
+
+\begin_layout LyX-Code
+
+\end_layout
+
+\begin_layout LyX-Code
+  // Run 
+\begin_inset Quotes eld
+\end_inset
+
+proj -le
+\begin_inset Quotes erd
+\end_inset
+
+ to see a list of available reference ellipsoids.
+\end_layout
+
+\begin_layout LyX-Code
+  // Comments are not allowed at the end of the next line.
+\end_layout
+
+\begin_layout LyX-Code
+  ellipspod = WGS84
+\end_layout
+
+\begin_layout LyX-Code
+ 
+\end_layout
+
+\begin_layout LyX-Code
+  // Run 
+\begin_inset Quotes eld
+\end_inset
+
+proj -ld
+\begin_inset Quotes erd
+\end_inset
+
+ to see a list of available datums.
+\end_layout
+
+\begin_layout LyX-Code
+  // Comments are not allowed at the end of the next line.
+\end_layout
+
+\begin_layout LyX-Code
+  datum-horiz = WGS84
+\end_layout
+
+\begin_layout LyX-Code
+ 
+\end_layout
+
+\begin_layout LyX-Code
+  // 
+\begin_inset Quotes eld
+\end_inset
+
+ellipsoid
+\begin_inset Quotes erd
+\end_inset
+
+ or 
+\begin_inset Quotes eld
+\end_inset
+
+mean sea level
+\begin_inset Quotes erd
+\end_inset
+
+
+\end_layout
+
+\begin_layout LyX-Code
+  // Comments are not allowed at the end of the next line.
+\end_layout
+
+\begin_layout LyX-Code
+  datum-vert = ellipsoid
+\end_layout
+
+\begin_layout LyX-Code
+ 
+\end_layout
+
+\begin_layout LyX-Code
+  // Run 
+\begin_inset Quotes eld
+\end_inset
+
+proj -lp
+\begin_inset Quotes erd
+\end_inset
+
+ to see a list of available geographic projections.
+\end_layout
+
+\begin_layout LyX-Code
+  // projector = projection {
+\end_layout
+
+\begin_layout LyX-Code
+    // Name of the projection.
+ run 
+\begin_inset Quotes eld
+\end_inset
+
+proj -lp
+\begin_inset Quotes erd
+\end_inset
+
+ to see a list of supported projections.
+\end_layout
+
+\begin_layout LyX-Code
+    projection = utm // Use the Universal Transverse Mercator projection.
+\end_layout
+
+\begin_layout LyX-Code
+    units = m // Units in the projection.
+\end_layout
+
+\begin_layout LyX-Code
+ 
+\end_layout
+
+\begin_layout LyX-Code
+    // Provide a list of projection options; these are the command line
+ arguments you would 
+\end_layout
+
+\begin_layout LyX-Code
+    // use with the proj program.
+ Refer to the Proj.4 library documentation for complete 
+\end_layout
+
+\begin_layout LyX-Code
+    // details.
+\end_layout
+
+\begin_layout LyX-Code
+    // Comments are not allowed at the end of the next line.
+\end_layout
+
+\begin_layout LyX-Code
+    proj-options = +zone=10
+\end_layout
+
+\begin_layout LyX-Code
+}
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+placement H
+wide false
+sideways false
+status open
+
+\begin_layout Caption
+Format for geographic projection coordinate systems in spatial database
+ files.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
 \begin_layout Subsubsection
 Geographic Local Cartesian
 \end_layout
 
+\begin_layout Standard
+This coordinate system is a geographically referenced, local 3-D Cartesian
+ coordinate system.
+ This allow use of a conventional Cartesian coordinate system with accurate
+ georeferencing.
+ For example, one can construct a finite-element model in this coordinate
+ system and use spatial databases in geographic coordinates.
+ This coordinate system provides an alternative to using a geographic projection
+ as the Cartesian grip.
+ The advantage of this coordinate system is that it retains the curvature
+ of the Earth, while a geographic projection does not.
+\end_layout
+
+\begin_layout LyX-Code
+cs-data = geo-local-cartesian {
+\end_layout
+
+\begin_layout LyX-Code
+  // Conversion factor to get to meters (only applies to vertical coordinate
+ unless you are 
+\end_layout
+
+\begin_layout LyX-Code
+  // using a geocentric coordinate system).
+\end_layout
+
+\begin_layout LyX-Code
+  to-meters = 1.0 // use meters
+\end_layout
+
+\begin_layout LyX-Code
+  space-dim = 2 // 2 or 3 dimensions
+\end_layout
+
+\begin_layout LyX-Code
+ 
+\end_layout
+
+\begin_layout LyX-Code
+  // Run 
+\begin_inset Quotes eld
+\end_inset
+
+proj -le
+\begin_inset Quotes erd
+\end_inset
+
+ to see a list of available reference ellipsoids.
+\end_layout
+
+\begin_layout LyX-Code
+  // Comments are not allowed at the end of the next line.
+\end_layout
+
+\begin_layout LyX-Code
+  ellipspod = WGS84
+\end_layout
+
+\begin_layout LyX-Code
+ 
+\end_layout
+
+\begin_layout LyX-Code
+  // Run 
+\begin_inset Quotes eld
+\end_inset
+
+proj -ld
+\begin_inset Quotes erd
+\end_inset
+
+ to see a list of available datums.
+\end_layout
+
+\begin_layout LyX-Code
+  // Comments are not allowed at the end of the next line.
+\end_layout
+
+\begin_layout LyX-Code
+  datum-horiz = WGS84
+\end_layout
+
+\begin_layout LyX-Code
+ 
+\end_layout
+
+\begin_layout LyX-Code
+  // 
+\begin_inset Quotes eld
+\end_inset
+
+ellipsoid
+\begin_inset Quotes erd
+\end_inset
+
+ or 
+\begin_inset Quotes eld
+\end_inset
+
+mean sea level
+\begin_inset Quotes erd
+\end_inset
+
+
+\end_layout
+
+\begin_layout LyX-Code
+  // Comments are not allowed at the end of the next line.
+\end_layout
+
+\begin_layout LyX-Code
+  datum-vert = ellipsoid
+\end_layout
+
+\begin_layout LyX-Code
+ 
+\end_layout
+
+\begin_layout LyX-Code
+  // Origin of the local Cartesian coordinate system.
+ To avoid roundoff errors it is best to pick a location near the center
+ of the region of interest.
+ An elevation on the surface of the Earth in the middle of the region also
+ works well (and makes the vertical coordinate easy to interpret).
+\end_layout
+
+\begin_layout LyX-Code
+origin-lon = -116.7094 // Longitude of the origin in decimal degrees (west
+ is negative).
+\end_layout
+
+\begin_layout LyX-Code
+origin-lat = 36.3874 // Latitude of the origin in decimal degrees (north
+ is positive).
+\end_layout
+
+\begin_layout LyX-Code
+ 
+\end_layout
+
+\begin_layout LyX-Code
+// Elevation with respect to the vertical datum.
+ Units are the same as the Cartesian 
+\end_layout
+
+\begin_layout LyX-Code
+// coordinate system (in this case meters).
+\end_layout
+
+\begin_layout LyX-Code
+origin-elev = 3.5
+\end_layout
+
+\begin_layout LyX-Code
+}
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+placement H
+wide false
+sideways false
+status open
+
+\begin_layout Caption
+Format for the geographic local Cartesian coordinate system in spatial database
+ files.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
 \end_body
 \end_document



More information about the cig-commits mailing list