 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47415, 'SRID=4674;POINT (-37.677096 -4.046941)', '2026-07-23 14:07:21', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677099 -4.046932)'), GeomFromEWKT('SRID=4674;POINT (-37.677096 -4.046941)'))) / (select extract(epoch from '2026-07-23 14:07:21'::timestamp) - extract(epoch from '2026-07-23 14:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677099 -4.046932)'), GeomFromEWKT('SRID=4674;POINT (-37.677096 -4.046941)'))) / (select extract(epoch from '2026-07-23 14:07:21'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677122 -4.046895)', '2026-07-23 14:08:01', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677096 -4.046941)'), GeomFromEWKT('SRID=4674;POINT (-37.677122 -4.046895)'))) / (select extract(epoch from '2026-07-23 14:08:01'::timestamp) - extract(epoch from '2026-07-23 14:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677096 -4.046941)'), GeomFromEWKT('SRID=4674;POINT (-37.677122 -4.046895)'))) / (select extract(epoch from '2026-07-23 14:08:01'::timestamp) - extract(epoch from '2026-07-23 14:07: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'), 47415, 'SRID=4674;POINT (-37.677123 -4.04688)', '2026-07-23 14:08:06', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677122 -4.046895)'), GeomFromEWKT('SRID=4674;POINT (-37.677123 -4.04688)'))) / (select extract(epoch from '2026-07-23 14:08:06'::timestamp) - extract(epoch from '2026-07-23 14:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677122 -4.046895)'), GeomFromEWKT('SRID=4674;POINT (-37.677123 -4.04688)'))) / (select extract(epoch from '2026-07-23 14:08:06'::timestamp) - extract(epoch from '2026-07-23 14:08: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'), 47415, 'SRID=4674;POINT (-37.677123 -4.046856)', '2026-07-23 14:08:12', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677123 -4.04688)'), GeomFromEWKT('SRID=4674;POINT (-37.677123 -4.046856)'))) / (select extract(epoch from '2026-07-23 14:08:12'::timestamp) - extract(epoch from '2026-07-23 14:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677123 -4.04688)'), GeomFromEWKT('SRID=4674;POINT (-37.677123 -4.046856)'))) / (select extract(epoch from '2026-07-23 14:08:12'::timestamp) - extract(epoch from '2026-07-23 14:08: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'), 47415, 'SRID=4674;POINT (-37.677128 -4.04683)', '2026-07-23 14:08:19', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677123 -4.046856)'), GeomFromEWKT('SRID=4674;POINT (-37.677128 -4.04683)'))) / (select extract(epoch from '2026-07-23 14:08:19'::timestamp) - extract(epoch from '2026-07-23 14:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677123 -4.046856)'), GeomFromEWKT('SRID=4674;POINT (-37.677128 -4.04683)'))) / (select extract(epoch from '2026-07-23 14:08:19'::timestamp) - extract(epoch from '2026-07-23 14:08: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'), 47415, 'SRID=4674;POINT (-37.677141 -4.046797)', '2026-07-23 14:08:26', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677128 -4.04683)'), GeomFromEWKT('SRID=4674;POINT (-37.677141 -4.046797)'))) / (select extract(epoch from '2026-07-23 14:08:26'::timestamp) - extract(epoch from '2026-07-23 14:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677128 -4.04683)'), GeomFromEWKT('SRID=4674;POINT (-37.677141 -4.046797)'))) / (select extract(epoch from '2026-07-23 14:08:26'::timestamp) - extract(epoch from '2026-07-23 14:08: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'), 47415, 'SRID=4674;POINT (-37.677179 -4.046782)', '2026-07-23 14:08:33', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677141 -4.046797)'), GeomFromEWKT('SRID=4674;POINT (-37.677179 -4.046782)'))) / (select extract(epoch from '2026-07-23 14:08:33'::timestamp) - extract(epoch from '2026-07-23 14:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677141 -4.046797)'), GeomFromEWKT('SRID=4674;POINT (-37.677179 -4.046782)'))) / (select extract(epoch from '2026-07-23 14:08:33'::timestamp) - extract(epoch from '2026-07-23 14:08: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'), 47415, 'SRID=4674;POINT (-37.67719 -4.046769)', '2026-07-23 14:08:40', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677179 -4.046782)'), GeomFromEWKT('SRID=4674;POINT (-37.67719 -4.046769)'))) / (select extract(epoch from '2026-07-23 14:08:40'::timestamp) - extract(epoch from '2026-07-23 14:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677179 -4.046782)'), GeomFromEWKT('SRID=4674;POINT (-37.67719 -4.046769)'))) / (select extract(epoch from '2026-07-23 14:08:40'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677206 -4.04676)', '2026-07-23 14:08:49', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67719 -4.046769)'), GeomFromEWKT('SRID=4674;POINT (-37.677206 -4.04676)'))) / (select extract(epoch from '2026-07-23 14:08:49'::timestamp) - extract(epoch from '2026-07-23 14:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67719 -4.046769)'), GeomFromEWKT('SRID=4674;POINT (-37.677206 -4.04676)'))) / (select extract(epoch from '2026-07-23 14:08:49'::timestamp) - extract(epoch from '2026-07-23 14:08: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'), 47415, 'SRID=4674;POINT (-37.677214 -4.046742)', '2026-07-23 14:09:01', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677206 -4.04676)'), GeomFromEWKT('SRID=4674;POINT (-37.677214 -4.046742)'))) / (select extract(epoch from '2026-07-23 14:09:01'::timestamp) - extract(epoch from '2026-07-23 14:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677206 -4.04676)'), GeomFromEWKT('SRID=4674;POINT (-37.677214 -4.046742)'))) / (select extract(epoch from '2026-07-23 14:09:01'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677216 -4.046739)', '2026-07-23 14:09:14', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677214 -4.046742)'), GeomFromEWKT('SRID=4674;POINT (-37.677216 -4.046739)'))) / (select extract(epoch from '2026-07-23 14:09:14'::timestamp) - extract(epoch from '2026-07-23 14:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677214 -4.046742)'), GeomFromEWKT('SRID=4674;POINT (-37.677216 -4.046739)'))) / (select extract(epoch from '2026-07-23 14:09:14'::timestamp) - extract(epoch from '2026-07-23 14:09: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'), 47415, 'SRID=4674;POINT (-37.677234 -4.046771)', '2026-07-23 14:09:21', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677216 -4.046739)'), GeomFromEWKT('SRID=4674;POINT (-37.677234 -4.046771)'))) / (select extract(epoch from '2026-07-23 14:09:21'::timestamp) - extract(epoch from '2026-07-23 14:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677216 -4.046739)'), GeomFromEWKT('SRID=4674;POINT (-37.677234 -4.046771)'))) / (select extract(epoch from '2026-07-23 14:09:21'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677244 -4.046803)', '2026-07-23 14:09:29', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677234 -4.046771)'), GeomFromEWKT('SRID=4674;POINT (-37.677244 -4.046803)'))) / (select extract(epoch from '2026-07-23 14:09:29'::timestamp) - extract(epoch from '2026-07-23 14:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677234 -4.046771)'), GeomFromEWKT('SRID=4674;POINT (-37.677244 -4.046803)'))) / (select extract(epoch from '2026-07-23 14:09:29'::timestamp) - extract(epoch from '2026-07-23 14:09: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'), 47415, 'SRID=4674;POINT (-37.677236 -4.046823)', '2026-07-23 14:09:36', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677244 -4.046803)'), GeomFromEWKT('SRID=4674;POINT (-37.677236 -4.046823)'))) / (select extract(epoch from '2026-07-23 14:09:36'::timestamp) - extract(epoch from '2026-07-23 14:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677244 -4.046803)'), GeomFromEWKT('SRID=4674;POINT (-37.677236 -4.046823)'))) / (select extract(epoch from '2026-07-23 14:09:36'::timestamp) - extract(epoch from '2026-07-23 14:09: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'), 47415, 'SRID=4674;POINT (-37.677234 -4.046865)', '2026-07-23 14:09:45', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677236 -4.046823)'), GeomFromEWKT('SRID=4674;POINT (-37.677234 -4.046865)'))) / (select extract(epoch from '2026-07-23 14:09:45'::timestamp) - extract(epoch from '2026-07-23 14:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677236 -4.046823)'), GeomFromEWKT('SRID=4674;POINT (-37.677234 -4.046865)'))) / (select extract(epoch from '2026-07-23 14:09:45'::timestamp) - extract(epoch from '2026-07-23 14:09: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'), 47415, 'SRID=4674;POINT (-37.677229 -4.046926)', '2026-07-23 14:09:53', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677234 -4.046865)'), GeomFromEWKT('SRID=4674;POINT (-37.677229 -4.046926)'))) / (select extract(epoch from '2026-07-23 14:09:53'::timestamp) - extract(epoch from '2026-07-23 14:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677234 -4.046865)'), GeomFromEWKT('SRID=4674;POINT (-37.677229 -4.046926)'))) / (select extract(epoch from '2026-07-23 14:09:53'::timestamp) - extract(epoch from '2026-07-23 14:09: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'), 47415, 'SRID=4674;POINT (-37.67721 -4.046982)', '2026-07-23 14:10:03', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677229 -4.046926)'), GeomFromEWKT('SRID=4674;POINT (-37.67721 -4.046982)'))) / (select extract(epoch from '2026-07-23 14:10:03'::timestamp) - extract(epoch from '2026-07-23 14:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677229 -4.046926)'), GeomFromEWKT('SRID=4674;POINT (-37.67721 -4.046982)'))) / (select extract(epoch from '2026-07-23 14:10:03'::timestamp) - extract(epoch from '2026-07-23 14:09: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'), 47415, 'SRID=4674;POINT (-37.677206 -4.047011)', '2026-07-23 14:10:11', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67721 -4.046982)'), GeomFromEWKT('SRID=4674;POINT (-37.677206 -4.047011)'))) / (select extract(epoch from '2026-07-23 14:10:11'::timestamp) - extract(epoch from '2026-07-23 14:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67721 -4.046982)'), GeomFromEWKT('SRID=4674;POINT (-37.677206 -4.047011)'))) / (select extract(epoch from '2026-07-23 14:10:11'::timestamp) - extract(epoch from '2026-07-23 14:10: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'), 47415, 'SRID=4674;POINT (-37.67722 -4.046997)', '2026-07-23 14:11:00', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677206 -4.047011)'), GeomFromEWKT('SRID=4674;POINT (-37.67722 -4.046997)'))) / (select extract(epoch from '2026-07-23 14:11:00'::timestamp) - extract(epoch from '2026-07-23 14:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677206 -4.047011)'), GeomFromEWKT('SRID=4674;POINT (-37.67722 -4.046997)'))) / (select extract(epoch from '2026-07-23 14:11:00'::timestamp) - extract(epoch from '2026-07-23 14:10: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'), 47415, 'SRID=4674;POINT (-37.677199 -4.046988)', '2026-07-23 14:11:08', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67722 -4.046997)'), GeomFromEWKT('SRID=4674;POINT (-37.677199 -4.046988)'))) / (select extract(epoch from '2026-07-23 14:11:08'::timestamp) - extract(epoch from '2026-07-23 14:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67722 -4.046997)'), GeomFromEWKT('SRID=4674;POINT (-37.677199 -4.046988)'))) / (select extract(epoch from '2026-07-23 14:11:08'::timestamp) - extract(epoch from '2026-07-23 14:11: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'), 47415, 'SRID=4674;POINT (-37.677164 -4.04696)', '2026-07-23 14:11:13', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677199 -4.046988)'), GeomFromEWKT('SRID=4674;POINT (-37.677164 -4.04696)'))) / (select extract(epoch from '2026-07-23 14:11:13'::timestamp) - extract(epoch from '2026-07-23 14:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677199 -4.046988)'), GeomFromEWKT('SRID=4674;POINT (-37.677164 -4.04696)'))) / (select extract(epoch from '2026-07-23 14:11:13'::timestamp) - extract(epoch from '2026-07-23 14:11: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'), 47415, 'SRID=4674;POINT (-37.677146 -4.046949)', '2026-07-23 14:11:15', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677164 -4.04696)'), GeomFromEWKT('SRID=4674;POINT (-37.677146 -4.046949)'))) / (select extract(epoch from '2026-07-23 14:11:15'::timestamp) - extract(epoch from '2026-07-23 14:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677164 -4.04696)'), GeomFromEWKT('SRID=4674;POINT (-37.677146 -4.046949)'))) / (select extract(epoch from '2026-07-23 14:11:15'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677125 -4.046919)', '2026-07-23 14:11:18', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677146 -4.046949)'), GeomFromEWKT('SRID=4674;POINT (-37.677125 -4.046919)'))) / (select extract(epoch from '2026-07-23 14:11:18'::timestamp) - extract(epoch from '2026-07-23 14:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677146 -4.046949)'), GeomFromEWKT('SRID=4674;POINT (-37.677125 -4.046919)'))) / (select extract(epoch from '2026-07-23 14:11:18'::timestamp) - extract(epoch from '2026-07-23 14:11: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'), 47415, 'SRID=4674;POINT (-37.677119 -4.046906)', '2026-07-23 14:11:19', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677125 -4.046919)'), GeomFromEWKT('SRID=4674;POINT (-37.677119 -4.046906)'))) / (select extract(epoch from '2026-07-23 14:11:19'::timestamp) - extract(epoch from '2026-07-23 14:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677125 -4.046919)'), GeomFromEWKT('SRID=4674;POINT (-37.677119 -4.046906)'))) / (select extract(epoch from '2026-07-23 14:11:19'::timestamp) - extract(epoch from '2026-07-23 14:11: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'), 47415, 'SRID=4674;POINT (-37.677087 -4.046834)', '2026-07-23 14:11:24', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677119 -4.046906)'), GeomFromEWKT('SRID=4674;POINT (-37.677087 -4.046834)'))) / (select extract(epoch from '2026-07-23 14:11:24'::timestamp) - extract(epoch from '2026-07-23 14:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677119 -4.046906)'), GeomFromEWKT('SRID=4674;POINT (-37.677087 -4.046834)'))) / (select extract(epoch from '2026-07-23 14:11:24'::timestamp) - extract(epoch from '2026-07-23 14:11: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'), 47415, 'SRID=4674;POINT (-37.677088 -4.046701)', '2026-07-23 14:11:32', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677087 -4.046834)'), GeomFromEWKT('SRID=4674;POINT (-37.677088 -4.046701)'))) / (select extract(epoch from '2026-07-23 14:11:32'::timestamp) - extract(epoch from '2026-07-23 14:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677087 -4.046834)'), GeomFromEWKT('SRID=4674;POINT (-37.677088 -4.046701)'))) / (select extract(epoch from '2026-07-23 14:11:32'::timestamp) - extract(epoch from '2026-07-23 14:11: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'), 47415, 'SRID=4674;POINT (-37.6771 -4.046589)', '2026-07-23 14:11:38', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677088 -4.046701)'), GeomFromEWKT('SRID=4674;POINT (-37.6771 -4.046589)'))) / (select extract(epoch from '2026-07-23 14:11:38'::timestamp) - extract(epoch from '2026-07-23 14:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677088 -4.046701)'), GeomFromEWKT('SRID=4674;POINT (-37.6771 -4.046589)'))) / (select extract(epoch from '2026-07-23 14:11:38'::timestamp) - extract(epoch from '2026-07-23 14:11: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'), 47415, 'SRID=4674;POINT (-37.677153 -4.046459)', '2026-07-23 14:11:44', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.6771 -4.046589)'), GeomFromEWKT('SRID=4674;POINT (-37.677153 -4.046459)'))) / (select extract(epoch from '2026-07-23 14:11:44'::timestamp) - extract(epoch from '2026-07-23 14:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.6771 -4.046589)'), GeomFromEWKT('SRID=4674;POINT (-37.677153 -4.046459)'))) / (select extract(epoch from '2026-07-23 14:11:44'::timestamp) - extract(epoch from '2026-07-23 14:11: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'), 47415, 'SRID=4674;POINT (-37.677218 -4.046365)', '2026-07-23 14:11:49', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677153 -4.046459)'), GeomFromEWKT('SRID=4674;POINT (-37.677218 -4.046365)'))) / (select extract(epoch from '2026-07-23 14:11:49'::timestamp) - extract(epoch from '2026-07-23 14:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677153 -4.046459)'), GeomFromEWKT('SRID=4674;POINT (-37.677218 -4.046365)'))) / (select extract(epoch from '2026-07-23 14:11:49'::timestamp) - extract(epoch from '2026-07-23 14:11: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'), 47415, 'SRID=4674;POINT (-37.677272 -4.046272)', '2026-07-23 14:11:54', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677218 -4.046365)'), GeomFromEWKT('SRID=4674;POINT (-37.677272 -4.046272)'))) / (select extract(epoch from '2026-07-23 14:11:54'::timestamp) - extract(epoch from '2026-07-23 14:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677218 -4.046365)'), GeomFromEWKT('SRID=4674;POINT (-37.677272 -4.046272)'))) / (select extract(epoch from '2026-07-23 14:11:54'::timestamp) - extract(epoch from '2026-07-23 14:11: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'), 47415, 'SRID=4674;POINT (-37.677313 -4.046155)', '2026-07-23 14:12:00', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677272 -4.046272)'), GeomFromEWKT('SRID=4674;POINT (-37.677313 -4.046155)'))) / (select extract(epoch from '2026-07-23 14:12:00'::timestamp) - extract(epoch from '2026-07-23 14:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677272 -4.046272)'), GeomFromEWKT('SRID=4674;POINT (-37.677313 -4.046155)'))) / (select extract(epoch from '2026-07-23 14:12:00'::timestamp) - extract(epoch from '2026-07-23 14:11: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'), 47415, 'SRID=4674;POINT (-37.67734 -4.045981)', '2026-07-23 14:12:08', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677313 -4.046155)'), GeomFromEWKT('SRID=4674;POINT (-37.67734 -4.045981)'))) / (select extract(epoch from '2026-07-23 14:12:08'::timestamp) - extract(epoch from '2026-07-23 14:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677313 -4.046155)'), GeomFromEWKT('SRID=4674;POINT (-37.67734 -4.045981)'))) / (select extract(epoch from '2026-07-23 14:12:08'::timestamp) - extract(epoch from '2026-07-23 14:12: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'), 47415, 'SRID=4674;POINT (-37.677371 -4.04584)', '2026-07-23 14:12:14', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67734 -4.045981)'), GeomFromEWKT('SRID=4674;POINT (-37.677371 -4.04584)'))) / (select extract(epoch from '2026-07-23 14:12:14'::timestamp) - extract(epoch from '2026-07-23 14:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67734 -4.045981)'), GeomFromEWKT('SRID=4674;POINT (-37.677371 -4.04584)'))) / (select extract(epoch from '2026-07-23 14:12:14'::timestamp) - extract(epoch from '2026-07-23 14:12: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'), 47415, 'SRID=4674;POINT (-37.677422 -4.045705)', '2026-07-23 14:12:20', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677371 -4.04584)'), GeomFromEWKT('SRID=4674;POINT (-37.677422 -4.045705)'))) / (select extract(epoch from '2026-07-23 14:12:20'::timestamp) - extract(epoch from '2026-07-23 14:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677371 -4.04584)'), GeomFromEWKT('SRID=4674;POINT (-37.677422 -4.045705)'))) / (select extract(epoch from '2026-07-23 14:12:20'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677448 -4.04556)', '2026-07-23 14:12:27', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677422 -4.045705)'), GeomFromEWKT('SRID=4674;POINT (-37.677448 -4.04556)'))) / (select extract(epoch from '2026-07-23 14:12:27'::timestamp) - extract(epoch from '2026-07-23 14:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677422 -4.045705)'), GeomFromEWKT('SRID=4674;POINT (-37.677448 -4.04556)'))) / (select extract(epoch from '2026-07-23 14:12:27'::timestamp) - extract(epoch from '2026-07-23 14:12: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'), 47415, 'SRID=4674;POINT (-37.67748 -4.045428)', '2026-07-23 14:12:33', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677448 -4.04556)'), GeomFromEWKT('SRID=4674;POINT (-37.67748 -4.045428)'))) / (select extract(epoch from '2026-07-23 14:12:33'::timestamp) - extract(epoch from '2026-07-23 14:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677448 -4.04556)'), GeomFromEWKT('SRID=4674;POINT (-37.67748 -4.045428)'))) / (select extract(epoch from '2026-07-23 14:12:33'::timestamp) - extract(epoch from '2026-07-23 14:12: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'), 47415, 'SRID=4674;POINT (-37.677511 -4.045313)', '2026-07-23 14:12:39', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67748 -4.045428)'), GeomFromEWKT('SRID=4674;POINT (-37.677511 -4.045313)'))) / (select extract(epoch from '2026-07-23 14:12:39'::timestamp) - extract(epoch from '2026-07-23 14:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67748 -4.045428)'), GeomFromEWKT('SRID=4674;POINT (-37.677511 -4.045313)'))) / (select extract(epoch from '2026-07-23 14:12:39'::timestamp) - extract(epoch from '2026-07-23 14:12: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'), 47415, 'SRID=4674;POINT (-37.67751 -4.045231)', '2026-07-23 14:12:46', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677511 -4.045313)'), GeomFromEWKT('SRID=4674;POINT (-37.67751 -4.045231)'))) / (select extract(epoch from '2026-07-23 14:12:46'::timestamp) - extract(epoch from '2026-07-23 14:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677511 -4.045313)'), GeomFromEWKT('SRID=4674;POINT (-37.67751 -4.045231)'))) / (select extract(epoch from '2026-07-23 14:12:46'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677493 -4.045178)', '2026-07-23 14:12:53', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67751 -4.045231)'), GeomFromEWKT('SRID=4674;POINT (-37.677493 -4.045178)'))) / (select extract(epoch from '2026-07-23 14:12:53'::timestamp) - extract(epoch from '2026-07-23 14:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67751 -4.045231)'), GeomFromEWKT('SRID=4674;POINT (-37.677493 -4.045178)'))) / (select extract(epoch from '2026-07-23 14:12:53'::timestamp) - extract(epoch from '2026-07-23 14:12: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'), 47415, 'SRID=4674;POINT (-37.677494 -4.045141)', '2026-07-23 14:13:01', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677493 -4.045178)'), GeomFromEWKT('SRID=4674;POINT (-37.677494 -4.045141)'))) / (select extract(epoch from '2026-07-23 14:13:01'::timestamp) - extract(epoch from '2026-07-23 14:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677493 -4.045178)'), GeomFromEWKT('SRID=4674;POINT (-37.677494 -4.045141)'))) / (select extract(epoch from '2026-07-23 14:13:01'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677518 -4.045113)', '2026-07-23 14:13:10', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677494 -4.045141)'), GeomFromEWKT('SRID=4674;POINT (-37.677518 -4.045113)'))) / (select extract(epoch from '2026-07-23 14:13:10'::timestamp) - extract(epoch from '2026-07-23 14:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677494 -4.045141)'), GeomFromEWKT('SRID=4674;POINT (-37.677518 -4.045113)'))) / (select extract(epoch from '2026-07-23 14:13:10'::timestamp) - extract(epoch from '2026-07-23 14:13: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'), 47415, 'SRID=4674;POINT (-37.677558 -4.045097)', '2026-07-23 14:13:17', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677518 -4.045113)'), GeomFromEWKT('SRID=4674;POINT (-37.677558 -4.045097)'))) / (select extract(epoch from '2026-07-23 14:13:17'::timestamp) - extract(epoch from '2026-07-23 14:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677518 -4.045113)'), GeomFromEWKT('SRID=4674;POINT (-37.677558 -4.045097)'))) / (select extract(epoch from '2026-07-23 14:13:17'::timestamp) - extract(epoch from '2026-07-23 14:13: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'), 47415, 'SRID=4674;POINT (-37.677605 -4.045092)', '2026-07-23 14:13:27', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677558 -4.045097)'), GeomFromEWKT('SRID=4674;POINT (-37.677605 -4.045092)'))) / (select extract(epoch from '2026-07-23 14:13:27'::timestamp) - extract(epoch from '2026-07-23 14:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677558 -4.045097)'), GeomFromEWKT('SRID=4674;POINT (-37.677605 -4.045092)'))) / (select extract(epoch from '2026-07-23 14:13:27'::timestamp) - extract(epoch from '2026-07-23 14:13: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'), 47415, 'SRID=4674;POINT (-37.677652 -4.045075)', '2026-07-23 14:13:35', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677605 -4.045092)'), GeomFromEWKT('SRID=4674;POINT (-37.677652 -4.045075)'))) / (select extract(epoch from '2026-07-23 14:13:35'::timestamp) - extract(epoch from '2026-07-23 14:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677605 -4.045092)'), GeomFromEWKT('SRID=4674;POINT (-37.677652 -4.045075)'))) / (select extract(epoch from '2026-07-23 14:13:35'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677672 -4.045063)', '2026-07-23 14:13:40', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677652 -4.045075)'), GeomFromEWKT('SRID=4674;POINT (-37.677672 -4.045063)'))) / (select extract(epoch from '2026-07-23 14:13:40'::timestamp) - extract(epoch from '2026-07-23 14:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677652 -4.045075)'), GeomFromEWKT('SRID=4674;POINT (-37.677672 -4.045063)'))) / (select extract(epoch from '2026-07-23 14:13:40'::timestamp) - extract(epoch from '2026-07-23 14:13: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'), 47415, 'SRID=4674;POINT (-37.677688 -4.045042)', '2026-07-23 14:13:48', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677672 -4.045063)'), GeomFromEWKT('SRID=4674;POINT (-37.677688 -4.045042)'))) / (select extract(epoch from '2026-07-23 14:13:48'::timestamp) - extract(epoch from '2026-07-23 14:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677672 -4.045063)'), GeomFromEWKT('SRID=4674;POINT (-37.677688 -4.045042)'))) / (select extract(epoch from '2026-07-23 14:13:48'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677696 -4.045023)', '2026-07-23 14:13:56', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677688 -4.045042)'), GeomFromEWKT('SRID=4674;POINT (-37.677696 -4.045023)'))) / (select extract(epoch from '2026-07-23 14:13:56'::timestamp) - extract(epoch from '2026-07-23 14:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677688 -4.045042)'), GeomFromEWKT('SRID=4674;POINT (-37.677696 -4.045023)'))) / (select extract(epoch from '2026-07-23 14:13:56'::timestamp) - extract(epoch from '2026-07-23 14:13: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'), 47415, 'SRID=4674;POINT (-37.677728 -4.045002)', '2026-07-23 14:14:01', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677696 -4.045023)'), GeomFromEWKT('SRID=4674;POINT (-37.677728 -4.045002)'))) / (select extract(epoch from '2026-07-23 14:14:01'::timestamp) - extract(epoch from '2026-07-23 14:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677696 -4.045023)'), GeomFromEWKT('SRID=4674;POINT (-37.677728 -4.045002)'))) / (select extract(epoch from '2026-07-23 14:14:01'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677732 -4.045001)', '2026-07-23 14:14:02', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677728 -4.045002)'), GeomFromEWKT('SRID=4674;POINT (-37.677732 -4.045001)'))) / (select extract(epoch from '2026-07-23 14:14:02'::timestamp) - extract(epoch from '2026-07-23 14:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677728 -4.045002)'), GeomFromEWKT('SRID=4674;POINT (-37.677732 -4.045001)'))) / (select extract(epoch from '2026-07-23 14:14:02'::timestamp) - extract(epoch from '2026-07-23 14:14: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'), 47415, 'SRID=4674;POINT (-37.677734 -4.044994)', '2026-07-23 14:14:14', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677732 -4.045001)'), GeomFromEWKT('SRID=4674;POINT (-37.677734 -4.044994)'))) / (select extract(epoch from '2026-07-23 14:14:14'::timestamp) - extract(epoch from '2026-07-23 14:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677732 -4.045001)'), GeomFromEWKT('SRID=4674;POINT (-37.677734 -4.044994)'))) / (select extract(epoch from '2026-07-23 14:14:14'::timestamp) - extract(epoch from '2026-07-23 14:14: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'), 47415, 'SRID=4674;POINT (-37.677717 -4.045006)', '2026-07-23 14:14:20', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677734 -4.044994)'), GeomFromEWKT('SRID=4674;POINT (-37.677717 -4.045006)'))) / (select extract(epoch from '2026-07-23 14:14:20'::timestamp) - extract(epoch from '2026-07-23 14:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677734 -4.044994)'), GeomFromEWKT('SRID=4674;POINT (-37.677717 -4.045006)'))) / (select extract(epoch from '2026-07-23 14:14:20'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677673 -4.045028)', '2026-07-23 14:14:33', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677717 -4.045006)'), GeomFromEWKT('SRID=4674;POINT (-37.677673 -4.045028)'))) / (select extract(epoch from '2026-07-23 14:14:33'::timestamp) - extract(epoch from '2026-07-23 14:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677717 -4.045006)'), GeomFromEWKT('SRID=4674;POINT (-37.677673 -4.045028)'))) / (select extract(epoch from '2026-07-23 14:14:33'::timestamp) - extract(epoch from '2026-07-23 14:14: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'), 47415, 'SRID=4674;POINT (-37.677672 -4.04503)', '2026-07-23 14:14:45', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677673 -4.045028)'), GeomFromEWKT('SRID=4674;POINT (-37.677672 -4.04503)'))) / (select extract(epoch from '2026-07-23 14:14:45'::timestamp) - extract(epoch from '2026-07-23 14:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677673 -4.045028)'), GeomFromEWKT('SRID=4674;POINT (-37.677672 -4.04503)'))) / (select extract(epoch from '2026-07-23 14:14:45'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677692 -4.045003)', '2026-07-23 14:15:01', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677672 -4.04503)'), GeomFromEWKT('SRID=4674;POINT (-37.677692 -4.045003)'))) / (select extract(epoch from '2026-07-23 14:15:01'::timestamp) - extract(epoch from '2026-07-23 14:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677672 -4.04503)'), GeomFromEWKT('SRID=4674;POINT (-37.677692 -4.045003)'))) / (select extract(epoch from '2026-07-23 14:15:01'::timestamp) - extract(epoch from '2026-07-23 14:14: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'), 47415, 'SRID=4674;POINT (-37.677704 -4.044969)', '2026-07-23 14:15:16', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677692 -4.045003)'), GeomFromEWKT('SRID=4674;POINT (-37.677704 -4.044969)'))) / (select extract(epoch from '2026-07-23 14:15:16'::timestamp) - extract(epoch from '2026-07-23 14:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677692 -4.045003)'), GeomFromEWKT('SRID=4674;POINT (-37.677704 -4.044969)'))) / (select extract(epoch from '2026-07-23 14:15:16'::timestamp) - extract(epoch from '2026-07-23 14:15: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'), 47415, 'SRID=4674;POINT (-37.677711 -4.044954)', '2026-07-23 14:15:23', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677704 -4.044969)'), GeomFromEWKT('SRID=4674;POINT (-37.677711 -4.044954)'))) / (select extract(epoch from '2026-07-23 14:15:23'::timestamp) - extract(epoch from '2026-07-23 14:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677704 -4.044969)'), GeomFromEWKT('SRID=4674;POINT (-37.677711 -4.044954)'))) / (select extract(epoch from '2026-07-23 14:15:23'::timestamp) - extract(epoch from '2026-07-23 14:15: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'), 47415, 'SRID=4674;POINT (-37.677752 -4.044947)', '2026-07-23 14:15:47', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677711 -4.044954)'), GeomFromEWKT('SRID=4674;POINT (-37.677752 -4.044947)'))) / (select extract(epoch from '2026-07-23 14:15:47'::timestamp) - extract(epoch from '2026-07-23 14:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677711 -4.044954)'), GeomFromEWKT('SRID=4674;POINT (-37.677752 -4.044947)'))) / (select extract(epoch from '2026-07-23 14:15:47'::timestamp) - extract(epoch from '2026-07-23 14:15: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'), 47415, 'SRID=4674;POINT (-37.677762 -4.04495)', '2026-07-23 14:15:58', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677752 -4.044947)'), GeomFromEWKT('SRID=4674;POINT (-37.677762 -4.04495)'))) / (select extract(epoch from '2026-07-23 14:15:58'::timestamp) - extract(epoch from '2026-07-23 14:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677752 -4.044947)'), GeomFromEWKT('SRID=4674;POINT (-37.677762 -4.04495)'))) / (select extract(epoch from '2026-07-23 14:15:58'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677831 -4.044953)', '2026-07-23 14:16:21', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677762 -4.04495)'), GeomFromEWKT('SRID=4674;POINT (-37.677831 -4.044953)'))) / (select extract(epoch from '2026-07-23 14:16:21'::timestamp) - extract(epoch from '2026-07-23 14:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677762 -4.04495)'), GeomFromEWKT('SRID=4674;POINT (-37.677831 -4.044953)'))) / (select extract(epoch from '2026-07-23 14:16:21'::timestamp) - extract(epoch from '2026-07-23 14:15: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'), 47415, 'SRID=4674;POINT (-37.677848 -4.044943)', '2026-07-23 14:16:27', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677831 -4.044953)'), GeomFromEWKT('SRID=4674;POINT (-37.677848 -4.044943)'))) / (select extract(epoch from '2026-07-23 14:16:27'::timestamp) - extract(epoch from '2026-07-23 14:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677831 -4.044953)'), GeomFromEWKT('SRID=4674;POINT (-37.677848 -4.044943)'))) / (select extract(epoch from '2026-07-23 14:16:27'::timestamp) - extract(epoch from '2026-07-23 14:16: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'), 47415, 'SRID=4674;POINT (-37.677851 -4.04491)', '2026-07-23 14:16:34', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677848 -4.044943)'), GeomFromEWKT('SRID=4674;POINT (-37.677851 -4.04491)'))) / (select extract(epoch from '2026-07-23 14:16:34'::timestamp) - extract(epoch from '2026-07-23 14:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677848 -4.044943)'), GeomFromEWKT('SRID=4674;POINT (-37.677851 -4.04491)'))) / (select extract(epoch from '2026-07-23 14:16:34'::timestamp) - extract(epoch from '2026-07-23 14:16: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'), 47415, 'SRID=4674;POINT (-37.677833 -4.044882)', '2026-07-23 14:16:41', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677851 -4.04491)'), GeomFromEWKT('SRID=4674;POINT (-37.677833 -4.044882)'))) / (select extract(epoch from '2026-07-23 14:16:41'::timestamp) - extract(epoch from '2026-07-23 14:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677851 -4.04491)'), GeomFromEWKT('SRID=4674;POINT (-37.677833 -4.044882)'))) / (select extract(epoch from '2026-07-23 14:16:41'::timestamp) - extract(epoch from '2026-07-23 14:16: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'), 47415, 'SRID=4674;POINT (-37.677838 -4.044862)', '2026-07-23 14:16:48', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677833 -4.044882)'), GeomFromEWKT('SRID=4674;POINT (-37.677838 -4.044862)'))) / (select extract(epoch from '2026-07-23 14:16:48'::timestamp) - extract(epoch from '2026-07-23 14:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677833 -4.044882)'), GeomFromEWKT('SRID=4674;POINT (-37.677838 -4.044862)'))) / (select extract(epoch from '2026-07-23 14:16:48'::timestamp) - extract(epoch from '2026-07-23 14:16: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'), 47415, 'SRID=4674;POINT (-37.677834 -4.04484)', '2026-07-23 14:16:54', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677838 -4.044862)'), GeomFromEWKT('SRID=4674;POINT (-37.677834 -4.04484)'))) / (select extract(epoch from '2026-07-23 14:16:54'::timestamp) - extract(epoch from '2026-07-23 14:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677838 -4.044862)'), GeomFromEWKT('SRID=4674;POINT (-37.677834 -4.04484)'))) / (select extract(epoch from '2026-07-23 14:16:54'::timestamp) - extract(epoch from '2026-07-23 14:16: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'), 47415, 'SRID=4674;POINT (-37.677818 -4.044822)', '2026-07-23 14:17:00', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677834 -4.04484)'), GeomFromEWKT('SRID=4674;POINT (-37.677818 -4.044822)'))) / (select extract(epoch from '2026-07-23 14:17:00'::timestamp) - extract(epoch from '2026-07-23 14:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677834 -4.04484)'), GeomFromEWKT('SRID=4674;POINT (-37.677818 -4.044822)'))) / (select extract(epoch from '2026-07-23 14:17:00'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677794 -4.044815)', '2026-07-23 14:17:06', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677818 -4.044822)'), GeomFromEWKT('SRID=4674;POINT (-37.677794 -4.044815)'))) / (select extract(epoch from '2026-07-23 14:17:06'::timestamp) - extract(epoch from '2026-07-23 14:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677818 -4.044822)'), GeomFromEWKT('SRID=4674;POINT (-37.677794 -4.044815)'))) / (select extract(epoch from '2026-07-23 14:17:06'::timestamp) - extract(epoch from '2026-07-23 14:17: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'), 47415, 'SRID=4674;POINT (-37.67776 -4.044809)', '2026-07-23 14:17:14', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677794 -4.044815)'), GeomFromEWKT('SRID=4674;POINT (-37.67776 -4.044809)'))) / (select extract(epoch from '2026-07-23 14:17:14'::timestamp) - extract(epoch from '2026-07-23 14:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677794 -4.044815)'), GeomFromEWKT('SRID=4674;POINT (-37.67776 -4.044809)'))) / (select extract(epoch from '2026-07-23 14:17:14'::timestamp) - extract(epoch from '2026-07-23 14:17: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'), 47415, 'SRID=4674;POINT (-37.677725 -4.044815)', '2026-07-23 14:17:22', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67776 -4.044809)'), GeomFromEWKT('SRID=4674;POINT (-37.677725 -4.044815)'))) / (select extract(epoch from '2026-07-23 14:17:22'::timestamp) - extract(epoch from '2026-07-23 14:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67776 -4.044809)'), GeomFromEWKT('SRID=4674;POINT (-37.677725 -4.044815)'))) / (select extract(epoch from '2026-07-23 14:17:22'::timestamp) - extract(epoch from '2026-07-23 14:17: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'), 47415, 'SRID=4674;POINT (-37.677707 -4.044808)', '2026-07-23 14:17:29', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677725 -4.044815)'), GeomFromEWKT('SRID=4674;POINT (-37.677707 -4.044808)'))) / (select extract(epoch from '2026-07-23 14:17:29'::timestamp) - extract(epoch from '2026-07-23 14:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677725 -4.044815)'), GeomFromEWKT('SRID=4674;POINT (-37.677707 -4.044808)'))) / (select extract(epoch from '2026-07-23 14:17:29'::timestamp) - extract(epoch from '2026-07-23 14:17: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'), 47415, 'SRID=4674;POINT (-37.677679 -4.044811)', '2026-07-23 14:17:37', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677707 -4.044808)'), GeomFromEWKT('SRID=4674;POINT (-37.677679 -4.044811)'))) / (select extract(epoch from '2026-07-23 14:17:37'::timestamp) - extract(epoch from '2026-07-23 14:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677707 -4.044808)'), GeomFromEWKT('SRID=4674;POINT (-37.677679 -4.044811)'))) / (select extract(epoch from '2026-07-23 14:17:37'::timestamp) - extract(epoch from '2026-07-23 14:17: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'), 47415, 'SRID=4674;POINT (-37.677628 -4.044808)', '2026-07-23 14:17:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677679 -4.044811)'), GeomFromEWKT('SRID=4674;POINT (-37.677628 -4.044808)'))) / (select extract(epoch from '2026-07-23 14:17:45'::timestamp) - extract(epoch from '2026-07-23 14:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677679 -4.044811)'), GeomFromEWKT('SRID=4674;POINT (-37.677628 -4.044808)'))) / (select extract(epoch from '2026-07-23 14:17:45'::timestamp) - extract(epoch from '2026-07-23 14:17: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'), 47415, 'SRID=4674;POINT (-37.677583 -4.044794)', '2026-07-23 14:17:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677628 -4.044808)'), GeomFromEWKT('SRID=4674;POINT (-37.677583 -4.044794)'))) / (select extract(epoch from '2026-07-23 14:17:53'::timestamp) - extract(epoch from '2026-07-23 14:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677628 -4.044808)'), GeomFromEWKT('SRID=4674;POINT (-37.677583 -4.044794)'))) / (select extract(epoch from '2026-07-23 14:17:53'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677564 -4.044782)', '2026-07-23 14:17:59', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677583 -4.044794)'), GeomFromEWKT('SRID=4674;POINT (-37.677564 -4.044782)'))) / (select extract(epoch from '2026-07-23 14:17:59'::timestamp) - extract(epoch from '2026-07-23 14:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677583 -4.044794)'), GeomFromEWKT('SRID=4674;POINT (-37.677564 -4.044782)'))) / (select extract(epoch from '2026-07-23 14:17:59'::timestamp) - extract(epoch from '2026-07-23 14:17: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'), 47415, 'SRID=4674;POINT (-37.677539 -4.044762)', '2026-07-23 14:18:12', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677564 -4.044782)'), GeomFromEWKT('SRID=4674;POINT (-37.677539 -4.044762)'))) / (select extract(epoch from '2026-07-23 14:18:12'::timestamp) - extract(epoch from '2026-07-23 14:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677564 -4.044782)'), GeomFromEWKT('SRID=4674;POINT (-37.677539 -4.044762)'))) / (select extract(epoch from '2026-07-23 14:18:12'::timestamp) - extract(epoch from '2026-07-23 14:17: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'), 47415, 'SRID=4674;POINT (-37.677554 -4.044755)', '2026-07-23 14:18:26', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677539 -4.044762)'), GeomFromEWKT('SRID=4674;POINT (-37.677554 -4.044755)'))) / (select extract(epoch from '2026-07-23 14:18:26'::timestamp) - extract(epoch from '2026-07-23 14:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677539 -4.044762)'), GeomFromEWKT('SRID=4674;POINT (-37.677554 -4.044755)'))) / (select extract(epoch from '2026-07-23 14:18:26'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677569 -4.044712)', '2026-07-23 14:18:35', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677554 -4.044755)'), GeomFromEWKT('SRID=4674;POINT (-37.677569 -4.044712)'))) / (select extract(epoch from '2026-07-23 14:18:35'::timestamp) - extract(epoch from '2026-07-23 14:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677554 -4.044755)'), GeomFromEWKT('SRID=4674;POINT (-37.677569 -4.044712)'))) / (select extract(epoch from '2026-07-23 14:18:35'::timestamp) - extract(epoch from '2026-07-23 14:18: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'), 47415, 'SRID=4674;POINT (-37.677564 -4.044696)', '2026-07-23 14:18:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677569 -4.044712)'), GeomFromEWKT('SRID=4674;POINT (-37.677564 -4.044696)'))) / (select extract(epoch from '2026-07-23 14:18:41'::timestamp) - extract(epoch from '2026-07-23 14:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677569 -4.044712)'), GeomFromEWKT('SRID=4674;POINT (-37.677564 -4.044696)'))) / (select extract(epoch from '2026-07-23 14:18:41'::timestamp) - extract(epoch from '2026-07-23 14:18: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'), 47415, 'SRID=4674;POINT (-37.677576 -4.044666)', '2026-07-23 14:18:53', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677564 -4.044696)'), GeomFromEWKT('SRID=4674;POINT (-37.677576 -4.044666)'))) / (select extract(epoch from '2026-07-23 14:18:53'::timestamp) - extract(epoch from '2026-07-23 14:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677564 -4.044696)'), GeomFromEWKT('SRID=4674;POINT (-37.677576 -4.044666)'))) / (select extract(epoch from '2026-07-23 14:18:53'::timestamp) - extract(epoch from '2026-07-23 14:18: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'), 47415, 'SRID=4674;POINT (-37.67754 -4.044693)', '2026-07-23 14:19:19', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677576 -4.044666)'), GeomFromEWKT('SRID=4674;POINT (-37.67754 -4.044693)'))) / (select extract(epoch from '2026-07-23 14:19:19'::timestamp) - extract(epoch from '2026-07-23 14:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677576 -4.044666)'), GeomFromEWKT('SRID=4674;POINT (-37.67754 -4.044693)'))) / (select extract(epoch from '2026-07-23 14:19:19'::timestamp) - extract(epoch from '2026-07-23 14:18: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'), 47415, 'SRID=4674;POINT (-37.677452 -4.044676)', '2026-07-23 14:19:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67754 -4.044693)'), GeomFromEWKT('SRID=4674;POINT (-37.677452 -4.044676)'))) / (select extract(epoch from '2026-07-23 14:19:28'::timestamp) - extract(epoch from '2026-07-23 14:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67754 -4.044693)'), GeomFromEWKT('SRID=4674;POINT (-37.677452 -4.044676)'))) / (select extract(epoch from '2026-07-23 14:19:28'::timestamp) - extract(epoch from '2026-07-23 14:19: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'), 47415, 'SRID=4674;POINT (-37.677425 -4.044658)', '2026-07-23 14:19:31', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677452 -4.044676)'), GeomFromEWKT('SRID=4674;POINT (-37.677425 -4.044658)'))) / (select extract(epoch from '2026-07-23 14:19:31'::timestamp) - extract(epoch from '2026-07-23 14:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677452 -4.044676)'), GeomFromEWKT('SRID=4674;POINT (-37.677425 -4.044658)'))) / (select extract(epoch from '2026-07-23 14:19:31'::timestamp) - extract(epoch from '2026-07-23 14:19: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'), 47415, 'SRID=4674;POINT (-37.677398 -4.044616)', '2026-07-23 14:19:35', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677425 -4.044658)'), GeomFromEWKT('SRID=4674;POINT (-37.677398 -4.044616)'))) / (select extract(epoch from '2026-07-23 14:19:35'::timestamp) - extract(epoch from '2026-07-23 14:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677425 -4.044658)'), GeomFromEWKT('SRID=4674;POINT (-37.677398 -4.044616)'))) / (select extract(epoch from '2026-07-23 14:19:35'::timestamp) - extract(epoch from '2026-07-23 14:19: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'), 47415, 'SRID=4674;POINT (-37.677361 -4.044486)', '2026-07-23 14:19:44', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677398 -4.044616)'), GeomFromEWKT('SRID=4674;POINT (-37.677361 -4.044486)'))) / (select extract(epoch from '2026-07-23 14:19:44'::timestamp) - extract(epoch from '2026-07-23 14:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677398 -4.044616)'), GeomFromEWKT('SRID=4674;POINT (-37.677361 -4.044486)'))) / (select extract(epoch from '2026-07-23 14:19:44'::timestamp) - extract(epoch from '2026-07-23 14:19: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'), 47415, 'SRID=4674;POINT (-37.677341 -4.044352)', '2026-07-23 14:19:51', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677361 -4.044486)'), GeomFromEWKT('SRID=4674;POINT (-37.677341 -4.044352)'))) / (select extract(epoch from '2026-07-23 14:19:51'::timestamp) - extract(epoch from '2026-07-23 14:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677361 -4.044486)'), GeomFromEWKT('SRID=4674;POINT (-37.677341 -4.044352)'))) / (select extract(epoch from '2026-07-23 14:19:51'::timestamp) - extract(epoch from '2026-07-23 14:19: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'), 47415, 'SRID=4674;POINT (-37.677341 -4.044255)', '2026-07-23 14:19:56', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677341 -4.044352)'), GeomFromEWKT('SRID=4674;POINT (-37.677341 -4.044255)'))) / (select extract(epoch from '2026-07-23 14:19:56'::timestamp) - extract(epoch from '2026-07-23 14:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677341 -4.044352)'), GeomFromEWKT('SRID=4674;POINT (-37.677341 -4.044255)'))) / (select extract(epoch from '2026-07-23 14:19:56'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677362 -4.044179)', '2026-07-23 14:20:00', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677341 -4.044255)'), GeomFromEWKT('SRID=4674;POINT (-37.677362 -4.044179)'))) / (select extract(epoch from '2026-07-23 14:20:00'::timestamp) - extract(epoch from '2026-07-23 14:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677341 -4.044255)'), GeomFromEWKT('SRID=4674;POINT (-37.677362 -4.044179)'))) / (select extract(epoch from '2026-07-23 14:20:00'::timestamp) - extract(epoch from '2026-07-23 14:19: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'), 47415, 'SRID=4674;POINT (-37.677362 -4.044159)', '2026-07-23 14:20:01', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677362 -4.044179)'), GeomFromEWKT('SRID=4674;POINT (-37.677362 -4.044159)'))) / (select extract(epoch from '2026-07-23 14:20:01'::timestamp) - extract(epoch from '2026-07-23 14:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677362 -4.044179)'), GeomFromEWKT('SRID=4674;POINT (-37.677362 -4.044159)'))) / (select extract(epoch from '2026-07-23 14:20:01'::timestamp) - extract(epoch from '2026-07-23 14:20: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'), 47415, 'SRID=4674;POINT (-37.67738 -4.04403)', '2026-07-23 14:20:07', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677362 -4.044159)'), GeomFromEWKT('SRID=4674;POINT (-37.67738 -4.04403)'))) / (select extract(epoch from '2026-07-23 14:20:07'::timestamp) - extract(epoch from '2026-07-23 14:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677362 -4.044159)'), GeomFromEWKT('SRID=4674;POINT (-37.67738 -4.04403)'))) / (select extract(epoch from '2026-07-23 14:20:07'::timestamp) - extract(epoch from '2026-07-23 14:20: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'), 47415, 'SRID=4674;POINT (-37.677426 -4.043916)', '2026-07-23 14:20:12', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67738 -4.04403)'), GeomFromEWKT('SRID=4674;POINT (-37.677426 -4.043916)'))) / (select extract(epoch from '2026-07-23 14:20:12'::timestamp) - extract(epoch from '2026-07-23 14:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67738 -4.04403)'), GeomFromEWKT('SRID=4674;POINT (-37.677426 -4.043916)'))) / (select extract(epoch from '2026-07-23 14:20:12'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677462 -4.043808)', '2026-07-23 14:20:17', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677426 -4.043916)'), GeomFromEWKT('SRID=4674;POINT (-37.677462 -4.043808)'))) / (select extract(epoch from '2026-07-23 14:20:17'::timestamp) - extract(epoch from '2026-07-23 14:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677426 -4.043916)'), GeomFromEWKT('SRID=4674;POINT (-37.677462 -4.043808)'))) / (select extract(epoch from '2026-07-23 14:20:17'::timestamp) - extract(epoch from '2026-07-23 14:20: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'), 47415, 'SRID=4674;POINT (-37.677465 -4.043706)', '2026-07-23 14:20:22', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677462 -4.043808)'), GeomFromEWKT('SRID=4674;POINT (-37.677465 -4.043706)'))) / (select extract(epoch from '2026-07-23 14:20:22'::timestamp) - extract(epoch from '2026-07-23 14:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677462 -4.043808)'), GeomFromEWKT('SRID=4674;POINT (-37.677465 -4.043706)'))) / (select extract(epoch from '2026-07-23 14:20:22'::timestamp) - extract(epoch from '2026-07-23 14:20: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'), 47415, 'SRID=4674;POINT (-37.677473 -4.043594)', '2026-07-23 14:20:27', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677465 -4.043706)'), GeomFromEWKT('SRID=4674;POINT (-37.677473 -4.043594)'))) / (select extract(epoch from '2026-07-23 14:20:27'::timestamp) - extract(epoch from '2026-07-23 14:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677465 -4.043706)'), GeomFromEWKT('SRID=4674;POINT (-37.677473 -4.043594)'))) / (select extract(epoch from '2026-07-23 14:20:27'::timestamp) - extract(epoch from '2026-07-23 14:20: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'), 47415, 'SRID=4674;POINT (-37.677454 -4.043469)', '2026-07-23 14:20:33', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677473 -4.043594)'), GeomFromEWKT('SRID=4674;POINT (-37.677454 -4.043469)'))) / (select extract(epoch from '2026-07-23 14:20:33'::timestamp) - extract(epoch from '2026-07-23 14:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677473 -4.043594)'), GeomFromEWKT('SRID=4674;POINT (-37.677454 -4.043469)'))) / (select extract(epoch from '2026-07-23 14:20:33'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677432 -4.043371)', '2026-07-23 14:20:38', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677454 -4.043469)'), GeomFromEWKT('SRID=4674;POINT (-37.677432 -4.043371)'))) / (select extract(epoch from '2026-07-23 14:20:38'::timestamp) - extract(epoch from '2026-07-23 14:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677454 -4.043469)'), GeomFromEWKT('SRID=4674;POINT (-37.677432 -4.043371)'))) / (select extract(epoch from '2026-07-23 14:20:38'::timestamp) - extract(epoch from '2026-07-23 14:20: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'), 47415, 'SRID=4674;POINT (-37.6774 -4.04326)', '2026-07-23 14:20:44', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677432 -4.043371)'), GeomFromEWKT('SRID=4674;POINT (-37.6774 -4.04326)'))) / (select extract(epoch from '2026-07-23 14:20:44'::timestamp) - extract(epoch from '2026-07-23 14:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677432 -4.043371)'), GeomFromEWKT('SRID=4674;POINT (-37.6774 -4.04326)'))) / (select extract(epoch from '2026-07-23 14:20:44'::timestamp) - extract(epoch from '2026-07-23 14:20: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'), 47415, 'SRID=4674;POINT (-37.677342 -4.043117)', '2026-07-23 14:20:54', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.6774 -4.04326)'), GeomFromEWKT('SRID=4674;POINT (-37.677342 -4.043117)'))) / (select extract(epoch from '2026-07-23 14:20:54'::timestamp) - extract(epoch from '2026-07-23 14:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.6774 -4.04326)'), GeomFromEWKT('SRID=4674;POINT (-37.677342 -4.043117)'))) / (select extract(epoch from '2026-07-23 14:20:54'::timestamp) - extract(epoch from '2026-07-23 14:20: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'), 47415, 'SRID=4674;POINT (-37.67734 -4.043105)', '2026-07-23 14:20:55', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677342 -4.043117)'), GeomFromEWKT('SRID=4674;POINT (-37.67734 -4.043105)'))) / (select extract(epoch from '2026-07-23 14:20:55'::timestamp) - extract(epoch from '2026-07-23 14:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677342 -4.043117)'), GeomFromEWKT('SRID=4674;POINT (-37.67734 -4.043105)'))) / (select extract(epoch from '2026-07-23 14:20:55'::timestamp) - extract(epoch from '2026-07-23 14:20: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'), 47415, 'SRID=4674;POINT (-37.677337 -4.043069)', '2026-07-23 14:20:58', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67734 -4.043105)'), GeomFromEWKT('SRID=4674;POINT (-37.677337 -4.043069)'))) / (select extract(epoch from '2026-07-23 14:20:58'::timestamp) - extract(epoch from '2026-07-23 14:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67734 -4.043105)'), GeomFromEWKT('SRID=4674;POINT (-37.677337 -4.043069)'))) / (select extract(epoch from '2026-07-23 14:20:58'::timestamp) - extract(epoch from '2026-07-23 14:20: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'), 47415, 'SRID=4674;POINT (-37.67734 -4.043045)', '2026-07-23 14:21:00', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677337 -4.043069)'), GeomFromEWKT('SRID=4674;POINT (-37.67734 -4.043045)'))) / (select extract(epoch from '2026-07-23 14:21:00'::timestamp) - extract(epoch from '2026-07-23 14:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677337 -4.043069)'), GeomFromEWKT('SRID=4674;POINT (-37.67734 -4.043045)'))) / (select extract(epoch from '2026-07-23 14:21:00'::timestamp) - extract(epoch from '2026-07-23 14:20: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'), 47415, 'SRID=4674;POINT (-37.677342 -4.042985)', '2026-07-23 14:21:09', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67734 -4.043045)'), GeomFromEWKT('SRID=4674;POINT (-37.677342 -4.042985)'))) / (select extract(epoch from '2026-07-23 14:21:09'::timestamp) - extract(epoch from '2026-07-23 14:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67734 -4.043045)'), GeomFromEWKT('SRID=4674;POINT (-37.677342 -4.042985)'))) / (select extract(epoch from '2026-07-23 14:21:09'::timestamp) - extract(epoch from '2026-07-23 14:21: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'), 47415, 'SRID=4674;POINT (-37.677353 -4.042953)', '2026-07-23 14:21:17', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677342 -4.042985)'), GeomFromEWKT('SRID=4674;POINT (-37.677353 -4.042953)'))) / (select extract(epoch from '2026-07-23 14:21:17'::timestamp) - extract(epoch from '2026-07-23 14:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677342 -4.042985)'), GeomFromEWKT('SRID=4674;POINT (-37.677353 -4.042953)'))) / (select extract(epoch from '2026-07-23 14:21:17'::timestamp) - extract(epoch from '2026-07-23 14:21: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'), 47415, 'SRID=4674;POINT (-37.677379 -4.042936)', '2026-07-23 14:21:24', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677353 -4.042953)'), GeomFromEWKT('SRID=4674;POINT (-37.677379 -4.042936)'))) / (select extract(epoch from '2026-07-23 14:21:24'::timestamp) - extract(epoch from '2026-07-23 14:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677353 -4.042953)'), GeomFromEWKT('SRID=4674;POINT (-37.677379 -4.042936)'))) / (select extract(epoch from '2026-07-23 14:21:24'::timestamp) - extract(epoch from '2026-07-23 14:21: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'), 47415, 'SRID=4674;POINT (-37.677421 -4.042921)', '2026-07-23 14:21:32', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677379 -4.042936)'), GeomFromEWKT('SRID=4674;POINT (-37.677421 -4.042921)'))) / (select extract(epoch from '2026-07-23 14:21:32'::timestamp) - extract(epoch from '2026-07-23 14:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677379 -4.042936)'), GeomFromEWKT('SRID=4674;POINT (-37.677421 -4.042921)'))) / (select extract(epoch from '2026-07-23 14:21:32'::timestamp) - extract(epoch from '2026-07-23 14:21: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'), 47415, 'SRID=4674;POINT (-37.677442 -4.042902)', '2026-07-23 14:21:39', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677421 -4.042921)'), GeomFromEWKT('SRID=4674;POINT (-37.677442 -4.042902)'))) / (select extract(epoch from '2026-07-23 14:21:39'::timestamp) - extract(epoch from '2026-07-23 14:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677421 -4.042921)'), GeomFromEWKT('SRID=4674;POINT (-37.677442 -4.042902)'))) / (select extract(epoch from '2026-07-23 14:21:39'::timestamp) - extract(epoch from '2026-07-23 14:21: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'), 47415, 'SRID=4674;POINT (-37.677425 -4.042848)', '2026-07-23 14:22:10', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677442 -4.042902)'), GeomFromEWKT('SRID=4674;POINT (-37.677425 -4.042848)'))) / (select extract(epoch from '2026-07-23 14:22:10'::timestamp) - extract(epoch from '2026-07-23 14:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677442 -4.042902)'), GeomFromEWKT('SRID=4674;POINT (-37.677425 -4.042848)'))) / (select extract(epoch from '2026-07-23 14:22:10'::timestamp) - extract(epoch from '2026-07-23 14:21: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'), 47415, 'SRID=4674;POINT (-37.677423 -4.042852)', '2026-07-23 14:22:34', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677425 -4.042848)'), GeomFromEWKT('SRID=4674;POINT (-37.677423 -4.042852)'))) / (select extract(epoch from '2026-07-23 14:22:34'::timestamp) - extract(epoch from '2026-07-23 14:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677425 -4.042848)'), GeomFromEWKT('SRID=4674;POINT (-37.677423 -4.042852)'))) / (select extract(epoch from '2026-07-23 14:22:34'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677437 -4.042842)', '2026-07-23 14:22:53', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677423 -4.042852)'), GeomFromEWKT('SRID=4674;POINT (-37.677437 -4.042842)'))) / (select extract(epoch from '2026-07-23 14:22:53'::timestamp) - extract(epoch from '2026-07-23 14:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677423 -4.042852)'), GeomFromEWKT('SRID=4674;POINT (-37.677437 -4.042842)'))) / (select extract(epoch from '2026-07-23 14:22:53'::timestamp) - extract(epoch from '2026-07-23 14:22: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'), 47415, 'SRID=4674;POINT (-37.677471 -4.042821)', '2026-07-23 14:23:05', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677437 -4.042842)'), GeomFromEWKT('SRID=4674;POINT (-37.677471 -4.042821)'))) / (select extract(epoch from '2026-07-23 14:23:05'::timestamp) - extract(epoch from '2026-07-23 14:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677437 -4.042842)'), GeomFromEWKT('SRID=4674;POINT (-37.677471 -4.042821)'))) / (select extract(epoch from '2026-07-23 14:23:05'::timestamp) - extract(epoch from '2026-07-23 14:22: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'), 47415, 'SRID=4674;POINT (-37.677475 -4.042813)', '2026-07-23 14:23:16', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677471 -4.042821)'), GeomFromEWKT('SRID=4674;POINT (-37.677475 -4.042813)'))) / (select extract(epoch from '2026-07-23 14:23:16'::timestamp) - extract(epoch from '2026-07-23 14:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677471 -4.042821)'), GeomFromEWKT('SRID=4674;POINT (-37.677475 -4.042813)'))) / (select extract(epoch from '2026-07-23 14:23:16'::timestamp) - extract(epoch from '2026-07-23 14:23: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'), 47415, 'SRID=4674;POINT (-37.67751 -4.042846)', '2026-07-23 14:24:37', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677475 -4.042813)'), GeomFromEWKT('SRID=4674;POINT (-37.67751 -4.042846)'))) / (select extract(epoch from '2026-07-23 14:24:37'::timestamp) - extract(epoch from '2026-07-23 14:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677475 -4.042813)'), GeomFromEWKT('SRID=4674;POINT (-37.67751 -4.042846)'))) / (select extract(epoch from '2026-07-23 14:24:37'::timestamp) - extract(epoch from '2026-07-23 14:23: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'), 47415, 'SRID=4674;POINT (-37.677512 -4.042869)', '2026-07-23 14:24:44', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67751 -4.042846)'), GeomFromEWKT('SRID=4674;POINT (-37.677512 -4.042869)'))) / (select extract(epoch from '2026-07-23 14:24:44'::timestamp) - extract(epoch from '2026-07-23 14:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67751 -4.042846)'), GeomFromEWKT('SRID=4674;POINT (-37.677512 -4.042869)'))) / (select extract(epoch from '2026-07-23 14:24:44'::timestamp) - extract(epoch from '2026-07-23 14:24: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'), 47415, 'SRID=4674;POINT (-37.677523 -4.042882)', '2026-07-23 14:24:53', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677512 -4.042869)'), GeomFromEWKT('SRID=4674;POINT (-37.677523 -4.042882)'))) / (select extract(epoch from '2026-07-23 14:24:53'::timestamp) - extract(epoch from '2026-07-23 14:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677512 -4.042869)'), GeomFromEWKT('SRID=4674;POINT (-37.677523 -4.042882)'))) / (select extract(epoch from '2026-07-23 14:24:53'::timestamp) - extract(epoch from '2026-07-23 14:24: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'), 47415, 'SRID=4674;POINT (-37.677566 -4.04296)', '2026-07-23 14:25:34', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677523 -4.042882)'), GeomFromEWKT('SRID=4674;POINT (-37.677566 -4.04296)'))) / (select extract(epoch from '2026-07-23 14:25:34'::timestamp) - extract(epoch from '2026-07-23 14:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677523 -4.042882)'), GeomFromEWKT('SRID=4674;POINT (-37.677566 -4.04296)'))) / (select extract(epoch from '2026-07-23 14:25:34'::timestamp) - extract(epoch from '2026-07-23 14:24: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'), 47415, 'SRID=4674;POINT (-37.677578 -4.042973)', '2026-07-23 14:25:46', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677566 -4.04296)'), GeomFromEWKT('SRID=4674;POINT (-37.677578 -4.042973)'))) / (select extract(epoch from '2026-07-23 14:25:46'::timestamp) - extract(epoch from '2026-07-23 14:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677566 -4.04296)'), GeomFromEWKT('SRID=4674;POINT (-37.677578 -4.042973)'))) / (select extract(epoch from '2026-07-23 14:25:46'::timestamp) - extract(epoch from '2026-07-23 14:25: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'), 47415, 'SRID=4674;POINT (-37.677621 -4.043)', '2026-07-23 14:26:19', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677578 -4.042973)'), GeomFromEWKT('SRID=4674;POINT (-37.677621 -4.043)'))) / (select extract(epoch from '2026-07-23 14:26:19'::timestamp) - extract(epoch from '2026-07-23 14:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677578 -4.042973)'), GeomFromEWKT('SRID=4674;POINT (-37.677621 -4.043)'))) / (select extract(epoch from '2026-07-23 14:26:19'::timestamp) - extract(epoch from '2026-07-23 14:25: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'), 47415, 'SRID=4674;POINT (-37.677632 -4.042996)', '2026-07-23 14:26:26', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677621 -4.043)'), GeomFromEWKT('SRID=4674;POINT (-37.677632 -4.042996)'))) / (select extract(epoch from '2026-07-23 14:26:26'::timestamp) - extract(epoch from '2026-07-23 14:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677621 -4.043)'), GeomFromEWKT('SRID=4674;POINT (-37.677632 -4.042996)'))) / (select extract(epoch from '2026-07-23 14:26:26'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677628 -4.043006)', '2026-07-23 14:26:45', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677632 -4.042996)'), GeomFromEWKT('SRID=4674;POINT (-37.677628 -4.043006)'))) / (select extract(epoch from '2026-07-23 14:26:45'::timestamp) - extract(epoch from '2026-07-23 14:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677632 -4.042996)'), GeomFromEWKT('SRID=4674;POINT (-37.677628 -4.043006)'))) / (select extract(epoch from '2026-07-23 14:26:45'::timestamp) - extract(epoch from '2026-07-23 14:26: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'), 47415, 'SRID=4674;POINT (-37.677604 -4.043014)', '2026-07-23 14:26:53', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677628 -4.043006)'), GeomFromEWKT('SRID=4674;POINT (-37.677604 -4.043014)'))) / (select extract(epoch from '2026-07-23 14:26:53'::timestamp) - extract(epoch from '2026-07-23 14:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677628 -4.043006)'), GeomFromEWKT('SRID=4674;POINT (-37.677604 -4.043014)'))) / (select extract(epoch from '2026-07-23 14:26:53'::timestamp) - extract(epoch from '2026-07-23 14:26: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'), 47415, 'SRID=4674;POINT (-37.67759 -4.04301)', '2026-07-23 14:27:01', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677604 -4.043014)'), GeomFromEWKT('SRID=4674;POINT (-37.67759 -4.04301)'))) / (select extract(epoch from '2026-07-23 14:27:01'::timestamp) - extract(epoch from '2026-07-23 14:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677604 -4.043014)'), GeomFromEWKT('SRID=4674;POINT (-37.67759 -4.04301)'))) / (select extract(epoch from '2026-07-23 14:27:01'::timestamp) - extract(epoch from '2026-07-23 14:26: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'), 47415, 'SRID=4674;POINT (-37.677595 -4.04303)', '2026-07-23 14:27:36', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67759 -4.04301)'), GeomFromEWKT('SRID=4674;POINT (-37.677595 -4.04303)'))) / (select extract(epoch from '2026-07-23 14:27:36'::timestamp) - extract(epoch from '2026-07-23 14:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67759 -4.04301)'), GeomFromEWKT('SRID=4674;POINT (-37.677595 -4.04303)'))) / (select extract(epoch from '2026-07-23 14:27:36'::timestamp) - extract(epoch from '2026-07-23 14:27: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'), 47415, 'SRID=4674;POINT (-37.677604 -4.043021)', '2026-07-23 14:27:57', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677595 -4.04303)'), GeomFromEWKT('SRID=4674;POINT (-37.677604 -4.043021)'))) / (select extract(epoch from '2026-07-23 14:27:57'::timestamp) - extract(epoch from '2026-07-23 14:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677595 -4.04303)'), GeomFromEWKT('SRID=4674;POINT (-37.677604 -4.043021)'))) / (select extract(epoch from '2026-07-23 14:27:57'::timestamp) - extract(epoch from '2026-07-23 14:27: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'), 47415, 'SRID=4674;POINT (-37.677605 -4.043012)', '2026-07-23 14:28:13', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677604 -4.043021)'), GeomFromEWKT('SRID=4674;POINT (-37.677605 -4.043012)'))) / (select extract(epoch from '2026-07-23 14:28:13'::timestamp) - extract(epoch from '2026-07-23 14:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677604 -4.043021)'), GeomFromEWKT('SRID=4674;POINT (-37.677605 -4.043012)'))) / (select extract(epoch from '2026-07-23 14:28:13'::timestamp) - extract(epoch from '2026-07-23 14:27: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'), 47415, 'SRID=4674;POINT (-37.67757 -4.042993)', '2026-07-23 14:28:21', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677605 -4.043012)'), GeomFromEWKT('SRID=4674;POINT (-37.67757 -4.042993)'))) / (select extract(epoch from '2026-07-23 14:28:21'::timestamp) - extract(epoch from '2026-07-23 14:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677605 -4.043012)'), GeomFromEWKT('SRID=4674;POINT (-37.67757 -4.042993)'))) / (select extract(epoch from '2026-07-23 14:28:21'::timestamp) - extract(epoch from '2026-07-23 14:28: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'), 47415, 'SRID=4674;POINT (-37.67757 -4.042987)', '2026-07-23 14:28:34', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67757 -4.042993)'), GeomFromEWKT('SRID=4674;POINT (-37.67757 -4.042987)'))) / (select extract(epoch from '2026-07-23 14:28:34'::timestamp) - extract(epoch from '2026-07-23 14:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67757 -4.042993)'), GeomFromEWKT('SRID=4674;POINT (-37.67757 -4.042987)'))) / (select extract(epoch from '2026-07-23 14:28:34'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677568 -4.042981)', '2026-07-23 14:28:48', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67757 -4.042987)'), GeomFromEWKT('SRID=4674;POINT (-37.677568 -4.042981)'))) / (select extract(epoch from '2026-07-23 14:28:48'::timestamp) - extract(epoch from '2026-07-23 14:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67757 -4.042987)'), GeomFromEWKT('SRID=4674;POINT (-37.677568 -4.042981)'))) / (select extract(epoch from '2026-07-23 14:28:48'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677607 -4.042992)', '2026-07-23 14:29:05', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677568 -4.042981)'), GeomFromEWKT('SRID=4674;POINT (-37.677607 -4.042992)'))) / (select extract(epoch from '2026-07-23 14:29:05'::timestamp) - extract(epoch from '2026-07-23 14:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677568 -4.042981)'), GeomFromEWKT('SRID=4674;POINT (-37.677607 -4.042992)'))) / (select extract(epoch from '2026-07-23 14:29:05'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677615 -4.042991)', '2026-07-23 14:29:11', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677607 -4.042992)'), GeomFromEWKT('SRID=4674;POINT (-37.677615 -4.042991)'))) / (select extract(epoch from '2026-07-23 14:29:11'::timestamp) - extract(epoch from '2026-07-23 14:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677607 -4.042992)'), GeomFromEWKT('SRID=4674;POINT (-37.677615 -4.042991)'))) / (select extract(epoch from '2026-07-23 14:29:11'::timestamp) - extract(epoch from '2026-07-23 14:29: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'), 47415, 'SRID=4674;POINT (-37.677573 -4.042961)', '2026-07-23 14:29:22', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677615 -4.042991)'), GeomFromEWKT('SRID=4674;POINT (-37.677573 -4.042961)'))) / (select extract(epoch from '2026-07-23 14:29:22'::timestamp) - extract(epoch from '2026-07-23 14:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677615 -4.042991)'), GeomFromEWKT('SRID=4674;POINT (-37.677573 -4.042961)'))) / (select extract(epoch from '2026-07-23 14:29:22'::timestamp) - extract(epoch from '2026-07-23 14:29: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'), 47415, 'SRID=4674;POINT (-37.677533 -4.04289)', '2026-07-23 14:29:29', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677573 -4.042961)'), GeomFromEWKT('SRID=4674;POINT (-37.677533 -4.04289)'))) / (select extract(epoch from '2026-07-23 14:29:29'::timestamp) - extract(epoch from '2026-07-23 14:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677573 -4.042961)'), GeomFromEWKT('SRID=4674;POINT (-37.677533 -4.04289)'))) / (select extract(epoch from '2026-07-23 14:29:29'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677526 -4.042871)', '2026-07-23 14:29:31', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677533 -4.04289)'), GeomFromEWKT('SRID=4674;POINT (-37.677526 -4.042871)'))) / (select extract(epoch from '2026-07-23 14:29:31'::timestamp) - extract(epoch from '2026-07-23 14:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677533 -4.04289)'), GeomFromEWKT('SRID=4674;POINT (-37.677526 -4.042871)'))) / (select extract(epoch from '2026-07-23 14:29:31'::timestamp) - extract(epoch from '2026-07-23 14:29: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'), 47415, 'SRID=4674;POINT (-37.677527 -4.042841)', '2026-07-23 14:29:33', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677526 -4.042871)'), GeomFromEWKT('SRID=4674;POINT (-37.677527 -4.042841)'))) / (select extract(epoch from '2026-07-23 14:29:33'::timestamp) - extract(epoch from '2026-07-23 14:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677526 -4.042871)'), GeomFromEWKT('SRID=4674;POINT (-37.677527 -4.042841)'))) / (select extract(epoch from '2026-07-23 14:29:33'::timestamp) - extract(epoch from '2026-07-23 14:29: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'), 47415, 'SRID=4674;POINT (-37.677522 -4.042826)', '2026-07-23 14:29:34', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677527 -4.042841)'), GeomFromEWKT('SRID=4674;POINT (-37.677522 -4.042826)'))) / (select extract(epoch from '2026-07-23 14:29:34'::timestamp) - extract(epoch from '2026-07-23 14:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677527 -4.042841)'), GeomFromEWKT('SRID=4674;POINT (-37.677522 -4.042826)'))) / (select extract(epoch from '2026-07-23 14:29:34'::timestamp) - extract(epoch from '2026-07-23 14:29: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'), 47415, 'SRID=4674;POINT (-37.67754 -4.042732)', '2026-07-23 14:29:40', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677522 -4.042826)'), GeomFromEWKT('SRID=4674;POINT (-37.67754 -4.042732)'))) / (select extract(epoch from '2026-07-23 14:29:40'::timestamp) - extract(epoch from '2026-07-23 14:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677522 -4.042826)'), GeomFromEWKT('SRID=4674;POINT (-37.67754 -4.042732)'))) / (select extract(epoch from '2026-07-23 14:29:40'::timestamp) - extract(epoch from '2026-07-23 14:29: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'), 47415, 'SRID=4674;POINT (-37.677552 -4.04263)', '2026-07-23 14:29:46', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67754 -4.042732)'), GeomFromEWKT('SRID=4674;POINT (-37.677552 -4.04263)'))) / (select extract(epoch from '2026-07-23 14:29:46'::timestamp) - extract(epoch from '2026-07-23 14:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67754 -4.042732)'), GeomFromEWKT('SRID=4674;POINT (-37.677552 -4.04263)'))) / (select extract(epoch from '2026-07-23 14:29:46'::timestamp) - extract(epoch from '2026-07-23 14:29: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'), 47415, 'SRID=4674;POINT (-37.677552 -4.042613)', '2026-07-23 14:29:47', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677552 -4.04263)'), GeomFromEWKT('SRID=4674;POINT (-37.677552 -4.042613)'))) / (select extract(epoch from '2026-07-23 14:29:47'::timestamp) - extract(epoch from '2026-07-23 14:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677552 -4.04263)'), GeomFromEWKT('SRID=4674;POINT (-37.677552 -4.042613)'))) / (select extract(epoch from '2026-07-23 14:29:47'::timestamp) - extract(epoch from '2026-07-23 14:29: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'), 47415, 'SRID=4674;POINT (-37.677547 -4.042539)', '2026-07-23 14:29:51', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677552 -4.042613)'), GeomFromEWKT('SRID=4674;POINT (-37.677547 -4.042539)'))) / (select extract(epoch from '2026-07-23 14:29:51'::timestamp) - extract(epoch from '2026-07-23 14:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677552 -4.042613)'), GeomFromEWKT('SRID=4674;POINT (-37.677547 -4.042539)'))) / (select extract(epoch from '2026-07-23 14:29:51'::timestamp) - extract(epoch from '2026-07-23 14:29: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'), 47415, 'SRID=4674;POINT (-37.677559 -4.042433)', '2026-07-23 14:29:57', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677547 -4.042539)'), GeomFromEWKT('SRID=4674;POINT (-37.677559 -4.042433)'))) / (select extract(epoch from '2026-07-23 14:29:57'::timestamp) - extract(epoch from '2026-07-23 14:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677547 -4.042539)'), GeomFromEWKT('SRID=4674;POINT (-37.677559 -4.042433)'))) / (select extract(epoch from '2026-07-23 14:29:57'::timestamp) - extract(epoch from '2026-07-23 14:29: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'), 47415, 'SRID=4674;POINT (-37.677585 -4.042289)', '2026-07-23 14:30:04', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677559 -4.042433)'), GeomFromEWKT('SRID=4674;POINT (-37.677585 -4.042289)'))) / (select extract(epoch from '2026-07-23 14:30:04'::timestamp) - extract(epoch from '2026-07-23 14:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677559 -4.042433)'), GeomFromEWKT('SRID=4674;POINT (-37.677585 -4.042289)'))) / (select extract(epoch from '2026-07-23 14:30:04'::timestamp) - extract(epoch from '2026-07-23 14:29: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'), 47415, 'SRID=4674;POINT (-37.677596 -4.042181)', '2026-07-23 14:30:09', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677585 -4.042289)'), GeomFromEWKT('SRID=4674;POINT (-37.677596 -4.042181)'))) / (select extract(epoch from '2026-07-23 14:30:09'::timestamp) - extract(epoch from '2026-07-23 14:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677585 -4.042289)'), GeomFromEWKT('SRID=4674;POINT (-37.677596 -4.042181)'))) / (select extract(epoch from '2026-07-23 14:30:09'::timestamp) - extract(epoch from '2026-07-23 14:30: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'), 47415, 'SRID=4674;POINT (-37.67763 -4.042023)', '2026-07-23 14:30:16', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677596 -4.042181)'), GeomFromEWKT('SRID=4674;POINT (-37.67763 -4.042023)'))) / (select extract(epoch from '2026-07-23 14:30:16'::timestamp) - extract(epoch from '2026-07-23 14:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677596 -4.042181)'), GeomFromEWKT('SRID=4674;POINT (-37.67763 -4.042023)'))) / (select extract(epoch from '2026-07-23 14:30:16'::timestamp) - extract(epoch from '2026-07-23 14:30: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'), 47415, 'SRID=4674;POINT (-37.67769 -4.041891)', '2026-07-23 14:30:22', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67763 -4.042023)'), GeomFromEWKT('SRID=4674;POINT (-37.67769 -4.041891)'))) / (select extract(epoch from '2026-07-23 14:30:22'::timestamp) - extract(epoch from '2026-07-23 14:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67763 -4.042023)'), GeomFromEWKT('SRID=4674;POINT (-37.67769 -4.041891)'))) / (select extract(epoch from '2026-07-23 14:30:22'::timestamp) - extract(epoch from '2026-07-23 14:30: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'), 47415, 'SRID=4674;POINT (-37.677722 -4.041797)', '2026-07-23 14:30:27', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67769 -4.041891)'), GeomFromEWKT('SRID=4674;POINT (-37.677722 -4.041797)'))) / (select extract(epoch from '2026-07-23 14:30:27'::timestamp) - extract(epoch from '2026-07-23 14:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67769 -4.041891)'), GeomFromEWKT('SRID=4674;POINT (-37.677722 -4.041797)'))) / (select extract(epoch from '2026-07-23 14:30:27'::timestamp) - extract(epoch from '2026-07-23 14:30: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'), 47415, 'SRID=4674;POINT (-37.677726 -4.041697)', '2026-07-23 14:30:32', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677722 -4.041797)'), GeomFromEWKT('SRID=4674;POINT (-37.677726 -4.041697)'))) / (select extract(epoch from '2026-07-23 14:30:32'::timestamp) - extract(epoch from '2026-07-23 14:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677722 -4.041797)'), GeomFromEWKT('SRID=4674;POINT (-37.677726 -4.041697)'))) / (select extract(epoch from '2026-07-23 14:30:32'::timestamp) - extract(epoch from '2026-07-23 14:30: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'), 47415, 'SRID=4674;POINT (-37.677749 -4.041525)', '2026-07-23 14:30:40', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677726 -4.041697)'), GeomFromEWKT('SRID=4674;POINT (-37.677749 -4.041525)'))) / (select extract(epoch from '2026-07-23 14:30:40'::timestamp) - extract(epoch from '2026-07-23 14:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677726 -4.041697)'), GeomFromEWKT('SRID=4674;POINT (-37.677749 -4.041525)'))) / (select extract(epoch from '2026-07-23 14:30:40'::timestamp) - extract(epoch from '2026-07-23 14:30: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'), 47415, 'SRID=4674;POINT (-37.677785 -4.041388)', '2026-07-23 14:30:46', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677749 -4.041525)'), GeomFromEWKT('SRID=4674;POINT (-37.677785 -4.041388)'))) / (select extract(epoch from '2026-07-23 14:30:46'::timestamp) - extract(epoch from '2026-07-23 14:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677749 -4.041525)'), GeomFromEWKT('SRID=4674;POINT (-37.677785 -4.041388)'))) / (select extract(epoch from '2026-07-23 14:30:46'::timestamp) - extract(epoch from '2026-07-23 14:30: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'), 47415, 'SRID=4674;POINT (-37.677804 -4.041278)', '2026-07-23 14:30:51', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677785 -4.041388)'), GeomFromEWKT('SRID=4674;POINT (-37.677804 -4.041278)'))) / (select extract(epoch from '2026-07-23 14:30:51'::timestamp) - extract(epoch from '2026-07-23 14:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677785 -4.041388)'), GeomFromEWKT('SRID=4674;POINT (-37.677804 -4.041278)'))) / (select extract(epoch from '2026-07-23 14:30:51'::timestamp) - extract(epoch from '2026-07-23 14:30: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'), 47415, 'SRID=4674;POINT (-37.677803 -4.041168)', '2026-07-23 14:30:57', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677804 -4.041278)'), GeomFromEWKT('SRID=4674;POINT (-37.677803 -4.041168)'))) / (select extract(epoch from '2026-07-23 14:30:57'::timestamp) - extract(epoch from '2026-07-23 14:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677804 -4.041278)'), GeomFromEWKT('SRID=4674;POINT (-37.677803 -4.041168)'))) / (select extract(epoch from '2026-07-23 14:30:57'::timestamp) - extract(epoch from '2026-07-23 14:30: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'), 47415, 'SRID=4674;POINT (-37.6778 -4.041071)', '2026-07-23 14:31:03', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677803 -4.041168)'), GeomFromEWKT('SRID=4674;POINT (-37.6778 -4.041071)'))) / (select extract(epoch from '2026-07-23 14:31:03'::timestamp) - extract(epoch from '2026-07-23 14:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677803 -4.041168)'), GeomFromEWKT('SRID=4674;POINT (-37.6778 -4.041071)'))) / (select extract(epoch from '2026-07-23 14:31:03'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677777 -4.041019)', '2026-07-23 14:31:07', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.6778 -4.041071)'), GeomFromEWKT('SRID=4674;POINT (-37.677777 -4.041019)'))) / (select extract(epoch from '2026-07-23 14:31:07'::timestamp) - extract(epoch from '2026-07-23 14:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.6778 -4.041071)'), GeomFromEWKT('SRID=4674;POINT (-37.677777 -4.041019)'))) / (select extract(epoch from '2026-07-23 14:31:07'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677766 -4.040991)', '2026-07-23 14:31:10', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677777 -4.041019)'), GeomFromEWKT('SRID=4674;POINT (-37.677766 -4.040991)'))) / (select extract(epoch from '2026-07-23 14:31:10'::timestamp) - extract(epoch from '2026-07-23 14:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677777 -4.041019)'), GeomFromEWKT('SRID=4674;POINT (-37.677766 -4.040991)'))) / (select extract(epoch from '2026-07-23 14:31:10'::timestamp) - extract(epoch from '2026-07-23 14:31: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'), 47415, 'SRID=4674;POINT (-37.677757 -4.040969)', '2026-07-23 14:31:12', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677766 -4.040991)'), GeomFromEWKT('SRID=4674;POINT (-37.677757 -4.040969)'))) / (select extract(epoch from '2026-07-23 14:31:12'::timestamp) - extract(epoch from '2026-07-23 14:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677766 -4.040991)'), GeomFromEWKT('SRID=4674;POINT (-37.677757 -4.040969)'))) / (select extract(epoch from '2026-07-23 14:31:12'::timestamp) - extract(epoch from '2026-07-23 14:31: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'), 47415, 'SRID=4674;POINT (-37.677736 -4.040944)', '2026-07-23 14:31:16', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677757 -4.040969)'), GeomFromEWKT('SRID=4674;POINT (-37.677736 -4.040944)'))) / (select extract(epoch from '2026-07-23 14:31:16'::timestamp) - extract(epoch from '2026-07-23 14:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677757 -4.040969)'), GeomFromEWKT('SRID=4674;POINT (-37.677736 -4.040944)'))) / (select extract(epoch from '2026-07-23 14:31:16'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.67773 -4.040895)', '2026-07-23 14:31:25', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677736 -4.040944)'), GeomFromEWKT('SRID=4674;POINT (-37.67773 -4.040895)'))) / (select extract(epoch from '2026-07-23 14:31:25'::timestamp) - extract(epoch from '2026-07-23 14:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677736 -4.040944)'), GeomFromEWKT('SRID=4674;POINT (-37.67773 -4.040895)'))) / (select extract(epoch from '2026-07-23 14:31:25'::timestamp) - extract(epoch from '2026-07-23 14:31: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'), 47415, 'SRID=4674;POINT (-37.677809 -4.040861)', '2026-07-23 14:31:39', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67773 -4.040895)'), GeomFromEWKT('SRID=4674;POINT (-37.677809 -4.040861)'))) / (select extract(epoch from '2026-07-23 14:31:39'::timestamp) - extract(epoch from '2026-07-23 14:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67773 -4.040895)'), GeomFromEWKT('SRID=4674;POINT (-37.677809 -4.040861)'))) / (select extract(epoch from '2026-07-23 14:31:39'::timestamp) - extract(epoch from '2026-07-23 14:31: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'), 47415, 'SRID=4674;POINT (-37.677864 -4.04084)', '2026-07-23 14:31:46', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677809 -4.040861)'), GeomFromEWKT('SRID=4674;POINT (-37.677864 -4.04084)'))) / (select extract(epoch from '2026-07-23 14:31:46'::timestamp) - extract(epoch from '2026-07-23 14:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677809 -4.040861)'), GeomFromEWKT('SRID=4674;POINT (-37.677864 -4.04084)'))) / (select extract(epoch from '2026-07-23 14:31:46'::timestamp) - extract(epoch from '2026-07-23 14:31: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'), 47415, 'SRID=4674;POINT (-37.677908 -4.040839)', '2026-07-23 14:31:51', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677864 -4.04084)'), GeomFromEWKT('SRID=4674;POINT (-37.677908 -4.040839)'))) / (select extract(epoch from '2026-07-23 14:31:51'::timestamp) - extract(epoch from '2026-07-23 14:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677864 -4.04084)'), GeomFromEWKT('SRID=4674;POINT (-37.677908 -4.040839)'))) / (select extract(epoch from '2026-07-23 14:31:51'::timestamp) - extract(epoch from '2026-07-23 14:31: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'), 47415, 'SRID=4674;POINT (-37.677955 -4.040841)', '2026-07-23 14:31:58', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677908 -4.040839)'), GeomFromEWKT('SRID=4674;POINT (-37.677955 -4.040841)'))) / (select extract(epoch from '2026-07-23 14:31:58'::timestamp) - extract(epoch from '2026-07-23 14:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677908 -4.040839)'), GeomFromEWKT('SRID=4674;POINT (-37.677955 -4.040841)'))) / (select extract(epoch from '2026-07-23 14:31:58'::timestamp) - extract(epoch from '2026-07-23 14:31: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'), 47415, 'SRID=4674;POINT (-37.678022 -4.040851)', '2026-07-23 14:32:07', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677955 -4.040841)'), GeomFromEWKT('SRID=4674;POINT (-37.678022 -4.040851)'))) / (select extract(epoch from '2026-07-23 14:32:07'::timestamp) - extract(epoch from '2026-07-23 14:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677955 -4.040841)'), GeomFromEWKT('SRID=4674;POINT (-37.678022 -4.040851)'))) / (select extract(epoch from '2026-07-23 14:32:07'::timestamp) - extract(epoch from '2026-07-23 14:31: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'), 47415, 'SRID=4674;POINT (-37.67806 -4.040856)', '2026-07-23 14:32:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678022 -4.040851)'), GeomFromEWKT('SRID=4674;POINT (-37.67806 -4.040856)'))) / (select extract(epoch from '2026-07-23 14:32:14'::timestamp) - extract(epoch from '2026-07-23 14:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678022 -4.040851)'), GeomFromEWKT('SRID=4674;POINT (-37.67806 -4.040856)'))) / (select extract(epoch from '2026-07-23 14:32:14'::timestamp) - extract(epoch from '2026-07-23 14:32: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'), 47415, 'SRID=4674;POINT (-37.678099 -4.040854)', '2026-07-23 14:32:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67806 -4.040856)'), GeomFromEWKT('SRID=4674;POINT (-37.678099 -4.040854)'))) / (select extract(epoch from '2026-07-23 14:32:20'::timestamp) - extract(epoch from '2026-07-23 14:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67806 -4.040856)'), GeomFromEWKT('SRID=4674;POINT (-37.678099 -4.040854)'))) / (select extract(epoch from '2026-07-23 14:32:20'::timestamp) - extract(epoch from '2026-07-23 14:32: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'), 47415, 'SRID=4674;POINT (-37.678107 -4.040857)', '2026-07-23 14:32:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678099 -4.040854)'), GeomFromEWKT('SRID=4674;POINT (-37.678107 -4.040857)'))) / (select extract(epoch from '2026-07-23 14:32:21'::timestamp) - extract(epoch from '2026-07-23 14:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678099 -4.040854)'), GeomFromEWKT('SRID=4674;POINT (-37.678107 -4.040857)'))) / (select extract(epoch from '2026-07-23 14:32:21'::timestamp) - extract(epoch from '2026-07-23 14:32: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'), 47415, 'SRID=4674;POINT (-37.678142 -4.040857)', '2026-07-23 14:32:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678107 -4.040857)'), GeomFromEWKT('SRID=4674;POINT (-37.678142 -4.040857)'))) / (select extract(epoch from '2026-07-23 14:32:27'::timestamp) - extract(epoch from '2026-07-23 14:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678107 -4.040857)'), GeomFromEWKT('SRID=4674;POINT (-37.678142 -4.040857)'))) / (select extract(epoch from '2026-07-23 14:32:27'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.678182 -4.040866)', '2026-07-23 14:32:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678142 -4.040857)'), GeomFromEWKT('SRID=4674;POINT (-37.678182 -4.040866)'))) / (select extract(epoch from '2026-07-23 14:32:35'::timestamp) - extract(epoch from '2026-07-23 14:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678142 -4.040857)'), GeomFromEWKT('SRID=4674;POINT (-37.678182 -4.040866)'))) / (select extract(epoch from '2026-07-23 14:32:35'::timestamp) - extract(epoch from '2026-07-23 14:32: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'), 47415, 'SRID=4674;POINT (-37.67823 -4.040844)', '2026-07-23 14:32:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678182 -4.040866)'), GeomFromEWKT('SRID=4674;POINT (-37.67823 -4.040844)'))) / (select extract(epoch from '2026-07-23 14:32:46'::timestamp) - extract(epoch from '2026-07-23 14:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678182 -4.040866)'), GeomFromEWKT('SRID=4674;POINT (-37.67823 -4.040844)'))) / (select extract(epoch from '2026-07-23 14:32:46'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.678244 -4.040822)', '2026-07-23 14:32:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67823 -4.040844)'), GeomFromEWKT('SRID=4674;POINT (-37.678244 -4.040822)'))) / (select extract(epoch from '2026-07-23 14:32:53'::timestamp) - extract(epoch from '2026-07-23 14:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67823 -4.040844)'), GeomFromEWKT('SRID=4674;POINT (-37.678244 -4.040822)'))) / (select extract(epoch from '2026-07-23 14:32:53'::timestamp) - extract(epoch from '2026-07-23 14:32: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'), 47415, 'SRID=4674;POINT (-37.678227 -4.040784)', '2026-07-23 14:33:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678244 -4.040822)'), GeomFromEWKT('SRID=4674;POINT (-37.678227 -4.040784)'))) / (select extract(epoch from '2026-07-23 14:33:04'::timestamp) - extract(epoch from '2026-07-23 14:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678244 -4.040822)'), GeomFromEWKT('SRID=4674;POINT (-37.678227 -4.040784)'))) / (select extract(epoch from '2026-07-23 14:33:04'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.678151 -4.040771)', '2026-07-23 14:33:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678227 -4.040784)'), GeomFromEWKT('SRID=4674;POINT (-37.678151 -4.040771)'))) / (select extract(epoch from '2026-07-23 14:33:13'::timestamp) - extract(epoch from '2026-07-23 14:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678227 -4.040784)'), GeomFromEWKT('SRID=4674;POINT (-37.678151 -4.040771)'))) / (select extract(epoch from '2026-07-23 14:33:13'::timestamp) - extract(epoch from '2026-07-23 14:33: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'), 47415, 'SRID=4674;POINT (-37.678133 -4.040764)', '2026-07-23 14:33:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678151 -4.040771)'), GeomFromEWKT('SRID=4674;POINT (-37.678133 -4.040764)'))) / (select extract(epoch from '2026-07-23 14:33:15'::timestamp) - extract(epoch from '2026-07-23 14:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678151 -4.040771)'), GeomFromEWKT('SRID=4674;POINT (-37.678133 -4.040764)'))) / (select extract(epoch from '2026-07-23 14:33:15'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.67811 -4.040763)', '2026-07-23 14:33:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678133 -4.040764)'), GeomFromEWKT('SRID=4674;POINT (-37.67811 -4.040763)'))) / (select extract(epoch from '2026-07-23 14:33:17'::timestamp) - extract(epoch from '2026-07-23 14:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678133 -4.040764)'), GeomFromEWKT('SRID=4674;POINT (-37.67811 -4.040763)'))) / (select extract(epoch from '2026-07-23 14:33:17'::timestamp) - extract(epoch from '2026-07-23 14:33: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'), 47415, 'SRID=4674;POINT (-37.678099 -4.04076)', '2026-07-23 14:33:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67811 -4.040763)'), GeomFromEWKT('SRID=4674;POINT (-37.678099 -4.04076)'))) / (select extract(epoch from '2026-07-23 14:33:18'::timestamp) - extract(epoch from '2026-07-23 14:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67811 -4.040763)'), GeomFromEWKT('SRID=4674;POINT (-37.678099 -4.04076)'))) / (select extract(epoch from '2026-07-23 14:33:18'::timestamp) - extract(epoch from '2026-07-23 14:33: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'), 47415, 'SRID=4674;POINT (-37.678086 -4.040761)', '2026-07-23 14:33:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678099 -4.04076)'), GeomFromEWKT('SRID=4674;POINT (-37.678086 -4.040761)'))) / (select extract(epoch from '2026-07-23 14:33:19'::timestamp) - extract(epoch from '2026-07-23 14:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678099 -4.04076)'), GeomFromEWKT('SRID=4674;POINT (-37.678086 -4.040761)'))) / (select extract(epoch from '2026-07-23 14:33:19'::timestamp) - extract(epoch from '2026-07-23 14:33: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'), 47415, 'SRID=4674;POINT (-37.678051 -4.040762)', '2026-07-23 14:33:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678086 -4.040761)'), GeomFromEWKT('SRID=4674;POINT (-37.678051 -4.040762)'))) / (select extract(epoch from '2026-07-23 14:33:23'::timestamp) - extract(epoch from '2026-07-23 14:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678086 -4.040761)'), GeomFromEWKT('SRID=4674;POINT (-37.678051 -4.040762)'))) / (select extract(epoch from '2026-07-23 14:33:23'::timestamp) - extract(epoch from '2026-07-23 14:33: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'), 47415, 'SRID=4674;POINT (-37.678046 -4.040758)', '2026-07-23 14:33:24', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678051 -4.040762)'), GeomFromEWKT('SRID=4674;POINT (-37.678046 -4.040758)'))) / (select extract(epoch from '2026-07-23 14:33:24'::timestamp) - extract(epoch from '2026-07-23 14:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678051 -4.040762)'), GeomFromEWKT('SRID=4674;POINT (-37.678046 -4.040758)'))) / (select extract(epoch from '2026-07-23 14:33:24'::timestamp) - extract(epoch from '2026-07-23 14:33: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'), 47415, 'SRID=4674;POINT (-37.678025 -4.04076)', '2026-07-23 14:33:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678046 -4.040758)'), GeomFromEWKT('SRID=4674;POINT (-37.678025 -4.04076)'))) / (select extract(epoch from '2026-07-23 14:33:27'::timestamp) - extract(epoch from '2026-07-23 14:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678046 -4.040758)'), GeomFromEWKT('SRID=4674;POINT (-37.678025 -4.04076)'))) / (select extract(epoch from '2026-07-23 14:33:27'::timestamp) - extract(epoch from '2026-07-23 14:33: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'), 47415, 'SRID=4674;POINT (-37.678021 -4.040771)', '2026-07-23 14:33:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678025 -4.04076)'), GeomFromEWKT('SRID=4674;POINT (-37.678021 -4.040771)'))) / (select extract(epoch from '2026-07-23 14:33:33'::timestamp) - extract(epoch from '2026-07-23 14:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678025 -4.04076)'), GeomFromEWKT('SRID=4674;POINT (-37.678021 -4.040771)'))) / (select extract(epoch from '2026-07-23 14:33:33'::timestamp) - extract(epoch from '2026-07-23 14:33: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'), 47415, 'SRID=4674;POINT (-37.678007 -4.04079)', '2026-07-23 14:33:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678021 -4.040771)'), GeomFromEWKT('SRID=4674;POINT (-37.678007 -4.04079)'))) / (select extract(epoch from '2026-07-23 14:33:38'::timestamp) - extract(epoch from '2026-07-23 14:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678021 -4.040771)'), GeomFromEWKT('SRID=4674;POINT (-37.678007 -4.04079)'))) / (select extract(epoch from '2026-07-23 14:33:38'::timestamp) - extract(epoch from '2026-07-23 14:33: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'), 47415, 'SRID=4674;POINT (-37.677989 -4.04081)', '2026-07-23 14:33:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678007 -4.04079)'), GeomFromEWKT('SRID=4674;POINT (-37.677989 -4.04081)'))) / (select extract(epoch from '2026-07-23 14:33:45'::timestamp) - extract(epoch from '2026-07-23 14:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678007 -4.04079)'), GeomFromEWKT('SRID=4674;POINT (-37.677989 -4.04081)'))) / (select extract(epoch from '2026-07-23 14:33:45'::timestamp) - extract(epoch from '2026-07-23 14:33: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'), 47415, 'SRID=4674;POINT (-37.677987 -4.04081)', '2026-07-23 14:33:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677989 -4.04081)'), GeomFromEWKT('SRID=4674;POINT (-37.677987 -4.04081)'))) / (select extract(epoch from '2026-07-23 14:33:53'::timestamp) - extract(epoch from '2026-07-23 14:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677989 -4.04081)'), GeomFromEWKT('SRID=4674;POINT (-37.677987 -4.04081)'))) / (select extract(epoch from '2026-07-23 14:33:53'::timestamp) - extract(epoch from '2026-07-23 14:33: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'), 47415, 'SRID=4674;POINT (-37.677973 -4.040809)', '2026-07-23 14:34:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677987 -4.04081)'), GeomFromEWKT('SRID=4674;POINT (-37.677973 -4.040809)'))) / (select extract(epoch from '2026-07-23 14:34:00'::timestamp) - extract(epoch from '2026-07-23 14:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677987 -4.04081)'), GeomFromEWKT('SRID=4674;POINT (-37.677973 -4.040809)'))) / (select extract(epoch from '2026-07-23 14:34:00'::timestamp) - extract(epoch from '2026-07-23 14:33: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'), 47415, 'SRID=4674;POINT (-37.677957 -4.040808)', '2026-07-23 14:34:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677973 -4.040809)'), GeomFromEWKT('SRID=4674;POINT (-37.677957 -4.040808)'))) / (select extract(epoch from '2026-07-23 14:34:03'::timestamp) - extract(epoch from '2026-07-23 14:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677973 -4.040809)'), GeomFromEWKT('SRID=4674;POINT (-37.677957 -4.040808)'))) / (select extract(epoch from '2026-07-23 14:34:03'::timestamp) - extract(epoch from '2026-07-23 14:34: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'), 47415, 'SRID=4674;POINT (-37.677926 -4.040809)', '2026-07-23 14:34:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677957 -4.040808)'), GeomFromEWKT('SRID=4674;POINT (-37.677926 -4.040809)'))) / (select extract(epoch from '2026-07-23 14:34:07'::timestamp) - extract(epoch from '2026-07-23 14:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677957 -4.040808)'), GeomFromEWKT('SRID=4674;POINT (-37.677926 -4.040809)'))) / (select extract(epoch from '2026-07-23 14:34:07'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677876 -4.040822)', '2026-07-23 14:34:14', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677926 -4.040809)'), GeomFromEWKT('SRID=4674;POINT (-37.677876 -4.040822)'))) / (select extract(epoch from '2026-07-23 14:34:14'::timestamp) - extract(epoch from '2026-07-23 14:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677926 -4.040809)'), GeomFromEWKT('SRID=4674;POINT (-37.677876 -4.040822)'))) / (select extract(epoch from '2026-07-23 14:34:14'::timestamp) - extract(epoch from '2026-07-23 14:34: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'), 47415, 'SRID=4674;POINT (-37.677847 -4.04085)', '2026-07-23 14:34:22', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677876 -4.040822)'), GeomFromEWKT('SRID=4674;POINT (-37.677847 -4.04085)'))) / (select extract(epoch from '2026-07-23 14:34:22'::timestamp) - extract(epoch from '2026-07-23 14:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677876 -4.040822)'), GeomFromEWKT('SRID=4674;POINT (-37.677847 -4.04085)'))) / (select extract(epoch from '2026-07-23 14:34:22'::timestamp) - extract(epoch from '2026-07-23 14:34: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'), 47415, 'SRID=4674;POINT (-37.677856 -4.040933)', '2026-07-23 14:34:31', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677847 -4.04085)'), GeomFromEWKT('SRID=4674;POINT (-37.677856 -4.040933)'))) / (select extract(epoch from '2026-07-23 14:34:31'::timestamp) - extract(epoch from '2026-07-23 14:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677847 -4.04085)'), GeomFromEWKT('SRID=4674;POINT (-37.677856 -4.040933)'))) / (select extract(epoch from '2026-07-23 14:34:31'::timestamp) - extract(epoch from '2026-07-23 14:34: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'), 47415, 'SRID=4674;POINT (-37.677859 -4.040944)', '2026-07-23 14:34:32', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677856 -4.040933)'), GeomFromEWKT('SRID=4674;POINT (-37.677859 -4.040944)'))) / (select extract(epoch from '2026-07-23 14:34:32'::timestamp) - extract(epoch from '2026-07-23 14:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677856 -4.040933)'), GeomFromEWKT('SRID=4674;POINT (-37.677859 -4.040944)'))) / (select extract(epoch from '2026-07-23 14:34:32'::timestamp) - extract(epoch from '2026-07-23 14:34: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'), 47415, 'SRID=4674;POINT (-37.677882 -4.041009)', '2026-07-23 14:34:37', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677859 -4.040944)'), GeomFromEWKT('SRID=4674;POINT (-37.677882 -4.041009)'))) / (select extract(epoch from '2026-07-23 14:34:37'::timestamp) - extract(epoch from '2026-07-23 14:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677859 -4.040944)'), GeomFromEWKT('SRID=4674;POINT (-37.677882 -4.041009)'))) / (select extract(epoch from '2026-07-23 14:34:37'::timestamp) - extract(epoch from '2026-07-23 14:34: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'), 47415, 'SRID=4674;POINT (-37.677953 -4.041089)', '2026-07-23 14:34:44', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677882 -4.041009)'), GeomFromEWKT('SRID=4674;POINT (-37.677953 -4.041089)'))) / (select extract(epoch from '2026-07-23 14:34:44'::timestamp) - extract(epoch from '2026-07-23 14:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677882 -4.041009)'), GeomFromEWKT('SRID=4674;POINT (-37.677953 -4.041089)'))) / (select extract(epoch from '2026-07-23 14:34:44'::timestamp) - extract(epoch from '2026-07-23 14:34: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'), 47415, 'SRID=4674;POINT (-37.678022 -4.041132)', '2026-07-23 14:34:50', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677953 -4.041089)'), GeomFromEWKT('SRID=4674;POINT (-37.678022 -4.041132)'))) / (select extract(epoch from '2026-07-23 14:34:50'::timestamp) - extract(epoch from '2026-07-23 14:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677953 -4.041089)'), GeomFromEWKT('SRID=4674;POINT (-37.678022 -4.041132)'))) / (select extract(epoch from '2026-07-23 14:34:50'::timestamp) - extract(epoch from '2026-07-23 14:34: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'), 47415, 'SRID=4674;POINT (-37.678086 -4.041143)', '2026-07-23 14:34:55', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678022 -4.041132)'), GeomFromEWKT('SRID=4674;POINT (-37.678086 -4.041143)'))) / (select extract(epoch from '2026-07-23 14:34:55'::timestamp) - extract(epoch from '2026-07-23 14:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678022 -4.041132)'), GeomFromEWKT('SRID=4674;POINT (-37.678086 -4.041143)'))) / (select extract(epoch from '2026-07-23 14:34:55'::timestamp) - extract(epoch from '2026-07-23 14:34: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'), 47415, 'SRID=4674;POINT (-37.678162 -4.041113)', '2026-07-23 14:35:02', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678086 -4.041143)'), GeomFromEWKT('SRID=4674;POINT (-37.678162 -4.041113)'))) / (select extract(epoch from '2026-07-23 14:35:02'::timestamp) - extract(epoch from '2026-07-23 14:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678086 -4.041143)'), GeomFromEWKT('SRID=4674;POINT (-37.678162 -4.041113)'))) / (select extract(epoch from '2026-07-23 14:35:02'::timestamp) - extract(epoch from '2026-07-23 14:34: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'), 47415, 'SRID=4674;POINT (-37.678196 -4.041073)', '2026-07-23 14:35:09', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678162 -4.041113)'), GeomFromEWKT('SRID=4674;POINT (-37.678196 -4.041073)'))) / (select extract(epoch from '2026-07-23 14:35:09'::timestamp) - extract(epoch from '2026-07-23 14:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678162 -4.041113)'), GeomFromEWKT('SRID=4674;POINT (-37.678196 -4.041073)'))) / (select extract(epoch from '2026-07-23 14:35:09'::timestamp) - extract(epoch from '2026-07-23 14:35: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'), 47415, 'SRID=4674;POINT (-37.678221 -4.041026)', '2026-07-23 14:35:17', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678196 -4.041073)'), GeomFromEWKT('SRID=4674;POINT (-37.678221 -4.041026)'))) / (select extract(epoch from '2026-07-23 14:35:17'::timestamp) - extract(epoch from '2026-07-23 14:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678196 -4.041073)'), GeomFromEWKT('SRID=4674;POINT (-37.678221 -4.041026)'))) / (select extract(epoch from '2026-07-23 14:35:17'::timestamp) - extract(epoch from '2026-07-23 14:35: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'), 47415, 'SRID=4674;POINT (-37.67822 -4.040971)', '2026-07-23 14:35:27', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678221 -4.041026)'), GeomFromEWKT('SRID=4674;POINT (-37.67822 -4.040971)'))) / (select extract(epoch from '2026-07-23 14:35:27'::timestamp) - extract(epoch from '2026-07-23 14:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678221 -4.041026)'), GeomFromEWKT('SRID=4674;POINT (-37.67822 -4.040971)'))) / (select extract(epoch from '2026-07-23 14:35:27'::timestamp) - extract(epoch from '2026-07-23 14:35: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'), 47415, 'SRID=4674;POINT (-37.678203 -4.040941)', '2026-07-23 14:35:36', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67822 -4.040971)'), GeomFromEWKT('SRID=4674;POINT (-37.678203 -4.040941)'))) / (select extract(epoch from '2026-07-23 14:35:36'::timestamp) - extract(epoch from '2026-07-23 14:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67822 -4.040971)'), GeomFromEWKT('SRID=4674;POINT (-37.678203 -4.040941)'))) / (select extract(epoch from '2026-07-23 14:35:36'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.67817 -4.040929)', '2026-07-23 14:35:42', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678203 -4.040941)'), GeomFromEWKT('SRID=4674;POINT (-37.67817 -4.040929)'))) / (select extract(epoch from '2026-07-23 14:35:42'::timestamp) - extract(epoch from '2026-07-23 14:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678203 -4.040941)'), GeomFromEWKT('SRID=4674;POINT (-37.67817 -4.040929)'))) / (select extract(epoch from '2026-07-23 14:35:42'::timestamp) - extract(epoch from '2026-07-23 14:35: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'), 47415, 'SRID=4674;POINT (-37.678149 -4.040929)', '2026-07-23 14:35:48', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67817 -4.040929)'), GeomFromEWKT('SRID=4674;POINT (-37.678149 -4.040929)'))) / (select extract(epoch from '2026-07-23 14:35:48'::timestamp) - extract(epoch from '2026-07-23 14:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67817 -4.040929)'), GeomFromEWKT('SRID=4674;POINT (-37.678149 -4.040929)'))) / (select extract(epoch from '2026-07-23 14:35:48'::timestamp) - extract(epoch from '2026-07-23 14:35: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'), 47415, 'SRID=4674;POINT (-37.678135 -4.040911)', '2026-07-23 14:36:26', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678149 -4.040929)'), GeomFromEWKT('SRID=4674;POINT (-37.678135 -4.040911)'))) / (select extract(epoch from '2026-07-23 14:36:26'::timestamp) - extract(epoch from '2026-07-23 14:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678149 -4.040929)'), GeomFromEWKT('SRID=4674;POINT (-37.678135 -4.040911)'))) / (select extract(epoch from '2026-07-23 14:36:26'::timestamp) - extract(epoch from '2026-07-23 14:35: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'), 47415, 'SRID=4674;POINT (-37.678125 -4.040886)', '2026-07-23 14:36:33', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678135 -4.040911)'), GeomFromEWKT('SRID=4674;POINT (-37.678125 -4.040886)'))) / (select extract(epoch from '2026-07-23 14:36:33'::timestamp) - extract(epoch from '2026-07-23 14:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678135 -4.040911)'), GeomFromEWKT('SRID=4674;POINT (-37.678125 -4.040886)'))) / (select extract(epoch from '2026-07-23 14:36:33'::timestamp) - extract(epoch from '2026-07-23 14:36: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'), 47415, 'SRID=4674;POINT (-37.678116 -4.040867)', '2026-07-23 14:36:41', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678125 -4.040886)'), GeomFromEWKT('SRID=4674;POINT (-37.678116 -4.040867)'))) / (select extract(epoch from '2026-07-23 14:36:41'::timestamp) - extract(epoch from '2026-07-23 14:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678125 -4.040886)'), GeomFromEWKT('SRID=4674;POINT (-37.678116 -4.040867)'))) / (select extract(epoch from '2026-07-23 14:36:41'::timestamp) - extract(epoch from '2026-07-23 14:36: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'), 47415, 'SRID=4674;POINT (-37.678101 -4.040845)', '2026-07-23 14:36:53', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678116 -4.040867)'), GeomFromEWKT('SRID=4674;POINT (-37.678101 -4.040845)'))) / (select extract(epoch from '2026-07-23 14:36:53'::timestamp) - extract(epoch from '2026-07-23 14:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678116 -4.040867)'), GeomFromEWKT('SRID=4674;POINT (-37.678101 -4.040845)'))) / (select extract(epoch from '2026-07-23 14:36:53'::timestamp) - extract(epoch from '2026-07-23 14:36: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'), 47415, 'SRID=4674;POINT (-37.678094 -4.040844)', '2026-07-23 14:37:06', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678101 -4.040845)'), GeomFromEWKT('SRID=4674;POINT (-37.678094 -4.040844)'))) / (select extract(epoch from '2026-07-23 14:37:06'::timestamp) - extract(epoch from '2026-07-23 14:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678101 -4.040845)'), GeomFromEWKT('SRID=4674;POINT (-37.678094 -4.040844)'))) / (select extract(epoch from '2026-07-23 14:37:06'::timestamp) - extract(epoch from '2026-07-23 14:36: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'), 47415, 'SRID=4674;POINT (-37.678054 -4.040837)', '2026-07-23 14:38:12', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678094 -4.040844)'), GeomFromEWKT('SRID=4674;POINT (-37.678054 -4.040837)'))) / (select extract(epoch from '2026-07-23 14:38:12'::timestamp) - extract(epoch from '2026-07-23 14:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678094 -4.040844)'), GeomFromEWKT('SRID=4674;POINT (-37.678054 -4.040837)'))) / (select extract(epoch from '2026-07-23 14:38:12'::timestamp) - extract(epoch from '2026-07-23 14:37: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'), 47415, 'SRID=4674;POINT (-37.678069 -4.04082)', '2026-07-23 14:38:34', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678054 -4.040837)'), GeomFromEWKT('SRID=4674;POINT (-37.678069 -4.04082)'))) / (select extract(epoch from '2026-07-23 14:38:34'::timestamp) - extract(epoch from '2026-07-23 14:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678054 -4.040837)'), GeomFromEWKT('SRID=4674;POINT (-37.678069 -4.04082)'))) / (select extract(epoch from '2026-07-23 14:38:34'::timestamp) - extract(epoch from '2026-07-23 14:38: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'), 47415, 'SRID=4674;POINT (-37.678068 -4.040805)', '2026-07-23 14:38:45', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678069 -4.04082)'), GeomFromEWKT('SRID=4674;POINT (-37.678068 -4.040805)'))) / (select extract(epoch from '2026-07-23 14:38:45'::timestamp) - extract(epoch from '2026-07-23 14:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678069 -4.04082)'), GeomFromEWKT('SRID=4674;POINT (-37.678068 -4.040805)'))) / (select extract(epoch from '2026-07-23 14:38:45'::timestamp) - extract(epoch from '2026-07-23 14:38: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'), 47415, 'SRID=4674;POINT (-37.678032 -4.04079)', '2026-07-23 14:38:56', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678068 -4.040805)'), GeomFromEWKT('SRID=4674;POINT (-37.678032 -4.04079)'))) / (select extract(epoch from '2026-07-23 14:38:56'::timestamp) - extract(epoch from '2026-07-23 14:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678068 -4.040805)'), GeomFromEWKT('SRID=4674;POINT (-37.678032 -4.04079)'))) / (select extract(epoch from '2026-07-23 14:38:56'::timestamp) - extract(epoch from '2026-07-23 14:38: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'), 47415, 'SRID=4674;POINT (-37.677928 -4.040826)', '2026-07-23 14:39:07', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678032 -4.04079)'), GeomFromEWKT('SRID=4674;POINT (-37.677928 -4.040826)'))) / (select extract(epoch from '2026-07-23 14:39:07'::timestamp) - extract(epoch from '2026-07-23 14:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678032 -4.04079)'), GeomFromEWKT('SRID=4674;POINT (-37.677928 -4.040826)'))) / (select extract(epoch from '2026-07-23 14:39:07'::timestamp) - extract(epoch from '2026-07-23 14:38: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'), 47415, 'SRID=4674;POINT (-37.677874 -4.040865)', '2026-07-23 14:39:13', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677928 -4.040826)'), GeomFromEWKT('SRID=4674;POINT (-37.677874 -4.040865)'))) / (select extract(epoch from '2026-07-23 14:39:13'::timestamp) - extract(epoch from '2026-07-23 14:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677928 -4.040826)'), GeomFromEWKT('SRID=4674;POINT (-37.677874 -4.040865)'))) / (select extract(epoch from '2026-07-23 14:39:13'::timestamp) - extract(epoch from '2026-07-23 14:39: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'), 47415, 'SRID=4674;POINT (-37.677854 -4.040879)', '2026-07-23 14:39:15', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677874 -4.040865)'), GeomFromEWKT('SRID=4674;POINT (-37.677854 -4.040879)'))) / (select extract(epoch from '2026-07-23 14:39:15'::timestamp) - extract(epoch from '2026-07-23 14:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677874 -4.040865)'), GeomFromEWKT('SRID=4674;POINT (-37.677854 -4.040879)'))) / (select extract(epoch from '2026-07-23 14:39:15'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677838 -4.040902)', '2026-07-23 14:39:17', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677854 -4.040879)'), GeomFromEWKT('SRID=4674;POINT (-37.677838 -4.040902)'))) / (select extract(epoch from '2026-07-23 14:39:17'::timestamp) - extract(epoch from '2026-07-23 14:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677854 -4.040879)'), GeomFromEWKT('SRID=4674;POINT (-37.677838 -4.040902)'))) / (select extract(epoch from '2026-07-23 14:39:17'::timestamp) - extract(epoch from '2026-07-23 14:39: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'), 47415, 'SRID=4674;POINT (-37.67783 -4.040907)', '2026-07-23 14:39:18', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677838 -4.040902)'), GeomFromEWKT('SRID=4674;POINT (-37.67783 -4.040907)'))) / (select extract(epoch from '2026-07-23 14:39:18'::timestamp) - extract(epoch from '2026-07-23 14:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677838 -4.040902)'), GeomFromEWKT('SRID=4674;POINT (-37.67783 -4.040907)'))) / (select extract(epoch from '2026-07-23 14:39:18'::timestamp) - extract(epoch from '2026-07-23 14:39: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'), 47415, 'SRID=4674;POINT (-37.677802 -4.040935)', '2026-07-23 14:39:21', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67783 -4.040907)'), GeomFromEWKT('SRID=4674;POINT (-37.677802 -4.040935)'))) / (select extract(epoch from '2026-07-23 14:39:21'::timestamp) - extract(epoch from '2026-07-23 14:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67783 -4.040907)'), GeomFromEWKT('SRID=4674;POINT (-37.677802 -4.040935)'))) / (select extract(epoch from '2026-07-23 14:39:21'::timestamp) - extract(epoch from '2026-07-23 14:39: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'), 47415, 'SRID=4674;POINT (-37.677796 -4.040961)', '2026-07-23 14:39:23', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677802 -4.040935)'), GeomFromEWKT('SRID=4674;POINT (-37.677796 -4.040961)'))) / (select extract(epoch from '2026-07-23 14:39:23'::timestamp) - extract(epoch from '2026-07-23 14:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677802 -4.040935)'), GeomFromEWKT('SRID=4674;POINT (-37.677796 -4.040961)'))) / (select extract(epoch from '2026-07-23 14:39:23'::timestamp) - extract(epoch from '2026-07-23 14:39: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'), 47415, 'SRID=4674;POINT (-37.67779 -4.040979)', '2026-07-23 14:39:25', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677796 -4.040961)'), GeomFromEWKT('SRID=4674;POINT (-37.67779 -4.040979)'))) / (select extract(epoch from '2026-07-23 14:39:25'::timestamp) - extract(epoch from '2026-07-23 14:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677796 -4.040961)'), GeomFromEWKT('SRID=4674;POINT (-37.67779 -4.040979)'))) / (select extract(epoch from '2026-07-23 14:39:25'::timestamp) - extract(epoch from '2026-07-23 14:39: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'), 47415, 'SRID=4674;POINT (-37.67779 -4.041007)', '2026-07-23 14:39:29', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67779 -4.040979)'), GeomFromEWKT('SRID=4674;POINT (-37.67779 -4.041007)'))) / (select extract(epoch from '2026-07-23 14:39:29'::timestamp) - extract(epoch from '2026-07-23 14:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67779 -4.040979)'), GeomFromEWKT('SRID=4674;POINT (-37.67779 -4.041007)'))) / (select extract(epoch from '2026-07-23 14:39:29'::timestamp) - extract(epoch from '2026-07-23 14:39: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'), 47415, 'SRID=4674;POINT (-37.677783 -4.041057)', '2026-07-23 14:39:36', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67779 -4.041007)'), GeomFromEWKT('SRID=4674;POINT (-37.677783 -4.041057)'))) / (select extract(epoch from '2026-07-23 14:39:36'::timestamp) - extract(epoch from '2026-07-23 14:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67779 -4.041007)'), GeomFromEWKT('SRID=4674;POINT (-37.677783 -4.041057)'))) / (select extract(epoch from '2026-07-23 14:39:36'::timestamp) - extract(epoch from '2026-07-23 14:39: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'), 47415, 'SRID=4674;POINT (-37.677739 -4.04111)', '2026-07-23 14:39:44', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677783 -4.041057)'), GeomFromEWKT('SRID=4674;POINT (-37.677739 -4.04111)'))) / (select extract(epoch from '2026-07-23 14:39:44'::timestamp) - extract(epoch from '2026-07-23 14:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677783 -4.041057)'), GeomFromEWKT('SRID=4674;POINT (-37.677739 -4.04111)'))) / (select extract(epoch from '2026-07-23 14:39:44'::timestamp) - extract(epoch from '2026-07-23 14:39: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'), 47415, 'SRID=4674;POINT (-37.677679 -4.041081)', '2026-07-23 14:39:53', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677739 -4.04111)'), GeomFromEWKT('SRID=4674;POINT (-37.677679 -4.041081)'))) / (select extract(epoch from '2026-07-23 14:39:53'::timestamp) - extract(epoch from '2026-07-23 14:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677739 -4.04111)'), GeomFromEWKT('SRID=4674;POINT (-37.677679 -4.041081)'))) / (select extract(epoch from '2026-07-23 14:39:53'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677647 -4.04102)', '2026-07-23 14:39:59', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677679 -4.041081)'), GeomFromEWKT('SRID=4674;POINT (-37.677647 -4.04102)'))) / (select extract(epoch from '2026-07-23 14:39:59'::timestamp) - extract(epoch from '2026-07-23 14:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677679 -4.041081)'), GeomFromEWKT('SRID=4674;POINT (-37.677647 -4.04102)'))) / (select extract(epoch from '2026-07-23 14:39:59'::timestamp) - extract(epoch from '2026-07-23 14:39: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'), 47415, 'SRID=4674;POINT (-37.677631 -4.040956)', '2026-07-23 14:40:04', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677647 -4.04102)'), GeomFromEWKT('SRID=4674;POINT (-37.677631 -4.040956)'))) / (select extract(epoch from '2026-07-23 14:40:04'::timestamp) - extract(epoch from '2026-07-23 14:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677647 -4.04102)'), GeomFromEWKT('SRID=4674;POINT (-37.677631 -4.040956)'))) / (select extract(epoch from '2026-07-23 14:40:04'::timestamp) - extract(epoch from '2026-07-23 14:39: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'), 47415, 'SRID=4674;POINT (-37.677627 -4.040943)', '2026-07-23 14:40:05', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677631 -4.040956)'), GeomFromEWKT('SRID=4674;POINT (-37.677627 -4.040943)'))) / (select extract(epoch from '2026-07-23 14:40:05'::timestamp) - extract(epoch from '2026-07-23 14:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677631 -4.040956)'), GeomFromEWKT('SRID=4674;POINT (-37.677627 -4.040943)'))) / (select extract(epoch from '2026-07-23 14:40:05'::timestamp) - extract(epoch from '2026-07-23 14:40: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'), 47415, 'SRID=4674;POINT (-37.67762 -4.040911)', '2026-07-23 14:40:07', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677627 -4.040943)'), GeomFromEWKT('SRID=4674;POINT (-37.67762 -4.040911)'))) / (select extract(epoch from '2026-07-23 14:40:07'::timestamp) - extract(epoch from '2026-07-23 14:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677627 -4.040943)'), GeomFromEWKT('SRID=4674;POINT (-37.67762 -4.040911)'))) / (select extract(epoch from '2026-07-23 14:40:07'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677629 -4.04084)', '2026-07-23 14:40:11', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67762 -4.040911)'), GeomFromEWKT('SRID=4674;POINT (-37.677629 -4.04084)'))) / (select extract(epoch from '2026-07-23 14:40:11'::timestamp) - extract(epoch from '2026-07-23 14:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67762 -4.040911)'), GeomFromEWKT('SRID=4674;POINT (-37.677629 -4.04084)'))) / (select extract(epoch from '2026-07-23 14:40:11'::timestamp) - extract(epoch from '2026-07-23 14:40: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'), 47415, 'SRID=4674;POINT (-37.677647 -4.040705)', '2026-07-23 14:40:18', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677629 -4.04084)'), GeomFromEWKT('SRID=4674;POINT (-37.677647 -4.040705)'))) / (select extract(epoch from '2026-07-23 14:40:18'::timestamp) - extract(epoch from '2026-07-23 14:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677629 -4.04084)'), GeomFromEWKT('SRID=4674;POINT (-37.677647 -4.040705)'))) / (select extract(epoch from '2026-07-23 14:40:18'::timestamp) - extract(epoch from '2026-07-23 14:40: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'), 47415, 'SRID=4674;POINT (-37.677685 -4.040555)', '2026-07-23 14:40:25', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677647 -4.040705)'), GeomFromEWKT('SRID=4674;POINT (-37.677685 -4.040555)'))) / (select extract(epoch from '2026-07-23 14:40:25'::timestamp) - extract(epoch from '2026-07-23 14:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677647 -4.040705)'), GeomFromEWKT('SRID=4674;POINT (-37.677685 -4.040555)'))) / (select extract(epoch from '2026-07-23 14:40:25'::timestamp) - extract(epoch from '2026-07-23 14:40: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'), 47415, 'SRID=4674;POINT (-37.677714 -4.040446)', '2026-07-23 14:40:30', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677685 -4.040555)'), GeomFromEWKT('SRID=4674;POINT (-37.677714 -4.040446)'))) / (select extract(epoch from '2026-07-23 14:40:30'::timestamp) - extract(epoch from '2026-07-23 14:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677685 -4.040555)'), GeomFromEWKT('SRID=4674;POINT (-37.677714 -4.040446)'))) / (select extract(epoch from '2026-07-23 14:40:30'::timestamp) - extract(epoch from '2026-07-23 14:40: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'), 47415, 'SRID=4674;POINT (-37.677722 -4.040322)', '2026-07-23 14:40:36', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677714 -4.040446)'), GeomFromEWKT('SRID=4674;POINT (-37.677722 -4.040322)'))) / (select extract(epoch from '2026-07-23 14:40:36'::timestamp) - extract(epoch from '2026-07-23 14:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677714 -4.040446)'), GeomFromEWKT('SRID=4674;POINT (-37.677722 -4.040322)'))) / (select extract(epoch from '2026-07-23 14:40:36'::timestamp) - extract(epoch from '2026-07-23 14:40: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'), 47415, 'SRID=4674;POINT (-37.677737 -4.04017)', '2026-07-23 14:40:43', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677722 -4.040322)'), GeomFromEWKT('SRID=4674;POINT (-37.677737 -4.04017)'))) / (select extract(epoch from '2026-07-23 14:40:43'::timestamp) - extract(epoch from '2026-07-23 14:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677722 -4.040322)'), GeomFromEWKT('SRID=4674;POINT (-37.677737 -4.04017)'))) / (select extract(epoch from '2026-07-23 14:40:43'::timestamp) - extract(epoch from '2026-07-23 14:40: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'), 47415, 'SRID=4674;POINT (-37.677759 -4.040034)', '2026-07-23 14:40:49', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677737 -4.04017)'), GeomFromEWKT('SRID=4674;POINT (-37.677759 -4.040034)'))) / (select extract(epoch from '2026-07-23 14:40:49'::timestamp) - extract(epoch from '2026-07-23 14:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677737 -4.04017)'), GeomFromEWKT('SRID=4674;POINT (-37.677759 -4.040034)'))) / (select extract(epoch from '2026-07-23 14:40:49'::timestamp) - extract(epoch from '2026-07-23 14:40: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'), 47415, 'SRID=4674;POINT (-37.677784 -4.039922)', '2026-07-23 14:40:54', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677759 -4.040034)'), GeomFromEWKT('SRID=4674;POINT (-37.677784 -4.039922)'))) / (select extract(epoch from '2026-07-23 14:40:54'::timestamp) - extract(epoch from '2026-07-23 14:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677759 -4.040034)'), GeomFromEWKT('SRID=4674;POINT (-37.677784 -4.039922)'))) / (select extract(epoch from '2026-07-23 14:40:54'::timestamp) - extract(epoch from '2026-07-23 14:40: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'), 47415, 'SRID=4674;POINT (-37.677791 -4.039791)', '2026-07-23 14:41:00', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677784 -4.039922)'), GeomFromEWKT('SRID=4674;POINT (-37.677791 -4.039791)'))) / (select extract(epoch from '2026-07-23 14:41:00'::timestamp) - extract(epoch from '2026-07-23 14:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677784 -4.039922)'), GeomFromEWKT('SRID=4674;POINT (-37.677791 -4.039791)'))) / (select extract(epoch from '2026-07-23 14:41:00'::timestamp) - extract(epoch from '2026-07-23 14:40: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'), 47415, 'SRID=4674;POINT (-37.677757 -4.039604)', '2026-07-23 14:41:09', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677791 -4.039791)'), GeomFromEWKT('SRID=4674;POINT (-37.677757 -4.039604)'))) / (select extract(epoch from '2026-07-23 14:41:09'::timestamp) - extract(epoch from '2026-07-23 14:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677791 -4.039791)'), GeomFromEWKT('SRID=4674;POINT (-37.677757 -4.039604)'))) / (select extract(epoch from '2026-07-23 14:41:09'::timestamp) - extract(epoch from '2026-07-23 14:41: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'), 47415, 'SRID=4674;POINT (-37.67775 -4.039564)', '2026-07-23 14:41:11', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677757 -4.039604)'), GeomFromEWKT('SRID=4674;POINT (-37.67775 -4.039564)'))) / (select extract(epoch from '2026-07-23 14:41:11'::timestamp) - extract(epoch from '2026-07-23 14:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677757 -4.039604)'), GeomFromEWKT('SRID=4674;POINT (-37.67775 -4.039564)'))) / (select extract(epoch from '2026-07-23 14:41:11'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.67776 -4.039479)', '2026-07-23 14:41:15', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67775 -4.039564)'), GeomFromEWKT('SRID=4674;POINT (-37.67776 -4.039479)'))) / (select extract(epoch from '2026-07-23 14:41:15'::timestamp) - extract(epoch from '2026-07-23 14:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67775 -4.039564)'), GeomFromEWKT('SRID=4674;POINT (-37.67776 -4.039479)'))) / (select extract(epoch from '2026-07-23 14:41:15'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677791 -4.039361)', '2026-07-23 14:41:21', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67776 -4.039479)'), GeomFromEWKT('SRID=4674;POINT (-37.677791 -4.039361)'))) / (select extract(epoch from '2026-07-23 14:41:21'::timestamp) - extract(epoch from '2026-07-23 14:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67776 -4.039479)'), GeomFromEWKT('SRID=4674;POINT (-37.677791 -4.039361)'))) / (select extract(epoch from '2026-07-23 14:41:21'::timestamp) - extract(epoch from '2026-07-23 14:41: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'), 47415, 'SRID=4674;POINT (-37.677804 -4.039312)', '2026-07-23 14:41:24', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677791 -4.039361)'), GeomFromEWKT('SRID=4674;POINT (-37.677804 -4.039312)'))) / (select extract(epoch from '2026-07-23 14:41:24'::timestamp) - extract(epoch from '2026-07-23 14:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677791 -4.039361)'), GeomFromEWKT('SRID=4674;POINT (-37.677804 -4.039312)'))) / (select extract(epoch from '2026-07-23 14:41:24'::timestamp) - extract(epoch from '2026-07-23 14:41: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'), 47415, 'SRID=4674;POINT (-37.677828 -4.039264)', '2026-07-23 14:41:27', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677804 -4.039312)'), GeomFromEWKT('SRID=4674;POINT (-37.677828 -4.039264)'))) / (select extract(epoch from '2026-07-23 14:41:27'::timestamp) - extract(epoch from '2026-07-23 14:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677804 -4.039312)'), GeomFromEWKT('SRID=4674;POINT (-37.677828 -4.039264)'))) / (select extract(epoch from '2026-07-23 14:41:27'::timestamp) - extract(epoch from '2026-07-23 14:41: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'), 47415, 'SRID=4674;POINT (-37.677842 -4.039189)', '2026-07-23 14:41:32', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677828 -4.039264)'), GeomFromEWKT('SRID=4674;POINT (-37.677842 -4.039189)'))) / (select extract(epoch from '2026-07-23 14:41:32'::timestamp) - extract(epoch from '2026-07-23 14:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677828 -4.039264)'), GeomFromEWKT('SRID=4674;POINT (-37.677842 -4.039189)'))) / (select extract(epoch from '2026-07-23 14:41:32'::timestamp) - extract(epoch from '2026-07-23 14:41: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'), 47415, 'SRID=4674;POINT (-37.67784 -4.039174)', '2026-07-23 14:41:33', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677842 -4.039189)'), GeomFromEWKT('SRID=4674;POINT (-37.67784 -4.039174)'))) / (select extract(epoch from '2026-07-23 14:41:33'::timestamp) - extract(epoch from '2026-07-23 14:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677842 -4.039189)'), GeomFromEWKT('SRID=4674;POINT (-37.67784 -4.039174)'))) / (select extract(epoch from '2026-07-23 14:41:33'::timestamp) - extract(epoch from '2026-07-23 14:41: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'), 47415, 'SRID=4674;POINT (-37.677825 -4.03914)', '2026-07-23 14:41:36', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67784 -4.039174)'), GeomFromEWKT('SRID=4674;POINT (-37.677825 -4.03914)'))) / (select extract(epoch from '2026-07-23 14:41:36'::timestamp) - extract(epoch from '2026-07-23 14:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67784 -4.039174)'), GeomFromEWKT('SRID=4674;POINT (-37.677825 -4.03914)'))) / (select extract(epoch from '2026-07-23 14:41:36'::timestamp) - extract(epoch from '2026-07-23 14:41: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'), 47415, 'SRID=4674;POINT (-37.677803 -4.03908)', '2026-07-23 14:41:43', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677825 -4.03914)'), GeomFromEWKT('SRID=4674;POINT (-37.677803 -4.03908)'))) / (select extract(epoch from '2026-07-23 14:41:43'::timestamp) - extract(epoch from '2026-07-23 14:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677825 -4.03914)'), GeomFromEWKT('SRID=4674;POINT (-37.677803 -4.03908)'))) / (select extract(epoch from '2026-07-23 14:41:43'::timestamp) - extract(epoch from '2026-07-23 14:41: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'), 47415, 'SRID=4674;POINT (-37.677802 -4.03907)', '2026-07-23 14:41:50', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677803 -4.03908)'), GeomFromEWKT('SRID=4674;POINT (-37.677802 -4.03907)'))) / (select extract(epoch from '2026-07-23 14:41:50'::timestamp) - extract(epoch from '2026-07-23 14:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677803 -4.03908)'), GeomFromEWKT('SRID=4674;POINT (-37.677802 -4.03907)'))) / (select extract(epoch from '2026-07-23 14:41:50'::timestamp) - extract(epoch from '2026-07-23 14:41: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'), 47415, 'SRID=4674;POINT (-37.677837 -4.039042)', '2026-07-23 14:42:02', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677802 -4.03907)'), GeomFromEWKT('SRID=4674;POINT (-37.677837 -4.039042)'))) / (select extract(epoch from '2026-07-23 14:42:02'::timestamp) - extract(epoch from '2026-07-23 14:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677802 -4.03907)'), GeomFromEWKT('SRID=4674;POINT (-37.677837 -4.039042)'))) / (select extract(epoch from '2026-07-23 14:42:02'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677868 -4.039018)', '2026-07-23 14:42:10', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677837 -4.039042)'), GeomFromEWKT('SRID=4674;POINT (-37.677868 -4.039018)'))) / (select extract(epoch from '2026-07-23 14:42:10'::timestamp) - extract(epoch from '2026-07-23 14:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677837 -4.039042)'), GeomFromEWKT('SRID=4674;POINT (-37.677868 -4.039018)'))) / (select extract(epoch from '2026-07-23 14:42:10'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.677887 -4.039004)', '2026-07-23 14:42:17', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677868 -4.039018)'), GeomFromEWKT('SRID=4674;POINT (-37.677887 -4.039004)'))) / (select extract(epoch from '2026-07-23 14:42:17'::timestamp) - extract(epoch from '2026-07-23 14:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677868 -4.039018)'), GeomFromEWKT('SRID=4674;POINT (-37.677887 -4.039004)'))) / (select extract(epoch from '2026-07-23 14:42:17'::timestamp) - extract(epoch from '2026-07-23 14:42: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'), 47415, 'SRID=4674;POINT (-37.677898 -4.038996)', '2026-07-23 14:42:28', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677887 -4.039004)'), GeomFromEWKT('SRID=4674;POINT (-37.677898 -4.038996)'))) / (select extract(epoch from '2026-07-23 14:42:28'::timestamp) - extract(epoch from '2026-07-23 14:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677887 -4.039004)'), GeomFromEWKT('SRID=4674;POINT (-37.677898 -4.038996)'))) / (select extract(epoch from '2026-07-23 14:42:28'::timestamp) - extract(epoch from '2026-07-23 14:42: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'), 47415, 'SRID=4674;POINT (-37.677915 -4.038953)', '2026-07-23 14:43:00', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677898 -4.038996)'), GeomFromEWKT('SRID=4674;POINT (-37.677915 -4.038953)'))) / (select extract(epoch from '2026-07-23 14:43:00'::timestamp) - extract(epoch from '2026-07-23 14:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677898 -4.038996)'), GeomFromEWKT('SRID=4674;POINT (-37.677915 -4.038953)'))) / (select extract(epoch from '2026-07-23 14:43:00'::timestamp) - extract(epoch from '2026-07-23 14:42: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'), 47415, 'SRID=4674;POINT (-37.677949 -4.038911)', '2026-07-23 14:43:13', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677915 -4.038953)'), GeomFromEWKT('SRID=4674;POINT (-37.677949 -4.038911)'))) / (select extract(epoch from '2026-07-23 14:43:13'::timestamp) - extract(epoch from '2026-07-23 14:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677915 -4.038953)'), GeomFromEWKT('SRID=4674;POINT (-37.677949 -4.038911)'))) / (select extract(epoch from '2026-07-23 14:43:13'::timestamp) - extract(epoch from '2026-07-23 14:43: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'), 47415, 'SRID=4674;POINT (-37.677931 -4.038884)', '2026-07-23 14:43:22', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677949 -4.038911)'), GeomFromEWKT('SRID=4674;POINT (-37.677931 -4.038884)'))) / (select extract(epoch from '2026-07-23 14:43:22'::timestamp) - extract(epoch from '2026-07-23 14:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677949 -4.038911)'), GeomFromEWKT('SRID=4674;POINT (-37.677931 -4.038884)'))) / (select extract(epoch from '2026-07-23 14:43:22'::timestamp) - extract(epoch from '2026-07-23 14:43: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'), 47415, 'SRID=4674;POINT (-37.677907 -4.038876)', '2026-07-23 14:43:29', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677931 -4.038884)'), GeomFromEWKT('SRID=4674;POINT (-37.677907 -4.038876)'))) / (select extract(epoch from '2026-07-23 14:43:29'::timestamp) - extract(epoch from '2026-07-23 14:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677931 -4.038884)'), GeomFromEWKT('SRID=4674;POINT (-37.677907 -4.038876)'))) / (select extract(epoch from '2026-07-23 14:43:29'::timestamp) - extract(epoch from '2026-07-23 14:43: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'), 47415, 'SRID=4674;POINT (-37.677878 -4.038879)', '2026-07-23 14:43:35', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677907 -4.038876)'), GeomFromEWKT('SRID=4674;POINT (-37.677878 -4.038879)'))) / (select extract(epoch from '2026-07-23 14:43:35'::timestamp) - extract(epoch from '2026-07-23 14:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677907 -4.038876)'), GeomFromEWKT('SRID=4674;POINT (-37.677878 -4.038879)'))) / (select extract(epoch from '2026-07-23 14:43:35'::timestamp) - extract(epoch from '2026-07-23 14:43: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'), 47415, 'SRID=4674;POINT (-37.67785 -4.038893)', '2026-07-23 14:43:43', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677878 -4.038879)'), GeomFromEWKT('SRID=4674;POINT (-37.67785 -4.038893)'))) / (select extract(epoch from '2026-07-23 14:43:43'::timestamp) - extract(epoch from '2026-07-23 14:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677878 -4.038879)'), GeomFromEWKT('SRID=4674;POINT (-37.67785 -4.038893)'))) / (select extract(epoch from '2026-07-23 14:43:43'::timestamp) - extract(epoch from '2026-07-23 14:43: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'), 47415, 'SRID=4674;POINT (-37.677818 -4.038911)', '2026-07-23 14:43:51', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67785 -4.038893)'), GeomFromEWKT('SRID=4674;POINT (-37.677818 -4.038911)'))) / (select extract(epoch from '2026-07-23 14:43:51'::timestamp) - extract(epoch from '2026-07-23 14:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67785 -4.038893)'), GeomFromEWKT('SRID=4674;POINT (-37.677818 -4.038911)'))) / (select extract(epoch from '2026-07-23 14:43:51'::timestamp) - extract(epoch from '2026-07-23 14:43: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'), 47415, 'SRID=4674;POINT (-37.677794 -4.038905)', '2026-07-23 14:44:05', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677818 -4.038911)'), GeomFromEWKT('SRID=4674;POINT (-37.677794 -4.038905)'))) / (select extract(epoch from '2026-07-23 14:44:05'::timestamp) - extract(epoch from '2026-07-23 14:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677818 -4.038911)'), GeomFromEWKT('SRID=4674;POINT (-37.677794 -4.038905)'))) / (select extract(epoch from '2026-07-23 14:44:05'::timestamp) - extract(epoch from '2026-07-23 14:43: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'), 47415, 'SRID=4674;POINT (-37.67775 -4.038921)', '2026-07-23 14:44:19', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677794 -4.038905)'), GeomFromEWKT('SRID=4674;POINT (-37.67775 -4.038921)'))) / (select extract(epoch from '2026-07-23 14:44:19'::timestamp) - extract(epoch from '2026-07-23 14:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677794 -4.038905)'), GeomFromEWKT('SRID=4674;POINT (-37.67775 -4.038921)'))) / (select extract(epoch from '2026-07-23 14:44:19'::timestamp) - extract(epoch from '2026-07-23 14:44: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'), 47415, 'SRID=4674;POINT (-37.677742 -4.038928)', '2026-07-23 14:44:27', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67775 -4.038921)'), GeomFromEWKT('SRID=4674;POINT (-37.677742 -4.038928)'))) / (select extract(epoch from '2026-07-23 14:44:27'::timestamp) - extract(epoch from '2026-07-23 14:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67775 -4.038921)'), GeomFromEWKT('SRID=4674;POINT (-37.677742 -4.038928)'))) / (select extract(epoch from '2026-07-23 14:44:27'::timestamp) - extract(epoch from '2026-07-23 14:44: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'), 47415, 'SRID=4674;POINT (-37.677752 -4.038912)', '2026-07-23 14:44:40', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677742 -4.038928)'), GeomFromEWKT('SRID=4674;POINT (-37.677752 -4.038912)'))) / (select extract(epoch from '2026-07-23 14:44:40'::timestamp) - extract(epoch from '2026-07-23 14:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677742 -4.038928)'), GeomFromEWKT('SRID=4674;POINT (-37.677752 -4.038912)'))) / (select extract(epoch from '2026-07-23 14:44:40'::timestamp) - extract(epoch from '2026-07-23 14:44: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'), 47415, 'SRID=4674;POINT (-37.677757 -4.038896)', '2026-07-23 14:44:55', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677752 -4.038912)'), GeomFromEWKT('SRID=4674;POINT (-37.677757 -4.038896)'))) / (select extract(epoch from '2026-07-23 14:44:55'::timestamp) - extract(epoch from '2026-07-23 14:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677752 -4.038912)'), GeomFromEWKT('SRID=4674;POINT (-37.677757 -4.038896)'))) / (select extract(epoch from '2026-07-23 14:44:55'::timestamp) - extract(epoch from '2026-07-23 14:44: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'), 47415, 'SRID=4674;POINT (-37.677759 -4.038901)', '2026-07-23 14:45:13', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677757 -4.038896)'), GeomFromEWKT('SRID=4674;POINT (-37.677759 -4.038901)'))) / (select extract(epoch from '2026-07-23 14:45:13'::timestamp) - extract(epoch from '2026-07-23 14:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677757 -4.038896)'), GeomFromEWKT('SRID=4674;POINT (-37.677759 -4.038901)'))) / (select extract(epoch from '2026-07-23 14:45:13'::timestamp) - extract(epoch from '2026-07-23 14:44: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'), 47415, 'SRID=4674;POINT (-37.677772 -4.038916)', '2026-07-23 14:45:37', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677759 -4.038901)'), GeomFromEWKT('SRID=4674;POINT (-37.677772 -4.038916)'))) / (select extract(epoch from '2026-07-23 14:45:37'::timestamp) - extract(epoch from '2026-07-23 14:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677759 -4.038901)'), GeomFromEWKT('SRID=4674;POINT (-37.677772 -4.038916)'))) / (select extract(epoch from '2026-07-23 14:45:37'::timestamp) - extract(epoch from '2026-07-23 14:45: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'), 47415, 'SRID=4674;POINT (-37.677795 -4.038978)', '2026-07-23 14:46:06', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677772 -4.038916)'), GeomFromEWKT('SRID=4674;POINT (-37.677795 -4.038978)'))) / (select extract(epoch from '2026-07-23 14:46:06'::timestamp) - extract(epoch from '2026-07-23 14:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677772 -4.038916)'), GeomFromEWKT('SRID=4674;POINT (-37.677795 -4.038978)'))) / (select extract(epoch from '2026-07-23 14:46:06'::timestamp) - extract(epoch from '2026-07-23 14:45: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'), 47415, 'SRID=4674;POINT (-37.677803 -4.039011)', '2026-07-23 14:46:16', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677795 -4.038978)'), GeomFromEWKT('SRID=4674;POINT (-37.677803 -4.039011)'))) / (select extract(epoch from '2026-07-23 14:46:16'::timestamp) - extract(epoch from '2026-07-23 14:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677795 -4.038978)'), GeomFromEWKT('SRID=4674;POINT (-37.677803 -4.039011)'))) / (select extract(epoch from '2026-07-23 14:46:16'::timestamp) - extract(epoch from '2026-07-23 14:46: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'), 47415, 'SRID=4674;POINT (-37.677822 -4.039067)', '2026-07-23 14:46:38', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677803 -4.039011)'), GeomFromEWKT('SRID=4674;POINT (-37.677822 -4.039067)'))) / (select extract(epoch from '2026-07-23 14:46:38'::timestamp) - extract(epoch from '2026-07-23 14:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677803 -4.039011)'), GeomFromEWKT('SRID=4674;POINT (-37.677822 -4.039067)'))) / (select extract(epoch from '2026-07-23 14:46:38'::timestamp) - extract(epoch from '2026-07-23 14:46: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'), 47415, 'SRID=4674;POINT (-37.677805 -4.039124)', '2026-07-23 14:46:45', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677822 -4.039067)'), GeomFromEWKT('SRID=4674;POINT (-37.677805 -4.039124)'))) / (select extract(epoch from '2026-07-23 14:46:45'::timestamp) - extract(epoch from '2026-07-23 14:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677822 -4.039067)'), GeomFromEWKT('SRID=4674;POINT (-37.677805 -4.039124)'))) / (select extract(epoch from '2026-07-23 14:46:45'::timestamp) - extract(epoch from '2026-07-23 14:46: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'), 47415, 'SRID=4674;POINT (-37.677765 -4.039178)', '2026-07-23 14:46:51', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677805 -4.039124)'), GeomFromEWKT('SRID=4674;POINT (-37.677765 -4.039178)'))) / (select extract(epoch from '2026-07-23 14:46:51'::timestamp) - extract(epoch from '2026-07-23 14:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677805 -4.039124)'), GeomFromEWKT('SRID=4674;POINT (-37.677765 -4.039178)'))) / (select extract(epoch from '2026-07-23 14:46:51'::timestamp) - extract(epoch from '2026-07-23 14:46: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'), 47415, 'SRID=4674;POINT (-37.677707 -4.039267)', '2026-07-23 14:46:59', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677765 -4.039178)'), GeomFromEWKT('SRID=4674;POINT (-37.677707 -4.039267)'))) / (select extract(epoch from '2026-07-23 14:46:59'::timestamp) - extract(epoch from '2026-07-23 14:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677765 -4.039178)'), GeomFromEWKT('SRID=4674;POINT (-37.677707 -4.039267)'))) / (select extract(epoch from '2026-07-23 14:46:59'::timestamp) - extract(epoch from '2026-07-23 14:46: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'), 47415, 'SRID=4674;POINT (-37.677689 -4.039375)', '2026-07-23 14:47:06', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677707 -4.039267)'), GeomFromEWKT('SRID=4674;POINT (-37.677689 -4.039375)'))) / (select extract(epoch from '2026-07-23 14:47:06'::timestamp) - extract(epoch from '2026-07-23 14:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677707 -4.039267)'), GeomFromEWKT('SRID=4674;POINT (-37.677689 -4.039375)'))) / (select extract(epoch from '2026-07-23 14:47:06'::timestamp) - extract(epoch from '2026-07-23 14:46: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'), 47415, 'SRID=4674;POINT (-37.677738 -4.039493)', '2026-07-23 14:47:13', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677689 -4.039375)'), GeomFromEWKT('SRID=4674;POINT (-37.677738 -4.039493)'))) / (select extract(epoch from '2026-07-23 14:47:13'::timestamp) - extract(epoch from '2026-07-23 14:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677689 -4.039375)'), GeomFromEWKT('SRID=4674;POINT (-37.677738 -4.039493)'))) / (select extract(epoch from '2026-07-23 14:47:13'::timestamp) - extract(epoch from '2026-07-23 14:47: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'), 47415, 'SRID=4674;POINT (-37.677797 -4.039578)', '2026-07-23 14:47:18', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677738 -4.039493)'), GeomFromEWKT('SRID=4674;POINT (-37.677797 -4.039578)'))) / (select extract(epoch from '2026-07-23 14:47:18'::timestamp) - extract(epoch from '2026-07-23 14:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677738 -4.039493)'), GeomFromEWKT('SRID=4674;POINT (-37.677797 -4.039578)'))) / (select extract(epoch from '2026-07-23 14:47:18'::timestamp) - extract(epoch from '2026-07-23 14:47: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'), 47415, 'SRID=4674;POINT (-37.677871 -4.039718)', '2026-07-23 14:47:25', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677797 -4.039578)'), GeomFromEWKT('SRID=4674;POINT (-37.677871 -4.039718)'))) / (select extract(epoch from '2026-07-23 14:47:25'::timestamp) - extract(epoch from '2026-07-23 14:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677797 -4.039578)'), GeomFromEWKT('SRID=4674;POINT (-37.677871 -4.039718)'))) / (select extract(epoch from '2026-07-23 14:47:25'::timestamp) - extract(epoch from '2026-07-23 14:47: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'), 47415, 'SRID=4674;POINT (-37.677901 -4.039852)', '2026-07-23 14:47:31', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677871 -4.039718)'), GeomFromEWKT('SRID=4674;POINT (-37.677901 -4.039852)'))) / (select extract(epoch from '2026-07-23 14:47:31'::timestamp) - extract(epoch from '2026-07-23 14:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677871 -4.039718)'), GeomFromEWKT('SRID=4674;POINT (-37.677901 -4.039852)'))) / (select extract(epoch from '2026-07-23 14:47:31'::timestamp) - extract(epoch from '2026-07-23 14:47: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'), 47415, 'SRID=4674;POINT (-37.677903 -4.039986)', '2026-07-23 14:47:37', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677901 -4.039852)'), GeomFromEWKT('SRID=4674;POINT (-37.677903 -4.039986)'))) / (select extract(epoch from '2026-07-23 14:47:37'::timestamp) - extract(epoch from '2026-07-23 14:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677901 -4.039852)'), GeomFromEWKT('SRID=4674;POINT (-37.677903 -4.039986)'))) / (select extract(epoch from '2026-07-23 14:47:37'::timestamp) - extract(epoch from '2026-07-23 14:47: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'), 47415, 'SRID=4674;POINT (-37.67791 -4.040111)', '2026-07-23 14:47:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677903 -4.039986)'), GeomFromEWKT('SRID=4674;POINT (-37.67791 -4.040111)'))) / (select extract(epoch from '2026-07-23 14:47:43'::timestamp) - extract(epoch from '2026-07-23 14:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677903 -4.039986)'), GeomFromEWKT('SRID=4674;POINT (-37.67791 -4.040111)'))) / (select extract(epoch from '2026-07-23 14:47:43'::timestamp) - extract(epoch from '2026-07-23 14:47: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'), 47415, 'SRID=4674;POINT (-37.677955 -4.040286)', '2026-07-23 14:47:51', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67791 -4.040111)'), GeomFromEWKT('SRID=4674;POINT (-37.677955 -4.040286)'))) / (select extract(epoch from '2026-07-23 14:47:51'::timestamp) - extract(epoch from '2026-07-23 14:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67791 -4.040111)'), GeomFromEWKT('SRID=4674;POINT (-37.677955 -4.040286)'))) / (select extract(epoch from '2026-07-23 14:47:51'::timestamp) - extract(epoch from '2026-07-23 14:47: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'), 47415, 'SRID=4674;POINT (-37.678036 -4.040446)', '2026-07-23 14:47:59', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677955 -4.040286)'), GeomFromEWKT('SRID=4674;POINT (-37.678036 -4.040446)'))) / (select extract(epoch from '2026-07-23 14:47:59'::timestamp) - extract(epoch from '2026-07-23 14:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.677955 -4.040286)'), GeomFromEWKT('SRID=4674;POINT (-37.678036 -4.040446)'))) / (select extract(epoch from '2026-07-23 14:47:59'::timestamp) - extract(epoch from '2026-07-23 14:47: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'), 47415, 'SRID=4674;POINT (-37.67811 -4.040562)', '2026-07-23 14:48:05', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678036 -4.040446)'), GeomFromEWKT('SRID=4674;POINT (-37.67811 -4.040562)'))) / (select extract(epoch from '2026-07-23 14:48:05'::timestamp) - extract(epoch from '2026-07-23 14:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678036 -4.040446)'), GeomFromEWKT('SRID=4674;POINT (-37.67811 -4.040562)'))) / (select extract(epoch from '2026-07-23 14:48:05'::timestamp) - extract(epoch from '2026-07-23 14:47: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'), 47415, 'SRID=4674;POINT (-37.678204 -4.040695)', '2026-07-23 14:48:12', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67811 -4.040562)'), GeomFromEWKT('SRID=4674;POINT (-37.678204 -4.040695)'))) / (select extract(epoch from '2026-07-23 14:48:12'::timestamp) - extract(epoch from '2026-07-23 14:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67811 -4.040562)'), GeomFromEWKT('SRID=4674;POINT (-37.678204 -4.040695)'))) / (select extract(epoch from '2026-07-23 14:48:12'::timestamp) - extract(epoch from '2026-07-23 14:48: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'), 47415, 'SRID=4674;POINT (-37.67829 -4.040818)', '2026-07-23 14:48:18', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678204 -4.040695)'), GeomFromEWKT('SRID=4674;POINT (-37.67829 -4.040818)'))) / (select extract(epoch from '2026-07-23 14:48:18'::timestamp) - extract(epoch from '2026-07-23 14:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678204 -4.040695)'), GeomFromEWKT('SRID=4674;POINT (-37.67829 -4.040818)'))) / (select extract(epoch from '2026-07-23 14:48:18'::timestamp) - extract(epoch from '2026-07-23 14:48: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'), 47415, 'SRID=4674;POINT (-37.678387 -4.040954)', '2026-07-23 14:48:25', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67829 -4.040818)'), GeomFromEWKT('SRID=4674;POINT (-37.678387 -4.040954)'))) / (select extract(epoch from '2026-07-23 14:48:25'::timestamp) - extract(epoch from '2026-07-23 14:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67829 -4.040818)'), GeomFromEWKT('SRID=4674;POINT (-37.678387 -4.040954)'))) / (select extract(epoch from '2026-07-23 14:48:25'::timestamp) - extract(epoch from '2026-07-23 14:48: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'), 47415, 'SRID=4674;POINT (-37.678463 -4.041062)', '2026-07-23 14:48:30', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678387 -4.040954)'), GeomFromEWKT('SRID=4674;POINT (-37.678463 -4.041062)'))) / (select extract(epoch from '2026-07-23 14:48:30'::timestamp) - extract(epoch from '2026-07-23 14:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678387 -4.040954)'), GeomFromEWKT('SRID=4674;POINT (-37.678463 -4.041062)'))) / (select extract(epoch from '2026-07-23 14:48:30'::timestamp) - extract(epoch from '2026-07-23 14:48: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'), 47415, 'SRID=4674;POINT (-37.678548 -4.041202)', '2026-07-23 14:48:37', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678463 -4.041062)'), GeomFromEWKT('SRID=4674;POINT (-37.678548 -4.041202)'))) / (select extract(epoch from '2026-07-23 14:48:37'::timestamp) - extract(epoch from '2026-07-23 14:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678463 -4.041062)'), GeomFromEWKT('SRID=4674;POINT (-37.678548 -4.041202)'))) / (select extract(epoch from '2026-07-23 14:48:37'::timestamp) - extract(epoch from '2026-07-23 14:48: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'), 47415, 'SRID=4674;POINT (-37.67861 -4.041338)', '2026-07-23 14:48:43', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678548 -4.041202)'), GeomFromEWKT('SRID=4674;POINT (-37.67861 -4.041338)'))) / (select extract(epoch from '2026-07-23 14:48:43'::timestamp) - extract(epoch from '2026-07-23 14:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678548 -4.041202)'), GeomFromEWKT('SRID=4674;POINT (-37.67861 -4.041338)'))) / (select extract(epoch from '2026-07-23 14:48:43'::timestamp) - extract(epoch from '2026-07-23 14:48: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'), 47415, 'SRID=4674;POINT (-37.678657 -4.041469)', '2026-07-23 14:48:49', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67861 -4.041338)'), GeomFromEWKT('SRID=4674;POINT (-37.678657 -4.041469)'))) / (select extract(epoch from '2026-07-23 14:48:49'::timestamp) - extract(epoch from '2026-07-23 14:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67861 -4.041338)'), GeomFromEWKT('SRID=4674;POINT (-37.678657 -4.041469)'))) / (select extract(epoch from '2026-07-23 14:48:49'::timestamp) - extract(epoch from '2026-07-23 14:48: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'), 47415, 'SRID=4674;POINT (-37.678712 -4.041627)', '2026-07-23 14:48:56', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678657 -4.041469)'), GeomFromEWKT('SRID=4674;POINT (-37.678712 -4.041627)'))) / (select extract(epoch from '2026-07-23 14:48:56'::timestamp) - extract(epoch from '2026-07-23 14:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678657 -4.041469)'), GeomFromEWKT('SRID=4674;POINT (-37.678712 -4.041627)'))) / (select extract(epoch from '2026-07-23 14:48:56'::timestamp) - extract(epoch from '2026-07-23 14:48: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'), 47415, 'SRID=4674;POINT (-37.678761 -4.041779)', '2026-07-23 14:49:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678712 -4.041627)'), GeomFromEWKT('SRID=4674;POINT (-37.678761 -4.041779)'))) / (select extract(epoch from '2026-07-23 14:49:03'::timestamp) - extract(epoch from '2026-07-23 14:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678712 -4.041627)'), GeomFromEWKT('SRID=4674;POINT (-37.678761 -4.041779)'))) / (select extract(epoch from '2026-07-23 14:49:03'::timestamp) - extract(epoch from '2026-07-23 14:48: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'), 47415, 'SRID=4674;POINT (-37.678803 -4.041903)', '2026-07-23 14:49:09', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678761 -4.041779)'), GeomFromEWKT('SRID=4674;POINT (-37.678803 -4.041903)'))) / (select extract(epoch from '2026-07-23 14:49:09'::timestamp) - extract(epoch from '2026-07-23 14:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678761 -4.041779)'), GeomFromEWKT('SRID=4674;POINT (-37.678803 -4.041903)'))) / (select extract(epoch from '2026-07-23 14:49:09'::timestamp) - extract(epoch from '2026-07-23 14:49: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'), 47415, 'SRID=4674;POINT (-37.678833 -4.042033)', '2026-07-23 14:49:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678803 -4.041903)'), GeomFromEWKT('SRID=4674;POINT (-37.678833 -4.042033)'))) / (select extract(epoch from '2026-07-23 14:49:15'::timestamp) - extract(epoch from '2026-07-23 14:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678803 -4.041903)'), GeomFromEWKT('SRID=4674;POINT (-37.678833 -4.042033)'))) / (select extract(epoch from '2026-07-23 14:49:15'::timestamp) - extract(epoch from '2026-07-23 14:49: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'), 47415, 'SRID=4674;POINT (-37.67888 -4.042181)', '2026-07-23 14:49:22', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678833 -4.042033)'), GeomFromEWKT('SRID=4674;POINT (-37.67888 -4.042181)'))) / (select extract(epoch from '2026-07-23 14:49:22'::timestamp) - extract(epoch from '2026-07-23 14:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678833 -4.042033)'), GeomFromEWKT('SRID=4674;POINT (-37.67888 -4.042181)'))) / (select extract(epoch from '2026-07-23 14:49:22'::timestamp) - extract(epoch from '2026-07-23 14:49: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'), 47415, 'SRID=4674;POINT (-37.678938 -4.042287)', '2026-07-23 14:49:27', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67888 -4.042181)'), GeomFromEWKT('SRID=4674;POINT (-37.678938 -4.042287)'))) / (select extract(epoch from '2026-07-23 14:49:27'::timestamp) - extract(epoch from '2026-07-23 14:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.67888 -4.042181)'), GeomFromEWKT('SRID=4674;POINT (-37.678938 -4.042287)'))) / (select extract(epoch from '2026-07-23 14:49:27'::timestamp) - extract(epoch from '2026-07-23 14:49: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'), 47415, 'SRID=4674;POINT (-37.678987 -4.042393)', '2026-07-23 14:49:32', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678938 -4.042287)'), GeomFromEWKT('SRID=4674;POINT (-37.678987 -4.042393)'))) / (select extract(epoch from '2026-07-23 14:49:32'::timestamp) - extract(epoch from '2026-07-23 14:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678938 -4.042287)'), GeomFromEWKT('SRID=4674;POINT (-37.678987 -4.042393)'))) / (select extract(epoch from '2026-07-23 14:49:32'::timestamp) - extract(epoch from '2026-07-23 14:49: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'), 47415, 'SRID=4674;POINT (-37.679047 -4.042516)', '2026-07-23 14:49:38', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678987 -4.042393)'), GeomFromEWKT('SRID=4674;POINT (-37.679047 -4.042516)'))) / (select extract(epoch from '2026-07-23 14:49:38'::timestamp) - extract(epoch from '2026-07-23 14:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.678987 -4.042393)'), GeomFromEWKT('SRID=4674;POINT (-37.679047 -4.042516)'))) / (select extract(epoch from '2026-07-23 14:49:38'::timestamp) - extract(epoch from '2026-07-23 14:49: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'), 47415, 'SRID=4674;POINT (-37.679105 -4.042638)', '2026-07-23 14:49:44', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679047 -4.042516)'), GeomFromEWKT('SRID=4674;POINT (-37.679105 -4.042638)'))) / (select extract(epoch from '2026-07-23 14:49:44'::timestamp) - extract(epoch from '2026-07-23 14:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679047 -4.042516)'), GeomFromEWKT('SRID=4674;POINT (-37.679105 -4.042638)'))) / (select extract(epoch from '2026-07-23 14:49:44'::timestamp) - extract(epoch from '2026-07-23 14:49: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'), 47415, 'SRID=4674;POINT (-37.679165 -4.04275)', '2026-07-23 14:49:49', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679105 -4.042638)'), GeomFromEWKT('SRID=4674;POINT (-37.679165 -4.04275)'))) / (select extract(epoch from '2026-07-23 14:49:49'::timestamp) - extract(epoch from '2026-07-23 14:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679105 -4.042638)'), GeomFromEWKT('SRID=4674;POINT (-37.679165 -4.04275)'))) / (select extract(epoch from '2026-07-23 14:49:49'::timestamp) - extract(epoch from '2026-07-23 14:49: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'), 47415, 'SRID=4674;POINT (-37.679199 -4.042849)', '2026-07-23 14:49:54', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679165 -4.04275)'), GeomFromEWKT('SRID=4674;POINT (-37.679199 -4.042849)'))) / (select extract(epoch from '2026-07-23 14:49:54'::timestamp) - extract(epoch from '2026-07-23 14:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679165 -4.04275)'), GeomFromEWKT('SRID=4674;POINT (-37.679199 -4.042849)'))) / (select extract(epoch from '2026-07-23 14:49:54'::timestamp) - extract(epoch from '2026-07-23 14:49: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'), 47415, 'SRID=4674;POINT (-37.679258 -4.042995)', '2026-07-23 14:50:01', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679199 -4.042849)'), GeomFromEWKT('SRID=4674;POINT (-37.679258 -4.042995)'))) / (select extract(epoch from '2026-07-23 14:50:01'::timestamp) - extract(epoch from '2026-07-23 14:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679199 -4.042849)'), GeomFromEWKT('SRID=4674;POINT (-37.679258 -4.042995)'))) / (select extract(epoch from '2026-07-23 14:50:01'::timestamp) - extract(epoch from '2026-07-23 14:49: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'), 47415, 'SRID=4674;POINT (-37.679335 -4.043104)', '2026-07-23 14:50:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679258 -4.042995)'), GeomFromEWKT('SRID=4674;POINT (-37.679335 -4.043104)'))) / (select extract(epoch from '2026-07-23 14:50:07'::timestamp) - extract(epoch from '2026-07-23 14:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679258 -4.042995)'), GeomFromEWKT('SRID=4674;POINT (-37.679335 -4.043104)'))) / (select extract(epoch from '2026-07-23 14:50:07'::timestamp) - extract(epoch from '2026-07-23 14:50: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'), 47415, 'SRID=4674;POINT (-37.679403 -4.0432)', '2026-07-23 14:50:12', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679335 -4.043104)'), GeomFromEWKT('SRID=4674;POINT (-37.679403 -4.0432)'))) / (select extract(epoch from '2026-07-23 14:50:12'::timestamp) - extract(epoch from '2026-07-23 14:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679335 -4.043104)'), GeomFromEWKT('SRID=4674;POINT (-37.679403 -4.0432)'))) / (select extract(epoch from '2026-07-23 14:50:12'::timestamp) - extract(epoch from '2026-07-23 14:50: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'), 47415, 'SRID=4674;POINT (-37.679472 -4.043299)', '2026-07-23 14:50:17', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679403 -4.0432)'), GeomFromEWKT('SRID=4674;POINT (-37.679472 -4.043299)'))) / (select extract(epoch from '2026-07-23 14:50:17'::timestamp) - extract(epoch from '2026-07-23 14:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679403 -4.0432)'), GeomFromEWKT('SRID=4674;POINT (-37.679472 -4.043299)'))) / (select extract(epoch from '2026-07-23 14:50:17'::timestamp) - extract(epoch from '2026-07-23 14:50: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'), 47415, 'SRID=4674;POINT (-37.679545 -4.04342)', '2026-07-23 14:50:23', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679472 -4.043299)'), GeomFromEWKT('SRID=4674;POINT (-37.679545 -4.04342)'))) / (select extract(epoch from '2026-07-23 14:50:23'::timestamp) - extract(epoch from '2026-07-23 14:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679472 -4.043299)'), GeomFromEWKT('SRID=4674;POINT (-37.679545 -4.04342)'))) / (select extract(epoch from '2026-07-23 14:50:23'::timestamp) - extract(epoch from '2026-07-23 14:50: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'), 47415, 'SRID=4674;POINT (-37.679625 -4.043567)', '2026-07-23 14:50:30', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679545 -4.04342)'), GeomFromEWKT('SRID=4674;POINT (-37.679625 -4.043567)'))) / (select extract(epoch from '2026-07-23 14:50:30'::timestamp) - extract(epoch from '2026-07-23 14:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679545 -4.04342)'), GeomFromEWKT('SRID=4674;POINT (-37.679625 -4.043567)'))) / (select extract(epoch from '2026-07-23 14:50:30'::timestamp) - extract(epoch from '2026-07-23 14:50: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'), 47415, 'SRID=4674;POINT (-37.679677 -4.043721)', '2026-07-23 14:50:37', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679625 -4.043567)'), GeomFromEWKT('SRID=4674;POINT (-37.679677 -4.043721)'))) / (select extract(epoch from '2026-07-23 14:50:37'::timestamp) - extract(epoch from '2026-07-23 14:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679625 -4.043567)'), GeomFromEWKT('SRID=4674;POINT (-37.679677 -4.043721)'))) / (select extract(epoch from '2026-07-23 14:50:37'::timestamp) - extract(epoch from '2026-07-23 14:50: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'), 47415, 'SRID=4674;POINT (-37.679707 -4.043853)', '2026-07-23 14:50:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679677 -4.043721)'), GeomFromEWKT('SRID=4674;POINT (-37.679707 -4.043853)'))) / (select extract(epoch from '2026-07-23 14:50:43'::timestamp) - extract(epoch from '2026-07-23 14:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679677 -4.043721)'), GeomFromEWKT('SRID=4674;POINT (-37.679707 -4.043853)'))) / (select extract(epoch from '2026-07-23 14:50:43'::timestamp) - extract(epoch from '2026-07-23 14:50: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'), 47415, 'SRID=4674;POINT (-37.679761 -4.044002)', '2026-07-23 14:50:50', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679707 -4.043853)'), GeomFromEWKT('SRID=4674;POINT (-37.679761 -4.044002)'))) / (select extract(epoch from '2026-07-23 14:50:50'::timestamp) - extract(epoch from '2026-07-23 14:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679707 -4.043853)'), GeomFromEWKT('SRID=4674;POINT (-37.679761 -4.044002)'))) / (select extract(epoch from '2026-07-23 14:50:50'::timestamp) - extract(epoch from '2026-07-23 14:50: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'), 47415, 'SRID=4674;POINT (-37.679824 -4.044126)', '2026-07-23 14:50:56', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679761 -4.044002)'), GeomFromEWKT('SRID=4674;POINT (-37.679824 -4.044126)'))) / (select extract(epoch from '2026-07-23 14:50:56'::timestamp) - extract(epoch from '2026-07-23 14:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679761 -4.044002)'), GeomFromEWKT('SRID=4674;POINT (-37.679824 -4.044126)'))) / (select extract(epoch from '2026-07-23 14:50:56'::timestamp) - extract(epoch from '2026-07-23 14:50: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'), 47415, 'SRID=4674;POINT (-37.679925 -4.044267)', '2026-07-23 14:51:03', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679824 -4.044126)'), GeomFromEWKT('SRID=4674;POINT (-37.679925 -4.044267)'))) / (select extract(epoch from '2026-07-23 14:51:03'::timestamp) - extract(epoch from '2026-07-23 14:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679824 -4.044126)'), GeomFromEWKT('SRID=4674;POINT (-37.679925 -4.044267)'))) / (select extract(epoch from '2026-07-23 14:51:03'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.679999 -4.044392)', '2026-07-23 14:51:09', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679925 -4.044267)'), GeomFromEWKT('SRID=4674;POINT (-37.679999 -4.044392)'))) / (select extract(epoch from '2026-07-23 14:51:09'::timestamp) - extract(epoch from '2026-07-23 14:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679925 -4.044267)'), GeomFromEWKT('SRID=4674;POINT (-37.679999 -4.044392)'))) / (select extract(epoch from '2026-07-23 14:51:09'::timestamp) - extract(epoch from '2026-07-23 14:51: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'), 47415, 'SRID=4674;POINT (-37.680044 -4.0445)', '2026-07-23 14:51:14', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679999 -4.044392)'), GeomFromEWKT('SRID=4674;POINT (-37.680044 -4.0445)'))) / (select extract(epoch from '2026-07-23 14:51:14'::timestamp) - extract(epoch from '2026-07-23 14:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.679999 -4.044392)'), GeomFromEWKT('SRID=4674;POINT (-37.680044 -4.0445)'))) / (select extract(epoch from '2026-07-23 14:51:14'::timestamp) - extract(epoch from '2026-07-23 14:51: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'), 47415, 'SRID=4674;POINT (-37.68011 -4.044657)', '2026-07-23 14:51:21', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680044 -4.0445)'), GeomFromEWKT('SRID=4674;POINT (-37.68011 -4.044657)'))) / (select extract(epoch from '2026-07-23 14:51:21'::timestamp) - extract(epoch from '2026-07-23 14:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680044 -4.0445)'), GeomFromEWKT('SRID=4674;POINT (-37.68011 -4.044657)'))) / (select extract(epoch from '2026-07-23 14:51:21'::timestamp) - extract(epoch from '2026-07-23 14:51: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'), 47415, 'SRID=4674;POINT (-37.680171 -4.044785)', '2026-07-23 14:51:27', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68011 -4.044657)'), GeomFromEWKT('SRID=4674;POINT (-37.680171 -4.044785)'))) / (select extract(epoch from '2026-07-23 14:51:27'::timestamp) - extract(epoch from '2026-07-23 14:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68011 -4.044657)'), GeomFromEWKT('SRID=4674;POINT (-37.680171 -4.044785)'))) / (select extract(epoch from '2026-07-23 14:51:27'::timestamp) - extract(epoch from '2026-07-23 14:51: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'), 47415, 'SRID=4674;POINT (-37.680262 -4.044934)', '2026-07-23 14:51:34', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680171 -4.044785)'), GeomFromEWKT('SRID=4674;POINT (-37.680262 -4.044934)'))) / (select extract(epoch from '2026-07-23 14:51:34'::timestamp) - extract(epoch from '2026-07-23 14:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680171 -4.044785)'), GeomFromEWKT('SRID=4674;POINT (-37.680262 -4.044934)'))) / (select extract(epoch from '2026-07-23 14:51:34'::timestamp) - extract(epoch from '2026-07-23 14:51: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'), 47415, 'SRID=4674;POINT (-37.680318 -4.045037)', '2026-07-23 14:51:39', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680262 -4.044934)'), GeomFromEWKT('SRID=4674;POINT (-37.680318 -4.045037)'))) / (select extract(epoch from '2026-07-23 14:51:39'::timestamp) - extract(epoch from '2026-07-23 14:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680262 -4.044934)'), GeomFromEWKT('SRID=4674;POINT (-37.680318 -4.045037)'))) / (select extract(epoch from '2026-07-23 14:51:39'::timestamp) - extract(epoch from '2026-07-23 14:51: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'), 47415, 'SRID=4674;POINT (-37.68036 -4.045148)', '2026-07-23 14:51:44', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680318 -4.045037)'), GeomFromEWKT('SRID=4674;POINT (-37.68036 -4.045148)'))) / (select extract(epoch from '2026-07-23 14:51:44'::timestamp) - extract(epoch from '2026-07-23 14:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680318 -4.045037)'), GeomFromEWKT('SRID=4674;POINT (-37.68036 -4.045148)'))) / (select extract(epoch from '2026-07-23 14:51:44'::timestamp) - extract(epoch from '2026-07-23 14:51: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'), 47415, 'SRID=4674;POINT (-37.680409 -4.045272)', '2026-07-23 14:51:50', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68036 -4.045148)'), GeomFromEWKT('SRID=4674;POINT (-37.680409 -4.045272)'))) / (select extract(epoch from '2026-07-23 14:51:50'::timestamp) - extract(epoch from '2026-07-23 14:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68036 -4.045148)'), GeomFromEWKT('SRID=4674;POINT (-37.680409 -4.045272)'))) / (select extract(epoch from '2026-07-23 14:51:50'::timestamp) - extract(epoch from '2026-07-23 14:51: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'), 47415, 'SRID=4674;POINT (-37.680464 -4.045424)', '2026-07-23 14:51:57', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680409 -4.045272)'), GeomFromEWKT('SRID=4674;POINT (-37.680464 -4.045424)'))) / (select extract(epoch from '2026-07-23 14:51:57'::timestamp) - extract(epoch from '2026-07-23 14:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680409 -4.045272)'), GeomFromEWKT('SRID=4674;POINT (-37.680464 -4.045424)'))) / (select extract(epoch from '2026-07-23 14:51:57'::timestamp) - extract(epoch from '2026-07-23 14:51: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'), 47415, 'SRID=4674;POINT (-37.680512 -4.045559)', '2026-07-23 14:52:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680464 -4.045424)'), GeomFromEWKT('SRID=4674;POINT (-37.680512 -4.045559)'))) / (select extract(epoch from '2026-07-23 14:52:03'::timestamp) - extract(epoch from '2026-07-23 14:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680464 -4.045424)'), GeomFromEWKT('SRID=4674;POINT (-37.680512 -4.045559)'))) / (select extract(epoch from '2026-07-23 14:52:03'::timestamp) - extract(epoch from '2026-07-23 14:51: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'), 47415, 'SRID=4674;POINT (-37.680532 -4.045647)', '2026-07-23 14:52:07', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680512 -4.045559)'), GeomFromEWKT('SRID=4674;POINT (-37.680532 -4.045647)'))) / (select extract(epoch from '2026-07-23 14:52:07'::timestamp) - extract(epoch from '2026-07-23 14:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680512 -4.045559)'), GeomFromEWKT('SRID=4674;POINT (-37.680532 -4.045647)'))) / (select extract(epoch from '2026-07-23 14:52:07'::timestamp) - extract(epoch from '2026-07-23 14:52: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'), 47415, 'SRID=4674;POINT (-37.680541 -4.045667)', '2026-07-23 14:52:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680532 -4.045647)'), GeomFromEWKT('SRID=4674;POINT (-37.680541 -4.045667)'))) / (select extract(epoch from '2026-07-23 14:52:08'::timestamp) - extract(epoch from '2026-07-23 14:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680532 -4.045647)'), GeomFromEWKT('SRID=4674;POINT (-37.680541 -4.045667)'))) / (select extract(epoch from '2026-07-23 14:52:08'::timestamp) - extract(epoch from '2026-07-23 14:52: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'), 47415, 'SRID=4674;POINT (-37.680583 -4.045784)', '2026-07-23 14:52:13', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680541 -4.045667)'), GeomFromEWKT('SRID=4674;POINT (-37.680583 -4.045784)'))) / (select extract(epoch from '2026-07-23 14:52:13'::timestamp) - extract(epoch from '2026-07-23 14:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680541 -4.045667)'), GeomFromEWKT('SRID=4674;POINT (-37.680583 -4.045784)'))) / (select extract(epoch from '2026-07-23 14:52:13'::timestamp) - extract(epoch from '2026-07-23 14:52: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'), 47415, 'SRID=4674;POINT (-37.680633 -4.045915)', '2026-07-23 14:52:19', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680583 -4.045784)'), GeomFromEWKT('SRID=4674;POINT (-37.680633 -4.045915)'))) / (select extract(epoch from '2026-07-23 14:52:19'::timestamp) - extract(epoch from '2026-07-23 14:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680583 -4.045784)'), GeomFromEWKT('SRID=4674;POINT (-37.680633 -4.045915)'))) / (select extract(epoch from '2026-07-23 14:52:19'::timestamp) - extract(epoch from '2026-07-23 14:52: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'), 47415, 'SRID=4674;POINT (-37.680656 -4.046046)', '2026-07-23 14:52:25', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680633 -4.045915)'), GeomFromEWKT('SRID=4674;POINT (-37.680656 -4.046046)'))) / (select extract(epoch from '2026-07-23 14:52:25'::timestamp) - extract(epoch from '2026-07-23 14:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680633 -4.045915)'), GeomFromEWKT('SRID=4674;POINT (-37.680656 -4.046046)'))) / (select extract(epoch from '2026-07-23 14:52:25'::timestamp) - extract(epoch from '2026-07-23 14:52: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'), 47415, 'SRID=4674;POINT (-37.680689 -4.046186)', '2026-07-23 14:52:31', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680656 -4.046046)'), GeomFromEWKT('SRID=4674;POINT (-37.680689 -4.046186)'))) / (select extract(epoch from '2026-07-23 14:52:31'::timestamp) - extract(epoch from '2026-07-23 14:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680656 -4.046046)'), GeomFromEWKT('SRID=4674;POINT (-37.680689 -4.046186)'))) / (select extract(epoch from '2026-07-23 14:52:31'::timestamp) - extract(epoch from '2026-07-23 14:52: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'), 47415, 'SRID=4674;POINT (-37.680733 -4.046315)', '2026-07-23 14:52:37', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680689 -4.046186)'), GeomFromEWKT('SRID=4674;POINT (-37.680733 -4.046315)'))) / (select extract(epoch from '2026-07-23 14:52:37'::timestamp) - extract(epoch from '2026-07-23 14:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680689 -4.046186)'), GeomFromEWKT('SRID=4674;POINT (-37.680733 -4.046315)'))) / (select extract(epoch from '2026-07-23 14:52:37'::timestamp) - extract(epoch from '2026-07-23 14:52: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'), 47415, 'SRID=4674;POINT (-37.680773 -4.046451)', '2026-07-23 14:52:43', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680733 -4.046315)'), GeomFromEWKT('SRID=4674;POINT (-37.680773 -4.046451)'))) / (select extract(epoch from '2026-07-23 14:52:43'::timestamp) - extract(epoch from '2026-07-23 14:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680733 -4.046315)'), GeomFromEWKT('SRID=4674;POINT (-37.680773 -4.046451)'))) / (select extract(epoch from '2026-07-23 14:52:43'::timestamp) - extract(epoch from '2026-07-23 14:52: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'), 47415, 'SRID=4674;POINT (-37.680806 -4.046632)', '2026-07-23 14:52:51', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680773 -4.046451)'), GeomFromEWKT('SRID=4674;POINT (-37.680806 -4.046632)'))) / (select extract(epoch from '2026-07-23 14:52:51'::timestamp) - extract(epoch from '2026-07-23 14:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680773 -4.046451)'), GeomFromEWKT('SRID=4674;POINT (-37.680806 -4.046632)'))) / (select extract(epoch from '2026-07-23 14:52:51'::timestamp) - extract(epoch from '2026-07-23 14:52: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'), 47415, 'SRID=4674;POINT (-37.680831 -4.046801)', '2026-07-23 14:52:58', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680806 -4.046632)'), GeomFromEWKT('SRID=4674;POINT (-37.680831 -4.046801)'))) / (select extract(epoch from '2026-07-23 14:52:58'::timestamp) - extract(epoch from '2026-07-23 14:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680806 -4.046632)'), GeomFromEWKT('SRID=4674;POINT (-37.680831 -4.046801)'))) / (select extract(epoch from '2026-07-23 14:52:58'::timestamp) - extract(epoch from '2026-07-23 14:52: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'), 47415, 'SRID=4674;POINT (-37.680865 -4.046917)', '2026-07-23 14:53:03', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680831 -4.046801)'), GeomFromEWKT('SRID=4674;POINT (-37.680865 -4.046917)'))) / (select extract(epoch from '2026-07-23 14:53:03'::timestamp) - extract(epoch from '2026-07-23 14:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680831 -4.046801)'), GeomFromEWKT('SRID=4674;POINT (-37.680865 -4.046917)'))) / (select extract(epoch from '2026-07-23 14:53:03'::timestamp) - extract(epoch from '2026-07-23 14:52: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'), 47415, 'SRID=4674;POINT (-37.680902 -4.047077)', '2026-07-23 14:53:10', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680865 -4.046917)'), GeomFromEWKT('SRID=4674;POINT (-37.680902 -4.047077)'))) / (select extract(epoch from '2026-07-23 14:53:10'::timestamp) - extract(epoch from '2026-07-23 14:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680865 -4.046917)'), GeomFromEWKT('SRID=4674;POINT (-37.680902 -4.047077)'))) / (select extract(epoch from '2026-07-23 14:53:10'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.68093 -4.04725)', '2026-07-23 14:53:18', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680902 -4.047077)'), GeomFromEWKT('SRID=4674;POINT (-37.68093 -4.04725)'))) / (select extract(epoch from '2026-07-23 14:53:18'::timestamp) - extract(epoch from '2026-07-23 14:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680902 -4.047077)'), GeomFromEWKT('SRID=4674;POINT (-37.68093 -4.04725)'))) / (select extract(epoch from '2026-07-23 14:53:18'::timestamp) - extract(epoch from '2026-07-23 14:53: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'), 47415, 'SRID=4674;POINT (-37.680968 -4.047385)', '2026-07-23 14:53:24', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68093 -4.04725)'), GeomFromEWKT('SRID=4674;POINT (-37.680968 -4.047385)'))) / (select extract(epoch from '2026-07-23 14:53:24'::timestamp) - extract(epoch from '2026-07-23 14:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68093 -4.04725)'), GeomFromEWKT('SRID=4674;POINT (-37.680968 -4.047385)'))) / (select extract(epoch from '2026-07-23 14:53:24'::timestamp) - extract(epoch from '2026-07-23 14:53: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'), 47415, 'SRID=4674;POINT (-37.680993 -4.047532)', '2026-07-23 14:53:31', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680968 -4.047385)'), GeomFromEWKT('SRID=4674;POINT (-37.680993 -4.047532)'))) / (select extract(epoch from '2026-07-23 14:53:31'::timestamp) - extract(epoch from '2026-07-23 14:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680968 -4.047385)'), GeomFromEWKT('SRID=4674;POINT (-37.680993 -4.047532)'))) / (select extract(epoch from '2026-07-23 14:53:31'::timestamp) - extract(epoch from '2026-07-23 14:53: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'), 47415, 'SRID=4674;POINT (-37.680999 -4.047659)', '2026-07-23 14:53:37', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680993 -4.047532)'), GeomFromEWKT('SRID=4674;POINT (-37.680999 -4.047659)'))) / (select extract(epoch from '2026-07-23 14:53:37'::timestamp) - extract(epoch from '2026-07-23 14:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680993 -4.047532)'), GeomFromEWKT('SRID=4674;POINT (-37.680999 -4.047659)'))) / (select extract(epoch from '2026-07-23 14:53:37'::timestamp) - extract(epoch from '2026-07-23 14:53: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'), 47415, 'SRID=4674;POINT (-37.681015 -4.047792)', '2026-07-23 14:53:43', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680999 -4.047659)'), GeomFromEWKT('SRID=4674;POINT (-37.681015 -4.047792)'))) / (select extract(epoch from '2026-07-23 14:53:43'::timestamp) - extract(epoch from '2026-07-23 14:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.680999 -4.047659)'), GeomFromEWKT('SRID=4674;POINT (-37.681015 -4.047792)'))) / (select extract(epoch from '2026-07-23 14:53:43'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.681038 -4.047943)', '2026-07-23 14:53:50', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681015 -4.047792)'), GeomFromEWKT('SRID=4674;POINT (-37.681038 -4.047943)'))) / (select extract(epoch from '2026-07-23 14:53:50'::timestamp) - extract(epoch from '2026-07-23 14:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681015 -4.047792)'), GeomFromEWKT('SRID=4674;POINT (-37.681038 -4.047943)'))) / (select extract(epoch from '2026-07-23 14:53:50'::timestamp) - extract(epoch from '2026-07-23 14:53: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'), 47415, 'SRID=4674;POINT (-37.681081 -4.048074)', '2026-07-23 14:53:56', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681038 -4.047943)'), GeomFromEWKT('SRID=4674;POINT (-37.681081 -4.048074)'))) / (select extract(epoch from '2026-07-23 14:53:56'::timestamp) - extract(epoch from '2026-07-23 14:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681038 -4.047943)'), GeomFromEWKT('SRID=4674;POINT (-37.681081 -4.048074)'))) / (select extract(epoch from '2026-07-23 14:53:56'::timestamp) - extract(epoch from '2026-07-23 14:53: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'), 47415, 'SRID=4674;POINT (-37.681105 -4.048214)', '2026-07-23 14:54:02', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681081 -4.048074)'), GeomFromEWKT('SRID=4674;POINT (-37.681105 -4.048214)'))) / (select extract(epoch from '2026-07-23 14:54:02'::timestamp) - extract(epoch from '2026-07-23 14:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681081 -4.048074)'), GeomFromEWKT('SRID=4674;POINT (-37.681105 -4.048214)'))) / (select extract(epoch from '2026-07-23 14:54:02'::timestamp) - extract(epoch from '2026-07-23 14:53: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'), 47415, 'SRID=4674;POINT (-37.681149 -4.048394)', '2026-07-23 14:54:10', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681105 -4.048214)'), GeomFromEWKT('SRID=4674;POINT (-37.681149 -4.048394)'))) / (select extract(epoch from '2026-07-23 14:54:10'::timestamp) - extract(epoch from '2026-07-23 14:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681105 -4.048214)'), GeomFromEWKT('SRID=4674;POINT (-37.681149 -4.048394)'))) / (select extract(epoch from '2026-07-23 14:54:10'::timestamp) - extract(epoch from '2026-07-23 14:54: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'), 47415, 'SRID=4674;POINT (-37.681187 -4.048552)', '2026-07-23 14:54:17', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681149 -4.048394)'), GeomFromEWKT('SRID=4674;POINT (-37.681187 -4.048552)'))) / (select extract(epoch from '2026-07-23 14:54:17'::timestamp) - extract(epoch from '2026-07-23 14:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681149 -4.048394)'), GeomFromEWKT('SRID=4674;POINT (-37.681187 -4.048552)'))) / (select extract(epoch from '2026-07-23 14:54:17'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.681228 -4.048681)', '2026-07-23 14:54:23', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681187 -4.048552)'), GeomFromEWKT('SRID=4674;POINT (-37.681228 -4.048681)'))) / (select extract(epoch from '2026-07-23 14:54:23'::timestamp) - extract(epoch from '2026-07-23 14:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681187 -4.048552)'), GeomFromEWKT('SRID=4674;POINT (-37.681228 -4.048681)'))) / (select extract(epoch from '2026-07-23 14:54:23'::timestamp) - extract(epoch from '2026-07-23 14:54: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'), 47415, 'SRID=4674;POINT (-37.681267 -4.048867)', '2026-07-23 14:54:31', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681228 -4.048681)'), GeomFromEWKT('SRID=4674;POINT (-37.681267 -4.048867)'))) / (select extract(epoch from '2026-07-23 14:54:31'::timestamp) - extract(epoch from '2026-07-23 14:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681228 -4.048681)'), GeomFromEWKT('SRID=4674;POINT (-37.681267 -4.048867)'))) / (select extract(epoch from '2026-07-23 14:54:31'::timestamp) - extract(epoch from '2026-07-23 14:54: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'), 47415, 'SRID=4674;POINT (-37.681298 -4.049008)', '2026-07-23 14:54:37', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681267 -4.048867)'), GeomFromEWKT('SRID=4674;POINT (-37.681298 -4.049008)'))) / (select extract(epoch from '2026-07-23 14:54:37'::timestamp) - extract(epoch from '2026-07-23 14:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681267 -4.048867)'), GeomFromEWKT('SRID=4674;POINT (-37.681298 -4.049008)'))) / (select extract(epoch from '2026-07-23 14:54:37'::timestamp) - extract(epoch from '2026-07-23 14:54: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'), 47415, 'SRID=4674;POINT (-37.681325 -4.049116)', '2026-07-23 14:54:42', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681298 -4.049008)'), GeomFromEWKT('SRID=4674;POINT (-37.681325 -4.049116)'))) / (select extract(epoch from '2026-07-23 14:54:42'::timestamp) - extract(epoch from '2026-07-23 14:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681298 -4.049008)'), GeomFromEWKT('SRID=4674;POINT (-37.681325 -4.049116)'))) / (select extract(epoch from '2026-07-23 14:54:42'::timestamp) - extract(epoch from '2026-07-23 14:54: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'), 47415, 'SRID=4674;POINT (-37.681342 -4.049181)', '2026-07-23 14:54:45', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681325 -4.049116)'), GeomFromEWKT('SRID=4674;POINT (-37.681342 -4.049181)'))) / (select extract(epoch from '2026-07-23 14:54:45'::timestamp) - extract(epoch from '2026-07-23 14:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681325 -4.049116)'), GeomFromEWKT('SRID=4674;POINT (-37.681342 -4.049181)'))) / (select extract(epoch from '2026-07-23 14:54:45'::timestamp) - extract(epoch from '2026-07-23 14:54: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'), 47415, 'SRID=4674;POINT (-37.68135 -4.049224)', '2026-07-23 14:54:47', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681342 -4.049181)'), GeomFromEWKT('SRID=4674;POINT (-37.68135 -4.049224)'))) / (select extract(epoch from '2026-07-23 14:54:47'::timestamp) - extract(epoch from '2026-07-23 14:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681342 -4.049181)'), GeomFromEWKT('SRID=4674;POINT (-37.68135 -4.049224)'))) / (select extract(epoch from '2026-07-23 14:54:47'::timestamp) - extract(epoch from '2026-07-23 14:54: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'), 47415, 'SRID=4674;POINT (-37.681384 -4.049357)', '2026-07-23 14:54:53', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68135 -4.049224)'), GeomFromEWKT('SRID=4674;POINT (-37.681384 -4.049357)'))) / (select extract(epoch from '2026-07-23 14:54:53'::timestamp) - extract(epoch from '2026-07-23 14:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68135 -4.049224)'), GeomFromEWKT('SRID=4674;POINT (-37.681384 -4.049357)'))) / (select extract(epoch from '2026-07-23 14:54:53'::timestamp) - extract(epoch from '2026-07-23 14:54: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'), 47415, 'SRID=4674;POINT (-37.681407 -4.049472)', '2026-07-23 14:54:58', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681384 -4.049357)'), GeomFromEWKT('SRID=4674;POINT (-37.681407 -4.049472)'))) / (select extract(epoch from '2026-07-23 14:54:58'::timestamp) - extract(epoch from '2026-07-23 14:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681384 -4.049357)'), GeomFromEWKT('SRID=4674;POINT (-37.681407 -4.049472)'))) / (select extract(epoch from '2026-07-23 14:54:58'::timestamp) - extract(epoch from '2026-07-23 14:54: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'), 47415, 'SRID=4674;POINT (-37.681419 -4.049577)', '2026-07-23 14:55:03', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681407 -4.049472)'), GeomFromEWKT('SRID=4674;POINT (-37.681419 -4.049577)'))) / (select extract(epoch from '2026-07-23 14:55:03'::timestamp) - extract(epoch from '2026-07-23 14:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681407 -4.049472)'), GeomFromEWKT('SRID=4674;POINT (-37.681419 -4.049577)'))) / (select extract(epoch from '2026-07-23 14:55:03'::timestamp) - extract(epoch from '2026-07-23 14:54: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'), 47415, 'SRID=4674;POINT (-37.681435 -4.049708)', '2026-07-23 14:55:09', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681419 -4.049577)'), GeomFromEWKT('SRID=4674;POINT (-37.681435 -4.049708)'))) / (select extract(epoch from '2026-07-23 14:55:09'::timestamp) - extract(epoch from '2026-07-23 14:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681419 -4.049577)'), GeomFromEWKT('SRID=4674;POINT (-37.681435 -4.049708)'))) / (select extract(epoch from '2026-07-23 14:55:09'::timestamp) - extract(epoch from '2026-07-23 14:55: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'), 47415, 'SRID=4674;POINT (-37.681465 -4.04984)', '2026-07-23 14:55:15', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681435 -4.049708)'), GeomFromEWKT('SRID=4674;POINT (-37.681465 -4.04984)'))) / (select extract(epoch from '2026-07-23 14:55:15'::timestamp) - extract(epoch from '2026-07-23 14:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681435 -4.049708)'), GeomFromEWKT('SRID=4674;POINT (-37.681465 -4.04984)'))) / (select extract(epoch from '2026-07-23 14:55:15'::timestamp) - extract(epoch from '2026-07-23 14:55: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'), 47415, 'SRID=4674;POINT (-37.681496 -4.049966)', '2026-07-23 14:55:21', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681465 -4.04984)'), GeomFromEWKT('SRID=4674;POINT (-37.681496 -4.049966)'))) / (select extract(epoch from '2026-07-23 14:55:21'::timestamp) - extract(epoch from '2026-07-23 14:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681465 -4.04984)'), GeomFromEWKT('SRID=4674;POINT (-37.681496 -4.049966)'))) / (select extract(epoch from '2026-07-23 14:55:21'::timestamp) - extract(epoch from '2026-07-23 14:55: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'), 47415, 'SRID=4674;POINT (-37.681558 -4.050076)', '2026-07-23 14:55:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681496 -4.049966)'), GeomFromEWKT('SRID=4674;POINT (-37.681558 -4.050076)'))) / (select extract(epoch from '2026-07-23 14:55:28'::timestamp) - extract(epoch from '2026-07-23 14:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681496 -4.049966)'), GeomFromEWKT('SRID=4674;POINT (-37.681558 -4.050076)'))) / (select extract(epoch from '2026-07-23 14:55:28'::timestamp) - extract(epoch from '2026-07-23 14:55: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'), 47415, 'SRID=4674;POINT (-37.681582 -4.050098)', '2026-07-23 14:55:30', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681558 -4.050076)'), GeomFromEWKT('SRID=4674;POINT (-37.681582 -4.050098)'))) / (select extract(epoch from '2026-07-23 14:55:30'::timestamp) - extract(epoch from '2026-07-23 14:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681558 -4.050076)'), GeomFromEWKT('SRID=4674;POINT (-37.681582 -4.050098)'))) / (select extract(epoch from '2026-07-23 14:55:30'::timestamp) - extract(epoch from '2026-07-23 14:55: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'), 47415, 'SRID=4674;POINT (-37.681645 -4.05014)', '2026-07-23 14:55:34', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681582 -4.050098)'), GeomFromEWKT('SRID=4674;POINT (-37.681645 -4.05014)'))) / (select extract(epoch from '2026-07-23 14:55:34'::timestamp) - extract(epoch from '2026-07-23 14:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681582 -4.050098)'), GeomFromEWKT('SRID=4674;POINT (-37.681645 -4.05014)'))) / (select extract(epoch from '2026-07-23 14:55:34'::timestamp) - extract(epoch from '2026-07-23 14:55: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'), 47415, 'SRID=4674;POINT (-37.681756 -4.050178)', '2026-07-23 14:55:40', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681645 -4.05014)'), GeomFromEWKT('SRID=4674;POINT (-37.681756 -4.050178)'))) / (select extract(epoch from '2026-07-23 14:55:40'::timestamp) - extract(epoch from '2026-07-23 14:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681645 -4.05014)'), GeomFromEWKT('SRID=4674;POINT (-37.681756 -4.050178)'))) / (select extract(epoch from '2026-07-23 14:55:40'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.681888 -4.050183)', '2026-07-23 14:55:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681756 -4.050178)'), GeomFromEWKT('SRID=4674;POINT (-37.681888 -4.050183)'))) / (select extract(epoch from '2026-07-23 14:55:46'::timestamp) - extract(epoch from '2026-07-23 14:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681756 -4.050178)'), GeomFromEWKT('SRID=4674;POINT (-37.681888 -4.050183)'))) / (select extract(epoch from '2026-07-23 14:55:46'::timestamp) - extract(epoch from '2026-07-23 14:55: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'), 47415, 'SRID=4674;POINT (-37.682017 -4.050216)', '2026-07-23 14:55:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681888 -4.050183)'), GeomFromEWKT('SRID=4674;POINT (-37.682017 -4.050216)'))) / (select extract(epoch from '2026-07-23 14:55:52'::timestamp) - extract(epoch from '2026-07-23 14:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681888 -4.050183)'), GeomFromEWKT('SRID=4674;POINT (-37.682017 -4.050216)'))) / (select extract(epoch from '2026-07-23 14:55:52'::timestamp) - extract(epoch from '2026-07-23 14:55: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'), 47415, 'SRID=4674;POINT (-37.682097 -4.05028)', '2026-07-23 14:55:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682017 -4.050216)'), GeomFromEWKT('SRID=4674;POINT (-37.682097 -4.05028)'))) / (select extract(epoch from '2026-07-23 14:55:57'::timestamp) - extract(epoch from '2026-07-23 14:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682017 -4.050216)'), GeomFromEWKT('SRID=4674;POINT (-37.682097 -4.05028)'))) / (select extract(epoch from '2026-07-23 14:55:57'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.682139 -4.050369)', '2026-07-23 14:56:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682097 -4.05028)'), GeomFromEWKT('SRID=4674;POINT (-37.682139 -4.050369)'))) / (select extract(epoch from '2026-07-23 14:56:03'::timestamp) - extract(epoch from '2026-07-23 14:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682097 -4.05028)'), GeomFromEWKT('SRID=4674;POINT (-37.682139 -4.050369)'))) / (select extract(epoch from '2026-07-23 14:56:03'::timestamp) - extract(epoch from '2026-07-23 14:55: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'), 47415, 'SRID=4674;POINT (-37.682148 -4.05047)', '2026-07-23 14:56:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682139 -4.050369)'), GeomFromEWKT('SRID=4674;POINT (-37.682148 -4.05047)'))) / (select extract(epoch from '2026-07-23 14:56:10'::timestamp) - extract(epoch from '2026-07-23 14:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682139 -4.050369)'), GeomFromEWKT('SRID=4674;POINT (-37.682148 -4.05047)'))) / (select extract(epoch from '2026-07-23 14:56:10'::timestamp) - extract(epoch from '2026-07-23 14:56: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'), 47415, 'SRID=4674;POINT (-37.682166 -4.05056)', '2026-07-23 14:56:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682148 -4.05047)'), GeomFromEWKT('SRID=4674;POINT (-37.682166 -4.05056)'))) / (select extract(epoch from '2026-07-23 14:56:17'::timestamp) - extract(epoch from '2026-07-23 14:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682148 -4.05047)'), GeomFromEWKT('SRID=4674;POINT (-37.682166 -4.05056)'))) / (select extract(epoch from '2026-07-23 14:56:17'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.682196 -4.050631)', '2026-07-23 14:56:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682166 -4.05056)'), GeomFromEWKT('SRID=4674;POINT (-37.682196 -4.050631)'))) / (select extract(epoch from '2026-07-23 14:56:23'::timestamp) - extract(epoch from '2026-07-23 14:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682166 -4.05056)'), GeomFromEWKT('SRID=4674;POINT (-37.682196 -4.050631)'))) / (select extract(epoch from '2026-07-23 14:56:23'::timestamp) - extract(epoch from '2026-07-23 14:56: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'), 47415, 'SRID=4674;POINT (-37.682224 -4.050701)', '2026-07-23 14:56:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682196 -4.050631)'), GeomFromEWKT('SRID=4674;POINT (-37.682224 -4.050701)'))) / (select extract(epoch from '2026-07-23 14:56:29'::timestamp) - extract(epoch from '2026-07-23 14:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682196 -4.050631)'), GeomFromEWKT('SRID=4674;POINT (-37.682224 -4.050701)'))) / (select extract(epoch from '2026-07-23 14:56:29'::timestamp) - extract(epoch from '2026-07-23 14:56: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'), 47415, 'SRID=4674;POINT (-37.682232 -4.050714)', '2026-07-23 14:56:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682224 -4.050701)'), GeomFromEWKT('SRID=4674;POINT (-37.682232 -4.050714)'))) / (select extract(epoch from '2026-07-23 14:56:30'::timestamp) - extract(epoch from '2026-07-23 14:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682224 -4.050701)'), GeomFromEWKT('SRID=4674;POINT (-37.682232 -4.050714)'))) / (select extract(epoch from '2026-07-23 14:56:30'::timestamp) - extract(epoch from '2026-07-23 14:56: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'), 47415, 'SRID=4674;POINT (-37.682236 -4.050822)', '2026-07-23 14:56:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682232 -4.050714)'), GeomFromEWKT('SRID=4674;POINT (-37.682236 -4.050822)'))) / (select extract(epoch from '2026-07-23 14:56:39'::timestamp) - extract(epoch from '2026-07-23 14:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682232 -4.050714)'), GeomFromEWKT('SRID=4674;POINT (-37.682236 -4.050822)'))) / (select extract(epoch from '2026-07-23 14:56:39'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.68222 -4.050834)', '2026-07-23 14:56:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682236 -4.050822)'), GeomFromEWKT('SRID=4674;POINT (-37.68222 -4.050834)'))) / (select extract(epoch from '2026-07-23 14:56:44'::timestamp) - extract(epoch from '2026-07-23 14:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682236 -4.050822)'), GeomFromEWKT('SRID=4674;POINT (-37.68222 -4.050834)'))) / (select extract(epoch from '2026-07-23 14:56:44'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.682201 -4.050849)', '2026-07-23 14:56:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68222 -4.050834)'), GeomFromEWKT('SRID=4674;POINT (-37.682201 -4.050849)'))) / (select extract(epoch from '2026-07-23 14:56:50'::timestamp) - extract(epoch from '2026-07-23 14:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68222 -4.050834)'), GeomFromEWKT('SRID=4674;POINT (-37.682201 -4.050849)'))) / (select extract(epoch from '2026-07-23 14:56:50'::timestamp) - extract(epoch from '2026-07-23 14:56: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'), 47415, 'SRID=4674;POINT (-37.682171 -4.05084)', '2026-07-23 14:56:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682201 -4.050849)'), GeomFromEWKT('SRID=4674;POINT (-37.682171 -4.05084)'))) / (select extract(epoch from '2026-07-23 14:56:59'::timestamp) - extract(epoch from '2026-07-23 14:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682201 -4.050849)'), GeomFromEWKT('SRID=4674;POINT (-37.682171 -4.05084)'))) / (select extract(epoch from '2026-07-23 14:56:59'::timestamp) - extract(epoch from '2026-07-23 14:56: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'), 47415, 'SRID=4674;POINT (-37.682146 -4.05082)', '2026-07-23 14:57:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682171 -4.05084)'), GeomFromEWKT('SRID=4674;POINT (-37.682146 -4.05082)'))) / (select extract(epoch from '2026-07-23 14:57:08'::timestamp) - extract(epoch from '2026-07-23 14:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682171 -4.05084)'), GeomFromEWKT('SRID=4674;POINT (-37.682146 -4.05082)'))) / (select extract(epoch from '2026-07-23 14:57:08'::timestamp) - extract(epoch from '2026-07-23 14:56: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'), 47415, 'SRID=4674;POINT (-37.68216 -4.050799)', '2026-07-23 14:57:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682146 -4.05082)'), GeomFromEWKT('SRID=4674;POINT (-37.68216 -4.050799)'))) / (select extract(epoch from '2026-07-23 14:57:15'::timestamp) - extract(epoch from '2026-07-23 14:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682146 -4.05082)'), GeomFromEWKT('SRID=4674;POINT (-37.68216 -4.050799)'))) / (select extract(epoch from '2026-07-23 14:57:15'::timestamp) - extract(epoch from '2026-07-23 14:57: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'), 47415, 'SRID=4674;POINT (-37.682179 -4.050793)', '2026-07-23 14:57:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68216 -4.050799)'), GeomFromEWKT('SRID=4674;POINT (-37.682179 -4.050793)'))) / (select extract(epoch from '2026-07-23 14:57:23'::timestamp) - extract(epoch from '2026-07-23 14:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68216 -4.050799)'), GeomFromEWKT('SRID=4674;POINT (-37.682179 -4.050793)'))) / (select extract(epoch from '2026-07-23 14:57:23'::timestamp) - extract(epoch from '2026-07-23 14:57: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'), 47415, 'SRID=4674;POINT (-37.682232 -4.05081)', '2026-07-23 14:57:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682179 -4.050793)'), GeomFromEWKT('SRID=4674;POINT (-37.682232 -4.05081)'))) / (select extract(epoch from '2026-07-23 14:57:37'::timestamp) - extract(epoch from '2026-07-23 14:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682179 -4.050793)'), GeomFromEWKT('SRID=4674;POINT (-37.682232 -4.05081)'))) / (select extract(epoch from '2026-07-23 14:57:37'::timestamp) - extract(epoch from '2026-07-23 14:57: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'), 47415, 'SRID=4674;POINT (-37.682274 -4.050831)', '2026-07-23 14:57:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682232 -4.05081)'), GeomFromEWKT('SRID=4674;POINT (-37.682274 -4.050831)'))) / (select extract(epoch from '2026-07-23 14:57:47'::timestamp) - extract(epoch from '2026-07-23 14:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682232 -4.05081)'), GeomFromEWKT('SRID=4674;POINT (-37.682274 -4.050831)'))) / (select extract(epoch from '2026-07-23 14:57:47'::timestamp) - extract(epoch from '2026-07-23 14:57: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'), 47415, 'SRID=4674;POINT (-37.682332 -4.050847)', '2026-07-23 14:58:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682274 -4.050831)'), GeomFromEWKT('SRID=4674;POINT (-37.682332 -4.050847)'))) / (select extract(epoch from '2026-07-23 14:58:01'::timestamp) - extract(epoch from '2026-07-23 14:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682274 -4.050831)'), GeomFromEWKT('SRID=4674;POINT (-37.682332 -4.050847)'))) / (select extract(epoch from '2026-07-23 14:58:01'::timestamp) - extract(epoch from '2026-07-23 14: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'), 47415, 'SRID=4674;POINT (-37.682357 -4.050824)', '2026-07-23 14:58:11', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682332 -4.050847)'), GeomFromEWKT('SRID=4674;POINT (-37.682357 -4.050824)'))) / (select extract(epoch from '2026-07-23 14:58:11'::timestamp) - extract(epoch from '2026-07-23 14:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682332 -4.050847)'), GeomFromEWKT('SRID=4674;POINT (-37.682357 -4.050824)'))) / (select extract(epoch from '2026-07-23 14:58:11'::timestamp) - extract(epoch from '2026-07-23 14:58: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'), 47415, 'SRID=4674;POINT (-37.682371 -4.05079)', '2026-07-23 14:58:20', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682357 -4.050824)'), GeomFromEWKT('SRID=4674;POINT (-37.682371 -4.05079)'))) / (select extract(epoch from '2026-07-23 14:58:20'::timestamp) - extract(epoch from '2026-07-23 14:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682357 -4.050824)'), GeomFromEWKT('SRID=4674;POINT (-37.682371 -4.05079)'))) / (select extract(epoch from '2026-07-23 14:58:20'::timestamp) - extract(epoch from '2026-07-23 14:58: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'), 47415, 'SRID=4674;POINT (-37.682382 -4.050752)', '2026-07-23 14:58:29', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682371 -4.05079)'), GeomFromEWKT('SRID=4674;POINT (-37.682382 -4.050752)'))) / (select extract(epoch from '2026-07-23 14:58:29'::timestamp) - extract(epoch from '2026-07-23 14:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682371 -4.05079)'), GeomFromEWKT('SRID=4674;POINT (-37.682382 -4.050752)'))) / (select extract(epoch from '2026-07-23 14:58:29'::timestamp) - extract(epoch from '2026-07-23 14:58: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'), 47415, 'SRID=4674;POINT (-37.682382 -4.050721)', '2026-07-23 14:58:36', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682382 -4.050752)'), GeomFromEWKT('SRID=4674;POINT (-37.682382 -4.050721)'))) / (select extract(epoch from '2026-07-23 14:58:36'::timestamp) - extract(epoch from '2026-07-23 14:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682382 -4.050752)'), GeomFromEWKT('SRID=4674;POINT (-37.682382 -4.050721)'))) / (select extract(epoch from '2026-07-23 14:58:36'::timestamp) - extract(epoch from '2026-07-23 14:58: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'), 47415, 'SRID=4674;POINT (-37.682388 -4.050696)', '2026-07-23 14:58:44', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682382 -4.050721)'), GeomFromEWKT('SRID=4674;POINT (-37.682388 -4.050696)'))) / (select extract(epoch from '2026-07-23 14:58:44'::timestamp) - extract(epoch from '2026-07-23 14:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682382 -4.050721)'), GeomFromEWKT('SRID=4674;POINT (-37.682388 -4.050696)'))) / (select extract(epoch from '2026-07-23 14:58:44'::timestamp) - extract(epoch from '2026-07-23 14:58: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'), 47415, 'SRID=4674;POINT (-37.682398 -4.050667)', '2026-07-23 14:58:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682388 -4.050696)'), GeomFromEWKT('SRID=4674;POINT (-37.682398 -4.050667)'))) / (select extract(epoch from '2026-07-23 14:58:53'::timestamp) - extract(epoch from '2026-07-23 14:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682388 -4.050696)'), GeomFromEWKT('SRID=4674;POINT (-37.682398 -4.050667)'))) / (select extract(epoch from '2026-07-23 14:58:53'::timestamp) - extract(epoch from '2026-07-23 14:58: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'), 47415, 'SRID=4674;POINT (-37.682396 -4.050654)', '2026-07-23 14:59:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682398 -4.050667)'), GeomFromEWKT('SRID=4674;POINT (-37.682396 -4.050654)'))) / (select extract(epoch from '2026-07-23 14:59:11'::timestamp) - extract(epoch from '2026-07-23 14:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682398 -4.050667)'), GeomFromEWKT('SRID=4674;POINT (-37.682396 -4.050654)'))) / (select extract(epoch from '2026-07-23 14:59:11'::timestamp) - extract(epoch from '2026-07-23 14:58: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'), 47415, 'SRID=4674;POINT (-37.682418 -4.050641)', '2026-07-23 14:59:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682396 -4.050654)'), GeomFromEWKT('SRID=4674;POINT (-37.682418 -4.050641)'))) / (select extract(epoch from '2026-07-23 14:59:38'::timestamp) - extract(epoch from '2026-07-23 14:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682396 -4.050654)'), GeomFromEWKT('SRID=4674;POINT (-37.682418 -4.050641)'))) / (select extract(epoch from '2026-07-23 14:59:38'::timestamp) - extract(epoch from '2026-07-23 14:59: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'), 47415, 'SRID=4674;POINT (-37.682437 -4.050634)', '2026-07-23 15:01:01', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682418 -4.050641)'), GeomFromEWKT('SRID=4674;POINT (-37.682437 -4.050634)'))) / (select extract(epoch from '2026-07-23 15:01:01'::timestamp) - extract(epoch from '2026-07-23 14:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682418 -4.050641)'), GeomFromEWKT('SRID=4674;POINT (-37.682437 -4.050634)'))) / (select extract(epoch from '2026-07-23 15:01:01'::timestamp) - extract(epoch from '2026-07-23 14:59: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'), 47415, 'SRID=4674;POINT (-37.682435 -4.050622)', '2026-07-23 15:01:24', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682437 -4.050634)'), GeomFromEWKT('SRID=4674;POINT (-37.682435 -4.050622)'))) / (select extract(epoch from '2026-07-23 15:01:24'::timestamp) - extract(epoch from '2026-07-23 15:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682437 -4.050634)'), GeomFromEWKT('SRID=4674;POINT (-37.682435 -4.050622)'))) / (select extract(epoch from '2026-07-23 15:01:24'::timestamp) - extract(epoch from '2026-07-23 15:01: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'), 47415, 'SRID=4674;POINT (-37.682431 -4.050616)', '2026-07-23 15:01:30', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682435 -4.050622)'), GeomFromEWKT('SRID=4674;POINT (-37.682431 -4.050616)'))) / (select extract(epoch from '2026-07-23 15:01:30'::timestamp) - extract(epoch from '2026-07-23 15:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682435 -4.050622)'), GeomFromEWKT('SRID=4674;POINT (-37.682431 -4.050616)'))) / (select extract(epoch from '2026-07-23 15:01:30'::timestamp) - extract(epoch from '2026-07-23 15:01: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'), 47415, 'SRID=4674;POINT (-37.682426 -4.050576)', '2026-07-23 15:01:49', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682431 -4.050616)'), GeomFromEWKT('SRID=4674;POINT (-37.682426 -4.050576)'))) / (select extract(epoch from '2026-07-23 15:01:49'::timestamp) - extract(epoch from '2026-07-23 15:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682431 -4.050616)'), GeomFromEWKT('SRID=4674;POINT (-37.682426 -4.050576)'))) / (select extract(epoch from '2026-07-23 15:01:49'::timestamp) - extract(epoch from '2026-07-23 15:01: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'), 47415, 'SRID=4674;POINT (-37.68241 -4.050561)', '2026-07-23 15:01:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682426 -4.050576)'), GeomFromEWKT('SRID=4674;POINT (-37.68241 -4.050561)'))) / (select extract(epoch from '2026-07-23 15:01:56'::timestamp) - extract(epoch from '2026-07-23 15:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682426 -4.050576)'), GeomFromEWKT('SRID=4674;POINT (-37.68241 -4.050561)'))) / (select extract(epoch from '2026-07-23 15:01:56'::timestamp) - extract(epoch from '2026-07-23 15: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'), 47415, 'SRID=4674;POINT (-37.682405 -4.050548)', '2026-07-23 15:02:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68241 -4.050561)'), GeomFromEWKT('SRID=4674;POINT (-37.682405 -4.050548)'))) / (select extract(epoch from '2026-07-23 15:02:12'::timestamp) - extract(epoch from '2026-07-23 15:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68241 -4.050561)'), GeomFromEWKT('SRID=4674;POINT (-37.682405 -4.050548)'))) / (select extract(epoch from '2026-07-23 15:02:12'::timestamp) - extract(epoch from '2026-07-23 15:01: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'), 47415, 'SRID=4674;POINT (-37.682418 -4.050556)', '2026-07-23 15:02:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682405 -4.050548)'), GeomFromEWKT('SRID=4674;POINT (-37.682418 -4.050556)'))) / (select extract(epoch from '2026-07-23 15:02:41'::timestamp) - extract(epoch from '2026-07-23 15:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682405 -4.050548)'), GeomFromEWKT('SRID=4674;POINT (-37.682418 -4.050556)'))) / (select extract(epoch from '2026-07-23 15:02:41'::timestamp) - extract(epoch from '2026-07-23 15:02: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'), 47415, 'SRID=4674;POINT (-37.682421 -4.050557)', '2026-07-23 15:02:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682418 -4.050556)'), GeomFromEWKT('SRID=4674;POINT (-37.682421 -4.050557)'))) / (select extract(epoch from '2026-07-23 15:02:47'::timestamp) - extract(epoch from '2026-07-23 15:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682418 -4.050556)'), GeomFromEWKT('SRID=4674;POINT (-37.682421 -4.050557)'))) / (select extract(epoch from '2026-07-23 15:02:47'::timestamp) - extract(epoch from '2026-07-23 15:02: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'), 47415, 'SRID=4674;POINT (-37.68243 -4.050598)', '2026-07-23 15:03:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682421 -4.050557)'), GeomFromEWKT('SRID=4674;POINT (-37.68243 -4.050598)'))) / (select extract(epoch from '2026-07-23 15:03:32'::timestamp) - extract(epoch from '2026-07-23 15:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682421 -4.050557)'), GeomFromEWKT('SRID=4674;POINT (-37.68243 -4.050598)'))) / (select extract(epoch from '2026-07-23 15:03:32'::timestamp) - extract(epoch from '2026-07-23 15:02: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'), 47415, 'SRID=4674;POINT (-37.682396 -4.050644)', '2026-07-23 15:03:44', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68243 -4.050598)'), GeomFromEWKT('SRID=4674;POINT (-37.682396 -4.050644)'))) / (select extract(epoch from '2026-07-23 15:03:44'::timestamp) - extract(epoch from '2026-07-23 15:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68243 -4.050598)'), GeomFromEWKT('SRID=4674;POINT (-37.682396 -4.050644)'))) / (select extract(epoch from '2026-07-23 15:03:44'::timestamp) - extract(epoch from '2026-07-23 15:03: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'), 47415, 'SRID=4674;POINT (-37.682326 -4.050727)', '2026-07-23 15:03:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682396 -4.050644)'), GeomFromEWKT('SRID=4674;POINT (-37.682326 -4.050727)'))) / (select extract(epoch from '2026-07-23 15:03:55'::timestamp) - extract(epoch from '2026-07-23 15:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682396 -4.050644)'), GeomFromEWKT('SRID=4674;POINT (-37.682326 -4.050727)'))) / (select extract(epoch from '2026-07-23 15:03:55'::timestamp) - extract(epoch from '2026-07-23 15:03: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'), 47415, 'SRID=4674;POINT (-37.682283 -4.050786)', '2026-07-23 15:04:01', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682326 -4.050727)'), GeomFromEWKT('SRID=4674;POINT (-37.682283 -4.050786)'))) / (select extract(epoch from '2026-07-23 15:04:01'::timestamp) - extract(epoch from '2026-07-23 15:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682326 -4.050727)'), GeomFromEWKT('SRID=4674;POINT (-37.682283 -4.050786)'))) / (select extract(epoch from '2026-07-23 15:04:01'::timestamp) - extract(epoch from '2026-07-23 15:03: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'), 47415, 'SRID=4674;POINT (-37.682261 -4.050815)', '2026-07-23 15:04:04', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682283 -4.050786)'), GeomFromEWKT('SRID=4674;POINT (-37.682261 -4.050815)'))) / (select extract(epoch from '2026-07-23 15:04:04'::timestamp) - extract(epoch from '2026-07-23 15:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682283 -4.050786)'), GeomFromEWKT('SRID=4674;POINT (-37.682261 -4.050815)'))) / (select extract(epoch from '2026-07-23 15:04:04'::timestamp) - extract(epoch from '2026-07-23 15:04: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'), 47415, 'SRID=4674;POINT (-37.682229 -4.050872)', '2026-07-23 15:04:10', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682261 -4.050815)'), GeomFromEWKT('SRID=4674;POINT (-37.682229 -4.050872)'))) / (select extract(epoch from '2026-07-23 15:04:10'::timestamp) - extract(epoch from '2026-07-23 15:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682261 -4.050815)'), GeomFromEWKT('SRID=4674;POINT (-37.682229 -4.050872)'))) / (select extract(epoch from '2026-07-23 15:04:10'::timestamp) - extract(epoch from '2026-07-23 15: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'), 47415, 'SRID=4674;POINT (-37.68219 -4.050935)', '2026-07-23 15:04:17', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682229 -4.050872)'), GeomFromEWKT('SRID=4674;POINT (-37.68219 -4.050935)'))) / (select extract(epoch from '2026-07-23 15:04:17'::timestamp) - extract(epoch from '2026-07-23 15:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682229 -4.050872)'), GeomFromEWKT('SRID=4674;POINT (-37.68219 -4.050935)'))) / (select extract(epoch from '2026-07-23 15:04:17'::timestamp) - extract(epoch from '2026-07-23 15:04: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'), 47415, 'SRID=4674;POINT (-37.682161 -4.050998)', '2026-07-23 15:04:24', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68219 -4.050935)'), GeomFromEWKT('SRID=4674;POINT (-37.682161 -4.050998)'))) / (select extract(epoch from '2026-07-23 15:04:24'::timestamp) - extract(epoch from '2026-07-23 15:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68219 -4.050935)'), GeomFromEWKT('SRID=4674;POINT (-37.682161 -4.050998)'))) / (select extract(epoch from '2026-07-23 15:04:24'::timestamp) - extract(epoch from '2026-07-23 15: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'), 47415, 'SRID=4674;POINT (-37.682157 -4.051008)', '2026-07-23 15:04:25', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682161 -4.050998)'), GeomFromEWKT('SRID=4674;POINT (-37.682157 -4.051008)'))) / (select extract(epoch from '2026-07-23 15:04:25'::timestamp) - extract(epoch from '2026-07-23 15:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682161 -4.050998)'), GeomFromEWKT('SRID=4674;POINT (-37.682157 -4.051008)'))) / (select extract(epoch from '2026-07-23 15:04:25'::timestamp) - extract(epoch from '2026-07-23 15:04: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'), 47415, 'SRID=4674;POINT (-37.682149 -4.051031)', '2026-07-23 15:04:27', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682157 -4.051008)'), GeomFromEWKT('SRID=4674;POINT (-37.682149 -4.051031)'))) / (select extract(epoch from '2026-07-23 15:04:27'::timestamp) - extract(epoch from '2026-07-23 15:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682157 -4.051008)'), GeomFromEWKT('SRID=4674;POINT (-37.682149 -4.051031)'))) / (select extract(epoch from '2026-07-23 15:04:27'::timestamp) - extract(epoch from '2026-07-23 15:04: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'), 47415, 'SRID=4674;POINT (-37.68214 -4.05105)', '2026-07-23 15:04:29', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682149 -4.051031)'), GeomFromEWKT('SRID=4674;POINT (-37.68214 -4.05105)'))) / (select extract(epoch from '2026-07-23 15:04:29'::timestamp) - extract(epoch from '2026-07-23 15:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682149 -4.051031)'), GeomFromEWKT('SRID=4674;POINT (-37.68214 -4.05105)'))) / (select extract(epoch from '2026-07-23 15:04:29'::timestamp) - extract(epoch from '2026-07-23 15:04: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'), 47415, 'SRID=4674;POINT (-37.682122 -4.051122)', '2026-07-23 15:04:36', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68214 -4.05105)'), GeomFromEWKT('SRID=4674;POINT (-37.682122 -4.051122)'))) / (select extract(epoch from '2026-07-23 15:04:36'::timestamp) - extract(epoch from '2026-07-23 15:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68214 -4.05105)'), GeomFromEWKT('SRID=4674;POINT (-37.682122 -4.051122)'))) / (select extract(epoch from '2026-07-23 15:04:36'::timestamp) - extract(epoch from '2026-07-23 15:04: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'), 47415, 'SRID=4674;POINT (-37.682092 -4.051191)', '2026-07-23 15:04:42', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682122 -4.051122)'), GeomFromEWKT('SRID=4674;POINT (-37.682092 -4.051191)'))) / (select extract(epoch from '2026-07-23 15:04:42'::timestamp) - extract(epoch from '2026-07-23 15:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682122 -4.051122)'), GeomFromEWKT('SRID=4674;POINT (-37.682092 -4.051191)'))) / (select extract(epoch from '2026-07-23 15:04:42'::timestamp) - extract(epoch from '2026-07-23 15:04: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'), 47415, 'SRID=4674;POINT (-37.682062 -4.051249)', '2026-07-23 15:04:47', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682092 -4.051191)'), GeomFromEWKT('SRID=4674;POINT (-37.682062 -4.051249)'))) / (select extract(epoch from '2026-07-23 15:04:47'::timestamp) - extract(epoch from '2026-07-23 15:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682092 -4.051191)'), GeomFromEWKT('SRID=4674;POINT (-37.682062 -4.051249)'))) / (select extract(epoch from '2026-07-23 15:04:47'::timestamp) - extract(epoch from '2026-07-23 15:04: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'), 47415, 'SRID=4674;POINT (-37.682059 -4.051261)', '2026-07-23 15:04:48', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682062 -4.051249)'), GeomFromEWKT('SRID=4674;POINT (-37.682059 -4.051261)'))) / (select extract(epoch from '2026-07-23 15:04:48'::timestamp) - extract(epoch from '2026-07-23 15:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682062 -4.051249)'), GeomFromEWKT('SRID=4674;POINT (-37.682059 -4.051261)'))) / (select extract(epoch from '2026-07-23 15:04:48'::timestamp) - extract(epoch from '2026-07-23 15:04: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'), 47415, 'SRID=4674;POINT (-37.682058 -4.05128)', '2026-07-23 15:04:50', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682059 -4.051261)'), GeomFromEWKT('SRID=4674;POINT (-37.682058 -4.05128)'))) / (select extract(epoch from '2026-07-23 15:04:50'::timestamp) - extract(epoch from '2026-07-23 15:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682059 -4.051261)'), GeomFromEWKT('SRID=4674;POINT (-37.682058 -4.05128)'))) / (select extract(epoch from '2026-07-23 15:04:50'::timestamp) - extract(epoch from '2026-07-23 15:04: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'), 47415, 'SRID=4674;POINT (-37.682058 -4.051313)', '2026-07-23 15:04:54', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682058 -4.05128)'), GeomFromEWKT('SRID=4674;POINT (-37.682058 -4.051313)'))) / (select extract(epoch from '2026-07-23 15:04:54'::timestamp) - extract(epoch from '2026-07-23 15:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682058 -4.05128)'), GeomFromEWKT('SRID=4674;POINT (-37.682058 -4.051313)'))) / (select extract(epoch from '2026-07-23 15:04:54'::timestamp) - extract(epoch from '2026-07-23 15:04: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'), 47415, 'SRID=4674;POINT (-37.682056 -4.051322)', '2026-07-23 15:04:55', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682058 -4.051313)'), GeomFromEWKT('SRID=4674;POINT (-37.682056 -4.051322)'))) / (select extract(epoch from '2026-07-23 15:04:55'::timestamp) - extract(epoch from '2026-07-23 15:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682058 -4.051313)'), GeomFromEWKT('SRID=4674;POINT (-37.682056 -4.051322)'))) / (select extract(epoch from '2026-07-23 15:04:55'::timestamp) - extract(epoch from '2026-07-23 15:04: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'), 47415, 'SRID=4674;POINT (-37.682058 -4.051367)', '2026-07-23 15:05:00', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682056 -4.051322)'), GeomFromEWKT('SRID=4674;POINT (-37.682058 -4.051367)'))) / (select extract(epoch from '2026-07-23 15:05:00'::timestamp) - extract(epoch from '2026-07-23 15:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682056 -4.051322)'), GeomFromEWKT('SRID=4674;POINT (-37.682058 -4.051367)'))) / (select extract(epoch from '2026-07-23 15:05:00'::timestamp) - extract(epoch from '2026-07-23 15:04: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'), 47415, 'SRID=4674;POINT (-37.682055 -4.051409)', '2026-07-23 15:05:08', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682058 -4.051367)'), GeomFromEWKT('SRID=4674;POINT (-37.682055 -4.051409)'))) / (select extract(epoch from '2026-07-23 15:05:08'::timestamp) - extract(epoch from '2026-07-23 15:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682058 -4.051367)'), GeomFromEWKT('SRID=4674;POINT (-37.682055 -4.051409)'))) / (select extract(epoch from '2026-07-23 15:05:08'::timestamp) - extract(epoch from '2026-07-23 15:05: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'), 47415, 'SRID=4674;POINT (-37.68206 -4.051447)', '2026-07-23 15:05:17', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682055 -4.051409)'), GeomFromEWKT('SRID=4674;POINT (-37.68206 -4.051447)'))) / (select extract(epoch from '2026-07-23 15:05:17'::timestamp) - extract(epoch from '2026-07-23 15:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682055 -4.051409)'), GeomFromEWKT('SRID=4674;POINT (-37.68206 -4.051447)'))) / (select extract(epoch from '2026-07-23 15:05:17'::timestamp) - extract(epoch from '2026-07-23 15:05: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'), 47415, 'SRID=4674;POINT (-37.68203 -4.051521)', '2026-07-23 15:05:29', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68206 -4.051447)'), GeomFromEWKT('SRID=4674;POINT (-37.68203 -4.051521)'))) / (select extract(epoch from '2026-07-23 15:05:29'::timestamp) - extract(epoch from '2026-07-23 15:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68206 -4.051447)'), GeomFromEWKT('SRID=4674;POINT (-37.68203 -4.051521)'))) / (select extract(epoch from '2026-07-23 15:05:29'::timestamp) - extract(epoch from '2026-07-23 15:05: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'), 47415, 'SRID=4674;POINT (-37.682008 -4.051546)', '2026-07-23 15:05:36', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68203 -4.051521)'), GeomFromEWKT('SRID=4674;POINT (-37.682008 -4.051546)'))) / (select extract(epoch from '2026-07-23 15:05:36'::timestamp) - extract(epoch from '2026-07-23 15:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68203 -4.051521)'), GeomFromEWKT('SRID=4674;POINT (-37.682008 -4.051546)'))) / (select extract(epoch from '2026-07-23 15:05:36'::timestamp) - extract(epoch from '2026-07-23 15:05: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'), 47415, 'SRID=4674;POINT (-37.681997 -4.051579)', '2026-07-23 15:05:45', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682008 -4.051546)'), GeomFromEWKT('SRID=4674;POINT (-37.681997 -4.051579)'))) / (select extract(epoch from '2026-07-23 15:05:45'::timestamp) - extract(epoch from '2026-07-23 15:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682008 -4.051546)'), GeomFromEWKT('SRID=4674;POINT (-37.681997 -4.051579)'))) / (select extract(epoch from '2026-07-23 15:05:45'::timestamp) - extract(epoch from '2026-07-23 15:05: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'), 47415, 'SRID=4674;POINT (-37.682003 -4.051596)', '2026-07-23 15:05:50', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681997 -4.051579)'), GeomFromEWKT('SRID=4674;POINT (-37.682003 -4.051596)'))) / (select extract(epoch from '2026-07-23 15:05:50'::timestamp) - extract(epoch from '2026-07-23 15:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681997 -4.051579)'), GeomFromEWKT('SRID=4674;POINT (-37.682003 -4.051596)'))) / (select extract(epoch from '2026-07-23 15:05:50'::timestamp) - extract(epoch from '2026-07-23 15:05: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'), 47415, 'SRID=4674;POINT (-37.682004 -4.051619)', '2026-07-23 15:06:04', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682003 -4.051596)'), GeomFromEWKT('SRID=4674;POINT (-37.682004 -4.051619)'))) / (select extract(epoch from '2026-07-23 15:06:04'::timestamp) - extract(epoch from '2026-07-23 15:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682003 -4.051596)'), GeomFromEWKT('SRID=4674;POINT (-37.682004 -4.051619)'))) / (select extract(epoch from '2026-07-23 15:06:04'::timestamp) - extract(epoch from '2026-07-23 15: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'), 47415, 'SRID=4674;POINT (-37.682017 -4.051635)', '2026-07-23 15:06:11', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682004 -4.051619)'), GeomFromEWKT('SRID=4674;POINT (-37.682017 -4.051635)'))) / (select extract(epoch from '2026-07-23 15:06:11'::timestamp) - extract(epoch from '2026-07-23 15:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682004 -4.051619)'), GeomFromEWKT('SRID=4674;POINT (-37.682017 -4.051635)'))) / (select extract(epoch from '2026-07-23 15:06:11'::timestamp) - extract(epoch from '2026-07-23 15:06: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'), 47415, 'SRID=4674;POINT (-37.682021 -4.051723)', '2026-07-23 15:06:41', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682017 -4.051635)'), GeomFromEWKT('SRID=4674;POINT (-37.682021 -4.051723)'))) / (select extract(epoch from '2026-07-23 15:06:41'::timestamp) - extract(epoch from '2026-07-23 15:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682017 -4.051635)'), GeomFromEWKT('SRID=4674;POINT (-37.682021 -4.051723)'))) / (select extract(epoch from '2026-07-23 15:06:41'::timestamp) - extract(epoch from '2026-07-23 15: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'), 47415, 'SRID=4674;POINT (-37.682028 -4.051739)', '2026-07-23 15:06:43', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682021 -4.051723)'), GeomFromEWKT('SRID=4674;POINT (-37.682028 -4.051739)'))) / (select extract(epoch from '2026-07-23 15:06:43'::timestamp) - extract(epoch from '2026-07-23 15:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682021 -4.051723)'), GeomFromEWKT('SRID=4674;POINT (-37.682028 -4.051739)'))) / (select extract(epoch from '2026-07-23 15:06:43'::timestamp) - extract(epoch from '2026-07-23 15:06: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'), 47415, 'SRID=4674;POINT (-37.682028 -4.051775)', '2026-07-23 15:06:47', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682028 -4.051739)'), GeomFromEWKT('SRID=4674;POINT (-37.682028 -4.051775)'))) / (select extract(epoch from '2026-07-23 15:06:47'::timestamp) - extract(epoch from '2026-07-23 15:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682028 -4.051739)'), GeomFromEWKT('SRID=4674;POINT (-37.682028 -4.051775)'))) / (select extract(epoch from '2026-07-23 15:06:47'::timestamp) - extract(epoch from '2026-07-23 15:06: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'), 47415, 'SRID=4674;POINT (-37.682039 -4.051834)', '2026-07-23 15:06:53', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682028 -4.051775)'), GeomFromEWKT('SRID=4674;POINT (-37.682039 -4.051834)'))) / (select extract(epoch from '2026-07-23 15:06:53'::timestamp) - extract(epoch from '2026-07-23 15:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682028 -4.051775)'), GeomFromEWKT('SRID=4674;POINT (-37.682039 -4.051834)'))) / (select extract(epoch from '2026-07-23 15:06:53'::timestamp) - extract(epoch from '2026-07-23 15: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'), 47415, 'SRID=4674;POINT (-37.682039 -4.05188)', '2026-07-23 15:06:58', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682039 -4.051834)'), GeomFromEWKT('SRID=4674;POINT (-37.682039 -4.05188)'))) / (select extract(epoch from '2026-07-23 15:06:58'::timestamp) - extract(epoch from '2026-07-23 15:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682039 -4.051834)'), GeomFromEWKT('SRID=4674;POINT (-37.682039 -4.05188)'))) / (select extract(epoch from '2026-07-23 15:06:58'::timestamp) - extract(epoch from '2026-07-23 15:06: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'), 47415, 'SRID=4674;POINT (-37.682026 -4.051916)', '2026-07-23 15:07:01', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682039 -4.05188)'), GeomFromEWKT('SRID=4674;POINT (-37.682026 -4.051916)'))) / (select extract(epoch from '2026-07-23 15:07:01'::timestamp) - extract(epoch from '2026-07-23 15:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682039 -4.05188)'), GeomFromEWKT('SRID=4674;POINT (-37.682026 -4.051916)'))) / (select extract(epoch from '2026-07-23 15:07:01'::timestamp) - extract(epoch from '2026-07-23 15: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'), 47415, 'SRID=4674;POINT (-37.682011 -4.052006)', '2026-07-23 15:07:08', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682026 -4.051916)'), GeomFromEWKT('SRID=4674;POINT (-37.682011 -4.052006)'))) / (select extract(epoch from '2026-07-23 15:07:08'::timestamp) - extract(epoch from '2026-07-23 15:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682026 -4.051916)'), GeomFromEWKT('SRID=4674;POINT (-37.682011 -4.052006)'))) / (select extract(epoch from '2026-07-23 15:07:08'::timestamp) - extract(epoch from '2026-07-23 15:07: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'), 47415, 'SRID=4674;POINT (-37.682 -4.052044)', '2026-07-23 15:07:11', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682011 -4.052006)'), GeomFromEWKT('SRID=4674;POINT (-37.682 -4.052044)'))) / (select extract(epoch from '2026-07-23 15:07:11'::timestamp) - extract(epoch from '2026-07-23 15:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682011 -4.052006)'), GeomFromEWKT('SRID=4674;POINT (-37.682 -4.052044)'))) / (select extract(epoch from '2026-07-23 15:07:11'::timestamp) - extract(epoch from '2026-07-23 15:07: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'), 47415, 'SRID=4674;POINT (-37.682008 -4.052071)', '2026-07-23 15:07:13', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682 -4.052044)'), GeomFromEWKT('SRID=4674;POINT (-37.682008 -4.052071)'))) / (select extract(epoch from '2026-07-23 15:07:13'::timestamp) - extract(epoch from '2026-07-23 15:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682 -4.052044)'), GeomFromEWKT('SRID=4674;POINT (-37.682008 -4.052071)'))) / (select extract(epoch from '2026-07-23 15:07:13'::timestamp) - extract(epoch from '2026-07-23 15:07: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'), 47415, 'SRID=4674;POINT (-37.682007 -4.052081)', '2026-07-23 15:07:14', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682008 -4.052071)'), GeomFromEWKT('SRID=4674;POINT (-37.682007 -4.052081)'))) / (select extract(epoch from '2026-07-23 15:07:14'::timestamp) - extract(epoch from '2026-07-23 15:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682008 -4.052071)'), GeomFromEWKT('SRID=4674;POINT (-37.682007 -4.052081)'))) / (select extract(epoch from '2026-07-23 15:07:14'::timestamp) - extract(epoch from '2026-07-23 15:07: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'), 47415, 'SRID=4674;POINT (-37.681982 -4.052143)', '2026-07-23 15:07:20', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682007 -4.052081)'), GeomFromEWKT('SRID=4674;POINT (-37.681982 -4.052143)'))) / (select extract(epoch from '2026-07-23 15:07:20'::timestamp) - extract(epoch from '2026-07-23 15:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682007 -4.052081)'), GeomFromEWKT('SRID=4674;POINT (-37.681982 -4.052143)'))) / (select extract(epoch from '2026-07-23 15:07:20'::timestamp) - extract(epoch from '2026-07-23 15:07: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'), 47415, 'SRID=4674;POINT (-37.681972 -4.052171)', '2026-07-23 15:07:23', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681982 -4.052143)'), GeomFromEWKT('SRID=4674;POINT (-37.681972 -4.052171)'))) / (select extract(epoch from '2026-07-23 15:07:23'::timestamp) - extract(epoch from '2026-07-23 15:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681982 -4.052143)'), GeomFromEWKT('SRID=4674;POINT (-37.681972 -4.052171)'))) / (select extract(epoch from '2026-07-23 15:07:23'::timestamp) - extract(epoch from '2026-07-23 15:07: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'), 47415, 'SRID=4674;POINT (-37.681974 -4.052197)', '2026-07-23 15:07:26', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681972 -4.052171)'), GeomFromEWKT('SRID=4674;POINT (-37.681974 -4.052197)'))) / (select extract(epoch from '2026-07-23 15:07:26'::timestamp) - extract(epoch from '2026-07-23 15:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681972 -4.052171)'), GeomFromEWKT('SRID=4674;POINT (-37.681974 -4.052197)'))) / (select extract(epoch from '2026-07-23 15:07:26'::timestamp) - extract(epoch from '2026-07-23 15:07: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'), 47415, 'SRID=4674;POINT (-37.681981 -4.052219)', '2026-07-23 15:07:28', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681974 -4.052197)'), GeomFromEWKT('SRID=4674;POINT (-37.681981 -4.052219)'))) / (select extract(epoch from '2026-07-23 15:07:28'::timestamp) - extract(epoch from '2026-07-23 15:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681974 -4.052197)'), GeomFromEWKT('SRID=4674;POINT (-37.681981 -4.052219)'))) / (select extract(epoch from '2026-07-23 15:07:28'::timestamp) - extract(epoch from '2026-07-23 15:07: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'), 47415, 'SRID=4674;POINT (-37.68199 -4.052267)', '2026-07-23 15:07:32', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681981 -4.052219)'), GeomFromEWKT('SRID=4674;POINT (-37.68199 -4.052267)'))) / (select extract(epoch from '2026-07-23 15:07:32'::timestamp) - extract(epoch from '2026-07-23 15:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681981 -4.052219)'), GeomFromEWKT('SRID=4674;POINT (-37.68199 -4.052267)'))) / (select extract(epoch from '2026-07-23 15:07:32'::timestamp) - extract(epoch from '2026-07-23 15: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'), 47415, 'SRID=4674;POINT (-37.682007 -4.052342)', '2026-07-23 15:07:38', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68199 -4.052267)'), GeomFromEWKT('SRID=4674;POINT (-37.682007 -4.052342)'))) / (select extract(epoch from '2026-07-23 15:07:38'::timestamp) - extract(epoch from '2026-07-23 15:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68199 -4.052267)'), GeomFromEWKT('SRID=4674;POINT (-37.682007 -4.052342)'))) / (select extract(epoch from '2026-07-23 15:07:38'::timestamp) - extract(epoch from '2026-07-23 15:07: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'), 47415, 'SRID=4674;POINT (-37.682013 -4.052432)', '2026-07-23 15:07:44', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682007 -4.052342)'), GeomFromEWKT('SRID=4674;POINT (-37.682013 -4.052432)'))) / (select extract(epoch from '2026-07-23 15:07:44'::timestamp) - extract(epoch from '2026-07-23 15:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682007 -4.052342)'), GeomFromEWKT('SRID=4674;POINT (-37.682013 -4.052432)'))) / (select extract(epoch from '2026-07-23 15:07:44'::timestamp) - extract(epoch from '2026-07-23 15: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'), 47415, 'SRID=4674;POINT (-37.682004 -4.052524)', '2026-07-23 15:07:50', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682013 -4.052432)'), GeomFromEWKT('SRID=4674;POINT (-37.682004 -4.052524)'))) / (select extract(epoch from '2026-07-23 15:07:50'::timestamp) - extract(epoch from '2026-07-23 15:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682013 -4.052432)'), GeomFromEWKT('SRID=4674;POINT (-37.682004 -4.052524)'))) / (select extract(epoch from '2026-07-23 15:07:50'::timestamp) - extract(epoch from '2026-07-23 15: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'), 47415, 'SRID=4674;POINT (-37.681988 -4.052639)', '2026-07-23 15:07:57', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682004 -4.052524)'), GeomFromEWKT('SRID=4674;POINT (-37.681988 -4.052639)'))) / (select extract(epoch from '2026-07-23 15:07:57'::timestamp) - extract(epoch from '2026-07-23 15:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682004 -4.052524)'), GeomFromEWKT('SRID=4674;POINT (-37.681988 -4.052639)'))) / (select extract(epoch from '2026-07-23 15:07:57'::timestamp) - extract(epoch from '2026-07-23 15: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'), 47415, 'SRID=4674;POINT (-37.681992 -4.052744)', '2026-07-23 15:08:04', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681988 -4.052639)'), GeomFromEWKT('SRID=4674;POINT (-37.681992 -4.052744)'))) / (select extract(epoch from '2026-07-23 15:08:04'::timestamp) - extract(epoch from '2026-07-23 15:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681988 -4.052639)'), GeomFromEWKT('SRID=4674;POINT (-37.681992 -4.052744)'))) / (select extract(epoch from '2026-07-23 15:08:04'::timestamp) - extract(epoch from '2026-07-23 15:07: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'), 47415, 'SRID=4674;POINT (-37.682004 -4.052828)', '2026-07-23 15:08:10', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681992 -4.052744)'), GeomFromEWKT('SRID=4674;POINT (-37.682004 -4.052828)'))) / (select extract(epoch from '2026-07-23 15:08:10'::timestamp) - extract(epoch from '2026-07-23 15:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681992 -4.052744)'), GeomFromEWKT('SRID=4674;POINT (-37.682004 -4.052828)'))) / (select extract(epoch from '2026-07-23 15:08:10'::timestamp) - extract(epoch from '2026-07-23 15:08: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'), 47415, 'SRID=4674;POINT (-37.682006 -4.052907)', '2026-07-23 15:08:16', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682004 -4.052828)'), GeomFromEWKT('SRID=4674;POINT (-37.682006 -4.052907)'))) / (select extract(epoch from '2026-07-23 15:08:16'::timestamp) - extract(epoch from '2026-07-23 15:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682004 -4.052828)'), GeomFromEWKT('SRID=4674;POINT (-37.682006 -4.052907)'))) / (select extract(epoch from '2026-07-23 15:08:16'::timestamp) - extract(epoch from '2026-07-23 15:08: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'), 47415, 'SRID=4674;POINT (-37.682007 -4.052922)', '2026-07-23 15:08:17', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682006 -4.052907)'), GeomFromEWKT('SRID=4674;POINT (-37.682007 -4.052922)'))) / (select extract(epoch from '2026-07-23 15:08:17'::timestamp) - extract(epoch from '2026-07-23 15:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682006 -4.052907)'), GeomFromEWKT('SRID=4674;POINT (-37.682007 -4.052922)'))) / (select extract(epoch from '2026-07-23 15:08:17'::timestamp) - extract(epoch from '2026-07-23 15:08: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'), 47415, 'SRID=4674;POINT (-37.682007 -4.052975)', '2026-07-23 15:08:21', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682007 -4.052922)'), GeomFromEWKT('SRID=4674;POINT (-37.682007 -4.052975)'))) / (select extract(epoch from '2026-07-23 15:08:21'::timestamp) - extract(epoch from '2026-07-23 15:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682007 -4.052922)'), GeomFromEWKT('SRID=4674;POINT (-37.682007 -4.052975)'))) / (select extract(epoch from '2026-07-23 15:08:21'::timestamp) - extract(epoch from '2026-07-23 15:08: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'), 47415, 'SRID=4674;POINT (-37.681997 -4.053068)', '2026-07-23 15:08:28', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682007 -4.052975)'), GeomFromEWKT('SRID=4674;POINT (-37.681997 -4.053068)'))) / (select extract(epoch from '2026-07-23 15:08:28'::timestamp) - extract(epoch from '2026-07-23 15:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682007 -4.052975)'), GeomFromEWKT('SRID=4674;POINT (-37.681997 -4.053068)'))) / (select extract(epoch from '2026-07-23 15:08:28'::timestamp) - extract(epoch from '2026-07-23 15:08: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'), 47415, 'SRID=4674;POINT (-37.682003 -4.05308)', '2026-07-23 15:08:29', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681997 -4.053068)'), GeomFromEWKT('SRID=4674;POINT (-37.682003 -4.05308)'))) / (select extract(epoch from '2026-07-23 15:08:29'::timestamp) - extract(epoch from '2026-07-23 15:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681997 -4.053068)'), GeomFromEWKT('SRID=4674;POINT (-37.682003 -4.05308)'))) / (select extract(epoch from '2026-07-23 15:08:29'::timestamp) - extract(epoch from '2026-07-23 15:08: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'), 47415, 'SRID=4674;POINT (-37.682008 -4.053092)', '2026-07-23 15:08:30', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682003 -4.05308)'), GeomFromEWKT('SRID=4674;POINT (-37.682008 -4.053092)'))) / (select extract(epoch from '2026-07-23 15:08:30'::timestamp) - extract(epoch from '2026-07-23 15:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682003 -4.05308)'), GeomFromEWKT('SRID=4674;POINT (-37.682008 -4.053092)'))) / (select extract(epoch from '2026-07-23 15:08:30'::timestamp) - extract(epoch from '2026-07-23 15:08: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'), 47415, 'SRID=4674;POINT (-37.682003 -4.053114)', '2026-07-23 15:08:32', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682008 -4.053092)'), GeomFromEWKT('SRID=4674;POINT (-37.682003 -4.053114)'))) / (select extract(epoch from '2026-07-23 15:08:32'::timestamp) - extract(epoch from '2026-07-23 15:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682008 -4.053092)'), GeomFromEWKT('SRID=4674;POINT (-37.682003 -4.053114)'))) / (select extract(epoch from '2026-07-23 15:08:32'::timestamp) - extract(epoch from '2026-07-23 15: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'), 47415, 'SRID=4674;POINT (-37.682005 -4.053125)', '2026-07-23 15:08:33', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682003 -4.053114)'), GeomFromEWKT('SRID=4674;POINT (-37.682005 -4.053125)'))) / (select extract(epoch from '2026-07-23 15:08:33'::timestamp) - extract(epoch from '2026-07-23 15:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682003 -4.053114)'), GeomFromEWKT('SRID=4674;POINT (-37.682005 -4.053125)'))) / (select extract(epoch from '2026-07-23 15:08:33'::timestamp) - extract(epoch from '2026-07-23 15:08: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'), 47415, 'SRID=4674;POINT (-37.682005 -4.053135)', '2026-07-23 15:08:34', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682005 -4.053125)'), GeomFromEWKT('SRID=4674;POINT (-37.682005 -4.053135)'))) / (select extract(epoch from '2026-07-23 15:08:34'::timestamp) - extract(epoch from '2026-07-23 15:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682005 -4.053125)'), GeomFromEWKT('SRID=4674;POINT (-37.682005 -4.053135)'))) / (select extract(epoch from '2026-07-23 15:08:34'::timestamp) - extract(epoch from '2026-07-23 15: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'), 47415, 'SRID=4674;POINT (-37.682006 -4.053154)', '2026-07-23 15:08:36', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682005 -4.053135)'), GeomFromEWKT('SRID=4674;POINT (-37.682006 -4.053154)'))) / (select extract(epoch from '2026-07-23 15:08:36'::timestamp) - extract(epoch from '2026-07-23 15:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682005 -4.053135)'), GeomFromEWKT('SRID=4674;POINT (-37.682006 -4.053154)'))) / (select extract(epoch from '2026-07-23 15:08:36'::timestamp) - extract(epoch from '2026-07-23 15:08: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'), 47415, 'SRID=4674;POINT (-37.681995 -4.053176)', '2026-07-23 15:08:38', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682006 -4.053154)'), GeomFromEWKT('SRID=4674;POINT (-37.681995 -4.053176)'))) / (select extract(epoch from '2026-07-23 15:08:38'::timestamp) - extract(epoch from '2026-07-23 15:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.682006 -4.053154)'), GeomFromEWKT('SRID=4674;POINT (-37.681995 -4.053176)'))) / (select extract(epoch from '2026-07-23 15:08:38'::timestamp) - extract(epoch from '2026-07-23 15:08: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'), 47415, 'SRID=4674;POINT (-37.681996 -4.053188)', '2026-07-23 15:08:39', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681995 -4.053176)'), GeomFromEWKT('SRID=4674;POINT (-37.681996 -4.053188)'))) / (select extract(epoch from '2026-07-23 15:08:39'::timestamp) - extract(epoch from '2026-07-23 15:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681995 -4.053176)'), GeomFromEWKT('SRID=4674;POINT (-37.681996 -4.053188)'))) / (select extract(epoch from '2026-07-23 15:08:39'::timestamp) - extract(epoch from '2026-07-23 15:08: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'), 47415, 'SRID=4674;POINT (-37.681992 -4.053213)', '2026-07-23 15:08:42', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681996 -4.053188)'), GeomFromEWKT('SRID=4674;POINT (-37.681992 -4.053213)'))) / (select extract(epoch from '2026-07-23 15:08:42'::timestamp) - extract(epoch from '2026-07-23 15:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681996 -4.053188)'), GeomFromEWKT('SRID=4674;POINT (-37.681992 -4.053213)'))) / (select extract(epoch from '2026-07-23 15:08:42'::timestamp) - extract(epoch from '2026-07-23 15: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'), 47415, 'SRID=4674;POINT (-37.681992 -4.053231)', '2026-07-23 15:08:44', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681992 -4.053213)'), GeomFromEWKT('SRID=4674;POINT (-37.681992 -4.053231)'))) / (select extract(epoch from '2026-07-23 15:08:44'::timestamp) - extract(epoch from '2026-07-23 15:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681992 -4.053213)'), GeomFromEWKT('SRID=4674;POINT (-37.681992 -4.053231)'))) / (select extract(epoch from '2026-07-23 15:08:44'::timestamp) - extract(epoch from '2026-07-23 15:08: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'), 47415, 'SRID=4674;POINT (-37.681996 -4.053254)', '2026-07-23 15:08:46', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681992 -4.053231)'), GeomFromEWKT('SRID=4674;POINT (-37.681996 -4.053254)'))) / (select extract(epoch from '2026-07-23 15:08:46'::timestamp) - extract(epoch from '2026-07-23 15:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681992 -4.053231)'), GeomFromEWKT('SRID=4674;POINT (-37.681996 -4.053254)'))) / (select extract(epoch from '2026-07-23 15:08:46'::timestamp) - extract(epoch from '2026-07-23 15:08: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'), 47415, 'SRID=4674;POINT (-37.681996 -4.053283)', '2026-07-23 15:08:50', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681996 -4.053254)'), GeomFromEWKT('SRID=4674;POINT (-37.681996 -4.053283)'))) / (select extract(epoch from '2026-07-23 15:08:50'::timestamp) - extract(epoch from '2026-07-23 15:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681996 -4.053254)'), GeomFromEWKT('SRID=4674;POINT (-37.681996 -4.053283)'))) / (select extract(epoch from '2026-07-23 15:08:50'::timestamp) - extract(epoch from '2026-07-23 15:08: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'), 47415, 'SRID=4674;POINT (-37.681993 -4.053334)', '2026-07-23 15:08:57', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681996 -4.053283)'), GeomFromEWKT('SRID=4674;POINT (-37.681993 -4.053334)'))) / (select extract(epoch from '2026-07-23 15:08:57'::timestamp) - extract(epoch from '2026-07-23 15:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681996 -4.053283)'), GeomFromEWKT('SRID=4674;POINT (-37.681993 -4.053334)'))) / (select extract(epoch from '2026-07-23 15:08:57'::timestamp) - extract(epoch from '2026-07-23 15:08: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'), 47415, 'SRID=4674;POINT (-37.68199 -4.053341)', '2026-07-23 15:08:58', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681993 -4.053334)'), GeomFromEWKT('SRID=4674;POINT (-37.68199 -4.053341)'))) / (select extract(epoch from '2026-07-23 15:08:58'::timestamp) - extract(epoch from '2026-07-23 15:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681993 -4.053334)'), GeomFromEWKT('SRID=4674;POINT (-37.68199 -4.053341)'))) / (select extract(epoch from '2026-07-23 15:08:58'::timestamp) - extract(epoch from '2026-07-23 15:08: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'), 47415, 'SRID=4674;POINT (-37.681973 -4.053387)', '2026-07-23 15:09:06', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68199 -4.053341)'), GeomFromEWKT('SRID=4674;POINT (-37.681973 -4.053387)'))) / (select extract(epoch from '2026-07-23 15:09:06'::timestamp) - extract(epoch from '2026-07-23 15:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.68199 -4.053341)'), GeomFromEWKT('SRID=4674;POINT (-37.681973 -4.053387)'))) / (select extract(epoch from '2026-07-23 15:09:06'::timestamp) - extract(epoch from '2026-07-23 15:08: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'), 47415, 'SRID=4674;POINT (-37.681944 -4.05345)', '2026-07-23 15:09:16', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681973 -4.053387)'), GeomFromEWKT('SRID=4674;POINT (-37.681944 -4.05345)'))) / (select extract(epoch from '2026-07-23 15:09:16'::timestamp) - extract(epoch from '2026-07-23 15:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681973 -4.053387)'), GeomFromEWKT('SRID=4674;POINT (-37.681944 -4.05345)'))) / (select extract(epoch from '2026-07-23 15:09:16'::timestamp) - extract(epoch from '2026-07-23 15:09: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'), 47415, 'SRID=4674;POINT (-37.681899 -4.053518)', '2026-07-23 15:09:26', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681944 -4.05345)'), GeomFromEWKT('SRID=4674;POINT (-37.681899 -4.053518)'))) / (select extract(epoch from '2026-07-23 15:09:26'::timestamp) - extract(epoch from '2026-07-23 15:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681944 -4.05345)'), GeomFromEWKT('SRID=4674;POINT (-37.681899 -4.053518)'))) / (select extract(epoch from '2026-07-23 15:09:26'::timestamp) - extract(epoch from '2026-07-23 15: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'), 47415, 'SRID=4674;POINT (-37.681851 -4.0536)', '2026-07-23 15:09:39', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681899 -4.053518)'), GeomFromEWKT('SRID=4674;POINT (-37.681851 -4.0536)'))) / (select extract(epoch from '2026-07-23 15:09:39'::timestamp) - extract(epoch from '2026-07-23 15:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681899 -4.053518)'), GeomFromEWKT('SRID=4674;POINT (-37.681851 -4.0536)'))) / (select extract(epoch from '2026-07-23 15:09:39'::timestamp) - extract(epoch from '2026-07-23 15: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'), 47415, 'SRID=4674;POINT (-37.681807 -4.053649)', '2026-07-23 15:09:51', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681851 -4.0536)'), GeomFromEWKT('SRID=4674;POINT (-37.681807 -4.053649)'))) / (select extract(epoch from '2026-07-23 15:09:51'::timestamp) - extract(epoch from '2026-07-23 15:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681851 -4.0536)'), GeomFromEWKT('SRID=4674;POINT (-37.681807 -4.053649)'))) / (select extract(epoch from '2026-07-23 15:09:51'::timestamp) - extract(epoch from '2026-07-23 15:09: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'), 47415, 'SRID=4674;POINT (-37.681759 -4.053713)', '2026-07-23 15:10:03', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681807 -4.053649)'), GeomFromEWKT('SRID=4674;POINT (-37.681759 -4.053713)'))) / (select extract(epoch from '2026-07-23 15:10:03'::timestamp) - extract(epoch from '2026-07-23 15:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681807 -4.053649)'), GeomFromEWKT('SRID=4674;POINT (-37.681759 -4.053713)'))) / (select extract(epoch from '2026-07-23 15:10:03'::timestamp) - extract(epoch from '2026-07-23 15: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'), 47415, 'SRID=4674;POINT (-37.681751 -4.053723)', '2026-07-23 15:10:13', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681759 -4.053713)'), GeomFromEWKT('SRID=4674;POINT (-37.681751 -4.053723)'))) / (select extract(epoch from '2026-07-23 15:10:13'::timestamp) - extract(epoch from '2026-07-23 15:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681759 -4.053713)'), GeomFromEWKT('SRID=4674;POINT (-37.681751 -4.053723)'))) / (select extract(epoch from '2026-07-23 15:10:13'::timestamp) - extract(epoch from '2026-07-23 15:10: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'), 47415, 'SRID=4674;POINT (-37.681745 -4.053746)', '2026-07-23 15:10:20', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681751 -4.053723)'), GeomFromEWKT('SRID=4674;POINT (-37.681745 -4.053746)'))) / (select extract(epoch from '2026-07-23 15:10:20'::timestamp) - extract(epoch from '2026-07-23 15:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681751 -4.053723)'), GeomFromEWKT('SRID=4674;POINT (-37.681745 -4.053746)'))) / (select extract(epoch from '2026-07-23 15:10:20'::timestamp) - extract(epoch from '2026-07-23 15:10: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'), 47415, 'SRID=4674;POINT (-37.681724 -4.053794)', '2026-07-23 15:10:34', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681745 -4.053746)'), GeomFromEWKT('SRID=4674;POINT (-37.681724 -4.053794)'))) / (select extract(epoch from '2026-07-23 15:10:34'::timestamp) - extract(epoch from '2026-07-23 15:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681745 -4.053746)'), GeomFromEWKT('SRID=4674;POINT (-37.681724 -4.053794)'))) / (select extract(epoch from '2026-07-23 15:10:34'::timestamp) - extract(epoch from '2026-07-23 15:10: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'), 47415, 'SRID=4674;POINT (-37.681703 -4.053827)', '2026-07-23 15:10:44', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681724 -4.053794)'), GeomFromEWKT('SRID=4674;POINT (-37.681703 -4.053827)'))) / (select extract(epoch from '2026-07-23 15:10:44'::timestamp) - extract(epoch from '2026-07-23 15:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681724 -4.053794)'), GeomFromEWKT('SRID=4674;POINT (-37.681703 -4.053827)'))) / (select extract(epoch from '2026-07-23 15:10:44'::timestamp) - extract(epoch from '2026-07-23 15: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'), 47415, 'SRID=4674;POINT (-37.681671 -4.053882)', '2026-07-23 15:10:57', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681703 -4.053827)'), GeomFromEWKT('SRID=4674;POINT (-37.681671 -4.053882)'))) / (select extract(epoch from '2026-07-23 15:10:57'::timestamp) - extract(epoch from '2026-07-23 15:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681703 -4.053827)'), GeomFromEWKT('SRID=4674;POINT (-37.681671 -4.053882)'))) / (select extract(epoch from '2026-07-23 15:10:57'::timestamp) - extract(epoch from '2026-07-23 15:10: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'), 47415, 'SRID=4674;POINT (-37.681679 -4.053915)', '2026-07-23 15:11:07', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681671 -4.053882)'), GeomFromEWKT('SRID=4674;POINT (-37.681679 -4.053915)'))) / (select extract(epoch from '2026-07-23 15:11:07'::timestamp) - extract(epoch from '2026-07-23 15:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681671 -4.053882)'), GeomFromEWKT('SRID=4674;POINT (-37.681679 -4.053915)'))) / (select extract(epoch from '2026-07-23 15:11:07'::timestamp) - extract(epoch from '2026-07-23 15:10: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'), 47415, 'SRID=4674;POINT (-37.681648 -4.053962)', '2026-07-23 15:11:27', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681679 -4.053915)'), GeomFromEWKT('SRID=4674;POINT (-37.681648 -4.053962)'))) / (select extract(epoch from '2026-07-23 15:11:27'::timestamp) - extract(epoch from '2026-07-23 15:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681679 -4.053915)'), GeomFromEWKT('SRID=4674;POINT (-37.681648 -4.053962)'))) / (select extract(epoch from '2026-07-23 15:11:27'::timestamp) - extract(epoch from '2026-07-23 15:11: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'), 47415, 'SRID=4674;POINT (-37.681627 -4.054006)', '2026-07-23 15:11:59', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681648 -4.053962)'), GeomFromEWKT('SRID=4674;POINT (-37.681627 -4.054006)'))) / (select extract(epoch from '2026-07-23 15:11:59'::timestamp) - extract(epoch from '2026-07-23 15:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681648 -4.053962)'), GeomFromEWKT('SRID=4674;POINT (-37.681627 -4.054006)'))) / (select extract(epoch from '2026-07-23 15:11:59'::timestamp) - extract(epoch from '2026-07-23 15:11: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'), 47415, 'SRID=4674;POINT (-37.681582 -4.054047)', '2026-07-23 15:12:09', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681627 -4.054006)'), GeomFromEWKT('SRID=4674;POINT (-37.681582 -4.054047)'))) / (select extract(epoch from '2026-07-23 15:12:09'::timestamp) - extract(epoch from '2026-07-23 15:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681627 -4.054006)'), GeomFromEWKT('SRID=4674;POINT (-37.681582 -4.054047)'))) / (select extract(epoch from '2026-07-23 15:12:09'::timestamp) - extract(epoch from '2026-07-23 15: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'), 47415, 'SRID=4674;POINT (-37.681562 -4.054052)', '2026-07-23 15:12:16', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681582 -4.054047)'), GeomFromEWKT('SRID=4674;POINT (-37.681562 -4.054052)'))) / (select extract(epoch from '2026-07-23 15:12:16'::timestamp) - extract(epoch from '2026-07-23 15:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681582 -4.054047)'), GeomFromEWKT('SRID=4674;POINT (-37.681562 -4.054052)'))) / (select extract(epoch from '2026-07-23 15:12:16'::timestamp) - extract(epoch from '2026-07-23 15:12: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'), 47415, 'SRID=4674;POINT (-37.681595 -4.054048)', '2026-07-23 15:12:29', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681562 -4.054052)'), GeomFromEWKT('SRID=4674;POINT (-37.681595 -4.054048)'))) / (select extract(epoch from '2026-07-23 15:12:29'::timestamp) - extract(epoch from '2026-07-23 15:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681562 -4.054052)'), GeomFromEWKT('SRID=4674;POINT (-37.681595 -4.054048)'))) / (select extract(epoch from '2026-07-23 15:12:29'::timestamp) - extract(epoch from '2026-07-23 15:12: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'), 47415, 'SRID=4674;POINT (-37.681642 -4.054046)', '2026-07-23 15:12:38', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681595 -4.054048)'), GeomFromEWKT('SRID=4674;POINT (-37.681642 -4.054046)'))) / (select extract(epoch from '2026-07-23 15:12:38'::timestamp) - extract(epoch from '2026-07-23 15:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681595 -4.054048)'), GeomFromEWKT('SRID=4674;POINT (-37.681642 -4.054046)'))) / (select extract(epoch from '2026-07-23 15:12:38'::timestamp) - extract(epoch from '2026-07-23 15: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'), 47415, 'SRID=4674;POINT (-37.681703 -4.054057)', '2026-07-23 15:12:49', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681642 -4.054046)'), GeomFromEWKT('SRID=4674;POINT (-37.681703 -4.054057)'))) / (select extract(epoch from '2026-07-23 15:12:49'::timestamp) - extract(epoch from '2026-07-23 15:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.681642 -4.054046)'), GeomFromEWKT('SRID=4674;POINT (-37.681703 -4.054057)'))) / (select extract(epoch from '2026-07-23 15:12:49'::timestamp) - extract(epoch from '2026-07-23 15:12:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
