Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added support for postgis #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

added support for postgis #5

wants to merge 2 commits into from

Conversation

fission6
Copy link

added support for postgis2.0 utilizing code here:
https://code.djangoproject.com/ticket/16455

@stringfellow
Copy link

bump

@DemersM
Copy link

DemersM commented Jan 2, 2014

This workaround was working correctly with Django 1.4.4 but since Django 1.5 there is errors when creating indexes:

Installing indexes ...
Failed to install index for shapefile.Feature model: column "geom_point" of relation "shapefile_feature" already exists CONTEXT: SQL statement "ALTER TABLE public.shapefile_feature ADD COLUMN geom_po
int geometry(Point, 3857)" PL/pgSQL function addgeometrycolumn(character varying,character varying,characte
r varying,character varying,integer,character varying,integer,boolean) line 110 at EXECUTE statement
SQL statement "SELECT AddGeometryColumn('','',$1,$2,$3,$4,$5, $6)"
PL/pgSQL function addgeometrycolumn(character varying,character varying,integer, character varying,integer,boolean) line 5 at SQL statement

Installed 0 object(s) from 0 fixture(s)

Something need to be updated in the postgis creation.py?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants