PostGIS 2.0.0 problems

1,333 views
Skip to first unread message

Oleg Korsak

unread,
Apr 7, 2012, 2:41:41 PM4/7/12
to django...@googlegroups.com
Hello. After upgrading PostGIS to 2.0.0 version and migrating DB (took
some time) I still have one problem:

django.db.utils.DatabaseError: operator class "gist_geometry_ops" does
not exist for access method "gist"

I've found a discussion here: https://code.djangoproject.com/ticket/16455
So looks PostGIS 2.0.0 is unusable with Django right now?

Christophe Pettus

unread,
Apr 7, 2012, 2:56:37 PM4/7/12
to django...@googlegroups.com

On Apr 7, 2012, at 11:41 AM, Oleg Korsak wrote:

> So looks PostGIS 2.0.0 is unusable with Django right now?

There's no reason you can't apply the SQL manually for the moment.
--
-- Christophe Pettus
x...@thebuild.com

Oleg Korsak

unread,
Apr 7, 2012, 3:01:46 PM4/7/12
to django...@googlegroups.com
sorry? which one SQL? :) I'm trying to run tests with Jenkins CI, but
it fails on creating DB.


7 апреля 2012 г. 21:56 пользователь Christophe Pettus
<x...@thebuild.com> написал:

> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to django-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>

Christophe Pettus

unread,
Apr 7, 2012, 3:46:29 PM4/7/12
to django...@googlegroups.com

On Apr 7, 2012, at 12:01 PM, Oleg Korsak wrote:

> sorry? which one SQL? :) I'm trying to run tests with Jenkins CI, but
> it fails on creating DB.

Ah, OK. The automated tests will probably fail, yes. For your application, you can work around this problem by manually created the indexes rather than letting Django do it.

Dominique Guardiola Falco

unread,
Jul 19, 2012, 2:23:03 PM7/19/12
to django...@googlegroups.com

Is there a tutorial describing how to do this somewhere please ?
Because right now, geodjango is unusable with PostGreSQL 9 + PostGIS 2

Oleg Korsak

unread,
Aug 3, 2012, 6:39:55 PM8/3/12
to django...@googlegroups.com
looks like GeoDjango is dead, it is not solved for almost half of the year

четверг, 19 июля 2012 г., 21:23:03 UTC+3 пользователь Dominique Guardiola Falco написал:

Thomas Lockhart

unread,
Aug 3, 2012, 6:55:43 PM8/3/12
to django...@googlegroups.com
On 8/3/12 3:39 PM, Oleg Korsak wrote:
> looks like GeoDjango is dead, it is not solved for almost half of the year
Really? What is the use case requiring a version 2.0.0? Seems that the
previous 1.x version works as advertised.

And typically folks don't jump on a x.0.0 of anything, expecting to see
it settle down after release with some minor fixes and additional
releases. That may be the case with the GeoDjango folks though I don't
know for sure.

hth

- Tom

Christophe Pettus

unread,
Aug 3, 2012, 7:02:01 PM8/3/12
to django...@googlegroups.com

On Aug 3, 2012, at 3:55 PM, Thomas Lockhart wrote:
> Really? What is the use case requiring a version 2.0.0?

PostGIS 2.0 has a lot of stuff in it, including things like KNN indexes; those alone are worth upgrading for.

> And typically folks don't jump on a x.0.0 of anything, expecting to see it settle down after release with some minor fixes and additional releases.

Well, 2.0 has been out for four months so far, so it's not exactly a brand-new release.

Will Tuladhar-Douglas

unread,
Aug 4, 2012, 1:59:34 AM8/4/12
to django...@googlegroups.com
Folks,

I just checked and I'm running Postgres 9.1 and Postgis 2.0SVN with GeoDjango (on Mac OSX 10.7.4) . I'm not doing anything very exciting with GeoDjango so far, so perhaps there are problems I haven't encountered, but it does run, and it is possible to encode locations using the GeoDjango ORM features. I didn't do anything special for Django (1.4.1) or GeoDjango, but setting up PostGis does need to be done right, and the special version of psycopgsl is required - all of that is well documented, though.

-WBTD.



--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/mmBsv7nuDvoJ.

To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



- - -- --- ----- -------- -------------
Will Tuladhar-Douglas 
Anthropology ∙ Environments ∙ Religions
Wellcome Trust Research Fellow, Nepal, 2011-12.
Visiting Scientist, ICIMOD SL/PR group.

Oleg Korsak

unread,
Aug 6, 2012, 11:28:50 AM8/6/12
to django...@googlegroups.com
Have you tried to create new project, then new app, then new model with PointField(geography=False) and then run manage.py syncdb? Here must be a problem :)


суббота, 4 августа 2012 г., 8:59:34 UTC+3 пользователь Will Tuladhar-Douglas написал:
Folks,

I just checked and I'm running Postgres 9.1 and Postgis 2.0SVN with GeoDjango (on Mac OSX 10.7.4) . I'm not doing anything very exciting with GeoDjango so far, so perhaps there are problems I haven't encountered, but it does run, and it is possible to encode locations using the GeoDjango ORM features. I didn't do anything special for Django (1.4.1) or GeoDjango, but setting up PostGis does need to be done right, and the special version of psycopgsl is required - all of that is well documented, though.

-WBTD.


On 4 Aug 2012, at 04:24, Oleg Korsak wrote:

looks like GeoDjango is dead, it is not solved for almost half of the year

четверг, 19 июля 2012 г., 21:23:03 UTC+3 пользователь Dominique Guardiola Falco написал:

Is there a tutorial describing how to do this somewhere please ?
Because right now, geodjango is unusable with PostGreSQL 9 + PostGIS 2

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/mmBsv7nuDvoJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Reiner Marquez

unread,
Aug 13, 2012, 1:34:27 PM8/13/12
to django...@googlegroups.com
hey guys, take a look at this, it saved my live on today.



El lunes, 6 de agosto de 2012 10:28:50 UTC-5, Oleg Korsak escribió:
Have you tried to create new project, then new app, then new model with PointField(geography=False) and then run manage.py syncdb? Here must be a problem :)


суббота, 4 августа 2012 г., 8:59:34 UTC+3 пользователь Will Tuladhar-Douglas написал:
Folks,

I just checked and I'm running Postgres 9.1 and Postgis 2.0SVN with GeoDjango (on Mac OSX 10.7.4) . I'm not doing anything very exciting with GeoDjango so far, so perhaps there are problems I haven't encountered, but it does run, and it is possible to encode locations using the GeoDjango ORM features. I didn't do anything special for Django (1.4.1) or GeoDjango, but setting up PostGis does need to be done right, and the special version of psycopgsl is required - all of that is well documented, though.

-WBTD.


On 4 Aug 2012, at 04:24, Oleg Korsak wrote:

looks like GeoDjango is dead, it is not solved for almost half of the year

четверг, 19 июля 2012 г., 21:23:03 UTC+3 пользователь Dominique Guardiola Falco написал:

Is there a tutorial describing how to do this somewhere please ?
Because right now, geodjango is unusable with PostGreSQL 9 + PostGIS 2

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/mmBsv7nuDvoJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Reply all
Reply to author
Forward
0 new messages