Pre-release
This release is a pre-release and may not be stable for production use.
django-atlas
===============
Geolocation models, data and tools using GeoDjango
Requirements
------------
The following were used for development/testing:
1. Django 1.3
2. PostgreSQL 9.1
3. PostGIS 1.5.2
4. SQLite 3.7.9
5. libspatialite3
6. django-photologue 2.7 (fork maintained by Praekelt at https://github.com/praekelt/django-photologue)
7. django-category 0.1 (at https://github.com/praekelt/django-category)
8. django-tastypie 0.9.11
9. libgeoip1 1.4.8
You might need to apply a PostGIS patch to Django that can be found here: https://code.djangoproject.com/ticket/16778. If you get a database encoding error when loading
initial data, your version of Django has not been patched. You can also use SQLite and MySQL with django-atlas, although MySQL is very lacking in terms of GIS.
Add the following to your INSTALLED_APPS:
1. django.contrib.gis
2. django.contrib.admin
3. atlas
4. photologue
5. category
6. tastypie
GeoDjango has some additional installation requirements. They can be found here: https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/.
Follow those instructions and create a spatial database. Then add it to the DATABASES dictionary in your settings as the default database.
::
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME': 'demo_geo',
'USER': 'demo',
'PASSWORD': 'demo',
'HOST': 'localhost',
'PORT': '',
}
}
Atlas uses MaxMind's IP geolocation library and datasets. The following settings need to be included for this to work:
::
GEOIP_PATH = '.../django-atlas/atlas/datasets/MaxMind/'
GEOIP_CITY = 'GeoLiteCity.dat'
GEOIP_COUNTRY = 'GeoIPv6.dat'
You can also add a Google Maps API key setting (see below). This will enable the LonLatWidget to use Google Maps for selecting coordinates.
::
DJANGO_ATLAS = {
'google_maps_api_key': 'XXX...',
}
Datasets
--------
The geo data required by django-atlas can be downloaded at https://github.com/downloads/praekelt/django-atlas/data_postgresql.tbz2 for PostgreSQL or
https://github.com/downloads/praekelt/django-atlas/data_mysql.tbz2 for MySQL. Extract data.sql and load the data using ``psql -U user -W -d demo_geo < data.sql`` for PostgreSQL, or ``mysql -u user -p -D demo_geo < data.sql``
for MySQL.
MaxMind's IP geolocation datasets are available at http://www.maxmind.com/download/geoip/database/. MaxMind updates these datasets on a regular basis.Authors
=======
Praekelt Foundation
-------------------
* Rizmari Versfeld
===============
Geolocation models, data and tools using GeoDjango
Requirements
------------
The following were used for development/testing:
1. Django 1.3
2. PostgreSQL 9.1
3. PostGIS 1.5.2
4. SQLite 3.7.9
5. libspatialite3
6. django-photologue 2.7 (fork maintained by Praekelt at https://github.com/praekelt/django-photologue)
7. django-category 0.1 (at https://github.com/praekelt/django-category)
8. django-tastypie 0.9.11
9. libgeoip1 1.4.8
You might need to apply a PostGIS patch to Django that can be found here: https://code.djangoproject.com/ticket/16778. If you get a database encoding error when loading
initial data, your version of Django has not been patched. You can also use SQLite and MySQL with django-atlas, although MySQL is very lacking in terms of GIS.
Add the following to your INSTALLED_APPS:
1. django.contrib.gis
2. django.contrib.admin
3. atlas
4. photologue
5. category
6. tastypie
GeoDjango has some additional installation requirements. They can be found here: https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/.
Follow those instructions and create a spatial database. Then add it to the DATABASES dictionary in your settings as the default database.
::
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME': 'demo_geo',
'USER': 'demo',
'PASSWORD': 'demo',
'HOST': 'localhost',
'PORT': '',
}
}
Atlas uses MaxMind's IP geolocation library and datasets. The following settings need to be included for this to work:
::
GEOIP_PATH = '.../django-atlas/atlas/datasets/MaxMind/'
GEOIP_CITY = 'GeoLiteCity.dat'
GEOIP_COUNTRY = 'GeoIPv6.dat'
You can also add a Google Maps API key setting (see below). This will enable the LonLatWidget to use Google Maps for selecting coordinates.
::
DJANGO_ATLAS = {
'google_maps_api_key': 'XXX...',
}
Datasets
--------
The geo data required by django-atlas can be downloaded at https://github.com/downloads/praekelt/django-atlas/data_postgresql.tbz2 for PostgreSQL or
https://github.com/downloads/praekelt/django-atlas/data_mysql.tbz2 for MySQL. Extract data.sql and load the data using ``psql -U user -W -d demo_geo < data.sql`` for PostgreSQL, or ``mysql -u user -p -D demo_geo < data.sql``
for MySQL.
MaxMind's IP geolocation datasets are available at http://www.maxmind.com/download/geoip/database/. MaxMind updates these datasets on a regular basis.Authors
=======
Praekelt Foundation
-------------------
* Rizmari Versfeld
Metadata
Release files for django-atlas 0.0.3-beta
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-atlas-0.0.3-beta.tar.gz | 19.7 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_atlas-0.0.3_beta-py2.7.egg | Legacy Egg format | - | - | Details |
| django_atlas-0.0.3_beta-py2.6.egg | Legacy Egg format | - | - | Details |
Total release size: 134.1 kB
Release files / django-atlas-0.0.3-beta.tar.gz
| Download URL | django-atlas-0.0.3-beta.tar.gz |
|---|---|
| Size | 19.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c0a1909d0f02e365dd254294b0e9d3ae8a1c9f4c609ca3ce923858011342458
|
|
BLAKE2b-256 checksum How to use checksums |
aaf3b63921f7db26d209a7823f41a0a48f5052245603ee47b726fbf0dc9b6ea2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_atlas-0.0.3_beta-py2.7.egg
| Download URL | django_atlas-0.0.3_beta-py2.7.egg |
|---|---|
| Size | 57.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
d5da37238159452a45b570d55964c360967b5b201c5bfc26a919c27fdba6cf51
|
|
BLAKE2b-256 checksum How to use checksums |
7686619e383f507039a6c63d51e71f91db7d06380f76bc6ed27c0e9748ea74fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_atlas-0.0.3_beta-py2.6.egg
| Download URL | django_atlas-0.0.3_beta-py2.6.egg |
|---|---|
| Size | 57.2 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
e39020bdef51b60a94e34dd9b75e957369702eb1e8ff2744f144aeaf42581068
|
|
BLAKE2b-256 checksum How to use checksums |
fd88a6264d065bcea58eb537cb38e2c2bcafe8ce064864120794242c9de54299
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |