Forum Discussion

Ekaterina13's avatar
Ekaterina13
Frequent Visitor
2 years ago

A problem with custom granularity in topojson-shape maps

Hello all,

 

The context

The client is asking to create a shape map, where the level of granularity is not a municipality, but the groups of municipalities, in order to represent the municipalities aggregated by the employment center of competence.

 

Basically, instead of having the boundaries of 1500+ municipalities on the map, he needs to represent 64 units, which are the groups of municipalities belonging to a specific employement center. Therefore, the color saturation is supposed to work not for a single municipality, but for this 64 units, based on the numeric data provided for each of them.

 

The data

I was provided a json file with the list of empoyment centers and its coordinates.

When i try to import it to the mapshaper, I can see the territories represented correctly, but when I try to export it as a topojson and use it in Power BI, I see nothing but a "doodle".

When I open the map keys, I can only see the names of the employement centers.

 

My questions:

 

1) Is there a possibility to fulfill this request? If yes, what could be the steps to follow?

 

I would like to thank in advance all those who will read my inquiry and respond.

Thank you for your attention.

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi  Ekaterina13 ,

     

    Make sure your JSON file correctly represents the municipalities group as a single unit, then try converting the JSON to TopoJSON using mapshaper:

    CUSTOM GEOGRAPHIC MAP IN POWER BI - Microsoft Fabric Community

    Here's a case with a similar problem that recommends using ArcGIS Maps:

    Import a shapefile showing municipal boundaries to... - Microsoft Fabric Community

    This is the related document, you can view this content:

    Solved: USA Counties on map filled with boundaries and nam... - Microsoft Fabric Community

     

    Best Regards,

    Liu Yang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • Ekaterina13's avatar
      Ekaterina13
      Frequent Visitor

      Hello, thank you so much for the feedback.

      Unfrotunately, using ArcGis maps is not considered an option for this project, and the filled map (USA Counties case) doesn't respond to the client's request.

      Seen that it's the client who provides a custom .json file (and I am not skilled to create it by my own), I would like to ask if you whether there are specific parameteres that he might need to include in the .json, in order to allow the correct conversion to .topojson.

      As far as i noticed, for now he just included the list of the employement centers and its coordinates, but it seems not to be enough.

      What should I suggest to the client?

      Thank you.