mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2094 c8812cc2-4d05-0410-92ff-de0c093fc19c
101 lines
3.3 KiB
HTML
101 lines
3.3 KiB
HTML
<!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>
|
|
<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>
|