<?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 R interactive map in Power BI using raster and shapefile in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/R-interactive-map-in-Power-BI-using-raster-and-shapefile/m-p/719422#M19720</link>
    <description>&lt;P&gt;Hello!&lt;BR /&gt;I'm trying to load my script in power BI, which is:&lt;/P&gt;&lt;P&gt;-----------&lt;BR /&gt;library(ggplot2)&lt;BR /&gt;library(ggmap)&lt;BR /&gt;library(plotly)&lt;BR /&gt;library(raster)&lt;BR /&gt;library(sf)&lt;BR /&gt;library(rgdal)&lt;BR /&gt;library(rgeos)&lt;BR /&gt;library(mapview)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;setwd("C:/Users/Daniel/Desktop/IDGeo/Earth analytics course_Learn data science/data/week 4")&lt;/P&gt;&lt;P&gt;ndwi &amp;lt;- raster("california/SJER/vector_data/2017_06_04_NDWI_CLIP.tif")&lt;/P&gt;&lt;P&gt;pivos &amp;lt;- readOGR(dsn = "california/SJER/vector_data",&lt;BR /&gt;"aneis_anapaula_0904")&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;M2&amp;lt;- mapView(ndwi, alpha.regions = 0.50, na.color = "transparent")&lt;BR /&gt;m4 &amp;lt;- mapview(pivos, lwd = 1.5, color = "gray40")&lt;/P&gt;&lt;P&gt;M2 + m4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------&lt;BR /&gt;ndwi = my raster data&lt;BR /&gt;pivos = my shapefile&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;In R it works perfectly and returns an interactive map containing my raster data plus myshapefile, however, in pwrbi nothing happen...&lt;BR /&gt;&lt;BR /&gt;Anyone knows what could be happening?&lt;BR /&gt;Or, anyone could suggest another way to plot raster + shapefile interactive maps in power BI using R?&lt;BR /&gt;Thanks very much, best regards.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jun 2019 19:50:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-06-19T19:50:53Z</dc:date>
    <item>
      <title>R interactive map in Power BI using raster and shapefile</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-interactive-map-in-Power-BI-using-raster-and-shapefile/m-p/719422#M19720</link>
      <description>&lt;P&gt;Hello!&lt;BR /&gt;I'm trying to load my script in power BI, which is:&lt;/P&gt;&lt;P&gt;-----------&lt;BR /&gt;library(ggplot2)&lt;BR /&gt;library(ggmap)&lt;BR /&gt;library(plotly)&lt;BR /&gt;library(raster)&lt;BR /&gt;library(sf)&lt;BR /&gt;library(rgdal)&lt;BR /&gt;library(rgeos)&lt;BR /&gt;library(mapview)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;setwd("C:/Users/Daniel/Desktop/IDGeo/Earth analytics course_Learn data science/data/week 4")&lt;/P&gt;&lt;P&gt;ndwi &amp;lt;- raster("california/SJER/vector_data/2017_06_04_NDWI_CLIP.tif")&lt;/P&gt;&lt;P&gt;pivos &amp;lt;- readOGR(dsn = "california/SJER/vector_data",&lt;BR /&gt;"aneis_anapaula_0904")&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;M2&amp;lt;- mapView(ndwi, alpha.regions = 0.50, na.color = "transparent")&lt;BR /&gt;m4 &amp;lt;- mapview(pivos, lwd = 1.5, color = "gray40")&lt;/P&gt;&lt;P&gt;M2 + m4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------&lt;BR /&gt;ndwi = my raster data&lt;BR /&gt;pivos = my shapefile&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;In R it works perfectly and returns an interactive map containing my raster data plus myshapefile, however, in pwrbi nothing happen...&lt;BR /&gt;&lt;BR /&gt;Anyone knows what could be happening?&lt;BR /&gt;Or, anyone could suggest another way to plot raster + shapefile interactive maps in power BI using R?&lt;BR /&gt;Thanks very much, best regards.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 19:50:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-interactive-map-in-Power-BI-using-raster-and-shapefile/m-p/719422#M19720</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-19T19:50:53Z</dc:date>
    </item>
  </channel>
</rss>

