 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.477179 -3.675626)', '2026-07-06 19:55:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47714 -3.675502)'), GeomFromEWKT('SRID=4674;POINT (-38.477179 -3.675626)'))) / (select extract(epoch from '2026-07-06 19:55:21'::timestamp) - extract(epoch from '2026-07-06 19:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47714 -3.675502)'), GeomFromEWKT('SRID=4674;POINT (-38.477179 -3.675626)'))) / (select extract(epoch from '2026-07-06 19:55:21'::timestamp) - extract(epoch from '2026-07-06 19:55: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.477223 -3.675763)', '2026-07-06 19:55:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477179 -3.675626)'), GeomFromEWKT('SRID=4674;POINT (-38.477223 -3.675763)'))) / (select extract(epoch from '2026-07-06 19:55:28'::timestamp) - extract(epoch from '2026-07-06 19:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477179 -3.675626)'), GeomFromEWKT('SRID=4674;POINT (-38.477223 -3.675763)'))) / (select extract(epoch from '2026-07-06 19:55:28'::timestamp) - extract(epoch from '2026-07-06 19:55:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.477245 -3.67589)', '2026-07-06 19:55:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477223 -3.675763)'), GeomFromEWKT('SRID=4674;POINT (-38.477245 -3.67589)'))) / (select extract(epoch from '2026-07-06 19:55:34'::timestamp) - extract(epoch from '2026-07-06 19:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477223 -3.675763)'), GeomFromEWKT('SRID=4674;POINT (-38.477245 -3.67589)'))) / (select extract(epoch from '2026-07-06 19:55:34'::timestamp) - extract(epoch from '2026-07-06 19:55:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.477291 -3.676009)', '2026-07-06 19:55:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477245 -3.67589)'), GeomFromEWKT('SRID=4674;POINT (-38.477291 -3.676009)'))) / (select extract(epoch from '2026-07-06 19:55:40'::timestamp) - extract(epoch from '2026-07-06 19:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477245 -3.67589)'), GeomFromEWKT('SRID=4674;POINT (-38.477291 -3.676009)'))) / (select extract(epoch from '2026-07-06 19:55:40'::timestamp) - extract(epoch from '2026-07-06 19:55:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.477322 -3.676114)', '2026-07-06 19:55:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477291 -3.676009)'), GeomFromEWKT('SRID=4674;POINT (-38.477322 -3.676114)'))) / (select extract(epoch from '2026-07-06 19:55:45'::timestamp) - extract(epoch from '2026-07-06 19:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477291 -3.676009)'), GeomFromEWKT('SRID=4674;POINT (-38.477322 -3.676114)'))) / (select extract(epoch from '2026-07-06 19:55:45'::timestamp) - extract(epoch from '2026-07-06 19:55:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.477369 -3.676244)', '2026-07-06 19:55:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477322 -3.676114)'), GeomFromEWKT('SRID=4674;POINT (-38.477369 -3.676244)'))) / (select extract(epoch from '2026-07-06 19:55:52'::timestamp) - extract(epoch from '2026-07-06 19:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477322 -3.676114)'), GeomFromEWKT('SRID=4674;POINT (-38.477369 -3.676244)'))) / (select extract(epoch from '2026-07-06 19:55:52'::timestamp) - extract(epoch from '2026-07-06 19:55: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.477436 -3.676414)', '2026-07-06 19:56:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477369 -3.676244)'), GeomFromEWKT('SRID=4674;POINT (-38.477436 -3.676414)'))) / (select extract(epoch from '2026-07-06 19:56:01'::timestamp) - extract(epoch from '2026-07-06 19:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477369 -3.676244)'), GeomFromEWKT('SRID=4674;POINT (-38.477436 -3.676414)'))) / (select extract(epoch from '2026-07-06 19:56:01'::timestamp) - extract(epoch from '2026-07-06 19:55:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.477466 -3.676526)', '2026-07-06 19:56:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477436 -3.676414)'), GeomFromEWKT('SRID=4674;POINT (-38.477466 -3.676526)'))) / (select extract(epoch from '2026-07-06 19:56:07'::timestamp) - extract(epoch from '2026-07-06 19:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477436 -3.676414)'), GeomFromEWKT('SRID=4674;POINT (-38.477466 -3.676526)'))) / (select extract(epoch from '2026-07-06 19:56:07'::timestamp) - extract(epoch from '2026-07-06 19:56: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.477503 -3.676658)', '2026-07-06 19:56:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477466 -3.676526)'), GeomFromEWKT('SRID=4674;POINT (-38.477503 -3.676658)'))) / (select extract(epoch from '2026-07-06 19:56:14'::timestamp) - extract(epoch from '2026-07-06 19:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477466 -3.676526)'), GeomFromEWKT('SRID=4674;POINT (-38.477503 -3.676658)'))) / (select extract(epoch from '2026-07-06 19:56:14'::timestamp) - extract(epoch from '2026-07-06 19:56: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.477551 -3.676792)', '2026-07-06 19:56:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477503 -3.676658)'), GeomFromEWKT('SRID=4674;POINT (-38.477551 -3.676792)'))) / (select extract(epoch from '2026-07-06 19:56:21'::timestamp) - extract(epoch from '2026-07-06 19:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477503 -3.676658)'), GeomFromEWKT('SRID=4674;POINT (-38.477551 -3.676792)'))) / (select extract(epoch from '2026-07-06 19:56:21'::timestamp) - extract(epoch from '2026-07-06 19:56: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.4776 -3.676922)', '2026-07-06 19:56:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477551 -3.676792)'), GeomFromEWKT('SRID=4674;POINT (-38.4776 -3.676922)'))) / (select extract(epoch from '2026-07-06 19:56:28'::timestamp) - extract(epoch from '2026-07-06 19:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477551 -3.676792)'), GeomFromEWKT('SRID=4674;POINT (-38.4776 -3.676922)'))) / (select extract(epoch from '2026-07-06 19:56:28'::timestamp) - extract(epoch from '2026-07-06 19:56: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.477636 -3.677055)', '2026-07-06 19:56:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4776 -3.676922)'), GeomFromEWKT('SRID=4674;POINT (-38.477636 -3.677055)'))) / (select extract(epoch from '2026-07-06 19:56:35'::timestamp) - extract(epoch from '2026-07-06 19:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4776 -3.676922)'), GeomFromEWKT('SRID=4674;POINT (-38.477636 -3.677055)'))) / (select extract(epoch from '2026-07-06 19:56:35'::timestamp) - extract(epoch from '2026-07-06 19:56: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.477683 -3.677236)', '2026-07-06 19:56:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477636 -3.677055)'), GeomFromEWKT('SRID=4674;POINT (-38.477683 -3.677236)'))) / (select extract(epoch from '2026-07-06 19:56:44'::timestamp) - extract(epoch from '2026-07-06 19:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477636 -3.677055)'), GeomFromEWKT('SRID=4674;POINT (-38.477683 -3.677236)'))) / (select extract(epoch from '2026-07-06 19:56:44'::timestamp) - extract(epoch from '2026-07-06 19:56: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.477714 -3.677329)', '2026-07-06 19:56:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477683 -3.677236)'), GeomFromEWKT('SRID=4674;POINT (-38.477714 -3.677329)'))) / (select extract(epoch from '2026-07-06 19:56:49'::timestamp) - extract(epoch from '2026-07-06 19:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477683 -3.677236)'), GeomFromEWKT('SRID=4674;POINT (-38.477714 -3.677329)'))) / (select extract(epoch from '2026-07-06 19:56:49'::timestamp) - extract(epoch from '2026-07-06 19:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.477754 -3.677449)', '2026-07-06 19:56:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477714 -3.677329)'), GeomFromEWKT('SRID=4674;POINT (-38.477754 -3.677449)'))) / (select extract(epoch from '2026-07-06 19:56:55'::timestamp) - extract(epoch from '2026-07-06 19:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477714 -3.677329)'), GeomFromEWKT('SRID=4674;POINT (-38.477754 -3.677449)'))) / (select extract(epoch from '2026-07-06 19:56:55'::timestamp) - extract(epoch from '2026-07-06 19:56:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.477796 -3.677575)', '2026-07-06 19:57:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477754 -3.677449)'), GeomFromEWKT('SRID=4674;POINT (-38.477796 -3.677575)'))) / (select extract(epoch from '2026-07-06 19:57:02'::timestamp) - extract(epoch from '2026-07-06 19:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477754 -3.677449)'), GeomFromEWKT('SRID=4674;POINT (-38.477796 -3.677575)'))) / (select extract(epoch from '2026-07-06 19:57:02'::timestamp) - extract(epoch from '2026-07-06 19:56: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.477796 -3.677609)', '2026-07-06 19:57:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477796 -3.677575)'), GeomFromEWKT('SRID=4674;POINT (-38.477796 -3.677609)'))) / (select extract(epoch from '2026-07-06 19:57:04'::timestamp) - extract(epoch from '2026-07-06 19:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477796 -3.677575)'), GeomFromEWKT('SRID=4674;POINT (-38.477796 -3.677609)'))) / (select extract(epoch from '2026-07-06 19:57:04'::timestamp) - extract(epoch from '2026-07-06 19:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.477833 -3.677668)', '2026-07-06 19:57:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477796 -3.677609)'), GeomFromEWKT('SRID=4674;POINT (-38.477833 -3.677668)'))) / (select extract(epoch from '2026-07-06 19:57:07'::timestamp) - extract(epoch from '2026-07-06 19:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477796 -3.677609)'), GeomFromEWKT('SRID=4674;POINT (-38.477833 -3.677668)'))) / (select extract(epoch from '2026-07-06 19:57:07'::timestamp) - extract(epoch from '2026-07-06 19:57: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.477842 -3.67774)', '2026-07-06 19:57:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477833 -3.677668)'), GeomFromEWKT('SRID=4674;POINT (-38.477842 -3.67774)'))) / (select extract(epoch from '2026-07-06 19:57:11'::timestamp) - extract(epoch from '2026-07-06 19:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477833 -3.677668)'), GeomFromEWKT('SRID=4674;POINT (-38.477842 -3.67774)'))) / (select extract(epoch from '2026-07-06 19:57:11'::timestamp) - extract(epoch from '2026-07-06 19:57: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.477843 -3.677775)', '2026-07-06 19:57:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477842 -3.67774)'), GeomFromEWKT('SRID=4674;POINT (-38.477843 -3.677775)'))) / (select extract(epoch from '2026-07-06 19:57:13'::timestamp) - extract(epoch from '2026-07-06 19:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477842 -3.67774)'), GeomFromEWKT('SRID=4674;POINT (-38.477843 -3.677775)'))) / (select extract(epoch from '2026-07-06 19:57:13'::timestamp) - extract(epoch from '2026-07-06 19:57: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.477849 -3.677881)', '2026-07-06 19:57:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477843 -3.677775)'), GeomFromEWKT('SRID=4674;POINT (-38.477849 -3.677881)'))) / (select extract(epoch from '2026-07-06 19:57:19'::timestamp) - extract(epoch from '2026-07-06 19:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477843 -3.677775)'), GeomFromEWKT('SRID=4674;POINT (-38.477849 -3.677881)'))) / (select extract(epoch from '2026-07-06 19:57:19'::timestamp) - extract(epoch from '2026-07-06 19:57: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.477859 -3.677986)', '2026-07-06 19:57:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477849 -3.677881)'), GeomFromEWKT('SRID=4674;POINT (-38.477859 -3.677986)'))) / (select extract(epoch from '2026-07-06 19:57:25'::timestamp) - extract(epoch from '2026-07-06 19:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477849 -3.677881)'), GeomFromEWKT('SRID=4674;POINT (-38.477859 -3.677986)'))) / (select extract(epoch from '2026-07-06 19:57:25'::timestamp) - extract(epoch from '2026-07-06 19:57: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.477878 -3.678097)', '2026-07-06 19:57:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477859 -3.677986)'), GeomFromEWKT('SRID=4674;POINT (-38.477878 -3.678097)'))) / (select extract(epoch from '2026-07-06 19:57:31'::timestamp) - extract(epoch from '2026-07-06 19:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477859 -3.677986)'), GeomFromEWKT('SRID=4674;POINT (-38.477878 -3.678097)'))) / (select extract(epoch from '2026-07-06 19:57:31'::timestamp) - extract(epoch from '2026-07-06 19:57: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.477917 -3.678236)', '2026-07-06 19:57:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477878 -3.678097)'), GeomFromEWKT('SRID=4674;POINT (-38.477917 -3.678236)'))) / (select extract(epoch from '2026-07-06 19:57:39'::timestamp) - extract(epoch from '2026-07-06 19:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477878 -3.678097)'), GeomFromEWKT('SRID=4674;POINT (-38.477917 -3.678236)'))) / (select extract(epoch from '2026-07-06 19:57:39'::timestamp) - extract(epoch from '2026-07-06 19:57: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.477936 -3.678331)', '2026-07-06 19:57:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477917 -3.678236)'), GeomFromEWKT('SRID=4674;POINT (-38.477936 -3.678331)'))) / (select extract(epoch from '2026-07-06 19:57:44'::timestamp) - extract(epoch from '2026-07-06 19:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477917 -3.678236)'), GeomFromEWKT('SRID=4674;POINT (-38.477936 -3.678331)'))) / (select extract(epoch from '2026-07-06 19:57:44'::timestamp) - extract(epoch from '2026-07-06 19:57: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.477993 -3.67848)', '2026-07-06 19:57:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477936 -3.678331)'), GeomFromEWKT('SRID=4674;POINT (-38.477993 -3.67848)'))) / (select extract(epoch from '2026-07-06 19:57:52'::timestamp) - extract(epoch from '2026-07-06 19:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477936 -3.678331)'), GeomFromEWKT('SRID=4674;POINT (-38.477993 -3.67848)'))) / (select extract(epoch from '2026-07-06 19:57:52'::timestamp) - extract(epoch from '2026-07-06 19:57: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.478056 -3.678617)', '2026-07-06 19:58:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477993 -3.67848)'), GeomFromEWKT('SRID=4674;POINT (-38.478056 -3.678617)'))) / (select extract(epoch from '2026-07-06 19:58:00'::timestamp) - extract(epoch from '2026-07-06 19:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477993 -3.67848)'), GeomFromEWKT('SRID=4674;POINT (-38.478056 -3.678617)'))) / (select extract(epoch from '2026-07-06 19:58:00'::timestamp) - extract(epoch from '2026-07-06 19:57:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.478116 -3.678741)', '2026-07-06 19:58:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478056 -3.678617)'), GeomFromEWKT('SRID=4674;POINT (-38.478116 -3.678741)'))) / (select extract(epoch from '2026-07-06 19:58:07'::timestamp) - extract(epoch from '2026-07-06 19:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478056 -3.678617)'), GeomFromEWKT('SRID=4674;POINT (-38.478116 -3.678741)'))) / (select extract(epoch from '2026-07-06 19:58:07'::timestamp) - extract(epoch from '2026-07-06 19:58: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.478162 -3.678835)', '2026-07-06 19:58:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478116 -3.678741)'), GeomFromEWKT('SRID=4674;POINT (-38.478162 -3.678835)'))) / (select extract(epoch from '2026-07-06 19:58:13'::timestamp) - extract(epoch from '2026-07-06 19:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478116 -3.678741)'), GeomFromEWKT('SRID=4674;POINT (-38.478162 -3.678835)'))) / (select extract(epoch from '2026-07-06 19:58:13'::timestamp) - extract(epoch from '2026-07-06 19:58: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.478218 -3.678963)', '2026-07-06 19:58:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478162 -3.678835)'), GeomFromEWKT('SRID=4674;POINT (-38.478218 -3.678963)'))) / (select extract(epoch from '2026-07-06 19:58:21'::timestamp) - extract(epoch from '2026-07-06 19:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478162 -3.678835)'), GeomFromEWKT('SRID=4674;POINT (-38.478218 -3.678963)'))) / (select extract(epoch from '2026-07-06 19:58:21'::timestamp) - extract(epoch from '2026-07-06 19:58: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.478276 -3.679075)', '2026-07-06 19:58:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478218 -3.678963)'), GeomFromEWKT('SRID=4674;POINT (-38.478276 -3.679075)'))) / (select extract(epoch from '2026-07-06 19:58:28'::timestamp) - extract(epoch from '2026-07-06 19:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478218 -3.678963)'), GeomFromEWKT('SRID=4674;POINT (-38.478276 -3.679075)'))) / (select extract(epoch from '2026-07-06 19:58:28'::timestamp) - extract(epoch from '2026-07-06 19:58: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.47831 -3.679149)', '2026-07-06 19:58:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478276 -3.679075)'), GeomFromEWKT('SRID=4674;POINT (-38.47831 -3.679149)'))) / (select extract(epoch from '2026-07-06 19:58:33'::timestamp) - extract(epoch from '2026-07-06 19:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478276 -3.679075)'), GeomFromEWKT('SRID=4674;POINT (-38.47831 -3.679149)'))) / (select extract(epoch from '2026-07-06 19:58:33'::timestamp) - extract(epoch from '2026-07-06 19:58: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.478377 -3.679291)', '2026-07-06 19:58:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47831 -3.679149)'), GeomFromEWKT('SRID=4674;POINT (-38.478377 -3.679291)'))) / (select extract(epoch from '2026-07-06 19:58:42'::timestamp) - extract(epoch from '2026-07-06 19:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47831 -3.679149)'), GeomFromEWKT('SRID=4674;POINT (-38.478377 -3.679291)'))) / (select extract(epoch from '2026-07-06 19:58:42'::timestamp) - extract(epoch from '2026-07-06 19:58: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.478435 -3.679395)', '2026-07-06 19:58:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478377 -3.679291)'), GeomFromEWKT('SRID=4674;POINT (-38.478435 -3.679395)'))) / (select extract(epoch from '2026-07-06 19:58:49'::timestamp) - extract(epoch from '2026-07-06 19:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478377 -3.679291)'), GeomFromEWKT('SRID=4674;POINT (-38.478435 -3.679395)'))) / (select extract(epoch from '2026-07-06 19:58:49'::timestamp) - extract(epoch from '2026-07-06 19:58: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.478482 -3.679497)', '2026-07-06 19:58:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478435 -3.679395)'), GeomFromEWKT('SRID=4674;POINT (-38.478482 -3.679497)'))) / (select extract(epoch from '2026-07-06 19:58:56'::timestamp) - extract(epoch from '2026-07-06 19:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478435 -3.679395)'), GeomFromEWKT('SRID=4674;POINT (-38.478482 -3.679497)'))) / (select extract(epoch from '2026-07-06 19:58:56'::timestamp) - extract(epoch from '2026-07-06 19:58: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.478524 -3.679589)', '2026-07-06 19:59:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478482 -3.679497)'), GeomFromEWKT('SRID=4674;POINT (-38.478524 -3.679589)'))) / (select extract(epoch from '2026-07-06 19:59:02'::timestamp) - extract(epoch from '2026-07-06 19:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478482 -3.679497)'), GeomFromEWKT('SRID=4674;POINT (-38.478524 -3.679589)'))) / (select extract(epoch from '2026-07-06 19:59:02'::timestamp) - extract(epoch from '2026-07-06 19:58: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.478547 -3.679702)', '2026-07-06 19:59:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478524 -3.679589)'), GeomFromEWKT('SRID=4674;POINT (-38.478547 -3.679702)'))) / (select extract(epoch from '2026-07-06 19:59:09'::timestamp) - extract(epoch from '2026-07-06 19:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478524 -3.679589)'), GeomFromEWKT('SRID=4674;POINT (-38.478547 -3.679702)'))) / (select extract(epoch from '2026-07-06 19:59:09'::timestamp) - extract(epoch from '2026-07-06 19:59: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.478549 -3.679759)', '2026-07-06 19:59:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478547 -3.679702)'), GeomFromEWKT('SRID=4674;POINT (-38.478549 -3.679759)'))) / (select extract(epoch from '2026-07-06 19:59:13'::timestamp) - extract(epoch from '2026-07-06 19:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478547 -3.679702)'), GeomFromEWKT('SRID=4674;POINT (-38.478549 -3.679759)'))) / (select extract(epoch from '2026-07-06 19:59:13'::timestamp) - extract(epoch from '2026-07-06 19:59: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.478577 -3.679862)', '2026-07-06 19:59:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478549 -3.679759)'), GeomFromEWKT('SRID=4674;POINT (-38.478577 -3.679862)'))) / (select extract(epoch from '2026-07-06 19:59:19'::timestamp) - extract(epoch from '2026-07-06 19:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478549 -3.679759)'), GeomFromEWKT('SRID=4674;POINT (-38.478577 -3.679862)'))) / (select extract(epoch from '2026-07-06 19:59:19'::timestamp) - extract(epoch from '2026-07-06 19:59: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.478609 -3.679968)', '2026-07-06 19:59:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478577 -3.679862)'), GeomFromEWKT('SRID=4674;POINT (-38.478609 -3.679968)'))) / (select extract(epoch from '2026-07-06 19:59:25'::timestamp) - extract(epoch from '2026-07-06 19:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478577 -3.679862)'), GeomFromEWKT('SRID=4674;POINT (-38.478609 -3.679968)'))) / (select extract(epoch from '2026-07-06 19:59:25'::timestamp) - extract(epoch from '2026-07-06 19:59: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.478663 -3.680092)', '2026-07-06 19:59:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478609 -3.679968)'), GeomFromEWKT('SRID=4674;POINT (-38.478663 -3.680092)'))) / (select extract(epoch from '2026-07-06 19:59:32'::timestamp) - extract(epoch from '2026-07-06 19:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478609 -3.679968)'), GeomFromEWKT('SRID=4674;POINT (-38.478663 -3.680092)'))) / (select extract(epoch from '2026-07-06 19:59:32'::timestamp) - extract(epoch from '2026-07-06 19:59: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.478736 -3.680206)', '2026-07-06 19:59:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478663 -3.680092)'), GeomFromEWKT('SRID=4674;POINT (-38.478736 -3.680206)'))) / (select extract(epoch from '2026-07-06 19:59:39'::timestamp) - extract(epoch from '2026-07-06 19:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478663 -3.680092)'), GeomFromEWKT('SRID=4674;POINT (-38.478736 -3.680206)'))) / (select extract(epoch from '2026-07-06 19:59:39'::timestamp) - extract(epoch from '2026-07-06 19:59: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.478775 -3.680294)', '2026-07-06 19:59:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478736 -3.680206)'), GeomFromEWKT('SRID=4674;POINT (-38.478775 -3.680294)'))) / (select extract(epoch from '2026-07-06 19:59:45'::timestamp) - extract(epoch from '2026-07-06 19:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478736 -3.680206)'), GeomFromEWKT('SRID=4674;POINT (-38.478775 -3.680294)'))) / (select extract(epoch from '2026-07-06 19:59:45'::timestamp) - extract(epoch from '2026-07-06 19:59: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.478801 -3.680383)', '2026-07-06 19:59:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478775 -3.680294)'), GeomFromEWKT('SRID=4674;POINT (-38.478801 -3.680383)'))) / (select extract(epoch from '2026-07-06 19:59:51'::timestamp) - extract(epoch from '2026-07-06 19:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478775 -3.680294)'), GeomFromEWKT('SRID=4674;POINT (-38.478801 -3.680383)'))) / (select extract(epoch from '2026-07-06 19:59:51'::timestamp) - extract(epoch from '2026-07-06 19:59:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.478841 -3.680485)', '2026-07-06 19:59:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478801 -3.680383)'), GeomFromEWKT('SRID=4674;POINT (-38.478841 -3.680485)'))) / (select extract(epoch from '2026-07-06 19:59:57'::timestamp) - extract(epoch from '2026-07-06 19:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478801 -3.680383)'), GeomFromEWKT('SRID=4674;POINT (-38.478841 -3.680485)'))) / (select extract(epoch from '2026-07-06 19:59:57'::timestamp) - extract(epoch from '2026-07-06 19:59: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.478884 -3.680591)', '2026-07-06 20:00:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478841 -3.680485)'), GeomFromEWKT('SRID=4674;POINT (-38.478884 -3.680591)'))) / (select extract(epoch from '2026-07-06 20:00:03'::timestamp) - extract(epoch from '2026-07-06 19:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478841 -3.680485)'), GeomFromEWKT('SRID=4674;POINT (-38.478884 -3.680591)'))) / (select extract(epoch from '2026-07-06 20:00:03'::timestamp) - extract(epoch from '2026-07-06 19:59:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.478932 -3.680721)', '2026-07-06 20:00:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478884 -3.680591)'), GeomFromEWKT('SRID=4674;POINT (-38.478932 -3.680721)'))) / (select extract(epoch from '2026-07-06 20:00:10'::timestamp) - extract(epoch from '2026-07-06 20:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478884 -3.680591)'), GeomFromEWKT('SRID=4674;POINT (-38.478932 -3.680721)'))) / (select extract(epoch from '2026-07-06 20:00:10'::timestamp) - extract(epoch from '2026-07-06 20:00: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.47899 -3.680857)', '2026-07-06 20:00:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478932 -3.680721)'), GeomFromEWKT('SRID=4674;POINT (-38.47899 -3.680857)'))) / (select extract(epoch from '2026-07-06 20:00:17'::timestamp) - extract(epoch from '2026-07-06 20:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478932 -3.680721)'), GeomFromEWKT('SRID=4674;POINT (-38.47899 -3.680857)'))) / (select extract(epoch from '2026-07-06 20:00:17'::timestamp) - extract(epoch from '2026-07-06 20:00: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.479007 -3.680925)', '2026-07-06 20:00:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47899 -3.680857)'), GeomFromEWKT('SRID=4674;POINT (-38.479007 -3.680925)'))) / (select extract(epoch from '2026-07-06 20:00:21'::timestamp) - extract(epoch from '2026-07-06 20:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47899 -3.680857)'), GeomFromEWKT('SRID=4674;POINT (-38.479007 -3.680925)'))) / (select extract(epoch from '2026-07-06 20:00:21'::timestamp) - extract(epoch from '2026-07-06 20:00: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.479051 -3.681039)', '2026-07-06 20:00:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479007 -3.680925)'), GeomFromEWKT('SRID=4674;POINT (-38.479051 -3.681039)'))) / (select extract(epoch from '2026-07-06 20:00:27'::timestamp) - extract(epoch from '2026-07-06 20:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479007 -3.680925)'), GeomFromEWKT('SRID=4674;POINT (-38.479051 -3.681039)'))) / (select extract(epoch from '2026-07-06 20:00:27'::timestamp) - extract(epoch from '2026-07-06 20:00: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.479128 -3.681212)', '2026-07-06 20:00:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479051 -3.681039)'), GeomFromEWKT('SRID=4674;POINT (-38.479128 -3.681212)'))) / (select extract(epoch from '2026-07-06 20:00:36'::timestamp) - extract(epoch from '2026-07-06 20:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479051 -3.681039)'), GeomFromEWKT('SRID=4674;POINT (-38.479128 -3.681212)'))) / (select extract(epoch from '2026-07-06 20:00:36'::timestamp) - extract(epoch from '2026-07-06 20:00: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.479163 -3.681326)', '2026-07-06 20:00:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479128 -3.681212)'), GeomFromEWKT('SRID=4674;POINT (-38.479163 -3.681326)'))) / (select extract(epoch from '2026-07-06 20:00:42'::timestamp) - extract(epoch from '2026-07-06 20:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479128 -3.681212)'), GeomFromEWKT('SRID=4674;POINT (-38.479163 -3.681326)'))) / (select extract(epoch from '2026-07-06 20:00:42'::timestamp) - extract(epoch from '2026-07-06 20:00: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.479212 -3.68146)', '2026-07-06 20:00:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479163 -3.681326)'), GeomFromEWKT('SRID=4674;POINT (-38.479212 -3.68146)'))) / (select extract(epoch from '2026-07-06 20:00:49'::timestamp) - extract(epoch from '2026-07-06 20:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479163 -3.681326)'), GeomFromEWKT('SRID=4674;POINT (-38.479212 -3.68146)'))) / (select extract(epoch from '2026-07-06 20:00:49'::timestamp) - extract(epoch from '2026-07-06 20:00: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.479268 -3.68159)', '2026-07-06 20:00:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479212 -3.68146)'), GeomFromEWKT('SRID=4674;POINT (-38.479268 -3.68159)'))) / (select extract(epoch from '2026-07-06 20:00:56'::timestamp) - extract(epoch from '2026-07-06 20:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479212 -3.68146)'), GeomFromEWKT('SRID=4674;POINT (-38.479268 -3.68159)'))) / (select extract(epoch from '2026-07-06 20:00:56'::timestamp) - extract(epoch from '2026-07-06 20:00: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.479313 -3.681698)', '2026-07-06 20:01:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479268 -3.68159)'), GeomFromEWKT('SRID=4674;POINT (-38.479313 -3.681698)'))) / (select extract(epoch from '2026-07-06 20:01:02'::timestamp) - extract(epoch from '2026-07-06 20:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479268 -3.68159)'), GeomFromEWKT('SRID=4674;POINT (-38.479313 -3.681698)'))) / (select extract(epoch from '2026-07-06 20:01:02'::timestamp) - extract(epoch from '2026-07-06 20:00: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.479356 -3.681832)', '2026-07-06 20:01:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479313 -3.681698)'), GeomFromEWKT('SRID=4674;POINT (-38.479356 -3.681832)'))) / (select extract(epoch from '2026-07-06 20:01:10'::timestamp) - extract(epoch from '2026-07-06 20:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479313 -3.681698)'), GeomFromEWKT('SRID=4674;POINT (-38.479356 -3.681832)'))) / (select extract(epoch from '2026-07-06 20:01:10'::timestamp) - extract(epoch from '2026-07-06 20:01: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.479408 -3.681983)', '2026-07-06 20:01:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479356 -3.681832)'), GeomFromEWKT('SRID=4674;POINT (-38.479408 -3.681983)'))) / (select extract(epoch from '2026-07-06 20:01:18'::timestamp) - extract(epoch from '2026-07-06 20:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479356 -3.681832)'), GeomFromEWKT('SRID=4674;POINT (-38.479408 -3.681983)'))) / (select extract(epoch from '2026-07-06 20:01:18'::timestamp) - extract(epoch from '2026-07-06 20:01: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.479463 -3.682102)', '2026-07-06 20:01:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479408 -3.681983)'), GeomFromEWKT('SRID=4674;POINT (-38.479463 -3.682102)'))) / (select extract(epoch from '2026-07-06 20:01:25'::timestamp) - extract(epoch from '2026-07-06 20:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479408 -3.681983)'), GeomFromEWKT('SRID=4674;POINT (-38.479463 -3.682102)'))) / (select extract(epoch from '2026-07-06 20:01:25'::timestamp) - extract(epoch from '2026-07-06 20:01: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.479525 -3.682249)', '2026-07-06 20:01:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479463 -3.682102)'), GeomFromEWKT('SRID=4674;POINT (-38.479525 -3.682249)'))) / (select extract(epoch from '2026-07-06 20:01:33'::timestamp) - extract(epoch from '2026-07-06 20:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479463 -3.682102)'), GeomFromEWKT('SRID=4674;POINT (-38.479525 -3.682249)'))) / (select extract(epoch from '2026-07-06 20:01:33'::timestamp) - extract(epoch from '2026-07-06 20:01:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.479575 -3.682374)', '2026-07-06 20:01:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479525 -3.682249)'), GeomFromEWKT('SRID=4674;POINT (-38.479575 -3.682374)'))) / (select extract(epoch from '2026-07-06 20:01:40'::timestamp) - extract(epoch from '2026-07-06 20:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479525 -3.682249)'), GeomFromEWKT('SRID=4674;POINT (-38.479575 -3.682374)'))) / (select extract(epoch from '2026-07-06 20:01:40'::timestamp) - extract(epoch from '2026-07-06 20:01: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.479615 -3.682492)', '2026-07-06 20:01:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479575 -3.682374)'), GeomFromEWKT('SRID=4674;POINT (-38.479615 -3.682492)'))) / (select extract(epoch from '2026-07-06 20:01:47'::timestamp) - extract(epoch from '2026-07-06 20:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479575 -3.682374)'), GeomFromEWKT('SRID=4674;POINT (-38.479615 -3.682492)'))) / (select extract(epoch from '2026-07-06 20:01:47'::timestamp) - extract(epoch from '2026-07-06 20:01: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.479659 -3.682609)', '2026-07-06 20:01:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479615 -3.682492)'), GeomFromEWKT('SRID=4674;POINT (-38.479659 -3.682609)'))) / (select extract(epoch from '2026-07-06 20:01:54'::timestamp) - extract(epoch from '2026-07-06 20:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479615 -3.682492)'), GeomFromEWKT('SRID=4674;POINT (-38.479659 -3.682609)'))) / (select extract(epoch from '2026-07-06 20:01:54'::timestamp) - extract(epoch from '2026-07-06 20:01: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.479717 -3.682705)', '2026-07-06 20:02:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479659 -3.682609)'), GeomFromEWKT('SRID=4674;POINT (-38.479717 -3.682705)'))) / (select extract(epoch from '2026-07-06 20:02:00'::timestamp) - extract(epoch from '2026-07-06 20:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479659 -3.682609)'), GeomFromEWKT('SRID=4674;POINT (-38.479717 -3.682705)'))) / (select extract(epoch from '2026-07-06 20:02:00'::timestamp) - extract(epoch from '2026-07-06 20:01: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.479772 -3.682822)', '2026-07-06 20:02:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479717 -3.682705)'), GeomFromEWKT('SRID=4674;POINT (-38.479772 -3.682822)'))) / (select extract(epoch from '2026-07-06 20:02:07'::timestamp) - extract(epoch from '2026-07-06 20:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479717 -3.682705)'), GeomFromEWKT('SRID=4674;POINT (-38.479772 -3.682822)'))) / (select extract(epoch from '2026-07-06 20:02:07'::timestamp) - extract(epoch from '2026-07-06 20:02: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.479825 -3.682942)', '2026-07-06 20:02:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479772 -3.682822)'), GeomFromEWKT('SRID=4674;POINT (-38.479825 -3.682942)'))) / (select extract(epoch from '2026-07-06 20:02:14'::timestamp) - extract(epoch from '2026-07-06 20:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479772 -3.682822)'), GeomFromEWKT('SRID=4674;POINT (-38.479825 -3.682942)'))) / (select extract(epoch from '2026-07-06 20:02:14'::timestamp) - extract(epoch from '2026-07-06 20:02: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.479836 -3.68299)', '2026-07-06 20:02:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479825 -3.682942)'), GeomFromEWKT('SRID=4674;POINT (-38.479836 -3.68299)'))) / (select extract(epoch from '2026-07-06 20:02:17'::timestamp) - extract(epoch from '2026-07-06 20:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479825 -3.682942)'), GeomFromEWKT('SRID=4674;POINT (-38.479836 -3.68299)'))) / (select extract(epoch from '2026-07-06 20:02:17'::timestamp) - extract(epoch from '2026-07-06 20:02: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.479844 -3.683008)', '2026-07-06 20:02:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479836 -3.68299)'), GeomFromEWKT('SRID=4674;POINT (-38.479844 -3.683008)'))) / (select extract(epoch from '2026-07-06 20:02:18'::timestamp) - extract(epoch from '2026-07-06 20:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479836 -3.68299)'), GeomFromEWKT('SRID=4674;POINT (-38.479844 -3.683008)'))) / (select extract(epoch from '2026-07-06 20:02:18'::timestamp) - extract(epoch from '2026-07-06 20:02: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.479896 -3.683138)', '2026-07-06 20:02:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479844 -3.683008)'), GeomFromEWKT('SRID=4674;POINT (-38.479896 -3.683138)'))) / (select extract(epoch from '2026-07-06 20:02:25'::timestamp) - extract(epoch from '2026-07-06 20:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479844 -3.683008)'), GeomFromEWKT('SRID=4674;POINT (-38.479896 -3.683138)'))) / (select extract(epoch from '2026-07-06 20:02:25'::timestamp) - extract(epoch from '2026-07-06 20:02: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.479919 -3.683256)', '2026-07-06 20:02:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479896 -3.683138)'), GeomFromEWKT('SRID=4674;POINT (-38.479919 -3.683256)'))) / (select extract(epoch from '2026-07-06 20:02:32'::timestamp) - extract(epoch from '2026-07-06 20:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479896 -3.683138)'), GeomFromEWKT('SRID=4674;POINT (-38.479919 -3.683256)'))) / (select extract(epoch from '2026-07-06 20:02:32'::timestamp) - extract(epoch from '2026-07-06 20:02: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.479927 -3.683291)', '2026-07-06 20:02:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479919 -3.683256)'), GeomFromEWKT('SRID=4674;POINT (-38.479927 -3.683291)'))) / (select extract(epoch from '2026-07-06 20:02:34'::timestamp) - extract(epoch from '2026-07-06 20:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479919 -3.683256)'), GeomFromEWKT('SRID=4674;POINT (-38.479927 -3.683291)'))) / (select extract(epoch from '2026-07-06 20:02:34'::timestamp) - extract(epoch from '2026-07-06 20:02: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.479943 -3.68336)', '2026-07-06 20:02:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479927 -3.683291)'), GeomFromEWKT('SRID=4674;POINT (-38.479943 -3.68336)'))) / (select extract(epoch from '2026-07-06 20:02:38'::timestamp) - extract(epoch from '2026-07-06 20:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479927 -3.683291)'), GeomFromEWKT('SRID=4674;POINT (-38.479943 -3.68336)'))) / (select extract(epoch from '2026-07-06 20:02:38'::timestamp) - extract(epoch from '2026-07-06 20:02: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.479988 -3.683488)', '2026-07-06 20:02:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479943 -3.68336)'), GeomFromEWKT('SRID=4674;POINT (-38.479988 -3.683488)'))) / (select extract(epoch from '2026-07-06 20:02:45'::timestamp) - extract(epoch from '2026-07-06 20:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479943 -3.68336)'), GeomFromEWKT('SRID=4674;POINT (-38.479988 -3.683488)'))) / (select extract(epoch from '2026-07-06 20:02:45'::timestamp) - extract(epoch from '2026-07-06 20:02: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.480021 -3.683617)', '2026-07-06 20:02:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479988 -3.683488)'), GeomFromEWKT('SRID=4674;POINT (-38.480021 -3.683617)'))) / (select extract(epoch from '2026-07-06 20:02:52'::timestamp) - extract(epoch from '2026-07-06 20:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479988 -3.683488)'), GeomFromEWKT('SRID=4674;POINT (-38.480021 -3.683617)'))) / (select extract(epoch from '2026-07-06 20:02:52'::timestamp) - extract(epoch from '2026-07-06 20:02: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.480049 -3.683728)', '2026-07-06 20:02:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480021 -3.683617)'), GeomFromEWKT('SRID=4674;POINT (-38.480049 -3.683728)'))) / (select extract(epoch from '2026-07-06 20:02:58'::timestamp) - extract(epoch from '2026-07-06 20:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480021 -3.683617)'), GeomFromEWKT('SRID=4674;POINT (-38.480049 -3.683728)'))) / (select extract(epoch from '2026-07-06 20:02:58'::timestamp) - extract(epoch from '2026-07-06 20:02: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.480094 -3.683859)', '2026-07-06 20:03:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480049 -3.683728)'), GeomFromEWKT('SRID=4674;POINT (-38.480094 -3.683859)'))) / (select extract(epoch from '2026-07-06 20:03:05'::timestamp) - extract(epoch from '2026-07-06 20:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480049 -3.683728)'), GeomFromEWKT('SRID=4674;POINT (-38.480094 -3.683859)'))) / (select extract(epoch from '2026-07-06 20:03:05'::timestamp) - extract(epoch from '2026-07-06 20:02: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.480125 -3.683987)', '2026-07-06 20:03:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480094 -3.683859)'), GeomFromEWKT('SRID=4674;POINT (-38.480125 -3.683987)'))) / (select extract(epoch from '2026-07-06 20:03:12'::timestamp) - extract(epoch from '2026-07-06 20:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480094 -3.683859)'), GeomFromEWKT('SRID=4674;POINT (-38.480125 -3.683987)'))) / (select extract(epoch from '2026-07-06 20:03:12'::timestamp) - extract(epoch from '2026-07-06 20: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.480169 -3.684113)', '2026-07-06 20:03:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480125 -3.683987)'), GeomFromEWKT('SRID=4674;POINT (-38.480169 -3.684113)'))) / (select extract(epoch from '2026-07-06 20:03:19'::timestamp) - extract(epoch from '2026-07-06 20:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480125 -3.683987)'), GeomFromEWKT('SRID=4674;POINT (-38.480169 -3.684113)'))) / (select extract(epoch from '2026-07-06 20:03:19'::timestamp) - extract(epoch from '2026-07-06 20:03: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.480199 -3.684235)', '2026-07-06 20:03:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480169 -3.684113)'), GeomFromEWKT('SRID=4674;POINT (-38.480199 -3.684235)'))) / (select extract(epoch from '2026-07-06 20:03:26'::timestamp) - extract(epoch from '2026-07-06 20:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480169 -3.684113)'), GeomFromEWKT('SRID=4674;POINT (-38.480199 -3.684235)'))) / (select extract(epoch from '2026-07-06 20:03:26'::timestamp) - extract(epoch from '2026-07-06 20:03: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.480236 -3.684325)', '2026-07-06 20:03:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480199 -3.684235)'), GeomFromEWKT('SRID=4674;POINT (-38.480236 -3.684325)'))) / (select extract(epoch from '2026-07-06 20:03:31'::timestamp) - extract(epoch from '2026-07-06 20:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480199 -3.684235)'), GeomFromEWKT('SRID=4674;POINT (-38.480236 -3.684325)'))) / (select extract(epoch from '2026-07-06 20:03:31'::timestamp) - extract(epoch from '2026-07-06 20: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.480277 -3.684417)', '2026-07-06 20:03:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480236 -3.684325)'), GeomFromEWKT('SRID=4674;POINT (-38.480277 -3.684417)'))) / (select extract(epoch from '2026-07-06 20:03:37'::timestamp) - extract(epoch from '2026-07-06 20:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480236 -3.684325)'), GeomFromEWKT('SRID=4674;POINT (-38.480277 -3.684417)'))) / (select extract(epoch from '2026-07-06 20:03:37'::timestamp) - extract(epoch from '2026-07-06 20:03: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.480305 -3.684515)', '2026-07-06 20:03:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480277 -3.684417)'), GeomFromEWKT('SRID=4674;POINT (-38.480305 -3.684515)'))) / (select extract(epoch from '2026-07-06 20:03:43'::timestamp) - extract(epoch from '2026-07-06 20:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480277 -3.684417)'), GeomFromEWKT('SRID=4674;POINT (-38.480305 -3.684515)'))) / (select extract(epoch from '2026-07-06 20:03:43'::timestamp) - extract(epoch from '2026-07-06 20:03: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.480326 -3.684619)', '2026-07-06 20:03:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480305 -3.684515)'), GeomFromEWKT('SRID=4674;POINT (-38.480326 -3.684619)'))) / (select extract(epoch from '2026-07-06 20:03:49'::timestamp) - extract(epoch from '2026-07-06 20:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480305 -3.684515)'), GeomFromEWKT('SRID=4674;POINT (-38.480326 -3.684619)'))) / (select extract(epoch from '2026-07-06 20:03:49'::timestamp) - extract(epoch from '2026-07-06 20:03: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.480352 -3.684713)', '2026-07-06 20:03:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480326 -3.684619)'), GeomFromEWKT('SRID=4674;POINT (-38.480352 -3.684713)'))) / (select extract(epoch from '2026-07-06 20:03:54'::timestamp) - extract(epoch from '2026-07-06 20:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480326 -3.684619)'), GeomFromEWKT('SRID=4674;POINT (-38.480352 -3.684713)'))) / (select extract(epoch from '2026-07-06 20:03:54'::timestamp) - extract(epoch from '2026-07-06 20:03: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.480404 -3.684877)', '2026-07-06 20:04:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480352 -3.684713)'), GeomFromEWKT('SRID=4674;POINT (-38.480404 -3.684877)'))) / (select extract(epoch from '2026-07-06 20:04:03'::timestamp) - extract(epoch from '2026-07-06 20:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480352 -3.684713)'), GeomFromEWKT('SRID=4674;POINT (-38.480404 -3.684877)'))) / (select extract(epoch from '2026-07-06 20:04:03'::timestamp) - extract(epoch from '2026-07-06 20:03: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.480443 -3.684994)', '2026-07-06 20:04:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480404 -3.684877)'), GeomFromEWKT('SRID=4674;POINT (-38.480443 -3.684994)'))) / (select extract(epoch from '2026-07-06 20:04:09'::timestamp) - extract(epoch from '2026-07-06 20:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480404 -3.684877)'), GeomFromEWKT('SRID=4674;POINT (-38.480443 -3.684994)'))) / (select extract(epoch from '2026-07-06 20:04:09'::timestamp) - extract(epoch from '2026-07-06 20:04: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.48045 -3.685028)', '2026-07-06 20:04:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480443 -3.684994)'), GeomFromEWKT('SRID=4674;POINT (-38.48045 -3.685028)'))) / (select extract(epoch from '2026-07-06 20:04:11'::timestamp) - extract(epoch from '2026-07-06 20:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480443 -3.684994)'), GeomFromEWKT('SRID=4674;POINT (-38.48045 -3.685028)'))) / (select extract(epoch from '2026-07-06 20:04:11'::timestamp) - extract(epoch from '2026-07-06 20:04: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.480464 -3.685089)', '2026-07-06 20:04:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48045 -3.685028)'), GeomFromEWKT('SRID=4674;POINT (-38.480464 -3.685089)'))) / (select extract(epoch from '2026-07-06 20:04:14'::timestamp) - extract(epoch from '2026-07-06 20:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48045 -3.685028)'), GeomFromEWKT('SRID=4674;POINT (-38.480464 -3.685089)'))) / (select extract(epoch from '2026-07-06 20:04:14'::timestamp) - extract(epoch from '2026-07-06 20:04: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.480508 -3.685206)', '2026-07-06 20:04:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480464 -3.685089)'), GeomFromEWKT('SRID=4674;POINT (-38.480508 -3.685206)'))) / (select extract(epoch from '2026-07-06 20:04:20'::timestamp) - extract(epoch from '2026-07-06 20:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480464 -3.685089)'), GeomFromEWKT('SRID=4674;POINT (-38.480508 -3.685206)'))) / (select extract(epoch from '2026-07-06 20:04:20'::timestamp) - extract(epoch from '2026-07-06 20:04: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.480564 -3.685352)', '2026-07-06 20:04:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480508 -3.685206)'), GeomFromEWKT('SRID=4674;POINT (-38.480564 -3.685352)'))) / (select extract(epoch from '2026-07-06 20:04:28'::timestamp) - extract(epoch from '2026-07-06 20:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480508 -3.685206)'), GeomFromEWKT('SRID=4674;POINT (-38.480564 -3.685352)'))) / (select extract(epoch from '2026-07-06 20:04:28'::timestamp) - extract(epoch from '2026-07-06 20:04: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.48059 -3.685452)', '2026-07-06 20:04:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480564 -3.685352)'), GeomFromEWKT('SRID=4674;POINT (-38.48059 -3.685452)'))) / (select extract(epoch from '2026-07-06 20:04:34'::timestamp) - extract(epoch from '2026-07-06 20:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480564 -3.685352)'), GeomFromEWKT('SRID=4674;POINT (-38.48059 -3.685452)'))) / (select extract(epoch from '2026-07-06 20:04:34'::timestamp) - extract(epoch from '2026-07-06 20: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.480616 -3.685535)', '2026-07-06 20:04:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48059 -3.685452)'), GeomFromEWKT('SRID=4674;POINT (-38.480616 -3.685535)'))) / (select extract(epoch from '2026-07-06 20:04:40'::timestamp) - extract(epoch from '2026-07-06 20:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48059 -3.685452)'), GeomFromEWKT('SRID=4674;POINT (-38.480616 -3.685535)'))) / (select extract(epoch from '2026-07-06 20:04:40'::timestamp) - extract(epoch from '2026-07-06 20:04: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.480651 -3.685645)', '2026-07-06 20:04:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480616 -3.685535)'), GeomFromEWKT('SRID=4674;POINT (-38.480651 -3.685645)'))) / (select extract(epoch from '2026-07-06 20:04:47'::timestamp) - extract(epoch from '2026-07-06 20:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480616 -3.685535)'), GeomFromEWKT('SRID=4674;POINT (-38.480651 -3.685645)'))) / (select extract(epoch from '2026-07-06 20:04:47'::timestamp) - extract(epoch from '2026-07-06 20:04: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.480685 -3.685742)', '2026-07-06 20:04:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480651 -3.685645)'), GeomFromEWKT('SRID=4674;POINT (-38.480685 -3.685742)'))) / (select extract(epoch from '2026-07-06 20:04:53'::timestamp) - extract(epoch from '2026-07-06 20:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480651 -3.685645)'), GeomFromEWKT('SRID=4674;POINT (-38.480685 -3.685742)'))) / (select extract(epoch from '2026-07-06 20:04:53'::timestamp) - extract(epoch from '2026-07-06 20:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.480738 -3.685864)', '2026-07-06 20:05:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480685 -3.685742)'), GeomFromEWKT('SRID=4674;POINT (-38.480738 -3.685864)'))) / (select extract(epoch from '2026-07-06 20:05:01'::timestamp) - extract(epoch from '2026-07-06 20:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480685 -3.685742)'), GeomFromEWKT('SRID=4674;POINT (-38.480738 -3.685864)'))) / (select extract(epoch from '2026-07-06 20:05:01'::timestamp) - extract(epoch from '2026-07-06 20:04: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.480772 -3.685966)', '2026-07-06 20:05:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480738 -3.685864)'), GeomFromEWKT('SRID=4674;POINT (-38.480772 -3.685966)'))) / (select extract(epoch from '2026-07-06 20:05:07'::timestamp) - extract(epoch from '2026-07-06 20:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480738 -3.685864)'), GeomFromEWKT('SRID=4674;POINT (-38.480772 -3.685966)'))) / (select extract(epoch from '2026-07-06 20:05:07'::timestamp) - extract(epoch from '2026-07-06 20:05: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.480821 -3.686083)', '2026-07-06 20:05:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480772 -3.685966)'), GeomFromEWKT('SRID=4674;POINT (-38.480821 -3.686083)'))) / (select extract(epoch from '2026-07-06 20:05:14'::timestamp) - extract(epoch from '2026-07-06 20:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480772 -3.685966)'), GeomFromEWKT('SRID=4674;POINT (-38.480821 -3.686083)'))) / (select extract(epoch from '2026-07-06 20:05:14'::timestamp) - extract(epoch from '2026-07-06 20:05: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.480854 -3.686199)', '2026-07-06 20:05:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480821 -3.686083)'), GeomFromEWKT('SRID=4674;POINT (-38.480854 -3.686199)'))) / (select extract(epoch from '2026-07-06 20:05:21'::timestamp) - extract(epoch from '2026-07-06 20:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480821 -3.686083)'), GeomFromEWKT('SRID=4674;POINT (-38.480854 -3.686199)'))) / (select extract(epoch from '2026-07-06 20:05:21'::timestamp) - extract(epoch from '2026-07-06 20:05:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.480886 -3.686299)', '2026-07-06 20:05:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480854 -3.686199)'), GeomFromEWKT('SRID=4674;POINT (-38.480886 -3.686299)'))) / (select extract(epoch from '2026-07-06 20:05:26'::timestamp) - extract(epoch from '2026-07-06 20:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480854 -3.686199)'), GeomFromEWKT('SRID=4674;POINT (-38.480886 -3.686299)'))) / (select extract(epoch from '2026-07-06 20:05:26'::timestamp) - extract(epoch from '2026-07-06 20:05: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.480914 -3.686423)', '2026-07-06 20:05:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480886 -3.686299)'), GeomFromEWKT('SRID=4674;POINT (-38.480914 -3.686423)'))) / (select extract(epoch from '2026-07-06 20:05:33'::timestamp) - extract(epoch from '2026-07-06 20:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480886 -3.686299)'), GeomFromEWKT('SRID=4674;POINT (-38.480914 -3.686423)'))) / (select extract(epoch from '2026-07-06 20:05:33'::timestamp) - extract(epoch from '2026-07-06 20:05: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.480949 -3.686544)', '2026-07-06 20:05:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480914 -3.686423)'), GeomFromEWKT('SRID=4674;POINT (-38.480949 -3.686544)'))) / (select extract(epoch from '2026-07-06 20:05:39'::timestamp) - extract(epoch from '2026-07-06 20:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480914 -3.686423)'), GeomFromEWKT('SRID=4674;POINT (-38.480949 -3.686544)'))) / (select extract(epoch from '2026-07-06 20:05:39'::timestamp) - extract(epoch from '2026-07-06 20:05: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.480964 -3.68663)', '2026-07-06 20:05:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480949 -3.686544)'), GeomFromEWKT('SRID=4674;POINT (-38.480964 -3.68663)'))) / (select extract(epoch from '2026-07-06 20:05:44'::timestamp) - extract(epoch from '2026-07-06 20:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480949 -3.686544)'), GeomFromEWKT('SRID=4674;POINT (-38.480964 -3.68663)'))) / (select extract(epoch from '2026-07-06 20:05:44'::timestamp) - extract(epoch from '2026-07-06 20:05: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.480992 -3.68676)', '2026-07-06 20:05:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480964 -3.68663)'), GeomFromEWKT('SRID=4674;POINT (-38.480992 -3.68676)'))) / (select extract(epoch from '2026-07-06 20:05:51'::timestamp) - extract(epoch from '2026-07-06 20:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480964 -3.68663)'), GeomFromEWKT('SRID=4674;POINT (-38.480992 -3.68676)'))) / (select extract(epoch from '2026-07-06 20:05:51'::timestamp) - extract(epoch from '2026-07-06 20:05:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.48103 -3.68687)', '2026-07-06 20:05:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480992 -3.68676)'), GeomFromEWKT('SRID=4674;POINT (-38.48103 -3.68687)'))) / (select extract(epoch from '2026-07-06 20:05:57'::timestamp) - extract(epoch from '2026-07-06 20:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480992 -3.68676)'), GeomFromEWKT('SRID=4674;POINT (-38.48103 -3.68687)'))) / (select extract(epoch from '2026-07-06 20:05:57'::timestamp) - extract(epoch from '2026-07-06 20:05: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.481062 -3.686973)', '2026-07-06 20:06:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48103 -3.68687)'), GeomFromEWKT('SRID=4674;POINT (-38.481062 -3.686973)'))) / (select extract(epoch from '2026-07-06 20:06:03'::timestamp) - extract(epoch from '2026-07-06 20:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48103 -3.68687)'), GeomFromEWKT('SRID=4674;POINT (-38.481062 -3.686973)'))) / (select extract(epoch from '2026-07-06 20:06:03'::timestamp) - extract(epoch from '2026-07-06 20:05: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.481088 -3.687087)', '2026-07-06 20:06:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481062 -3.686973)'), GeomFromEWKT('SRID=4674;POINT (-38.481088 -3.687087)'))) / (select extract(epoch from '2026-07-06 20:06:10'::timestamp) - extract(epoch from '2026-07-06 20:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481062 -3.686973)'), GeomFromEWKT('SRID=4674;POINT (-38.481088 -3.687087)'))) / (select extract(epoch from '2026-07-06 20:06:10'::timestamp) - extract(epoch from '2026-07-06 20:06: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.481108 -3.687193)', '2026-07-06 20:06:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481088 -3.687087)'), GeomFromEWKT('SRID=4674;POINT (-38.481108 -3.687193)'))) / (select extract(epoch from '2026-07-06 20:06:17'::timestamp) - extract(epoch from '2026-07-06 20:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481088 -3.687087)'), GeomFromEWKT('SRID=4674;POINT (-38.481108 -3.687193)'))) / (select extract(epoch from '2026-07-06 20:06:17'::timestamp) - extract(epoch from '2026-07-06 20: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.481131 -3.68731)', '2026-07-06 20:06:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481108 -3.687193)'), GeomFromEWKT('SRID=4674;POINT (-38.481131 -3.68731)'))) / (select extract(epoch from '2026-07-06 20:06:24'::timestamp) - extract(epoch from '2026-07-06 20:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481108 -3.687193)'), GeomFromEWKT('SRID=4674;POINT (-38.481131 -3.68731)'))) / (select extract(epoch from '2026-07-06 20:06:24'::timestamp) - extract(epoch from '2026-07-06 20:06: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.481153 -3.687397)', '2026-07-06 20:06:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481131 -3.68731)'), GeomFromEWKT('SRID=4674;POINT (-38.481153 -3.687397)'))) / (select extract(epoch from '2026-07-06 20:06:29'::timestamp) - extract(epoch from '2026-07-06 20:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481131 -3.68731)'), GeomFromEWKT('SRID=4674;POINT (-38.481153 -3.687397)'))) / (select extract(epoch from '2026-07-06 20:06:29'::timestamp) - extract(epoch from '2026-07-06 20:06:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.481174 -3.687505)', '2026-07-06 20:06:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481153 -3.687397)'), GeomFromEWKT('SRID=4674;POINT (-38.481174 -3.687505)'))) / (select extract(epoch from '2026-07-06 20:06:36'::timestamp) - extract(epoch from '2026-07-06 20:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481153 -3.687397)'), GeomFromEWKT('SRID=4674;POINT (-38.481174 -3.687505)'))) / (select extract(epoch from '2026-07-06 20:06:36'::timestamp) - extract(epoch from '2026-07-06 20:06: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.48119 -3.68761)', '2026-07-06 20:06:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481174 -3.687505)'), GeomFromEWKT('SRID=4674;POINT (-38.48119 -3.68761)'))) / (select extract(epoch from '2026-07-06 20:06:43'::timestamp) - extract(epoch from '2026-07-06 20:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481174 -3.687505)'), GeomFromEWKT('SRID=4674;POINT (-38.48119 -3.68761)'))) / (select extract(epoch from '2026-07-06 20:06:43'::timestamp) - extract(epoch from '2026-07-06 20:06: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.481203 -3.68771)', '2026-07-06 20:06:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48119 -3.68761)'), GeomFromEWKT('SRID=4674;POINT (-38.481203 -3.68771)'))) / (select extract(epoch from '2026-07-06 20:06:49'::timestamp) - extract(epoch from '2026-07-06 20:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48119 -3.68761)'), GeomFromEWKT('SRID=4674;POINT (-38.481203 -3.68771)'))) / (select extract(epoch from '2026-07-06 20:06:49'::timestamp) - extract(epoch from '2026-07-06 20:06:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.481231 -3.687837)', '2026-07-06 20:06:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481203 -3.68771)'), GeomFromEWKT('SRID=4674;POINT (-38.481231 -3.687837)'))) / (select extract(epoch from '2026-07-06 20:06:56'::timestamp) - extract(epoch from '2026-07-06 20:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481203 -3.68771)'), GeomFromEWKT('SRID=4674;POINT (-38.481231 -3.687837)'))) / (select extract(epoch from '2026-07-06 20:06:56'::timestamp) - extract(epoch from '2026-07-06 20:06: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.481252 -3.687978)', '2026-07-06 20:07:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481231 -3.687837)'), GeomFromEWKT('SRID=4674;POINT (-38.481252 -3.687978)'))) / (select extract(epoch from '2026-07-06 20:07:03'::timestamp) - extract(epoch from '2026-07-06 20:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481231 -3.687837)'), GeomFromEWKT('SRID=4674;POINT (-38.481252 -3.687978)'))) / (select extract(epoch from '2026-07-06 20:07:03'::timestamp) - extract(epoch from '2026-07-06 20:06: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.481285 -3.688107)', '2026-07-06 20:07:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481252 -3.687978)'), GeomFromEWKT('SRID=4674;POINT (-38.481285 -3.688107)'))) / (select extract(epoch from '2026-07-06 20:07:11'::timestamp) - extract(epoch from '2026-07-06 20:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481252 -3.687978)'), GeomFromEWKT('SRID=4674;POINT (-38.481285 -3.688107)'))) / (select extract(epoch from '2026-07-06 20:07:11'::timestamp) - extract(epoch from '2026-07-06 20:07: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.481321 -3.688243)', '2026-07-06 20:07:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481285 -3.688107)'), GeomFromEWKT('SRID=4674;POINT (-38.481321 -3.688243)'))) / (select extract(epoch from '2026-07-06 20:07:17'::timestamp) - extract(epoch from '2026-07-06 20:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481285 -3.688107)'), GeomFromEWKT('SRID=4674;POINT (-38.481321 -3.688243)'))) / (select extract(epoch from '2026-07-06 20:07:17'::timestamp) - extract(epoch from '2026-07-06 20:07:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.481341 -3.688374)', '2026-07-06 20:07:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481321 -3.688243)'), GeomFromEWKT('SRID=4674;POINT (-38.481341 -3.688374)'))) / (select extract(epoch from '2026-07-06 20:07:24'::timestamp) - extract(epoch from '2026-07-06 20:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481321 -3.688243)'), GeomFromEWKT('SRID=4674;POINT (-38.481341 -3.688374)'))) / (select extract(epoch from '2026-07-06 20:07:24'::timestamp) - extract(epoch from '2026-07-06 20:07: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.481381 -3.688554)', '2026-07-06 20:07:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481341 -3.688374)'), GeomFromEWKT('SRID=4674;POINT (-38.481381 -3.688554)'))) / (select extract(epoch from '2026-07-06 20:07:33'::timestamp) - extract(epoch from '2026-07-06 20:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481341 -3.688374)'), GeomFromEWKT('SRID=4674;POINT (-38.481381 -3.688554)'))) / (select extract(epoch from '2026-07-06 20:07:33'::timestamp) - extract(epoch from '2026-07-06 20:07: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.481397 -3.688688)', '2026-07-06 20:07:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481381 -3.688554)'), GeomFromEWKT('SRID=4674;POINT (-38.481397 -3.688688)'))) / (select extract(epoch from '2026-07-06 20:07:40'::timestamp) - extract(epoch from '2026-07-06 20:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481381 -3.688554)'), GeomFromEWKT('SRID=4674;POINT (-38.481397 -3.688688)'))) / (select extract(epoch from '2026-07-06 20:07:40'::timestamp) - extract(epoch from '2026-07-06 20:07: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.481428 -3.688838)', '2026-07-06 20:07:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481397 -3.688688)'), GeomFromEWKT('SRID=4674;POINT (-38.481428 -3.688838)'))) / (select extract(epoch from '2026-07-06 20:07:48'::timestamp) - extract(epoch from '2026-07-06 20:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481397 -3.688688)'), GeomFromEWKT('SRID=4674;POINT (-38.481428 -3.688838)'))) / (select extract(epoch from '2026-07-06 20:07:48'::timestamp) - extract(epoch from '2026-07-06 20:07: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.481453 -3.68893)', '2026-07-06 20:07:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481428 -3.688838)'), GeomFromEWKT('SRID=4674;POINT (-38.481453 -3.68893)'))) / (select extract(epoch from '2026-07-06 20:07:53'::timestamp) - extract(epoch from '2026-07-06 20:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481428 -3.688838)'), GeomFromEWKT('SRID=4674;POINT (-38.481453 -3.68893)'))) / (select extract(epoch from '2026-07-06 20:07:53'::timestamp) - extract(epoch from '2026-07-06 20:07: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.481491 -3.68906)', '2026-07-06 20:08:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481453 -3.68893)'), GeomFromEWKT('SRID=4674;POINT (-38.481491 -3.68906)'))) / (select extract(epoch from '2026-07-06 20:08:00'::timestamp) - extract(epoch from '2026-07-06 20:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481453 -3.68893)'), GeomFromEWKT('SRID=4674;POINT (-38.481491 -3.68906)'))) / (select extract(epoch from '2026-07-06 20:08:00'::timestamp) - extract(epoch from '2026-07-06 20:07: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.481513 -3.689193)', '2026-07-06 20:08:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481491 -3.68906)'), GeomFromEWKT('SRID=4674;POINT (-38.481513 -3.689193)'))) / (select extract(epoch from '2026-07-06 20:08:07'::timestamp) - extract(epoch from '2026-07-06 20:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481491 -3.68906)'), GeomFromEWKT('SRID=4674;POINT (-38.481513 -3.689193)'))) / (select extract(epoch from '2026-07-06 20:08:07'::timestamp) - extract(epoch from '2026-07-06 20:08: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.481518 -3.689298)', '2026-07-06 20:08:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481513 -3.689193)'), GeomFromEWKT('SRID=4674;POINT (-38.481518 -3.689298)'))) / (select extract(epoch from '2026-07-06 20:08:13'::timestamp) - extract(epoch from '2026-07-06 20:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481513 -3.689193)'), GeomFromEWKT('SRID=4674;POINT (-38.481518 -3.689298)'))) / (select extract(epoch from '2026-07-06 20:08:13'::timestamp) - extract(epoch from '2026-07-06 20:08: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.481537 -3.689404)', '2026-07-06 20:08:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481518 -3.689298)'), GeomFromEWKT('SRID=4674;POINT (-38.481537 -3.689404)'))) / (select extract(epoch from '2026-07-06 20:08:19'::timestamp) - extract(epoch from '2026-07-06 20:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481518 -3.689298)'), GeomFromEWKT('SRID=4674;POINT (-38.481537 -3.689404)'))) / (select extract(epoch from '2026-07-06 20:08:19'::timestamp) - extract(epoch from '2026-07-06 20:08:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.481576 -3.689504)', '2026-07-06 20:08:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481537 -3.689404)'), GeomFromEWKT('SRID=4674;POINT (-38.481576 -3.689504)'))) / (select extract(epoch from '2026-07-06 20:08:25'::timestamp) - extract(epoch from '2026-07-06 20:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481537 -3.689404)'), GeomFromEWKT('SRID=4674;POINT (-38.481576 -3.689504)'))) / (select extract(epoch from '2026-07-06 20:08:25'::timestamp) - extract(epoch from '2026-07-06 20:08:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.481618 -3.689627)', '2026-07-06 20:08:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481576 -3.689504)'), GeomFromEWKT('SRID=4674;POINT (-38.481618 -3.689627)'))) / (select extract(epoch from '2026-07-06 20:08:32'::timestamp) - extract(epoch from '2026-07-06 20:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481576 -3.689504)'), GeomFromEWKT('SRID=4674;POINT (-38.481618 -3.689627)'))) / (select extract(epoch from '2026-07-06 20:08:32'::timestamp) - extract(epoch from '2026-07-06 20:08: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.481656 -3.689749)', '2026-07-06 20:08:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481618 -3.689627)'), GeomFromEWKT('SRID=4674;POINT (-38.481656 -3.689749)'))) / (select extract(epoch from '2026-07-06 20:08:39'::timestamp) - extract(epoch from '2026-07-06 20:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481618 -3.689627)'), GeomFromEWKT('SRID=4674;POINT (-38.481656 -3.689749)'))) / (select extract(epoch from '2026-07-06 20:08:39'::timestamp) - extract(epoch from '2026-07-06 20:08:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.481698 -3.689891)', '2026-07-06 20:08:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481656 -3.689749)'), GeomFromEWKT('SRID=4674;POINT (-38.481698 -3.689891)'))) / (select extract(epoch from '2026-07-06 20:08:47'::timestamp) - extract(epoch from '2026-07-06 20:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481656 -3.689749)'), GeomFromEWKT('SRID=4674;POINT (-38.481698 -3.689891)'))) / (select extract(epoch from '2026-07-06 20:08:47'::timestamp) - extract(epoch from '2026-07-06 20:08:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.481743 -3.690014)', '2026-07-06 20:08:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481698 -3.689891)'), GeomFromEWKT('SRID=4674;POINT (-38.481743 -3.690014)'))) / (select extract(epoch from '2026-07-06 20:08:54'::timestamp) - extract(epoch from '2026-07-06 20:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481698 -3.689891)'), GeomFromEWKT('SRID=4674;POINT (-38.481743 -3.690014)'))) / (select extract(epoch from '2026-07-06 20:08:54'::timestamp) - extract(epoch from '2026-07-06 20:08: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.481783 -3.690118)', '2026-07-06 20:09:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481743 -3.690014)'), GeomFromEWKT('SRID=4674;POINT (-38.481783 -3.690118)'))) / (select extract(epoch from '2026-07-06 20:09:00'::timestamp) - extract(epoch from '2026-07-06 20:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481743 -3.690014)'), GeomFromEWKT('SRID=4674;POINT (-38.481783 -3.690118)'))) / (select extract(epoch from '2026-07-06 20:09:00'::timestamp) - extract(epoch from '2026-07-06 20:08: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.481829 -3.690247)', '2026-07-06 20:09:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481783 -3.690118)'), GeomFromEWKT('SRID=4674;POINT (-38.481829 -3.690247)'))) / (select extract(epoch from '2026-07-06 20:09:07'::timestamp) - extract(epoch from '2026-07-06 20:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481783 -3.690118)'), GeomFromEWKT('SRID=4674;POINT (-38.481829 -3.690247)'))) / (select extract(epoch from '2026-07-06 20:09:07'::timestamp) - extract(epoch from '2026-07-06 20:09: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.481866 -3.690386)', '2026-07-06 20:09:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481829 -3.690247)'), GeomFromEWKT('SRID=4674;POINT (-38.481866 -3.690386)'))) / (select extract(epoch from '2026-07-06 20:09:15'::timestamp) - extract(epoch from '2026-07-06 20:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481829 -3.690247)'), GeomFromEWKT('SRID=4674;POINT (-38.481866 -3.690386)'))) / (select extract(epoch from '2026-07-06 20:09:15'::timestamp) - extract(epoch from '2026-07-06 20:09:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.481916 -3.690518)', '2026-07-06 20:09:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481866 -3.690386)'), GeomFromEWKT('SRID=4674;POINT (-38.481916 -3.690518)'))) / (select extract(epoch from '2026-07-06 20:09:23'::timestamp) - extract(epoch from '2026-07-06 20:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481866 -3.690386)'), GeomFromEWKT('SRID=4674;POINT (-38.481916 -3.690518)'))) / (select extract(epoch from '2026-07-06 20:09:23'::timestamp) - extract(epoch from '2026-07-06 20:09: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.481953 -3.690607)', '2026-07-06 20:09:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481916 -3.690518)'), GeomFromEWKT('SRID=4674;POINT (-38.481953 -3.690607)'))) / (select extract(epoch from '2026-07-06 20:09:28'::timestamp) - extract(epoch from '2026-07-06 20:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481916 -3.690518)'), GeomFromEWKT('SRID=4674;POINT (-38.481953 -3.690607)'))) / (select extract(epoch from '2026-07-06 20:09:28'::timestamp) - extract(epoch from '2026-07-06 20:09: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.481993 -3.690733)', '2026-07-06 20:09:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481953 -3.690607)'), GeomFromEWKT('SRID=4674;POINT (-38.481993 -3.690733)'))) / (select extract(epoch from '2026-07-06 20:09:35'::timestamp) - extract(epoch from '2026-07-06 20:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481953 -3.690607)'), GeomFromEWKT('SRID=4674;POINT (-38.481993 -3.690733)'))) / (select extract(epoch from '2026-07-06 20:09:35'::timestamp) - extract(epoch from '2026-07-06 20:09: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.482031 -3.69086)', '2026-07-06 20:09:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481993 -3.690733)'), GeomFromEWKT('SRID=4674;POINT (-38.482031 -3.69086)'))) / (select extract(epoch from '2026-07-06 20:09:42'::timestamp) - extract(epoch from '2026-07-06 20:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481993 -3.690733)'), GeomFromEWKT('SRID=4674;POINT (-38.482031 -3.69086)'))) / (select extract(epoch from '2026-07-06 20:09:42'::timestamp) - extract(epoch from '2026-07-06 20:09: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.482061 -3.690986)', '2026-07-06 20:09:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482031 -3.69086)'), GeomFromEWKT('SRID=4674;POINT (-38.482061 -3.690986)'))) / (select extract(epoch from '2026-07-06 20:09:49'::timestamp) - extract(epoch from '2026-07-06 20:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482031 -3.69086)'), GeomFromEWKT('SRID=4674;POINT (-38.482061 -3.690986)'))) / (select extract(epoch from '2026-07-06 20:09:49'::timestamp) - extract(epoch from '2026-07-06 20: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.482085 -3.691116)', '2026-07-06 20:09:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482061 -3.690986)'), GeomFromEWKT('SRID=4674;POINT (-38.482085 -3.691116)'))) / (select extract(epoch from '2026-07-06 20:09:56'::timestamp) - extract(epoch from '2026-07-06 20:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482061 -3.690986)'), GeomFromEWKT('SRID=4674;POINT (-38.482085 -3.691116)'))) / (select extract(epoch from '2026-07-06 20:09:56'::timestamp) - extract(epoch from '2026-07-06 20:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.482111 -3.691259)', '2026-07-06 20:10:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482085 -3.691116)'), GeomFromEWKT('SRID=4674;POINT (-38.482111 -3.691259)'))) / (select extract(epoch from '2026-07-06 20:10:04'::timestamp) - extract(epoch from '2026-07-06 20:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482085 -3.691116)'), GeomFromEWKT('SRID=4674;POINT (-38.482111 -3.691259)'))) / (select extract(epoch from '2026-07-06 20:10:04'::timestamp) - extract(epoch from '2026-07-06 20: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.482152 -3.691397)', '2026-07-06 20:10:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482111 -3.691259)'), GeomFromEWKT('SRID=4674;POINT (-38.482152 -3.691397)'))) / (select extract(epoch from '2026-07-06 20:10:12'::timestamp) - extract(epoch from '2026-07-06 20:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482111 -3.691259)'), GeomFromEWKT('SRID=4674;POINT (-38.482152 -3.691397)'))) / (select extract(epoch from '2026-07-06 20:10:12'::timestamp) - extract(epoch from '2026-07-06 20:10:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.48217 -3.691495)', '2026-07-06 20:10:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482152 -3.691397)'), GeomFromEWKT('SRID=4674;POINT (-38.48217 -3.691495)'))) / (select extract(epoch from '2026-07-06 20:10:18'::timestamp) - extract(epoch from '2026-07-06 20:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482152 -3.691397)'), GeomFromEWKT('SRID=4674;POINT (-38.48217 -3.691495)'))) / (select extract(epoch from '2026-07-06 20:10:18'::timestamp) - extract(epoch from '2026-07-06 20:10: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.482197 -3.691612)', '2026-07-06 20:10:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48217 -3.691495)'), GeomFromEWKT('SRID=4674;POINT (-38.482197 -3.691612)'))) / (select extract(epoch from '2026-07-06 20:10:25'::timestamp) - extract(epoch from '2026-07-06 20:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48217 -3.691495)'), GeomFromEWKT('SRID=4674;POINT (-38.482197 -3.691612)'))) / (select extract(epoch from '2026-07-06 20:10:25'::timestamp) - extract(epoch from '2026-07-06 20:10: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.482222 -3.691736)', '2026-07-06 20:10:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482197 -3.691612)'), GeomFromEWKT('SRID=4674;POINT (-38.482222 -3.691736)'))) / (select extract(epoch from '2026-07-06 20:10:32'::timestamp) - extract(epoch from '2026-07-06 20:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482197 -3.691612)'), GeomFromEWKT('SRID=4674;POINT (-38.482222 -3.691736)'))) / (select extract(epoch from '2026-07-06 20:10:32'::timestamp) - extract(epoch from '2026-07-06 20:10: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.482248 -3.69184)', '2026-07-06 20:10:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482222 -3.691736)'), GeomFromEWKT('SRID=4674;POINT (-38.482248 -3.69184)'))) / (select extract(epoch from '2026-07-06 20:10:38'::timestamp) - extract(epoch from '2026-07-06 20:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482222 -3.691736)'), GeomFromEWKT('SRID=4674;POINT (-38.482248 -3.69184)'))) / (select extract(epoch from '2026-07-06 20:10:38'::timestamp) - extract(epoch from '2026-07-06 20:10: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.482265 -3.691918)', '2026-07-06 20:10:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482248 -3.69184)'), GeomFromEWKT('SRID=4674;POINT (-38.482265 -3.691918)'))) / (select extract(epoch from '2026-07-06 20:10:43'::timestamp) - extract(epoch from '2026-07-06 20:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482248 -3.69184)'), GeomFromEWKT('SRID=4674;POINT (-38.482265 -3.691918)'))) / (select extract(epoch from '2026-07-06 20:10:43'::timestamp) - extract(epoch from '2026-07-06 20:10: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.4823 -3.692032)', '2026-07-06 20:10:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482265 -3.691918)'), GeomFromEWKT('SRID=4674;POINT (-38.4823 -3.692032)'))) / (select extract(epoch from '2026-07-06 20:10:50'::timestamp) - extract(epoch from '2026-07-06 20:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482265 -3.691918)'), GeomFromEWKT('SRID=4674;POINT (-38.4823 -3.692032)'))) / (select extract(epoch from '2026-07-06 20:10:50'::timestamp) - extract(epoch from '2026-07-06 20:10: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.482319 -3.692137)', '2026-07-06 20:10:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4823 -3.692032)'), GeomFromEWKT('SRID=4674;POINT (-38.482319 -3.692137)'))) / (select extract(epoch from '2026-07-06 20:10:57'::timestamp) - extract(epoch from '2026-07-06 20:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4823 -3.692032)'), GeomFromEWKT('SRID=4674;POINT (-38.482319 -3.692137)'))) / (select extract(epoch from '2026-07-06 20:10:57'::timestamp) - extract(epoch from '2026-07-06 20:10: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.482339 -3.692236)', '2026-07-06 20:11:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482319 -3.692137)'), GeomFromEWKT('SRID=4674;POINT (-38.482339 -3.692236)'))) / (select extract(epoch from '2026-07-06 20:11:03'::timestamp) - extract(epoch from '2026-07-06 20:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482319 -3.692137)'), GeomFromEWKT('SRID=4674;POINT (-38.482339 -3.692236)'))) / (select extract(epoch from '2026-07-06 20:11:03'::timestamp) - extract(epoch from '2026-07-06 20:10:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.482364 -3.692346)', '2026-07-06 20:11:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482339 -3.692236)'), GeomFromEWKT('SRID=4674;POINT (-38.482364 -3.692346)'))) / (select extract(epoch from '2026-07-06 20:11:10'::timestamp) - extract(epoch from '2026-07-06 20:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482339 -3.692236)'), GeomFromEWKT('SRID=4674;POINT (-38.482364 -3.692346)'))) / (select extract(epoch from '2026-07-06 20:11:10'::timestamp) - extract(epoch from '2026-07-06 20:11: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.482403 -3.692491)', '2026-07-06 20:11:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482364 -3.692346)'), GeomFromEWKT('SRID=4674;POINT (-38.482403 -3.692491)'))) / (select extract(epoch from '2026-07-06 20:11:18'::timestamp) - extract(epoch from '2026-07-06 20:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482364 -3.692346)'), GeomFromEWKT('SRID=4674;POINT (-38.482403 -3.692491)'))) / (select extract(epoch from '2026-07-06 20:11:18'::timestamp) - extract(epoch from '2026-07-06 20:11: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.482444 -3.69265)', '2026-07-06 20:11:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482403 -3.692491)'), GeomFromEWKT('SRID=4674;POINT (-38.482444 -3.69265)'))) / (select extract(epoch from '2026-07-06 20:11:27'::timestamp) - extract(epoch from '2026-07-06 20:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482403 -3.692491)'), GeomFromEWKT('SRID=4674;POINT (-38.482444 -3.69265)'))) / (select extract(epoch from '2026-07-06 20:11:27'::timestamp) - extract(epoch from '2026-07-06 20:11:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.482471 -3.692793)', '2026-07-06 20:11:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482444 -3.69265)'), GeomFromEWKT('SRID=4674;POINT (-38.482471 -3.692793)'))) / (select extract(epoch from '2026-07-06 20:11:35'::timestamp) - extract(epoch from '2026-07-06 20:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482444 -3.69265)'), GeomFromEWKT('SRID=4674;POINT (-38.482471 -3.692793)'))) / (select extract(epoch from '2026-07-06 20:11:35'::timestamp) - extract(epoch from '2026-07-06 20: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.48251 -3.692936)', '2026-07-06 20:11:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482471 -3.692793)'), GeomFromEWKT('SRID=4674;POINT (-38.48251 -3.692936)'))) / (select extract(epoch from '2026-07-06 20:11:43'::timestamp) - extract(epoch from '2026-07-06 20:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482471 -3.692793)'), GeomFromEWKT('SRID=4674;POINT (-38.48251 -3.692936)'))) / (select extract(epoch from '2026-07-06 20:11:43'::timestamp) - extract(epoch from '2026-07-06 20:11: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.482542 -3.693033)', '2026-07-06 20:11:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48251 -3.692936)'), GeomFromEWKT('SRID=4674;POINT (-38.482542 -3.693033)'))) / (select extract(epoch from '2026-07-06 20:11:49'::timestamp) - extract(epoch from '2026-07-06 20:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48251 -3.692936)'), GeomFromEWKT('SRID=4674;POINT (-38.482542 -3.693033)'))) / (select extract(epoch from '2026-07-06 20:11:49'::timestamp) - extract(epoch from '2026-07-06 20:11: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.482581 -3.693135)', '2026-07-06 20:11:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482542 -3.693033)'), GeomFromEWKT('SRID=4674;POINT (-38.482581 -3.693135)'))) / (select extract(epoch from '2026-07-06 20:11:55'::timestamp) - extract(epoch from '2026-07-06 20:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482542 -3.693033)'), GeomFromEWKT('SRID=4674;POINT (-38.482581 -3.693135)'))) / (select extract(epoch from '2026-07-06 20:11:55'::timestamp) - extract(epoch from '2026-07-06 20:11:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.482618 -3.693264)', '2026-07-06 20:12:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482581 -3.693135)'), GeomFromEWKT('SRID=4674;POINT (-38.482618 -3.693264)'))) / (select extract(epoch from '2026-07-06 20:12:02'::timestamp) - extract(epoch from '2026-07-06 20:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482581 -3.693135)'), GeomFromEWKT('SRID=4674;POINT (-38.482618 -3.693264)'))) / (select extract(epoch from '2026-07-06 20:12:02'::timestamp) - extract(epoch from '2026-07-06 20:11: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.482646 -3.693382)', '2026-07-06 20:12:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482618 -3.693264)'), GeomFromEWKT('SRID=4674;POINT (-38.482646 -3.693382)'))) / (select extract(epoch from '2026-07-06 20:12:08'::timestamp) - extract(epoch from '2026-07-06 20:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482618 -3.693264)'), GeomFromEWKT('SRID=4674;POINT (-38.482646 -3.693382)'))) / (select extract(epoch from '2026-07-06 20:12:08'::timestamp) - extract(epoch from '2026-07-06 20:12: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.482692 -3.693547)', '2026-07-06 20:12:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482646 -3.693382)'), GeomFromEWKT('SRID=4674;POINT (-38.482692 -3.693547)'))) / (select extract(epoch from '2026-07-06 20:12:17'::timestamp) - extract(epoch from '2026-07-06 20:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482646 -3.693382)'), GeomFromEWKT('SRID=4674;POINT (-38.482692 -3.693547)'))) / (select extract(epoch from '2026-07-06 20:12:17'::timestamp) - extract(epoch from '2026-07-06 20: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.48273 -3.693671)', '2026-07-06 20:12:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482692 -3.693547)'), GeomFromEWKT('SRID=4674;POINT (-38.48273 -3.693671)'))) / (select extract(epoch from '2026-07-06 20:12:24'::timestamp) - extract(epoch from '2026-07-06 20:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482692 -3.693547)'), GeomFromEWKT('SRID=4674;POINT (-38.48273 -3.693671)'))) / (select extract(epoch from '2026-07-06 20:12:24'::timestamp) - extract(epoch from '2026-07-06 20: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.482768 -3.693789)', '2026-07-06 20:12:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48273 -3.693671)'), GeomFromEWKT('SRID=4674;POINT (-38.482768 -3.693789)'))) / (select extract(epoch from '2026-07-06 20:12:31'::timestamp) - extract(epoch from '2026-07-06 20:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48273 -3.693671)'), GeomFromEWKT('SRID=4674;POINT (-38.482768 -3.693789)'))) / (select extract(epoch from '2026-07-06 20:12:31'::timestamp) - extract(epoch from '2026-07-06 20: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.482813 -3.693924)', '2026-07-06 20:12:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482768 -3.693789)'), GeomFromEWKT('SRID=4674;POINT (-38.482813 -3.693924)'))) / (select extract(epoch from '2026-07-06 20:12:39'::timestamp) - extract(epoch from '2026-07-06 20:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482768 -3.693789)'), GeomFromEWKT('SRID=4674;POINT (-38.482813 -3.693924)'))) / (select extract(epoch from '2026-07-06 20:12:39'::timestamp) - extract(epoch from '2026-07-06 20:12: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.482863 -3.694068)', '2026-07-06 20:12:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482813 -3.693924)'), GeomFromEWKT('SRID=4674;POINT (-38.482863 -3.694068)'))) / (select extract(epoch from '2026-07-06 20:12:47'::timestamp) - extract(epoch from '2026-07-06 20:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482813 -3.693924)'), GeomFromEWKT('SRID=4674;POINT (-38.482863 -3.694068)'))) / (select extract(epoch from '2026-07-06 20:12:47'::timestamp) - extract(epoch from '2026-07-06 20:12:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.482914 -3.694215)', '2026-07-06 20:12:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482863 -3.694068)'), GeomFromEWKT('SRID=4674;POINT (-38.482914 -3.694215)'))) / (select extract(epoch from '2026-07-06 20:12:55'::timestamp) - extract(epoch from '2026-07-06 20:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482863 -3.694068)'), GeomFromEWKT('SRID=4674;POINT (-38.482914 -3.694215)'))) / (select extract(epoch from '2026-07-06 20:12:55'::timestamp) - extract(epoch from '2026-07-06 20:12: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.482963 -3.694369)', '2026-07-06 20:13:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482914 -3.694215)'), GeomFromEWKT('SRID=4674;POINT (-38.482963 -3.694369)'))) / (select extract(epoch from '2026-07-06 20:13:04'::timestamp) - extract(epoch from '2026-07-06 20:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482914 -3.694215)'), GeomFromEWKT('SRID=4674;POINT (-38.482963 -3.694369)'))) / (select extract(epoch from '2026-07-06 20:13:04'::timestamp) - extract(epoch from '2026-07-06 20: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.482997 -3.69454)', '2026-07-06 20:13:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482963 -3.694369)'), GeomFromEWKT('SRID=4674;POINT (-38.482997 -3.69454)'))) / (select extract(epoch from '2026-07-06 20:13:14'::timestamp) - extract(epoch from '2026-07-06 20:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482963 -3.694369)'), GeomFromEWKT('SRID=4674;POINT (-38.482997 -3.69454)'))) / (select extract(epoch from '2026-07-06 20:13:14'::timestamp) - extract(epoch from '2026-07-06 20:13:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.483039 -3.694688)', '2026-07-06 20:13:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482997 -3.69454)'), GeomFromEWKT('SRID=4674;POINT (-38.483039 -3.694688)'))) / (select extract(epoch from '2026-07-06 20:13:22'::timestamp) - extract(epoch from '2026-07-06 20:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482997 -3.69454)'), GeomFromEWKT('SRID=4674;POINT (-38.483039 -3.694688)'))) / (select extract(epoch from '2026-07-06 20:13:22'::timestamp) - extract(epoch from '2026-07-06 20:13: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.483062 -3.694776)', '2026-07-06 20:13:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483039 -3.694688)'), GeomFromEWKT('SRID=4674;POINT (-38.483062 -3.694776)'))) / (select extract(epoch from '2026-07-06 20:13:27'::timestamp) - extract(epoch from '2026-07-06 20:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483039 -3.694688)'), GeomFromEWKT('SRID=4674;POINT (-38.483062 -3.694776)'))) / (select extract(epoch from '2026-07-06 20:13:27'::timestamp) - extract(epoch from '2026-07-06 20:13: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.483079 -3.694859)', '2026-07-06 20:13:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483062 -3.694776)'), GeomFromEWKT('SRID=4674;POINT (-38.483079 -3.694859)'))) / (select extract(epoch from '2026-07-06 20:13:32'::timestamp) - extract(epoch from '2026-07-06 20:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483062 -3.694776)'), GeomFromEWKT('SRID=4674;POINT (-38.483079 -3.694859)'))) / (select extract(epoch from '2026-07-06 20:13:32'::timestamp) - extract(epoch from '2026-07-06 20:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.48311 -3.694968)', '2026-07-06 20:13:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483079 -3.694859)'), GeomFromEWKT('SRID=4674;POINT (-38.48311 -3.694968)'))) / (select extract(epoch from '2026-07-06 20:13:38'::timestamp) - extract(epoch from '2026-07-06 20:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483079 -3.694859)'), GeomFromEWKT('SRID=4674;POINT (-38.48311 -3.694968)'))) / (select extract(epoch from '2026-07-06 20:13:38'::timestamp) - extract(epoch from '2026-07-06 20:13: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.483151 -3.695111)', '2026-07-06 20:13:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48311 -3.694968)'), GeomFromEWKT('SRID=4674;POINT (-38.483151 -3.695111)'))) / (select extract(epoch from '2026-07-06 20:13:46'::timestamp) - extract(epoch from '2026-07-06 20:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48311 -3.694968)'), GeomFromEWKT('SRID=4674;POINT (-38.483151 -3.695111)'))) / (select extract(epoch from '2026-07-06 20:13:46'::timestamp) - extract(epoch from '2026-07-06 20: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.483183 -3.695237)', '2026-07-06 20:13:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483151 -3.695111)'), GeomFromEWKT('SRID=4674;POINT (-38.483183 -3.695237)'))) / (select extract(epoch from '2026-07-06 20:13:53'::timestamp) - extract(epoch from '2026-07-06 20:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483151 -3.695111)'), GeomFromEWKT('SRID=4674;POINT (-38.483183 -3.695237)'))) / (select extract(epoch from '2026-07-06 20:13:53'::timestamp) - extract(epoch from '2026-07-06 20:13: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.483197 -3.695356)', '2026-07-06 20:14:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483183 -3.695237)'), GeomFromEWKT('SRID=4674;POINT (-38.483197 -3.695356)'))) / (select extract(epoch from '2026-07-06 20:14:00'::timestamp) - extract(epoch from '2026-07-06 20:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483183 -3.695237)'), GeomFromEWKT('SRID=4674;POINT (-38.483197 -3.695356)'))) / (select extract(epoch from '2026-07-06 20:14:00'::timestamp) - extract(epoch from '2026-07-06 20:13: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.483228 -3.695496)', '2026-07-06 20:14:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483197 -3.695356)'), GeomFromEWKT('SRID=4674;POINT (-38.483228 -3.695496)'))) / (select extract(epoch from '2026-07-06 20:14:08'::timestamp) - extract(epoch from '2026-07-06 20:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483197 -3.695356)'), GeomFromEWKT('SRID=4674;POINT (-38.483228 -3.695496)'))) / (select extract(epoch from '2026-07-06 20:14:08'::timestamp) - extract(epoch from '2026-07-06 20:14: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.483257 -3.695601)', '2026-07-06 20:14:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483228 -3.695496)'), GeomFromEWKT('SRID=4674;POINT (-38.483257 -3.695601)'))) / (select extract(epoch from '2026-07-06 20:14:14'::timestamp) - extract(epoch from '2026-07-06 20:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483228 -3.695496)'), GeomFromEWKT('SRID=4674;POINT (-38.483257 -3.695601)'))) / (select extract(epoch from '2026-07-06 20:14:14'::timestamp) - extract(epoch from '2026-07-06 20:14:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.483282 -3.695727)', '2026-07-06 20:14:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483257 -3.695601)'), GeomFromEWKT('SRID=4674;POINT (-38.483282 -3.695727)'))) / (select extract(epoch from '2026-07-06 20:14:21'::timestamp) - extract(epoch from '2026-07-06 20:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483257 -3.695601)'), GeomFromEWKT('SRID=4674;POINT (-38.483282 -3.695727)'))) / (select extract(epoch from '2026-07-06 20:14:21'::timestamp) - extract(epoch from '2026-07-06 20:14:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.483315 -3.69586)', '2026-07-06 20:14:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483282 -3.695727)'), GeomFromEWKT('SRID=4674;POINT (-38.483315 -3.69586)'))) / (select extract(epoch from '2026-07-06 20:14:28'::timestamp) - extract(epoch from '2026-07-06 20:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483282 -3.695727)'), GeomFromEWKT('SRID=4674;POINT (-38.483315 -3.69586)'))) / (select extract(epoch from '2026-07-06 20:14:28'::timestamp) - extract(epoch from '2026-07-06 20:14:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.48333 -3.695986)', '2026-07-06 20:14:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483315 -3.69586)'), GeomFromEWKT('SRID=4674;POINT (-38.48333 -3.695986)'))) / (select extract(epoch from '2026-07-06 20:14:35'::timestamp) - extract(epoch from '2026-07-06 20:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483315 -3.69586)'), GeomFromEWKT('SRID=4674;POINT (-38.48333 -3.695986)'))) / (select extract(epoch from '2026-07-06 20:14:35'::timestamp) - extract(epoch from '2026-07-06 20:14: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.483347 -3.696103)', '2026-07-06 20:14:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48333 -3.695986)'), GeomFromEWKT('SRID=4674;POINT (-38.483347 -3.696103)'))) / (select extract(epoch from '2026-07-06 20:14:42'::timestamp) - extract(epoch from '2026-07-06 20:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48333 -3.695986)'), GeomFromEWKT('SRID=4674;POINT (-38.483347 -3.696103)'))) / (select extract(epoch from '2026-07-06 20:14:42'::timestamp) - extract(epoch from '2026-07-06 20:14: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.483369 -3.696237)', '2026-07-06 20:14:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483347 -3.696103)'), GeomFromEWKT('SRID=4674;POINT (-38.483369 -3.696237)'))) / (select extract(epoch from '2026-07-06 20:14:50'::timestamp) - extract(epoch from '2026-07-06 20:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483347 -3.696103)'), GeomFromEWKT('SRID=4674;POINT (-38.483369 -3.696237)'))) / (select extract(epoch from '2026-07-06 20:14:50'::timestamp) - extract(epoch from '2026-07-06 20:14: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.483391 -3.696351)', '2026-07-06 20:14:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483369 -3.696237)'), GeomFromEWKT('SRID=4674;POINT (-38.483391 -3.696351)'))) / (select extract(epoch from '2026-07-06 20:14:57'::timestamp) - extract(epoch from '2026-07-06 20:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483369 -3.696237)'), GeomFromEWKT('SRID=4674;POINT (-38.483391 -3.696351)'))) / (select extract(epoch from '2026-07-06 20:14:57'::timestamp) - extract(epoch from '2026-07-06 20:14: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.48343 -3.696474)', '2026-07-06 20:15:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483391 -3.696351)'), GeomFromEWKT('SRID=4674;POINT (-38.48343 -3.696474)'))) / (select extract(epoch from '2026-07-06 20:15:04'::timestamp) - extract(epoch from '2026-07-06 20:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483391 -3.696351)'), GeomFromEWKT('SRID=4674;POINT (-38.48343 -3.696474)'))) / (select extract(epoch from '2026-07-06 20:15:04'::timestamp) - extract(epoch from '2026-07-06 20: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.483469 -3.696594)', '2026-07-06 20:15:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48343 -3.696474)'), GeomFromEWKT('SRID=4674;POINT (-38.483469 -3.696594)'))) / (select extract(epoch from '2026-07-06 20:15:11'::timestamp) - extract(epoch from '2026-07-06 20:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48343 -3.696474)'), GeomFromEWKT('SRID=4674;POINT (-38.483469 -3.696594)'))) / (select extract(epoch from '2026-07-06 20:15:11'::timestamp) - extract(epoch from '2026-07-06 20:15:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.483501 -3.696737)', '2026-07-06 20:15:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483469 -3.696594)'), GeomFromEWKT('SRID=4674;POINT (-38.483501 -3.696737)'))) / (select extract(epoch from '2026-07-06 20:15:19'::timestamp) - extract(epoch from '2026-07-06 20:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483469 -3.696594)'), GeomFromEWKT('SRID=4674;POINT (-38.483501 -3.696737)'))) / (select extract(epoch from '2026-07-06 20:15:19'::timestamp) - extract(epoch from '2026-07-06 20:15: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.483525 -3.696824)', '2026-07-06 20:15:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483501 -3.696737)'), GeomFromEWKT('SRID=4674;POINT (-38.483525 -3.696824)'))) / (select extract(epoch from '2026-07-06 20:15:24'::timestamp) - extract(epoch from '2026-07-06 20:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483501 -3.696737)'), GeomFromEWKT('SRID=4674;POINT (-38.483525 -3.696824)'))) / (select extract(epoch from '2026-07-06 20:15:24'::timestamp) - extract(epoch from '2026-07-06 20:15: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.483567 -3.696975)', '2026-07-06 20:15:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483525 -3.696824)'), GeomFromEWKT('SRID=4674;POINT (-38.483567 -3.696975)'))) / (select extract(epoch from '2026-07-06 20:15:32'::timestamp) - extract(epoch from '2026-07-06 20:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483525 -3.696824)'), GeomFromEWKT('SRID=4674;POINT (-38.483567 -3.696975)'))) / (select extract(epoch from '2026-07-06 20:15:32'::timestamp) - extract(epoch from '2026-07-06 20:15: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.483597 -3.697092)', '2026-07-06 20:15:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483567 -3.696975)'), GeomFromEWKT('SRID=4674;POINT (-38.483597 -3.697092)'))) / (select extract(epoch from '2026-07-06 20:15:38'::timestamp) - extract(epoch from '2026-07-06 20:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483567 -3.696975)'), GeomFromEWKT('SRID=4674;POINT (-38.483597 -3.697092)'))) / (select extract(epoch from '2026-07-06 20:15:38'::timestamp) - extract(epoch from '2026-07-06 20: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.48363 -3.697206)', '2026-07-06 20:15:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483597 -3.697092)'), GeomFromEWKT('SRID=4674;POINT (-38.48363 -3.697206)'))) / (select extract(epoch from '2026-07-06 20:15:44'::timestamp) - extract(epoch from '2026-07-06 20:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483597 -3.697092)'), GeomFromEWKT('SRID=4674;POINT (-38.48363 -3.697206)'))) / (select extract(epoch from '2026-07-06 20:15:44'::timestamp) - extract(epoch from '2026-07-06 20:15: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.483654 -3.697299)', '2026-07-06 20:15:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48363 -3.697206)'), GeomFromEWKT('SRID=4674;POINT (-38.483654 -3.697299)'))) / (select extract(epoch from '2026-07-06 20:15:49'::timestamp) - extract(epoch from '2026-07-06 20:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48363 -3.697206)'), GeomFromEWKT('SRID=4674;POINT (-38.483654 -3.697299)'))) / (select extract(epoch from '2026-07-06 20:15:49'::timestamp) - extract(epoch from '2026-07-06 20: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.483704 -3.697462)', '2026-07-06 20:15:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483654 -3.697299)'), GeomFromEWKT('SRID=4674;POINT (-38.483704 -3.697462)'))) / (select extract(epoch from '2026-07-06 20:15:58'::timestamp) - extract(epoch from '2026-07-06 20:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483654 -3.697299)'), GeomFromEWKT('SRID=4674;POINT (-38.483704 -3.697462)'))) / (select extract(epoch from '2026-07-06 20:15:58'::timestamp) - extract(epoch from '2026-07-06 20: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.483746 -3.697599)', '2026-07-06 20:16:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483704 -3.697462)'), GeomFromEWKT('SRID=4674;POINT (-38.483746 -3.697599)'))) / (select extract(epoch from '2026-07-06 20:16:05'::timestamp) - extract(epoch from '2026-07-06 20:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483704 -3.697462)'), GeomFromEWKT('SRID=4674;POINT (-38.483746 -3.697599)'))) / (select extract(epoch from '2026-07-06 20:16:05'::timestamp) - extract(epoch from '2026-07-06 20:15:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.483789 -3.697756)', '2026-07-06 20:16:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483746 -3.697599)'), GeomFromEWKT('SRID=4674;POINT (-38.483789 -3.697756)'))) / (select extract(epoch from '2026-07-06 20:16:13'::timestamp) - extract(epoch from '2026-07-06 20:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483746 -3.697599)'), GeomFromEWKT('SRID=4674;POINT (-38.483789 -3.697756)'))) / (select extract(epoch from '2026-07-06 20:16:13'::timestamp) - extract(epoch from '2026-07-06 20:16: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.483821 -3.69789)', '2026-07-06 20:16:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483789 -3.697756)'), GeomFromEWKT('SRID=4674;POINT (-38.483821 -3.69789)'))) / (select extract(epoch from '2026-07-06 20:16:20'::timestamp) - extract(epoch from '2026-07-06 20:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483789 -3.697756)'), GeomFromEWKT('SRID=4674;POINT (-38.483821 -3.69789)'))) / (select extract(epoch from '2026-07-06 20:16:20'::timestamp) - extract(epoch from '2026-07-06 20: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.483875 -3.698063)', '2026-07-06 20:16:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483821 -3.69789)'), GeomFromEWKT('SRID=4674;POINT (-38.483875 -3.698063)'))) / (select extract(epoch from '2026-07-06 20:16:29'::timestamp) - extract(epoch from '2026-07-06 20:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483821 -3.69789)'), GeomFromEWKT('SRID=4674;POINT (-38.483875 -3.698063)'))) / (select extract(epoch from '2026-07-06 20:16:29'::timestamp) - extract(epoch from '2026-07-06 20:16: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.483918 -3.698216)', '2026-07-06 20:16:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483875 -3.698063)'), GeomFromEWKT('SRID=4674;POINT (-38.483918 -3.698216)'))) / (select extract(epoch from '2026-07-06 20:16:37'::timestamp) - extract(epoch from '2026-07-06 20:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483875 -3.698063)'), GeomFromEWKT('SRID=4674;POINT (-38.483918 -3.698216)'))) / (select extract(epoch from '2026-07-06 20:16:37'::timestamp) - extract(epoch from '2026-07-06 20: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.483959 -3.698368)', '2026-07-06 20:16:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483918 -3.698216)'), GeomFromEWKT('SRID=4674;POINT (-38.483959 -3.698368)'))) / (select extract(epoch from '2026-07-06 20:16:45'::timestamp) - extract(epoch from '2026-07-06 20:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483918 -3.698216)'), GeomFromEWKT('SRID=4674;POINT (-38.483959 -3.698368)'))) / (select extract(epoch from '2026-07-06 20:16:45'::timestamp) - extract(epoch from '2026-07-06 20:16: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.48401 -3.698486)', '2026-07-06 20:16:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483959 -3.698368)'), GeomFromEWKT('SRID=4674;POINT (-38.48401 -3.698486)'))) / (select extract(epoch from '2026-07-06 20:16:51'::timestamp) - extract(epoch from '2026-07-06 20:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483959 -3.698368)'), GeomFromEWKT('SRID=4674;POINT (-38.48401 -3.698486)'))) / (select extract(epoch from '2026-07-06 20:16:51'::timestamp) - extract(epoch from '2026-07-06 20:16: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.484059 -3.698619)', '2026-07-06 20:16:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48401 -3.698486)'), GeomFromEWKT('SRID=4674;POINT (-38.484059 -3.698619)'))) / (select extract(epoch from '2026-07-06 20:16:58'::timestamp) - extract(epoch from '2026-07-06 20:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48401 -3.698486)'), GeomFromEWKT('SRID=4674;POINT (-38.484059 -3.698619)'))) / (select extract(epoch from '2026-07-06 20:16:58'::timestamp) - extract(epoch from '2026-07-06 20:16: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.484099 -3.698746)', '2026-07-06 20:17:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484059 -3.698619)'), GeomFromEWKT('SRID=4674;POINT (-38.484099 -3.698746)'))) / (select extract(epoch from '2026-07-06 20:17:05'::timestamp) - extract(epoch from '2026-07-06 20:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484059 -3.698619)'), GeomFromEWKT('SRID=4674;POINT (-38.484099 -3.698746)'))) / (select extract(epoch from '2026-07-06 20:17:05'::timestamp) - extract(epoch from '2026-07-06 20:16:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.484126 -3.698884)', '2026-07-06 20:17:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484099 -3.698746)'), GeomFromEWKT('SRID=4674;POINT (-38.484126 -3.698884)'))) / (select extract(epoch from '2026-07-06 20:17:13'::timestamp) - extract(epoch from '2026-07-06 20:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484099 -3.698746)'), GeomFromEWKT('SRID=4674;POINT (-38.484126 -3.698884)'))) / (select extract(epoch from '2026-07-06 20:17:13'::timestamp) - extract(epoch from '2026-07-06 20:17: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.48416 -3.699027)', '2026-07-06 20:17:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484126 -3.698884)'), GeomFromEWKT('SRID=4674;POINT (-38.48416 -3.699027)'))) / (select extract(epoch from '2026-07-06 20:17:22'::timestamp) - extract(epoch from '2026-07-06 20:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484126 -3.698884)'), GeomFromEWKT('SRID=4674;POINT (-38.48416 -3.699027)'))) / (select extract(epoch from '2026-07-06 20:17:22'::timestamp) - extract(epoch from '2026-07-06 20:17: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.484225 -3.69917)', '2026-07-06 20:17:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48416 -3.699027)'), GeomFromEWKT('SRID=4674;POINT (-38.484225 -3.69917)'))) / (select extract(epoch from '2026-07-06 20:17:31'::timestamp) - extract(epoch from '2026-07-06 20:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48416 -3.699027)'), GeomFromEWKT('SRID=4674;POINT (-38.484225 -3.69917)'))) / (select extract(epoch from '2026-07-06 20:17:31'::timestamp) - extract(epoch from '2026-07-06 20: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.484262 -3.69932)', '2026-07-06 20:17:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484225 -3.69917)'), GeomFromEWKT('SRID=4674;POINT (-38.484262 -3.69932)'))) / (select extract(epoch from '2026-07-06 20:17:39'::timestamp) - extract(epoch from '2026-07-06 20:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484225 -3.69917)'), GeomFromEWKT('SRID=4674;POINT (-38.484262 -3.69932)'))) / (select extract(epoch from '2026-07-06 20:17:39'::timestamp) - extract(epoch from '2026-07-06 20:17: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.484299 -3.699478)', '2026-07-06 20:17:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484262 -3.69932)'), GeomFromEWKT('SRID=4674;POINT (-38.484299 -3.699478)'))) / (select extract(epoch from '2026-07-06 20:17:48'::timestamp) - extract(epoch from '2026-07-06 20:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484262 -3.69932)'), GeomFromEWKT('SRID=4674;POINT (-38.484299 -3.699478)'))) / (select extract(epoch from '2026-07-06 20:17:48'::timestamp) - extract(epoch from '2026-07-06 20: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.484322 -3.699594)', '2026-07-06 20:17:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484299 -3.699478)'), GeomFromEWKT('SRID=4674;POINT (-38.484322 -3.699594)'))) / (select extract(epoch from '2026-07-06 20:17:55'::timestamp) - extract(epoch from '2026-07-06 20:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484299 -3.699478)'), GeomFromEWKT('SRID=4674;POINT (-38.484322 -3.699594)'))) / (select extract(epoch from '2026-07-06 20:17:55'::timestamp) - extract(epoch from '2026-07-06 20: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.484352 -3.699738)', '2026-07-06 20:18:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484322 -3.699594)'), GeomFromEWKT('SRID=4674;POINT (-38.484352 -3.699738)'))) / (select extract(epoch from '2026-07-06 20:18:04'::timestamp) - extract(epoch from '2026-07-06 20:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484322 -3.699594)'), GeomFromEWKT('SRID=4674;POINT (-38.484352 -3.699738)'))) / (select extract(epoch from '2026-07-06 20:18:04'::timestamp) - extract(epoch from '2026-07-06 20:17: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.484374 -3.699904)', '2026-07-06 20:18:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484352 -3.699738)'), GeomFromEWKT('SRID=4674;POINT (-38.484374 -3.699904)'))) / (select extract(epoch from '2026-07-06 20:18:14'::timestamp) - extract(epoch from '2026-07-06 20:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484352 -3.699738)'), GeomFromEWKT('SRID=4674;POINT (-38.484374 -3.699904)'))) / (select extract(epoch from '2026-07-06 20:18:14'::timestamp) - extract(epoch from '2026-07-06 20:18: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.484384 -3.70005)', '2026-07-06 20:18:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484374 -3.699904)'), GeomFromEWKT('SRID=4674;POINT (-38.484384 -3.70005)'))) / (select extract(epoch from '2026-07-06 20:18:22'::timestamp) - extract(epoch from '2026-07-06 20:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484374 -3.699904)'), GeomFromEWKT('SRID=4674;POINT (-38.484384 -3.70005)'))) / (select extract(epoch from '2026-07-06 20:18:22'::timestamp) - extract(epoch from '2026-07-06 20:18: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.484378 -3.700187)', '2026-07-06 20:18:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484384 -3.70005)'), GeomFromEWKT('SRID=4674;POINT (-38.484378 -3.700187)'))) / (select extract(epoch from '2026-07-06 20:18:31'::timestamp) - extract(epoch from '2026-07-06 20:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484384 -3.70005)'), GeomFromEWKT('SRID=4674;POINT (-38.484378 -3.700187)'))) / (select extract(epoch from '2026-07-06 20:18:31'::timestamp) - extract(epoch from '2026-07-06 20:18: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.484391 -3.700322)', '2026-07-06 20:18:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484378 -3.700187)'), GeomFromEWKT('SRID=4674;POINT (-38.484391 -3.700322)'))) / (select extract(epoch from '2026-07-06 20:18:40'::timestamp) - extract(epoch from '2026-07-06 20:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484378 -3.700187)'), GeomFromEWKT('SRID=4674;POINT (-38.484391 -3.700322)'))) / (select extract(epoch from '2026-07-06 20:18:40'::timestamp) - extract(epoch from '2026-07-06 20:18: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.484421 -3.700429)', '2026-07-06 20:18:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484391 -3.700322)'), GeomFromEWKT('SRID=4674;POINT (-38.484421 -3.700429)'))) / (select extract(epoch from '2026-07-06 20:18:47'::timestamp) - extract(epoch from '2026-07-06 20:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484391 -3.700322)'), GeomFromEWKT('SRID=4674;POINT (-38.484421 -3.700429)'))) / (select extract(epoch from '2026-07-06 20:18:47'::timestamp) - extract(epoch from '2026-07-06 20: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.48445 -3.700536)', '2026-07-06 20:18:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484421 -3.700429)'), GeomFromEWKT('SRID=4674;POINT (-38.48445 -3.700536)'))) / (select extract(epoch from '2026-07-06 20:18:54'::timestamp) - extract(epoch from '2026-07-06 20:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484421 -3.700429)'), GeomFromEWKT('SRID=4674;POINT (-38.48445 -3.700536)'))) / (select extract(epoch from '2026-07-06 20:18:54'::timestamp) - extract(epoch from '2026-07-06 20:18: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.484468 -3.700655)', '2026-07-06 20:19:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48445 -3.700536)'), GeomFromEWKT('SRID=4674;POINT (-38.484468 -3.700655)'))) / (select extract(epoch from '2026-07-06 20:19:02'::timestamp) - extract(epoch from '2026-07-06 20:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48445 -3.700536)'), GeomFromEWKT('SRID=4674;POINT (-38.484468 -3.700655)'))) / (select extract(epoch from '2026-07-06 20:19:02'::timestamp) - extract(epoch from '2026-07-06 20:18: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.484469 -3.700756)', '2026-07-06 20:19:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484468 -3.700655)'), GeomFromEWKT('SRID=4674;POINT (-38.484469 -3.700756)'))) / (select extract(epoch from '2026-07-06 20:19:09'::timestamp) - extract(epoch from '2026-07-06 20:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484468 -3.700655)'), GeomFromEWKT('SRID=4674;POINT (-38.484469 -3.700756)'))) / (select extract(epoch from '2026-07-06 20:19:09'::timestamp) - extract(epoch from '2026-07-06 20: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.48447 -3.700866)', '2026-07-06 20:19:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484469 -3.700756)'), GeomFromEWKT('SRID=4674;POINT (-38.48447 -3.700866)'))) / (select extract(epoch from '2026-07-06 20:19:17'::timestamp) - extract(epoch from '2026-07-06 20:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484469 -3.700756)'), GeomFromEWKT('SRID=4674;POINT (-38.48447 -3.700866)'))) / (select extract(epoch from '2026-07-06 20:19:17'::timestamp) - extract(epoch from '2026-07-06 20:19: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.484468 -3.700982)', '2026-07-06 20:19:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48447 -3.700866)'), GeomFromEWKT('SRID=4674;POINT (-38.484468 -3.700982)'))) / (select extract(epoch from '2026-07-06 20:19:26'::timestamp) - extract(epoch from '2026-07-06 20:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48447 -3.700866)'), GeomFromEWKT('SRID=4674;POINT (-38.484468 -3.700982)'))) / (select extract(epoch from '2026-07-06 20:19:26'::timestamp) - extract(epoch from '2026-07-06 20: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.484488 -3.701091)', '2026-07-06 20:19:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484468 -3.700982)'), GeomFromEWKT('SRID=4674;POINT (-38.484488 -3.701091)'))) / (select extract(epoch from '2026-07-06 20:19:35'::timestamp) - extract(epoch from '2026-07-06 20:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484468 -3.700982)'), GeomFromEWKT('SRID=4674;POINT (-38.484488 -3.701091)'))) / (select extract(epoch from '2026-07-06 20:19:35'::timestamp) - extract(epoch from '2026-07-06 20:19: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.484504 -3.701236)', '2026-07-06 20:19:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484488 -3.701091)'), GeomFromEWKT('SRID=4674;POINT (-38.484504 -3.701236)'))) / (select extract(epoch from '2026-07-06 20:19:45'::timestamp) - extract(epoch from '2026-07-06 20:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484488 -3.701091)'), GeomFromEWKT('SRID=4674;POINT (-38.484504 -3.701236)'))) / (select extract(epoch from '2026-07-06 20:19:45'::timestamp) - extract(epoch from '2026-07-06 20:19:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.484523 -3.701391)', '2026-07-06 20:19:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484504 -3.701236)'), GeomFromEWKT('SRID=4674;POINT (-38.484523 -3.701391)'))) / (select extract(epoch from '2026-07-06 20:19:55'::timestamp) - extract(epoch from '2026-07-06 20:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484504 -3.701236)'), GeomFromEWKT('SRID=4674;POINT (-38.484523 -3.701391)'))) / (select extract(epoch from '2026-07-06 20:19:55'::timestamp) - extract(epoch from '2026-07-06 20:19: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.484523 -3.701523)', '2026-07-06 20:20:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484523 -3.701391)'), GeomFromEWKT('SRID=4674;POINT (-38.484523 -3.701523)'))) / (select extract(epoch from '2026-07-06 20:20:04'::timestamp) - extract(epoch from '2026-07-06 20:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484523 -3.701391)'), GeomFromEWKT('SRID=4674;POINT (-38.484523 -3.701523)'))) / (select extract(epoch from '2026-07-06 20:20:04'::timestamp) - extract(epoch from '2026-07-06 20:19: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.484527 -3.701656)', '2026-07-06 20:20:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484523 -3.701523)'), GeomFromEWKT('SRID=4674;POINT (-38.484527 -3.701656)'))) / (select extract(epoch from '2026-07-06 20:20:13'::timestamp) - extract(epoch from '2026-07-06 20:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484523 -3.701523)'), GeomFromEWKT('SRID=4674;POINT (-38.484527 -3.701656)'))) / (select extract(epoch from '2026-07-06 20:20:13'::timestamp) - extract(epoch from '2026-07-06 20:20: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.484538 -3.701791)', '2026-07-06 20:20:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484527 -3.701656)'), GeomFromEWKT('SRID=4674;POINT (-38.484538 -3.701791)'))) / (select extract(epoch from '2026-07-06 20:20:22'::timestamp) - extract(epoch from '2026-07-06 20:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484527 -3.701656)'), GeomFromEWKT('SRID=4674;POINT (-38.484538 -3.701791)'))) / (select extract(epoch from '2026-07-06 20:20:22'::timestamp) - extract(epoch from '2026-07-06 20:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.484566 -3.701921)', '2026-07-06 20:20:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484538 -3.701791)'), GeomFromEWKT('SRID=4674;POINT (-38.484566 -3.701921)'))) / (select extract(epoch from '2026-07-06 20:20:30'::timestamp) - extract(epoch from '2026-07-06 20:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484538 -3.701791)'), GeomFromEWKT('SRID=4674;POINT (-38.484566 -3.701921)'))) / (select extract(epoch from '2026-07-06 20:20:30'::timestamp) - extract(epoch from '2026-07-06 20:20:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.484569 -3.702075)', '2026-07-06 20:20:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484566 -3.701921)'), GeomFromEWKT('SRID=4674;POINT (-38.484569 -3.702075)'))) / (select extract(epoch from '2026-07-06 20:20:39'::timestamp) - extract(epoch from '2026-07-06 20:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484566 -3.701921)'), GeomFromEWKT('SRID=4674;POINT (-38.484569 -3.702075)'))) / (select extract(epoch from '2026-07-06 20:20:39'::timestamp) - extract(epoch from '2026-07-06 20:20:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.484579 -3.702209)', '2026-07-06 20:20:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484569 -3.702075)'), GeomFromEWKT('SRID=4674;POINT (-38.484579 -3.702209)'))) / (select extract(epoch from '2026-07-06 20:20:47'::timestamp) - extract(epoch from '2026-07-06 20:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484569 -3.702075)'), GeomFromEWKT('SRID=4674;POINT (-38.484579 -3.702209)'))) / (select extract(epoch from '2026-07-06 20:20:47'::timestamp) - extract(epoch from '2026-07-06 20:20: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.484597 -3.702356)', '2026-07-06 20:20:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484579 -3.702209)'), GeomFromEWKT('SRID=4674;POINT (-38.484597 -3.702356)'))) / (select extract(epoch from '2026-07-06 20:20:56'::timestamp) - extract(epoch from '2026-07-06 20:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484579 -3.702209)'), GeomFromEWKT('SRID=4674;POINT (-38.484597 -3.702356)'))) / (select extract(epoch from '2026-07-06 20:20:56'::timestamp) - extract(epoch from '2026-07-06 20:20: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.484603 -3.702487)', '2026-07-06 20:21:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484597 -3.702356)'), GeomFromEWKT('SRID=4674;POINT (-38.484603 -3.702487)'))) / (select extract(epoch from '2026-07-06 20:21:04'::timestamp) - extract(epoch from '2026-07-06 20:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484597 -3.702356)'), GeomFromEWKT('SRID=4674;POINT (-38.484603 -3.702487)'))) / (select extract(epoch from '2026-07-06 20:21:04'::timestamp) - extract(epoch from '2026-07-06 20:20: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.484593 -3.702605)', '2026-07-06 20:21:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484603 -3.702487)'), GeomFromEWKT('SRID=4674;POINT (-38.484593 -3.702605)'))) / (select extract(epoch from '2026-07-06 20:21:13'::timestamp) - extract(epoch from '2026-07-06 20:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484603 -3.702487)'), GeomFromEWKT('SRID=4674;POINT (-38.484593 -3.702605)'))) / (select extract(epoch from '2026-07-06 20:21:13'::timestamp) - extract(epoch from '2026-07-06 20: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.48459 -3.702726)', '2026-07-06 20:21:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484593 -3.702605)'), GeomFromEWKT('SRID=4674;POINT (-38.48459 -3.702726)'))) / (select extract(epoch from '2026-07-06 20:21:21'::timestamp) - extract(epoch from '2026-07-06 20:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484593 -3.702605)'), GeomFromEWKT('SRID=4674;POINT (-38.48459 -3.702726)'))) / (select extract(epoch from '2026-07-06 20:21:21'::timestamp) - extract(epoch from '2026-07-06 20:21: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.484601 -3.702849)', '2026-07-06 20:21:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48459 -3.702726)'), GeomFromEWKT('SRID=4674;POINT (-38.484601 -3.702849)'))) / (select extract(epoch from '2026-07-06 20:21:30'::timestamp) - extract(epoch from '2026-07-06 20:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48459 -3.702726)'), GeomFromEWKT('SRID=4674;POINT (-38.484601 -3.702849)'))) / (select extract(epoch from '2026-07-06 20:21:30'::timestamp) - extract(epoch from '2026-07-06 20:21: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.484629 -3.702995)', '2026-07-06 20:21:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484601 -3.702849)'), GeomFromEWKT('SRID=4674;POINT (-38.484629 -3.702995)'))) / (select extract(epoch from '2026-07-06 20:21:40'::timestamp) - extract(epoch from '2026-07-06 20:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484601 -3.702849)'), GeomFromEWKT('SRID=4674;POINT (-38.484629 -3.702995)'))) / (select extract(epoch from '2026-07-06 20:21:40'::timestamp) - extract(epoch from '2026-07-06 20:21: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.484645 -3.703132)', '2026-07-06 20:21:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484629 -3.702995)'), GeomFromEWKT('SRID=4674;POINT (-38.484645 -3.703132)'))) / (select extract(epoch from '2026-07-06 20:21:49'::timestamp) - extract(epoch from '2026-07-06 20:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484629 -3.702995)'), GeomFromEWKT('SRID=4674;POINT (-38.484645 -3.703132)'))) / (select extract(epoch from '2026-07-06 20:21:49'::timestamp) - extract(epoch from '2026-07-06 20: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.484657 -3.703279)', '2026-07-06 20:21:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484645 -3.703132)'), GeomFromEWKT('SRID=4674;POINT (-38.484657 -3.703279)'))) / (select extract(epoch from '2026-07-06 20:21:58'::timestamp) - extract(epoch from '2026-07-06 20:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484645 -3.703132)'), GeomFromEWKT('SRID=4674;POINT (-38.484657 -3.703279)'))) / (select extract(epoch from '2026-07-06 20:21:58'::timestamp) - extract(epoch from '2026-07-06 20:21: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.484665 -3.703402)', '2026-07-06 20:22:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484657 -3.703279)'), GeomFromEWKT('SRID=4674;POINT (-38.484665 -3.703402)'))) / (select extract(epoch from '2026-07-06 20:22:06'::timestamp) - extract(epoch from '2026-07-06 20:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484657 -3.703279)'), GeomFromEWKT('SRID=4674;POINT (-38.484665 -3.703402)'))) / (select extract(epoch from '2026-07-06 20:22:06'::timestamp) - extract(epoch from '2026-07-06 20:21: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.48468 -3.703573)', '2026-07-06 20:22:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484665 -3.703402)'), GeomFromEWKT('SRID=4674;POINT (-38.48468 -3.703573)'))) / (select extract(epoch from '2026-07-06 20:22:18'::timestamp) - extract(epoch from '2026-07-06 20:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484665 -3.703402)'), GeomFromEWKT('SRID=4674;POINT (-38.48468 -3.703573)'))) / (select extract(epoch from '2026-07-06 20:22:18'::timestamp) - extract(epoch from '2026-07-06 20:22: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.484689 -3.703707)', '2026-07-06 20:22:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48468 -3.703573)'), GeomFromEWKT('SRID=4674;POINT (-38.484689 -3.703707)'))) / (select extract(epoch from '2026-07-06 20:22:28'::timestamp) - extract(epoch from '2026-07-06 20:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48468 -3.703573)'), GeomFromEWKT('SRID=4674;POINT (-38.484689 -3.703707)'))) / (select extract(epoch from '2026-07-06 20:22:28'::timestamp) - extract(epoch from '2026-07-06 20:22: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.484702 -3.703846)', '2026-07-06 20:22:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484689 -3.703707)'), GeomFromEWKT('SRID=4674;POINT (-38.484702 -3.703846)'))) / (select extract(epoch from '2026-07-06 20:22:39'::timestamp) - extract(epoch from '2026-07-06 20:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484689 -3.703707)'), GeomFromEWKT('SRID=4674;POINT (-38.484702 -3.703846)'))) / (select extract(epoch from '2026-07-06 20:22:39'::timestamp) - extract(epoch from '2026-07-06 20:22:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.484715 -3.703995)', '2026-07-06 20:22:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484702 -3.703846)'), GeomFromEWKT('SRID=4674;POINT (-38.484715 -3.703995)'))) / (select extract(epoch from '2026-07-06 20:22:49'::timestamp) - extract(epoch from '2026-07-06 20:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484702 -3.703846)'), GeomFromEWKT('SRID=4674;POINT (-38.484715 -3.703995)'))) / (select extract(epoch from '2026-07-06 20:22:49'::timestamp) - extract(epoch from '2026-07-06 20:22: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.484718 -3.704163)', '2026-07-06 20:22:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484715 -3.703995)'), GeomFromEWKT('SRID=4674;POINT (-38.484718 -3.704163)'))) / (select extract(epoch from '2026-07-06 20:22:59'::timestamp) - extract(epoch from '2026-07-06 20:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484715 -3.703995)'), GeomFromEWKT('SRID=4674;POINT (-38.484718 -3.704163)'))) / (select extract(epoch from '2026-07-06 20:22:59'::timestamp) - extract(epoch from '2026-07-06 20:22: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.484728 -3.704319)', '2026-07-06 20:23:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484718 -3.704163)'), GeomFromEWKT('SRID=4674;POINT (-38.484728 -3.704319)'))) / (select extract(epoch from '2026-07-06 20:23:08'::timestamp) - extract(epoch from '2026-07-06 20:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484718 -3.704163)'), GeomFromEWKT('SRID=4674;POINT (-38.484728 -3.704319)'))) / (select extract(epoch from '2026-07-06 20:23:08'::timestamp) - extract(epoch from '2026-07-06 20:22: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.484745 -3.704465)', '2026-07-06 20:23:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484728 -3.704319)'), GeomFromEWKT('SRID=4674;POINT (-38.484745 -3.704465)'))) / (select extract(epoch from '2026-07-06 20:23:17'::timestamp) - extract(epoch from '2026-07-06 20:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484728 -3.704319)'), GeomFromEWKT('SRID=4674;POINT (-38.484745 -3.704465)'))) / (select extract(epoch from '2026-07-06 20:23:17'::timestamp) - extract(epoch from '2026-07-06 20:23: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.484779 -3.704624)', '2026-07-06 20:23:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484745 -3.704465)'), GeomFromEWKT('SRID=4674;POINT (-38.484779 -3.704624)'))) / (select extract(epoch from '2026-07-06 20:23:26'::timestamp) - extract(epoch from '2026-07-06 20:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484745 -3.704465)'), GeomFromEWKT('SRID=4674;POINT (-38.484779 -3.704624)'))) / (select extract(epoch from '2026-07-06 20:23:26'::timestamp) - extract(epoch from '2026-07-06 20:23: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.484808 -3.704768)', '2026-07-06 20:23:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484779 -3.704624)'), GeomFromEWKT('SRID=4674;POINT (-38.484808 -3.704768)'))) / (select extract(epoch from '2026-07-06 20:23:34'::timestamp) - extract(epoch from '2026-07-06 20:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484779 -3.704624)'), GeomFromEWKT('SRID=4674;POINT (-38.484808 -3.704768)'))) / (select extract(epoch from '2026-07-06 20:23:34'::timestamp) - extract(epoch from '2026-07-06 20:23: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.484848 -3.704978)', '2026-07-06 20:23:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484808 -3.704768)'), GeomFromEWKT('SRID=4674;POINT (-38.484848 -3.704978)'))) / (select extract(epoch from '2026-07-06 20:23:45'::timestamp) - extract(epoch from '2026-07-06 20:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484808 -3.704768)'), GeomFromEWKT('SRID=4674;POINT (-38.484848 -3.704978)'))) / (select extract(epoch from '2026-07-06 20:23:45'::timestamp) - extract(epoch from '2026-07-06 20: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.48488 -3.705146)', '2026-07-06 20:23:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484848 -3.704978)'), GeomFromEWKT('SRID=4674;POINT (-38.48488 -3.705146)'))) / (select extract(epoch from '2026-07-06 20:23:54'::timestamp) - extract(epoch from '2026-07-06 20:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484848 -3.704978)'), GeomFromEWKT('SRID=4674;POINT (-38.48488 -3.705146)'))) / (select extract(epoch from '2026-07-06 20:23:54'::timestamp) - extract(epoch from '2026-07-06 20:23: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.4849 -3.70533)', '2026-07-06 20:24:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48488 -3.705146)'), GeomFromEWKT('SRID=4674;POINT (-38.4849 -3.70533)'))) / (select extract(epoch from '2026-07-06 20:24:04'::timestamp) - extract(epoch from '2026-07-06 20:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48488 -3.705146)'), GeomFromEWKT('SRID=4674;POINT (-38.4849 -3.70533)'))) / (select extract(epoch from '2026-07-06 20:24:04'::timestamp) - extract(epoch from '2026-07-06 20:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.484914 -3.705503)', '2026-07-06 20:24:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4849 -3.70533)'), GeomFromEWKT('SRID=4674;POINT (-38.484914 -3.705503)'))) / (select extract(epoch from '2026-07-06 20:24:13'::timestamp) - extract(epoch from '2026-07-06 20:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4849 -3.70533)'), GeomFromEWKT('SRID=4674;POINT (-38.484914 -3.705503)'))) / (select extract(epoch from '2026-07-06 20:24:13'::timestamp) - extract(epoch from '2026-07-06 20:24: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.484922 -3.705675)', '2026-07-06 20:24:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484914 -3.705503)'), GeomFromEWKT('SRID=4674;POINT (-38.484922 -3.705675)'))) / (select extract(epoch from '2026-07-06 20:24:22'::timestamp) - extract(epoch from '2026-07-06 20:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484914 -3.705503)'), GeomFromEWKT('SRID=4674;POINT (-38.484922 -3.705675)'))) / (select extract(epoch from '2026-07-06 20:24:22'::timestamp) - extract(epoch from '2026-07-06 20:24: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.484926 -3.705861)', '2026-07-06 20:24:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484922 -3.705675)'), GeomFromEWKT('SRID=4674;POINT (-38.484926 -3.705861)'))) / (select extract(epoch from '2026-07-06 20:24:32'::timestamp) - extract(epoch from '2026-07-06 20:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484922 -3.705675)'), GeomFromEWKT('SRID=4674;POINT (-38.484926 -3.705861)'))) / (select extract(epoch from '2026-07-06 20:24:32'::timestamp) - extract(epoch from '2026-07-06 20:24: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.484925 -3.706076)', '2026-07-06 20:24:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484926 -3.705861)'), GeomFromEWKT('SRID=4674;POINT (-38.484925 -3.706076)'))) / (select extract(epoch from '2026-07-06 20:24:43'::timestamp) - extract(epoch from '2026-07-06 20:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484926 -3.705861)'), GeomFromEWKT('SRID=4674;POINT (-38.484925 -3.706076)'))) / (select extract(epoch from '2026-07-06 20:24:43'::timestamp) - extract(epoch from '2026-07-06 20:24: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.484923 -3.706266)', '2026-07-06 20:24:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484925 -3.706076)'), GeomFromEWKT('SRID=4674;POINT (-38.484923 -3.706266)'))) / (select extract(epoch from '2026-07-06 20:24:53'::timestamp) - extract(epoch from '2026-07-06 20:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484925 -3.706076)'), GeomFromEWKT('SRID=4674;POINT (-38.484923 -3.706266)'))) / (select extract(epoch from '2026-07-06 20:24:53'::timestamp) - extract(epoch from '2026-07-06 20:24:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.48492 -3.706449)', '2026-07-06 20:25:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484923 -3.706266)'), GeomFromEWKT('SRID=4674;POINT (-38.48492 -3.706449)'))) / (select extract(epoch from '2026-07-06 20:25:04'::timestamp) - extract(epoch from '2026-07-06 20:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484923 -3.706266)'), GeomFromEWKT('SRID=4674;POINT (-38.48492 -3.706449)'))) / (select extract(epoch from '2026-07-06 20:25:04'::timestamp) - extract(epoch from '2026-07-06 20:24:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.484927 -3.706617)', '2026-07-06 20:25:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48492 -3.706449)'), GeomFromEWKT('SRID=4674;POINT (-38.484927 -3.706617)'))) / (select extract(epoch from '2026-07-06 20:25:14'::timestamp) - extract(epoch from '2026-07-06 20:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48492 -3.706449)'), GeomFromEWKT('SRID=4674;POINT (-38.484927 -3.706617)'))) / (select extract(epoch from '2026-07-06 20:25:14'::timestamp) - extract(epoch from '2026-07-06 20:25: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.484954 -3.7068)', '2026-07-06 20:25:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484927 -3.706617)'), GeomFromEWKT('SRID=4674;POINT (-38.484954 -3.7068)'))) / (select extract(epoch from '2026-07-06 20:25:25'::timestamp) - extract(epoch from '2026-07-06 20:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484927 -3.706617)'), GeomFromEWKT('SRID=4674;POINT (-38.484954 -3.7068)'))) / (select extract(epoch from '2026-07-06 20:25:25'::timestamp) - extract(epoch from '2026-07-06 20:25: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.484978 -3.706981)', '2026-07-06 20:25:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484954 -3.7068)'), GeomFromEWKT('SRID=4674;POINT (-38.484978 -3.706981)'))) / (select extract(epoch from '2026-07-06 20:25:36'::timestamp) - extract(epoch from '2026-07-06 20:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484954 -3.7068)'), GeomFromEWKT('SRID=4674;POINT (-38.484978 -3.706981)'))) / (select extract(epoch from '2026-07-06 20:25:36'::timestamp) - extract(epoch from '2026-07-06 20: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.484989 -3.707194)', '2026-07-06 20:25:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484978 -3.706981)'), GeomFromEWKT('SRID=4674;POINT (-38.484989 -3.707194)'))) / (select extract(epoch from '2026-07-06 20:25:49'::timestamp) - extract(epoch from '2026-07-06 20:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484978 -3.706981)'), GeomFromEWKT('SRID=4674;POINT (-38.484989 -3.707194)'))) / (select extract(epoch from '2026-07-06 20:25:49'::timestamp) - extract(epoch from '2026-07-06 20:25: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.484995 -3.707431)', '2026-07-06 20:26:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484989 -3.707194)'), GeomFromEWKT('SRID=4674;POINT (-38.484995 -3.707431)'))) / (select extract(epoch from '2026-07-06 20:26:03'::timestamp) - extract(epoch from '2026-07-06 20:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484989 -3.707194)'), GeomFromEWKT('SRID=4674;POINT (-38.484995 -3.707431)'))) / (select extract(epoch from '2026-07-06 20:26:03'::timestamp) - extract(epoch from '2026-07-06 20:25:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.484994 -3.707599)', '2026-07-06 20:26:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484995 -3.707431)'), GeomFromEWKT('SRID=4674;POINT (-38.484994 -3.707599)'))) / (select extract(epoch from '2026-07-06 20:26:13'::timestamp) - extract(epoch from '2026-07-06 20:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484995 -3.707431)'), GeomFromEWKT('SRID=4674;POINT (-38.484994 -3.707599)'))) / (select extract(epoch from '2026-07-06 20:26:13'::timestamp) - extract(epoch from '2026-07-06 20:26: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.484993 -3.707781)', '2026-07-06 20:26:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484994 -3.707599)'), GeomFromEWKT('SRID=4674;POINT (-38.484993 -3.707781)'))) / (select extract(epoch from '2026-07-06 20:26:24'::timestamp) - extract(epoch from '2026-07-06 20:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484994 -3.707599)'), GeomFromEWKT('SRID=4674;POINT (-38.484993 -3.707781)'))) / (select extract(epoch from '2026-07-06 20:26:24'::timestamp) - extract(epoch from '2026-07-06 20:26: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.484992 -3.707912)', '2026-07-06 20:26:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484993 -3.707781)'), GeomFromEWKT('SRID=4674;POINT (-38.484992 -3.707912)'))) / (select extract(epoch from '2026-07-06 20:26:32'::timestamp) - extract(epoch from '2026-07-06 20:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484993 -3.707781)'), GeomFromEWKT('SRID=4674;POINT (-38.484992 -3.707912)'))) / (select extract(epoch from '2026-07-06 20:26:32'::timestamp) - extract(epoch from '2026-07-06 20: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.485 -3.708122)', '2026-07-06 20:26:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484992 -3.707912)'), GeomFromEWKT('SRID=4674;POINT (-38.485 -3.708122)'))) / (select extract(epoch from '2026-07-06 20:26:45'::timestamp) - extract(epoch from '2026-07-06 20:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484992 -3.707912)'), GeomFromEWKT('SRID=4674;POINT (-38.485 -3.708122)'))) / (select extract(epoch from '2026-07-06 20:26:45'::timestamp) - extract(epoch from '2026-07-06 20:26: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.48501 -3.70832)', '2026-07-06 20:26:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485 -3.708122)'), GeomFromEWKT('SRID=4674;POINT (-38.48501 -3.70832)'))) / (select extract(epoch from '2026-07-06 20:26:57'::timestamp) - extract(epoch from '2026-07-06 20:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485 -3.708122)'), GeomFromEWKT('SRID=4674;POINT (-38.48501 -3.70832)'))) / (select extract(epoch from '2026-07-06 20:26:57'::timestamp) - extract(epoch from '2026-07-06 20:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.485016 -3.708496)', '2026-07-06 20:27:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48501 -3.70832)'), GeomFromEWKT('SRID=4674;POINT (-38.485016 -3.708496)'))) / (select extract(epoch from '2026-07-06 20:27:08'::timestamp) - extract(epoch from '2026-07-06 20:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48501 -3.70832)'), GeomFromEWKT('SRID=4674;POINT (-38.485016 -3.708496)'))) / (select extract(epoch from '2026-07-06 20:27:08'::timestamp) - extract(epoch from '2026-07-06 20:26: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.485024 -3.70868)', '2026-07-06 20:27:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485016 -3.708496)'), GeomFromEWKT('SRID=4674;POINT (-38.485024 -3.70868)'))) / (select extract(epoch from '2026-07-06 20:27:19'::timestamp) - extract(epoch from '2026-07-06 20:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485016 -3.708496)'), GeomFromEWKT('SRID=4674;POINT (-38.485024 -3.70868)'))) / (select extract(epoch from '2026-07-06 20:27:19'::timestamp) - extract(epoch from '2026-07-06 20:27: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.48502 -3.708846)', '2026-07-06 20:27:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485024 -3.70868)'), GeomFromEWKT('SRID=4674;POINT (-38.48502 -3.708846)'))) / (select extract(epoch from '2026-07-06 20:27:29'::timestamp) - extract(epoch from '2026-07-06 20:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485024 -3.70868)'), GeomFromEWKT('SRID=4674;POINT (-38.48502 -3.708846)'))) / (select extract(epoch from '2026-07-06 20:27:29'::timestamp) - extract(epoch from '2026-07-06 20:27: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.485015 -3.708993)', '2026-07-06 20:27:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48502 -3.708846)'), GeomFromEWKT('SRID=4674;POINT (-38.485015 -3.708993)'))) / (select extract(epoch from '2026-07-06 20:27:39'::timestamp) - extract(epoch from '2026-07-06 20:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48502 -3.708846)'), GeomFromEWKT('SRID=4674;POINT (-38.485015 -3.708993)'))) / (select extract(epoch from '2026-07-06 20:27:39'::timestamp) - extract(epoch from '2026-07-06 20:27:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47390, 'SRID=4674;POINT (-38.485024 -3.709117)', '2026-07-06 20:27:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485015 -3.708993)'), GeomFromEWKT('SRID=4674;POINT (-38.485024 -3.709117)'))) / (select extract(epoch from '2026-07-06 20:27:48'::timestamp) - extract(epoch from '2026-07-06 20:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485015 -3.708993)'), GeomFromEWKT('SRID=4674;POINT (-38.485024 -3.709117)'))) / (select extract(epoch from '2026-07-06 20:27:48'::timestamp) - extract(epoch from '2026-07-06 20:27: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.485027 -3.709241)', '2026-07-06 20:27:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485024 -3.709117)'), GeomFromEWKT('SRID=4674;POINT (-38.485027 -3.709241)'))) / (select extract(epoch from '2026-07-06 20:27:59'::timestamp) - extract(epoch from '2026-07-06 20:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485024 -3.709117)'), GeomFromEWKT('SRID=4674;POINT (-38.485027 -3.709241)'))) / (select extract(epoch from '2026-07-06 20:27:59'::timestamp) - extract(epoch from '2026-07-06 20:27: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.485032 -3.709336)', '2026-07-06 20:28:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485027 -3.709241)'), GeomFromEWKT('SRID=4674;POINT (-38.485032 -3.709336)'))) / (select extract(epoch from '2026-07-06 20:28:10'::timestamp) - extract(epoch from '2026-07-06 20:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485027 -3.709241)'), GeomFromEWKT('SRID=4674;POINT (-38.485032 -3.709336)'))) / (select extract(epoch from '2026-07-06 20:28:10'::timestamp) - extract(epoch from '2026-07-06 20:27:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
