 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.303832 -3.377813)', '2026-07-03 08:02:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.303779 -3.377904)'), GeomFromEWKT('SRID=4674;POINT (-38.303832 -3.377813)'))) / (select extract(epoch from '2026-07-03 08:02:50'::timestamp) - extract(epoch from '2026-07-03 08:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.303779 -3.377904)'), GeomFromEWKT('SRID=4674;POINT (-38.303832 -3.377813)'))) / (select extract(epoch from '2026-07-03 08:02:50'::timestamp) - extract(epoch from '2026-07-03 08:02: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'), 47390, 'SRID=4674;POINT (-38.303889 -3.377712)', '2026-07-03 08:02:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.303832 -3.377813)'), GeomFromEWKT('SRID=4674;POINT (-38.303889 -3.377712)'))) / (select extract(epoch from '2026-07-03 08:02:55'::timestamp) - extract(epoch from '2026-07-03 08:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.303832 -3.377813)'), GeomFromEWKT('SRID=4674;POINT (-38.303889 -3.377712)'))) / (select extract(epoch from '2026-07-03 08:02:55'::timestamp) - extract(epoch from '2026-07-03 08:02: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'), 47390, 'SRID=4674;POINT (-38.303947 -3.377615)', '2026-07-03 08:03:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.303889 -3.377712)'), GeomFromEWKT('SRID=4674;POINT (-38.303947 -3.377615)'))) / (select extract(epoch from '2026-07-03 08:03:00'::timestamp) - extract(epoch from '2026-07-03 08:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.303889 -3.377712)'), GeomFromEWKT('SRID=4674;POINT (-38.303947 -3.377615)'))) / (select extract(epoch from '2026-07-03 08:03:00'::timestamp) - extract(epoch from '2026-07-03 08:02: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'), 47390, 'SRID=4674;POINT (-38.303996 -3.37751)', '2026-07-03 08:03:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.303947 -3.377615)'), GeomFromEWKT('SRID=4674;POINT (-38.303996 -3.37751)'))) / (select extract(epoch from '2026-07-03 08:03:05'::timestamp) - extract(epoch from '2026-07-03 08:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.303947 -3.377615)'), GeomFromEWKT('SRID=4674;POINT (-38.303996 -3.37751)'))) / (select extract(epoch from '2026-07-03 08:03:05'::timestamp) - extract(epoch from '2026-07-03 08:03: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'), 47390, 'SRID=4674;POINT (-38.304038 -3.37741)', '2026-07-03 08:03:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.303996 -3.37751)'), GeomFromEWKT('SRID=4674;POINT (-38.304038 -3.37741)'))) / (select extract(epoch from '2026-07-03 08:03:10'::timestamp) - extract(epoch from '2026-07-03 08:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.303996 -3.37751)'), GeomFromEWKT('SRID=4674;POINT (-38.304038 -3.37741)'))) / (select extract(epoch from '2026-07-03 08:03:10'::timestamp) - extract(epoch from '2026-07-03 08:03: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'), 47390, 'SRID=4674;POINT (-38.304077 -3.377291)', '2026-07-03 08:03:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304038 -3.37741)'), GeomFromEWKT('SRID=4674;POINT (-38.304077 -3.377291)'))) / (select extract(epoch from '2026-07-03 08:03:16'::timestamp) - extract(epoch from '2026-07-03 08:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304038 -3.37741)'), GeomFromEWKT('SRID=4674;POINT (-38.304077 -3.377291)'))) / (select extract(epoch from '2026-07-03 08:03:16'::timestamp) - extract(epoch from '2026-07-03 08:03:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.304107 -3.377199)', '2026-07-03 08:03:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304077 -3.377291)'), GeomFromEWKT('SRID=4674;POINT (-38.304107 -3.377199)'))) / (select extract(epoch from '2026-07-03 08:03:20'::timestamp) - extract(epoch from '2026-07-03 08:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304077 -3.377291)'), GeomFromEWKT('SRID=4674;POINT (-38.304107 -3.377199)'))) / (select extract(epoch from '2026-07-03 08:03:20'::timestamp) - extract(epoch from '2026-07-03 08:03: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'), 47390, 'SRID=4674;POINT (-38.304158 -3.377078)', '2026-07-03 08:03:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304107 -3.377199)'), GeomFromEWKT('SRID=4674;POINT (-38.304158 -3.377078)'))) / (select extract(epoch from '2026-07-03 08:03:26'::timestamp) - extract(epoch from '2026-07-03 08:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304107 -3.377199)'), GeomFromEWKT('SRID=4674;POINT (-38.304158 -3.377078)'))) / (select extract(epoch from '2026-07-03 08:03:26'::timestamp) - extract(epoch from '2026-07-03 08:03: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'), 47390, 'SRID=4674;POINT (-38.304202 -3.376996)', '2026-07-03 08:03:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304158 -3.377078)'), GeomFromEWKT('SRID=4674;POINT (-38.304202 -3.376996)'))) / (select extract(epoch from '2026-07-03 08:03:30'::timestamp) - extract(epoch from '2026-07-03 08:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304158 -3.377078)'), GeomFromEWKT('SRID=4674;POINT (-38.304202 -3.376996)'))) / (select extract(epoch from '2026-07-03 08:03:30'::timestamp) - extract(epoch from '2026-07-03 08:03:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.304224 -3.376934)', '2026-07-03 08:03:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304202 -3.376996)'), GeomFromEWKT('SRID=4674;POINT (-38.304224 -3.376934)'))) / (select extract(epoch from '2026-07-03 08:03:33'::timestamp) - extract(epoch from '2026-07-03 08:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304202 -3.376996)'), GeomFromEWKT('SRID=4674;POINT (-38.304224 -3.376934)'))) / (select extract(epoch from '2026-07-03 08:03:33'::timestamp) - extract(epoch from '2026-07-03 08:03: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'), 47390, 'SRID=4674;POINT (-38.304251 -3.376896)', '2026-07-03 08:03:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304224 -3.376934)'), GeomFromEWKT('SRID=4674;POINT (-38.304251 -3.376896)'))) / (select extract(epoch from '2026-07-03 08:03:35'::timestamp) - extract(epoch from '2026-07-03 08:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304224 -3.376934)'), GeomFromEWKT('SRID=4674;POINT (-38.304251 -3.376896)'))) / (select extract(epoch from '2026-07-03 08:03:35'::timestamp) - extract(epoch from '2026-07-03 08:03: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'), 47390, 'SRID=4674;POINT (-38.304314 -3.376795)', '2026-07-03 08:03:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304251 -3.376896)'), GeomFromEWKT('SRID=4674;POINT (-38.304314 -3.376795)'))) / (select extract(epoch from '2026-07-03 08:03:40'::timestamp) - extract(epoch from '2026-07-03 08:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304251 -3.376896)'), GeomFromEWKT('SRID=4674;POINT (-38.304314 -3.376795)'))) / (select extract(epoch from '2026-07-03 08:03:40'::timestamp) - extract(epoch from '2026-07-03 08:03: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'), 47390, 'SRID=4674;POINT (-38.30438 -3.376676)', '2026-07-03 08:03:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304314 -3.376795)'), GeomFromEWKT('SRID=4674;POINT (-38.30438 -3.376676)'))) / (select extract(epoch from '2026-07-03 08:03:46'::timestamp) - extract(epoch from '2026-07-03 08:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304314 -3.376795)'), GeomFromEWKT('SRID=4674;POINT (-38.30438 -3.376676)'))) / (select extract(epoch from '2026-07-03 08:03:46'::timestamp) - extract(epoch from '2026-07-03 08:03: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'), 47390, 'SRID=4674;POINT (-38.304435 -3.376591)', '2026-07-03 08:03:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30438 -3.376676)'), GeomFromEWKT('SRID=4674;POINT (-38.304435 -3.376591)'))) / (select extract(epoch from '2026-07-03 08:03:50'::timestamp) - extract(epoch from '2026-07-03 08:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30438 -3.376676)'), GeomFromEWKT('SRID=4674;POINT (-38.304435 -3.376591)'))) / (select extract(epoch from '2026-07-03 08:03:50'::timestamp) - extract(epoch from '2026-07-03 08:03: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'), 47390, 'SRID=4674;POINT (-38.304488 -3.376485)', '2026-07-03 08:03:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304435 -3.376591)'), GeomFromEWKT('SRID=4674;POINT (-38.304488 -3.376485)'))) / (select extract(epoch from '2026-07-03 08:03:55'::timestamp) - extract(epoch from '2026-07-03 08:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304435 -3.376591)'), GeomFromEWKT('SRID=4674;POINT (-38.304488 -3.376485)'))) / (select extract(epoch from '2026-07-03 08:03:55'::timestamp) - extract(epoch from '2026-07-03 08:03: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'), 47390, 'SRID=4674;POINT (-38.304526 -3.376381)', '2026-07-03 08:04:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304488 -3.376485)'), GeomFromEWKT('SRID=4674;POINT (-38.304526 -3.376381)'))) / (select extract(epoch from '2026-07-03 08:04:00'::timestamp) - extract(epoch from '2026-07-03 08:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304488 -3.376485)'), GeomFromEWKT('SRID=4674;POINT (-38.304526 -3.376381)'))) / (select extract(epoch from '2026-07-03 08:04:00'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.304591 -3.376227)', '2026-07-03 08:04:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304526 -3.376381)'), GeomFromEWKT('SRID=4674;POINT (-38.304591 -3.376227)'))) / (select extract(epoch from '2026-07-03 08:04:07'::timestamp) - extract(epoch from '2026-07-03 08:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304526 -3.376381)'), GeomFromEWKT('SRID=4674;POINT (-38.304591 -3.376227)'))) / (select extract(epoch from '2026-07-03 08:04:07'::timestamp) - extract(epoch from '2026-07-03 08:04: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'), 47390, 'SRID=4674;POINT (-38.30463 -3.376112)', '2026-07-03 08:04:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304591 -3.376227)'), GeomFromEWKT('SRID=4674;POINT (-38.30463 -3.376112)'))) / (select extract(epoch from '2026-07-03 08:04:12'::timestamp) - extract(epoch from '2026-07-03 08:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304591 -3.376227)'), GeomFromEWKT('SRID=4674;POINT (-38.30463 -3.376112)'))) / (select extract(epoch from '2026-07-03 08:04:12'::timestamp) - extract(epoch from '2026-07-03 08:04:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.304687 -3.375969)', '2026-07-03 08:04:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30463 -3.376112)'), GeomFromEWKT('SRID=4674;POINT (-38.304687 -3.375969)'))) / (select extract(epoch from '2026-07-03 08:04:18'::timestamp) - extract(epoch from '2026-07-03 08:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30463 -3.376112)'), GeomFromEWKT('SRID=4674;POINT (-38.304687 -3.375969)'))) / (select extract(epoch from '2026-07-03 08:04:18'::timestamp) - extract(epoch from '2026-07-03 08:04: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'), 47390, 'SRID=4674;POINT (-38.304733 -3.37586)', '2026-07-03 08:04:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304687 -3.375969)'), GeomFromEWKT('SRID=4674;POINT (-38.304733 -3.37586)'))) / (select extract(epoch from '2026-07-03 08:04:23'::timestamp) - extract(epoch from '2026-07-03 08:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304687 -3.375969)'), GeomFromEWKT('SRID=4674;POINT (-38.304733 -3.37586)'))) / (select extract(epoch from '2026-07-03 08:04:23'::timestamp) - extract(epoch from '2026-07-03 08:04: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'), 47390, 'SRID=4674;POINT (-38.30478 -3.375748)', '2026-07-03 08:04:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304733 -3.37586)'), GeomFromEWKT('SRID=4674;POINT (-38.30478 -3.375748)'))) / (select extract(epoch from '2026-07-03 08:04:28'::timestamp) - extract(epoch from '2026-07-03 08:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304733 -3.37586)'), GeomFromEWKT('SRID=4674;POINT (-38.30478 -3.375748)'))) / (select extract(epoch from '2026-07-03 08:04:28'::timestamp) - extract(epoch from '2026-07-03 08:04: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'), 47390, 'SRID=4674;POINT (-38.304829 -3.375639)', '2026-07-03 08:04:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30478 -3.375748)'), GeomFromEWKT('SRID=4674;POINT (-38.304829 -3.375639)'))) / (select extract(epoch from '2026-07-03 08:04:33'::timestamp) - extract(epoch from '2026-07-03 08:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30478 -3.375748)'), GeomFromEWKT('SRID=4674;POINT (-38.304829 -3.375639)'))) / (select extract(epoch from '2026-07-03 08:04:33'::timestamp) - extract(epoch from '2026-07-03 08:04: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'), 47390, 'SRID=4674;POINT (-38.304882 -3.375501)', '2026-07-03 08:04:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304829 -3.375639)'), GeomFromEWKT('SRID=4674;POINT (-38.304882 -3.375501)'))) / (select extract(epoch from '2026-07-03 08:04:39'::timestamp) - extract(epoch from '2026-07-03 08:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304829 -3.375639)'), GeomFromEWKT('SRID=4674;POINT (-38.304882 -3.375501)'))) / (select extract(epoch from '2026-07-03 08:04:39'::timestamp) - extract(epoch from '2026-07-03 08:04: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'), 47390, 'SRID=4674;POINT (-38.304917 -3.375396)', '2026-07-03 08:04:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304882 -3.375501)'), GeomFromEWKT('SRID=4674;POINT (-38.304917 -3.375396)'))) / (select extract(epoch from '2026-07-03 08:04:44'::timestamp) - extract(epoch from '2026-07-03 08:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304882 -3.375501)'), GeomFromEWKT('SRID=4674;POINT (-38.304917 -3.375396)'))) / (select extract(epoch from '2026-07-03 08:04:44'::timestamp) - extract(epoch from '2026-07-03 08:04: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'), 47390, 'SRID=4674;POINT (-38.304976 -3.375244)', '2026-07-03 08:04:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304917 -3.375396)'), GeomFromEWKT('SRID=4674;POINT (-38.304976 -3.375244)'))) / (select extract(epoch from '2026-07-03 08:04:51'::timestamp) - extract(epoch from '2026-07-03 08:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304917 -3.375396)'), GeomFromEWKT('SRID=4674;POINT (-38.304976 -3.375244)'))) / (select extract(epoch from '2026-07-03 08:04:51'::timestamp) - extract(epoch from '2026-07-03 08:04: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'), 47390, 'SRID=4674;POINT (-38.305037 -3.37513)', '2026-07-03 08:04:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304976 -3.375244)'), GeomFromEWKT('SRID=4674;POINT (-38.305037 -3.37513)'))) / (select extract(epoch from '2026-07-03 08:04:56'::timestamp) - extract(epoch from '2026-07-03 08:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.304976 -3.375244)'), GeomFromEWKT('SRID=4674;POINT (-38.305037 -3.37513)'))) / (select extract(epoch from '2026-07-03 08:04:56'::timestamp) - extract(epoch from '2026-07-03 08:04: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'), 47390, 'SRID=4674;POINT (-38.305053 -3.375063)', '2026-07-03 08:04:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305037 -3.37513)'), GeomFromEWKT('SRID=4674;POINT (-38.305053 -3.375063)'))) / (select extract(epoch from '2026-07-03 08:04:59'::timestamp) - extract(epoch from '2026-07-03 08:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305037 -3.37513)'), GeomFromEWKT('SRID=4674;POINT (-38.305053 -3.375063)'))) / (select extract(epoch from '2026-07-03 08:04:59'::timestamp) - extract(epoch from '2026-07-03 08:04: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'), 47390, 'SRID=4674;POINT (-38.305065 -3.375039)', '2026-07-03 08:05:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305053 -3.375063)'), GeomFromEWKT('SRID=4674;POINT (-38.305065 -3.375039)'))) / (select extract(epoch from '2026-07-03 08:05:00'::timestamp) - extract(epoch from '2026-07-03 08:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305053 -3.375063)'), GeomFromEWKT('SRID=4674;POINT (-38.305065 -3.375039)'))) / (select extract(epoch from '2026-07-03 08:05:00'::timestamp) - extract(epoch from '2026-07-03 08:04:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.305122 -3.37493)', '2026-07-03 08:05:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305065 -3.375039)'), GeomFromEWKT('SRID=4674;POINT (-38.305122 -3.37493)'))) / (select extract(epoch from '2026-07-03 08:05:05'::timestamp) - extract(epoch from '2026-07-03 08:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305065 -3.375039)'), GeomFromEWKT('SRID=4674;POINT (-38.305122 -3.37493)'))) / (select extract(epoch from '2026-07-03 08:05:05'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.305208 -3.374822)', '2026-07-03 08:05:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305122 -3.37493)'), GeomFromEWKT('SRID=4674;POINT (-38.305208 -3.374822)'))) / (select extract(epoch from '2026-07-03 08:05:11'::timestamp) - extract(epoch from '2026-07-03 08:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305122 -3.37493)'), GeomFromEWKT('SRID=4674;POINT (-38.305208 -3.374822)'))) / (select extract(epoch from '2026-07-03 08:05:11'::timestamp) - extract(epoch from '2026-07-03 08:05: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'), 47390, 'SRID=4674;POINT (-38.305269 -3.374728)', '2026-07-03 08:05:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305208 -3.374822)'), GeomFromEWKT('SRID=4674;POINT (-38.305269 -3.374728)'))) / (select extract(epoch from '2026-07-03 08:05:16'::timestamp) - extract(epoch from '2026-07-03 08:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305208 -3.374822)'), GeomFromEWKT('SRID=4674;POINT (-38.305269 -3.374728)'))) / (select extract(epoch from '2026-07-03 08:05:16'::timestamp) - extract(epoch from '2026-07-03 08:05:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.305353 -3.374602)', '2026-07-03 08:05:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305269 -3.374728)'), GeomFromEWKT('SRID=4674;POINT (-38.305353 -3.374602)'))) / (select extract(epoch from '2026-07-03 08:05:22'::timestamp) - extract(epoch from '2026-07-03 08:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305269 -3.374728)'), GeomFromEWKT('SRID=4674;POINT (-38.305353 -3.374602)'))) / (select extract(epoch from '2026-07-03 08:05:22'::timestamp) - extract(epoch from '2026-07-03 08:05: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'), 47390, 'SRID=4674;POINT (-38.30545 -3.374425)', '2026-07-03 08:05:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305353 -3.374602)'), GeomFromEWKT('SRID=4674;POINT (-38.30545 -3.374425)'))) / (select extract(epoch from '2026-07-03 08:05:30'::timestamp) - extract(epoch from '2026-07-03 08:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305353 -3.374602)'), GeomFromEWKT('SRID=4674;POINT (-38.30545 -3.374425)'))) / (select extract(epoch from '2026-07-03 08:05:30'::timestamp) - extract(epoch from '2026-07-03 08:05: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'), 47390, 'SRID=4674;POINT (-38.305501 -3.374316)', '2026-07-03 08:05:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30545 -3.374425)'), GeomFromEWKT('SRID=4674;POINT (-38.305501 -3.374316)'))) / (select extract(epoch from '2026-07-03 08:05:35'::timestamp) - extract(epoch from '2026-07-03 08:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30545 -3.374425)'), GeomFromEWKT('SRID=4674;POINT (-38.305501 -3.374316)'))) / (select extract(epoch from '2026-07-03 08:05:35'::timestamp) - extract(epoch from '2026-07-03 08:05: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'), 47390, 'SRID=4674;POINT (-38.30555 -3.374188)', '2026-07-03 08:05:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305501 -3.374316)'), GeomFromEWKT('SRID=4674;POINT (-38.30555 -3.374188)'))) / (select extract(epoch from '2026-07-03 08:05:41'::timestamp) - extract(epoch from '2026-07-03 08:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305501 -3.374316)'), GeomFromEWKT('SRID=4674;POINT (-38.30555 -3.374188)'))) / (select extract(epoch from '2026-07-03 08:05:41'::timestamp) - extract(epoch from '2026-07-03 08:05: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'), 47390, 'SRID=4674;POINT (-38.305584 -3.374086)', '2026-07-03 08:05:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30555 -3.374188)'), GeomFromEWKT('SRID=4674;POINT (-38.305584 -3.374086)'))) / (select extract(epoch from '2026-07-03 08:05:46'::timestamp) - extract(epoch from '2026-07-03 08:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30555 -3.374188)'), GeomFromEWKT('SRID=4674;POINT (-38.305584 -3.374086)'))) / (select extract(epoch from '2026-07-03 08:05:46'::timestamp) - extract(epoch from '2026-07-03 08:05: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'), 47390, 'SRID=4674;POINT (-38.305633 -3.373936)', '2026-07-03 08:05:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305584 -3.374086)'), GeomFromEWKT('SRID=4674;POINT (-38.305633 -3.373936)'))) / (select extract(epoch from '2026-07-03 08:05:53'::timestamp) - extract(epoch from '2026-07-03 08:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305584 -3.374086)'), GeomFromEWKT('SRID=4674;POINT (-38.305633 -3.373936)'))) / (select extract(epoch from '2026-07-03 08:05:53'::timestamp) - extract(epoch from '2026-07-03 08:05: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'), 47390, 'SRID=4674;POINT (-38.305687 -3.373812)', '2026-07-03 08:05:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305633 -3.373936)'), GeomFromEWKT('SRID=4674;POINT (-38.305687 -3.373812)'))) / (select extract(epoch from '2026-07-03 08:05:59'::timestamp) - extract(epoch from '2026-07-03 08:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305633 -3.373936)'), GeomFromEWKT('SRID=4674;POINT (-38.305687 -3.373812)'))) / (select extract(epoch from '2026-07-03 08:05:59'::timestamp) - extract(epoch from '2026-07-03 08:05: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'), 47390, 'SRID=4674;POINT (-38.305735 -3.373702)', '2026-07-03 08:06:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305687 -3.373812)'), GeomFromEWKT('SRID=4674;POINT (-38.305735 -3.373702)'))) / (select extract(epoch from '2026-07-03 08:06:04'::timestamp) - extract(epoch from '2026-07-03 08:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305687 -3.373812)'), GeomFromEWKT('SRID=4674;POINT (-38.305735 -3.373702)'))) / (select extract(epoch from '2026-07-03 08:06:04'::timestamp) - extract(epoch from '2026-07-03 08:05: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'), 47390, 'SRID=4674;POINT (-38.305796 -3.373568)', '2026-07-03 08:06:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305735 -3.373702)'), GeomFromEWKT('SRID=4674;POINT (-38.305796 -3.373568)'))) / (select extract(epoch from '2026-07-03 08:06:10'::timestamp) - extract(epoch from '2026-07-03 08:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305735 -3.373702)'), GeomFromEWKT('SRID=4674;POINT (-38.305796 -3.373568)'))) / (select extract(epoch from '2026-07-03 08:06:10'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.305854 -3.373445)', '2026-07-03 08:06:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305796 -3.373568)'), GeomFromEWKT('SRID=4674;POINT (-38.305854 -3.373445)'))) / (select extract(epoch from '2026-07-03 08:06:16'::timestamp) - extract(epoch from '2026-07-03 08:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305796 -3.373568)'), GeomFromEWKT('SRID=4674;POINT (-38.305854 -3.373445)'))) / (select extract(epoch from '2026-07-03 08:06:16'::timestamp) - extract(epoch from '2026-07-03 08:06: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'), 47390, 'SRID=4674;POINT (-38.305913 -3.37334)', '2026-07-03 08:06:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305854 -3.373445)'), GeomFromEWKT('SRID=4674;POINT (-38.305913 -3.37334)'))) / (select extract(epoch from '2026-07-03 08:06:21'::timestamp) - extract(epoch from '2026-07-03 08:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305854 -3.373445)'), GeomFromEWKT('SRID=4674;POINT (-38.305913 -3.37334)'))) / (select extract(epoch from '2026-07-03 08:06:21'::timestamp) - extract(epoch from '2026-07-03 08:06: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'), 47390, 'SRID=4674;POINT (-38.305982 -3.373218)', '2026-07-03 08:06:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305913 -3.37334)'), GeomFromEWKT('SRID=4674;POINT (-38.305982 -3.373218)'))) / (select extract(epoch from '2026-07-03 08:06:27'::timestamp) - extract(epoch from '2026-07-03 08:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305913 -3.37334)'), GeomFromEWKT('SRID=4674;POINT (-38.305982 -3.373218)'))) / (select extract(epoch from '2026-07-03 08:06:27'::timestamp) - extract(epoch from '2026-07-03 08:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.306053 -3.373094)', '2026-07-03 08:06:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305982 -3.373218)'), GeomFromEWKT('SRID=4674;POINT (-38.306053 -3.373094)'))) / (select extract(epoch from '2026-07-03 08:06:33'::timestamp) - extract(epoch from '2026-07-03 08:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.305982 -3.373218)'), GeomFromEWKT('SRID=4674;POINT (-38.306053 -3.373094)'))) / (select extract(epoch from '2026-07-03 08:06:33'::timestamp) - extract(epoch from '2026-07-03 08:06: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'), 47390, 'SRID=4674;POINT (-38.306128 -3.372967)', '2026-07-03 08:06:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306053 -3.373094)'), GeomFromEWKT('SRID=4674;POINT (-38.306128 -3.372967)'))) / (select extract(epoch from '2026-07-03 08:06:39'::timestamp) - extract(epoch from '2026-07-03 08:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306053 -3.373094)'), GeomFromEWKT('SRID=4674;POINT (-38.306128 -3.372967)'))) / (select extract(epoch from '2026-07-03 08:06:39'::timestamp) - extract(epoch from '2026-07-03 08:06: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'), 47390, 'SRID=4674;POINT (-38.306207 -3.372819)', '2026-07-03 08:06:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306128 -3.372967)'), GeomFromEWKT('SRID=4674;POINT (-38.306207 -3.372819)'))) / (select extract(epoch from '2026-07-03 08:06:46'::timestamp) - extract(epoch from '2026-07-03 08:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306128 -3.372967)'), GeomFromEWKT('SRID=4674;POINT (-38.306207 -3.372819)'))) / (select extract(epoch from '2026-07-03 08:06:46'::timestamp) - extract(epoch from '2026-07-03 08:06: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'), 47390, 'SRID=4674;POINT (-38.306266 -3.372693)', '2026-07-03 08:06:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306207 -3.372819)'), GeomFromEWKT('SRID=4674;POINT (-38.306266 -3.372693)'))) / (select extract(epoch from '2026-07-03 08:06:52'::timestamp) - extract(epoch from '2026-07-03 08:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306207 -3.372819)'), GeomFromEWKT('SRID=4674;POINT (-38.306266 -3.372693)'))) / (select extract(epoch from '2026-07-03 08:06:52'::timestamp) - extract(epoch from '2026-07-03 08:06: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'), 47390, 'SRID=4674;POINT (-38.3063 -3.372577)', '2026-07-03 08:06:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306266 -3.372693)'), GeomFromEWKT('SRID=4674;POINT (-38.3063 -3.372577)'))) / (select extract(epoch from '2026-07-03 08:06:57'::timestamp) - extract(epoch from '2026-07-03 08:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306266 -3.372693)'), GeomFromEWKT('SRID=4674;POINT (-38.3063 -3.372577)'))) / (select extract(epoch from '2026-07-03 08:06:57'::timestamp) - extract(epoch from '2026-07-03 08:06: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'), 47390, 'SRID=4674;POINT (-38.306346 -3.372473)', '2026-07-03 08:07:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3063 -3.372577)'), GeomFromEWKT('SRID=4674;POINT (-38.306346 -3.372473)'))) / (select extract(epoch from '2026-07-03 08:07:01'::timestamp) - extract(epoch from '2026-07-03 08:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3063 -3.372577)'), GeomFromEWKT('SRID=4674;POINT (-38.306346 -3.372473)'))) / (select extract(epoch from '2026-07-03 08:07:01'::timestamp) - extract(epoch from '2026-07-03 08:06: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'), 47390, 'SRID=4674;POINT (-38.306362 -3.372397)', '2026-07-03 08:07:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306346 -3.372473)'), GeomFromEWKT('SRID=4674;POINT (-38.306362 -3.372397)'))) / (select extract(epoch from '2026-07-03 08:07:05'::timestamp) - extract(epoch from '2026-07-03 08:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306346 -3.372473)'), GeomFromEWKT('SRID=4674;POINT (-38.306362 -3.372397)'))) / (select extract(epoch from '2026-07-03 08:07:05'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.306407 -3.37231)', '2026-07-03 08:07:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306362 -3.372397)'), GeomFromEWKT('SRID=4674;POINT (-38.306407 -3.37231)'))) / (select extract(epoch from '2026-07-03 08:07:10'::timestamp) - extract(epoch from '2026-07-03 08:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306362 -3.372397)'), GeomFromEWKT('SRID=4674;POINT (-38.306407 -3.37231)'))) / (select extract(epoch from '2026-07-03 08:07:10'::timestamp) - extract(epoch from '2026-07-03 08:07: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'), 47390, 'SRID=4674;POINT (-38.306469 -3.372197)', '2026-07-03 08:07:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306407 -3.37231)'), GeomFromEWKT('SRID=4674;POINT (-38.306469 -3.372197)'))) / (select extract(epoch from '2026-07-03 08:07:16'::timestamp) - extract(epoch from '2026-07-03 08:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306407 -3.37231)'), GeomFromEWKT('SRID=4674;POINT (-38.306469 -3.372197)'))) / (select extract(epoch from '2026-07-03 08:07:16'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.306511 -3.372097)', '2026-07-03 08:07:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306469 -3.372197)'), GeomFromEWKT('SRID=4674;POINT (-38.306511 -3.372097)'))) / (select extract(epoch from '2026-07-03 08:07:21'::timestamp) - extract(epoch from '2026-07-03 08:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306469 -3.372197)'), GeomFromEWKT('SRID=4674;POINT (-38.306511 -3.372097)'))) / (select extract(epoch from '2026-07-03 08:07:21'::timestamp) - extract(epoch from '2026-07-03 08:07: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'), 47390, 'SRID=4674;POINT (-38.306547 -3.372015)', '2026-07-03 08:07:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306511 -3.372097)'), GeomFromEWKT('SRID=4674;POINT (-38.306547 -3.372015)'))) / (select extract(epoch from '2026-07-03 08:07:25'::timestamp) - extract(epoch from '2026-07-03 08:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306511 -3.372097)'), GeomFromEWKT('SRID=4674;POINT (-38.306547 -3.372015)'))) / (select extract(epoch from '2026-07-03 08:07:25'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.306583 -3.371892)', '2026-07-03 08:07:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306547 -3.372015)'), GeomFromEWKT('SRID=4674;POINT (-38.306583 -3.371892)'))) / (select extract(epoch from '2026-07-03 08:07:31'::timestamp) - extract(epoch from '2026-07-03 08:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306547 -3.372015)'), GeomFromEWKT('SRID=4674;POINT (-38.306583 -3.371892)'))) / (select extract(epoch from '2026-07-03 08:07:31'::timestamp) - extract(epoch from '2026-07-03 08:07: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'), 47390, 'SRID=4674;POINT (-38.306608 -3.371765)', '2026-07-03 08:07:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306583 -3.371892)'), GeomFromEWKT('SRID=4674;POINT (-38.306608 -3.371765)'))) / (select extract(epoch from '2026-07-03 08:07:37'::timestamp) - extract(epoch from '2026-07-03 08:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306583 -3.371892)'), GeomFromEWKT('SRID=4674;POINT (-38.306608 -3.371765)'))) / (select extract(epoch from '2026-07-03 08:07:37'::timestamp) - extract(epoch from '2026-07-03 08:07: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'), 47390, 'SRID=4674;POINT (-38.306634 -3.371634)', '2026-07-03 08:07:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306608 -3.371765)'), GeomFromEWKT('SRID=4674;POINT (-38.306634 -3.371634)'))) / (select extract(epoch from '2026-07-03 08:07:43'::timestamp) - extract(epoch from '2026-07-03 08:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306608 -3.371765)'), GeomFromEWKT('SRID=4674;POINT (-38.306634 -3.371634)'))) / (select extract(epoch from '2026-07-03 08:07:43'::timestamp) - extract(epoch from '2026-07-03 08:07: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'), 47390, 'SRID=4674;POINT (-38.306637 -3.371548)', '2026-07-03 08:07:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306634 -3.371634)'), GeomFromEWKT('SRID=4674;POINT (-38.306637 -3.371548)'))) / (select extract(epoch from '2026-07-03 08:07:47'::timestamp) - extract(epoch from '2026-07-03 08:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306634 -3.371634)'), GeomFromEWKT('SRID=4674;POINT (-38.306637 -3.371548)'))) / (select extract(epoch from '2026-07-03 08:07:47'::timestamp) - extract(epoch from '2026-07-03 08:07: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'), 47390, 'SRID=4674;POINT (-38.306667 -3.371371)', '2026-07-03 08:07:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306637 -3.371548)'), GeomFromEWKT('SRID=4674;POINT (-38.306667 -3.371371)'))) / (select extract(epoch from '2026-07-03 08:07:55'::timestamp) - extract(epoch from '2026-07-03 08:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306637 -3.371548)'), GeomFromEWKT('SRID=4674;POINT (-38.306667 -3.371371)'))) / (select extract(epoch from '2026-07-03 08:07:55'::timestamp) - extract(epoch from '2026-07-03 08:07: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'), 47390, 'SRID=4674;POINT (-38.306685 -3.371237)', '2026-07-03 08:08:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306667 -3.371371)'), GeomFromEWKT('SRID=4674;POINT (-38.306685 -3.371237)'))) / (select extract(epoch from '2026-07-03 08:08:01'::timestamp) - extract(epoch from '2026-07-03 08:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306667 -3.371371)'), GeomFromEWKT('SRID=4674;POINT (-38.306685 -3.371237)'))) / (select extract(epoch from '2026-07-03 08:08:01'::timestamp) - extract(epoch from '2026-07-03 08:07: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'), 47390, 'SRID=4674;POINT (-38.30669 -3.371124)', '2026-07-03 08:08:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306685 -3.371237)'), GeomFromEWKT('SRID=4674;POINT (-38.30669 -3.371124)'))) / (select extract(epoch from '2026-07-03 08:08:06'::timestamp) - extract(epoch from '2026-07-03 08:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306685 -3.371237)'), GeomFromEWKT('SRID=4674;POINT (-38.30669 -3.371124)'))) / (select extract(epoch from '2026-07-03 08:08:06'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.306707 -3.370995)', '2026-07-03 08:08:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30669 -3.371124)'), GeomFromEWKT('SRID=4674;POINT (-38.306707 -3.370995)'))) / (select extract(epoch from '2026-07-03 08:08:12'::timestamp) - extract(epoch from '2026-07-03 08:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30669 -3.371124)'), GeomFromEWKT('SRID=4674;POINT (-38.306707 -3.370995)'))) / (select extract(epoch from '2026-07-03 08:08:12'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.306732 -3.370867)', '2026-07-03 08:08:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306707 -3.370995)'), GeomFromEWKT('SRID=4674;POINT (-38.306732 -3.370867)'))) / (select extract(epoch from '2026-07-03 08:08:18'::timestamp) - extract(epoch from '2026-07-03 08:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306707 -3.370995)'), GeomFromEWKT('SRID=4674;POINT (-38.306732 -3.370867)'))) / (select extract(epoch from '2026-07-03 08:08:18'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.306754 -3.370743)', '2026-07-03 08:08:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306732 -3.370867)'), GeomFromEWKT('SRID=4674;POINT (-38.306754 -3.370743)'))) / (select extract(epoch from '2026-07-03 08:08:23'::timestamp) - extract(epoch from '2026-07-03 08:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306732 -3.370867)'), GeomFromEWKT('SRID=4674;POINT (-38.306754 -3.370743)'))) / (select extract(epoch from '2026-07-03 08:08:23'::timestamp) - extract(epoch from '2026-07-03 08:08:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.306807 -3.370625)', '2026-07-03 08:08:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306754 -3.370743)'), GeomFromEWKT('SRID=4674;POINT (-38.306807 -3.370625)'))) / (select extract(epoch from '2026-07-03 08:08:29'::timestamp) - extract(epoch from '2026-07-03 08:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306754 -3.370743)'), GeomFromEWKT('SRID=4674;POINT (-38.306807 -3.370625)'))) / (select extract(epoch from '2026-07-03 08:08:29'::timestamp) - extract(epoch from '2026-07-03 08:08: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'), 47390, 'SRID=4674;POINT (-38.306874 -3.370513)', '2026-07-03 08:08:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306807 -3.370625)'), GeomFromEWKT('SRID=4674;POINT (-38.306874 -3.370513)'))) / (select extract(epoch from '2026-07-03 08:08:35'::timestamp) - extract(epoch from '2026-07-03 08:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306807 -3.370625)'), GeomFromEWKT('SRID=4674;POINT (-38.306874 -3.370513)'))) / (select extract(epoch from '2026-07-03 08:08:35'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.306931 -3.370363)', '2026-07-03 08:08:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306874 -3.370513)'), GeomFromEWKT('SRID=4674;POINT (-38.306931 -3.370363)'))) / (select extract(epoch from '2026-07-03 08:08:42'::timestamp) - extract(epoch from '2026-07-03 08:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306874 -3.370513)'), GeomFromEWKT('SRID=4674;POINT (-38.306931 -3.370363)'))) / (select extract(epoch from '2026-07-03 08:08:42'::timestamp) - extract(epoch from '2026-07-03 08:08: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'), 47390, 'SRID=4674;POINT (-38.306973 -3.370211)', '2026-07-03 08:08:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306931 -3.370363)'), GeomFromEWKT('SRID=4674;POINT (-38.306973 -3.370211)'))) / (select extract(epoch from '2026-07-03 08:08:49'::timestamp) - extract(epoch from '2026-07-03 08:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306931 -3.370363)'), GeomFromEWKT('SRID=4674;POINT (-38.306973 -3.370211)'))) / (select extract(epoch from '2026-07-03 08:08:49'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.307009 -3.37013)', '2026-07-03 08:08:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306973 -3.370211)'), GeomFromEWKT('SRID=4674;POINT (-38.307009 -3.37013)'))) / (select extract(epoch from '2026-07-03 08:08:53'::timestamp) - extract(epoch from '2026-07-03 08:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.306973 -3.370211)'), GeomFromEWKT('SRID=4674;POINT (-38.307009 -3.37013)'))) / (select extract(epoch from '2026-07-03 08:08:53'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.307052 -3.370009)', '2026-07-03 08:08:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307009 -3.37013)'), GeomFromEWKT('SRID=4674;POINT (-38.307052 -3.370009)'))) / (select extract(epoch from '2026-07-03 08:08:59'::timestamp) - extract(epoch from '2026-07-03 08:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307009 -3.37013)'), GeomFromEWKT('SRID=4674;POINT (-38.307052 -3.370009)'))) / (select extract(epoch from '2026-07-03 08:08:59'::timestamp) - extract(epoch from '2026-07-03 08:08: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'), 47390, 'SRID=4674;POINT (-38.307112 -3.369864)', '2026-07-03 08:09:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307052 -3.370009)'), GeomFromEWKT('SRID=4674;POINT (-38.307112 -3.369864)'))) / (select extract(epoch from '2026-07-03 08:09:06'::timestamp) - extract(epoch from '2026-07-03 08:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307052 -3.370009)'), GeomFromEWKT('SRID=4674;POINT (-38.307112 -3.369864)'))) / (select extract(epoch from '2026-07-03 08:09:06'::timestamp) - extract(epoch from '2026-07-03 08:08:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.307153 -3.369727)', '2026-07-03 08:09:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307112 -3.369864)'), GeomFromEWKT('SRID=4674;POINT (-38.307153 -3.369727)'))) / (select extract(epoch from '2026-07-03 08:09:12'::timestamp) - extract(epoch from '2026-07-03 08:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307112 -3.369864)'), GeomFromEWKT('SRID=4674;POINT (-38.307153 -3.369727)'))) / (select extract(epoch from '2026-07-03 08:09:12'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.307159 -3.369706)', '2026-07-03 08:09:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307153 -3.369727)'), GeomFromEWKT('SRID=4674;POINT (-38.307159 -3.369706)'))) / (select extract(epoch from '2026-07-03 08:09:13'::timestamp) - extract(epoch from '2026-07-03 08:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307153 -3.369727)'), GeomFromEWKT('SRID=4674;POINT (-38.307159 -3.369706)'))) / (select extract(epoch from '2026-07-03 08:09:13'::timestamp) - extract(epoch from '2026-07-03 08:09: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'), 47390, 'SRID=4674;POINT (-38.307187 -3.369634)', '2026-07-03 08:09:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307159 -3.369706)'), GeomFromEWKT('SRID=4674;POINT (-38.307187 -3.369634)'))) / (select extract(epoch from '2026-07-03 08:09:16'::timestamp) - extract(epoch from '2026-07-03 08:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307159 -3.369706)'), GeomFromEWKT('SRID=4674;POINT (-38.307187 -3.369634)'))) / (select extract(epoch from '2026-07-03 08:09:16'::timestamp) - extract(epoch from '2026-07-03 08:09: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'), 47390, 'SRID=4674;POINT (-38.307207 -3.369527)', '2026-07-03 08:09:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307187 -3.369634)'), GeomFromEWKT('SRID=4674;POINT (-38.307207 -3.369527)'))) / (select extract(epoch from '2026-07-03 08:09:21'::timestamp) - extract(epoch from '2026-07-03 08:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307187 -3.369634)'), GeomFromEWKT('SRID=4674;POINT (-38.307207 -3.369527)'))) / (select extract(epoch from '2026-07-03 08:09:21'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.307214 -3.369398)', '2026-07-03 08:09:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307207 -3.369527)'), GeomFromEWKT('SRID=4674;POINT (-38.307214 -3.369398)'))) / (select extract(epoch from '2026-07-03 08:09:27'::timestamp) - extract(epoch from '2026-07-03 08:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307207 -3.369527)'), GeomFromEWKT('SRID=4674;POINT (-38.307214 -3.369398)'))) / (select extract(epoch from '2026-07-03 08:09:27'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.307242 -3.369314)', '2026-07-03 08:09:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307214 -3.369398)'), GeomFromEWKT('SRID=4674;POINT (-38.307242 -3.369314)'))) / (select extract(epoch from '2026-07-03 08:09:31'::timestamp) - extract(epoch from '2026-07-03 08:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307214 -3.369398)'), GeomFromEWKT('SRID=4674;POINT (-38.307242 -3.369314)'))) / (select extract(epoch from '2026-07-03 08:09:31'::timestamp) - extract(epoch from '2026-07-03 08:09: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'), 47390, 'SRID=4674;POINT (-38.307243 -3.369292)', '2026-07-03 08:09:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307242 -3.369314)'), GeomFromEWKT('SRID=4674;POINT (-38.307243 -3.369292)'))) / (select extract(epoch from '2026-07-03 08:09:32'::timestamp) - extract(epoch from '2026-07-03 08:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307242 -3.369314)'), GeomFromEWKT('SRID=4674;POINT (-38.307243 -3.369292)'))) / (select extract(epoch from '2026-07-03 08:09:32'::timestamp) - extract(epoch from '2026-07-03 08:09: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'), 47390, 'SRID=4674;POINT (-38.307246 -3.369186)', '2026-07-03 08:09:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307243 -3.369292)'), GeomFromEWKT('SRID=4674;POINT (-38.307246 -3.369186)'))) / (select extract(epoch from '2026-07-03 08:09:37'::timestamp) - extract(epoch from '2026-07-03 08:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307243 -3.369292)'), GeomFromEWKT('SRID=4674;POINT (-38.307246 -3.369186)'))) / (select extract(epoch from '2026-07-03 08:09:37'::timestamp) - extract(epoch from '2026-07-03 08:09: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'), 47390, 'SRID=4674;POINT (-38.307266 -3.369074)', '2026-07-03 08:09:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307246 -3.369186)'), GeomFromEWKT('SRID=4674;POINT (-38.307266 -3.369074)'))) / (select extract(epoch from '2026-07-03 08:09:42'::timestamp) - extract(epoch from '2026-07-03 08:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307246 -3.369186)'), GeomFromEWKT('SRID=4674;POINT (-38.307266 -3.369074)'))) / (select extract(epoch from '2026-07-03 08:09:42'::timestamp) - extract(epoch from '2026-07-03 08:09:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.307273 -3.368968)', '2026-07-03 08:09:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307266 -3.369074)'), GeomFromEWKT('SRID=4674;POINT (-38.307273 -3.368968)'))) / (select extract(epoch from '2026-07-03 08:09:47'::timestamp) - extract(epoch from '2026-07-03 08:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307266 -3.369074)'), GeomFromEWKT('SRID=4674;POINT (-38.307273 -3.368968)'))) / (select extract(epoch from '2026-07-03 08:09:47'::timestamp) - extract(epoch from '2026-07-03 08:09: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'), 47390, 'SRID=4674;POINT (-38.307298 -3.368876)', '2026-07-03 08:09:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307273 -3.368968)'), GeomFromEWKT('SRID=4674;POINT (-38.307298 -3.368876)'))) / (select extract(epoch from '2026-07-03 08:09:51'::timestamp) - extract(epoch from '2026-07-03 08:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307273 -3.368968)'), GeomFromEWKT('SRID=4674;POINT (-38.307298 -3.368876)'))) / (select extract(epoch from '2026-07-03 08:09:51'::timestamp) - extract(epoch from '2026-07-03 08:09: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'), 47390, 'SRID=4674;POINT (-38.307317 -3.368767)', '2026-07-03 08:09:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307298 -3.368876)'), GeomFromEWKT('SRID=4674;POINT (-38.307317 -3.368767)'))) / (select extract(epoch from '2026-07-03 08:09:56'::timestamp) - extract(epoch from '2026-07-03 08:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307298 -3.368876)'), GeomFromEWKT('SRID=4674;POINT (-38.307317 -3.368767)'))) / (select extract(epoch from '2026-07-03 08:09:56'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.307329 -3.368658)', '2026-07-03 08:10:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307317 -3.368767)'), GeomFromEWKT('SRID=4674;POINT (-38.307329 -3.368658)'))) / (select extract(epoch from '2026-07-03 08:10:01'::timestamp) - extract(epoch from '2026-07-03 08:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307317 -3.368767)'), GeomFromEWKT('SRID=4674;POINT (-38.307329 -3.368658)'))) / (select extract(epoch from '2026-07-03 08:10:01'::timestamp) - extract(epoch from '2026-07-03 08:09: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'), 47390, 'SRID=4674;POINT (-38.307347 -3.368555)', '2026-07-03 08:10:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307329 -3.368658)'), GeomFromEWKT('SRID=4674;POINT (-38.307347 -3.368555)'))) / (select extract(epoch from '2026-07-03 08:10:06'::timestamp) - extract(epoch from '2026-07-03 08:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307329 -3.368658)'), GeomFromEWKT('SRID=4674;POINT (-38.307347 -3.368555)'))) / (select extract(epoch from '2026-07-03 08:10:06'::timestamp) - extract(epoch from '2026-07-03 08:10: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'), 47390, 'SRID=4674;POINT (-38.307354 -3.368445)', '2026-07-03 08:10:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307347 -3.368555)'), GeomFromEWKT('SRID=4674;POINT (-38.307354 -3.368445)'))) / (select extract(epoch from '2026-07-03 08:10:11'::timestamp) - extract(epoch from '2026-07-03 08:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307347 -3.368555)'), GeomFromEWKT('SRID=4674;POINT (-38.307354 -3.368445)'))) / (select extract(epoch from '2026-07-03 08:10:11'::timestamp) - extract(epoch from '2026-07-03 08:10: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'), 47390, 'SRID=4674;POINT (-38.307373 -3.368333)', '2026-07-03 08:10:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307354 -3.368445)'), GeomFromEWKT('SRID=4674;POINT (-38.307373 -3.368333)'))) / (select extract(epoch from '2026-07-03 08:10:16'::timestamp) - extract(epoch from '2026-07-03 08:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307354 -3.368445)'), GeomFromEWKT('SRID=4674;POINT (-38.307373 -3.368333)'))) / (select extract(epoch from '2026-07-03 08:10:16'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.30739 -3.368245)', '2026-07-03 08:10:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307373 -3.368333)'), GeomFromEWKT('SRID=4674;POINT (-38.30739 -3.368245)'))) / (select extract(epoch from '2026-07-03 08:10:20'::timestamp) - extract(epoch from '2026-07-03 08:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307373 -3.368333)'), GeomFromEWKT('SRID=4674;POINT (-38.30739 -3.368245)'))) / (select extract(epoch from '2026-07-03 08:10:20'::timestamp) - extract(epoch from '2026-07-03 08:10: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'), 47390, 'SRID=4674;POINT (-38.3074 -3.368225)', '2026-07-03 08:10:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30739 -3.368245)'), GeomFromEWKT('SRID=4674;POINT (-38.3074 -3.368225)'))) / (select extract(epoch from '2026-07-03 08:10:21'::timestamp) - extract(epoch from '2026-07-03 08:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30739 -3.368245)'), GeomFromEWKT('SRID=4674;POINT (-38.3074 -3.368225)'))) / (select extract(epoch from '2026-07-03 08:10:21'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.307419 -3.368111)', '2026-07-03 08:10:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3074 -3.368225)'), GeomFromEWKT('SRID=4674;POINT (-38.307419 -3.368111)'))) / (select extract(epoch from '2026-07-03 08:10:26'::timestamp) - extract(epoch from '2026-07-03 08:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3074 -3.368225)'), GeomFromEWKT('SRID=4674;POINT (-38.307419 -3.368111)'))) / (select extract(epoch from '2026-07-03 08:10:26'::timestamp) - extract(epoch from '2026-07-03 08:10: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'), 47390, 'SRID=4674;POINT (-38.30745 -3.367998)', '2026-07-03 08:10:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307419 -3.368111)'), GeomFromEWKT('SRID=4674;POINT (-38.30745 -3.367998)'))) / (select extract(epoch from '2026-07-03 08:10:31'::timestamp) - extract(epoch from '2026-07-03 08:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307419 -3.368111)'), GeomFromEWKT('SRID=4674;POINT (-38.30745 -3.367998)'))) / (select extract(epoch from '2026-07-03 08:10:31'::timestamp) - extract(epoch from '2026-07-03 08:10: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'), 47390, 'SRID=4674;POINT (-38.307494 -3.367885)', '2026-07-03 08:10:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30745 -3.367998)'), GeomFromEWKT('SRID=4674;POINT (-38.307494 -3.367885)'))) / (select extract(epoch from '2026-07-03 08:10:36'::timestamp) - extract(epoch from '2026-07-03 08:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30745 -3.367998)'), GeomFromEWKT('SRID=4674;POINT (-38.307494 -3.367885)'))) / (select extract(epoch from '2026-07-03 08:10:36'::timestamp) - extract(epoch from '2026-07-03 08:10: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'), 47390, 'SRID=4674;POINT (-38.307512 -3.367812)', '2026-07-03 08:10:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307494 -3.367885)'), GeomFromEWKT('SRID=4674;POINT (-38.307512 -3.367812)'))) / (select extract(epoch from '2026-07-03 08:10:40'::timestamp) - extract(epoch from '2026-07-03 08:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307494 -3.367885)'), GeomFromEWKT('SRID=4674;POINT (-38.307512 -3.367812)'))) / (select extract(epoch from '2026-07-03 08:10:40'::timestamp) - extract(epoch from '2026-07-03 08:10: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'), 47390, 'SRID=4674;POINT (-38.30755 -3.367681)', '2026-07-03 08:10:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307512 -3.367812)'), GeomFromEWKT('SRID=4674;POINT (-38.30755 -3.367681)'))) / (select extract(epoch from '2026-07-03 08:10:46'::timestamp) - extract(epoch from '2026-07-03 08:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307512 -3.367812)'), GeomFromEWKT('SRID=4674;POINT (-38.30755 -3.367681)'))) / (select extract(epoch from '2026-07-03 08:10:46'::timestamp) - extract(epoch from '2026-07-03 08:10: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'), 47390, 'SRID=4674;POINT (-38.30758 -3.367551)', '2026-07-03 08:10:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30755 -3.367681)'), GeomFromEWKT('SRID=4674;POINT (-38.30758 -3.367551)'))) / (select extract(epoch from '2026-07-03 08:10:52'::timestamp) - extract(epoch from '2026-07-03 08:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30755 -3.367681)'), GeomFromEWKT('SRID=4674;POINT (-38.30758 -3.367551)'))) / (select extract(epoch from '2026-07-03 08:10:52'::timestamp) - extract(epoch from '2026-07-03 08:10: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'), 47390, 'SRID=4674;POINT (-38.307625 -3.367424)', '2026-07-03 08:10:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30758 -3.367551)'), GeomFromEWKT('SRID=4674;POINT (-38.307625 -3.367424)'))) / (select extract(epoch from '2026-07-03 08:10:58'::timestamp) - extract(epoch from '2026-07-03 08:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30758 -3.367551)'), GeomFromEWKT('SRID=4674;POINT (-38.307625 -3.367424)'))) / (select extract(epoch from '2026-07-03 08:10:58'::timestamp) - extract(epoch from '2026-07-03 08:10: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'), 47390, 'SRID=4674;POINT (-38.307653 -3.367296)', '2026-07-03 08:11:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307625 -3.367424)'), GeomFromEWKT('SRID=4674;POINT (-38.307653 -3.367296)'))) / (select extract(epoch from '2026-07-03 08:11:04'::timestamp) - extract(epoch from '2026-07-03 08:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307625 -3.367424)'), GeomFromEWKT('SRID=4674;POINT (-38.307653 -3.367296)'))) / (select extract(epoch from '2026-07-03 08:11:04'::timestamp) - extract(epoch from '2026-07-03 08:10: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'), 47390, 'SRID=4674;POINT (-38.307693 -3.367145)', '2026-07-03 08:11:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307653 -3.367296)'), GeomFromEWKT('SRID=4674;POINT (-38.307693 -3.367145)'))) / (select extract(epoch from '2026-07-03 08:11:11'::timestamp) - extract(epoch from '2026-07-03 08:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307653 -3.367296)'), GeomFromEWKT('SRID=4674;POINT (-38.307693 -3.367145)'))) / (select extract(epoch from '2026-07-03 08:11:11'::timestamp) - extract(epoch from '2026-07-03 08:11:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.307729 -3.367035)', '2026-07-03 08:11:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307693 -3.367145)'), GeomFromEWKT('SRID=4674;POINT (-38.307729 -3.367035)'))) / (select extract(epoch from '2026-07-03 08:11:16'::timestamp) - extract(epoch from '2026-07-03 08:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307693 -3.367145)'), GeomFromEWKT('SRID=4674;POINT (-38.307729 -3.367035)'))) / (select extract(epoch from '2026-07-03 08:11:16'::timestamp) - extract(epoch from '2026-07-03 08:11: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'), 47390, 'SRID=4674;POINT (-38.307775 -3.366879)', '2026-07-03 08:11:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307729 -3.367035)'), GeomFromEWKT('SRID=4674;POINT (-38.307775 -3.366879)'))) / (select extract(epoch from '2026-07-03 08:11:23'::timestamp) - extract(epoch from '2026-07-03 08:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307729 -3.367035)'), GeomFromEWKT('SRID=4674;POINT (-38.307775 -3.366879)'))) / (select extract(epoch from '2026-07-03 08:11:23'::timestamp) - extract(epoch from '2026-07-03 08:11: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'), 47390, 'SRID=4674;POINT (-38.30781 -3.366791)', '2026-07-03 08:11:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307775 -3.366879)'), GeomFromEWKT('SRID=4674;POINT (-38.30781 -3.366791)'))) / (select extract(epoch from '2026-07-03 08:11:27'::timestamp) - extract(epoch from '2026-07-03 08:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307775 -3.366879)'), GeomFromEWKT('SRID=4674;POINT (-38.30781 -3.366791)'))) / (select extract(epoch from '2026-07-03 08:11:27'::timestamp) - extract(epoch from '2026-07-03 08:11: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'), 47390, 'SRID=4674;POINT (-38.307856 -3.366683)', '2026-07-03 08:11:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30781 -3.366791)'), GeomFromEWKT('SRID=4674;POINT (-38.307856 -3.366683)'))) / (select extract(epoch from '2026-07-03 08:11:32'::timestamp) - extract(epoch from '2026-07-03 08:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30781 -3.366791)'), GeomFromEWKT('SRID=4674;POINT (-38.307856 -3.366683)'))) / (select extract(epoch from '2026-07-03 08:11:32'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.307922 -3.366568)', '2026-07-03 08:11:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307856 -3.366683)'), GeomFromEWKT('SRID=4674;POINT (-38.307922 -3.366568)'))) / (select extract(epoch from '2026-07-03 08:11:38'::timestamp) - extract(epoch from '2026-07-03 08:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307856 -3.366683)'), GeomFromEWKT('SRID=4674;POINT (-38.307922 -3.366568)'))) / (select extract(epoch from '2026-07-03 08:11:38'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.307994 -3.366451)', '2026-07-03 08:11:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307922 -3.366568)'), GeomFromEWKT('SRID=4674;POINT (-38.307994 -3.366451)'))) / (select extract(epoch from '2026-07-03 08:11:44'::timestamp) - extract(epoch from '2026-07-03 08:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307922 -3.366568)'), GeomFromEWKT('SRID=4674;POINT (-38.307994 -3.366451)'))) / (select extract(epoch from '2026-07-03 08:11:44'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.308055 -3.36633)', '2026-07-03 08:11:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307994 -3.366451)'), GeomFromEWKT('SRID=4674;POINT (-38.308055 -3.36633)'))) / (select extract(epoch from '2026-07-03 08:11:50'::timestamp) - extract(epoch from '2026-07-03 08:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.307994 -3.366451)'), GeomFromEWKT('SRID=4674;POINT (-38.308055 -3.36633)'))) / (select extract(epoch from '2026-07-03 08:11:50'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.30812 -3.366185)', '2026-07-03 08:11:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308055 -3.36633)'), GeomFromEWKT('SRID=4674;POINT (-38.30812 -3.366185)'))) / (select extract(epoch from '2026-07-03 08:11:57'::timestamp) - extract(epoch from '2026-07-03 08:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308055 -3.36633)'), GeomFromEWKT('SRID=4674;POINT (-38.30812 -3.366185)'))) / (select extract(epoch from '2026-07-03 08:11:57'::timestamp) - extract(epoch from '2026-07-03 08:11: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'), 47390, 'SRID=4674;POINT (-38.308173 -3.366061)', '2026-07-03 08:12:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30812 -3.366185)'), GeomFromEWKT('SRID=4674;POINT (-38.308173 -3.366061)'))) / (select extract(epoch from '2026-07-03 08:12:03'::timestamp) - extract(epoch from '2026-07-03 08:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30812 -3.366185)'), GeomFromEWKT('SRID=4674;POINT (-38.308173 -3.366061)'))) / (select extract(epoch from '2026-07-03 08:12:03'::timestamp) - extract(epoch from '2026-07-03 08:11:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.308211 -3.365955)', '2026-07-03 08:12:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308173 -3.366061)'), GeomFromEWKT('SRID=4674;POINT (-38.308211 -3.365955)'))) / (select extract(epoch from '2026-07-03 08:12:08'::timestamp) - extract(epoch from '2026-07-03 08:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308173 -3.366061)'), GeomFromEWKT('SRID=4674;POINT (-38.308211 -3.365955)'))) / (select extract(epoch from '2026-07-03 08:12:08'::timestamp) - extract(epoch from '2026-07-03 08:12: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'), 47390, 'SRID=4674;POINT (-38.308249 -3.365854)', '2026-07-03 08:12:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308211 -3.365955)'), GeomFromEWKT('SRID=4674;POINT (-38.308249 -3.365854)'))) / (select extract(epoch from '2026-07-03 08:12:13'::timestamp) - extract(epoch from '2026-07-03 08:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308211 -3.365955)'), GeomFromEWKT('SRID=4674;POINT (-38.308249 -3.365854)'))) / (select extract(epoch from '2026-07-03 08:12:13'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.30828 -3.365763)', '2026-07-03 08:12:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308249 -3.365854)'), GeomFromEWKT('SRID=4674;POINT (-38.30828 -3.365763)'))) / (select extract(epoch from '2026-07-03 08:12:17'::timestamp) - extract(epoch from '2026-07-03 08:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308249 -3.365854)'), GeomFromEWKT('SRID=4674;POINT (-38.30828 -3.365763)'))) / (select extract(epoch from '2026-07-03 08:12:17'::timestamp) - extract(epoch from '2026-07-03 08:12: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'), 47390, 'SRID=4674;POINT (-38.308326 -3.365617)', '2026-07-03 08:12:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30828 -3.365763)'), GeomFromEWKT('SRID=4674;POINT (-38.308326 -3.365617)'))) / (select extract(epoch from '2026-07-03 08:12:24'::timestamp) - extract(epoch from '2026-07-03 08:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30828 -3.365763)'), GeomFromEWKT('SRID=4674;POINT (-38.308326 -3.365617)'))) / (select extract(epoch from '2026-07-03 08:12:24'::timestamp) - extract(epoch from '2026-07-03 08:12: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'), 47390, 'SRID=4674;POINT (-38.308368 -3.365496)', '2026-07-03 08:12:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308326 -3.365617)'), GeomFromEWKT('SRID=4674;POINT (-38.308368 -3.365496)'))) / (select extract(epoch from '2026-07-03 08:12:30'::timestamp) - extract(epoch from '2026-07-03 08:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308326 -3.365617)'), GeomFromEWKT('SRID=4674;POINT (-38.308368 -3.365496)'))) / (select extract(epoch from '2026-07-03 08:12:30'::timestamp) - extract(epoch from '2026-07-03 08:12: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'), 47390, 'SRID=4674;POINT (-38.308397 -3.365399)', '2026-07-03 08:12:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308368 -3.365496)'), GeomFromEWKT('SRID=4674;POINT (-38.308397 -3.365399)'))) / (select extract(epoch from '2026-07-03 08:12:35'::timestamp) - extract(epoch from '2026-07-03 08:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308368 -3.365496)'), GeomFromEWKT('SRID=4674;POINT (-38.308397 -3.365399)'))) / (select extract(epoch from '2026-07-03 08:12:35'::timestamp) - extract(epoch from '2026-07-03 08:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.308432 -3.365275)', '2026-07-03 08:12:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308397 -3.365399)'), GeomFromEWKT('SRID=4674;POINT (-38.308432 -3.365275)'))) / (select extract(epoch from '2026-07-03 08:12:41'::timestamp) - extract(epoch from '2026-07-03 08:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308397 -3.365399)'), GeomFromEWKT('SRID=4674;POINT (-38.308432 -3.365275)'))) / (select extract(epoch from '2026-07-03 08:12:41'::timestamp) - extract(epoch from '2026-07-03 08:12: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'), 47390, 'SRID=4674;POINT (-38.308471 -3.365171)', '2026-07-03 08:12:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308432 -3.365275)'), GeomFromEWKT('SRID=4674;POINT (-38.308471 -3.365171)'))) / (select extract(epoch from '2026-07-03 08:12:46'::timestamp) - extract(epoch from '2026-07-03 08:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308432 -3.365275)'), GeomFromEWKT('SRID=4674;POINT (-38.308471 -3.365171)'))) / (select extract(epoch from '2026-07-03 08:12:46'::timestamp) - extract(epoch from '2026-07-03 08:12: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'), 47390, 'SRID=4674;POINT (-38.308522 -3.365061)', '2026-07-03 08:12:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308471 -3.365171)'), GeomFromEWKT('SRID=4674;POINT (-38.308522 -3.365061)'))) / (select extract(epoch from '2026-07-03 08:12:51'::timestamp) - extract(epoch from '2026-07-03 08:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308471 -3.365171)'), GeomFromEWKT('SRID=4674;POINT (-38.308522 -3.365061)'))) / (select extract(epoch from '2026-07-03 08:12:51'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.308555 -3.364984)', '2026-07-03 08:12:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308522 -3.365061)'), GeomFromEWKT('SRID=4674;POINT (-38.308555 -3.364984)'))) / (select extract(epoch from '2026-07-03 08:12:55'::timestamp) - extract(epoch from '2026-07-03 08:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308522 -3.365061)'), GeomFromEWKT('SRID=4674;POINT (-38.308555 -3.364984)'))) / (select extract(epoch from '2026-07-03 08:12:55'::timestamp) - extract(epoch from '2026-07-03 08:12: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'), 47390, 'SRID=4674;POINT (-38.308567 -3.364966)', '2026-07-03 08:12:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308555 -3.364984)'), GeomFromEWKT('SRID=4674;POINT (-38.308567 -3.364966)'))) / (select extract(epoch from '2026-07-03 08:12:56'::timestamp) - extract(epoch from '2026-07-03 08:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308555 -3.364984)'), GeomFromEWKT('SRID=4674;POINT (-38.308567 -3.364966)'))) / (select extract(epoch from '2026-07-03 08:12:56'::timestamp) - extract(epoch from '2026-07-03 08:12: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'), 47390, 'SRID=4674;POINT (-38.308626 -3.364883)', '2026-07-03 08:13:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308567 -3.364966)'), GeomFromEWKT('SRID=4674;POINT (-38.308626 -3.364883)'))) / (select extract(epoch from '2026-07-03 08:13:00'::timestamp) - extract(epoch from '2026-07-03 08:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308567 -3.364966)'), GeomFromEWKT('SRID=4674;POINT (-38.308626 -3.364883)'))) / (select extract(epoch from '2026-07-03 08:13:00'::timestamp) - extract(epoch from '2026-07-03 08:12:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.30869 -3.364771)', '2026-07-03 08:13:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308626 -3.364883)'), GeomFromEWKT('SRID=4674;POINT (-38.30869 -3.364771)'))) / (select extract(epoch from '2026-07-03 08:13:06'::timestamp) - extract(epoch from '2026-07-03 08:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308626 -3.364883)'), GeomFromEWKT('SRID=4674;POINT (-38.30869 -3.364771)'))) / (select extract(epoch from '2026-07-03 08:13:06'::timestamp) - extract(epoch from '2026-07-03 08:13: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'), 47390, 'SRID=4674;POINT (-38.308769 -3.364631)', '2026-07-03 08:13:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30869 -3.364771)'), GeomFromEWKT('SRID=4674;POINT (-38.308769 -3.364631)'))) / (select extract(epoch from '2026-07-03 08:13:13'::timestamp) - extract(epoch from '2026-07-03 08:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30869 -3.364771)'), GeomFromEWKT('SRID=4674;POINT (-38.308769 -3.364631)'))) / (select extract(epoch from '2026-07-03 08:13:13'::timestamp) - extract(epoch from '2026-07-03 08:13: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'), 47390, 'SRID=4674;POINT (-38.308833 -3.364529)', '2026-07-03 08:13:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308769 -3.364631)'), GeomFromEWKT('SRID=4674;POINT (-38.308833 -3.364529)'))) / (select extract(epoch from '2026-07-03 08:13:18'::timestamp) - extract(epoch from '2026-07-03 08:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308769 -3.364631)'), GeomFromEWKT('SRID=4674;POINT (-38.308833 -3.364529)'))) / (select extract(epoch from '2026-07-03 08:13:18'::timestamp) - extract(epoch from '2026-07-03 08:13: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'), 47390, 'SRID=4674;POINT (-38.308888 -3.364422)', '2026-07-03 08:13:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308833 -3.364529)'), GeomFromEWKT('SRID=4674;POINT (-38.308888 -3.364422)'))) / (select extract(epoch from '2026-07-03 08:13:23'::timestamp) - extract(epoch from '2026-07-03 08:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308833 -3.364529)'), GeomFromEWKT('SRID=4674;POINT (-38.308888 -3.364422)'))) / (select extract(epoch from '2026-07-03 08:13:23'::timestamp) - extract(epoch from '2026-07-03 08:13: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'), 47390, 'SRID=4674;POINT (-38.308937 -3.364326)', '2026-07-03 08:13:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308888 -3.364422)'), GeomFromEWKT('SRID=4674;POINT (-38.308937 -3.364326)'))) / (select extract(epoch from '2026-07-03 08:13:28'::timestamp) - extract(epoch from '2026-07-03 08:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308888 -3.364422)'), GeomFromEWKT('SRID=4674;POINT (-38.308937 -3.364326)'))) / (select extract(epoch from '2026-07-03 08:13:28'::timestamp) - extract(epoch from '2026-07-03 08:13: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'), 47390, 'SRID=4674;POINT (-38.308979 -3.364223)', '2026-07-03 08:13:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308937 -3.364326)'), GeomFromEWKT('SRID=4674;POINT (-38.308979 -3.364223)'))) / (select extract(epoch from '2026-07-03 08:13:33'::timestamp) - extract(epoch from '2026-07-03 08:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308937 -3.364326)'), GeomFromEWKT('SRID=4674;POINT (-38.308979 -3.364223)'))) / (select extract(epoch from '2026-07-03 08:13:33'::timestamp) - extract(epoch from '2026-07-03 08:13: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'), 47390, 'SRID=4674;POINT (-38.309029 -3.364116)', '2026-07-03 08:13:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308979 -3.364223)'), GeomFromEWKT('SRID=4674;POINT (-38.309029 -3.364116)'))) / (select extract(epoch from '2026-07-03 08:13:38'::timestamp) - extract(epoch from '2026-07-03 08:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.308979 -3.364223)'), GeomFromEWKT('SRID=4674;POINT (-38.309029 -3.364116)'))) / (select extract(epoch from '2026-07-03 08:13:38'::timestamp) - extract(epoch from '2026-07-03 08:13: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'), 47390, 'SRID=4674;POINT (-38.309087 -3.363994)', '2026-07-03 08:13:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309029 -3.364116)'), GeomFromEWKT('SRID=4674;POINT (-38.309087 -3.363994)'))) / (select extract(epoch from '2026-07-03 08:13:44'::timestamp) - extract(epoch from '2026-07-03 08:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309029 -3.364116)'), GeomFromEWKT('SRID=4674;POINT (-38.309087 -3.363994)'))) / (select extract(epoch from '2026-07-03 08:13:44'::timestamp) - extract(epoch from '2026-07-03 08:13: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'), 47390, 'SRID=4674;POINT (-38.309154 -3.363871)', '2026-07-03 08:13:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309087 -3.363994)'), GeomFromEWKT('SRID=4674;POINT (-38.309154 -3.363871)'))) / (select extract(epoch from '2026-07-03 08:13:50'::timestamp) - extract(epoch from '2026-07-03 08:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309087 -3.363994)'), GeomFromEWKT('SRID=4674;POINT (-38.309154 -3.363871)'))) / (select extract(epoch from '2026-07-03 08:13:50'::timestamp) - extract(epoch from '2026-07-03 08:13: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'), 47390, 'SRID=4674;POINT (-38.309218 -3.36375)', '2026-07-03 08:13:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309154 -3.363871)'), GeomFromEWKT('SRID=4674;POINT (-38.309218 -3.36375)'))) / (select extract(epoch from '2026-07-03 08:13:56'::timestamp) - extract(epoch from '2026-07-03 08:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309154 -3.363871)'), GeomFromEWKT('SRID=4674;POINT (-38.309218 -3.36375)'))) / (select extract(epoch from '2026-07-03 08:13:56'::timestamp) - extract(epoch from '2026-07-03 08:13: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'), 47390, 'SRID=4674;POINT (-38.309277 -3.363633)', '2026-07-03 08:14:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309218 -3.36375)'), GeomFromEWKT('SRID=4674;POINT (-38.309277 -3.363633)'))) / (select extract(epoch from '2026-07-03 08:14:02'::timestamp) - extract(epoch from '2026-07-03 08:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309218 -3.36375)'), GeomFromEWKT('SRID=4674;POINT (-38.309277 -3.363633)'))) / (select extract(epoch from '2026-07-03 08:14:02'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.309321 -3.363531)', '2026-07-03 08:14:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309277 -3.363633)'), GeomFromEWKT('SRID=4674;POINT (-38.309321 -3.363531)'))) / (select extract(epoch from '2026-07-03 08:14:07'::timestamp) - extract(epoch from '2026-07-03 08:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309277 -3.363633)'), GeomFromEWKT('SRID=4674;POINT (-38.309321 -3.363531)'))) / (select extract(epoch from '2026-07-03 08:14:07'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.30938 -3.363408)', '2026-07-03 08:14:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309321 -3.363531)'), GeomFromEWKT('SRID=4674;POINT (-38.30938 -3.363408)'))) / (select extract(epoch from '2026-07-03 08:14:13'::timestamp) - extract(epoch from '2026-07-03 08:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309321 -3.363531)'), GeomFromEWKT('SRID=4674;POINT (-38.30938 -3.363408)'))) / (select extract(epoch from '2026-07-03 08:14:13'::timestamp) - extract(epoch from '2026-07-03 08:14: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'), 47390, 'SRID=4674;POINT (-38.309431 -3.363307)', '2026-07-03 08:14:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30938 -3.363408)'), GeomFromEWKT('SRID=4674;POINT (-38.309431 -3.363307)'))) / (select extract(epoch from '2026-07-03 08:14:18'::timestamp) - extract(epoch from '2026-07-03 08:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.30938 -3.363408)'), GeomFromEWKT('SRID=4674;POINT (-38.309431 -3.363307)'))) / (select extract(epoch from '2026-07-03 08:14:18'::timestamp) - extract(epoch from '2026-07-03 08:14: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'), 47390, 'SRID=4674;POINT (-38.309499 -3.363193)', '2026-07-03 08:14:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309431 -3.363307)'), GeomFromEWKT('SRID=4674;POINT (-38.309499 -3.363193)'))) / (select extract(epoch from '2026-07-03 08:14:24'::timestamp) - extract(epoch from '2026-07-03 08:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309431 -3.363307)'), GeomFromEWKT('SRID=4674;POINT (-38.309499 -3.363193)'))) / (select extract(epoch from '2026-07-03 08:14:24'::timestamp) - extract(epoch from '2026-07-03 08:14: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'), 47390, 'SRID=4674;POINT (-38.309554 -3.363073)', '2026-07-03 08:14:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309499 -3.363193)'), GeomFromEWKT('SRID=4674;POINT (-38.309554 -3.363073)'))) / (select extract(epoch from '2026-07-03 08:14:30'::timestamp) - extract(epoch from '2026-07-03 08:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309499 -3.363193)'), GeomFromEWKT('SRID=4674;POINT (-38.309554 -3.363073)'))) / (select extract(epoch from '2026-07-03 08:14:30'::timestamp) - extract(epoch from '2026-07-03 08:14: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'), 47390, 'SRID=4674;POINT (-38.309621 -3.362958)', '2026-07-03 08:14:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309554 -3.363073)'), GeomFromEWKT('SRID=4674;POINT (-38.309621 -3.362958)'))) / (select extract(epoch from '2026-07-03 08:14:36'::timestamp) - extract(epoch from '2026-07-03 08:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309554 -3.363073)'), GeomFromEWKT('SRID=4674;POINT (-38.309621 -3.362958)'))) / (select extract(epoch from '2026-07-03 08:14:36'::timestamp) - extract(epoch from '2026-07-03 08:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.309687 -3.362857)', '2026-07-03 08:14:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309621 -3.362958)'), GeomFromEWKT('SRID=4674;POINT (-38.309687 -3.362857)'))) / (select extract(epoch from '2026-07-03 08:14:41'::timestamp) - extract(epoch from '2026-07-03 08:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309621 -3.362958)'), GeomFromEWKT('SRID=4674;POINT (-38.309687 -3.362857)'))) / (select extract(epoch from '2026-07-03 08:14:41'::timestamp) - extract(epoch from '2026-07-03 08:14: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'), 47390, 'SRID=4674;POINT (-38.309735 -3.362763)', '2026-07-03 08:14:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309687 -3.362857)'), GeomFromEWKT('SRID=4674;POINT (-38.309735 -3.362763)'))) / (select extract(epoch from '2026-07-03 08:14:46'::timestamp) - extract(epoch from '2026-07-03 08:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309687 -3.362857)'), GeomFromEWKT('SRID=4674;POINT (-38.309735 -3.362763)'))) / (select extract(epoch from '2026-07-03 08:14:46'::timestamp) - extract(epoch from '2026-07-03 08:14: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'), 47390, 'SRID=4674;POINT (-38.309795 -3.362668)', '2026-07-03 08:14:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309735 -3.362763)'), GeomFromEWKT('SRID=4674;POINT (-38.309795 -3.362668)'))) / (select extract(epoch from '2026-07-03 08:14:51'::timestamp) - extract(epoch from '2026-07-03 08:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309735 -3.362763)'), GeomFromEWKT('SRID=4674;POINT (-38.309795 -3.362668)'))) / (select extract(epoch from '2026-07-03 08:14:51'::timestamp) - extract(epoch from '2026-07-03 08:14: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'), 47390, 'SRID=4674;POINT (-38.309859 -3.362546)', '2026-07-03 08:14:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309795 -3.362668)'), GeomFromEWKT('SRID=4674;POINT (-38.309859 -3.362546)'))) / (select extract(epoch from '2026-07-03 08:14:57'::timestamp) - extract(epoch from '2026-07-03 08:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309795 -3.362668)'), GeomFromEWKT('SRID=4674;POINT (-38.309859 -3.362546)'))) / (select extract(epoch from '2026-07-03 08:14:57'::timestamp) - extract(epoch from '2026-07-03 08:14: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'), 47390, 'SRID=4674;POINT (-38.309935 -3.36245)', '2026-07-03 08:15:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309859 -3.362546)'), GeomFromEWKT('SRID=4674;POINT (-38.309935 -3.36245)'))) / (select extract(epoch from '2026-07-03 08:15:02'::timestamp) - extract(epoch from '2026-07-03 08:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309859 -3.362546)'), GeomFromEWKT('SRID=4674;POINT (-38.309935 -3.36245)'))) / (select extract(epoch from '2026-07-03 08:15:02'::timestamp) - extract(epoch from '2026-07-03 08:14: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'), 47390, 'SRID=4674;POINT (-38.310001 -3.362332)', '2026-07-03 08:15:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309935 -3.36245)'), GeomFromEWKT('SRID=4674;POINT (-38.310001 -3.362332)'))) / (select extract(epoch from '2026-07-03 08:15:08'::timestamp) - extract(epoch from '2026-07-03 08:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.309935 -3.36245)'), GeomFromEWKT('SRID=4674;POINT (-38.310001 -3.362332)'))) / (select extract(epoch from '2026-07-03 08:15:08'::timestamp) - extract(epoch from '2026-07-03 08:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.310085 -3.362169)', '2026-07-03 08:15:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310001 -3.362332)'), GeomFromEWKT('SRID=4674;POINT (-38.310085 -3.362169)'))) / (select extract(epoch from '2026-07-03 08:15:16'::timestamp) - extract(epoch from '2026-07-03 08:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310001 -3.362332)'), GeomFromEWKT('SRID=4674;POINT (-38.310085 -3.362169)'))) / (select extract(epoch from '2026-07-03 08:15:16'::timestamp) - extract(epoch from '2026-07-03 08:15: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'), 47390, 'SRID=4674;POINT (-38.310147 -3.362014)', '2026-07-03 08:15:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310085 -3.362169)'), GeomFromEWKT('SRID=4674;POINT (-38.310147 -3.362014)'))) / (select extract(epoch from '2026-07-03 08:15:23'::timestamp) - extract(epoch from '2026-07-03 08:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310085 -3.362169)'), GeomFromEWKT('SRID=4674;POINT (-38.310147 -3.362014)'))) / (select extract(epoch from '2026-07-03 08:15:23'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.310191 -3.361883)', '2026-07-03 08:15:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310147 -3.362014)'), GeomFromEWKT('SRID=4674;POINT (-38.310191 -3.361883)'))) / (select extract(epoch from '2026-07-03 08:15:29'::timestamp) - extract(epoch from '2026-07-03 08:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310147 -3.362014)'), GeomFromEWKT('SRID=4674;POINT (-38.310191 -3.361883)'))) / (select extract(epoch from '2026-07-03 08:15:29'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.310227 -3.361825)', '2026-07-03 08:15:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310191 -3.361883)'), GeomFromEWKT('SRID=4674;POINT (-38.310227 -3.361825)'))) / (select extract(epoch from '2026-07-03 08:15:32'::timestamp) - extract(epoch from '2026-07-03 08:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310191 -3.361883)'), GeomFromEWKT('SRID=4674;POINT (-38.310227 -3.361825)'))) / (select extract(epoch from '2026-07-03 08:15:32'::timestamp) - extract(epoch from '2026-07-03 08:15: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'), 47390, 'SRID=4674;POINT (-38.310241 -3.361781)', '2026-07-03 08:15:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310227 -3.361825)'), GeomFromEWKT('SRID=4674;POINT (-38.310241 -3.361781)'))) / (select extract(epoch from '2026-07-03 08:15:34'::timestamp) - extract(epoch from '2026-07-03 08:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310227 -3.361825)'), GeomFromEWKT('SRID=4674;POINT (-38.310241 -3.361781)'))) / (select extract(epoch from '2026-07-03 08:15:34'::timestamp) - extract(epoch from '2026-07-03 08:15: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'), 47390, 'SRID=4674;POINT (-38.310301 -3.361685)', '2026-07-03 08:15:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310241 -3.361781)'), GeomFromEWKT('SRID=4674;POINT (-38.310301 -3.361685)'))) / (select extract(epoch from '2026-07-03 08:15:39'::timestamp) - extract(epoch from '2026-07-03 08:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310241 -3.361781)'), GeomFromEWKT('SRID=4674;POINT (-38.310301 -3.361685)'))) / (select extract(epoch from '2026-07-03 08:15:39'::timestamp) - extract(epoch from '2026-07-03 08:15: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'), 47390, 'SRID=4674;POINT (-38.310357 -3.361583)', '2026-07-03 08:15:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310301 -3.361685)'), GeomFromEWKT('SRID=4674;POINT (-38.310357 -3.361583)'))) / (select extract(epoch from '2026-07-03 08:15:44'::timestamp) - extract(epoch from '2026-07-03 08:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310301 -3.361685)'), GeomFromEWKT('SRID=4674;POINT (-38.310357 -3.361583)'))) / (select extract(epoch from '2026-07-03 08:15:44'::timestamp) - extract(epoch from '2026-07-03 08:15: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'), 47390, 'SRID=4674;POINT (-38.310365 -3.361563)', '2026-07-03 08:15:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310357 -3.361583)'), GeomFromEWKT('SRID=4674;POINT (-38.310365 -3.361563)'))) / (select extract(epoch from '2026-07-03 08:15:45'::timestamp) - extract(epoch from '2026-07-03 08:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310357 -3.361583)'), GeomFromEWKT('SRID=4674;POINT (-38.310365 -3.361563)'))) / (select extract(epoch from '2026-07-03 08:15:45'::timestamp) - extract(epoch from '2026-07-03 08:15: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'), 47390, 'SRID=4674;POINT (-38.310407 -3.361482)', '2026-07-03 08:15:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310365 -3.361563)'), GeomFromEWKT('SRID=4674;POINT (-38.310407 -3.361482)'))) / (select extract(epoch from '2026-07-03 08:15:49'::timestamp) - extract(epoch from '2026-07-03 08:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310365 -3.361563)'), GeomFromEWKT('SRID=4674;POINT (-38.310407 -3.361482)'))) / (select extract(epoch from '2026-07-03 08:15:49'::timestamp) - extract(epoch from '2026-07-03 08:15: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'), 47390, 'SRID=4674;POINT (-38.310433 -3.361424)', '2026-07-03 08:15:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310407 -3.361482)'), GeomFromEWKT('SRID=4674;POINT (-38.310433 -3.361424)'))) / (select extract(epoch from '2026-07-03 08:15:52'::timestamp) - extract(epoch from '2026-07-03 08:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310407 -3.361482)'), GeomFromEWKT('SRID=4674;POINT (-38.310433 -3.361424)'))) / (select extract(epoch from '2026-07-03 08:15:52'::timestamp) - extract(epoch from '2026-07-03 08:15: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'), 47390, 'SRID=4674;POINT (-38.310458 -3.361385)', '2026-07-03 08:15:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310433 -3.361424)'), GeomFromEWKT('SRID=4674;POINT (-38.310458 -3.361385)'))) / (select extract(epoch from '2026-07-03 08:15:54'::timestamp) - extract(epoch from '2026-07-03 08:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310433 -3.361424)'), GeomFromEWKT('SRID=4674;POINT (-38.310458 -3.361385)'))) / (select extract(epoch from '2026-07-03 08:15:54'::timestamp) - extract(epoch from '2026-07-03 08:15: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'), 47390, 'SRID=4674;POINT (-38.310487 -3.361328)', '2026-07-03 08:15:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310458 -3.361385)'), GeomFromEWKT('SRID=4674;POINT (-38.310487 -3.361328)'))) / (select extract(epoch from '2026-07-03 08:15:57'::timestamp) - extract(epoch from '2026-07-03 08:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310458 -3.361385)'), GeomFromEWKT('SRID=4674;POINT (-38.310487 -3.361328)'))) / (select extract(epoch from '2026-07-03 08:15:57'::timestamp) - extract(epoch from '2026-07-03 08:15: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'), 47390, 'SRID=4674;POINT (-38.310496 -3.361285)', '2026-07-03 08:15:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310487 -3.361328)'), GeomFromEWKT('SRID=4674;POINT (-38.310496 -3.361285)'))) / (select extract(epoch from '2026-07-03 08:15:59'::timestamp) - extract(epoch from '2026-07-03 08:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310487 -3.361328)'), GeomFromEWKT('SRID=4674;POINT (-38.310496 -3.361285)'))) / (select extract(epoch from '2026-07-03 08:15:59'::timestamp) - extract(epoch from '2026-07-03 08:15: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'), 47390, 'SRID=4674;POINT (-38.310557 -3.361206)', '2026-07-03 08:16:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310496 -3.361285)'), GeomFromEWKT('SRID=4674;POINT (-38.310557 -3.361206)'))) / (select extract(epoch from '2026-07-03 08:16:03'::timestamp) - extract(epoch from '2026-07-03 08:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310496 -3.361285)'), GeomFromEWKT('SRID=4674;POINT (-38.310557 -3.361206)'))) / (select extract(epoch from '2026-07-03 08:16:03'::timestamp) - extract(epoch from '2026-07-03 08:15: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'), 47390, 'SRID=4674;POINT (-38.310598 -3.361108)', '2026-07-03 08:16:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310557 -3.361206)'), GeomFromEWKT('SRID=4674;POINT (-38.310598 -3.361108)'))) / (select extract(epoch from '2026-07-03 08:16:08'::timestamp) - extract(epoch from '2026-07-03 08:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310557 -3.361206)'), GeomFromEWKT('SRID=4674;POINT (-38.310598 -3.361108)'))) / (select extract(epoch from '2026-07-03 08:16:08'::timestamp) - extract(epoch from '2026-07-03 08:16:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.310652 -3.361009)', '2026-07-03 08:16:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310598 -3.361108)'), GeomFromEWKT('SRID=4674;POINT (-38.310652 -3.361009)'))) / (select extract(epoch from '2026-07-03 08:16:13'::timestamp) - extract(epoch from '2026-07-03 08:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310598 -3.361108)'), GeomFromEWKT('SRID=4674;POINT (-38.310652 -3.361009)'))) / (select extract(epoch from '2026-07-03 08:16:13'::timestamp) - extract(epoch from '2026-07-03 08:16: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'), 47390, 'SRID=4674;POINT (-38.310688 -3.360909)', '2026-07-03 08:16:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310652 -3.361009)'), GeomFromEWKT('SRID=4674;POINT (-38.310688 -3.360909)'))) / (select extract(epoch from '2026-07-03 08:16:18'::timestamp) - extract(epoch from '2026-07-03 08:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310652 -3.361009)'), GeomFromEWKT('SRID=4674;POINT (-38.310688 -3.360909)'))) / (select extract(epoch from '2026-07-03 08:16:18'::timestamp) - extract(epoch from '2026-07-03 08:16: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'), 47390, 'SRID=4674;POINT (-38.31074 -3.360809)', '2026-07-03 08:16:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310688 -3.360909)'), GeomFromEWKT('SRID=4674;POINT (-38.31074 -3.360809)'))) / (select extract(epoch from '2026-07-03 08:16:23'::timestamp) - extract(epoch from '2026-07-03 08:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310688 -3.360909)'), GeomFromEWKT('SRID=4674;POINT (-38.31074 -3.360809)'))) / (select extract(epoch from '2026-07-03 08:16:23'::timestamp) - extract(epoch from '2026-07-03 08:16: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'), 47390, 'SRID=4674;POINT (-38.310745 -3.360789)', '2026-07-03 08:16:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31074 -3.360809)'), GeomFromEWKT('SRID=4674;POINT (-38.310745 -3.360789)'))) / (select extract(epoch from '2026-07-03 08:16:24'::timestamp) - extract(epoch from '2026-07-03 08:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31074 -3.360809)'), GeomFromEWKT('SRID=4674;POINT (-38.310745 -3.360789)'))) / (select extract(epoch from '2026-07-03 08:16:24'::timestamp) - extract(epoch from '2026-07-03 08:16: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'), 47390, 'SRID=4674;POINT (-38.310797 -3.360678)', '2026-07-03 08:16:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310745 -3.360789)'), GeomFromEWKT('SRID=4674;POINT (-38.310797 -3.360678)'))) / (select extract(epoch from '2026-07-03 08:16:29'::timestamp) - extract(epoch from '2026-07-03 08:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310745 -3.360789)'), GeomFromEWKT('SRID=4674;POINT (-38.310797 -3.360678)'))) / (select extract(epoch from '2026-07-03 08:16:29'::timestamp) - extract(epoch from '2026-07-03 08:16: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'), 47390, 'SRID=4674;POINT (-38.310853 -3.360584)', '2026-07-03 08:16:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310797 -3.360678)'), GeomFromEWKT('SRID=4674;POINT (-38.310853 -3.360584)'))) / (select extract(epoch from '2026-07-03 08:16:34'::timestamp) - extract(epoch from '2026-07-03 08:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310797 -3.360678)'), GeomFromEWKT('SRID=4674;POINT (-38.310853 -3.360584)'))) / (select extract(epoch from '2026-07-03 08:16:34'::timestamp) - extract(epoch from '2026-07-03 08:16: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'), 47390, 'SRID=4674;POINT (-38.310913 -3.360495)', '2026-07-03 08:16:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310853 -3.360584)'), GeomFromEWKT('SRID=4674;POINT (-38.310913 -3.360495)'))) / (select extract(epoch from '2026-07-03 08:16:39'::timestamp) - extract(epoch from '2026-07-03 08:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310853 -3.360584)'), GeomFromEWKT('SRID=4674;POINT (-38.310913 -3.360495)'))) / (select extract(epoch from '2026-07-03 08:16:39'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.310978 -3.360404)', '2026-07-03 08:16:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310913 -3.360495)'), GeomFromEWKT('SRID=4674;POINT (-38.310978 -3.360404)'))) / (select extract(epoch from '2026-07-03 08:16:44'::timestamp) - extract(epoch from '2026-07-03 08:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310913 -3.360495)'), GeomFromEWKT('SRID=4674;POINT (-38.310978 -3.360404)'))) / (select extract(epoch from '2026-07-03 08:16:44'::timestamp) - extract(epoch from '2026-07-03 08:16: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'), 47390, 'SRID=4674;POINT (-38.311034 -3.360317)', '2026-07-03 08:16:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310978 -3.360404)'), GeomFromEWKT('SRID=4674;POINT (-38.311034 -3.360317)'))) / (select extract(epoch from '2026-07-03 08:16:49'::timestamp) - extract(epoch from '2026-07-03 08:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.310978 -3.360404)'), GeomFromEWKT('SRID=4674;POINT (-38.311034 -3.360317)'))) / (select extract(epoch from '2026-07-03 08:16:49'::timestamp) - extract(epoch from '2026-07-03 08:16: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'), 47390, 'SRID=4674;POINT (-38.311093 -3.360232)', '2026-07-03 08:16:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311034 -3.360317)'), GeomFromEWKT('SRID=4674;POINT (-38.311093 -3.360232)'))) / (select extract(epoch from '2026-07-03 08:16:54'::timestamp) - extract(epoch from '2026-07-03 08:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311034 -3.360317)'), GeomFromEWKT('SRID=4674;POINT (-38.311093 -3.360232)'))) / (select extract(epoch from '2026-07-03 08:16:54'::timestamp) - extract(epoch from '2026-07-03 08:16: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'), 47390, 'SRID=4674;POINT (-38.311159 -3.360099)', '2026-07-03 08:17:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311093 -3.360232)'), GeomFromEWKT('SRID=4674;POINT (-38.311159 -3.360099)'))) / (select extract(epoch from '2026-07-03 08:17:01'::timestamp) - extract(epoch from '2026-07-03 08:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311093 -3.360232)'), GeomFromEWKT('SRID=4674;POINT (-38.311159 -3.360099)'))) / (select extract(epoch from '2026-07-03 08:17:01'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.311214 -3.359986)', '2026-07-03 08:17:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311159 -3.360099)'), GeomFromEWKT('SRID=4674;POINT (-38.311214 -3.359986)'))) / (select extract(epoch from '2026-07-03 08:17:07'::timestamp) - extract(epoch from '2026-07-03 08:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311159 -3.360099)'), GeomFromEWKT('SRID=4674;POINT (-38.311214 -3.359986)'))) / (select extract(epoch from '2026-07-03 08:17:07'::timestamp) - extract(epoch from '2026-07-03 08:17: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'), 47390, 'SRID=4674;POINT (-38.311257 -3.359885)', '2026-07-03 08:17:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311214 -3.359986)'), GeomFromEWKT('SRID=4674;POINT (-38.311257 -3.359885)'))) / (select extract(epoch from '2026-07-03 08:17:12'::timestamp) - extract(epoch from '2026-07-03 08:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311214 -3.359986)'), GeomFromEWKT('SRID=4674;POINT (-38.311257 -3.359885)'))) / (select extract(epoch from '2026-07-03 08:17:12'::timestamp) - extract(epoch from '2026-07-03 08:17: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'), 47390, 'SRID=4674;POINT (-38.311296 -3.359788)', '2026-07-03 08:17:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311257 -3.359885)'), GeomFromEWKT('SRID=4674;POINT (-38.311296 -3.359788)'))) / (select extract(epoch from '2026-07-03 08:17:17'::timestamp) - extract(epoch from '2026-07-03 08:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311257 -3.359885)'), GeomFromEWKT('SRID=4674;POINT (-38.311296 -3.359788)'))) / (select extract(epoch from '2026-07-03 08:17:17'::timestamp) - extract(epoch from '2026-07-03 08:17: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'), 47390, 'SRID=4674;POINT (-38.311353 -3.359698)', '2026-07-03 08:17:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311296 -3.359788)'), GeomFromEWKT('SRID=4674;POINT (-38.311353 -3.359698)'))) / (select extract(epoch from '2026-07-03 08:17:22'::timestamp) - extract(epoch from '2026-07-03 08:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311296 -3.359788)'), GeomFromEWKT('SRID=4674;POINT (-38.311353 -3.359698)'))) / (select extract(epoch from '2026-07-03 08:17:22'::timestamp) - extract(epoch from '2026-07-03 08:17: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'), 47390, 'SRID=4674;POINT (-38.311404 -3.359604)', '2026-07-03 08:17:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311353 -3.359698)'), GeomFromEWKT('SRID=4674;POINT (-38.311404 -3.359604)'))) / (select extract(epoch from '2026-07-03 08:17:27'::timestamp) - extract(epoch from '2026-07-03 08:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311353 -3.359698)'), GeomFromEWKT('SRID=4674;POINT (-38.311404 -3.359604)'))) / (select extract(epoch from '2026-07-03 08:17:27'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.311468 -3.359492)', '2026-07-03 08:17:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311404 -3.359604)'), GeomFromEWKT('SRID=4674;POINT (-38.311468 -3.359492)'))) / (select extract(epoch from '2026-07-03 08:17:33'::timestamp) - extract(epoch from '2026-07-03 08:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311404 -3.359604)'), GeomFromEWKT('SRID=4674;POINT (-38.311468 -3.359492)'))) / (select extract(epoch from '2026-07-03 08:17:33'::timestamp) - extract(epoch from '2026-07-03 08:17: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'), 47390, 'SRID=4674;POINT (-38.31153 -3.359378)', '2026-07-03 08:17:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311468 -3.359492)'), GeomFromEWKT('SRID=4674;POINT (-38.31153 -3.359378)'))) / (select extract(epoch from '2026-07-03 08:17:39'::timestamp) - extract(epoch from '2026-07-03 08:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311468 -3.359492)'), GeomFromEWKT('SRID=4674;POINT (-38.31153 -3.359378)'))) / (select extract(epoch from '2026-07-03 08:17:39'::timestamp) - extract(epoch from '2026-07-03 08:17: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'), 47390, 'SRID=4674;POINT (-38.311594 -3.359286)', '2026-07-03 08:17:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31153 -3.359378)'), GeomFromEWKT('SRID=4674;POINT (-38.311594 -3.359286)'))) / (select extract(epoch from '2026-07-03 08:17:44'::timestamp) - extract(epoch from '2026-07-03 08:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31153 -3.359378)'), GeomFromEWKT('SRID=4674;POINT (-38.311594 -3.359286)'))) / (select extract(epoch from '2026-07-03 08:17:44'::timestamp) - extract(epoch from '2026-07-03 08:17: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'), 47390, 'SRID=4674;POINT (-38.31161 -3.359272)', '2026-07-03 08:17:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311594 -3.359286)'), GeomFromEWKT('SRID=4674;POINT (-38.31161 -3.359272)'))) / (select extract(epoch from '2026-07-03 08:17:45'::timestamp) - extract(epoch from '2026-07-03 08:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311594 -3.359286)'), GeomFromEWKT('SRID=4674;POINT (-38.31161 -3.359272)'))) / (select extract(epoch from '2026-07-03 08:17:45'::timestamp) - extract(epoch from '2026-07-03 08:17: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'), 47390, 'SRID=4674;POINT (-38.311666 -3.359211)', '2026-07-03 08:17:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31161 -3.359272)'), GeomFromEWKT('SRID=4674;POINT (-38.311666 -3.359211)'))) / (select extract(epoch from '2026-07-03 08:17:48'::timestamp) - extract(epoch from '2026-07-03 08:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31161 -3.359272)'), GeomFromEWKT('SRID=4674;POINT (-38.311666 -3.359211)'))) / (select extract(epoch from '2026-07-03 08:17:48'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.311693 -3.359158)', '2026-07-03 08:17:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311666 -3.359211)'), GeomFromEWKT('SRID=4674;POINT (-38.311693 -3.359158)'))) / (select extract(epoch from '2026-07-03 08:17:51'::timestamp) - extract(epoch from '2026-07-03 08:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311666 -3.359211)'), GeomFromEWKT('SRID=4674;POINT (-38.311693 -3.359158)'))) / (select extract(epoch from '2026-07-03 08:17:51'::timestamp) - extract(epoch from '2026-07-03 08:17: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'), 47390, 'SRID=4674;POINT (-38.311722 -3.359122)', '2026-07-03 08:17:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311693 -3.359158)'), GeomFromEWKT('SRID=4674;POINT (-38.311722 -3.359122)'))) / (select extract(epoch from '2026-07-03 08:17:53'::timestamp) - extract(epoch from '2026-07-03 08:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311693 -3.359158)'), GeomFromEWKT('SRID=4674;POINT (-38.311722 -3.359122)'))) / (select extract(epoch from '2026-07-03 08:17:53'::timestamp) - extract(epoch from '2026-07-03 08:17: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'), 47390, 'SRID=4674;POINT (-38.311788 -3.359012)', '2026-07-03 08:17:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311722 -3.359122)'), GeomFromEWKT('SRID=4674;POINT (-38.311788 -3.359012)'))) / (select extract(epoch from '2026-07-03 08:17:59'::timestamp) - extract(epoch from '2026-07-03 08:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311722 -3.359122)'), GeomFromEWKT('SRID=4674;POINT (-38.311788 -3.359012)'))) / (select extract(epoch from '2026-07-03 08:17:59'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.311842 -3.358935)', '2026-07-03 08:18:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311788 -3.359012)'), GeomFromEWKT('SRID=4674;POINT (-38.311842 -3.358935)'))) / (select extract(epoch from '2026-07-03 08:18:03'::timestamp) - extract(epoch from '2026-07-03 08:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311788 -3.359012)'), GeomFromEWKT('SRID=4674;POINT (-38.311842 -3.358935)'))) / (select extract(epoch from '2026-07-03 08:18:03'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.311889 -3.358847)', '2026-07-03 08:18:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311842 -3.358935)'), GeomFromEWKT('SRID=4674;POINT (-38.311889 -3.358847)'))) / (select extract(epoch from '2026-07-03 08:18:08'::timestamp) - extract(epoch from '2026-07-03 08:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311842 -3.358935)'), GeomFromEWKT('SRID=4674;POINT (-38.311889 -3.358847)'))) / (select extract(epoch from '2026-07-03 08:18:08'::timestamp) - extract(epoch from '2026-07-03 08:18: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'), 47390, 'SRID=4674;POINT (-38.311903 -3.358829)', '2026-07-03 08:18:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311889 -3.358847)'), GeomFromEWKT('SRID=4674;POINT (-38.311903 -3.358829)'))) / (select extract(epoch from '2026-07-03 08:18:09'::timestamp) - extract(epoch from '2026-07-03 08:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311889 -3.358847)'), GeomFromEWKT('SRID=4674;POINT (-38.311903 -3.358829)'))) / (select extract(epoch from '2026-07-03 08:18:09'::timestamp) - extract(epoch from '2026-07-03 08:18:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.311971 -3.35871)', '2026-07-03 08:18:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311903 -3.358829)'), GeomFromEWKT('SRID=4674;POINT (-38.311971 -3.35871)'))) / (select extract(epoch from '2026-07-03 08:18:15'::timestamp) - extract(epoch from '2026-07-03 08:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311903 -3.358829)'), GeomFromEWKT('SRID=4674;POINT (-38.311971 -3.35871)'))) / (select extract(epoch from '2026-07-03 08:18:15'::timestamp) - extract(epoch from '2026-07-03 08:18: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'), 47390, 'SRID=4674;POINT (-38.312025 -3.3586)', '2026-07-03 08:18:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311971 -3.35871)'), GeomFromEWKT('SRID=4674;POINT (-38.312025 -3.3586)'))) / (select extract(epoch from '2026-07-03 08:18:20'::timestamp) - extract(epoch from '2026-07-03 08:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.311971 -3.35871)'), GeomFromEWKT('SRID=4674;POINT (-38.312025 -3.3586)'))) / (select extract(epoch from '2026-07-03 08:18:20'::timestamp) - extract(epoch from '2026-07-03 08:18: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'), 47390, 'SRID=4674;POINT (-38.312092 -3.358473)', '2026-07-03 08:18:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312025 -3.3586)'), GeomFromEWKT('SRID=4674;POINT (-38.312092 -3.358473)'))) / (select extract(epoch from '2026-07-03 08:18:26'::timestamp) - extract(epoch from '2026-07-03 08:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312025 -3.3586)'), GeomFromEWKT('SRID=4674;POINT (-38.312092 -3.358473)'))) / (select extract(epoch from '2026-07-03 08:18:26'::timestamp) - extract(epoch from '2026-07-03 08:18: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'), 47390, 'SRID=4674;POINT (-38.3121 -3.358435)', '2026-07-03 08:18:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312092 -3.358473)'), GeomFromEWKT('SRID=4674;POINT (-38.3121 -3.358435)'))) / (select extract(epoch from '2026-07-03 08:18:28'::timestamp) - extract(epoch from '2026-07-03 08:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312092 -3.358473)'), GeomFromEWKT('SRID=4674;POINT (-38.3121 -3.358435)'))) / (select extract(epoch from '2026-07-03 08:18:28'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.312115 -3.358397)', '2026-07-03 08:18:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3121 -3.358435)'), GeomFromEWKT('SRID=4674;POINT (-38.312115 -3.358397)'))) / (select extract(epoch from '2026-07-03 08:18:30'::timestamp) - extract(epoch from '2026-07-03 08:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3121 -3.358435)'), GeomFromEWKT('SRID=4674;POINT (-38.312115 -3.358397)'))) / (select extract(epoch from '2026-07-03 08:18:30'::timestamp) - extract(epoch from '2026-07-03 08:18: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'), 47390, 'SRID=4674;POINT (-38.31217 -3.35832)', '2026-07-03 08:18:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312115 -3.358397)'), GeomFromEWKT('SRID=4674;POINT (-38.31217 -3.35832)'))) / (select extract(epoch from '2026-07-03 08:18:34'::timestamp) - extract(epoch from '2026-07-03 08:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312115 -3.358397)'), GeomFromEWKT('SRID=4674;POINT (-38.31217 -3.35832)'))) / (select extract(epoch from '2026-07-03 08:18:34'::timestamp) - extract(epoch from '2026-07-03 08:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.31224 -3.358205)', '2026-07-03 08:18:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31217 -3.35832)'), GeomFromEWKT('SRID=4674;POINT (-38.31224 -3.358205)'))) / (select extract(epoch from '2026-07-03 08:18:40'::timestamp) - extract(epoch from '2026-07-03 08:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31217 -3.35832)'), GeomFromEWKT('SRID=4674;POINT (-38.31224 -3.358205)'))) / (select extract(epoch from '2026-07-03 08:18:40'::timestamp) - extract(epoch from '2026-07-03 08:18: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'), 47390, 'SRID=4674;POINT (-38.312289 -3.358115)', '2026-07-03 08:18:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31224 -3.358205)'), GeomFromEWKT('SRID=4674;POINT (-38.312289 -3.358115)'))) / (select extract(epoch from '2026-07-03 08:18:44'::timestamp) - extract(epoch from '2026-07-03 08:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31224 -3.358205)'), GeomFromEWKT('SRID=4674;POINT (-38.312289 -3.358115)'))) / (select extract(epoch from '2026-07-03 08:18:44'::timestamp) - extract(epoch from '2026-07-03 08:18: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'), 47390, 'SRID=4674;POINT (-38.312341 -3.357994)', '2026-07-03 08:18:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312289 -3.358115)'), GeomFromEWKT('SRID=4674;POINT (-38.312341 -3.357994)'))) / (select extract(epoch from '2026-07-03 08:18:49'::timestamp) - extract(epoch from '2026-07-03 08:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312289 -3.358115)'), GeomFromEWKT('SRID=4674;POINT (-38.312341 -3.357994)'))) / (select extract(epoch from '2026-07-03 08:18:49'::timestamp) - extract(epoch from '2026-07-03 08:18: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'), 47390, 'SRID=4674;POINT (-38.312368 -3.357906)', '2026-07-03 08:18:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312341 -3.357994)'), GeomFromEWKT('SRID=4674;POINT (-38.312368 -3.357906)'))) / (select extract(epoch from '2026-07-03 08:18:53'::timestamp) - extract(epoch from '2026-07-03 08:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312341 -3.357994)'), GeomFromEWKT('SRID=4674;POINT (-38.312368 -3.357906)'))) / (select extract(epoch from '2026-07-03 08:18:53'::timestamp) - extract(epoch from '2026-07-03 08:18: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'), 47390, 'SRID=4674;POINT (-38.31239 -3.357796)', '2026-07-03 08:18:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312368 -3.357906)'), GeomFromEWKT('SRID=4674;POINT (-38.31239 -3.357796)'))) / (select extract(epoch from '2026-07-03 08:18:57'::timestamp) - extract(epoch from '2026-07-03 08:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312368 -3.357906)'), GeomFromEWKT('SRID=4674;POINT (-38.31239 -3.357796)'))) / (select extract(epoch from '2026-07-03 08:18:57'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.312411 -3.357681)', '2026-07-03 08:19:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31239 -3.357796)'), GeomFromEWKT('SRID=4674;POINT (-38.312411 -3.357681)'))) / (select extract(epoch from '2026-07-03 08:19:02'::timestamp) - extract(epoch from '2026-07-03 08:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31239 -3.357796)'), GeomFromEWKT('SRID=4674;POINT (-38.312411 -3.357681)'))) / (select extract(epoch from '2026-07-03 08:19:02'::timestamp) - extract(epoch from '2026-07-03 08:18: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'), 47390, 'SRID=4674;POINT (-38.312442 -3.357573)', '2026-07-03 08:19:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312411 -3.357681)'), GeomFromEWKT('SRID=4674;POINT (-38.312442 -3.357573)'))) / (select extract(epoch from '2026-07-03 08:19:07'::timestamp) - extract(epoch from '2026-07-03 08:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312411 -3.357681)'), GeomFromEWKT('SRID=4674;POINT (-38.312442 -3.357573)'))) / (select extract(epoch from '2026-07-03 08:19:07'::timestamp) - extract(epoch from '2026-07-03 08:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.312464 -3.357466)', '2026-07-03 08:19:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312442 -3.357573)'), GeomFromEWKT('SRID=4674;POINT (-38.312464 -3.357466)'))) / (select extract(epoch from '2026-07-03 08:19:12'::timestamp) - extract(epoch from '2026-07-03 08:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312442 -3.357573)'), GeomFromEWKT('SRID=4674;POINT (-38.312464 -3.357466)'))) / (select extract(epoch from '2026-07-03 08:19:12'::timestamp) - extract(epoch from '2026-07-03 08:19:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.312488 -3.357362)', '2026-07-03 08:19:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312464 -3.357466)'), GeomFromEWKT('SRID=4674;POINT (-38.312488 -3.357362)'))) / (select extract(epoch from '2026-07-03 08:19:17'::timestamp) - extract(epoch from '2026-07-03 08:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312464 -3.357466)'), GeomFromEWKT('SRID=4674;POINT (-38.312488 -3.357362)'))) / (select extract(epoch from '2026-07-03 08:19:17'::timestamp) - extract(epoch from '2026-07-03 08:19: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'), 47390, 'SRID=4674;POINT (-38.312505 -3.357295)', '2026-07-03 08:19:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312488 -3.357362)'), GeomFromEWKT('SRID=4674;POINT (-38.312505 -3.357295)'))) / (select extract(epoch from '2026-07-03 08:19:20'::timestamp) - extract(epoch from '2026-07-03 08:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312488 -3.357362)'), GeomFromEWKT('SRID=4674;POINT (-38.312505 -3.357295)'))) / (select extract(epoch from '2026-07-03 08:19:20'::timestamp) - extract(epoch from '2026-07-03 08:19: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'), 47390, 'SRID=4674;POINT (-38.312513 -3.357256)', '2026-07-03 08:19:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312505 -3.357295)'), GeomFromEWKT('SRID=4674;POINT (-38.312513 -3.357256)'))) / (select extract(epoch from '2026-07-03 08:19:22'::timestamp) - extract(epoch from '2026-07-03 08:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312505 -3.357295)'), GeomFromEWKT('SRID=4674;POINT (-38.312513 -3.357256)'))) / (select extract(epoch from '2026-07-03 08:19:22'::timestamp) - extract(epoch from '2026-07-03 08:19:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.31254 -3.357151)', '2026-07-03 08:19:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312513 -3.357256)'), GeomFromEWKT('SRID=4674;POINT (-38.31254 -3.357151)'))) / (select extract(epoch from '2026-07-03 08:19:27'::timestamp) - extract(epoch from '2026-07-03 08:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312513 -3.357256)'), GeomFromEWKT('SRID=4674;POINT (-38.31254 -3.357151)'))) / (select extract(epoch from '2026-07-03 08:19:27'::timestamp) - extract(epoch from '2026-07-03 08:19: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'), 47390, 'SRID=4674;POINT (-38.312561 -3.35707)', '2026-07-03 08:19:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31254 -3.357151)'), GeomFromEWKT('SRID=4674;POINT (-38.312561 -3.35707)'))) / (select extract(epoch from '2026-07-03 08:19:31'::timestamp) - extract(epoch from '2026-07-03 08:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31254 -3.357151)'), GeomFromEWKT('SRID=4674;POINT (-38.312561 -3.35707)'))) / (select extract(epoch from '2026-07-03 08:19:31'::timestamp) - extract(epoch from '2026-07-03 08:19: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'), 47390, 'SRID=4674;POINT (-38.312562 -3.357047)', '2026-07-03 08:19:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312561 -3.35707)'), GeomFromEWKT('SRID=4674;POINT (-38.312562 -3.357047)'))) / (select extract(epoch from '2026-07-03 08:19:32'::timestamp) - extract(epoch from '2026-07-03 08:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312561 -3.35707)'), GeomFromEWKT('SRID=4674;POINT (-38.312562 -3.357047)'))) / (select extract(epoch from '2026-07-03 08:19:32'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.312568 -3.35703)', '2026-07-03 08:19:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312562 -3.357047)'), GeomFromEWKT('SRID=4674;POINT (-38.312568 -3.35703)'))) / (select extract(epoch from '2026-07-03 08:19:33'::timestamp) - extract(epoch from '2026-07-03 08:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312562 -3.357047)'), GeomFromEWKT('SRID=4674;POINT (-38.312568 -3.35703)'))) / (select extract(epoch from '2026-07-03 08:19:33'::timestamp) - extract(epoch from '2026-07-03 08:19: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'), 47390, 'SRID=4674;POINT (-38.312597 -3.356972)', '2026-07-03 08:19:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312568 -3.35703)'), GeomFromEWKT('SRID=4674;POINT (-38.312597 -3.356972)'))) / (select extract(epoch from '2026-07-03 08:19:36'::timestamp) - extract(epoch from '2026-07-03 08:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312568 -3.35703)'), GeomFromEWKT('SRID=4674;POINT (-38.312597 -3.356972)'))) / (select extract(epoch from '2026-07-03 08:19:36'::timestamp) - extract(epoch from '2026-07-03 08:19:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.312623 -3.356885)', '2026-07-03 08:19:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312597 -3.356972)'), GeomFromEWKT('SRID=4674;POINT (-38.312623 -3.356885)'))) / (select extract(epoch from '2026-07-03 08:19:40'::timestamp) - extract(epoch from '2026-07-03 08:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312597 -3.356972)'), GeomFromEWKT('SRID=4674;POINT (-38.312623 -3.356885)'))) / (select extract(epoch from '2026-07-03 08:19:40'::timestamp) - extract(epoch from '2026-07-03 08:19: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'), 47390, 'SRID=4674;POINT (-38.312639 -3.356866)', '2026-07-03 08:19:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312623 -3.356885)'), GeomFromEWKT('SRID=4674;POINT (-38.312639 -3.356866)'))) / (select extract(epoch from '2026-07-03 08:19:41'::timestamp) - extract(epoch from '2026-07-03 08:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312623 -3.356885)'), GeomFromEWKT('SRID=4674;POINT (-38.312639 -3.356866)'))) / (select extract(epoch from '2026-07-03 08:19:41'::timestamp) - extract(epoch from '2026-07-03 08:19:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.312681 -3.356761)', '2026-07-03 08:19:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312639 -3.356866)'), GeomFromEWKT('SRID=4674;POINT (-38.312681 -3.356761)'))) / (select extract(epoch from '2026-07-03 08:19:46'::timestamp) - extract(epoch from '2026-07-03 08:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312639 -3.356866)'), GeomFromEWKT('SRID=4674;POINT (-38.312681 -3.356761)'))) / (select extract(epoch from '2026-07-03 08:19:46'::timestamp) - extract(epoch from '2026-07-03 08:19: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'), 47390, 'SRID=4674;POINT (-38.312719 -3.356661)', '2026-07-03 08:19:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312681 -3.356761)'), GeomFromEWKT('SRID=4674;POINT (-38.312719 -3.356661)'))) / (select extract(epoch from '2026-07-03 08:19:51'::timestamp) - extract(epoch from '2026-07-03 08:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312681 -3.356761)'), GeomFromEWKT('SRID=4674;POINT (-38.312719 -3.356661)'))) / (select extract(epoch from '2026-07-03 08:19:51'::timestamp) - extract(epoch from '2026-07-03 08:19: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'), 47390, 'SRID=4674;POINT (-38.312773 -3.35654)', '2026-07-03 08:19:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312719 -3.356661)'), GeomFromEWKT('SRID=4674;POINT (-38.312773 -3.35654)'))) / (select extract(epoch from '2026-07-03 08:19:57'::timestamp) - extract(epoch from '2026-07-03 08:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312719 -3.356661)'), GeomFromEWKT('SRID=4674;POINT (-38.312773 -3.35654)'))) / (select extract(epoch from '2026-07-03 08:19:57'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.31282 -3.356449)', '2026-07-03 08:20:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312773 -3.35654)'), GeomFromEWKT('SRID=4674;POINT (-38.31282 -3.356449)'))) / (select extract(epoch from '2026-07-03 08:20:02'::timestamp) - extract(epoch from '2026-07-03 08:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312773 -3.35654)'), GeomFromEWKT('SRID=4674;POINT (-38.31282 -3.356449)'))) / (select extract(epoch from '2026-07-03 08:20:02'::timestamp) - extract(epoch from '2026-07-03 08:19: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'), 47390, 'SRID=4674;POINT (-38.312879 -3.356361)', '2026-07-03 08:20:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31282 -3.356449)'), GeomFromEWKT('SRID=4674;POINT (-38.312879 -3.356361)'))) / (select extract(epoch from '2026-07-03 08:20:07'::timestamp) - extract(epoch from '2026-07-03 08:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31282 -3.356449)'), GeomFromEWKT('SRID=4674;POINT (-38.312879 -3.356361)'))) / (select extract(epoch from '2026-07-03 08:20:07'::timestamp) - extract(epoch from '2026-07-03 08:20: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'), 47390, 'SRID=4674;POINT (-38.312936 -3.356276)', '2026-07-03 08:20:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312879 -3.356361)'), GeomFromEWKT('SRID=4674;POINT (-38.312936 -3.356276)'))) / (select extract(epoch from '2026-07-03 08:20:12'::timestamp) - extract(epoch from '2026-07-03 08:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312879 -3.356361)'), GeomFromEWKT('SRID=4674;POINT (-38.312936 -3.356276)'))) / (select extract(epoch from '2026-07-03 08:20:12'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.313001 -3.356189)', '2026-07-03 08:20:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312936 -3.356276)'), GeomFromEWKT('SRID=4674;POINT (-38.313001 -3.356189)'))) / (select extract(epoch from '2026-07-03 08:20:17'::timestamp) - extract(epoch from '2026-07-03 08:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.312936 -3.356276)'), GeomFromEWKT('SRID=4674;POINT (-38.313001 -3.356189)'))) / (select extract(epoch from '2026-07-03 08:20:17'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.313053 -3.356103)', '2026-07-03 08:20:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313001 -3.356189)'), GeomFromEWKT('SRID=4674;POINT (-38.313053 -3.356103)'))) / (select extract(epoch from '2026-07-03 08:20:21'::timestamp) - extract(epoch from '2026-07-03 08:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313001 -3.356189)'), GeomFromEWKT('SRID=4674;POINT (-38.313053 -3.356103)'))) / (select extract(epoch from '2026-07-03 08:20:21'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.313122 -3.35599)', '2026-07-03 08:20:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313053 -3.356103)'), GeomFromEWKT('SRID=4674;POINT (-38.313122 -3.35599)'))) / (select extract(epoch from '2026-07-03 08:20:27'::timestamp) - extract(epoch from '2026-07-03 08:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313053 -3.356103)'), GeomFromEWKT('SRID=4674;POINT (-38.313122 -3.35599)'))) / (select extract(epoch from '2026-07-03 08:20:27'::timestamp) - extract(epoch from '2026-07-03 08:20: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'), 47390, 'SRID=4674;POINT (-38.313192 -3.355888)', '2026-07-03 08:20:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313122 -3.35599)'), GeomFromEWKT('SRID=4674;POINT (-38.313192 -3.355888)'))) / (select extract(epoch from '2026-07-03 08:20:32'::timestamp) - extract(epoch from '2026-07-03 08:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313122 -3.35599)'), GeomFromEWKT('SRID=4674;POINT (-38.313192 -3.355888)'))) / (select extract(epoch from '2026-07-03 08:20:32'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.31323 -3.355819)', '2026-07-03 08:20:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313192 -3.355888)'), GeomFromEWKT('SRID=4674;POINT (-38.31323 -3.355819)'))) / (select extract(epoch from '2026-07-03 08:20:36'::timestamp) - extract(epoch from '2026-07-03 08:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313192 -3.355888)'), GeomFromEWKT('SRID=4674;POINT (-38.31323 -3.355819)'))) / (select extract(epoch from '2026-07-03 08:20:36'::timestamp) - extract(epoch from '2026-07-03 08:20: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'), 47390, 'SRID=4674;POINT (-38.313308 -3.355702)', '2026-07-03 08:20:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31323 -3.355819)'), GeomFromEWKT('SRID=4674;POINT (-38.313308 -3.355702)'))) / (select extract(epoch from '2026-07-03 08:20:42'::timestamp) - extract(epoch from '2026-07-03 08:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31323 -3.355819)'), GeomFromEWKT('SRID=4674;POINT (-38.313308 -3.355702)'))) / (select extract(epoch from '2026-07-03 08:20:42'::timestamp) - extract(epoch from '2026-07-03 08:20: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'), 47390, 'SRID=4674;POINT (-38.313393 -3.355561)', '2026-07-03 08:20:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313308 -3.355702)'), GeomFromEWKT('SRID=4674;POINT (-38.313393 -3.355561)'))) / (select extract(epoch from '2026-07-03 08:20:49'::timestamp) - extract(epoch from '2026-07-03 08:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313308 -3.355702)'), GeomFromEWKT('SRID=4674;POINT (-38.313393 -3.355561)'))) / (select extract(epoch from '2026-07-03 08:20:49'::timestamp) - extract(epoch from '2026-07-03 08:20:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.313448 -3.355461)', '2026-07-03 08:20:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313393 -3.355561)'), GeomFromEWKT('SRID=4674;POINT (-38.313448 -3.355461)'))) / (select extract(epoch from '2026-07-03 08:20:54'::timestamp) - extract(epoch from '2026-07-03 08:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313393 -3.355561)'), GeomFromEWKT('SRID=4674;POINT (-38.313448 -3.355461)'))) / (select extract(epoch from '2026-07-03 08:20:54'::timestamp) - extract(epoch from '2026-07-03 08:20: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'), 47390, 'SRID=4674;POINT (-38.313507 -3.355368)', '2026-07-03 08:20:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313448 -3.355461)'), GeomFromEWKT('SRID=4674;POINT (-38.313507 -3.355368)'))) / (select extract(epoch from '2026-07-03 08:20:59'::timestamp) - extract(epoch from '2026-07-03 08:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313448 -3.355461)'), GeomFromEWKT('SRID=4674;POINT (-38.313507 -3.355368)'))) / (select extract(epoch from '2026-07-03 08:20:59'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.313561 -3.355264)', '2026-07-03 08:21:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313507 -3.355368)'), GeomFromEWKT('SRID=4674;POINT (-38.313561 -3.355264)'))) / (select extract(epoch from '2026-07-03 08:21:04'::timestamp) - extract(epoch from '2026-07-03 08:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313507 -3.355368)'), GeomFromEWKT('SRID=4674;POINT (-38.313561 -3.355264)'))) / (select extract(epoch from '2026-07-03 08:21:04'::timestamp) - extract(epoch from '2026-07-03 08:20:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.313568 -3.355242)', '2026-07-03 08:21:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313561 -3.355264)'), GeomFromEWKT('SRID=4674;POINT (-38.313568 -3.355242)'))) / (select extract(epoch from '2026-07-03 08:21:05'::timestamp) - extract(epoch from '2026-07-03 08:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313561 -3.355264)'), GeomFromEWKT('SRID=4674;POINT (-38.313568 -3.355242)'))) / (select extract(epoch from '2026-07-03 08:21:05'::timestamp) - extract(epoch from '2026-07-03 08:21: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'), 47390, 'SRID=4674;POINT (-38.313612 -3.355178)', '2026-07-03 08:21:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313568 -3.355242)'), GeomFromEWKT('SRID=4674;POINT (-38.313612 -3.355178)'))) / (select extract(epoch from '2026-07-03 08:21:08'::timestamp) - extract(epoch from '2026-07-03 08:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313568 -3.355242)'), GeomFromEWKT('SRID=4674;POINT (-38.313612 -3.355178)'))) / (select extract(epoch from '2026-07-03 08:21:08'::timestamp) - extract(epoch from '2026-07-03 08:21: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'), 47390, 'SRID=4674;POINT (-38.31365 -3.355097)', '2026-07-03 08:21:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313612 -3.355178)'), GeomFromEWKT('SRID=4674;POINT (-38.31365 -3.355097)'))) / (select extract(epoch from '2026-07-03 08:21:12'::timestamp) - extract(epoch from '2026-07-03 08:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313612 -3.355178)'), GeomFromEWKT('SRID=4674;POINT (-38.31365 -3.355097)'))) / (select extract(epoch from '2026-07-03 08:21:12'::timestamp) - extract(epoch from '2026-07-03 08:21: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'), 47390, 'SRID=4674;POINT (-38.3137 -3.354998)', '2026-07-03 08:21:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31365 -3.355097)'), GeomFromEWKT('SRID=4674;POINT (-38.3137 -3.354998)'))) / (select extract(epoch from '2026-07-03 08:21:17'::timestamp) - extract(epoch from '2026-07-03 08:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31365 -3.355097)'), GeomFromEWKT('SRID=4674;POINT (-38.3137 -3.354998)'))) / (select extract(epoch from '2026-07-03 08:21:17'::timestamp) - extract(epoch from '2026-07-03 08:21: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'), 47390, 'SRID=4674;POINT (-38.313785 -3.354866)', '2026-07-03 08:21:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3137 -3.354998)'), GeomFromEWKT('SRID=4674;POINT (-38.313785 -3.354866)'))) / (select extract(epoch from '2026-07-03 08:21:24'::timestamp) - extract(epoch from '2026-07-03 08:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3137 -3.354998)'), GeomFromEWKT('SRID=4674;POINT (-38.313785 -3.354866)'))) / (select extract(epoch from '2026-07-03 08:21:24'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.313845 -3.354764)', '2026-07-03 08:21:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313785 -3.354866)'), GeomFromEWKT('SRID=4674;POINT (-38.313845 -3.354764)'))) / (select extract(epoch from '2026-07-03 08:21:29'::timestamp) - extract(epoch from '2026-07-03 08:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313785 -3.354866)'), GeomFromEWKT('SRID=4674;POINT (-38.313845 -3.354764)'))) / (select extract(epoch from '2026-07-03 08:21:29'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.313922 -3.354648)', '2026-07-03 08:21:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313845 -3.354764)'), GeomFromEWKT('SRID=4674;POINT (-38.313922 -3.354648)'))) / (select extract(epoch from '2026-07-03 08:21:35'::timestamp) - extract(epoch from '2026-07-03 08:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313845 -3.354764)'), GeomFromEWKT('SRID=4674;POINT (-38.313922 -3.354648)'))) / (select extract(epoch from '2026-07-03 08:21:35'::timestamp) - extract(epoch from '2026-07-03 08:21: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'), 47390, 'SRID=4674;POINT (-38.313992 -3.354549)', '2026-07-03 08:21:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313922 -3.354648)'), GeomFromEWKT('SRID=4674;POINT (-38.313992 -3.354549)'))) / (select extract(epoch from '2026-07-03 08:21:40'::timestamp) - extract(epoch from '2026-07-03 08:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313922 -3.354648)'), GeomFromEWKT('SRID=4674;POINT (-38.313992 -3.354549)'))) / (select extract(epoch from '2026-07-03 08:21:40'::timestamp) - extract(epoch from '2026-07-03 08:21: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'), 47390, 'SRID=4674;POINT (-38.314076 -3.354437)', '2026-07-03 08:21:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313992 -3.354549)'), GeomFromEWKT('SRID=4674;POINT (-38.314076 -3.354437)'))) / (select extract(epoch from '2026-07-03 08:21:46'::timestamp) - extract(epoch from '2026-07-03 08:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.313992 -3.354549)'), GeomFromEWKT('SRID=4674;POINT (-38.314076 -3.354437)'))) / (select extract(epoch from '2026-07-03 08:21:46'::timestamp) - extract(epoch from '2026-07-03 08:21: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'), 47390, 'SRID=4674;POINT (-38.314129 -3.354336)', '2026-07-03 08:21:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314076 -3.354437)'), GeomFromEWKT('SRID=4674;POINT (-38.314129 -3.354336)'))) / (select extract(epoch from '2026-07-03 08:21:51'::timestamp) - extract(epoch from '2026-07-03 08:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314076 -3.354437)'), GeomFromEWKT('SRID=4674;POINT (-38.314129 -3.354336)'))) / (select extract(epoch from '2026-07-03 08:21:51'::timestamp) - extract(epoch from '2026-07-03 08:21: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'), 47390, 'SRID=4674;POINT (-38.31421 -3.354239)', '2026-07-03 08:21:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314129 -3.354336)'), GeomFromEWKT('SRID=4674;POINT (-38.31421 -3.354239)'))) / (select extract(epoch from '2026-07-03 08:21:56'::timestamp) - extract(epoch from '2026-07-03 08:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314129 -3.354336)'), GeomFromEWKT('SRID=4674;POINT (-38.31421 -3.354239)'))) / (select extract(epoch from '2026-07-03 08:21:56'::timestamp) - extract(epoch from '2026-07-03 08:21: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'), 47390, 'SRID=4674;POINT (-38.31429 -3.354114)', '2026-07-03 08:22:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31421 -3.354239)'), GeomFromEWKT('SRID=4674;POINT (-38.31429 -3.354114)'))) / (select extract(epoch from '2026-07-03 08:22:02'::timestamp) - extract(epoch from '2026-07-03 08:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31421 -3.354239)'), GeomFromEWKT('SRID=4674;POINT (-38.31429 -3.354114)'))) / (select extract(epoch from '2026-07-03 08:22:02'::timestamp) - extract(epoch from '2026-07-03 08:21: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'), 47390, 'SRID=4674;POINT (-38.314376 -3.353992)', '2026-07-03 08:22:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31429 -3.354114)'), GeomFromEWKT('SRID=4674;POINT (-38.314376 -3.353992)'))) / (select extract(epoch from '2026-07-03 08:22:08'::timestamp) - extract(epoch from '2026-07-03 08:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31429 -3.354114)'), GeomFromEWKT('SRID=4674;POINT (-38.314376 -3.353992)'))) / (select extract(epoch from '2026-07-03 08:22:08'::timestamp) - extract(epoch from '2026-07-03 08:22: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'), 47390, 'SRID=4674;POINT (-38.314388 -3.353974)', '2026-07-03 08:22:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314376 -3.353992)'), GeomFromEWKT('SRID=4674;POINT (-38.314388 -3.353974)'))) / (select extract(epoch from '2026-07-03 08:22:09'::timestamp) - extract(epoch from '2026-07-03 08:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314376 -3.353992)'), GeomFromEWKT('SRID=4674;POINT (-38.314388 -3.353974)'))) / (select extract(epoch from '2026-07-03 08:22:09'::timestamp) - extract(epoch from '2026-07-03 08:22: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'), 47390, 'SRID=4674;POINT (-38.314466 -3.353853)', '2026-07-03 08:22:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314388 -3.353974)'), GeomFromEWKT('SRID=4674;POINT (-38.314466 -3.353853)'))) / (select extract(epoch from '2026-07-03 08:22:15'::timestamp) - extract(epoch from '2026-07-03 08:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314388 -3.353974)'), GeomFromEWKT('SRID=4674;POINT (-38.314466 -3.353853)'))) / (select extract(epoch from '2026-07-03 08:22:15'::timestamp) - extract(epoch from '2026-07-03 08:22: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'), 47390, 'SRID=4674;POINT (-38.314526 -3.353754)', '2026-07-03 08:22:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314466 -3.353853)'), GeomFromEWKT('SRID=4674;POINT (-38.314526 -3.353754)'))) / (select extract(epoch from '2026-07-03 08:22:20'::timestamp) - extract(epoch from '2026-07-03 08:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314466 -3.353853)'), GeomFromEWKT('SRID=4674;POINT (-38.314526 -3.353754)'))) / (select extract(epoch from '2026-07-03 08:22:20'::timestamp) - extract(epoch from '2026-07-03 08:22: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'), 47390, 'SRID=4674;POINT (-38.314589 -3.353644)', '2026-07-03 08:22:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314526 -3.353754)'), GeomFromEWKT('SRID=4674;POINT (-38.314589 -3.353644)'))) / (select extract(epoch from '2026-07-03 08:22:26'::timestamp) - extract(epoch from '2026-07-03 08:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314526 -3.353754)'), GeomFromEWKT('SRID=4674;POINT (-38.314589 -3.353644)'))) / (select extract(epoch from '2026-07-03 08:22:26'::timestamp) - extract(epoch from '2026-07-03 08:22: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'), 47390, 'SRID=4674;POINT (-38.31466 -3.353532)', '2026-07-03 08:22:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314589 -3.353644)'), GeomFromEWKT('SRID=4674;POINT (-38.31466 -3.353532)'))) / (select extract(epoch from '2026-07-03 08:22:32'::timestamp) - extract(epoch from '2026-07-03 08:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314589 -3.353644)'), GeomFromEWKT('SRID=4674;POINT (-38.31466 -3.353532)'))) / (select extract(epoch from '2026-07-03 08:22:32'::timestamp) - extract(epoch from '2026-07-03 08:22: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'), 47390, 'SRID=4674;POINT (-38.314739 -3.353412)', '2026-07-03 08:22:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31466 -3.353532)'), GeomFromEWKT('SRID=4674;POINT (-38.314739 -3.353412)'))) / (select extract(epoch from '2026-07-03 08:22:38'::timestamp) - extract(epoch from '2026-07-03 08:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31466 -3.353532)'), GeomFromEWKT('SRID=4674;POINT (-38.314739 -3.353412)'))) / (select extract(epoch from '2026-07-03 08:22:38'::timestamp) - extract(epoch from '2026-07-03 08:22: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'), 47390, 'SRID=4674;POINT (-38.31478 -3.353306)', '2026-07-03 08:22:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314739 -3.353412)'), GeomFromEWKT('SRID=4674;POINT (-38.31478 -3.353306)'))) / (select extract(epoch from '2026-07-03 08:22:43'::timestamp) - extract(epoch from '2026-07-03 08:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314739 -3.353412)'), GeomFromEWKT('SRID=4674;POINT (-38.31478 -3.353306)'))) / (select extract(epoch from '2026-07-03 08:22:43'::timestamp) - extract(epoch from '2026-07-03 08:22:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.314834 -3.353213)', '2026-07-03 08:22:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31478 -3.353306)'), GeomFromEWKT('SRID=4674;POINT (-38.314834 -3.353213)'))) / (select extract(epoch from '2026-07-03 08:22:47'::timestamp) - extract(epoch from '2026-07-03 08:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31478 -3.353306)'), GeomFromEWKT('SRID=4674;POINT (-38.314834 -3.353213)'))) / (select extract(epoch from '2026-07-03 08:22:47'::timestamp) - extract(epoch from '2026-07-03 08:22: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'), 47390, 'SRID=4674;POINT (-38.314895 -3.353097)', '2026-07-03 08:22:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314834 -3.353213)'), GeomFromEWKT('SRID=4674;POINT (-38.314895 -3.353097)'))) / (select extract(epoch from '2026-07-03 08:22:52'::timestamp) - extract(epoch from '2026-07-03 08:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314834 -3.353213)'), GeomFromEWKT('SRID=4674;POINT (-38.314895 -3.353097)'))) / (select extract(epoch from '2026-07-03 08:22:52'::timestamp) - extract(epoch from '2026-07-03 08:22: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'), 47390, 'SRID=4674;POINT (-38.314931 -3.353018)', '2026-07-03 08:22:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314895 -3.353097)'), GeomFromEWKT('SRID=4674;POINT (-38.314931 -3.353018)'))) / (select extract(epoch from '2026-07-03 08:22:56'::timestamp) - extract(epoch from '2026-07-03 08:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314895 -3.353097)'), GeomFromEWKT('SRID=4674;POINT (-38.314931 -3.353018)'))) / (select extract(epoch from '2026-07-03 08:22:56'::timestamp) - extract(epoch from '2026-07-03 08:22: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'), 47390, 'SRID=4674;POINT (-38.314983 -3.352919)', '2026-07-03 08:23:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314931 -3.353018)'), GeomFromEWKT('SRID=4674;POINT (-38.314983 -3.352919)'))) / (select extract(epoch from '2026-07-03 08:23:01'::timestamp) - extract(epoch from '2026-07-03 08:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314931 -3.353018)'), GeomFromEWKT('SRID=4674;POINT (-38.314983 -3.352919)'))) / (select extract(epoch from '2026-07-03 08:23:01'::timestamp) - extract(epoch from '2026-07-03 08:22: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'), 47390, 'SRID=4674;POINT (-38.315046 -3.352821)', '2026-07-03 08:23:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314983 -3.352919)'), GeomFromEWKT('SRID=4674;POINT (-38.315046 -3.352821)'))) / (select extract(epoch from '2026-07-03 08:23:06'::timestamp) - extract(epoch from '2026-07-03 08:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.314983 -3.352919)'), GeomFromEWKT('SRID=4674;POINT (-38.315046 -3.352821)'))) / (select extract(epoch from '2026-07-03 08:23:06'::timestamp) - extract(epoch from '2026-07-03 08:23: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'), 47390, 'SRID=4674;POINT (-38.31509 -3.352743)', '2026-07-03 08:23:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315046 -3.352821)'), GeomFromEWKT('SRID=4674;POINT (-38.31509 -3.352743)'))) / (select extract(epoch from '2026-07-03 08:23:10'::timestamp) - extract(epoch from '2026-07-03 08:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315046 -3.352821)'), GeomFromEWKT('SRID=4674;POINT (-38.31509 -3.352743)'))) / (select extract(epoch from '2026-07-03 08:23:10'::timestamp) - extract(epoch from '2026-07-03 08:23: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'), 47390, 'SRID=4674;POINT (-38.315168 -3.35263)', '2026-07-03 08:23:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31509 -3.352743)'), GeomFromEWKT('SRID=4674;POINT (-38.315168 -3.35263)'))) / (select extract(epoch from '2026-07-03 08:23:16'::timestamp) - extract(epoch from '2026-07-03 08:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31509 -3.352743)'), GeomFromEWKT('SRID=4674;POINT (-38.315168 -3.35263)'))) / (select extract(epoch from '2026-07-03 08:23:16'::timestamp) - extract(epoch from '2026-07-03 08:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.315242 -3.352515)', '2026-07-03 08:23:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315168 -3.35263)'), GeomFromEWKT('SRID=4674;POINT (-38.315242 -3.352515)'))) / (select extract(epoch from '2026-07-03 08:23:22'::timestamp) - extract(epoch from '2026-07-03 08:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315168 -3.35263)'), GeomFromEWKT('SRID=4674;POINT (-38.315242 -3.352515)'))) / (select extract(epoch from '2026-07-03 08:23:22'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.315306 -3.352412)', '2026-07-03 08:23:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315242 -3.352515)'), GeomFromEWKT('SRID=4674;POINT (-38.315306 -3.352412)'))) / (select extract(epoch from '2026-07-03 08:23:27'::timestamp) - extract(epoch from '2026-07-03 08:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315242 -3.352515)'), GeomFromEWKT('SRID=4674;POINT (-38.315306 -3.352412)'))) / (select extract(epoch from '2026-07-03 08:23:27'::timestamp) - extract(epoch from '2026-07-03 08:23: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'), 47390, 'SRID=4674;POINT (-38.315383 -3.35226)', '2026-07-03 08:23:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315306 -3.352412)'), GeomFromEWKT('SRID=4674;POINT (-38.315383 -3.35226)'))) / (select extract(epoch from '2026-07-03 08:23:34'::timestamp) - extract(epoch from '2026-07-03 08:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315306 -3.352412)'), GeomFromEWKT('SRID=4674;POINT (-38.315383 -3.35226)'))) / (select extract(epoch from '2026-07-03 08:23:34'::timestamp) - extract(epoch from '2026-07-03 08:23:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.315446 -3.352152)', '2026-07-03 08:23:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315383 -3.35226)'), GeomFromEWKT('SRID=4674;POINT (-38.315446 -3.352152)'))) / (select extract(epoch from '2026-07-03 08:23:39'::timestamp) - extract(epoch from '2026-07-03 08:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315383 -3.35226)'), GeomFromEWKT('SRID=4674;POINT (-38.315446 -3.352152)'))) / (select extract(epoch from '2026-07-03 08:23:39'::timestamp) - extract(epoch from '2026-07-03 08:23: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'), 47390, 'SRID=4674;POINT (-38.3155 -3.352049)', '2026-07-03 08:23:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315446 -3.352152)'), GeomFromEWKT('SRID=4674;POINT (-38.3155 -3.352049)'))) / (select extract(epoch from '2026-07-03 08:23:44'::timestamp) - extract(epoch from '2026-07-03 08:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315446 -3.352152)'), GeomFromEWKT('SRID=4674;POINT (-38.3155 -3.352049)'))) / (select extract(epoch from '2026-07-03 08:23:44'::timestamp) - extract(epoch from '2026-07-03 08:23: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'), 47390, 'SRID=4674;POINT (-38.315545 -3.351968)', '2026-07-03 08:23:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3155 -3.352049)'), GeomFromEWKT('SRID=4674;POINT (-38.315545 -3.351968)'))) / (select extract(epoch from '2026-07-03 08:23:48'::timestamp) - extract(epoch from '2026-07-03 08:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3155 -3.352049)'), GeomFromEWKT('SRID=4674;POINT (-38.315545 -3.351968)'))) / (select extract(epoch from '2026-07-03 08:23:48'::timestamp) - extract(epoch from '2026-07-03 08:23:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.31555 -3.351948)', '2026-07-03 08:23:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315545 -3.351968)'), GeomFromEWKT('SRID=4674;POINT (-38.31555 -3.351948)'))) / (select extract(epoch from '2026-07-03 08:23:49'::timestamp) - extract(epoch from '2026-07-03 08:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315545 -3.351968)'), GeomFromEWKT('SRID=4674;POINT (-38.31555 -3.351948)'))) / (select extract(epoch from '2026-07-03 08:23:49'::timestamp) - extract(epoch from '2026-07-03 08:23: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'), 47390, 'SRID=4674;POINT (-38.315564 -3.351926)', '2026-07-03 08:23:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31555 -3.351948)'), GeomFromEWKT('SRID=4674;POINT (-38.315564 -3.351926)'))) / (select extract(epoch from '2026-07-03 08:23:50'::timestamp) - extract(epoch from '2026-07-03 08:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31555 -3.351948)'), GeomFromEWKT('SRID=4674;POINT (-38.315564 -3.351926)'))) / (select extract(epoch from '2026-07-03 08:23:50'::timestamp) - extract(epoch from '2026-07-03 08:23: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'), 47390, 'SRID=4674;POINT (-38.315623 -3.351852)', '2026-07-03 08:23:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315564 -3.351926)'), GeomFromEWKT('SRID=4674;POINT (-38.315623 -3.351852)'))) / (select extract(epoch from '2026-07-03 08:23:53'::timestamp) - extract(epoch from '2026-07-03 08:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315564 -3.351926)'), GeomFromEWKT('SRID=4674;POINT (-38.315623 -3.351852)'))) / (select extract(epoch from '2026-07-03 08:23:53'::timestamp) - extract(epoch from '2026-07-03 08:23: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'), 47390, 'SRID=4674;POINT (-38.315644 -3.351771)', '2026-07-03 08:23:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315623 -3.351852)'), GeomFromEWKT('SRID=4674;POINT (-38.315644 -3.351771)'))) / (select extract(epoch from '2026-07-03 08:23:57'::timestamp) - extract(epoch from '2026-07-03 08:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315623 -3.351852)'), GeomFromEWKT('SRID=4674;POINT (-38.315644 -3.351771)'))) / (select extract(epoch from '2026-07-03 08:23:57'::timestamp) - extract(epoch from '2026-07-03 08:23: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'), 47390, 'SRID=4674;POINT (-38.315704 -3.351637)', '2026-07-03 08:24:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315644 -3.351771)'), GeomFromEWKT('SRID=4674;POINT (-38.315704 -3.351637)'))) / (select extract(epoch from '2026-07-03 08:24:03'::timestamp) - extract(epoch from '2026-07-03 08:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315644 -3.351771)'), GeomFromEWKT('SRID=4674;POINT (-38.315704 -3.351637)'))) / (select extract(epoch from '2026-07-03 08:24:03'::timestamp) - extract(epoch from '2026-07-03 08:23: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'), 47390, 'SRID=4674;POINT (-38.315743 -3.35155)', '2026-07-03 08:24:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315704 -3.351637)'), GeomFromEWKT('SRID=4674;POINT (-38.315743 -3.35155)'))) / (select extract(epoch from '2026-07-03 08:24:07'::timestamp) - extract(epoch from '2026-07-03 08:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315704 -3.351637)'), GeomFromEWKT('SRID=4674;POINT (-38.315743 -3.35155)'))) / (select extract(epoch from '2026-07-03 08:24:07'::timestamp) - extract(epoch from '2026-07-03 08:24: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'), 47390, 'SRID=4674;POINT (-38.315814 -3.351441)', '2026-07-03 08:24:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315743 -3.35155)'), GeomFromEWKT('SRID=4674;POINT (-38.315814 -3.351441)'))) / (select extract(epoch from '2026-07-03 08:24:12'::timestamp) - extract(epoch from '2026-07-03 08:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315743 -3.35155)'), GeomFromEWKT('SRID=4674;POINT (-38.315814 -3.351441)'))) / (select extract(epoch from '2026-07-03 08:24:12'::timestamp) - extract(epoch from '2026-07-03 08:24: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'), 47390, 'SRID=4674;POINT (-38.31585 -3.351362)', '2026-07-03 08:24:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315814 -3.351441)'), GeomFromEWKT('SRID=4674;POINT (-38.31585 -3.351362)'))) / (select extract(epoch from '2026-07-03 08:24:16'::timestamp) - extract(epoch from '2026-07-03 08:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315814 -3.351441)'), GeomFromEWKT('SRID=4674;POINT (-38.31585 -3.351362)'))) / (select extract(epoch from '2026-07-03 08:24:16'::timestamp) - extract(epoch from '2026-07-03 08:24: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'), 47390, 'SRID=4674;POINT (-38.315915 -3.351287)', '2026-07-03 08:24:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31585 -3.351362)'), GeomFromEWKT('SRID=4674;POINT (-38.315915 -3.351287)'))) / (select extract(epoch from '2026-07-03 08:24:20'::timestamp) - extract(epoch from '2026-07-03 08:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31585 -3.351362)'), GeomFromEWKT('SRID=4674;POINT (-38.315915 -3.351287)'))) / (select extract(epoch from '2026-07-03 08:24:20'::timestamp) - extract(epoch from '2026-07-03 08:24: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'), 47390, 'SRID=4674;POINT (-38.316 -3.351189)', '2026-07-03 08:24:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315915 -3.351287)'), GeomFromEWKT('SRID=4674;POINT (-38.316 -3.351189)'))) / (select extract(epoch from '2026-07-03 08:24:26'::timestamp) - extract(epoch from '2026-07-03 08:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.315915 -3.351287)'), GeomFromEWKT('SRID=4674;POINT (-38.316 -3.351189)'))) / (select extract(epoch from '2026-07-03 08:24:26'::timestamp) - extract(epoch from '2026-07-03 08:24:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.316071 -3.351106)', '2026-07-03 08:24:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316 -3.351189)'), GeomFromEWKT('SRID=4674;POINT (-38.316071 -3.351106)'))) / (select extract(epoch from '2026-07-03 08:24:31'::timestamp) - extract(epoch from '2026-07-03 08:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316 -3.351189)'), GeomFromEWKT('SRID=4674;POINT (-38.316071 -3.351106)'))) / (select extract(epoch from '2026-07-03 08:24:31'::timestamp) - extract(epoch from '2026-07-03 08:24: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'), 47390, 'SRID=4674;POINT (-38.316166 -3.350978)', '2026-07-03 08:24:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316071 -3.351106)'), GeomFromEWKT('SRID=4674;POINT (-38.316166 -3.350978)'))) / (select extract(epoch from '2026-07-03 08:24:38'::timestamp) - extract(epoch from '2026-07-03 08:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316071 -3.351106)'), GeomFromEWKT('SRID=4674;POINT (-38.316166 -3.350978)'))) / (select extract(epoch from '2026-07-03 08:24:38'::timestamp) - extract(epoch from '2026-07-03 08:24: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'), 47390, 'SRID=4674;POINT (-38.316241 -3.350862)', '2026-07-03 08:24:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316166 -3.350978)'), GeomFromEWKT('SRID=4674;POINT (-38.316241 -3.350862)'))) / (select extract(epoch from '2026-07-03 08:24:44'::timestamp) - extract(epoch from '2026-07-03 08:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316166 -3.350978)'), GeomFromEWKT('SRID=4674;POINT (-38.316241 -3.350862)'))) / (select extract(epoch from '2026-07-03 08:24:44'::timestamp) - extract(epoch from '2026-07-03 08:24: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'), 47390, 'SRID=4674;POINT (-38.316318 -3.350748)', '2026-07-03 08:24:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316241 -3.350862)'), GeomFromEWKT('SRID=4674;POINT (-38.316318 -3.350748)'))) / (select extract(epoch from '2026-07-03 08:24:50'::timestamp) - extract(epoch from '2026-07-03 08:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316241 -3.350862)'), GeomFromEWKT('SRID=4674;POINT (-38.316318 -3.350748)'))) / (select extract(epoch from '2026-07-03 08:24:50'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.316378 -3.350666)', '2026-07-03 08:24:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316318 -3.350748)'), GeomFromEWKT('SRID=4674;POINT (-38.316378 -3.350666)'))) / (select extract(epoch from '2026-07-03 08:24:54'::timestamp) - extract(epoch from '2026-07-03 08:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316318 -3.350748)'), GeomFromEWKT('SRID=4674;POINT (-38.316378 -3.350666)'))) / (select extract(epoch from '2026-07-03 08:24:54'::timestamp) - extract(epoch from '2026-07-03 08:24: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'), 47390, 'SRID=4674;POINT (-38.316409 -3.350602)', '2026-07-03 08:24:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316378 -3.350666)'), GeomFromEWKT('SRID=4674;POINT (-38.316409 -3.350602)'))) / (select extract(epoch from '2026-07-03 08:24:57'::timestamp) - extract(epoch from '2026-07-03 08:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316378 -3.350666)'), GeomFromEWKT('SRID=4674;POINT (-38.316409 -3.350602)'))) / (select extract(epoch from '2026-07-03 08:24:57'::timestamp) - extract(epoch from '2026-07-03 08:24: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'), 47390, 'SRID=4674;POINT (-38.316448 -3.350565)', '2026-07-03 08:24:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316409 -3.350602)'), GeomFromEWKT('SRID=4674;POINT (-38.316448 -3.350565)'))) / (select extract(epoch from '2026-07-03 08:24:59'::timestamp) - extract(epoch from '2026-07-03 08:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316409 -3.350602)'), GeomFromEWKT('SRID=4674;POINT (-38.316448 -3.350565)'))) / (select extract(epoch from '2026-07-03 08:24:59'::timestamp) - extract(epoch from '2026-07-03 08:24:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.316524 -3.350451)', '2026-07-03 08:25:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316448 -3.350565)'), GeomFromEWKT('SRID=4674;POINT (-38.316524 -3.350451)'))) / (select extract(epoch from '2026-07-03 08:25:05'::timestamp) - extract(epoch from '2026-07-03 08:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316448 -3.350565)'), GeomFromEWKT('SRID=4674;POINT (-38.316524 -3.350451)'))) / (select extract(epoch from '2026-07-03 08:25:05'::timestamp) - extract(epoch from '2026-07-03 08:24: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'), 47390, 'SRID=4674;POINT (-38.316614 -3.350333)', '2026-07-03 08:25:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316524 -3.350451)'), GeomFromEWKT('SRID=4674;POINT (-38.316614 -3.350333)'))) / (select extract(epoch from '2026-07-03 08:25:11'::timestamp) - extract(epoch from '2026-07-03 08:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316524 -3.350451)'), GeomFromEWKT('SRID=4674;POINT (-38.316614 -3.350333)'))) / (select extract(epoch from '2026-07-03 08:25:11'::timestamp) - extract(epoch from '2026-07-03 08:25: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'), 47390, 'SRID=4674;POINT (-38.316709 -3.350195)', '2026-07-03 08:25:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316614 -3.350333)'), GeomFromEWKT('SRID=4674;POINT (-38.316709 -3.350195)'))) / (select extract(epoch from '2026-07-03 08:25:18'::timestamp) - extract(epoch from '2026-07-03 08:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316614 -3.350333)'), GeomFromEWKT('SRID=4674;POINT (-38.316709 -3.350195)'))) / (select extract(epoch from '2026-07-03 08:25:18'::timestamp) - extract(epoch from '2026-07-03 08:25: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'), 47390, 'SRID=4674;POINT (-38.316809 -3.350044)', '2026-07-03 08:25:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316709 -3.350195)'), GeomFromEWKT('SRID=4674;POINT (-38.316809 -3.350044)'))) / (select extract(epoch from '2026-07-03 08:25:25'::timestamp) - extract(epoch from '2026-07-03 08:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316709 -3.350195)'), GeomFromEWKT('SRID=4674;POINT (-38.316809 -3.350044)'))) / (select extract(epoch from '2026-07-03 08:25:25'::timestamp) - extract(epoch from '2026-07-03 08:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.316894 -3.349936)', '2026-07-03 08:25:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316809 -3.350044)'), GeomFromEWKT('SRID=4674;POINT (-38.316894 -3.349936)'))) / (select extract(epoch from '2026-07-03 08:25:30'::timestamp) - extract(epoch from '2026-07-03 08:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316809 -3.350044)'), GeomFromEWKT('SRID=4674;POINT (-38.316894 -3.349936)'))) / (select extract(epoch from '2026-07-03 08:25:30'::timestamp) - extract(epoch from '2026-07-03 08:25: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'), 47390, 'SRID=4674;POINT (-38.316975 -3.349837)', '2026-07-03 08:25:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316894 -3.349936)'), GeomFromEWKT('SRID=4674;POINT (-38.316975 -3.349837)'))) / (select extract(epoch from '2026-07-03 08:25:35'::timestamp) - extract(epoch from '2026-07-03 08:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316894 -3.349936)'), GeomFromEWKT('SRID=4674;POINT (-38.316975 -3.349837)'))) / (select extract(epoch from '2026-07-03 08:25:35'::timestamp) - extract(epoch from '2026-07-03 08:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.317054 -3.349739)', '2026-07-03 08:25:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316975 -3.349837)'), GeomFromEWKT('SRID=4674;POINT (-38.317054 -3.349739)'))) / (select extract(epoch from '2026-07-03 08:25:40'::timestamp) - extract(epoch from '2026-07-03 08:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.316975 -3.349837)'), GeomFromEWKT('SRID=4674;POINT (-38.317054 -3.349739)'))) / (select extract(epoch from '2026-07-03 08:25:40'::timestamp) - extract(epoch from '2026-07-03 08:25:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.317068 -3.349716)', '2026-07-03 08:25:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317054 -3.349739)'), GeomFromEWKT('SRID=4674;POINT (-38.317068 -3.349716)'))) / (select extract(epoch from '2026-07-03 08:25:41'::timestamp) - extract(epoch from '2026-07-03 08:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317054 -3.349739)'), GeomFromEWKT('SRID=4674;POINT (-38.317068 -3.349716)'))) / (select extract(epoch from '2026-07-03 08:25:41'::timestamp) - extract(epoch from '2026-07-03 08:25: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'), 47390, 'SRID=4674;POINT (-38.317109 -3.34965)', '2026-07-03 08:25:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317068 -3.349716)'), GeomFromEWKT('SRID=4674;POINT (-38.317109 -3.34965)'))) / (select extract(epoch from '2026-07-03 08:25:44'::timestamp) - extract(epoch from '2026-07-03 08:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317068 -3.349716)'), GeomFromEWKT('SRID=4674;POINT (-38.317109 -3.34965)'))) / (select extract(epoch from '2026-07-03 08:25:44'::timestamp) - extract(epoch from '2026-07-03 08:25: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'), 47390, 'SRID=4674;POINT (-38.317226 -3.349506)', '2026-07-03 08:25:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317109 -3.34965)'), GeomFromEWKT('SRID=4674;POINT (-38.317226 -3.349506)'))) / (select extract(epoch from '2026-07-03 08:25:51'::timestamp) - extract(epoch from '2026-07-03 08:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317109 -3.34965)'), GeomFromEWKT('SRID=4674;POINT (-38.317226 -3.349506)'))) / (select extract(epoch from '2026-07-03 08:25:51'::timestamp) - extract(epoch from '2026-07-03 08:25: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'), 47390, 'SRID=4674;POINT (-38.317308 -3.349405)', '2026-07-03 08:25:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317226 -3.349506)'), GeomFromEWKT('SRID=4674;POINT (-38.317308 -3.349405)'))) / (select extract(epoch from '2026-07-03 08:25:56'::timestamp) - extract(epoch from '2026-07-03 08:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317226 -3.349506)'), GeomFromEWKT('SRID=4674;POINT (-38.317308 -3.349405)'))) / (select extract(epoch from '2026-07-03 08:25:56'::timestamp) - extract(epoch from '2026-07-03 08:25: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'), 47390, 'SRID=4674;POINT (-38.317397 -3.349286)', '2026-07-03 08:26:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317308 -3.349405)'), GeomFromEWKT('SRID=4674;POINT (-38.317397 -3.349286)'))) / (select extract(epoch from '2026-07-03 08:26:02'::timestamp) - extract(epoch from '2026-07-03 08:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317308 -3.349405)'), GeomFromEWKT('SRID=4674;POINT (-38.317397 -3.349286)'))) / (select extract(epoch from '2026-07-03 08:26:02'::timestamp) - extract(epoch from '2026-07-03 08:25: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'), 47390, 'SRID=4674;POINT (-38.317508 -3.349148)', '2026-07-03 08:26:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317397 -3.349286)'), GeomFromEWKT('SRID=4674;POINT (-38.317508 -3.349148)'))) / (select extract(epoch from '2026-07-03 08:26:09'::timestamp) - extract(epoch from '2026-07-03 08:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317397 -3.349286)'), GeomFromEWKT('SRID=4674;POINT (-38.317508 -3.349148)'))) / (select extract(epoch from '2026-07-03 08:26:09'::timestamp) - extract(epoch from '2026-07-03 08:26: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'), 47390, 'SRID=4674;POINT (-38.317598 -3.34903)', '2026-07-03 08:26:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317508 -3.349148)'), GeomFromEWKT('SRID=4674;POINT (-38.317598 -3.34903)'))) / (select extract(epoch from '2026-07-03 08:26:15'::timestamp) - extract(epoch from '2026-07-03 08:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317508 -3.349148)'), GeomFromEWKT('SRID=4674;POINT (-38.317598 -3.34903)'))) / (select extract(epoch from '2026-07-03 08:26:15'::timestamp) - extract(epoch from '2026-07-03 08:26: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'), 47390, 'SRID=4674;POINT (-38.317667 -3.348926)', '2026-07-03 08:26:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317598 -3.34903)'), GeomFromEWKT('SRID=4674;POINT (-38.317667 -3.348926)'))) / (select extract(epoch from '2026-07-03 08:26:20'::timestamp) - extract(epoch from '2026-07-03 08:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317598 -3.34903)'), GeomFromEWKT('SRID=4674;POINT (-38.317667 -3.348926)'))) / (select extract(epoch from '2026-07-03 08:26:20'::timestamp) - extract(epoch from '2026-07-03 08:26: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'), 47390, 'SRID=4674;POINT (-38.317737 -3.348839)', '2026-07-03 08:26:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317667 -3.348926)'), GeomFromEWKT('SRID=4674;POINT (-38.317737 -3.348839)'))) / (select extract(epoch from '2026-07-03 08:26:24'::timestamp) - extract(epoch from '2026-07-03 08:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317667 -3.348926)'), GeomFromEWKT('SRID=4674;POINT (-38.317737 -3.348839)'))) / (select extract(epoch from '2026-07-03 08:26:24'::timestamp) - extract(epoch from '2026-07-03 08:26: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'), 47390, 'SRID=4674;POINT (-38.3178 -3.348736)', '2026-07-03 08:26:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317737 -3.348839)'), GeomFromEWKT('SRID=4674;POINT (-38.3178 -3.348736)'))) / (select extract(epoch from '2026-07-03 08:26:29'::timestamp) - extract(epoch from '2026-07-03 08:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317737 -3.348839)'), GeomFromEWKT('SRID=4674;POINT (-38.3178 -3.348736)'))) / (select extract(epoch from '2026-07-03 08:26:29'::timestamp) - extract(epoch from '2026-07-03 08:26: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'), 47390, 'SRID=4674;POINT (-38.317899 -3.348574)', '2026-07-03 08:26:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3178 -3.348736)'), GeomFromEWKT('SRID=4674;POINT (-38.317899 -3.348574)'))) / (select extract(epoch from '2026-07-03 08:26:37'::timestamp) - extract(epoch from '2026-07-03 08:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3178 -3.348736)'), GeomFromEWKT('SRID=4674;POINT (-38.317899 -3.348574)'))) / (select extract(epoch from '2026-07-03 08:26:37'::timestamp) - extract(epoch from '2026-07-03 08:26:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.317978 -3.348452)', '2026-07-03 08:26:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317899 -3.348574)'), GeomFromEWKT('SRID=4674;POINT (-38.317978 -3.348452)'))) / (select extract(epoch from '2026-07-03 08:26:43'::timestamp) - extract(epoch from '2026-07-03 08:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317899 -3.348574)'), GeomFromEWKT('SRID=4674;POINT (-38.317978 -3.348452)'))) / (select extract(epoch from '2026-07-03 08:26:43'::timestamp) - extract(epoch from '2026-07-03 08:26: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'), 47390, 'SRID=4674;POINT (-38.318038 -3.348355)', '2026-07-03 08:26:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317978 -3.348452)'), GeomFromEWKT('SRID=4674;POINT (-38.318038 -3.348355)'))) / (select extract(epoch from '2026-07-03 08:26:48'::timestamp) - extract(epoch from '2026-07-03 08:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.317978 -3.348452)'), GeomFromEWKT('SRID=4674;POINT (-38.318038 -3.348355)'))) / (select extract(epoch from '2026-07-03 08:26:48'::timestamp) - extract(epoch from '2026-07-03 08:26: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'), 47390, 'SRID=4674;POINT (-38.318094 -3.348256)', '2026-07-03 08:26:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318038 -3.348355)'), GeomFromEWKT('SRID=4674;POINT (-38.318094 -3.348256)'))) / (select extract(epoch from '2026-07-03 08:26:53'::timestamp) - extract(epoch from '2026-07-03 08:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318038 -3.348355)'), GeomFromEWKT('SRID=4674;POINT (-38.318094 -3.348256)'))) / (select extract(epoch from '2026-07-03 08:26:53'::timestamp) - extract(epoch from '2026-07-03 08:26: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'), 47390, 'SRID=4674;POINT (-38.318163 -3.348143)', '2026-07-03 08:26:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318094 -3.348256)'), GeomFromEWKT('SRID=4674;POINT (-38.318163 -3.348143)'))) / (select extract(epoch from '2026-07-03 08:26:58'::timestamp) - extract(epoch from '2026-07-03 08:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318094 -3.348256)'), GeomFromEWKT('SRID=4674;POINT (-38.318163 -3.348143)'))) / (select extract(epoch from '2026-07-03 08:26:58'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.318225 -3.348039)', '2026-07-03 08:27:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318163 -3.348143)'), GeomFromEWKT('SRID=4674;POINT (-38.318225 -3.348039)'))) / (select extract(epoch from '2026-07-03 08:27:03'::timestamp) - extract(epoch from '2026-07-03 08:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318163 -3.348143)'), GeomFromEWKT('SRID=4674;POINT (-38.318225 -3.348039)'))) / (select extract(epoch from '2026-07-03 08:27:03'::timestamp) - extract(epoch from '2026-07-03 08:26: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'), 47390, 'SRID=4674;POINT (-38.318301 -3.347914)', '2026-07-03 08:27:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318225 -3.348039)'), GeomFromEWKT('SRID=4674;POINT (-38.318301 -3.347914)'))) / (select extract(epoch from '2026-07-03 08:27:09'::timestamp) - extract(epoch from '2026-07-03 08:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318225 -3.348039)'), GeomFromEWKT('SRID=4674;POINT (-38.318301 -3.347914)'))) / (select extract(epoch from '2026-07-03 08:27:09'::timestamp) - extract(epoch from '2026-07-03 08:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.318358 -3.347815)', '2026-07-03 08:27:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318301 -3.347914)'), GeomFromEWKT('SRID=4674;POINT (-38.318358 -3.347815)'))) / (select extract(epoch from '2026-07-03 08:27:14'::timestamp) - extract(epoch from '2026-07-03 08:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318301 -3.347914)'), GeomFromEWKT('SRID=4674;POINT (-38.318358 -3.347815)'))) / (select extract(epoch from '2026-07-03 08:27:14'::timestamp) - extract(epoch from '2026-07-03 08:27: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'), 47390, 'SRID=4674;POINT (-38.318425 -3.347686)', '2026-07-03 08:27:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318358 -3.347815)'), GeomFromEWKT('SRID=4674;POINT (-38.318425 -3.347686)'))) / (select extract(epoch from '2026-07-03 08:27:20'::timestamp) - extract(epoch from '2026-07-03 08:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318358 -3.347815)'), GeomFromEWKT('SRID=4674;POINT (-38.318425 -3.347686)'))) / (select extract(epoch from '2026-07-03 08:27:20'::timestamp) - extract(epoch from '2026-07-03 08:27: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'), 47390, 'SRID=4674;POINT (-38.318493 -3.347548)', '2026-07-03 08:27:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318425 -3.347686)'), GeomFromEWKT('SRID=4674;POINT (-38.318493 -3.347548)'))) / (select extract(epoch from '2026-07-03 08:27:26'::timestamp) - extract(epoch from '2026-07-03 08:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318425 -3.347686)'), GeomFromEWKT('SRID=4674;POINT (-38.318493 -3.347548)'))) / (select extract(epoch from '2026-07-03 08:27:26'::timestamp) - extract(epoch from '2026-07-03 08:27: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'), 47390, 'SRID=4674;POINT (-38.318547 -3.34744)', '2026-07-03 08:27:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318493 -3.347548)'), GeomFromEWKT('SRID=4674;POINT (-38.318547 -3.34744)'))) / (select extract(epoch from '2026-07-03 08:27:31'::timestamp) - extract(epoch from '2026-07-03 08:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318493 -3.347548)'), GeomFromEWKT('SRID=4674;POINT (-38.318547 -3.34744)'))) / (select extract(epoch from '2026-07-03 08:27:31'::timestamp) - extract(epoch from '2026-07-03 08:27: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'), 47390, 'SRID=4674;POINT (-38.318597 -3.347328)', '2026-07-03 08:27:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318547 -3.34744)'), GeomFromEWKT('SRID=4674;POINT (-38.318597 -3.347328)'))) / (select extract(epoch from '2026-07-03 08:27:36'::timestamp) - extract(epoch from '2026-07-03 08:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318547 -3.34744)'), GeomFromEWKT('SRID=4674;POINT (-38.318597 -3.347328)'))) / (select extract(epoch from '2026-07-03 08:27:36'::timestamp) - extract(epoch from '2026-07-03 08:27: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'), 47390, 'SRID=4674;POINT (-38.318661 -3.347199)', '2026-07-03 08:27:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318597 -3.347328)'), GeomFromEWKT('SRID=4674;POINT (-38.318661 -3.347199)'))) / (select extract(epoch from '2026-07-03 08:27:42'::timestamp) - extract(epoch from '2026-07-03 08:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318597 -3.347328)'), GeomFromEWKT('SRID=4674;POINT (-38.318661 -3.347199)'))) / (select extract(epoch from '2026-07-03 08:27:42'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.318742 -3.347045)', '2026-07-03 08:27:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318661 -3.347199)'), GeomFromEWKT('SRID=4674;POINT (-38.318742 -3.347045)'))) / (select extract(epoch from '2026-07-03 08:27:49'::timestamp) - extract(epoch from '2026-07-03 08:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318661 -3.347199)'), GeomFromEWKT('SRID=4674;POINT (-38.318742 -3.347045)'))) / (select extract(epoch from '2026-07-03 08:27:49'::timestamp) - extract(epoch from '2026-07-03 08:27: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'), 47390, 'SRID=4674;POINT (-38.318829 -3.346898)', '2026-07-03 08:27:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318742 -3.347045)'), GeomFromEWKT('SRID=4674;POINT (-38.318829 -3.346898)'))) / (select extract(epoch from '2026-07-03 08:27:56'::timestamp) - extract(epoch from '2026-07-03 08:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318742 -3.347045)'), GeomFromEWKT('SRID=4674;POINT (-38.318829 -3.346898)'))) / (select extract(epoch from '2026-07-03 08:27:56'::timestamp) - extract(epoch from '2026-07-03 08:27: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'), 47390, 'SRID=4674;POINT (-38.31889 -3.346792)', '2026-07-03 08:28:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318829 -3.346898)'), GeomFromEWKT('SRID=4674;POINT (-38.31889 -3.346792)'))) / (select extract(epoch from '2026-07-03 08:28:01'::timestamp) - extract(epoch from '2026-07-03 08:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318829 -3.346898)'), GeomFromEWKT('SRID=4674;POINT (-38.31889 -3.346792)'))) / (select extract(epoch from '2026-07-03 08:28:01'::timestamp) - extract(epoch from '2026-07-03 08:27: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'), 47390, 'SRID=4674;POINT (-38.318942 -3.346688)', '2026-07-03 08:28:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31889 -3.346792)'), GeomFromEWKT('SRID=4674;POINT (-38.318942 -3.346688)'))) / (select extract(epoch from '2026-07-03 08:28:06'::timestamp) - extract(epoch from '2026-07-03 08:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31889 -3.346792)'), GeomFromEWKT('SRID=4674;POINT (-38.318942 -3.346688)'))) / (select extract(epoch from '2026-07-03 08:28:06'::timestamp) - extract(epoch from '2026-07-03 08:28: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'), 47390, 'SRID=4674;POINT (-38.31901 -3.346581)', '2026-07-03 08:28:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318942 -3.346688)'), GeomFromEWKT('SRID=4674;POINT (-38.31901 -3.346581)'))) / (select extract(epoch from '2026-07-03 08:28:11'::timestamp) - extract(epoch from '2026-07-03 08:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.318942 -3.346688)'), GeomFromEWKT('SRID=4674;POINT (-38.31901 -3.346581)'))) / (select extract(epoch from '2026-07-03 08:28:11'::timestamp) - extract(epoch from '2026-07-03 08:28: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'), 47390, 'SRID=4674;POINT (-38.319083 -3.346446)', '2026-07-03 08:28:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31901 -3.346581)'), GeomFromEWKT('SRID=4674;POINT (-38.319083 -3.346446)'))) / (select extract(epoch from '2026-07-03 08:28:17'::timestamp) - extract(epoch from '2026-07-03 08:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31901 -3.346581)'), GeomFromEWKT('SRID=4674;POINT (-38.319083 -3.346446)'))) / (select extract(epoch from '2026-07-03 08:28:17'::timestamp) - extract(epoch from '2026-07-03 08:28: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'), 47390, 'SRID=4674;POINT (-38.319132 -3.346334)', '2026-07-03 08:28:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319083 -3.346446)'), GeomFromEWKT('SRID=4674;POINT (-38.319132 -3.346334)'))) / (select extract(epoch from '2026-07-03 08:28:22'::timestamp) - extract(epoch from '2026-07-03 08:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319083 -3.346446)'), GeomFromEWKT('SRID=4674;POINT (-38.319132 -3.346334)'))) / (select extract(epoch from '2026-07-03 08:28:22'::timestamp) - extract(epoch from '2026-07-03 08:28: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'), 47390, 'SRID=4674;POINT (-38.319195 -3.34623)', '2026-07-03 08:28:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319132 -3.346334)'), GeomFromEWKT('SRID=4674;POINT (-38.319195 -3.34623)'))) / (select extract(epoch from '2026-07-03 08:28:27'::timestamp) - extract(epoch from '2026-07-03 08:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319132 -3.346334)'), GeomFromEWKT('SRID=4674;POINT (-38.319195 -3.34623)'))) / (select extract(epoch from '2026-07-03 08:28:27'::timestamp) - extract(epoch from '2026-07-03 08:28:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.319241 -3.346115)', '2026-07-03 08:28:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319195 -3.34623)'), GeomFromEWKT('SRID=4674;POINT (-38.319241 -3.346115)'))) / (select extract(epoch from '2026-07-03 08:28:32'::timestamp) - extract(epoch from '2026-07-03 08:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319195 -3.34623)'), GeomFromEWKT('SRID=4674;POINT (-38.319241 -3.346115)'))) / (select extract(epoch from '2026-07-03 08:28:32'::timestamp) - extract(epoch from '2026-07-03 08:28: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'), 47390, 'SRID=4674;POINT (-38.319295 -3.345994)', '2026-07-03 08:28:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319241 -3.346115)'), GeomFromEWKT('SRID=4674;POINT (-38.319295 -3.345994)'))) / (select extract(epoch from '2026-07-03 08:28:37'::timestamp) - extract(epoch from '2026-07-03 08:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319241 -3.346115)'), GeomFromEWKT('SRID=4674;POINT (-38.319295 -3.345994)'))) / (select extract(epoch from '2026-07-03 08:28:37'::timestamp) - extract(epoch from '2026-07-03 08:28: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'), 47390, 'SRID=4674;POINT (-38.319339 -3.345882)', '2026-07-03 08:28:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319295 -3.345994)'), GeomFromEWKT('SRID=4674;POINT (-38.319339 -3.345882)'))) / (select extract(epoch from '2026-07-03 08:28:42'::timestamp) - extract(epoch from '2026-07-03 08:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319295 -3.345994)'), GeomFromEWKT('SRID=4674;POINT (-38.319339 -3.345882)'))) / (select extract(epoch from '2026-07-03 08:28:42'::timestamp) - extract(epoch from '2026-07-03 08:28:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.319394 -3.345745)', '2026-07-03 08:28:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319339 -3.345882)'), GeomFromEWKT('SRID=4674;POINT (-38.319394 -3.345745)'))) / (select extract(epoch from '2026-07-03 08:28:48'::timestamp) - extract(epoch from '2026-07-03 08:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319339 -3.345882)'), GeomFromEWKT('SRID=4674;POINT (-38.319394 -3.345745)'))) / (select extract(epoch from '2026-07-03 08:28:48'::timestamp) - extract(epoch from '2026-07-03 08:28: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'), 47390, 'SRID=4674;POINT (-38.319434 -3.345634)', '2026-07-03 08:28:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319394 -3.345745)'), GeomFromEWKT('SRID=4674;POINT (-38.319434 -3.345634)'))) / (select extract(epoch from '2026-07-03 08:28:53'::timestamp) - extract(epoch from '2026-07-03 08:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319394 -3.345745)'), GeomFromEWKT('SRID=4674;POINT (-38.319434 -3.345634)'))) / (select extract(epoch from '2026-07-03 08:28:53'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.319483 -3.345524)', '2026-07-03 08:28:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319434 -3.345634)'), GeomFromEWKT('SRID=4674;POINT (-38.319483 -3.345524)'))) / (select extract(epoch from '2026-07-03 08:28:58'::timestamp) - extract(epoch from '2026-07-03 08:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319434 -3.345634)'), GeomFromEWKT('SRID=4674;POINT (-38.319483 -3.345524)'))) / (select extract(epoch from '2026-07-03 08:28:58'::timestamp) - extract(epoch from '2026-07-03 08:28: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'), 47390, 'SRID=4674;POINT (-38.319524 -3.345436)', '2026-07-03 08:29:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319483 -3.345524)'), GeomFromEWKT('SRID=4674;POINT (-38.319524 -3.345436)'))) / (select extract(epoch from '2026-07-03 08:29:02'::timestamp) - extract(epoch from '2026-07-03 08:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319483 -3.345524)'), GeomFromEWKT('SRID=4674;POINT (-38.319524 -3.345436)'))) / (select extract(epoch from '2026-07-03 08:29:02'::timestamp) - extract(epoch from '2026-07-03 08:28: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'), 47390, 'SRID=4674;POINT (-38.319539 -3.345395)', '2026-07-03 08:29:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319524 -3.345436)'), GeomFromEWKT('SRID=4674;POINT (-38.319539 -3.345395)'))) / (select extract(epoch from '2026-07-03 08:29:04'::timestamp) - extract(epoch from '2026-07-03 08:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319524 -3.345436)'), GeomFromEWKT('SRID=4674;POINT (-38.319539 -3.345395)'))) / (select extract(epoch from '2026-07-03 08:29:04'::timestamp) - extract(epoch from '2026-07-03 08:29: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'), 47390, 'SRID=4674;POINT (-38.319605 -3.345309)', '2026-07-03 08:29:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319539 -3.345395)'), GeomFromEWKT('SRID=4674;POINT (-38.319605 -3.345309)'))) / (select extract(epoch from '2026-07-03 08:29:08'::timestamp) - extract(epoch from '2026-07-03 08:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319539 -3.345395)'), GeomFromEWKT('SRID=4674;POINT (-38.319605 -3.345309)'))) / (select extract(epoch from '2026-07-03 08:29:08'::timestamp) - extract(epoch from '2026-07-03 08:29: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'), 47390, 'SRID=4674;POINT (-38.319682 -3.345193)', '2026-07-03 08:29:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319605 -3.345309)'), GeomFromEWKT('SRID=4674;POINT (-38.319682 -3.345193)'))) / (select extract(epoch from '2026-07-03 08:29:14'::timestamp) - extract(epoch from '2026-07-03 08:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319605 -3.345309)'), GeomFromEWKT('SRID=4674;POINT (-38.319682 -3.345193)'))) / (select extract(epoch from '2026-07-03 08:29:14'::timestamp) - extract(epoch from '2026-07-03 08:29: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'), 47390, 'SRID=4674;POINT (-38.319761 -3.345077)', '2026-07-03 08:29:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319682 -3.345193)'), GeomFromEWKT('SRID=4674;POINT (-38.319761 -3.345077)'))) / (select extract(epoch from '2026-07-03 08:29:20'::timestamp) - extract(epoch from '2026-07-03 08:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319682 -3.345193)'), GeomFromEWKT('SRID=4674;POINT (-38.319761 -3.345077)'))) / (select extract(epoch from '2026-07-03 08:29:20'::timestamp) - extract(epoch from '2026-07-03 08:29: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'), 47390, 'SRID=4674;POINT (-38.319805 -3.344998)', '2026-07-03 08:29:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319761 -3.345077)'), GeomFromEWKT('SRID=4674;POINT (-38.319805 -3.344998)'))) / (select extract(epoch from '2026-07-03 08:29:24'::timestamp) - extract(epoch from '2026-07-03 08:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319761 -3.345077)'), GeomFromEWKT('SRID=4674;POINT (-38.319805 -3.344998)'))) / (select extract(epoch from '2026-07-03 08:29:24'::timestamp) - extract(epoch from '2026-07-03 08:29: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'), 47390, 'SRID=4674;POINT (-38.319851 -3.344901)', '2026-07-03 08:29:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319805 -3.344998)'), GeomFromEWKT('SRID=4674;POINT (-38.319851 -3.344901)'))) / (select extract(epoch from '2026-07-03 08:29:29'::timestamp) - extract(epoch from '2026-07-03 08:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319805 -3.344998)'), GeomFromEWKT('SRID=4674;POINT (-38.319851 -3.344901)'))) / (select extract(epoch from '2026-07-03 08:29:29'::timestamp) - extract(epoch from '2026-07-03 08:29: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'), 47390, 'SRID=4674;POINT (-38.319911 -3.344751)', '2026-07-03 08:29:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319851 -3.344901)'), GeomFromEWKT('SRID=4674;POINT (-38.319911 -3.344751)'))) / (select extract(epoch from '2026-07-03 08:29:36'::timestamp) - extract(epoch from '2026-07-03 08:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319851 -3.344901)'), GeomFromEWKT('SRID=4674;POINT (-38.319911 -3.344751)'))) / (select extract(epoch from '2026-07-03 08:29:36'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.319946 -3.34463)', '2026-07-03 08:29:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319911 -3.344751)'), GeomFromEWKT('SRID=4674;POINT (-38.319946 -3.34463)'))) / (select extract(epoch from '2026-07-03 08:29:42'::timestamp) - extract(epoch from '2026-07-03 08:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319911 -3.344751)'), GeomFromEWKT('SRID=4674;POINT (-38.319946 -3.34463)'))) / (select extract(epoch from '2026-07-03 08:29:42'::timestamp) - extract(epoch from '2026-07-03 08:29: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'), 47390, 'SRID=4674;POINT (-38.31998 -3.344502)', '2026-07-03 08:29:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319946 -3.34463)'), GeomFromEWKT('SRID=4674;POINT (-38.31998 -3.344502)'))) / (select extract(epoch from '2026-07-03 08:29:48'::timestamp) - extract(epoch from '2026-07-03 08:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319946 -3.34463)'), GeomFromEWKT('SRID=4674;POINT (-38.31998 -3.344502)'))) / (select extract(epoch from '2026-07-03 08:29:48'::timestamp) - extract(epoch from '2026-07-03 08:29: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'), 47390, 'SRID=4674;POINT (-38.319997 -3.34443)', '2026-07-03 08:29:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31998 -3.344502)'), GeomFromEWKT('SRID=4674;POINT (-38.319997 -3.34443)'))) / (select extract(epoch from '2026-07-03 08:29:51'::timestamp) - extract(epoch from '2026-07-03 08:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.31998 -3.344502)'), GeomFromEWKT('SRID=4674;POINT (-38.319997 -3.34443)'))) / (select extract(epoch from '2026-07-03 08:29:51'::timestamp) - extract(epoch from '2026-07-03 08:29: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'), 47390, 'SRID=4674;POINT (-38.320001 -3.344393)', '2026-07-03 08:29:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319997 -3.34443)'), GeomFromEWKT('SRID=4674;POINT (-38.320001 -3.344393)'))) / (select extract(epoch from '2026-07-03 08:29:53'::timestamp) - extract(epoch from '2026-07-03 08:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.319997 -3.34443)'), GeomFromEWKT('SRID=4674;POINT (-38.320001 -3.344393)'))) / (select extract(epoch from '2026-07-03 08:29:53'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.320042 -3.344305)', '2026-07-03 08:29:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320001 -3.344393)'), GeomFromEWKT('SRID=4674;POINT (-38.320042 -3.344305)'))) / (select extract(epoch from '2026-07-03 08:29:57'::timestamp) - extract(epoch from '2026-07-03 08:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320001 -3.344393)'), GeomFromEWKT('SRID=4674;POINT (-38.320042 -3.344305)'))) / (select extract(epoch from '2026-07-03 08:29:57'::timestamp) - extract(epoch from '2026-07-03 08:29: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'), 47390, 'SRID=4674;POINT (-38.320084 -3.344214)', '2026-07-03 08:30:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320042 -3.344305)'), GeomFromEWKT('SRID=4674;POINT (-38.320084 -3.344214)'))) / (select extract(epoch from '2026-07-03 08:30:02'::timestamp) - extract(epoch from '2026-07-03 08:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320042 -3.344305)'), GeomFromEWKT('SRID=4674;POINT (-38.320084 -3.344214)'))) / (select extract(epoch from '2026-07-03 08:30:02'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.320123 -3.344113)', '2026-07-03 08:30:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320084 -3.344214)'), GeomFromEWKT('SRID=4674;POINT (-38.320123 -3.344113)'))) / (select extract(epoch from '2026-07-03 08:30:07'::timestamp) - extract(epoch from '2026-07-03 08:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320084 -3.344214)'), GeomFromEWKT('SRID=4674;POINT (-38.320123 -3.344113)'))) / (select extract(epoch from '2026-07-03 08:30:07'::timestamp) - extract(epoch from '2026-07-03 08:30:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.320172 -3.344018)', '2026-07-03 08:30:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320123 -3.344113)'), GeomFromEWKT('SRID=4674;POINT (-38.320172 -3.344018)'))) / (select extract(epoch from '2026-07-03 08:30:12'::timestamp) - extract(epoch from '2026-07-03 08:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320123 -3.344113)'), GeomFromEWKT('SRID=4674;POINT (-38.320172 -3.344018)'))) / (select extract(epoch from '2026-07-03 08:30:12'::timestamp) - extract(epoch from '2026-07-03 08:30: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'), 47390, 'SRID=4674;POINT (-38.320235 -3.34391)', '2026-07-03 08:30:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320172 -3.344018)'), GeomFromEWKT('SRID=4674;POINT (-38.320235 -3.34391)'))) / (select extract(epoch from '2026-07-03 08:30:18'::timestamp) - extract(epoch from '2026-07-03 08:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320172 -3.344018)'), GeomFromEWKT('SRID=4674;POINT (-38.320235 -3.34391)'))) / (select extract(epoch from '2026-07-03 08:30:18'::timestamp) - extract(epoch from '2026-07-03 08:30:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.320298 -3.343818)', '2026-07-03 08:30:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320235 -3.34391)'), GeomFromEWKT('SRID=4674;POINT (-38.320298 -3.343818)'))) / (select extract(epoch from '2026-07-03 08:30:23'::timestamp) - extract(epoch from '2026-07-03 08:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320235 -3.34391)'), GeomFromEWKT('SRID=4674;POINT (-38.320298 -3.343818)'))) / (select extract(epoch from '2026-07-03 08:30:23'::timestamp) - extract(epoch from '2026-07-03 08:30: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'), 47390, 'SRID=4674;POINT (-38.32036 -3.343722)', '2026-07-03 08:30:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320298 -3.343818)'), GeomFromEWKT('SRID=4674;POINT (-38.32036 -3.343722)'))) / (select extract(epoch from '2026-07-03 08:30:28'::timestamp) - extract(epoch from '2026-07-03 08:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320298 -3.343818)'), GeomFromEWKT('SRID=4674;POINT (-38.32036 -3.343722)'))) / (select extract(epoch from '2026-07-03 08:30:28'::timestamp) - extract(epoch from '2026-07-03 08:30:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.320428 -3.343632)', '2026-07-03 08:30:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.32036 -3.343722)'), GeomFromEWKT('SRID=4674;POINT (-38.320428 -3.343632)'))) / (select extract(epoch from '2026-07-03 08:30:33'::timestamp) - extract(epoch from '2026-07-03 08:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.32036 -3.343722)'), GeomFromEWKT('SRID=4674;POINT (-38.320428 -3.343632)'))) / (select extract(epoch from '2026-07-03 08:30:33'::timestamp) - extract(epoch from '2026-07-03 08:30: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'), 47390, 'SRID=4674;POINT (-38.320495 -3.343563)', '2026-07-03 08:30:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320428 -3.343632)'), GeomFromEWKT('SRID=4674;POINT (-38.320495 -3.343563)'))) / (select extract(epoch from '2026-07-03 08:30:37'::timestamp) - extract(epoch from '2026-07-03 08:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320428 -3.343632)'), GeomFromEWKT('SRID=4674;POINT (-38.320495 -3.343563)'))) / (select extract(epoch from '2026-07-03 08:30:37'::timestamp) - extract(epoch from '2026-07-03 08:30: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'), 47390, 'SRID=4674;POINT (-38.320549 -3.343497)', '2026-07-03 08:30:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320495 -3.343563)'), GeomFromEWKT('SRID=4674;POINT (-38.320549 -3.343497)'))) / (select extract(epoch from '2026-07-03 08:30:41'::timestamp) - extract(epoch from '2026-07-03 08:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320495 -3.343563)'), GeomFromEWKT('SRID=4674;POINT (-38.320549 -3.343497)'))) / (select extract(epoch from '2026-07-03 08:30:41'::timestamp) - extract(epoch from '2026-07-03 08:30: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'), 47390, 'SRID=4674;POINT (-38.320639 -3.343419)', '2026-07-03 08:30:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320549 -3.343497)'), GeomFromEWKT('SRID=4674;POINT (-38.320639 -3.343419)'))) / (select extract(epoch from '2026-07-03 08:30:46'::timestamp) - extract(epoch from '2026-07-03 08:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320549 -3.343497)'), GeomFromEWKT('SRID=4674;POINT (-38.320639 -3.343419)'))) / (select extract(epoch from '2026-07-03 08:30:46'::timestamp) - extract(epoch from '2026-07-03 08:30:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.320731 -3.343317)', '2026-07-03 08:30:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320639 -3.343419)'), GeomFromEWKT('SRID=4674;POINT (-38.320731 -3.343317)'))) / (select extract(epoch from '2026-07-03 08:30:52'::timestamp) - extract(epoch from '2026-07-03 08:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320639 -3.343419)'), GeomFromEWKT('SRID=4674;POINT (-38.320731 -3.343317)'))) / (select extract(epoch from '2026-07-03 08:30:52'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.320824 -3.34323)', '2026-07-03 08:30:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320731 -3.343317)'), GeomFromEWKT('SRID=4674;POINT (-38.320824 -3.34323)'))) / (select extract(epoch from '2026-07-03 08:30:57'::timestamp) - extract(epoch from '2026-07-03 08:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320731 -3.343317)'), GeomFromEWKT('SRID=4674;POINT (-38.320824 -3.34323)'))) / (select extract(epoch from '2026-07-03 08:30:57'::timestamp) - extract(epoch from '2026-07-03 08:30: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'), 47390, 'SRID=4674;POINT (-38.320903 -3.343135)', '2026-07-03 08:31:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320824 -3.34323)'), GeomFromEWKT('SRID=4674;POINT (-38.320903 -3.343135)'))) / (select extract(epoch from '2026-07-03 08:31:02'::timestamp) - extract(epoch from '2026-07-03 08:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320824 -3.34323)'), GeomFromEWKT('SRID=4674;POINT (-38.320903 -3.343135)'))) / (select extract(epoch from '2026-07-03 08:31:02'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.320972 -3.343036)', '2026-07-03 08:31:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320903 -3.343135)'), GeomFromEWKT('SRID=4674;POINT (-38.320972 -3.343036)'))) / (select extract(epoch from '2026-07-03 08:31:07'::timestamp) - extract(epoch from '2026-07-03 08:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320903 -3.343135)'), GeomFromEWKT('SRID=4674;POINT (-38.320972 -3.343036)'))) / (select extract(epoch from '2026-07-03 08:31:07'::timestamp) - extract(epoch from '2026-07-03 08:31: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'), 47390, 'SRID=4674;POINT (-38.321032 -3.342934)', '2026-07-03 08:31:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320972 -3.343036)'), GeomFromEWKT('SRID=4674;POINT (-38.321032 -3.342934)'))) / (select extract(epoch from '2026-07-03 08:31:12'::timestamp) - extract(epoch from '2026-07-03 08:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.320972 -3.343036)'), GeomFromEWKT('SRID=4674;POINT (-38.321032 -3.342934)'))) / (select extract(epoch from '2026-07-03 08:31:12'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.321064 -3.342861)', '2026-07-03 08:31:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321032 -3.342934)'), GeomFromEWKT('SRID=4674;POINT (-38.321064 -3.342861)'))) / (select extract(epoch from '2026-07-03 08:31:15'::timestamp) - extract(epoch from '2026-07-03 08:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321032 -3.342934)'), GeomFromEWKT('SRID=4674;POINT (-38.321064 -3.342861)'))) / (select extract(epoch from '2026-07-03 08:31:15'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.321068 -3.342841)', '2026-07-03 08:31:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321064 -3.342861)'), GeomFromEWKT('SRID=4674;POINT (-38.321068 -3.342841)'))) / (select extract(epoch from '2026-07-03 08:31:16'::timestamp) - extract(epoch from '2026-07-03 08:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321064 -3.342861)'), GeomFromEWKT('SRID=4674;POINT (-38.321068 -3.342841)'))) / (select extract(epoch from '2026-07-03 08:31:16'::timestamp) - extract(epoch from '2026-07-03 08:31: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'), 47390, 'SRID=4674;POINT (-38.321124 -3.342737)', '2026-07-03 08:31:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321068 -3.342841)'), GeomFromEWKT('SRID=4674;POINT (-38.321124 -3.342737)'))) / (select extract(epoch from '2026-07-03 08:31:21'::timestamp) - extract(epoch from '2026-07-03 08:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321068 -3.342841)'), GeomFromEWKT('SRID=4674;POINT (-38.321124 -3.342737)'))) / (select extract(epoch from '2026-07-03 08:31:21'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.321176 -3.342617)', '2026-07-03 08:31:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321124 -3.342737)'), GeomFromEWKT('SRID=4674;POINT (-38.321176 -3.342617)'))) / (select extract(epoch from '2026-07-03 08:31:27'::timestamp) - extract(epoch from '2026-07-03 08:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321124 -3.342737)'), GeomFromEWKT('SRID=4674;POINT (-38.321176 -3.342617)'))) / (select extract(epoch from '2026-07-03 08:31:27'::timestamp) - extract(epoch from '2026-07-03 08:31:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.321209 -3.342534)', '2026-07-03 08:31:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321176 -3.342617)'), GeomFromEWKT('SRID=4674;POINT (-38.321209 -3.342534)'))) / (select extract(epoch from '2026-07-03 08:31:31'::timestamp) - extract(epoch from '2026-07-03 08:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321176 -3.342617)'), GeomFromEWKT('SRID=4674;POINT (-38.321209 -3.342534)'))) / (select extract(epoch from '2026-07-03 08:31:31'::timestamp) - extract(epoch from '2026-07-03 08:31: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'), 47390, 'SRID=4674;POINT (-38.321256 -3.342416)', '2026-07-03 08:31:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321209 -3.342534)'), GeomFromEWKT('SRID=4674;POINT (-38.321256 -3.342416)'))) / (select extract(epoch from '2026-07-03 08:31:36'::timestamp) - extract(epoch from '2026-07-03 08:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321209 -3.342534)'), GeomFromEWKT('SRID=4674;POINT (-38.321256 -3.342416)'))) / (select extract(epoch from '2026-07-03 08:31:36'::timestamp) - extract(epoch from '2026-07-03 08:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.321279 -3.342349)', '2026-07-03 08:31:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321256 -3.342416)'), GeomFromEWKT('SRID=4674;POINT (-38.321279 -3.342349)'))) / (select extract(epoch from '2026-07-03 08:31:39'::timestamp) - extract(epoch from '2026-07-03 08:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321256 -3.342416)'), GeomFromEWKT('SRID=4674;POINT (-38.321279 -3.342349)'))) / (select extract(epoch from '2026-07-03 08:31:39'::timestamp) - extract(epoch from '2026-07-03 08:31: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'), 47390, 'SRID=4674;POINT (-38.321287 -3.342322)', '2026-07-03 08:31:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321279 -3.342349)'), GeomFromEWKT('SRID=4674;POINT (-38.321287 -3.342322)'))) / (select extract(epoch from '2026-07-03 08:31:40'::timestamp) - extract(epoch from '2026-07-03 08:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321279 -3.342349)'), GeomFromEWKT('SRID=4674;POINT (-38.321287 -3.342322)'))) / (select extract(epoch from '2026-07-03 08:31:40'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.32134 -3.342179)', '2026-07-03 08:31:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321287 -3.342322)'), GeomFromEWKT('SRID=4674;POINT (-38.32134 -3.342179)'))) / (select extract(epoch from '2026-07-03 08:31:46'::timestamp) - extract(epoch from '2026-07-03 08:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321287 -3.342322)'), GeomFromEWKT('SRID=4674;POINT (-38.32134 -3.342179)'))) / (select extract(epoch from '2026-07-03 08:31:46'::timestamp) - extract(epoch from '2026-07-03 08:31: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'), 47390, 'SRID=4674;POINT (-38.321369 -3.342096)', '2026-07-03 08:31:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.32134 -3.342179)'), GeomFromEWKT('SRID=4674;POINT (-38.321369 -3.342096)'))) / (select extract(epoch from '2026-07-03 08:31:50'::timestamp) - extract(epoch from '2026-07-03 08:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.32134 -3.342179)'), GeomFromEWKT('SRID=4674;POINT (-38.321369 -3.342096)'))) / (select extract(epoch from '2026-07-03 08:31:50'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.321423 -3.342002)', '2026-07-03 08:31:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321369 -3.342096)'), GeomFromEWKT('SRID=4674;POINT (-38.321423 -3.342002)'))) / (select extract(epoch from '2026-07-03 08:31:54'::timestamp) - extract(epoch from '2026-07-03 08:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321369 -3.342096)'), GeomFromEWKT('SRID=4674;POINT (-38.321423 -3.342002)'))) / (select extract(epoch from '2026-07-03 08:31:54'::timestamp) - extract(epoch from '2026-07-03 08:31: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'), 47390, 'SRID=4674;POINT (-38.321471 -3.341924)', '2026-07-03 08:31:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321423 -3.342002)'), GeomFromEWKT('SRID=4674;POINT (-38.321471 -3.341924)'))) / (select extract(epoch from '2026-07-03 08:31:58'::timestamp) - extract(epoch from '2026-07-03 08:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321423 -3.342002)'), GeomFromEWKT('SRID=4674;POINT (-38.321471 -3.341924)'))) / (select extract(epoch from '2026-07-03 08:31:58'::timestamp) - extract(epoch from '2026-07-03 08:31: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'), 47390, 'SRID=4674;POINT (-38.321509 -3.341851)', '2026-07-03 08:32:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321471 -3.341924)'), GeomFromEWKT('SRID=4674;POINT (-38.321509 -3.341851)'))) / (select extract(epoch from '2026-07-03 08:32:02'::timestamp) - extract(epoch from '2026-07-03 08:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321471 -3.341924)'), GeomFromEWKT('SRID=4674;POINT (-38.321509 -3.341851)'))) / (select extract(epoch from '2026-07-03 08:32:02'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.321568 -3.341764)', '2026-07-03 08:32:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321509 -3.341851)'), GeomFromEWKT('SRID=4674;POINT (-38.321568 -3.341764)'))) / (select extract(epoch from '2026-07-03 08:32:06'::timestamp) - extract(epoch from '2026-07-03 08:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321509 -3.341851)'), GeomFromEWKT('SRID=4674;POINT (-38.321568 -3.341764)'))) / (select extract(epoch from '2026-07-03 08:32:06'::timestamp) - extract(epoch from '2026-07-03 08:32: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'), 47390, 'SRID=4674;POINT (-38.321626 -3.341678)', '2026-07-03 08:32:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321568 -3.341764)'), GeomFromEWKT('SRID=4674;POINT (-38.321626 -3.341678)'))) / (select extract(epoch from '2026-07-03 08:32:10'::timestamp) - extract(epoch from '2026-07-03 08:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321568 -3.341764)'), GeomFromEWKT('SRID=4674;POINT (-38.321626 -3.341678)'))) / (select extract(epoch from '2026-07-03 08:32:10'::timestamp) - extract(epoch from '2026-07-03 08:32: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'), 47390, 'SRID=4674;POINT (-38.321674 -3.341575)', '2026-07-03 08:32:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321626 -3.341678)'), GeomFromEWKT('SRID=4674;POINT (-38.321674 -3.341575)'))) / (select extract(epoch from '2026-07-03 08:32:15'::timestamp) - extract(epoch from '2026-07-03 08:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321626 -3.341678)'), GeomFromEWKT('SRID=4674;POINT (-38.321674 -3.341575)'))) / (select extract(epoch from '2026-07-03 08:32:15'::timestamp) - extract(epoch from '2026-07-03 08:32: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'), 47390, 'SRID=4674;POINT (-38.321758 -3.341428)', '2026-07-03 08:32:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321674 -3.341575)'), GeomFromEWKT('SRID=4674;POINT (-38.321758 -3.341428)'))) / (select extract(epoch from '2026-07-03 08:32:22'::timestamp) - extract(epoch from '2026-07-03 08:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321674 -3.341575)'), GeomFromEWKT('SRID=4674;POINT (-38.321758 -3.341428)'))) / (select extract(epoch from '2026-07-03 08:32:22'::timestamp) - extract(epoch from '2026-07-03 08:32: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'), 47390, 'SRID=4674;POINT (-38.321827 -3.341295)', '2026-07-03 08:32:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321758 -3.341428)'), GeomFromEWKT('SRID=4674;POINT (-38.321827 -3.341295)'))) / (select extract(epoch from '2026-07-03 08:32:28'::timestamp) - extract(epoch from '2026-07-03 08:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321758 -3.341428)'), GeomFromEWKT('SRID=4674;POINT (-38.321827 -3.341295)'))) / (select extract(epoch from '2026-07-03 08:32:28'::timestamp) - extract(epoch from '2026-07-03 08:32: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'), 47390, 'SRID=4674;POINT (-38.321873 -3.341183)', '2026-07-03 08:32:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321827 -3.341295)'), GeomFromEWKT('SRID=4674;POINT (-38.321873 -3.341183)'))) / (select extract(epoch from '2026-07-03 08:32:33'::timestamp) - extract(epoch from '2026-07-03 08:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321827 -3.341295)'), GeomFromEWKT('SRID=4674;POINT (-38.321873 -3.341183)'))) / (select extract(epoch from '2026-07-03 08:32:33'::timestamp) - extract(epoch from '2026-07-03 08:32: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'), 47390, 'SRID=4674;POINT (-38.32193 -3.341098)', '2026-07-03 08:32:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321873 -3.341183)'), GeomFromEWKT('SRID=4674;POINT (-38.32193 -3.341098)'))) / (select extract(epoch from '2026-07-03 08:32:37'::timestamp) - extract(epoch from '2026-07-03 08:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321873 -3.341183)'), GeomFromEWKT('SRID=4674;POINT (-38.32193 -3.341098)'))) / (select extract(epoch from '2026-07-03 08:32:37'::timestamp) - extract(epoch from '2026-07-03 08:32: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'), 47390, 'SRID=4674;POINT (-38.321934 -3.341075)', '2026-07-03 08:32:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.32193 -3.341098)'), GeomFromEWKT('SRID=4674;POINT (-38.321934 -3.341075)'))) / (select extract(epoch from '2026-07-03 08:32:38'::timestamp) - extract(epoch from '2026-07-03 08:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.32193 -3.341098)'), GeomFromEWKT('SRID=4674;POINT (-38.321934 -3.341075)'))) / (select extract(epoch from '2026-07-03 08:32:38'::timestamp) - extract(epoch from '2026-07-03 08:32: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'), 47390, 'SRID=4674;POINT (-38.321949 -3.341011)', '2026-07-03 08:32:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321934 -3.341075)'), GeomFromEWKT('SRID=4674;POINT (-38.321949 -3.341011)'))) / (select extract(epoch from '2026-07-03 08:32:41'::timestamp) - extract(epoch from '2026-07-03 08:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321934 -3.341075)'), GeomFromEWKT('SRID=4674;POINT (-38.321949 -3.341011)'))) / (select extract(epoch from '2026-07-03 08:32:41'::timestamp) - extract(epoch from '2026-07-03 08:32: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'), 47390, 'SRID=4674;POINT (-38.321999 -3.340907)', '2026-07-03 08:32:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321949 -3.341011)'), GeomFromEWKT('SRID=4674;POINT (-38.321999 -3.340907)'))) / (select extract(epoch from '2026-07-03 08:32:46'::timestamp) - extract(epoch from '2026-07-03 08:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321949 -3.341011)'), GeomFromEWKT('SRID=4674;POINT (-38.321999 -3.340907)'))) / (select extract(epoch from '2026-07-03 08:32:46'::timestamp) - extract(epoch from '2026-07-03 08:32: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'), 47390, 'SRID=4674;POINT (-38.322062 -3.340778)', '2026-07-03 08:32:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321999 -3.340907)'), GeomFromEWKT('SRID=4674;POINT (-38.322062 -3.340778)'))) / (select extract(epoch from '2026-07-03 08:32:52'::timestamp) - extract(epoch from '2026-07-03 08:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.321999 -3.340907)'), GeomFromEWKT('SRID=4674;POINT (-38.322062 -3.340778)'))) / (select extract(epoch from '2026-07-03 08:32:52'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.322125 -3.340663)', '2026-07-03 08:32:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322062 -3.340778)'), GeomFromEWKT('SRID=4674;POINT (-38.322125 -3.340663)'))) / (select extract(epoch from '2026-07-03 08:32:57'::timestamp) - extract(epoch from '2026-07-03 08:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322062 -3.340778)'), GeomFromEWKT('SRID=4674;POINT (-38.322125 -3.340663)'))) / (select extract(epoch from '2026-07-03 08:32:57'::timestamp) - extract(epoch from '2026-07-03 08:32: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'), 47390, 'SRID=4674;POINT (-38.322176 -3.340555)', '2026-07-03 08:33:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322125 -3.340663)'), GeomFromEWKT('SRID=4674;POINT (-38.322176 -3.340555)'))) / (select extract(epoch from '2026-07-03 08:33:02'::timestamp) - extract(epoch from '2026-07-03 08:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322125 -3.340663)'), GeomFromEWKT('SRID=4674;POINT (-38.322176 -3.340555)'))) / (select extract(epoch from '2026-07-03 08:33:02'::timestamp) - extract(epoch from '2026-07-03 08:32: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'), 47390, 'SRID=4674;POINT (-38.322232 -3.340449)', '2026-07-03 08:33:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322176 -3.340555)'), GeomFromEWKT('SRID=4674;POINT (-38.322232 -3.340449)'))) / (select extract(epoch from '2026-07-03 08:33:07'::timestamp) - extract(epoch from '2026-07-03 08:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322176 -3.340555)'), GeomFromEWKT('SRID=4674;POINT (-38.322232 -3.340449)'))) / (select extract(epoch from '2026-07-03 08:33:07'::timestamp) - extract(epoch from '2026-07-03 08:33: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'), 47390, 'SRID=4674;POINT (-38.322286 -3.34034)', '2026-07-03 08:33:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322232 -3.340449)'), GeomFromEWKT('SRID=4674;POINT (-38.322286 -3.34034)'))) / (select extract(epoch from '2026-07-03 08:33:12'::timestamp) - extract(epoch from '2026-07-03 08:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322232 -3.340449)'), GeomFromEWKT('SRID=4674;POINT (-38.322286 -3.34034)'))) / (select extract(epoch from '2026-07-03 08:33:12'::timestamp) - extract(epoch from '2026-07-03 08:33: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'), 47390, 'SRID=4674;POINT (-38.322345 -3.34022)', '2026-07-03 08:33:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322286 -3.34034)'), GeomFromEWKT('SRID=4674;POINT (-38.322345 -3.34022)'))) / (select extract(epoch from '2026-07-03 08:33:17'::timestamp) - extract(epoch from '2026-07-03 08:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322286 -3.34034)'), GeomFromEWKT('SRID=4674;POINT (-38.322345 -3.34022)'))) / (select extract(epoch from '2026-07-03 08:33:17'::timestamp) - extract(epoch from '2026-07-03 08:33: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'), 47390, 'SRID=4674;POINT (-38.322408 -3.340092)', '2026-07-03 08:33:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322345 -3.34022)'), GeomFromEWKT('SRID=4674;POINT (-38.322408 -3.340092)'))) / (select extract(epoch from '2026-07-03 08:33:23'::timestamp) - extract(epoch from '2026-07-03 08:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322345 -3.34022)'), GeomFromEWKT('SRID=4674;POINT (-38.322408 -3.340092)'))) / (select extract(epoch from '2026-07-03 08:33:23'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.322461 -3.339964)', '2026-07-03 08:33:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322408 -3.340092)'), GeomFromEWKT('SRID=4674;POINT (-38.322461 -3.339964)'))) / (select extract(epoch from '2026-07-03 08:33:29'::timestamp) - extract(epoch from '2026-07-03 08:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322408 -3.340092)'), GeomFromEWKT('SRID=4674;POINT (-38.322461 -3.339964)'))) / (select extract(epoch from '2026-07-03 08:33:29'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.322512 -3.339866)', '2026-07-03 08:33:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322461 -3.339964)'), GeomFromEWKT('SRID=4674;POINT (-38.322512 -3.339866)'))) / (select extract(epoch from '2026-07-03 08:33:34'::timestamp) - extract(epoch from '2026-07-03 08:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322461 -3.339964)'), GeomFromEWKT('SRID=4674;POINT (-38.322512 -3.339866)'))) / (select extract(epoch from '2026-07-03 08:33:34'::timestamp) - extract(epoch from '2026-07-03 08:33: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'), 47390, 'SRID=4674;POINT (-38.322521 -3.339845)', '2026-07-03 08:33:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322512 -3.339866)'), GeomFromEWKT('SRID=4674;POINT (-38.322521 -3.339845)'))) / (select extract(epoch from '2026-07-03 08:33:35'::timestamp) - extract(epoch from '2026-07-03 08:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322512 -3.339866)'), GeomFromEWKT('SRID=4674;POINT (-38.322521 -3.339845)'))) / (select extract(epoch from '2026-07-03 08:33:35'::timestamp) - extract(epoch from '2026-07-03 08:33: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'), 47390, 'SRID=4674;POINT (-38.322559 -3.339777)', '2026-07-03 08:33:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322521 -3.339845)'), GeomFromEWKT('SRID=4674;POINT (-38.322559 -3.339777)'))) / (select extract(epoch from '2026-07-03 08:33:38'::timestamp) - extract(epoch from '2026-07-03 08:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322521 -3.339845)'), GeomFromEWKT('SRID=4674;POINT (-38.322559 -3.339777)'))) / (select extract(epoch from '2026-07-03 08:33:38'::timestamp) - extract(epoch from '2026-07-03 08:33: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'), 47390, 'SRID=4674;POINT (-38.322623 -3.339671)', '2026-07-03 08:33:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322559 -3.339777)'), GeomFromEWKT('SRID=4674;POINT (-38.322623 -3.339671)'))) / (select extract(epoch from '2026-07-03 08:33:43'::timestamp) - extract(epoch from '2026-07-03 08:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322559 -3.339777)'), GeomFromEWKT('SRID=4674;POINT (-38.322623 -3.339671)'))) / (select extract(epoch from '2026-07-03 08:33:43'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.322678 -3.339544)', '2026-07-03 08:33:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322623 -3.339671)'), GeomFromEWKT('SRID=4674;POINT (-38.322678 -3.339544)'))) / (select extract(epoch from '2026-07-03 08:33:49'::timestamp) - extract(epoch from '2026-07-03 08:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322623 -3.339671)'), GeomFromEWKT('SRID=4674;POINT (-38.322678 -3.339544)'))) / (select extract(epoch from '2026-07-03 08:33:49'::timestamp) - extract(epoch from '2026-07-03 08:33: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'), 47390, 'SRID=4674;POINT (-38.322731 -3.339439)', '2026-07-03 08:33:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322678 -3.339544)'), GeomFromEWKT('SRID=4674;POINT (-38.322731 -3.339439)'))) / (select extract(epoch from '2026-07-03 08:33:54'::timestamp) - extract(epoch from '2026-07-03 08:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322678 -3.339544)'), GeomFromEWKT('SRID=4674;POINT (-38.322731 -3.339439)'))) / (select extract(epoch from '2026-07-03 08:33:54'::timestamp) - extract(epoch from '2026-07-03 08:33: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'), 47390, 'SRID=4674;POINT (-38.322793 -3.339289)', '2026-07-03 08:34:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322731 -3.339439)'), GeomFromEWKT('SRID=4674;POINT (-38.322793 -3.339289)'))) / (select extract(epoch from '2026-07-03 08:34:01'::timestamp) - extract(epoch from '2026-07-03 08:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322731 -3.339439)'), GeomFromEWKT('SRID=4674;POINT (-38.322793 -3.339289)'))) / (select extract(epoch from '2026-07-03 08:34:01'::timestamp) - extract(epoch from '2026-07-03 08:33: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'), 47390, 'SRID=4674;POINT (-38.322835 -3.339162)', '2026-07-03 08:34:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322793 -3.339289)'), GeomFromEWKT('SRID=4674;POINT (-38.322835 -3.339162)'))) / (select extract(epoch from '2026-07-03 08:34:07'::timestamp) - extract(epoch from '2026-07-03 08:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322793 -3.339289)'), GeomFromEWKT('SRID=4674;POINT (-38.322835 -3.339162)'))) / (select extract(epoch from '2026-07-03 08:34:07'::timestamp) - extract(epoch from '2026-07-03 08:34: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'), 47390, 'SRID=4674;POINT (-38.322866 -3.339055)', '2026-07-03 08:34:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322835 -3.339162)'), GeomFromEWKT('SRID=4674;POINT (-38.322866 -3.339055)'))) / (select extract(epoch from '2026-07-03 08:34:12'::timestamp) - extract(epoch from '2026-07-03 08:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322835 -3.339162)'), GeomFromEWKT('SRID=4674;POINT (-38.322866 -3.339055)'))) / (select extract(epoch from '2026-07-03 08:34:12'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.322902 -3.338946)', '2026-07-03 08:34:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322866 -3.339055)'), GeomFromEWKT('SRID=4674;POINT (-38.322902 -3.338946)'))) / (select extract(epoch from '2026-07-03 08:34:17'::timestamp) - extract(epoch from '2026-07-03 08:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322866 -3.339055)'), GeomFromEWKT('SRID=4674;POINT (-38.322902 -3.338946)'))) / (select extract(epoch from '2026-07-03 08:34:17'::timestamp) - extract(epoch from '2026-07-03 08:34: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'), 47390, 'SRID=4674;POINT (-38.322952 -3.338835)', '2026-07-03 08:34:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322902 -3.338946)'), GeomFromEWKT('SRID=4674;POINT (-38.322952 -3.338835)'))) / (select extract(epoch from '2026-07-03 08:34:22'::timestamp) - extract(epoch from '2026-07-03 08:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322902 -3.338946)'), GeomFromEWKT('SRID=4674;POINT (-38.322952 -3.338835)'))) / (select extract(epoch from '2026-07-03 08:34:22'::timestamp) - extract(epoch from '2026-07-03 08:34: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'), 47390, 'SRID=4674;POINT (-38.322992 -3.338723)', '2026-07-03 08:34:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322952 -3.338835)'), GeomFromEWKT('SRID=4674;POINT (-38.322992 -3.338723)'))) / (select extract(epoch from '2026-07-03 08:34:27'::timestamp) - extract(epoch from '2026-07-03 08:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322952 -3.338835)'), GeomFromEWKT('SRID=4674;POINT (-38.322992 -3.338723)'))) / (select extract(epoch from '2026-07-03 08:34:27'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.323002 -3.338682)', '2026-07-03 08:34:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322992 -3.338723)'), GeomFromEWKT('SRID=4674;POINT (-38.323002 -3.338682)'))) / (select extract(epoch from '2026-07-03 08:34:29'::timestamp) - extract(epoch from '2026-07-03 08:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.322992 -3.338723)'), GeomFromEWKT('SRID=4674;POINT (-38.323002 -3.338682)'))) / (select extract(epoch from '2026-07-03 08:34:29'::timestamp) - extract(epoch from '2026-07-03 08:34: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'), 47390, 'SRID=4674;POINT (-38.323037 -3.338614)', '2026-07-03 08:34:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323002 -3.338682)'), GeomFromEWKT('SRID=4674;POINT (-38.323037 -3.338614)'))) / (select extract(epoch from '2026-07-03 08:34:32'::timestamp) - extract(epoch from '2026-07-03 08:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323002 -3.338682)'), GeomFromEWKT('SRID=4674;POINT (-38.323037 -3.338614)'))) / (select extract(epoch from '2026-07-03 08:34:32'::timestamp) - extract(epoch from '2026-07-03 08:34: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'), 47390, 'SRID=4674;POINT (-38.323082 -3.338484)', '2026-07-03 08:34:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323037 -3.338614)'), GeomFromEWKT('SRID=4674;POINT (-38.323082 -3.338484)'))) / (select extract(epoch from '2026-07-03 08:34:38'::timestamp) - extract(epoch from '2026-07-03 08:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323037 -3.338614)'), GeomFromEWKT('SRID=4674;POINT (-38.323082 -3.338484)'))) / (select extract(epoch from '2026-07-03 08:34:38'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.323117 -3.338367)', '2026-07-03 08:34:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323082 -3.338484)'), GeomFromEWKT('SRID=4674;POINT (-38.323117 -3.338367)'))) / (select extract(epoch from '2026-07-03 08:34:43'::timestamp) - extract(epoch from '2026-07-03 08:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323082 -3.338484)'), GeomFromEWKT('SRID=4674;POINT (-38.323117 -3.338367)'))) / (select extract(epoch from '2026-07-03 08:34:43'::timestamp) - extract(epoch from '2026-07-03 08:34: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'), 47390, 'SRID=4674;POINT (-38.323127 -3.338346)', '2026-07-03 08:34:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323117 -3.338367)'), GeomFromEWKT('SRID=4674;POINT (-38.323127 -3.338346)'))) / (select extract(epoch from '2026-07-03 08:34:44'::timestamp) - extract(epoch from '2026-07-03 08:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323117 -3.338367)'), GeomFromEWKT('SRID=4674;POINT (-38.323127 -3.338346)'))) / (select extract(epoch from '2026-07-03 08:34:44'::timestamp) - extract(epoch from '2026-07-03 08:34: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'), 47390, 'SRID=4674;POINT (-38.323146 -3.338275)', '2026-07-03 08:34:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323127 -3.338346)'), GeomFromEWKT('SRID=4674;POINT (-38.323146 -3.338275)'))) / (select extract(epoch from '2026-07-03 08:34:47'::timestamp) - extract(epoch from '2026-07-03 08:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323127 -3.338346)'), GeomFromEWKT('SRID=4674;POINT (-38.323146 -3.338275)'))) / (select extract(epoch from '2026-07-03 08:34:47'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.323172 -3.338158)', '2026-07-03 08:34:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323146 -3.338275)'), GeomFromEWKT('SRID=4674;POINT (-38.323172 -3.338158)'))) / (select extract(epoch from '2026-07-03 08:34:52'::timestamp) - extract(epoch from '2026-07-03 08:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323146 -3.338275)'), GeomFromEWKT('SRID=4674;POINT (-38.323172 -3.338158)'))) / (select extract(epoch from '2026-07-03 08:34:52'::timestamp) - extract(epoch from '2026-07-03 08:34: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'), 47390, 'SRID=4674;POINT (-38.323209 -3.338037)', '2026-07-03 08:34:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323172 -3.338158)'), GeomFromEWKT('SRID=4674;POINT (-38.323209 -3.338037)'))) / (select extract(epoch from '2026-07-03 08:34:57'::timestamp) - extract(epoch from '2026-07-03 08:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323172 -3.338158)'), GeomFromEWKT('SRID=4674;POINT (-38.323209 -3.338037)'))) / (select extract(epoch from '2026-07-03 08:34:57'::timestamp) - extract(epoch from '2026-07-03 08:34:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.32324 -3.33795)', '2026-07-03 08:35:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323209 -3.338037)'), GeomFromEWKT('SRID=4674;POINT (-38.32324 -3.33795)'))) / (select extract(epoch from '2026-07-03 08:35:01'::timestamp) - extract(epoch from '2026-07-03 08:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323209 -3.338037)'), GeomFromEWKT('SRID=4674;POINT (-38.32324 -3.33795)'))) / (select extract(epoch from '2026-07-03 08:35:01'::timestamp) - extract(epoch from '2026-07-03 08:34: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'), 47390, 'SRID=4674;POINT (-38.323282 -3.337843)', '2026-07-03 08:35:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.32324 -3.33795)'), GeomFromEWKT('SRID=4674;POINT (-38.323282 -3.337843)'))) / (select extract(epoch from '2026-07-03 08:35:06'::timestamp) - extract(epoch from '2026-07-03 08:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.32324 -3.33795)'), GeomFromEWKT('SRID=4674;POINT (-38.323282 -3.337843)'))) / (select extract(epoch from '2026-07-03 08:35:06'::timestamp) - extract(epoch from '2026-07-03 08:35: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'), 47390, 'SRID=4674;POINT (-38.323293 -3.337805)', '2026-07-03 08:35:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323282 -3.337843)'), GeomFromEWKT('SRID=4674;POINT (-38.323293 -3.337805)'))) / (select extract(epoch from '2026-07-03 08:35:08'::timestamp) - extract(epoch from '2026-07-03 08:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323282 -3.337843)'), GeomFromEWKT('SRID=4674;POINT (-38.323293 -3.337805)'))) / (select extract(epoch from '2026-07-03 08:35:08'::timestamp) - extract(epoch from '2026-07-03 08:35: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'), 47390, 'SRID=4674;POINT (-38.323321 -3.337761)', '2026-07-03 08:35:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323293 -3.337805)'), GeomFromEWKT('SRID=4674;POINT (-38.323321 -3.337761)'))) / (select extract(epoch from '2026-07-03 08:35:10'::timestamp) - extract(epoch from '2026-07-03 08:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323293 -3.337805)'), GeomFromEWKT('SRID=4674;POINT (-38.323321 -3.337761)'))) / (select extract(epoch from '2026-07-03 08:35:10'::timestamp) - extract(epoch from '2026-07-03 08:35:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.323327 -3.337739)', '2026-07-03 08:35:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323321 -3.337761)'), GeomFromEWKT('SRID=4674;POINT (-38.323327 -3.337739)'))) / (select extract(epoch from '2026-07-03 08:35:11'::timestamp) - extract(epoch from '2026-07-03 08:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323321 -3.337761)'), GeomFromEWKT('SRID=4674;POINT (-38.323327 -3.337739)'))) / (select extract(epoch from '2026-07-03 08:35:11'::timestamp) - extract(epoch from '2026-07-03 08:35: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'), 47390, 'SRID=4674;POINT (-38.323345 -3.337679)', '2026-07-03 08:35:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323327 -3.337739)'), GeomFromEWKT('SRID=4674;POINT (-38.323345 -3.337679)'))) / (select extract(epoch from '2026-07-03 08:35:14'::timestamp) - extract(epoch from '2026-07-03 08:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323327 -3.337739)'), GeomFromEWKT('SRID=4674;POINT (-38.323345 -3.337679)'))) / (select extract(epoch from '2026-07-03 08:35:14'::timestamp) - extract(epoch from '2026-07-03 08:35: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'), 47390, 'SRID=4674;POINT (-38.323378 -3.337617)', '2026-07-03 08:35:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323345 -3.337679)'), GeomFromEWKT('SRID=4674;POINT (-38.323378 -3.337617)'))) / (select extract(epoch from '2026-07-03 08:35:17'::timestamp) - extract(epoch from '2026-07-03 08:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323345 -3.337679)'), GeomFromEWKT('SRID=4674;POINT (-38.323378 -3.337617)'))) / (select extract(epoch from '2026-07-03 08:35:17'::timestamp) - extract(epoch from '2026-07-03 08:35: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'), 47390, 'SRID=4674;POINT (-38.323387 -3.337578)', '2026-07-03 08:35:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323378 -3.337617)'), GeomFromEWKT('SRID=4674;POINT (-38.323387 -3.337578)'))) / (select extract(epoch from '2026-07-03 08:35:19'::timestamp) - extract(epoch from '2026-07-03 08:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323378 -3.337617)'), GeomFromEWKT('SRID=4674;POINT (-38.323387 -3.337578)'))) / (select extract(epoch from '2026-07-03 08:35:19'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.323417 -3.337486)', '2026-07-03 08:35:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323387 -3.337578)'), GeomFromEWKT('SRID=4674;POINT (-38.323417 -3.337486)'))) / (select extract(epoch from '2026-07-03 08:35:23'::timestamp) - extract(epoch from '2026-07-03 08:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323387 -3.337578)'), GeomFromEWKT('SRID=4674;POINT (-38.323417 -3.337486)'))) / (select extract(epoch from '2026-07-03 08:35:23'::timestamp) - extract(epoch from '2026-07-03 08:35: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'), 47390, 'SRID=4674;POINT (-38.32342 -3.337465)', '2026-07-03 08:35:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323417 -3.337486)'), GeomFromEWKT('SRID=4674;POINT (-38.32342 -3.337465)'))) / (select extract(epoch from '2026-07-03 08:35:24'::timestamp) - extract(epoch from '2026-07-03 08:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323417 -3.337486)'), GeomFromEWKT('SRID=4674;POINT (-38.32342 -3.337465)'))) / (select extract(epoch from '2026-07-03 08:35:24'::timestamp) - extract(epoch from '2026-07-03 08:35: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'), 47390, 'SRID=4674;POINT (-38.323454 -3.337333)', '2026-07-03 08:35:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.32342 -3.337465)'), GeomFromEWKT('SRID=4674;POINT (-38.323454 -3.337333)'))) / (select extract(epoch from '2026-07-03 08:35:30'::timestamp) - extract(epoch from '2026-07-03 08:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.32342 -3.337465)'), GeomFromEWKT('SRID=4674;POINT (-38.323454 -3.337333)'))) / (select extract(epoch from '2026-07-03 08:35:30'::timestamp) - extract(epoch from '2026-07-03 08:35: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'), 47390, 'SRID=4674;POINT (-38.323501 -3.337219)', '2026-07-03 08:35:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323454 -3.337333)'), GeomFromEWKT('SRID=4674;POINT (-38.323501 -3.337219)'))) / (select extract(epoch from '2026-07-03 08:35:35'::timestamp) - extract(epoch from '2026-07-03 08:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323454 -3.337333)'), GeomFromEWKT('SRID=4674;POINT (-38.323501 -3.337219)'))) / (select extract(epoch from '2026-07-03 08:35:35'::timestamp) - extract(epoch from '2026-07-03 08:35: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'), 47390, 'SRID=4674;POINT (-38.323551 -3.337064)', '2026-07-03 08:35:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323501 -3.337219)'), GeomFromEWKT('SRID=4674;POINT (-38.323551 -3.337064)'))) / (select extract(epoch from '2026-07-03 08:35:42'::timestamp) - extract(epoch from '2026-07-03 08:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323501 -3.337219)'), GeomFromEWKT('SRID=4674;POINT (-38.323551 -3.337064)'))) / (select extract(epoch from '2026-07-03 08:35:42'::timestamp) - extract(epoch from '2026-07-03 08:35: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'), 47390, 'SRID=4674;POINT (-38.323592 -3.336952)', '2026-07-03 08:35:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323551 -3.337064)'), GeomFromEWKT('SRID=4674;POINT (-38.323592 -3.336952)'))) / (select extract(epoch from '2026-07-03 08:35:47'::timestamp) - extract(epoch from '2026-07-03 08:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323551 -3.337064)'), GeomFromEWKT('SRID=4674;POINT (-38.323592 -3.336952)'))) / (select extract(epoch from '2026-07-03 08:35:47'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.323634 -3.336818)', '2026-07-03 08:35:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323592 -3.336952)'), GeomFromEWKT('SRID=4674;POINT (-38.323634 -3.336818)'))) / (select extract(epoch from '2026-07-03 08:35:53'::timestamp) - extract(epoch from '2026-07-03 08:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323592 -3.336952)'), GeomFromEWKT('SRID=4674;POINT (-38.323634 -3.336818)'))) / (select extract(epoch from '2026-07-03 08:35:53'::timestamp) - extract(epoch from '2026-07-03 08:35: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'), 47390, 'SRID=4674;POINT (-38.323667 -3.336687)', '2026-07-03 08:35:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323634 -3.336818)'), GeomFromEWKT('SRID=4674;POINT (-38.323667 -3.336687)'))) / (select extract(epoch from '2026-07-03 08:35:59'::timestamp) - extract(epoch from '2026-07-03 08:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323634 -3.336818)'), GeomFromEWKT('SRID=4674;POINT (-38.323667 -3.336687)'))) / (select extract(epoch from '2026-07-03 08:35:59'::timestamp) - extract(epoch from '2026-07-03 08:35: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'), 47390, 'SRID=4674;POINT (-38.323684 -3.336572)', '2026-07-03 08:36:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323667 -3.336687)'), GeomFromEWKT('SRID=4674;POINT (-38.323684 -3.336572)'))) / (select extract(epoch from '2026-07-03 08:36:04'::timestamp) - extract(epoch from '2026-07-03 08:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323667 -3.336687)'), GeomFromEWKT('SRID=4674;POINT (-38.323684 -3.336572)'))) / (select extract(epoch from '2026-07-03 08:36:04'::timestamp) - extract(epoch from '2026-07-03 08:35: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'), 47390, 'SRID=4674;POINT (-38.323719 -3.336415)', '2026-07-03 08:36:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323684 -3.336572)'), GeomFromEWKT('SRID=4674;POINT (-38.323719 -3.336415)'))) / (select extract(epoch from '2026-07-03 08:36:11'::timestamp) - extract(epoch from '2026-07-03 08:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323684 -3.336572)'), GeomFromEWKT('SRID=4674;POINT (-38.323719 -3.336415)'))) / (select extract(epoch from '2026-07-03 08:36:11'::timestamp) - extract(epoch from '2026-07-03 08:36: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'), 47390, 'SRID=4674;POINT (-38.323767 -3.336262)', '2026-07-03 08:36:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323719 -3.336415)'), GeomFromEWKT('SRID=4674;POINT (-38.323767 -3.336262)'))) / (select extract(epoch from '2026-07-03 08:36:18'::timestamp) - extract(epoch from '2026-07-03 08:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323719 -3.336415)'), GeomFromEWKT('SRID=4674;POINT (-38.323767 -3.336262)'))) / (select extract(epoch from '2026-07-03 08:36:18'::timestamp) - extract(epoch from '2026-07-03 08:36: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'), 47390, 'SRID=4674;POINT (-38.323818 -3.336154)', '2026-07-03 08:36:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323767 -3.336262)'), GeomFromEWKT('SRID=4674;POINT (-38.323818 -3.336154)'))) / (select extract(epoch from '2026-07-03 08:36:23'::timestamp) - extract(epoch from '2026-07-03 08:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323767 -3.336262)'), GeomFromEWKT('SRID=4674;POINT (-38.323818 -3.336154)'))) / (select extract(epoch from '2026-07-03 08:36:23'::timestamp) - extract(epoch from '2026-07-03 08:36: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'), 47390, 'SRID=4674;POINT (-38.323856 -3.336044)', '2026-07-03 08:36:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323818 -3.336154)'), GeomFromEWKT('SRID=4674;POINT (-38.323856 -3.336044)'))) / (select extract(epoch from '2026-07-03 08:36:28'::timestamp) - extract(epoch from '2026-07-03 08:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323818 -3.336154)'), GeomFromEWKT('SRID=4674;POINT (-38.323856 -3.336044)'))) / (select extract(epoch from '2026-07-03 08:36:28'::timestamp) - extract(epoch from '2026-07-03 08:36: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'), 47390, 'SRID=4674;POINT (-38.323895 -3.335931)', '2026-07-03 08:36:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323856 -3.336044)'), GeomFromEWKT('SRID=4674;POINT (-38.323895 -3.335931)'))) / (select extract(epoch from '2026-07-03 08:36:33'::timestamp) - extract(epoch from '2026-07-03 08:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323856 -3.336044)'), GeomFromEWKT('SRID=4674;POINT (-38.323895 -3.335931)'))) / (select extract(epoch from '2026-07-03 08:36:33'::timestamp) - extract(epoch from '2026-07-03 08:36: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'), 47390, 'SRID=4674;POINT (-38.323933 -3.335819)', '2026-07-03 08:36:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323895 -3.335931)'), GeomFromEWKT('SRID=4674;POINT (-38.323933 -3.335819)'))) / (select extract(epoch from '2026-07-03 08:36:38'::timestamp) - extract(epoch from '2026-07-03 08:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323895 -3.335931)'), GeomFromEWKT('SRID=4674;POINT (-38.323933 -3.335819)'))) / (select extract(epoch from '2026-07-03 08:36:38'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.32397 -3.335683)', '2026-07-03 08:36:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323933 -3.335819)'), GeomFromEWKT('SRID=4674;POINT (-38.32397 -3.335683)'))) / (select extract(epoch from '2026-07-03 08:36:44'::timestamp) - extract(epoch from '2026-07-03 08:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323933 -3.335819)'), GeomFromEWKT('SRID=4674;POINT (-38.32397 -3.335683)'))) / (select extract(epoch from '2026-07-03 08:36:44'::timestamp) - extract(epoch from '2026-07-03 08:36: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'), 47390, 'SRID=4674;POINT (-38.323991 -3.335624)', '2026-07-03 08:36:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.32397 -3.335683)'), GeomFromEWKT('SRID=4674;POINT (-38.323991 -3.335624)'))) / (select extract(epoch from '2026-07-03 08:36:47'::timestamp) - extract(epoch from '2026-07-03 08:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.32397 -3.335683)'), GeomFromEWKT('SRID=4674;POINT (-38.323991 -3.335624)'))) / (select extract(epoch from '2026-07-03 08:36:47'::timestamp) - extract(epoch from '2026-07-03 08:36: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'), 47390, 'SRID=4674;POINT (-38.324004 -3.335602)', '2026-07-03 08:36:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323991 -3.335624)'), GeomFromEWKT('SRID=4674;POINT (-38.324004 -3.335602)'))) / (select extract(epoch from '2026-07-03 08:36:48'::timestamp) - extract(epoch from '2026-07-03 08:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.323991 -3.335624)'), GeomFromEWKT('SRID=4674;POINT (-38.324004 -3.335602)'))) / (select extract(epoch from '2026-07-03 08:36:48'::timestamp) - extract(epoch from '2026-07-03 08:36: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'), 47390, 'SRID=4674;POINT (-38.324032 -3.335516)', '2026-07-03 08:36:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324004 -3.335602)'), GeomFromEWKT('SRID=4674;POINT (-38.324032 -3.335516)'))) / (select extract(epoch from '2026-07-03 08:36:52'::timestamp) - extract(epoch from '2026-07-03 08:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324004 -3.335602)'), GeomFromEWKT('SRID=4674;POINT (-38.324032 -3.335516)'))) / (select extract(epoch from '2026-07-03 08:36:52'::timestamp) - extract(epoch from '2026-07-03 08:36: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'), 47390, 'SRID=4674;POINT (-38.324078 -3.33541)', '2026-07-03 08:36:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324032 -3.335516)'), GeomFromEWKT('SRID=4674;POINT (-38.324078 -3.33541)'))) / (select extract(epoch from '2026-07-03 08:36:57'::timestamp) - extract(epoch from '2026-07-03 08:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324032 -3.335516)'), GeomFromEWKT('SRID=4674;POINT (-38.324078 -3.33541)'))) / (select extract(epoch from '2026-07-03 08:36:57'::timestamp) - extract(epoch from '2026-07-03 08:36: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'), 47390, 'SRID=4674;POINT (-38.32415 -3.33529)', '2026-07-03 08:37:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324078 -3.33541)'), GeomFromEWKT('SRID=4674;POINT (-38.32415 -3.33529)'))) / (select extract(epoch from '2026-07-03 08:37:03'::timestamp) - extract(epoch from '2026-07-03 08:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324078 -3.33541)'), GeomFromEWKT('SRID=4674;POINT (-38.32415 -3.33529)'))) / (select extract(epoch from '2026-07-03 08:37:03'::timestamp) - extract(epoch from '2026-07-03 08:36: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'), 47390, 'SRID=4674;POINT (-38.324164 -3.335268)', '2026-07-03 08:37:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.32415 -3.33529)'), GeomFromEWKT('SRID=4674;POINT (-38.324164 -3.335268)'))) / (select extract(epoch from '2026-07-03 08:37:04'::timestamp) - extract(epoch from '2026-07-03 08:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.32415 -3.33529)'), GeomFromEWKT('SRID=4674;POINT (-38.324164 -3.335268)'))) / (select extract(epoch from '2026-07-03 08:37:04'::timestamp) - extract(epoch from '2026-07-03 08:37: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'), 47390, 'SRID=4674;POINT (-38.324213 -3.335205)', '2026-07-03 08:37:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324164 -3.335268)'), GeomFromEWKT('SRID=4674;POINT (-38.324213 -3.335205)'))) / (select extract(epoch from '2026-07-03 08:37:07'::timestamp) - extract(epoch from '2026-07-03 08:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324164 -3.335268)'), GeomFromEWKT('SRID=4674;POINT (-38.324213 -3.335205)'))) / (select extract(epoch from '2026-07-03 08:37:07'::timestamp) - extract(epoch from '2026-07-03 08:37: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'), 47390, 'SRID=4674;POINT (-38.324284 -3.335083)', '2026-07-03 08:37:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324213 -3.335205)'), GeomFromEWKT('SRID=4674;POINT (-38.324284 -3.335083)'))) / (select extract(epoch from '2026-07-03 08:37:13'::timestamp) - extract(epoch from '2026-07-03 08:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324213 -3.335205)'), GeomFromEWKT('SRID=4674;POINT (-38.324284 -3.335083)'))) / (select extract(epoch from '2026-07-03 08:37:13'::timestamp) - extract(epoch from '2026-07-03 08:37: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'), 47390, 'SRID=4674;POINT (-38.324326 -3.334999)', '2026-07-03 08:37:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324284 -3.335083)'), GeomFromEWKT('SRID=4674;POINT (-38.324326 -3.334999)'))) / (select extract(epoch from '2026-07-03 08:37:17'::timestamp) - extract(epoch from '2026-07-03 08:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324284 -3.335083)'), GeomFromEWKT('SRID=4674;POINT (-38.324326 -3.334999)'))) / (select extract(epoch from '2026-07-03 08:37:17'::timestamp) - extract(epoch from '2026-07-03 08:37: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'), 47390, 'SRID=4674;POINT (-38.324369 -3.334895)', '2026-07-03 08:37:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324326 -3.334999)'), GeomFromEWKT('SRID=4674;POINT (-38.324369 -3.334895)'))) / (select extract(epoch from '2026-07-03 08:37:22'::timestamp) - extract(epoch from '2026-07-03 08:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324326 -3.334999)'), GeomFromEWKT('SRID=4674;POINT (-38.324369 -3.334895)'))) / (select extract(epoch from '2026-07-03 08:37:22'::timestamp) - extract(epoch from '2026-07-03 08:37: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'), 47390, 'SRID=4674;POINT (-38.324421 -3.334791)', '2026-07-03 08:37:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324369 -3.334895)'), GeomFromEWKT('SRID=4674;POINT (-38.324421 -3.334791)'))) / (select extract(epoch from '2026-07-03 08:37:27'::timestamp) - extract(epoch from '2026-07-03 08:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324369 -3.334895)'), GeomFromEWKT('SRID=4674;POINT (-38.324421 -3.334791)'))) / (select extract(epoch from '2026-07-03 08:37:27'::timestamp) - extract(epoch from '2026-07-03 08:37: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'), 47390, 'SRID=4674;POINT (-38.324471 -3.334663)', '2026-07-03 08:37:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324421 -3.334791)'), GeomFromEWKT('SRID=4674;POINT (-38.324471 -3.334663)'))) / (select extract(epoch from '2026-07-03 08:37:33'::timestamp) - extract(epoch from '2026-07-03 08:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324421 -3.334791)'), GeomFromEWKT('SRID=4674;POINT (-38.324471 -3.334663)'))) / (select extract(epoch from '2026-07-03 08:37:33'::timestamp) - extract(epoch from '2026-07-03 08:37: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'), 47390, 'SRID=4674;POINT (-38.324551 -3.334533)', '2026-07-03 08:37:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324471 -3.334663)'), GeomFromEWKT('SRID=4674;POINT (-38.324551 -3.334533)'))) / (select extract(epoch from '2026-07-03 08:37:39'::timestamp) - extract(epoch from '2026-07-03 08:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324471 -3.334663)'), GeomFromEWKT('SRID=4674;POINT (-38.324551 -3.334533)'))) / (select extract(epoch from '2026-07-03 08:37:39'::timestamp) - extract(epoch from '2026-07-03 08:37: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'), 47390, 'SRID=4674;POINT (-38.32461 -3.334408)', '2026-07-03 08:37:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324551 -3.334533)'), GeomFromEWKT('SRID=4674;POINT (-38.32461 -3.334408)'))) / (select extract(epoch from '2026-07-03 08:37:45'::timestamp) - extract(epoch from '2026-07-03 08:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324551 -3.334533)'), GeomFromEWKT('SRID=4674;POINT (-38.32461 -3.334408)'))) / (select extract(epoch from '2026-07-03 08:37:45'::timestamp) - extract(epoch from '2026-07-03 08:37: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'), 47390, 'SRID=4674;POINT (-38.324682 -3.334307)', '2026-07-03 08:37:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.32461 -3.334408)'), GeomFromEWKT('SRID=4674;POINT (-38.324682 -3.334307)'))) / (select extract(epoch from '2026-07-03 08:37:50'::timestamp) - extract(epoch from '2026-07-03 08:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.32461 -3.334408)'), GeomFromEWKT('SRID=4674;POINT (-38.324682 -3.334307)'))) / (select extract(epoch from '2026-07-03 08:37:50'::timestamp) - extract(epoch from '2026-07-03 08:37: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'), 47390, 'SRID=4674;POINT (-38.324756 -3.334189)', '2026-07-03 08:37:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324682 -3.334307)'), GeomFromEWKT('SRID=4674;POINT (-38.324756 -3.334189)'))) / (select extract(epoch from '2026-07-03 08:37:56'::timestamp) - extract(epoch from '2026-07-03 08:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324682 -3.334307)'), GeomFromEWKT('SRID=4674;POINT (-38.324756 -3.334189)'))) / (select extract(epoch from '2026-07-03 08:37:56'::timestamp) - extract(epoch from '2026-07-03 08:37: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'), 47390, 'SRID=4674;POINT (-38.324825 -3.334082)', '2026-07-03 08:38:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324756 -3.334189)'), GeomFromEWKT('SRID=4674;POINT (-38.324825 -3.334082)'))) / (select extract(epoch from '2026-07-03 08:38:01'::timestamp) - extract(epoch from '2026-07-03 08:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324756 -3.334189)'), GeomFromEWKT('SRID=4674;POINT (-38.324825 -3.334082)'))) / (select extract(epoch from '2026-07-03 08:38:01'::timestamp) - extract(epoch from '2026-07-03 08:37: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'), 47390, 'SRID=4674;POINT (-38.324868 -3.333977)', '2026-07-03 08:38:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324825 -3.334082)'), GeomFromEWKT('SRID=4674;POINT (-38.324868 -3.333977)'))) / (select extract(epoch from '2026-07-03 08:38:06'::timestamp) - extract(epoch from '2026-07-03 08:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324825 -3.334082)'), GeomFromEWKT('SRID=4674;POINT (-38.324868 -3.333977)'))) / (select extract(epoch from '2026-07-03 08:38:06'::timestamp) - extract(epoch from '2026-07-03 08:38: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'), 47390, 'SRID=4674;POINT (-38.324934 -3.333853)', '2026-07-03 08:38:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324868 -3.333977)'), GeomFromEWKT('SRID=4674;POINT (-38.324934 -3.333853)'))) / (select extract(epoch from '2026-07-03 08:38:12'::timestamp) - extract(epoch from '2026-07-03 08:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324868 -3.333977)'), GeomFromEWKT('SRID=4674;POINT (-38.324934 -3.333853)'))) / (select extract(epoch from '2026-07-03 08:38:12'::timestamp) - extract(epoch from '2026-07-03 08:38: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'), 47390, 'SRID=4674;POINT (-38.324989 -3.333738)', '2026-07-03 08:38:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324934 -3.333853)'), GeomFromEWKT('SRID=4674;POINT (-38.324989 -3.333738)'))) / (select extract(epoch from '2026-07-03 08:38:18'::timestamp) - extract(epoch from '2026-07-03 08:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324934 -3.333853)'), GeomFromEWKT('SRID=4674;POINT (-38.324989 -3.333738)'))) / (select extract(epoch from '2026-07-03 08:38:18'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.325051 -3.333608)', '2026-07-03 08:38:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324989 -3.333738)'), GeomFromEWKT('SRID=4674;POINT (-38.325051 -3.333608)'))) / (select extract(epoch from '2026-07-03 08:38:24'::timestamp) - extract(epoch from '2026-07-03 08:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.324989 -3.333738)'), GeomFromEWKT('SRID=4674;POINT (-38.325051 -3.333608)'))) / (select extract(epoch from '2026-07-03 08:38:24'::timestamp) - extract(epoch from '2026-07-03 08:38: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'), 47390, 'SRID=4674;POINT (-38.325091 -3.333499)', '2026-07-03 08:38:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325051 -3.333608)'), GeomFromEWKT('SRID=4674;POINT (-38.325091 -3.333499)'))) / (select extract(epoch from '2026-07-03 08:38:29'::timestamp) - extract(epoch from '2026-07-03 08:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325051 -3.333608)'), GeomFromEWKT('SRID=4674;POINT (-38.325091 -3.333499)'))) / (select extract(epoch from '2026-07-03 08:38:29'::timestamp) - extract(epoch from '2026-07-03 08:38: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'), 47390, 'SRID=4674;POINT (-38.325129 -3.333394)', '2026-07-03 08:38:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325091 -3.333499)'), GeomFromEWKT('SRID=4674;POINT (-38.325129 -3.333394)'))) / (select extract(epoch from '2026-07-03 08:38:34'::timestamp) - extract(epoch from '2026-07-03 08:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325091 -3.333499)'), GeomFromEWKT('SRID=4674;POINT (-38.325129 -3.333394)'))) / (select extract(epoch from '2026-07-03 08:38:34'::timestamp) - extract(epoch from '2026-07-03 08:38: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'), 47390, 'SRID=4674;POINT (-38.325151 -3.333311)', '2026-07-03 08:38:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325129 -3.333394)'), GeomFromEWKT('SRID=4674;POINT (-38.325151 -3.333311)'))) / (select extract(epoch from '2026-07-03 08:38:38'::timestamp) - extract(epoch from '2026-07-03 08:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325129 -3.333394)'), GeomFromEWKT('SRID=4674;POINT (-38.325151 -3.333311)'))) / (select extract(epoch from '2026-07-03 08:38:38'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.325192 -3.333209)', '2026-07-03 08:38:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325151 -3.333311)'), GeomFromEWKT('SRID=4674;POINT (-38.325192 -3.333209)'))) / (select extract(epoch from '2026-07-03 08:38:43'::timestamp) - extract(epoch from '2026-07-03 08:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325151 -3.333311)'), GeomFromEWKT('SRID=4674;POINT (-38.325192 -3.333209)'))) / (select extract(epoch from '2026-07-03 08:38:43'::timestamp) - extract(epoch from '2026-07-03 08:38: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'), 47390, 'SRID=4674;POINT (-38.325229 -3.333111)', '2026-07-03 08:38:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325192 -3.333209)'), GeomFromEWKT('SRID=4674;POINT (-38.325229 -3.333111)'))) / (select extract(epoch from '2026-07-03 08:38:48'::timestamp) - extract(epoch from '2026-07-03 08:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325192 -3.333209)'), GeomFromEWKT('SRID=4674;POINT (-38.325229 -3.333111)'))) / (select extract(epoch from '2026-07-03 08:38:48'::timestamp) - extract(epoch from '2026-07-03 08:38: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'), 47390, 'SRID=4674;POINT (-38.325274 -3.333009)', '2026-07-03 08:38:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325229 -3.333111)'), GeomFromEWKT('SRID=4674;POINT (-38.325274 -3.333009)'))) / (select extract(epoch from '2026-07-03 08:38:53'::timestamp) - extract(epoch from '2026-07-03 08:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325229 -3.333111)'), GeomFromEWKT('SRID=4674;POINT (-38.325274 -3.333009)'))) / (select extract(epoch from '2026-07-03 08:38:53'::timestamp) - extract(epoch from '2026-07-03 08:38: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'), 47390, 'SRID=4674;POINT (-38.325296 -3.332927)', '2026-07-03 08:38:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325274 -3.333009)'), GeomFromEWKT('SRID=4674;POINT (-38.325296 -3.332927)'))) / (select extract(epoch from '2026-07-03 08:38:57'::timestamp) - extract(epoch from '2026-07-03 08:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325274 -3.333009)'), GeomFromEWKT('SRID=4674;POINT (-38.325296 -3.332927)'))) / (select extract(epoch from '2026-07-03 08:38:57'::timestamp) - extract(epoch from '2026-07-03 08:38: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'), 47390, 'SRID=4674;POINT (-38.32531 -3.332907)', '2026-07-03 08:38:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325296 -3.332927)'), GeomFromEWKT('SRID=4674;POINT (-38.32531 -3.332907)'))) / (select extract(epoch from '2026-07-03 08:38:58'::timestamp) - extract(epoch from '2026-07-03 08:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325296 -3.332927)'), GeomFromEWKT('SRID=4674;POINT (-38.32531 -3.332907)'))) / (select extract(epoch from '2026-07-03 08:38:58'::timestamp) - extract(epoch from '2026-07-03 08:38: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'), 47390, 'SRID=4674;POINT (-38.325348 -3.332824)', '2026-07-03 08:39:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.32531 -3.332907)'), GeomFromEWKT('SRID=4674;POINT (-38.325348 -3.332824)'))) / (select extract(epoch from '2026-07-03 08:39:02'::timestamp) - extract(epoch from '2026-07-03 08:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.32531 -3.332907)'), GeomFromEWKT('SRID=4674;POINT (-38.325348 -3.332824)'))) / (select extract(epoch from '2026-07-03 08:39:02'::timestamp) - extract(epoch from '2026-07-03 08:38: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'), 47390, 'SRID=4674;POINT (-38.325363 -3.332768)', '2026-07-03 08:39:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325348 -3.332824)'), GeomFromEWKT('SRID=4674;POINT (-38.325363 -3.332768)'))) / (select extract(epoch from '2026-07-03 08:39:05'::timestamp) - extract(epoch from '2026-07-03 08:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325348 -3.332824)'), GeomFromEWKT('SRID=4674;POINT (-38.325363 -3.332768)'))) / (select extract(epoch from '2026-07-03 08:39:05'::timestamp) - extract(epoch from '2026-07-03 08:39: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'), 47390, 'SRID=4674;POINT (-38.325376 -3.332746)', '2026-07-03 08:39:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325363 -3.332768)'), GeomFromEWKT('SRID=4674;POINT (-38.325376 -3.332746)'))) / (select extract(epoch from '2026-07-03 08:39:06'::timestamp) - extract(epoch from '2026-07-03 08:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325363 -3.332768)'), GeomFromEWKT('SRID=4674;POINT (-38.325376 -3.332746)'))) / (select extract(epoch from '2026-07-03 08:39:06'::timestamp) - extract(epoch from '2026-07-03 08:39: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'), 47390, 'SRID=4674;POINT (-38.325421 -3.332646)', '2026-07-03 08:39:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325376 -3.332746)'), GeomFromEWKT('SRID=4674;POINT (-38.325421 -3.332646)'))) / (select extract(epoch from '2026-07-03 08:39:11'::timestamp) - extract(epoch from '2026-07-03 08:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325376 -3.332746)'), GeomFromEWKT('SRID=4674;POINT (-38.325421 -3.332646)'))) / (select extract(epoch from '2026-07-03 08:39:11'::timestamp) - extract(epoch from '2026-07-03 08:39: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'), 47390, 'SRID=4674;POINT (-38.32548 -3.332526)', '2026-07-03 08:39:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325421 -3.332646)'), GeomFromEWKT('SRID=4674;POINT (-38.32548 -3.332526)'))) / (select extract(epoch from '2026-07-03 08:39:17'::timestamp) - extract(epoch from '2026-07-03 08:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325421 -3.332646)'), GeomFromEWKT('SRID=4674;POINT (-38.32548 -3.332526)'))) / (select extract(epoch from '2026-07-03 08:39:17'::timestamp) - extract(epoch from '2026-07-03 08:39: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'), 47390, 'SRID=4674;POINT (-38.325506 -3.33249)', '2026-07-03 08:39:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.32548 -3.332526)'), GeomFromEWKT('SRID=4674;POINT (-38.325506 -3.33249)'))) / (select extract(epoch from '2026-07-03 08:39:19'::timestamp) - extract(epoch from '2026-07-03 08:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.32548 -3.332526)'), GeomFromEWKT('SRID=4674;POINT (-38.325506 -3.33249)'))) / (select extract(epoch from '2026-07-03 08:39:19'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.325537 -3.332426)', '2026-07-03 08:39:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325506 -3.33249)'), GeomFromEWKT('SRID=4674;POINT (-38.325537 -3.332426)'))) / (select extract(epoch from '2026-07-03 08:39:22'::timestamp) - extract(epoch from '2026-07-03 08:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325506 -3.33249)'), GeomFromEWKT('SRID=4674;POINT (-38.325537 -3.332426)'))) / (select extract(epoch from '2026-07-03 08:39:22'::timestamp) - extract(epoch from '2026-07-03 08:39: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'), 47390, 'SRID=4674;POINT (-38.325572 -3.332341)', '2026-07-03 08:39:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325537 -3.332426)'), GeomFromEWKT('SRID=4674;POINT (-38.325572 -3.332341)'))) / (select extract(epoch from '2026-07-03 08:39:26'::timestamp) - extract(epoch from '2026-07-03 08:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325537 -3.332426)'), GeomFromEWKT('SRID=4674;POINT (-38.325572 -3.332341)'))) / (select extract(epoch from '2026-07-03 08:39:26'::timestamp) - extract(epoch from '2026-07-03 08:39: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'), 47390, 'SRID=4674;POINT (-38.325624 -3.332242)', '2026-07-03 08:39:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325572 -3.332341)'), GeomFromEWKT('SRID=4674;POINT (-38.325624 -3.332242)'))) / (select extract(epoch from '2026-07-03 08:39:31'::timestamp) - extract(epoch from '2026-07-03 08:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325572 -3.332341)'), GeomFromEWKT('SRID=4674;POINT (-38.325624 -3.332242)'))) / (select extract(epoch from '2026-07-03 08:39:31'::timestamp) - extract(epoch from '2026-07-03 08:39: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'), 47390, 'SRID=4674;POINT (-38.325662 -3.332148)', '2026-07-03 08:39:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325624 -3.332242)'), GeomFromEWKT('SRID=4674;POINT (-38.325662 -3.332148)'))) / (select extract(epoch from '2026-07-03 08:39:36'::timestamp) - extract(epoch from '2026-07-03 08:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325624 -3.332242)'), GeomFromEWKT('SRID=4674;POINT (-38.325662 -3.332148)'))) / (select extract(epoch from '2026-07-03 08:39:36'::timestamp) - extract(epoch from '2026-07-03 08:39: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'), 47390, 'SRID=4674;POINT (-38.325671 -3.332125)', '2026-07-03 08:39:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325662 -3.332148)'), GeomFromEWKT('SRID=4674;POINT (-38.325671 -3.332125)'))) / (select extract(epoch from '2026-07-03 08:39:37'::timestamp) - extract(epoch from '2026-07-03 08:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325662 -3.332148)'), GeomFromEWKT('SRID=4674;POINT (-38.325671 -3.332125)'))) / (select extract(epoch from '2026-07-03 08:39:37'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.325712 -3.332069)', '2026-07-03 08:39:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325671 -3.332125)'), GeomFromEWKT('SRID=4674;POINT (-38.325712 -3.332069)'))) / (select extract(epoch from '2026-07-03 08:39:40'::timestamp) - extract(epoch from '2026-07-03 08:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325671 -3.332125)'), GeomFromEWKT('SRID=4674;POINT (-38.325712 -3.332069)'))) / (select extract(epoch from '2026-07-03 08:39:40'::timestamp) - extract(epoch from '2026-07-03 08:39: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'), 47390, 'SRID=4674;POINT (-38.325768 -3.331969)', '2026-07-03 08:39:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325712 -3.332069)'), GeomFromEWKT('SRID=4674;POINT (-38.325768 -3.331969)'))) / (select extract(epoch from '2026-07-03 08:39:45'::timestamp) - extract(epoch from '2026-07-03 08:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325712 -3.332069)'), GeomFromEWKT('SRID=4674;POINT (-38.325768 -3.331969)'))) / (select extract(epoch from '2026-07-03 08:39:45'::timestamp) - extract(epoch from '2026-07-03 08:39: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'), 47390, 'SRID=4674;POINT (-38.325831 -3.331873)', '2026-07-03 08:39:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325768 -3.331969)'), GeomFromEWKT('SRID=4674;POINT (-38.325831 -3.331873)'))) / (select extract(epoch from '2026-07-03 08:39:50'::timestamp) - extract(epoch from '2026-07-03 08:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325768 -3.331969)'), GeomFromEWKT('SRID=4674;POINT (-38.325831 -3.331873)'))) / (select extract(epoch from '2026-07-03 08:39:50'::timestamp) - extract(epoch from '2026-07-03 08:39: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'), 47390, 'SRID=4674;POINT (-38.325869 -3.331815)', '2026-07-03 08:39:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325831 -3.331873)'), GeomFromEWKT('SRID=4674;POINT (-38.325869 -3.331815)'))) / (select extract(epoch from '2026-07-03 08:39:53'::timestamp) - extract(epoch from '2026-07-03 08:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325831 -3.331873)'), GeomFromEWKT('SRID=4674;POINT (-38.325869 -3.331815)'))) / (select extract(epoch from '2026-07-03 08:39:53'::timestamp) - extract(epoch from '2026-07-03 08:39: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'), 47390, 'SRID=4674;POINT (-38.325885 -3.331774)', '2026-07-03 08:39:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325869 -3.331815)'), GeomFromEWKT('SRID=4674;POINT (-38.325885 -3.331774)'))) / (select extract(epoch from '2026-07-03 08:39:55'::timestamp) - extract(epoch from '2026-07-03 08:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325869 -3.331815)'), GeomFromEWKT('SRID=4674;POINT (-38.325885 -3.331774)'))) / (select extract(epoch from '2026-07-03 08:39:55'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.325907 -3.331734)', '2026-07-03 08:39:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325885 -3.331774)'), GeomFromEWKT('SRID=4674;POINT (-38.325907 -3.331734)'))) / (select extract(epoch from '2026-07-03 08:39:57'::timestamp) - extract(epoch from '2026-07-03 08:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325885 -3.331774)'), GeomFromEWKT('SRID=4674;POINT (-38.325907 -3.331734)'))) / (select extract(epoch from '2026-07-03 08:39:57'::timestamp) - extract(epoch from '2026-07-03 08:39:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.325947 -3.331676)', '2026-07-03 08:40:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325907 -3.331734)'), GeomFromEWKT('SRID=4674;POINT (-38.325947 -3.331676)'))) / (select extract(epoch from '2026-07-03 08:40:00'::timestamp) - extract(epoch from '2026-07-03 08:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325907 -3.331734)'), GeomFromEWKT('SRID=4674;POINT (-38.325947 -3.331676)'))) / (select extract(epoch from '2026-07-03 08:40:00'::timestamp) - extract(epoch from '2026-07-03 08:39: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'), 47390, 'SRID=4674;POINT (-38.325984 -3.331571)', '2026-07-03 08:40:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325947 -3.331676)'), GeomFromEWKT('SRID=4674;POINT (-38.325984 -3.331571)'))) / (select extract(epoch from '2026-07-03 08:40:05'::timestamp) - extract(epoch from '2026-07-03 08:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325947 -3.331676)'), GeomFromEWKT('SRID=4674;POINT (-38.325984 -3.331571)'))) / (select extract(epoch from '2026-07-03 08:40:05'::timestamp) - extract(epoch from '2026-07-03 08:40: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'), 47390, 'SRID=4674;POINT (-38.326028 -3.331464)', '2026-07-03 08:40:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325984 -3.331571)'), GeomFromEWKT('SRID=4674;POINT (-38.326028 -3.331464)'))) / (select extract(epoch from '2026-07-03 08:40:10'::timestamp) - extract(epoch from '2026-07-03 08:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.325984 -3.331571)'), GeomFromEWKT('SRID=4674;POINT (-38.326028 -3.331464)'))) / (select extract(epoch from '2026-07-03 08:40:10'::timestamp) - extract(epoch from '2026-07-03 08: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'), 47390, 'SRID=4674;POINT (-38.326061 -3.331359)', '2026-07-03 08:40:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.326028 -3.331464)'), GeomFromEWKT('SRID=4674;POINT (-38.326061 -3.331359)'))) / (select extract(epoch from '2026-07-03 08:40:15'::timestamp) - extract(epoch from '2026-07-03 08:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.326028 -3.331464)'), GeomFromEWKT('SRID=4674;POINT (-38.326061 -3.331359)'))) / (select extract(epoch from '2026-07-03 08:40:15'::timestamp) - extract(epoch from '2026-07-03 08:40: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'), 47390, 'SRID=4674;POINT (-38.326098 -3.331251)', '2026-07-03 08:40:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.326061 -3.331359)'), GeomFromEWKT('SRID=4674;POINT (-38.326098 -3.331251)'))) / (select extract(epoch from '2026-07-03 08:40:20'::timestamp) - extract(epoch from '2026-07-03 08:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.326061 -3.331359)'), GeomFromEWKT('SRID=4674;POINT (-38.326098 -3.331251)'))) / (select extract(epoch from '2026-07-03 08:40:20'::timestamp) - extract(epoch from '2026-07-03 08:40: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'), 47390, 'SRID=4674;POINT (-38.326146 -3.331105)', '2026-07-03 08:40:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.326098 -3.331251)'), GeomFromEWKT('SRID=4674;POINT (-38.326146 -3.331105)'))) / (select extract(epoch from '2026-07-03 08:40:27'::timestamp) - extract(epoch from '2026-07-03 08:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.326098 -3.331251)'), GeomFromEWKT('SRID=4674;POINT (-38.326146 -3.331105)'))) / (select extract(epoch from '2026-07-03 08:40:27'::timestamp) - extract(epoch from '2026-07-03 08:40:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
