Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
jorgenpet
Contributor III
Contributor III

Inputformat to PointLayer in MapObject

Hi, I want to show some buildingpoints in the Map object in Qlik Sense as a point layer. What format should the data be in?

I've managed to show borders in a Line layer with a line geometry field containing: 

[ [10.2740426320968, 60.1084757407817], [10.2736555494066, 60.1054114595077] ] 

When I try the same for Point layer (geometry field containing: [10.2740426320968, 60.1084757407817]) nothing is displayed.

When I put x and y coordinates in separate fields and use latitude and longitude fields it also works.

 

Best regards from Jørgen Pettersen

Labels (4)
2 Replies
lironbaram
Partner - Master III
Partner - Master III

Hi, 
your format seems ok, 
see the picture of the data, 
sometimes is better to load the x,y fields and use the geomakepoint function to create a geometry field
image.png

Gui_Approbato
Creator III
Creator III

Hello Jorgen,

Try replacing dots by commas in your column.

In your script, do like

" Load .... 

              replace( Polygon , '.' , ',' ) as Polygon .. "

Regards