<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Multipoint GeoJson data to map in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Multipoint-GeoJson-data-to-map/m-p/1264280#M3295</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to Power Bi and I would like to achieve a map with multipoints from a geoJson data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example geoJson data with 2 points (coordinates)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;  &lt;SPAN&gt;"type"&lt;/SPAN&gt;: &lt;SPAN&gt;"FeatureCollection"&lt;/SPAN&gt;,&lt;BR /&gt;  &lt;SPAN&gt;"features"&lt;/SPAN&gt;: [&lt;BR /&gt;    {&lt;BR /&gt;      &lt;SPAN&gt;"type"&lt;/SPAN&gt;: &lt;SPAN&gt;"Feature"&lt;/SPAN&gt;,&lt;BR /&gt;      &lt;SPAN&gt;"geometry"&lt;/SPAN&gt;: {&lt;BR /&gt;        &lt;SPAN&gt;"type"&lt;/SPAN&gt;: &lt;SPAN&gt;"MultiPoint"&lt;/SPAN&gt;,&lt;BR /&gt;        &lt;SPAN&gt;"coordinates"&lt;/SPAN&gt;: [&lt;BR /&gt;          [&lt;BR /&gt;            &lt;SPAN&gt;4.446657&lt;/SPAN&gt;,&lt;BR /&gt;            &lt;SPAN&gt;51.02457&lt;BR /&gt;&lt;/SPAN&gt;          ],&lt;BR /&gt;          [&lt;BR /&gt;            &lt;SPAN&gt;4.479846&lt;/SPAN&gt;,&lt;BR /&gt;            &lt;SPAN&gt;50.944796&lt;BR /&gt;&lt;/SPAN&gt;          ]&lt;BR /&gt;        ]&lt;BR /&gt;      },&lt;BR /&gt;      &lt;SPAN&gt;"properties"&lt;/SPAN&gt;: {&lt;BR /&gt;        &lt;SPAN&gt;"prop0"&lt;/SPAN&gt;: &lt;SPAN&gt;"value0"&lt;BR /&gt;&lt;/SPAN&gt;      }&lt;BR /&gt;    }&lt;BR /&gt;  ]&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;And here is an example what I would like to achieve.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-07-31_10-19-34.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/323859i0824FB986D2AF1E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-07-31_10-19-34.png" alt="2020-07-31_10-19-34.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I couldn't find much information on web how I can use Power Bi with geoJson data. Is that possible to achieve multipoint map with Power Bi? How can i do that? Thanx&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jul 2020 08:26:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-07-31T08:26:55Z</dc:date>
    <item>
      <title>Multipoint GeoJson data to map</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Multipoint-GeoJson-data-to-map/m-p/1264280#M3295</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to Power Bi and I would like to achieve a map with multipoints from a geoJson data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example geoJson data with 2 points (coordinates)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;  &lt;SPAN&gt;"type"&lt;/SPAN&gt;: &lt;SPAN&gt;"FeatureCollection"&lt;/SPAN&gt;,&lt;BR /&gt;  &lt;SPAN&gt;"features"&lt;/SPAN&gt;: [&lt;BR /&gt;    {&lt;BR /&gt;      &lt;SPAN&gt;"type"&lt;/SPAN&gt;: &lt;SPAN&gt;"Feature"&lt;/SPAN&gt;,&lt;BR /&gt;      &lt;SPAN&gt;"geometry"&lt;/SPAN&gt;: {&lt;BR /&gt;        &lt;SPAN&gt;"type"&lt;/SPAN&gt;: &lt;SPAN&gt;"MultiPoint"&lt;/SPAN&gt;,&lt;BR /&gt;        &lt;SPAN&gt;"coordinates"&lt;/SPAN&gt;: [&lt;BR /&gt;          [&lt;BR /&gt;            &lt;SPAN&gt;4.446657&lt;/SPAN&gt;,&lt;BR /&gt;            &lt;SPAN&gt;51.02457&lt;BR /&gt;&lt;/SPAN&gt;          ],&lt;BR /&gt;          [&lt;BR /&gt;            &lt;SPAN&gt;4.479846&lt;/SPAN&gt;,&lt;BR /&gt;            &lt;SPAN&gt;50.944796&lt;BR /&gt;&lt;/SPAN&gt;          ]&lt;BR /&gt;        ]&lt;BR /&gt;      },&lt;BR /&gt;      &lt;SPAN&gt;"properties"&lt;/SPAN&gt;: {&lt;BR /&gt;        &lt;SPAN&gt;"prop0"&lt;/SPAN&gt;: &lt;SPAN&gt;"value0"&lt;BR /&gt;&lt;/SPAN&gt;      }&lt;BR /&gt;    }&lt;BR /&gt;  ]&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;And here is an example what I would like to achieve.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-07-31_10-19-34.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/323859i0824FB986D2AF1E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-07-31_10-19-34.png" alt="2020-07-31_10-19-34.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I couldn't find much information on web how I can use Power Bi with geoJson data. Is that possible to achieve multipoint map with Power Bi? How can i do that? Thanx&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 08:26:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Multipoint-GeoJson-data-to-map/m-p/1264280#M3295</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-31T08:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Multipoint GeoJson data to map</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Multipoint-GeoJson-data-to-map/m-p/1279530#M3300</link>
      <description>&lt;P&gt;Step 1. Save your geojson in Json format : GeoJson.Json&lt;/P&gt;&lt;P&gt;Step 2. Paste below advanced query in the advanced editor in transform data :&lt;BR /&gt;&amp;nbsp;let&lt;BR /&gt;Source = Json.Document(File.Contents("C:\Users\Desktop\geojson.json")),&lt;BR /&gt;features = Source[features],&lt;BR /&gt;features1 = features{0},&lt;BR /&gt;#"Converted to Table" = Record.ToTable(features1),&lt;BR /&gt;#"Transposed Table" = Table.Transpose(#"Converted to Table"),&lt;BR /&gt;#"Promoted Headers" = Table.PromoteHeaders(#"Transposed Table", [PromoteAllScalars=true]),&lt;BR /&gt;#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"type", type text}, {"geometry", type any}, {"properties", type any}}),&lt;BR /&gt;#"Expanded geometry" = Table.ExpandRecordColumn(#"Changed Type", "geometry", {"type", "coordinates"}, {"type.1", "coordinates"}),&lt;BR /&gt;#"Expanded properties" = Table.ExpandRecordColumn(#"Expanded geometry", "properties", {"prop0"}, {"prop0"}),&lt;BR /&gt;#"Expanded coordinates" = Table.ExpandListColumn(#"Expanded properties", "coordinates"),&lt;BR /&gt;#"Extracted Values" = Table.TransformColumns(#"Expanded coordinates", {"coordinates", each Text.Combine(List.Transform(_, Text.From), ","), type text}),&lt;BR /&gt;#"Split Column by Delimiter" = Table.SplitColumn(#"Extracted Values", "coordinates", Splitter.SplitTextByDelimiter(",", QuoteStyle.Csv), {"coordinates.1", "coordinates.2"}),&lt;BR /&gt;#"Changed Type1" = Table.TransformColumnTypes(#"Split Column by Delimiter",{{"coordinates.1", type number}, {"coordinates.2", type number}})&lt;BR /&gt;in&lt;BR /&gt;#"Changed Type1"&lt;BR /&gt;&lt;BR /&gt;Step 3: Close and Apply&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;step 4: Change the data type of cordinates.1 and cordinates.2 by selecting the columns to logitude and latitude respectively.&lt;BR /&gt;step 5 : pull the logitude and latitude in map visual.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Final.PNG" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/328300i687D7AFEB62E190F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Final.PNG" alt="Final.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Transformdata--&amp;gt;Getdata--&amp;gt;Newquery--&amp;gt;advancededitor--&amp;gt; cody the code and paste--&amp;gt; apply" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/328301i11DAD3F14A68B26A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Transformdata.PNG" alt="Transformdata--&amp;gt;Getdata--&amp;gt;Newquery--&amp;gt;advancededitor--&amp;gt; cody the code and paste--&amp;gt; apply" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Transformdata--&amp;gt;Getdata--&amp;gt;Newquery--&amp;gt;advancededitor--&amp;gt; cody the code and paste--&amp;gt; apply&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 07:37:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Multipoint-GeoJson-data-to-map/m-p/1279530#M3300</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-07T07:37:46Z</dc:date>
    </item>
  </channel>
</rss>

