Tableau Map Layers - an in-depth TUTORIAL on using Map Layers to show Points, Lines and Polygons

Sdílet
Vložit
  • čas přidán 11. 07. 2024
  • Learn how to use map layers in Tableau to create a 3-layer map with polygons, lines and points and also how to use the different map layer options.
    💾 Data sources
    Link to the Mauritius spatial data if you want to follow along: bit.ly/32AAlIt
    📊 Visualisations
    Completed workbook on Tableau Public: tabsoft.co/32SqmOJ
    📌 Chapters
    00:00 - Start
    00:28 - Dual Axis Maps (prior to map layers)
    00:57 - Map Layers - 2020.4
    01:23 - Map Layers 2021.4
    01:39 - Add first map layer - Admin Areas (polygons)
    03:10 - Add second map layer - Roads (lines)
    04:12 - Add third map layer - Education (points)
    05:45 - Disable selection on map
    06:20 - Rename map layers
    06:46 - Reorder map layers
    07:07 - Show / Hide map layers
    07:53 - Remove map layers
    08:07 - Add to zoom extent
    08:49 - Map formatting
    09:31 - Interactions between map layers
    🔗 Social Media Links
    Blog: datavis.blog ➝ Tableau tips and tutorials
    Twitter: / datavisblog
    Portfolio: public.tableau.com/app/profil...
    LinkedIn: / marcreiduk
    ▶ Subscribe for the latest tips and tutorials: bit.ly/TableauTutorials

