Skip to main content

GeoPrisma is a web mapping application

Project description

This is a Django version of GeoPrisma.

Requirements

Spatial database

Installation

Install Django-geoprisma

pip install django-geoprisma

Add this to yours installed apps

INSTALLED_APPS = (
  ...
  'modeltranslation',
  'django.contrib.gis',
  'geoprisma',
  'geoprisma.acl',
)

Note If you want to use the admin integration with django-modeltranslation, modeltranslation must be put before django.contrib.admin (only applies when using Django 1.7 or above).

Specify yours languages for django-modeltranslation

gettext = lambda s: s
LANGUAGES = (
  ('en',gettext('English')),
  ...
)

Your template context processors must look like this

TEMPLATE_CONTEXT_PROCESSORS = (
    "django.contrib.auth.context_processors.auth",
    "django.core.context_processors.debug",
    "django.core.context_processors.i18n",
    "django.core.context_processors.media",
    "django.core.context_processors.static",
    "django.core.context_processors.tz",
    "django.contrib.messages.context_processors.messages",
    "django.core.context_processors.request"
)

Sync your database

python manage.py syncdb

Load initial data

python manage.py loaddata default

Now you are ready to use geoprisma.

Usage

In a future documentation.

Thanks

To do

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-geoprisma-0.0.1.tar.gz (25.8 MB view details)

Uploaded Source

File details

Details for the file django-geoprisma-0.0.1.tar.gz.

File metadata

File hashes

Hashes for django-geoprisma-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d9f00c9ebf273ece14f8a3cbf93e9cc10baa0c49f5d39e265c633698520094e2
MD5 b2a0993ba9cd6b5c85bd734543021ad1
BLAKE2b-256 a9fc9fb32ff7242d73bb82c2febb0e25445eb38ab962db6e0bbaffce49714e50

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page