Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Não estou conseguindo usar a função GeomakePoint.
Alguém saber como me ajudar.
LOAD
Cep_Novo,
latitude,
longitude,
GeoMakePoint(latitude,longitude) as Localizacao
FROM [lib://Vendas/CEP.qvd]
(qvd);
Comigo so funcionou assim:
GeoMakePoint(replace([LatitudeDDD],'.',','),replace([LongitudeDDD],'.',',')) as Coordenadas_ReplaceDDD
Não funcionou com a função Num em vez do Replace. Precisei trocar o ponto pela vírgula para usar a função geomakepoint.
Try this.
GeoMakePoint(Replace([latitude],'.',','),Replace([longitude],'.',',')) as coordinates
Reason bcz you have set
SET ThousandSep='.';
SET DecimalSep=',';
Decimal separator as "," and thousand separator as ".", so function will consider "." as thousand separator so it will not work for conversion.