-
Notifications
You must be signed in to change notification settings - Fork 88
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
Error when running manage.py mapit_UK_find_parents: GEOS_ERROR: TopologyException #159
Comments
The latest couple of Boundary-Lines have had invalid geometries for six polygons – the first of which alphabetically is Colville, hence why it dies where you quote. The latest version of |
I've updated my ami, as per your other replies. When running
|
This comment post-dates your other one, so I assume this is still an issue? Did you follow the steps I gave in #162 (comment) – start AMI, set the configuration for the UK, do the migration back/forward, then run install-site.sh to update the code? If so, you shouldn't need to migrate back/forwards again. I guess updating the code first off, then trying to migrate backwards won't work because the migrations in Django changed a lot between versions 1.6 and 1.7 of Django, and I assume the update will have pulled in a later version of Django. So it's trying to migrate backwards from the new migrations and that causes an issue (not sure precisely what it means, but that's all I can assume). If you have updated the code but not updated the configuration, probably easiest to just drop the database (I assume it's empty if you're wanting to migrate back/forwards!) and recreate it from scratch with a |
Gotcha. Just did a dropdb and then re-created everything. Up and running now. Thanks for your help. |
I'm attempting to setup my own mapit instance.
I've got the ami up and running and I'm trying to get the UK OS data imported, following the instructions here: http://mapit.poplus.org/docs/self-hosted/import/uk/
I'm running:
./manage.py mapit_UK_find_parents
.It works away for a bit and then outputs this error:
Am I doing something obviously wrong here?
The text was updated successfully, but these errors were encountered: