Qlik Community

QlikView Extensions

Discussion Board for collaboration on QlikView Extensions.

Announcements
Qlik Analytics Tour 2020 Online. Begins August 10th. Register Today
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor II
Contributor II

SVG Reader - Simple Floor Map

I'm new to QlikView extensions but I'm pretty excited about the SVG Reader extension.

What I want to try is the following: We have different shops in an Airport I want to show that on a floor map.

I tried to make a test and created a floor map with SVG-edit

I however don't understand how I read the coordinates properly and have it in a table.

Attached my example SVG:

e.g.

Shop1 | ??? ??? | $500

Shop2 | ??? ??? | $1000

Shop2 | ??? ??? | $1000


Thanks.


In the following post I've read that the following but I don't understand how to do that:

"To create a custom SVG, you can either use a tool like Inkscape and draw it yourself, or go find an SVG online of what you need.  Then you just need to make sure the different drawn components on the SVG have IDs that match your data set in the region dimension."

From post: http://community.qlik.com/message/460437#460437

1 Solution

Accepted Solutions
Highlighted
Employee
Employee

Re: SVG Reader - Simple Floor Map

Hi Matis,

You need to create a separate member for each store and assign an ID to that member that matches up to your data.  Since your data already has the shop number, I'd recommend using that.  When set the properties in the extension you will select the ShopNumber field so QlikView knows to link the IDs in the SVG with the ShopNumber field in your data.

You can set the ID in SVG-edit in the field indicated in the image below.  Note that you may need to redraw your SVG so you can have a single object ID for each field.  If you use inkscape you can also group objects under the same ID (I'm not sure this is possible with SVG-edit.

-Josh

Qlik

View solution in original post

3 Replies
Highlighted
Employee
Employee

Re: SVG Reader - Simple Floor Map

Hi Matis,

You need to create a separate member for each store and assign an ID to that member that matches up to your data.  Since your data already has the shop number, I'd recommend using that.  When set the properties in the extension you will select the ShopNumber field so QlikView knows to link the IDs in the SVG with the ShopNumber field in your data.

You can set the ID in SVG-edit in the field indicated in the image below.  Note that you may need to redraw your SVG so you can have a single object ID for each field.  If you use inkscape you can also group objects under the same ID (I'm not sure this is possible with SVG-edit.

-Josh

Qlik

View solution in original post

Highlighted
Not applicable

Re: SVG Reader - Simple Floor Map

Josh,

I am doing something similar and using InkScape to create the svg file.  However I have noticed the text creations in SVG do not translate into the extension.  Any experience with implementing this?

Thanks,

Brian

Highlighted
Not applicable

Re: SVG Reader - Simple Floor Map

Hi Brian,

I am also facing same issue ,Failed to render text in Qlikview from SVG file.

If you got any solution can you please share it to me.It will be great help for me.

Thanks,

Pankaj