This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Only needs to be run if it already exists. | |
drop table strava.strava_pts_map; | |
--Moves the points to start from 0,0 | |
create table strava.strava_pts_map as | |
with | |
min_time_geom | |
as | |
( | |
select distinct on (aid) |
OlderNewer