~ubuntu-branches/ubuntu/trusty/postgis/trusty-security

« back to all changes in this revision

Viewing changes to doc/reference_old.xml

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2009-12-11 13:10:34 UTC
  • mfrom: (1.1.9 upstream) (5.2.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20091211131034-wmsz69wxvt95pe5r
Tags: 1.4.0-2
* Upload to unstable.
* Better parameterized debian/rules against postgis $(VERSION).
* Added dblatex and libcunit1-dev among build-deps.
* Added postgis_comments.sql to contrib/ SQL templates.
* Dropping 8.3 support, no more supported for squeeze.
  (closes: #559587)
* Do not stop on error in postrm if the target dir does not exist.
  (closes: #560409)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<chapter>
 
3
  <title>PostGIS Reference</title>
 
4
 
 
5
  <para>The functions given below are the ones which a user of PostGIS is
 
6
  likely to need. There are other functions which are required support
 
7
  functions to the PostGIS objects which are not of use to a general
 
8
  user.</para>
 
9
 
 
10
  <note>
 
11
    <para>PostGIS has begun a transition from the existing naming convention
 
12
    to an SQL-MM-centric convention. As a result, most of the functions that
 
13
    you know and love have been renamed using the standard spatial type (ST)
 
14
    prefix. Previous functions are still available, though are not listed in
 
15
    this document where updated functions are equivalent. These will be
 
16
    deprecated in a future release.</para>
 
17
  </note>
 
18
 
 
19
  <sect1>
 
20
    <title>OpenGIS Functions</title>
 
21
 
 
22
    <sect2>
 
23
      <title>Geometry Constructors</title>
 
24
 
 
25
      <variablelist>
 
26
 
 
27
        <varlistentry id="ST_PolyFromWKB">
 
28
          <term>ST_PolyFromWKB(bytea,[&lt;srid&gt;])</term>
 
29
 
 
30
          <listitem>
 
31
            <para>Makes a Geometry from WKB with the given SRID. If SRID is
 
32
            not give, it defaults to -1.</para>
 
33
 
 
34
            <para>OGC SPEC 3.2.7.2 - option SRID is from the conformance
 
35
            suite</para>
 
36
 
 
37
            <para>throws an error if WKB is not a POLYGON</para>
 
38
          </listitem>
 
39
        </varlistentry>
 
40
 
 
41
        <varlistentry>
 
42
          <term>ST_PolygonFromWKB(bytea,[&lt;srid&gt;])</term>
 
43
 
 
44
          <listitem>
 
45
            <para>Makes a Geometry from WKB with the given SRID. If SRID is
 
46
            not give, it defaults to -1.</para>
 
47
 
 
48
            <para>from the conformance suite</para>
 
49
 
 
50
            <para>throws an error if WKB is not a POLYGON</para>
 
51
          </listitem>
 
52
        </varlistentry>
 
53
 
 
54
        <varlistentry>
 
55
          <term>ST_MPointFromWKB(bytea,[&lt;srid&gt;])</term>
 
56
 
 
57
          <listitem>
 
58
            <para>Makes a Geometry from WKB with the given SRID. If SRID is
 
59
            not give, it defaults to -1.</para>
 
60
 
 
61
            <para>OGC SPEC 3.2.7.2 - option SRID is from the conformance
 
62
            suite</para>
 
63
 
 
64
            <para>throws an error if WKB is not a MULTIPOINT</para>
 
65
          </listitem>
 
66
        </varlistentry>
 
67
 
 
68
        <varlistentry>
 
69
          <term>ST_MLineFromWKB(bytea,[&lt;srid&gt;])</term>
 
70
 
 
71
          <listitem>
 
72
            <para>Makes a Geometry from WKB with the given SRID. If SRID is
 
73
            not give, it defaults to -1.</para>
 
74
 
 
75
            <para>OGC SPEC 3.2.7.2 - option SRID is from the conformance
 
76
            suite</para>
 
77
 
 
78
            <para>throws an error if WKB is not a MULTILINESTRING</para>
 
79
          </listitem>
 
80
        </varlistentry>
 
81
 
 
82
        <varlistentry>
 
83
          <term>ST_MPolyFromWKB(bytea,[&lt;srid&gt;])</term>
 
84
 
 
85
          <listitem>
 
86
            <para>Makes a Geometry from WKB with the given SRID. If SRID is
 
87
            not give, it defaults to -1.</para>
 
88
 
 
89
            <para>OGC SPEC 3.2.7.2 - option SRID is from the conformance
 
90
            suite</para>
 
91
 
 
92
            <para>throws an error if WKB is not a MULTIPOLYGON</para>
 
93
          </listitem>
 
94
        </varlistentry>
 
95
 
 
96
        <varlistentry>
 
97
          <term>ST_GeomCollFromWKB(bytea,[&lt;srid&gt;])</term>
 
98
 
 
99
          <listitem>
 
100
            <para>Makes a Geometry from WKB with the given SRID. If SRID is
 
101
            not give, it defaults to -1.</para>
 
102
 
 
103
            <para>OGC SPEC 3.2.7.2 - option SRID is from the conformance
 
104
            suite</para>
 
105
 
 
106
            <para>throws an error if WKB is not a GEOMETRYCOLLECTION</para>
 
107
          </listitem>
 
108
        </varlistentry>
 
109
        </variablelist>
 
110
 
 
111
    </sect2>
 
112
  </sect1>
 
113
 
 
114
  <sect1>
 
115
    <title>SQL-MM Functions</title>
 
116
 
 
117
    <para>This is a listing of the SQL-MM defined functions that PostGIS
 
118
    currently supports. The implementations of these functions follow the
 
119
    ArcSDE implementation, and thus deviate somewhat from the spec. These
 
120
    deviations will be noted.</para>
 
121
 
 
122
    <para>As of version 1.2.0, these functions have been implemented by
 
123
    wrapping existing PostGIS functions. As a result, full support for curved
 
124
    geometries may not be in place for many functions.</para>
 
125
 
 
126
    <note>
 
127
      <para>SQL-MM defines the default SRID of all geometry constructors as 0.
 
128
      PostGIS uses a default SRID of -1.</para>
 
129
    </note>
 
130
 
 
131
    <variablelist>  
 
132
      <varlistentry>
 
133
        <term>ST_MLineFromWKB</term>
 
134
 
 
135
        <listitem>
 
136
          <para>Return a specified ST_MultiLineString value.</para>
 
137
 
 
138
          <para>SQL-MM 3: 9.4.5</para>
 
139
        </listitem>
 
140
      </varlistentry>
 
141
 
 
142
      <varlistentry>
 
143
        <term>ST_MPointFromWKB</term>
 
144
 
 
145
        <listitem>
 
146
          <para>Return a specified ST_MultiPoint value.</para>
 
147
 
 
148
          <para>SQL-MM 3: 9.2.5</para>
 
149
        </listitem>
 
150
      </varlistentry>
 
151
 
 
152
      <varlistentry>
 
153
        <term>ST_MPolyFromWKB</term>
 
154
 
 
155
        <listitem>
 
156
          <para>Return a specified ST_MultiPolygon value.</para>
 
157
 
 
158
          <para>SQL-MM 3: 9.6.5</para>
 
159
        </listitem>
 
160
      </varlistentry>
 
161
 
 
162
      <varlistentry>
 
163
        <term>ST_PolyFromWKB</term>
 
164
 
 
165
        <listitem>
 
166
          <para>Return a specified ST_Polygon value.</para>
 
167
 
 
168
          <para>SQL-MM 3: 8.3.7</para>
 
169
        </listitem>
 
170
      </varlistentry>
 
171
         </variablelist>
 
172
  </sect1>
 
173
 
 
174
  <sect1>
 
175
    <title>ArcSDE Functions</title>
 
176
 
 
177
    <para>Additional functions have been added to improve support for an
 
178
    ArcSDE style interface.</para>
 
179
 
 
180
    <variablelist>
 
181
      <varlistentry>
 
182
        <term>SE_EnvelopesIntersect</term>
 
183
 
 
184
        <listitem>
 
185
          <para>Returns t (TRUE) if the envelopes of two geometries intersect;
 
186
          otherwise, it returns f (FALSE).</para>
 
187
        </listitem>
 
188
      </varlistentry>
 
189
 
 
190
      <varlistentry>
 
191
        <term>SE_Is3d</term>
 
192
 
 
193
        <listitem>
 
194
          <para>Test if a geometry value has z coordinate values.</para>
 
195
        </listitem>
 
196
      </varlistentry>
 
197
 
 
198
      <varlistentry>
 
199
        <term>SE_IsMeasured</term>
 
200
 
 
201
        <listitem>
 
202
          <para>Test if a geometry value has m coordinate values.</para>
 
203
        </listitem>
 
204
      </varlistentry>
 
205
 
 
206
      <varlistentry>
 
207
        <term>SE_LocateAlong</term>
 
208
 
 
209
        <listitem>
 
210
          <para>Return a derived geometry collection value with elements that
 
211
          match the specified measur.</para>
 
212
        </listitem>
 
213
      </varlistentry>
 
214
 
 
215
      <varlistentry>
 
216
        <term>SE_LocateBetween</term>
 
217
 
 
218
        <listitem>
 
219
          <para>Return a derived geometry collection value with elements that
 
220
          match the specified range of measures inclusively.</para>
 
221
        </listitem>
 
222
      </varlistentry>
 
223
 
 
224
      <varlistentry>
 
225
        <term>SE_M</term>
 
226
 
 
227
        <listitem>
 
228
          <para>Returns the m coordinate value of an ST_Point value.</para>
 
229
        </listitem>
 
230
      </varlistentry>
 
231
 
 
232
      <varlistentry>
 
233
        <term>SE_Z</term>
 
234
 
 
235
        <listitem>
 
236
          <para>Returns the z coordinate value of an ST_Point value</para>
 
237
        </listitem>
 
238
      </varlistentry>
 
239
    </variablelist>
 
240
  </sect1>
 
241
</chapter>