pgRouting + Geoserver + Leaflet JS #1 - Introduction

00:03:58
https://www.youtube.com/watch?v=6gfdQmFkVmE

Zusammenfassung

TLDRCe tutoriel présente la première vidéo d'une série sur la création d'une application de carte web capable de fournir des itinéraires. Les utilisateurs pourront entrer un point de départ et un point d'arrivée pour visualiser le chemin le plus court entre ces deux points. Pour y parvenir, des données réseau seront obtenues et chargées dans une base de données PostgreSQL. Le projet utilisera des algorithmes comme Dijkstra pour le calcul des distances. Ce développement passera par plusieurs étapes, y compris la préparation des données, la construction de la topologie du réseau, et le développement d'interfaces utilisateur pour l'interaction avec la carte.

Mitbringsel

  • 👨‍🏫 Introduction à la création d'une application de carte web.
  • 🌐 Utilisation de PostGIS pour gérer les données géographiques.
  • 🗺️ Implémentation d'un routage basé sur les données locales.
  • 🔄 Chargement de données réseau dans PostgreSQL.
  • 🛤️ Utilisation de l'algorithme de Dijkstra pour le calcul des itinéraires.

Zeitleiste

  • 00:00:00 - 00:03:58

    Dans cette première vidéo d'une série, nous allons apprendre à créer une application de carte Web avec des fonctionnalités de routage. Nous allons utiliser le framework 'Vigil' pour développer notre projet. Nous aborderons les défis liés à l'orientation entre deux points, comme ceux déjà résolus par des applications comme Google Maps. Nous explorerons comment utiliser des plugins communautaires tels que 'Deliberate Routing Machine' pour obtenir des directions et le chemin le plus court. Si nos données sont locales et non disponibles via des services externes, nous allons construire une application capable de déterminer les directions entre deux points. Nous suivrons plusieurs étapes, notamment l'acquisition de données réseau, la préparation d'une base de données PostgreSQL avec une extension spécifique, et le chargement de vos données. Enfin, nous développerons une interface avec 'Leaflet' pour permettre aux utilisateurs de sélectionner des points de départ et d'arrivée et d'afficher le chemin le plus court.

Mind Map

Video-Fragen und Antworten

  • Quel est l'objectif de ce tutoriel?

    L'objectif est de construire une application de carte web qui permet de sélectionner des points de départ et d'arrivée pour obtenir le chemin le plus court entre ces points.

  • Quelles technologies sont utilisées dans ce projet?

    Le projet utilise le logiciel PostgreSQL avec l'extension PostGIS, ainsi que des plugins de routage comme Dijkstra.

  • Comment les données de réseau sont-elles acquises?

    Les données de réseau sont acquises à partir de fichiers tels que des fichiers shapefile.

  • Quel algorithme est utilisé pour trouver le chemin le plus court?

    L'algorithme de Dijkstra est utilisé pour calculer la distance la plus courte entre deux points.

  • Comment les données sont-elles chargées dans la base de données?

    Les données sont chargées dans PostgreSQL après avoir créé la base de données et installé les extensions nécessaires.

Weitere Video-Zusammenfassungen anzeigen

