PyCon Italia 2023 PyCon Italia 2023 logo

PyCon Italia is the national conference where professionals, researchers and enthusiasts of the most beautiful programming language gather together.

© 2023 Paolo Melchiorre CC BY-SA “Paolo Melchiorre with Lelio Campanile before his talk at PyCon Italia 2023 in Florence (Italy)”
© 2023 Paolo Melchiorre CC BY-SA “Paolo Melchiorre with Lelio Campanile before his talk at PyCon Italia 2023 in Florence (Italy)”

🏷️ Title

Maps with Django

🗓️ Date

26th May 2023

🗣️ Language

🇮🇹 Italian

📍 Location

Florence, Italy 🇮🇹

🔗 Web

https://pycon.it/it/event/maps-with-django

🗒️ 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).

🗺 Map

🎥 Video

www.youtube.com/watch?v=CbSgXTwR-dk

📊 Slides

speakerdeck.com/pauloxnet/maps-with-django-pycon-italia-2023