Questions tagged [pyspatialite]

3 questions
2
votes
0 answers

Stuck on pyenv with Django, sqlite and pysqlite with spatialite

I have tries every combination of brew, Django, python and sqlite I can think of. Possible the built-in version of sqlite is messing with me. I am trying to run the test suite for django-geojson (https://github.com/makinacorpus/django-geojson). The…
dyve
  • 5,893
  • 2
  • 30
  • 44
0
votes
1 answer

How to use UpdateLayerStatistics() and GeodesicLength() in Python 3 sqlite

Support for pyspatialite appears to have been overlooked for Python 3.x. The erstwhile replacement, sqlite3, is missing some critical functions such as UpdateLayerStatistics() and GeodesicLength(). The answer offered by @heibert here affirms that…
CNIDog
  • 374
  • 3
  • 18
0
votes
1 answer

Installing pyspatialite fails on ubuntu

pip install pyspatialite==2.6.2-spatialite.2.4.0-4 Fails on Ubuntu with the error: __main__.HeaderNotFoundException: cannot find proj_api.h, bailing out Doing sudo apt-get install libproj-dev libgeos-3.4.2 libgeos-dev turns this error…
Zags
  • 37,389
  • 14
  • 105
  • 140