Focal Point
[CLOSED] World Choropleth and Bubble Map: Adding layers

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6757049096

November 27, 2018, 09:21 AM
Danny-SRL
[CLOSED] World Choropleth and Bubble Map: Adding layers
Has anybody added layers to this type of chart?
Without a specific layer a bubble graph can look like this:


WebFOCUS provides some layers:


Adding the Layer "World Admin Divisions":


My customer would like to add her own layer, polygons representing districts within the country.
Do you know if WF provides a method for that?

This message has been edited. Last edited by: FP Mod Chuck,


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

November 27, 2018, 09:50 AM
BabakNYC
Your images don't render for me and I've never attempted this but according to the doc this is done via App Studio. The example shows how users can create their own US regions.

https://webfocusinfocenter.inf...23-AA43-09743BEF805C


WebFOCUS 8206, Unix, Windows
November 27, 2018, 02:43 PM
Danny-SRL
Thanks Babak.
To see the images, right-click and open in a new tab. It is probably because I use DropBox.
I looked at the documentation, it doesn't say how one can enter polygons for other countries, districts in Israel or regions in France.
Is there a polygon file for the US states somewhere and I could try and adapt it?


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

November 27, 2018, 03:11 PM
FP Mod Chuck
Danny

There are a bunch of .json files in the C:\ibi\WebFOCUS82\webapps\webfocus\tdg\jschart\distribution\map directory where WebFOCUS client is installed.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
November 28, 2018, 10:23 AM
Danny-SRL
Thanks Chuck.
I'm sure we can build one for our use.
How does one tell WF to use a specific JSON file?
Is there an example somewhere?


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

November 28, 2018, 12:56 PM
FP Mod Chuck
I couldn't put my finger on the doc but I am pretty sure this is all you need to do.

Copy the .json file to the C:\ibi\WebFOCUS82\config\web_resource\map directory and then edit the CutomUIMaps.xml from that same directory and there are some sample map tags for referencing the json files that are commented out you can plagurize. I also now see a ESRI_Layer_Info.xml file there now to but I don't have any experience with that. I'm sure techsupport could give you some guidance on that.

You will need to recycle Apache Tomcat for the change to take effect.

This message has been edited. Last edited by: FP Mod Chuck,


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
November 28, 2018, 10:58 PM
Danny-SRL
Ok.
If I don't manage, I'll contact tech support.
Thanks again.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF