Changes between Version 14 and Version 15 of GdalOgrInPython


Ignore:
Timestamp:
Dec 18, 2007, 9:51:56 AM (16 years ago)
Author:
hobu
Comment:

tweak formatting

Legend:

Unmodified
Added
Removed
Modified
  • GdalOgrInPython

    v14 v15  
    11{{{
    22#!rst
     3
     4
    35GDAL/OGR in Python
    46==================
     
    2426Installation
    2527------------
    26 Windows
    27 ~~~~~~~~~~~~
    28 On Windows you'll need the
    29  * GDAL Binaries [http://download.osgeo.org/gdal/win32/1.5/]
    30     The basic install requires the gdalwin32exe###.zip (### is the version number)
    31     Other files you see in the directory are for various optional plugins.
    32     Once you download the zip, extract it to the directory of your choosing and make a note of where you put it.
    33 
    34  * GDAL Python Bindings available at the Python Cheeseshop [http://pypi.python.org/pypi/GDAL/]
    35     An executable installer is available for both Python 2.4 or 2.5 Or as a Python egg.
    36 
    37 As explained in the README_EXE.txt file after unzipping the GDAL binaries you will need to modify your system path and variables.
    38 If you're not sure how to do this read [http://support.microsoft.com/kb/310519]
    39 
    40  1. Add the installation directory bin folder to your system PATH, remember to put a semicolon in front of it before you add to the existing path.
    41 
    42   C:\gdalwin32-1.5\bin
    43 
    44  2. Create a new user or system variable with the data folder from your installation.
    45 
    46   Name : GDAL_DATA
    47 
    48   Path : C:\gdalwin32-1.5\data
    49 
    50 Skip down to the Usage section to test your install. Note, a reboot may be required.
    51 
    52 Everyone Else
     28
     29Unix
    5330~~~~~~~~~~~~~
    5431
     
    11289the HAVE_SETUPTOOLS variable is ultimately set to False and proceed with a
    11390typical 'python setup.py install' command.
     91
     92Windows
     93~~~~~~~~~~~~
     94
     95You will need the following items to complete an install of the GDAL Python
     96bindings on Windows:
     97
     98* `GDAL Windows Binaries`_ The basic install requires the gdalwin32exe###.zip
     99  (### is the version number).  Other files you see in the directory are
     100  for various optional plugins and development headers/include files. After
     101  downloading the zip file, extract it to the directory of your choosing.
     102
     103* GDAL Python Bindings available at the `Python Cheeseshop`_.  An executable
     104  installer is available for both Python 2.4 or 2.5 or as a Python egg.
     105
     106As explained in the README_EXE.txt file, after unzipping the GDAL binaries you
     107will need to modify your system path and variables. If you're not sure how to
     108do this, read the `Microsoft KnowledgeBase doc`_
     109
     1101. Add the installation directory bin folder to your system PATH, remember
     111   to put a semicolon in front of it before you add to the existing path.
     112
     113   ::
     114 
     115     C:\gdalwin32-1.5\bin
     116
     1172. Create a new user or system variable with the data folder from
     118   your installation.
     119
     120   ::
     121 
     122     Name : GDAL_DATA
     123     Path : C:\gdalwin32-1.5\data
     124
     125Skip down to the `Usage`_ section to test your install. Note, a reboot
     126may be required.
    114127
    115128SWIG
     
    233246
    234247.. _GDAL API Tutorial: http://www.gdal.org/gdal_tutorial.html
     248.. _GDAL Windows Binaries: http://download.osgeo.org/gdal/win32/1.5/
     249.. _Microsoft KnowledgeBase doc: http://support.microsoft.com/kb/310519
     250.. _Python Cheeseshop: http://pypi.python.org/pypi/GDAL/
    235251.. _val_repl.py: http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/python/samples/val_repl.py
    236252.. _GDAL: http://www.gdal.org
    237253.. _SWIG: http://www.swig.org
     254
     255
    238256}}}