电源 BI.使用自定义地图作为底图 [英] Power BI. Using custom map as base map

查看:48
本文介绍了电源 BI.使用自定义地图作为底图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,我正在尝试找到一种方法将自定义地图加载为 Power BI 中的基本地图.由于我希望即使在没有连接到 Internet 的情况下也能够加载地图,因此我曾考虑使用我公司的 WMS 服务器,但目前在 Power BI 中似乎无法实现.

因此,我正在尝试转换此文件

但是,在 Power BI 中,它是这样显示的:

我是做错了什么还是我需要做额外的步骤?或者有没有其他方法可以在 Power BI 中加载我自己的自定义地图作为底图?

解决方案

这类似于我在尝试创建自定义形状地图时遇到的问题.地图的毕加索式"渲染是相同的.事实证明,新地图的投影并不是 Power BI 喜欢的投影之一.如果您可以更改地图的投影,它应该可以工作.在mapshaper中,加载地图,然后选择console,然后输入PROJ WGS84,应该就可以了.如果您的起始投影是 mapshaper 无法识别的,您必须将原始地图重新投影为 mapshaper 知道的内容.就我而言,它最初无法识别 EPSG:3005 投影,但是当我在 EPSG:4326 中重新投影,然后使用 mapshaper 转换为 topojson 时,我可以使用我的自定义形状贴图.

Currently, I am trying to find a way to load a custom map as a base map in Power BI. As I want to be able to load the map even when I have no connection to the internet, I have considered using my company's WMS servers, however that does not seem to be possible in Power BI right now.

Thus, I'm trying to convert this file https://data.gov.sg/dataset/master-plan-2014-planning-area-boundary-web to the TopoJSON format so I am able to use it as a shape map in Power BI.

After using the Mapshaper tool, the file appears fine on Mapshaper:

However, in Power BI, it appears like this:

Am I doing something wrong or do is there extra steps I need to do? Or is there any other way to load my own custom map in Power BI as a base map?

解决方案

This is similar to the issues that I faced when trying to create a custom shape map. The 'picasso-like' rendering of the map was the same. It turned out to be the projection of the new map was not one of the projections the Power BI likes. If you can change the projection of your map, it should work. In mapshaper, load the map, then select console, then enter PROJ WGS84, and it should work. If your starting projection is one that mapshaper doesn't recognize, you have to reproject the original map into something that mapshaper knows. In my case it didn't recognize the EPSG:3005 projection initially, but when I re-projected in EPSG:4326, then used mapshaper to convert to topojson, I was able to use my custom shape map.

这篇关于电源 BI.使用自定义地图作为底图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