Forum Discussion
Azure map reference layer not rendering all polygons
could not find any such limit documented here
https://learn.microsoft.com/en-us/azure/azure-maps/power-bi-visual-add-reference-layer?tabs=upload
have you uploaded the geojson file for reference layer rendering? if that is causing an issue then can you host this. file in github and use that URL as source and check?
Connect on LinkedIn
|
Yes, I have uploaded the geojson file and it renders as expected, just not completely. Hopefully these images will help demonstrate the problem:
This .geojson file has about 32k polygons, it renders most of them; but the west coast is missing a ton of zip codes.
If I filter the .geojson file for CA only, you can see that the polygons are there:
Blue polygons indicate areas with data, greyish polygons are data that exist in the reference layer but not in the data.
- tharunkumarRTK1 year agoSuper User
OldDogNewTricks
can you upload the full json file to github. And Instead of uploading the file replace it with the URL of the file that you uploaded to github?- OldDogNewTricks1 year agoKudo Collector
I cannot, I tried to upload the file to GitHub, but it is too large. I did upload the CA version of the .geojson file to GitHub, because it is smaller, but that file did NOT work when I provided the URL (I get a "unable to load reference layer" notification).
I can get the exact same file to upload in local Power BI Desktop and render just fine. Why would it work any differently if being accessed from GitHub (URL) vs a local file upload?- tharunkumarRTK1 year agoSuper User
OldDogNewTricks
As I mentioned in my previous message, in the documentation there is no mention about file size limit. So I am not sure how large the file size can be. So I suggested you to check if if it works with file URL rather than uploading falt file.