Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
morenoju
Partner - Specialist
Partner - Specialist

Qlik Sense Map - Line Geometry Overlapping

Hi all,

I have an issue when coloring line geometries in a Qlik Sense Map. When I zoom out, if the lines are very close to each other, I can only see one of them.

Is there a way to introduce some kind of offset?

Can I at least somehow prioritize what is seen? (I don't want to miss segments colored in red when zoomed out).

Thanks,

Juan

morenoju_0-1590585652636.png

 

Labels (4)
1 Solution

Accepted Solutions
Patric_Nordstrom
Employee
Employee

This happens because geometries are down on top of each other.

If the lines belong to the same layer, set the draw order, by defining a sorting, ie, so if you want red lines to be shown on top, set the red lines should come last.

Thanks,

Patric

View solution in original post

6 Replies
morenoju
Partner - Specialist
Partner - Specialist
Author

@Patric_Nordstrom , maybe this is something you know a workaround for?

Patric_Nordstrom
Employee
Employee

This happens because geometries are down on top of each other.

If the lines belong to the same layer, set the draw order, by defining a sorting, ie, so if you want red lines to be shown on top, set the red lines should come last.

Thanks,

Patric

morenoju
Partner - Specialist
Partner - Specialist
Author

Hi @Patric_Nordstrom ,

The geometries aren't actually one on top of the other, but it's true that when zooming out it looks like (they are different lanes of a same road).

Defining the sorting is working for me for now: at least by making sure I don't hide the red lines that are the most relevant for the users.

However, if there's any other idea to be able to dislplay lines that are very close even when zoomed out, I'd be interested in hearing it. I wonder how other maps work. This one is able to show the different lanes even from afar:

morenoju_0-1590688435388.png

Thanks!

Patric_Nordstrom
Employee
Employee

I don't know about the example you are refering to, but it's common to use special line types for road networks in order to render lanes on roads. Then the lanes is rendered with pixel offset from a baseline, rather than using the geometries for the lanes.

Thanks,

Patric

morenoju
Partner - Specialist
Partner - Specialist
Author

Thanks for the follow up, Patric.

As far as I understood, that kind of pixel offset you referred to is something that would have to be done with a GIS tool before configuring the Qlik Sense Line Layer Location. Is that right? 

Patric_Nordstrom
Employee
Employee

@morenoju  sorry no, that would have to be a new type of line layer in Sense that can have multiple lines at the same time side by side.