Erhalten Sie sofortigen Zugang zu kostenlosen YouTube-Videozusammenfassungen, die von AI unterstützt werden!
Untertitel
en
Automatisches Blättern:
  • 00:00:00
    hello guys and welcome to this tutorial
  • 00:00:02
    this is the first video in a series
  • 00:00:04
    where I'll be showing you on how you can
  • 00:00:06
    build a web map application with routing
  • 00:00:09
    functionalities we are going to use
  • 00:00:11
    vigil team together in your server and
  • 00:00:13
    delete the years to achieve our goal
  • 00:00:16
    usually when you're building with
  • 00:00:18
    mapping application we have failed the
  • 00:00:21
    challenge of wanting to know the
  • 00:00:22
    direction from one place to another you
  • 00:00:25
    want to get the shortest distance if you
  • 00:00:27
    look at application like Maps they
  • 00:00:29
    already provide these functionalities
  • 00:00:31
    wherever you can input the fast the
  • 00:00:34
    start point and then the destination and
  • 00:00:36
    then you will be given a route like this
  • 00:00:39
    when you simply place the yes you can
  • 00:00:42
    use plugins provided by the community
  • 00:00:44
    for example deliberate routing machine
  • 00:00:47
    which provides you with these
  • 00:00:49
    functionalities in little details so
  • 00:00:51
    it's like how do you you use this
  • 00:00:53
    plug-in you live like this and then it
  • 00:00:55
    uses some providers like Oh SM to give
  • 00:00:59
    you the directions you can also use map
  • 00:01:02
    box gives which provides a directions
  • 00:01:04
    API which you can also use to query the
  • 00:01:07
    directions and then get the shortest
  • 00:01:09
    distance and the path between two points
  • 00:01:12
    but what if you are you have your local
  • 00:01:15
    data and this data for example is not
  • 00:01:17
    available move Maps not available no
  • 00:01:20
    accent but you want to quickly show the
  • 00:01:23
    directions or the path or the distance
  • 00:01:26
    between two points so in this case this
  • 00:01:31
    is what we are going to exactly build
  • 00:01:34
    our end goal is to be able to get a map
  • 00:01:39
    where body have a means of selecting the
  • 00:01:42
    starting point and the end point and
  • 00:01:44
    then she'll be able to get the path
  • 00:01:46
    between these two points we are going to
  • 00:01:49
    use the ninja costura algorithm provider
  • 00:01:51
    in the Pidgey routine to get this
  • 00:01:54
    shuttle distance using shortest the path
  • 00:01:57
    between two points using the shortest
  • 00:02:00
    distance allegory builder the ninja
  • 00:02:02
    kisra
  • 00:02:02
    by only factoring in the distance are
  • 00:02:05
    the costing mechanism so
  • 00:02:09
    when you are going to build this
  • 00:02:11
    application you love to follow a few
  • 00:02:14
    steps the first one will be to acquire
  • 00:02:17
    the network data this is of course the
  • 00:02:20
    data that you use to build the network
  • 00:02:21
    and then this is like the roads that you
  • 00:02:25
    use to get it apart between some two
  • 00:02:29
    points and then you link to prepare a
  • 00:02:31
    PostgreSQL database with the post miss
  • 00:02:34
    extension and then you need to load your
  • 00:02:38
    data out of a database after you have
  • 00:02:40
    created the extension click the database
  • 00:02:44
    you need to load the data into the
  • 00:02:46
    database you see maybe shape to a piece
  • 00:02:51
    L shape lower down or something like the
  • 00:02:55
    art or dr to load this data in the
  • 00:02:58
    database and then the next thing we want
  • 00:03:00
    to do is to build the network to create
  • 00:03:02
    the topology out of these data that you
  • 00:03:05
    are inputting the database and then the
  • 00:03:08
    next step will be to load or publish
  • 00:03:11
    this design in your server and then the
  • 00:03:13
    other thing will be to develop now the
  • 00:03:16
    leaflet chairs which will be able now to
  • 00:03:19
    acquire the data that we publish in
  • 00:03:22
    yourself and create SQL use in your
  • 00:03:25
    server that will be used to get this to
  • 00:03:29
    run our logic so the clients will be the
  • 00:03:33
    one that will show us they were to input
  • 00:03:36
    the mappers so it will be this one this
  • 00:03:39
    is what we a target to achieve to AB a
  • 00:03:43
    map where we can input date we can
  • 00:03:46
    select the starting point and the
  • 00:03:48
    destination and then we get the path the
  • 00:03:51
    shortest path between these two points
  • 00:03:54
    so let's get started
Tags
  • tutoriel
  • carte web
  • routing
  • Dijkstra
  • PostGIS
  • PostgreSQL
  • itinéraires
  • réseau de données
  • algorithme
  • application web