mapbox / mapboxgl-powerbi

Mapbox Visual for Power BI - High performance, custom map visuals for Power BI dashboards. This version of Mapbox Visual for Microsoft Power BI is no longer maintained. You can find the live and maintained version of the plugin at: https://github.com/starschema/mapboxgl-powerbi.
MIT License
127 stars 52 forks source link

.KML Functionality #368

Closed Rand3rino closed 1 year ago

Rand3rino commented 4 years ago

Hi MapBox team,

I’m working on a project that requires overlaying natural disasters over data points and using those shapes to select my data. The image below is using .kml file from [https://www.gdacs.org/] and visualized with the ArcGIS tool in Power BI. I tried uploading the .kml to MapBox Studio and then pushing it to Power BI but I can’t slice the data with this method. Is this something that can be developed?

Esri Gdacs

Thanks,

Randy

steved-MarketGrunt commented 4 years ago

Hi @Rand3rino, I did this a long time ago and I'm not sure if I remember all the steps completely but, I think this will get you in the ballpark. Firstly, I created ESRI shapefiles in QGIS, I imported the shapefiles as tilesets in Mapbox. 1 tileset was the boundary file, while the other was point data converted to a boundary file (a QGIS function). You then follow the drill down choropleth procedure with the boundary tileset as you upper layer and the point boundary as your second layer.

Your upper-level table (the boundaries) will require to filter your lower level (points) data in Power BI.

I hope this helps.