 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.121311 -2.811363)', '2026-06-20 15:14:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121277 -2.811359)'), GeomFromEWKT('SRID=4674;POINT (-40.121311 -2.811363)'))) / (select extract(epoch from '2026-06-20 15:14:33'::timestamp) - extract(epoch from '2026-06-20 15:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121277 -2.811359)'), GeomFromEWKT('SRID=4674;POINT (-40.121311 -2.811363)'))) / (select extract(epoch from '2026-06-20 15:14:33'::timestamp) - extract(epoch from '2026-06-20 15:14:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.121347 -2.811361)', '2026-06-20 15:14:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121311 -2.811363)'), GeomFromEWKT('SRID=4674;POINT (-40.121347 -2.811361)'))) / (select extract(epoch from '2026-06-20 15:14:44'::timestamp) - extract(epoch from '2026-06-20 15:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121311 -2.811363)'), GeomFromEWKT('SRID=4674;POINT (-40.121347 -2.811361)'))) / (select extract(epoch from '2026-06-20 15:14:44'::timestamp) - extract(epoch from '2026-06-20 15:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12141 -2.811376)', '2026-06-20 15:14:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121347 -2.811361)'), GeomFromEWKT('SRID=4674;POINT (-40.12141 -2.811376)'))) / (select extract(epoch from '2026-06-20 15:14:59'::timestamp) - extract(epoch from '2026-06-20 15:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121347 -2.811361)'), GeomFromEWKT('SRID=4674;POINT (-40.12141 -2.811376)'))) / (select extract(epoch from '2026-06-20 15:14:59'::timestamp) - extract(epoch from '2026-06-20 15:14:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.121496 -2.811363)', '2026-06-20 15:15:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12141 -2.811376)'), GeomFromEWKT('SRID=4674;POINT (-40.121496 -2.811363)'))) / (select extract(epoch from '2026-06-20 15:15:17'::timestamp) - extract(epoch from '2026-06-20 15:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12141 -2.811376)'), GeomFromEWKT('SRID=4674;POINT (-40.121496 -2.811363)'))) / (select extract(epoch from '2026-06-20 15:15:17'::timestamp) - extract(epoch from '2026-06-20 15:14:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.121551 -2.811377)', '2026-06-20 15:15:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121496 -2.811363)'), GeomFromEWKT('SRID=4674;POINT (-40.121551 -2.811377)'))) / (select extract(epoch from '2026-06-20 15:15:31'::timestamp) - extract(epoch from '2026-06-20 15:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121496 -2.811363)'), GeomFromEWKT('SRID=4674;POINT (-40.121551 -2.811377)'))) / (select extract(epoch from '2026-06-20 15:15:31'::timestamp) - extract(epoch from '2026-06-20 15:15:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.121579 -2.811387)', '2026-06-20 15:15:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121551 -2.811377)'), GeomFromEWKT('SRID=4674;POINT (-40.121579 -2.811387)'))) / (select extract(epoch from '2026-06-20 15:15:41'::timestamp) - extract(epoch from '2026-06-20 15:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121551 -2.811377)'), GeomFromEWKT('SRID=4674;POINT (-40.121579 -2.811387)'))) / (select extract(epoch from '2026-06-20 15:15:41'::timestamp) - extract(epoch from '2026-06-20 15:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.121626 -2.811389)', '2026-06-20 15:15:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121579 -2.811387)'), GeomFromEWKT('SRID=4674;POINT (-40.121626 -2.811389)'))) / (select extract(epoch from '2026-06-20 15:15:55'::timestamp) - extract(epoch from '2026-06-20 15:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121579 -2.811387)'), GeomFromEWKT('SRID=4674;POINT (-40.121626 -2.811389)'))) / (select extract(epoch from '2026-06-20 15:15:55'::timestamp) - extract(epoch from '2026-06-20 15:15:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.121668 -2.811394)', '2026-06-20 15:16:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121626 -2.811389)'), GeomFromEWKT('SRID=4674;POINT (-40.121668 -2.811394)'))) / (select extract(epoch from '2026-06-20 15:16:03'::timestamp) - extract(epoch from '2026-06-20 15:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121626 -2.811389)'), GeomFromEWKT('SRID=4674;POINT (-40.121668 -2.811394)'))) / (select extract(epoch from '2026-06-20 15:16:03'::timestamp) - extract(epoch from '2026-06-20 15:15:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.121751 -2.811394)', '2026-06-20 15:16:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121668 -2.811394)'), GeomFromEWKT('SRID=4674;POINT (-40.121751 -2.811394)'))) / (select extract(epoch from '2026-06-20 15:16:25'::timestamp) - extract(epoch from '2026-06-20 15:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121668 -2.811394)'), GeomFromEWKT('SRID=4674;POINT (-40.121751 -2.811394)'))) / (select extract(epoch from '2026-06-20 15:16:25'::timestamp) - extract(epoch from '2026-06-20 15:16:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.121824 -2.811418)', '2026-06-20 15:16:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121751 -2.811394)'), GeomFromEWKT('SRID=4674;POINT (-40.121824 -2.811418)'))) / (select extract(epoch from '2026-06-20 15:16:42'::timestamp) - extract(epoch from '2026-06-20 15:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121751 -2.811394)'), GeomFromEWKT('SRID=4674;POINT (-40.121824 -2.811418)'))) / (select extract(epoch from '2026-06-20 15:16:42'::timestamp) - extract(epoch from '2026-06-20 15:16:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.121866 -2.811422)', '2026-06-20 15:16:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121824 -2.811418)'), GeomFromEWKT('SRID=4674;POINT (-40.121866 -2.811422)'))) / (select extract(epoch from '2026-06-20 15:16:54'::timestamp) - extract(epoch from '2026-06-20 15:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121824 -2.811418)'), GeomFromEWKT('SRID=4674;POINT (-40.121866 -2.811422)'))) / (select extract(epoch from '2026-06-20 15:16:54'::timestamp) - extract(epoch from '2026-06-20 15:16:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.121924 -2.811416)', '2026-06-20 15:17:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121866 -2.811422)'), GeomFromEWKT('SRID=4674;POINT (-40.121924 -2.811416)'))) / (select extract(epoch from '2026-06-20 15:17:15'::timestamp) - extract(epoch from '2026-06-20 15:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121866 -2.811422)'), GeomFromEWKT('SRID=4674;POINT (-40.121924 -2.811416)'))) / (select extract(epoch from '2026-06-20 15:17:15'::timestamp) - extract(epoch from '2026-06-20 15:16:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.122 -2.811415)', '2026-06-20 15:17:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121924 -2.811416)'), GeomFromEWKT('SRID=4674;POINT (-40.122 -2.811415)'))) / (select extract(epoch from '2026-06-20 15:17:34'::timestamp) - extract(epoch from '2026-06-20 15:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121924 -2.811416)'), GeomFromEWKT('SRID=4674;POINT (-40.122 -2.811415)'))) / (select extract(epoch from '2026-06-20 15:17:34'::timestamp) - extract(epoch from '2026-06-20 15:17:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.122042 -2.811409)', '2026-06-20 15:17:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122 -2.811415)'), GeomFromEWKT('SRID=4674;POINT (-40.122042 -2.811409)'))) / (select extract(epoch from '2026-06-20 15:17:45'::timestamp) - extract(epoch from '2026-06-20 15:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122 -2.811415)'), GeomFromEWKT('SRID=4674;POINT (-40.122042 -2.811409)'))) / (select extract(epoch from '2026-06-20 15:17:45'::timestamp) - extract(epoch from '2026-06-20 15:17:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.122095 -2.8114)', '2026-06-20 15:18:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122042 -2.811409)'), GeomFromEWKT('SRID=4674;POINT (-40.122095 -2.8114)'))) / (select extract(epoch from '2026-06-20 15:18:00'::timestamp) - extract(epoch from '2026-06-20 15:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122042 -2.811409)'), GeomFromEWKT('SRID=4674;POINT (-40.122095 -2.8114)'))) / (select extract(epoch from '2026-06-20 15:18:00'::timestamp) - extract(epoch from '2026-06-20 15:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.122127 -2.811404)', '2026-06-20 15:18:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122095 -2.8114)'), GeomFromEWKT('SRID=4674;POINT (-40.122127 -2.811404)'))) / (select extract(epoch from '2026-06-20 15:18:08'::timestamp) - extract(epoch from '2026-06-20 15:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122095 -2.8114)'), GeomFromEWKT('SRID=4674;POINT (-40.122127 -2.811404)'))) / (select extract(epoch from '2026-06-20 15:18:08'::timestamp) - extract(epoch from '2026-06-20 15:18:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.122184 -2.811395)', '2026-06-20 15:18:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122127 -2.811404)'), GeomFromEWKT('SRID=4674;POINT (-40.122184 -2.811395)'))) / (select extract(epoch from '2026-06-20 15:18:23'::timestamp) - extract(epoch from '2026-06-20 15:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122127 -2.811404)'), GeomFromEWKT('SRID=4674;POINT (-40.122184 -2.811395)'))) / (select extract(epoch from '2026-06-20 15:18:23'::timestamp) - extract(epoch from '2026-06-20 15:18:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.122242 -2.811401)', '2026-06-20 15:18:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122184 -2.811395)'), GeomFromEWKT('SRID=4674;POINT (-40.122242 -2.811401)'))) / (select extract(epoch from '2026-06-20 15:18:36'::timestamp) - extract(epoch from '2026-06-20 15:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122184 -2.811395)'), GeomFromEWKT('SRID=4674;POINT (-40.122242 -2.811401)'))) / (select extract(epoch from '2026-06-20 15:18:36'::timestamp) - extract(epoch from '2026-06-20 15:18:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.122277 -2.811398)', '2026-06-20 15:18:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122242 -2.811401)'), GeomFromEWKT('SRID=4674;POINT (-40.122277 -2.811398)'))) / (select extract(epoch from '2026-06-20 15:18:48'::timestamp) - extract(epoch from '2026-06-20 15:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122242 -2.811401)'), GeomFromEWKT('SRID=4674;POINT (-40.122277 -2.811398)'))) / (select extract(epoch from '2026-06-20 15:18:48'::timestamp) - extract(epoch from '2026-06-20 15:18:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.122318 -2.811386)', '2026-06-20 15:19:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122277 -2.811398)'), GeomFromEWKT('SRID=4674;POINT (-40.122318 -2.811386)'))) / (select extract(epoch from '2026-06-20 15:19:07'::timestamp) - extract(epoch from '2026-06-20 15:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122277 -2.811398)'), GeomFromEWKT('SRID=4674;POINT (-40.122318 -2.811386)'))) / (select extract(epoch from '2026-06-20 15:19:07'::timestamp) - extract(epoch from '2026-06-20 15:18:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.122398 -2.811384)', '2026-06-20 15:19:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122318 -2.811386)'), GeomFromEWKT('SRID=4674;POINT (-40.122398 -2.811384)'))) / (select extract(epoch from '2026-06-20 15:19:24'::timestamp) - extract(epoch from '2026-06-20 15:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122318 -2.811386)'), GeomFromEWKT('SRID=4674;POINT (-40.122398 -2.811384)'))) / (select extract(epoch from '2026-06-20 15:19:24'::timestamp) - extract(epoch from '2026-06-20 15:19:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12247 -2.81139)', '2026-06-20 15:19:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122398 -2.811384)'), GeomFromEWKT('SRID=4674;POINT (-40.12247 -2.81139)'))) / (select extract(epoch from '2026-06-20 15:19:40'::timestamp) - extract(epoch from '2026-06-20 15:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122398 -2.811384)'), GeomFromEWKT('SRID=4674;POINT (-40.12247 -2.81139)'))) / (select extract(epoch from '2026-06-20 15:19:40'::timestamp) - extract(epoch from '2026-06-20 15:19:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.122516 -2.811381)', '2026-06-20 15:19:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12247 -2.81139)'), GeomFromEWKT('SRID=4674;POINT (-40.122516 -2.811381)'))) / (select extract(epoch from '2026-06-20 15:19:54'::timestamp) - extract(epoch from '2026-06-20 15:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12247 -2.81139)'), GeomFromEWKT('SRID=4674;POINT (-40.122516 -2.811381)'))) / (select extract(epoch from '2026-06-20 15:19:54'::timestamp) - extract(epoch from '2026-06-20 15:19:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12259 -2.811382)', '2026-06-20 15:20:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122516 -2.811381)'), GeomFromEWKT('SRID=4674;POINT (-40.12259 -2.811382)'))) / (select extract(epoch from '2026-06-20 15:20:13'::timestamp) - extract(epoch from '2026-06-20 15:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122516 -2.811381)'), GeomFromEWKT('SRID=4674;POINT (-40.12259 -2.811382)'))) / (select extract(epoch from '2026-06-20 15:20:13'::timestamp) - extract(epoch from '2026-06-20 15:19:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.122672 -2.811382)', '2026-06-20 15:20:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12259 -2.811382)'), GeomFromEWKT('SRID=4674;POINT (-40.122672 -2.811382)'))) / (select extract(epoch from '2026-06-20 15:20:30'::timestamp) - extract(epoch from '2026-06-20 15:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12259 -2.811382)'), GeomFromEWKT('SRID=4674;POINT (-40.122672 -2.811382)'))) / (select extract(epoch from '2026-06-20 15:20:30'::timestamp) - extract(epoch from '2026-06-20 15:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.122757 -2.81139)', '2026-06-20 15:20:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122672 -2.811382)'), GeomFromEWKT('SRID=4674;POINT (-40.122757 -2.81139)'))) / (select extract(epoch from '2026-06-20 15:20:52'::timestamp) - extract(epoch from '2026-06-20 15:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122672 -2.811382)'), GeomFromEWKT('SRID=4674;POINT (-40.122757 -2.81139)'))) / (select extract(epoch from '2026-06-20 15:20:52'::timestamp) - extract(epoch from '2026-06-20 15:20:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.122834 -2.811396)', '2026-06-20 15:21:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122757 -2.81139)'), GeomFromEWKT('SRID=4674;POINT (-40.122834 -2.811396)'))) / (select extract(epoch from '2026-06-20 15:21:11'::timestamp) - extract(epoch from '2026-06-20 15:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122757 -2.81139)'), GeomFromEWKT('SRID=4674;POINT (-40.122834 -2.811396)'))) / (select extract(epoch from '2026-06-20 15:21:11'::timestamp) - extract(epoch from '2026-06-20 15:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12287 -2.811394)', '2026-06-20 15:21:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122834 -2.811396)'), GeomFromEWKT('SRID=4674;POINT (-40.12287 -2.811394)'))) / (select extract(epoch from '2026-06-20 15:21:20'::timestamp) - extract(epoch from '2026-06-20 15:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122834 -2.811396)'), GeomFromEWKT('SRID=4674;POINT (-40.12287 -2.811394)'))) / (select extract(epoch from '2026-06-20 15:21:20'::timestamp) - extract(epoch from '2026-06-20 15:21:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.122919 -2.811392)', '2026-06-20 15:21:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12287 -2.811394)'), GeomFromEWKT('SRID=4674;POINT (-40.122919 -2.811392)'))) / (select extract(epoch from '2026-06-20 15:21:36'::timestamp) - extract(epoch from '2026-06-20 15:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12287 -2.811394)'), GeomFromEWKT('SRID=4674;POINT (-40.122919 -2.811392)'))) / (select extract(epoch from '2026-06-20 15:21:36'::timestamp) - extract(epoch from '2026-06-20 15:21:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.123001 -2.811411)', '2026-06-20 15:21:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122919 -2.811392)'), GeomFromEWKT('SRID=4674;POINT (-40.123001 -2.811411)'))) / (select extract(epoch from '2026-06-20 15:21:57'::timestamp) - extract(epoch from '2026-06-20 15:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122919 -2.811392)'), GeomFromEWKT('SRID=4674;POINT (-40.123001 -2.811411)'))) / (select extract(epoch from '2026-06-20 15:21:57'::timestamp) - extract(epoch from '2026-06-20 15:21:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.123051 -2.811429)', '2026-06-20 15:22:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123001 -2.811411)'), GeomFromEWKT('SRID=4674;POINT (-40.123051 -2.811429)'))) / (select extract(epoch from '2026-06-20 15:22:12'::timestamp) - extract(epoch from '2026-06-20 15:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123001 -2.811411)'), GeomFromEWKT('SRID=4674;POINT (-40.123051 -2.811429)'))) / (select extract(epoch from '2026-06-20 15:22:12'::timestamp) - extract(epoch from '2026-06-20 15:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.123121 -2.811426)', '2026-06-20 15:22:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123051 -2.811429)'), GeomFromEWKT('SRID=4674;POINT (-40.123121 -2.811426)'))) / (select extract(epoch from '2026-06-20 15:22:33'::timestamp) - extract(epoch from '2026-06-20 15:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123051 -2.811429)'), GeomFromEWKT('SRID=4674;POINT (-40.123121 -2.811426)'))) / (select extract(epoch from '2026-06-20 15:22:33'::timestamp) - extract(epoch from '2026-06-20 15:22:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.123199 -2.811429)', '2026-06-20 15:22:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123121 -2.811426)'), GeomFromEWKT('SRID=4674;POINT (-40.123199 -2.811429)'))) / (select extract(epoch from '2026-06-20 15:22:55'::timestamp) - extract(epoch from '2026-06-20 15:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123121 -2.811426)'), GeomFromEWKT('SRID=4674;POINT (-40.123199 -2.811429)'))) / (select extract(epoch from '2026-06-20 15:22:55'::timestamp) - extract(epoch from '2026-06-20 15:22:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.123233 -2.81144)', '2026-06-20 15:23:04', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123199 -2.811429)'), GeomFromEWKT('SRID=4674;POINT (-40.123233 -2.81144)'))) / (select extract(epoch from '2026-06-20 15:23:04'::timestamp) - extract(epoch from '2026-06-20 15:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123199 -2.811429)'), GeomFromEWKT('SRID=4674;POINT (-40.123233 -2.81144)'))) / (select extract(epoch from '2026-06-20 15:23:04'::timestamp) - extract(epoch from '2026-06-20 15:22:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.123267 -2.811453)', '2026-06-20 15:23:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123233 -2.81144)'), GeomFromEWKT('SRID=4674;POINT (-40.123267 -2.811453)'))) / (select extract(epoch from '2026-06-20 15:23:20'::timestamp) - extract(epoch from '2026-06-20 15:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123233 -2.81144)'), GeomFromEWKT('SRID=4674;POINT (-40.123267 -2.811453)'))) / (select extract(epoch from '2026-06-20 15:23:20'::timestamp) - extract(epoch from '2026-06-20 15:23:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.123341 -2.811454)', '2026-06-20 15:23:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123267 -2.811453)'), GeomFromEWKT('SRID=4674;POINT (-40.123341 -2.811454)'))) / (select extract(epoch from '2026-06-20 15:23:36'::timestamp) - extract(epoch from '2026-06-20 15:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123267 -2.811453)'), GeomFromEWKT('SRID=4674;POINT (-40.123341 -2.811454)'))) / (select extract(epoch from '2026-06-20 15:23:36'::timestamp) - extract(epoch from '2026-06-20 15:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.123389 -2.811462)', '2026-06-20 15:23:51', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123341 -2.811454)'), GeomFromEWKT('SRID=4674;POINT (-40.123389 -2.811462)'))) / (select extract(epoch from '2026-06-20 15:23:51'::timestamp) - extract(epoch from '2026-06-20 15:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123341 -2.811454)'), GeomFromEWKT('SRID=4674;POINT (-40.123389 -2.811462)'))) / (select extract(epoch from '2026-06-20 15:23:51'::timestamp) - extract(epoch from '2026-06-20 15:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12345 -2.811468)', '2026-06-20 15:24:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123389 -2.811462)'), GeomFromEWKT('SRID=4674;POINT (-40.12345 -2.811468)'))) / (select extract(epoch from '2026-06-20 15:24:09'::timestamp) - extract(epoch from '2026-06-20 15:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123389 -2.811462)'), GeomFromEWKT('SRID=4674;POINT (-40.12345 -2.811468)'))) / (select extract(epoch from '2026-06-20 15:24:09'::timestamp) - extract(epoch from '2026-06-20 15:23:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.123468 -2.811468)', '2026-06-20 15:24:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12345 -2.811468)'), GeomFromEWKT('SRID=4674;POINT (-40.123468 -2.811468)'))) / (select extract(epoch from '2026-06-20 15:24:17'::timestamp) - extract(epoch from '2026-06-20 15:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12345 -2.811468)'), GeomFromEWKT('SRID=4674;POINT (-40.123468 -2.811468)'))) / (select extract(epoch from '2026-06-20 15:24:17'::timestamp) - extract(epoch from '2026-06-20 15:24:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.123526 -2.811483)', '2026-06-20 15:24:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123468 -2.811468)'), GeomFromEWKT('SRID=4674;POINT (-40.123526 -2.811483)'))) / (select extract(epoch from '2026-06-20 15:24:30'::timestamp) - extract(epoch from '2026-06-20 15:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123468 -2.811468)'), GeomFromEWKT('SRID=4674;POINT (-40.123526 -2.811483)'))) / (select extract(epoch from '2026-06-20 15:24:30'::timestamp) - extract(epoch from '2026-06-20 15:24:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.123541 -2.811483)', '2026-06-20 15:24:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123526 -2.811483)'), GeomFromEWKT('SRID=4674;POINT (-40.123541 -2.811483)'))) / (select extract(epoch from '2026-06-20 15:24:43'::timestamp) - extract(epoch from '2026-06-20 15:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123526 -2.811483)'), GeomFromEWKT('SRID=4674;POINT (-40.123541 -2.811483)'))) / (select extract(epoch from '2026-06-20 15:24:43'::timestamp) - extract(epoch from '2026-06-20 15:24:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.123605 -2.811551)', '2026-06-20 15:25:16', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123541 -2.811483)'), GeomFromEWKT('SRID=4674;POINT (-40.123605 -2.811551)'))) / (select extract(epoch from '2026-06-20 15:25:16'::timestamp) - extract(epoch from '2026-06-20 15:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123541 -2.811483)'), GeomFromEWKT('SRID=4674;POINT (-40.123605 -2.811551)'))) / (select extract(epoch from '2026-06-20 15:25:16'::timestamp) - extract(epoch from '2026-06-20 15:24:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.123611 -2.811569)', '2026-06-20 15:25:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123605 -2.811551)'), GeomFromEWKT('SRID=4674;POINT (-40.123611 -2.811569)'))) / (select extract(epoch from '2026-06-20 15:25:30'::timestamp) - extract(epoch from '2026-06-20 15:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123605 -2.811551)'), GeomFromEWKT('SRID=4674;POINT (-40.123611 -2.811569)'))) / (select extract(epoch from '2026-06-20 15:25:30'::timestamp) - extract(epoch from '2026-06-20 15:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.123656 -2.811642)', '2026-06-20 15:25:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123611 -2.811569)'), GeomFromEWKT('SRID=4674;POINT (-40.123656 -2.811642)'))) / (select extract(epoch from '2026-06-20 15:25:52'::timestamp) - extract(epoch from '2026-06-20 15:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123611 -2.811569)'), GeomFromEWKT('SRID=4674;POINT (-40.123656 -2.811642)'))) / (select extract(epoch from '2026-06-20 15:25:52'::timestamp) - extract(epoch from '2026-06-20 15:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.123701 -2.811662)', '2026-06-20 15:26:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123656 -2.811642)'), GeomFromEWKT('SRID=4674;POINT (-40.123701 -2.811662)'))) / (select extract(epoch from '2026-06-20 15:26:04'::timestamp) - extract(epoch from '2026-06-20 15:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123656 -2.811642)'), GeomFromEWKT('SRID=4674;POINT (-40.123701 -2.811662)'))) / (select extract(epoch from '2026-06-20 15:26:04'::timestamp) - extract(epoch from '2026-06-20 15:25:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.123793 -2.811709)', '2026-06-20 15:26:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123701 -2.811662)'), GeomFromEWKT('SRID=4674;POINT (-40.123793 -2.811709)'))) / (select extract(epoch from '2026-06-20 15:26:23'::timestamp) - extract(epoch from '2026-06-20 15:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123701 -2.811662)'), GeomFromEWKT('SRID=4674;POINT (-40.123793 -2.811709)'))) / (select extract(epoch from '2026-06-20 15:26:23'::timestamp) - extract(epoch from '2026-06-20 15:26:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.123832 -2.811748)', '2026-06-20 15:26:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123793 -2.811709)'), GeomFromEWKT('SRID=4674;POINT (-40.123832 -2.811748)'))) / (select extract(epoch from '2026-06-20 15:26:36'::timestamp) - extract(epoch from '2026-06-20 15:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123793 -2.811709)'), GeomFromEWKT('SRID=4674;POINT (-40.123832 -2.811748)'))) / (select extract(epoch from '2026-06-20 15:26:36'::timestamp) - extract(epoch from '2026-06-20 15:26:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.123855 -2.811768)', '2026-06-20 15:26:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123832 -2.811748)'), GeomFromEWKT('SRID=4674;POINT (-40.123855 -2.811768)'))) / (select extract(epoch from '2026-06-20 15:26:44'::timestamp) - extract(epoch from '2026-06-20 15:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123832 -2.811748)'), GeomFromEWKT('SRID=4674;POINT (-40.123855 -2.811768)'))) / (select extract(epoch from '2026-06-20 15:26:44'::timestamp) - extract(epoch from '2026-06-20 15:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.123897 -2.81182)', '2026-06-20 15:27:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123855 -2.811768)'), GeomFromEWKT('SRID=4674;POINT (-40.123897 -2.81182)'))) / (select extract(epoch from '2026-06-20 15:27:00'::timestamp) - extract(epoch from '2026-06-20 15:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123855 -2.811768)'), GeomFromEWKT('SRID=4674;POINT (-40.123897 -2.81182)'))) / (select extract(epoch from '2026-06-20 15:27:00'::timestamp) - extract(epoch from '2026-06-20 15:26:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.123956 -2.811885)', '2026-06-20 15:27:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123897 -2.81182)'), GeomFromEWKT('SRID=4674;POINT (-40.123956 -2.811885)'))) / (select extract(epoch from '2026-06-20 15:27:17'::timestamp) - extract(epoch from '2026-06-20 15:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123897 -2.81182)'), GeomFromEWKT('SRID=4674;POINT (-40.123956 -2.811885)'))) / (select extract(epoch from '2026-06-20 15:27:17'::timestamp) - extract(epoch from '2026-06-20 15:27:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124001 -2.811912)', '2026-06-20 15:27:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123956 -2.811885)'), GeomFromEWKT('SRID=4674;POINT (-40.124001 -2.811912)'))) / (select extract(epoch from '2026-06-20 15:27:30'::timestamp) - extract(epoch from '2026-06-20 15:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123956 -2.811885)'), GeomFromEWKT('SRID=4674;POINT (-40.124001 -2.811912)'))) / (select extract(epoch from '2026-06-20 15:27:30'::timestamp) - extract(epoch from '2026-06-20 15:27:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124051 -2.811961)', '2026-06-20 15:27:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124001 -2.811912)'), GeomFromEWKT('SRID=4674;POINT (-40.124051 -2.811961)'))) / (select extract(epoch from '2026-06-20 15:27:47'::timestamp) - extract(epoch from '2026-06-20 15:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124001 -2.811912)'), GeomFromEWKT('SRID=4674;POINT (-40.124051 -2.811961)'))) / (select extract(epoch from '2026-06-20 15:27:47'::timestamp) - extract(epoch from '2026-06-20 15:27:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124087 -2.812014)', '2026-06-20 15:28:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124051 -2.811961)'), GeomFromEWKT('SRID=4674;POINT (-40.124087 -2.812014)'))) / (select extract(epoch from '2026-06-20 15:28:02'::timestamp) - extract(epoch from '2026-06-20 15:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124051 -2.811961)'), GeomFromEWKT('SRID=4674;POINT (-40.124087 -2.812014)'))) / (select extract(epoch from '2026-06-20 15:28:02'::timestamp) - extract(epoch from '2026-06-20 15:27:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124101 -2.812044)', '2026-06-20 15:28:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124087 -2.812014)'), GeomFromEWKT('SRID=4674;POINT (-40.124101 -2.812044)'))) / (select extract(epoch from '2026-06-20 15:28:10'::timestamp) - extract(epoch from '2026-06-20 15:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124087 -2.812014)'), GeomFromEWKT('SRID=4674;POINT (-40.124101 -2.812044)'))) / (select extract(epoch from '2026-06-20 15:28:10'::timestamp) - extract(epoch from '2026-06-20 15:28:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124112 -2.812095)', '2026-06-20 15:28:22', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124101 -2.812044)'), GeomFromEWKT('SRID=4674;POINT (-40.124112 -2.812095)'))) / (select extract(epoch from '2026-06-20 15:28:22'::timestamp) - extract(epoch from '2026-06-20 15:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124101 -2.812044)'), GeomFromEWKT('SRID=4674;POINT (-40.124112 -2.812095)'))) / (select extract(epoch from '2026-06-20 15:28:22'::timestamp) - extract(epoch from '2026-06-20 15:28:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124142 -2.812129)', '2026-06-20 15:28:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124112 -2.812095)'), GeomFromEWKT('SRID=4674;POINT (-40.124142 -2.812129)'))) / (select extract(epoch from '2026-06-20 15:28:34'::timestamp) - extract(epoch from '2026-06-20 15:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124112 -2.812095)'), GeomFromEWKT('SRID=4674;POINT (-40.124142 -2.812129)'))) / (select extract(epoch from '2026-06-20 15:28:34'::timestamp) - extract(epoch from '2026-06-20 15:28:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124176 -2.812173)', '2026-06-20 15:28:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124142 -2.812129)'), GeomFromEWKT('SRID=4674;POINT (-40.124176 -2.812173)'))) / (select extract(epoch from '2026-06-20 15:28:48'::timestamp) - extract(epoch from '2026-06-20 15:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124142 -2.812129)'), GeomFromEWKT('SRID=4674;POINT (-40.124176 -2.812173)'))) / (select extract(epoch from '2026-06-20 15:28:48'::timestamp) - extract(epoch from '2026-06-20 15:28:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124208 -2.812214)', '2026-06-20 15:29:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124176 -2.812173)'), GeomFromEWKT('SRID=4674;POINT (-40.124208 -2.812214)'))) / (select extract(epoch from '2026-06-20 15:29:00'::timestamp) - extract(epoch from '2026-06-20 15:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124176 -2.812173)'), GeomFromEWKT('SRID=4674;POINT (-40.124208 -2.812214)'))) / (select extract(epoch from '2026-06-20 15:29:00'::timestamp) - extract(epoch from '2026-06-20 15:28:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124248 -2.81227)', '2026-06-20 15:29:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124208 -2.812214)'), GeomFromEWKT('SRID=4674;POINT (-40.124248 -2.81227)'))) / (select extract(epoch from '2026-06-20 15:29:15'::timestamp) - extract(epoch from '2026-06-20 15:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124208 -2.812214)'), GeomFromEWKT('SRID=4674;POINT (-40.124248 -2.81227)'))) / (select extract(epoch from '2026-06-20 15:29:15'::timestamp) - extract(epoch from '2026-06-20 15:29:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124276 -2.812302)', '2026-06-20 15:29:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124248 -2.81227)'), GeomFromEWKT('SRID=4674;POINT (-40.124276 -2.812302)'))) / (select extract(epoch from '2026-06-20 15:29:25'::timestamp) - extract(epoch from '2026-06-20 15:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124248 -2.81227)'), GeomFromEWKT('SRID=4674;POINT (-40.124276 -2.812302)'))) / (select extract(epoch from '2026-06-20 15:29:25'::timestamp) - extract(epoch from '2026-06-20 15:29:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124317 -2.812337)', '2026-06-20 15:29:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124276 -2.812302)'), GeomFromEWKT('SRID=4674;POINT (-40.124317 -2.812337)'))) / (select extract(epoch from '2026-06-20 15:29:39'::timestamp) - extract(epoch from '2026-06-20 15:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124276 -2.812302)'), GeomFromEWKT('SRID=4674;POINT (-40.124317 -2.812337)'))) / (select extract(epoch from '2026-06-20 15:29:39'::timestamp) - extract(epoch from '2026-06-20 15:29:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124365 -2.812401)', '2026-06-20 15:29:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124317 -2.812337)'), GeomFromEWKT('SRID=4674;POINT (-40.124365 -2.812401)'))) / (select extract(epoch from '2026-06-20 15:29:55'::timestamp) - extract(epoch from '2026-06-20 15:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124317 -2.812337)'), GeomFromEWKT('SRID=4674;POINT (-40.124365 -2.812401)'))) / (select extract(epoch from '2026-06-20 15:29:55'::timestamp) - extract(epoch from '2026-06-20 15:29:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124374 -2.812441)', '2026-06-20 15:30:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124365 -2.812401)'), GeomFromEWKT('SRID=4674;POINT (-40.124374 -2.812441)'))) / (select extract(epoch from '2026-06-20 15:30:06'::timestamp) - extract(epoch from '2026-06-20 15:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124365 -2.812401)'), GeomFromEWKT('SRID=4674;POINT (-40.124374 -2.812441)'))) / (select extract(epoch from '2026-06-20 15:30:06'::timestamp) - extract(epoch from '2026-06-20 15:29:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124384 -2.812485)', '2026-06-20 15:30:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124374 -2.812441)'), GeomFromEWKT('SRID=4674;POINT (-40.124384 -2.812485)'))) / (select extract(epoch from '2026-06-20 15:30:17'::timestamp) - extract(epoch from '2026-06-20 15:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124374 -2.812441)'), GeomFromEWKT('SRID=4674;POINT (-40.124384 -2.812485)'))) / (select extract(epoch from '2026-06-20 15:30:17'::timestamp) - extract(epoch from '2026-06-20 15:30:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124395 -2.812525)', '2026-06-20 15:30:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124384 -2.812485)'), GeomFromEWKT('SRID=4674;POINT (-40.124395 -2.812525)'))) / (select extract(epoch from '2026-06-20 15:30:31'::timestamp) - extract(epoch from '2026-06-20 15:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124384 -2.812485)'), GeomFromEWKT('SRID=4674;POINT (-40.124395 -2.812525)'))) / (select extract(epoch from '2026-06-20 15:30:31'::timestamp) - extract(epoch from '2026-06-20 15:30:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124409 -2.81257)', '2026-06-20 15:30:41', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124395 -2.812525)'), GeomFromEWKT('SRID=4674;POINT (-40.124409 -2.81257)'))) / (select extract(epoch from '2026-06-20 15:30:41'::timestamp) - extract(epoch from '2026-06-20 15:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124395 -2.812525)'), GeomFromEWKT('SRID=4674;POINT (-40.124409 -2.81257)'))) / (select extract(epoch from '2026-06-20 15:30:41'::timestamp) - extract(epoch from '2026-06-20 15:30:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124438 -2.812628)', '2026-06-20 15:30:57', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124409 -2.81257)'), GeomFromEWKT('SRID=4674;POINT (-40.124438 -2.812628)'))) / (select extract(epoch from '2026-06-20 15:30:57'::timestamp) - extract(epoch from '2026-06-20 15:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124409 -2.81257)'), GeomFromEWKT('SRID=4674;POINT (-40.124438 -2.812628)'))) / (select extract(epoch from '2026-06-20 15:30:57'::timestamp) - extract(epoch from '2026-06-20 15:30:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124459 -2.812684)', '2026-06-20 15:31:12', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124438 -2.812628)'), GeomFromEWKT('SRID=4674;POINT (-40.124459 -2.812684)'))) / (select extract(epoch from '2026-06-20 15:31:12'::timestamp) - extract(epoch from '2026-06-20 15:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124438 -2.812628)'), GeomFromEWKT('SRID=4674;POINT (-40.124459 -2.812684)'))) / (select extract(epoch from '2026-06-20 15:31:12'::timestamp) - extract(epoch from '2026-06-20 15:30:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12446 -2.812702)', '2026-06-20 15:31:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124459 -2.812684)'), GeomFromEWKT('SRID=4674;POINT (-40.12446 -2.812702)'))) / (select extract(epoch from '2026-06-20 15:31:24'::timestamp) - extract(epoch from '2026-06-20 15:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124459 -2.812684)'), GeomFromEWKT('SRID=4674;POINT (-40.12446 -2.812702)'))) / (select extract(epoch from '2026-06-20 15:31:24'::timestamp) - extract(epoch from '2026-06-20 15:31:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124468 -2.812756)', '2026-06-20 15:31:31', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12446 -2.812702)'), GeomFromEWKT('SRID=4674;POINT (-40.124468 -2.812756)'))) / (select extract(epoch from '2026-06-20 15:31:31'::timestamp) - extract(epoch from '2026-06-20 15:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12446 -2.812702)'), GeomFromEWKT('SRID=4674;POINT (-40.124468 -2.812756)'))) / (select extract(epoch from '2026-06-20 15:31:31'::timestamp) - extract(epoch from '2026-06-20 15:31:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124471 -2.812802)', '2026-06-20 15:31:45', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124468 -2.812756)'), GeomFromEWKT('SRID=4674;POINT (-40.124471 -2.812802)'))) / (select extract(epoch from '2026-06-20 15:31:45'::timestamp) - extract(epoch from '2026-06-20 15:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124468 -2.812756)'), GeomFromEWKT('SRID=4674;POINT (-40.124471 -2.812802)'))) / (select extract(epoch from '2026-06-20 15:31:45'::timestamp) - extract(epoch from '2026-06-20 15:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124459 -2.81283)', '2026-06-20 15:31:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124471 -2.812802)'), GeomFromEWKT('SRID=4674;POINT (-40.124459 -2.81283)'))) / (select extract(epoch from '2026-06-20 15:31:53'::timestamp) - extract(epoch from '2026-06-20 15:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124471 -2.812802)'), GeomFromEWKT('SRID=4674;POINT (-40.124459 -2.81283)'))) / (select extract(epoch from '2026-06-20 15:31:53'::timestamp) - extract(epoch from '2026-06-20 15:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124435 -2.812881)', '2026-06-20 15:32:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124459 -2.81283)'), GeomFromEWKT('SRID=4674;POINT (-40.124435 -2.812881)'))) / (select extract(epoch from '2026-06-20 15:32:11'::timestamp) - extract(epoch from '2026-06-20 15:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124459 -2.81283)'), GeomFromEWKT('SRID=4674;POINT (-40.124435 -2.812881)'))) / (select extract(epoch from '2026-06-20 15:32:11'::timestamp) - extract(epoch from '2026-06-20 15:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124437 -2.81292)', '2026-06-20 15:32:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124435 -2.812881)'), GeomFromEWKT('SRID=4674;POINT (-40.124437 -2.81292)'))) / (select extract(epoch from '2026-06-20 15:32:23'::timestamp) - extract(epoch from '2026-06-20 15:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124435 -2.812881)'), GeomFromEWKT('SRID=4674;POINT (-40.124437 -2.81292)'))) / (select extract(epoch from '2026-06-20 15:32:23'::timestamp) - extract(epoch from '2026-06-20 15:32:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12445 -2.81295)', '2026-06-20 15:32:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124437 -2.81292)'), GeomFromEWKT('SRID=4674;POINT (-40.12445 -2.81295)'))) / (select extract(epoch from '2026-06-20 15:32:35'::timestamp) - extract(epoch from '2026-06-20 15:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124437 -2.81292)'), GeomFromEWKT('SRID=4674;POINT (-40.12445 -2.81295)'))) / (select extract(epoch from '2026-06-20 15:32:35'::timestamp) - extract(epoch from '2026-06-20 15:32:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124517 -2.812989)', '2026-06-20 15:32:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12445 -2.81295)'), GeomFromEWKT('SRID=4674;POINT (-40.124517 -2.812989)'))) / (select extract(epoch from '2026-06-20 15:32:53'::timestamp) - extract(epoch from '2026-06-20 15:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12445 -2.81295)'), GeomFromEWKT('SRID=4674;POINT (-40.124517 -2.812989)'))) / (select extract(epoch from '2026-06-20 15:32:53'::timestamp) - extract(epoch from '2026-06-20 15:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124541 -2.81299)', '2026-06-20 15:33:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124517 -2.812989)'), GeomFromEWKT('SRID=4674;POINT (-40.124541 -2.81299)'))) / (select extract(epoch from '2026-06-20 15:33:09'::timestamp) - extract(epoch from '2026-06-20 15:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124517 -2.812989)'), GeomFromEWKT('SRID=4674;POINT (-40.124541 -2.81299)'))) / (select extract(epoch from '2026-06-20 15:33:09'::timestamp) - extract(epoch from '2026-06-20 15:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124584 -2.813025)', '2026-06-20 15:41:11', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124541 -2.81299)'), GeomFromEWKT('SRID=4674;POINT (-40.124584 -2.813025)'))) / (select extract(epoch from '2026-06-20 15:41:11'::timestamp) - extract(epoch from '2026-06-20 15:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124541 -2.81299)'), GeomFromEWKT('SRID=4674;POINT (-40.124584 -2.813025)'))) / (select extract(epoch from '2026-06-20 15:41:11'::timestamp) - extract(epoch from '2026-06-20 15:33:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124642 -2.813035)', '2026-06-20 15:41:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124584 -2.813025)'), GeomFromEWKT('SRID=4674;POINT (-40.124642 -2.813035)'))) / (select extract(epoch from '2026-06-20 15:41:25'::timestamp) - extract(epoch from '2026-06-20 15:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124584 -2.813025)'), GeomFromEWKT('SRID=4674;POINT (-40.124642 -2.813035)'))) / (select extract(epoch from '2026-06-20 15:41:25'::timestamp) - extract(epoch from '2026-06-20 15:41:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124706 -2.813045)', '2026-06-20 15:41:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124642 -2.813035)'), GeomFromEWKT('SRID=4674;POINT (-40.124706 -2.813045)'))) / (select extract(epoch from '2026-06-20 15:41:38'::timestamp) - extract(epoch from '2026-06-20 15:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124642 -2.813035)'), GeomFromEWKT('SRID=4674;POINT (-40.124706 -2.813045)'))) / (select extract(epoch from '2026-06-20 15:41:38'::timestamp) - extract(epoch from '2026-06-20 15:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124733 -2.81305)', '2026-06-20 15:41:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124706 -2.813045)'), GeomFromEWKT('SRID=4674;POINT (-40.124733 -2.81305)'))) / (select extract(epoch from '2026-06-20 15:41:50'::timestamp) - extract(epoch from '2026-06-20 15:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124706 -2.813045)'), GeomFromEWKT('SRID=4674;POINT (-40.124733 -2.81305)'))) / (select extract(epoch from '2026-06-20 15:41:50'::timestamp) - extract(epoch from '2026-06-20 15:41:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124778 -2.813061)', '2026-06-20 15:42:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124733 -2.81305)'), GeomFromEWKT('SRID=4674;POINT (-40.124778 -2.813061)'))) / (select extract(epoch from '2026-06-20 15:42:02'::timestamp) - extract(epoch from '2026-06-20 15:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124733 -2.81305)'), GeomFromEWKT('SRID=4674;POINT (-40.124778 -2.813061)'))) / (select extract(epoch from '2026-06-20 15:42:02'::timestamp) - extract(epoch from '2026-06-20 15:41:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124867 -2.813068)', '2026-06-20 15:42:20', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124778 -2.813061)'), GeomFromEWKT('SRID=4674;POINT (-40.124867 -2.813068)'))) / (select extract(epoch from '2026-06-20 15:42:20'::timestamp) - extract(epoch from '2026-06-20 15:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124778 -2.813061)'), GeomFromEWKT('SRID=4674;POINT (-40.124867 -2.813068)'))) / (select extract(epoch from '2026-06-20 15:42:20'::timestamp) - extract(epoch from '2026-06-20 15:42:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124913 -2.81307)', '2026-06-20 15:42:33', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124867 -2.813068)'), GeomFromEWKT('SRID=4674;POINT (-40.124913 -2.81307)'))) / (select extract(epoch from '2026-06-20 15:42:33'::timestamp) - extract(epoch from '2026-06-20 15:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124867 -2.813068)'), GeomFromEWKT('SRID=4674;POINT (-40.124913 -2.81307)'))) / (select extract(epoch from '2026-06-20 15:42:33'::timestamp) - extract(epoch from '2026-06-20 15:42:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124963 -2.813076)', '2026-06-20 15:42:44', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124913 -2.81307)'), GeomFromEWKT('SRID=4674;POINT (-40.124963 -2.813076)'))) / (select extract(epoch from '2026-06-20 15:42:44'::timestamp) - extract(epoch from '2026-06-20 15:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124913 -2.81307)'), GeomFromEWKT('SRID=4674;POINT (-40.124963 -2.813076)'))) / (select extract(epoch from '2026-06-20 15:42:44'::timestamp) - extract(epoch from '2026-06-20 15:42:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125004 -2.813083)', '2026-06-20 15:42:55', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124963 -2.813076)'), GeomFromEWKT('SRID=4674;POINT (-40.125004 -2.813083)'))) / (select extract(epoch from '2026-06-20 15:42:55'::timestamp) - extract(epoch from '2026-06-20 15:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124963 -2.813076)'), GeomFromEWKT('SRID=4674;POINT (-40.125004 -2.813083)'))) / (select extract(epoch from '2026-06-20 15:42:55'::timestamp) - extract(epoch from '2026-06-20 15:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12508 -2.813094)', '2026-06-20 15:43:15', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125004 -2.813083)'), GeomFromEWKT('SRID=4674;POINT (-40.12508 -2.813094)'))) / (select extract(epoch from '2026-06-20 15:43:15'::timestamp) - extract(epoch from '2026-06-20 15:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125004 -2.813083)'), GeomFromEWKT('SRID=4674;POINT (-40.12508 -2.813094)'))) / (select extract(epoch from '2026-06-20 15:43:15'::timestamp) - extract(epoch from '2026-06-20 15:42:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125119 -2.813103)', '2026-06-20 15:43:26', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12508 -2.813094)'), GeomFromEWKT('SRID=4674;POINT (-40.125119 -2.813103)'))) / (select extract(epoch from '2026-06-20 15:43:26'::timestamp) - extract(epoch from '2026-06-20 15:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12508 -2.813094)'), GeomFromEWKT('SRID=4674;POINT (-40.125119 -2.813103)'))) / (select extract(epoch from '2026-06-20 15:43:26'::timestamp) - extract(epoch from '2026-06-20 15:43:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125168 -2.813123)', '2026-06-20 15:43:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125119 -2.813103)'), GeomFromEWKT('SRID=4674;POINT (-40.125168 -2.813123)'))) / (select extract(epoch from '2026-06-20 15:43:40'::timestamp) - extract(epoch from '2026-06-20 15:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125119 -2.813103)'), GeomFromEWKT('SRID=4674;POINT (-40.125168 -2.813123)'))) / (select extract(epoch from '2026-06-20 15:43:40'::timestamp) - extract(epoch from '2026-06-20 15:43:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125175 -2.813125)', '2026-06-20 15:43:53', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125168 -2.813123)'), GeomFromEWKT('SRID=4674;POINT (-40.125175 -2.813125)'))) / (select extract(epoch from '2026-06-20 15:43:53'::timestamp) - extract(epoch from '2026-06-20 15:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125168 -2.813123)'), GeomFromEWKT('SRID=4674;POINT (-40.125175 -2.813125)'))) / (select extract(epoch from '2026-06-20 15:43:53'::timestamp) - extract(epoch from '2026-06-20 15:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12523 -2.813153)', '2026-06-20 15:44:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125175 -2.813125)'), GeomFromEWKT('SRID=4674;POINT (-40.12523 -2.813153)'))) / (select extract(epoch from '2026-06-20 15:44:03'::timestamp) - extract(epoch from '2026-06-20 15:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125175 -2.813125)'), GeomFromEWKT('SRID=4674;POINT (-40.12523 -2.813153)'))) / (select extract(epoch from '2026-06-20 15:44:03'::timestamp) - extract(epoch from '2026-06-20 15:43:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125275 -2.813174)', '2026-06-20 15:44:14', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12523 -2.813153)'), GeomFromEWKT('SRID=4674;POINT (-40.125275 -2.813174)'))) / (select extract(epoch from '2026-06-20 15:44:14'::timestamp) - extract(epoch from '2026-06-20 15:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12523 -2.813153)'), GeomFromEWKT('SRID=4674;POINT (-40.125275 -2.813174)'))) / (select extract(epoch from '2026-06-20 15:44:14'::timestamp) - extract(epoch from '2026-06-20 15:44:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125221 -2.8132)', '2026-06-20 15:53:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125275 -2.813174)'), GeomFromEWKT('SRID=4674;POINT (-40.125221 -2.8132)'))) / (select extract(epoch from '2026-06-20 15:53:03'::timestamp) - extract(epoch from '2026-06-20 15:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125275 -2.813174)'), GeomFromEWKT('SRID=4674;POINT (-40.125221 -2.8132)'))) / (select extract(epoch from '2026-06-20 15:53:03'::timestamp) - extract(epoch from '2026-06-20 15:44:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125176 -2.813197)', '2026-06-20 15:53:15', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125221 -2.8132)'), GeomFromEWKT('SRID=4674;POINT (-40.125176 -2.813197)'))) / (select extract(epoch from '2026-06-20 15:53:15'::timestamp) - extract(epoch from '2026-06-20 15:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125221 -2.8132)'), GeomFromEWKT('SRID=4674;POINT (-40.125176 -2.813197)'))) / (select extract(epoch from '2026-06-20 15:53:15'::timestamp) - extract(epoch from '2026-06-20 15:53:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125107 -2.813176)', '2026-06-20 15:53:28', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125176 -2.813197)'), GeomFromEWKT('SRID=4674;POINT (-40.125107 -2.813176)'))) / (select extract(epoch from '2026-06-20 15:53:28'::timestamp) - extract(epoch from '2026-06-20 15:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125176 -2.813197)'), GeomFromEWKT('SRID=4674;POINT (-40.125107 -2.813176)'))) / (select extract(epoch from '2026-06-20 15:53:28'::timestamp) - extract(epoch from '2026-06-20 15:53:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125167 -2.813156)', '2026-06-20 15:53:37', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125107 -2.813176)'), GeomFromEWKT('SRID=4674;POINT (-40.125167 -2.813156)'))) / (select extract(epoch from '2026-06-20 15:53:37'::timestamp) - extract(epoch from '2026-06-20 15:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125107 -2.813176)'), GeomFromEWKT('SRID=4674;POINT (-40.125167 -2.813156)'))) / (select extract(epoch from '2026-06-20 15:53:37'::timestamp) - extract(epoch from '2026-06-20 15:53:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125316 -2.813172)', '2026-06-20 15:53:49', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125167 -2.813156)'), GeomFromEWKT('SRID=4674;POINT (-40.125316 -2.813172)'))) / (select extract(epoch from '2026-06-20 15:53:49'::timestamp) - extract(epoch from '2026-06-20 15:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125167 -2.813156)'), GeomFromEWKT('SRID=4674;POINT (-40.125316 -2.813172)'))) / (select extract(epoch from '2026-06-20 15:53:49'::timestamp) - extract(epoch from '2026-06-20 15:53:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125412 -2.813092)', '2026-06-20 15:54:00', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125316 -2.813172)'), GeomFromEWKT('SRID=4674;POINT (-40.125412 -2.813092)'))) / (select extract(epoch from '2026-06-20 15:54:00'::timestamp) - extract(epoch from '2026-06-20 15:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125316 -2.813172)'), GeomFromEWKT('SRID=4674;POINT (-40.125412 -2.813092)'))) / (select extract(epoch from '2026-06-20 15:54:00'::timestamp) - extract(epoch from '2026-06-20 15:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125404 -2.813026)', '2026-06-20 15:54:10', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125412 -2.813092)'), GeomFromEWKT('SRID=4674;POINT (-40.125404 -2.813026)'))) / (select extract(epoch from '2026-06-20 15:54:10'::timestamp) - extract(epoch from '2026-06-20 15:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125412 -2.813092)'), GeomFromEWKT('SRID=4674;POINT (-40.125404 -2.813026)'))) / (select extract(epoch from '2026-06-20 15:54:10'::timestamp) - extract(epoch from '2026-06-20 15:54:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125347 -2.813019)', '2026-06-20 15:54:19', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125404 -2.813026)'), GeomFromEWKT('SRID=4674;POINT (-40.125347 -2.813019)'))) / (select extract(epoch from '2026-06-20 15:54:19'::timestamp) - extract(epoch from '2026-06-20 15:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125404 -2.813026)'), GeomFromEWKT('SRID=4674;POINT (-40.125347 -2.813019)'))) / (select extract(epoch from '2026-06-20 15:54:19'::timestamp) - extract(epoch from '2026-06-20 15:54:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125258 -2.813053)', '2026-06-20 15:54:36', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125347 -2.813019)'), GeomFromEWKT('SRID=4674;POINT (-40.125258 -2.813053)'))) / (select extract(epoch from '2026-06-20 15:54:36'::timestamp) - extract(epoch from '2026-06-20 15:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125347 -2.813019)'), GeomFromEWKT('SRID=4674;POINT (-40.125258 -2.813053)'))) / (select extract(epoch from '2026-06-20 15:54:36'::timestamp) - extract(epoch from '2026-06-20 15:54:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125239 -2.813047)', '2026-06-20 15:54:49', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125258 -2.813053)'), GeomFromEWKT('SRID=4674;POINT (-40.125239 -2.813047)'))) / (select extract(epoch from '2026-06-20 15:54:49'::timestamp) - extract(epoch from '2026-06-20 15:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125258 -2.813053)'), GeomFromEWKT('SRID=4674;POINT (-40.125239 -2.813047)'))) / (select extract(epoch from '2026-06-20 15:54:49'::timestamp) - extract(epoch from '2026-06-20 15:54:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12529 -2.812969)', '2026-06-20 15:55:16', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125239 -2.813047)'), GeomFromEWKT('SRID=4674;POINT (-40.12529 -2.812969)'))) / (select extract(epoch from '2026-06-20 15:55:16'::timestamp) - extract(epoch from '2026-06-20 15:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125239 -2.813047)'), GeomFromEWKT('SRID=4674;POINT (-40.12529 -2.812969)'))) / (select extract(epoch from '2026-06-20 15:55:16'::timestamp) - extract(epoch from '2026-06-20 15:54:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125361 -2.812911)', '2026-06-20 15:55:34', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12529 -2.812969)'), GeomFromEWKT('SRID=4674;POINT (-40.125361 -2.812911)'))) / (select extract(epoch from '2026-06-20 15:55:34'::timestamp) - extract(epoch from '2026-06-20 15:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12529 -2.812969)'), GeomFromEWKT('SRID=4674;POINT (-40.125361 -2.812911)'))) / (select extract(epoch from '2026-06-20 15:55:34'::timestamp) - extract(epoch from '2026-06-20 15:55:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12544 -2.812822)', '2026-06-20 15:55:52', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125361 -2.812911)'), GeomFromEWKT('SRID=4674;POINT (-40.12544 -2.812822)'))) / (select extract(epoch from '2026-06-20 15:55:52'::timestamp) - extract(epoch from '2026-06-20 15:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125361 -2.812911)'), GeomFromEWKT('SRID=4674;POINT (-40.12544 -2.812822)'))) / (select extract(epoch from '2026-06-20 15:55:52'::timestamp) - extract(epoch from '2026-06-20 15:55:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125465 -2.812743)', '2026-06-20 15:56:10', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12544 -2.812822)'), GeomFromEWKT('SRID=4674;POINT (-40.125465 -2.812743)'))) / (select extract(epoch from '2026-06-20 15:56:10'::timestamp) - extract(epoch from '2026-06-20 15:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12544 -2.812822)'), GeomFromEWKT('SRID=4674;POINT (-40.125465 -2.812743)'))) / (select extract(epoch from '2026-06-20 15:56:10'::timestamp) - extract(epoch from '2026-06-20 15:55:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125497 -2.812673)', '2026-06-20 15:56:26', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125465 -2.812743)'), GeomFromEWKT('SRID=4674;POINT (-40.125497 -2.812673)'))) / (select extract(epoch from '2026-06-20 15:56:26'::timestamp) - extract(epoch from '2026-06-20 15:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125465 -2.812743)'), GeomFromEWKT('SRID=4674;POINT (-40.125497 -2.812673)'))) / (select extract(epoch from '2026-06-20 15:56:26'::timestamp) - extract(epoch from '2026-06-20 15:56:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125484 -2.8126)', '2026-06-20 15:56:42', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125497 -2.812673)'), GeomFromEWKT('SRID=4674;POINT (-40.125484 -2.8126)'))) / (select extract(epoch from '2026-06-20 15:56:42'::timestamp) - extract(epoch from '2026-06-20 15:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125497 -2.812673)'), GeomFromEWKT('SRID=4674;POINT (-40.125484 -2.8126)'))) / (select extract(epoch from '2026-06-20 15:56:42'::timestamp) - extract(epoch from '2026-06-20 15:56:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125463 -2.812513)', '2026-06-20 15:57:01', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125484 -2.8126)'), GeomFromEWKT('SRID=4674;POINT (-40.125463 -2.812513)'))) / (select extract(epoch from '2026-06-20 15:57:01'::timestamp) - extract(epoch from '2026-06-20 15:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125484 -2.8126)'), GeomFromEWKT('SRID=4674;POINT (-40.125463 -2.812513)'))) / (select extract(epoch from '2026-06-20 15:57:01'::timestamp) - extract(epoch from '2026-06-20 15:56:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125481 -2.812426)', '2026-06-20 15:57:18', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125463 -2.812513)'), GeomFromEWKT('SRID=4674;POINT (-40.125481 -2.812426)'))) / (select extract(epoch from '2026-06-20 15:57:18'::timestamp) - extract(epoch from '2026-06-20 15:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125463 -2.812513)'), GeomFromEWKT('SRID=4674;POINT (-40.125481 -2.812426)'))) / (select extract(epoch from '2026-06-20 15:57:18'::timestamp) - extract(epoch from '2026-06-20 15:57:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125437 -2.812348)', '2026-06-20 15:57:34', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125481 -2.812426)'), GeomFromEWKT('SRID=4674;POINT (-40.125437 -2.812348)'))) / (select extract(epoch from '2026-06-20 15:57:34'::timestamp) - extract(epoch from '2026-06-20 15:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125481 -2.812426)'), GeomFromEWKT('SRID=4674;POINT (-40.125437 -2.812348)'))) / (select extract(epoch from '2026-06-20 15:57:34'::timestamp) - extract(epoch from '2026-06-20 15:57:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125409 -2.8123)', '2026-06-20 15:57:47', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125437 -2.812348)'), GeomFromEWKT('SRID=4674;POINT (-40.125409 -2.8123)'))) / (select extract(epoch from '2026-06-20 15:57:47'::timestamp) - extract(epoch from '2026-06-20 15:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125437 -2.812348)'), GeomFromEWKT('SRID=4674;POINT (-40.125409 -2.8123)'))) / (select extract(epoch from '2026-06-20 15:57:47'::timestamp) - extract(epoch from '2026-06-20 15:57:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125403 -2.812239)', '2026-06-20 15:58:02', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125409 -2.8123)'), GeomFromEWKT('SRID=4674;POINT (-40.125403 -2.812239)'))) / (select extract(epoch from '2026-06-20 15:58:02'::timestamp) - extract(epoch from '2026-06-20 15:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125409 -2.8123)'), GeomFromEWKT('SRID=4674;POINT (-40.125403 -2.812239)'))) / (select extract(epoch from '2026-06-20 15:58:02'::timestamp) - extract(epoch from '2026-06-20 15:57:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125384 -2.812167)', '2026-06-20 15:58:17', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125403 -2.812239)'), GeomFromEWKT('SRID=4674;POINT (-40.125384 -2.812167)'))) / (select extract(epoch from '2026-06-20 15:58:17'::timestamp) - extract(epoch from '2026-06-20 15:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125403 -2.812239)'), GeomFromEWKT('SRID=4674;POINT (-40.125384 -2.812167)'))) / (select extract(epoch from '2026-06-20 15:58:17'::timestamp) - extract(epoch from '2026-06-20 15:58:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125343 -2.812143)', '2026-06-20 15:58:31', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125384 -2.812167)'), GeomFromEWKT('SRID=4674;POINT (-40.125343 -2.812143)'))) / (select extract(epoch from '2026-06-20 15:58:31'::timestamp) - extract(epoch from '2026-06-20 15:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125384 -2.812167)'), GeomFromEWKT('SRID=4674;POINT (-40.125343 -2.812143)'))) / (select extract(epoch from '2026-06-20 15:58:31'::timestamp) - extract(epoch from '2026-06-20 15:58:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125318 -2.812109)', '2026-06-20 15:58:40', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125343 -2.812143)'), GeomFromEWKT('SRID=4674;POINT (-40.125318 -2.812109)'))) / (select extract(epoch from '2026-06-20 15:58:40'::timestamp) - extract(epoch from '2026-06-20 15:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125343 -2.812143)'), GeomFromEWKT('SRID=4674;POINT (-40.125318 -2.812109)'))) / (select extract(epoch from '2026-06-20 15:58:40'::timestamp) - extract(epoch from '2026-06-20 15:58:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125314 -2.812083)', '2026-06-20 15:58:52', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125318 -2.812109)'), GeomFromEWKT('SRID=4674;POINT (-40.125314 -2.812083)'))) / (select extract(epoch from '2026-06-20 15:58:52'::timestamp) - extract(epoch from '2026-06-20 15:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125318 -2.812109)'), GeomFromEWKT('SRID=4674;POINT (-40.125314 -2.812083)'))) / (select extract(epoch from '2026-06-20 15:58:52'::timestamp) - extract(epoch from '2026-06-20 15:58:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125271 -2.811952)', '2026-06-20 15:59:45', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125314 -2.812083)'), GeomFromEWKT('SRID=4674;POINT (-40.125271 -2.811952)'))) / (select extract(epoch from '2026-06-20 15:59:45'::timestamp) - extract(epoch from '2026-06-20 15:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125314 -2.812083)'), GeomFromEWKT('SRID=4674;POINT (-40.125271 -2.811952)'))) / (select extract(epoch from '2026-06-20 15:59:45'::timestamp) - extract(epoch from '2026-06-20 15:58:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125206 -2.811941)', '2026-06-20 15:59:57', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125271 -2.811952)'), GeomFromEWKT('SRID=4674;POINT (-40.125206 -2.811941)'))) / (select extract(epoch from '2026-06-20 15:59:57'::timestamp) - extract(epoch from '2026-06-20 15:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125271 -2.811952)'), GeomFromEWKT('SRID=4674;POINT (-40.125206 -2.811941)'))) / (select extract(epoch from '2026-06-20 15:59:57'::timestamp) - extract(epoch from '2026-06-20 15:59:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125123 -2.811955)', '2026-06-20 16:00:14', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125206 -2.811941)'), GeomFromEWKT('SRID=4674;POINT (-40.125123 -2.811955)'))) / (select extract(epoch from '2026-06-20 16:00:14'::timestamp) - extract(epoch from '2026-06-20 15:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125206 -2.811941)'), GeomFromEWKT('SRID=4674;POINT (-40.125123 -2.811955)'))) / (select extract(epoch from '2026-06-20 16:00:14'::timestamp) - extract(epoch from '2026-06-20 15:59:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12511 -2.811948)', '2026-06-20 16:00:25', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125123 -2.811955)'), GeomFromEWKT('SRID=4674;POINT (-40.12511 -2.811948)'))) / (select extract(epoch from '2026-06-20 16:00:25'::timestamp) - extract(epoch from '2026-06-20 16:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125123 -2.811955)'), GeomFromEWKT('SRID=4674;POINT (-40.12511 -2.811948)'))) / (select extract(epoch from '2026-06-20 16:00:25'::timestamp) - extract(epoch from '2026-06-20 16:00:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125054 -2.811928)', '2026-06-20 16:00:40', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12511 -2.811948)'), GeomFromEWKT('SRID=4674;POINT (-40.125054 -2.811928)'))) / (select extract(epoch from '2026-06-20 16:00:40'::timestamp) - extract(epoch from '2026-06-20 16:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12511 -2.811948)'), GeomFromEWKT('SRID=4674;POINT (-40.125054 -2.811928)'))) / (select extract(epoch from '2026-06-20 16:00:40'::timestamp) - extract(epoch from '2026-06-20 16:00:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125028 -2.81192)', '2026-06-20 16:00:52', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125054 -2.811928)'), GeomFromEWKT('SRID=4674;POINT (-40.125028 -2.81192)'))) / (select extract(epoch from '2026-06-20 16:00:52'::timestamp) - extract(epoch from '2026-06-20 16:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125054 -2.811928)'), GeomFromEWKT('SRID=4674;POINT (-40.125028 -2.81192)'))) / (select extract(epoch from '2026-06-20 16:00:52'::timestamp) - extract(epoch from '2026-06-20 16:00:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124971 -2.811897)', '2026-06-20 16:01:04', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125028 -2.81192)'), GeomFromEWKT('SRID=4674;POINT (-40.124971 -2.811897)'))) / (select extract(epoch from '2026-06-20 16:01:04'::timestamp) - extract(epoch from '2026-06-20 16:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125028 -2.81192)'), GeomFromEWKT('SRID=4674;POINT (-40.124971 -2.811897)'))) / (select extract(epoch from '2026-06-20 16:01:04'::timestamp) - extract(epoch from '2026-06-20 16:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124943 -2.811888)', '2026-06-20 16:01:16', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124971 -2.811897)'), GeomFromEWKT('SRID=4674;POINT (-40.124943 -2.811888)'))) / (select extract(epoch from '2026-06-20 16:01:16'::timestamp) - extract(epoch from '2026-06-20 16:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124971 -2.811897)'), GeomFromEWKT('SRID=4674;POINT (-40.124943 -2.811888)'))) / (select extract(epoch from '2026-06-20 16:01:16'::timestamp) - extract(epoch from '2026-06-20 16:01:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124862 -2.811873)', '2026-06-20 16:01:32', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124943 -2.811888)'), GeomFromEWKT('SRID=4674;POINT (-40.124862 -2.811873)'))) / (select extract(epoch from '2026-06-20 16:01:32'::timestamp) - extract(epoch from '2026-06-20 16:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124943 -2.811888)'), GeomFromEWKT('SRID=4674;POINT (-40.124862 -2.811873)'))) / (select extract(epoch from '2026-06-20 16:01:32'::timestamp) - extract(epoch from '2026-06-20 16:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124788 -2.811869)', '2026-06-20 16:01:46', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124862 -2.811873)'), GeomFromEWKT('SRID=4674;POINT (-40.124788 -2.811869)'))) / (select extract(epoch from '2026-06-20 16:01:46'::timestamp) - extract(epoch from '2026-06-20 16:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124862 -2.811873)'), GeomFromEWKT('SRID=4674;POINT (-40.124788 -2.811869)'))) / (select extract(epoch from '2026-06-20 16:01:46'::timestamp) - extract(epoch from '2026-06-20 16:01:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124723 -2.811838)', '2026-06-20 16:02:01', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124788 -2.811869)'), GeomFromEWKT('SRID=4674;POINT (-40.124723 -2.811838)'))) / (select extract(epoch from '2026-06-20 16:02:01'::timestamp) - extract(epoch from '2026-06-20 16:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124788 -2.811869)'), GeomFromEWKT('SRID=4674;POINT (-40.124723 -2.811838)'))) / (select extract(epoch from '2026-06-20 16:02:01'::timestamp) - extract(epoch from '2026-06-20 16:01:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124653 -2.811766)', '2026-06-20 16:02:19', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124723 -2.811838)'), GeomFromEWKT('SRID=4674;POINT (-40.124653 -2.811766)'))) / (select extract(epoch from '2026-06-20 16:02:19'::timestamp) - extract(epoch from '2026-06-20 16:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124723 -2.811838)'), GeomFromEWKT('SRID=4674;POINT (-40.124653 -2.811766)'))) / (select extract(epoch from '2026-06-20 16:02:19'::timestamp) - extract(epoch from '2026-06-20 16:02:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.1246 -2.811766)', '2026-06-20 16:02:27', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124653 -2.811766)'), GeomFromEWKT('SRID=4674;POINT (-40.1246 -2.811766)'))) / (select extract(epoch from '2026-06-20 16:02:27'::timestamp) - extract(epoch from '2026-06-20 16:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124653 -2.811766)'), GeomFromEWKT('SRID=4674;POINT (-40.1246 -2.811766)'))) / (select extract(epoch from '2026-06-20 16:02:27'::timestamp) - extract(epoch from '2026-06-20 16:02:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124508 -2.811794)', '2026-06-20 16:02:42', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1246 -2.811766)'), GeomFromEWKT('SRID=4674;POINT (-40.124508 -2.811794)'))) / (select extract(epoch from '2026-06-20 16:02:42'::timestamp) - extract(epoch from '2026-06-20 16:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1246 -2.811766)'), GeomFromEWKT('SRID=4674;POINT (-40.124508 -2.811794)'))) / (select extract(epoch from '2026-06-20 16:02:42'::timestamp) - extract(epoch from '2026-06-20 16:02:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124465 -2.811804)', '2026-06-20 16:02:57', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124508 -2.811794)'), GeomFromEWKT('SRID=4674;POINT (-40.124465 -2.811804)'))) / (select extract(epoch from '2026-06-20 16:02:57'::timestamp) - extract(epoch from '2026-06-20 16:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124508 -2.811794)'), GeomFromEWKT('SRID=4674;POINT (-40.124465 -2.811804)'))) / (select extract(epoch from '2026-06-20 16:02:57'::timestamp) - extract(epoch from '2026-06-20 16:02:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124423 -2.811801)', '2026-06-20 16:03:10', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124465 -2.811804)'), GeomFromEWKT('SRID=4674;POINT (-40.124423 -2.811801)'))) / (select extract(epoch from '2026-06-20 16:03:10'::timestamp) - extract(epoch from '2026-06-20 16:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124465 -2.811804)'), GeomFromEWKT('SRID=4674;POINT (-40.124423 -2.811801)'))) / (select extract(epoch from '2026-06-20 16:03:10'::timestamp) - extract(epoch from '2026-06-20 16:02:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124333 -2.811799)', '2026-06-20 16:03:26', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124423 -2.811801)'), GeomFromEWKT('SRID=4674;POINT (-40.124333 -2.811799)'))) / (select extract(epoch from '2026-06-20 16:03:26'::timestamp) - extract(epoch from '2026-06-20 16:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124423 -2.811801)'), GeomFromEWKT('SRID=4674;POINT (-40.124333 -2.811799)'))) / (select extract(epoch from '2026-06-20 16:03:26'::timestamp) - extract(epoch from '2026-06-20 16:03:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124257 -2.811831)', '2026-06-20 16:03:41', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124333 -2.811799)'), GeomFromEWKT('SRID=4674;POINT (-40.124257 -2.811831)'))) / (select extract(epoch from '2026-06-20 16:03:41'::timestamp) - extract(epoch from '2026-06-20 16:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124333 -2.811799)'), GeomFromEWKT('SRID=4674;POINT (-40.124257 -2.811831)'))) / (select extract(epoch from '2026-06-20 16:03:41'::timestamp) - extract(epoch from '2026-06-20 16:03:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124201 -2.811826)', '2026-06-20 16:03:52', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124257 -2.811831)'), GeomFromEWKT('SRID=4674;POINT (-40.124201 -2.811826)'))) / (select extract(epoch from '2026-06-20 16:03:52'::timestamp) - extract(epoch from '2026-06-20 16:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124257 -2.811831)'), GeomFromEWKT('SRID=4674;POINT (-40.124201 -2.811826)'))) / (select extract(epoch from '2026-06-20 16:03:52'::timestamp) - extract(epoch from '2026-06-20 16:03:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124135 -2.811792)', '2026-06-20 16:04:07', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124201 -2.811826)'), GeomFromEWKT('SRID=4674;POINT (-40.124135 -2.811792)'))) / (select extract(epoch from '2026-06-20 16:04:07'::timestamp) - extract(epoch from '2026-06-20 16:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124201 -2.811826)'), GeomFromEWKT('SRID=4674;POINT (-40.124135 -2.811792)'))) / (select extract(epoch from '2026-06-20 16:04:07'::timestamp) - extract(epoch from '2026-06-20 16:03:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124084 -2.81174)', '2026-06-20 16:04:21', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124135 -2.811792)'), GeomFromEWKT('SRID=4674;POINT (-40.124084 -2.81174)'))) / (select extract(epoch from '2026-06-20 16:04:21'::timestamp) - extract(epoch from '2026-06-20 16:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124135 -2.811792)'), GeomFromEWKT('SRID=4674;POINT (-40.124084 -2.81174)'))) / (select extract(epoch from '2026-06-20 16:04:21'::timestamp) - extract(epoch from '2026-06-20 16:04:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124125 -2.811673)', '2026-06-20 16:04:31', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124084 -2.81174)'), GeomFromEWKT('SRID=4674;POINT (-40.124125 -2.811673)'))) / (select extract(epoch from '2026-06-20 16:04:31'::timestamp) - extract(epoch from '2026-06-20 16:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124084 -2.81174)'), GeomFromEWKT('SRID=4674;POINT (-40.124125 -2.811673)'))) / (select extract(epoch from '2026-06-20 16:04:31'::timestamp) - extract(epoch from '2026-06-20 16:04:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124215 -2.811559)', '2026-06-20 16:04:46', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124125 -2.811673)'), GeomFromEWKT('SRID=4674;POINT (-40.124215 -2.811559)'))) / (select extract(epoch from '2026-06-20 16:04:46'::timestamp) - extract(epoch from '2026-06-20 16:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124125 -2.811673)'), GeomFromEWKT('SRID=4674;POINT (-40.124215 -2.811559)'))) / (select extract(epoch from '2026-06-20 16:04:46'::timestamp) - extract(epoch from '2026-06-20 16:04:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124317 -2.811448)', '2026-06-20 16:04:59', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124215 -2.811559)'), GeomFromEWKT('SRID=4674;POINT (-40.124317 -2.811448)'))) / (select extract(epoch from '2026-06-20 16:04:59'::timestamp) - extract(epoch from '2026-06-20 16:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124215 -2.811559)'), GeomFromEWKT('SRID=4674;POINT (-40.124317 -2.811448)'))) / (select extract(epoch from '2026-06-20 16:04:59'::timestamp) - extract(epoch from '2026-06-20 16:04:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12446 -2.811347)', '2026-06-20 16:05:14', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124317 -2.811448)'), GeomFromEWKT('SRID=4674;POINT (-40.12446 -2.811347)'))) / (select extract(epoch from '2026-06-20 16:05:14'::timestamp) - extract(epoch from '2026-06-20 16:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124317 -2.811448)'), GeomFromEWKT('SRID=4674;POINT (-40.12446 -2.811347)'))) / (select extract(epoch from '2026-06-20 16:05:14'::timestamp) - extract(epoch from '2026-06-20 16:04:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124638 -2.811283)', '2026-06-20 16:05:31', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12446 -2.811347)'), GeomFromEWKT('SRID=4674;POINT (-40.124638 -2.811283)'))) / (select extract(epoch from '2026-06-20 16:05:31'::timestamp) - extract(epoch from '2026-06-20 16:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12446 -2.811347)'), GeomFromEWKT('SRID=4674;POINT (-40.124638 -2.811283)'))) / (select extract(epoch from '2026-06-20 16:05:31'::timestamp) - extract(epoch from '2026-06-20 16:05:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.124842 -2.811218)', '2026-06-20 16:05:50', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124638 -2.811283)'), GeomFromEWKT('SRID=4674;POINT (-40.124842 -2.811218)'))) / (select extract(epoch from '2026-06-20 16:05:50'::timestamp) - extract(epoch from '2026-06-20 16:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124638 -2.811283)'), GeomFromEWKT('SRID=4674;POINT (-40.124842 -2.811218)'))) / (select extract(epoch from '2026-06-20 16:05:50'::timestamp) - extract(epoch from '2026-06-20 16:05:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125036 -2.811154)', '2026-06-20 16:06:06', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124842 -2.811218)'), GeomFromEWKT('SRID=4674;POINT (-40.125036 -2.811154)'))) / (select extract(epoch from '2026-06-20 16:06:06'::timestamp) - extract(epoch from '2026-06-20 16:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124842 -2.811218)'), GeomFromEWKT('SRID=4674;POINT (-40.125036 -2.811154)'))) / (select extract(epoch from '2026-06-20 16:06:06'::timestamp) - extract(epoch from '2026-06-20 16:05:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125154 -2.811127)', '2026-06-20 16:06:15', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125036 -2.811154)'), GeomFromEWKT('SRID=4674;POINT (-40.125154 -2.811127)'))) / (select extract(epoch from '2026-06-20 16:06:15'::timestamp) - extract(epoch from '2026-06-20 16:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125036 -2.811154)'), GeomFromEWKT('SRID=4674;POINT (-40.125154 -2.811127)'))) / (select extract(epoch from '2026-06-20 16:06:15'::timestamp) - extract(epoch from '2026-06-20 16:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125255 -2.811087)', '2026-06-20 16:06:24', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125154 -2.811127)'), GeomFromEWKT('SRID=4674;POINT (-40.125255 -2.811087)'))) / (select extract(epoch from '2026-06-20 16:06:24'::timestamp) - extract(epoch from '2026-06-20 16:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125154 -2.811127)'), GeomFromEWKT('SRID=4674;POINT (-40.125255 -2.811087)'))) / (select extract(epoch from '2026-06-20 16:06:24'::timestamp) - extract(epoch from '2026-06-20 16:06:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125337 -2.811056)', '2026-06-20 16:06:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125255 -2.811087)'), GeomFromEWKT('SRID=4674;POINT (-40.125337 -2.811056)'))) / (select extract(epoch from '2026-06-20 16:06:32'::timestamp) - extract(epoch from '2026-06-20 16:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125255 -2.811087)'), GeomFromEWKT('SRID=4674;POINT (-40.125337 -2.811056)'))) / (select extract(epoch from '2026-06-20 16:06:32'::timestamp) - extract(epoch from '2026-06-20 16:06:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125416 -2.811005)', '2026-06-20 16:06:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125337 -2.811056)'), GeomFromEWKT('SRID=4674;POINT (-40.125416 -2.811005)'))) / (select extract(epoch from '2026-06-20 16:06:40'::timestamp) - extract(epoch from '2026-06-20 16:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125337 -2.811056)'), GeomFromEWKT('SRID=4674;POINT (-40.125416 -2.811005)'))) / (select extract(epoch from '2026-06-20 16:06:40'::timestamp) - extract(epoch from '2026-06-20 16:06:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125484 -2.81096)', '2026-06-20 16:06:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125416 -2.811005)'), GeomFromEWKT('SRID=4674;POINT (-40.125484 -2.81096)'))) / (select extract(epoch from '2026-06-20 16:06:47'::timestamp) - extract(epoch from '2026-06-20 16:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125416 -2.811005)'), GeomFromEWKT('SRID=4674;POINT (-40.125484 -2.81096)'))) / (select extract(epoch from '2026-06-20 16:06:47'::timestamp) - extract(epoch from '2026-06-20 16:06:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125548 -2.810916)', '2026-06-20 16:06:54', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125484 -2.81096)'), GeomFromEWKT('SRID=4674;POINT (-40.125548 -2.810916)'))) / (select extract(epoch from '2026-06-20 16:06:54'::timestamp) - extract(epoch from '2026-06-20 16:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125484 -2.81096)'), GeomFromEWKT('SRID=4674;POINT (-40.125548 -2.810916)'))) / (select extract(epoch from '2026-06-20 16:06:54'::timestamp) - extract(epoch from '2026-06-20 16:06:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125647 -2.81088)', '2026-06-20 16:07:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125548 -2.810916)'), GeomFromEWKT('SRID=4674;POINT (-40.125647 -2.81088)'))) / (select extract(epoch from '2026-06-20 16:07:02'::timestamp) - extract(epoch from '2026-06-20 16:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125548 -2.810916)'), GeomFromEWKT('SRID=4674;POINT (-40.125647 -2.81088)'))) / (select extract(epoch from '2026-06-20 16:07:02'::timestamp) - extract(epoch from '2026-06-20 16:06:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125728 -2.810859)', '2026-06-20 16:07:10', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125647 -2.81088)'), GeomFromEWKT('SRID=4674;POINT (-40.125728 -2.810859)'))) / (select extract(epoch from '2026-06-20 16:07:10'::timestamp) - extract(epoch from '2026-06-20 16:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125647 -2.81088)'), GeomFromEWKT('SRID=4674;POINT (-40.125728 -2.810859)'))) / (select extract(epoch from '2026-06-20 16:07:10'::timestamp) - extract(epoch from '2026-06-20 16:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125844 -2.81082)', '2026-06-20 16:07:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125728 -2.810859)'), GeomFromEWKT('SRID=4674;POINT (-40.125844 -2.81082)'))) / (select extract(epoch from '2026-06-20 16:07:19'::timestamp) - extract(epoch from '2026-06-20 16:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125728 -2.810859)'), GeomFromEWKT('SRID=4674;POINT (-40.125844 -2.81082)'))) / (select extract(epoch from '2026-06-20 16:07:19'::timestamp) - extract(epoch from '2026-06-20 16:07:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.125948 -2.810803)', '2026-06-20 16:07:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125844 -2.81082)'), GeomFromEWKT('SRID=4674;POINT (-40.125948 -2.810803)'))) / (select extract(epoch from '2026-06-20 16:07:28'::timestamp) - extract(epoch from '2026-06-20 16:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125844 -2.81082)'), GeomFromEWKT('SRID=4674;POINT (-40.125948 -2.810803)'))) / (select extract(epoch from '2026-06-20 16:07:28'::timestamp) - extract(epoch from '2026-06-20 16:07:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.126078 -2.810785)', '2026-06-20 16:07:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125948 -2.810803)'), GeomFromEWKT('SRID=4674;POINT (-40.126078 -2.810785)'))) / (select extract(epoch from '2026-06-20 16:07:38'::timestamp) - extract(epoch from '2026-06-20 16:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125948 -2.810803)'), GeomFromEWKT('SRID=4674;POINT (-40.126078 -2.810785)'))) / (select extract(epoch from '2026-06-20 16:07:38'::timestamp) - extract(epoch from '2026-06-20 16:07:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.126151 -2.810784)', '2026-06-20 16:07:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126078 -2.810785)'), GeomFromEWKT('SRID=4674;POINT (-40.126151 -2.810784)'))) / (select extract(epoch from '2026-06-20 16:07:44'::timestamp) - extract(epoch from '2026-06-20 16:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126078 -2.810785)'), GeomFromEWKT('SRID=4674;POINT (-40.126151 -2.810784)'))) / (select extract(epoch from '2026-06-20 16:07:44'::timestamp) - extract(epoch from '2026-06-20 16:07:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.126207 -2.810796)', '2026-06-20 16:07:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126151 -2.810784)'), GeomFromEWKT('SRID=4674;POINT (-40.126207 -2.810796)'))) / (select extract(epoch from '2026-06-20 16:07:50'::timestamp) - extract(epoch from '2026-06-20 16:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126151 -2.810784)'), GeomFromEWKT('SRID=4674;POINT (-40.126207 -2.810796)'))) / (select extract(epoch from '2026-06-20 16:07:50'::timestamp) - extract(epoch from '2026-06-20 16:07:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.126305 -2.810795)', '2026-06-20 16:07:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126207 -2.810796)'), GeomFromEWKT('SRID=4674;POINT (-40.126305 -2.810795)'))) / (select extract(epoch from '2026-06-20 16:07:58'::timestamp) - extract(epoch from '2026-06-20 16:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126207 -2.810796)'), GeomFromEWKT('SRID=4674;POINT (-40.126305 -2.810795)'))) / (select extract(epoch from '2026-06-20 16:07:58'::timestamp) - extract(epoch from '2026-06-20 16:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.126389 -2.810783)', '2026-06-20 16:08:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126305 -2.810795)'), GeomFromEWKT('SRID=4674;POINT (-40.126389 -2.810783)'))) / (select extract(epoch from '2026-06-20 16:08:05'::timestamp) - extract(epoch from '2026-06-20 16:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126305 -2.810795)'), GeomFromEWKT('SRID=4674;POINT (-40.126389 -2.810783)'))) / (select extract(epoch from '2026-06-20 16:08:05'::timestamp) - extract(epoch from '2026-06-20 16:07:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.126487 -2.81077)', '2026-06-20 16:08:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126389 -2.810783)'), GeomFromEWKT('SRID=4674;POINT (-40.126487 -2.81077)'))) / (select extract(epoch from '2026-06-20 16:08:13'::timestamp) - extract(epoch from '2026-06-20 16:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126389 -2.810783)'), GeomFromEWKT('SRID=4674;POINT (-40.126487 -2.81077)'))) / (select extract(epoch from '2026-06-20 16:08:13'::timestamp) - extract(epoch from '2026-06-20 16:08:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.126607 -2.81074)', '2026-06-20 16:08:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126487 -2.81077)'), GeomFromEWKT('SRID=4674;POINT (-40.126607 -2.81074)'))) / (select extract(epoch from '2026-06-20 16:08:22'::timestamp) - extract(epoch from '2026-06-20 16:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126487 -2.81077)'), GeomFromEWKT('SRID=4674;POINT (-40.126607 -2.81074)'))) / (select extract(epoch from '2026-06-20 16:08:22'::timestamp) - extract(epoch from '2026-06-20 16:08:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.126716 -2.81072)', '2026-06-20 16:08:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126607 -2.81074)'), GeomFromEWKT('SRID=4674;POINT (-40.126716 -2.81072)'))) / (select extract(epoch from '2026-06-20 16:08:30'::timestamp) - extract(epoch from '2026-06-20 16:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126607 -2.81074)'), GeomFromEWKT('SRID=4674;POINT (-40.126716 -2.81072)'))) / (select extract(epoch from '2026-06-20 16:08:30'::timestamp) - extract(epoch from '2026-06-20 16:08:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12683 -2.810725)', '2026-06-20 16:08:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126716 -2.81072)'), GeomFromEWKT('SRID=4674;POINT (-40.12683 -2.810725)'))) / (select extract(epoch from '2026-06-20 16:08:39'::timestamp) - extract(epoch from '2026-06-20 16:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126716 -2.81072)'), GeomFromEWKT('SRID=4674;POINT (-40.12683 -2.810725)'))) / (select extract(epoch from '2026-06-20 16:08:39'::timestamp) - extract(epoch from '2026-06-20 16:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.126956 -2.810753)', '2026-06-20 16:08:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12683 -2.810725)'), GeomFromEWKT('SRID=4674;POINT (-40.126956 -2.810753)'))) / (select extract(epoch from '2026-06-20 16:08:49'::timestamp) - extract(epoch from '2026-06-20 16:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12683 -2.810725)'), GeomFromEWKT('SRID=4674;POINT (-40.126956 -2.810753)'))) / (select extract(epoch from '2026-06-20 16:08:49'::timestamp) - extract(epoch from '2026-06-20 16:08:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127077 -2.810821)', '2026-06-20 16:08:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126956 -2.810753)'), GeomFromEWKT('SRID=4674;POINT (-40.127077 -2.810821)'))) / (select extract(epoch from '2026-06-20 16:08:59'::timestamp) - extract(epoch from '2026-06-20 16:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126956 -2.810753)'), GeomFromEWKT('SRID=4674;POINT (-40.127077 -2.810821)'))) / (select extract(epoch from '2026-06-20 16:08:59'::timestamp) - extract(epoch from '2026-06-20 16:08:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127173 -2.810867)', '2026-06-20 16:09:07', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127077 -2.810821)'), GeomFromEWKT('SRID=4674;POINT (-40.127173 -2.810867)'))) / (select extract(epoch from '2026-06-20 16:09:07'::timestamp) - extract(epoch from '2026-06-20 16:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127077 -2.810821)'), GeomFromEWKT('SRID=4674;POINT (-40.127173 -2.810867)'))) / (select extract(epoch from '2026-06-20 16:09:07'::timestamp) - extract(epoch from '2026-06-20 16:08:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127285 -2.81092)', '2026-06-20 16:09:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127173 -2.810867)'), GeomFromEWKT('SRID=4674;POINT (-40.127285 -2.81092)'))) / (select extract(epoch from '2026-06-20 16:09:16'::timestamp) - extract(epoch from '2026-06-20 16:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127173 -2.810867)'), GeomFromEWKT('SRID=4674;POINT (-40.127285 -2.81092)'))) / (select extract(epoch from '2026-06-20 16:09:16'::timestamp) - extract(epoch from '2026-06-20 16:09:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127375 -2.810992)', '2026-06-20 16:09:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127285 -2.81092)'), GeomFromEWKT('SRID=4674;POINT (-40.127375 -2.810992)'))) / (select extract(epoch from '2026-06-20 16:09:26'::timestamp) - extract(epoch from '2026-06-20 16:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127285 -2.81092)'), GeomFromEWKT('SRID=4674;POINT (-40.127375 -2.810992)'))) / (select extract(epoch from '2026-06-20 16:09:26'::timestamp) - extract(epoch from '2026-06-20 16:09:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127434 -2.811047)', '2026-06-20 16:09:33', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127375 -2.810992)'), GeomFromEWKT('SRID=4674;POINT (-40.127434 -2.811047)'))) / (select extract(epoch from '2026-06-20 16:09:33'::timestamp) - extract(epoch from '2026-06-20 16:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127375 -2.810992)'), GeomFromEWKT('SRID=4674;POINT (-40.127434 -2.811047)'))) / (select extract(epoch from '2026-06-20 16:09:33'::timestamp) - extract(epoch from '2026-06-20 16:09:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127473 -2.811108)', '2026-06-20 16:09:40', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127434 -2.811047)'), GeomFromEWKT('SRID=4674;POINT (-40.127473 -2.811108)'))) / (select extract(epoch from '2026-06-20 16:09:40'::timestamp) - extract(epoch from '2026-06-20 16:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127434 -2.811047)'), GeomFromEWKT('SRID=4674;POINT (-40.127473 -2.811108)'))) / (select extract(epoch from '2026-06-20 16:09:40'::timestamp) - extract(epoch from '2026-06-20 16:09:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127531 -2.811209)', '2026-06-20 16:09:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127473 -2.811108)'), GeomFromEWKT('SRID=4674;POINT (-40.127531 -2.811209)'))) / (select extract(epoch from '2026-06-20 16:09:49'::timestamp) - extract(epoch from '2026-06-20 16:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127473 -2.811108)'), GeomFromEWKT('SRID=4674;POINT (-40.127531 -2.811209)'))) / (select extract(epoch from '2026-06-20 16:09:49'::timestamp) - extract(epoch from '2026-06-20 16:09:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12758 -2.811298)', '2026-06-20 16:09:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127531 -2.811209)'), GeomFromEWKT('SRID=4674;POINT (-40.12758 -2.811298)'))) / (select extract(epoch from '2026-06-20 16:09:57'::timestamp) - extract(epoch from '2026-06-20 16:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127531 -2.811209)'), GeomFromEWKT('SRID=4674;POINT (-40.12758 -2.811298)'))) / (select extract(epoch from '2026-06-20 16:09:57'::timestamp) - extract(epoch from '2026-06-20 16:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127615 -2.811377)', '2026-06-20 16:10:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12758 -2.811298)'), GeomFromEWKT('SRID=4674;POINT (-40.127615 -2.811377)'))) / (select extract(epoch from '2026-06-20 16:10:04'::timestamp) - extract(epoch from '2026-06-20 16:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12758 -2.811298)'), GeomFromEWKT('SRID=4674;POINT (-40.127615 -2.811377)'))) / (select extract(epoch from '2026-06-20 16:10:04'::timestamp) - extract(epoch from '2026-06-20 16:09:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12763 -2.811454)', '2026-06-20 16:10:14', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127615 -2.811377)'), GeomFromEWKT('SRID=4674;POINT (-40.12763 -2.811454)'))) / (select extract(epoch from '2026-06-20 16:10:14'::timestamp) - extract(epoch from '2026-06-20 16:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127615 -2.811377)'), GeomFromEWKT('SRID=4674;POINT (-40.12763 -2.811454)'))) / (select extract(epoch from '2026-06-20 16:10:14'::timestamp) - extract(epoch from '2026-06-20 16:10:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127628 -2.811481)', '2026-06-20 16:10:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12763 -2.811454)'), GeomFromEWKT('SRID=4674;POINT (-40.127628 -2.811481)'))) / (select extract(epoch from '2026-06-20 16:10:27'::timestamp) - extract(epoch from '2026-06-20 16:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12763 -2.811454)'), GeomFromEWKT('SRID=4674;POINT (-40.127628 -2.811481)'))) / (select extract(epoch from '2026-06-20 16:10:27'::timestamp) - extract(epoch from '2026-06-20 16:10:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127652 -2.811503)', '2026-06-20 16:10:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127628 -2.811481)'), GeomFromEWKT('SRID=4674;POINT (-40.127652 -2.811503)'))) / (select extract(epoch from '2026-06-20 16:10:34'::timestamp) - extract(epoch from '2026-06-20 16:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127628 -2.811481)'), GeomFromEWKT('SRID=4674;POINT (-40.127652 -2.811503)'))) / (select extract(epoch from '2026-06-20 16:10:34'::timestamp) - extract(epoch from '2026-06-20 16:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127691 -2.811519)', '2026-06-20 16:10:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127652 -2.811503)'), GeomFromEWKT('SRID=4674;POINT (-40.127691 -2.811519)'))) / (select extract(epoch from '2026-06-20 16:10:45'::timestamp) - extract(epoch from '2026-06-20 16:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127652 -2.811503)'), GeomFromEWKT('SRID=4674;POINT (-40.127691 -2.811519)'))) / (select extract(epoch from '2026-06-20 16:10:45'::timestamp) - extract(epoch from '2026-06-20 16:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127743 -2.811532)', '2026-06-20 16:10:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127691 -2.811519)'), GeomFromEWKT('SRID=4674;POINT (-40.127743 -2.811532)'))) / (select extract(epoch from '2026-06-20 16:10:55'::timestamp) - extract(epoch from '2026-06-20 16:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127691 -2.811519)'), GeomFromEWKT('SRID=4674;POINT (-40.127743 -2.811532)'))) / (select extract(epoch from '2026-06-20 16:10:55'::timestamp) - extract(epoch from '2026-06-20 16:10:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127804 -2.811572)', '2026-06-20 16:11:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127743 -2.811532)'), GeomFromEWKT('SRID=4674;POINT (-40.127804 -2.811572)'))) / (select extract(epoch from '2026-06-20 16:11:12'::timestamp) - extract(epoch from '2026-06-20 16:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127743 -2.811532)'), GeomFromEWKT('SRID=4674;POINT (-40.127804 -2.811572)'))) / (select extract(epoch from '2026-06-20 16:11:12'::timestamp) - extract(epoch from '2026-06-20 16:10:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127846 -2.811603)', '2026-06-20 16:11:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127804 -2.811572)'), GeomFromEWKT('SRID=4674;POINT (-40.127846 -2.811603)'))) / (select extract(epoch from '2026-06-20 16:11:26'::timestamp) - extract(epoch from '2026-06-20 16:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127804 -2.811572)'), GeomFromEWKT('SRID=4674;POINT (-40.127846 -2.811603)'))) / (select extract(epoch from '2026-06-20 16:11:26'::timestamp) - extract(epoch from '2026-06-20 16:11:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127873 -2.811646)', '2026-06-20 16:11:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127846 -2.811603)'), GeomFromEWKT('SRID=4674;POINT (-40.127873 -2.811646)'))) / (select extract(epoch from '2026-06-20 16:11:40'::timestamp) - extract(epoch from '2026-06-20 16:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127846 -2.811603)'), GeomFromEWKT('SRID=4674;POINT (-40.127873 -2.811646)'))) / (select extract(epoch from '2026-06-20 16:11:40'::timestamp) - extract(epoch from '2026-06-20 16:11:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127944 -2.811667)', '2026-06-20 16:11:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127873 -2.811646)'), GeomFromEWKT('SRID=4674;POINT (-40.127944 -2.811667)'))) / (select extract(epoch from '2026-06-20 16:11:57'::timestamp) - extract(epoch from '2026-06-20 16:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127873 -2.811646)'), GeomFromEWKT('SRID=4674;POINT (-40.127944 -2.811667)'))) / (select extract(epoch from '2026-06-20 16:11:57'::timestamp) - extract(epoch from '2026-06-20 16:11:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.127963 -2.811682)', '2026-06-20 16:12:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127944 -2.811667)'), GeomFromEWKT('SRID=4674;POINT (-40.127963 -2.811682)'))) / (select extract(epoch from '2026-06-20 16:12:06'::timestamp) - extract(epoch from '2026-06-20 16:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127944 -2.811667)'), GeomFromEWKT('SRID=4674;POINT (-40.127963 -2.811682)'))) / (select extract(epoch from '2026-06-20 16:12:06'::timestamp) - extract(epoch from '2026-06-20 16:11:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128 -2.81172)', '2026-06-20 16:12:18', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127963 -2.811682)'), GeomFromEWKT('SRID=4674;POINT (-40.128 -2.81172)'))) / (select extract(epoch from '2026-06-20 16:12:18'::timestamp) - extract(epoch from '2026-06-20 16:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127963 -2.811682)'), GeomFromEWKT('SRID=4674;POINT (-40.128 -2.81172)'))) / (select extract(epoch from '2026-06-20 16:12:18'::timestamp) - extract(epoch from '2026-06-20 16:12:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128022 -2.811745)', '2026-06-20 16:12:30', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128 -2.81172)'), GeomFromEWKT('SRID=4674;POINT (-40.128022 -2.811745)'))) / (select extract(epoch from '2026-06-20 16:12:30'::timestamp) - extract(epoch from '2026-06-20 16:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128 -2.81172)'), GeomFromEWKT('SRID=4674;POINT (-40.128022 -2.811745)'))) / (select extract(epoch from '2026-06-20 16:12:30'::timestamp) - extract(epoch from '2026-06-20 16:12:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128061 -2.811774)', '2026-06-20 16:12:42', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128022 -2.811745)'), GeomFromEWKT('SRID=4674;POINT (-40.128061 -2.811774)'))) / (select extract(epoch from '2026-06-20 16:12:42'::timestamp) - extract(epoch from '2026-06-20 16:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128022 -2.811745)'), GeomFromEWKT('SRID=4674;POINT (-40.128061 -2.811774)'))) / (select extract(epoch from '2026-06-20 16:12:42'::timestamp) - extract(epoch from '2026-06-20 16:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128085 -2.811795)', '2026-06-20 16:12:53', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128061 -2.811774)'), GeomFromEWKT('SRID=4674;POINT (-40.128085 -2.811795)'))) / (select extract(epoch from '2026-06-20 16:12:53'::timestamp) - extract(epoch from '2026-06-20 16:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128061 -2.811774)'), GeomFromEWKT('SRID=4674;POINT (-40.128085 -2.811795)'))) / (select extract(epoch from '2026-06-20 16:12:53'::timestamp) - extract(epoch from '2026-06-20 16:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128118 -2.811848)', '2026-06-20 16:13:09', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128085 -2.811795)'), GeomFromEWKT('SRID=4674;POINT (-40.128118 -2.811848)'))) / (select extract(epoch from '2026-06-20 16:13:09'::timestamp) - extract(epoch from '2026-06-20 16:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128085 -2.811795)'), GeomFromEWKT('SRID=4674;POINT (-40.128118 -2.811848)'))) / (select extract(epoch from '2026-06-20 16:13:09'::timestamp) - extract(epoch from '2026-06-20 16:12:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128179 -2.811892)', '2026-06-20 16:13:27', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128118 -2.811848)'), GeomFromEWKT('SRID=4674;POINT (-40.128179 -2.811892)'))) / (select extract(epoch from '2026-06-20 16:13:27'::timestamp) - extract(epoch from '2026-06-20 16:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128118 -2.811848)'), GeomFromEWKT('SRID=4674;POINT (-40.128179 -2.811892)'))) / (select extract(epoch from '2026-06-20 16:13:27'::timestamp) - extract(epoch from '2026-06-20 16:13:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128221 -2.811917)', '2026-06-20 16:13:40', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128179 -2.811892)'), GeomFromEWKT('SRID=4674;POINT (-40.128221 -2.811917)'))) / (select extract(epoch from '2026-06-20 16:13:40'::timestamp) - extract(epoch from '2026-06-20 16:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128179 -2.811892)'), GeomFromEWKT('SRID=4674;POINT (-40.128221 -2.811917)'))) / (select extract(epoch from '2026-06-20 16:13:40'::timestamp) - extract(epoch from '2026-06-20 16:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128274 -2.811958)', '2026-06-20 16:13:56', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128221 -2.811917)'), GeomFromEWKT('SRID=4674;POINT (-40.128274 -2.811958)'))) / (select extract(epoch from '2026-06-20 16:13:56'::timestamp) - extract(epoch from '2026-06-20 16:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128221 -2.811917)'), GeomFromEWKT('SRID=4674;POINT (-40.128274 -2.811958)'))) / (select extract(epoch from '2026-06-20 16:13:56'::timestamp) - extract(epoch from '2026-06-20 16:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128345 -2.811991)', '2026-06-20 16:14:14', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128274 -2.811958)'), GeomFromEWKT('SRID=4674;POINT (-40.128345 -2.811991)'))) / (select extract(epoch from '2026-06-20 16:14:14'::timestamp) - extract(epoch from '2026-06-20 16:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128274 -2.811958)'), GeomFromEWKT('SRID=4674;POINT (-40.128345 -2.811991)'))) / (select extract(epoch from '2026-06-20 16:14:14'::timestamp) - extract(epoch from '2026-06-20 16:13:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128404 -2.812034)', '2026-06-20 16:14:30', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128345 -2.811991)'), GeomFromEWKT('SRID=4674;POINT (-40.128404 -2.812034)'))) / (select extract(epoch from '2026-06-20 16:14:30'::timestamp) - extract(epoch from '2026-06-20 16:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128345 -2.811991)'), GeomFromEWKT('SRID=4674;POINT (-40.128404 -2.812034)'))) / (select extract(epoch from '2026-06-20 16:14:30'::timestamp) - extract(epoch from '2026-06-20 16:14:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128461 -2.812096)', '2026-06-20 16:14:47', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128404 -2.812034)'), GeomFromEWKT('SRID=4674;POINT (-40.128461 -2.812096)'))) / (select extract(epoch from '2026-06-20 16:14:47'::timestamp) - extract(epoch from '2026-06-20 16:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128404 -2.812034)'), GeomFromEWKT('SRID=4674;POINT (-40.128461 -2.812096)'))) / (select extract(epoch from '2026-06-20 16:14:47'::timestamp) - extract(epoch from '2026-06-20 16:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128495 -2.812135)', '2026-06-20 16:15:02', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128461 -2.812096)'), GeomFromEWKT('SRID=4674;POINT (-40.128495 -2.812135)'))) / (select extract(epoch from '2026-06-20 16:15:02'::timestamp) - extract(epoch from '2026-06-20 16:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128461 -2.812096)'), GeomFromEWKT('SRID=4674;POINT (-40.128495 -2.812135)'))) / (select extract(epoch from '2026-06-20 16:15:02'::timestamp) - extract(epoch from '2026-06-20 16:14:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128536 -2.812171)', '2026-06-20 16:15:17', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128495 -2.812135)'), GeomFromEWKT('SRID=4674;POINT (-40.128536 -2.812171)'))) / (select extract(epoch from '2026-06-20 16:15:17'::timestamp) - extract(epoch from '2026-06-20 16:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128495 -2.812135)'), GeomFromEWKT('SRID=4674;POINT (-40.128536 -2.812171)'))) / (select extract(epoch from '2026-06-20 16:15:17'::timestamp) - extract(epoch from '2026-06-20 16:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128599 -2.812213)', '2026-06-20 16:15:35', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128536 -2.812171)'), GeomFromEWKT('SRID=4674;POINT (-40.128599 -2.812213)'))) / (select extract(epoch from '2026-06-20 16:15:35'::timestamp) - extract(epoch from '2026-06-20 16:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128536 -2.812171)'), GeomFromEWKT('SRID=4674;POINT (-40.128599 -2.812213)'))) / (select extract(epoch from '2026-06-20 16:15:35'::timestamp) - extract(epoch from '2026-06-20 16:15:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128632 -2.812241)', '2026-06-20 16:15:47', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128599 -2.812213)'), GeomFromEWKT('SRID=4674;POINT (-40.128632 -2.812241)'))) / (select extract(epoch from '2026-06-20 16:15:47'::timestamp) - extract(epoch from '2026-06-20 16:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128599 -2.812213)'), GeomFromEWKT('SRID=4674;POINT (-40.128632 -2.812241)'))) / (select extract(epoch from '2026-06-20 16:15:47'::timestamp) - extract(epoch from '2026-06-20 16:15:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128701 -2.812278)', '2026-06-20 16:16:04', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128632 -2.812241)'), GeomFromEWKT('SRID=4674;POINT (-40.128701 -2.812278)'))) / (select extract(epoch from '2026-06-20 16:16:04'::timestamp) - extract(epoch from '2026-06-20 16:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128632 -2.812241)'), GeomFromEWKT('SRID=4674;POINT (-40.128701 -2.812278)'))) / (select extract(epoch from '2026-06-20 16:16:04'::timestamp) - extract(epoch from '2026-06-20 16:15:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12873 -2.812305)', '2026-06-20 16:16:14', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128701 -2.812278)'), GeomFromEWKT('SRID=4674;POINT (-40.12873 -2.812305)'))) / (select extract(epoch from '2026-06-20 16:16:14'::timestamp) - extract(epoch from '2026-06-20 16:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128701 -2.812278)'), GeomFromEWKT('SRID=4674;POINT (-40.12873 -2.812305)'))) / (select extract(epoch from '2026-06-20 16:16:14'::timestamp) - extract(epoch from '2026-06-20 16:16:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128792 -2.812358)', '2026-06-20 16:16:32', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12873 -2.812305)'), GeomFromEWKT('SRID=4674;POINT (-40.128792 -2.812358)'))) / (select extract(epoch from '2026-06-20 16:16:32'::timestamp) - extract(epoch from '2026-06-20 16:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12873 -2.812305)'), GeomFromEWKT('SRID=4674;POINT (-40.128792 -2.812358)'))) / (select extract(epoch from '2026-06-20 16:16:32'::timestamp) - extract(epoch from '2026-06-20 16:16:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128833 -2.812393)', '2026-06-20 16:16:47', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128792 -2.812358)'), GeomFromEWKT('SRID=4674;POINT (-40.128833 -2.812393)'))) / (select extract(epoch from '2026-06-20 16:16:47'::timestamp) - extract(epoch from '2026-06-20 16:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128792 -2.812358)'), GeomFromEWKT('SRID=4674;POINT (-40.128833 -2.812393)'))) / (select extract(epoch from '2026-06-20 16:16:47'::timestamp) - extract(epoch from '2026-06-20 16:16:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128863 -2.812431)', '2026-06-20 16:16:58', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128833 -2.812393)'), GeomFromEWKT('SRID=4674;POINT (-40.128863 -2.812431)'))) / (select extract(epoch from '2026-06-20 16:16:58'::timestamp) - extract(epoch from '2026-06-20 16:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128833 -2.812393)'), GeomFromEWKT('SRID=4674;POINT (-40.128863 -2.812431)'))) / (select extract(epoch from '2026-06-20 16:16:58'::timestamp) - extract(epoch from '2026-06-20 16:16:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.128901 -2.812466)', '2026-06-20 16:17:11', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128863 -2.812431)'), GeomFromEWKT('SRID=4674;POINT (-40.128901 -2.812466)'))) / (select extract(epoch from '2026-06-20 16:17:11'::timestamp) - extract(epoch from '2026-06-20 16:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128863 -2.812431)'), GeomFromEWKT('SRID=4674;POINT (-40.128901 -2.812466)'))) / (select extract(epoch from '2026-06-20 16:17:11'::timestamp) - extract(epoch from '2026-06-20 16:16:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12896 -2.8125)', '2026-06-20 16:17:28', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128901 -2.812466)'), GeomFromEWKT('SRID=4674;POINT (-40.12896 -2.8125)'))) / (select extract(epoch from '2026-06-20 16:17:28'::timestamp) - extract(epoch from '2026-06-20 16:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128901 -2.812466)'), GeomFromEWKT('SRID=4674;POINT (-40.12896 -2.8125)'))) / (select extract(epoch from '2026-06-20 16:17:28'::timestamp) - extract(epoch from '2026-06-20 16:17:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.129006 -2.812538)', '2026-06-20 16:17:41', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12896 -2.8125)'), GeomFromEWKT('SRID=4674;POINT (-40.129006 -2.812538)'))) / (select extract(epoch from '2026-06-20 16:17:41'::timestamp) - extract(epoch from '2026-06-20 16:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12896 -2.8125)'), GeomFromEWKT('SRID=4674;POINT (-40.129006 -2.812538)'))) / (select extract(epoch from '2026-06-20 16:17:41'::timestamp) - extract(epoch from '2026-06-20 16:17:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.129052 -2.812602)', '2026-06-20 16:17:56', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129006 -2.812538)'), GeomFromEWKT('SRID=4674;POINT (-40.129052 -2.812602)'))) / (select extract(epoch from '2026-06-20 16:17:56'::timestamp) - extract(epoch from '2026-06-20 16:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129006 -2.812538)'), GeomFromEWKT('SRID=4674;POINT (-40.129052 -2.812602)'))) / (select extract(epoch from '2026-06-20 16:17:56'::timestamp) - extract(epoch from '2026-06-20 16:17:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.129109 -2.812657)', '2026-06-20 16:18:13', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129052 -2.812602)'), GeomFromEWKT('SRID=4674;POINT (-40.129109 -2.812657)'))) / (select extract(epoch from '2026-06-20 16:18:13'::timestamp) - extract(epoch from '2026-06-20 16:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129052 -2.812602)'), GeomFromEWKT('SRID=4674;POINT (-40.129109 -2.812657)'))) / (select extract(epoch from '2026-06-20 16:18:13'::timestamp) - extract(epoch from '2026-06-20 16:17:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.129159 -2.812691)', '2026-06-20 16:18:29', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129109 -2.812657)'), GeomFromEWKT('SRID=4674;POINT (-40.129159 -2.812691)'))) / (select extract(epoch from '2026-06-20 16:18:29'::timestamp) - extract(epoch from '2026-06-20 16:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129109 -2.812657)'), GeomFromEWKT('SRID=4674;POINT (-40.129159 -2.812691)'))) / (select extract(epoch from '2026-06-20 16:18:29'::timestamp) - extract(epoch from '2026-06-20 16:18:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.129233 -2.812741)', '2026-06-20 16:18:46', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129159 -2.812691)'), GeomFromEWKT('SRID=4674;POINT (-40.129233 -2.812741)'))) / (select extract(epoch from '2026-06-20 16:18:46'::timestamp) - extract(epoch from '2026-06-20 16:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129159 -2.812691)'), GeomFromEWKT('SRID=4674;POINT (-40.129233 -2.812741)'))) / (select extract(epoch from '2026-06-20 16:18:46'::timestamp) - extract(epoch from '2026-06-20 16:18:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.129274 -2.812801)', '2026-06-20 16:19:02', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129233 -2.812741)'), GeomFromEWKT('SRID=4674;POINT (-40.129274 -2.812801)'))) / (select extract(epoch from '2026-06-20 16:19:02'::timestamp) - extract(epoch from '2026-06-20 16:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129233 -2.812741)'), GeomFromEWKT('SRID=4674;POINT (-40.129274 -2.812801)'))) / (select extract(epoch from '2026-06-20 16:19:02'::timestamp) - extract(epoch from '2026-06-20 16:18:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.129328 -2.812836)', '2026-06-20 16:19:16', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129274 -2.812801)'), GeomFromEWKT('SRID=4674;POINT (-40.129328 -2.812836)'))) / (select extract(epoch from '2026-06-20 16:19:16'::timestamp) - extract(epoch from '2026-06-20 16:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129274 -2.812801)'), GeomFromEWKT('SRID=4674;POINT (-40.129328 -2.812836)'))) / (select extract(epoch from '2026-06-20 16:19:16'::timestamp) - extract(epoch from '2026-06-20 16:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.129393 -2.812869)', '2026-06-20 16:19:33', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129328 -2.812836)'), GeomFromEWKT('SRID=4674;POINT (-40.129393 -2.812869)'))) / (select extract(epoch from '2026-06-20 16:19:33'::timestamp) - extract(epoch from '2026-06-20 16:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129328 -2.812836)'), GeomFromEWKT('SRID=4674;POINT (-40.129393 -2.812869)'))) / (select extract(epoch from '2026-06-20 16:19:33'::timestamp) - extract(epoch from '2026-06-20 16:19:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.129449 -2.812936)', '2026-06-20 16:19:53', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129393 -2.812869)'), GeomFromEWKT('SRID=4674;POINT (-40.129449 -2.812936)'))) / (select extract(epoch from '2026-06-20 16:19:53'::timestamp) - extract(epoch from '2026-06-20 16:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129393 -2.812869)'), GeomFromEWKT('SRID=4674;POINT (-40.129449 -2.812936)'))) / (select extract(epoch from '2026-06-20 16:19:53'::timestamp) - extract(epoch from '2026-06-20 16:19:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.129497 -2.812947)', '2026-06-20 16:20:07', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129449 -2.812936)'), GeomFromEWKT('SRID=4674;POINT (-40.129497 -2.812947)'))) / (select extract(epoch from '2026-06-20 16:20:07'::timestamp) - extract(epoch from '2026-06-20 16:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129449 -2.812936)'), GeomFromEWKT('SRID=4674;POINT (-40.129497 -2.812947)'))) / (select extract(epoch from '2026-06-20 16:20:07'::timestamp) - extract(epoch from '2026-06-20 16:19:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.129574 -2.813007)', '2026-06-20 16:20:27', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129497 -2.812947)'), GeomFromEWKT('SRID=4674;POINT (-40.129574 -2.813007)'))) / (select extract(epoch from '2026-06-20 16:20:27'::timestamp) - extract(epoch from '2026-06-20 16:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129497 -2.812947)'), GeomFromEWKT('SRID=4674;POINT (-40.129574 -2.813007)'))) / (select extract(epoch from '2026-06-20 16:20:27'::timestamp) - extract(epoch from '2026-06-20 16:20:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.129634 -2.813078)', '2026-06-20 16:20:45', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129574 -2.813007)'), GeomFromEWKT('SRID=4674;POINT (-40.129634 -2.813078)'))) / (select extract(epoch from '2026-06-20 16:20:45'::timestamp) - extract(epoch from '2026-06-20 16:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129574 -2.813007)'), GeomFromEWKT('SRID=4674;POINT (-40.129634 -2.813078)'))) / (select extract(epoch from '2026-06-20 16:20:45'::timestamp) - extract(epoch from '2026-06-20 16:20:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.12967 -2.813121)', '2026-06-20 16:21:01', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129634 -2.813078)'), GeomFromEWKT('SRID=4674;POINT (-40.12967 -2.813121)'))) / (select extract(epoch from '2026-06-20 16:21:01'::timestamp) - extract(epoch from '2026-06-20 16:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129634 -2.813078)'), GeomFromEWKT('SRID=4674;POINT (-40.12967 -2.813121)'))) / (select extract(epoch from '2026-06-20 16:21:01'::timestamp) - extract(epoch from '2026-06-20 16:20:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.129718 -2.81317)', '2026-06-20 16:21:19', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12967 -2.813121)'), GeomFromEWKT('SRID=4674;POINT (-40.129718 -2.81317)'))) / (select extract(epoch from '2026-06-20 16:21:19'::timestamp) - extract(epoch from '2026-06-20 16:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12967 -2.813121)'), GeomFromEWKT('SRID=4674;POINT (-40.129718 -2.81317)'))) / (select extract(epoch from '2026-06-20 16:21:19'::timestamp) - extract(epoch from '2026-06-20 16:21:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.129774 -2.81324)', '2026-06-20 16:21:38', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129718 -2.81317)'), GeomFromEWKT('SRID=4674;POINT (-40.129774 -2.81324)'))) / (select extract(epoch from '2026-06-20 16:21:38'::timestamp) - extract(epoch from '2026-06-20 16:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129718 -2.81317)'), GeomFromEWKT('SRID=4674;POINT (-40.129774 -2.81324)'))) / (select extract(epoch from '2026-06-20 16:21:38'::timestamp) - extract(epoch from '2026-06-20 16:21:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.129814 -2.813285)', '2026-06-20 16:21:54', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129774 -2.81324)'), GeomFromEWKT('SRID=4674;POINT (-40.129814 -2.813285)'))) / (select extract(epoch from '2026-06-20 16:21:54'::timestamp) - extract(epoch from '2026-06-20 16:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129774 -2.81324)'), GeomFromEWKT('SRID=4674;POINT (-40.129814 -2.813285)'))) / (select extract(epoch from '2026-06-20 16:21:54'::timestamp) - extract(epoch from '2026-06-20 16:21:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.129859 -2.813345)', '2026-06-20 16:22:10', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129814 -2.813285)'), GeomFromEWKT('SRID=4674;POINT (-40.129859 -2.813345)'))) / (select extract(epoch from '2026-06-20 16:22:10'::timestamp) - extract(epoch from '2026-06-20 16:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129814 -2.813285)'), GeomFromEWKT('SRID=4674;POINT (-40.129859 -2.813345)'))) / (select extract(epoch from '2026-06-20 16:22:10'::timestamp) - extract(epoch from '2026-06-20 16:21:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.129927 -2.813381)', '2026-06-20 16:22:28', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129859 -2.813345)'), GeomFromEWKT('SRID=4674;POINT (-40.129927 -2.813381)'))) / (select extract(epoch from '2026-06-20 16:22:28'::timestamp) - extract(epoch from '2026-06-20 16:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129859 -2.813345)'), GeomFromEWKT('SRID=4674;POINT (-40.129927 -2.813381)'))) / (select extract(epoch from '2026-06-20 16:22:28'::timestamp) - extract(epoch from '2026-06-20 16:22:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.129992 -2.813437)', '2026-06-20 16:22:46', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129927 -2.813381)'), GeomFromEWKT('SRID=4674;POINT (-40.129992 -2.813437)'))) / (select extract(epoch from '2026-06-20 16:22:46'::timestamp) - extract(epoch from '2026-06-20 16:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129927 -2.813381)'), GeomFromEWKT('SRID=4674;POINT (-40.129992 -2.813437)'))) / (select extract(epoch from '2026-06-20 16:22:46'::timestamp) - extract(epoch from '2026-06-20 16:22:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130037 -2.813479)', '2026-06-20 16:23:03', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129992 -2.813437)'), GeomFromEWKT('SRID=4674;POINT (-40.130037 -2.813479)'))) / (select extract(epoch from '2026-06-20 16:23:03'::timestamp) - extract(epoch from '2026-06-20 16:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129992 -2.813437)'), GeomFromEWKT('SRID=4674;POINT (-40.130037 -2.813479)'))) / (select extract(epoch from '2026-06-20 16:23:03'::timestamp) - extract(epoch from '2026-06-20 16:22:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130063 -2.813497)', '2026-06-20 16:23:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130037 -2.813479)'), GeomFromEWKT('SRID=4674;POINT (-40.130063 -2.813497)'))) / (select extract(epoch from '2026-06-20 16:23:10'::timestamp) - extract(epoch from '2026-06-20 16:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130037 -2.813479)'), GeomFromEWKT('SRID=4674;POINT (-40.130063 -2.813497)'))) / (select extract(epoch from '2026-06-20 16:23:10'::timestamp) - extract(epoch from '2026-06-20 16:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130119 -2.813541)', '2026-06-20 16:23:27', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130063 -2.813497)'), GeomFromEWKT('SRID=4674;POINT (-40.130119 -2.813541)'))) / (select extract(epoch from '2026-06-20 16:23:27'::timestamp) - extract(epoch from '2026-06-20 16:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130063 -2.813497)'), GeomFromEWKT('SRID=4674;POINT (-40.130119 -2.813541)'))) / (select extract(epoch from '2026-06-20 16:23:27'::timestamp) - extract(epoch from '2026-06-20 16:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130177 -2.813579)', '2026-06-20 16:23:44', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130119 -2.813541)'), GeomFromEWKT('SRID=4674;POINT (-40.130177 -2.813579)'))) / (select extract(epoch from '2026-06-20 16:23:44'::timestamp) - extract(epoch from '2026-06-20 16:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130119 -2.813541)'), GeomFromEWKT('SRID=4674;POINT (-40.130177 -2.813579)'))) / (select extract(epoch from '2026-06-20 16:23:44'::timestamp) - extract(epoch from '2026-06-20 16:23:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130243 -2.813636)', '2026-06-20 16:24:01', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130177 -2.813579)'), GeomFromEWKT('SRID=4674;POINT (-40.130243 -2.813636)'))) / (select extract(epoch from '2026-06-20 16:24:01'::timestamp) - extract(epoch from '2026-06-20 16:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130177 -2.813579)'), GeomFromEWKT('SRID=4674;POINT (-40.130243 -2.813636)'))) / (select extract(epoch from '2026-06-20 16:24:01'::timestamp) - extract(epoch from '2026-06-20 16:23:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130311 -2.813683)', '2026-06-20 16:24:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130243 -2.813636)'), GeomFromEWKT('SRID=4674;POINT (-40.130311 -2.813683)'))) / (select extract(epoch from '2026-06-20 16:24:20'::timestamp) - extract(epoch from '2026-06-20 16:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130243 -2.813636)'), GeomFromEWKT('SRID=4674;POINT (-40.130311 -2.813683)'))) / (select extract(epoch from '2026-06-20 16:24:20'::timestamp) - extract(epoch from '2026-06-20 16:24:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130355 -2.813717)', '2026-06-20 16:24:36', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130311 -2.813683)'), GeomFromEWKT('SRID=4674;POINT (-40.130355 -2.813717)'))) / (select extract(epoch from '2026-06-20 16:24:36'::timestamp) - extract(epoch from '2026-06-20 16:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130311 -2.813683)'), GeomFromEWKT('SRID=4674;POINT (-40.130355 -2.813717)'))) / (select extract(epoch from '2026-06-20 16:24:36'::timestamp) - extract(epoch from '2026-06-20 16:24:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130407 -2.8138)', '2026-06-20 16:24:57', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130355 -2.813717)'), GeomFromEWKT('SRID=4674;POINT (-40.130407 -2.8138)'))) / (select extract(epoch from '2026-06-20 16:24:57'::timestamp) - extract(epoch from '2026-06-20 16:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130355 -2.813717)'), GeomFromEWKT('SRID=4674;POINT (-40.130407 -2.8138)'))) / (select extract(epoch from '2026-06-20 16:24:57'::timestamp) - extract(epoch from '2026-06-20 16:24:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130437 -2.813821)', '2026-06-20 16:25:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130407 -2.8138)'), GeomFromEWKT('SRID=4674;POINT (-40.130437 -2.813821)'))) / (select extract(epoch from '2026-06-20 16:25:09'::timestamp) - extract(epoch from '2026-06-20 16:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130407 -2.8138)'), GeomFromEWKT('SRID=4674;POINT (-40.130437 -2.813821)'))) / (select extract(epoch from '2026-06-20 16:25:09'::timestamp) - extract(epoch from '2026-06-20 16:24:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130448 -2.813852)', '2026-06-20 16:25:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130437 -2.813821)'), GeomFromEWKT('SRID=4674;POINT (-40.130448 -2.813852)'))) / (select extract(epoch from '2026-06-20 16:25:20'::timestamp) - extract(epoch from '2026-06-20 16:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130437 -2.813821)'), GeomFromEWKT('SRID=4674;POINT (-40.130448 -2.813852)'))) / (select extract(epoch from '2026-06-20 16:25:20'::timestamp) - extract(epoch from '2026-06-20 16:25:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130504 -2.813876)', '2026-06-20 16:25:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130448 -2.813852)'), GeomFromEWKT('SRID=4674;POINT (-40.130504 -2.813876)'))) / (select extract(epoch from '2026-06-20 16:25:35'::timestamp) - extract(epoch from '2026-06-20 16:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130448 -2.813852)'), GeomFromEWKT('SRID=4674;POINT (-40.130504 -2.813876)'))) / (select extract(epoch from '2026-06-20 16:25:35'::timestamp) - extract(epoch from '2026-06-20 16:25:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13054 -2.813917)', '2026-06-20 16:25:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130504 -2.813876)'), GeomFromEWKT('SRID=4674;POINT (-40.13054 -2.813917)'))) / (select extract(epoch from '2026-06-20 16:25:48'::timestamp) - extract(epoch from '2026-06-20 16:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130504 -2.813876)'), GeomFromEWKT('SRID=4674;POINT (-40.13054 -2.813917)'))) / (select extract(epoch from '2026-06-20 16:25:48'::timestamp) - extract(epoch from '2026-06-20 16:25:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130574 -2.813929)', '2026-06-20 16:25:59', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13054 -2.813917)'), GeomFromEWKT('SRID=4674;POINT (-40.130574 -2.813929)'))) / (select extract(epoch from '2026-06-20 16:25:59'::timestamp) - extract(epoch from '2026-06-20 16:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13054 -2.813917)'), GeomFromEWKT('SRID=4674;POINT (-40.130574 -2.813929)'))) / (select extract(epoch from '2026-06-20 16:25:59'::timestamp) - extract(epoch from '2026-06-20 16:25:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130652 -2.813993)', '2026-06-20 16:26:19', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130574 -2.813929)'), GeomFromEWKT('SRID=4674;POINT (-40.130652 -2.813993)'))) / (select extract(epoch from '2026-06-20 16:26:19'::timestamp) - extract(epoch from '2026-06-20 16:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130574 -2.813929)'), GeomFromEWKT('SRID=4674;POINT (-40.130652 -2.813993)'))) / (select extract(epoch from '2026-06-20 16:26:19'::timestamp) - extract(epoch from '2026-06-20 16:25:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130697 -2.81403)', '2026-06-20 16:26:29', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130652 -2.813993)'), GeomFromEWKT('SRID=4674;POINT (-40.130697 -2.81403)'))) / (select extract(epoch from '2026-06-20 16:26:29'::timestamp) - extract(epoch from '2026-06-20 16:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130652 -2.813993)'), GeomFromEWKT('SRID=4674;POINT (-40.130697 -2.81403)'))) / (select extract(epoch from '2026-06-20 16:26:29'::timestamp) - extract(epoch from '2026-06-20 16:26:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130749 -2.814076)', '2026-06-20 16:26:44', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130697 -2.81403)'), GeomFromEWKT('SRID=4674;POINT (-40.130749 -2.814076)'))) / (select extract(epoch from '2026-06-20 16:26:44'::timestamp) - extract(epoch from '2026-06-20 16:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130697 -2.81403)'), GeomFromEWKT('SRID=4674;POINT (-40.130749 -2.814076)'))) / (select extract(epoch from '2026-06-20 16:26:44'::timestamp) - extract(epoch from '2026-06-20 16:26:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130805 -2.814127)', '2026-06-20 16:27:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130749 -2.814076)'), GeomFromEWKT('SRID=4674;POINT (-40.130805 -2.814127)'))) / (select extract(epoch from '2026-06-20 16:27:03'::timestamp) - extract(epoch from '2026-06-20 16:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130749 -2.814076)'), GeomFromEWKT('SRID=4674;POINT (-40.130805 -2.814127)'))) / (select extract(epoch from '2026-06-20 16:27:03'::timestamp) - extract(epoch from '2026-06-20 16:26:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130871 -2.814189)', '2026-06-20 16:27:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130805 -2.814127)'), GeomFromEWKT('SRID=4674;POINT (-40.130871 -2.814189)'))) / (select extract(epoch from '2026-06-20 16:27:22'::timestamp) - extract(epoch from '2026-06-20 16:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130805 -2.814127)'), GeomFromEWKT('SRID=4674;POINT (-40.130871 -2.814189)'))) / (select extract(epoch from '2026-06-20 16:27:22'::timestamp) - extract(epoch from '2026-06-20 16:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130916 -2.814234)', '2026-06-20 16:27:38', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130871 -2.814189)'), GeomFromEWKT('SRID=4674;POINT (-40.130916 -2.814234)'))) / (select extract(epoch from '2026-06-20 16:27:38'::timestamp) - extract(epoch from '2026-06-20 16:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130871 -2.814189)'), GeomFromEWKT('SRID=4674;POINT (-40.130916 -2.814234)'))) / (select extract(epoch from '2026-06-20 16:27:38'::timestamp) - extract(epoch from '2026-06-20 16:27:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130946 -2.814281)', '2026-06-20 16:27:54', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130916 -2.814234)'), GeomFromEWKT('SRID=4674;POINT (-40.130946 -2.814281)'))) / (select extract(epoch from '2026-06-20 16:27:54'::timestamp) - extract(epoch from '2026-06-20 16:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130916 -2.814234)'), GeomFromEWKT('SRID=4674;POINT (-40.130946 -2.814281)'))) / (select extract(epoch from '2026-06-20 16:27:54'::timestamp) - extract(epoch from '2026-06-20 16:27:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130976 -2.814316)', '2026-06-20 16:28:03', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130946 -2.814281)'), GeomFromEWKT('SRID=4674;POINT (-40.130976 -2.814316)'))) / (select extract(epoch from '2026-06-20 16:28:03'::timestamp) - extract(epoch from '2026-06-20 16:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130946 -2.814281)'), GeomFromEWKT('SRID=4674;POINT (-40.130976 -2.814316)'))) / (select extract(epoch from '2026-06-20 16:28:03'::timestamp) - extract(epoch from '2026-06-20 16:27:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131033 -2.814367)', '2026-06-20 16:28:19', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130976 -2.814316)'), GeomFromEWKT('SRID=4674;POINT (-40.131033 -2.814367)'))) / (select extract(epoch from '2026-06-20 16:28:19'::timestamp) - extract(epoch from '2026-06-20 16:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130976 -2.814316)'), GeomFromEWKT('SRID=4674;POINT (-40.131033 -2.814367)'))) / (select extract(epoch from '2026-06-20 16:28:19'::timestamp) - extract(epoch from '2026-06-20 16:28:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131079 -2.814401)', '2026-06-20 16:28:36', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131033 -2.814367)'), GeomFromEWKT('SRID=4674;POINT (-40.131079 -2.814401)'))) / (select extract(epoch from '2026-06-20 16:28:36'::timestamp) - extract(epoch from '2026-06-20 16:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131033 -2.814367)'), GeomFromEWKT('SRID=4674;POINT (-40.131079 -2.814401)'))) / (select extract(epoch from '2026-06-20 16:28:36'::timestamp) - extract(epoch from '2026-06-20 16:28:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131142 -2.814436)', '2026-06-20 16:28:52', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131079 -2.814401)'), GeomFromEWKT('SRID=4674;POINT (-40.131142 -2.814436)'))) / (select extract(epoch from '2026-06-20 16:28:52'::timestamp) - extract(epoch from '2026-06-20 16:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131079 -2.814401)'), GeomFromEWKT('SRID=4674;POINT (-40.131142 -2.814436)'))) / (select extract(epoch from '2026-06-20 16:28:52'::timestamp) - extract(epoch from '2026-06-20 16:28:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131188 -2.814485)', '2026-06-20 16:29:06', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131142 -2.814436)'), GeomFromEWKT('SRID=4674;POINT (-40.131188 -2.814485)'))) / (select extract(epoch from '2026-06-20 16:29:06'::timestamp) - extract(epoch from '2026-06-20 16:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131142 -2.814436)'), GeomFromEWKT('SRID=4674;POINT (-40.131188 -2.814485)'))) / (select extract(epoch from '2026-06-20 16:29:06'::timestamp) - extract(epoch from '2026-06-20 16:28:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131217 -2.81451)', '2026-06-20 16:29:16', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131188 -2.814485)'), GeomFromEWKT('SRID=4674;POINT (-40.131217 -2.81451)'))) / (select extract(epoch from '2026-06-20 16:29:16'::timestamp) - extract(epoch from '2026-06-20 16:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131188 -2.814485)'), GeomFromEWKT('SRID=4674;POINT (-40.131217 -2.81451)'))) / (select extract(epoch from '2026-06-20 16:29:16'::timestamp) - extract(epoch from '2026-06-20 16:29:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13126 -2.814568)', '2026-06-20 16:29:32', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131217 -2.81451)'), GeomFromEWKT('SRID=4674;POINT (-40.13126 -2.814568)'))) / (select extract(epoch from '2026-06-20 16:29:32'::timestamp) - extract(epoch from '2026-06-20 16:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131217 -2.81451)'), GeomFromEWKT('SRID=4674;POINT (-40.13126 -2.814568)'))) / (select extract(epoch from '2026-06-20 16:29:32'::timestamp) - extract(epoch from '2026-06-20 16:29:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131302 -2.814609)', '2026-06-20 16:29:45', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13126 -2.814568)'), GeomFromEWKT('SRID=4674;POINT (-40.131302 -2.814609)'))) / (select extract(epoch from '2026-06-20 16:29:45'::timestamp) - extract(epoch from '2026-06-20 16:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13126 -2.814568)'), GeomFromEWKT('SRID=4674;POINT (-40.131302 -2.814609)'))) / (select extract(epoch from '2026-06-20 16:29:45'::timestamp) - extract(epoch from '2026-06-20 16:29:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13135 -2.814653)', '2026-06-20 16:30:02', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131302 -2.814609)'), GeomFromEWKT('SRID=4674;POINT (-40.13135 -2.814653)'))) / (select extract(epoch from '2026-06-20 16:30:02'::timestamp) - extract(epoch from '2026-06-20 16:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131302 -2.814609)'), GeomFromEWKT('SRID=4674;POINT (-40.13135 -2.814653)'))) / (select extract(epoch from '2026-06-20 16:30:02'::timestamp) - extract(epoch from '2026-06-20 16:29:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131377 -2.814669)', '2026-06-20 16:30:12', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13135 -2.814653)'), GeomFromEWKT('SRID=4674;POINT (-40.131377 -2.814669)'))) / (select extract(epoch from '2026-06-20 16:30:12'::timestamp) - extract(epoch from '2026-06-20 16:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13135 -2.814653)'), GeomFromEWKT('SRID=4674;POINT (-40.131377 -2.814669)'))) / (select extract(epoch from '2026-06-20 16:30:12'::timestamp) - extract(epoch from '2026-06-20 16:30:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131405 -2.814706)', '2026-06-20 16:30:23', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131377 -2.814669)'), GeomFromEWKT('SRID=4674;POINT (-40.131405 -2.814706)'))) / (select extract(epoch from '2026-06-20 16:30:23'::timestamp) - extract(epoch from '2026-06-20 16:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131377 -2.814669)'), GeomFromEWKT('SRID=4674;POINT (-40.131405 -2.814706)'))) / (select extract(epoch from '2026-06-20 16:30:23'::timestamp) - extract(epoch from '2026-06-20 16:30:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13145 -2.814782)', '2026-06-20 16:30:42', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131405 -2.814706)'), GeomFromEWKT('SRID=4674;POINT (-40.13145 -2.814782)'))) / (select extract(epoch from '2026-06-20 16:30:42'::timestamp) - extract(epoch from '2026-06-20 16:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131405 -2.814706)'), GeomFromEWKT('SRID=4674;POINT (-40.13145 -2.814782)'))) / (select extract(epoch from '2026-06-20 16:30:42'::timestamp) - extract(epoch from '2026-06-20 16:30:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131523 -2.814856)', '2026-06-20 16:31:03', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13145 -2.814782)'), GeomFromEWKT('SRID=4674;POINT (-40.131523 -2.814856)'))) / (select extract(epoch from '2026-06-20 16:31:03'::timestamp) - extract(epoch from '2026-06-20 16:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13145 -2.814782)'), GeomFromEWKT('SRID=4674;POINT (-40.131523 -2.814856)'))) / (select extract(epoch from '2026-06-20 16:31:03'::timestamp) - extract(epoch from '2026-06-20 16:30:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13158 -2.814907)', '2026-06-20 16:31:21', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131523 -2.814856)'), GeomFromEWKT('SRID=4674;POINT (-40.13158 -2.814907)'))) / (select extract(epoch from '2026-06-20 16:31:21'::timestamp) - extract(epoch from '2026-06-20 16:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131523 -2.814856)'), GeomFromEWKT('SRID=4674;POINT (-40.13158 -2.814907)'))) / (select extract(epoch from '2026-06-20 16:31:21'::timestamp) - extract(epoch from '2026-06-20 16:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131633 -2.814975)', '2026-06-20 16:31:37', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13158 -2.814907)'), GeomFromEWKT('SRID=4674;POINT (-40.131633 -2.814975)'))) / (select extract(epoch from '2026-06-20 16:31:37'::timestamp) - extract(epoch from '2026-06-20 16:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13158 -2.814907)'), GeomFromEWKT('SRID=4674;POINT (-40.131633 -2.814975)'))) / (select extract(epoch from '2026-06-20 16:31:37'::timestamp) - extract(epoch from '2026-06-20 16:31:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131639 -2.814975)', '2026-06-20 16:31:49', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131633 -2.814975)'), GeomFromEWKT('SRID=4674;POINT (-40.131639 -2.814975)'))) / (select extract(epoch from '2026-06-20 16:31:49'::timestamp) - extract(epoch from '2026-06-20 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131633 -2.814975)'), GeomFromEWKT('SRID=4674;POINT (-40.131639 -2.814975)'))) / (select extract(epoch from '2026-06-20 16:31:49'::timestamp) - extract(epoch from '2026-06-20 16:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131635 -2.814933)', '2026-06-20 16:38:23', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131639 -2.814975)'), GeomFromEWKT('SRID=4674;POINT (-40.131635 -2.814933)'))) / (select extract(epoch from '2026-06-20 16:38:23'::timestamp) - extract(epoch from '2026-06-20 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131639 -2.814975)'), GeomFromEWKT('SRID=4674;POINT (-40.131635 -2.814933)'))) / (select extract(epoch from '2026-06-20 16:38:23'::timestamp) - extract(epoch from '2026-06-20 16:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131685 -2.814921)', '2026-06-20 16:39:00', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131635 -2.814933)'), GeomFromEWKT('SRID=4674;POINT (-40.131685 -2.814921)'))) / (select extract(epoch from '2026-06-20 16:39:00'::timestamp) - extract(epoch from '2026-06-20 16:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131635 -2.814933)'), GeomFromEWKT('SRID=4674;POINT (-40.131685 -2.814921)'))) / (select extract(epoch from '2026-06-20 16:39:00'::timestamp) - extract(epoch from '2026-06-20 16:38:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131733 -2.81491)', '2026-06-20 16:39:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131685 -2.814921)'), GeomFromEWKT('SRID=4674;POINT (-40.131733 -2.81491)'))) / (select extract(epoch from '2026-06-20 16:39:13'::timestamp) - extract(epoch from '2026-06-20 16:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131685 -2.814921)'), GeomFromEWKT('SRID=4674;POINT (-40.131733 -2.81491)'))) / (select extract(epoch from '2026-06-20 16:39:13'::timestamp) - extract(epoch from '2026-06-20 16:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131782 -2.814934)', '2026-06-20 16:39:27', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131733 -2.81491)'), GeomFromEWKT('SRID=4674;POINT (-40.131782 -2.814934)'))) / (select extract(epoch from '2026-06-20 16:39:27'::timestamp) - extract(epoch from '2026-06-20 16:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131733 -2.81491)'), GeomFromEWKT('SRID=4674;POINT (-40.131782 -2.814934)'))) / (select extract(epoch from '2026-06-20 16:39:27'::timestamp) - extract(epoch from '2026-06-20 16:39:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13185 -2.814944)', '2026-06-20 16:39:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131782 -2.814934)'), GeomFromEWKT('SRID=4674;POINT (-40.13185 -2.814944)'))) / (select extract(epoch from '2026-06-20 16:39:44'::timestamp) - extract(epoch from '2026-06-20 16:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131782 -2.814934)'), GeomFromEWKT('SRID=4674;POINT (-40.13185 -2.814944)'))) / (select extract(epoch from '2026-06-20 16:39:44'::timestamp) - extract(epoch from '2026-06-20 16:39:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131882 -2.814952)', '2026-06-20 16:39:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13185 -2.814944)'), GeomFromEWKT('SRID=4674;POINT (-40.131882 -2.814952)'))) / (select extract(epoch from '2026-06-20 16:39:55'::timestamp) - extract(epoch from '2026-06-20 16:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13185 -2.814944)'), GeomFromEWKT('SRID=4674;POINT (-40.131882 -2.814952)'))) / (select extract(epoch from '2026-06-20 16:39:55'::timestamp) - extract(epoch from '2026-06-20 16:39:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131936 -2.814965)', '2026-06-20 16:40:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131882 -2.814952)'), GeomFromEWKT('SRID=4674;POINT (-40.131936 -2.814965)'))) / (select extract(epoch from '2026-06-20 16:40:05'::timestamp) - extract(epoch from '2026-06-20 16:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131882 -2.814952)'), GeomFromEWKT('SRID=4674;POINT (-40.131936 -2.814965)'))) / (select extract(epoch from '2026-06-20 16:40:05'::timestamp) - extract(epoch from '2026-06-20 16:39:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132018 -2.814966)', '2026-06-20 16:40:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131936 -2.814965)'), GeomFromEWKT('SRID=4674;POINT (-40.132018 -2.814966)'))) / (select extract(epoch from '2026-06-20 16:40:20'::timestamp) - extract(epoch from '2026-06-20 16:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131936 -2.814965)'), GeomFromEWKT('SRID=4674;POINT (-40.132018 -2.814966)'))) / (select extract(epoch from '2026-06-20 16:40:20'::timestamp) - extract(epoch from '2026-06-20 16:40:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132091 -2.814975)', '2026-06-20 16:40:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132018 -2.814966)'), GeomFromEWKT('SRID=4674;POINT (-40.132091 -2.814975)'))) / (select extract(epoch from '2026-06-20 16:40:39'::timestamp) - extract(epoch from '2026-06-20 16:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132018 -2.814966)'), GeomFromEWKT('SRID=4674;POINT (-40.132091 -2.814975)'))) / (select extract(epoch from '2026-06-20 16:40:39'::timestamp) - extract(epoch from '2026-06-20 16:40:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132137 -2.815006)', '2026-06-20 16:40:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132091 -2.814975)'), GeomFromEWKT('SRID=4674;POINT (-40.132137 -2.815006)'))) / (select extract(epoch from '2026-06-20 16:40:52'::timestamp) - extract(epoch from '2026-06-20 16:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132091 -2.814975)'), GeomFromEWKT('SRID=4674;POINT (-40.132137 -2.815006)'))) / (select extract(epoch from '2026-06-20 16:40:52'::timestamp) - extract(epoch from '2026-06-20 16:40:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132148 -2.815034)', '2026-06-20 16:41:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132137 -2.815006)'), GeomFromEWKT('SRID=4674;POINT (-40.132148 -2.815034)'))) / (select extract(epoch from '2026-06-20 16:41:01'::timestamp) - extract(epoch from '2026-06-20 16:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132137 -2.815006)'), GeomFromEWKT('SRID=4674;POINT (-40.132148 -2.815034)'))) / (select extract(epoch from '2026-06-20 16:41:01'::timestamp) - extract(epoch from '2026-06-20 16:40:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132265 -2.815092)', '2026-06-20 16:42:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132148 -2.815034)'), GeomFromEWKT('SRID=4674;POINT (-40.132265 -2.815092)'))) / (select extract(epoch from '2026-06-20 16:42:25'::timestamp) - extract(epoch from '2026-06-20 16:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132148 -2.815034)'), GeomFromEWKT('SRID=4674;POINT (-40.132265 -2.815092)'))) / (select extract(epoch from '2026-06-20 16:42:25'::timestamp) - extract(epoch from '2026-06-20 16:41:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132317 -2.815113)', '2026-06-20 16:42:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132265 -2.815092)'), GeomFromEWKT('SRID=4674;POINT (-40.132317 -2.815113)'))) / (select extract(epoch from '2026-06-20 16:42:39'::timestamp) - extract(epoch from '2026-06-20 16:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132265 -2.815092)'), GeomFromEWKT('SRID=4674;POINT (-40.132317 -2.815113)'))) / (select extract(epoch from '2026-06-20 16:42:39'::timestamp) - extract(epoch from '2026-06-20 16:42:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132368 -2.815126)', '2026-06-20 16:42:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132317 -2.815113)'), GeomFromEWKT('SRID=4674;POINT (-40.132368 -2.815126)'))) / (select extract(epoch from '2026-06-20 16:42:47'::timestamp) - extract(epoch from '2026-06-20 16:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132317 -2.815113)'), GeomFromEWKT('SRID=4674;POINT (-40.132368 -2.815126)'))) / (select extract(epoch from '2026-06-20 16:42:47'::timestamp) - extract(epoch from '2026-06-20 16:42:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132458 -2.815145)', '2026-06-20 16:48:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132368 -2.815126)'), GeomFromEWKT('SRID=4674;POINT (-40.132458 -2.815145)'))) / (select extract(epoch from '2026-06-20 16:48:14'::timestamp) - extract(epoch from '2026-06-20 16:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132368 -2.815126)'), GeomFromEWKT('SRID=4674;POINT (-40.132458 -2.815145)'))) / (select extract(epoch from '2026-06-20 16:48:14'::timestamp) - extract(epoch from '2026-06-20 16:42:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132531 -2.815197)', '2026-06-20 16:50:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132458 -2.815145)'), GeomFromEWKT('SRID=4674;POINT (-40.132531 -2.815197)'))) / (select extract(epoch from '2026-06-20 16:50:56'::timestamp) - extract(epoch from '2026-06-20 16:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132458 -2.815145)'), GeomFromEWKT('SRID=4674;POINT (-40.132531 -2.815197)'))) / (select extract(epoch from '2026-06-20 16:50:56'::timestamp) - extract(epoch from '2026-06-20 16:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132614 -2.815235)', '2026-06-20 16:54:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132531 -2.815197)'), GeomFromEWKT('SRID=4674;POINT (-40.132614 -2.815235)'))) / (select extract(epoch from '2026-06-20 16:54:13'::timestamp) - extract(epoch from '2026-06-20 16:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132531 -2.815197)'), GeomFromEWKT('SRID=4674;POINT (-40.132614 -2.815235)'))) / (select extract(epoch from '2026-06-20 16:54:13'::timestamp) - extract(epoch from '2026-06-20 16:50:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132724 -2.815299)', '2026-06-20 16:56:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132614 -2.815235)'), GeomFromEWKT('SRID=4674;POINT (-40.132724 -2.815299)'))) / (select extract(epoch from '2026-06-20 16:56:02'::timestamp) - extract(epoch from '2026-06-20 16:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132614 -2.815235)'), GeomFromEWKT('SRID=4674;POINT (-40.132724 -2.815299)'))) / (select extract(epoch from '2026-06-20 16:56:02'::timestamp) - extract(epoch from '2026-06-20 16:54:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13285 -2.815343)', '2026-06-20 16:56:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132724 -2.815299)'), GeomFromEWKT('SRID=4674;POINT (-40.13285 -2.815343)'))) / (select extract(epoch from '2026-06-20 16:56:16'::timestamp) - extract(epoch from '2026-06-20 16:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132724 -2.815299)'), GeomFromEWKT('SRID=4674;POINT (-40.13285 -2.815343)'))) / (select extract(epoch from '2026-06-20 16:56:16'::timestamp) - extract(epoch from '2026-06-20 16:56:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.133 -2.815439)', '2026-06-20 16:56:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13285 -2.815343)'), GeomFromEWKT('SRID=4674;POINT (-40.133 -2.815439)'))) / (select extract(epoch from '2026-06-20 16:56:30'::timestamp) - extract(epoch from '2026-06-20 16:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13285 -2.815343)'), GeomFromEWKT('SRID=4674;POINT (-40.133 -2.815439)'))) / (select extract(epoch from '2026-06-20 16:56:30'::timestamp) - extract(epoch from '2026-06-20 16:56:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13305 -2.815458)', '2026-06-20 16:56:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133 -2.815439)'), GeomFromEWKT('SRID=4674;POINT (-40.13305 -2.815458)'))) / (select extract(epoch from '2026-06-20 16:56:39'::timestamp) - extract(epoch from '2026-06-20 16:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133 -2.815439)'), GeomFromEWKT('SRID=4674;POINT (-40.13305 -2.815458)'))) / (select extract(epoch from '2026-06-20 16:56:39'::timestamp) - extract(epoch from '2026-06-20 16:56:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132998 -2.815481)', '2026-06-20 16:56:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13305 -2.815458)'), GeomFromEWKT('SRID=4674;POINT (-40.132998 -2.815481)'))) / (select extract(epoch from '2026-06-20 16:56:49'::timestamp) - extract(epoch from '2026-06-20 16:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13305 -2.815458)'), GeomFromEWKT('SRID=4674;POINT (-40.132998 -2.815481)'))) / (select extract(epoch from '2026-06-20 16:56:49'::timestamp) - extract(epoch from '2026-06-20 16:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13285 -2.815511)', '2026-06-20 16:57:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132998 -2.815481)'), GeomFromEWKT('SRID=4674;POINT (-40.13285 -2.815511)'))) / (select extract(epoch from '2026-06-20 16:57:02'::timestamp) - extract(epoch from '2026-06-20 16:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132998 -2.815481)'), GeomFromEWKT('SRID=4674;POINT (-40.13285 -2.815511)'))) / (select extract(epoch from '2026-06-20 16:57:02'::timestamp) - extract(epoch from '2026-06-20 16:56:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132693 -2.815604)', '2026-06-20 16:57:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13285 -2.815511)'), GeomFromEWKT('SRID=4674;POINT (-40.132693 -2.815604)'))) / (select extract(epoch from '2026-06-20 16:57:17'::timestamp) - extract(epoch from '2026-06-20 16:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13285 -2.815511)'), GeomFromEWKT('SRID=4674;POINT (-40.132693 -2.815604)'))) / (select extract(epoch from '2026-06-20 16:57:17'::timestamp) - extract(epoch from '2026-06-20 16:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13254 -2.815667)', '2026-06-20 16:57:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132693 -2.815604)'), GeomFromEWKT('SRID=4674;POINT (-40.13254 -2.815667)'))) / (select extract(epoch from '2026-06-20 16:57:29'::timestamp) - extract(epoch from '2026-06-20 16:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132693 -2.815604)'), GeomFromEWKT('SRID=4674;POINT (-40.13254 -2.815667)'))) / (select extract(epoch from '2026-06-20 16:57:29'::timestamp) - extract(epoch from '2026-06-20 16:57:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132472 -2.815677)', '2026-06-20 16:57:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13254 -2.815667)'), GeomFromEWKT('SRID=4674;POINT (-40.132472 -2.815677)'))) / (select extract(epoch from '2026-06-20 16:57:38'::timestamp) - extract(epoch from '2026-06-20 16:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13254 -2.815667)'), GeomFromEWKT('SRID=4674;POINT (-40.132472 -2.815677)'))) / (select extract(epoch from '2026-06-20 16:57:38'::timestamp) - extract(epoch from '2026-06-20 16:57:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132385 -2.815683)', '2026-06-20 16:57:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132472 -2.815677)'), GeomFromEWKT('SRID=4674;POINT (-40.132385 -2.815683)'))) / (select extract(epoch from '2026-06-20 16:57:52'::timestamp) - extract(epoch from '2026-06-20 16:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132472 -2.815677)'), GeomFromEWKT('SRID=4674;POINT (-40.132385 -2.815683)'))) / (select extract(epoch from '2026-06-20 16:57:52'::timestamp) - extract(epoch from '2026-06-20 16:57:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132354 -2.815646)', '2026-06-20 16:58:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132385 -2.815683)'), GeomFromEWKT('SRID=4674;POINT (-40.132354 -2.815646)'))) / (select extract(epoch from '2026-06-20 16:58:04'::timestamp) - extract(epoch from '2026-06-20 16:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132385 -2.815683)'), GeomFromEWKT('SRID=4674;POINT (-40.132354 -2.815646)'))) / (select extract(epoch from '2026-06-20 16:58:04'::timestamp) - extract(epoch from '2026-06-20 16:57:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132303 -2.815676)', '2026-06-20 16:58:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132354 -2.815646)'), GeomFromEWKT('SRID=4674;POINT (-40.132303 -2.815676)'))) / (select extract(epoch from '2026-06-20 16:58:16'::timestamp) - extract(epoch from '2026-06-20 16:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132354 -2.815646)'), GeomFromEWKT('SRID=4674;POINT (-40.132303 -2.815676)'))) / (select extract(epoch from '2026-06-20 16:58:16'::timestamp) - extract(epoch from '2026-06-20 16:58:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132225 -2.81567)', '2026-06-20 16:58:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132303 -2.815676)'), GeomFromEWKT('SRID=4674;POINT (-40.132225 -2.81567)'))) / (select extract(epoch from '2026-06-20 16:58:30'::timestamp) - extract(epoch from '2026-06-20 16:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132303 -2.815676)'), GeomFromEWKT('SRID=4674;POINT (-40.132225 -2.81567)'))) / (select extract(epoch from '2026-06-20 16:58:30'::timestamp) - extract(epoch from '2026-06-20 16:58:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132193 -2.815636)', '2026-06-20 16:58:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132225 -2.81567)'), GeomFromEWKT('SRID=4674;POINT (-40.132193 -2.815636)'))) / (select extract(epoch from '2026-06-20 16:58:41'::timestamp) - extract(epoch from '2026-06-20 16:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132225 -2.81567)'), GeomFromEWKT('SRID=4674;POINT (-40.132193 -2.815636)'))) / (select extract(epoch from '2026-06-20 16:58:41'::timestamp) - extract(epoch from '2026-06-20 16:58:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132152 -2.815581)', '2026-06-20 16:58:58', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132193 -2.815636)'), GeomFromEWKT('SRID=4674;POINT (-40.132152 -2.815581)'))) / (select extract(epoch from '2026-06-20 16:58:58'::timestamp) - extract(epoch from '2026-06-20 16:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132193 -2.815636)'), GeomFromEWKT('SRID=4674;POINT (-40.132152 -2.815581)'))) / (select extract(epoch from '2026-06-20 16:58:58'::timestamp) - extract(epoch from '2026-06-20 16:58:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132089 -2.815569)', '2026-06-20 16:59:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132152 -2.815581)'), GeomFromEWKT('SRID=4674;POINT (-40.132089 -2.815569)'))) / (select extract(epoch from '2026-06-20 16:59:14'::timestamp) - extract(epoch from '2026-06-20 16:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132152 -2.815581)'), GeomFromEWKT('SRID=4674;POINT (-40.132089 -2.815569)'))) / (select extract(epoch from '2026-06-20 16:59:14'::timestamp) - extract(epoch from '2026-06-20 16:58:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132077 -2.815537)', '2026-06-20 16:59:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132089 -2.815569)'), GeomFromEWKT('SRID=4674;POINT (-40.132077 -2.815537)'))) / (select extract(epoch from '2026-06-20 16:59:27'::timestamp) - extract(epoch from '2026-06-20 16:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132089 -2.815569)'), GeomFromEWKT('SRID=4674;POINT (-40.132077 -2.815537)'))) / (select extract(epoch from '2026-06-20 16:59:27'::timestamp) - extract(epoch from '2026-06-20 16:59:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132042 -2.815467)', '2026-06-20 16:59:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132077 -2.815537)'), GeomFromEWKT('SRID=4674;POINT (-40.132042 -2.815467)'))) / (select extract(epoch from '2026-06-20 16:59:47'::timestamp) - extract(epoch from '2026-06-20 16:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132077 -2.815537)'), GeomFromEWKT('SRID=4674;POINT (-40.132042 -2.815467)'))) / (select extract(epoch from '2026-06-20 16:59:47'::timestamp) - extract(epoch from '2026-06-20 16:59:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13202 -2.815456)', '2026-06-20 16:59:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132042 -2.815467)'), GeomFromEWKT('SRID=4674;POINT (-40.13202 -2.815456)'))) / (select extract(epoch from '2026-06-20 16:59:56'::timestamp) - extract(epoch from '2026-06-20 16:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132042 -2.815467)'), GeomFromEWKT('SRID=4674;POINT (-40.13202 -2.815456)'))) / (select extract(epoch from '2026-06-20 16:59:56'::timestamp) - extract(epoch from '2026-06-20 16:59:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132 -2.81544)', '2026-06-20 17:00:08', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13202 -2.815456)'), GeomFromEWKT('SRID=4674;POINT (-40.132 -2.81544)'))) / (select extract(epoch from '2026-06-20 17:00:08'::timestamp) - extract(epoch from '2026-06-20 16:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13202 -2.815456)'), GeomFromEWKT('SRID=4674;POINT (-40.132 -2.81544)'))) / (select extract(epoch from '2026-06-20 17:00:08'::timestamp) - extract(epoch from '2026-06-20 16:59:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13196 -2.815385)', '2026-06-20 17:00:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132 -2.81544)'), GeomFromEWKT('SRID=4674;POINT (-40.13196 -2.815385)'))) / (select extract(epoch from '2026-06-20 17:00:25'::timestamp) - extract(epoch from '2026-06-20 17:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132 -2.81544)'), GeomFromEWKT('SRID=4674;POINT (-40.13196 -2.815385)'))) / (select extract(epoch from '2026-06-20 17:00:25'::timestamp) - extract(epoch from '2026-06-20 17:00:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131903 -2.815332)', '2026-06-20 17:00:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13196 -2.815385)'), GeomFromEWKT('SRID=4674;POINT (-40.131903 -2.815332)'))) / (select extract(epoch from '2026-06-20 17:00:57'::timestamp) - extract(epoch from '2026-06-20 17:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13196 -2.815385)'), GeomFromEWKT('SRID=4674;POINT (-40.131903 -2.815332)'))) / (select extract(epoch from '2026-06-20 17:00:57'::timestamp) - extract(epoch from '2026-06-20 17:00:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131874 -2.815253)', '2026-06-20 17:01:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131903 -2.815332)'), GeomFromEWKT('SRID=4674;POINT (-40.131874 -2.815253)'))) / (select extract(epoch from '2026-06-20 17:01:13'::timestamp) - extract(epoch from '2026-06-20 17:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131903 -2.815332)'), GeomFromEWKT('SRID=4674;POINT (-40.131874 -2.815253)'))) / (select extract(epoch from '2026-06-20 17:01:13'::timestamp) - extract(epoch from '2026-06-20 17:00:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131877 -2.815247)', '2026-06-20 17:01:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131874 -2.815253)'), GeomFromEWKT('SRID=4674;POINT (-40.131877 -2.815247)'))) / (select extract(epoch from '2026-06-20 17:01:25'::timestamp) - extract(epoch from '2026-06-20 17:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131874 -2.815253)'), GeomFromEWKT('SRID=4674;POINT (-40.131877 -2.815247)'))) / (select extract(epoch from '2026-06-20 17:01:25'::timestamp) - extract(epoch from '2026-06-20 17:01:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131815 -2.815251)', '2026-06-20 17:01:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131877 -2.815247)'), GeomFromEWKT('SRID=4674;POINT (-40.131815 -2.815251)'))) / (select extract(epoch from '2026-06-20 17:01:49'::timestamp) - extract(epoch from '2026-06-20 17:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131877 -2.815247)'), GeomFromEWKT('SRID=4674;POINT (-40.131815 -2.815251)'))) / (select extract(epoch from '2026-06-20 17:01:49'::timestamp) - extract(epoch from '2026-06-20 17:01:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13174 -2.815258)', '2026-06-20 17:02:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131815 -2.815251)'), GeomFromEWKT('SRID=4674;POINT (-40.13174 -2.815258)'))) / (select extract(epoch from '2026-06-20 17:02:01'::timestamp) - extract(epoch from '2026-06-20 17:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131815 -2.815251)'), GeomFromEWKT('SRID=4674;POINT (-40.13174 -2.815258)'))) / (select extract(epoch from '2026-06-20 17:02:01'::timestamp) - extract(epoch from '2026-06-20 17:01:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131701 -2.815242)', '2026-06-20 17:02:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13174 -2.815258)'), GeomFromEWKT('SRID=4674;POINT (-40.131701 -2.815242)'))) / (select extract(epoch from '2026-06-20 17:02:10'::timestamp) - extract(epoch from '2026-06-20 17:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13174 -2.815258)'), GeomFromEWKT('SRID=4674;POINT (-40.131701 -2.815242)'))) / (select extract(epoch from '2026-06-20 17:02:10'::timestamp) - extract(epoch from '2026-06-20 17:02:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131721 -2.815191)', '2026-06-20 17:02:20', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131701 -2.815242)'), GeomFromEWKT('SRID=4674;POINT (-40.131721 -2.815191)'))) / (select extract(epoch from '2026-06-20 17:02:20'::timestamp) - extract(epoch from '2026-06-20 17:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131701 -2.815242)'), GeomFromEWKT('SRID=4674;POINT (-40.131721 -2.815191)'))) / (select extract(epoch from '2026-06-20 17:02:20'::timestamp) - extract(epoch from '2026-06-20 17:02:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131726 -2.815138)', '2026-06-20 17:02:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131721 -2.815191)'), GeomFromEWKT('SRID=4674;POINT (-40.131726 -2.815138)'))) / (select extract(epoch from '2026-06-20 17:02:30'::timestamp) - extract(epoch from '2026-06-20 17:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131721 -2.815191)'), GeomFromEWKT('SRID=4674;POINT (-40.131726 -2.815138)'))) / (select extract(epoch from '2026-06-20 17:02:30'::timestamp) - extract(epoch from '2026-06-20 17:02:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131734 -2.815117)', '2026-06-20 17:02:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131726 -2.815138)'), GeomFromEWKT('SRID=4674;POINT (-40.131734 -2.815117)'))) / (select extract(epoch from '2026-06-20 17:02:42'::timestamp) - extract(epoch from '2026-06-20 17:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131726 -2.815138)'), GeomFromEWKT('SRID=4674;POINT (-40.131734 -2.815117)'))) / (select extract(epoch from '2026-06-20 17:02:42'::timestamp) - extract(epoch from '2026-06-20 17:02:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131673 -2.815113)', '2026-06-20 17:02:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131734 -2.815117)'), GeomFromEWKT('SRID=4674;POINT (-40.131673 -2.815113)'))) / (select extract(epoch from '2026-06-20 17:02:53'::timestamp) - extract(epoch from '2026-06-20 17:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131734 -2.815117)'), GeomFromEWKT('SRID=4674;POINT (-40.131673 -2.815113)'))) / (select extract(epoch from '2026-06-20 17:02:53'::timestamp) - extract(epoch from '2026-06-20 17:02:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131625 -2.81507)', '2026-06-20 17:03:08', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131673 -2.815113)'), GeomFromEWKT('SRID=4674;POINT (-40.131625 -2.81507)'))) / (select extract(epoch from '2026-06-20 17:03:08'::timestamp) - extract(epoch from '2026-06-20 17:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131673 -2.815113)'), GeomFromEWKT('SRID=4674;POINT (-40.131625 -2.81507)'))) / (select extract(epoch from '2026-06-20 17:03:08'::timestamp) - extract(epoch from '2026-06-20 17:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131561 -2.814989)', '2026-06-20 17:03:25', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131625 -2.81507)'), GeomFromEWKT('SRID=4674;POINT (-40.131561 -2.814989)'))) / (select extract(epoch from '2026-06-20 17:03:25'::timestamp) - extract(epoch from '2026-06-20 17:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131625 -2.81507)'), GeomFromEWKT('SRID=4674;POINT (-40.131561 -2.814989)'))) / (select extract(epoch from '2026-06-20 17:03:25'::timestamp) - extract(epoch from '2026-06-20 17:03:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131551 -2.814937)', '2026-06-20 17:03:38', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131561 -2.814989)'), GeomFromEWKT('SRID=4674;POINT (-40.131551 -2.814937)'))) / (select extract(epoch from '2026-06-20 17:03:38'::timestamp) - extract(epoch from '2026-06-20 17:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131561 -2.814989)'), GeomFromEWKT('SRID=4674;POINT (-40.131551 -2.814937)'))) / (select extract(epoch from '2026-06-20 17:03:38'::timestamp) - extract(epoch from '2026-06-20 17:03:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131535 -2.81488)', '2026-06-20 17:03:51', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131551 -2.814937)'), GeomFromEWKT('SRID=4674;POINT (-40.131535 -2.81488)'))) / (select extract(epoch from '2026-06-20 17:03:51'::timestamp) - extract(epoch from '2026-06-20 17:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131551 -2.814937)'), GeomFromEWKT('SRID=4674;POINT (-40.131535 -2.81488)'))) / (select extract(epoch from '2026-06-20 17:03:51'::timestamp) - extract(epoch from '2026-06-20 17:03:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13152 -2.814849)', '2026-06-20 17:04:04', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131535 -2.81488)'), GeomFromEWKT('SRID=4674;POINT (-40.13152 -2.814849)'))) / (select extract(epoch from '2026-06-20 17:04:04'::timestamp) - extract(epoch from '2026-06-20 17:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131535 -2.81488)'), GeomFromEWKT('SRID=4674;POINT (-40.13152 -2.814849)'))) / (select extract(epoch from '2026-06-20 17:04:04'::timestamp) - extract(epoch from '2026-06-20 17:03:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131466 -2.814816)', '2026-06-20 17:04:17', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13152 -2.814849)'), GeomFromEWKT('SRID=4674;POINT (-40.131466 -2.814816)'))) / (select extract(epoch from '2026-06-20 17:04:17'::timestamp) - extract(epoch from '2026-06-20 17:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13152 -2.814849)'), GeomFromEWKT('SRID=4674;POINT (-40.131466 -2.814816)'))) / (select extract(epoch from '2026-06-20 17:04:17'::timestamp) - extract(epoch from '2026-06-20 17:04:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131426 -2.814778)', '2026-06-20 17:04:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131466 -2.814816)'), GeomFromEWKT('SRID=4674;POINT (-40.131426 -2.814778)'))) / (select extract(epoch from '2026-06-20 17:04:26'::timestamp) - extract(epoch from '2026-06-20 17:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131466 -2.814816)'), GeomFromEWKT('SRID=4674;POINT (-40.131426 -2.814778)'))) / (select extract(epoch from '2026-06-20 17:04:26'::timestamp) - extract(epoch from '2026-06-20 17:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.1314 -2.814726)', '2026-06-20 17:04:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131426 -2.814778)'), GeomFromEWKT('SRID=4674;POINT (-40.1314 -2.814726)'))) / (select extract(epoch from '2026-06-20 17:04:35'::timestamp) - extract(epoch from '2026-06-20 17:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131426 -2.814778)'), GeomFromEWKT('SRID=4674;POINT (-40.1314 -2.814726)'))) / (select extract(epoch from '2026-06-20 17:04:35'::timestamp) - extract(epoch from '2026-06-20 17:04:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13139 -2.814702)', '2026-06-20 17:04:43', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1314 -2.814726)'), GeomFromEWKT('SRID=4674;POINT (-40.13139 -2.814702)'))) / (select extract(epoch from '2026-06-20 17:04:43'::timestamp) - extract(epoch from '2026-06-20 17:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1314 -2.814726)'), GeomFromEWKT('SRID=4674;POINT (-40.13139 -2.814702)'))) / (select extract(epoch from '2026-06-20 17:04:43'::timestamp) - extract(epoch from '2026-06-20 17:04:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131363 -2.814678)', '2026-06-20 17:04:52', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13139 -2.814702)'), GeomFromEWKT('SRID=4674;POINT (-40.131363 -2.814678)'))) / (select extract(epoch from '2026-06-20 17:04:52'::timestamp) - extract(epoch from '2026-06-20 17:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13139 -2.814702)'), GeomFromEWKT('SRID=4674;POINT (-40.131363 -2.814678)'))) / (select extract(epoch from '2026-06-20 17:04:52'::timestamp) - extract(epoch from '2026-06-20 17:04:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131336 -2.814608)', '2026-06-20 17:05:11', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131363 -2.814678)'), GeomFromEWKT('SRID=4674;POINT (-40.131336 -2.814608)'))) / (select extract(epoch from '2026-06-20 17:05:11'::timestamp) - extract(epoch from '2026-06-20 17:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131363 -2.814678)'), GeomFromEWKT('SRID=4674;POINT (-40.131336 -2.814608)'))) / (select extract(epoch from '2026-06-20 17:05:11'::timestamp) - extract(epoch from '2026-06-20 17:04:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131305 -2.814548)', '2026-06-20 17:05:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131336 -2.814608)'), GeomFromEWKT('SRID=4674;POINT (-40.131305 -2.814548)'))) / (select extract(epoch from '2026-06-20 17:05:27'::timestamp) - extract(epoch from '2026-06-20 17:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131336 -2.814608)'), GeomFromEWKT('SRID=4674;POINT (-40.131305 -2.814548)'))) / (select extract(epoch from '2026-06-20 17:05:27'::timestamp) - extract(epoch from '2026-06-20 17:05:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131253 -2.81444)', '2026-06-20 17:05:44', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131305 -2.814548)'), GeomFromEWKT('SRID=4674;POINT (-40.131253 -2.81444)'))) / (select extract(epoch from '2026-06-20 17:05:44'::timestamp) - extract(epoch from '2026-06-20 17:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131305 -2.814548)'), GeomFromEWKT('SRID=4674;POINT (-40.131253 -2.81444)'))) / (select extract(epoch from '2026-06-20 17:05:44'::timestamp) - extract(epoch from '2026-06-20 17:05:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13122 -2.814374)', '2026-06-20 17:06:00', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131253 -2.81444)'), GeomFromEWKT('SRID=4674;POINT (-40.13122 -2.814374)'))) / (select extract(epoch from '2026-06-20 17:06:00'::timestamp) - extract(epoch from '2026-06-20 17:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131253 -2.81444)'), GeomFromEWKT('SRID=4674;POINT (-40.13122 -2.814374)'))) / (select extract(epoch from '2026-06-20 17:06:00'::timestamp) - extract(epoch from '2026-06-20 17:05:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131198 -2.814336)', '2026-06-20 17:06:11', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13122 -2.814374)'), GeomFromEWKT('SRID=4674;POINT (-40.131198 -2.814336)'))) / (select extract(epoch from '2026-06-20 17:06:11'::timestamp) - extract(epoch from '2026-06-20 17:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13122 -2.814374)'), GeomFromEWKT('SRID=4674;POINT (-40.131198 -2.814336)'))) / (select extract(epoch from '2026-06-20 17:06:11'::timestamp) - extract(epoch from '2026-06-20 17:06:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131194 -2.814303)', '2026-06-20 17:06:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131198 -2.814336)'), GeomFromEWKT('SRID=4674;POINT (-40.131194 -2.814303)'))) / (select extract(epoch from '2026-06-20 17:06:21'::timestamp) - extract(epoch from '2026-06-20 17:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131198 -2.814336)'), GeomFromEWKT('SRID=4674;POINT (-40.131194 -2.814303)'))) / (select extract(epoch from '2026-06-20 17:06:21'::timestamp) - extract(epoch from '2026-06-20 17:06:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131127 -2.814256)', '2026-06-20 17:06:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131194 -2.814303)'), GeomFromEWKT('SRID=4674;POINT (-40.131127 -2.814256)'))) / (select extract(epoch from '2026-06-20 17:06:37'::timestamp) - extract(epoch from '2026-06-20 17:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131194 -2.814303)'), GeomFromEWKT('SRID=4674;POINT (-40.131127 -2.814256)'))) / (select extract(epoch from '2026-06-20 17:06:37'::timestamp) - extract(epoch from '2026-06-20 17:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131057 -2.814173)', '2026-06-20 17:06:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131127 -2.814256)'), GeomFromEWKT('SRID=4674;POINT (-40.131057 -2.814173)'))) / (select extract(epoch from '2026-06-20 17:06:58'::timestamp) - extract(epoch from '2026-06-20 17:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131127 -2.814256)'), GeomFromEWKT('SRID=4674;POINT (-40.131057 -2.814173)'))) / (select extract(epoch from '2026-06-20 17:06:58'::timestamp) - extract(epoch from '2026-06-20 17:06:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131032 -2.814117)', '2026-06-20 17:07:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131057 -2.814173)'), GeomFromEWKT('SRID=4674;POINT (-40.131032 -2.814117)'))) / (select extract(epoch from '2026-06-20 17:07:15'::timestamp) - extract(epoch from '2026-06-20 17:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131057 -2.814173)'), GeomFromEWKT('SRID=4674;POINT (-40.131032 -2.814117)'))) / (select extract(epoch from '2026-06-20 17:07:15'::timestamp) - extract(epoch from '2026-06-20 17:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.130955 -2.814017)', '2026-06-20 17:07:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131032 -2.814117)'), GeomFromEWKT('SRID=4674;POINT (-40.130955 -2.814017)'))) / (select extract(epoch from '2026-06-20 17:07:35'::timestamp) - extract(epoch from '2026-06-20 17:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131032 -2.814117)'), GeomFromEWKT('SRID=4674;POINT (-40.130955 -2.814017)'))) / (select extract(epoch from '2026-06-20 17:07:35'::timestamp) - extract(epoch from '2026-06-20 17:07:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131005 -2.813952)', '2026-06-20 17:07:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130955 -2.814017)'), GeomFromEWKT('SRID=4674;POINT (-40.131005 -2.813952)'))) / (select extract(epoch from '2026-06-20 17:07:46'::timestamp) - extract(epoch from '2026-06-20 17:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130955 -2.814017)'), GeomFromEWKT('SRID=4674;POINT (-40.131005 -2.813952)'))) / (select extract(epoch from '2026-06-20 17:07:46'::timestamp) - extract(epoch from '2026-06-20 17:07:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131097 -2.813847)', '2026-06-20 17:08:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131005 -2.813952)'), GeomFromEWKT('SRID=4674;POINT (-40.131097 -2.813847)'))) / (select extract(epoch from '2026-06-20 17:08:02'::timestamp) - extract(epoch from '2026-06-20 17:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131005 -2.813952)'), GeomFromEWKT('SRID=4674;POINT (-40.131097 -2.813847)'))) / (select extract(epoch from '2026-06-20 17:08:02'::timestamp) - extract(epoch from '2026-06-20 17:07:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131202 -2.813727)', '2026-06-20 17:08:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131097 -2.813847)'), GeomFromEWKT('SRID=4674;POINT (-40.131202 -2.813727)'))) / (select extract(epoch from '2026-06-20 17:08:18'::timestamp) - extract(epoch from '2026-06-20 17:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131097 -2.813847)'), GeomFromEWKT('SRID=4674;POINT (-40.131202 -2.813727)'))) / (select extract(epoch from '2026-06-20 17:08:18'::timestamp) - extract(epoch from '2026-06-20 17:08:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131318 -2.813585)', '2026-06-20 17:08:33', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131202 -2.813727)'), GeomFromEWKT('SRID=4674;POINT (-40.131318 -2.813585)'))) / (select extract(epoch from '2026-06-20 17:08:33'::timestamp) - extract(epoch from '2026-06-20 17:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131202 -2.813727)'), GeomFromEWKT('SRID=4674;POINT (-40.131318 -2.813585)'))) / (select extract(epoch from '2026-06-20 17:08:33'::timestamp) - extract(epoch from '2026-06-20 17:08:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131427 -2.813432)', '2026-06-20 17:08:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131318 -2.813585)'), GeomFromEWKT('SRID=4674;POINT (-40.131427 -2.813432)'))) / (select extract(epoch from '2026-06-20 17:08:45'::timestamp) - extract(epoch from '2026-06-20 17:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131318 -2.813585)'), GeomFromEWKT('SRID=4674;POINT (-40.131427 -2.813432)'))) / (select extract(epoch from '2026-06-20 17:08:45'::timestamp) - extract(epoch from '2026-06-20 17:08:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131561 -2.813311)', '2026-06-20 17:08:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131427 -2.813432)'), GeomFromEWKT('SRID=4674;POINT (-40.131561 -2.813311)'))) / (select extract(epoch from '2026-06-20 17:08:56'::timestamp) - extract(epoch from '2026-06-20 17:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131427 -2.813432)'), GeomFromEWKT('SRID=4674;POINT (-40.131561 -2.813311)'))) / (select extract(epoch from '2026-06-20 17:08:56'::timestamp) - extract(epoch from '2026-06-20 17:08:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131667 -2.813198)', '2026-06-20 17:09:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131561 -2.813311)'), GeomFromEWKT('SRID=4674;POINT (-40.131667 -2.813198)'))) / (select extract(epoch from '2026-06-20 17:09:05'::timestamp) - extract(epoch from '2026-06-20 17:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131561 -2.813311)'), GeomFromEWKT('SRID=4674;POINT (-40.131667 -2.813198)'))) / (select extract(epoch from '2026-06-20 17:09:05'::timestamp) - extract(epoch from '2026-06-20 17:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131775 -2.813094)', '2026-06-20 17:09:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131667 -2.813198)'), GeomFromEWKT('SRID=4674;POINT (-40.131775 -2.813094)'))) / (select extract(epoch from '2026-06-20 17:09:14'::timestamp) - extract(epoch from '2026-06-20 17:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131667 -2.813198)'), GeomFromEWKT('SRID=4674;POINT (-40.131775 -2.813094)'))) / (select extract(epoch from '2026-06-20 17:09:14'::timestamp) - extract(epoch from '2026-06-20 17:09:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131863 -2.813017)', '2026-06-20 17:09:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131775 -2.813094)'), GeomFromEWKT('SRID=4674;POINT (-40.131863 -2.813017)'))) / (select extract(epoch from '2026-06-20 17:09:22'::timestamp) - extract(epoch from '2026-06-20 17:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131775 -2.813094)'), GeomFromEWKT('SRID=4674;POINT (-40.131863 -2.813017)'))) / (select extract(epoch from '2026-06-20 17:09:22'::timestamp) - extract(epoch from '2026-06-20 17:09:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.131962 -2.812924)', '2026-06-20 17:09:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131863 -2.813017)'), GeomFromEWKT('SRID=4674;POINT (-40.131962 -2.812924)'))) / (select extract(epoch from '2026-06-20 17:09:30'::timestamp) - extract(epoch from '2026-06-20 17:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131863 -2.813017)'), GeomFromEWKT('SRID=4674;POINT (-40.131962 -2.812924)'))) / (select extract(epoch from '2026-06-20 17:09:30'::timestamp) - extract(epoch from '2026-06-20 17:09:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132064 -2.812861)', '2026-06-20 17:09:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131962 -2.812924)'), GeomFromEWKT('SRID=4674;POINT (-40.132064 -2.812861)'))) / (select extract(epoch from '2026-06-20 17:09:37'::timestamp) - extract(epoch from '2026-06-20 17:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131962 -2.812924)'), GeomFromEWKT('SRID=4674;POINT (-40.132064 -2.812861)'))) / (select extract(epoch from '2026-06-20 17:09:37'::timestamp) - extract(epoch from '2026-06-20 17:09:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132147 -2.812806)', '2026-06-20 17:09:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132064 -2.812861)'), GeomFromEWKT('SRID=4674;POINT (-40.132147 -2.812806)'))) / (select extract(epoch from '2026-06-20 17:09:43'::timestamp) - extract(epoch from '2026-06-20 17:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132064 -2.812861)'), GeomFromEWKT('SRID=4674;POINT (-40.132147 -2.812806)'))) / (select extract(epoch from '2026-06-20 17:09:43'::timestamp) - extract(epoch from '2026-06-20 17:09:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132254 -2.812731)', '2026-06-20 17:09:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132147 -2.812806)'), GeomFromEWKT('SRID=4674;POINT (-40.132254 -2.812731)'))) / (select extract(epoch from '2026-06-20 17:09:51'::timestamp) - extract(epoch from '2026-06-20 17:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132147 -2.812806)'), GeomFromEWKT('SRID=4674;POINT (-40.132254 -2.812731)'))) / (select extract(epoch from '2026-06-20 17:09:51'::timestamp) - extract(epoch from '2026-06-20 17:09:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132368 -2.812641)', '2026-06-20 17:10:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132254 -2.812731)'), GeomFromEWKT('SRID=4674;POINT (-40.132368 -2.812641)'))) / (select extract(epoch from '2026-06-20 17:10:00'::timestamp) - extract(epoch from '2026-06-20 17:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132254 -2.812731)'), GeomFromEWKT('SRID=4674;POINT (-40.132368 -2.812641)'))) / (select extract(epoch from '2026-06-20 17:10:00'::timestamp) - extract(epoch from '2026-06-20 17:09:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132474 -2.812538)', '2026-06-20 17:10:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132368 -2.812641)'), GeomFromEWKT('SRID=4674;POINT (-40.132474 -2.812538)'))) / (select extract(epoch from '2026-06-20 17:10:09'::timestamp) - extract(epoch from '2026-06-20 17:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132368 -2.812641)'), GeomFromEWKT('SRID=4674;POINT (-40.132474 -2.812538)'))) / (select extract(epoch from '2026-06-20 17:10:09'::timestamp) - extract(epoch from '2026-06-20 17:10:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132609 -2.812433)', '2026-06-20 17:10:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132474 -2.812538)'), GeomFromEWKT('SRID=4674;POINT (-40.132609 -2.812433)'))) / (select extract(epoch from '2026-06-20 17:10:19'::timestamp) - extract(epoch from '2026-06-20 17:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132474 -2.812538)'), GeomFromEWKT('SRID=4674;POINT (-40.132609 -2.812433)'))) / (select extract(epoch from '2026-06-20 17:10:19'::timestamp) - extract(epoch from '2026-06-20 17:10:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132725 -2.812363)', '2026-06-20 17:10:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132609 -2.812433)'), GeomFromEWKT('SRID=4674;POINT (-40.132725 -2.812363)'))) / (select extract(epoch from '2026-06-20 17:10:27'::timestamp) - extract(epoch from '2026-06-20 17:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132609 -2.812433)'), GeomFromEWKT('SRID=4674;POINT (-40.132725 -2.812363)'))) / (select extract(epoch from '2026-06-20 17:10:27'::timestamp) - extract(epoch from '2026-06-20 17:10:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132834 -2.812286)', '2026-06-20 17:10:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132725 -2.812363)'), GeomFromEWKT('SRID=4674;POINT (-40.132834 -2.812286)'))) / (select extract(epoch from '2026-06-20 17:10:35'::timestamp) - extract(epoch from '2026-06-20 17:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132725 -2.812363)'), GeomFromEWKT('SRID=4674;POINT (-40.132834 -2.812286)'))) / (select extract(epoch from '2026-06-20 17:10:35'::timestamp) - extract(epoch from '2026-06-20 17:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.132928 -2.812247)', '2026-06-20 17:10:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132834 -2.812286)'), GeomFromEWKT('SRID=4674;POINT (-40.132928 -2.812247)'))) / (select extract(epoch from '2026-06-20 17:10:41'::timestamp) - extract(epoch from '2026-06-20 17:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132834 -2.812286)'), GeomFromEWKT('SRID=4674;POINT (-40.132928 -2.812247)'))) / (select extract(epoch from '2026-06-20 17:10:41'::timestamp) - extract(epoch from '2026-06-20 17:10:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.133056 -2.812179)', '2026-06-20 17:10:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132928 -2.812247)'), GeomFromEWKT('SRID=4674;POINT (-40.133056 -2.812179)'))) / (select extract(epoch from '2026-06-20 17:10:49'::timestamp) - extract(epoch from '2026-06-20 17:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132928 -2.812247)'), GeomFromEWKT('SRID=4674;POINT (-40.133056 -2.812179)'))) / (select extract(epoch from '2026-06-20 17:10:49'::timestamp) - extract(epoch from '2026-06-20 17:10:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.133155 -2.812097)', '2026-06-20 17:10:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133056 -2.812179)'), GeomFromEWKT('SRID=4674;POINT (-40.133155 -2.812097)'))) / (select extract(epoch from '2026-06-20 17:10:56'::timestamp) - extract(epoch from '2026-06-20 17:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133056 -2.812179)'), GeomFromEWKT('SRID=4674;POINT (-40.133155 -2.812097)'))) / (select extract(epoch from '2026-06-20 17:10:56'::timestamp) - extract(epoch from '2026-06-20 17:10:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.133261 -2.812)', '2026-06-20 17:11:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133155 -2.812097)'), GeomFromEWKT('SRID=4674;POINT (-40.133261 -2.812)'))) / (select extract(epoch from '2026-06-20 17:11:04'::timestamp) - extract(epoch from '2026-06-20 17:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133155 -2.812097)'), GeomFromEWKT('SRID=4674;POINT (-40.133261 -2.812)'))) / (select extract(epoch from '2026-06-20 17:11:04'::timestamp) - extract(epoch from '2026-06-20 17:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.133389 -2.811914)', '2026-06-20 17:11:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133261 -2.812)'), GeomFromEWKT('SRID=4674;POINT (-40.133389 -2.811914)'))) / (select extract(epoch from '2026-06-20 17:11:13'::timestamp) - extract(epoch from '2026-06-20 17:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133261 -2.812)'), GeomFromEWKT('SRID=4674;POINT (-40.133389 -2.811914)'))) / (select extract(epoch from '2026-06-20 17:11:13'::timestamp) - extract(epoch from '2026-06-20 17:11:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.133515 -2.811837)', '2026-06-20 17:11:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133389 -2.811914)'), GeomFromEWKT('SRID=4674;POINT (-40.133515 -2.811837)'))) / (select extract(epoch from '2026-06-20 17:11:21'::timestamp) - extract(epoch from '2026-06-20 17:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133389 -2.811914)'), GeomFromEWKT('SRID=4674;POINT (-40.133515 -2.811837)'))) / (select extract(epoch from '2026-06-20 17:11:21'::timestamp) - extract(epoch from '2026-06-20 17:11:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.133633 -2.811751)', '2026-06-20 17:11:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133515 -2.811837)'), GeomFromEWKT('SRID=4674;POINT (-40.133633 -2.811751)'))) / (select extract(epoch from '2026-06-20 17:11:29'::timestamp) - extract(epoch from '2026-06-20 17:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133515 -2.811837)'), GeomFromEWKT('SRID=4674;POINT (-40.133633 -2.811751)'))) / (select extract(epoch from '2026-06-20 17:11:29'::timestamp) - extract(epoch from '2026-06-20 17:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.133741 -2.811661)', '2026-06-20 17:11:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133633 -2.811751)'), GeomFromEWKT('SRID=4674;POINT (-40.133741 -2.811661)'))) / (select extract(epoch from '2026-06-20 17:11:37'::timestamp) - extract(epoch from '2026-06-20 17:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133633 -2.811751)'), GeomFromEWKT('SRID=4674;POINT (-40.133741 -2.811661)'))) / (select extract(epoch from '2026-06-20 17:11:37'::timestamp) - extract(epoch from '2026-06-20 17:11:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.133856 -2.811567)', '2026-06-20 17:11:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133741 -2.811661)'), GeomFromEWKT('SRID=4674;POINT (-40.133856 -2.811567)'))) / (select extract(epoch from '2026-06-20 17:11:45'::timestamp) - extract(epoch from '2026-06-20 17:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133741 -2.811661)'), GeomFromEWKT('SRID=4674;POINT (-40.133856 -2.811567)'))) / (select extract(epoch from '2026-06-20 17:11:45'::timestamp) - extract(epoch from '2026-06-20 17:11:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.133956 -2.811494)', '2026-06-20 17:11:52', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133856 -2.811567)'), GeomFromEWKT('SRID=4674;POINT (-40.133956 -2.811494)'))) / (select extract(epoch from '2026-06-20 17:11:52'::timestamp) - extract(epoch from '2026-06-20 17:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133856 -2.811567)'), GeomFromEWKT('SRID=4674;POINT (-40.133956 -2.811494)'))) / (select extract(epoch from '2026-06-20 17:11:52'::timestamp) - extract(epoch from '2026-06-20 17:11:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.134062 -2.811428)', '2026-06-20 17:11:59', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133956 -2.811494)'), GeomFromEWKT('SRID=4674;POINT (-40.134062 -2.811428)'))) / (select extract(epoch from '2026-06-20 17:11:59'::timestamp) - extract(epoch from '2026-06-20 17:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133956 -2.811494)'), GeomFromEWKT('SRID=4674;POINT (-40.134062 -2.811428)'))) / (select extract(epoch from '2026-06-20 17:11:59'::timestamp) - extract(epoch from '2026-06-20 17:11:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.134182 -2.811362)', '2026-06-20 17:12:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134062 -2.811428)'), GeomFromEWKT('SRID=4674;POINT (-40.134182 -2.811362)'))) / (select extract(epoch from '2026-06-20 17:12:06'::timestamp) - extract(epoch from '2026-06-20 17:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134062 -2.811428)'), GeomFromEWKT('SRID=4674;POINT (-40.134182 -2.811362)'))) / (select extract(epoch from '2026-06-20 17:12:06'::timestamp) - extract(epoch from '2026-06-20 17:11:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.134297 -2.811281)', '2026-06-20 17:12:14', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134182 -2.811362)'), GeomFromEWKT('SRID=4674;POINT (-40.134297 -2.811281)'))) / (select extract(epoch from '2026-06-20 17:12:14'::timestamp) - extract(epoch from '2026-06-20 17:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134182 -2.811362)'), GeomFromEWKT('SRID=4674;POINT (-40.134297 -2.811281)'))) / (select extract(epoch from '2026-06-20 17:12:14'::timestamp) - extract(epoch from '2026-06-20 17:12:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.134394 -2.811208)', '2026-06-20 17:12:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134297 -2.811281)'), GeomFromEWKT('SRID=4674;POINT (-40.134394 -2.811208)'))) / (select extract(epoch from '2026-06-20 17:12:21'::timestamp) - extract(epoch from '2026-06-20 17:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134297 -2.811281)'), GeomFromEWKT('SRID=4674;POINT (-40.134394 -2.811208)'))) / (select extract(epoch from '2026-06-20 17:12:21'::timestamp) - extract(epoch from '2026-06-20 17:12:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.134519 -2.811138)', '2026-06-20 17:12:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134394 -2.811208)'), GeomFromEWKT('SRID=4674;POINT (-40.134519 -2.811138)'))) / (select extract(epoch from '2026-06-20 17:12:29'::timestamp) - extract(epoch from '2026-06-20 17:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134394 -2.811208)'), GeomFromEWKT('SRID=4674;POINT (-40.134519 -2.811138)'))) / (select extract(epoch from '2026-06-20 17:12:29'::timestamp) - extract(epoch from '2026-06-20 17:12:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13467 -2.81103)', '2026-06-20 17:12:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134519 -2.811138)'), GeomFromEWKT('SRID=4674;POINT (-40.13467 -2.81103)'))) / (select extract(epoch from '2026-06-20 17:12:39'::timestamp) - extract(epoch from '2026-06-20 17:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134519 -2.811138)'), GeomFromEWKT('SRID=4674;POINT (-40.13467 -2.81103)'))) / (select extract(epoch from '2026-06-20 17:12:39'::timestamp) - extract(epoch from '2026-06-20 17:12:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.134803 -2.810933)', '2026-06-20 17:12:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13467 -2.81103)'), GeomFromEWKT('SRID=4674;POINT (-40.134803 -2.810933)'))) / (select extract(epoch from '2026-06-20 17:12:48'::timestamp) - extract(epoch from '2026-06-20 17:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13467 -2.81103)'), GeomFromEWKT('SRID=4674;POINT (-40.134803 -2.810933)'))) / (select extract(epoch from '2026-06-20 17:12:48'::timestamp) - extract(epoch from '2026-06-20 17:12:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.134922 -2.810857)', '2026-06-20 17:12:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134803 -2.810933)'), GeomFromEWKT('SRID=4674;POINT (-40.134922 -2.810857)'))) / (select extract(epoch from '2026-06-20 17:12:56'::timestamp) - extract(epoch from '2026-06-20 17:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134803 -2.810933)'), GeomFromEWKT('SRID=4674;POINT (-40.134922 -2.810857)'))) / (select extract(epoch from '2026-06-20 17:12:56'::timestamp) - extract(epoch from '2026-06-20 17:12:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.135039 -2.81078)', '2026-06-20 17:13:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134922 -2.810857)'), GeomFromEWKT('SRID=4674;POINT (-40.135039 -2.81078)'))) / (select extract(epoch from '2026-06-20 17:13:04'::timestamp) - extract(epoch from '2026-06-20 17:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134922 -2.810857)'), GeomFromEWKT('SRID=4674;POINT (-40.135039 -2.81078)'))) / (select extract(epoch from '2026-06-20 17:13:04'::timestamp) - extract(epoch from '2026-06-20 17:12:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13514 -2.810701)', '2026-06-20 17:13:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135039 -2.81078)'), GeomFromEWKT('SRID=4674;POINT (-40.13514 -2.810701)'))) / (select extract(epoch from '2026-06-20 17:13:11'::timestamp) - extract(epoch from '2026-06-20 17:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135039 -2.81078)'), GeomFromEWKT('SRID=4674;POINT (-40.13514 -2.810701)'))) / (select extract(epoch from '2026-06-20 17:13:11'::timestamp) - extract(epoch from '2026-06-20 17:13:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.135264 -2.810621)', '2026-06-20 17:13:19', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13514 -2.810701)'), GeomFromEWKT('SRID=4674;POINT (-40.135264 -2.810621)'))) / (select extract(epoch from '2026-06-20 17:13:19'::timestamp) - extract(epoch from '2026-06-20 17:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13514 -2.810701)'), GeomFromEWKT('SRID=4674;POINT (-40.135264 -2.810621)'))) / (select extract(epoch from '2026-06-20 17:13:19'::timestamp) - extract(epoch from '2026-06-20 17:13:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.135379 -2.810536)', '2026-06-20 17:13:27', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135264 -2.810621)'), GeomFromEWKT('SRID=4674;POINT (-40.135379 -2.810536)'))) / (select extract(epoch from '2026-06-20 17:13:27'::timestamp) - extract(epoch from '2026-06-20 17:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135264 -2.810621)'), GeomFromEWKT('SRID=4674;POINT (-40.135379 -2.810536)'))) / (select extract(epoch from '2026-06-20 17:13:27'::timestamp) - extract(epoch from '2026-06-20 17:13:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.135475 -2.810463)', '2026-06-20 17:13:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135379 -2.810536)'), GeomFromEWKT('SRID=4674;POINT (-40.135475 -2.810463)'))) / (select extract(epoch from '2026-06-20 17:13:34'::timestamp) - extract(epoch from '2026-06-20 17:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135379 -2.810536)'), GeomFromEWKT('SRID=4674;POINT (-40.135475 -2.810463)'))) / (select extract(epoch from '2026-06-20 17:13:34'::timestamp) - extract(epoch from '2026-06-20 17:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.135611 -2.810378)', '2026-06-20 17:13:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135475 -2.810463)'), GeomFromEWKT('SRID=4674;POINT (-40.135611 -2.810378)'))) / (select extract(epoch from '2026-06-20 17:13:43'::timestamp) - extract(epoch from '2026-06-20 17:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135475 -2.810463)'), GeomFromEWKT('SRID=4674;POINT (-40.135611 -2.810378)'))) / (select extract(epoch from '2026-06-20 17:13:43'::timestamp) - extract(epoch from '2026-06-20 17:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.135737 -2.810297)', '2026-06-20 17:13:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135611 -2.810378)'), GeomFromEWKT('SRID=4674;POINT (-40.135737 -2.810297)'))) / (select extract(epoch from '2026-06-20 17:13:52'::timestamp) - extract(epoch from '2026-06-20 17:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135611 -2.810378)'), GeomFromEWKT('SRID=4674;POINT (-40.135737 -2.810297)'))) / (select extract(epoch from '2026-06-20 17:13:52'::timestamp) - extract(epoch from '2026-06-20 17:13:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13585 -2.810234)', '2026-06-20 17:13:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135737 -2.810297)'), GeomFromEWKT('SRID=4674;POINT (-40.13585 -2.810234)'))) / (select extract(epoch from '2026-06-20 17:13:59'::timestamp) - extract(epoch from '2026-06-20 17:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135737 -2.810297)'), GeomFromEWKT('SRID=4674;POINT (-40.13585 -2.810234)'))) / (select extract(epoch from '2026-06-20 17:13:59'::timestamp) - extract(epoch from '2026-06-20 17:13:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.135999 -2.810164)', '2026-06-20 17:14:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13585 -2.810234)'), GeomFromEWKT('SRID=4674;POINT (-40.135999 -2.810164)'))) / (select extract(epoch from '2026-06-20 17:14:08'::timestamp) - extract(epoch from '2026-06-20 17:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13585 -2.810234)'), GeomFromEWKT('SRID=4674;POINT (-40.135999 -2.810164)'))) / (select extract(epoch from '2026-06-20 17:14:08'::timestamp) - extract(epoch from '2026-06-20 17:13:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.136131 -2.810172)', '2026-06-20 17:14:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135999 -2.810164)'), GeomFromEWKT('SRID=4674;POINT (-40.136131 -2.810172)'))) / (select extract(epoch from '2026-06-20 17:14:15'::timestamp) - extract(epoch from '2026-06-20 17:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135999 -2.810164)'), GeomFromEWKT('SRID=4674;POINT (-40.136131 -2.810172)'))) / (select extract(epoch from '2026-06-20 17:14:15'::timestamp) - extract(epoch from '2026-06-20 17:14:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.136287 -2.810261)', '2026-06-20 17:14:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136131 -2.810172)'), GeomFromEWKT('SRID=4674;POINT (-40.136287 -2.810261)'))) / (select extract(epoch from '2026-06-20 17:14:23'::timestamp) - extract(epoch from '2026-06-20 17:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136131 -2.810172)'), GeomFromEWKT('SRID=4674;POINT (-40.136287 -2.810261)'))) / (select extract(epoch from '2026-06-20 17:14:23'::timestamp) - extract(epoch from '2026-06-20 17:14:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.136417 -2.810361)', '2026-06-20 17:14:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136287 -2.810261)'), GeomFromEWKT('SRID=4674;POINT (-40.136417 -2.810361)'))) / (select extract(epoch from '2026-06-20 17:14:30'::timestamp) - extract(epoch from '2026-06-20 17:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136287 -2.810261)'), GeomFromEWKT('SRID=4674;POINT (-40.136417 -2.810361)'))) / (select extract(epoch from '2026-06-20 17:14:30'::timestamp) - extract(epoch from '2026-06-20 17:14:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.136517 -2.81045)', '2026-06-20 17:14:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136417 -2.810361)'), GeomFromEWKT('SRID=4674;POINT (-40.136517 -2.81045)'))) / (select extract(epoch from '2026-06-20 17:14:38'::timestamp) - extract(epoch from '2026-06-20 17:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136417 -2.810361)'), GeomFromEWKT('SRID=4674;POINT (-40.136517 -2.81045)'))) / (select extract(epoch from '2026-06-20 17:14:38'::timestamp) - extract(epoch from '2026-06-20 17:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.136595 -2.810568)', '2026-06-20 17:14:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136517 -2.81045)'), GeomFromEWKT('SRID=4674;POINT (-40.136595 -2.810568)'))) / (select extract(epoch from '2026-06-20 17:14:47'::timestamp) - extract(epoch from '2026-06-20 17:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136517 -2.81045)'), GeomFromEWKT('SRID=4674;POINT (-40.136595 -2.810568)'))) / (select extract(epoch from '2026-06-20 17:14:47'::timestamp) - extract(epoch from '2026-06-20 17:14:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13668 -2.81069)', '2026-06-20 17:14:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136595 -2.810568)'), GeomFromEWKT('SRID=4674;POINT (-40.13668 -2.81069)'))) / (select extract(epoch from '2026-06-20 17:14:56'::timestamp) - extract(epoch from '2026-06-20 17:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136595 -2.810568)'), GeomFromEWKT('SRID=4674;POINT (-40.13668 -2.81069)'))) / (select extract(epoch from '2026-06-20 17:14:56'::timestamp) - extract(epoch from '2026-06-20 17:14:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.136731 -2.810793)', '2026-06-20 17:15:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13668 -2.81069)'), GeomFromEWKT('SRID=4674;POINT (-40.136731 -2.810793)'))) / (select extract(epoch from '2026-06-20 17:15:04'::timestamp) - extract(epoch from '2026-06-20 17:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13668 -2.81069)'), GeomFromEWKT('SRID=4674;POINT (-40.136731 -2.810793)'))) / (select extract(epoch from '2026-06-20 17:15:04'::timestamp) - extract(epoch from '2026-06-20 17:14:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.136755 -2.810877)', '2026-06-20 17:15:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136731 -2.810793)'), GeomFromEWKT('SRID=4674;POINT (-40.136755 -2.810877)'))) / (select extract(epoch from '2026-06-20 17:15:12'::timestamp) - extract(epoch from '2026-06-20 17:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136731 -2.810793)'), GeomFromEWKT('SRID=4674;POINT (-40.136755 -2.810877)'))) / (select extract(epoch from '2026-06-20 17:15:12'::timestamp) - extract(epoch from '2026-06-20 17:15:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.136792 -2.810957)', '2026-06-20 17:15:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136755 -2.810877)'), GeomFromEWKT('SRID=4674;POINT (-40.136792 -2.810957)'))) / (select extract(epoch from '2026-06-20 17:15:20'::timestamp) - extract(epoch from '2026-06-20 17:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136755 -2.810877)'), GeomFromEWKT('SRID=4674;POINT (-40.136792 -2.810957)'))) / (select extract(epoch from '2026-06-20 17:15:20'::timestamp) - extract(epoch from '2026-06-20 17:15:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.136794 -2.811011)', '2026-06-20 17:15:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136792 -2.810957)'), GeomFromEWKT('SRID=4674;POINT (-40.136794 -2.811011)'))) / (select extract(epoch from '2026-06-20 17:15:27'::timestamp) - extract(epoch from '2026-06-20 17:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136792 -2.810957)'), GeomFromEWKT('SRID=4674;POINT (-40.136794 -2.811011)'))) / (select extract(epoch from '2026-06-20 17:15:27'::timestamp) - extract(epoch from '2026-06-20 17:15:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.136834 -2.811051)', '2026-06-20 17:15:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136794 -2.811011)'), GeomFromEWKT('SRID=4674;POINT (-40.136834 -2.811051)'))) / (select extract(epoch from '2026-06-20 17:15:40'::timestamp) - extract(epoch from '2026-06-20 17:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136794 -2.811011)'), GeomFromEWKT('SRID=4674;POINT (-40.136834 -2.811051)'))) / (select extract(epoch from '2026-06-20 17:15:40'::timestamp) - extract(epoch from '2026-06-20 17:15:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.136939 -2.811131)', '2026-06-20 17:16:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136834 -2.811051)'), GeomFromEWKT('SRID=4674;POINT (-40.136939 -2.811131)'))) / (select extract(epoch from '2026-06-20 17:16:00'::timestamp) - extract(epoch from '2026-06-20 17:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136834 -2.811051)'), GeomFromEWKT('SRID=4674;POINT (-40.136939 -2.811131)'))) / (select extract(epoch from '2026-06-20 17:16:00'::timestamp) - extract(epoch from '2026-06-20 17:15:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.137004 -2.811176)', '2026-06-20 17:16:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136939 -2.811131)'), GeomFromEWKT('SRID=4674;POINT (-40.137004 -2.811176)'))) / (select extract(epoch from '2026-06-20 17:16:15'::timestamp) - extract(epoch from '2026-06-20 17:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136939 -2.811131)'), GeomFromEWKT('SRID=4674;POINT (-40.137004 -2.811176)'))) / (select extract(epoch from '2026-06-20 17:16:15'::timestamp) - extract(epoch from '2026-06-20 17:16:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.137074 -2.811252)', '2026-06-20 17:16:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137004 -2.811176)'), GeomFromEWKT('SRID=4674;POINT (-40.137074 -2.811252)'))) / (select extract(epoch from '2026-06-20 17:16:32'::timestamp) - extract(epoch from '2026-06-20 17:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137004 -2.811176)'), GeomFromEWKT('SRID=4674;POINT (-40.137074 -2.811252)'))) / (select extract(epoch from '2026-06-20 17:16:32'::timestamp) - extract(epoch from '2026-06-20 17:16:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.137133 -2.811293)', '2026-06-20 17:16:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137074 -2.811252)'), GeomFromEWKT('SRID=4674;POINT (-40.137133 -2.811293)'))) / (select extract(epoch from '2026-06-20 17:16:46'::timestamp) - extract(epoch from '2026-06-20 17:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137074 -2.811252)'), GeomFromEWKT('SRID=4674;POINT (-40.137133 -2.811293)'))) / (select extract(epoch from '2026-06-20 17:16:46'::timestamp) - extract(epoch from '2026-06-20 17:16:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.137212 -2.811354)', '2026-06-20 17:17:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137133 -2.811293)'), GeomFromEWKT('SRID=4674;POINT (-40.137212 -2.811354)'))) / (select extract(epoch from '2026-06-20 17:17:02'::timestamp) - extract(epoch from '2026-06-20 17:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137133 -2.811293)'), GeomFromEWKT('SRID=4674;POINT (-40.137212 -2.811354)'))) / (select extract(epoch from '2026-06-20 17:17:02'::timestamp) - extract(epoch from '2026-06-20 17:16:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.137288 -2.811402)', '2026-06-20 17:17:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137212 -2.811354)'), GeomFromEWKT('SRID=4674;POINT (-40.137288 -2.811402)'))) / (select extract(epoch from '2026-06-20 17:17:19'::timestamp) - extract(epoch from '2026-06-20 17:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137212 -2.811354)'), GeomFromEWKT('SRID=4674;POINT (-40.137288 -2.811402)'))) / (select extract(epoch from '2026-06-20 17:17:19'::timestamp) - extract(epoch from '2026-06-20 17:17:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.137375 -2.811457)', '2026-06-20 17:17:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137288 -2.811402)'), GeomFromEWKT('SRID=4674;POINT (-40.137375 -2.811457)'))) / (select extract(epoch from '2026-06-20 17:17:36'::timestamp) - extract(epoch from '2026-06-20 17:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137288 -2.811402)'), GeomFromEWKT('SRID=4674;POINT (-40.137375 -2.811457)'))) / (select extract(epoch from '2026-06-20 17:17:36'::timestamp) - extract(epoch from '2026-06-20 17:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13743 -2.811517)', '2026-06-20 17:17:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137375 -2.811457)'), GeomFromEWKT('SRID=4674;POINT (-40.13743 -2.811517)'))) / (select extract(epoch from '2026-06-20 17:17:52'::timestamp) - extract(epoch from '2026-06-20 17:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137375 -2.811457)'), GeomFromEWKT('SRID=4674;POINT (-40.13743 -2.811517)'))) / (select extract(epoch from '2026-06-20 17:17:52'::timestamp) - extract(epoch from '2026-06-20 17:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13752 -2.811609)', '2026-06-20 17:18:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13743 -2.811517)'), GeomFromEWKT('SRID=4674;POINT (-40.13752 -2.811609)'))) / (select extract(epoch from '2026-06-20 17:18:12'::timestamp) - extract(epoch from '2026-06-20 17:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13743 -2.811517)'), GeomFromEWKT('SRID=4674;POINT (-40.13752 -2.811609)'))) / (select extract(epoch from '2026-06-20 17:18:12'::timestamp) - extract(epoch from '2026-06-20 17:17:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.137608 -2.811663)', '2026-06-20 17:18:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13752 -2.811609)'), GeomFromEWKT('SRID=4674;POINT (-40.137608 -2.811663)'))) / (select extract(epoch from '2026-06-20 17:18:30'::timestamp) - extract(epoch from '2026-06-20 17:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13752 -2.811609)'), GeomFromEWKT('SRID=4674;POINT (-40.137608 -2.811663)'))) / (select extract(epoch from '2026-06-20 17:18:30'::timestamp) - extract(epoch from '2026-06-20 17:18:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.137676 -2.811731)', '2026-06-20 17:18:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137608 -2.811663)'), GeomFromEWKT('SRID=4674;POINT (-40.137676 -2.811731)'))) / (select extract(epoch from '2026-06-20 17:18:45'::timestamp) - extract(epoch from '2026-06-20 17:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137608 -2.811663)'), GeomFromEWKT('SRID=4674;POINT (-40.137676 -2.811731)'))) / (select extract(epoch from '2026-06-20 17:18:45'::timestamp) - extract(epoch from '2026-06-20 17:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.137763 -2.811805)', '2026-06-20 17:19:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137676 -2.811731)'), GeomFromEWKT('SRID=4674;POINT (-40.137763 -2.811805)'))) / (select extract(epoch from '2026-06-20 17:19:03'::timestamp) - extract(epoch from '2026-06-20 17:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137676 -2.811731)'), GeomFromEWKT('SRID=4674;POINT (-40.137763 -2.811805)'))) / (select extract(epoch from '2026-06-20 17:19:03'::timestamp) - extract(epoch from '2026-06-20 17:18:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.137838 -2.811874)', '2026-06-20 17:19:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137763 -2.811805)'), GeomFromEWKT('SRID=4674;POINT (-40.137838 -2.811874)'))) / (select extract(epoch from '2026-06-20 17:19:20'::timestamp) - extract(epoch from '2026-06-20 17:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137763 -2.811805)'), GeomFromEWKT('SRID=4674;POINT (-40.137838 -2.811874)'))) / (select extract(epoch from '2026-06-20 17:19:20'::timestamp) - extract(epoch from '2026-06-20 17:19:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.137891 -2.811906)', '2026-06-20 17:19:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137838 -2.811874)'), GeomFromEWKT('SRID=4674;POINT (-40.137891 -2.811906)'))) / (select extract(epoch from '2026-06-20 17:19:37'::timestamp) - extract(epoch from '2026-06-20 17:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137838 -2.811874)'), GeomFromEWKT('SRID=4674;POINT (-40.137891 -2.811906)'))) / (select extract(epoch from '2026-06-20 17:19:37'::timestamp) - extract(epoch from '2026-06-20 17:19:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.137961 -2.81197)', '2026-06-20 17:19:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137891 -2.811906)'), GeomFromEWKT('SRID=4674;POINT (-40.137961 -2.81197)'))) / (select extract(epoch from '2026-06-20 17:19:51'::timestamp) - extract(epoch from '2026-06-20 17:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137891 -2.811906)'), GeomFromEWKT('SRID=4674;POINT (-40.137961 -2.81197)'))) / (select extract(epoch from '2026-06-20 17:19:51'::timestamp) - extract(epoch from '2026-06-20 17:19:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.138033 -2.81203)', '2026-06-20 17:20:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137961 -2.81197)'), GeomFromEWKT('SRID=4674;POINT (-40.138033 -2.81203)'))) / (select extract(epoch from '2026-06-20 17:20:06'::timestamp) - extract(epoch from '2026-06-20 17:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137961 -2.81197)'), GeomFromEWKT('SRID=4674;POINT (-40.138033 -2.81203)'))) / (select extract(epoch from '2026-06-20 17:20:06'::timestamp) - extract(epoch from '2026-06-20 17:19:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.138134 -2.81212)', '2026-06-20 17:20:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138033 -2.81203)'), GeomFromEWKT('SRID=4674;POINT (-40.138134 -2.81212)'))) / (select extract(epoch from '2026-06-20 17:20:25'::timestamp) - extract(epoch from '2026-06-20 17:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138033 -2.81203)'), GeomFromEWKT('SRID=4674;POINT (-40.138134 -2.81212)'))) / (select extract(epoch from '2026-06-20 17:20:25'::timestamp) - extract(epoch from '2026-06-20 17:20:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.138218 -2.812202)', '2026-06-20 17:20:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138134 -2.81212)'), GeomFromEWKT('SRID=4674;POINT (-40.138218 -2.812202)'))) / (select extract(epoch from '2026-06-20 17:20:42'::timestamp) - extract(epoch from '2026-06-20 17:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138134 -2.81212)'), GeomFromEWKT('SRID=4674;POINT (-40.138218 -2.812202)'))) / (select extract(epoch from '2026-06-20 17:20:42'::timestamp) - extract(epoch from '2026-06-20 17:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.1383 -2.812272)', '2026-06-20 17:20:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138218 -2.812202)'), GeomFromEWKT('SRID=4674;POINT (-40.1383 -2.812272)'))) / (select extract(epoch from '2026-06-20 17:20:59'::timestamp) - extract(epoch from '2026-06-20 17:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138218 -2.812202)'), GeomFromEWKT('SRID=4674;POINT (-40.1383 -2.812272)'))) / (select extract(epoch from '2026-06-20 17:20:59'::timestamp) - extract(epoch from '2026-06-20 17:20:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.138384 -2.812323)', '2026-06-20 17:21:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1383 -2.812272)'), GeomFromEWKT('SRID=4674;POINT (-40.138384 -2.812323)'))) / (select extract(epoch from '2026-06-20 17:21:14'::timestamp) - extract(epoch from '2026-06-20 17:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1383 -2.812272)'), GeomFromEWKT('SRID=4674;POINT (-40.138384 -2.812323)'))) / (select extract(epoch from '2026-06-20 17:21:14'::timestamp) - extract(epoch from '2026-06-20 17:20:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.138456 -2.812383)', '2026-06-20 17:21:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138384 -2.812323)'), GeomFromEWKT('SRID=4674;POINT (-40.138456 -2.812383)'))) / (select extract(epoch from '2026-06-20 17:21:28'::timestamp) - extract(epoch from '2026-06-20 17:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138384 -2.812323)'), GeomFromEWKT('SRID=4674;POINT (-40.138456 -2.812383)'))) / (select extract(epoch from '2026-06-20 17:21:28'::timestamp) - extract(epoch from '2026-06-20 17:21:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.138555 -2.812483)', '2026-06-20 17:21:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138456 -2.812383)'), GeomFromEWKT('SRID=4674;POINT (-40.138555 -2.812483)'))) / (select extract(epoch from '2026-06-20 17:21:47'::timestamp) - extract(epoch from '2026-06-20 17:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138456 -2.812383)'), GeomFromEWKT('SRID=4674;POINT (-40.138555 -2.812483)'))) / (select extract(epoch from '2026-06-20 17:21:47'::timestamp) - extract(epoch from '2026-06-20 17:21:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.138652 -2.812553)', '2026-06-20 17:22:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138555 -2.812483)'), GeomFromEWKT('SRID=4674;POINT (-40.138652 -2.812553)'))) / (select extract(epoch from '2026-06-20 17:22:05'::timestamp) - extract(epoch from '2026-06-20 17:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138555 -2.812483)'), GeomFromEWKT('SRID=4674;POINT (-40.138652 -2.812553)'))) / (select extract(epoch from '2026-06-20 17:22:05'::timestamp) - extract(epoch from '2026-06-20 17:21:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.13872 -2.812602)', '2026-06-20 17:22:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138652 -2.812553)'), GeomFromEWKT('SRID=4674;POINT (-40.13872 -2.812602)'))) / (select extract(epoch from '2026-06-20 17:22:21'::timestamp) - extract(epoch from '2026-06-20 17:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138652 -2.812553)'), GeomFromEWKT('SRID=4674;POINT (-40.13872 -2.812602)'))) / (select extract(epoch from '2026-06-20 17:22:21'::timestamp) - extract(epoch from '2026-06-20 17:22:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.138797 -2.812666)', '2026-06-20 17:22:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13872 -2.812602)'), GeomFromEWKT('SRID=4674;POINT (-40.138797 -2.812666)'))) / (select extract(epoch from '2026-06-20 17:22:38'::timestamp) - extract(epoch from '2026-06-20 17:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13872 -2.812602)'), GeomFromEWKT('SRID=4674;POINT (-40.138797 -2.812666)'))) / (select extract(epoch from '2026-06-20 17:22:38'::timestamp) - extract(epoch from '2026-06-20 17:22:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.138891 -2.812747)', '2026-06-20 17:22:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138797 -2.812666)'), GeomFromEWKT('SRID=4674;POINT (-40.138891 -2.812747)'))) / (select extract(epoch from '2026-06-20 17:22:57'::timestamp) - extract(epoch from '2026-06-20 17:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138797 -2.812666)'), GeomFromEWKT('SRID=4674;POINT (-40.138891 -2.812747)'))) / (select extract(epoch from '2026-06-20 17:22:57'::timestamp) - extract(epoch from '2026-06-20 17:22:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.138949 -2.812804)', '2026-06-20 17:23:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138891 -2.812747)'), GeomFromEWKT('SRID=4674;POINT (-40.138949 -2.812804)'))) / (select extract(epoch from '2026-06-20 17:23:13'::timestamp) - extract(epoch from '2026-06-20 17:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138891 -2.812747)'), GeomFromEWKT('SRID=4674;POINT (-40.138949 -2.812804)'))) / (select extract(epoch from '2026-06-20 17:23:13'::timestamp) - extract(epoch from '2026-06-20 17:22:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.139012 -2.812866)', '2026-06-20 17:23:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138949 -2.812804)'), GeomFromEWKT('SRID=4674;POINT (-40.139012 -2.812866)'))) / (select extract(epoch from '2026-06-20 17:23:27'::timestamp) - extract(epoch from '2026-06-20 17:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138949 -2.812804)'), GeomFromEWKT('SRID=4674;POINT (-40.139012 -2.812866)'))) / (select extract(epoch from '2026-06-20 17:23:27'::timestamp) - extract(epoch from '2026-06-20 17:23:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.139082 -2.812935)', '2026-06-20 17:23:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139012 -2.812866)'), GeomFromEWKT('SRID=4674;POINT (-40.139082 -2.812935)'))) / (select extract(epoch from '2026-06-20 17:23:40'::timestamp) - extract(epoch from '2026-06-20 17:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139012 -2.812866)'), GeomFromEWKT('SRID=4674;POINT (-40.139082 -2.812935)'))) / (select extract(epoch from '2026-06-20 17:23:40'::timestamp) - extract(epoch from '2026-06-20 17:23:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.139155 -2.812986)', '2026-06-20 17:23:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139082 -2.812935)'), GeomFromEWKT('SRID=4674;POINT (-40.139155 -2.812986)'))) / (select extract(epoch from '2026-06-20 17:23:54'::timestamp) - extract(epoch from '2026-06-20 17:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139082 -2.812935)'), GeomFromEWKT('SRID=4674;POINT (-40.139155 -2.812986)'))) / (select extract(epoch from '2026-06-20 17:23:54'::timestamp) - extract(epoch from '2026-06-20 17:23:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.139229 -2.813062)', '2026-06-20 17:24:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139155 -2.812986)'), GeomFromEWKT('SRID=4674;POINT (-40.139229 -2.813062)'))) / (select extract(epoch from '2026-06-20 17:24:11'::timestamp) - extract(epoch from '2026-06-20 17:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139155 -2.812986)'), GeomFromEWKT('SRID=4674;POINT (-40.139229 -2.813062)'))) / (select extract(epoch from '2026-06-20 17:24:11'::timestamp) - extract(epoch from '2026-06-20 17:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.139286 -2.813123)', '2026-06-20 17:24:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139229 -2.813062)'), GeomFromEWKT('SRID=4674;POINT (-40.139286 -2.813123)'))) / (select extract(epoch from '2026-06-20 17:24:25'::timestamp) - extract(epoch from '2026-06-20 17:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139229 -2.813062)'), GeomFromEWKT('SRID=4674;POINT (-40.139286 -2.813123)'))) / (select extract(epoch from '2026-06-20 17:24:25'::timestamp) - extract(epoch from '2026-06-20 17:24:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.139379 -2.813214)', '2026-06-20 17:24:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139286 -2.813123)'), GeomFromEWKT('SRID=4674;POINT (-40.139379 -2.813214)'))) / (select extract(epoch from '2026-06-20 17:24:45'::timestamp) - extract(epoch from '2026-06-20 17:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139286 -2.813123)'), GeomFromEWKT('SRID=4674;POINT (-40.139379 -2.813214)'))) / (select extract(epoch from '2026-06-20 17:24:45'::timestamp) - extract(epoch from '2026-06-20 17:24:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.139454 -2.813293)', '2026-06-20 17:25:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139379 -2.813214)'), GeomFromEWKT('SRID=4674;POINT (-40.139454 -2.813293)'))) / (select extract(epoch from '2026-06-20 17:25:03'::timestamp) - extract(epoch from '2026-06-20 17:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139379 -2.813214)'), GeomFromEWKT('SRID=4674;POINT (-40.139454 -2.813293)'))) / (select extract(epoch from '2026-06-20 17:25:03'::timestamp) - extract(epoch from '2026-06-20 17:24:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.139514 -2.813367)', '2026-06-20 17:25:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139454 -2.813293)'), GeomFromEWKT('SRID=4674;POINT (-40.139514 -2.813367)'))) / (select extract(epoch from '2026-06-20 17:25:18'::timestamp) - extract(epoch from '2026-06-20 17:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139454 -2.813293)'), GeomFromEWKT('SRID=4674;POINT (-40.139514 -2.813367)'))) / (select extract(epoch from '2026-06-20 17:25:18'::timestamp) - extract(epoch from '2026-06-20 17:25:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.139579 -2.81341)', '2026-06-20 17:25:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139514 -2.813367)'), GeomFromEWKT('SRID=4674;POINT (-40.139579 -2.81341)'))) / (select extract(epoch from '2026-06-20 17:25:33'::timestamp) - extract(epoch from '2026-06-20 17:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139514 -2.813367)'), GeomFromEWKT('SRID=4674;POINT (-40.139579 -2.81341)'))) / (select extract(epoch from '2026-06-20 17:25:33'::timestamp) - extract(epoch from '2026-06-20 17:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.139657 -2.813477)', '2026-06-20 17:25:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139579 -2.81341)'), GeomFromEWKT('SRID=4674;POINT (-40.139657 -2.813477)'))) / (select extract(epoch from '2026-06-20 17:25:49'::timestamp) - extract(epoch from '2026-06-20 17:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139579 -2.81341)'), GeomFromEWKT('SRID=4674;POINT (-40.139657 -2.813477)'))) / (select extract(epoch from '2026-06-20 17:25:49'::timestamp) - extract(epoch from '2026-06-20 17:25:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.139747 -2.813542)', '2026-06-20 17:26:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139657 -2.813477)'), GeomFromEWKT('SRID=4674;POINT (-40.139747 -2.813542)'))) / (select extract(epoch from '2026-06-20 17:26:06'::timestamp) - extract(epoch from '2026-06-20 17:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139657 -2.813477)'), GeomFromEWKT('SRID=4674;POINT (-40.139747 -2.813542)'))) / (select extract(epoch from '2026-06-20 17:26:06'::timestamp) - extract(epoch from '2026-06-20 17:25:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.139816 -2.813605)', '2026-06-20 17:26:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139747 -2.813542)'), GeomFromEWKT('SRID=4674;POINT (-40.139816 -2.813605)'))) / (select extract(epoch from '2026-06-20 17:26:21'::timestamp) - extract(epoch from '2026-06-20 17:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139747 -2.813542)'), GeomFromEWKT('SRID=4674;POINT (-40.139816 -2.813605)'))) / (select extract(epoch from '2026-06-20 17:26:21'::timestamp) - extract(epoch from '2026-06-20 17:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.139887 -2.81365)', '2026-06-20 17:26:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139816 -2.813605)'), GeomFromEWKT('SRID=4674;POINT (-40.139887 -2.81365)'))) / (select extract(epoch from '2026-06-20 17:26:36'::timestamp) - extract(epoch from '2026-06-20 17:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139816 -2.813605)'), GeomFromEWKT('SRID=4674;POINT (-40.139887 -2.81365)'))) / (select extract(epoch from '2026-06-20 17:26:36'::timestamp) - extract(epoch from '2026-06-20 17:26:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.139948 -2.813702)', '2026-06-20 17:26:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139887 -2.81365)'), GeomFromEWKT('SRID=4674;POINT (-40.139948 -2.813702)'))) / (select extract(epoch from '2026-06-20 17:26:50'::timestamp) - extract(epoch from '2026-06-20 17:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139887 -2.81365)'), GeomFromEWKT('SRID=4674;POINT (-40.139948 -2.813702)'))) / (select extract(epoch from '2026-06-20 17:26:50'::timestamp) - extract(epoch from '2026-06-20 17:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.14004 -2.81379)', '2026-06-20 17:27:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139948 -2.813702)'), GeomFromEWKT('SRID=4674;POINT (-40.14004 -2.81379)'))) / (select extract(epoch from '2026-06-20 17:27:11'::timestamp) - extract(epoch from '2026-06-20 17:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139948 -2.813702)'), GeomFromEWKT('SRID=4674;POINT (-40.14004 -2.81379)'))) / (select extract(epoch from '2026-06-20 17:27:11'::timestamp) - extract(epoch from '2026-06-20 17:26:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.140123 -2.813847)', '2026-06-20 17:27:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14004 -2.81379)'), GeomFromEWKT('SRID=4674;POINT (-40.140123 -2.813847)'))) / (select extract(epoch from '2026-06-20 17:27:29'::timestamp) - extract(epoch from '2026-06-20 17:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14004 -2.81379)'), GeomFromEWKT('SRID=4674;POINT (-40.140123 -2.813847)'))) / (select extract(epoch from '2026-06-20 17:27:29'::timestamp) - extract(epoch from '2026-06-20 17:27:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.140198 -2.813905)', '2026-06-20 17:27:46', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140123 -2.813847)'), GeomFromEWKT('SRID=4674;POINT (-40.140198 -2.813905)'))) / (select extract(epoch from '2026-06-20 17:27:46'::timestamp) - extract(epoch from '2026-06-20 17:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140123 -2.813847)'), GeomFromEWKT('SRID=4674;POINT (-40.140198 -2.813905)'))) / (select extract(epoch from '2026-06-20 17:27:46'::timestamp) - extract(epoch from '2026-06-20 17:27:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.140267 -2.813962)', '2026-06-20 17:28:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140198 -2.813905)'), GeomFromEWKT('SRID=4674;POINT (-40.140267 -2.813962)'))) / (select extract(epoch from '2026-06-20 17:28:04'::timestamp) - extract(epoch from '2026-06-20 17:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140198 -2.813905)'), GeomFromEWKT('SRID=4674;POINT (-40.140267 -2.813962)'))) / (select extract(epoch from '2026-06-20 17:28:04'::timestamp) - extract(epoch from '2026-06-20 17:27:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.140352 -2.814015)', '2026-06-20 17:28:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140267 -2.813962)'), GeomFromEWKT('SRID=4674;POINT (-40.140352 -2.814015)'))) / (select extract(epoch from '2026-06-20 17:28:21'::timestamp) - extract(epoch from '2026-06-20 17:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140267 -2.813962)'), GeomFromEWKT('SRID=4674;POINT (-40.140352 -2.814015)'))) / (select extract(epoch from '2026-06-20 17:28:21'::timestamp) - extract(epoch from '2026-06-20 17:28:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.140418 -2.814078)', '2026-06-20 17:28:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140352 -2.814015)'), GeomFromEWKT('SRID=4674;POINT (-40.140418 -2.814078)'))) / (select extract(epoch from '2026-06-20 17:28:37'::timestamp) - extract(epoch from '2026-06-20 17:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140352 -2.814015)'), GeomFromEWKT('SRID=4674;POINT (-40.140418 -2.814078)'))) / (select extract(epoch from '2026-06-20 17:28:37'::timestamp) - extract(epoch from '2026-06-20 17:28:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.14048 -2.814128)', '2026-06-20 17:28:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140418 -2.814078)'), GeomFromEWKT('SRID=4674;POINT (-40.14048 -2.814128)'))) / (select extract(epoch from '2026-06-20 17:28:52'::timestamp) - extract(epoch from '2026-06-20 17:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140418 -2.814078)'), GeomFromEWKT('SRID=4674;POINT (-40.14048 -2.814128)'))) / (select extract(epoch from '2026-06-20 17:28:52'::timestamp) - extract(epoch from '2026-06-20 17:28:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.140566 -2.814205)', '2026-06-20 17:29:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14048 -2.814128)'), GeomFromEWKT('SRID=4674;POINT (-40.140566 -2.814205)'))) / (select extract(epoch from '2026-06-20 17:29:09'::timestamp) - extract(epoch from '2026-06-20 17:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14048 -2.814128)'), GeomFromEWKT('SRID=4674;POINT (-40.140566 -2.814205)'))) / (select extract(epoch from '2026-06-20 17:29:09'::timestamp) - extract(epoch from '2026-06-20 17:28:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.140617 -2.814249)', '2026-06-20 17:29:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140566 -2.814205)'), GeomFromEWKT('SRID=4674;POINT (-40.140617 -2.814249)'))) / (select extract(epoch from '2026-06-20 17:29:22'::timestamp) - extract(epoch from '2026-06-20 17:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140566 -2.814205)'), GeomFromEWKT('SRID=4674;POINT (-40.140617 -2.814249)'))) / (select extract(epoch from '2026-06-20 17:29:22'::timestamp) - extract(epoch from '2026-06-20 17:29:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.140704 -2.814316)', '2026-06-20 17:29:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140617 -2.814249)'), GeomFromEWKT('SRID=4674;POINT (-40.140704 -2.814316)'))) / (select extract(epoch from '2026-06-20 17:29:41'::timestamp) - extract(epoch from '2026-06-20 17:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140617 -2.814249)'), GeomFromEWKT('SRID=4674;POINT (-40.140704 -2.814316)'))) / (select extract(epoch from '2026-06-20 17:29:41'::timestamp) - extract(epoch from '2026-06-20 17:29:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.14079 -2.814397)', '2026-06-20 17:30:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140704 -2.814316)'), GeomFromEWKT('SRID=4674;POINT (-40.14079 -2.814397)'))) / (select extract(epoch from '2026-06-20 17:30:00'::timestamp) - extract(epoch from '2026-06-20 17:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140704 -2.814316)'), GeomFromEWKT('SRID=4674;POINT (-40.14079 -2.814397)'))) / (select extract(epoch from '2026-06-20 17:30:00'::timestamp) - extract(epoch from '2026-06-20 17:29:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.14086 -2.814474)', '2026-06-20 17:30:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14079 -2.814397)'), GeomFromEWKT('SRID=4674;POINT (-40.14086 -2.814474)'))) / (select extract(epoch from '2026-06-20 17:30:17'::timestamp) - extract(epoch from '2026-06-20 17:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14079 -2.814397)'), GeomFromEWKT('SRID=4674;POINT (-40.14086 -2.814474)'))) / (select extract(epoch from '2026-06-20 17:30:17'::timestamp) - extract(epoch from '2026-06-20 17:30:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.140911 -2.814518)', '2026-06-20 17:30:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14086 -2.814474)'), GeomFromEWKT('SRID=4674;POINT (-40.140911 -2.814518)'))) / (select extract(epoch from '2026-06-20 17:30:30'::timestamp) - extract(epoch from '2026-06-20 17:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14086 -2.814474)'), GeomFromEWKT('SRID=4674;POINT (-40.140911 -2.814518)'))) / (select extract(epoch from '2026-06-20 17:30:30'::timestamp) - extract(epoch from '2026-06-20 17:30:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.140948 -2.814556)', '2026-06-20 17:30:44', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140911 -2.814518)'), GeomFromEWKT('SRID=4674;POINT (-40.140948 -2.814556)'))) / (select extract(epoch from '2026-06-20 17:30:44'::timestamp) - extract(epoch from '2026-06-20 17:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140911 -2.814518)'), GeomFromEWKT('SRID=4674;POINT (-40.140948 -2.814556)'))) / (select extract(epoch from '2026-06-20 17:30:44'::timestamp) - extract(epoch from '2026-06-20 17:30:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.141015 -2.814612)', '2026-06-20 17:31:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140948 -2.814556)'), GeomFromEWKT('SRID=4674;POINT (-40.141015 -2.814612)'))) / (select extract(epoch from '2026-06-20 17:31:00'::timestamp) - extract(epoch from '2026-06-20 17:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140948 -2.814556)'), GeomFromEWKT('SRID=4674;POINT (-40.141015 -2.814612)'))) / (select extract(epoch from '2026-06-20 17:31:00'::timestamp) - extract(epoch from '2026-06-20 17:30:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.141082 -2.814678)', '2026-06-20 17:31:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141015 -2.814612)'), GeomFromEWKT('SRID=4674;POINT (-40.141082 -2.814678)'))) / (select extract(epoch from '2026-06-20 17:31:14'::timestamp) - extract(epoch from '2026-06-20 17:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141015 -2.814612)'), GeomFromEWKT('SRID=4674;POINT (-40.141082 -2.814678)'))) / (select extract(epoch from '2026-06-20 17:31:14'::timestamp) - extract(epoch from '2026-06-20 17:31:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.14116 -2.814745)', '2026-06-20 17:31:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141082 -2.814678)'), GeomFromEWKT('SRID=4674;POINT (-40.14116 -2.814745)'))) / (select extract(epoch from '2026-06-20 17:31:31'::timestamp) - extract(epoch from '2026-06-20 17:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141082 -2.814678)'), GeomFromEWKT('SRID=4674;POINT (-40.14116 -2.814745)'))) / (select extract(epoch from '2026-06-20 17:31:31'::timestamp) - extract(epoch from '2026-06-20 17:31:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.141241 -2.81481)', '2026-06-20 17:31:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14116 -2.814745)'), GeomFromEWKT('SRID=4674;POINT (-40.141241 -2.81481)'))) / (select extract(epoch from '2026-06-20 17:31:49'::timestamp) - extract(epoch from '2026-06-20 17:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14116 -2.814745)'), GeomFromEWKT('SRID=4674;POINT (-40.141241 -2.81481)'))) / (select extract(epoch from '2026-06-20 17:31:49'::timestamp) - extract(epoch from '2026-06-20 17:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.141308 -2.814886)', '2026-06-20 17:32:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141241 -2.81481)'), GeomFromEWKT('SRID=4674;POINT (-40.141308 -2.814886)'))) / (select extract(epoch from '2026-06-20 17:32:03'::timestamp) - extract(epoch from '2026-06-20 17:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141241 -2.81481)'), GeomFromEWKT('SRID=4674;POINT (-40.141308 -2.814886)'))) / (select extract(epoch from '2026-06-20 17:32:03'::timestamp) - extract(epoch from '2026-06-20 17:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.141391 -2.814958)', '2026-06-20 17:32:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141308 -2.814886)'), GeomFromEWKT('SRID=4674;POINT (-40.141391 -2.814958)'))) / (select extract(epoch from '2026-06-20 17:32:21'::timestamp) - extract(epoch from '2026-06-20 17:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141308 -2.814886)'), GeomFromEWKT('SRID=4674;POINT (-40.141391 -2.814958)'))) / (select extract(epoch from '2026-06-20 17:32:21'::timestamp) - extract(epoch from '2026-06-20 17:32:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.141456 -2.815018)', '2026-06-20 17:32:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141391 -2.814958)'), GeomFromEWKT('SRID=4674;POINT (-40.141456 -2.815018)'))) / (select extract(epoch from '2026-06-20 17:32:35'::timestamp) - extract(epoch from '2026-06-20 17:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141391 -2.814958)'), GeomFromEWKT('SRID=4674;POINT (-40.141456 -2.815018)'))) / (select extract(epoch from '2026-06-20 17:32:35'::timestamp) - extract(epoch from '2026-06-20 17:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.141541 -2.815086)', '2026-06-20 17:32:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141456 -2.815018)'), GeomFromEWKT('SRID=4674;POINT (-40.141541 -2.815086)'))) / (select extract(epoch from '2026-06-20 17:32:53'::timestamp) - extract(epoch from '2026-06-20 17:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141456 -2.815018)'), GeomFromEWKT('SRID=4674;POINT (-40.141541 -2.815086)'))) / (select extract(epoch from '2026-06-20 17:32:53'::timestamp) - extract(epoch from '2026-06-20 17:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.141642 -2.81517)', '2026-06-20 17:33:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141541 -2.815086)'), GeomFromEWKT('SRID=4674;POINT (-40.141642 -2.81517)'))) / (select extract(epoch from '2026-06-20 17:33:13'::timestamp) - extract(epoch from '2026-06-20 17:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141541 -2.815086)'), GeomFromEWKT('SRID=4674;POINT (-40.141642 -2.81517)'))) / (select extract(epoch from '2026-06-20 17:33:13'::timestamp) - extract(epoch from '2026-06-20 17:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.141743 -2.815272)', '2026-06-20 17:33:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141642 -2.81517)'), GeomFromEWKT('SRID=4674;POINT (-40.141743 -2.815272)'))) / (select extract(epoch from '2026-06-20 17:33:31'::timestamp) - extract(epoch from '2026-06-20 17:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141642 -2.81517)'), GeomFromEWKT('SRID=4674;POINT (-40.141743 -2.815272)'))) / (select extract(epoch from '2026-06-20 17:33:31'::timestamp) - extract(epoch from '2026-06-20 17:33:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.141796 -2.815342)', '2026-06-20 17:33:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141743 -2.815272)'), GeomFromEWKT('SRID=4674;POINT (-40.141796 -2.815342)'))) / (select extract(epoch from '2026-06-20 17:33:46'::timestamp) - extract(epoch from '2026-06-20 17:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141743 -2.815272)'), GeomFromEWKT('SRID=4674;POINT (-40.141796 -2.815342)'))) / (select extract(epoch from '2026-06-20 17:33:46'::timestamp) - extract(epoch from '2026-06-20 17:33:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.141873 -2.815421)', '2026-06-20 17:34:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141796 -2.815342)'), GeomFromEWKT('SRID=4674;POINT (-40.141873 -2.815421)'))) / (select extract(epoch from '2026-06-20 17:34:03'::timestamp) - extract(epoch from '2026-06-20 17:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141796 -2.815342)'), GeomFromEWKT('SRID=4674;POINT (-40.141873 -2.815421)'))) / (select extract(epoch from '2026-06-20 17:34:03'::timestamp) - extract(epoch from '2026-06-20 17:33:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.141951 -2.815488)', '2026-06-20 17:34:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141873 -2.815421)'), GeomFromEWKT('SRID=4674;POINT (-40.141951 -2.815488)'))) / (select extract(epoch from '2026-06-20 17:34:18'::timestamp) - extract(epoch from '2026-06-20 17:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141873 -2.815421)'), GeomFromEWKT('SRID=4674;POINT (-40.141951 -2.815488)'))) / (select extract(epoch from '2026-06-20 17:34:18'::timestamp) - extract(epoch from '2026-06-20 17:34:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.14204 -2.815575)', '2026-06-20 17:34:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141951 -2.815488)'), GeomFromEWKT('SRID=4674;POINT (-40.14204 -2.815575)'))) / (select extract(epoch from '2026-06-20 17:34:36'::timestamp) - extract(epoch from '2026-06-20 17:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141951 -2.815488)'), GeomFromEWKT('SRID=4674;POINT (-40.14204 -2.815575)'))) / (select extract(epoch from '2026-06-20 17:34:36'::timestamp) - extract(epoch from '2026-06-20 17:34:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.142118 -2.815662)', '2026-06-20 17:34:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14204 -2.815575)'), GeomFromEWKT('SRID=4674;POINT (-40.142118 -2.815662)'))) / (select extract(epoch from '2026-06-20 17:34:52'::timestamp) - extract(epoch from '2026-06-20 17:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14204 -2.815575)'), GeomFromEWKT('SRID=4674;POINT (-40.142118 -2.815662)'))) / (select extract(epoch from '2026-06-20 17:34:52'::timestamp) - extract(epoch from '2026-06-20 17:34:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.142197 -2.815715)', '2026-06-20 17:35:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142118 -2.815662)'), GeomFromEWKT('SRID=4674;POINT (-40.142197 -2.815715)'))) / (select extract(epoch from '2026-06-20 17:35:08'::timestamp) - extract(epoch from '2026-06-20 17:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142118 -2.815662)'), GeomFromEWKT('SRID=4674;POINT (-40.142197 -2.815715)'))) / (select extract(epoch from '2026-06-20 17:35:08'::timestamp) - extract(epoch from '2026-06-20 17:34:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.1423 -2.815808)', '2026-06-20 17:35:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142197 -2.815715)'), GeomFromEWKT('SRID=4674;POINT (-40.1423 -2.815808)'))) / (select extract(epoch from '2026-06-20 17:35:27'::timestamp) - extract(epoch from '2026-06-20 17:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142197 -2.815715)'), GeomFromEWKT('SRID=4674;POINT (-40.1423 -2.815808)'))) / (select extract(epoch from '2026-06-20 17:35:27'::timestamp) - extract(epoch from '2026-06-20 17:35:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.142375 -2.81587)', '2026-06-20 17:35:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1423 -2.815808)'), GeomFromEWKT('SRID=4674;POINT (-40.142375 -2.81587)'))) / (select extract(epoch from '2026-06-20 17:35:45'::timestamp) - extract(epoch from '2026-06-20 17:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1423 -2.815808)'), GeomFromEWKT('SRID=4674;POINT (-40.142375 -2.81587)'))) / (select extract(epoch from '2026-06-20 17:35:45'::timestamp) - extract(epoch from '2026-06-20 17:35:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.142443 -2.815936)', '2026-06-20 17:36:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142375 -2.81587)'), GeomFromEWKT('SRID=4674;POINT (-40.142443 -2.815936)'))) / (select extract(epoch from '2026-06-20 17:36:00'::timestamp) - extract(epoch from '2026-06-20 17:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142375 -2.81587)'), GeomFromEWKT('SRID=4674;POINT (-40.142443 -2.815936)'))) / (select extract(epoch from '2026-06-20 17:36:00'::timestamp) - extract(epoch from '2026-06-20 17:35:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.142514 -2.81599)', '2026-06-20 17:36:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142443 -2.815936)'), GeomFromEWKT('SRID=4674;POINT (-40.142514 -2.81599)'))) / (select extract(epoch from '2026-06-20 17:36:17'::timestamp) - extract(epoch from '2026-06-20 17:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142443 -2.815936)'), GeomFromEWKT('SRID=4674;POINT (-40.142514 -2.81599)'))) / (select extract(epoch from '2026-06-20 17:36:17'::timestamp) - extract(epoch from '2026-06-20 17:36:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.142491 -2.815928)', '2026-06-20 17:40:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142514 -2.81599)'), GeomFromEWKT('SRID=4674;POINT (-40.142491 -2.815928)'))) / (select extract(epoch from '2026-06-20 17:40:27'::timestamp) - extract(epoch from '2026-06-20 17:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142514 -2.81599)'), GeomFromEWKT('SRID=4674;POINT (-40.142491 -2.815928)'))) / (select extract(epoch from '2026-06-20 17:40:27'::timestamp) - extract(epoch from '2026-06-20 17:36:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.142467 -2.815923)', '2026-06-20 17:40:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142491 -2.815928)'), GeomFromEWKT('SRID=4674;POINT (-40.142467 -2.815923)'))) / (select extract(epoch from '2026-06-20 17:40:41'::timestamp) - extract(epoch from '2026-06-20 17:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142491 -2.815928)'), GeomFromEWKT('SRID=4674;POINT (-40.142467 -2.815923)'))) / (select extract(epoch from '2026-06-20 17:40:41'::timestamp) - extract(epoch from '2026-06-20 17:40:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.142519 -2.81596)', '2026-06-20 17:41:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142467 -2.815923)'), GeomFromEWKT('SRID=4674;POINT (-40.142519 -2.81596)'))) / (select extract(epoch from '2026-06-20 17:41:09'::timestamp) - extract(epoch from '2026-06-20 17:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142467 -2.815923)'), GeomFromEWKT('SRID=4674;POINT (-40.142519 -2.81596)'))) / (select extract(epoch from '2026-06-20 17:41:09'::timestamp) - extract(epoch from '2026-06-20 17:40:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.142593 -2.816028)', '2026-06-20 17:41:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142519 -2.81596)'), GeomFromEWKT('SRID=4674;POINT (-40.142593 -2.816028)'))) / (select extract(epoch from '2026-06-20 17:41:26'::timestamp) - extract(epoch from '2026-06-20 17:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142519 -2.81596)'), GeomFromEWKT('SRID=4674;POINT (-40.142593 -2.816028)'))) / (select extract(epoch from '2026-06-20 17:41:26'::timestamp) - extract(epoch from '2026-06-20 17:41:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.142669 -2.816111)', '2026-06-20 17:41:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142593 -2.816028)'), GeomFromEWKT('SRID=4674;POINT (-40.142669 -2.816111)'))) / (select extract(epoch from '2026-06-20 17:41:45'::timestamp) - extract(epoch from '2026-06-20 17:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142593 -2.816028)'), GeomFromEWKT('SRID=4674;POINT (-40.142669 -2.816111)'))) / (select extract(epoch from '2026-06-20 17:41:45'::timestamp) - extract(epoch from '2026-06-20 17:41:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.142748 -2.816199)', '2026-06-20 17:42:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142669 -2.816111)'), GeomFromEWKT('SRID=4674;POINT (-40.142748 -2.816199)'))) / (select extract(epoch from '2026-06-20 17:42:07'::timestamp) - extract(epoch from '2026-06-20 17:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142669 -2.816111)'), GeomFromEWKT('SRID=4674;POINT (-40.142748 -2.816199)'))) / (select extract(epoch from '2026-06-20 17:42:07'::timestamp) - extract(epoch from '2026-06-20 17:41:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.142823 -2.816287)', '2026-06-20 17:42:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142748 -2.816199)'), GeomFromEWKT('SRID=4674;POINT (-40.142823 -2.816287)'))) / (select extract(epoch from '2026-06-20 17:42:27'::timestamp) - extract(epoch from '2026-06-20 17:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142748 -2.816199)'), GeomFromEWKT('SRID=4674;POINT (-40.142823 -2.816287)'))) / (select extract(epoch from '2026-06-20 17:42:27'::timestamp) - extract(epoch from '2026-06-20 17:42:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.142889 -2.816365)', '2026-06-20 17:42:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142823 -2.816287)'), GeomFromEWKT('SRID=4674;POINT (-40.142889 -2.816365)'))) / (select extract(epoch from '2026-06-20 17:42:43'::timestamp) - extract(epoch from '2026-06-20 17:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142823 -2.816287)'), GeomFromEWKT('SRID=4674;POINT (-40.142889 -2.816365)'))) / (select extract(epoch from '2026-06-20 17:42:43'::timestamp) - extract(epoch from '2026-06-20 17:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.142947 -2.816442)', '2026-06-20 17:42:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142889 -2.816365)'), GeomFromEWKT('SRID=4674;POINT (-40.142947 -2.816442)'))) / (select extract(epoch from '2026-06-20 17:42:59'::timestamp) - extract(epoch from '2026-06-20 17:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142889 -2.816365)'), GeomFromEWKT('SRID=4674;POINT (-40.142947 -2.816442)'))) / (select extract(epoch from '2026-06-20 17:42:59'::timestamp) - extract(epoch from '2026-06-20 17:42:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.143004 -2.816521)', '2026-06-20 17:43:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142947 -2.816442)'), GeomFromEWKT('SRID=4674;POINT (-40.143004 -2.816521)'))) / (select extract(epoch from '2026-06-20 17:43:14'::timestamp) - extract(epoch from '2026-06-20 17:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142947 -2.816442)'), GeomFromEWKT('SRID=4674;POINT (-40.143004 -2.816521)'))) / (select extract(epoch from '2026-06-20 17:43:14'::timestamp) - extract(epoch from '2026-06-20 17:42:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.143042 -2.816593)', '2026-06-20 17:43:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143004 -2.816521)'), GeomFromEWKT('SRID=4674;POINT (-40.143042 -2.816593)'))) / (select extract(epoch from '2026-06-20 17:43:28'::timestamp) - extract(epoch from '2026-06-20 17:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143004 -2.816521)'), GeomFromEWKT('SRID=4674;POINT (-40.143042 -2.816593)'))) / (select extract(epoch from '2026-06-20 17:43:28'::timestamp) - extract(epoch from '2026-06-20 17:43:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46705, 'SRID=4674;POINT (-40.143082 -2.816653)', '2026-06-20 17:43:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143042 -2.816593)'), GeomFromEWKT('SRID=4674;POINT (-40.143082 -2.816653)'))) / (select extract(epoch from '2026-06-20 17:43:40'::timestamp) - extract(epoch from '2026-06-20 17:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143042 -2.816593)'), GeomFromEWKT('SRID=4674;POINT (-40.143082 -2.816653)'))) / (select extract(epoch from '2026-06-20 17:43:40'::timestamp) - extract(epoch from '2026-06-20 17:43:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
