Code


Version 1 (modified by tommi, 5 years ago) (diff)

--

These instructions apply for Fedora 10 and GeoDjango on django1.0 and mysql 5.0.51. These are the problems I ran into trying to get GeoDjango running

Third Party Library Installation

Install the geos library

$ yum install geos-python

Install PROJ.4 and GDAL according to the main installation page

Test that the GEOS libraries are where they should be by changing to a django project directory and importing the models from django.contrib.gis.db

$ python manage.py shell
Python 2.5.1 (r251:54863, Jun 15 2008, 18:24:56) 
[GCC 4.3.0 20080428 (Red Hat 4.3.0-8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from django.contrib.gis.db import models