From: Regina Obe Date: Mon, 23 Apr 2012 05:48:25 +0000 (+0000) Subject: make igst index link tag friendly and provide example of nd index. X-Git-Tag: 2.0.1~119 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ccfba853156fc9305bb707d3a7e6fec6783f0dc;p=postgis make igst index link tag friendly and provide example of nd index. git-svn-id: http://svn.osgeo.org/postgis/trunk@9654 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/using_postgis_dataman.xml b/doc/using_postgis_dataman.xml index 800bf2fdb..9769e68d0 100644 --- a/doc/using_postgis_dataman.xml +++ b/doc/using_postgis_dataman.xml @@ -2231,7 +2231,7 @@ WHERE - + GiST Indexes GiST stands for "Generalized Search Tree" and is a generic form of @@ -2248,6 +2248,8 @@ WHERE follows: CREATE INDEX [indexname] ON [tablename] USING GIST ( [geometryfield] ); + The above syntax will always build a 2D-index. To get the an n-dimensional index supported in PostGIS 2.0+ for the geometry type, you can create one using this syntax + CREATE INDEX [indexname] ON [tablename] USING GIST ([geometryfield] gist_geometry_ops_nd); Building a spatial index is a computationally intensive exercise: on tables of around 1 million rows, on a 300MHz Solaris machine, we have