Re: Setting up a PostGIS DB

2011-09-03 Thread Jeff Tchang
Have you ran: psql -d yourdatabase -f postgis.sql After you do this you should see 1 or 2 tables in your Postgres database as well as a slew of sql functions. Make sure you've done this and verify it. -Jeff On Thu, Sep 1, 2011 at 2:18 PM, Reinout van Rees wrote: > > On

Re: Setting up a PostGIS DB

2011-09-01 Thread Reinout van Rees
On 01-09-11 19:00, Dan H wrote: I am trying to set up a PostGIS DB in Django to track Lat/Lon of a location, and use it with the Google Maps API. However when I try to run 'python manage.py syncdb' after running 'createdb -T template_postgis mydb' I get this error. Failed to install index for

Setting up a PostGIS DB

2011-09-01 Thread Dan H
I am trying to set up a PostGIS DB in Django to track Lat/Lon of a location, and use it with the Google Maps API. However when I try to run 'python manage.py syncdb' after running 'createdb -T template_postgis mydb' I get this error. Failed to install index for reviews.Location model: function