Leaflet Mapping in RStudio - Adding Markers

  Рет қаралды 17,729

Brent Thorne

Brent Thorne

7 жыл бұрын

This video will show you how to add markers to your map from your own data table in RStudio using the leaflet package.
PATREON SUPPORT: / geomatechs
Check out the rest of this series here: • Leaflet Mapping in R/R...

Пікірлер: 36
@johnzhang5114
@johnzhang5114 3 жыл бұрын
detailed explanation is never enough, especially for beginners. Thanks very much
@chrisber
@chrisber 3 жыл бұрын
Bro these tutorials are fire! These deserve way more likes! Thank you so much!
@aritrachatterjee8057
@aritrachatterjee8057 6 жыл бұрын
Thanks a ton for uploading such videos. This is direct contribution to society. I learned a lot from this tutorial series for my upcoming weather app in shiny. Thank you once again.
@nkd3047
@nkd3047 2 жыл бұрын
man i was literally looking for a video on how to do a basic interactive leaflet map with points and popups. you delivered exactly that, thanks so much!
@willoutcault2043
@willoutcault2043 4 жыл бұрын
awesome video man, very clear and concise!
@juanmichelsen7592
@juanmichelsen7592 3 жыл бұрын
This video was just what I needed, thanks a lot mate!
@roryhall1592
@roryhall1592 5 жыл бұрын
Great Video, easy to follow, keep up the good work
@LauriBel
@LauriBel 5 жыл бұрын
Very helpful quick start, thank you!
@SadatQuayiumApu
@SadatQuayiumApu 6 жыл бұрын
Thanks Brent, great tutorial, man!
@ForrestJed
@ForrestJed 5 жыл бұрын
This was awesome. Thank you.
@hakudoshigle
@hakudoshigle 5 жыл бұрын
This is amazing!!!! I love u!
@saeedalkaabi202
@saeedalkaabi202 3 жыл бұрын
great video thanks
@philipwhite2088
@philipwhite2088 3 жыл бұрын
Thanks!
@meenamurmu7605
@meenamurmu7605 2 ай бұрын
Thanks
@sebastianb7935
@sebastianb7935 3 жыл бұрын
Hi Brent, is it possible to get inputboxes for lat and long and a button to get a marker on the map?
4 жыл бұрын
hi! thanks for the video it has helped me a lot but i have a problem, when i execute these two lines "my_data$lat
@hananshaaban1514
@hananshaaban1514 3 жыл бұрын
what if i want to do markers only on the map of egypt ? what should I write to display only egypt map? thanks
@k.charith373
@k.charith373 3 жыл бұрын
Hi great video, how to give separate colors clusterwise/groupwise?
@maikonewin
@maikonewin 6 жыл бұрын
Great video! I was just curious if it was possible to do this without any longitude and latitude points. For an example, I want to create a map of the US using data that has the city and state.
@brentthorne9423
@brentthorne9423 6 жыл бұрын
To my knowledge you will need to have coordinates for your own dataset. However you could try pulling country or city data from an on-line source and matching it to your data frame. For example a quick USA Cities search on google gave me a link to this geojson file on github: gist.github.com/Miserlou/c5cd8364bf9b2420bb29 I'm sure there are plenty of options like this one available even as R packages themselves.
@juanperezgarcia9963
@juanperezgarcia9963 Жыл бұрын
Any ideas on how to draw the routes between points in the map?? Similarly to how google maps does it.
@rajkumarbenny8160
@rajkumarbenny8160 5 жыл бұрын
Thank you for your videos ! The information provided here is invaluable. I do have a question, however. Is the Spatial data frame function required ? Where and how is it essential ?
@brentthorne9423
@brentthorne9423 4 жыл бұрын
Not essential for leaflet maps if the data has lat and long data that is already projected in WSG 84. Otherwise you would benefit from using a spatial data frame to properly convert it !
@Sports_Encyclopedia
@Sports_Encyclopedia 2 жыл бұрын
Hey, The problem I face while loading the markers 1000+, can you give. A solution for that
@lastletters3906
@lastletters3906 5 жыл бұрын
Thank you for this video I really needed it! Unfortunately it does not work for me. The scripts reports this error: Error in UseMethod("metaData") : no applicable method for 'metaData' applied to an object of class "function" I cannot understand what does it mean, could you help me? Thank you so much! Best, Giovanni
@abigailstickel2893
@abigailstickel2893 7 жыл бұрын
Hi - great videos. Thanks for sharing. Do you know when you will be posting how to make custom pop-ups in Leaflet in R Studio? Thanks!
@brentthorne9423
@brentthorne9423 7 жыл бұрын
Many thanks Abigail ! The good news is we are working on that video currently and it should be posted soon! Until then you can use this link to a reference page on the leaflet/ RStudio package (created by the leaflet team): rstudio.github.io/leaflet/popups.html
@abigailstickel2893
@abigailstickel2893 7 жыл бұрын
Great! I did read through those instructions and I'm trying to integrate your pop up instructions in this video with their first example so that I can get multiple pop-up boxes that are more cleanly formatted and include data from more than one column in the csv. I'll look out for your video.
@brentthorne9423
@brentthorne9423 7 жыл бұрын
kzbin.info/www/bejne/o4W3poh9ntires0 hopefully this helps!
@JohnLee-hs8sb
@JohnLee-hs8sb 6 жыл бұрын
sir, i wanna ask a question, is there any possibility to map the municipality? for example only i want to create an interactive map with my own town only with dataofcourse
@brentthorne9423
@brentthorne9423 6 жыл бұрын
Hello John, yes you can map only a municipality in a few different ways depending on what data you have. Option 1 - If you know the lat and long bounds of the municipality you want to map then you can set those to be the limit of your leaflet map and simply add your other data over the basemap/ custom map tiles. Option 2 - You can hold off from adding map tiles when you create the leaflet map object and just add in your region's boundary data if you have it. This will only display the data you have so you may need to be sure your data is up to date (ie new roads or buidlings). Again if you don't want the user to be scrolling around in other areas of the world map then you can set the bounds of the map to restrict that feature. Hope this helps, if you neeed more clarification let us know and maybe we can put up a video on it in the future! Cheers.
@numbersfunda5946
@numbersfunda5946 4 жыл бұрын
How can we reduce the size of icon?
@Marrocinoo
@Marrocinoo 4 жыл бұрын
Hello, first thanks for your videos, they are excellent, secondly I need help, I want to add a condition to the markers that I will plot ; In my project, I need to plot some car collisions that occured in New york, but I don't want to plot them all, I want only to plot those on which there were 1 death or more. PS : I have longitude, latitude columns and also a column with the deaths, for example : 0 , 1 , 2... Thanks!
@andy1992uk
@andy1992uk 3 жыл бұрын
Data.sp was redundant?
4 жыл бұрын
great video. couldnt use the popups...
Leaflet Mapping in RStudio - Styling Map Tiles
2:43
Brent Thorne
Рет қаралды 5 М.
Leaflet Mapping in RStudio - Adding Polylines
8:28
Brent Thorne
Рет қаралды 8 М.
Sigma girl and soap bubbles by Secret Vlog
00:37
Secret Vlog
Рет қаралды 15 МЛН
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 7 МЛН
لااا! هذه البرتقالة مزعجة جدًا #قصير
00:15
One More Arabic
Рет қаралды 14 МЛН
Leaflet Mapping in RStudio - Custom Popups
11:01
Brent Thorne
Рет қаралды 10 М.
GIS 101: Mapping data points in R
18:46
Milos Makes Maps
Рет қаралды 2,8 М.
Leaflet Mapping in RStudio - Introduction
6:08
Brent Thorne
Рет қаралды 18 М.
David Robinson - Ten Tremendous Tricks in the Tidyverse
20:41
Lander Analytics
Рет қаралды 29 М.
Host Leaflet Webmap on GitHub Pages
6:01
GIS Solutions
Рет қаралды 1 М.
Creating interactive maps in R
8:14
A&G Statworks
Рет қаралды 21 М.
Leaflet Add Image To Marker Popup
8:32
GIS Solutions
Рет қаралды 2,5 М.
Sigma girl and soap bubbles by Secret Vlog
00:37
Secret Vlog
Рет қаралды 15 МЛН