+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/doc/types.sgm b/doc/types.sgm
index 557c144..acb3c54 100644
--- a/doc/types.sgm
+++ b/doc/types.sgm
@@ -1,8 +1,7 @@
-
-
- Data types
-
-
+
+ Data Types
+
+
Overview
@@ -100,9 +99,9 @@
-
-
-
+
+
+
Point
@@ -118,28 +117,28 @@
- sites on earth
+ sites on earth
- star positions on the sky sphere
+ star positions on the sky sphere
- spherical positions on planets
+ spherical positions on planets
-
+
A spherical point (or position) is given by two values:
longitude and latitude. Longitude is a floating point
value between 0 and
- 2&pgr;. Latitude is a floating point
- value, too, but between -&pgr;/2 and
- &pgr;/2. It is possible to give a
+ 2&pg_pgr;. Latitude is a floating point
+ value, too, but between -&pg_pgr;/2 and
+ &pg_pgr;/2. It is possible to give a
spherical position in degrees (DEG) or
with a triple value of degrees, minutes and seconds
(DMS). Degrees and minutes are integer
@@ -189,10 +188,10 @@
longitude and latitude. The value pairs are always enclosed
within braces. Spaces are optional.
-
-
-
+
+
+
Euler transformation
@@ -210,12 +209,12 @@
- spherical object transformations
+ spherical object transformations
- spherical coordinates transformations
+ spherical coordinates transformations
@@ -226,7 +225,7 @@
where axes is an optional 3 letter code
with letters : X, Y, or
- Z. Default is ZXZ.
+ Z. Default is ZXZ.
angleN is any valid angle with the input
format RAD, DEG, or
DMS.
@@ -263,9 +262,9 @@
SELECT strans '2d 20m, 10d, 0';]]>
-
-
-
+
+
+
Circle
@@ -289,12 +288,12 @@
- round cluster or nebula on sky sphere
+ round cluster or nebula on sky sphere
- a position with an undirected position error
+ a position with an undirected position error
@@ -318,9 +317,9 @@
SELECT scircle '< (0d, 90d), 5d >';]]>
-
+
-
+
Line
@@ -336,12 +335,12 @@
- direct connection of two points
+ direct connection of two points
- meteors on the sky sphere
+ meteors on the sky sphere
@@ -395,9 +394,9 @@ i syntax is a somewhat complex.
SELECT sline '( -90d, -20d, 200d, XYZ ), 30d ';]]>
-
-
-
+
+
+
Ellipses
@@ -432,7 +431,7 @@ i syntax is a somewhat complex.
- to describe a position error
+ to describe a position error
@@ -442,12 +441,12 @@ i syntax is a somewhat complex.
- a major radius rad_1
+ a major radius rad_1
- a minor radius rad_2
+ a minor radius rad_2
@@ -505,9 +504,9 @@ i syntax is a somewhat complex.
SELECT sellipse '< { 10d, 5d } , ( 20d, 0d ), 90d >';]]>
-
+
-
+
Path
@@ -523,7 +522,7 @@ i syntax is a somewhat complex.
- rivers on earth
+ rivers on earth
@@ -548,7 +547,7 @@ i syntax is a somewhat complex.
- At least 2 positions are required.
+ At least 2 positions are required.
@@ -565,9 +564,9 @@ i syntax is a somewhat complex.
SELECT spath '{ (10d,0d),(45d,15d),(80d,30d) } ';]]>
-
+
-
+
Polygon
@@ -582,7 +581,7 @@ i syntax is a somewhat complex.
A spherical polygon is a
closed spherical path where line segments cannot be crossed.
One main use case are areas on the earth and sky sphere.
- Polygons within pgSphere
+ Polygons within pgSphere
have the same input syntax as paths:
{pos1,pos2,pos3[,pos4[,... ]]}
@@ -598,7 +597,7 @@ i syntax is a somewhat complex.
- The line segments can not be crossed.
+ The line segments can not be crossed.
@@ -621,9 +620,9 @@ i syntax is a somewhat complex.
SELECT spoly '{ (270d,-10d), (270d,30d), (290d,10d) } ';]]>
-
+
-
+
Coordinates range
@@ -689,9 +688,9 @@ i syntax is a somewhat complex.
SELECT sbox '( (350d,-10d), (10d,+10d) )';]]>
-
+
-
+ smoc: HEALPix Multi-Order Coverage map
@@ -750,5 +749,6 @@ i syntax is a somewhat complex.
SELECT smoc '0/4 1/0 2 12-13 34-35 45 47 2/4 6 12 14 56-57 60-61 88 90-91 116-117 119 130-131 134-135 177 179 185 187';]]>
-
-
+
+
+
diff --git a/doc/whatis.sgm b/doc/whatis.sgm
index 6af690b..eb12bf1 100644
--- a/doc/whatis.sgm
+++ b/doc/whatis.sgm
@@ -1,4 +1,7 @@
-
+
+ Overview
+
+
What is pgSphere?
@@ -15,7 +18,7 @@
- containing, overlapping, and other operators
+ containing, overlapping, and other operators
@@ -30,17 +33,17 @@
- spherical transformation
+ spherical transformation
- indexing of spherical data types
+ indexing of spherical data types
- several input and output formats
+ several input and output formats
@@ -48,17 +51,19 @@
Hence, you can do a fast search and analysis for objects with
spherical attributes as used in geographical, astronomical, or
- other applications using PostgreSQL.
+ other applications using PostgreSQL.
For instance, you can manage data of geographical objects around
the world and astronomical data like star and other catalogs
conveniently using an SQL interface.
- The aim of pgSphere is to provide
+ The aim of pgSphere is to provide
uniform access to spherical data. Because
PostgreSQL itself supports a lot of
software interfaces, you can now use the same database
with different utilities and applications.
-
+
+
+