Komentáře • 40

  • @alejodlc
    @alejodlc Před 9 měsíci

    Thank you Marc, You made my day!

  • @jameseichinger7262
    @jameseichinger7262 Před 7 měsíci +1

    HA! Thank you for explaining this in the context of the old dual axis map approach.
    I’m rebuilding an old dashboard designed back in Tableau 6.0 and was about to refresh my knowhow on dual axis maps. Map layers and your video make things A LOT easier!

    • @MarcReid
      @MarcReid  Před 6 měsíci

      Great to hear, James!

  • @dataman6744
    @dataman6744 Před 10 měsíci +1

    Excellent presentation thank you very much. Struggled a bit transitioning from my 2019.1. This helped loads!!

    • @MarcReid
      @MarcReid  Před 10 měsíci +2

      Great to hear. Glad it was useful.

  • @user-sy8cv2vf1f
    @user-sy8cv2vf1f Před 5 měsíci

    Beautifully Explained. Behtreen :) Keep it up so we can learn more. Never got this extent of explanation :)

    • @MarcReid
      @MarcReid  Před 5 měsíci

      Thanks! Glad to hear it was useful

  • @elfireii328
    @elfireii328 Před 7 měsíci

    Thank you! My group project was having trouble combining latitude and longitude data with spatial data. It would cause an error with the dual axys method.
    This one is the perfect method for what we were looking for!

  • @sidneyrodrigues8610
    @sidneyrodrigues8610 Před rokem +1

    Excellent!

  • @sudeshnasen6714
    @sudeshnasen6714 Před 9 měsíci

    Thanks a lot ! This is really helpful

  • @greglomuti2683
    @greglomuti2683 Před rokem +3

    Hi Marc,
    Great content. I noticed in the video when you are about to add the geometry field from roads and streets data, you point out the orange line on left and you mention how it has to do with blending and that’s not what we are doing here since we are layering. But I am using my own data set and doing a similar exercise but whenever I add a centroid from a new data set as a new layer it gives me an error that a relationship needs to be created between the data sets. Is there something I am missing? Since you mentioned you did no blending in the video

    • @MarcReid
      @MarcReid  Před rokem

      Thanks, Greg. Are you definitely bringing in a geospatial field and adding it as a new layer? If you drag in a non-geo field to the view from a secondary data source, Tableau will try to blend. If you're still having issues, I'd recommend posting the workbook on the Tableau forums so someone can take a closer look with examples. community.tableau.com/s/explore-forums

  • @manabeshray632
    @manabeshray632 Před rokem +1

    Hi Marc,
    Great content. Really helpful. I want to know one thing that can I set this Layer option was parameter in my dashboard? Like when I represent my dashboard, if I choose layer 1 it will show layer 1 and so on. I don't want that option on the map instead of that I want it as parameter. is it possible ?

    • @MarcReid
      @MarcReid  Před rokem

      Thanks. One way to do that is to use a parameter in a calculation and return your spatial object based on the parameter selection. For example: IF p.Select_Layer = 1 THEN [My_Spatial_Object] ELSE NULL END. And drag that calc onto the view as a map layer. It will then only show when the parameter is set to a value of 1.

  • @richardfinney2548
    @richardfinney2548 Před 2 lety +1

    Hi Marc, are these features only available in the 2021 version of Tableau? I have the 2019 version installed on my computer.

    • @MarcReid
      @MarcReid  Před 2 lety +1

      Hi Richard - Map Layers was released in 2020.4. (datavis.blog/2020/12/02/tableau-map-layers/). You can download Tableau Public for free and get started with Map Layers - public.tableau.com/en-us/s/download

  • @NikhilSivaraman
    @NikhilSivaraman Před 2 lety

    Hi Marc,
    Can you please elaborate on which files to download from the link? I'm not able to download the files. Also, it would be nice if you elaborated on spatial files please

    • @MarcReid
      @MarcReid  Před 2 lety

      Admin boundaries (polygons shape file) : data.humdata.org/dataset/cod-ab-mus
      Educations facilities (Points shape file): data.humdata.org/dataset/hotosm_mus_education_facilities
      Road (lines shape file): data.humdata.org/dataset/hotosm_mus_roads
      Spatial files contain spatial data (polygons, lines, points). www.ordnancesurvey.co.uk/business-government/our-partners/what-is-spatial-data

  • @koumospecial
    @koumospecial Před 2 lety +1

    Does that also work with csv files or is it only limited to spatial files?

    • @MarcReid
      @MarcReid  Před 2 lety +3

      If you have latitude and longitude values in your CSV file, you can turn them into spatial objects using the MakePoint() spatial function and then add those points to a map layer. You could also create lines from those points using MakeLine() and add those as a map layer.

    • @koumospecial
      @koumospecial Před 2 lety +1

      @@MarcReid Thank you sir!!! 👍👍👍Wow this is awesome!! 😍

    • @MarcReid
      @MarcReid  Před 2 lety

      Thanks!

  • @HeenaGargeno
    @HeenaGargeno Před rokem

    Hi, I am able to see the layer control icon and it is not showing up under map options as well. Do I need to update? how do I get this feature??

    • @MarcReid
      @MarcReid  Před rokem

      Hi - the layer control was introduced in 2021.2. See this video for more info: czcams.com/video/g6Ikidt8taQ/video.html

  • @madalinmd1119
    @madalinmd1119 Před 3 měsíci

    How can we add a filter for only one of the layers of the map? For example, I want to color all the province of a country based on sum(value) but then make a shape for the provinces that are bigger than 5 (for example).

    • @MarcReid
      @MarcReid  Před 3 měsíci +1

      something like: IF value>5 THEN [GEOGRAPHY] ELSE NULL END.
      If that doesn't work / not what you meant, then I'd recommend posting on the Tableau forums with an example workbook.

    • @madalinmd1119
      @madalinmd1119 Před 3 měsíci +1

      @@MarcReid yes sir, that worked. Thank you!

  • @oladipooladapo883
    @oladipooladapo883 Před 10 měsíci

    The disable selection tool isn't available in the Tableau 2023.1.0. How can I find it? Thank you!

    • @MarcReid
      @MarcReid  Před 10 měsíci

      Please can you confirm what you mean? thanks.

    • @oladipooladapo883
      @oladipooladapo883 Před 10 měsíci

      After you added the third layer on the map, you went on to disable selection on the map (time: 05:45). I created a dual-axis map on my worksheet in Tableau, but the layer of the map I imported from a spatial data (shapefile) is still enabling selection. How do I disable the selection? The version of the tableau I use is 2023.1.0. Thank you. @@MarcReid

    • @oladipooladapo883
      @oladipooladapo883 Před 10 měsíci

      @@MarcReid After you added the third layer on the map, you went on to disable selection on the map (time: 05:45). I created a dual-axis map on my worksheet in Tableau, but the layer of the map I imported from a spatial data (shapefile) is still enabling selection. How do I disable the selection? The version of the tableau I use is 2023.1.0. Thank you.

    • @MarcReid
      @MarcReid  Před 10 měsíci

      Thanks for clarifying. at this time stamp (6:06) czcams.com/video/ppo3d9HFMrc/video.htmlsi=NZ84EuD6KkbzhwJH&t=362 I select "Disable selection" from the drop down menu. Are you seeing that option?

    • @oladipooladapo883
      @oladipooladapo883 Před 10 měsíci

      @@MarcReid Thank you so much for your response, but the drop down option is not available in my Tableau version which is 2023.1.0.
      How else can I go about it? Thank you.

  • @ahmedal-wattar5624
    @ahmedal-wattar5624 Před rokem +1

    Great content Mark! Thanks. If I have a question that related to a project that I am working on, what is the best way to contact you if you don't mind. thanks

    • @MarcReid
      @MarcReid  Před rokem

      I'd recommend posting on the Tableau forums, Ahmed. You're welcome to tag me but most likely by the time I see it someone will have already answered. community.tableau.com/s/explore-forums