7 posts / 0 new
Last post
How to show a different map than the projected one?

Dear experts,

I'm trying to build an interactive atlas with STATPLANET PLUS. I have a map of a state divided into municipalities. Then I have shapefiles of each separate municipality divided into many small squares. I'm projecting first the map of the state with its municipalities. Is there some way for the user to select to also see the second map (the map of the municipalities divided into small squares)? I don't know if with some different layers or a menu or something. I would be very thankful if you could give a tip how to do it!!

Regards!
Fernando.

or when selecting a municipality some tags with the information of the divisions of the municipality show up?

StatSilk's picture

Hi Fernando,

It is possible to have more than one map layer - the following guide explains how: http://www.statsilk.com/maps/merge-multiple-map-layers-single-shapefile-... (that's the same guide John B Grenfell mentioned in response to your other post).

As you can see in the demo accessible through the above page, the way to access the second 'map' would be by selecting an indicator with data for that particular map. If you (just) want popup information, please see: http://www.statsilk.com/files/resources/User_Guide_StatPlanet.htm#_Toc35...

I hope that helps.

Best,

Frank

Thanks for your answer Frank. One question, is it possible to merge two different maps (the map of a state divided in municipalities with a further divided map of one municipality of interest) and display them as layered maps? I merged them with QGIS but when I load them on Stat Planet Plus I just see the map of the state divided into municipalities and the municipality of interest is further divided (as one map would be on top of the other) and I don't see any tabs to choose to display one layer of the other.

Thanks for your help!
Best
Fernando

StatSilk's picture

Hi Fernando,

Did you follow all the steps in http://www.statsilk.com/maps/merge-multiple-map-layers-single-shapefile-...?

There is no menu option to switch layers. What you would need to do is create one indicator with data only for map layer 1, and another indicator with data only for map layer 2. Then when you switch from one indicator to another, you would see the corresponding map layer (and the other map layer would be hidden). Other than that, there is option to show the different map layers. You could name the category or indicator to make it obvious to the user which map layer it would lead to, though, as in this demo: http://www.statsilk.com/files/demo/multiple-map-layers/ (see categories in the menu above).

There is one other method which is to create another version of StatPlanet with the municipality of interest. In the original StatPlanet (with all municipalities), you can create a link from one or more municipalities to this other version of StatPlanet, following these instructions: http://www.statsilk.com/files/resources/User_Guide_StatPlanet.htm#_Toc35...

Best,

Frank

Hello Frank, you are really being a sport here, thank you very much! I have projected the two maps with different indicators but I wish to have them exactly as in the Swansea demo you sent me (with tabs of the layers on top), any tipps how to do that?

Other thing, as said, I will be projecting first the whole state map divided by municipalities and then when needed the municipality alone, but further divided. Is there any way to hide the further divisions of the municipality and show it as if it were a whole? (But when the user goes over each feature, the program should display the info of each feature individually). I divided it using a grid in QGIS and then merged it with an exact same shapefile but without divisions (to hide the divisions but have anyway the features). In QGIS it looks as desired but in Stat Planet Plus it shows only the face with the divisions (not covered as in QGIS). Any ideas?

Thank you so much!
Regards!

Fernando.

StatSilk's picture

Hello Fernando,

To get it the same as the Swansea demo, you would just need to activate the top menu (StatPlanet Data Editor sheet 'settings', and set variable 'TOPMENU' to TRUE). Then have your data split into different categories, and in each category have data for a different map layer. You can download the Swansea files (via the tutorial link sent earlier for creating such maps) to see how it is done.

If you have merged multiple map layers as described in the tutorial, one layer with municipality divisions and one layer with these divisions, then it should be possible to switch between them (i.e. see only one at a time, as in the Swansea example). It is not possible though to 'hide' the further divisions yet at the same time have rollover information for the hidden divisions. I could recommend downloading the Swansea map files and opening them in QGIS to see the map layers are organized.

Best,

Frank

USER LOGIN