Python Web Conf 2021 Python Web Conf logo

The Python Web Conf is the most in-depth Python conference for web developers.

Paolo Melchiorre with Josh Qualls at Python Web Conf 2021
Paolo Melchiorre with Josh Qualls at Python Web Conf 2021

🏷️ Title

Maps with Django

🗓️ Date

25th March 2021

🗣️ Language

🇬🇧 English

📍 Location

Online 🌐

🔗 Web

https://2021.pythonwebconf.com/speakers/paolo-melchiorre

🗒️ Abstract

Keeping in mind the Pythonic principle that “simple is better than complex” we’ll see how to create a web map with the Python based web framework Django using its GeoDjango module, storing geographic data in your local database on which to run geospatial queries.

📜 Description

A map in a website is the best way to make geographic data easily accessible to users because it represents, in a simple way, the information relating to a specific geographical area and is in fact used by many online services.

Implementing a web map can be complex and many adopt the strategy of using external services, but in most cases this strategy turns out to be a major data and cost management problem.

In this talk we’ll see how to create a web map with the Python based web framework Django using its GeoDjango module, storing geographic data in your local database on which to run geospatial queries.

Through this intervention you can learn how to add a map on your website, starting from a simple map based on Spatialite/SQLite up to a more complex and interactive map based on PostGIS/PostgreSQL.

🔃 Tweet

In my talk I created a map with Django to store all my mountains hikes. 🏞️
I used the photos of my latest mountain hike to delimit the various parts of my talk, from the easiest to the most challenging. 🧗‍♂️
Here the photos and also the route of the hike. 🗺️
https://www.wikiloc.com/hiking-trails/round-trip-hike-from-rifugio-pomilio-to-monte-amaro-57466667

🎥 Video

📊 Slides