Skip to main content

Leonardo widgets related with Geo such as Google Map Widget or photo gallery with Geolocation etc..

Installation

pip install leonardo_geo

or as leonardo bundle

pip install django-leonardo["geo"]

Add leonardo_geo to APPS list, in the local_settings.py:

APPS = [
    ...
    'leonardo_geo'
    ...
]

Load new template to db

python manage.py sync_all

Optional Dependencies

For advance widgets and features this module use GeoDjango is used so a spatial database is required. We recommend PostGIS. Django’s docs include some installation instructions although it is renowned for being tricky.

Spatialite is another option although it can be tricky to set up. On Ubuntu, you can do the following:

$ sudo apt-get install spatialite-bin libspatialite3 libgeos++-dev libgdal-dev libproj0

The pysqlite python package is also required although it doesn’t support C extensions by default. To work-around this, there are two options:

  1. Download the package, edit setup.cfg to enable C extensions and install:

$ pip install pysqlite --no-install
$ vim $VIRTUAL_ENV/build/pysqlite/setup.cfg
$ pip install pysqlite
  1. Use a custom branch:

$ pip install git+git://github.com/tinio/pysqlite.git@extension-enabled#egg=pysqlite

Read More

Release files for leonardo-geo 2016.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for leonardo-geo 2016.3.0
File Size Uploaded
leonardo-geo-2016.3.0.tar.gz 6.0 kB Details

Release files / leonardo-geo-2016.3.0.tar.gz

Download URL leonardo-geo-2016.3.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
51de730dc5677e91fad01ea4a63a2722e89f5c7e0660648b4fd37a932f018b75
BLAKE2b-256 checksum
How to use checksums
06e034d5ca40a6111611616442a0c9a27e2ee36f0fc065037a05015e229eae7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2016.3.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page