File: node6.html

package info (click to toggle)
qgis 0.7.4-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 33,480 kB
  • ctags: 8,836
  • sloc: cpp: 169,088; sh: 8,792; ansic: 1,723; makefile: 1,622; perl: 105
file content (100 lines) | stat: -rw-r--r-- 3,335 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 2002-2-1 (1.70)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>PostGIS</TITLE>
<META NAME="description" CONTENT="PostGIS">
<META NAME="keywords" CONTENT="install">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="install.css">

<LINK REL="next" HREF="node7.html">
<LINK REL="previous" HREF="node5.html">
<LINK REL="up" HREF="install.html">
<LINK REL="next" HREF="node7.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A NAME="tex2html122"
  HREF="node7.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html118"
  HREF="install.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html112"
  HREF="node5.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html120"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>  
<BR>
<B> Next:</B> <A NAME="tex2html123"
  HREF="node7.html">GRASS</A>
<B> Up:</B> <A NAME="tex2html119"
  HREF="install.html">Building and Installing QGIS</A>
<B> Previous:</B> <A NAME="tex2html113"
  HREF="node5.html">GEOS</A>
 &nbsp; <B>  <A NAME="tex2html121"
  HREF="node1.html">Contents</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H1><A NAME="SECTION00060000000000000000">
PostGIS</A>
</H1>

<P>
NOTE - You must edit the PostGIS Makefile and make sure that USE_GEOS=1 is
  set. Also adjust GEOS_DIR to point to your GEOS installation directory.
  
<OL>
<LI>Download PostGIS source from <TT><A NAME="tex2html8"
  HREF="http://postgis.refractions.net">http://postgis.refractions.net</A></TT> 

<P>
</LI>
<LI>Untar PostGIS into the contrib subdirectory of the postgresql build directory. The contrib subdirectory is located in the directory created in step 3 of the PostgreSQL installation process.
</LI>
<LI>Change to the postgis subdirectory
</LI>
<LI>Edit the Makefile to enable GEOS support (see the note above)
</LI>
<LI>PostGIS provides a manual in the doc/html subdirectory that explains the build process (see the Installation section)
</LI>
<LI>The quick and dirty steps to install PostGIS are:
  <PRE>
   cd contrib
   gunzip postgis-0.8.0.tar.gz 
   tar xvf postgis-0.8.0.tar 
   cd postgis-0.8.0 
   make 
   make install 
   createlang plpgsql yourtestdatabase 
   psql -d yourtestdatabase -f postgis.sql 
   psql -d yourtestdatabase -f spatial_ref_sys.sql
</PRE>
</LI>
</OL>
The <B>better way</B> to install PostGIS is to carefully follow the instructions in the PostGIS manual in the doc/html subdirectory or the online manual at <TT><A NAME="tex2html9"
  HREF="http://postgis.refractions.net/docs">http://postgis.refractions.net/docs</A></TT>
<P>
<BR><HR>
<ADDRESS>
Gary Sherman
2004-10-01
</ADDRESS>
</BODY>
</HTML>