<html><head></head><body><div class="ydpf40151aeyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div dir="ltr" data-setdir="false">Hi Kris,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Your best bet will be to follow the recommendations of the others and figure out how to get rasters to load into Power Bi. This may be better approached by finding a Power Bi community and asking them, because you are likely not the first person to have attempted this.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">While you can download the vector data from OSM, it can be quite a challenge to style it to look nice. This is because you have to learn how OSM structures its data, which can be quite a steep learning curve.</div><div dir="ltr" data-setdir="false">Polygonizing the OSM tiles will not work, because they are not single band (grayscale) rasters, they are 3 band RGB images. </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">If the raster route does not work, something you can try is to use the OSMDownloader plugin in QGIS. The blog post below is one of many sources that show you how to download OSM data as vectors. </div><div dir="ltr" data-setdir="false"><a href="https://www.geodose.com/2020/08/how-to-download-osm-data-qgis.html" rel="nofollow" target="_blank">https://www.geodose.com/2020/08/how-to-download-osm-data-qgis.html</a><br></div><div dir="ltr" data-setdir="false">If you use the OSMDownloader plugin and click "load downloaded data" the data will be styled in QGIS similar to what you see on the OSM tiles. You would then be able to open the layer properties for the downloaded OSM points lines and polygons and get an idea of the type of logic you would need to apply to repeat the styling in Power Bi.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">-Thayer</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div><div><br></div>
        
        </div><div id="ydpb9b24e95yahoo_quoted_8839826734" class="ydpb9b24e95yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Thursday, August 12, 2021, 12:45:10 PM EDT, qgis-user-request@lists.osgeo.org <qgis-user-request@lists.osgeo.org> wrote:
                </div>
                <div>From: Kris Lagocki <<a href="mailto:kris.lagocki@gmail.com" rel="nofollow" target="_blank">kris.lagocki@gmail.com</a>><br></div><div><div dir="ltr">To: Ben Hur Pintor <<a href="mailto:bnhr.xyz@gmail.com" rel="nofollow" target="_blank">bnhr.xyz@gmail.com</a>><br></div><div dir="ltr">Cc: Richard McDonnell <<a href="mailto:richard.mcdonnell@opw.ie" rel="nofollow" target="_blank">richard.mcdonnell@opw.ie</a>>,<br></div><div dir="ltr">    "<a href="mailto:qgis-user@lists.osgeo.org" rel="nofollow" target="_blank">qgis-user@lists.osgeo.org</a>" <<a href="mailto:qgis-user@lists.osgeo.org" rel="nofollow" target="_blank">qgis-user@lists.osgeo.org</a>><br></div><div dir="ltr">Subject: Re: [Qgis-user] How can I export Vector & Raster layers<br></div><div dir="ltr">    together to import into mapshaper<br></div><div dir="ltr">Message-ID:<br></div><div dir="ltr">    <<a href="mailto:CAELc7aCL2fDQxxrkSf2a_aqyOO_UaDcaMT8MUuYX7WJJV0zDow@mail.gmail.com" rel="nofollow" target="_blank">CAELc7aCL2fDQxxrkSf2a_aqyOO_UaDcaMT8MUuYX7WJJV0zDow@mail.gmail.com</a>><br></div><div dir="ltr">Content-Type: text/plain; charset="utf-8"<br></div><div dir="ltr"><br></div><div dir="ltr">I'm using a shape file that I created and the OpenStreetMap from the XYZ<br></div><div dir="ltr">Tiles in the QGIS app.  Tableau has a lot more capability than Power BI ...<br></div><div dir="ltr"><br></div><div dir="ltr">When I export the 2 layers from QGIS, I want one to sit on top of the other<br></div><div dir="ltr">and be one file.  I'm thinking this might not be possible.  I did find a<br></div><div dir="ltr">Raster to Vector conversion in the app but I get an error message when I do<br></div><div dir="ltr">the conversion (Polygonize) on the OpenStreetMap raster layer.  Here's the<br></div><div dir="ltr">log:<br></div><div dir="ltr"><br></div><div dir="ltr">QGIS version: 3.20.1-Odense<br></div><div dir="ltr"><br></div><div dir="ltr">QGIS code revision: 1c3c5cd6<br></div><div dir="ltr"><br></div><div dir="ltr">Qt version: 5.15.2<br></div><div dir="ltr"><br></div><div dir="ltr">Python version: 3.9.5<br></div><div dir="ltr"><br></div><div dir="ltr">GDAL version: 3.3.1<br></div><div dir="ltr"><br></div><div dir="ltr">GEOS version: 3.9.1-CAPI-1.14.2<br></div><div dir="ltr"><br></div><div dir="ltr">PROJ version: Rel. 8.1.0, July 1st, 2021<br></div><div dir="ltr"><br></div><div dir="ltr">PDAL version: 2.3.0 (git-version: eac774)<br></div><div dir="ltr"><br></div><div dir="ltr">Processing algorithm?<br></div><div dir="ltr"><br></div><div dir="ltr">Algorithm 'Polygonize (raster to vector)' starting?<br></div><div dir="ltr"><br></div><div dir="ltr">Input parameters:<br></div><div dir="ltr"><br></div><div dir="ltr">{ 'BAND' : 1, 'EIGHT_CONNECTEDNESS' : False, 'EXTRA' : '', 'FIELD' : 'DN',<br></div><div dir="ltr">'INPUT' : 'crs=EPSG:3857&format&type=xyz&url=<br></div><div dir="ltr">https://tile.openstreetmap.org/%7Bz%7D/%7Bx%7D/%7By%7D.png&zmax=19&zmin=0',<br></div><div dir="ltr">'OUTPUT' : 'TEMPORARY_OUTPUT' }<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">GDAL command:<br></div><div dir="ltr"><br></div><div dir="ltr">gdal_polygonize.bat "crs=EPSG:3857&format&type=xyz&url=<br></div><div dir="ltr"><a href="https://tile.openstreetmap.org/%7Bz%7D/%7Bx%7D/%7By%7D.png&zmax=19&zmin=0" rel="nofollow" target="_blank">https://tile.openstreetmap.org/%7Bz%7D/%7Bx%7D/%7By%7D.png&zmax=19&zmin=0</a>"<br></div><div dir="ltr">C:/Users/klagocki/AppData/Local/Temp/processing_zlZPOT/758f871034414b008c7bbbadb636143e/OUTPUT.gpkg<br></div><div dir="ltr">-b 1 -f "GPKG" OUTPUT DN<br></div><div dir="ltr"><br></div><div dir="ltr">GDAL command output:<br></div><div dir="ltr"><br></div><div dir="ltr">gdal_polygonize [-8] [-nomask] [-mask filename] raster_file [-b band|mask]<br></div><div dir="ltr">[-q] [-f ogr_format] out_file [layer] [fieldname]<br></div><div dir="ltr"><br></div><div dir="ltr">Required parameter missing -<br></div><div dir="ltr"><br></div><div dir="ltr">The system cannot find the file specified.<br></div><div dir="ltr"><br></div><div dir="ltr">'url' is not recognized as an internal or external command,<br></div><div dir="ltr">operable program or batch file.<br></div><div dir="ltr"><br></div><div dir="ltr">'zmax' is not recognized as an internal or external command,<br></div><div dir="ltr">operable program or batch file.<br></div><div dir="ltr"><br></div><div dir="ltr">'zmin' is not recognized as an internal or external command,<br></div><div dir="ltr">operable program or batch file.<br></div><div dir="ltr"><br></div><div dir="ltr">Process returned error code 1<br></div><div dir="ltr"><br></div><div dir="ltr">Execution completed in 0.33 seconds<br></div><div dir="ltr"><br></div><div dir="ltr">Results:<br></div><div dir="ltr"><br></div><div dir="ltr">{'OUTPUT':<br></div><div dir="ltr">'C:/Users/klagocki/AppData/Local/Temp/processing_zlZPOT/758f871034414b008c7bbbadb636143e/OUTPUT.gpkg'}<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">Loading resulting layers<br></div><div dir="ltr"><br></div><div dir="ltr">The following layers were not correctly generated.<br></div><div dir="ltr">?<br></div><div dir="ltr">C:/Users/klagocki/AppData/Local/Temp/processing_zlZPOT/758f871034414b008c7bbbadb636143e/OUTPUT.gpkg<br></div><div dir="ltr">You can check the 'Log Messages Panel' in QGIS main window to find more<br></div><div dir="ltr">information about the execution of the algorithm.<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div></div>
            </div>
        </div></body></html>