Data Driven Maps With Python Folium & Leaflet.js

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

ความคิดเห็น • 159

  • @andrewiglinski148
    @andrewiglinski148 6 ปีที่แล้ว +20

    i have to be honest dude your projects have been the biggest help to my career

    • @TraversyMedia
      @TraversyMedia  6 ปีที่แล้ว +3

      That's awesome and it's why I do this :)

  • @Theoadu1
    @Theoadu1 6 ปีที่แล้ว +37

    Hi Brad, you don't cease to amaze me. You're an awesome person. Your tutorials have always kept me abreast with developments in programming world world. I am still waiting for my Nativescript tutorial...:)
    God bless you and your family!

    • @cairofrancis8878
      @cairofrancis8878 3 ปีที่แล้ว

      I know im randomly asking but does someone know of a trick to get back into an instagram account??
      I was stupid forgot my account password. I would appreciate any assistance you can give me

    • @oscaraugust2966
      @oscaraugust2966 3 ปีที่แล้ว

      @Cairo Francis instablaster =)

    • @cairofrancis8878
      @cairofrancis8878 3 ปีที่แล้ว

      @Oscar August Thanks so much for your reply. I found the site through google and Im in the hacking process now.
      I see it takes a while so I will reply here later when my account password hopefully is recovered.

    • @cairofrancis8878
      @cairofrancis8878 3 ปีที่แล้ว

      @Oscar August It worked and I finally got access to my account again. Im so happy!
      Thank you so much, you really help me out !

    • @oscaraugust2966
      @oscaraugust2966 3 ปีที่แล้ว

      @Cairo Francis Glad I could help =)

  • @kerenkalifa
    @kerenkalifa 4 ปีที่แล้ว

    Brad this is awesome!! I was just given an opportunity to join a company to get experience, it's kind of a student job, and the first thing they gave me is to build an app that involves GIS and API and yesterday I was so frustrated thinking here my chance goes away. I was literally looking at the google search bar all evening didn't know what to search for. and then I looked at your channel begging something related to what I should create will be there cos you're the only instructor that I can understand and actually do things as a result of your tutorials. and suddenly I ran into this video!!! Thank you so much!!! I think if it wasn't for you I would have given up the web development area a long time ago I owe you everything!!!! sorry for the long comment

  • @ralphremillard2533
    @ralphremillard2533 3 ปีที่แล้ว

    Best introduction to this stuff I've found - thanks!!!!

  • @vm727
    @vm727 6 ปีที่แล้ว +4

    Hi Brad, I was wondering if it's possible for you to do a video Tutorial about a e-commerce website. Showing us what are the best programming language for a e-commerce website and all the steps need it.
    Best of lucky and please never stop uploading videos.

  • @negassigebrekidan6743
    @negassigebrekidan6743 4 ปีที่แล้ว

    Followed your tutorial and worked perfectly for me.Thank you very much & you demonstrated the power of collaboration.

  • @pushkarsaraf524
    @pushkarsaraf524 6 ปีที่แล้ว +5

    Best programming teacher on TH-cam. Thanks for amazing tutorials.

  • @0x0MuGeN0x0
    @0x0MuGeN0x0 4 ปีที่แล้ว

    This was awesome!! I was trying out a map using Bokeh and it was driving me crazy at 2 in the night. Then I saw this video and managed to get some sound sleep and brilliant visualizations!

  • @maudentable
    @maudentable 6 ปีที่แล้ว

    Awesome Brad. You make this stuff easy for us.

  • @wizzi.sakl.1049
    @wizzi.sakl.1049 2 ปีที่แล้ว

    Thank you so much. My mind is more lightened and gonna build my own app for spatial analysis

  • @isofruitfruit9357
    @isofruitfruit9357 4 ปีที่แล้ว

    You just displayed to me the solution to the single biggest thing I definitely wanted to include into my project but had absolutely no idea how. Hot damn, thank you so much !

  • @michaelollom9964
    @michaelollom9964 6 ปีที่แล้ว

    Brad, this is a great introduction for integrating python and leaflet. Greatly appreciate the effort put into this tutorial and look forward to other GIS (mapping) examples in the future.

  • @Davidkiania
    @Davidkiania 5 ปีที่แล้ว

    Brad, Love this tutorial it’s clear, concise, relevant and easy to follow and implement.

  • @malikrumi1206
    @malikrumi1206 3 ปีที่แล้ว

    Amazing! Excellent! And all *without* the Google Maps API. Thank you!

  • @RomuloMagalhaesAutoTOPO
    @RomuloMagalhaesAutoTOPO 5 ปีที่แล้ว

    Hello Brad, simple and clear explanation about the FOLIUM library. Thank you.

  • @frozenintimeandspace
    @frozenintimeandspace 6 ปีที่แล้ว

    Brad, you are amazing. I have been learning so much from you.
    Thanks for every single bit you have taught me.

  • @guillermocava3568
    @guillermocava3568 6 ปีที่แล้ว +1

    7mins in and already more useful than my python college class

  • @2ndStringer
    @2ndStringer 5 ปีที่แล้ว

    Your tutorials are absolutely amazing. This one really inspired me for some new projects. Thank you!

  • @soumyazyx
    @soumyazyx 4 ปีที่แล้ว

    This is my first video regarding maps integration in python/django - and there could have been no better start. The pace/content/presentation - spot on. Keep spreading the knowledge.
    On a side note, how to integrate folium with django so that it gives me back a DIV(as opposed to html) which I can integrate with index.html, for example.Any pointer will be a great starting point.

  • @Arrato1977
    @Arrato1977 5 ปีที่แล้ว

    folium is simply amazing :P AMAZING TUTORIAL !!

  • @dovinhas
    @dovinhas 5 ปีที่แล้ว

    thanks for your versatility

  • @kunalusapkar3149
    @kunalusapkar3149 6 ปีที่แล้ว

    Hi brad i am following your Node.js, Express and MongoDB Dev to Deployment from safaribooks many things to learn thank you and god bless you

  • @tech-letters
    @tech-letters 5 ปีที่แล้ว +2

    Hi! You inspired me to create my own programming videos! Thank you so much :-)

  • @codingvicious6241
    @codingvicious6241 4 ปีที่แล้ว

    Great job bro, folium.Choropleth is the new way to start the function as of 3/29/2020.

  • @overnightmares
    @overnightmares 6 ปีที่แล้ว +3

    I wish there were 10 more Brads

    • @TraversyMedia
      @TraversyMedia  6 ปีที่แล้ว +2

      Thanks but my wife would hate that :)

    • @omthecoder8501
      @omthecoder8501 6 ปีที่แล้ว

      @@TraversyMedia hahaha😂😂😂

  • @lillyyang6711
    @lillyyang6711 3 ปีที่แล้ว

    Very helpful video! Quick question.. how to show the explorer window on the left of VSCode? I tried to change the display but didn't find the correct way of doing so.

  • @Skaxarrat
    @Skaxarrat 6 ปีที่แล้ว

    Nice library and nice tutorial, as always.

  • @VRWarehouse
    @VRWarehouse 6 ปีที่แล้ว +2

    Brad you the best.

  • @estebmun9462
    @estebmun9462 3 ปีที่แล้ว

    Great project and video, thankss for share!!!

  • @archtopo9658
    @archtopo9658 6 ปีที่แล้ว

    Brad, thanks for this amazing intro. Very beautiful

  • @lokeshpadmanabhan8465
    @lokeshpadmanabhan8465 6 ปีที่แล้ว

    Thank you sir 😍 I need more python videos like this

  • @filipecarvalho4496
    @filipecarvalho4496 6 ปีที่แล้ว +7

    Hey Brad, whats your next course on Udemy?

    • @TraversyMedia
      @TraversyMedia  6 ปีที่แล้ว +2

      Im doing an entry point to the rest of my courses. It will be on html5, css3 with the grid, flex, animation, Sass, UI building, etc

    • @VRWarehouse
      @VRWarehouse 6 ปีที่แล้ว

      @Malik Bagwala about 1 month from now.

    • @omthecoder8501
      @omthecoder8501 6 ปีที่แล้ว

      Just like Jonas course

  • @AskAW
    @AskAW 5 ปีที่แล้ว

    Love the way this guy says, "marker".

  • @Dre_Mylove
    @Dre_Mylove 2 ปีที่แล้ว

    Nice, I'm trying to rank airports based on the number of routes that travel to them. I want to generate a map to display this information. Thank you!

  • @Rajuantomer
    @Rajuantomer 4 ปีที่แล้ว

    Folium Error, Help!! im trying since too long to install folium but the module is never found when i run the app even though it is installed and inside the python/site-packages. what should i do? thanks a lot

  • @thebarbaricwelshman
    @thebarbaricwelshman 4 ปีที่แล้ว

    Nice tutorial!! I just wanted to point out that there is a mismatch between the data you have in us_unemployment.csv (31:52) and the resulting choropleth (see Iowa [IA] for the most extreme example). I think this might be a type error from manually inputting the ID.

  •  3 ปีที่แล้ว

    Hello, can we instantly reflect the data coming from a GPS module on the map? In sample raspberry pi circuit. how can we integrate? do you have any solution ideas? I can currently read the GPS data on raspberry pi.

  • @katietooher8472
    @katietooher8472 5 ปีที่แล้ว

    this video is awesome!! also i thought you were wearing a black pirate hat at first because of your chair outline

  • @chipweir9731
    @chipweir9731 3 ปีที่แล้ว

    I'm having trouble installing the folium module. It's in my pip list but when I run the import folium line, it sends back an error saying "unable to import 'folium'." Any ideas as to why this is happening? Great video though!

  • @andreigatej6704
    @andreigatej6704 6 ปีที่แล้ว +2

    Nice one! I was just looking for an alternative for the Google Maps API...

  • @meetipatel6259
    @meetipatel6259 5 ปีที่แล้ว +1

    how to add tooltip feature on polyline ..I need to show some information between two place can I add text on line ??

    • @mehsidd
      @mehsidd 4 ปีที่แล้ว

      Just wonder, did u got a solution !?

  • @uniquephilosophy935
    @uniquephilosophy935 2 ปีที่แล้ว

    Can the maps be saved to files other than .html files? I'm working on a personal project which is non-web software - how would I generate a map for it?

  • @jairosnyirenda
    @jairosnyirenda 2 ปีที่แล้ว

    Brad, thank you.

  • @kmcelwee17
    @kmcelwee17 5 ปีที่แล้ว +4

    What text editor is this? I'm loving the auto-fill suggestions that come up

  • @YaserAz
    @YaserAz 6 ปีที่แล้ว

    Thank you Brad.. really useful stuff as always :)

  • @siddhantmisra5664
    @siddhantmisra5664 6 ปีที่แล้ว

    Just did a project on this. Could you by any chance dig a bit deeper into this? Seems very interesting and would love to see your take on exploring this JS.

  • @ettionestuckeyii8274
    @ettionestuckeyii8274 2 ปีที่แล้ว

    is there a way to change the location that the file is saved at?

  • @SuryoTriAtmojo
    @SuryoTriAtmojo 5 ปีที่แล้ว

    This is awesome! thanks you for sharing!

  • @Praveenkumar-xw9di
    @Praveenkumar-xw9di 2 ปีที่แล้ว

    Have you placed any video on wms service, and classifying features from popup

  • @Sam-tg4ii
    @Sam-tg4ii 3 ปีที่แล้ว

    Is the map viewable only on the local machine? Can you send the HTML to someone to view?

  • @AndreJoviano
    @AndreJoviano 11 หลายเดือนก่อน

    Real-time map is it possible to do without refresh when loading new data?

  • @patolorde
    @patolorde 6 ปีที่แล้ว

    Thanks i love the python tutorials! thanksssss

  • @ramseyj3024
    @ramseyj3024 6 ปีที่แล้ว +2

    First as always. Great project! I will be doing this one today.

    • @TraversyMedia
      @TraversyMedia  6 ปีที่แล้ว +2

      Ramsey,
      have you created a super natural algorithm that reads TH-camrs minds to see when they are going to upload? :) lol thanks for watching

  • @jimlloydpesidas7741
    @jimlloydpesidas7741 5 ปีที่แล้ว +1

    is it posible to use Python Folium & Leaflet.js in raspberry pi 3 model b+? to create offline map there

    • @tech-letters
      @tech-letters 5 ปีที่แล้ว +1

      Hi, yes, thats possible. Just use Python & Folium library offline on raspberry.

    • @jimlloydpesidas7741
      @jimlloydpesidas7741 5 ปีที่แล้ว

      @@tech-letters thanks bro

  • @danrielly4716
    @danrielly4716 2 ปีที่แล้ว

    I get a "codec can't decode byte 0x90" error when I try link my geoJson file

  • @bengamrawiem3803
    @bengamrawiem3803 2 ปีที่แล้ว

    how can i make a popup when i select on one governorate? thank you

  • @mikecmw8492
    @mikecmw8492 6 ปีที่แล้ว

    Brad, I am using leaflet. Would you know how to get a bounding box from a user's selection? Meaning they can draw a box around an area/region and I need to capture the lower left and upper right corners.

  • @georgekibe1786
    @georgekibe1786 3 ปีที่แล้ว

    Very useful video from our teacher Brad.
    How can you make the information in the map dynamic?
    Such that a user can login and contribute the information? Just like we do on google maps?

  • @khadijasaroof5657
    @khadijasaroof5657 6 ปีที่แล้ว +4

    Please some ionic 4 projects.
    Thank You

  • @okalbob
    @okalbob 5 ปีที่แล้ว

    Awesome stuff!

  • @tthien93
    @tthien93 5 ปีที่แล้ว

    Hi Brad, I'm a novice just starting out with coding. Can you tell me which IDE you're using in this video? It looks rather neat!

  • @leandrostryjek5050
    @leandrostryjek5050 3 ปีที่แล้ว

    Hi Brad, thanks for this tutorial. I´m learnig python and folium and I have a question: how can i do to filter data on geojson objetc? Geojson has a lot of elements, and I need query for only few of them, something like "where" in SQL (where field = value).

  • @alayetmanel6986
    @alayetmanel6986 3 ปีที่แล้ว

    Hey, I have a question, I have multiple shp files and I want to use python to read and plot them or at least convert the shp into a geojson and to pandas df. I tried them all but l can't get what I want, which Lib I need ? Thank you I love your channel

  • @patolorde
    @patolorde 6 ปีที่แล้ว

    Hey Brad, could you show how to do the map inside a in an already existing page.
    I'm not sure if i have to use flask and views to do this.
    Thanks!

  • @isaacponsford1203
    @isaacponsford1203 5 ปีที่แล้ว

    I know this was a long time ago, but can you add functionality to these markers such as when a marker is clicked it calls a function in your program

  • @janhavimane2168
    @janhavimane2168 4 ปีที่แล้ว

    This is all good but when you add multiple choropleth maps in the single layercontrol it creates multiple legends which cover the entire map area. Which is a pain.

  • @maco-world
    @maco-world 4 ปีที่แล้ว

    Thank you so much for the tutorial!

  • @tarektarek6073
    @tarektarek6073 6 ปีที่แล้ว

    Exellent video!!!
    I was asking myself if you could show us how to make a popup when we read a geojson polygon file for example
    Thank you !!

  • @martin-xq7te
    @martin-xq7te 5 ปีที่แล้ว

    Great useful video

  • @BadPerson007
    @BadPerson007 5 ปีที่แล้ว

    Can you use leaflet.js without python, like with normal webpage(html, css and js)

  • @marcelverhoeven3514
    @marcelverhoeven3514 4 ปีที่แล้ว

    Great video!!
    Would it be possible to create on a RPi a Python program using a GPS sensor input. When now the RPi is moved and its location is equal to a given location stored in a GEO-JSON file then the RPi executes a task (example Led-ON)

  • @adlanazhar6174
    @adlanazhar6174 5 ปีที่แล้ว

    Hey guys, any idea why my generated html isn't showing the map at all? It's just gray stuff when I opened the html file. The only code I have in it is
    import folium
    import pandas as pd
    # Make an empty map
    m = folium.Map(location=[42.3601,-71.0589], tiles="Mapbox Bright", zoom_start=5)
    # Save it as html
    m.save('mymap.html')

  • @acinad4605
    @acinad4605 3 ปีที่แล้ว

    Sir how can I resize my map same as the size of device screen?

  • @jebbush2964
    @jebbush2964 6 ปีที่แล้ว

    Is it possible to create a rep locator with this method with a DB? google maps API now charges a lot of money to use their maps?

  • @trollenz
    @trollenz 4 ปีที่แล้ว

    Well, this is awesome... Thanks.

  • @sridharsubramonyan
    @sridharsubramonyan 2 ปีที่แล้ว

    Impressive !!

  • @chanchalrajguru9099
    @chanchalrajguru9099 4 ปีที่แล้ว

    Hi Guys, where can I find JSON file with co-ordinates for India? Just like he has at 24:05 Thanks in advance.

  • @Tntdruid
    @Tntdruid 6 ปีที่แล้ว +1

    Csn you make marker as a box?

  • @tyswenson7542
    @tyswenson7542 4 ปีที่แล้ว

    Fantastic Video! I have my map up and working great! Does anyone know how to add this to a layer on an existing map? It is saying it has to go to the map object directly instead of a feature group.

  • @angelosbirmpakos8488
    @angelosbirmpakos8488 5 ปีที่แล้ว

    Hi Brad! This is awesome. Although I have a question. How can I put multiple colors on different coordinates in the same state on the folium map?
    I mean like, lets say I want to show the temperature on Iowa state which is different in north and south, how could I specify different colors for those?Thanks

  • @___OmerAJ___
    @___OmerAJ___ 5 ปีที่แล้ว +2

    awesome.

  • @gabrielarayagarcia1607
    @gabrielarayagarcia1607 4 ปีที่แล้ว

    Where can I find the whole code of this tutorial

  • @pipi_delina
    @pipi_delina 5 ปีที่แล้ว

    Hello Brad, I am looking for pointers on developing something active like norse attack map based on some data source from syslog or apache access log. Kind regards

  • @saitaro
    @saitaro 6 ปีที่แล้ว

    Thanks for the tutorial, Brad! How do you find Python as opposed to PHP now after some time with the language?
    And ain't you gonna make a Django REST Framework + React course or at least a video? Not much lessons on this stack which is very powerful.

  • @rdmedic71
    @rdmedic71 5 ปีที่แล้ว

    Anyone else getting an error with the geoJson.io data? when getting the geoJson .io data and putting it in a JSON file and trying to draw a line, I get the error.
    JSONDecodeError: Expecting value: line 1 column 1 (char 0)
    I can create the map and the html file, but when I,
    VARIABLE = os.path.join(FILE_PATH)
    folium.GeoJson(VARIABLE, name='some_name').add_to(m)

  • @rohankadam3295
    @rohankadam3295 5 ปีที่แล้ว

    Where does that HTML file gets saved (3:40).. Can anyone help with the locaation

    • @BiancaAguglia
      @BiancaAguglia 5 ปีที่แล้ว

      It's saved in the current directory (for example, in this video, it's in the directory where Brad has the map.py program.) 😊

  • @MachineLearningforMentalHealth
    @MachineLearningforMentalHealth 4 ปีที่แล้ว

    Hey thanks for the tutorial. I tried to replicate it with the same data and same code - and it was a success - I got the map with appropriate shading. BUT - the legend came out BLACK in colour. Any ideas on how to resolve it?

  • @TheCodebookInc
    @TheCodebookInc 6 ปีที่แล้ว

    Hey Brad According to you which MacBook should I buy for Android and iOS development. Which can support react-native emulators, flutter Framework applications and python machine learning.

  • @bosebabu88
    @bosebabu88 4 ปีที่แล้ว

    Hi Brad, could you please make video to integrate Django with folium, i tried searching in net but not found any good reference.

  • @syedhussain5421
    @syedhussain5421 6 ปีที่แล้ว

    Good work👍

  • @akshitakhatri7389
    @akshitakhatri7389 4 ปีที่แล้ว

    hi guys, I am writing this code
    import folium
    m=folium.Map(location=[28.015824,73.331121],zoom_start=20)
    m.save("folium.html")
    but I couldn't see the map after running it.

  • @ishfaqmaknoo
    @ishfaqmaknoo 6 ปีที่แล้ว

    Hello sir traversy, i can loudly say you are amazing mentor,
    Request loop :- can you please make an project on angular, as i had already requested one two times, thanks

  • @UNKNOWN-vb6rl
    @UNKNOWN-vb6rl 6 ปีที่แล้ว

    HI brad , please make video to explain, steps for to be web dev , i have HTML, CSS but i don’t know what the next step

  • @MU_2000
    @MU_2000 6 ปีที่แล้ว

    Great thank YOU! for this video!!!

  • @nathanthreeleaf4534
    @nathanthreeleaf4534 5 ปีที่แล้ว

    Question for you: any experience using Pyinstaller to create an exe when also using folium in your script? I've been reaching out to anyone I can find that has experience with folium to see if they've ever successfully packaged their script into an exe without folium throwing an error. Any suggestions or solutions you may be able to offer would be much appreciated.

  • @danielbabu6010
    @danielbabu6010 6 ปีที่แล้ว

    Smthing is Crazy ! and Thank a lot "SIR" !

  • @sanoj_silva
    @sanoj_silva 6 ปีที่แล้ว

    Hey can we use this for production

  • @Tntdruid
    @Tntdruid 6 ปีที่แล้ว +1

    Cords from epsg.io/ does not work?

  • @welcometomathy
    @welcometomathy 2 ปีที่แล้ว

    Can it be used as a power Bi Visual?

  • @GIS-Engineer
    @GIS-Engineer 4 ปีที่แล้ว

    How WMS service will consume in django.