Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
dilip1234
Creator
Creator

Pins are not coming if plotting pin by name and lat long together Qlik Sense Geoanalytic.

Hi,

We have some geographic regions as shown below:

REgion.PNG

Data load script:

[Geo]:

LOAD

[Id] AS [Geo.Id],

[Geo] AS [GeoName],

[Latitude],

[Longitude],

[Status] AS [Geo.Status],

GeoMakePoint([Latitude], [Longitude]) AS [Longitude_Latitude]

FROM [lib://Desktop/SampleData.xlsx]

(ooxml, embedded labels, table is Geo)

WHERE [Status] = 'A';

I want to plot all these geo's as bubble on map, so to achieve this in bubble layer. I am giving dimension as 'Geo'. Its perfectly working fine for some pins, but for some geo's pins are not plotting like ASGR (Austria, Switzerland,Germany).


So in my Qliksense bubble layer, I have given below expression:

=if(LEN(Longitude_Latitude)>0,Longitude_Latitude,GeoName)


If Longitude_Latitude is not define then plot point based on GeoName else use lat long.

When I am using above expression no bubble is appearing on map, but if am using any of the below given expression then points are showing on map.

Longitude_Latitude  //Only ASGR will appear on map

GeoName                  //Except ASGR all geo will appear on map


So I just wanted to know is there any way through which we can plot these bubble on map by Geo Name and LatLong both?

Thanks

Dilip Solanki


Thanks
Dilip Solanki
1 Solution

Accepted Solutions
Patric_Nordstrom
Employee
Employee

Hi,

It's not possible to mix geometries and names in the same layer.

However location of different types can be mixed (like country name, state name, city name)

Split up and use two different layers,one for names and one for coordinates.

The USA coordinate is missing a sign, should be -95.7129 in order to be placed correctly

Thanks,

Patric

View solution in original post

2 Replies
dilip1234
Creator
Creator
Author

Hi,

I have tried one more thing here, am using only lat long now to plot my pin on map.

Have a look in below image, I have used USA lat long but that pin is not even coming on proper place, showing in China somewhere.

USA.PNG

USA is showing in China somewhere.

USALook.PNG

What can be the solution please suggest.

HAPPY NEW YEAR

Thanks

Dilip Solanki

Thanks
Dilip Solanki
Patric_Nordstrom
Employee
Employee

Hi,

It's not possible to mix geometries and names in the same layer.

However location of different types can be mixed (like country name, state name, city name)

Split up and use two different layers,one for names and one for coordinates.

The USA coordinate is missing a sign, should be -95.7129 in order to be placed correctly

Thanks,

Patric