Open tobias47n9e opened 8 years ago
Thanks for posting some feedback here!
I haven't worked with this for almost a year, and it is very probable that this tutorial is outdated.
Unfortunately I can't help very much. You might find a better support on stackoverflow mentioning spatialite with (geo)django.
If you find a solution, please come back to contribute it here! Or at least post a comment for the next ones :)
Good luck !
Thanks. I will post here, when I figured out my mistake or what needs updating.
From documentation:
If you’re using SpatiaLite 4.2+, you must put this in your settings: SPATIALITE_LIBRARY_PATH = 'mod_spatialite'
It works for me.
I found that using mysql for a start is the easiest way. Sure postgis/spatiallite are more advanced for GIS stuff. but to setup a quick strat Mysql works out of the box for me.
The solution the @sikmir, too it works for me.
This is:
you’re using SpatiaLite 4.2+, you must put this in your settings: SPATIALITE_LIBRARY_PATH = 'mod_spatialite'
The example is a little hard to get running on Django 1.8 and Fedora 22 (and for me, a Django learner).
When trying to load all the weather stations I always get the error:
I have these packages installed:
Not sure if anything else is relevant. Don't really know how to debug this.