 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.384801 -3.14109)', '2026-06-16 16:15:47', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.384735 -3.141107)'), GeomFromEWKT('SRID=4674;POINT (-39.384801 -3.14109)'))) / (select extract(epoch from '2026-06-16 16:15:47'::timestamp) - extract(epoch from '2026-06-16 16:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.384735 -3.141107)'), GeomFromEWKT('SRID=4674;POINT (-39.384801 -3.14109)'))) / (select extract(epoch from '2026-06-16 16:15:47'::timestamp) - extract(epoch from '2026-06-16 16:15: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'), 46789, 'SRID=4674;POINT (-39.38485 -3.141073)', '2026-06-16 16:15:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.384801 -3.14109)'), GeomFromEWKT('SRID=4674;POINT (-39.38485 -3.141073)'))) / (select extract(epoch from '2026-06-16 16:15:55'::timestamp) - extract(epoch from '2026-06-16 16:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.384801 -3.14109)'), GeomFromEWKT('SRID=4674;POINT (-39.38485 -3.141073)'))) / (select extract(epoch from '2026-06-16 16:15:55'::timestamp) - extract(epoch from '2026-06-16 16:15:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.384904 -3.141062)', '2026-06-16 16:16:04', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38485 -3.141073)'), GeomFromEWKT('SRID=4674;POINT (-39.384904 -3.141062)'))) / (select extract(epoch from '2026-06-16 16:16:04'::timestamp) - extract(epoch from '2026-06-16 16:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38485 -3.141073)'), GeomFromEWKT('SRID=4674;POINT (-39.384904 -3.141062)'))) / (select extract(epoch from '2026-06-16 16:16:04'::timestamp) - extract(epoch from '2026-06-16 16:15:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.384962 -3.141048)', '2026-06-16 16:16:12', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.384904 -3.141062)'), GeomFromEWKT('SRID=4674;POINT (-39.384962 -3.141048)'))) / (select extract(epoch from '2026-06-16 16:16:12'::timestamp) - extract(epoch from '2026-06-16 16:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.384904 -3.141062)'), GeomFromEWKT('SRID=4674;POINT (-39.384962 -3.141048)'))) / (select extract(epoch from '2026-06-16 16:16:12'::timestamp) - extract(epoch from '2026-06-16 16:16:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.385022 -3.141027)', '2026-06-16 16:16:22', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.384962 -3.141048)'), GeomFromEWKT('SRID=4674;POINT (-39.385022 -3.141027)'))) / (select extract(epoch from '2026-06-16 16:16:22'::timestamp) - extract(epoch from '2026-06-16 16:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.384962 -3.141048)'), GeomFromEWKT('SRID=4674;POINT (-39.385022 -3.141027)'))) / (select extract(epoch from '2026-06-16 16:16:22'::timestamp) - extract(epoch from '2026-06-16 16:16: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'), 46789, 'SRID=4674;POINT (-39.38507 -3.141014)', '2026-06-16 16:16:30', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385022 -3.141027)'), GeomFromEWKT('SRID=4674;POINT (-39.38507 -3.141014)'))) / (select extract(epoch from '2026-06-16 16:16:30'::timestamp) - extract(epoch from '2026-06-16 16:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385022 -3.141027)'), GeomFromEWKT('SRID=4674;POINT (-39.38507 -3.141014)'))) / (select extract(epoch from '2026-06-16 16:16:30'::timestamp) - extract(epoch from '2026-06-16 16:16: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'), 46789, 'SRID=4674;POINT (-39.385126 -3.140996)', '2026-06-16 16:16:40', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38507 -3.141014)'), GeomFromEWKT('SRID=4674;POINT (-39.385126 -3.140996)'))) / (select extract(epoch from '2026-06-16 16:16:40'::timestamp) - extract(epoch from '2026-06-16 16:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38507 -3.141014)'), GeomFromEWKT('SRID=4674;POINT (-39.385126 -3.140996)'))) / (select extract(epoch from '2026-06-16 16:16:40'::timestamp) - extract(epoch from '2026-06-16 16:16: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'), 46789, 'SRID=4674;POINT (-39.385167 -3.140977)', '2026-06-16 16:16:47', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385126 -3.140996)'), GeomFromEWKT('SRID=4674;POINT (-39.385167 -3.140977)'))) / (select extract(epoch from '2026-06-16 16:16:47'::timestamp) - extract(epoch from '2026-06-16 16:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385126 -3.140996)'), GeomFromEWKT('SRID=4674;POINT (-39.385167 -3.140977)'))) / (select extract(epoch from '2026-06-16 16:16:47'::timestamp) - extract(epoch from '2026-06-16 16:16: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'), 46789, 'SRID=4674;POINT (-39.385233 -3.14096)', '2026-06-16 16:16:57', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385167 -3.140977)'), GeomFromEWKT('SRID=4674;POINT (-39.385233 -3.14096)'))) / (select extract(epoch from '2026-06-16 16:16:57'::timestamp) - extract(epoch from '2026-06-16 16:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385167 -3.140977)'), GeomFromEWKT('SRID=4674;POINT (-39.385233 -3.14096)'))) / (select extract(epoch from '2026-06-16 16:16:57'::timestamp) - extract(epoch from '2026-06-16 16:16:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.38528 -3.14096)', '2026-06-16 16:17:04', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385233 -3.14096)'), GeomFromEWKT('SRID=4674;POINT (-39.38528 -3.14096)'))) / (select extract(epoch from '2026-06-16 16:17:04'::timestamp) - extract(epoch from '2026-06-16 16:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385233 -3.14096)'), GeomFromEWKT('SRID=4674;POINT (-39.38528 -3.14096)'))) / (select extract(epoch from '2026-06-16 16:17:04'::timestamp) - extract(epoch from '2026-06-16 16:16: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'), 46789, 'SRID=4674;POINT (-39.385317 -3.140948)', '2026-06-16 16:17:11', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38528 -3.14096)'), GeomFromEWKT('SRID=4674;POINT (-39.385317 -3.140948)'))) / (select extract(epoch from '2026-06-16 16:17:11'::timestamp) - extract(epoch from '2026-06-16 16:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38528 -3.14096)'), GeomFromEWKT('SRID=4674;POINT (-39.385317 -3.140948)'))) / (select extract(epoch from '2026-06-16 16:17:11'::timestamp) - extract(epoch from '2026-06-16 16:17: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'), 46789, 'SRID=4674;POINT (-39.385363 -3.140924)', '2026-06-16 16:17:19', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385317 -3.140948)'), GeomFromEWKT('SRID=4674;POINT (-39.385363 -3.140924)'))) / (select extract(epoch from '2026-06-16 16:17:19'::timestamp) - extract(epoch from '2026-06-16 16:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385317 -3.140948)'), GeomFromEWKT('SRID=4674;POINT (-39.385363 -3.140924)'))) / (select extract(epoch from '2026-06-16 16:17:19'::timestamp) - extract(epoch from '2026-06-16 16:17:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.385404 -3.140916)', '2026-06-16 16:17:25', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385363 -3.140924)'), GeomFromEWKT('SRID=4674;POINT (-39.385404 -3.140916)'))) / (select extract(epoch from '2026-06-16 16:17:25'::timestamp) - extract(epoch from '2026-06-16 16:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385363 -3.140924)'), GeomFromEWKT('SRID=4674;POINT (-39.385404 -3.140916)'))) / (select extract(epoch from '2026-06-16 16:17:25'::timestamp) - extract(epoch from '2026-06-16 16:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.385447 -3.140903)', '2026-06-16 16:17:33', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385404 -3.140916)'), GeomFromEWKT('SRID=4674;POINT (-39.385447 -3.140903)'))) / (select extract(epoch from '2026-06-16 16:17:33'::timestamp) - extract(epoch from '2026-06-16 16:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385404 -3.140916)'), GeomFromEWKT('SRID=4674;POINT (-39.385447 -3.140903)'))) / (select extract(epoch from '2026-06-16 16:17:33'::timestamp) - extract(epoch from '2026-06-16 16:17: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'), 46789, 'SRID=4674;POINT (-39.385501 -3.140896)', '2026-06-16 16:17:43', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385447 -3.140903)'), GeomFromEWKT('SRID=4674;POINT (-39.385501 -3.140896)'))) / (select extract(epoch from '2026-06-16 16:17:43'::timestamp) - extract(epoch from '2026-06-16 16:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385447 -3.140903)'), GeomFromEWKT('SRID=4674;POINT (-39.385501 -3.140896)'))) / (select extract(epoch from '2026-06-16 16:17:43'::timestamp) - extract(epoch from '2026-06-16 16:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.385542 -3.140873)', '2026-06-16 16:17:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385501 -3.140896)'), GeomFromEWKT('SRID=4674;POINT (-39.385542 -3.140873)'))) / (select extract(epoch from '2026-06-16 16:17:51'::timestamp) - extract(epoch from '2026-06-16 16:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385501 -3.140896)'), GeomFromEWKT('SRID=4674;POINT (-39.385542 -3.140873)'))) / (select extract(epoch from '2026-06-16 16:17:51'::timestamp) - extract(epoch from '2026-06-16 16:17: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'), 46789, 'SRID=4674;POINT (-39.385581 -3.140861)', '2026-06-16 16:17:59', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385542 -3.140873)'), GeomFromEWKT('SRID=4674;POINT (-39.385581 -3.140861)'))) / (select extract(epoch from '2026-06-16 16:17:59'::timestamp) - extract(epoch from '2026-06-16 16:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385542 -3.140873)'), GeomFromEWKT('SRID=4674;POINT (-39.385581 -3.140861)'))) / (select extract(epoch from '2026-06-16 16:17:59'::timestamp) - extract(epoch from '2026-06-16 16:17:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.385659 -3.140857)', '2026-06-16 16:18:14', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385581 -3.140861)'), GeomFromEWKT('SRID=4674;POINT (-39.385659 -3.140857)'))) / (select extract(epoch from '2026-06-16 16:18:14'::timestamp) - extract(epoch from '2026-06-16 16:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385581 -3.140861)'), GeomFromEWKT('SRID=4674;POINT (-39.385659 -3.140857)'))) / (select extract(epoch from '2026-06-16 16:18:14'::timestamp) - extract(epoch from '2026-06-16 16:17:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.385683 -3.140869)', '2026-06-16 16:18:22', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385659 -3.140857)'), GeomFromEWKT('SRID=4674;POINT (-39.385683 -3.140869)'))) / (select extract(epoch from '2026-06-16 16:18:22'::timestamp) - extract(epoch from '2026-06-16 16:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385659 -3.140857)'), GeomFromEWKT('SRID=4674;POINT (-39.385683 -3.140869)'))) / (select extract(epoch from '2026-06-16 16:18:22'::timestamp) - extract(epoch from '2026-06-16 16: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'), 46789, 'SRID=4674;POINT (-39.385742 -3.140877)', '2026-06-16 16:18:32', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385683 -3.140869)'), GeomFromEWKT('SRID=4674;POINT (-39.385742 -3.140877)'))) / (select extract(epoch from '2026-06-16 16:18:32'::timestamp) - extract(epoch from '2026-06-16 16:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385683 -3.140869)'), GeomFromEWKT('SRID=4674;POINT (-39.385742 -3.140877)'))) / (select extract(epoch from '2026-06-16 16:18:32'::timestamp) - extract(epoch from '2026-06-16 16: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'), 46789, 'SRID=4674;POINT (-39.385798 -3.140858)', '2026-06-16 16:18:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385742 -3.140877)'), GeomFromEWKT('SRID=4674;POINT (-39.385798 -3.140858)'))) / (select extract(epoch from '2026-06-16 16:18:40'::timestamp) - extract(epoch from '2026-06-16 16:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385742 -3.140877)'), GeomFromEWKT('SRID=4674;POINT (-39.385798 -3.140858)'))) / (select extract(epoch from '2026-06-16 16:18:40'::timestamp) - extract(epoch from '2026-06-16 16:18: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'), 46789, 'SRID=4674;POINT (-39.385845 -3.140847)', '2026-06-16 16:18:49', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385798 -3.140858)'), GeomFromEWKT('SRID=4674;POINT (-39.385845 -3.140847)'))) / (select extract(epoch from '2026-06-16 16:18:49'::timestamp) - extract(epoch from '2026-06-16 16:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385798 -3.140858)'), GeomFromEWKT('SRID=4674;POINT (-39.385845 -3.140847)'))) / (select extract(epoch from '2026-06-16 16:18:49'::timestamp) - extract(epoch from '2026-06-16 16: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'), 46789, 'SRID=4674;POINT (-39.385894 -3.14082)', '2026-06-16 16:18:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385845 -3.140847)'), GeomFromEWKT('SRID=4674;POINT (-39.385894 -3.14082)'))) / (select extract(epoch from '2026-06-16 16:18:58'::timestamp) - extract(epoch from '2026-06-16 16:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385845 -3.140847)'), GeomFromEWKT('SRID=4674;POINT (-39.385894 -3.14082)'))) / (select extract(epoch from '2026-06-16 16:18:58'::timestamp) - extract(epoch from '2026-06-16 16:18:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.385947 -3.140798)', '2026-06-16 16:19:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385894 -3.14082)'), GeomFromEWKT('SRID=4674;POINT (-39.385947 -3.140798)'))) / (select extract(epoch from '2026-06-16 16:19:05'::timestamp) - extract(epoch from '2026-06-16 16:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385894 -3.14082)'), GeomFromEWKT('SRID=4674;POINT (-39.385947 -3.140798)'))) / (select extract(epoch from '2026-06-16 16:19:05'::timestamp) - extract(epoch from '2026-06-16 16:18: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'), 46789, 'SRID=4674;POINT (-39.385999 -3.140777)', '2026-06-16 16:19:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385947 -3.140798)'), GeomFromEWKT('SRID=4674;POINT (-39.385999 -3.140777)'))) / (select extract(epoch from '2026-06-16 16:19:14'::timestamp) - extract(epoch from '2026-06-16 16:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385947 -3.140798)'), GeomFromEWKT('SRID=4674;POINT (-39.385999 -3.140777)'))) / (select extract(epoch from '2026-06-16 16:19:14'::timestamp) - extract(epoch from '2026-06-16 16:19: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'), 46789, 'SRID=4674;POINT (-39.386064 -3.140744)', '2026-06-16 16:19:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385999 -3.140777)'), GeomFromEWKT('SRID=4674;POINT (-39.386064 -3.140744)'))) / (select extract(epoch from '2026-06-16 16:19:25'::timestamp) - extract(epoch from '2026-06-16 16:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.385999 -3.140777)'), GeomFromEWKT('SRID=4674;POINT (-39.386064 -3.140744)'))) / (select extract(epoch from '2026-06-16 16:19:25'::timestamp) - extract(epoch from '2026-06-16 16:19: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'), 46789, 'SRID=4674;POINT (-39.386124 -3.140714)', '2026-06-16 16:19:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386064 -3.140744)'), GeomFromEWKT('SRID=4674;POINT (-39.386124 -3.140714)'))) / (select extract(epoch from '2026-06-16 16:19:34'::timestamp) - extract(epoch from '2026-06-16 16:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386064 -3.140744)'), GeomFromEWKT('SRID=4674;POINT (-39.386124 -3.140714)'))) / (select extract(epoch from '2026-06-16 16:19:34'::timestamp) - extract(epoch from '2026-06-16 16:19: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'), 46789, 'SRID=4674;POINT (-39.386184 -3.140693)', '2026-06-16 16:19:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386124 -3.140714)'), GeomFromEWKT('SRID=4674;POINT (-39.386184 -3.140693)'))) / (select extract(epoch from '2026-06-16 16:19:43'::timestamp) - extract(epoch from '2026-06-16 16:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386124 -3.140714)'), GeomFromEWKT('SRID=4674;POINT (-39.386184 -3.140693)'))) / (select extract(epoch from '2026-06-16 16:19:43'::timestamp) - extract(epoch from '2026-06-16 16:19: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'), 46789, 'SRID=4674;POINT (-39.386213 -3.140677)', '2026-06-16 16:19:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386184 -3.140693)'), GeomFromEWKT('SRID=4674;POINT (-39.386213 -3.140677)'))) / (select extract(epoch from '2026-06-16 16:19:48'::timestamp) - extract(epoch from '2026-06-16 16:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386184 -3.140693)'), GeomFromEWKT('SRID=4674;POINT (-39.386213 -3.140677)'))) / (select extract(epoch from '2026-06-16 16:19:48'::timestamp) - extract(epoch from '2026-06-16 16:19: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'), 46789, 'SRID=4674;POINT (-39.386223 -3.140677)', '2026-06-16 16:19:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386213 -3.140677)'), GeomFromEWKT('SRID=4674;POINT (-39.386223 -3.140677)'))) / (select extract(epoch from '2026-06-16 16:19:49'::timestamp) - extract(epoch from '2026-06-16 16:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386213 -3.140677)'), GeomFromEWKT('SRID=4674;POINT (-39.386223 -3.140677)'))) / (select extract(epoch from '2026-06-16 16:19:49'::timestamp) - extract(epoch from '2026-06-16 16:19: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'), 46789, 'SRID=4674;POINT (-39.386232 -3.14068)', '2026-06-16 16:19:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386223 -3.140677)'), GeomFromEWKT('SRID=4674;POINT (-39.386232 -3.14068)'))) / (select extract(epoch from '2026-06-16 16:19:50'::timestamp) - extract(epoch from '2026-06-16 16:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386223 -3.140677)'), GeomFromEWKT('SRID=4674;POINT (-39.386232 -3.14068)'))) / (select extract(epoch from '2026-06-16 16:19:50'::timestamp) - extract(epoch from '2026-06-16 16:19: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'), 46789, 'SRID=4674;POINT (-39.386246 -3.140672)', '2026-06-16 16:19:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386232 -3.14068)'), GeomFromEWKT('SRID=4674;POINT (-39.386246 -3.140672)'))) / (select extract(epoch from '2026-06-16 16:19:54'::timestamp) - extract(epoch from '2026-06-16 16:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386232 -3.14068)'), GeomFromEWKT('SRID=4674;POINT (-39.386246 -3.140672)'))) / (select extract(epoch from '2026-06-16 16:19:54'::timestamp) - extract(epoch from '2026-06-16 16:19: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'), 46789, 'SRID=4674;POINT (-39.386263 -3.140669)', '2026-06-16 16:19:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386246 -3.140672)'), GeomFromEWKT('SRID=4674;POINT (-39.386263 -3.140669)'))) / (select extract(epoch from '2026-06-16 16:19:56'::timestamp) - extract(epoch from '2026-06-16 16:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386246 -3.140672)'), GeomFromEWKT('SRID=4674;POINT (-39.386263 -3.140669)'))) / (select extract(epoch from '2026-06-16 16:19:56'::timestamp) - extract(epoch from '2026-06-16 16:19:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.386298 -3.14067)', '2026-06-16 16:19:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386263 -3.140669)'), GeomFromEWKT('SRID=4674;POINT (-39.386298 -3.14067)'))) / (select extract(epoch from '2026-06-16 16:19:59'::timestamp) - extract(epoch from '2026-06-16 16:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386263 -3.140669)'), GeomFromEWKT('SRID=4674;POINT (-39.386298 -3.14067)'))) / (select extract(epoch from '2026-06-16 16:19:59'::timestamp) - extract(epoch from '2026-06-16 16:19:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.386348 -3.14066)', '2026-06-16 16:20:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386298 -3.14067)'), GeomFromEWKT('SRID=4674;POINT (-39.386348 -3.14066)'))) / (select extract(epoch from '2026-06-16 16:20:06'::timestamp) - extract(epoch from '2026-06-16 16:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386298 -3.14067)'), GeomFromEWKT('SRID=4674;POINT (-39.386348 -3.14066)'))) / (select extract(epoch from '2026-06-16 16:20:06'::timestamp) - extract(epoch from '2026-06-16 16:19: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'), 46789, 'SRID=4674;POINT (-39.386388 -3.140644)', '2026-06-16 16:20:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386348 -3.14066)'), GeomFromEWKT('SRID=4674;POINT (-39.386388 -3.140644)'))) / (select extract(epoch from '2026-06-16 16:20:13'::timestamp) - extract(epoch from '2026-06-16 16:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386348 -3.14066)'), GeomFromEWKT('SRID=4674;POINT (-39.386388 -3.140644)'))) / (select extract(epoch from '2026-06-16 16:20:13'::timestamp) - extract(epoch from '2026-06-16 16:20:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.38644 -3.140627)', '2026-06-16 16:20:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386388 -3.140644)'), GeomFromEWKT('SRID=4674;POINT (-39.38644 -3.140627)'))) / (select extract(epoch from '2026-06-16 16:20:20'::timestamp) - extract(epoch from '2026-06-16 16:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386388 -3.140644)'), GeomFromEWKT('SRID=4674;POINT (-39.38644 -3.140627)'))) / (select extract(epoch from '2026-06-16 16:20:20'::timestamp) - extract(epoch from '2026-06-16 16: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'), 46789, 'SRID=4674;POINT (-39.386489 -3.140598)', '2026-06-16 16:20:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38644 -3.140627)'), GeomFromEWKT('SRID=4674;POINT (-39.386489 -3.140598)'))) / (select extract(epoch from '2026-06-16 16:20:28'::timestamp) - extract(epoch from '2026-06-16 16:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38644 -3.140627)'), GeomFromEWKT('SRID=4674;POINT (-39.386489 -3.140598)'))) / (select extract(epoch from '2026-06-16 16:20:28'::timestamp) - extract(epoch from '2026-06-16 16:20: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'), 46789, 'SRID=4674;POINT (-39.38651 -3.140589)', '2026-06-16 16:20:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386489 -3.140598)'), GeomFromEWKT('SRID=4674;POINT (-39.38651 -3.140589)'))) / (select extract(epoch from '2026-06-16 16:20:30'::timestamp) - extract(epoch from '2026-06-16 16:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386489 -3.140598)'), GeomFromEWKT('SRID=4674;POINT (-39.38651 -3.140589)'))) / (select extract(epoch from '2026-06-16 16:20:30'::timestamp) - extract(epoch from '2026-06-16 16:20: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'), 46789, 'SRID=4674;POINT (-39.386525 -3.140581)', '2026-06-16 16:20:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38651 -3.140589)'), GeomFromEWKT('SRID=4674;POINT (-39.386525 -3.140581)'))) / (select extract(epoch from '2026-06-16 16:20:33'::timestamp) - extract(epoch from '2026-06-16 16:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38651 -3.140589)'), GeomFromEWKT('SRID=4674;POINT (-39.386525 -3.140581)'))) / (select extract(epoch from '2026-06-16 16:20:33'::timestamp) - extract(epoch from '2026-06-16 16: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'), 46789, 'SRID=4674;POINT (-39.386584 -3.140562)', '2026-06-16 16:20:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386525 -3.140581)'), GeomFromEWKT('SRID=4674;POINT (-39.386584 -3.140562)'))) / (select extract(epoch from '2026-06-16 16:20:42'::timestamp) - extract(epoch from '2026-06-16 16:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386525 -3.140581)'), GeomFromEWKT('SRID=4674;POINT (-39.386584 -3.140562)'))) / (select extract(epoch from '2026-06-16 16:20:42'::timestamp) - extract(epoch from '2026-06-16 16:20:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.386624 -3.140541)', '2026-06-16 16:20:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386584 -3.140562)'), GeomFromEWKT('SRID=4674;POINT (-39.386624 -3.140541)'))) / (select extract(epoch from '2026-06-16 16:20:50'::timestamp) - extract(epoch from '2026-06-16 16:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386584 -3.140562)'), GeomFromEWKT('SRID=4674;POINT (-39.386624 -3.140541)'))) / (select extract(epoch from '2026-06-16 16:20:50'::timestamp) - extract(epoch from '2026-06-16 16:20:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.386667 -3.140524)', '2026-06-16 16:20:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386624 -3.140541)'), GeomFromEWKT('SRID=4674;POINT (-39.386667 -3.140524)'))) / (select extract(epoch from '2026-06-16 16:20:58'::timestamp) - extract(epoch from '2026-06-16 16:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386624 -3.140541)'), GeomFromEWKT('SRID=4674;POINT (-39.386667 -3.140524)'))) / (select extract(epoch from '2026-06-16 16:20:58'::timestamp) - extract(epoch from '2026-06-16 16:20: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'), 46789, 'SRID=4674;POINT (-39.386716 -3.140517)', '2026-06-16 16:21:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386667 -3.140524)'), GeomFromEWKT('SRID=4674;POINT (-39.386716 -3.140517)'))) / (select extract(epoch from '2026-06-16 16:21:06'::timestamp) - extract(epoch from '2026-06-16 16:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386667 -3.140524)'), GeomFromEWKT('SRID=4674;POINT (-39.386716 -3.140517)'))) / (select extract(epoch from '2026-06-16 16:21:06'::timestamp) - extract(epoch from '2026-06-16 16:20:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.386746 -3.140504)', '2026-06-16 16:21:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386716 -3.140517)'), GeomFromEWKT('SRID=4674;POINT (-39.386746 -3.140504)'))) / (select extract(epoch from '2026-06-16 16:21:13'::timestamp) - extract(epoch from '2026-06-16 16:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386716 -3.140517)'), GeomFromEWKT('SRID=4674;POINT (-39.386746 -3.140504)'))) / (select extract(epoch from '2026-06-16 16:21:13'::timestamp) - extract(epoch from '2026-06-16 16:21: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'), 46789, 'SRID=4674;POINT (-39.386794 -3.140477)', '2026-06-16 16:21:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386746 -3.140504)'), GeomFromEWKT('SRID=4674;POINT (-39.386794 -3.140477)'))) / (select extract(epoch from '2026-06-16 16:21:22'::timestamp) - extract(epoch from '2026-06-16 16:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386746 -3.140504)'), GeomFromEWKT('SRID=4674;POINT (-39.386794 -3.140477)'))) / (select extract(epoch from '2026-06-16 16:21:22'::timestamp) - extract(epoch from '2026-06-16 16: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'), 46789, 'SRID=4674;POINT (-39.38685 -3.140451)', '2026-06-16 16:21:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386794 -3.140477)'), GeomFromEWKT('SRID=4674;POINT (-39.38685 -3.140451)'))) / (select extract(epoch from '2026-06-16 16:21:32'::timestamp) - extract(epoch from '2026-06-16 16:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386794 -3.140477)'), GeomFromEWKT('SRID=4674;POINT (-39.38685 -3.140451)'))) / (select extract(epoch from '2026-06-16 16:21:32'::timestamp) - extract(epoch from '2026-06-16 16:21: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'), 46789, 'SRID=4674;POINT (-39.38692 -3.140425)', '2026-06-16 16:21:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38685 -3.140451)'), GeomFromEWKT('SRID=4674;POINT (-39.38692 -3.140425)'))) / (select extract(epoch from '2026-06-16 16:21:41'::timestamp) - extract(epoch from '2026-06-16 16:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38685 -3.140451)'), GeomFromEWKT('SRID=4674;POINT (-39.38692 -3.140425)'))) / (select extract(epoch from '2026-06-16 16:21:41'::timestamp) - extract(epoch from '2026-06-16 16:21:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.386939 -3.140419)', '2026-06-16 16:21:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38692 -3.140425)'), GeomFromEWKT('SRID=4674;POINT (-39.386939 -3.140419)'))) / (select extract(epoch from '2026-06-16 16:21:43'::timestamp) - extract(epoch from '2026-06-16 16:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38692 -3.140425)'), GeomFromEWKT('SRID=4674;POINT (-39.386939 -3.140419)'))) / (select extract(epoch from '2026-06-16 16:21:43'::timestamp) - extract(epoch from '2026-06-16 16:21:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.386975 -3.140419)', '2026-06-16 16:21:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386939 -3.140419)'), GeomFromEWKT('SRID=4674;POINT (-39.386975 -3.140419)'))) / (select extract(epoch from '2026-06-16 16:21:48'::timestamp) - extract(epoch from '2026-06-16 16:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386939 -3.140419)'), GeomFromEWKT('SRID=4674;POINT (-39.386975 -3.140419)'))) / (select extract(epoch from '2026-06-16 16:21:48'::timestamp) - extract(epoch from '2026-06-16 16:21: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'), 46789, 'SRID=4674;POINT (-39.387045 -3.140395)', '2026-06-16 16:21:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386975 -3.140419)'), GeomFromEWKT('SRID=4674;POINT (-39.387045 -3.140395)'))) / (select extract(epoch from '2026-06-16 16:21:59'::timestamp) - extract(epoch from '2026-06-16 16:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.386975 -3.140419)'), GeomFromEWKT('SRID=4674;POINT (-39.387045 -3.140395)'))) / (select extract(epoch from '2026-06-16 16:21:59'::timestamp) - extract(epoch from '2026-06-16 16:21: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'), 46789, 'SRID=4674;POINT (-39.387085 -3.140378)', '2026-06-16 16:22:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387045 -3.140395)'), GeomFromEWKT('SRID=4674;POINT (-39.387085 -3.140378)'))) / (select extract(epoch from '2026-06-16 16:22:07'::timestamp) - extract(epoch from '2026-06-16 16:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387045 -3.140395)'), GeomFromEWKT('SRID=4674;POINT (-39.387085 -3.140378)'))) / (select extract(epoch from '2026-06-16 16:22:07'::timestamp) - extract(epoch from '2026-06-16 16:21: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'), 46789, 'SRID=4674;POINT (-39.387129 -3.140356)', '2026-06-16 16:22:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387085 -3.140378)'), GeomFromEWKT('SRID=4674;POINT (-39.387129 -3.140356)'))) / (select extract(epoch from '2026-06-16 16:22:15'::timestamp) - extract(epoch from '2026-06-16 16:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387085 -3.140378)'), GeomFromEWKT('SRID=4674;POINT (-39.387129 -3.140356)'))) / (select extract(epoch from '2026-06-16 16:22:15'::timestamp) - extract(epoch from '2026-06-16 16:22: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'), 46789, 'SRID=4674;POINT (-39.387177 -3.140355)', '2026-06-16 16:22:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387129 -3.140356)'), GeomFromEWKT('SRID=4674;POINT (-39.387177 -3.140355)'))) / (select extract(epoch from '2026-06-16 16:22:22'::timestamp) - extract(epoch from '2026-06-16 16:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387129 -3.140356)'), GeomFromEWKT('SRID=4674;POINT (-39.387177 -3.140355)'))) / (select extract(epoch from '2026-06-16 16:22:22'::timestamp) - extract(epoch from '2026-06-16 16:22:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.387251 -3.140344)', '2026-06-16 16:22:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387177 -3.140355)'), GeomFromEWKT('SRID=4674;POINT (-39.387251 -3.140344)'))) / (select extract(epoch from '2026-06-16 16:22:32'::timestamp) - extract(epoch from '2026-06-16 16:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387177 -3.140355)'), GeomFromEWKT('SRID=4674;POINT (-39.387251 -3.140344)'))) / (select extract(epoch from '2026-06-16 16:22:32'::timestamp) - extract(epoch from '2026-06-16 16:22: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'), 46789, 'SRID=4674;POINT (-39.387324 -3.140321)', '2026-06-16 16:22:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387251 -3.140344)'), GeomFromEWKT('SRID=4674;POINT (-39.387324 -3.140321)'))) / (select extract(epoch from '2026-06-16 16:22:43'::timestamp) - extract(epoch from '2026-06-16 16:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387251 -3.140344)'), GeomFromEWKT('SRID=4674;POINT (-39.387324 -3.140321)'))) / (select extract(epoch from '2026-06-16 16:22:43'::timestamp) - extract(epoch from '2026-06-16 16:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.387371 -3.140295)', '2026-06-16 16:22:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387324 -3.140321)'), GeomFromEWKT('SRID=4674;POINT (-39.387371 -3.140295)'))) / (select extract(epoch from '2026-06-16 16:22:52'::timestamp) - extract(epoch from '2026-06-16 16:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387324 -3.140321)'), GeomFromEWKT('SRID=4674;POINT (-39.387371 -3.140295)'))) / (select extract(epoch from '2026-06-16 16:22:52'::timestamp) - extract(epoch from '2026-06-16 16:22:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.387424 -3.140275)', '2026-06-16 16:23:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387371 -3.140295)'), GeomFromEWKT('SRID=4674;POINT (-39.387424 -3.140275)'))) / (select extract(epoch from '2026-06-16 16:23:00'::timestamp) - extract(epoch from '2026-06-16 16:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387371 -3.140295)'), GeomFromEWKT('SRID=4674;POINT (-39.387424 -3.140275)'))) / (select extract(epoch from '2026-06-16 16:23:00'::timestamp) - extract(epoch from '2026-06-16 16:22:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.387456 -3.140271)', '2026-06-16 16:23:06', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387424 -3.140275)'), GeomFromEWKT('SRID=4674;POINT (-39.387456 -3.140271)'))) / (select extract(epoch from '2026-06-16 16:23:06'::timestamp) - extract(epoch from '2026-06-16 16:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387424 -3.140275)'), GeomFromEWKT('SRID=4674;POINT (-39.387456 -3.140271)'))) / (select extract(epoch from '2026-06-16 16:23:06'::timestamp) - extract(epoch from '2026-06-16 16:23: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'), 46789, 'SRID=4674;POINT (-39.387496 -3.140261)', '2026-06-16 16:23:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387456 -3.140271)'), GeomFromEWKT('SRID=4674;POINT (-39.387496 -3.140261)'))) / (select extract(epoch from '2026-06-16 16:23:12'::timestamp) - extract(epoch from '2026-06-16 16:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387456 -3.140271)'), GeomFromEWKT('SRID=4674;POINT (-39.387496 -3.140261)'))) / (select extract(epoch from '2026-06-16 16:23:12'::timestamp) - extract(epoch from '2026-06-16 16:23:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.387546 -3.140243)', '2026-06-16 16:23:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387496 -3.140261)'), GeomFromEWKT('SRID=4674;POINT (-39.387546 -3.140243)'))) / (select extract(epoch from '2026-06-16 16:23:20'::timestamp) - extract(epoch from '2026-06-16 16:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387496 -3.140261)'), GeomFromEWKT('SRID=4674;POINT (-39.387546 -3.140243)'))) / (select extract(epoch from '2026-06-16 16:23:20'::timestamp) - extract(epoch from '2026-06-16 16:23: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'), 46789, 'SRID=4674;POINT (-39.387591 -3.140235)', '2026-06-16 16:23:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387546 -3.140243)'), GeomFromEWKT('SRID=4674;POINT (-39.387591 -3.140235)'))) / (select extract(epoch from '2026-06-16 16:23:27'::timestamp) - extract(epoch from '2026-06-16 16:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387546 -3.140243)'), GeomFromEWKT('SRID=4674;POINT (-39.387591 -3.140235)'))) / (select extract(epoch from '2026-06-16 16:23:27'::timestamp) - extract(epoch from '2026-06-16 16:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.387642 -3.140213)', '2026-06-16 16:23:36', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387591 -3.140235)'), GeomFromEWKT('SRID=4674;POINT (-39.387642 -3.140213)'))) / (select extract(epoch from '2026-06-16 16:23:36'::timestamp) - extract(epoch from '2026-06-16 16:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387591 -3.140235)'), GeomFromEWKT('SRID=4674;POINT (-39.387642 -3.140213)'))) / (select extract(epoch from '2026-06-16 16:23:36'::timestamp) - extract(epoch from '2026-06-16 16:23:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.387685 -3.140198)', '2026-06-16 16:23:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387642 -3.140213)'), GeomFromEWKT('SRID=4674;POINT (-39.387685 -3.140198)'))) / (select extract(epoch from '2026-06-16 16:23:43'::timestamp) - extract(epoch from '2026-06-16 16:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387642 -3.140213)'), GeomFromEWKT('SRID=4674;POINT (-39.387685 -3.140198)'))) / (select extract(epoch from '2026-06-16 16:23:43'::timestamp) - extract(epoch from '2026-06-16 16:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.387721 -3.140172)', '2026-06-16 16:23:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387685 -3.140198)'), GeomFromEWKT('SRID=4674;POINT (-39.387721 -3.140172)'))) / (select extract(epoch from '2026-06-16 16:23:50'::timestamp) - extract(epoch from '2026-06-16 16:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387685 -3.140198)'), GeomFromEWKT('SRID=4674;POINT (-39.387721 -3.140172)'))) / (select extract(epoch from '2026-06-16 16:23:50'::timestamp) - extract(epoch from '2026-06-16 16:23: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'), 46789, 'SRID=4674;POINT (-39.387763 -3.140155)', '2026-06-16 16:23:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387721 -3.140172)'), GeomFromEWKT('SRID=4674;POINT (-39.387763 -3.140155)'))) / (select extract(epoch from '2026-06-16 16:23:56'::timestamp) - extract(epoch from '2026-06-16 16:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387721 -3.140172)'), GeomFromEWKT('SRID=4674;POINT (-39.387763 -3.140155)'))) / (select extract(epoch from '2026-06-16 16:23:56'::timestamp) - extract(epoch from '2026-06-16 16:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.387813 -3.140135)', '2026-06-16 16:24:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387763 -3.140155)'), GeomFromEWKT('SRID=4674;POINT (-39.387813 -3.140135)'))) / (select extract(epoch from '2026-06-16 16:24:06'::timestamp) - extract(epoch from '2026-06-16 16:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387763 -3.140155)'), GeomFromEWKT('SRID=4674;POINT (-39.387813 -3.140135)'))) / (select extract(epoch from '2026-06-16 16:24:06'::timestamp) - extract(epoch from '2026-06-16 16:23: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'), 46789, 'SRID=4674;POINT (-39.387881 -3.140123)', '2026-06-16 16:24:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387813 -3.140135)'), GeomFromEWKT('SRID=4674;POINT (-39.387881 -3.140123)'))) / (select extract(epoch from '2026-06-16 16:24:16'::timestamp) - extract(epoch from '2026-06-16 16:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387813 -3.140135)'), GeomFromEWKT('SRID=4674;POINT (-39.387881 -3.140123)'))) / (select extract(epoch from '2026-06-16 16:24:16'::timestamp) - extract(epoch from '2026-06-16 16:24: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'), 46789, 'SRID=4674;POINT (-39.387954 -3.14009)', '2026-06-16 16:24:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387881 -3.140123)'), GeomFromEWKT('SRID=4674;POINT (-39.387954 -3.14009)'))) / (select extract(epoch from '2026-06-16 16:24:27'::timestamp) - extract(epoch from '2026-06-16 16:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387881 -3.140123)'), GeomFromEWKT('SRID=4674;POINT (-39.387954 -3.14009)'))) / (select extract(epoch from '2026-06-16 16:24:27'::timestamp) - extract(epoch from '2026-06-16 16:24:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.388006 -3.140058)', '2026-06-16 16:24:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387954 -3.14009)'), GeomFromEWKT('SRID=4674;POINT (-39.388006 -3.140058)'))) / (select extract(epoch from '2026-06-16 16:24:36'::timestamp) - extract(epoch from '2026-06-16 16:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.387954 -3.14009)'), GeomFromEWKT('SRID=4674;POINT (-39.388006 -3.140058)'))) / (select extract(epoch from '2026-06-16 16:24:36'::timestamp) - extract(epoch from '2026-06-16 16:24: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'), 46789, 'SRID=4674;POINT (-39.388065 -3.140026)', '2026-06-16 16:24:47', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388006 -3.140058)'), GeomFromEWKT('SRID=4674;POINT (-39.388065 -3.140026)'))) / (select extract(epoch from '2026-06-16 16:24:47'::timestamp) - extract(epoch from '2026-06-16 16:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388006 -3.140058)'), GeomFromEWKT('SRID=4674;POINT (-39.388065 -3.140026)'))) / (select extract(epoch from '2026-06-16 16:24:47'::timestamp) - extract(epoch from '2026-06-16 16:24:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.388137 -3.139981)', '2026-06-16 16:25:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388065 -3.140026)'), GeomFromEWKT('SRID=4674;POINT (-39.388137 -3.139981)'))) / (select extract(epoch from '2026-06-16 16:25:00'::timestamp) - extract(epoch from '2026-06-16 16:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388065 -3.140026)'), GeomFromEWKT('SRID=4674;POINT (-39.388137 -3.139981)'))) / (select extract(epoch from '2026-06-16 16:25:00'::timestamp) - extract(epoch from '2026-06-16 16:24: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'), 46789, 'SRID=4674;POINT (-39.388224 -3.139945)', '2026-06-16 16:25:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388137 -3.139981)'), GeomFromEWKT('SRID=4674;POINT (-39.388224 -3.139945)'))) / (select extract(epoch from '2026-06-16 16:25:14'::timestamp) - extract(epoch from '2026-06-16 16:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388137 -3.139981)'), GeomFromEWKT('SRID=4674;POINT (-39.388224 -3.139945)'))) / (select extract(epoch from '2026-06-16 16:25:14'::timestamp) - extract(epoch from '2026-06-16 16:25: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'), 46789, 'SRID=4674;POINT (-39.388282 -3.139921)', '2026-06-16 16:25:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388224 -3.139945)'), GeomFromEWKT('SRID=4674;POINT (-39.388282 -3.139921)'))) / (select extract(epoch from '2026-06-16 16:25:25'::timestamp) - extract(epoch from '2026-06-16 16:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388224 -3.139945)'), GeomFromEWKT('SRID=4674;POINT (-39.388282 -3.139921)'))) / (select extract(epoch from '2026-06-16 16:25:25'::timestamp) - extract(epoch from '2026-06-16 16: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'), 46789, 'SRID=4674;POINT (-39.388336 -3.139888)', '2026-06-16 16:25:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388282 -3.139921)'), GeomFromEWKT('SRID=4674;POINT (-39.388336 -3.139888)'))) / (select extract(epoch from '2026-06-16 16:25:34'::timestamp) - extract(epoch from '2026-06-16 16:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388282 -3.139921)'), GeomFromEWKT('SRID=4674;POINT (-39.388336 -3.139888)'))) / (select extract(epoch from '2026-06-16 16:25:34'::timestamp) - extract(epoch from '2026-06-16 16: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'), 46789, 'SRID=4674;POINT (-39.388411 -3.139856)', '2026-06-16 16:25:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388336 -3.139888)'), GeomFromEWKT('SRID=4674;POINT (-39.388411 -3.139856)'))) / (select extract(epoch from '2026-06-16 16:25:46'::timestamp) - extract(epoch from '2026-06-16 16:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388336 -3.139888)'), GeomFromEWKT('SRID=4674;POINT (-39.388411 -3.139856)'))) / (select extract(epoch from '2026-06-16 16:25:46'::timestamp) - extract(epoch from '2026-06-16 16:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.388499 -3.139826)', '2026-06-16 16:26:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388411 -3.139856)'), GeomFromEWKT('SRID=4674;POINT (-39.388499 -3.139826)'))) / (select extract(epoch from '2026-06-16 16:26:00'::timestamp) - extract(epoch from '2026-06-16 16:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388411 -3.139856)'), GeomFromEWKT('SRID=4674;POINT (-39.388499 -3.139826)'))) / (select extract(epoch from '2026-06-16 16:26:00'::timestamp) - extract(epoch from '2026-06-16 16:25:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.388532 -3.139819)', '2026-06-16 16:26:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388499 -3.139826)'), GeomFromEWKT('SRID=4674;POINT (-39.388532 -3.139819)'))) / (select extract(epoch from '2026-06-16 16:26:06'::timestamp) - extract(epoch from '2026-06-16 16:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388499 -3.139826)'), GeomFromEWKT('SRID=4674;POINT (-39.388532 -3.139819)'))) / (select extract(epoch from '2026-06-16 16:26:06'::timestamp) - extract(epoch from '2026-06-16 16:26: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'), 46789, 'SRID=4674;POINT (-39.388581 -3.139802)', '2026-06-16 16:26:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388532 -3.139819)'), GeomFromEWKT('SRID=4674;POINT (-39.388581 -3.139802)'))) / (select extract(epoch from '2026-06-16 16:26:14'::timestamp) - extract(epoch from '2026-06-16 16:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388532 -3.139819)'), GeomFromEWKT('SRID=4674;POINT (-39.388581 -3.139802)'))) / (select extract(epoch from '2026-06-16 16:26:14'::timestamp) - extract(epoch from '2026-06-16 16:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.388633 -3.139758)', '2026-06-16 16:26:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388581 -3.139802)'), GeomFromEWKT('SRID=4674;POINT (-39.388633 -3.139758)'))) / (select extract(epoch from '2026-06-16 16:26:25'::timestamp) - extract(epoch from '2026-06-16 16:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388581 -3.139802)'), GeomFromEWKT('SRID=4674;POINT (-39.388633 -3.139758)'))) / (select extract(epoch from '2026-06-16 16:26:25'::timestamp) - extract(epoch from '2026-06-16 16:26: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'), 46789, 'SRID=4674;POINT (-39.388642 -3.139756)', '2026-06-16 16:26:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388633 -3.139758)'), GeomFromEWKT('SRID=4674;POINT (-39.388642 -3.139756)'))) / (select extract(epoch from '2026-06-16 16:26:26'::timestamp) - extract(epoch from '2026-06-16 16:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388633 -3.139758)'), GeomFromEWKT('SRID=4674;POINT (-39.388642 -3.139756)'))) / (select extract(epoch from '2026-06-16 16:26:26'::timestamp) - extract(epoch from '2026-06-16 16:26: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'), 46789, 'SRID=4674;POINT (-39.388674 -3.139751)', '2026-06-16 16:26:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388642 -3.139756)'), GeomFromEWKT('SRID=4674;POINT (-39.388674 -3.139751)'))) / (select extract(epoch from '2026-06-16 16:26:29'::timestamp) - extract(epoch from '2026-06-16 16:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388642 -3.139756)'), GeomFromEWKT('SRID=4674;POINT (-39.388674 -3.139751)'))) / (select extract(epoch from '2026-06-16 16:26:29'::timestamp) - extract(epoch from '2026-06-16 16:26:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.388738 -3.139729)', '2026-06-16 16:26:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388674 -3.139751)'), GeomFromEWKT('SRID=4674;POINT (-39.388738 -3.139729)'))) / (select extract(epoch from '2026-06-16 16:26:37'::timestamp) - extract(epoch from '2026-06-16 16:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388674 -3.139751)'), GeomFromEWKT('SRID=4674;POINT (-39.388738 -3.139729)'))) / (select extract(epoch from '2026-06-16 16:26:37'::timestamp) - extract(epoch from '2026-06-16 16:26:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.38876 -3.139706)', '2026-06-16 16:26:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388738 -3.139729)'), GeomFromEWKT('SRID=4674;POINT (-39.38876 -3.139706)'))) / (select extract(epoch from '2026-06-16 16:26:42'::timestamp) - extract(epoch from '2026-06-16 16:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388738 -3.139729)'), GeomFromEWKT('SRID=4674;POINT (-39.38876 -3.139706)'))) / (select extract(epoch from '2026-06-16 16:26:42'::timestamp) - extract(epoch from '2026-06-16 16:26:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.388796 -3.139683)', '2026-06-16 16:26:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38876 -3.139706)'), GeomFromEWKT('SRID=4674;POINT (-39.388796 -3.139683)'))) / (select extract(epoch from '2026-06-16 16:26:48'::timestamp) - extract(epoch from '2026-06-16 16:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38876 -3.139706)'), GeomFromEWKT('SRID=4674;POINT (-39.388796 -3.139683)'))) / (select extract(epoch from '2026-06-16 16:26:48'::timestamp) - extract(epoch from '2026-06-16 16:26: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'), 46789, 'SRID=4674;POINT (-39.388862 -3.139677)', '2026-06-16 16:26:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388796 -3.139683)'), GeomFromEWKT('SRID=4674;POINT (-39.388862 -3.139677)'))) / (select extract(epoch from '2026-06-16 16:26:57'::timestamp) - extract(epoch from '2026-06-16 16:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388796 -3.139683)'), GeomFromEWKT('SRID=4674;POINT (-39.388862 -3.139677)'))) / (select extract(epoch from '2026-06-16 16:26:57'::timestamp) - extract(epoch from '2026-06-16 16:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.388971 -3.139653)', '2026-06-16 16:27:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388862 -3.139677)'), GeomFromEWKT('SRID=4674;POINT (-39.388971 -3.139653)'))) / (select extract(epoch from '2026-06-16 16:27:16'::timestamp) - extract(epoch from '2026-06-16 16:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388862 -3.139677)'), GeomFromEWKT('SRID=4674;POINT (-39.388971 -3.139653)'))) / (select extract(epoch from '2026-06-16 16:27:16'::timestamp) - extract(epoch from '2026-06-16 16: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'), 46789, 'SRID=4674;POINT (-39.389037 -3.139645)', '2026-06-16 16:27:29', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388971 -3.139653)'), GeomFromEWKT('SRID=4674;POINT (-39.389037 -3.139645)'))) / (select extract(epoch from '2026-06-16 16:27:29'::timestamp) - extract(epoch from '2026-06-16 16:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.388971 -3.139653)'), GeomFromEWKT('SRID=4674;POINT (-39.389037 -3.139645)'))) / (select extract(epoch from '2026-06-16 16:27:29'::timestamp) - extract(epoch from '2026-06-16 16:27:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.389115 -3.139619)', '2026-06-16 16:27:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389037 -3.139645)'), GeomFromEWKT('SRID=4674;POINT (-39.389115 -3.139619)'))) / (select extract(epoch from '2026-06-16 16:27:44'::timestamp) - extract(epoch from '2026-06-16 16:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389037 -3.139645)'), GeomFromEWKT('SRID=4674;POINT (-39.389115 -3.139619)'))) / (select extract(epoch from '2026-06-16 16:27:44'::timestamp) - extract(epoch from '2026-06-16 16: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'), 46789, 'SRID=4674;POINT (-39.389134 -3.139611)', '2026-06-16 16:27:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389115 -3.139619)'), GeomFromEWKT('SRID=4674;POINT (-39.389134 -3.139611)'))) / (select extract(epoch from '2026-06-16 16:27:47'::timestamp) - extract(epoch from '2026-06-16 16:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389115 -3.139619)'), GeomFromEWKT('SRID=4674;POINT (-39.389134 -3.139611)'))) / (select extract(epoch from '2026-06-16 16:27:47'::timestamp) - extract(epoch from '2026-06-16 16:27: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'), 46789, 'SRID=4674;POINT (-39.389162 -3.139594)', '2026-06-16 16:27:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389134 -3.139611)'), GeomFromEWKT('SRID=4674;POINT (-39.389162 -3.139594)'))) / (select extract(epoch from '2026-06-16 16:27:51'::timestamp) - extract(epoch from '2026-06-16 16:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389134 -3.139611)'), GeomFromEWKT('SRID=4674;POINT (-39.389162 -3.139594)'))) / (select extract(epoch from '2026-06-16 16:27:51'::timestamp) - extract(epoch from '2026-06-16 16:27:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.389212 -3.139564)', '2026-06-16 16:27:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389162 -3.139594)'), GeomFromEWKT('SRID=4674;POINT (-39.389212 -3.139564)'))) / (select extract(epoch from '2026-06-16 16:27:58'::timestamp) - extract(epoch from '2026-06-16 16:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389162 -3.139594)'), GeomFromEWKT('SRID=4674;POINT (-39.389212 -3.139564)'))) / (select extract(epoch from '2026-06-16 16:27:58'::timestamp) - extract(epoch from '2026-06-16 16:27: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'), 46789, 'SRID=4674;POINT (-39.389268 -3.13954)', '2026-06-16 16:28:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389212 -3.139564)'), GeomFromEWKT('SRID=4674;POINT (-39.389268 -3.13954)'))) / (select extract(epoch from '2026-06-16 16:28:05'::timestamp) - extract(epoch from '2026-06-16 16:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389212 -3.139564)'), GeomFromEWKT('SRID=4674;POINT (-39.389268 -3.13954)'))) / (select extract(epoch from '2026-06-16 16:28:05'::timestamp) - extract(epoch from '2026-06-16 16:27: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'), 46789, 'SRID=4674;POINT (-39.389342 -3.139516)', '2026-06-16 16:28:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389268 -3.13954)'), GeomFromEWKT('SRID=4674;POINT (-39.389342 -3.139516)'))) / (select extract(epoch from '2026-06-16 16:28:18'::timestamp) - extract(epoch from '2026-06-16 16:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389268 -3.13954)'), GeomFromEWKT('SRID=4674;POINT (-39.389342 -3.139516)'))) / (select extract(epoch from '2026-06-16 16:28:18'::timestamp) - extract(epoch from '2026-06-16 16:28: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'), 46789, 'SRID=4674;POINT (-39.389396 -3.139505)', '2026-06-16 16:28:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389342 -3.139516)'), GeomFromEWKT('SRID=4674;POINT (-39.389396 -3.139505)'))) / (select extract(epoch from '2026-06-16 16:28:26'::timestamp) - extract(epoch from '2026-06-16 16:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389342 -3.139516)'), GeomFromEWKT('SRID=4674;POINT (-39.389396 -3.139505)'))) / (select extract(epoch from '2026-06-16 16:28:26'::timestamp) - extract(epoch from '2026-06-16 16:28: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'), 46789, 'SRID=4674;POINT (-39.389465 -3.139496)', '2026-06-16 16:28:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389396 -3.139505)'), GeomFromEWKT('SRID=4674;POINT (-39.389465 -3.139496)'))) / (select extract(epoch from '2026-06-16 16:28:39'::timestamp) - extract(epoch from '2026-06-16 16:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389396 -3.139505)'), GeomFromEWKT('SRID=4674;POINT (-39.389465 -3.139496)'))) / (select extract(epoch from '2026-06-16 16:28:39'::timestamp) - extract(epoch from '2026-06-16 16:28: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'), 46789, 'SRID=4674;POINT (-39.389517 -3.139478)', '2026-06-16 16:28:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389465 -3.139496)'), GeomFromEWKT('SRID=4674;POINT (-39.389517 -3.139478)'))) / (select extract(epoch from '2026-06-16 16:28:50'::timestamp) - extract(epoch from '2026-06-16 16:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389465 -3.139496)'), GeomFromEWKT('SRID=4674;POINT (-39.389517 -3.139478)'))) / (select extract(epoch from '2026-06-16 16:28:50'::timestamp) - extract(epoch from '2026-06-16 16:28: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'), 46789, 'SRID=4674;POINT (-39.389599 -3.139448)', '2026-06-16 16:29:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389517 -3.139478)'), GeomFromEWKT('SRID=4674;POINT (-39.389599 -3.139448)'))) / (select extract(epoch from '2026-06-16 16:29:02'::timestamp) - extract(epoch from '2026-06-16 16:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389517 -3.139478)'), GeomFromEWKT('SRID=4674;POINT (-39.389599 -3.139448)'))) / (select extract(epoch from '2026-06-16 16:29:02'::timestamp) - extract(epoch from '2026-06-16 16:28: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'), 46789, 'SRID=4674;POINT (-39.389659 -3.139418)', '2026-06-16 16:29:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389599 -3.139448)'), GeomFromEWKT('SRID=4674;POINT (-39.389659 -3.139418)'))) / (select extract(epoch from '2026-06-16 16:29:12'::timestamp) - extract(epoch from '2026-06-16 16:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389599 -3.139448)'), GeomFromEWKT('SRID=4674;POINT (-39.389659 -3.139418)'))) / (select extract(epoch from '2026-06-16 16:29:12'::timestamp) - extract(epoch from '2026-06-16 16:29:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.38972 -3.139404)', '2026-06-16 16:29:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389659 -3.139418)'), GeomFromEWKT('SRID=4674;POINT (-39.38972 -3.139404)'))) / (select extract(epoch from '2026-06-16 16:29:21'::timestamp) - extract(epoch from '2026-06-16 16:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389659 -3.139418)'), GeomFromEWKT('SRID=4674;POINT (-39.38972 -3.139404)'))) / (select extract(epoch from '2026-06-16 16:29:21'::timestamp) - extract(epoch from '2026-06-16 16:29: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'), 46789, 'SRID=4674;POINT (-39.389772 -3.139405)', '2026-06-16 16:29:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38972 -3.139404)'), GeomFromEWKT('SRID=4674;POINT (-39.389772 -3.139405)'))) / (select extract(epoch from '2026-06-16 16:29:29'::timestamp) - extract(epoch from '2026-06-16 16:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38972 -3.139404)'), GeomFromEWKT('SRID=4674;POINT (-39.389772 -3.139405)'))) / (select extract(epoch from '2026-06-16 16:29:29'::timestamp) - extract(epoch from '2026-06-16 16:29: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'), 46789, 'SRID=4674;POINT (-39.389863 -3.139367)', '2026-06-16 16:29:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389772 -3.139405)'), GeomFromEWKT('SRID=4674;POINT (-39.389863 -3.139367)'))) / (select extract(epoch from '2026-06-16 16:29:41'::timestamp) - extract(epoch from '2026-06-16 16:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389772 -3.139405)'), GeomFromEWKT('SRID=4674;POINT (-39.389863 -3.139367)'))) / (select extract(epoch from '2026-06-16 16:29:41'::timestamp) - extract(epoch from '2026-06-16 16:29:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.389905 -3.139355)', '2026-06-16 16:29:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389863 -3.139367)'), GeomFromEWKT('SRID=4674;POINT (-39.389905 -3.139355)'))) / (select extract(epoch from '2026-06-16 16:29:48'::timestamp) - extract(epoch from '2026-06-16 16:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389863 -3.139367)'), GeomFromEWKT('SRID=4674;POINT (-39.389905 -3.139355)'))) / (select extract(epoch from '2026-06-16 16:29:48'::timestamp) - extract(epoch from '2026-06-16 16:29:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.390005 -3.139323)', '2026-06-16 16:30:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389905 -3.139355)'), GeomFromEWKT('SRID=4674;POINT (-39.390005 -3.139323)'))) / (select extract(epoch from '2026-06-16 16:30:03'::timestamp) - extract(epoch from '2026-06-16 16:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.389905 -3.139355)'), GeomFromEWKT('SRID=4674;POINT (-39.390005 -3.139323)'))) / (select extract(epoch from '2026-06-16 16:30:03'::timestamp) - extract(epoch from '2026-06-16 16:29:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.390061 -3.139288)', '2026-06-16 16:30:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390005 -3.139323)'), GeomFromEWKT('SRID=4674;POINT (-39.390061 -3.139288)'))) / (select extract(epoch from '2026-06-16 16:30:14'::timestamp) - extract(epoch from '2026-06-16 16:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390005 -3.139323)'), GeomFromEWKT('SRID=4674;POINT (-39.390061 -3.139288)'))) / (select extract(epoch from '2026-06-16 16:30:14'::timestamp) - extract(epoch from '2026-06-16 16:30: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'), 46789, 'SRID=4674;POINT (-39.39014 -3.13926)', '2026-06-16 16:30:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390061 -3.139288)'), GeomFromEWKT('SRID=4674;POINT (-39.39014 -3.13926)'))) / (select extract(epoch from '2026-06-16 16:30:28'::timestamp) - extract(epoch from '2026-06-16 16:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390061 -3.139288)'), GeomFromEWKT('SRID=4674;POINT (-39.39014 -3.13926)'))) / (select extract(epoch from '2026-06-16 16:30:28'::timestamp) - extract(epoch from '2026-06-16 16:30: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'), 46789, 'SRID=4674;POINT (-39.390211 -3.139215)', '2026-06-16 16:30:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39014 -3.13926)'), GeomFromEWKT('SRID=4674;POINT (-39.390211 -3.139215)'))) / (select extract(epoch from '2026-06-16 16:30:40'::timestamp) - extract(epoch from '2026-06-16 16:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39014 -3.13926)'), GeomFromEWKT('SRID=4674;POINT (-39.390211 -3.139215)'))) / (select extract(epoch from '2026-06-16 16:30:40'::timestamp) - extract(epoch from '2026-06-16 16:30:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.390267 -3.139202)', '2026-06-16 16:30:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390211 -3.139215)'), GeomFromEWKT('SRID=4674;POINT (-39.390267 -3.139202)'))) / (select extract(epoch from '2026-06-16 16:30:49'::timestamp) - extract(epoch from '2026-06-16 16:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390211 -3.139215)'), GeomFromEWKT('SRID=4674;POINT (-39.390267 -3.139202)'))) / (select extract(epoch from '2026-06-16 16:30:49'::timestamp) - extract(epoch from '2026-06-16 16:30:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.390287 -3.139211)', '2026-06-16 16:30:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390267 -3.139202)'), GeomFromEWKT('SRID=4674;POINT (-39.390287 -3.139211)'))) / (select extract(epoch from '2026-06-16 16:30:51'::timestamp) - extract(epoch from '2026-06-16 16:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390267 -3.139202)'), GeomFromEWKT('SRID=4674;POINT (-39.390287 -3.139211)'))) / (select extract(epoch from '2026-06-16 16:30:51'::timestamp) - extract(epoch from '2026-06-16 16:30: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'), 46789, 'SRID=4674;POINT (-39.390324 -3.139213)', '2026-06-16 16:30:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390287 -3.139211)'), GeomFromEWKT('SRID=4674;POINT (-39.390324 -3.139213)'))) / (select extract(epoch from '2026-06-16 16:30:57'::timestamp) - extract(epoch from '2026-06-16 16:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390287 -3.139211)'), GeomFromEWKT('SRID=4674;POINT (-39.390324 -3.139213)'))) / (select extract(epoch from '2026-06-16 16:30:57'::timestamp) - extract(epoch from '2026-06-16 16:30:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.390382 -3.139186)', '2026-06-16 16:31:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390324 -3.139213)'), GeomFromEWKT('SRID=4674;POINT (-39.390382 -3.139186)'))) / (select extract(epoch from '2026-06-16 16:31:09'::timestamp) - extract(epoch from '2026-06-16 16:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390324 -3.139213)'), GeomFromEWKT('SRID=4674;POINT (-39.390382 -3.139186)'))) / (select extract(epoch from '2026-06-16 16:31:09'::timestamp) - extract(epoch from '2026-06-16 16:30:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.390446 -3.139169)', '2026-06-16 16:31:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390382 -3.139186)'), GeomFromEWKT('SRID=4674;POINT (-39.390446 -3.139169)'))) / (select extract(epoch from '2026-06-16 16:31:20'::timestamp) - extract(epoch from '2026-06-16 16:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390382 -3.139186)'), GeomFromEWKT('SRID=4674;POINT (-39.390446 -3.139169)'))) / (select extract(epoch from '2026-06-16 16:31:20'::timestamp) - extract(epoch from '2026-06-16 16:31: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'), 46789, 'SRID=4674;POINT (-39.390502 -3.139145)', '2026-06-16 16:31:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390446 -3.139169)'), GeomFromEWKT('SRID=4674;POINT (-39.390502 -3.139145)'))) / (select extract(epoch from '2026-06-16 16:31:29'::timestamp) - extract(epoch from '2026-06-16 16:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390446 -3.139169)'), GeomFromEWKT('SRID=4674;POINT (-39.390502 -3.139145)'))) / (select extract(epoch from '2026-06-16 16:31:29'::timestamp) - extract(epoch from '2026-06-16 16:31: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'), 46789, 'SRID=4674;POINT (-39.390539 -3.139132)', '2026-06-16 16:31:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390502 -3.139145)'), GeomFromEWKT('SRID=4674;POINT (-39.390539 -3.139132)'))) / (select extract(epoch from '2026-06-16 16:31:34'::timestamp) - extract(epoch from '2026-06-16 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390502 -3.139145)'), GeomFromEWKT('SRID=4674;POINT (-39.390539 -3.139132)'))) / (select extract(epoch from '2026-06-16 16:31:34'::timestamp) - extract(epoch from '2026-06-16 16:31: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'), 46789, 'SRID=4674;POINT (-39.390586 -3.139112)', '2026-06-16 16:31:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390539 -3.139132)'), GeomFromEWKT('SRID=4674;POINT (-39.390586 -3.139112)'))) / (select extract(epoch from '2026-06-16 16:31:43'::timestamp) - extract(epoch from '2026-06-16 16:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390539 -3.139132)'), GeomFromEWKT('SRID=4674;POINT (-39.390586 -3.139112)'))) / (select extract(epoch from '2026-06-16 16:31:43'::timestamp) - extract(epoch from '2026-06-16 16:31: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'), 46789, 'SRID=4674;POINT (-39.390636 -3.139101)', '2026-06-16 16:31:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390586 -3.139112)'), GeomFromEWKT('SRID=4674;POINT (-39.390636 -3.139101)'))) / (select extract(epoch from '2026-06-16 16:31:51'::timestamp) - extract(epoch from '2026-06-16 16:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390586 -3.139112)'), GeomFromEWKT('SRID=4674;POINT (-39.390636 -3.139101)'))) / (select extract(epoch from '2026-06-16 16:31:51'::timestamp) - extract(epoch from '2026-06-16 16:31: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'), 46789, 'SRID=4674;POINT (-39.390706 -3.139079)', '2026-06-16 16:32:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390636 -3.139101)'), GeomFromEWKT('SRID=4674;POINT (-39.390706 -3.139079)'))) / (select extract(epoch from '2026-06-16 16:32:01'::timestamp) - extract(epoch from '2026-06-16 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390636 -3.139101)'), GeomFromEWKT('SRID=4674;POINT (-39.390706 -3.139079)'))) / (select extract(epoch from '2026-06-16 16:32:01'::timestamp) - extract(epoch from '2026-06-16 16:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.390777 -3.139044)', '2026-06-16 16:32:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390706 -3.139079)'), GeomFromEWKT('SRID=4674;POINT (-39.390777 -3.139044)'))) / (select extract(epoch from '2026-06-16 16:32:14'::timestamp) - extract(epoch from '2026-06-16 16:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390706 -3.139079)'), GeomFromEWKT('SRID=4674;POINT (-39.390777 -3.139044)'))) / (select extract(epoch from '2026-06-16 16:32:14'::timestamp) - extract(epoch from '2026-06-16 16:32: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'), 46789, 'SRID=4674;POINT (-39.390842 -3.13901)', '2026-06-16 16:32:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390777 -3.139044)'), GeomFromEWKT('SRID=4674;POINT (-39.390842 -3.13901)'))) / (select extract(epoch from '2026-06-16 16:32:26'::timestamp) - extract(epoch from '2026-06-16 16:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390777 -3.139044)'), GeomFromEWKT('SRID=4674;POINT (-39.390842 -3.13901)'))) / (select extract(epoch from '2026-06-16 16:32:26'::timestamp) - extract(epoch from '2026-06-16 16:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.390869 -3.138997)', '2026-06-16 16:32:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390842 -3.13901)'), GeomFromEWKT('SRID=4674;POINT (-39.390869 -3.138997)'))) / (select extract(epoch from '2026-06-16 16:32:31'::timestamp) - extract(epoch from '2026-06-16 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390842 -3.13901)'), GeomFromEWKT('SRID=4674;POINT (-39.390869 -3.138997)'))) / (select extract(epoch from '2026-06-16 16:32:31'::timestamp) - extract(epoch from '2026-06-16 16:32: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'), 46789, 'SRID=4674;POINT (-39.390943 -3.13898)', '2026-06-16 16:32:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390869 -3.138997)'), GeomFromEWKT('SRID=4674;POINT (-39.390943 -3.13898)'))) / (select extract(epoch from '2026-06-16 16:32:43'::timestamp) - extract(epoch from '2026-06-16 16:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390869 -3.138997)'), GeomFromEWKT('SRID=4674;POINT (-39.390943 -3.13898)'))) / (select extract(epoch from '2026-06-16 16:32:43'::timestamp) - extract(epoch from '2026-06-16 16:32: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'), 46789, 'SRID=4674;POINT (-39.391002 -3.138972)', '2026-06-16 16:32:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390943 -3.13898)'), GeomFromEWKT('SRID=4674;POINT (-39.391002 -3.138972)'))) / (select extract(epoch from '2026-06-16 16:32:52'::timestamp) - extract(epoch from '2026-06-16 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.390943 -3.13898)'), GeomFromEWKT('SRID=4674;POINT (-39.391002 -3.138972)'))) / (select extract(epoch from '2026-06-16 16:32:52'::timestamp) - extract(epoch from '2026-06-16 16:32: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'), 46789, 'SRID=4674;POINT (-39.391088 -3.138934)', '2026-06-16 16:33:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391002 -3.138972)'), GeomFromEWKT('SRID=4674;POINT (-39.391088 -3.138934)'))) / (select extract(epoch from '2026-06-16 16:33:06'::timestamp) - extract(epoch from '2026-06-16 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391002 -3.138972)'), GeomFromEWKT('SRID=4674;POINT (-39.391088 -3.138934)'))) / (select extract(epoch from '2026-06-16 16:33:06'::timestamp) - extract(epoch from '2026-06-16 16:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.391122 -3.138937)', '2026-06-16 16:33:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391088 -3.138934)'), GeomFromEWKT('SRID=4674;POINT (-39.391122 -3.138937)'))) / (select extract(epoch from '2026-06-16 16:33:12'::timestamp) - extract(epoch from '2026-06-16 16:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391088 -3.138934)'), GeomFromEWKT('SRID=4674;POINT (-39.391122 -3.138937)'))) / (select extract(epoch from '2026-06-16 16:33:12'::timestamp) - extract(epoch from '2026-06-16 16:33: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'), 46789, 'SRID=4674;POINT (-39.391195 -3.138909)', '2026-06-16 16:33:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391122 -3.138937)'), GeomFromEWKT('SRID=4674;POINT (-39.391195 -3.138909)'))) / (select extract(epoch from '2026-06-16 16:33:24'::timestamp) - extract(epoch from '2026-06-16 16:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391122 -3.138937)'), GeomFromEWKT('SRID=4674;POINT (-39.391195 -3.138909)'))) / (select extract(epoch from '2026-06-16 16:33:24'::timestamp) - extract(epoch from '2026-06-16 16:33:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.391237 -3.138903)', '2026-06-16 16:33:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391195 -3.138909)'), GeomFromEWKT('SRID=4674;POINT (-39.391237 -3.138903)'))) / (select extract(epoch from '2026-06-16 16:33:32'::timestamp) - extract(epoch from '2026-06-16 16:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391195 -3.138909)'), GeomFromEWKT('SRID=4674;POINT (-39.391237 -3.138903)'))) / (select extract(epoch from '2026-06-16 16:33:32'::timestamp) - extract(epoch from '2026-06-16 16:33:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.39128 -3.138877)', '2026-06-16 16:33:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391237 -3.138903)'), GeomFromEWKT('SRID=4674;POINT (-39.39128 -3.138877)'))) / (select extract(epoch from '2026-06-16 16:33:41'::timestamp) - extract(epoch from '2026-06-16 16:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391237 -3.138903)'), GeomFromEWKT('SRID=4674;POINT (-39.39128 -3.138877)'))) / (select extract(epoch from '2026-06-16 16:33:41'::timestamp) - extract(epoch from '2026-06-16 16:33: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'), 46789, 'SRID=4674;POINT (-39.391316 -3.138864)', '2026-06-16 16:33:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39128 -3.138877)'), GeomFromEWKT('SRID=4674;POINT (-39.391316 -3.138864)'))) / (select extract(epoch from '2026-06-16 16:33:47'::timestamp) - extract(epoch from '2026-06-16 16:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39128 -3.138877)'), GeomFromEWKT('SRID=4674;POINT (-39.391316 -3.138864)'))) / (select extract(epoch from '2026-06-16 16:33:47'::timestamp) - extract(epoch from '2026-06-16 16:33:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.391377 -3.138849)', '2026-06-16 16:33:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391316 -3.138864)'), GeomFromEWKT('SRID=4674;POINT (-39.391377 -3.138849)'))) / (select extract(epoch from '2026-06-16 16:33:58'::timestamp) - extract(epoch from '2026-06-16 16:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391316 -3.138864)'), GeomFromEWKT('SRID=4674;POINT (-39.391377 -3.138849)'))) / (select extract(epoch from '2026-06-16 16:33:58'::timestamp) - extract(epoch from '2026-06-16 16:33: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'), 46789, 'SRID=4674;POINT (-39.391422 -3.138836)', '2026-06-16 16:34:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391377 -3.138849)'), GeomFromEWKT('SRID=4674;POINT (-39.391422 -3.138836)'))) / (select extract(epoch from '2026-06-16 16:34:05'::timestamp) - extract(epoch from '2026-06-16 16:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391377 -3.138849)'), GeomFromEWKT('SRID=4674;POINT (-39.391422 -3.138836)'))) / (select extract(epoch from '2026-06-16 16:34:05'::timestamp) - extract(epoch from '2026-06-16 16:33: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'), 46789, 'SRID=4674;POINT (-39.391448 -3.138828)', '2026-06-16 16:34:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391422 -3.138836)'), GeomFromEWKT('SRID=4674;POINT (-39.391448 -3.138828)'))) / (select extract(epoch from '2026-06-16 16:34:09'::timestamp) - extract(epoch from '2026-06-16 16:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391422 -3.138836)'), GeomFromEWKT('SRID=4674;POINT (-39.391448 -3.138828)'))) / (select extract(epoch from '2026-06-16 16:34:09'::timestamp) - extract(epoch from '2026-06-16 16:34: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'), 46789, 'SRID=4674;POINT (-39.391531 -3.138789)', '2026-06-16 16:34:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391448 -3.138828)'), GeomFromEWKT('SRID=4674;POINT (-39.391531 -3.138789)'))) / (select extract(epoch from '2026-06-16 16:34:21'::timestamp) - extract(epoch from '2026-06-16 16:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391448 -3.138828)'), GeomFromEWKT('SRID=4674;POINT (-39.391531 -3.138789)'))) / (select extract(epoch from '2026-06-16 16:34:21'::timestamp) - extract(epoch from '2026-06-16 16:34: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'), 46789, 'SRID=4674;POINT (-39.391588 -3.138768)', '2026-06-16 16:34:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391531 -3.138789)'), GeomFromEWKT('SRID=4674;POINT (-39.391588 -3.138768)'))) / (select extract(epoch from '2026-06-16 16:34:30'::timestamp) - extract(epoch from '2026-06-16 16:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391531 -3.138789)'), GeomFromEWKT('SRID=4674;POINT (-39.391588 -3.138768)'))) / (select extract(epoch from '2026-06-16 16:34:30'::timestamp) - extract(epoch from '2026-06-16 16:34: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'), 46789, 'SRID=4674;POINT (-39.391636 -3.138748)', '2026-06-16 16:34:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391588 -3.138768)'), GeomFromEWKT('SRID=4674;POINT (-39.391636 -3.138748)'))) / (select extract(epoch from '2026-06-16 16:34:39'::timestamp) - extract(epoch from '2026-06-16 16:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391588 -3.138768)'), GeomFromEWKT('SRID=4674;POINT (-39.391636 -3.138748)'))) / (select extract(epoch from '2026-06-16 16:34:39'::timestamp) - extract(epoch from '2026-06-16 16:34: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'), 46789, 'SRID=4674;POINT (-39.391695 -3.13873)', '2026-06-16 16:34:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391636 -3.138748)'), GeomFromEWKT('SRID=4674;POINT (-39.391695 -3.13873)'))) / (select extract(epoch from '2026-06-16 16:34:49'::timestamp) - extract(epoch from '2026-06-16 16:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391636 -3.138748)'), GeomFromEWKT('SRID=4674;POINT (-39.391695 -3.13873)'))) / (select extract(epoch from '2026-06-16 16:34:49'::timestamp) - extract(epoch from '2026-06-16 16:34: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'), 46789, 'SRID=4674;POINT (-39.391741 -3.138719)', '2026-06-16 16:34:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391695 -3.13873)'), GeomFromEWKT('SRID=4674;POINT (-39.391741 -3.138719)'))) / (select extract(epoch from '2026-06-16 16:34:56'::timestamp) - extract(epoch from '2026-06-16 16:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391695 -3.13873)'), GeomFromEWKT('SRID=4674;POINT (-39.391741 -3.138719)'))) / (select extract(epoch from '2026-06-16 16:34:56'::timestamp) - extract(epoch from '2026-06-16 16:34: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'), 46789, 'SRID=4674;POINT (-39.391787 -3.138696)', '2026-06-16 16:35:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391741 -3.138719)'), GeomFromEWKT('SRID=4674;POINT (-39.391787 -3.138696)'))) / (select extract(epoch from '2026-06-16 16:35:03'::timestamp) - extract(epoch from '2026-06-16 16:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391741 -3.138719)'), GeomFromEWKT('SRID=4674;POINT (-39.391787 -3.138696)'))) / (select extract(epoch from '2026-06-16 16:35:03'::timestamp) - extract(epoch from '2026-06-16 16:34: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'), 46789, 'SRID=4674;POINT (-39.391837 -3.138676)', '2026-06-16 16:35:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391787 -3.138696)'), GeomFromEWKT('SRID=4674;POINT (-39.391837 -3.138676)'))) / (select extract(epoch from '2026-06-16 16:35:09'::timestamp) - extract(epoch from '2026-06-16 16:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391787 -3.138696)'), GeomFromEWKT('SRID=4674;POINT (-39.391837 -3.138676)'))) / (select extract(epoch from '2026-06-16 16:35:09'::timestamp) - extract(epoch from '2026-06-16 16:35: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'), 46789, 'SRID=4674;POINT (-39.391868 -3.138649)', '2026-06-16 16:35:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391837 -3.138676)'), GeomFromEWKT('SRID=4674;POINT (-39.391868 -3.138649)'))) / (select extract(epoch from '2026-06-16 16:35:16'::timestamp) - extract(epoch from '2026-06-16 16:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391837 -3.138676)'), GeomFromEWKT('SRID=4674;POINT (-39.391868 -3.138649)'))) / (select extract(epoch from '2026-06-16 16:35:16'::timestamp) - extract(epoch from '2026-06-16 16:35:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.391874 -3.138647)', '2026-06-16 16:35:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391868 -3.138649)'), GeomFromEWKT('SRID=4674;POINT (-39.391874 -3.138647)'))) / (select extract(epoch from '2026-06-16 16:35:17'::timestamp) - extract(epoch from '2026-06-16 16:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391868 -3.138649)'), GeomFromEWKT('SRID=4674;POINT (-39.391874 -3.138647)'))) / (select extract(epoch from '2026-06-16 16:35:17'::timestamp) - extract(epoch from '2026-06-16 16:35:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.391898 -3.138645)', '2026-06-16 16:35:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391874 -3.138647)'), GeomFromEWKT('SRID=4674;POINT (-39.391898 -3.138645)'))) / (select extract(epoch from '2026-06-16 16:35:21'::timestamp) - extract(epoch from '2026-06-16 16:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391874 -3.138647)'), GeomFromEWKT('SRID=4674;POINT (-39.391898 -3.138645)'))) / (select extract(epoch from '2026-06-16 16:35:21'::timestamp) - extract(epoch from '2026-06-16 16:35:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.391938 -3.138632)', '2026-06-16 16:35:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391898 -3.138645)'), GeomFromEWKT('SRID=4674;POINT (-39.391938 -3.138632)'))) / (select extract(epoch from '2026-06-16 16:35:27'::timestamp) - extract(epoch from '2026-06-16 16:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391898 -3.138645)'), GeomFromEWKT('SRID=4674;POINT (-39.391938 -3.138632)'))) / (select extract(epoch from '2026-06-16 16:35:27'::timestamp) - extract(epoch from '2026-06-16 16:35: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'), 46789, 'SRID=4674;POINT (-39.392018 -3.138597)', '2026-06-16 16:35:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391938 -3.138632)'), GeomFromEWKT('SRID=4674;POINT (-39.392018 -3.138597)'))) / (select extract(epoch from '2026-06-16 16:35:39'::timestamp) - extract(epoch from '2026-06-16 16:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.391938 -3.138632)'), GeomFromEWKT('SRID=4674;POINT (-39.392018 -3.138597)'))) / (select extract(epoch from '2026-06-16 16:35:39'::timestamp) - extract(epoch from '2026-06-16 16:35:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.392068 -3.138554)', '2026-06-16 16:35:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392018 -3.138597)'), GeomFromEWKT('SRID=4674;POINT (-39.392068 -3.138554)'))) / (select extract(epoch from '2026-06-16 16:35:51'::timestamp) - extract(epoch from '2026-06-16 16:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392018 -3.138597)'), GeomFromEWKT('SRID=4674;POINT (-39.392068 -3.138554)'))) / (select extract(epoch from '2026-06-16 16:35:51'::timestamp) - extract(epoch from '2026-06-16 16:35: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'), 46789, 'SRID=4674;POINT (-39.392164 -3.138515)', '2026-06-16 16:36:05', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392068 -3.138554)'), GeomFromEWKT('SRID=4674;POINT (-39.392164 -3.138515)'))) / (select extract(epoch from '2026-06-16 16:36:05'::timestamp) - extract(epoch from '2026-06-16 16:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392068 -3.138554)'), GeomFromEWKT('SRID=4674;POINT (-39.392164 -3.138515)'))) / (select extract(epoch from '2026-06-16 16:36:05'::timestamp) - extract(epoch from '2026-06-16 16:35: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'), 46789, 'SRID=4674;POINT (-39.392214 -3.138499)', '2026-06-16 16:36:13', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392164 -3.138515)'), GeomFromEWKT('SRID=4674;POINT (-39.392214 -3.138499)'))) / (select extract(epoch from '2026-06-16 16:36:13'::timestamp) - extract(epoch from '2026-06-16 16:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392164 -3.138515)'), GeomFromEWKT('SRID=4674;POINT (-39.392214 -3.138499)'))) / (select extract(epoch from '2026-06-16 16:36:13'::timestamp) - extract(epoch from '2026-06-16 16:36: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'), 46789, 'SRID=4674;POINT (-39.392265 -3.138478)', '2026-06-16 16:36:22', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392214 -3.138499)'), GeomFromEWKT('SRID=4674;POINT (-39.392265 -3.138478)'))) / (select extract(epoch from '2026-06-16 16:36:22'::timestamp) - extract(epoch from '2026-06-16 16:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392214 -3.138499)'), GeomFromEWKT('SRID=4674;POINT (-39.392265 -3.138478)'))) / (select extract(epoch from '2026-06-16 16:36:22'::timestamp) - extract(epoch from '2026-06-16 16:36: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'), 46789, 'SRID=4674;POINT (-39.392335 -3.138448)', '2026-06-16 16:36:33', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392265 -3.138478)'), GeomFromEWKT('SRID=4674;POINT (-39.392335 -3.138448)'))) / (select extract(epoch from '2026-06-16 16:36:33'::timestamp) - extract(epoch from '2026-06-16 16:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392265 -3.138478)'), GeomFromEWKT('SRID=4674;POINT (-39.392335 -3.138448)'))) / (select extract(epoch from '2026-06-16 16:36:33'::timestamp) - extract(epoch from '2026-06-16 16:36: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'), 46789, 'SRID=4674;POINT (-39.392382 -3.138434)', '2026-06-16 16:36:41', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392335 -3.138448)'), GeomFromEWKT('SRID=4674;POINT (-39.392382 -3.138434)'))) / (select extract(epoch from '2026-06-16 16:36:41'::timestamp) - extract(epoch from '2026-06-16 16:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392335 -3.138448)'), GeomFromEWKT('SRID=4674;POINT (-39.392382 -3.138434)'))) / (select extract(epoch from '2026-06-16 16:36:41'::timestamp) - extract(epoch from '2026-06-16 16:36:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.392458 -3.138411)', '2026-06-16 16:36:54', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392382 -3.138434)'), GeomFromEWKT('SRID=4674;POINT (-39.392458 -3.138411)'))) / (select extract(epoch from '2026-06-16 16:36:54'::timestamp) - extract(epoch from '2026-06-16 16:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392382 -3.138434)'), GeomFromEWKT('SRID=4674;POINT (-39.392458 -3.138411)'))) / (select extract(epoch from '2026-06-16 16:36:54'::timestamp) - extract(epoch from '2026-06-16 16:36:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.392532 -3.138401)', '2026-06-16 16:37:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392458 -3.138411)'), GeomFromEWKT('SRID=4674;POINT (-39.392532 -3.138401)'))) / (select extract(epoch from '2026-06-16 16:37:04'::timestamp) - extract(epoch from '2026-06-16 16:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392458 -3.138411)'), GeomFromEWKT('SRID=4674;POINT (-39.392532 -3.138401)'))) / (select extract(epoch from '2026-06-16 16:37:04'::timestamp) - extract(epoch from '2026-06-16 16:36: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'), 46789, 'SRID=4674;POINT (-39.392575 -3.138393)', '2026-06-16 16:37:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392532 -3.138401)'), GeomFromEWKT('SRID=4674;POINT (-39.392575 -3.138393)'))) / (select extract(epoch from '2026-06-16 16:37:13'::timestamp) - extract(epoch from '2026-06-16 16:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392532 -3.138401)'), GeomFromEWKT('SRID=4674;POINT (-39.392575 -3.138393)'))) / (select extract(epoch from '2026-06-16 16:37:13'::timestamp) - extract(epoch from '2026-06-16 16:37:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.39262 -3.138381)', '2026-06-16 16:37:21', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392575 -3.138393)'), GeomFromEWKT('SRID=4674;POINT (-39.39262 -3.138381)'))) / (select extract(epoch from '2026-06-16 16:37:21'::timestamp) - extract(epoch from '2026-06-16 16:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392575 -3.138393)'), GeomFromEWKT('SRID=4674;POINT (-39.39262 -3.138381)'))) / (select extract(epoch from '2026-06-16 16:37:21'::timestamp) - extract(epoch from '2026-06-16 16:37:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.392629 -3.138378)', '2026-06-16 16:37:22', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39262 -3.138381)'), GeomFromEWKT('SRID=4674;POINT (-39.392629 -3.138378)'))) / (select extract(epoch from '2026-06-16 16:37:22'::timestamp) - extract(epoch from '2026-06-16 16:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39262 -3.138381)'), GeomFromEWKT('SRID=4674;POINT (-39.392629 -3.138378)'))) / (select extract(epoch from '2026-06-16 16:37:22'::timestamp) - extract(epoch from '2026-06-16 16:37: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'), 46789, 'SRID=4674;POINT (-39.392652 -3.138367)', '2026-06-16 16:37:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392629 -3.138378)'), GeomFromEWKT('SRID=4674;POINT (-39.392652 -3.138367)'))) / (select extract(epoch from '2026-06-16 16:37:26'::timestamp) - extract(epoch from '2026-06-16 16:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392629 -3.138378)'), GeomFromEWKT('SRID=4674;POINT (-39.392652 -3.138367)'))) / (select extract(epoch from '2026-06-16 16:37:26'::timestamp) - extract(epoch from '2026-06-16 16:37:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.392718 -3.13833)', '2026-06-16 16:37:37', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392652 -3.138367)'), GeomFromEWKT('SRID=4674;POINT (-39.392718 -3.13833)'))) / (select extract(epoch from '2026-06-16 16:37:37'::timestamp) - extract(epoch from '2026-06-16 16:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392652 -3.138367)'), GeomFromEWKT('SRID=4674;POINT (-39.392718 -3.13833)'))) / (select extract(epoch from '2026-06-16 16:37:37'::timestamp) - extract(epoch from '2026-06-16 16:37: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'), 46789, 'SRID=4674;POINT (-39.392794 -3.138288)', '2026-06-16 16:37:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392718 -3.13833)'), GeomFromEWKT('SRID=4674;POINT (-39.392794 -3.138288)'))) / (select extract(epoch from '2026-06-16 16:37:49'::timestamp) - extract(epoch from '2026-06-16 16:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392718 -3.13833)'), GeomFromEWKT('SRID=4674;POINT (-39.392794 -3.138288)'))) / (select extract(epoch from '2026-06-16 16:37:49'::timestamp) - extract(epoch from '2026-06-16 16:37: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'), 46789, 'SRID=4674;POINT (-39.392867 -3.13826)', '2026-06-16 16:38:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392794 -3.138288)'), GeomFromEWKT('SRID=4674;POINT (-39.392867 -3.13826)'))) / (select extract(epoch from '2026-06-16 16:38:01'::timestamp) - extract(epoch from '2026-06-16 16:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392794 -3.138288)'), GeomFromEWKT('SRID=4674;POINT (-39.392867 -3.13826)'))) / (select extract(epoch from '2026-06-16 16:38:01'::timestamp) - extract(epoch from '2026-06-16 16:37: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'), 46789, 'SRID=4674;POINT (-39.392919 -3.138239)', '2026-06-16 16:38:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392867 -3.13826)'), GeomFromEWKT('SRID=4674;POINT (-39.392919 -3.138239)'))) / (select extract(epoch from '2026-06-16 16:38:10'::timestamp) - extract(epoch from '2026-06-16 16:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392867 -3.13826)'), GeomFromEWKT('SRID=4674;POINT (-39.392919 -3.138239)'))) / (select extract(epoch from '2026-06-16 16:38:10'::timestamp) - extract(epoch from '2026-06-16 16:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.392974 -3.13822)', '2026-06-16 16:38:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392919 -3.138239)'), GeomFromEWKT('SRID=4674;POINT (-39.392974 -3.13822)'))) / (select extract(epoch from '2026-06-16 16:38:18'::timestamp) - extract(epoch from '2026-06-16 16:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392919 -3.138239)'), GeomFromEWKT('SRID=4674;POINT (-39.392974 -3.13822)'))) / (select extract(epoch from '2026-06-16 16:38:18'::timestamp) - extract(epoch from '2026-06-16 16:38: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'), 46789, 'SRID=4674;POINT (-39.393014 -3.138204)', '2026-06-16 16:38:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392974 -3.13822)'), GeomFromEWKT('SRID=4674;POINT (-39.393014 -3.138204)'))) / (select extract(epoch from '2026-06-16 16:38:25'::timestamp) - extract(epoch from '2026-06-16 16:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.392974 -3.13822)'), GeomFromEWKT('SRID=4674;POINT (-39.393014 -3.138204)'))) / (select extract(epoch from '2026-06-16 16:38:25'::timestamp) - extract(epoch from '2026-06-16 16:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.393057 -3.138193)', '2026-06-16 16:38:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393014 -3.138204)'), GeomFromEWKT('SRID=4674;POINT (-39.393057 -3.138193)'))) / (select extract(epoch from '2026-06-16 16:38:31'::timestamp) - extract(epoch from '2026-06-16 16:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393014 -3.138204)'), GeomFromEWKT('SRID=4674;POINT (-39.393057 -3.138193)'))) / (select extract(epoch from '2026-06-16 16:38:31'::timestamp) - extract(epoch from '2026-06-16 16:38: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'), 46789, 'SRID=4674;POINT (-39.393089 -3.138189)', '2026-06-16 16:38:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393057 -3.138193)'), GeomFromEWKT('SRID=4674;POINT (-39.393089 -3.138189)'))) / (select extract(epoch from '2026-06-16 16:38:36'::timestamp) - extract(epoch from '2026-06-16 16:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393057 -3.138193)'), GeomFromEWKT('SRID=4674;POINT (-39.393089 -3.138189)'))) / (select extract(epoch from '2026-06-16 16:38:36'::timestamp) - extract(epoch from '2026-06-16 16:38: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'), 46789, 'SRID=4674;POINT (-39.393121 -3.138182)', '2026-06-16 16:38:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393089 -3.138189)'), GeomFromEWKT('SRID=4674;POINT (-39.393121 -3.138182)'))) / (select extract(epoch from '2026-06-16 16:38:41'::timestamp) - extract(epoch from '2026-06-16 16:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393089 -3.138189)'), GeomFromEWKT('SRID=4674;POINT (-39.393121 -3.138182)'))) / (select extract(epoch from '2026-06-16 16:38:41'::timestamp) - extract(epoch from '2026-06-16 16:38: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'), 46789, 'SRID=4674;POINT (-39.39313 -3.138183)', '2026-06-16 16:38:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393121 -3.138182)'), GeomFromEWKT('SRID=4674;POINT (-39.39313 -3.138183)'))) / (select extract(epoch from '2026-06-16 16:38:42'::timestamp) - extract(epoch from '2026-06-16 16:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393121 -3.138182)'), GeomFromEWKT('SRID=4674;POINT (-39.39313 -3.138183)'))) / (select extract(epoch from '2026-06-16 16:38:42'::timestamp) - extract(epoch from '2026-06-16 16:38:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.393159 -3.138166)', '2026-06-16 16:38:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39313 -3.138183)'), GeomFromEWKT('SRID=4674;POINT (-39.393159 -3.138166)'))) / (select extract(epoch from '2026-06-16 16:38:47'::timestamp) - extract(epoch from '2026-06-16 16:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39313 -3.138183)'), GeomFromEWKT('SRID=4674;POINT (-39.393159 -3.138166)'))) / (select extract(epoch from '2026-06-16 16:38:47'::timestamp) - extract(epoch from '2026-06-16 16:38: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'), 46789, 'SRID=4674;POINT (-39.393206 -3.138149)', '2026-06-16 16:38:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393159 -3.138166)'), GeomFromEWKT('SRID=4674;POINT (-39.393206 -3.138149)'))) / (select extract(epoch from '2026-06-16 16:38:55'::timestamp) - extract(epoch from '2026-06-16 16:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393159 -3.138166)'), GeomFromEWKT('SRID=4674;POINT (-39.393206 -3.138149)'))) / (select extract(epoch from '2026-06-16 16:38:55'::timestamp) - extract(epoch from '2026-06-16 16:38: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'), 46789, 'SRID=4674;POINT (-39.393249 -3.138127)', '2026-06-16 16:39:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393206 -3.138149)'), GeomFromEWKT('SRID=4674;POINT (-39.393249 -3.138127)'))) / (select extract(epoch from '2026-06-16 16:39:02'::timestamp) - extract(epoch from '2026-06-16 16:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393206 -3.138149)'), GeomFromEWKT('SRID=4674;POINT (-39.393249 -3.138127)'))) / (select extract(epoch from '2026-06-16 16:39:02'::timestamp) - extract(epoch from '2026-06-16 16:38: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'), 46789, 'SRID=4674;POINT (-39.393271 -3.138106)', '2026-06-16 16:39:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393249 -3.138127)'), GeomFromEWKT('SRID=4674;POINT (-39.393271 -3.138106)'))) / (select extract(epoch from '2026-06-16 16:39:08'::timestamp) - extract(epoch from '2026-06-16 16:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393249 -3.138127)'), GeomFromEWKT('SRID=4674;POINT (-39.393271 -3.138106)'))) / (select extract(epoch from '2026-06-16 16:39:08'::timestamp) - extract(epoch from '2026-06-16 16:39:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.393275 -3.138101)', '2026-06-16 16:39:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393271 -3.138106)'), GeomFromEWKT('SRID=4674;POINT (-39.393275 -3.138101)'))) / (select extract(epoch from '2026-06-16 16:39:09'::timestamp) - extract(epoch from '2026-06-16 16:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393271 -3.138106)'), GeomFromEWKT('SRID=4674;POINT (-39.393275 -3.138101)'))) / (select extract(epoch from '2026-06-16 16:39:09'::timestamp) - extract(epoch from '2026-06-16 16:39: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'), 46789, 'SRID=4674;POINT (-39.3933 -3.138093)', '2026-06-16 16:39:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393275 -3.138101)'), GeomFromEWKT('SRID=4674;POINT (-39.3933 -3.138093)'))) / (select extract(epoch from '2026-06-16 16:39:12'::timestamp) - extract(epoch from '2026-06-16 16:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393275 -3.138101)'), GeomFromEWKT('SRID=4674;POINT (-39.3933 -3.138093)'))) / (select extract(epoch from '2026-06-16 16:39:12'::timestamp) - extract(epoch from '2026-06-16 16:39: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'), 46789, 'SRID=4674;POINT (-39.393342 -3.138094)', '2026-06-16 16:39:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3933 -3.138093)'), GeomFromEWKT('SRID=4674;POINT (-39.393342 -3.138094)'))) / (select extract(epoch from '2026-06-16 16:39:20'::timestamp) - extract(epoch from '2026-06-16 16:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3933 -3.138093)'), GeomFromEWKT('SRID=4674;POINT (-39.393342 -3.138094)'))) / (select extract(epoch from '2026-06-16 16:39:20'::timestamp) - extract(epoch from '2026-06-16 16:39: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'), 46789, 'SRID=4674;POINT (-39.393391 -3.138092)', '2026-06-16 16:39:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393342 -3.138094)'), GeomFromEWKT('SRID=4674;POINT (-39.393391 -3.138092)'))) / (select extract(epoch from '2026-06-16 16:39:27'::timestamp) - extract(epoch from '2026-06-16 16:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393342 -3.138094)'), GeomFromEWKT('SRID=4674;POINT (-39.393391 -3.138092)'))) / (select extract(epoch from '2026-06-16 16:39:27'::timestamp) - extract(epoch from '2026-06-16 16:39: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'), 46789, 'SRID=4674;POINT (-39.393449 -3.13808)', '2026-06-16 16:39:36', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393391 -3.138092)'), GeomFromEWKT('SRID=4674;POINT (-39.393449 -3.13808)'))) / (select extract(epoch from '2026-06-16 16:39:36'::timestamp) - extract(epoch from '2026-06-16 16:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393391 -3.138092)'), GeomFromEWKT('SRID=4674;POINT (-39.393449 -3.13808)'))) / (select extract(epoch from '2026-06-16 16:39:36'::timestamp) - extract(epoch from '2026-06-16 16:39:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.393545 -3.138047)', '2026-06-16 16:39:50', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393449 -3.13808)'), GeomFromEWKT('SRID=4674;POINT (-39.393545 -3.138047)'))) / (select extract(epoch from '2026-06-16 16:39:50'::timestamp) - extract(epoch from '2026-06-16 16:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393449 -3.13808)'), GeomFromEWKT('SRID=4674;POINT (-39.393545 -3.138047)'))) / (select extract(epoch from '2026-06-16 16:39:50'::timestamp) - extract(epoch from '2026-06-16 16:39:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.393608 -3.138023)', '2026-06-16 16:40:03', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393545 -3.138047)'), GeomFromEWKT('SRID=4674;POINT (-39.393608 -3.138023)'))) / (select extract(epoch from '2026-06-16 16:40:03'::timestamp) - extract(epoch from '2026-06-16 16:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393545 -3.138047)'), GeomFromEWKT('SRID=4674;POINT (-39.393608 -3.138023)'))) / (select extract(epoch from '2026-06-16 16:40:03'::timestamp) - extract(epoch from '2026-06-16 16:39:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.393655 -3.138005)', '2026-06-16 16:40:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393608 -3.138023)'), GeomFromEWKT('SRID=4674;POINT (-39.393655 -3.138005)'))) / (select extract(epoch from '2026-06-16 16:40:10'::timestamp) - extract(epoch from '2026-06-16 16:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393608 -3.138023)'), GeomFromEWKT('SRID=4674;POINT (-39.393655 -3.138005)'))) / (select extract(epoch from '2026-06-16 16:40:10'::timestamp) - extract(epoch from '2026-06-16 16:40: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'), 46789, 'SRID=4674;POINT (-39.393759 -3.13799)', '2026-06-16 16:40:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393655 -3.138005)'), GeomFromEWKT('SRID=4674;POINT (-39.393759 -3.13799)'))) / (select extract(epoch from '2026-06-16 16:40:25'::timestamp) - extract(epoch from '2026-06-16 16:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393655 -3.138005)'), GeomFromEWKT('SRID=4674;POINT (-39.393759 -3.13799)'))) / (select extract(epoch from '2026-06-16 16:40:25'::timestamp) - extract(epoch from '2026-06-16 16:40:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.393844 -3.137972)', '2026-06-16 16:40:38', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393759 -3.13799)'), GeomFromEWKT('SRID=4674;POINT (-39.393844 -3.137972)'))) / (select extract(epoch from '2026-06-16 16:40:38'::timestamp) - extract(epoch from '2026-06-16 16:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393759 -3.13799)'), GeomFromEWKT('SRID=4674;POINT (-39.393844 -3.137972)'))) / (select extract(epoch from '2026-06-16 16:40:38'::timestamp) - extract(epoch from '2026-06-16 16:40:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.393904 -3.137949)', '2026-06-16 16:40:48', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393844 -3.137972)'), GeomFromEWKT('SRID=4674;POINT (-39.393904 -3.137949)'))) / (select extract(epoch from '2026-06-16 16:40:48'::timestamp) - extract(epoch from '2026-06-16 16:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393844 -3.137972)'), GeomFromEWKT('SRID=4674;POINT (-39.393904 -3.137949)'))) / (select extract(epoch from '2026-06-16 16:40:48'::timestamp) - extract(epoch from '2026-06-16 16:40: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'), 46789, 'SRID=4674;POINT (-39.393945 -3.137935)', '2026-06-16 16:40:54', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393904 -3.137949)'), GeomFromEWKT('SRID=4674;POINT (-39.393945 -3.137935)'))) / (select extract(epoch from '2026-06-16 16:40:54'::timestamp) - extract(epoch from '2026-06-16 16:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393904 -3.137949)'), GeomFromEWKT('SRID=4674;POINT (-39.393945 -3.137935)'))) / (select extract(epoch from '2026-06-16 16:40:54'::timestamp) - extract(epoch from '2026-06-16 16:40: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'), 46789, 'SRID=4674;POINT (-39.393958 -3.137933)', '2026-06-16 16:40:56', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393945 -3.137935)'), GeomFromEWKT('SRID=4674;POINT (-39.393958 -3.137933)'))) / (select extract(epoch from '2026-06-16 16:40:56'::timestamp) - extract(epoch from '2026-06-16 16:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393945 -3.137935)'), GeomFromEWKT('SRID=4674;POINT (-39.393958 -3.137933)'))) / (select extract(epoch from '2026-06-16 16:40:56'::timestamp) - extract(epoch from '2026-06-16 16:40:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.394028 -3.137918)', '2026-06-16 16:41:06', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393958 -3.137933)'), GeomFromEWKT('SRID=4674;POINT (-39.394028 -3.137918)'))) / (select extract(epoch from '2026-06-16 16:41:06'::timestamp) - extract(epoch from '2026-06-16 16:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.393958 -3.137933)'), GeomFromEWKT('SRID=4674;POINT (-39.394028 -3.137918)'))) / (select extract(epoch from '2026-06-16 16:41:06'::timestamp) - extract(epoch from '2026-06-16 16:40: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'), 46789, 'SRID=4674;POINT (-39.39408 -3.137896)', '2026-06-16 16:41:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394028 -3.137918)'), GeomFromEWKT('SRID=4674;POINT (-39.39408 -3.137896)'))) / (select extract(epoch from '2026-06-16 16:41:13'::timestamp) - extract(epoch from '2026-06-16 16:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394028 -3.137918)'), GeomFromEWKT('SRID=4674;POINT (-39.39408 -3.137896)'))) / (select extract(epoch from '2026-06-16 16:41:13'::timestamp) - extract(epoch from '2026-06-16 16:41: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'), 46789, 'SRID=4674;POINT (-39.394107 -3.137881)', '2026-06-16 16:41:19', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39408 -3.137896)'), GeomFromEWKT('SRID=4674;POINT (-39.394107 -3.137881)'))) / (select extract(epoch from '2026-06-16 16:41:19'::timestamp) - extract(epoch from '2026-06-16 16:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39408 -3.137896)'), GeomFromEWKT('SRID=4674;POINT (-39.394107 -3.137881)'))) / (select extract(epoch from '2026-06-16 16:41:19'::timestamp) - extract(epoch from '2026-06-16 16:41: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'), 46789, 'SRID=4674;POINT (-39.394168 -3.137866)', '2026-06-16 16:41:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394107 -3.137881)'), GeomFromEWKT('SRID=4674;POINT (-39.394168 -3.137866)'))) / (select extract(epoch from '2026-06-16 16:41:29'::timestamp) - extract(epoch from '2026-06-16 16:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394107 -3.137881)'), GeomFromEWKT('SRID=4674;POINT (-39.394168 -3.137866)'))) / (select extract(epoch from '2026-06-16 16:41:29'::timestamp) - extract(epoch from '2026-06-16 16:41: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'), 46789, 'SRID=4674;POINT (-39.394216 -3.137858)', '2026-06-16 16:41:36', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394168 -3.137866)'), GeomFromEWKT('SRID=4674;POINT (-39.394216 -3.137858)'))) / (select extract(epoch from '2026-06-16 16:41:36'::timestamp) - extract(epoch from '2026-06-16 16:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394168 -3.137866)'), GeomFromEWKT('SRID=4674;POINT (-39.394216 -3.137858)'))) / (select extract(epoch from '2026-06-16 16:41:36'::timestamp) - extract(epoch from '2026-06-16 16:41: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'), 46789, 'SRID=4674;POINT (-39.394276 -3.137815)', '2026-06-16 16:41:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394216 -3.137858)'), GeomFromEWKT('SRID=4674;POINT (-39.394276 -3.137815)'))) / (select extract(epoch from '2026-06-16 16:41:48'::timestamp) - extract(epoch from '2026-06-16 16:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394216 -3.137858)'), GeomFromEWKT('SRID=4674;POINT (-39.394276 -3.137815)'))) / (select extract(epoch from '2026-06-16 16:41:48'::timestamp) - extract(epoch from '2026-06-16 16:41:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.394331 -3.137782)', '2026-06-16 16:41:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394276 -3.137815)'), GeomFromEWKT('SRID=4674;POINT (-39.394331 -3.137782)'))) / (select extract(epoch from '2026-06-16 16:41:59'::timestamp) - extract(epoch from '2026-06-16 16:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394276 -3.137815)'), GeomFromEWKT('SRID=4674;POINT (-39.394331 -3.137782)'))) / (select extract(epoch from '2026-06-16 16:41:59'::timestamp) - extract(epoch from '2026-06-16 16:41: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'), 46789, 'SRID=4674;POINT (-39.394411 -3.137764)', '2026-06-16 16:42:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394331 -3.137782)'), GeomFromEWKT('SRID=4674;POINT (-39.394411 -3.137764)'))) / (select extract(epoch from '2026-06-16 16:42:12'::timestamp) - extract(epoch from '2026-06-16 16:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394331 -3.137782)'), GeomFromEWKT('SRID=4674;POINT (-39.394411 -3.137764)'))) / (select extract(epoch from '2026-06-16 16:42:12'::timestamp) - extract(epoch from '2026-06-16 16:41: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'), 46789, 'SRID=4674;POINT (-39.394469 -3.137743)', '2026-06-16 16:42:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394411 -3.137764)'), GeomFromEWKT('SRID=4674;POINT (-39.394469 -3.137743)'))) / (select extract(epoch from '2026-06-16 16:42:22'::timestamp) - extract(epoch from '2026-06-16 16:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394411 -3.137764)'), GeomFromEWKT('SRID=4674;POINT (-39.394469 -3.137743)'))) / (select extract(epoch from '2026-06-16 16:42:22'::timestamp) - extract(epoch from '2026-06-16 16:42: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'), 46789, 'SRID=4674;POINT (-39.394514 -3.137717)', '2026-06-16 16:42:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394469 -3.137743)'), GeomFromEWKT('SRID=4674;POINT (-39.394514 -3.137717)'))) / (select extract(epoch from '2026-06-16 16:42:30'::timestamp) - extract(epoch from '2026-06-16 16:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394469 -3.137743)'), GeomFromEWKT('SRID=4674;POINT (-39.394514 -3.137717)'))) / (select extract(epoch from '2026-06-16 16:42:30'::timestamp) - extract(epoch from '2026-06-16 16:42: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'), 46789, 'SRID=4674;POINT (-39.394542 -3.137703)', '2026-06-16 16:42:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394514 -3.137717)'), GeomFromEWKT('SRID=4674;POINT (-39.394542 -3.137703)'))) / (select extract(epoch from '2026-06-16 16:42:35'::timestamp) - extract(epoch from '2026-06-16 16:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394514 -3.137717)'), GeomFromEWKT('SRID=4674;POINT (-39.394542 -3.137703)'))) / (select extract(epoch from '2026-06-16 16:42:35'::timestamp) - extract(epoch from '2026-06-16 16:42: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'), 46789, 'SRID=4674;POINT (-39.394599 -3.137686)', '2026-06-16 16:42:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394542 -3.137703)'), GeomFromEWKT('SRID=4674;POINT (-39.394599 -3.137686)'))) / (select extract(epoch from '2026-06-16 16:42:43'::timestamp) - extract(epoch from '2026-06-16 16:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394542 -3.137703)'), GeomFromEWKT('SRID=4674;POINT (-39.394599 -3.137686)'))) / (select extract(epoch from '2026-06-16 16:42:43'::timestamp) - extract(epoch from '2026-06-16 16:42: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'), 46789, 'SRID=4674;POINT (-39.394604 -3.137684)', '2026-06-16 16:42:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394599 -3.137686)'), GeomFromEWKT('SRID=4674;POINT (-39.394604 -3.137684)'))) / (select extract(epoch from '2026-06-16 16:42:44'::timestamp) - extract(epoch from '2026-06-16 16:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394599 -3.137686)'), GeomFromEWKT('SRID=4674;POINT (-39.394604 -3.137684)'))) / (select extract(epoch from '2026-06-16 16:42:44'::timestamp) - extract(epoch from '2026-06-16 16:42:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.394634 -3.137676)', '2026-06-16 16:42:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394604 -3.137684)'), GeomFromEWKT('SRID=4674;POINT (-39.394634 -3.137676)'))) / (select extract(epoch from '2026-06-16 16:42:47'::timestamp) - extract(epoch from '2026-06-16 16:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394604 -3.137684)'), GeomFromEWKT('SRID=4674;POINT (-39.394634 -3.137676)'))) / (select extract(epoch from '2026-06-16 16:42:47'::timestamp) - extract(epoch from '2026-06-16 16:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.394653 -3.137674)', '2026-06-16 16:42:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394634 -3.137676)'), GeomFromEWKT('SRID=4674;POINT (-39.394653 -3.137674)'))) / (select extract(epoch from '2026-06-16 16:42:50'::timestamp) - extract(epoch from '2026-06-16 16:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394634 -3.137676)'), GeomFromEWKT('SRID=4674;POINT (-39.394653 -3.137674)'))) / (select extract(epoch from '2026-06-16 16:42:50'::timestamp) - extract(epoch from '2026-06-16 16:42:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.394697 -3.137676)', '2026-06-16 16:42:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394653 -3.137674)'), GeomFromEWKT('SRID=4674;POINT (-39.394697 -3.137676)'))) / (select extract(epoch from '2026-06-16 16:42:55'::timestamp) - extract(epoch from '2026-06-16 16:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394653 -3.137674)'), GeomFromEWKT('SRID=4674;POINT (-39.394697 -3.137676)'))) / (select extract(epoch from '2026-06-16 16:42:55'::timestamp) - extract(epoch from '2026-06-16 16:42: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'), 46789, 'SRID=4674;POINT (-39.394717 -3.137673)', '2026-06-16 16:42:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394697 -3.137676)'), GeomFromEWKT('SRID=4674;POINT (-39.394717 -3.137673)'))) / (select extract(epoch from '2026-06-16 16:42:59'::timestamp) - extract(epoch from '2026-06-16 16:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394697 -3.137676)'), GeomFromEWKT('SRID=4674;POINT (-39.394717 -3.137673)'))) / (select extract(epoch from '2026-06-16 16:42:59'::timestamp) - extract(epoch from '2026-06-16 16:42:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.394743 -3.137682)', '2026-06-16 16:43:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394717 -3.137673)'), GeomFromEWKT('SRID=4674;POINT (-39.394743 -3.137682)'))) / (select extract(epoch from '2026-06-16 16:43:02'::timestamp) - extract(epoch from '2026-06-16 16:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394717 -3.137673)'), GeomFromEWKT('SRID=4674;POINT (-39.394743 -3.137682)'))) / (select extract(epoch from '2026-06-16 16:43:02'::timestamp) - extract(epoch from '2026-06-16 16:42:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.394791 -3.137674)', '2026-06-16 16:43:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394743 -3.137682)'), GeomFromEWKT('SRID=4674;POINT (-39.394791 -3.137674)'))) / (select extract(epoch from '2026-06-16 16:43:12'::timestamp) - extract(epoch from '2026-06-16 16:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394743 -3.137682)'), GeomFromEWKT('SRID=4674;POINT (-39.394791 -3.137674)'))) / (select extract(epoch from '2026-06-16 16:43:12'::timestamp) - extract(epoch from '2026-06-16 16:43: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'), 46789, 'SRID=4674;POINT (-39.39484 -3.137663)', '2026-06-16 16:43:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394791 -3.137674)'), GeomFromEWKT('SRID=4674;POINT (-39.39484 -3.137663)'))) / (select extract(epoch from '2026-06-16 16:43:22'::timestamp) - extract(epoch from '2026-06-16 16:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394791 -3.137674)'), GeomFromEWKT('SRID=4674;POINT (-39.39484 -3.137663)'))) / (select extract(epoch from '2026-06-16 16:43:22'::timestamp) - extract(epoch from '2026-06-16 16:43: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'), 46789, 'SRID=4674;POINT (-39.394875 -3.137658)', '2026-06-16 16:43:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39484 -3.137663)'), GeomFromEWKT('SRID=4674;POINT (-39.394875 -3.137658)'))) / (select extract(epoch from '2026-06-16 16:43:27'::timestamp) - extract(epoch from '2026-06-16 16:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39484 -3.137663)'), GeomFromEWKT('SRID=4674;POINT (-39.394875 -3.137658)'))) / (select extract(epoch from '2026-06-16 16:43:27'::timestamp) - extract(epoch from '2026-06-16 16:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.394879 -3.137654)', '2026-06-16 16:43:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394875 -3.137658)'), GeomFromEWKT('SRID=4674;POINT (-39.394879 -3.137654)'))) / (select extract(epoch from '2026-06-16 16:43:28'::timestamp) - extract(epoch from '2026-06-16 16:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394875 -3.137658)'), GeomFromEWKT('SRID=4674;POINT (-39.394879 -3.137654)'))) / (select extract(epoch from '2026-06-16 16:43:28'::timestamp) - extract(epoch from '2026-06-16 16:43: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'), 46789, 'SRID=4674;POINT (-39.394916 -3.137652)', '2026-06-16 16:43:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394879 -3.137654)'), GeomFromEWKT('SRID=4674;POINT (-39.394916 -3.137652)'))) / (select extract(epoch from '2026-06-16 16:43:35'::timestamp) - extract(epoch from '2026-06-16 16:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394879 -3.137654)'), GeomFromEWKT('SRID=4674;POINT (-39.394916 -3.137652)'))) / (select extract(epoch from '2026-06-16 16:43:35'::timestamp) - extract(epoch from '2026-06-16 16:43: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'), 46789, 'SRID=4674;POINT (-39.394962 -3.137651)', '2026-06-16 16:43:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394916 -3.137652)'), GeomFromEWKT('SRID=4674;POINT (-39.394962 -3.137651)'))) / (select extract(epoch from '2026-06-16 16:43:42'::timestamp) - extract(epoch from '2026-06-16 16:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394916 -3.137652)'), GeomFromEWKT('SRID=4674;POINT (-39.394962 -3.137651)'))) / (select extract(epoch from '2026-06-16 16:43:42'::timestamp) - extract(epoch from '2026-06-16 16:43:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.394996 -3.137661)', '2026-06-16 16:43:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394962 -3.137651)'), GeomFromEWKT('SRID=4674;POINT (-39.394996 -3.137661)'))) / (select extract(epoch from '2026-06-16 16:43:47'::timestamp) - extract(epoch from '2026-06-16 16:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394962 -3.137651)'), GeomFromEWKT('SRID=4674;POINT (-39.394996 -3.137661)'))) / (select extract(epoch from '2026-06-16 16:43:47'::timestamp) - extract(epoch from '2026-06-16 16:43: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'), 46789, 'SRID=4674;POINT (-39.395009 -3.13766)', '2026-06-16 16:43:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394996 -3.137661)'), GeomFromEWKT('SRID=4674;POINT (-39.395009 -3.13766)'))) / (select extract(epoch from '2026-06-16 16:43:49'::timestamp) - extract(epoch from '2026-06-16 16:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.394996 -3.137661)'), GeomFromEWKT('SRID=4674;POINT (-39.395009 -3.13766)'))) / (select extract(epoch from '2026-06-16 16:43:49'::timestamp) - extract(epoch from '2026-06-16 16:43: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'), 46789, 'SRID=4674;POINT (-39.39503 -3.137669)', '2026-06-16 16:43:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395009 -3.13766)'), GeomFromEWKT('SRID=4674;POINT (-39.39503 -3.137669)'))) / (select extract(epoch from '2026-06-16 16:43:52'::timestamp) - extract(epoch from '2026-06-16 16:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395009 -3.13766)'), GeomFromEWKT('SRID=4674;POINT (-39.39503 -3.137669)'))) / (select extract(epoch from '2026-06-16 16:43:52'::timestamp) - extract(epoch from '2026-06-16 16:43: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'), 46789, 'SRID=4674;POINT (-39.39504 -3.137676)', '2026-06-16 16:43:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39503 -3.137669)'), GeomFromEWKT('SRID=4674;POINT (-39.39504 -3.137676)'))) / (select extract(epoch from '2026-06-16 16:43:53'::timestamp) - extract(epoch from '2026-06-16 16:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39503 -3.137669)'), GeomFromEWKT('SRID=4674;POINT (-39.39504 -3.137676)'))) / (select extract(epoch from '2026-06-16 16:43:53'::timestamp) - extract(epoch from '2026-06-16 16:43: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'), 46789, 'SRID=4674;POINT (-39.395092 -3.13771)', '2026-06-16 16:43:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39504 -3.137676)'), GeomFromEWKT('SRID=4674;POINT (-39.395092 -3.13771)'))) / (select extract(epoch from '2026-06-16 16:43:58'::timestamp) - extract(epoch from '2026-06-16 16:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39504 -3.137676)'), GeomFromEWKT('SRID=4674;POINT (-39.395092 -3.13771)'))) / (select extract(epoch from '2026-06-16 16:43:58'::timestamp) - extract(epoch from '2026-06-16 16:43:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.395102 -3.13772)', '2026-06-16 16:43:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395092 -3.13771)'), GeomFromEWKT('SRID=4674;POINT (-39.395102 -3.13772)'))) / (select extract(epoch from '2026-06-16 16:43:59'::timestamp) - extract(epoch from '2026-06-16 16:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395092 -3.13771)'), GeomFromEWKT('SRID=4674;POINT (-39.395102 -3.13772)'))) / (select extract(epoch from '2026-06-16 16:43:59'::timestamp) - extract(epoch from '2026-06-16 16:43: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'), 46789, 'SRID=4674;POINT (-39.395144 -3.137773)', '2026-06-16 16:44:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395102 -3.13772)'), GeomFromEWKT('SRID=4674;POINT (-39.395144 -3.137773)'))) / (select extract(epoch from '2026-06-16 16:44:03'::timestamp) - extract(epoch from '2026-06-16 16:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395102 -3.13772)'), GeomFromEWKT('SRID=4674;POINT (-39.395144 -3.137773)'))) / (select extract(epoch from '2026-06-16 16:44:03'::timestamp) - extract(epoch from '2026-06-16 16:43: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'), 46789, 'SRID=4674;POINT (-39.3952 -3.137836)', '2026-06-16 16:44:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395144 -3.137773)'), GeomFromEWKT('SRID=4674;POINT (-39.3952 -3.137836)'))) / (select extract(epoch from '2026-06-16 16:44:07'::timestamp) - extract(epoch from '2026-06-16 16:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395144 -3.137773)'), GeomFromEWKT('SRID=4674;POINT (-39.3952 -3.137836)'))) / (select extract(epoch from '2026-06-16 16:44:07'::timestamp) - extract(epoch from '2026-06-16 16:44:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.395265 -3.137883)', '2026-06-16 16:44:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3952 -3.137836)'), GeomFromEWKT('SRID=4674;POINT (-39.395265 -3.137883)'))) / (select extract(epoch from '2026-06-16 16:44:11'::timestamp) - extract(epoch from '2026-06-16 16:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3952 -3.137836)'), GeomFromEWKT('SRID=4674;POINT (-39.395265 -3.137883)'))) / (select extract(epoch from '2026-06-16 16:44:11'::timestamp) - extract(epoch from '2026-06-16 16:44: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'), 46789, 'SRID=4674;POINT (-39.395362 -3.137947)', '2026-06-16 16:44:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395265 -3.137883)'), GeomFromEWKT('SRID=4674;POINT (-39.395362 -3.137947)'))) / (select extract(epoch from '2026-06-16 16:44:17'::timestamp) - extract(epoch from '2026-06-16 16:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395265 -3.137883)'), GeomFromEWKT('SRID=4674;POINT (-39.395362 -3.137947)'))) / (select extract(epoch from '2026-06-16 16:44:17'::timestamp) - extract(epoch from '2026-06-16 16:44: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'), 46789, 'SRID=4674;POINT (-39.395488 -3.138023)', '2026-06-16 16:44:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395362 -3.137947)'), GeomFromEWKT('SRID=4674;POINT (-39.395488 -3.138023)'))) / (select extract(epoch from '2026-06-16 16:44:23'::timestamp) - extract(epoch from '2026-06-16 16:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395362 -3.137947)'), GeomFromEWKT('SRID=4674;POINT (-39.395488 -3.138023)'))) / (select extract(epoch from '2026-06-16 16:44:23'::timestamp) - extract(epoch from '2026-06-16 16:44: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'), 46789, 'SRID=4674;POINT (-39.395567 -3.138059)', '2026-06-16 16:44:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395488 -3.138023)'), GeomFromEWKT('SRID=4674;POINT (-39.395567 -3.138059)'))) / (select extract(epoch from '2026-06-16 16:44:27'::timestamp) - extract(epoch from '2026-06-16 16:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395488 -3.138023)'), GeomFromEWKT('SRID=4674;POINT (-39.395567 -3.138059)'))) / (select extract(epoch from '2026-06-16 16:44:27'::timestamp) - extract(epoch from '2026-06-16 16:44: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'), 46789, 'SRID=4674;POINT (-39.395643 -3.138117)', '2026-06-16 16:44:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395567 -3.138059)'), GeomFromEWKT('SRID=4674;POINT (-39.395643 -3.138117)'))) / (select extract(epoch from '2026-06-16 16:44:31'::timestamp) - extract(epoch from '2026-06-16 16:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395567 -3.138059)'), GeomFromEWKT('SRID=4674;POINT (-39.395643 -3.138117)'))) / (select extract(epoch from '2026-06-16 16:44:31'::timestamp) - extract(epoch from '2026-06-16 16:44:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.39566 -3.138128)', '2026-06-16 16:44:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395643 -3.138117)'), GeomFromEWKT('SRID=4674;POINT (-39.39566 -3.138128)'))) / (select extract(epoch from '2026-06-16 16:44:32'::timestamp) - extract(epoch from '2026-06-16 16:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395643 -3.138117)'), GeomFromEWKT('SRID=4674;POINT (-39.39566 -3.138128)'))) / (select extract(epoch from '2026-06-16 16:44:32'::timestamp) - extract(epoch from '2026-06-16 16:44: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'), 46789, 'SRID=4674;POINT (-39.395771 -3.1382)', '2026-06-16 16:44:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39566 -3.138128)'), GeomFromEWKT('SRID=4674;POINT (-39.395771 -3.1382)'))) / (select extract(epoch from '2026-06-16 16:44:38'::timestamp) - extract(epoch from '2026-06-16 16:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39566 -3.138128)'), GeomFromEWKT('SRID=4674;POINT (-39.395771 -3.1382)'))) / (select extract(epoch from '2026-06-16 16:44:38'::timestamp) - extract(epoch from '2026-06-16 16:44: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'), 46789, 'SRID=4674;POINT (-39.395865 -3.138257)', '2026-06-16 16:44:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395771 -3.1382)'), GeomFromEWKT('SRID=4674;POINT (-39.395865 -3.138257)'))) / (select extract(epoch from '2026-06-16 16:44:43'::timestamp) - extract(epoch from '2026-06-16 16:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395771 -3.1382)'), GeomFromEWKT('SRID=4674;POINT (-39.395865 -3.138257)'))) / (select extract(epoch from '2026-06-16 16:44:43'::timestamp) - extract(epoch from '2026-06-16 16:44: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'), 46789, 'SRID=4674;POINT (-39.395977 -3.138292)', '2026-06-16 16:44:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395865 -3.138257)'), GeomFromEWKT('SRID=4674;POINT (-39.395977 -3.138292)'))) / (select extract(epoch from '2026-06-16 16:44:48'::timestamp) - extract(epoch from '2026-06-16 16:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395865 -3.138257)'), GeomFromEWKT('SRID=4674;POINT (-39.395977 -3.138292)'))) / (select extract(epoch from '2026-06-16 16:44:48'::timestamp) - extract(epoch from '2026-06-16 16:44: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'), 46789, 'SRID=4674;POINT (-39.396162 -3.138325)', '2026-06-16 16:44:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395977 -3.138292)'), GeomFromEWKT('SRID=4674;POINT (-39.396162 -3.138325)'))) / (select extract(epoch from '2026-06-16 16:44:55'::timestamp) - extract(epoch from '2026-06-16 16:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.395977 -3.138292)'), GeomFromEWKT('SRID=4674;POINT (-39.396162 -3.138325)'))) / (select extract(epoch from '2026-06-16 16:44:55'::timestamp) - extract(epoch from '2026-06-16 16:44: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'), 46789, 'SRID=4674;POINT (-39.396246 -3.138328)', '2026-06-16 16:44:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.396162 -3.138325)'), GeomFromEWKT('SRID=4674;POINT (-39.396246 -3.138328)'))) / (select extract(epoch from '2026-06-16 16:44:59'::timestamp) - extract(epoch from '2026-06-16 16:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.396162 -3.138325)'), GeomFromEWKT('SRID=4674;POINT (-39.396246 -3.138328)'))) / (select extract(epoch from '2026-06-16 16:44:59'::timestamp) - extract(epoch from '2026-06-16 16:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.396375 -3.138336)', '2026-06-16 16:45:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.396246 -3.138328)'), GeomFromEWKT('SRID=4674;POINT (-39.396375 -3.138336)'))) / (select extract(epoch from '2026-06-16 16:45:04'::timestamp) - extract(epoch from '2026-06-16 16:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.396246 -3.138328)'), GeomFromEWKT('SRID=4674;POINT (-39.396375 -3.138336)'))) / (select extract(epoch from '2026-06-16 16:45:04'::timestamp) - extract(epoch from '2026-06-16 16:44: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'), 46789, 'SRID=4674;POINT (-39.396503 -3.138344)', '2026-06-16 16:45:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.396375 -3.138336)'), GeomFromEWKT('SRID=4674;POINT (-39.396503 -3.138344)'))) / (select extract(epoch from '2026-06-16 16:45:09'::timestamp) - extract(epoch from '2026-06-16 16:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.396375 -3.138336)'), GeomFromEWKT('SRID=4674;POINT (-39.396503 -3.138344)'))) / (select extract(epoch from '2026-06-16 16:45:09'::timestamp) - extract(epoch from '2026-06-16 16:45: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'), 46789, 'SRID=4674;POINT (-39.396622 -3.138339)', '2026-06-16 16:45:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.396503 -3.138344)'), GeomFromEWKT('SRID=4674;POINT (-39.396622 -3.138339)'))) / (select extract(epoch from '2026-06-16 16:45:14'::timestamp) - extract(epoch from '2026-06-16 16:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.396503 -3.138344)'), GeomFromEWKT('SRID=4674;POINT (-39.396622 -3.138339)'))) / (select extract(epoch from '2026-06-16 16:45:14'::timestamp) - extract(epoch from '2026-06-16 16:45: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'), 46789, 'SRID=4674;POINT (-39.396735 -3.138355)', '2026-06-16 16:45:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.396622 -3.138339)'), GeomFromEWKT('SRID=4674;POINT (-39.396735 -3.138355)'))) / (select extract(epoch from '2026-06-16 16:45:19'::timestamp) - extract(epoch from '2026-06-16 16:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.396622 -3.138339)'), GeomFromEWKT('SRID=4674;POINT (-39.396735 -3.138355)'))) / (select extract(epoch from '2026-06-16 16:45:19'::timestamp) - extract(epoch from '2026-06-16 16:45: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'), 46789, 'SRID=4674;POINT (-39.39685 -3.138384)', '2026-06-16 16:45:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.396735 -3.138355)'), GeomFromEWKT('SRID=4674;POINT (-39.39685 -3.138384)'))) / (select extract(epoch from '2026-06-16 16:45:24'::timestamp) - extract(epoch from '2026-06-16 16:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.396735 -3.138355)'), GeomFromEWKT('SRID=4674;POINT (-39.39685 -3.138384)'))) / (select extract(epoch from '2026-06-16 16:45:24'::timestamp) - extract(epoch from '2026-06-16 16:45: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'), 46789, 'SRID=4674;POINT (-39.39698 -3.138425)', '2026-06-16 16:45:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39685 -3.138384)'), GeomFromEWKT('SRID=4674;POINT (-39.39698 -3.138425)'))) / (select extract(epoch from '2026-06-16 16:45:30'::timestamp) - extract(epoch from '2026-06-16 16:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39685 -3.138384)'), GeomFromEWKT('SRID=4674;POINT (-39.39698 -3.138425)'))) / (select extract(epoch from '2026-06-16 16:45:30'::timestamp) - extract(epoch from '2026-06-16 16:45: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'), 46789, 'SRID=4674;POINT (-39.397125 -3.138459)', '2026-06-16 16:45:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39698 -3.138425)'), GeomFromEWKT('SRID=4674;POINT (-39.397125 -3.138459)'))) / (select extract(epoch from '2026-06-16 16:45:37'::timestamp) - extract(epoch from '2026-06-16 16:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39698 -3.138425)'), GeomFromEWKT('SRID=4674;POINT (-39.397125 -3.138459)'))) / (select extract(epoch from '2026-06-16 16:45:37'::timestamp) - extract(epoch from '2026-06-16 16:45: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'), 46789, 'SRID=4674;POINT (-39.397294 -3.138536)', '2026-06-16 16:45:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.397125 -3.138459)'), GeomFromEWKT('SRID=4674;POINT (-39.397294 -3.138536)'))) / (select extract(epoch from '2026-06-16 16:45:45'::timestamp) - extract(epoch from '2026-06-16 16:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.397125 -3.138459)'), GeomFromEWKT('SRID=4674;POINT (-39.397294 -3.138536)'))) / (select extract(epoch from '2026-06-16 16:45:45'::timestamp) - extract(epoch from '2026-06-16 16:45:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.397455 -3.138555)', '2026-06-16 16:45:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.397294 -3.138536)'), GeomFromEWKT('SRID=4674;POINT (-39.397455 -3.138555)'))) / (select extract(epoch from '2026-06-16 16:45:52'::timestamp) - extract(epoch from '2026-06-16 16:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.397294 -3.138536)'), GeomFromEWKT('SRID=4674;POINT (-39.397455 -3.138555)'))) / (select extract(epoch from '2026-06-16 16:45:52'::timestamp) - extract(epoch from '2026-06-16 16:45: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'), 46789, 'SRID=4674;POINT (-39.397589 -3.13857)', '2026-06-16 16:45:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.397455 -3.138555)'), GeomFromEWKT('SRID=4674;POINT (-39.397589 -3.13857)'))) / (select extract(epoch from '2026-06-16 16:45:58'::timestamp) - extract(epoch from '2026-06-16 16:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.397455 -3.138555)'), GeomFromEWKT('SRID=4674;POINT (-39.397589 -3.13857)'))) / (select extract(epoch from '2026-06-16 16:45:58'::timestamp) - extract(epoch from '2026-06-16 16:45: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'), 46789, 'SRID=4674;POINT (-39.39771 -3.138591)', '2026-06-16 16:46:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.397589 -3.13857)'), GeomFromEWKT('SRID=4674;POINT (-39.39771 -3.138591)'))) / (select extract(epoch from '2026-06-16 16:46:03'::timestamp) - extract(epoch from '2026-06-16 16:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.397589 -3.13857)'), GeomFromEWKT('SRID=4674;POINT (-39.39771 -3.138591)'))) / (select extract(epoch from '2026-06-16 16:46:03'::timestamp) - extract(epoch from '2026-06-16 16:45: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'), 46789, 'SRID=4674;POINT (-39.397839 -3.13861)', '2026-06-16 16:46:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39771 -3.138591)'), GeomFromEWKT('SRID=4674;POINT (-39.397839 -3.13861)'))) / (select extract(epoch from '2026-06-16 16:46:07'::timestamp) - extract(epoch from '2026-06-16 16:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39771 -3.138591)'), GeomFromEWKT('SRID=4674;POINT (-39.397839 -3.13861)'))) / (select extract(epoch from '2026-06-16 16:46:07'::timestamp) - extract(epoch from '2026-06-16 16:46: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'), 46789, 'SRID=4674;POINT (-39.397957 -3.138628)', '2026-06-16 16:46:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.397839 -3.13861)'), GeomFromEWKT('SRID=4674;POINT (-39.397957 -3.138628)'))) / (select extract(epoch from '2026-06-16 16:46:11'::timestamp) - extract(epoch from '2026-06-16 16:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.397839 -3.13861)'), GeomFromEWKT('SRID=4674;POINT (-39.397957 -3.138628)'))) / (select extract(epoch from '2026-06-16 16:46:11'::timestamp) - extract(epoch from '2026-06-16 16:46: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'), 46789, 'SRID=4674;POINT (-39.398081 -3.138645)', '2026-06-16 16:46:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.397957 -3.138628)'), GeomFromEWKT('SRID=4674;POINT (-39.398081 -3.138645)'))) / (select extract(epoch from '2026-06-16 16:46:15'::timestamp) - extract(epoch from '2026-06-16 16:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.397957 -3.138628)'), GeomFromEWKT('SRID=4674;POINT (-39.398081 -3.138645)'))) / (select extract(epoch from '2026-06-16 16:46:15'::timestamp) - extract(epoch from '2026-06-16 16:46: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'), 46789, 'SRID=4674;POINT (-39.398187 -3.13866)', '2026-06-16 16:46:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.398081 -3.138645)'), GeomFromEWKT('SRID=4674;POINT (-39.398187 -3.13866)'))) / (select extract(epoch from '2026-06-16 16:46:19'::timestamp) - extract(epoch from '2026-06-16 16:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.398081 -3.138645)'), GeomFromEWKT('SRID=4674;POINT (-39.398187 -3.13866)'))) / (select extract(epoch from '2026-06-16 16:46:19'::timestamp) - extract(epoch from '2026-06-16 16:46: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'), 46789, 'SRID=4674;POINT (-39.398282 -3.138671)', '2026-06-16 16:46:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.398187 -3.13866)'), GeomFromEWKT('SRID=4674;POINT (-39.398282 -3.138671)'))) / (select extract(epoch from '2026-06-16 16:46:23'::timestamp) - extract(epoch from '2026-06-16 16:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.398187 -3.13866)'), GeomFromEWKT('SRID=4674;POINT (-39.398282 -3.138671)'))) / (select extract(epoch from '2026-06-16 16:46:23'::timestamp) - extract(epoch from '2026-06-16 16:46: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'), 46789, 'SRID=4674;POINT (-39.398385 -3.138685)', '2026-06-16 16:46:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.398282 -3.138671)'), GeomFromEWKT('SRID=4674;POINT (-39.398385 -3.138685)'))) / (select extract(epoch from '2026-06-16 16:46:28'::timestamp) - extract(epoch from '2026-06-16 16:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.398282 -3.138671)'), GeomFromEWKT('SRID=4674;POINT (-39.398385 -3.138685)'))) / (select extract(epoch from '2026-06-16 16:46:28'::timestamp) - extract(epoch from '2026-06-16 16:46: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'), 46789, 'SRID=4674;POINT (-39.398527 -3.138733)', '2026-06-16 16:46:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.398385 -3.138685)'), GeomFromEWKT('SRID=4674;POINT (-39.398527 -3.138733)'))) / (select extract(epoch from '2026-06-16 16:46:34'::timestamp) - extract(epoch from '2026-06-16 16:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.398385 -3.138685)'), GeomFromEWKT('SRID=4674;POINT (-39.398527 -3.138733)'))) / (select extract(epoch from '2026-06-16 16:46:34'::timestamp) - extract(epoch from '2026-06-16 16:46: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'), 46789, 'SRID=4674;POINT (-39.398678 -3.138779)', '2026-06-16 16:46:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.398527 -3.138733)'), GeomFromEWKT('SRID=4674;POINT (-39.398678 -3.138779)'))) / (select extract(epoch from '2026-06-16 16:46:41'::timestamp) - extract(epoch from '2026-06-16 16:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.398527 -3.138733)'), GeomFromEWKT('SRID=4674;POINT (-39.398678 -3.138779)'))) / (select extract(epoch from '2026-06-16 16:46:41'::timestamp) - extract(epoch from '2026-06-16 16:46: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'), 46789, 'SRID=4674;POINT (-39.398818 -3.138825)', '2026-06-16 16:46:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.398678 -3.138779)'), GeomFromEWKT('SRID=4674;POINT (-39.398818 -3.138825)'))) / (select extract(epoch from '2026-06-16 16:46:47'::timestamp) - extract(epoch from '2026-06-16 16:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.398678 -3.138779)'), GeomFromEWKT('SRID=4674;POINT (-39.398818 -3.138825)'))) / (select extract(epoch from '2026-06-16 16:46:47'::timestamp) - extract(epoch from '2026-06-16 16:46:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.398958 -3.138863)', '2026-06-16 16:46:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.398818 -3.138825)'), GeomFromEWKT('SRID=4674;POINT (-39.398958 -3.138863)'))) / (select extract(epoch from '2026-06-16 16:46:53'::timestamp) - extract(epoch from '2026-06-16 16:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.398818 -3.138825)'), GeomFromEWKT('SRID=4674;POINT (-39.398958 -3.138863)'))) / (select extract(epoch from '2026-06-16 16:46:53'::timestamp) - extract(epoch from '2026-06-16 16:46: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'), 46789, 'SRID=4674;POINT (-39.399079 -3.138889)', '2026-06-16 16:46:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.398958 -3.138863)'), GeomFromEWKT('SRID=4674;POINT (-39.399079 -3.138889)'))) / (select extract(epoch from '2026-06-16 16:46:58'::timestamp) - extract(epoch from '2026-06-16 16:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.398958 -3.138863)'), GeomFromEWKT('SRID=4674;POINT (-39.399079 -3.138889)'))) / (select extract(epoch from '2026-06-16 16:46:58'::timestamp) - extract(epoch from '2026-06-16 16:46: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'), 46789, 'SRID=4674;POINT (-39.399187 -3.138922)', '2026-06-16 16:47:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.399079 -3.138889)'), GeomFromEWKT('SRID=4674;POINT (-39.399187 -3.138922)'))) / (select extract(epoch from '2026-06-16 16:47:03'::timestamp) - extract(epoch from '2026-06-16 16:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.399079 -3.138889)'), GeomFromEWKT('SRID=4674;POINT (-39.399187 -3.138922)'))) / (select extract(epoch from '2026-06-16 16:47:03'::timestamp) - extract(epoch from '2026-06-16 16:46: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'), 46789, 'SRID=4674;POINT (-39.399286 -3.138954)', '2026-06-16 16:47:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.399187 -3.138922)'), GeomFromEWKT('SRID=4674;POINT (-39.399286 -3.138954)'))) / (select extract(epoch from '2026-06-16 16:47:08'::timestamp) - extract(epoch from '2026-06-16 16:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.399187 -3.138922)'), GeomFromEWKT('SRID=4674;POINT (-39.399286 -3.138954)'))) / (select extract(epoch from '2026-06-16 16:47:08'::timestamp) - extract(epoch from '2026-06-16 16:47: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'), 46789, 'SRID=4674;POINT (-39.399399 -3.138982)', '2026-06-16 16:47:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.399286 -3.138954)'), GeomFromEWKT('SRID=4674;POINT (-39.399399 -3.138982)'))) / (select extract(epoch from '2026-06-16 16:47:13'::timestamp) - extract(epoch from '2026-06-16 16:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.399286 -3.138954)'), GeomFromEWKT('SRID=4674;POINT (-39.399399 -3.138982)'))) / (select extract(epoch from '2026-06-16 16:47:13'::timestamp) - extract(epoch from '2026-06-16 16:47: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'), 46789, 'SRID=4674;POINT (-39.39954 -3.139018)', '2026-06-16 16:47:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.399399 -3.138982)'), GeomFromEWKT('SRID=4674;POINT (-39.39954 -3.139018)'))) / (select extract(epoch from '2026-06-16 16:47:19'::timestamp) - extract(epoch from '2026-06-16 16:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.399399 -3.138982)'), GeomFromEWKT('SRID=4674;POINT (-39.39954 -3.139018)'))) / (select extract(epoch from '2026-06-16 16:47:19'::timestamp) - extract(epoch from '2026-06-16 16:47:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.399676 -3.139052)', '2026-06-16 16:47:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39954 -3.139018)'), GeomFromEWKT('SRID=4674;POINT (-39.399676 -3.139052)'))) / (select extract(epoch from '2026-06-16 16:47:25'::timestamp) - extract(epoch from '2026-06-16 16:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.39954 -3.139018)'), GeomFromEWKT('SRID=4674;POINT (-39.399676 -3.139052)'))) / (select extract(epoch from '2026-06-16 16:47:25'::timestamp) - extract(epoch from '2026-06-16 16:47: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'), 46789, 'SRID=4674;POINT (-39.399851 -3.139114)', '2026-06-16 16:47:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.399676 -3.139052)'), GeomFromEWKT('SRID=4674;POINT (-39.399851 -3.139114)'))) / (select extract(epoch from '2026-06-16 16:47:33'::timestamp) - extract(epoch from '2026-06-16 16:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.399676 -3.139052)'), GeomFromEWKT('SRID=4674;POINT (-39.399851 -3.139114)'))) / (select extract(epoch from '2026-06-16 16:47:33'::timestamp) - extract(epoch from '2026-06-16 16:47:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.399982 -3.139196)', '2026-06-16 16:47:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.399851 -3.139114)'), GeomFromEWKT('SRID=4674;POINT (-39.399982 -3.139196)'))) / (select extract(epoch from '2026-06-16 16:47:40'::timestamp) - extract(epoch from '2026-06-16 16:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.399851 -3.139114)'), GeomFromEWKT('SRID=4674;POINT (-39.399982 -3.139196)'))) / (select extract(epoch from '2026-06-16 16:47:40'::timestamp) - extract(epoch from '2026-06-16 16:47: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'), 46789, 'SRID=4674;POINT (-39.40016 -3.139288)', '2026-06-16 16:47:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.399982 -3.139196)'), GeomFromEWKT('SRID=4674;POINT (-39.40016 -3.139288)'))) / (select extract(epoch from '2026-06-16 16:47:49'::timestamp) - extract(epoch from '2026-06-16 16:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.399982 -3.139196)'), GeomFromEWKT('SRID=4674;POINT (-39.40016 -3.139288)'))) / (select extract(epoch from '2026-06-16 16:47:49'::timestamp) - extract(epoch from '2026-06-16 16:47: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'), 46789, 'SRID=4674;POINT (-39.400302 -3.139322)', '2026-06-16 16:47:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40016 -3.139288)'), GeomFromEWKT('SRID=4674;POINT (-39.400302 -3.139322)'))) / (select extract(epoch from '2026-06-16 16:47:55'::timestamp) - extract(epoch from '2026-06-16 16:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40016 -3.139288)'), GeomFromEWKT('SRID=4674;POINT (-39.400302 -3.139322)'))) / (select extract(epoch from '2026-06-16 16:47:55'::timestamp) - extract(epoch from '2026-06-16 16:47: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'), 46789, 'SRID=4674;POINT (-39.400431 -3.139354)', '2026-06-16 16:48:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.400302 -3.139322)'), GeomFromEWKT('SRID=4674;POINT (-39.400431 -3.139354)'))) / (select extract(epoch from '2026-06-16 16:48:01'::timestamp) - extract(epoch from '2026-06-16 16:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.400302 -3.139322)'), GeomFromEWKT('SRID=4674;POINT (-39.400431 -3.139354)'))) / (select extract(epoch from '2026-06-16 16:48:01'::timestamp) - extract(epoch from '2026-06-16 16:47: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'), 46789, 'SRID=4674;POINT (-39.400599 -3.139373)', '2026-06-16 16:48:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.400431 -3.139354)'), GeomFromEWKT('SRID=4674;POINT (-39.400599 -3.139373)'))) / (select extract(epoch from '2026-06-16 16:48:08'::timestamp) - extract(epoch from '2026-06-16 16:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.400431 -3.139354)'), GeomFromEWKT('SRID=4674;POINT (-39.400599 -3.139373)'))) / (select extract(epoch from '2026-06-16 16:48:08'::timestamp) - extract(epoch from '2026-06-16 16:48: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'), 46789, 'SRID=4674;POINT (-39.400738 -3.13943)', '2026-06-16 16:48:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.400599 -3.139373)'), GeomFromEWKT('SRID=4674;POINT (-39.400738 -3.13943)'))) / (select extract(epoch from '2026-06-16 16:48:15'::timestamp) - extract(epoch from '2026-06-16 16:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.400599 -3.139373)'), GeomFromEWKT('SRID=4674;POINT (-39.400738 -3.13943)'))) / (select extract(epoch from '2026-06-16 16:48:15'::timestamp) - extract(epoch from '2026-06-16 16:48: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'), 46789, 'SRID=4674;POINT (-39.400909 -3.139517)', '2026-06-16 16:48:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.400738 -3.13943)'), GeomFromEWKT('SRID=4674;POINT (-39.400909 -3.139517)'))) / (select extract(epoch from '2026-06-16 16:48:24'::timestamp) - extract(epoch from '2026-06-16 16:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.400738 -3.13943)'), GeomFromEWKT('SRID=4674;POINT (-39.400909 -3.139517)'))) / (select extract(epoch from '2026-06-16 16:48:24'::timestamp) - extract(epoch from '2026-06-16 16:48: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'), 46789, 'SRID=4674;POINT (-39.401055 -3.139591)', '2026-06-16 16:48:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.400909 -3.139517)'), GeomFromEWKT('SRID=4674;POINT (-39.401055 -3.139591)'))) / (select extract(epoch from '2026-06-16 16:48:30'::timestamp) - extract(epoch from '2026-06-16 16:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.400909 -3.139517)'), GeomFromEWKT('SRID=4674;POINT (-39.401055 -3.139591)'))) / (select extract(epoch from '2026-06-16 16:48:30'::timestamp) - extract(epoch from '2026-06-16 16:48: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'), 46789, 'SRID=4674;POINT (-39.401214 -3.139586)', '2026-06-16 16:48:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.401055 -3.139591)'), GeomFromEWKT('SRID=4674;POINT (-39.401214 -3.139586)'))) / (select extract(epoch from '2026-06-16 16:48:36'::timestamp) - extract(epoch from '2026-06-16 16:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.401055 -3.139591)'), GeomFromEWKT('SRID=4674;POINT (-39.401214 -3.139586)'))) / (select extract(epoch from '2026-06-16 16:48:36'::timestamp) - extract(epoch from '2026-06-16 16:48:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.401333 -3.139642)', '2026-06-16 16:48:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.401214 -3.139586)'), GeomFromEWKT('SRID=4674;POINT (-39.401333 -3.139642)'))) / (select extract(epoch from '2026-06-16 16:48:42'::timestamp) - extract(epoch from '2026-06-16 16:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.401214 -3.139586)'), GeomFromEWKT('SRID=4674;POINT (-39.401333 -3.139642)'))) / (select extract(epoch from '2026-06-16 16:48:42'::timestamp) - extract(epoch from '2026-06-16 16:48: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'), 46789, 'SRID=4674;POINT (-39.40146 -3.139728)', '2026-06-16 16:48:49', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.401333 -3.139642)'), GeomFromEWKT('SRID=4674;POINT (-39.40146 -3.139728)'))) / (select extract(epoch from '2026-06-16 16:48:49'::timestamp) - extract(epoch from '2026-06-16 16:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.401333 -3.139642)'), GeomFromEWKT('SRID=4674;POINT (-39.40146 -3.139728)'))) / (select extract(epoch from '2026-06-16 16:48:49'::timestamp) - extract(epoch from '2026-06-16 16:48: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'), 46789, 'SRID=4674;POINT (-39.40163 -3.139798)', '2026-06-16 16:48:57', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40146 -3.139728)'), GeomFromEWKT('SRID=4674;POINT (-39.40163 -3.139798)'))) / (select extract(epoch from '2026-06-16 16:48:57'::timestamp) - extract(epoch from '2026-06-16 16:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40146 -3.139728)'), GeomFromEWKT('SRID=4674;POINT (-39.40163 -3.139798)'))) / (select extract(epoch from '2026-06-16 16:48:57'::timestamp) - extract(epoch from '2026-06-16 16:48:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.40179 -3.139814)', '2026-06-16 16:49:04', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40163 -3.139798)'), GeomFromEWKT('SRID=4674;POINT (-39.40179 -3.139814)'))) / (select extract(epoch from '2026-06-16 16:49:04'::timestamp) - extract(epoch from '2026-06-16 16:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40163 -3.139798)'), GeomFromEWKT('SRID=4674;POINT (-39.40179 -3.139814)'))) / (select extract(epoch from '2026-06-16 16:49:04'::timestamp) - extract(epoch from '2026-06-16 16:48: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'), 46789, 'SRID=4674;POINT (-39.401949 -3.139836)', '2026-06-16 16:49:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40179 -3.139814)'), GeomFromEWKT('SRID=4674;POINT (-39.401949 -3.139836)'))) / (select extract(epoch from '2026-06-16 16:49:11'::timestamp) - extract(epoch from '2026-06-16 16:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40179 -3.139814)'), GeomFromEWKT('SRID=4674;POINT (-39.401949 -3.139836)'))) / (select extract(epoch from '2026-06-16 16:49:11'::timestamp) - extract(epoch from '2026-06-16 16:49: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'), 46789, 'SRID=4674;POINT (-39.402125 -3.139858)', '2026-06-16 16:49:17', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.401949 -3.139836)'), GeomFromEWKT('SRID=4674;POINT (-39.402125 -3.139858)'))) / (select extract(epoch from '2026-06-16 16:49:17'::timestamp) - extract(epoch from '2026-06-16 16:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.401949 -3.139836)'), GeomFromEWKT('SRID=4674;POINT (-39.402125 -3.139858)'))) / (select extract(epoch from '2026-06-16 16:49:17'::timestamp) - extract(epoch from '2026-06-16 16:49: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'), 46789, 'SRID=4674;POINT (-39.402304 -3.139879)', '2026-06-16 16:49:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.402125 -3.139858)'), GeomFromEWKT('SRID=4674;POINT (-39.402304 -3.139879)'))) / (select extract(epoch from '2026-06-16 16:49:25'::timestamp) - extract(epoch from '2026-06-16 16:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.402125 -3.139858)'), GeomFromEWKT('SRID=4674;POINT (-39.402304 -3.139879)'))) / (select extract(epoch from '2026-06-16 16:49:25'::timestamp) - extract(epoch from '2026-06-16 16:49: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'), 46789, 'SRID=4674;POINT (-39.402443 -3.139902)', '2026-06-16 16:49:32', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.402304 -3.139879)'), GeomFromEWKT('SRID=4674;POINT (-39.402443 -3.139902)'))) / (select extract(epoch from '2026-06-16 16:49:32'::timestamp) - extract(epoch from '2026-06-16 16:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.402304 -3.139879)'), GeomFromEWKT('SRID=4674;POINT (-39.402443 -3.139902)'))) / (select extract(epoch from '2026-06-16 16:49:32'::timestamp) - extract(epoch from '2026-06-16 16:49: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'), 46789, 'SRID=4674;POINT (-39.402621 -3.139921)', '2026-06-16 16:49:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.402443 -3.139902)'), GeomFromEWKT('SRID=4674;POINT (-39.402621 -3.139921)'))) / (select extract(epoch from '2026-06-16 16:49:39'::timestamp) - extract(epoch from '2026-06-16 16:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.402443 -3.139902)'), GeomFromEWKT('SRID=4674;POINT (-39.402621 -3.139921)'))) / (select extract(epoch from '2026-06-16 16:49:39'::timestamp) - extract(epoch from '2026-06-16 16:49:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.402722 -3.139924)', '2026-06-16 16:49:44', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.402621 -3.139921)'), GeomFromEWKT('SRID=4674;POINT (-39.402722 -3.139924)'))) / (select extract(epoch from '2026-06-16 16:49:44'::timestamp) - extract(epoch from '2026-06-16 16:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.402621 -3.139921)'), GeomFromEWKT('SRID=4674;POINT (-39.402722 -3.139924)'))) / (select extract(epoch from '2026-06-16 16:49:44'::timestamp) - extract(epoch from '2026-06-16 16:49: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'), 46789, 'SRID=4674;POINT (-39.402893 -3.139925)', '2026-06-16 16:49:51', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.402722 -3.139924)'), GeomFromEWKT('SRID=4674;POINT (-39.402893 -3.139925)'))) / (select extract(epoch from '2026-06-16 16:49:51'::timestamp) - extract(epoch from '2026-06-16 16:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.402722 -3.139924)'), GeomFromEWKT('SRID=4674;POINT (-39.402893 -3.139925)'))) / (select extract(epoch from '2026-06-16 16:49:51'::timestamp) - extract(epoch from '2026-06-16 16:49:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.403043 -3.139942)', '2026-06-16 16:49:58', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.402893 -3.139925)'), GeomFromEWKT('SRID=4674;POINT (-39.403043 -3.139942)'))) / (select extract(epoch from '2026-06-16 16:49:58'::timestamp) - extract(epoch from '2026-06-16 16:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.402893 -3.139925)'), GeomFromEWKT('SRID=4674;POINT (-39.403043 -3.139942)'))) / (select extract(epoch from '2026-06-16 16:49:58'::timestamp) - extract(epoch from '2026-06-16 16:49: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'), 46789, 'SRID=4674;POINT (-39.403148 -3.13998)', '2026-06-16 16:50:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.403043 -3.139942)'), GeomFromEWKT('SRID=4674;POINT (-39.403148 -3.13998)'))) / (select extract(epoch from '2026-06-16 16:50:03'::timestamp) - extract(epoch from '2026-06-16 16:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.403043 -3.139942)'), GeomFromEWKT('SRID=4674;POINT (-39.403148 -3.13998)'))) / (select extract(epoch from '2026-06-16 16:50:03'::timestamp) - extract(epoch from '2026-06-16 16:49: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'), 46789, 'SRID=4674;POINT (-39.403276 -3.140023)', '2026-06-16 16:50:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.403148 -3.13998)'), GeomFromEWKT('SRID=4674;POINT (-39.403276 -3.140023)'))) / (select extract(epoch from '2026-06-16 16:50:08'::timestamp) - extract(epoch from '2026-06-16 16:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.403148 -3.13998)'), GeomFromEWKT('SRID=4674;POINT (-39.403276 -3.140023)'))) / (select extract(epoch from '2026-06-16 16:50:08'::timestamp) - extract(epoch from '2026-06-16 16:50: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'), 46789, 'SRID=4674;POINT (-39.403385 -3.140025)', '2026-06-16 16:50:13', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.403276 -3.140023)'), GeomFromEWKT('SRID=4674;POINT (-39.403385 -3.140025)'))) / (select extract(epoch from '2026-06-16 16:50:13'::timestamp) - extract(epoch from '2026-06-16 16:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.403276 -3.140023)'), GeomFromEWKT('SRID=4674;POINT (-39.403385 -3.140025)'))) / (select extract(epoch from '2026-06-16 16:50:13'::timestamp) - extract(epoch from '2026-06-16 16:50: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'), 46789, 'SRID=4674;POINT (-39.403476 -3.140018)', '2026-06-16 16:50:18', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.403385 -3.140025)'), GeomFromEWKT('SRID=4674;POINT (-39.403476 -3.140018)'))) / (select extract(epoch from '2026-06-16 16:50:18'::timestamp) - extract(epoch from '2026-06-16 16:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.403385 -3.140025)'), GeomFromEWKT('SRID=4674;POINT (-39.403476 -3.140018)'))) / (select extract(epoch from '2026-06-16 16:50:18'::timestamp) - extract(epoch from '2026-06-16 16:50: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'), 46789, 'SRID=4674;POINT (-39.403627 -3.140033)', '2026-06-16 16:50:25', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.403476 -3.140018)'), GeomFromEWKT('SRID=4674;POINT (-39.403627 -3.140033)'))) / (select extract(epoch from '2026-06-16 16:50:25'::timestamp) - extract(epoch from '2026-06-16 16:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.403476 -3.140018)'), GeomFromEWKT('SRID=4674;POINT (-39.403627 -3.140033)'))) / (select extract(epoch from '2026-06-16 16:50:25'::timestamp) - extract(epoch from '2026-06-16 16:50: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'), 46789, 'SRID=4674;POINT (-39.403762 -3.140057)', '2026-06-16 16:50:31', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.403627 -3.140033)'), GeomFromEWKT('SRID=4674;POINT (-39.403762 -3.140057)'))) / (select extract(epoch from '2026-06-16 16:50:31'::timestamp) - extract(epoch from '2026-06-16 16:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.403627 -3.140033)'), GeomFromEWKT('SRID=4674;POINT (-39.403762 -3.140057)'))) / (select extract(epoch from '2026-06-16 16:50:31'::timestamp) - extract(epoch from '2026-06-16 16:50: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'), 46789, 'SRID=4674;POINT (-39.403905 -3.140059)', '2026-06-16 16:50:37', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.403762 -3.140057)'), GeomFromEWKT('SRID=4674;POINT (-39.403905 -3.140059)'))) / (select extract(epoch from '2026-06-16 16:50:37'::timestamp) - extract(epoch from '2026-06-16 16:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.403762 -3.140057)'), GeomFromEWKT('SRID=4674;POINT (-39.403905 -3.140059)'))) / (select extract(epoch from '2026-06-16 16:50:37'::timestamp) - extract(epoch from '2026-06-16 16:50: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'), 46789, 'SRID=4674;POINT (-39.404091 -3.140076)', '2026-06-16 16:50:45', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.403905 -3.140059)'), GeomFromEWKT('SRID=4674;POINT (-39.404091 -3.140076)'))) / (select extract(epoch from '2026-06-16 16:50:45'::timestamp) - extract(epoch from '2026-06-16 16:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.403905 -3.140059)'), GeomFromEWKT('SRID=4674;POINT (-39.404091 -3.140076)'))) / (select extract(epoch from '2026-06-16 16:50:45'::timestamp) - extract(epoch from '2026-06-16 16:50:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.404266 -3.140111)', '2026-06-16 16:50:52', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.404091 -3.140076)'), GeomFromEWKT('SRID=4674;POINT (-39.404266 -3.140111)'))) / (select extract(epoch from '2026-06-16 16:50:52'::timestamp) - extract(epoch from '2026-06-16 16:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.404091 -3.140076)'), GeomFromEWKT('SRID=4674;POINT (-39.404266 -3.140111)'))) / (select extract(epoch from '2026-06-16 16:50:52'::timestamp) - extract(epoch from '2026-06-16 16:50: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'), 46789, 'SRID=4674;POINT (-39.40441 -3.140143)', '2026-06-16 16:50:58', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.404266 -3.140111)'), GeomFromEWKT('SRID=4674;POINT (-39.40441 -3.140143)'))) / (select extract(epoch from '2026-06-16 16:50:58'::timestamp) - extract(epoch from '2026-06-16 16:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.404266 -3.140111)'), GeomFromEWKT('SRID=4674;POINT (-39.40441 -3.140143)'))) / (select extract(epoch from '2026-06-16 16:50:58'::timestamp) - extract(epoch from '2026-06-16 16:50: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'), 46789, 'SRID=4674;POINT (-39.404564 -3.140176)', '2026-06-16 16:51:04', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40441 -3.140143)'), GeomFromEWKT('SRID=4674;POINT (-39.404564 -3.140176)'))) / (select extract(epoch from '2026-06-16 16:51:04'::timestamp) - extract(epoch from '2026-06-16 16:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40441 -3.140143)'), GeomFromEWKT('SRID=4674;POINT (-39.404564 -3.140176)'))) / (select extract(epoch from '2026-06-16 16:51:04'::timestamp) - extract(epoch from '2026-06-16 16:50: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'), 46789, 'SRID=4674;POINT (-39.404691 -3.140178)', '2026-06-16 16:51:09', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.404564 -3.140176)'), GeomFromEWKT('SRID=4674;POINT (-39.404691 -3.140178)'))) / (select extract(epoch from '2026-06-16 16:51:09'::timestamp) - extract(epoch from '2026-06-16 16:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.404564 -3.140176)'), GeomFromEWKT('SRID=4674;POINT (-39.404691 -3.140178)'))) / (select extract(epoch from '2026-06-16 16:51:09'::timestamp) - extract(epoch from '2026-06-16 16:51: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'), 46789, 'SRID=4674;POINT (-39.404824 -3.140199)', '2026-06-16 16:51:15', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.404691 -3.140178)'), GeomFromEWKT('SRID=4674;POINT (-39.404824 -3.140199)'))) / (select extract(epoch from '2026-06-16 16:51:15'::timestamp) - extract(epoch from '2026-06-16 16:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.404691 -3.140178)'), GeomFromEWKT('SRID=4674;POINT (-39.404824 -3.140199)'))) / (select extract(epoch from '2026-06-16 16:51:15'::timestamp) - extract(epoch from '2026-06-16 16:51:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.404925 -3.140236)', '2026-06-16 16:51:20', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.404824 -3.140199)'), GeomFromEWKT('SRID=4674;POINT (-39.404925 -3.140236)'))) / (select extract(epoch from '2026-06-16 16:51:20'::timestamp) - extract(epoch from '2026-06-16 16:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.404824 -3.140199)'), GeomFromEWKT('SRID=4674;POINT (-39.404925 -3.140236)'))) / (select extract(epoch from '2026-06-16 16:51:20'::timestamp) - extract(epoch from '2026-06-16 16:51: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'), 46789, 'SRID=4674;POINT (-39.405033 -3.140276)', '2026-06-16 16:51:25', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.404925 -3.140236)'), GeomFromEWKT('SRID=4674;POINT (-39.405033 -3.140276)'))) / (select extract(epoch from '2026-06-16 16:51:25'::timestamp) - extract(epoch from '2026-06-16 16:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.404925 -3.140236)'), GeomFromEWKT('SRID=4674;POINT (-39.405033 -3.140276)'))) / (select extract(epoch from '2026-06-16 16:51:25'::timestamp) - extract(epoch from '2026-06-16 16:51: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'), 46789, 'SRID=4674;POINT (-39.405169 -3.140326)', '2026-06-16 16:51:31', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.405033 -3.140276)'), GeomFromEWKT('SRID=4674;POINT (-39.405169 -3.140326)'))) / (select extract(epoch from '2026-06-16 16:51:31'::timestamp) - extract(epoch from '2026-06-16 16:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.405033 -3.140276)'), GeomFromEWKT('SRID=4674;POINT (-39.405169 -3.140326)'))) / (select extract(epoch from '2026-06-16 16:51:31'::timestamp) - extract(epoch from '2026-06-16 16:51: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'), 46789, 'SRID=4674;POINT (-39.405281 -3.140359)', '2026-06-16 16:51:36', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.405169 -3.140326)'), GeomFromEWKT('SRID=4674;POINT (-39.405281 -3.140359)'))) / (select extract(epoch from '2026-06-16 16:51:36'::timestamp) - extract(epoch from '2026-06-16 16:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.405169 -3.140326)'), GeomFromEWKT('SRID=4674;POINT (-39.405281 -3.140359)'))) / (select extract(epoch from '2026-06-16 16:51:36'::timestamp) - extract(epoch from '2026-06-16 16:51: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'), 46789, 'SRID=4674;POINT (-39.405391 -3.140383)', '2026-06-16 16:51:41', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.405281 -3.140359)'), GeomFromEWKT('SRID=4674;POINT (-39.405391 -3.140383)'))) / (select extract(epoch from '2026-06-16 16:51:41'::timestamp) - extract(epoch from '2026-06-16 16:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.405281 -3.140359)'), GeomFromEWKT('SRID=4674;POINT (-39.405391 -3.140383)'))) / (select extract(epoch from '2026-06-16 16:51:41'::timestamp) - extract(epoch from '2026-06-16 16:51: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'), 46789, 'SRID=4674;POINT (-39.405522 -3.140407)', '2026-06-16 16:51:47', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.405391 -3.140383)'), GeomFromEWKT('SRID=4674;POINT (-39.405522 -3.140407)'))) / (select extract(epoch from '2026-06-16 16:51:47'::timestamp) - extract(epoch from '2026-06-16 16:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.405391 -3.140383)'), GeomFromEWKT('SRID=4674;POINT (-39.405522 -3.140407)'))) / (select extract(epoch from '2026-06-16 16:51:47'::timestamp) - extract(epoch from '2026-06-16 16:51:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.405691 -3.140435)', '2026-06-16 16:51:54', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.405522 -3.140407)'), GeomFromEWKT('SRID=4674;POINT (-39.405691 -3.140435)'))) / (select extract(epoch from '2026-06-16 16:51:54'::timestamp) - extract(epoch from '2026-06-16 16:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.405522 -3.140407)'), GeomFromEWKT('SRID=4674;POINT (-39.405691 -3.140435)'))) / (select extract(epoch from '2026-06-16 16:51:54'::timestamp) - extract(epoch from '2026-06-16 16:51: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'), 46789, 'SRID=4674;POINT (-39.405843 -3.140478)', '2026-06-16 16:52:01', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.405691 -3.140435)'), GeomFromEWKT('SRID=4674;POINT (-39.405843 -3.140478)'))) / (select extract(epoch from '2026-06-16 16:52:01'::timestamp) - extract(epoch from '2026-06-16 16:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.405691 -3.140435)'), GeomFromEWKT('SRID=4674;POINT (-39.405843 -3.140478)'))) / (select extract(epoch from '2026-06-16 16:52:01'::timestamp) - extract(epoch from '2026-06-16 16:51: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'), 46789, 'SRID=4674;POINT (-39.406019 -3.140542)', '2026-06-16 16:52:09', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.405843 -3.140478)'), GeomFromEWKT('SRID=4674;POINT (-39.406019 -3.140542)'))) / (select extract(epoch from '2026-06-16 16:52:09'::timestamp) - extract(epoch from '2026-06-16 16:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.405843 -3.140478)'), GeomFromEWKT('SRID=4674;POINT (-39.406019 -3.140542)'))) / (select extract(epoch from '2026-06-16 16:52:09'::timestamp) - extract(epoch from '2026-06-16 16:52: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'), 46789, 'SRID=4674;POINT (-39.406179 -3.140568)', '2026-06-16 16:52:16', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406019 -3.140542)'), GeomFromEWKT('SRID=4674;POINT (-39.406179 -3.140568)'))) / (select extract(epoch from '2026-06-16 16:52:16'::timestamp) - extract(epoch from '2026-06-16 16:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406019 -3.140542)'), GeomFromEWKT('SRID=4674;POINT (-39.406179 -3.140568)'))) / (select extract(epoch from '2026-06-16 16:52:16'::timestamp) - extract(epoch from '2026-06-16 16:52: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'), 46789, 'SRID=4674;POINT (-39.40636 -3.140608)', '2026-06-16 16:52:23', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406179 -3.140568)'), GeomFromEWKT('SRID=4674;POINT (-39.40636 -3.140608)'))) / (select extract(epoch from '2026-06-16 16:52:23'::timestamp) - extract(epoch from '2026-06-16 16:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406179 -3.140568)'), GeomFromEWKT('SRID=4674;POINT (-39.40636 -3.140608)'))) / (select extract(epoch from '2026-06-16 16:52:23'::timestamp) - extract(epoch from '2026-06-16 16:52:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.406384 -3.140611)', '2026-06-16 16:52:24', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40636 -3.140608)'), GeomFromEWKT('SRID=4674;POINT (-39.406384 -3.140611)'))) / (select extract(epoch from '2026-06-16 16:52:24'::timestamp) - extract(epoch from '2026-06-16 16:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40636 -3.140608)'), GeomFromEWKT('SRID=4674;POINT (-39.406384 -3.140611)'))) / (select extract(epoch from '2026-06-16 16:52:24'::timestamp) - extract(epoch from '2026-06-16 16:52: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'), 46789, 'SRID=4674;POINT (-39.406574 -3.140645)', '2026-06-16 16:52:32', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406384 -3.140611)'), GeomFromEWKT('SRID=4674;POINT (-39.406574 -3.140645)'))) / (select extract(epoch from '2026-06-16 16:52:32'::timestamp) - extract(epoch from '2026-06-16 16:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406384 -3.140611)'), GeomFromEWKT('SRID=4674;POINT (-39.406574 -3.140645)'))) / (select extract(epoch from '2026-06-16 16:52:32'::timestamp) - extract(epoch from '2026-06-16 16:52: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'), 46789, 'SRID=4674;POINT (-39.406597 -3.140648)', '2026-06-16 16:52:33', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406574 -3.140645)'), GeomFromEWKT('SRID=4674;POINT (-39.406597 -3.140648)'))) / (select extract(epoch from '2026-06-16 16:52:33'::timestamp) - extract(epoch from '2026-06-16 16:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406574 -3.140645)'), GeomFromEWKT('SRID=4674;POINT (-39.406597 -3.140648)'))) / (select extract(epoch from '2026-06-16 16:52:33'::timestamp) - extract(epoch from '2026-06-16 16:52: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'), 46789, 'SRID=4674;POINT (-39.406775 -3.140698)', '2026-06-16 16:52:40', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406597 -3.140648)'), GeomFromEWKT('SRID=4674;POINT (-39.406775 -3.140698)'))) / (select extract(epoch from '2026-06-16 16:52:40'::timestamp) - extract(epoch from '2026-06-16 16:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406597 -3.140648)'), GeomFromEWKT('SRID=4674;POINT (-39.406775 -3.140698)'))) / (select extract(epoch from '2026-06-16 16:52:40'::timestamp) - extract(epoch from '2026-06-16 16:52: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'), 46789, 'SRID=4674;POINT (-39.406921 -3.140744)', '2026-06-16 16:52:47', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406775 -3.140698)'), GeomFromEWKT('SRID=4674;POINT (-39.406921 -3.140744)'))) / (select extract(epoch from '2026-06-16 16:52:47'::timestamp) - extract(epoch from '2026-06-16 16:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406775 -3.140698)'), GeomFromEWKT('SRID=4674;POINT (-39.406921 -3.140744)'))) / (select extract(epoch from '2026-06-16 16:52:47'::timestamp) - extract(epoch from '2026-06-16 16:52: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'), 46789, 'SRID=4674;POINT (-39.407062 -3.140774)', '2026-06-16 16:52:53', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406921 -3.140744)'), GeomFromEWKT('SRID=4674;POINT (-39.407062 -3.140774)'))) / (select extract(epoch from '2026-06-16 16:52:53'::timestamp) - extract(epoch from '2026-06-16 16:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406921 -3.140744)'), GeomFromEWKT('SRID=4674;POINT (-39.407062 -3.140774)'))) / (select extract(epoch from '2026-06-16 16:52:53'::timestamp) - extract(epoch from '2026-06-16 16:52: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'), 46789, 'SRID=4674;POINT (-39.407188 -3.140799)', '2026-06-16 16:52:59', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407062 -3.140774)'), GeomFromEWKT('SRID=4674;POINT (-39.407188 -3.140799)'))) / (select extract(epoch from '2026-06-16 16:52:59'::timestamp) - extract(epoch from '2026-06-16 16:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407062 -3.140774)'), GeomFromEWKT('SRID=4674;POINT (-39.407188 -3.140799)'))) / (select extract(epoch from '2026-06-16 16:52:59'::timestamp) - extract(epoch from '2026-06-16 16:52: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'), 46789, 'SRID=4674;POINT (-39.407339 -3.140815)', '2026-06-16 16:53:06', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407188 -3.140799)'), GeomFromEWKT('SRID=4674;POINT (-39.407339 -3.140815)'))) / (select extract(epoch from '2026-06-16 16:53:06'::timestamp) - extract(epoch from '2026-06-16 16:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407188 -3.140799)'), GeomFromEWKT('SRID=4674;POINT (-39.407339 -3.140815)'))) / (select extract(epoch from '2026-06-16 16:53:06'::timestamp) - extract(epoch from '2026-06-16 16:52: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'), 46789, 'SRID=4674;POINT (-39.407497 -3.140838)', '2026-06-16 16:53:13', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407339 -3.140815)'), GeomFromEWKT('SRID=4674;POINT (-39.407497 -3.140838)'))) / (select extract(epoch from '2026-06-16 16:53:13'::timestamp) - extract(epoch from '2026-06-16 16:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407339 -3.140815)'), GeomFromEWKT('SRID=4674;POINT (-39.407497 -3.140838)'))) / (select extract(epoch from '2026-06-16 16:53:13'::timestamp) - extract(epoch from '2026-06-16 16:53: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'), 46789, 'SRID=4674;POINT (-39.407623 -3.140866)', '2026-06-16 16:53:18', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407497 -3.140838)'), GeomFromEWKT('SRID=4674;POINT (-39.407623 -3.140866)'))) / (select extract(epoch from '2026-06-16 16:53:18'::timestamp) - extract(epoch from '2026-06-16 16:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407497 -3.140838)'), GeomFromEWKT('SRID=4674;POINT (-39.407623 -3.140866)'))) / (select extract(epoch from '2026-06-16 16:53:18'::timestamp) - extract(epoch from '2026-06-16 16:53: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'), 46789, 'SRID=4674;POINT (-39.407751 -3.140879)', '2026-06-16 16:53:24', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407623 -3.140866)'), GeomFromEWKT('SRID=4674;POINT (-39.407751 -3.140879)'))) / (select extract(epoch from '2026-06-16 16:53:24'::timestamp) - extract(epoch from '2026-06-16 16:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407623 -3.140866)'), GeomFromEWKT('SRID=4674;POINT (-39.407751 -3.140879)'))) / (select extract(epoch from '2026-06-16 16:53:24'::timestamp) - extract(epoch from '2026-06-16 16:53:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.407888 -3.140894)', '2026-06-16 16:53:30', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407751 -3.140879)'), GeomFromEWKT('SRID=4674;POINT (-39.407888 -3.140894)'))) / (select extract(epoch from '2026-06-16 16:53:30'::timestamp) - extract(epoch from '2026-06-16 16:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407751 -3.140879)'), GeomFromEWKT('SRID=4674;POINT (-39.407888 -3.140894)'))) / (select extract(epoch from '2026-06-16 16:53:30'::timestamp) - extract(epoch from '2026-06-16 16:53:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.408049 -3.140937)', '2026-06-16 16:53:37', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407888 -3.140894)'), GeomFromEWKT('SRID=4674;POINT (-39.408049 -3.140937)'))) / (select extract(epoch from '2026-06-16 16:53:37'::timestamp) - extract(epoch from '2026-06-16 16:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407888 -3.140894)'), GeomFromEWKT('SRID=4674;POINT (-39.408049 -3.140937)'))) / (select extract(epoch from '2026-06-16 16:53:37'::timestamp) - extract(epoch from '2026-06-16 16:53: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'), 46789, 'SRID=4674;POINT (-39.408213 -3.140985)', '2026-06-16 16:53:44', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408049 -3.140937)'), GeomFromEWKT('SRID=4674;POINT (-39.408213 -3.140985)'))) / (select extract(epoch from '2026-06-16 16:53:44'::timestamp) - extract(epoch from '2026-06-16 16:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408049 -3.140937)'), GeomFromEWKT('SRID=4674;POINT (-39.408213 -3.140985)'))) / (select extract(epoch from '2026-06-16 16:53:44'::timestamp) - extract(epoch from '2026-06-16 16:53:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.408363 -3.141033)', '2026-06-16 16:53:51', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408213 -3.140985)'), GeomFromEWKT('SRID=4674;POINT (-39.408363 -3.141033)'))) / (select extract(epoch from '2026-06-16 16:53:51'::timestamp) - extract(epoch from '2026-06-16 16:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408213 -3.140985)'), GeomFromEWKT('SRID=4674;POINT (-39.408363 -3.141033)'))) / (select extract(epoch from '2026-06-16 16:53:51'::timestamp) - extract(epoch from '2026-06-16 16:53: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'), 46789, 'SRID=4674;POINT (-39.408512 -3.141055)', '2026-06-16 16:53:57', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408363 -3.141033)'), GeomFromEWKT('SRID=4674;POINT (-39.408512 -3.141055)'))) / (select extract(epoch from '2026-06-16 16:53:57'::timestamp) - extract(epoch from '2026-06-16 16:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408363 -3.141033)'), GeomFromEWKT('SRID=4674;POINT (-39.408512 -3.141055)'))) / (select extract(epoch from '2026-06-16 16:53:57'::timestamp) - extract(epoch from '2026-06-16 16:53: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'), 46789, 'SRID=4674;POINT (-39.408633 -3.141068)', '2026-06-16 16:54:02', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408512 -3.141055)'), GeomFromEWKT('SRID=4674;POINT (-39.408633 -3.141068)'))) / (select extract(epoch from '2026-06-16 16:54:02'::timestamp) - extract(epoch from '2026-06-16 16:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408512 -3.141055)'), GeomFromEWKT('SRID=4674;POINT (-39.408633 -3.141068)'))) / (select extract(epoch from '2026-06-16 16:54:02'::timestamp) - extract(epoch from '2026-06-16 16:53: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'), 46789, 'SRID=4674;POINT (-39.408789 -3.141049)', '2026-06-16 16:54:09', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408633 -3.141068)'), GeomFromEWKT('SRID=4674;POINT (-39.408789 -3.141049)'))) / (select extract(epoch from '2026-06-16 16:54:09'::timestamp) - extract(epoch from '2026-06-16 16:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408633 -3.141068)'), GeomFromEWKT('SRID=4674;POINT (-39.408789 -3.141049)'))) / (select extract(epoch from '2026-06-16 16:54:09'::timestamp) - extract(epoch from '2026-06-16 16:54:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.408946 -3.141048)', '2026-06-16 16:54:16', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408789 -3.141049)'), GeomFromEWKT('SRID=4674;POINT (-39.408946 -3.141048)'))) / (select extract(epoch from '2026-06-16 16:54:16'::timestamp) - extract(epoch from '2026-06-16 16:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408789 -3.141049)'), GeomFromEWKT('SRID=4674;POINT (-39.408946 -3.141048)'))) / (select extract(epoch from '2026-06-16 16:54:16'::timestamp) - extract(epoch from '2026-06-16 16:54: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'), 46789, 'SRID=4674;POINT (-39.409062 -3.141056)', '2026-06-16 16:54:21', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408946 -3.141048)'), GeomFromEWKT('SRID=4674;POINT (-39.409062 -3.141056)'))) / (select extract(epoch from '2026-06-16 16:54:21'::timestamp) - extract(epoch from '2026-06-16 16:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408946 -3.141048)'), GeomFromEWKT('SRID=4674;POINT (-39.409062 -3.141056)'))) / (select extract(epoch from '2026-06-16 16:54:21'::timestamp) - extract(epoch from '2026-06-16 16:54:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.409186 -3.141084)', '2026-06-16 16:54:26', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409062 -3.141056)'), GeomFromEWKT('SRID=4674;POINT (-39.409186 -3.141084)'))) / (select extract(epoch from '2026-06-16 16:54:26'::timestamp) - extract(epoch from '2026-06-16 16:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409062 -3.141056)'), GeomFromEWKT('SRID=4674;POINT (-39.409186 -3.141084)'))) / (select extract(epoch from '2026-06-16 16:54:26'::timestamp) - extract(epoch from '2026-06-16 16:54: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'), 46789, 'SRID=4674;POINT (-39.409359 -3.141093)', '2026-06-16 16:54:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409186 -3.141084)'), GeomFromEWKT('SRID=4674;POINT (-39.409359 -3.141093)'))) / (select extract(epoch from '2026-06-16 16:54:33'::timestamp) - extract(epoch from '2026-06-16 16:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409186 -3.141084)'), GeomFromEWKT('SRID=4674;POINT (-39.409359 -3.141093)'))) / (select extract(epoch from '2026-06-16 16:54:33'::timestamp) - extract(epoch from '2026-06-16 16:54: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'), 46789, 'SRID=4674;POINT (-39.409499 -3.141115)', '2026-06-16 16:54:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409359 -3.141093)'), GeomFromEWKT('SRID=4674;POINT (-39.409499 -3.141115)'))) / (select extract(epoch from '2026-06-16 16:54:39'::timestamp) - extract(epoch from '2026-06-16 16:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409359 -3.141093)'), GeomFromEWKT('SRID=4674;POINT (-39.409499 -3.141115)'))) / (select extract(epoch from '2026-06-16 16:54:39'::timestamp) - extract(epoch from '2026-06-16 16:54: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'), 46789, 'SRID=4674;POINT (-39.409647 -3.141154)', '2026-06-16 16:54:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409499 -3.141115)'), GeomFromEWKT('SRID=4674;POINT (-39.409647 -3.141154)'))) / (select extract(epoch from '2026-06-16 16:54:46'::timestamp) - extract(epoch from '2026-06-16 16:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409499 -3.141115)'), GeomFromEWKT('SRID=4674;POINT (-39.409647 -3.141154)'))) / (select extract(epoch from '2026-06-16 16:54:46'::timestamp) - extract(epoch from '2026-06-16 16:54: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'), 46789, 'SRID=4674;POINT (-39.4098 -3.141197)', '2026-06-16 16:54:53', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409647 -3.141154)'), GeomFromEWKT('SRID=4674;POINT (-39.4098 -3.141197)'))) / (select extract(epoch from '2026-06-16 16:54:53'::timestamp) - extract(epoch from '2026-06-16 16:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409647 -3.141154)'), GeomFromEWKT('SRID=4674;POINT (-39.4098 -3.141197)'))) / (select extract(epoch from '2026-06-16 16:54:53'::timestamp) - extract(epoch from '2026-06-16 16:54: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'), 46789, 'SRID=4674;POINT (-39.409957 -3.141208)', '2026-06-16 16:54:59', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4098 -3.141197)'), GeomFromEWKT('SRID=4674;POINT (-39.409957 -3.141208)'))) / (select extract(epoch from '2026-06-16 16:54:59'::timestamp) - extract(epoch from '2026-06-16 16:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4098 -3.141197)'), GeomFromEWKT('SRID=4674;POINT (-39.409957 -3.141208)'))) / (select extract(epoch from '2026-06-16 16:54:59'::timestamp) - extract(epoch from '2026-06-16 16:54:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.410119 -3.141213)', '2026-06-16 16:55:06', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409957 -3.141208)'), GeomFromEWKT('SRID=4674;POINT (-39.410119 -3.141213)'))) / (select extract(epoch from '2026-06-16 16:55:06'::timestamp) - extract(epoch from '2026-06-16 16:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409957 -3.141208)'), GeomFromEWKT('SRID=4674;POINT (-39.410119 -3.141213)'))) / (select extract(epoch from '2026-06-16 16:55:06'::timestamp) - extract(epoch from '2026-06-16 16:54: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'), 46789, 'SRID=4674;POINT (-39.410295 -3.141214)', '2026-06-16 16:55:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410119 -3.141213)'), GeomFromEWKT('SRID=4674;POINT (-39.410295 -3.141214)'))) / (select extract(epoch from '2026-06-16 16:55:13'::timestamp) - extract(epoch from '2026-06-16 16:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410119 -3.141213)'), GeomFromEWKT('SRID=4674;POINT (-39.410295 -3.141214)'))) / (select extract(epoch from '2026-06-16 16:55:13'::timestamp) - extract(epoch from '2026-06-16 16:55: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'), 46789, 'SRID=4674;POINT (-39.410451 -3.141246)', '2026-06-16 16:55:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410295 -3.141214)'), GeomFromEWKT('SRID=4674;POINT (-39.410451 -3.141246)'))) / (select extract(epoch from '2026-06-16 16:55:20'::timestamp) - extract(epoch from '2026-06-16 16:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410295 -3.141214)'), GeomFromEWKT('SRID=4674;POINT (-39.410451 -3.141246)'))) / (select extract(epoch from '2026-06-16 16:55:20'::timestamp) - extract(epoch from '2026-06-16 16:55: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'), 46789, 'SRID=4674;POINT (-39.410602 -3.141282)', '2026-06-16 16:55:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410451 -3.141246)'), GeomFromEWKT('SRID=4674;POINT (-39.410602 -3.141282)'))) / (select extract(epoch from '2026-06-16 16:55:27'::timestamp) - extract(epoch from '2026-06-16 16:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410451 -3.141246)'), GeomFromEWKT('SRID=4674;POINT (-39.410602 -3.141282)'))) / (select extract(epoch from '2026-06-16 16:55:27'::timestamp) - extract(epoch from '2026-06-16 16:55: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'), 46789, 'SRID=4674;POINT (-39.410774 -3.141304)', '2026-06-16 16:55:35', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410602 -3.141282)'), GeomFromEWKT('SRID=4674;POINT (-39.410774 -3.141304)'))) / (select extract(epoch from '2026-06-16 16:55:35'::timestamp) - extract(epoch from '2026-06-16 16:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410602 -3.141282)'), GeomFromEWKT('SRID=4674;POINT (-39.410774 -3.141304)'))) / (select extract(epoch from '2026-06-16 16:55:35'::timestamp) - extract(epoch from '2026-06-16 16:55: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'), 46789, 'SRID=4674;POINT (-39.41093 -3.141318)', '2026-06-16 16:55:42', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410774 -3.141304)'), GeomFromEWKT('SRID=4674;POINT (-39.41093 -3.141318)'))) / (select extract(epoch from '2026-06-16 16:55:42'::timestamp) - extract(epoch from '2026-06-16 16:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410774 -3.141304)'), GeomFromEWKT('SRID=4674;POINT (-39.41093 -3.141318)'))) / (select extract(epoch from '2026-06-16 16:55:42'::timestamp) - extract(epoch from '2026-06-16 16:55: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'), 46789, 'SRID=4674;POINT (-39.411064 -3.141337)', '2026-06-16 16:55:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41093 -3.141318)'), GeomFromEWKT('SRID=4674;POINT (-39.411064 -3.141337)'))) / (select extract(epoch from '2026-06-16 16:55:48'::timestamp) - extract(epoch from '2026-06-16 16:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41093 -3.141318)'), GeomFromEWKT('SRID=4674;POINT (-39.411064 -3.141337)'))) / (select extract(epoch from '2026-06-16 16:55:48'::timestamp) - extract(epoch from '2026-06-16 16:55: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'), 46789, 'SRID=4674;POINT (-39.411192 -3.14138)', '2026-06-16 16:55:54', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411064 -3.141337)'), GeomFromEWKT('SRID=4674;POINT (-39.411192 -3.14138)'))) / (select extract(epoch from '2026-06-16 16:55:54'::timestamp) - extract(epoch from '2026-06-16 16:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411064 -3.141337)'), GeomFromEWKT('SRID=4674;POINT (-39.411192 -3.14138)'))) / (select extract(epoch from '2026-06-16 16:55:54'::timestamp) - extract(epoch from '2026-06-16 16:55: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'), 46789, 'SRID=4674;POINT (-39.41133 -3.141405)', '2026-06-16 16:56:00', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411192 -3.14138)'), GeomFromEWKT('SRID=4674;POINT (-39.41133 -3.141405)'))) / (select extract(epoch from '2026-06-16 16:56:00'::timestamp) - extract(epoch from '2026-06-16 16:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411192 -3.14138)'), GeomFromEWKT('SRID=4674;POINT (-39.41133 -3.141405)'))) / (select extract(epoch from '2026-06-16 16:56:00'::timestamp) - extract(epoch from '2026-06-16 16:55: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'), 46789, 'SRID=4674;POINT (-39.411468 -3.141403)', '2026-06-16 16:56:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41133 -3.141405)'), GeomFromEWKT('SRID=4674;POINT (-39.411468 -3.141403)'))) / (select extract(epoch from '2026-06-16 16:56:05'::timestamp) - extract(epoch from '2026-06-16 16:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41133 -3.141405)'), GeomFromEWKT('SRID=4674;POINT (-39.411468 -3.141403)'))) / (select extract(epoch from '2026-06-16 16:56:05'::timestamp) - extract(epoch from '2026-06-16 16:56: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'), 46789, 'SRID=4674;POINT (-39.411613 -3.141374)', '2026-06-16 16:56:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411468 -3.141403)'), GeomFromEWKT('SRID=4674;POINT (-39.411613 -3.141374)'))) / (select extract(epoch from '2026-06-16 16:56:11'::timestamp) - extract(epoch from '2026-06-16 16:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411468 -3.141403)'), GeomFromEWKT('SRID=4674;POINT (-39.411613 -3.141374)'))) / (select extract(epoch from '2026-06-16 16:56:11'::timestamp) - extract(epoch from '2026-06-16 16:56: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'), 46789, 'SRID=4674;POINT (-39.411742 -3.141362)', '2026-06-16 16:56:17', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411613 -3.141374)'), GeomFromEWKT('SRID=4674;POINT (-39.411742 -3.141362)'))) / (select extract(epoch from '2026-06-16 16:56:17'::timestamp) - extract(epoch from '2026-06-16 16:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411613 -3.141374)'), GeomFromEWKT('SRID=4674;POINT (-39.411742 -3.141362)'))) / (select extract(epoch from '2026-06-16 16:56:17'::timestamp) - extract(epoch from '2026-06-16 16:56: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'), 46789, 'SRID=4674;POINT (-39.411925 -3.141358)', '2026-06-16 16:56:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411742 -3.141362)'), GeomFromEWKT('SRID=4674;POINT (-39.411925 -3.141358)'))) / (select extract(epoch from '2026-06-16 16:56:25'::timestamp) - extract(epoch from '2026-06-16 16:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411742 -3.141362)'), GeomFromEWKT('SRID=4674;POINT (-39.411925 -3.141358)'))) / (select extract(epoch from '2026-06-16 16:56:25'::timestamp) - extract(epoch from '2026-06-16 16:56:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.412109 -3.141361)', '2026-06-16 16:56:32', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411925 -3.141358)'), GeomFromEWKT('SRID=4674;POINT (-39.412109 -3.141361)'))) / (select extract(epoch from '2026-06-16 16:56:32'::timestamp) - extract(epoch from '2026-06-16 16:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411925 -3.141358)'), GeomFromEWKT('SRID=4674;POINT (-39.412109 -3.141361)'))) / (select extract(epoch from '2026-06-16 16:56:32'::timestamp) - extract(epoch from '2026-06-16 16:56: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'), 46789, 'SRID=4674;POINT (-39.412137 -3.141364)', '2026-06-16 16:56:33', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412109 -3.141361)'), GeomFromEWKT('SRID=4674;POINT (-39.412137 -3.141364)'))) / (select extract(epoch from '2026-06-16 16:56:33'::timestamp) - extract(epoch from '2026-06-16 16:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412109 -3.141361)'), GeomFromEWKT('SRID=4674;POINT (-39.412137 -3.141364)'))) / (select extract(epoch from '2026-06-16 16:56:33'::timestamp) - extract(epoch from '2026-06-16 16:56: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'), 46789, 'SRID=4674;POINT (-39.412271 -3.141379)', '2026-06-16 16:56:39', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412137 -3.141364)'), GeomFromEWKT('SRID=4674;POINT (-39.412271 -3.141379)'))) / (select extract(epoch from '2026-06-16 16:56:39'::timestamp) - extract(epoch from '2026-06-16 16:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412137 -3.141364)'), GeomFromEWKT('SRID=4674;POINT (-39.412271 -3.141379)'))) / (select extract(epoch from '2026-06-16 16:56:39'::timestamp) - extract(epoch from '2026-06-16 16:56: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'), 46789, 'SRID=4674;POINT (-39.412438 -3.141398)', '2026-06-16 16:56:46', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412271 -3.141379)'), GeomFromEWKT('SRID=4674;POINT (-39.412438 -3.141398)'))) / (select extract(epoch from '2026-06-16 16:56:46'::timestamp) - extract(epoch from '2026-06-16 16:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412271 -3.141379)'), GeomFromEWKT('SRID=4674;POINT (-39.412438 -3.141398)'))) / (select extract(epoch from '2026-06-16 16:56:46'::timestamp) - extract(epoch from '2026-06-16 16:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.412593 -3.141406)', '2026-06-16 16:56:53', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412438 -3.141398)'), GeomFromEWKT('SRID=4674;POINT (-39.412593 -3.141406)'))) / (select extract(epoch from '2026-06-16 16:56:53'::timestamp) - extract(epoch from '2026-06-16 16:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412438 -3.141398)'), GeomFromEWKT('SRID=4674;POINT (-39.412593 -3.141406)'))) / (select extract(epoch from '2026-06-16 16:56:53'::timestamp) - extract(epoch from '2026-06-16 16:56: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'), 46789, 'SRID=4674;POINT (-39.412759 -3.141417)', '2026-06-16 16:57:01', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412593 -3.141406)'), GeomFromEWKT('SRID=4674;POINT (-39.412759 -3.141417)'))) / (select extract(epoch from '2026-06-16 16:57:01'::timestamp) - extract(epoch from '2026-06-16 16:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412593 -3.141406)'), GeomFromEWKT('SRID=4674;POINT (-39.412759 -3.141417)'))) / (select extract(epoch from '2026-06-16 16:57:01'::timestamp) - extract(epoch from '2026-06-16 16:56: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'), 46789, 'SRID=4674;POINT (-39.412906 -3.141434)', '2026-06-16 16:57:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412759 -3.141417)'), GeomFromEWKT('SRID=4674;POINT (-39.412906 -3.141434)'))) / (select extract(epoch from '2026-06-16 16:57:08'::timestamp) - extract(epoch from '2026-06-16 16:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412759 -3.141417)'), GeomFromEWKT('SRID=4674;POINT (-39.412906 -3.141434)'))) / (select extract(epoch from '2026-06-16 16:57:08'::timestamp) - extract(epoch from '2026-06-16 16:57:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.413089 -3.141439)', '2026-06-16 16:57:16', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412906 -3.141434)'), GeomFromEWKT('SRID=4674;POINT (-39.413089 -3.141439)'))) / (select extract(epoch from '2026-06-16 16:57:16'::timestamp) - extract(epoch from '2026-06-16 16:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412906 -3.141434)'), GeomFromEWKT('SRID=4674;POINT (-39.413089 -3.141439)'))) / (select extract(epoch from '2026-06-16 16:57:16'::timestamp) - extract(epoch from '2026-06-16 16:57:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.413262 -3.141439)', '2026-06-16 16:57:23', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413089 -3.141439)'), GeomFromEWKT('SRID=4674;POINT (-39.413262 -3.141439)'))) / (select extract(epoch from '2026-06-16 16:57:23'::timestamp) - extract(epoch from '2026-06-16 16:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413089 -3.141439)'), GeomFromEWKT('SRID=4674;POINT (-39.413262 -3.141439)'))) / (select extract(epoch from '2026-06-16 16:57:23'::timestamp) - extract(epoch from '2026-06-16 16:57:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.413426 -3.141469)', '2026-06-16 16:57:30', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413262 -3.141439)'), GeomFromEWKT('SRID=4674;POINT (-39.413426 -3.141469)'))) / (select extract(epoch from '2026-06-16 16:57:30'::timestamp) - extract(epoch from '2026-06-16 16:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413262 -3.141439)'), GeomFromEWKT('SRID=4674;POINT (-39.413426 -3.141469)'))) / (select extract(epoch from '2026-06-16 16:57:30'::timestamp) - extract(epoch from '2026-06-16 16:57:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.413523 -3.141487)', '2026-06-16 16:57:35', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413426 -3.141469)'), GeomFromEWKT('SRID=4674;POINT (-39.413523 -3.141487)'))) / (select extract(epoch from '2026-06-16 16:57:35'::timestamp) - extract(epoch from '2026-06-16 16:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413426 -3.141469)'), GeomFromEWKT('SRID=4674;POINT (-39.413523 -3.141487)'))) / (select extract(epoch from '2026-06-16 16:57:35'::timestamp) - extract(epoch from '2026-06-16 16:57: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'), 46789, 'SRID=4674;POINT (-39.413704 -3.141541)', '2026-06-16 16:57:43', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413523 -3.141487)'), GeomFromEWKT('SRID=4674;POINT (-39.413704 -3.141541)'))) / (select extract(epoch from '2026-06-16 16:57:43'::timestamp) - extract(epoch from '2026-06-16 16:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413523 -3.141487)'), GeomFromEWKT('SRID=4674;POINT (-39.413704 -3.141541)'))) / (select extract(epoch from '2026-06-16 16:57:43'::timestamp) - extract(epoch from '2026-06-16 16:57: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'), 46789, 'SRID=4674;POINT (-39.413808 -3.141578)', '2026-06-16 16:57:48', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413704 -3.141541)'), GeomFromEWKT('SRID=4674;POINT (-39.413808 -3.141578)'))) / (select extract(epoch from '2026-06-16 16:57:48'::timestamp) - extract(epoch from '2026-06-16 16:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413704 -3.141541)'), GeomFromEWKT('SRID=4674;POINT (-39.413808 -3.141578)'))) / (select extract(epoch from '2026-06-16 16:57:48'::timestamp) - extract(epoch from '2026-06-16 16:57: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'), 46789, 'SRID=4674;POINT (-39.413984 -3.141609)', '2026-06-16 16:57:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413808 -3.141578)'), GeomFromEWKT('SRID=4674;POINT (-39.413984 -3.141609)'))) / (select extract(epoch from '2026-06-16 16:57:56'::timestamp) - extract(epoch from '2026-06-16 16:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413808 -3.141578)'), GeomFromEWKT('SRID=4674;POINT (-39.413984 -3.141609)'))) / (select extract(epoch from '2026-06-16 16:57:56'::timestamp) - extract(epoch from '2026-06-16 16:57: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'), 46789, 'SRID=4674;POINT (-39.414167 -3.141662)', '2026-06-16 16:58:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413984 -3.141609)'), GeomFromEWKT('SRID=4674;POINT (-39.414167 -3.141662)'))) / (select extract(epoch from '2026-06-16 16:58:04'::timestamp) - extract(epoch from '2026-06-16 16:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413984 -3.141609)'), GeomFromEWKT('SRID=4674;POINT (-39.414167 -3.141662)'))) / (select extract(epoch from '2026-06-16 16:58:04'::timestamp) - extract(epoch from '2026-06-16 16:57: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'), 46789, 'SRID=4674;POINT (-39.414346 -3.141694)', '2026-06-16 16:58:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414167 -3.141662)'), GeomFromEWKT('SRID=4674;POINT (-39.414346 -3.141694)'))) / (select extract(epoch from '2026-06-16 16:58:12'::timestamp) - extract(epoch from '2026-06-16 16:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414167 -3.141662)'), GeomFromEWKT('SRID=4674;POINT (-39.414346 -3.141694)'))) / (select extract(epoch from '2026-06-16 16:58:12'::timestamp) - extract(epoch from '2026-06-16 16:58:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.414513 -3.141722)', '2026-06-16 16:58:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414346 -3.141694)'), GeomFromEWKT('SRID=4674;POINT (-39.414513 -3.141722)'))) / (select extract(epoch from '2026-06-16 16:58:19'::timestamp) - extract(epoch from '2026-06-16 16:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414346 -3.141694)'), GeomFromEWKT('SRID=4674;POINT (-39.414513 -3.141722)'))) / (select extract(epoch from '2026-06-16 16:58:19'::timestamp) - extract(epoch from '2026-06-16 16:58: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'), 46789, 'SRID=4674;POINT (-39.41467 -3.141743)', '2026-06-16 16:58:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414513 -3.141722)'), GeomFromEWKT('SRID=4674;POINT (-39.41467 -3.141743)'))) / (select extract(epoch from '2026-06-16 16:58:25'::timestamp) - extract(epoch from '2026-06-16 16:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414513 -3.141722)'), GeomFromEWKT('SRID=4674;POINT (-39.41467 -3.141743)'))) / (select extract(epoch from '2026-06-16 16:58:25'::timestamp) - extract(epoch from '2026-06-16 16:58: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'), 46789, 'SRID=4674;POINT (-39.41483 -3.141783)', '2026-06-16 16:58:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41467 -3.141743)'), GeomFromEWKT('SRID=4674;POINT (-39.41483 -3.141783)'))) / (select extract(epoch from '2026-06-16 16:58:32'::timestamp) - extract(epoch from '2026-06-16 16:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41467 -3.141743)'), GeomFromEWKT('SRID=4674;POINT (-39.41483 -3.141783)'))) / (select extract(epoch from '2026-06-16 16:58:32'::timestamp) - extract(epoch from '2026-06-16 16:58: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'), 46789, 'SRID=4674;POINT (-39.414959 -3.141809)', '2026-06-16 16:58:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41483 -3.141783)'), GeomFromEWKT('SRID=4674;POINT (-39.414959 -3.141809)'))) / (select extract(epoch from '2026-06-16 16:58:38'::timestamp) - extract(epoch from '2026-06-16 16:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41483 -3.141783)'), GeomFromEWKT('SRID=4674;POINT (-39.414959 -3.141809)'))) / (select extract(epoch from '2026-06-16 16:58:38'::timestamp) - extract(epoch from '2026-06-16 16:58: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'), 46789, 'SRID=4674;POINT (-39.415122 -3.141836)', '2026-06-16 16:58:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414959 -3.141809)'), GeomFromEWKT('SRID=4674;POINT (-39.415122 -3.141836)'))) / (select extract(epoch from '2026-06-16 16:58:45'::timestamp) - extract(epoch from '2026-06-16 16:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414959 -3.141809)'), GeomFromEWKT('SRID=4674;POINT (-39.415122 -3.141836)'))) / (select extract(epoch from '2026-06-16 16:58:45'::timestamp) - extract(epoch from '2026-06-16 16:58: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'), 46789, 'SRID=4674;POINT (-39.415238 -3.141841)', '2026-06-16 16:58:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415122 -3.141836)'), GeomFromEWKT('SRID=4674;POINT (-39.415238 -3.141841)'))) / (select extract(epoch from '2026-06-16 16:58:50'::timestamp) - extract(epoch from '2026-06-16 16:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415122 -3.141836)'), GeomFromEWKT('SRID=4674;POINT (-39.415238 -3.141841)'))) / (select extract(epoch from '2026-06-16 16:58:50'::timestamp) - extract(epoch from '2026-06-16 16:58: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'), 46789, 'SRID=4674;POINT (-39.415336 -3.141849)', '2026-06-16 16:58:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415238 -3.141841)'), GeomFromEWKT('SRID=4674;POINT (-39.415336 -3.141849)'))) / (select extract(epoch from '2026-06-16 16:58:55'::timestamp) - extract(epoch from '2026-06-16 16:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415238 -3.141841)'), GeomFromEWKT('SRID=4674;POINT (-39.415336 -3.141849)'))) / (select extract(epoch from '2026-06-16 16:58:55'::timestamp) - extract(epoch from '2026-06-16 16:58: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'), 46789, 'SRID=4674;POINT (-39.415503 -3.141884)', '2026-06-16 16:59:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415336 -3.141849)'), GeomFromEWKT('SRID=4674;POINT (-39.415503 -3.141884)'))) / (select extract(epoch from '2026-06-16 16:59:02'::timestamp) - extract(epoch from '2026-06-16 16:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415336 -3.141849)'), GeomFromEWKT('SRID=4674;POINT (-39.415503 -3.141884)'))) / (select extract(epoch from '2026-06-16 16:59:02'::timestamp) - extract(epoch from '2026-06-16 16:58: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'), 46789, 'SRID=4674;POINT (-39.415624 -3.141907)', '2026-06-16 16:59:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415503 -3.141884)'), GeomFromEWKT('SRID=4674;POINT (-39.415624 -3.141907)'))) / (select extract(epoch from '2026-06-16 16:59:07'::timestamp) - extract(epoch from '2026-06-16 16:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415503 -3.141884)'), GeomFromEWKT('SRID=4674;POINT (-39.415624 -3.141907)'))) / (select extract(epoch from '2026-06-16 16:59:07'::timestamp) - extract(epoch from '2026-06-16 16: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'), 46789, 'SRID=4674;POINT (-39.415728 -3.141913)', '2026-06-16 16:59:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415624 -3.141907)'), GeomFromEWKT('SRID=4674;POINT (-39.415728 -3.141913)'))) / (select extract(epoch from '2026-06-16 16:59:11'::timestamp) - extract(epoch from '2026-06-16 16:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415624 -3.141907)'), GeomFromEWKT('SRID=4674;POINT (-39.415728 -3.141913)'))) / (select extract(epoch from '2026-06-16 16:59:11'::timestamp) - extract(epoch from '2026-06-16 16:59: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'), 46789, 'SRID=4674;POINT (-39.415856 -3.141919)', '2026-06-16 16:59:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415728 -3.141913)'), GeomFromEWKT('SRID=4674;POINT (-39.415856 -3.141919)'))) / (select extract(epoch from '2026-06-16 16:59:16'::timestamp) - extract(epoch from '2026-06-16 16:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415728 -3.141913)'), GeomFromEWKT('SRID=4674;POINT (-39.415856 -3.141919)'))) / (select extract(epoch from '2026-06-16 16:59:16'::timestamp) - extract(epoch from '2026-06-16 16:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.415965 -3.141912)', '2026-06-16 16:59:21', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415856 -3.141919)'), GeomFromEWKT('SRID=4674;POINT (-39.415965 -3.141912)'))) / (select extract(epoch from '2026-06-16 16:59:21'::timestamp) - extract(epoch from '2026-06-16 16:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415856 -3.141919)'), GeomFromEWKT('SRID=4674;POINT (-39.415965 -3.141912)'))) / (select extract(epoch from '2026-06-16 16:59:21'::timestamp) - extract(epoch from '2026-06-16 16:59:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.416104 -3.141944)', '2026-06-16 16:59:27', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415965 -3.141912)'), GeomFromEWKT('SRID=4674;POINT (-39.416104 -3.141944)'))) / (select extract(epoch from '2026-06-16 16:59:27'::timestamp) - extract(epoch from '2026-06-16 16:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415965 -3.141912)'), GeomFromEWKT('SRID=4674;POINT (-39.416104 -3.141944)'))) / (select extract(epoch from '2026-06-16 16:59:27'::timestamp) - extract(epoch from '2026-06-16 16:59: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'), 46789, 'SRID=4674;POINT (-39.416232 -3.141992)', '2026-06-16 16:59:33', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416104 -3.141944)'), GeomFromEWKT('SRID=4674;POINT (-39.416232 -3.141992)'))) / (select extract(epoch from '2026-06-16 16:59:33'::timestamp) - extract(epoch from '2026-06-16 16:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416104 -3.141944)'), GeomFromEWKT('SRID=4674;POINT (-39.416232 -3.141992)'))) / (select extract(epoch from '2026-06-16 16:59:33'::timestamp) - extract(epoch from '2026-06-16 16:59:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.416367 -3.142041)', '2026-06-16 16:59:39', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416232 -3.141992)'), GeomFromEWKT('SRID=4674;POINT (-39.416367 -3.142041)'))) / (select extract(epoch from '2026-06-16 16:59:39'::timestamp) - extract(epoch from '2026-06-16 16:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416232 -3.141992)'), GeomFromEWKT('SRID=4674;POINT (-39.416367 -3.142041)'))) / (select extract(epoch from '2026-06-16 16:59:39'::timestamp) - extract(epoch from '2026-06-16 16:59: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'), 46789, 'SRID=4674;POINT (-39.416487 -3.142059)', '2026-06-16 16:59:44', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416367 -3.142041)'), GeomFromEWKT('SRID=4674;POINT (-39.416487 -3.142059)'))) / (select extract(epoch from '2026-06-16 16:59:44'::timestamp) - extract(epoch from '2026-06-16 16:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416367 -3.142041)'), GeomFromEWKT('SRID=4674;POINT (-39.416487 -3.142059)'))) / (select extract(epoch from '2026-06-16 16:59:44'::timestamp) - extract(epoch from '2026-06-16 16: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'), 46789, 'SRID=4674;POINT (-39.416646 -3.142075)', '2026-06-16 16:59:51', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416487 -3.142059)'), GeomFromEWKT('SRID=4674;POINT (-39.416646 -3.142075)'))) / (select extract(epoch from '2026-06-16 16:59:51'::timestamp) - extract(epoch from '2026-06-16 16:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416487 -3.142059)'), GeomFromEWKT('SRID=4674;POINT (-39.416646 -3.142075)'))) / (select extract(epoch from '2026-06-16 16:59:51'::timestamp) - extract(epoch from '2026-06-16 16:59: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'), 46789, 'SRID=4674;POINT (-39.416798 -3.142104)', '2026-06-16 16:59:58', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416646 -3.142075)'), GeomFromEWKT('SRID=4674;POINT (-39.416798 -3.142104)'))) / (select extract(epoch from '2026-06-16 16:59:58'::timestamp) - extract(epoch from '2026-06-16 16:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416646 -3.142075)'), GeomFromEWKT('SRID=4674;POINT (-39.416798 -3.142104)'))) / (select extract(epoch from '2026-06-16 16:59:58'::timestamp) - extract(epoch from '2026-06-16 16: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'), 46789, 'SRID=4674;POINT (-39.416899 -3.142133)', '2026-06-16 17:00:03', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416798 -3.142104)'), GeomFromEWKT('SRID=4674;POINT (-39.416899 -3.142133)'))) / (select extract(epoch from '2026-06-16 17:00:03'::timestamp) - extract(epoch from '2026-06-16 16:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416798 -3.142104)'), GeomFromEWKT('SRID=4674;POINT (-39.416899 -3.142133)'))) / (select extract(epoch from '2026-06-16 17:00:03'::timestamp) - extract(epoch from '2026-06-16 16:59: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'), 46789, 'SRID=4674;POINT (-39.417073 -3.142172)', '2026-06-16 17:00:11', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416899 -3.142133)'), GeomFromEWKT('SRID=4674;POINT (-39.417073 -3.142172)'))) / (select extract(epoch from '2026-06-16 17:00:11'::timestamp) - extract(epoch from '2026-06-16 17:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416899 -3.142133)'), GeomFromEWKT('SRID=4674;POINT (-39.417073 -3.142172)'))) / (select extract(epoch from '2026-06-16 17:00:11'::timestamp) - extract(epoch from '2026-06-16 17: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'), 46789, 'SRID=4674;POINT (-39.417212 -3.14219)', '2026-06-16 17:00:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417073 -3.142172)'), GeomFromEWKT('SRID=4674;POINT (-39.417212 -3.14219)'))) / (select extract(epoch from '2026-06-16 17:00:17'::timestamp) - extract(epoch from '2026-06-16 17:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417073 -3.142172)'), GeomFromEWKT('SRID=4674;POINT (-39.417212 -3.14219)'))) / (select extract(epoch from '2026-06-16 17:00:17'::timestamp) - extract(epoch from '2026-06-16 17:00: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'), 46789, 'SRID=4674;POINT (-39.417347 -3.14221)', '2026-06-16 17:00:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417212 -3.14219)'), GeomFromEWKT('SRID=4674;POINT (-39.417347 -3.14221)'))) / (select extract(epoch from '2026-06-16 17:00:22'::timestamp) - extract(epoch from '2026-06-16 17:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417212 -3.14219)'), GeomFromEWKT('SRID=4674;POINT (-39.417347 -3.14221)'))) / (select extract(epoch from '2026-06-16 17:00:22'::timestamp) - extract(epoch from '2026-06-16 17: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'), 46789, 'SRID=4674;POINT (-39.417461 -3.142242)', '2026-06-16 17:00:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417347 -3.14221)'), GeomFromEWKT('SRID=4674;POINT (-39.417461 -3.142242)'))) / (select extract(epoch from '2026-06-16 17:00:27'::timestamp) - extract(epoch from '2026-06-16 17:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417347 -3.14221)'), GeomFromEWKT('SRID=4674;POINT (-39.417461 -3.142242)'))) / (select extract(epoch from '2026-06-16 17:00:27'::timestamp) - extract(epoch from '2026-06-16 17:00: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'), 46789, 'SRID=4674;POINT (-39.417563 -3.142278)', '2026-06-16 17:00:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417461 -3.142242)'), GeomFromEWKT('SRID=4674;POINT (-39.417563 -3.142278)'))) / (select extract(epoch from '2026-06-16 17:00:32'::timestamp) - extract(epoch from '2026-06-16 17:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417461 -3.142242)'), GeomFromEWKT('SRID=4674;POINT (-39.417563 -3.142278)'))) / (select extract(epoch from '2026-06-16 17:00:32'::timestamp) - extract(epoch from '2026-06-16 17: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'), 46789, 'SRID=4674;POINT (-39.417698 -3.142322)', '2026-06-16 17:00:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417563 -3.142278)'), GeomFromEWKT('SRID=4674;POINT (-39.417698 -3.142322)'))) / (select extract(epoch from '2026-06-16 17:00:38'::timestamp) - extract(epoch from '2026-06-16 17:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417563 -3.142278)'), GeomFromEWKT('SRID=4674;POINT (-39.417698 -3.142322)'))) / (select extract(epoch from '2026-06-16 17:00:38'::timestamp) - extract(epoch from '2026-06-16 17:00: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'), 46789, 'SRID=4674;POINT (-39.41788 -3.142372)', '2026-06-16 17:00:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417698 -3.142322)'), GeomFromEWKT('SRID=4674;POINT (-39.41788 -3.142372)'))) / (select extract(epoch from '2026-06-16 17:00:46'::timestamp) - extract(epoch from '2026-06-16 17:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417698 -3.142322)'), GeomFromEWKT('SRID=4674;POINT (-39.41788 -3.142372)'))) / (select extract(epoch from '2026-06-16 17:00:46'::timestamp) - extract(epoch from '2026-06-16 17:00: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'), 46789, 'SRID=4674;POINT (-39.417907 -3.142381)', '2026-06-16 17:00:47', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41788 -3.142372)'), GeomFromEWKT('SRID=4674;POINT (-39.417907 -3.142381)'))) / (select extract(epoch from '2026-06-16 17:00:47'::timestamp) - extract(epoch from '2026-06-16 17:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41788 -3.142372)'), GeomFromEWKT('SRID=4674;POINT (-39.417907 -3.142381)'))) / (select extract(epoch from '2026-06-16 17:00:47'::timestamp) - extract(epoch from '2026-06-16 17:00: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'), 46789, 'SRID=4674;POINT (-39.41803 -3.142412)', '2026-06-16 17:00:52', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417907 -3.142381)'), GeomFromEWKT('SRID=4674;POINT (-39.41803 -3.142412)'))) / (select extract(epoch from '2026-06-16 17:00:52'::timestamp) - extract(epoch from '2026-06-16 17:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417907 -3.142381)'), GeomFromEWKT('SRID=4674;POINT (-39.41803 -3.142412)'))) / (select extract(epoch from '2026-06-16 17:00:52'::timestamp) - extract(epoch from '2026-06-16 17:00: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'), 46789, 'SRID=4674;POINT (-39.418191 -3.142422)', '2026-06-16 17:00:59', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41803 -3.142412)'), GeomFromEWKT('SRID=4674;POINT (-39.418191 -3.142422)'))) / (select extract(epoch from '2026-06-16 17:00:59'::timestamp) - extract(epoch from '2026-06-16 17:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41803 -3.142412)'), GeomFromEWKT('SRID=4674;POINT (-39.418191 -3.142422)'))) / (select extract(epoch from '2026-06-16 17:00:59'::timestamp) - extract(epoch from '2026-06-16 17:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.418355 -3.142447)', '2026-06-16 17:01:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418191 -3.142422)'), GeomFromEWKT('SRID=4674;POINT (-39.418355 -3.142447)'))) / (select extract(epoch from '2026-06-16 17:01:06'::timestamp) - extract(epoch from '2026-06-16 17:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418191 -3.142422)'), GeomFromEWKT('SRID=4674;POINT (-39.418355 -3.142447)'))) / (select extract(epoch from '2026-06-16 17:01:06'::timestamp) - extract(epoch from '2026-06-16 17:00: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'), 46789, 'SRID=4674;POINT (-39.418494 -3.142467)', '2026-06-16 17:01:11', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418355 -3.142447)'), GeomFromEWKT('SRID=4674;POINT (-39.418494 -3.142467)'))) / (select extract(epoch from '2026-06-16 17:01:11'::timestamp) - extract(epoch from '2026-06-16 17:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418355 -3.142447)'), GeomFromEWKT('SRID=4674;POINT (-39.418494 -3.142467)'))) / (select extract(epoch from '2026-06-16 17:01:11'::timestamp) - extract(epoch from '2026-06-16 17:01: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'), 46789, 'SRID=4674;POINT (-39.418601 -3.142483)', '2026-06-16 17:01:16', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418494 -3.142467)'), GeomFromEWKT('SRID=4674;POINT (-39.418601 -3.142483)'))) / (select extract(epoch from '2026-06-16 17:01:16'::timestamp) - extract(epoch from '2026-06-16 17:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418494 -3.142467)'), GeomFromEWKT('SRID=4674;POINT (-39.418601 -3.142483)'))) / (select extract(epoch from '2026-06-16 17:01:16'::timestamp) - extract(epoch from '2026-06-16 17:01: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'), 46789, 'SRID=4674;POINT (-39.418742 -3.142517)', '2026-06-16 17:01:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418601 -3.142483)'), GeomFromEWKT('SRID=4674;POINT (-39.418742 -3.142517)'))) / (select extract(epoch from '2026-06-16 17:01:23'::timestamp) - extract(epoch from '2026-06-16 17:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418601 -3.142483)'), GeomFromEWKT('SRID=4674;POINT (-39.418742 -3.142517)'))) / (select extract(epoch from '2026-06-16 17:01:23'::timestamp) - extract(epoch from '2026-06-16 17:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.418856 -3.142536)', '2026-06-16 17:01:28', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418742 -3.142517)'), GeomFromEWKT('SRID=4674;POINT (-39.418856 -3.142536)'))) / (select extract(epoch from '2026-06-16 17:01:28'::timestamp) - extract(epoch from '2026-06-16 17:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418742 -3.142517)'), GeomFromEWKT('SRID=4674;POINT (-39.418856 -3.142536)'))) / (select extract(epoch from '2026-06-16 17:01:28'::timestamp) - extract(epoch from '2026-06-16 17:01: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'), 46789, 'SRID=4674;POINT (-39.418993 -3.142544)', '2026-06-16 17:01:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418856 -3.142536)'), GeomFromEWKT('SRID=4674;POINT (-39.418993 -3.142544)'))) / (select extract(epoch from '2026-06-16 17:01:34'::timestamp) - extract(epoch from '2026-06-16 17:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418856 -3.142536)'), GeomFromEWKT('SRID=4674;POINT (-39.418993 -3.142544)'))) / (select extract(epoch from '2026-06-16 17:01:34'::timestamp) - extract(epoch from '2026-06-16 17:01: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'), 46789, 'SRID=4674;POINT (-39.419133 -3.142571)', '2026-06-16 17:01:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418993 -3.142544)'), GeomFromEWKT('SRID=4674;POINT (-39.419133 -3.142571)'))) / (select extract(epoch from '2026-06-16 17:01:40'::timestamp) - extract(epoch from '2026-06-16 17:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418993 -3.142544)'), GeomFromEWKT('SRID=4674;POINT (-39.419133 -3.142571)'))) / (select extract(epoch from '2026-06-16 17:01:40'::timestamp) - extract(epoch from '2026-06-16 17:01: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'), 46789, 'SRID=4674;POINT (-39.419279 -3.142619)', '2026-06-16 17:01:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419133 -3.142571)'), GeomFromEWKT('SRID=4674;POINT (-39.419279 -3.142619)'))) / (select extract(epoch from '2026-06-16 17:01:46'::timestamp) - extract(epoch from '2026-06-16 17:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419133 -3.142571)'), GeomFromEWKT('SRID=4674;POINT (-39.419279 -3.142619)'))) / (select extract(epoch from '2026-06-16 17:01:46'::timestamp) - extract(epoch from '2026-06-16 17: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'), 46789, 'SRID=4674;POINT (-39.419445 -3.142654)', '2026-06-16 17:01:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419279 -3.142619)'), GeomFromEWKT('SRID=4674;POINT (-39.419445 -3.142654)'))) / (select extract(epoch from '2026-06-16 17:01:53'::timestamp) - extract(epoch from '2026-06-16 17:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419279 -3.142619)'), GeomFromEWKT('SRID=4674;POINT (-39.419445 -3.142654)'))) / (select extract(epoch from '2026-06-16 17:01:53'::timestamp) - extract(epoch from '2026-06-16 17:01:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.419612 -3.14266)', '2026-06-16 17:02:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419445 -3.142654)'), GeomFromEWKT('SRID=4674;POINT (-39.419612 -3.14266)'))) / (select extract(epoch from '2026-06-16 17:02:00'::timestamp) - extract(epoch from '2026-06-16 17:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419445 -3.142654)'), GeomFromEWKT('SRID=4674;POINT (-39.419612 -3.14266)'))) / (select extract(epoch from '2026-06-16 17:02:00'::timestamp) - extract(epoch from '2026-06-16 17:01: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'), 46789, 'SRID=4674;POINT (-39.419758 -3.142657)', '2026-06-16 17:02:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419612 -3.14266)'), GeomFromEWKT('SRID=4674;POINT (-39.419758 -3.142657)'))) / (select extract(epoch from '2026-06-16 17:02:06'::timestamp) - extract(epoch from '2026-06-16 17:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419612 -3.14266)'), GeomFromEWKT('SRID=4674;POINT (-39.419758 -3.142657)'))) / (select extract(epoch from '2026-06-16 17:02:06'::timestamp) - extract(epoch from '2026-06-16 17: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'), 46789, 'SRID=4674;POINT (-39.419911 -3.142693)', '2026-06-16 17:02:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419758 -3.142657)'), GeomFromEWKT('SRID=4674;POINT (-39.419911 -3.142693)'))) / (select extract(epoch from '2026-06-16 17:02:13'::timestamp) - extract(epoch from '2026-06-16 17:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419758 -3.142657)'), GeomFromEWKT('SRID=4674;POINT (-39.419911 -3.142693)'))) / (select extract(epoch from '2026-06-16 17:02:13'::timestamp) - extract(epoch from '2026-06-16 17:02: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'), 46789, 'SRID=4674;POINT (-39.420049 -3.142725)', '2026-06-16 17:02:19', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419911 -3.142693)'), GeomFromEWKT('SRID=4674;POINT (-39.420049 -3.142725)'))) / (select extract(epoch from '2026-06-16 17:02:19'::timestamp) - extract(epoch from '2026-06-16 17:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419911 -3.142693)'), GeomFromEWKT('SRID=4674;POINT (-39.420049 -3.142725)'))) / (select extract(epoch from '2026-06-16 17:02:19'::timestamp) - extract(epoch from '2026-06-16 17:02: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'), 46789, 'SRID=4674;POINT (-39.420226 -3.142741)', '2026-06-16 17:02:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420049 -3.142725)'), GeomFromEWKT('SRID=4674;POINT (-39.420226 -3.142741)'))) / (select extract(epoch from '2026-06-16 17:02:27'::timestamp) - extract(epoch from '2026-06-16 17:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420049 -3.142725)'), GeomFromEWKT('SRID=4674;POINT (-39.420226 -3.142741)'))) / (select extract(epoch from '2026-06-16 17:02:27'::timestamp) - extract(epoch from '2026-06-16 17:02:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.420367 -3.142772)', '2026-06-16 17:02:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420226 -3.142741)'), GeomFromEWKT('SRID=4674;POINT (-39.420367 -3.142772)'))) / (select extract(epoch from '2026-06-16 17:02:33'::timestamp) - extract(epoch from '2026-06-16 17:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420226 -3.142741)'), GeomFromEWKT('SRID=4674;POINT (-39.420367 -3.142772)'))) / (select extract(epoch from '2026-06-16 17:02:33'::timestamp) - extract(epoch from '2026-06-16 17:02:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.420528 -3.142836)', '2026-06-16 17:02:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420367 -3.142772)'), GeomFromEWKT('SRID=4674;POINT (-39.420528 -3.142836)'))) / (select extract(epoch from '2026-06-16 17:02:40'::timestamp) - extract(epoch from '2026-06-16 17:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420367 -3.142772)'), GeomFromEWKT('SRID=4674;POINT (-39.420528 -3.142836)'))) / (select extract(epoch from '2026-06-16 17:02:40'::timestamp) - extract(epoch from '2026-06-16 17:02: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'), 46789, 'SRID=4674;POINT (-39.420654 -3.142915)', '2026-06-16 17:02:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420528 -3.142836)'), GeomFromEWKT('SRID=4674;POINT (-39.420654 -3.142915)'))) / (select extract(epoch from '2026-06-16 17:02:46'::timestamp) - extract(epoch from '2026-06-16 17:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420528 -3.142836)'), GeomFromEWKT('SRID=4674;POINT (-39.420654 -3.142915)'))) / (select extract(epoch from '2026-06-16 17:02:46'::timestamp) - extract(epoch from '2026-06-16 17:02: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'), 46789, 'SRID=4674;POINT (-39.420769 -3.142988)', '2026-06-16 17:02:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420654 -3.142915)'), GeomFromEWKT('SRID=4674;POINT (-39.420769 -3.142988)'))) / (select extract(epoch from '2026-06-16 17:02:52'::timestamp) - extract(epoch from '2026-06-16 17:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420654 -3.142915)'), GeomFromEWKT('SRID=4674;POINT (-39.420769 -3.142988)'))) / (select extract(epoch from '2026-06-16 17:02:52'::timestamp) - extract(epoch from '2026-06-16 17:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.420797 -3.143103)', '2026-06-16 17:02:58', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420769 -3.142988)'), GeomFromEWKT('SRID=4674;POINT (-39.420797 -3.143103)'))) / (select extract(epoch from '2026-06-16 17:02:58'::timestamp) - extract(epoch from '2026-06-16 17:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420769 -3.142988)'), GeomFromEWKT('SRID=4674;POINT (-39.420797 -3.143103)'))) / (select extract(epoch from '2026-06-16 17:02:58'::timestamp) - extract(epoch from '2026-06-16 17: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'), 46789, 'SRID=4674;POINT (-39.420819 -3.143201)', '2026-06-16 17:03:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420797 -3.143103)'), GeomFromEWKT('SRID=4674;POINT (-39.420819 -3.143201)'))) / (select extract(epoch from '2026-06-16 17:03:03'::timestamp) - extract(epoch from '2026-06-16 17:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420797 -3.143103)'), GeomFromEWKT('SRID=4674;POINT (-39.420819 -3.143201)'))) / (select extract(epoch from '2026-06-16 17:03:03'::timestamp) - extract(epoch from '2026-06-16 17: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'), 46789, 'SRID=4674;POINT (-39.420888 -3.143332)', '2026-06-16 17:03:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420819 -3.143201)'), GeomFromEWKT('SRID=4674;POINT (-39.420888 -3.143332)'))) / (select extract(epoch from '2026-06-16 17:03:10'::timestamp) - extract(epoch from '2026-06-16 17:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420819 -3.143201)'), GeomFromEWKT('SRID=4674;POINT (-39.420888 -3.143332)'))) / (select extract(epoch from '2026-06-16 17:03:10'::timestamp) - extract(epoch from '2026-06-16 17:03: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'), 46789, 'SRID=4674;POINT (-39.420997 -3.143403)', '2026-06-16 17:03:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420888 -3.143332)'), GeomFromEWKT('SRID=4674;POINT (-39.420997 -3.143403)'))) / (select extract(epoch from '2026-06-16 17:03:16'::timestamp) - extract(epoch from '2026-06-16 17:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420888 -3.143332)'), GeomFromEWKT('SRID=4674;POINT (-39.420997 -3.143403)'))) / (select extract(epoch from '2026-06-16 17:03:16'::timestamp) - extract(epoch from '2026-06-16 17:03:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.42111 -3.143458)', '2026-06-16 17:03:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420997 -3.143403)'), GeomFromEWKT('SRID=4674;POINT (-39.42111 -3.143458)'))) / (select extract(epoch from '2026-06-16 17:03:21'::timestamp) - extract(epoch from '2026-06-16 17:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420997 -3.143403)'), GeomFromEWKT('SRID=4674;POINT (-39.42111 -3.143458)'))) / (select extract(epoch from '2026-06-16 17:03:21'::timestamp) - extract(epoch from '2026-06-16 17:03:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.421239 -3.143507)', '2026-06-16 17:03:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42111 -3.143458)'), GeomFromEWKT('SRID=4674;POINT (-39.421239 -3.143507)'))) / (select extract(epoch from '2026-06-16 17:03:27'::timestamp) - extract(epoch from '2026-06-16 17:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42111 -3.143458)'), GeomFromEWKT('SRID=4674;POINT (-39.421239 -3.143507)'))) / (select extract(epoch from '2026-06-16 17:03:27'::timestamp) - extract(epoch from '2026-06-16 17:03: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'), 46789, 'SRID=4674;POINT (-39.421386 -3.143525)', '2026-06-16 17:03:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421239 -3.143507)'), GeomFromEWKT('SRID=4674;POINT (-39.421386 -3.143525)'))) / (select extract(epoch from '2026-06-16 17:03:33'::timestamp) - extract(epoch from '2026-06-16 17:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421239 -3.143507)'), GeomFromEWKT('SRID=4674;POINT (-39.421386 -3.143525)'))) / (select extract(epoch from '2026-06-16 17:03:33'::timestamp) - extract(epoch from '2026-06-16 17:03: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'), 46789, 'SRID=4674;POINT (-39.421537 -3.143524)', '2026-06-16 17:03:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421386 -3.143525)'), GeomFromEWKT('SRID=4674;POINT (-39.421537 -3.143524)'))) / (select extract(epoch from '2026-06-16 17:03:39'::timestamp) - extract(epoch from '2026-06-16 17:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421386 -3.143525)'), GeomFromEWKT('SRID=4674;POINT (-39.421537 -3.143524)'))) / (select extract(epoch from '2026-06-16 17:03:39'::timestamp) - extract(epoch from '2026-06-16 17:03:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.421698 -3.143496)', '2026-06-16 17:03:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421537 -3.143524)'), GeomFromEWKT('SRID=4674;POINT (-39.421698 -3.143496)'))) / (select extract(epoch from '2026-06-16 17:03:46'::timestamp) - extract(epoch from '2026-06-16 17:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421537 -3.143524)'), GeomFromEWKT('SRID=4674;POINT (-39.421698 -3.143496)'))) / (select extract(epoch from '2026-06-16 17:03:46'::timestamp) - extract(epoch from '2026-06-16 17:03: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'), 46789, 'SRID=4674;POINT (-39.421894 -3.1435)', '2026-06-16 17:03:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421698 -3.143496)'), GeomFromEWKT('SRID=4674;POINT (-39.421894 -3.1435)'))) / (select extract(epoch from '2026-06-16 17:03:54'::timestamp) - extract(epoch from '2026-06-16 17:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421698 -3.143496)'), GeomFromEWKT('SRID=4674;POINT (-39.421894 -3.1435)'))) / (select extract(epoch from '2026-06-16 17:03:54'::timestamp) - extract(epoch from '2026-06-16 17:03:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.421917 -3.143502)', '2026-06-16 17:03:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421894 -3.1435)'), GeomFromEWKT('SRID=4674;POINT (-39.421917 -3.143502)'))) / (select extract(epoch from '2026-06-16 17:03:55'::timestamp) - extract(epoch from '2026-06-16 17:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421894 -3.1435)'), GeomFromEWKT('SRID=4674;POINT (-39.421917 -3.143502)'))) / (select extract(epoch from '2026-06-16 17:03:55'::timestamp) - extract(epoch from '2026-06-16 17: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'), 46789, 'SRID=4674;POINT (-39.422081 -3.143495)', '2026-06-16 17:04:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421917 -3.143502)'), GeomFromEWKT('SRID=4674;POINT (-39.422081 -3.143495)'))) / (select extract(epoch from '2026-06-16 17:04:02'::timestamp) - extract(epoch from '2026-06-16 17:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421917 -3.143502)'), GeomFromEWKT('SRID=4674;POINT (-39.422081 -3.143495)'))) / (select extract(epoch from '2026-06-16 17:04:02'::timestamp) - extract(epoch from '2026-06-16 17:03:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.422221 -3.14347)', '2026-06-16 17:04:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422081 -3.143495)'), GeomFromEWKT('SRID=4674;POINT (-39.422221 -3.14347)'))) / (select extract(epoch from '2026-06-16 17:04:08'::timestamp) - extract(epoch from '2026-06-16 17:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422081 -3.143495)'), GeomFromEWKT('SRID=4674;POINT (-39.422221 -3.14347)'))) / (select extract(epoch from '2026-06-16 17:04:08'::timestamp) - extract(epoch from '2026-06-16 17:04: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'), 46789, 'SRID=4674;POINT (-39.422379 -3.143461)', '2026-06-16 17:04:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422221 -3.14347)'), GeomFromEWKT('SRID=4674;POINT (-39.422379 -3.143461)'))) / (select extract(epoch from '2026-06-16 17:04:15'::timestamp) - extract(epoch from '2026-06-16 17:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422221 -3.14347)'), GeomFromEWKT('SRID=4674;POINT (-39.422379 -3.143461)'))) / (select extract(epoch from '2026-06-16 17:04:15'::timestamp) - extract(epoch from '2026-06-16 17:04: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'), 46789, 'SRID=4674;POINT (-39.422564 -3.143482)', '2026-06-16 17:04:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422379 -3.143461)'), GeomFromEWKT('SRID=4674;POINT (-39.422564 -3.143482)'))) / (select extract(epoch from '2026-06-16 17:04:23'::timestamp) - extract(epoch from '2026-06-16 17:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422379 -3.143461)'), GeomFromEWKT('SRID=4674;POINT (-39.422564 -3.143482)'))) / (select extract(epoch from '2026-06-16 17:04:23'::timestamp) - extract(epoch from '2026-06-16 17:04: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'), 46789, 'SRID=4674;POINT (-39.422746 -3.143507)', '2026-06-16 17:04:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422564 -3.143482)'), GeomFromEWKT('SRID=4674;POINT (-39.422746 -3.143507)'))) / (select extract(epoch from '2026-06-16 17:04:30'::timestamp) - extract(epoch from '2026-06-16 17:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422564 -3.143482)'), GeomFromEWKT('SRID=4674;POINT (-39.422746 -3.143507)'))) / (select extract(epoch from '2026-06-16 17:04:30'::timestamp) - extract(epoch from '2026-06-16 17:04:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.422768 -3.143507)', '2026-06-16 17:04:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422746 -3.143507)'), GeomFromEWKT('SRID=4674;POINT (-39.422768 -3.143507)'))) / (select extract(epoch from '2026-06-16 17:04:31'::timestamp) - extract(epoch from '2026-06-16 17:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422746 -3.143507)'), GeomFromEWKT('SRID=4674;POINT (-39.422768 -3.143507)'))) / (select extract(epoch from '2026-06-16 17:04:31'::timestamp) - extract(epoch from '2026-06-16 17:04: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'), 46789, 'SRID=4674;POINT (-39.422936 -3.143534)', '2026-06-16 17:04:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422768 -3.143507)'), GeomFromEWKT('SRID=4674;POINT (-39.422936 -3.143534)'))) / (select extract(epoch from '2026-06-16 17:04:38'::timestamp) - extract(epoch from '2026-06-16 17:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422768 -3.143507)'), GeomFromEWKT('SRID=4674;POINT (-39.422936 -3.143534)'))) / (select extract(epoch from '2026-06-16 17:04:38'::timestamp) - extract(epoch from '2026-06-16 17:04:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.423084 -3.143558)', '2026-06-16 17:04:44', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422936 -3.143534)'), GeomFromEWKT('SRID=4674;POINT (-39.423084 -3.143558)'))) / (select extract(epoch from '2026-06-16 17:04:44'::timestamp) - extract(epoch from '2026-06-16 17:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422936 -3.143534)'), GeomFromEWKT('SRID=4674;POINT (-39.423084 -3.143558)'))) / (select extract(epoch from '2026-06-16 17:04:44'::timestamp) - extract(epoch from '2026-06-16 17:04: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'), 46789, 'SRID=4674;POINT (-39.423211 -3.143563)', '2026-06-16 17:04:50', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423084 -3.143558)'), GeomFromEWKT('SRID=4674;POINT (-39.423211 -3.143563)'))) / (select extract(epoch from '2026-06-16 17:04:50'::timestamp) - extract(epoch from '2026-06-16 17:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423084 -3.143558)'), GeomFromEWKT('SRID=4674;POINT (-39.423211 -3.143563)'))) / (select extract(epoch from '2026-06-16 17:04:50'::timestamp) - extract(epoch from '2026-06-16 17:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.423371 -3.143546)', '2026-06-16 17:04:57', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423211 -3.143563)'), GeomFromEWKT('SRID=4674;POINT (-39.423371 -3.143546)'))) / (select extract(epoch from '2026-06-16 17:04:57'::timestamp) - extract(epoch from '2026-06-16 17:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423211 -3.143563)'), GeomFromEWKT('SRID=4674;POINT (-39.423371 -3.143546)'))) / (select extract(epoch from '2026-06-16 17:04:57'::timestamp) - extract(epoch from '2026-06-16 17:04:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.423488 -3.143557)', '2026-06-16 17:05:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423371 -3.143546)'), GeomFromEWKT('SRID=4674;POINT (-39.423488 -3.143557)'))) / (select extract(epoch from '2026-06-16 17:05:03'::timestamp) - extract(epoch from '2026-06-16 17:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423371 -3.143546)'), GeomFromEWKT('SRID=4674;POINT (-39.423488 -3.143557)'))) / (select extract(epoch from '2026-06-16 17:05:03'::timestamp) - extract(epoch from '2026-06-16 17:04: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'), 46789, 'SRID=4674;POINT (-39.423603 -3.143588)', '2026-06-16 17:05:08', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423488 -3.143557)'), GeomFromEWKT('SRID=4674;POINT (-39.423603 -3.143588)'))) / (select extract(epoch from '2026-06-16 17:05:08'::timestamp) - extract(epoch from '2026-06-16 17:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423488 -3.143557)'), GeomFromEWKT('SRID=4674;POINT (-39.423603 -3.143588)'))) / (select extract(epoch from '2026-06-16 17:05:08'::timestamp) - extract(epoch from '2026-06-16 17:05: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'), 46789, 'SRID=4674;POINT (-39.423738 -3.143619)', '2026-06-16 17:05:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423603 -3.143588)'), GeomFromEWKT('SRID=4674;POINT (-39.423738 -3.143619)'))) / (select extract(epoch from '2026-06-16 17:05:14'::timestamp) - extract(epoch from '2026-06-16 17:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423603 -3.143588)'), GeomFromEWKT('SRID=4674;POINT (-39.423738 -3.143619)'))) / (select extract(epoch from '2026-06-16 17:05:14'::timestamp) - extract(epoch from '2026-06-16 17:05:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.423884 -3.143626)', '2026-06-16 17:05:20', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423738 -3.143619)'), GeomFromEWKT('SRID=4674;POINT (-39.423884 -3.143626)'))) / (select extract(epoch from '2026-06-16 17:05:20'::timestamp) - extract(epoch from '2026-06-16 17:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423738 -3.143619)'), GeomFromEWKT('SRID=4674;POINT (-39.423884 -3.143626)'))) / (select extract(epoch from '2026-06-16 17:05:20'::timestamp) - extract(epoch from '2026-06-16 17: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'), 46789, 'SRID=4674;POINT (-39.424087 -3.143659)', '2026-06-16 17:05:28', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423884 -3.143626)'), GeomFromEWKT('SRID=4674;POINT (-39.424087 -3.143659)'))) / (select extract(epoch from '2026-06-16 17:05:28'::timestamp) - extract(epoch from '2026-06-16 17:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423884 -3.143626)'), GeomFromEWKT('SRID=4674;POINT (-39.424087 -3.143659)'))) / (select extract(epoch from '2026-06-16 17:05:28'::timestamp) - extract(epoch from '2026-06-16 17:05: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'), 46789, 'SRID=4674;POINT (-39.424194 -3.143679)', '2026-06-16 17:05:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424087 -3.143659)'), GeomFromEWKT('SRID=4674;POINT (-39.424194 -3.143679)'))) / (select extract(epoch from '2026-06-16 17:05:33'::timestamp) - extract(epoch from '2026-06-16 17:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424087 -3.143659)'), GeomFromEWKT('SRID=4674;POINT (-39.424194 -3.143679)'))) / (select extract(epoch from '2026-06-16 17:05:33'::timestamp) - extract(epoch from '2026-06-16 17:05: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'), 46789, 'SRID=4674;POINT (-39.424358 -3.143681)', '2026-06-16 17:05:40', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424194 -3.143679)'), GeomFromEWKT('SRID=4674;POINT (-39.424358 -3.143681)'))) / (select extract(epoch from '2026-06-16 17:05:40'::timestamp) - extract(epoch from '2026-06-16 17:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424194 -3.143679)'), GeomFromEWKT('SRID=4674;POINT (-39.424358 -3.143681)'))) / (select extract(epoch from '2026-06-16 17:05:40'::timestamp) - extract(epoch from '2026-06-16 17: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'), 46789, 'SRID=4674;POINT (-39.424524 -3.143715)', '2026-06-16 17:05:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424358 -3.143681)'), GeomFromEWKT('SRID=4674;POINT (-39.424524 -3.143715)'))) / (select extract(epoch from '2026-06-16 17:05:47'::timestamp) - extract(epoch from '2026-06-16 17:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424358 -3.143681)'), GeomFromEWKT('SRID=4674;POINT (-39.424524 -3.143715)'))) / (select extract(epoch from '2026-06-16 17:05:47'::timestamp) - extract(epoch from '2026-06-16 17:05: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'), 46789, 'SRID=4674;POINT (-39.424698 -3.14376)', '2026-06-16 17:05:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424524 -3.143715)'), GeomFromEWKT('SRID=4674;POINT (-39.424698 -3.14376)'))) / (select extract(epoch from '2026-06-16 17:05:55'::timestamp) - extract(epoch from '2026-06-16 17:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424524 -3.143715)'), GeomFromEWKT('SRID=4674;POINT (-39.424698 -3.14376)'))) / (select extract(epoch from '2026-06-16 17:05:55'::timestamp) - extract(epoch from '2026-06-16 17:05: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'), 46789, 'SRID=4674;POINT (-39.424831 -3.143782)', '2026-06-16 17:06:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424698 -3.14376)'), GeomFromEWKT('SRID=4674;POINT (-39.424831 -3.143782)'))) / (select extract(epoch from '2026-06-16 17:06:01'::timestamp) - extract(epoch from '2026-06-16 17:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424698 -3.14376)'), GeomFromEWKT('SRID=4674;POINT (-39.424831 -3.143782)'))) / (select extract(epoch from '2026-06-16 17:06:01'::timestamp) - extract(epoch from '2026-06-16 17:05: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'), 46789, 'SRID=4674;POINT (-39.424948 -3.143844)', '2026-06-16 17:06:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424831 -3.143782)'), GeomFromEWKT('SRID=4674;POINT (-39.424948 -3.143844)'))) / (select extract(epoch from '2026-06-16 17:06:07'::timestamp) - extract(epoch from '2026-06-16 17:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424831 -3.143782)'), GeomFromEWKT('SRID=4674;POINT (-39.424948 -3.143844)'))) / (select extract(epoch from '2026-06-16 17:06:07'::timestamp) - extract(epoch from '2026-06-16 17:06: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'), 46789, 'SRID=4674;POINT (-39.425056 -3.143992)', '2026-06-16 17:06:15', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424948 -3.143844)'), GeomFromEWKT('SRID=4674;POINT (-39.425056 -3.143992)'))) / (select extract(epoch from '2026-06-16 17:06:15'::timestamp) - extract(epoch from '2026-06-16 17:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424948 -3.143844)'), GeomFromEWKT('SRID=4674;POINT (-39.425056 -3.143992)'))) / (select extract(epoch from '2026-06-16 17:06:15'::timestamp) - extract(epoch from '2026-06-16 17:06: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'), 46789, 'SRID=4674;POINT (-39.425166 -3.144109)', '2026-06-16 17:06:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425056 -3.143992)'), GeomFromEWKT('SRID=4674;POINT (-39.425166 -3.144109)'))) / (select extract(epoch from '2026-06-16 17:06:22'::timestamp) - extract(epoch from '2026-06-16 17:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425056 -3.143992)'), GeomFromEWKT('SRID=4674;POINT (-39.425166 -3.144109)'))) / (select extract(epoch from '2026-06-16 17:06:22'::timestamp) - extract(epoch from '2026-06-16 17:06:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.425281 -3.144199)', '2026-06-16 17:06:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425166 -3.144109)'), GeomFromEWKT('SRID=4674;POINT (-39.425281 -3.144199)'))) / (select extract(epoch from '2026-06-16 17:06:29'::timestamp) - extract(epoch from '2026-06-16 17:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425166 -3.144109)'), GeomFromEWKT('SRID=4674;POINT (-39.425281 -3.144199)'))) / (select extract(epoch from '2026-06-16 17:06:29'::timestamp) - extract(epoch from '2026-06-16 17:06: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'), 46789, 'SRID=4674;POINT (-39.42545 -3.144285)', '2026-06-16 17:06:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425281 -3.144199)'), GeomFromEWKT('SRID=4674;POINT (-39.42545 -3.144285)'))) / (select extract(epoch from '2026-06-16 17:06:37'::timestamp) - extract(epoch from '2026-06-16 17:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425281 -3.144199)'), GeomFromEWKT('SRID=4674;POINT (-39.42545 -3.144285)'))) / (select extract(epoch from '2026-06-16 17:06:37'::timestamp) - extract(epoch from '2026-06-16 17: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'), 46789, 'SRID=4674;POINT (-39.425618 -3.144298)', '2026-06-16 17:06:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42545 -3.144285)'), GeomFromEWKT('SRID=4674;POINT (-39.425618 -3.144298)'))) / (select extract(epoch from '2026-06-16 17:06:44'::timestamp) - extract(epoch from '2026-06-16 17:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42545 -3.144285)'), GeomFromEWKT('SRID=4674;POINT (-39.425618 -3.144298)'))) / (select extract(epoch from '2026-06-16 17:06:44'::timestamp) - extract(epoch from '2026-06-16 17:06:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.425762 -3.144307)', '2026-06-16 17:06:50', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425618 -3.144298)'), GeomFromEWKT('SRID=4674;POINT (-39.425762 -3.144307)'))) / (select extract(epoch from '2026-06-16 17:06:50'::timestamp) - extract(epoch from '2026-06-16 17:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425618 -3.144298)'), GeomFromEWKT('SRID=4674;POINT (-39.425762 -3.144307)'))) / (select extract(epoch from '2026-06-16 17:06:50'::timestamp) - extract(epoch from '2026-06-16 17:06: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'), 46789, 'SRID=4674;POINT (-39.425895 -3.144331)', '2026-06-16 17:06:56', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425762 -3.144307)'), GeomFromEWKT('SRID=4674;POINT (-39.425895 -3.144331)'))) / (select extract(epoch from '2026-06-16 17:06:56'::timestamp) - extract(epoch from '2026-06-16 17:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425762 -3.144307)'), GeomFromEWKT('SRID=4674;POINT (-39.425895 -3.144331)'))) / (select extract(epoch from '2026-06-16 17:06:56'::timestamp) - extract(epoch from '2026-06-16 17:06: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'), 46789, 'SRID=4674;POINT (-39.426042 -3.144363)', '2026-06-16 17:07:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425895 -3.144331)'), GeomFromEWKT('SRID=4674;POINT (-39.426042 -3.144363)'))) / (select extract(epoch from '2026-06-16 17:07:02'::timestamp) - extract(epoch from '2026-06-16 17:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425895 -3.144331)'), GeomFromEWKT('SRID=4674;POINT (-39.426042 -3.144363)'))) / (select extract(epoch from '2026-06-16 17:07:02'::timestamp) - extract(epoch from '2026-06-16 17: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'), 46789, 'SRID=4674;POINT (-39.426198 -3.144405)', '2026-06-16 17:07:09', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426042 -3.144363)'), GeomFromEWKT('SRID=4674;POINT (-39.426198 -3.144405)'))) / (select extract(epoch from '2026-06-16 17:07:09'::timestamp) - extract(epoch from '2026-06-16 17:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426042 -3.144363)'), GeomFromEWKT('SRID=4674;POINT (-39.426198 -3.144405)'))) / (select extract(epoch from '2026-06-16 17:07:09'::timestamp) - extract(epoch from '2026-06-16 17:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.426348 -3.144419)', '2026-06-16 17:07:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426198 -3.144405)'), GeomFromEWKT('SRID=4674;POINT (-39.426348 -3.144419)'))) / (select extract(epoch from '2026-06-16 17:07:15'::timestamp) - extract(epoch from '2026-06-16 17:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426198 -3.144405)'), GeomFromEWKT('SRID=4674;POINT (-39.426348 -3.144419)'))) / (select extract(epoch from '2026-06-16 17:07:15'::timestamp) - extract(epoch from '2026-06-16 17:07: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'), 46789, 'SRID=4674;POINT (-39.426491 -3.144406)', '2026-06-16 17:07:21', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426348 -3.144419)'), GeomFromEWKT('SRID=4674;POINT (-39.426491 -3.144406)'))) / (select extract(epoch from '2026-06-16 17:07:21'::timestamp) - extract(epoch from '2026-06-16 17:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426348 -3.144419)'), GeomFromEWKT('SRID=4674;POINT (-39.426491 -3.144406)'))) / (select extract(epoch from '2026-06-16 17:07:21'::timestamp) - extract(epoch from '2026-06-16 17:07:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.426631 -3.144391)', '2026-06-16 17:07:27', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426491 -3.144406)'), GeomFromEWKT('SRID=4674;POINT (-39.426631 -3.144391)'))) / (select extract(epoch from '2026-06-16 17:07:27'::timestamp) - extract(epoch from '2026-06-16 17:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426491 -3.144406)'), GeomFromEWKT('SRID=4674;POINT (-39.426631 -3.144391)'))) / (select extract(epoch from '2026-06-16 17:07:27'::timestamp) - extract(epoch from '2026-06-16 17:07:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.426805 -3.144363)', '2026-06-16 17:07:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426631 -3.144391)'), GeomFromEWKT('SRID=4674;POINT (-39.426805 -3.144363)'))) / (select extract(epoch from '2026-06-16 17:07:35'::timestamp) - extract(epoch from '2026-06-16 17:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426631 -3.144391)'), GeomFromEWKT('SRID=4674;POINT (-39.426805 -3.144363)'))) / (select extract(epoch from '2026-06-16 17:07:35'::timestamp) - extract(epoch from '2026-06-16 17:07: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'), 46789, 'SRID=4674;POINT (-39.427005 -3.144353)', '2026-06-16 17:07:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426805 -3.144363)'), GeomFromEWKT('SRID=4674;POINT (-39.427005 -3.144353)'))) / (select extract(epoch from '2026-06-16 17:07:43'::timestamp) - extract(epoch from '2026-06-16 17:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426805 -3.144363)'), GeomFromEWKT('SRID=4674;POINT (-39.427005 -3.144353)'))) / (select extract(epoch from '2026-06-16 17:07:43'::timestamp) - extract(epoch from '2026-06-16 17:07:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.427131 -3.14433)', '2026-06-16 17:07:48', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427005 -3.144353)'), GeomFromEWKT('SRID=4674;POINT (-39.427131 -3.14433)'))) / (select extract(epoch from '2026-06-16 17:07:48'::timestamp) - extract(epoch from '2026-06-16 17:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427005 -3.144353)'), GeomFromEWKT('SRID=4674;POINT (-39.427131 -3.14433)'))) / (select extract(epoch from '2026-06-16 17:07:48'::timestamp) - extract(epoch from '2026-06-16 17:07:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.427305 -3.144288)', '2026-06-16 17:07:55', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427131 -3.14433)'), GeomFromEWKT('SRID=4674;POINT (-39.427305 -3.144288)'))) / (select extract(epoch from '2026-06-16 17:07:55'::timestamp) - extract(epoch from '2026-06-16 17:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427131 -3.14433)'), GeomFromEWKT('SRID=4674;POINT (-39.427305 -3.144288)'))) / (select extract(epoch from '2026-06-16 17:07:55'::timestamp) - extract(epoch from '2026-06-16 17: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'), 46789, 'SRID=4674;POINT (-39.427497 -3.144252)', '2026-06-16 17:08:03', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427305 -3.144288)'), GeomFromEWKT('SRID=4674;POINT (-39.427497 -3.144252)'))) / (select extract(epoch from '2026-06-16 17:08:03'::timestamp) - extract(epoch from '2026-06-16 17:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427305 -3.144288)'), GeomFromEWKT('SRID=4674;POINT (-39.427497 -3.144252)'))) / (select extract(epoch from '2026-06-16 17:08:03'::timestamp) - extract(epoch from '2026-06-16 17:07:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.427674 -3.144242)', '2026-06-16 17:08:10', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427497 -3.144252)'), GeomFromEWKT('SRID=4674;POINT (-39.427674 -3.144242)'))) / (select extract(epoch from '2026-06-16 17:08:10'::timestamp) - extract(epoch from '2026-06-16 17:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427497 -3.144252)'), GeomFromEWKT('SRID=4674;POINT (-39.427674 -3.144242)'))) / (select extract(epoch from '2026-06-16 17:08:10'::timestamp) - extract(epoch from '2026-06-16 17:08: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'), 46789, 'SRID=4674;POINT (-39.427783 -3.144251)', '2026-06-16 17:08:15', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427674 -3.144242)'), GeomFromEWKT('SRID=4674;POINT (-39.427783 -3.144251)'))) / (select extract(epoch from '2026-06-16 17:08:15'::timestamp) - extract(epoch from '2026-06-16 17:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427674 -3.144242)'), GeomFromEWKT('SRID=4674;POINT (-39.427783 -3.144251)'))) / (select extract(epoch from '2026-06-16 17:08:15'::timestamp) - extract(epoch from '2026-06-16 17:08:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.427911 -3.144302)', '2026-06-16 17:08:22', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427783 -3.144251)'), GeomFromEWKT('SRID=4674;POINT (-39.427911 -3.144302)'))) / (select extract(epoch from '2026-06-16 17:08:22'::timestamp) - extract(epoch from '2026-06-16 17:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427783 -3.144251)'), GeomFromEWKT('SRID=4674;POINT (-39.427911 -3.144302)'))) / (select extract(epoch from '2026-06-16 17:08:22'::timestamp) - extract(epoch from '2026-06-16 17:08: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'), 46789, 'SRID=4674;POINT (-39.428038 -3.144365)', '2026-06-16 17:08:28', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427911 -3.144302)'), GeomFromEWKT('SRID=4674;POINT (-39.428038 -3.144365)'))) / (select extract(epoch from '2026-06-16 17:08:28'::timestamp) - extract(epoch from '2026-06-16 17:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427911 -3.144302)'), GeomFromEWKT('SRID=4674;POINT (-39.428038 -3.144365)'))) / (select extract(epoch from '2026-06-16 17:08:28'::timestamp) - extract(epoch from '2026-06-16 17:08:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.42818 -3.144451)', '2026-06-16 17:08:36', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428038 -3.144365)'), GeomFromEWKT('SRID=4674;POINT (-39.42818 -3.144451)'))) / (select extract(epoch from '2026-06-16 17:08:36'::timestamp) - extract(epoch from '2026-06-16 17:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428038 -3.144365)'), GeomFromEWKT('SRID=4674;POINT (-39.42818 -3.144451)'))) / (select extract(epoch from '2026-06-16 17:08:36'::timestamp) - extract(epoch from '2026-06-16 17:08:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.428315 -3.144543)', '2026-06-16 17:08:43', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42818 -3.144451)'), GeomFromEWKT('SRID=4674;POINT (-39.428315 -3.144543)'))) / (select extract(epoch from '2026-06-16 17:08:43'::timestamp) - extract(epoch from '2026-06-16 17:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42818 -3.144451)'), GeomFromEWKT('SRID=4674;POINT (-39.428315 -3.144543)'))) / (select extract(epoch from '2026-06-16 17:08:43'::timestamp) - extract(epoch from '2026-06-16 17:08:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.428448 -3.144615)', '2026-06-16 17:08:49', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428315 -3.144543)'), GeomFromEWKT('SRID=4674;POINT (-39.428448 -3.144615)'))) / (select extract(epoch from '2026-06-16 17:08:49'::timestamp) - extract(epoch from '2026-06-16 17:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428315 -3.144543)'), GeomFromEWKT('SRID=4674;POINT (-39.428448 -3.144615)'))) / (select extract(epoch from '2026-06-16 17:08:49'::timestamp) - extract(epoch from '2026-06-16 17:08: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'), 46789, 'SRID=4674;POINT (-39.428591 -3.144675)', '2026-06-16 17:08:55', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428448 -3.144615)'), GeomFromEWKT('SRID=4674;POINT (-39.428591 -3.144675)'))) / (select extract(epoch from '2026-06-16 17:08:55'::timestamp) - extract(epoch from '2026-06-16 17:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428448 -3.144615)'), GeomFromEWKT('SRID=4674;POINT (-39.428591 -3.144675)'))) / (select extract(epoch from '2026-06-16 17:08:55'::timestamp) - extract(epoch from '2026-06-16 17:08:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.428745 -3.144735)', '2026-06-16 17:09:02', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428591 -3.144675)'), GeomFromEWKT('SRID=4674;POINT (-39.428745 -3.144735)'))) / (select extract(epoch from '2026-06-16 17:09:02'::timestamp) - extract(epoch from '2026-06-16 17:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428591 -3.144675)'), GeomFromEWKT('SRID=4674;POINT (-39.428745 -3.144735)'))) / (select extract(epoch from '2026-06-16 17:09:02'::timestamp) - extract(epoch from '2026-06-16 17:08: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'), 46789, 'SRID=4674;POINT (-39.428909 -3.14481)', '2026-06-16 17:09:10', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428745 -3.144735)'), GeomFromEWKT('SRID=4674;POINT (-39.428909 -3.14481)'))) / (select extract(epoch from '2026-06-16 17:09:10'::timestamp) - extract(epoch from '2026-06-16 17:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428745 -3.144735)'), GeomFromEWKT('SRID=4674;POINT (-39.428909 -3.14481)'))) / (select extract(epoch from '2026-06-16 17:09:10'::timestamp) - extract(epoch from '2026-06-16 17:09: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'), 46789, 'SRID=4674;POINT (-39.429048 -3.144852)', '2026-06-16 17:09:17', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428909 -3.14481)'), GeomFromEWKT('SRID=4674;POINT (-39.429048 -3.144852)'))) / (select extract(epoch from '2026-06-16 17:09:17'::timestamp) - extract(epoch from '2026-06-16 17:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428909 -3.14481)'), GeomFromEWKT('SRID=4674;POINT (-39.429048 -3.144852)'))) / (select extract(epoch from '2026-06-16 17:09:17'::timestamp) - extract(epoch from '2026-06-16 17:09: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'), 46789, 'SRID=4674;POINT (-39.429206 -3.144899)', '2026-06-16 17:09:24', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429048 -3.144852)'), GeomFromEWKT('SRID=4674;POINT (-39.429206 -3.144899)'))) / (select extract(epoch from '2026-06-16 17:09:24'::timestamp) - extract(epoch from '2026-06-16 17:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429048 -3.144852)'), GeomFromEWKT('SRID=4674;POINT (-39.429206 -3.144899)'))) / (select extract(epoch from '2026-06-16 17:09:24'::timestamp) - extract(epoch from '2026-06-16 17:09: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'), 46789, 'SRID=4674;POINT (-39.429298 -3.144964)', '2026-06-16 17:09:29', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429206 -3.144899)'), GeomFromEWKT('SRID=4674;POINT (-39.429298 -3.144964)'))) / (select extract(epoch from '2026-06-16 17:09:29'::timestamp) - extract(epoch from '2026-06-16 17:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429206 -3.144899)'), GeomFromEWKT('SRID=4674;POINT (-39.429298 -3.144964)'))) / (select extract(epoch from '2026-06-16 17:09:29'::timestamp) - extract(epoch from '2026-06-16 17:09: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'), 46789, 'SRID=4674;POINT (-39.429364 -3.145018)', '2026-06-16 17:09:34', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429298 -3.144964)'), GeomFromEWKT('SRID=4674;POINT (-39.429364 -3.145018)'))) / (select extract(epoch from '2026-06-16 17:09:34'::timestamp) - extract(epoch from '2026-06-16 17:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429298 -3.144964)'), GeomFromEWKT('SRID=4674;POINT (-39.429364 -3.145018)'))) / (select extract(epoch from '2026-06-16 17:09:34'::timestamp) - extract(epoch from '2026-06-16 17:09:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.42945 -3.145096)', '2026-06-16 17:09:39', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429364 -3.145018)'), GeomFromEWKT('SRID=4674;POINT (-39.42945 -3.145096)'))) / (select extract(epoch from '2026-06-16 17:09:39'::timestamp) - extract(epoch from '2026-06-16 17:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429364 -3.145018)'), GeomFromEWKT('SRID=4674;POINT (-39.42945 -3.145096)'))) / (select extract(epoch from '2026-06-16 17:09:39'::timestamp) - extract(epoch from '2026-06-16 17:09: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'), 46789, 'SRID=4674;POINT (-39.429542 -3.145218)', '2026-06-16 17:09:46', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42945 -3.145096)'), GeomFromEWKT('SRID=4674;POINT (-39.429542 -3.145218)'))) / (select extract(epoch from '2026-06-16 17:09:46'::timestamp) - extract(epoch from '2026-06-16 17:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42945 -3.145096)'), GeomFromEWKT('SRID=4674;POINT (-39.429542 -3.145218)'))) / (select extract(epoch from '2026-06-16 17:09:46'::timestamp) - extract(epoch from '2026-06-16 17:09:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.429632 -3.145351)', '2026-06-16 17:09:53', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429542 -3.145218)'), GeomFromEWKT('SRID=4674;POINT (-39.429632 -3.145351)'))) / (select extract(epoch from '2026-06-16 17:09:53'::timestamp) - extract(epoch from '2026-06-16 17:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429542 -3.145218)'), GeomFromEWKT('SRID=4674;POINT (-39.429632 -3.145351)'))) / (select extract(epoch from '2026-06-16 17:09:53'::timestamp) - extract(epoch from '2026-06-16 17:09: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'), 46789, 'SRID=4674;POINT (-39.429734 -3.145432)', '2026-06-16 17:10:00', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429632 -3.145351)'), GeomFromEWKT('SRID=4674;POINT (-39.429734 -3.145432)'))) / (select extract(epoch from '2026-06-16 17:10:00'::timestamp) - extract(epoch from '2026-06-16 17:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429632 -3.145351)'), GeomFromEWKT('SRID=4674;POINT (-39.429734 -3.145432)'))) / (select extract(epoch from '2026-06-16 17:10:00'::timestamp) - extract(epoch from '2026-06-16 17:09:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.42984 -3.145483)', '2026-06-16 17:10:05', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429734 -3.145432)'), GeomFromEWKT('SRID=4674;POINT (-39.42984 -3.145483)'))) / (select extract(epoch from '2026-06-16 17:10:05'::timestamp) - extract(epoch from '2026-06-16 17:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429734 -3.145432)'), GeomFromEWKT('SRID=4674;POINT (-39.42984 -3.145483)'))) / (select extract(epoch from '2026-06-16 17:10:05'::timestamp) - extract(epoch from '2026-06-16 17:10:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.429994 -3.145505)', '2026-06-16 17:10:11', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42984 -3.145483)'), GeomFromEWKT('SRID=4674;POINT (-39.429994 -3.145505)'))) / (select extract(epoch from '2026-06-16 17:10:11'::timestamp) - extract(epoch from '2026-06-16 17:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42984 -3.145483)'), GeomFromEWKT('SRID=4674;POINT (-39.429994 -3.145505)'))) / (select extract(epoch from '2026-06-16 17:10:11'::timestamp) - extract(epoch from '2026-06-16 17:10: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'), 46789, 'SRID=4674;POINT (-39.430161 -3.145531)', '2026-06-16 17:10:18', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429994 -3.145505)'), GeomFromEWKT('SRID=4674;POINT (-39.430161 -3.145531)'))) / (select extract(epoch from '2026-06-16 17:10:18'::timestamp) - extract(epoch from '2026-06-16 17:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429994 -3.145505)'), GeomFromEWKT('SRID=4674;POINT (-39.430161 -3.145531)'))) / (select extract(epoch from '2026-06-16 17:10:18'::timestamp) - extract(epoch from '2026-06-16 17:10:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.430347 -3.145552)', '2026-06-16 17:10:26', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430161 -3.145531)'), GeomFromEWKT('SRID=4674;POINT (-39.430347 -3.145552)'))) / (select extract(epoch from '2026-06-16 17:10:26'::timestamp) - extract(epoch from '2026-06-16 17:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430161 -3.145531)'), GeomFromEWKT('SRID=4674;POINT (-39.430347 -3.145552)'))) / (select extract(epoch from '2026-06-16 17:10:26'::timestamp) - extract(epoch from '2026-06-16 17: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'), 46789, 'SRID=4674;POINT (-39.430526 -3.145544)', '2026-06-16 17:10:34', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430347 -3.145552)'), GeomFromEWKT('SRID=4674;POINT (-39.430526 -3.145544)'))) / (select extract(epoch from '2026-06-16 17:10:34'::timestamp) - extract(epoch from '2026-06-16 17:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430347 -3.145552)'), GeomFromEWKT('SRID=4674;POINT (-39.430526 -3.145544)'))) / (select extract(epoch from '2026-06-16 17:10:34'::timestamp) - extract(epoch from '2026-06-16 17:10:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.430684 -3.145531)', '2026-06-16 17:10:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430526 -3.145544)'), GeomFromEWKT('SRID=4674;POINT (-39.430684 -3.145531)'))) / (select extract(epoch from '2026-06-16 17:10:42'::timestamp) - extract(epoch from '2026-06-16 17:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430526 -3.145544)'), GeomFromEWKT('SRID=4674;POINT (-39.430684 -3.145531)'))) / (select extract(epoch from '2026-06-16 17:10:42'::timestamp) - extract(epoch from '2026-06-16 17:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.430812 -3.145543)', '2026-06-16 17:10:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430684 -3.145531)'), GeomFromEWKT('SRID=4674;POINT (-39.430812 -3.145543)'))) / (select extract(epoch from '2026-06-16 17:10:49'::timestamp) - extract(epoch from '2026-06-16 17:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430684 -3.145531)'), GeomFromEWKT('SRID=4674;POINT (-39.430812 -3.145543)'))) / (select extract(epoch from '2026-06-16 17:10:49'::timestamp) - extract(epoch from '2026-06-16 17:10: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'), 46789, 'SRID=4674;POINT (-39.430977 -3.145551)', '2026-06-16 17:10:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430812 -3.145543)'), GeomFromEWKT('SRID=4674;POINT (-39.430977 -3.145551)'))) / (select extract(epoch from '2026-06-16 17:10:56'::timestamp) - extract(epoch from '2026-06-16 17:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430812 -3.145543)'), GeomFromEWKT('SRID=4674;POINT (-39.430977 -3.145551)'))) / (select extract(epoch from '2026-06-16 17:10:56'::timestamp) - extract(epoch from '2026-06-16 17:10:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.431089 -3.145549)', '2026-06-16 17:11:01', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430977 -3.145551)'), GeomFromEWKT('SRID=4674;POINT (-39.431089 -3.145549)'))) / (select extract(epoch from '2026-06-16 17:11:01'::timestamp) - extract(epoch from '2026-06-16 17:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430977 -3.145551)'), GeomFromEWKT('SRID=4674;POINT (-39.431089 -3.145549)'))) / (select extract(epoch from '2026-06-16 17:11:01'::timestamp) - extract(epoch from '2026-06-16 17:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.431212 -3.14554)', '2026-06-16 17:11:07', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431089 -3.145549)'), GeomFromEWKT('SRID=4674;POINT (-39.431212 -3.14554)'))) / (select extract(epoch from '2026-06-16 17:11:07'::timestamp) - extract(epoch from '2026-06-16 17:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431089 -3.145549)'), GeomFromEWKT('SRID=4674;POINT (-39.431212 -3.14554)'))) / (select extract(epoch from '2026-06-16 17:11:07'::timestamp) - extract(epoch from '2026-06-16 17:11: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'), 46789, 'SRID=4674;POINT (-39.431364 -3.145559)', '2026-06-16 17:11:14', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431212 -3.14554)'), GeomFromEWKT('SRID=4674;POINT (-39.431364 -3.145559)'))) / (select extract(epoch from '2026-06-16 17:11:14'::timestamp) - extract(epoch from '2026-06-16 17:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431212 -3.14554)'), GeomFromEWKT('SRID=4674;POINT (-39.431364 -3.145559)'))) / (select extract(epoch from '2026-06-16 17:11:14'::timestamp) - extract(epoch from '2026-06-16 17:11:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.431529 -3.145567)', '2026-06-16 17:11:21', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431364 -3.145559)'), GeomFromEWKT('SRID=4674;POINT (-39.431529 -3.145567)'))) / (select extract(epoch from '2026-06-16 17:11:21'::timestamp) - extract(epoch from '2026-06-16 17:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431364 -3.145559)'), GeomFromEWKT('SRID=4674;POINT (-39.431529 -3.145567)'))) / (select extract(epoch from '2026-06-16 17:11:21'::timestamp) - extract(epoch from '2026-06-16 17:11: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'), 46789, 'SRID=4674;POINT (-39.431679 -3.145591)', '2026-06-16 17:11:28', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431529 -3.145567)'), GeomFromEWKT('SRID=4674;POINT (-39.431679 -3.145591)'))) / (select extract(epoch from '2026-06-16 17:11:28'::timestamp) - extract(epoch from '2026-06-16 17:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431529 -3.145567)'), GeomFromEWKT('SRID=4674;POINT (-39.431679 -3.145591)'))) / (select extract(epoch from '2026-06-16 17:11:28'::timestamp) - extract(epoch from '2026-06-16 17:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.431848 -3.145622)', '2026-06-16 17:11:36', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431679 -3.145591)'), GeomFromEWKT('SRID=4674;POINT (-39.431848 -3.145622)'))) / (select extract(epoch from '2026-06-16 17:11:36'::timestamp) - extract(epoch from '2026-06-16 17:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431679 -3.145591)'), GeomFromEWKT('SRID=4674;POINT (-39.431848 -3.145622)'))) / (select extract(epoch from '2026-06-16 17:11:36'::timestamp) - extract(epoch from '2026-06-16 17:11: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'), 46789, 'SRID=4674;POINT (-39.431986 -3.145625)', '2026-06-16 17:11:42', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431848 -3.145622)'), GeomFromEWKT('SRID=4674;POINT (-39.431986 -3.145625)'))) / (select extract(epoch from '2026-06-16 17:11:42'::timestamp) - extract(epoch from '2026-06-16 17:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431848 -3.145622)'), GeomFromEWKT('SRID=4674;POINT (-39.431986 -3.145625)'))) / (select extract(epoch from '2026-06-16 17:11:42'::timestamp) - extract(epoch from '2026-06-16 17:11: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'), 46789, 'SRID=4674;POINT (-39.432115 -3.145649)', '2026-06-16 17:11:48', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431986 -3.145625)'), GeomFromEWKT('SRID=4674;POINT (-39.432115 -3.145649)'))) / (select extract(epoch from '2026-06-16 17:11:48'::timestamp) - extract(epoch from '2026-06-16 17:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431986 -3.145625)'), GeomFromEWKT('SRID=4674;POINT (-39.432115 -3.145649)'))) / (select extract(epoch from '2026-06-16 17:11:48'::timestamp) - extract(epoch from '2026-06-16 17:11: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'), 46789, 'SRID=4674;POINT (-39.432248 -3.145657)', '2026-06-16 17:11:54', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432115 -3.145649)'), GeomFromEWKT('SRID=4674;POINT (-39.432248 -3.145657)'))) / (select extract(epoch from '2026-06-16 17:11:54'::timestamp) - extract(epoch from '2026-06-16 17:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432115 -3.145649)'), GeomFromEWKT('SRID=4674;POINT (-39.432248 -3.145657)'))) / (select extract(epoch from '2026-06-16 17:11:54'::timestamp) - extract(epoch from '2026-06-16 17:11: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'), 46789, 'SRID=4674;POINT (-39.432411 -3.145662)', '2026-06-16 17:12:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432248 -3.145657)'), GeomFromEWKT('SRID=4674;POINT (-39.432411 -3.145662)'))) / (select extract(epoch from '2026-06-16 17:12:01'::timestamp) - extract(epoch from '2026-06-16 17:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432248 -3.145657)'), GeomFromEWKT('SRID=4674;POINT (-39.432411 -3.145662)'))) / (select extract(epoch from '2026-06-16 17:12:01'::timestamp) - extract(epoch from '2026-06-16 17:11:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.432554 -3.145665)', '2026-06-16 17:12:07', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432411 -3.145662)'), GeomFromEWKT('SRID=4674;POINT (-39.432554 -3.145665)'))) / (select extract(epoch from '2026-06-16 17:12:07'::timestamp) - extract(epoch from '2026-06-16 17:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432411 -3.145662)'), GeomFromEWKT('SRID=4674;POINT (-39.432554 -3.145665)'))) / (select extract(epoch from '2026-06-16 17:12:07'::timestamp) - extract(epoch from '2026-06-16 17:12: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'), 46789, 'SRID=4674;POINT (-39.432701 -3.145677)', '2026-06-16 17:12:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432554 -3.145665)'), GeomFromEWKT('SRID=4674;POINT (-39.432701 -3.145677)'))) / (select extract(epoch from '2026-06-16 17:12:13'::timestamp) - extract(epoch from '2026-06-16 17:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432554 -3.145665)'), GeomFromEWKT('SRID=4674;POINT (-39.432701 -3.145677)'))) / (select extract(epoch from '2026-06-16 17:12:13'::timestamp) - extract(epoch from '2026-06-16 17:12: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'), 46789, 'SRID=4674;POINT (-39.4328 -3.145669)', '2026-06-16 17:12:18', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432701 -3.145677)'), GeomFromEWKT('SRID=4674;POINT (-39.4328 -3.145669)'))) / (select extract(epoch from '2026-06-16 17:12:18'::timestamp) - extract(epoch from '2026-06-16 17:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432701 -3.145677)'), GeomFromEWKT('SRID=4674;POINT (-39.4328 -3.145669)'))) / (select extract(epoch from '2026-06-16 17:12:18'::timestamp) - extract(epoch from '2026-06-16 17:12:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.432925 -3.145682)', '2026-06-16 17:12:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4328 -3.145669)'), GeomFromEWKT('SRID=4674;POINT (-39.432925 -3.145682)'))) / (select extract(epoch from '2026-06-16 17:12:23'::timestamp) - extract(epoch from '2026-06-16 17:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4328 -3.145669)'), GeomFromEWKT('SRID=4674;POINT (-39.432925 -3.145682)'))) / (select extract(epoch from '2026-06-16 17:12:23'::timestamp) - extract(epoch from '2026-06-16 17:12:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.433077 -3.145661)', '2026-06-16 17:12:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432925 -3.145682)'), GeomFromEWKT('SRID=4674;POINT (-39.433077 -3.145661)'))) / (select extract(epoch from '2026-06-16 17:12:30'::timestamp) - extract(epoch from '2026-06-16 17:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432925 -3.145682)'), GeomFromEWKT('SRID=4674;POINT (-39.433077 -3.145661)'))) / (select extract(epoch from '2026-06-16 17:12:30'::timestamp) - extract(epoch from '2026-06-16 17:12: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'), 46789, 'SRID=4674;POINT (-39.433207 -3.145642)', '2026-06-16 17:12:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433077 -3.145661)'), GeomFromEWKT('SRID=4674;POINT (-39.433207 -3.145642)'))) / (select extract(epoch from '2026-06-16 17:12:36'::timestamp) - extract(epoch from '2026-06-16 17:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433077 -3.145661)'), GeomFromEWKT('SRID=4674;POINT (-39.433207 -3.145642)'))) / (select extract(epoch from '2026-06-16 17:12:36'::timestamp) - extract(epoch from '2026-06-16 17:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.433363 -3.145651)', '2026-06-16 17:12:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433207 -3.145642)'), GeomFromEWKT('SRID=4674;POINT (-39.433363 -3.145651)'))) / (select extract(epoch from '2026-06-16 17:12:43'::timestamp) - extract(epoch from '2026-06-16 17:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433207 -3.145642)'), GeomFromEWKT('SRID=4674;POINT (-39.433363 -3.145651)'))) / (select extract(epoch from '2026-06-16 17:12:43'::timestamp) - extract(epoch from '2026-06-16 17:12: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'), 46789, 'SRID=4674;POINT (-39.433516 -3.145669)', '2026-06-16 17:12:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433363 -3.145651)'), GeomFromEWKT('SRID=4674;POINT (-39.433516 -3.145669)'))) / (select extract(epoch from '2026-06-16 17:12:49'::timestamp) - extract(epoch from '2026-06-16 17:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433363 -3.145651)'), GeomFromEWKT('SRID=4674;POINT (-39.433516 -3.145669)'))) / (select extract(epoch from '2026-06-16 17:12:49'::timestamp) - extract(epoch from '2026-06-16 17:12: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'), 46789, 'SRID=4674;POINT (-39.433617 -3.145652)', '2026-06-16 17:12:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433516 -3.145669)'), GeomFromEWKT('SRID=4674;POINT (-39.433617 -3.145652)'))) / (select extract(epoch from '2026-06-16 17:12:54'::timestamp) - extract(epoch from '2026-06-16 17:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433516 -3.145669)'), GeomFromEWKT('SRID=4674;POINT (-39.433617 -3.145652)'))) / (select extract(epoch from '2026-06-16 17:12:54'::timestamp) - extract(epoch from '2026-06-16 17:12: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'), 46789, 'SRID=4674;POINT (-39.433749 -3.145647)', '2026-06-16 17:12:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433617 -3.145652)'), GeomFromEWKT('SRID=4674;POINT (-39.433749 -3.145647)'))) / (select extract(epoch from '2026-06-16 17:12:59'::timestamp) - extract(epoch from '2026-06-16 17:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433617 -3.145652)'), GeomFromEWKT('SRID=4674;POINT (-39.433749 -3.145647)'))) / (select extract(epoch from '2026-06-16 17:12:59'::timestamp) - extract(epoch from '2026-06-16 17:12: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'), 46789, 'SRID=4674;POINT (-39.433867 -3.145644)', '2026-06-16 17:13:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433749 -3.145647)'), GeomFromEWKT('SRID=4674;POINT (-39.433867 -3.145644)'))) / (select extract(epoch from '2026-06-16 17:13:04'::timestamp) - extract(epoch from '2026-06-16 17:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433749 -3.145647)'), GeomFromEWKT('SRID=4674;POINT (-39.433867 -3.145644)'))) / (select extract(epoch from '2026-06-16 17:13:04'::timestamp) - extract(epoch from '2026-06-16 17:12: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'), 46789, 'SRID=4674;POINT (-39.433973 -3.145654)', '2026-06-16 17:13:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433867 -3.145644)'), GeomFromEWKT('SRID=4674;POINT (-39.433973 -3.145654)'))) / (select extract(epoch from '2026-06-16 17:13:09'::timestamp) - extract(epoch from '2026-06-16 17:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433867 -3.145644)'), GeomFromEWKT('SRID=4674;POINT (-39.433973 -3.145654)'))) / (select extract(epoch from '2026-06-16 17:13:09'::timestamp) - extract(epoch from '2026-06-16 17:13:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.434107 -3.145652)', '2026-06-16 17:13:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433973 -3.145654)'), GeomFromEWKT('SRID=4674;POINT (-39.434107 -3.145652)'))) / (select extract(epoch from '2026-06-16 17:13:15'::timestamp) - extract(epoch from '2026-06-16 17:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433973 -3.145654)'), GeomFromEWKT('SRID=4674;POINT (-39.434107 -3.145652)'))) / (select extract(epoch from '2026-06-16 17:13:15'::timestamp) - extract(epoch from '2026-06-16 17:13:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.43423 -3.145652)', '2026-06-16 17:13:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434107 -3.145652)'), GeomFromEWKT('SRID=4674;POINT (-39.43423 -3.145652)'))) / (select extract(epoch from '2026-06-16 17:13:20'::timestamp) - extract(epoch from '2026-06-16 17:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434107 -3.145652)'), GeomFromEWKT('SRID=4674;POINT (-39.43423 -3.145652)'))) / (select extract(epoch from '2026-06-16 17:13:20'::timestamp) - extract(epoch from '2026-06-16 17:13: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'), 46789, 'SRID=4674;POINT (-39.434386 -3.145645)', '2026-06-16 17:13:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43423 -3.145652)'), GeomFromEWKT('SRID=4674;POINT (-39.434386 -3.145645)'))) / (select extract(epoch from '2026-06-16 17:13:27'::timestamp) - extract(epoch from '2026-06-16 17:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43423 -3.145652)'), GeomFromEWKT('SRID=4674;POINT (-39.434386 -3.145645)'))) / (select extract(epoch from '2026-06-16 17:13:27'::timestamp) - extract(epoch from '2026-06-16 17:13: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'), 46789, 'SRID=4674;POINT (-39.434509 -3.145647)', '2026-06-16 17:13:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434386 -3.145645)'), GeomFromEWKT('SRID=4674;POINT (-39.434509 -3.145647)'))) / (select extract(epoch from '2026-06-16 17:13:33'::timestamp) - extract(epoch from '2026-06-16 17:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434386 -3.145645)'), GeomFromEWKT('SRID=4674;POINT (-39.434509 -3.145647)'))) / (select extract(epoch from '2026-06-16 17:13:33'::timestamp) - extract(epoch from '2026-06-16 17:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.43467 -3.145679)', '2026-06-16 17:13:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434509 -3.145647)'), GeomFromEWKT('SRID=4674;POINT (-39.43467 -3.145679)'))) / (select extract(epoch from '2026-06-16 17:13:40'::timestamp) - extract(epoch from '2026-06-16 17:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434509 -3.145647)'), GeomFromEWKT('SRID=4674;POINT (-39.43467 -3.145679)'))) / (select extract(epoch from '2026-06-16 17:13:40'::timestamp) - extract(epoch from '2026-06-16 17:13:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.434807 -3.145685)', '2026-06-16 17:13:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43467 -3.145679)'), GeomFromEWKT('SRID=4674;POINT (-39.434807 -3.145685)'))) / (select extract(epoch from '2026-06-16 17:13:46'::timestamp) - extract(epoch from '2026-06-16 17:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43467 -3.145679)'), GeomFromEWKT('SRID=4674;POINT (-39.434807 -3.145685)'))) / (select extract(epoch from '2026-06-16 17:13:46'::timestamp) - extract(epoch from '2026-06-16 17:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.434944 -3.145674)', '2026-06-16 17:13:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434807 -3.145685)'), GeomFromEWKT('SRID=4674;POINT (-39.434944 -3.145674)'))) / (select extract(epoch from '2026-06-16 17:13:52'::timestamp) - extract(epoch from '2026-06-16 17:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434807 -3.145685)'), GeomFromEWKT('SRID=4674;POINT (-39.434944 -3.145674)'))) / (select extract(epoch from '2026-06-16 17:13:52'::timestamp) - extract(epoch from '2026-06-16 17: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'), 46789, 'SRID=4674;POINT (-39.435092 -3.145681)', '2026-06-16 17:13:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434944 -3.145674)'), GeomFromEWKT('SRID=4674;POINT (-39.435092 -3.145681)'))) / (select extract(epoch from '2026-06-16 17:13:59'::timestamp) - extract(epoch from '2026-06-16 17:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434944 -3.145674)'), GeomFromEWKT('SRID=4674;POINT (-39.435092 -3.145681)'))) / (select extract(epoch from '2026-06-16 17:13:59'::timestamp) - extract(epoch from '2026-06-16 17:13:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.435223 -3.14571)', '2026-06-16 17:14:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435092 -3.145681)'), GeomFromEWKT('SRID=4674;POINT (-39.435223 -3.14571)'))) / (select extract(epoch from '2026-06-16 17:14:04'::timestamp) - extract(epoch from '2026-06-16 17:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435092 -3.145681)'), GeomFromEWKT('SRID=4674;POINT (-39.435223 -3.14571)'))) / (select extract(epoch from '2026-06-16 17:14:04'::timestamp) - extract(epoch from '2026-06-16 17:13:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.435309 -3.145718)', '2026-06-16 17:14:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435223 -3.14571)'), GeomFromEWKT('SRID=4674;POINT (-39.435309 -3.145718)'))) / (select extract(epoch from '2026-06-16 17:14:08'::timestamp) - extract(epoch from '2026-06-16 17:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435223 -3.14571)'), GeomFromEWKT('SRID=4674;POINT (-39.435309 -3.145718)'))) / (select extract(epoch from '2026-06-16 17:14:08'::timestamp) - extract(epoch from '2026-06-16 17:14: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'), 46789, 'SRID=4674;POINT (-39.435416 -3.145748)', '2026-06-16 17:14:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435309 -3.145718)'), GeomFromEWKT('SRID=4674;POINT (-39.435416 -3.145748)'))) / (select extract(epoch from '2026-06-16 17:14:13'::timestamp) - extract(epoch from '2026-06-16 17:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435309 -3.145718)'), GeomFromEWKT('SRID=4674;POINT (-39.435416 -3.145748)'))) / (select extract(epoch from '2026-06-16 17:14:13'::timestamp) - extract(epoch from '2026-06-16 17:14:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.435546 -3.145754)', '2026-06-16 17:14:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435416 -3.145748)'), GeomFromEWKT('SRID=4674;POINT (-39.435546 -3.145754)'))) / (select extract(epoch from '2026-06-16 17:14:19'::timestamp) - extract(epoch from '2026-06-16 17:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435416 -3.145748)'), GeomFromEWKT('SRID=4674;POINT (-39.435546 -3.145754)'))) / (select extract(epoch from '2026-06-16 17:14:19'::timestamp) - extract(epoch from '2026-06-16 17:14:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46789, 'SRID=4674;POINT (-39.435688 -3.145734)', '2026-06-16 17:14:26', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435546 -3.145754)'), GeomFromEWKT('SRID=4674;POINT (-39.435688 -3.145734)'))) / (select extract(epoch from '2026-06-16 17:14:26'::timestamp) - extract(epoch from '2026-06-16 17:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435546 -3.145754)'), GeomFromEWKT('SRID=4674;POINT (-39.435688 -3.145734)'))) / (select extract(epoch from '2026-06-16 17:14:26'::timestamp) - extract(epoch from '2026-06-16 17:14: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'), 46789, 'SRID=4674;POINT (-39.435775 -3.14571)', '2026-06-16 17:14:31', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435688 -3.145734)'), GeomFromEWKT('SRID=4674;POINT (-39.435775 -3.14571)'))) / (select extract(epoch from '2026-06-16 17:14:31'::timestamp) - extract(epoch from '2026-06-16 17:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435688 -3.145734)'), GeomFromEWKT('SRID=4674;POINT (-39.435775 -3.14571)'))) / (select extract(epoch from '2026-06-16 17:14:31'::timestamp) - extract(epoch from '2026-06-16 17:14: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'), 46789, 'SRID=4674;POINT (-39.435926 -3.145699)', '2026-06-16 17:14:37', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435775 -3.14571)'), GeomFromEWKT('SRID=4674;POINT (-39.435926 -3.145699)'))) / (select extract(epoch from '2026-06-16 17:14:37'::timestamp) - extract(epoch from '2026-06-16 17:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435775 -3.14571)'), GeomFromEWKT('SRID=4674;POINT (-39.435926 -3.145699)'))) / (select extract(epoch from '2026-06-16 17:14:37'::timestamp) - extract(epoch from '2026-06-16 17:14: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'), 46789, 'SRID=4674;POINT (-39.436086 -3.1457)', '2026-06-16 17:14:44', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435926 -3.145699)'), GeomFromEWKT('SRID=4674;POINT (-39.436086 -3.1457)'))) / (select extract(epoch from '2026-06-16 17:14:44'::timestamp) - extract(epoch from '2026-06-16 17:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435926 -3.145699)'), GeomFromEWKT('SRID=4674;POINT (-39.436086 -3.1457)'))) / (select extract(epoch from '2026-06-16 17:14:44'::timestamp) - extract(epoch from '2026-06-16 17:14:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
