Forum Discussion

Krish_nidar's avatar
Krish_nidar
Helper I
11 months ago
Solved

Need a help: Polygon map in Azure as a Reference Layer

Hi Team,   So far i am getting so much of valuable help from you all. Thank you so much. By having confidence in you all, I am having one more requirement help   I plan to use Azure map (Polygon ...
  • v-hashadapu's avatar
    v-hashadapu
    10 months ago

    Hi Krish_nidar , Thank you for reaching out to the Microsoft Fabric Community Forum.

     

    If some freezones don’t appear shaded, the issue is inside the GeoJSON rather than Power BI. Polygons are skipped if coordinates are flipped (latitude, longitude instead of longitude, latitude), if the shape isn’t closed (last point must repeat the first) or if the geometry is invalid or self-intersecting.

     

    The quickest way to confirm this is to upload your file into mapshaper. If polygons are missing there too, the geometry is broken. Run the Clean command and export, this repairs unclosed or invalid shapes. Reload that cleaned file in Power BI and the missing zones should appear.

     

    For labels, Azure Maps can’t show text directly on polygons. You’ll need a centroid point for each freezone, with its name as a property. mapshaper can generate these centroids as a new layer, which you then load into Power BI as a bubble or marker layer with the name field bound to the label.

     

    Dotted outlines aren’t supported. The usual alternative is a semi-transparent fill with a solid border. If a dotted effect is essential, you’d have to pre-generate boundary points and style them as small markers.

  • v-hashadapu's avatar
    10 months ago

    Hi Krish_nidar , hope you are doing great. May we know if your issue is solved or if you are still experiencing difficulties. Please share the details as it will help the community, especially others with similar issues.