coderholic / django-cities

Countries and cities of the world for Django projects
MIT License
927 stars 372 forks source link

Data import work around fix for Spatialite lack of '.distance(...)' support. #50

Closed danielsokolowski closed 11 years ago

danielsokolowski commented 11 years ago

Implemented a work around using (the existing msql code) for handling Spatialite not being able to do '.distance(...)' query operations on SRID 4236 - ValueError: SQLite does not support linear distance calculations on geodetic coordinate systems. See more: https://github.com/coderholic/django-cities/issues/49

coderholic commented 11 years ago

Great, thanks!