Closed sciciliani closed 4 years ago
Running this example query and visualizing through bigquerygeoviz
SELECT ST_GEOGPOINT(lat, lon) as geo FROM properati-data-public.properties_ar.properties_sell_201802 WHERE lat_lon <> '' limit 500
properati-data-public
properties_ar
properties_sell_201802
As you see results are outside the continent
Same point from resultset in Google Maps provides correct location
The ST_GEOGPOINT SQL function requires lng, lat rather than lat, lng — see https://cloud.google.com/bigquery/docs/reference/standard-sql/geography_functions#st_geogpoint.
ST_GEOGPOINT
lng, lat
lat, lng
Running this example query and visualizing through bigquerygeoviz
SELECT ST_GEOGPOINT(lat, lon) as geo FROM
properati-data-public
.properties_ar
.properties_sell_201802
WHERE lat_lon <> '' limit 500As you see results are outside the continent
Same point from resultset in Google Maps provides correct location