 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581629 -3.320675)', '2026-05-28 09:50:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581635 -3.320825)'), GeomFromEWKT('SRID=4674;POINT (-38.581629 -3.320675)'))) / (select extract(epoch from '2026-05-28 09:50:53'::timestamp) - extract(epoch from '2026-05-28 09:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581635 -3.320825)'), GeomFromEWKT('SRID=4674;POINT (-38.581629 -3.320675)'))) / (select extract(epoch from '2026-05-28 09:50:53'::timestamp) - extract(epoch from '2026-05-28 09:50: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'), 46535, 'SRID=4674;POINT (-38.581629 -3.320504)', '2026-05-28 09:51:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581629 -3.320675)'), GeomFromEWKT('SRID=4674;POINT (-38.581629 -3.320504)'))) / (select extract(epoch from '2026-05-28 09:51:01'::timestamp) - extract(epoch from '2026-05-28 09:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581629 -3.320675)'), GeomFromEWKT('SRID=4674;POINT (-38.581629 -3.320504)'))) / (select extract(epoch from '2026-05-28 09:51:01'::timestamp) - extract(epoch from '2026-05-28 09:50: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'), 46535, 'SRID=4674;POINT (-38.581649 -3.320327)', '2026-05-28 09:51:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581629 -3.320504)'), GeomFromEWKT('SRID=4674;POINT (-38.581649 -3.320327)'))) / (select extract(epoch from '2026-05-28 09:51:09'::timestamp) - extract(epoch from '2026-05-28 09:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581629 -3.320504)'), GeomFromEWKT('SRID=4674;POINT (-38.581649 -3.320327)'))) / (select extract(epoch from '2026-05-28 09:51:09'::timestamp) - extract(epoch from '2026-05-28 09:51: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'), 46535, 'SRID=4674;POINT (-38.581654 -3.320267)', '2026-05-28 09:51:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581649 -3.320327)'), GeomFromEWKT('SRID=4674;POINT (-38.581654 -3.320267)'))) / (select extract(epoch from '2026-05-28 09:51:12'::timestamp) - extract(epoch from '2026-05-28 09:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581649 -3.320327)'), GeomFromEWKT('SRID=4674;POINT (-38.581654 -3.320267)'))) / (select extract(epoch from '2026-05-28 09:51:12'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581671 -3.320226)', '2026-05-28 09:51:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581654 -3.320267)'), GeomFromEWKT('SRID=4674;POINT (-38.581671 -3.320226)'))) / (select extract(epoch from '2026-05-28 09:51:14'::timestamp) - extract(epoch from '2026-05-28 09:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581654 -3.320267)'), GeomFromEWKT('SRID=4674;POINT (-38.581671 -3.320226)'))) / (select extract(epoch from '2026-05-28 09:51:14'::timestamp) - extract(epoch from '2026-05-28 09:51: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'), 46535, 'SRID=4674;POINT (-38.581691 -3.320101)', '2026-05-28 09:51:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581671 -3.320226)'), GeomFromEWKT('SRID=4674;POINT (-38.581691 -3.320101)'))) / (select extract(epoch from '2026-05-28 09:51:20'::timestamp) - extract(epoch from '2026-05-28 09:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581671 -3.320226)'), GeomFromEWKT('SRID=4674;POINT (-38.581691 -3.320101)'))) / (select extract(epoch from '2026-05-28 09:51:20'::timestamp) - extract(epoch from '2026-05-28 09:51:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581715 -3.319983)', '2026-05-28 09:51:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581691 -3.320101)'), GeomFromEWKT('SRID=4674;POINT (-38.581715 -3.319983)'))) / (select extract(epoch from '2026-05-28 09:51:26'::timestamp) - extract(epoch from '2026-05-28 09:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581691 -3.320101)'), GeomFromEWKT('SRID=4674;POINT (-38.581715 -3.319983)'))) / (select extract(epoch from '2026-05-28 09:51:26'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581734 -3.319835)', '2026-05-28 09:51:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581715 -3.319983)'), GeomFromEWKT('SRID=4674;POINT (-38.581734 -3.319835)'))) / (select extract(epoch from '2026-05-28 09:51:33'::timestamp) - extract(epoch from '2026-05-28 09:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581715 -3.319983)'), GeomFromEWKT('SRID=4674;POINT (-38.581734 -3.319835)'))) / (select extract(epoch from '2026-05-28 09:51:33'::timestamp) - extract(epoch from '2026-05-28 09:51: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'), 46535, 'SRID=4674;POINT (-38.581738 -3.319704)', '2026-05-28 09:51:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581734 -3.319835)'), GeomFromEWKT('SRID=4674;POINT (-38.581738 -3.319704)'))) / (select extract(epoch from '2026-05-28 09:51:39'::timestamp) - extract(epoch from '2026-05-28 09:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581734 -3.319835)'), GeomFromEWKT('SRID=4674;POINT (-38.581738 -3.319704)'))) / (select extract(epoch from '2026-05-28 09:51:39'::timestamp) - extract(epoch from '2026-05-28 09:51: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'), 46535, 'SRID=4674;POINT (-38.581743 -3.319606)', '2026-05-28 09:51:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581738 -3.319704)'), GeomFromEWKT('SRID=4674;POINT (-38.581743 -3.319606)'))) / (select extract(epoch from '2026-05-28 09:51:44'::timestamp) - extract(epoch from '2026-05-28 09:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581738 -3.319704)'), GeomFromEWKT('SRID=4674;POINT (-38.581743 -3.319606)'))) / (select extract(epoch from '2026-05-28 09:51:44'::timestamp) - extract(epoch from '2026-05-28 09:51:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581765 -3.31946)', '2026-05-28 09:51:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581743 -3.319606)'), GeomFromEWKT('SRID=4674;POINT (-38.581765 -3.31946)'))) / (select extract(epoch from '2026-05-28 09:51:51'::timestamp) - extract(epoch from '2026-05-28 09:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581743 -3.319606)'), GeomFromEWKT('SRID=4674;POINT (-38.581765 -3.31946)'))) / (select extract(epoch from '2026-05-28 09:51:51'::timestamp) - extract(epoch from '2026-05-28 09:51:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581769 -3.319317)', '2026-05-28 09:51:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581765 -3.31946)'), GeomFromEWKT('SRID=4674;POINT (-38.581769 -3.319317)'))) / (select extract(epoch from '2026-05-28 09:51:58'::timestamp) - extract(epoch from '2026-05-28 09:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581765 -3.31946)'), GeomFromEWKT('SRID=4674;POINT (-38.581769 -3.319317)'))) / (select extract(epoch from '2026-05-28 09:51:58'::timestamp) - extract(epoch from '2026-05-28 09:51: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'), 46535, 'SRID=4674;POINT (-38.581781 -3.319212)', '2026-05-28 09:52:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581769 -3.319317)'), GeomFromEWKT('SRID=4674;POINT (-38.581781 -3.319212)'))) / (select extract(epoch from '2026-05-28 09:52:03'::timestamp) - extract(epoch from '2026-05-28 09:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581769 -3.319317)'), GeomFromEWKT('SRID=4674;POINT (-38.581781 -3.319212)'))) / (select extract(epoch from '2026-05-28 09:52:03'::timestamp) - extract(epoch from '2026-05-28 09:51: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'), 46535, 'SRID=4674;POINT (-38.581773 -3.319091)', '2026-05-28 09:52:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581781 -3.319212)'), GeomFromEWKT('SRID=4674;POINT (-38.581773 -3.319091)'))) / (select extract(epoch from '2026-05-28 09:52:09'::timestamp) - extract(epoch from '2026-05-28 09:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581781 -3.319212)'), GeomFromEWKT('SRID=4674;POINT (-38.581773 -3.319091)'))) / (select extract(epoch from '2026-05-28 09:52:09'::timestamp) - extract(epoch from '2026-05-28 09:52:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581769 -3.318959)', '2026-05-28 09:52:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581773 -3.319091)'), GeomFromEWKT('SRID=4674;POINT (-38.581769 -3.318959)'))) / (select extract(epoch from '2026-05-28 09:52:15'::timestamp) - extract(epoch from '2026-05-28 09:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581773 -3.319091)'), GeomFromEWKT('SRID=4674;POINT (-38.581769 -3.318959)'))) / (select extract(epoch from '2026-05-28 09:52:15'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581766 -3.31883)', '2026-05-28 09:52:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581769 -3.318959)'), GeomFromEWKT('SRID=4674;POINT (-38.581766 -3.31883)'))) / (select extract(epoch from '2026-05-28 09:52:21'::timestamp) - extract(epoch from '2026-05-28 09:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581769 -3.318959)'), GeomFromEWKT('SRID=4674;POINT (-38.581766 -3.31883)'))) / (select extract(epoch from '2026-05-28 09:52:21'::timestamp) - extract(epoch from '2026-05-28 09:52: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'), 46535, 'SRID=4674;POINT (-38.581745 -3.318729)', '2026-05-28 09:52:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581766 -3.31883)'), GeomFromEWKT('SRID=4674;POINT (-38.581745 -3.318729)'))) / (select extract(epoch from '2026-05-28 09:52:26'::timestamp) - extract(epoch from '2026-05-28 09:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581766 -3.31883)'), GeomFromEWKT('SRID=4674;POINT (-38.581745 -3.318729)'))) / (select extract(epoch from '2026-05-28 09:52:26'::timestamp) - extract(epoch from '2026-05-28 09:52: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'), 46535, 'SRID=4674;POINT (-38.58173 -3.318561)', '2026-05-28 09:52:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581745 -3.318729)'), GeomFromEWKT('SRID=4674;POINT (-38.58173 -3.318561)'))) / (select extract(epoch from '2026-05-28 09:52:34'::timestamp) - extract(epoch from '2026-05-28 09:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581745 -3.318729)'), GeomFromEWKT('SRID=4674;POINT (-38.58173 -3.318561)'))) / (select extract(epoch from '2026-05-28 09:52:34'::timestamp) - extract(epoch from '2026-05-28 09:52: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'), 46535, 'SRID=4674;POINT (-38.581726 -3.318435)', '2026-05-28 09:52:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58173 -3.318561)'), GeomFromEWKT('SRID=4674;POINT (-38.581726 -3.318435)'))) / (select extract(epoch from '2026-05-28 09:52:40'::timestamp) - extract(epoch from '2026-05-28 09:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58173 -3.318561)'), GeomFromEWKT('SRID=4674;POINT (-38.581726 -3.318435)'))) / (select extract(epoch from '2026-05-28 09:52:40'::timestamp) - extract(epoch from '2026-05-28 09:52: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'), 46535, 'SRID=4674;POINT (-38.581715 -3.318257)', '2026-05-28 09:52:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581726 -3.318435)'), GeomFromEWKT('SRID=4674;POINT (-38.581715 -3.318257)'))) / (select extract(epoch from '2026-05-28 09:52:48'::timestamp) - extract(epoch from '2026-05-28 09:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581726 -3.318435)'), GeomFromEWKT('SRID=4674;POINT (-38.581715 -3.318257)'))) / (select extract(epoch from '2026-05-28 09:52:48'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581706 -3.318121)', '2026-05-28 09:52:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581715 -3.318257)'), GeomFromEWKT('SRID=4674;POINT (-38.581706 -3.318121)'))) / (select extract(epoch from '2026-05-28 09:52:54'::timestamp) - extract(epoch from '2026-05-28 09:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581715 -3.318257)'), GeomFromEWKT('SRID=4674;POINT (-38.581706 -3.318121)'))) / (select extract(epoch from '2026-05-28 09:52:54'::timestamp) - extract(epoch from '2026-05-28 09:52: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'), 46535, 'SRID=4674;POINT (-38.58169 -3.318017)', '2026-05-28 09:52:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581706 -3.318121)'), GeomFromEWKT('SRID=4674;POINT (-38.58169 -3.318017)'))) / (select extract(epoch from '2026-05-28 09:52:59'::timestamp) - extract(epoch from '2026-05-28 09:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581706 -3.318121)'), GeomFromEWKT('SRID=4674;POINT (-38.58169 -3.318017)'))) / (select extract(epoch from '2026-05-28 09:52:59'::timestamp) - extract(epoch from '2026-05-28 09:52: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'), 46535, 'SRID=4674;POINT (-38.5817 -3.317974)', '2026-05-28 09:53:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58169 -3.318017)'), GeomFromEWKT('SRID=4674;POINT (-38.5817 -3.317974)'))) / (select extract(epoch from '2026-05-28 09:53:01'::timestamp) - extract(epoch from '2026-05-28 09:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58169 -3.318017)'), GeomFromEWKT('SRID=4674;POINT (-38.5817 -3.317974)'))) / (select extract(epoch from '2026-05-28 09:53:01'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581688 -3.317895)', '2026-05-28 09:53:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5817 -3.317974)'), GeomFromEWKT('SRID=4674;POINT (-38.581688 -3.317895)'))) / (select extract(epoch from '2026-05-28 09:53:05'::timestamp) - extract(epoch from '2026-05-28 09:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5817 -3.317974)'), GeomFromEWKT('SRID=4674;POINT (-38.581688 -3.317895)'))) / (select extract(epoch from '2026-05-28 09:53:05'::timestamp) - extract(epoch from '2026-05-28 09:53: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'), 46535, 'SRID=4674;POINT (-38.581693 -3.317781)', '2026-05-28 09:53:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581688 -3.317895)'), GeomFromEWKT('SRID=4674;POINT (-38.581693 -3.317781)'))) / (select extract(epoch from '2026-05-28 09:53:10'::timestamp) - extract(epoch from '2026-05-28 09:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581688 -3.317895)'), GeomFromEWKT('SRID=4674;POINT (-38.581693 -3.317781)'))) / (select extract(epoch from '2026-05-28 09:53:10'::timestamp) - extract(epoch from '2026-05-28 09:53: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'), 46535, 'SRID=4674;POINT (-38.581693 -3.317667)', '2026-05-28 09:53:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581693 -3.317781)'), GeomFromEWKT('SRID=4674;POINT (-38.581693 -3.317667)'))) / (select extract(epoch from '2026-05-28 09:53:15'::timestamp) - extract(epoch from '2026-05-28 09:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581693 -3.317781)'), GeomFromEWKT('SRID=4674;POINT (-38.581693 -3.317667)'))) / (select extract(epoch from '2026-05-28 09:53:15'::timestamp) - extract(epoch from '2026-05-28 09:53:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581713 -3.317555)', '2026-05-28 09:53:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581693 -3.317667)'), GeomFromEWKT('SRID=4674;POINT (-38.581713 -3.317555)'))) / (select extract(epoch from '2026-05-28 09:53:20'::timestamp) - extract(epoch from '2026-05-28 09:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581693 -3.317667)'), GeomFromEWKT('SRID=4674;POINT (-38.581713 -3.317555)'))) / (select extract(epoch from '2026-05-28 09:53:20'::timestamp) - extract(epoch from '2026-05-28 09:53:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58173 -3.317446)', '2026-05-28 09:53:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581713 -3.317555)'), GeomFromEWKT('SRID=4674;POINT (-38.58173 -3.317446)'))) / (select extract(epoch from '2026-05-28 09:53:25'::timestamp) - extract(epoch from '2026-05-28 09:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581713 -3.317555)'), GeomFromEWKT('SRID=4674;POINT (-38.58173 -3.317446)'))) / (select extract(epoch from '2026-05-28 09:53:25'::timestamp) - extract(epoch from '2026-05-28 09:53: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'), 46535, 'SRID=4674;POINT (-38.581743 -3.31734)', '2026-05-28 09:53:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58173 -3.317446)'), GeomFromEWKT('SRID=4674;POINT (-38.581743 -3.31734)'))) / (select extract(epoch from '2026-05-28 09:53:30'::timestamp) - extract(epoch from '2026-05-28 09:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58173 -3.317446)'), GeomFromEWKT('SRID=4674;POINT (-38.581743 -3.31734)'))) / (select extract(epoch from '2026-05-28 09:53:30'::timestamp) - extract(epoch from '2026-05-28 09:53: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'), 46535, 'SRID=4674;POINT (-38.58175 -3.317235)', '2026-05-28 09:53:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581743 -3.31734)'), GeomFromEWKT('SRID=4674;POINT (-38.58175 -3.317235)'))) / (select extract(epoch from '2026-05-28 09:53:35'::timestamp) - extract(epoch from '2026-05-28 09:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581743 -3.31734)'), GeomFromEWKT('SRID=4674;POINT (-38.58175 -3.317235)'))) / (select extract(epoch from '2026-05-28 09:53:35'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581771 -3.317085)', '2026-05-28 09:53:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58175 -3.317235)'), GeomFromEWKT('SRID=4674;POINT (-38.581771 -3.317085)'))) / (select extract(epoch from '2026-05-28 09:53:42'::timestamp) - extract(epoch from '2026-05-28 09:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58175 -3.317235)'), GeomFromEWKT('SRID=4674;POINT (-38.581771 -3.317085)'))) / (select extract(epoch from '2026-05-28 09:53:42'::timestamp) - extract(epoch from '2026-05-28 09:53: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'), 46535, 'SRID=4674;POINT (-38.581767 -3.316985)', '2026-05-28 09:53:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581771 -3.317085)'), GeomFromEWKT('SRID=4674;POINT (-38.581767 -3.316985)'))) / (select extract(epoch from '2026-05-28 09:53:47'::timestamp) - extract(epoch from '2026-05-28 09:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581771 -3.317085)'), GeomFromEWKT('SRID=4674;POINT (-38.581767 -3.316985)'))) / (select extract(epoch from '2026-05-28 09:53:47'::timestamp) - extract(epoch from '2026-05-28 09:53: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'), 46535, 'SRID=4674;POINT (-38.581756 -3.316875)', '2026-05-28 09:53:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581767 -3.316985)'), GeomFromEWKT('SRID=4674;POINT (-38.581756 -3.316875)'))) / (select extract(epoch from '2026-05-28 09:53:53'::timestamp) - extract(epoch from '2026-05-28 09:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581767 -3.316985)'), GeomFromEWKT('SRID=4674;POINT (-38.581756 -3.316875)'))) / (select extract(epoch from '2026-05-28 09:53:53'::timestamp) - extract(epoch from '2026-05-28 09:53: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'), 46535, 'SRID=4674;POINT (-38.581755 -3.316766)', '2026-05-28 09:53:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581756 -3.316875)'), GeomFromEWKT('SRID=4674;POINT (-38.581755 -3.316766)'))) / (select extract(epoch from '2026-05-28 09:53:58'::timestamp) - extract(epoch from '2026-05-28 09:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581756 -3.316875)'), GeomFromEWKT('SRID=4674;POINT (-38.581755 -3.316766)'))) / (select extract(epoch from '2026-05-28 09:53:58'::timestamp) - extract(epoch from '2026-05-28 09:53: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'), 46535, 'SRID=4674;POINT (-38.581746 -3.316634)', '2026-05-28 09:54:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581755 -3.316766)'), GeomFromEWKT('SRID=4674;POINT (-38.581746 -3.316634)'))) / (select extract(epoch from '2026-05-28 09:54:04'::timestamp) - extract(epoch from '2026-05-28 09:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581755 -3.316766)'), GeomFromEWKT('SRID=4674;POINT (-38.581746 -3.316634)'))) / (select extract(epoch from '2026-05-28 09:54:04'::timestamp) - extract(epoch from '2026-05-28 09:53: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'), 46535, 'SRID=4674;POINT (-38.581733 -3.316536)', '2026-05-28 09:54:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581746 -3.316634)'), GeomFromEWKT('SRID=4674;POINT (-38.581733 -3.316536)'))) / (select extract(epoch from '2026-05-28 09:54:09'::timestamp) - extract(epoch from '2026-05-28 09:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581746 -3.316634)'), GeomFromEWKT('SRID=4674;POINT (-38.581733 -3.316536)'))) / (select extract(epoch from '2026-05-28 09:54:09'::timestamp) - extract(epoch from '2026-05-28 09:54: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'), 46535, 'SRID=4674;POINT (-38.581728 -3.31638)', '2026-05-28 09:54:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581733 -3.316536)'), GeomFromEWKT('SRID=4674;POINT (-38.581728 -3.31638)'))) / (select extract(epoch from '2026-05-28 09:54:16'::timestamp) - extract(epoch from '2026-05-28 09:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581733 -3.316536)'), GeomFromEWKT('SRID=4674;POINT (-38.581728 -3.31638)'))) / (select extract(epoch from '2026-05-28 09:54:16'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581738 -3.31627)', '2026-05-28 09:54:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581728 -3.31638)'), GeomFromEWKT('SRID=4674;POINT (-38.581738 -3.31627)'))) / (select extract(epoch from '2026-05-28 09:54:21'::timestamp) - extract(epoch from '2026-05-28 09:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581728 -3.31638)'), GeomFromEWKT('SRID=4674;POINT (-38.581738 -3.31627)'))) / (select extract(epoch from '2026-05-28 09:54:21'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581743 -3.316154)', '2026-05-28 09:54:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581738 -3.31627)'), GeomFromEWKT('SRID=4674;POINT (-38.581743 -3.316154)'))) / (select extract(epoch from '2026-05-28 09:54:26'::timestamp) - extract(epoch from '2026-05-28 09:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581738 -3.31627)'), GeomFromEWKT('SRID=4674;POINT (-38.581743 -3.316154)'))) / (select extract(epoch from '2026-05-28 09:54:26'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581761 -3.316011)', '2026-05-28 09:54:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581743 -3.316154)'), GeomFromEWKT('SRID=4674;POINT (-38.581761 -3.316011)'))) / (select extract(epoch from '2026-05-28 09:54:32'::timestamp) - extract(epoch from '2026-05-28 09:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581743 -3.316154)'), GeomFromEWKT('SRID=4674;POINT (-38.581761 -3.316011)'))) / (select extract(epoch from '2026-05-28 09:54:32'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581755 -3.315917)', '2026-05-28 09:54:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581761 -3.316011)'), GeomFromEWKT('SRID=4674;POINT (-38.581755 -3.315917)'))) / (select extract(epoch from '2026-05-28 09:54:36'::timestamp) - extract(epoch from '2026-05-28 09:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581761 -3.316011)'), GeomFromEWKT('SRID=4674;POINT (-38.581755 -3.315917)'))) / (select extract(epoch from '2026-05-28 09:54:36'::timestamp) - extract(epoch from '2026-05-28 09:54: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'), 46535, 'SRID=4674;POINT (-38.58174 -3.315806)', '2026-05-28 09:54:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581755 -3.315917)'), GeomFromEWKT('SRID=4674;POINT (-38.58174 -3.315806)'))) / (select extract(epoch from '2026-05-28 09:54:41'::timestamp) - extract(epoch from '2026-05-28 09:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581755 -3.315917)'), GeomFromEWKT('SRID=4674;POINT (-38.58174 -3.315806)'))) / (select extract(epoch from '2026-05-28 09:54:41'::timestamp) - extract(epoch from '2026-05-28 09:54:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581744 -3.315707)', '2026-05-28 09:54:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58174 -3.315806)'), GeomFromEWKT('SRID=4674;POINT (-38.581744 -3.315707)'))) / (select extract(epoch from '2026-05-28 09:54:45'::timestamp) - extract(epoch from '2026-05-28 09:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58174 -3.315806)'), GeomFromEWKT('SRID=4674;POINT (-38.581744 -3.315707)'))) / (select extract(epoch from '2026-05-28 09:54:45'::timestamp) - extract(epoch from '2026-05-28 09:54: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'), 46535, 'SRID=4674;POINT (-38.581746 -3.315596)', '2026-05-28 09:54:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581744 -3.315707)'), GeomFromEWKT('SRID=4674;POINT (-38.581746 -3.315596)'))) / (select extract(epoch from '2026-05-28 09:54:50'::timestamp) - extract(epoch from '2026-05-28 09:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581744 -3.315707)'), GeomFromEWKT('SRID=4674;POINT (-38.581746 -3.315596)'))) / (select extract(epoch from '2026-05-28 09:54:50'::timestamp) - extract(epoch from '2026-05-28 09:54:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581757 -3.315484)', '2026-05-28 09:54:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581746 -3.315596)'), GeomFromEWKT('SRID=4674;POINT (-38.581757 -3.315484)'))) / (select extract(epoch from '2026-05-28 09:54:56'::timestamp) - extract(epoch from '2026-05-28 09:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581746 -3.315596)'), GeomFromEWKT('SRID=4674;POINT (-38.581757 -3.315484)'))) / (select extract(epoch from '2026-05-28 09:54:56'::timestamp) - extract(epoch from '2026-05-28 09:54: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'), 46535, 'SRID=4674;POINT (-38.581773 -3.315344)', '2026-05-28 09:55:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581757 -3.315484)'), GeomFromEWKT('SRID=4674;POINT (-38.581773 -3.315344)'))) / (select extract(epoch from '2026-05-28 09:55:03'::timestamp) - extract(epoch from '2026-05-28 09:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581757 -3.315484)'), GeomFromEWKT('SRID=4674;POINT (-38.581773 -3.315344)'))) / (select extract(epoch from '2026-05-28 09:55:03'::timestamp) - extract(epoch from '2026-05-28 09:54: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'), 46535, 'SRID=4674;POINT (-38.581776 -3.315189)', '2026-05-28 09:55:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581773 -3.315344)'), GeomFromEWKT('SRID=4674;POINT (-38.581776 -3.315189)'))) / (select extract(epoch from '2026-05-28 09:55:10'::timestamp) - extract(epoch from '2026-05-28 09:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581773 -3.315344)'), GeomFromEWKT('SRID=4674;POINT (-38.581776 -3.315189)'))) / (select extract(epoch from '2026-05-28 09:55:10'::timestamp) - extract(epoch from '2026-05-28 09:55:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581773 -3.31513)', '2026-05-28 09:55:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581776 -3.315189)'), GeomFromEWKT('SRID=4674;POINT (-38.581773 -3.31513)'))) / (select extract(epoch from '2026-05-28 09:55:13'::timestamp) - extract(epoch from '2026-05-28 09:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581776 -3.315189)'), GeomFromEWKT('SRID=4674;POINT (-38.581773 -3.31513)'))) / (select extract(epoch from '2026-05-28 09:55:13'::timestamp) - extract(epoch from '2026-05-28 09:55: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'), 46535, 'SRID=4674;POINT (-38.581784 -3.315082)', '2026-05-28 09:55:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581773 -3.31513)'), GeomFromEWKT('SRID=4674;POINT (-38.581784 -3.315082)'))) / (select extract(epoch from '2026-05-28 09:55:15'::timestamp) - extract(epoch from '2026-05-28 09:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581773 -3.31513)'), GeomFromEWKT('SRID=4674;POINT (-38.581784 -3.315082)'))) / (select extract(epoch from '2026-05-28 09:55:15'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581789 -3.314978)', '2026-05-28 09:55:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581784 -3.315082)'), GeomFromEWKT('SRID=4674;POINT (-38.581789 -3.314978)'))) / (select extract(epoch from '2026-05-28 09:55:20'::timestamp) - extract(epoch from '2026-05-28 09:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581784 -3.315082)'), GeomFromEWKT('SRID=4674;POINT (-38.581789 -3.314978)'))) / (select extract(epoch from '2026-05-28 09:55:20'::timestamp) - extract(epoch from '2026-05-28 09:55:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581804 -3.314843)', '2026-05-28 09:55:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581789 -3.314978)'), GeomFromEWKT('SRID=4674;POINT (-38.581804 -3.314843)'))) / (select extract(epoch from '2026-05-28 09:55:26'::timestamp) - extract(epoch from '2026-05-28 09:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581789 -3.314978)'), GeomFromEWKT('SRID=4674;POINT (-38.581804 -3.314843)'))) / (select extract(epoch from '2026-05-28 09:55:26'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.58183 -3.314707)', '2026-05-28 09:55:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581804 -3.314843)'), GeomFromEWKT('SRID=4674;POINT (-38.58183 -3.314707)'))) / (select extract(epoch from '2026-05-28 09:55:32'::timestamp) - extract(epoch from '2026-05-28 09:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581804 -3.314843)'), GeomFromEWKT('SRID=4674;POINT (-38.58183 -3.314707)'))) / (select extract(epoch from '2026-05-28 09:55:32'::timestamp) - extract(epoch from '2026-05-28 09:55: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'), 46535, 'SRID=4674;POINT (-38.581832 -3.314654)', '2026-05-28 09:55:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58183 -3.314707)'), GeomFromEWKT('SRID=4674;POINT (-38.581832 -3.314654)'))) / (select extract(epoch from '2026-05-28 09:55:35'::timestamp) - extract(epoch from '2026-05-28 09:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58183 -3.314707)'), GeomFromEWKT('SRID=4674;POINT (-38.581832 -3.314654)'))) / (select extract(epoch from '2026-05-28 09:55:35'::timestamp) - extract(epoch from '2026-05-28 09:55: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'), 46535, 'SRID=4674;POINT (-38.581841 -3.314634)', '2026-05-28 09:55:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581832 -3.314654)'), GeomFromEWKT('SRID=4674;POINT (-38.581841 -3.314634)'))) / (select extract(epoch from '2026-05-28 09:55:36'::timestamp) - extract(epoch from '2026-05-28 09:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581832 -3.314654)'), GeomFromEWKT('SRID=4674;POINT (-38.581841 -3.314634)'))) / (select extract(epoch from '2026-05-28 09:55:36'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581877 -3.31452)', '2026-05-28 09:55:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581841 -3.314634)'), GeomFromEWKT('SRID=4674;POINT (-38.581877 -3.31452)'))) / (select extract(epoch from '2026-05-28 09:55:41'::timestamp) - extract(epoch from '2026-05-28 09:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581841 -3.314634)'), GeomFromEWKT('SRID=4674;POINT (-38.581877 -3.31452)'))) / (select extract(epoch from '2026-05-28 09:55:41'::timestamp) - extract(epoch from '2026-05-28 09:55: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'), 46535, 'SRID=4674;POINT (-38.581906 -3.31441)', '2026-05-28 09:55:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581877 -3.31452)'), GeomFromEWKT('SRID=4674;POINT (-38.581906 -3.31441)'))) / (select extract(epoch from '2026-05-28 09:55:46'::timestamp) - extract(epoch from '2026-05-28 09:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581877 -3.31452)'), GeomFromEWKT('SRID=4674;POINT (-38.581906 -3.31441)'))) / (select extract(epoch from '2026-05-28 09:55:46'::timestamp) - extract(epoch from '2026-05-28 09:55: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'), 46535, 'SRID=4674;POINT (-38.581924 -3.314323)', '2026-05-28 09:55:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581906 -3.31441)'), GeomFromEWKT('SRID=4674;POINT (-38.581924 -3.314323)'))) / (select extract(epoch from '2026-05-28 09:55:50'::timestamp) - extract(epoch from '2026-05-28 09:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581906 -3.31441)'), GeomFromEWKT('SRID=4674;POINT (-38.581924 -3.314323)'))) / (select extract(epoch from '2026-05-28 09:55:50'::timestamp) - extract(epoch from '2026-05-28 09:55:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581934 -3.314297)', '2026-05-28 09:55:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581924 -3.314323)'), GeomFromEWKT('SRID=4674;POINT (-38.581934 -3.314297)'))) / (select extract(epoch from '2026-05-28 09:55:51'::timestamp) - extract(epoch from '2026-05-28 09:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581924 -3.314323)'), GeomFromEWKT('SRID=4674;POINT (-38.581934 -3.314297)'))) / (select extract(epoch from '2026-05-28 09:55:51'::timestamp) - extract(epoch from '2026-05-28 09:55: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'), 46535, 'SRID=4674;POINT (-38.581951 -3.314181)', '2026-05-28 09:55:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581934 -3.314297)'), GeomFromEWKT('SRID=4674;POINT (-38.581951 -3.314181)'))) / (select extract(epoch from '2026-05-28 09:55:56'::timestamp) - extract(epoch from '2026-05-28 09:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581934 -3.314297)'), GeomFromEWKT('SRID=4674;POINT (-38.581951 -3.314181)'))) / (select extract(epoch from '2026-05-28 09:55:56'::timestamp) - extract(epoch from '2026-05-28 09:55: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'), 46535, 'SRID=4674;POINT (-38.581976 -3.314061)', '2026-05-28 09:56:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581951 -3.314181)'), GeomFromEWKT('SRID=4674;POINT (-38.581976 -3.314061)'))) / (select extract(epoch from '2026-05-28 09:56:01'::timestamp) - extract(epoch from '2026-05-28 09:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581951 -3.314181)'), GeomFromEWKT('SRID=4674;POINT (-38.581976 -3.314061)'))) / (select extract(epoch from '2026-05-28 09:56:01'::timestamp) - extract(epoch from '2026-05-28 09:55: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'), 46535, 'SRID=4674;POINT (-38.581981 -3.314042)', '2026-05-28 09:56:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581976 -3.314061)'), GeomFromEWKT('SRID=4674;POINT (-38.581981 -3.314042)'))) / (select extract(epoch from '2026-05-28 09:56:02'::timestamp) - extract(epoch from '2026-05-28 09:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581976 -3.314061)'), GeomFromEWKT('SRID=4674;POINT (-38.581981 -3.314042)'))) / (select extract(epoch from '2026-05-28 09:56:02'::timestamp) - extract(epoch from '2026-05-28 09:56:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582013 -3.313969)', '2026-05-28 09:56:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581981 -3.314042)'), GeomFromEWKT('SRID=4674;POINT (-38.582013 -3.313969)'))) / (select extract(epoch from '2026-05-28 09:56:05'::timestamp) - extract(epoch from '2026-05-28 09:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581981 -3.314042)'), GeomFromEWKT('SRID=4674;POINT (-38.582013 -3.313969)'))) / (select extract(epoch from '2026-05-28 09:56:05'::timestamp) - extract(epoch from '2026-05-28 09:56:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582018 -3.313889)', '2026-05-28 09:56:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582013 -3.313969)'), GeomFromEWKT('SRID=4674;POINT (-38.582018 -3.313889)'))) / (select extract(epoch from '2026-05-28 09:56:09'::timestamp) - extract(epoch from '2026-05-28 09:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582013 -3.313969)'), GeomFromEWKT('SRID=4674;POINT (-38.582018 -3.313889)'))) / (select extract(epoch from '2026-05-28 09:56:09'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.582035 -3.31379)', '2026-05-28 09:56:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582018 -3.313889)'), GeomFromEWKT('SRID=4674;POINT (-38.582035 -3.31379)'))) / (select extract(epoch from '2026-05-28 09:56:13'::timestamp) - extract(epoch from '2026-05-28 09:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582018 -3.313889)'), GeomFromEWKT('SRID=4674;POINT (-38.582035 -3.31379)'))) / (select extract(epoch from '2026-05-28 09:56:13'::timestamp) - extract(epoch from '2026-05-28 09:56: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'), 46535, 'SRID=4674;POINT (-38.582053 -3.313685)', '2026-05-28 09:56:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582035 -3.31379)'), GeomFromEWKT('SRID=4674;POINT (-38.582053 -3.313685)'))) / (select extract(epoch from '2026-05-28 09:56:18'::timestamp) - extract(epoch from '2026-05-28 09:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582035 -3.31379)'), GeomFromEWKT('SRID=4674;POINT (-38.582053 -3.313685)'))) / (select extract(epoch from '2026-05-28 09:56:18'::timestamp) - extract(epoch from '2026-05-28 09:56: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'), 46535, 'SRID=4674;POINT (-38.582067 -3.313579)', '2026-05-28 09:56:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582053 -3.313685)'), GeomFromEWKT('SRID=4674;POINT (-38.582067 -3.313579)'))) / (select extract(epoch from '2026-05-28 09:56:23'::timestamp) - extract(epoch from '2026-05-28 09:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582053 -3.313685)'), GeomFromEWKT('SRID=4674;POINT (-38.582067 -3.313579)'))) / (select extract(epoch from '2026-05-28 09:56:23'::timestamp) - extract(epoch from '2026-05-28 09:56: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'), 46535, 'SRID=4674;POINT (-38.582076 -3.313467)', '2026-05-28 09:56:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582067 -3.313579)'), GeomFromEWKT('SRID=4674;POINT (-38.582076 -3.313467)'))) / (select extract(epoch from '2026-05-28 09:56:28'::timestamp) - extract(epoch from '2026-05-28 09:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582067 -3.313579)'), GeomFromEWKT('SRID=4674;POINT (-38.582076 -3.313467)'))) / (select extract(epoch from '2026-05-28 09:56:28'::timestamp) - extract(epoch from '2026-05-28 09:56:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582105 -3.313327)', '2026-05-28 09:56:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582076 -3.313467)'), GeomFromEWKT('SRID=4674;POINT (-38.582105 -3.313327)'))) / (select extract(epoch from '2026-05-28 09:56:34'::timestamp) - extract(epoch from '2026-05-28 09:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582076 -3.313467)'), GeomFromEWKT('SRID=4674;POINT (-38.582105 -3.313327)'))) / (select extract(epoch from '2026-05-28 09:56:34'::timestamp) - extract(epoch from '2026-05-28 09:56:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582153 -3.313179)', '2026-05-28 09:56:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582105 -3.313327)'), GeomFromEWKT('SRID=4674;POINT (-38.582153 -3.313179)'))) / (select extract(epoch from '2026-05-28 09:56:41'::timestamp) - extract(epoch from '2026-05-28 09:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582105 -3.313327)'), GeomFromEWKT('SRID=4674;POINT (-38.582153 -3.313179)'))) / (select extract(epoch from '2026-05-28 09:56:41'::timestamp) - extract(epoch from '2026-05-28 09:56: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'), 46535, 'SRID=4674;POINT (-38.582185 -3.313044)', '2026-05-28 09:56:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582153 -3.313179)'), GeomFromEWKT('SRID=4674;POINT (-38.582185 -3.313044)'))) / (select extract(epoch from '2026-05-28 09:56:47'::timestamp) - extract(epoch from '2026-05-28 09:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582153 -3.313179)'), GeomFromEWKT('SRID=4674;POINT (-38.582185 -3.313044)'))) / (select extract(epoch from '2026-05-28 09:56:47'::timestamp) - extract(epoch from '2026-05-28 09:56: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'), 46535, 'SRID=4674;POINT (-38.582228 -3.312912)', '2026-05-28 09:56:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582185 -3.313044)'), GeomFromEWKT('SRID=4674;POINT (-38.582228 -3.312912)'))) / (select extract(epoch from '2026-05-28 09:56:53'::timestamp) - extract(epoch from '2026-05-28 09:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582185 -3.313044)'), GeomFromEWKT('SRID=4674;POINT (-38.582228 -3.312912)'))) / (select extract(epoch from '2026-05-28 09:56:53'::timestamp) - extract(epoch from '2026-05-28 09:56: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'), 46535, 'SRID=4674;POINT (-38.582245 -3.312821)', '2026-05-28 09:56:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582228 -3.312912)'), GeomFromEWKT('SRID=4674;POINT (-38.582245 -3.312821)'))) / (select extract(epoch from '2026-05-28 09:56:57'::timestamp) - extract(epoch from '2026-05-28 09:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582228 -3.312912)'), GeomFromEWKT('SRID=4674;POINT (-38.582245 -3.312821)'))) / (select extract(epoch from '2026-05-28 09:56:57'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.582253 -3.312724)', '2026-05-28 09:57:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582245 -3.312821)'), GeomFromEWKT('SRID=4674;POINT (-38.582253 -3.312724)'))) / (select extract(epoch from '2026-05-28 09:57:01'::timestamp) - extract(epoch from '2026-05-28 09:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582245 -3.312821)'), GeomFromEWKT('SRID=4674;POINT (-38.582253 -3.312724)'))) / (select extract(epoch from '2026-05-28 09:57:01'::timestamp) - extract(epoch from '2026-05-28 09:56: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'), 46535, 'SRID=4674;POINT (-38.582259 -3.312608)', '2026-05-28 09:57:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582253 -3.312724)'), GeomFromEWKT('SRID=4674;POINT (-38.582259 -3.312608)'))) / (select extract(epoch from '2026-05-28 09:57:06'::timestamp) - extract(epoch from '2026-05-28 09:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582253 -3.312724)'), GeomFromEWKT('SRID=4674;POINT (-38.582259 -3.312608)'))) / (select extract(epoch from '2026-05-28 09:57:06'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.582257 -3.312497)', '2026-05-28 09:57:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582259 -3.312608)'), GeomFromEWKT('SRID=4674;POINT (-38.582257 -3.312497)'))) / (select extract(epoch from '2026-05-28 09:57:11'::timestamp) - extract(epoch from '2026-05-28 09:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582259 -3.312608)'), GeomFromEWKT('SRID=4674;POINT (-38.582257 -3.312497)'))) / (select extract(epoch from '2026-05-28 09:57:11'::timestamp) - extract(epoch from '2026-05-28 09:57: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'), 46535, 'SRID=4674;POINT (-38.582265 -3.312387)', '2026-05-28 09:57:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582257 -3.312497)'), GeomFromEWKT('SRID=4674;POINT (-38.582265 -3.312387)'))) / (select extract(epoch from '2026-05-28 09:57:16'::timestamp) - extract(epoch from '2026-05-28 09:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582257 -3.312497)'), GeomFromEWKT('SRID=4674;POINT (-38.582265 -3.312387)'))) / (select extract(epoch from '2026-05-28 09:57:16'::timestamp) - extract(epoch from '2026-05-28 09:57:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582271 -3.312242)', '2026-05-28 09:57:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582265 -3.312387)'), GeomFromEWKT('SRID=4674;POINT (-38.582271 -3.312242)'))) / (select extract(epoch from '2026-05-28 09:57:23'::timestamp) - extract(epoch from '2026-05-28 09:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582265 -3.312387)'), GeomFromEWKT('SRID=4674;POINT (-38.582271 -3.312242)'))) / (select extract(epoch from '2026-05-28 09:57:23'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.582252 -3.312107)', '2026-05-28 09:57:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582271 -3.312242)'), GeomFromEWKT('SRID=4674;POINT (-38.582252 -3.312107)'))) / (select extract(epoch from '2026-05-28 09:57:30'::timestamp) - extract(epoch from '2026-05-28 09:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582271 -3.312242)'), GeomFromEWKT('SRID=4674;POINT (-38.582252 -3.312107)'))) / (select extract(epoch from '2026-05-28 09:57:30'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.582231 -3.311947)', '2026-05-28 09:57:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582252 -3.312107)'), GeomFromEWKT('SRID=4674;POINT (-38.582231 -3.311947)'))) / (select extract(epoch from '2026-05-28 09:57:38'::timestamp) - extract(epoch from '2026-05-28 09:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582252 -3.312107)'), GeomFromEWKT('SRID=4674;POINT (-38.582231 -3.311947)'))) / (select extract(epoch from '2026-05-28 09:57:38'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.582208 -3.311839)', '2026-05-28 09:57:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582231 -3.311947)'), GeomFromEWKT('SRID=4674;POINT (-38.582208 -3.311839)'))) / (select extract(epoch from '2026-05-28 09:57:43'::timestamp) - extract(epoch from '2026-05-28 09:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582231 -3.311947)'), GeomFromEWKT('SRID=4674;POINT (-38.582208 -3.311839)'))) / (select extract(epoch from '2026-05-28 09:57:43'::timestamp) - extract(epoch from '2026-05-28 09:57:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58219 -3.31171)', '2026-05-28 09:57:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582208 -3.311839)'), GeomFromEWKT('SRID=4674;POINT (-38.58219 -3.31171)'))) / (select extract(epoch from '2026-05-28 09:57:49'::timestamp) - extract(epoch from '2026-05-28 09:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582208 -3.311839)'), GeomFromEWKT('SRID=4674;POINT (-38.58219 -3.31171)'))) / (select extract(epoch from '2026-05-28 09:57:49'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.58218 -3.311604)', '2026-05-28 09:57:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58219 -3.31171)'), GeomFromEWKT('SRID=4674;POINT (-38.58218 -3.311604)'))) / (select extract(epoch from '2026-05-28 09:57:54'::timestamp) - extract(epoch from '2026-05-28 09:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58219 -3.31171)'), GeomFromEWKT('SRID=4674;POINT (-38.58218 -3.311604)'))) / (select extract(epoch from '2026-05-28 09:57:54'::timestamp) - extract(epoch from '2026-05-28 09:57: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'), 46535, 'SRID=4674;POINT (-38.582167 -3.311496)', '2026-05-28 09:57:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58218 -3.311604)'), GeomFromEWKT('SRID=4674;POINT (-38.582167 -3.311496)'))) / (select extract(epoch from '2026-05-28 09:57:59'::timestamp) - extract(epoch from '2026-05-28 09:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58218 -3.311604)'), GeomFromEWKT('SRID=4674;POINT (-38.582167 -3.311496)'))) / (select extract(epoch from '2026-05-28 09:57:59'::timestamp) - extract(epoch from '2026-05-28 09:57: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'), 46535, 'SRID=4674;POINT (-38.582167 -3.311399)', '2026-05-28 09:58:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582167 -3.311496)'), GeomFromEWKT('SRID=4674;POINT (-38.582167 -3.311399)'))) / (select extract(epoch from '2026-05-28 09:58:04'::timestamp) - extract(epoch from '2026-05-28 09:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582167 -3.311496)'), GeomFromEWKT('SRID=4674;POINT (-38.582167 -3.311399)'))) / (select extract(epoch from '2026-05-28 09:58:04'::timestamp) - extract(epoch from '2026-05-28 09:57: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'), 46535, 'SRID=4674;POINT (-38.582171 -3.311294)', '2026-05-28 09:58:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582167 -3.311399)'), GeomFromEWKT('SRID=4674;POINT (-38.582171 -3.311294)'))) / (select extract(epoch from '2026-05-28 09:58:09'::timestamp) - extract(epoch from '2026-05-28 09:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582167 -3.311399)'), GeomFromEWKT('SRID=4674;POINT (-38.582171 -3.311294)'))) / (select extract(epoch from '2026-05-28 09:58:09'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.582175 -3.31127)', '2026-05-28 09:58:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582171 -3.311294)'), GeomFromEWKT('SRID=4674;POINT (-38.582175 -3.31127)'))) / (select extract(epoch from '2026-05-28 09:58:10'::timestamp) - extract(epoch from '2026-05-28 09:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582171 -3.311294)'), GeomFromEWKT('SRID=4674;POINT (-38.582175 -3.31127)'))) / (select extract(epoch from '2026-05-28 09:58:10'::timestamp) - extract(epoch from '2026-05-28 09:58: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'), 46535, 'SRID=4674;POINT (-38.582168 -3.311165)', '2026-05-28 09:58:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582175 -3.31127)'), GeomFromEWKT('SRID=4674;POINT (-38.582168 -3.311165)'))) / (select extract(epoch from '2026-05-28 09:58:15'::timestamp) - extract(epoch from '2026-05-28 09:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582175 -3.31127)'), GeomFromEWKT('SRID=4674;POINT (-38.582168 -3.311165)'))) / (select extract(epoch from '2026-05-28 09:58:15'::timestamp) - extract(epoch from '2026-05-28 09:58: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'), 46535, 'SRID=4674;POINT (-38.582183 -3.311053)', '2026-05-28 09:58:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582168 -3.311165)'), GeomFromEWKT('SRID=4674;POINT (-38.582183 -3.311053)'))) / (select extract(epoch from '2026-05-28 09:58:20'::timestamp) - extract(epoch from '2026-05-28 09:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582168 -3.311165)'), GeomFromEWKT('SRID=4674;POINT (-38.582183 -3.311053)'))) / (select extract(epoch from '2026-05-28 09:58:20'::timestamp) - extract(epoch from '2026-05-28 09:58: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'), 46535, 'SRID=4674;POINT (-38.582184 -3.311036)', '2026-05-28 09:58:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582183 -3.311053)'), GeomFromEWKT('SRID=4674;POINT (-38.582184 -3.311036)'))) / (select extract(epoch from '2026-05-28 09:58:21'::timestamp) - extract(epoch from '2026-05-28 09:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582183 -3.311053)'), GeomFromEWKT('SRID=4674;POINT (-38.582184 -3.311036)'))) / (select extract(epoch from '2026-05-28 09:58:21'::timestamp) - extract(epoch from '2026-05-28 09:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582199 -3.31097)', '2026-05-28 09:58:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582184 -3.311036)'), GeomFromEWKT('SRID=4674;POINT (-38.582199 -3.31097)'))) / (select extract(epoch from '2026-05-28 09:58:24'::timestamp) - extract(epoch from '2026-05-28 09:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582184 -3.311036)'), GeomFromEWKT('SRID=4674;POINT (-38.582199 -3.31097)'))) / (select extract(epoch from '2026-05-28 09:58:24'::timestamp) - extract(epoch from '2026-05-28 09:58:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582217 -3.310825)', '2026-05-28 09:58:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582199 -3.31097)'), GeomFromEWKT('SRID=4674;POINT (-38.582217 -3.310825)'))) / (select extract(epoch from '2026-05-28 09:58:31'::timestamp) - extract(epoch from '2026-05-28 09:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582199 -3.31097)'), GeomFromEWKT('SRID=4674;POINT (-38.582217 -3.310825)'))) / (select extract(epoch from '2026-05-28 09:58:31'::timestamp) - extract(epoch from '2026-05-28 09:58: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'), 46535, 'SRID=4674;POINT (-38.58222 -3.310755)', '2026-05-28 09:58:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582217 -3.310825)'), GeomFromEWKT('SRID=4674;POINT (-38.58222 -3.310755)'))) / (select extract(epoch from '2026-05-28 09:58:35'::timestamp) - extract(epoch from '2026-05-28 09:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582217 -3.310825)'), GeomFromEWKT('SRID=4674;POINT (-38.58222 -3.310755)'))) / (select extract(epoch from '2026-05-28 09:58:35'::timestamp) - extract(epoch from '2026-05-28 09:58:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582228 -3.310733)', '2026-05-28 09:58:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58222 -3.310755)'), GeomFromEWKT('SRID=4674;POINT (-38.582228 -3.310733)'))) / (select extract(epoch from '2026-05-28 09:58:36'::timestamp) - extract(epoch from '2026-05-28 09:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58222 -3.310755)'), GeomFromEWKT('SRID=4674;POINT (-38.582228 -3.310733)'))) / (select extract(epoch from '2026-05-28 09:58:36'::timestamp) - extract(epoch from '2026-05-28 09:58: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'), 46535, 'SRID=4674;POINT (-38.582242 -3.310636)', '2026-05-28 09:58:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582228 -3.310733)'), GeomFromEWKT('SRID=4674;POINT (-38.582242 -3.310636)'))) / (select extract(epoch from '2026-05-28 09:58:41'::timestamp) - extract(epoch from '2026-05-28 09:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582228 -3.310733)'), GeomFromEWKT('SRID=4674;POINT (-38.582242 -3.310636)'))) / (select extract(epoch from '2026-05-28 09:58:41'::timestamp) - extract(epoch from '2026-05-28 09:58:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582255 -3.310516)', '2026-05-28 09:58:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582242 -3.310636)'), GeomFromEWKT('SRID=4674;POINT (-38.582255 -3.310516)'))) / (select extract(epoch from '2026-05-28 09:58:47'::timestamp) - extract(epoch from '2026-05-28 09:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582242 -3.310636)'), GeomFromEWKT('SRID=4674;POINT (-38.582255 -3.310516)'))) / (select extract(epoch from '2026-05-28 09:58:47'::timestamp) - extract(epoch from '2026-05-28 09:58:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582265 -3.310405)', '2026-05-28 09:58:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582255 -3.310516)'), GeomFromEWKT('SRID=4674;POINT (-38.582265 -3.310405)'))) / (select extract(epoch from '2026-05-28 09:58:53'::timestamp) - extract(epoch from '2026-05-28 09:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582255 -3.310516)'), GeomFromEWKT('SRID=4674;POINT (-38.582265 -3.310405)'))) / (select extract(epoch from '2026-05-28 09:58:53'::timestamp) - extract(epoch from '2026-05-28 09:58: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'), 46535, 'SRID=4674;POINT (-38.582265 -3.310269)', '2026-05-28 09:59:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582265 -3.310405)'), GeomFromEWKT('SRID=4674;POINT (-38.582265 -3.310269)'))) / (select extract(epoch from '2026-05-28 09:59:00'::timestamp) - extract(epoch from '2026-05-28 09:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582265 -3.310405)'), GeomFromEWKT('SRID=4674;POINT (-38.582265 -3.310269)'))) / (select extract(epoch from '2026-05-28 09:59:00'::timestamp) - extract(epoch from '2026-05-28 09:58:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582264 -3.310143)', '2026-05-28 09:59:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582265 -3.310269)'), GeomFromEWKT('SRID=4674;POINT (-38.582264 -3.310143)'))) / (select extract(epoch from '2026-05-28 09:59:06'::timestamp) - extract(epoch from '2026-05-28 09:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582265 -3.310269)'), GeomFromEWKT('SRID=4674;POINT (-38.582264 -3.310143)'))) / (select extract(epoch from '2026-05-28 09:59:06'::timestamp) - extract(epoch from '2026-05-28 09:59: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'), 46535, 'SRID=4674;POINT (-38.582253 -3.310043)', '2026-05-28 09:59:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582264 -3.310143)'), GeomFromEWKT('SRID=4674;POINT (-38.582253 -3.310043)'))) / (select extract(epoch from '2026-05-28 09:59:11'::timestamp) - extract(epoch from '2026-05-28 09:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582264 -3.310143)'), GeomFromEWKT('SRID=4674;POINT (-38.582253 -3.310043)'))) / (select extract(epoch from '2026-05-28 09:59:11'::timestamp) - extract(epoch from '2026-05-28 09:59: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'), 46535, 'SRID=4674;POINT (-38.582253 -3.309942)', '2026-05-28 09:59:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582253 -3.310043)'), GeomFromEWKT('SRID=4674;POINT (-38.582253 -3.309942)'))) / (select extract(epoch from '2026-05-28 09:59:16'::timestamp) - extract(epoch from '2026-05-28 09:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582253 -3.310043)'), GeomFromEWKT('SRID=4674;POINT (-38.582253 -3.309942)'))) / (select extract(epoch from '2026-05-28 09:59:16'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.582253 -3.309852)', '2026-05-28 09:59:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582253 -3.309942)'), GeomFromEWKT('SRID=4674;POINT (-38.582253 -3.309852)'))) / (select extract(epoch from '2026-05-28 09:59:21'::timestamp) - extract(epoch from '2026-05-28 09:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582253 -3.309942)'), GeomFromEWKT('SRID=4674;POINT (-38.582253 -3.309852)'))) / (select extract(epoch from '2026-05-28 09:59:21'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.58225 -3.309754)', '2026-05-28 09:59:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582253 -3.309852)'), GeomFromEWKT('SRID=4674;POINT (-38.58225 -3.309754)'))) / (select extract(epoch from '2026-05-28 09:59:26'::timestamp) - extract(epoch from '2026-05-28 09:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582253 -3.309852)'), GeomFromEWKT('SRID=4674;POINT (-38.58225 -3.309754)'))) / (select extract(epoch from '2026-05-28 09:59:26'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.582246 -3.309653)', '2026-05-28 09:59:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58225 -3.309754)'), GeomFromEWKT('SRID=4674;POINT (-38.582246 -3.309653)'))) / (select extract(epoch from '2026-05-28 09:59:31'::timestamp) - extract(epoch from '2026-05-28 09:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58225 -3.309754)'), GeomFromEWKT('SRID=4674;POINT (-38.582246 -3.309653)'))) / (select extract(epoch from '2026-05-28 09:59:31'::timestamp) - extract(epoch from '2026-05-28 09:59: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'), 46535, 'SRID=4674;POINT (-38.58223 -3.309543)', '2026-05-28 09:59:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582246 -3.309653)'), GeomFromEWKT('SRID=4674;POINT (-38.58223 -3.309543)'))) / (select extract(epoch from '2026-05-28 09:59:37'::timestamp) - extract(epoch from '2026-05-28 09:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582246 -3.309653)'), GeomFromEWKT('SRID=4674;POINT (-38.58223 -3.309543)'))) / (select extract(epoch from '2026-05-28 09:59:37'::timestamp) - extract(epoch from '2026-05-28 09:59: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'), 46535, 'SRID=4674;POINT (-38.582213 -3.309442)', '2026-05-28 09:59:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58223 -3.309543)'), GeomFromEWKT('SRID=4674;POINT (-38.582213 -3.309442)'))) / (select extract(epoch from '2026-05-28 09:59:42'::timestamp) - extract(epoch from '2026-05-28 09:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58223 -3.309543)'), GeomFromEWKT('SRID=4674;POINT (-38.582213 -3.309442)'))) / (select extract(epoch from '2026-05-28 09:59:42'::timestamp) - extract(epoch from '2026-05-28 09:59: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'), 46535, 'SRID=4674;POINT (-38.582202 -3.309311)', '2026-05-28 09:59:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582213 -3.309442)'), GeomFromEWKT('SRID=4674;POINT (-38.582202 -3.309311)'))) / (select extract(epoch from '2026-05-28 09:59:49'::timestamp) - extract(epoch from '2026-05-28 09:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582213 -3.309442)'), GeomFromEWKT('SRID=4674;POINT (-38.582202 -3.309311)'))) / (select extract(epoch from '2026-05-28 09:59:49'::timestamp) - extract(epoch from '2026-05-28 09:59: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'), 46535, 'SRID=4674;POINT (-38.582199 -3.30921)', '2026-05-28 09:59:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582202 -3.309311)'), GeomFromEWKT('SRID=4674;POINT (-38.582199 -3.30921)'))) / (select extract(epoch from '2026-05-28 09:59:54'::timestamp) - extract(epoch from '2026-05-28 09:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582202 -3.309311)'), GeomFromEWKT('SRID=4674;POINT (-38.582199 -3.30921)'))) / (select extract(epoch from '2026-05-28 09:59:54'::timestamp) - extract(epoch from '2026-05-28 09:59: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'), 46535, 'SRID=4674;POINT (-38.582203 -3.309093)', '2026-05-28 10:00:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582199 -3.30921)'), GeomFromEWKT('SRID=4674;POINT (-38.582203 -3.309093)'))) / (select extract(epoch from '2026-05-28 10:00:00'::timestamp) - extract(epoch from '2026-05-28 09:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582199 -3.30921)'), GeomFromEWKT('SRID=4674;POINT (-38.582203 -3.309093)'))) / (select extract(epoch from '2026-05-28 10:00:00'::timestamp) - extract(epoch from '2026-05-28 09:59: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'), 46535, 'SRID=4674;POINT (-38.582205 -3.309037)', '2026-05-28 10:00:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582203 -3.309093)'), GeomFromEWKT('SRID=4674;POINT (-38.582205 -3.309037)'))) / (select extract(epoch from '2026-05-28 10:00:03'::timestamp) - extract(epoch from '2026-05-28 10:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582203 -3.309093)'), GeomFromEWKT('SRID=4674;POINT (-38.582205 -3.309037)'))) / (select extract(epoch from '2026-05-28 10:00:03'::timestamp) - extract(epoch from '2026-05-28 10:00: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'), 46535, 'SRID=4674;POINT (-38.582198 -3.309021)', '2026-05-28 10:00:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582205 -3.309037)'), GeomFromEWKT('SRID=4674;POINT (-38.582198 -3.309021)'))) / (select extract(epoch from '2026-05-28 10:00:04'::timestamp) - extract(epoch from '2026-05-28 10:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582205 -3.309037)'), GeomFromEWKT('SRID=4674;POINT (-38.582198 -3.309021)'))) / (select extract(epoch from '2026-05-28 10:00:04'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.582198 -3.309001)', '2026-05-28 10:00:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582198 -3.309021)'), GeomFromEWKT('SRID=4674;POINT (-38.582198 -3.309001)'))) / (select extract(epoch from '2026-05-28 10:00:05'::timestamp) - extract(epoch from '2026-05-28 10:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582198 -3.309021)'), GeomFromEWKT('SRID=4674;POINT (-38.582198 -3.309001)'))) / (select extract(epoch from '2026-05-28 10:00:05'::timestamp) - extract(epoch from '2026-05-28 10:00: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'), 46535, 'SRID=4674;POINT (-38.582185 -3.308924)', '2026-05-28 10:00:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582198 -3.309001)'), GeomFromEWKT('SRID=4674;POINT (-38.582185 -3.308924)'))) / (select extract(epoch from '2026-05-28 10:00:09'::timestamp) - extract(epoch from '2026-05-28 10:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582198 -3.309001)'), GeomFromEWKT('SRID=4674;POINT (-38.582185 -3.308924)'))) / (select extract(epoch from '2026-05-28 10:00:09'::timestamp) - extract(epoch from '2026-05-28 10:00: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'), 46535, 'SRID=4674;POINT (-38.582155 -3.30879)', '2026-05-28 10:00:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582185 -3.308924)'), GeomFromEWKT('SRID=4674;POINT (-38.582155 -3.30879)'))) / (select extract(epoch from '2026-05-28 10:00:16'::timestamp) - extract(epoch from '2026-05-28 10:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582185 -3.308924)'), GeomFromEWKT('SRID=4674;POINT (-38.582155 -3.30879)'))) / (select extract(epoch from '2026-05-28 10:00:16'::timestamp) - extract(epoch from '2026-05-28 10:00: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'), 46535, 'SRID=4674;POINT (-38.582128 -3.308701)', '2026-05-28 10:00:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582155 -3.30879)'), GeomFromEWKT('SRID=4674;POINT (-38.582128 -3.308701)'))) / (select extract(epoch from '2026-05-28 10:00:21'::timestamp) - extract(epoch from '2026-05-28 10:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582155 -3.30879)'), GeomFromEWKT('SRID=4674;POINT (-38.582128 -3.308701)'))) / (select extract(epoch from '2026-05-28 10:00:21'::timestamp) - extract(epoch from '2026-05-28 10:00: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'), 46535, 'SRID=4674;POINT (-38.582108 -3.308612)', '2026-05-28 10:00:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582128 -3.308701)'), GeomFromEWKT('SRID=4674;POINT (-38.582108 -3.308612)'))) / (select extract(epoch from '2026-05-28 10:00:26'::timestamp) - extract(epoch from '2026-05-28 10:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582128 -3.308701)'), GeomFromEWKT('SRID=4674;POINT (-38.582108 -3.308612)'))) / (select extract(epoch from '2026-05-28 10:00:26'::timestamp) - extract(epoch from '2026-05-28 10:00:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582082 -3.3085)', '2026-05-28 10:00:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582108 -3.308612)'), GeomFromEWKT('SRID=4674;POINT (-38.582082 -3.3085)'))) / (select extract(epoch from '2026-05-28 10:00:32'::timestamp) - extract(epoch from '2026-05-28 10:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582108 -3.308612)'), GeomFromEWKT('SRID=4674;POINT (-38.582082 -3.3085)'))) / (select extract(epoch from '2026-05-28 10:00:32'::timestamp) - extract(epoch from '2026-05-28 10:00: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'), 46535, 'SRID=4674;POINT (-38.582052 -3.308385)', '2026-05-28 10:00:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582082 -3.3085)'), GeomFromEWKT('SRID=4674;POINT (-38.582052 -3.308385)'))) / (select extract(epoch from '2026-05-28 10:00:38'::timestamp) - extract(epoch from '2026-05-28 10:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582082 -3.3085)'), GeomFromEWKT('SRID=4674;POINT (-38.582052 -3.308385)'))) / (select extract(epoch from '2026-05-28 10:00:38'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.582035 -3.308273)', '2026-05-28 10:00:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582052 -3.308385)'), GeomFromEWKT('SRID=4674;POINT (-38.582035 -3.308273)'))) / (select extract(epoch from '2026-05-28 10:00:44'::timestamp) - extract(epoch from '2026-05-28 10:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582052 -3.308385)'), GeomFromEWKT('SRID=4674;POINT (-38.582035 -3.308273)'))) / (select extract(epoch from '2026-05-28 10:00:44'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.582015 -3.308146)', '2026-05-28 10:00:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582035 -3.308273)'), GeomFromEWKT('SRID=4674;POINT (-38.582015 -3.308146)'))) / (select extract(epoch from '2026-05-28 10:00:51'::timestamp) - extract(epoch from '2026-05-28 10:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582035 -3.308273)'), GeomFromEWKT('SRID=4674;POINT (-38.582015 -3.308146)'))) / (select extract(epoch from '2026-05-28 10:00:51'::timestamp) - extract(epoch from '2026-05-28 10:00: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'), 46535, 'SRID=4674;POINT (-38.582004 -3.30801)', '2026-05-28 10:00:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582015 -3.308146)'), GeomFromEWKT('SRID=4674;POINT (-38.582004 -3.30801)'))) / (select extract(epoch from '2026-05-28 10:00:58'::timestamp) - extract(epoch from '2026-05-28 10:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582015 -3.308146)'), GeomFromEWKT('SRID=4674;POINT (-38.582004 -3.30801)'))) / (select extract(epoch from '2026-05-28 10:00:58'::timestamp) - extract(epoch from '2026-05-28 10:00: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'), 46535, 'SRID=4674;POINT (-38.582013 -3.307918)', '2026-05-28 10:01:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582004 -3.30801)'), GeomFromEWKT('SRID=4674;POINT (-38.582013 -3.307918)'))) / (select extract(epoch from '2026-05-28 10:01:03'::timestamp) - extract(epoch from '2026-05-28 10:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582004 -3.30801)'), GeomFromEWKT('SRID=4674;POINT (-38.582013 -3.307918)'))) / (select extract(epoch from '2026-05-28 10:01:03'::timestamp) - extract(epoch from '2026-05-28 10:00: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'), 46535, 'SRID=4674;POINT (-38.582016 -3.307809)', '2026-05-28 10:01:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582013 -3.307918)'), GeomFromEWKT('SRID=4674;POINT (-38.582016 -3.307809)'))) / (select extract(epoch from '2026-05-28 10:01:08'::timestamp) - extract(epoch from '2026-05-28 10:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582013 -3.307918)'), GeomFromEWKT('SRID=4674;POINT (-38.582016 -3.307809)'))) / (select extract(epoch from '2026-05-28 10:01:08'::timestamp) - extract(epoch from '2026-05-28 10:01: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'), 46535, 'SRID=4674;POINT (-38.582031 -3.30765)', '2026-05-28 10:01:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582016 -3.307809)'), GeomFromEWKT('SRID=4674;POINT (-38.582031 -3.30765)'))) / (select extract(epoch from '2026-05-28 10:01:15'::timestamp) - extract(epoch from '2026-05-28 10:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582016 -3.307809)'), GeomFromEWKT('SRID=4674;POINT (-38.582031 -3.30765)'))) / (select extract(epoch from '2026-05-28 10:01:15'::timestamp) - extract(epoch from '2026-05-28 10:01: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'), 46535, 'SRID=4674;POINT (-38.582037 -3.307542)', '2026-05-28 10:01:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582031 -3.30765)'), GeomFromEWKT('SRID=4674;POINT (-38.582037 -3.307542)'))) / (select extract(epoch from '2026-05-28 10:01:20'::timestamp) - extract(epoch from '2026-05-28 10:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582031 -3.30765)'), GeomFromEWKT('SRID=4674;POINT (-38.582037 -3.307542)'))) / (select extract(epoch from '2026-05-28 10:01:20'::timestamp) - extract(epoch from '2026-05-28 10:01: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'), 46535, 'SRID=4674;POINT (-38.582044 -3.307435)', '2026-05-28 10:01:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582037 -3.307542)'), GeomFromEWKT('SRID=4674;POINT (-38.582044 -3.307435)'))) / (select extract(epoch from '2026-05-28 10:01:25'::timestamp) - extract(epoch from '2026-05-28 10:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582037 -3.307542)'), GeomFromEWKT('SRID=4674;POINT (-38.582044 -3.307435)'))) / (select extract(epoch from '2026-05-28 10:01:25'::timestamp) - extract(epoch from '2026-05-28 10:01: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'), 46535, 'SRID=4674;POINT (-38.582066 -3.307298)', '2026-05-28 10:01:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582044 -3.307435)'), GeomFromEWKT('SRID=4674;POINT (-38.582066 -3.307298)'))) / (select extract(epoch from '2026-05-28 10:01:31'::timestamp) - extract(epoch from '2026-05-28 10:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582044 -3.307435)'), GeomFromEWKT('SRID=4674;POINT (-38.582066 -3.307298)'))) / (select extract(epoch from '2026-05-28 10:01:31'::timestamp) - extract(epoch from '2026-05-28 10:01:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582067 -3.307258)', '2026-05-28 10:01:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582066 -3.307298)'), GeomFromEWKT('SRID=4674;POINT (-38.582067 -3.307258)'))) / (select extract(epoch from '2026-05-28 10:01:33'::timestamp) - extract(epoch from '2026-05-28 10:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582066 -3.307298)'), GeomFromEWKT('SRID=4674;POINT (-38.582067 -3.307258)'))) / (select extract(epoch from '2026-05-28 10:01:33'::timestamp) - extract(epoch from '2026-05-28 10:01: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'), 46535, 'SRID=4674;POINT (-38.582082 -3.307209)', '2026-05-28 10:01:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582067 -3.307258)'), GeomFromEWKT('SRID=4674;POINT (-38.582082 -3.307209)'))) / (select extract(epoch from '2026-05-28 10:01:35'::timestamp) - extract(epoch from '2026-05-28 10:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582067 -3.307258)'), GeomFromEWKT('SRID=4674;POINT (-38.582082 -3.307209)'))) / (select extract(epoch from '2026-05-28 10:01:35'::timestamp) - extract(epoch from '2026-05-28 10:01:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582072 -3.307121)', '2026-05-28 10:01:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582082 -3.307209)'), GeomFromEWKT('SRID=4674;POINT (-38.582072 -3.307121)'))) / (select extract(epoch from '2026-05-28 10:01:39'::timestamp) - extract(epoch from '2026-05-28 10:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582082 -3.307209)'), GeomFromEWKT('SRID=4674;POINT (-38.582072 -3.307121)'))) / (select extract(epoch from '2026-05-28 10:01:39'::timestamp) - extract(epoch from '2026-05-28 10:01: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'), 46535, 'SRID=4674;POINT (-38.582069 -3.307012)', '2026-05-28 10:01:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582072 -3.307121)'), GeomFromEWKT('SRID=4674;POINT (-38.582069 -3.307012)'))) / (select extract(epoch from '2026-05-28 10:01:44'::timestamp) - extract(epoch from '2026-05-28 10:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582072 -3.307121)'), GeomFromEWKT('SRID=4674;POINT (-38.582069 -3.307012)'))) / (select extract(epoch from '2026-05-28 10:01:44'::timestamp) - extract(epoch from '2026-05-28 10:01: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'), 46535, 'SRID=4674;POINT (-38.58207 -3.306887)', '2026-05-28 10:01:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582069 -3.307012)'), GeomFromEWKT('SRID=4674;POINT (-38.58207 -3.306887)'))) / (select extract(epoch from '2026-05-28 10:01:50'::timestamp) - extract(epoch from '2026-05-28 10:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582069 -3.307012)'), GeomFromEWKT('SRID=4674;POINT (-38.58207 -3.306887)'))) / (select extract(epoch from '2026-05-28 10:01:50'::timestamp) - extract(epoch from '2026-05-28 10:01: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'), 46535, 'SRID=4674;POINT (-38.582071 -3.306728)', '2026-05-28 10:01:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58207 -3.306887)'), GeomFromEWKT('SRID=4674;POINT (-38.582071 -3.306728)'))) / (select extract(epoch from '2026-05-28 10:01:57'::timestamp) - extract(epoch from '2026-05-28 10:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58207 -3.306887)'), GeomFromEWKT('SRID=4674;POINT (-38.582071 -3.306728)'))) / (select extract(epoch from '2026-05-28 10:01:57'::timestamp) - extract(epoch from '2026-05-28 10:01: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'), 46535, 'SRID=4674;POINT (-38.582068 -3.306617)', '2026-05-28 10:02:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582071 -3.306728)'), GeomFromEWKT('SRID=4674;POINT (-38.582068 -3.306617)'))) / (select extract(epoch from '2026-05-28 10:02:02'::timestamp) - extract(epoch from '2026-05-28 10:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582071 -3.306728)'), GeomFromEWKT('SRID=4674;POINT (-38.582068 -3.306617)'))) / (select extract(epoch from '2026-05-28 10:02:02'::timestamp) - extract(epoch from '2026-05-28 10:01: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'), 46535, 'SRID=4674;POINT (-38.58207 -3.306583)', '2026-05-28 10:02:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582068 -3.306617)'), GeomFromEWKT('SRID=4674;POINT (-38.58207 -3.306583)'))) / (select extract(epoch from '2026-05-28 10:02:04'::timestamp) - extract(epoch from '2026-05-28 10:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582068 -3.306617)'), GeomFromEWKT('SRID=4674;POINT (-38.58207 -3.306583)'))) / (select extract(epoch from '2026-05-28 10:02:04'::timestamp) - extract(epoch from '2026-05-28 10:02: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'), 46535, 'SRID=4674;POINT (-38.582078 -3.30654)', '2026-05-28 10:02:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58207 -3.306583)'), GeomFromEWKT('SRID=4674;POINT (-38.582078 -3.30654)'))) / (select extract(epoch from '2026-05-28 10:02:06'::timestamp) - extract(epoch from '2026-05-28 10:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58207 -3.306583)'), GeomFromEWKT('SRID=4674;POINT (-38.582078 -3.30654)'))) / (select extract(epoch from '2026-05-28 10:02:06'::timestamp) - extract(epoch from '2026-05-28 10:02: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'), 46535, 'SRID=4674;POINT (-38.582066 -3.306401)', '2026-05-28 10:02:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582078 -3.30654)'), GeomFromEWKT('SRID=4674;POINT (-38.582066 -3.306401)'))) / (select extract(epoch from '2026-05-28 10:02:13'::timestamp) - extract(epoch from '2026-05-28 10:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582078 -3.30654)'), GeomFromEWKT('SRID=4674;POINT (-38.582066 -3.306401)'))) / (select extract(epoch from '2026-05-28 10:02:13'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.582073 -3.30628)', '2026-05-28 10:02:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582066 -3.306401)'), GeomFromEWKT('SRID=4674;POINT (-38.582073 -3.30628)'))) / (select extract(epoch from '2026-05-28 10:02:19'::timestamp) - extract(epoch from '2026-05-28 10:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582066 -3.306401)'), GeomFromEWKT('SRID=4674;POINT (-38.582073 -3.30628)'))) / (select extract(epoch from '2026-05-28 10:02:19'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.582081 -3.306158)', '2026-05-28 10:02:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582073 -3.30628)'), GeomFromEWKT('SRID=4674;POINT (-38.582081 -3.306158)'))) / (select extract(epoch from '2026-05-28 10:02:25'::timestamp) - extract(epoch from '2026-05-28 10:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582073 -3.30628)'), GeomFromEWKT('SRID=4674;POINT (-38.582081 -3.306158)'))) / (select extract(epoch from '2026-05-28 10:02:25'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.582083 -3.306014)', '2026-05-28 10:02:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582081 -3.306158)'), GeomFromEWKT('SRID=4674;POINT (-38.582083 -3.306014)'))) / (select extract(epoch from '2026-05-28 10:02:32'::timestamp) - extract(epoch from '2026-05-28 10:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582081 -3.306158)'), GeomFromEWKT('SRID=4674;POINT (-38.582083 -3.306014)'))) / (select extract(epoch from '2026-05-28 10:02:32'::timestamp) - extract(epoch from '2026-05-28 10:02:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582092 -3.305903)', '2026-05-28 10:02:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582083 -3.306014)'), GeomFromEWKT('SRID=4674;POINT (-38.582092 -3.305903)'))) / (select extract(epoch from '2026-05-28 10:02:37'::timestamp) - extract(epoch from '2026-05-28 10:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582083 -3.306014)'), GeomFromEWKT('SRID=4674;POINT (-38.582092 -3.305903)'))) / (select extract(epoch from '2026-05-28 10:02:37'::timestamp) - extract(epoch from '2026-05-28 10:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582095 -3.305796)', '2026-05-28 10:02:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582092 -3.305903)'), GeomFromEWKT('SRID=4674;POINT (-38.582095 -3.305796)'))) / (select extract(epoch from '2026-05-28 10:02:42'::timestamp) - extract(epoch from '2026-05-28 10:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582092 -3.305903)'), GeomFromEWKT('SRID=4674;POINT (-38.582095 -3.305796)'))) / (select extract(epoch from '2026-05-28 10:02:42'::timestamp) - extract(epoch from '2026-05-28 10:02: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'), 46535, 'SRID=4674;POINT (-38.582106 -3.305671)', '2026-05-28 10:02:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582095 -3.305796)'), GeomFromEWKT('SRID=4674;POINT (-38.582106 -3.305671)'))) / (select extract(epoch from '2026-05-28 10:02:48'::timestamp) - extract(epoch from '2026-05-28 10:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582095 -3.305796)'), GeomFromEWKT('SRID=4674;POINT (-38.582106 -3.305671)'))) / (select extract(epoch from '2026-05-28 10:02:48'::timestamp) - extract(epoch from '2026-05-28 10:02:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582121 -3.305498)', '2026-05-28 10:02:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582106 -3.305671)'), GeomFromEWKT('SRID=4674;POINT (-38.582121 -3.305498)'))) / (select extract(epoch from '2026-05-28 10:02:56'::timestamp) - extract(epoch from '2026-05-28 10:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582106 -3.305671)'), GeomFromEWKT('SRID=4674;POINT (-38.582121 -3.305498)'))) / (select extract(epoch from '2026-05-28 10:02:56'::timestamp) - extract(epoch from '2026-05-28 10:02: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'), 46535, 'SRID=4674;POINT (-38.582138 -3.305391)', '2026-05-28 10:03:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582121 -3.305498)'), GeomFromEWKT('SRID=4674;POINT (-38.582138 -3.305391)'))) / (select extract(epoch from '2026-05-28 10:03:01'::timestamp) - extract(epoch from '2026-05-28 10:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582121 -3.305498)'), GeomFromEWKT('SRID=4674;POINT (-38.582138 -3.305391)'))) / (select extract(epoch from '2026-05-28 10:03:01'::timestamp) - extract(epoch from '2026-05-28 10:02: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'), 46535, 'SRID=4674;POINT (-38.582136 -3.305356)', '2026-05-28 10:03:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582138 -3.305391)'), GeomFromEWKT('SRID=4674;POINT (-38.582136 -3.305356)'))) / (select extract(epoch from '2026-05-28 10:03:03'::timestamp) - extract(epoch from '2026-05-28 10:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582138 -3.305391)'), GeomFromEWKT('SRID=4674;POINT (-38.582136 -3.305356)'))) / (select extract(epoch from '2026-05-28 10:03:03'::timestamp) - extract(epoch from '2026-05-28 10:03: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'), 46535, 'SRID=4674;POINT (-38.582153 -3.305288)', '2026-05-28 10:03:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582136 -3.305356)'), GeomFromEWKT('SRID=4674;POINT (-38.582153 -3.305288)'))) / (select extract(epoch from '2026-05-28 10:03:06'::timestamp) - extract(epoch from '2026-05-28 10:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582136 -3.305356)'), GeomFromEWKT('SRID=4674;POINT (-38.582153 -3.305288)'))) / (select extract(epoch from '2026-05-28 10:03:06'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.582167 -3.305179)', '2026-05-28 10:03:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582153 -3.305288)'), GeomFromEWKT('SRID=4674;POINT (-38.582167 -3.305179)'))) / (select extract(epoch from '2026-05-28 10:03:11'::timestamp) - extract(epoch from '2026-05-28 10:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582153 -3.305288)'), GeomFromEWKT('SRID=4674;POINT (-38.582167 -3.305179)'))) / (select extract(epoch from '2026-05-28 10:03:11'::timestamp) - extract(epoch from '2026-05-28 10:03: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'), 46535, 'SRID=4674;POINT (-38.582184 -3.305094)', '2026-05-28 10:03:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582167 -3.305179)'), GeomFromEWKT('SRID=4674;POINT (-38.582184 -3.305094)'))) / (select extract(epoch from '2026-05-28 10:03:15'::timestamp) - extract(epoch from '2026-05-28 10:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582167 -3.305179)'), GeomFromEWKT('SRID=4674;POINT (-38.582184 -3.305094)'))) / (select extract(epoch from '2026-05-28 10:03:15'::timestamp) - extract(epoch from '2026-05-28 10:03: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'), 46535, 'SRID=4674;POINT (-38.582194 -3.305075)', '2026-05-28 10:03:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582184 -3.305094)'), GeomFromEWKT('SRID=4674;POINT (-38.582194 -3.305075)'))) / (select extract(epoch from '2026-05-28 10:03:16'::timestamp) - extract(epoch from '2026-05-28 10:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582184 -3.305094)'), GeomFromEWKT('SRID=4674;POINT (-38.582194 -3.305075)'))) / (select extract(epoch from '2026-05-28 10:03:16'::timestamp) - extract(epoch from '2026-05-28 10:03: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'), 46535, 'SRID=4674;POINT (-38.582209 -3.304985)', '2026-05-28 10:03:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582194 -3.305075)'), GeomFromEWKT('SRID=4674;POINT (-38.582209 -3.304985)'))) / (select extract(epoch from '2026-05-28 10:03:20'::timestamp) - extract(epoch from '2026-05-28 10:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582194 -3.305075)'), GeomFromEWKT('SRID=4674;POINT (-38.582209 -3.304985)'))) / (select extract(epoch from '2026-05-28 10:03:20'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.582227 -3.304863)', '2026-05-28 10:03:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582209 -3.304985)'), GeomFromEWKT('SRID=4674;POINT (-38.582227 -3.304863)'))) / (select extract(epoch from '2026-05-28 10:03:26'::timestamp) - extract(epoch from '2026-05-28 10:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582209 -3.304985)'), GeomFromEWKT('SRID=4674;POINT (-38.582227 -3.304863)'))) / (select extract(epoch from '2026-05-28 10:03:26'::timestamp) - extract(epoch from '2026-05-28 10:03:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582246 -3.304738)', '2026-05-28 10:03:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582227 -3.304863)'), GeomFromEWKT('SRID=4674;POINT (-38.582246 -3.304738)'))) / (select extract(epoch from '2026-05-28 10:03:32'::timestamp) - extract(epoch from '2026-05-28 10:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582227 -3.304863)'), GeomFromEWKT('SRID=4674;POINT (-38.582246 -3.304738)'))) / (select extract(epoch from '2026-05-28 10:03:32'::timestamp) - extract(epoch from '2026-05-28 10:03:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582266 -3.304635)', '2026-05-28 10:03:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582246 -3.304738)'), GeomFromEWKT('SRID=4674;POINT (-38.582266 -3.304635)'))) / (select extract(epoch from '2026-05-28 10:03:37'::timestamp) - extract(epoch from '2026-05-28 10:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582246 -3.304738)'), GeomFromEWKT('SRID=4674;POINT (-38.582266 -3.304635)'))) / (select extract(epoch from '2026-05-28 10:03:37'::timestamp) - extract(epoch from '2026-05-28 10:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582277 -3.304522)', '2026-05-28 10:03:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582266 -3.304635)'), GeomFromEWKT('SRID=4674;POINT (-38.582277 -3.304522)'))) / (select extract(epoch from '2026-05-28 10:03:42'::timestamp) - extract(epoch from '2026-05-28 10:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582266 -3.304635)'), GeomFromEWKT('SRID=4674;POINT (-38.582277 -3.304522)'))) / (select extract(epoch from '2026-05-28 10:03:42'::timestamp) - extract(epoch from '2026-05-28 10:03:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58228 -3.304399)', '2026-05-28 10:03:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582277 -3.304522)'), GeomFromEWKT('SRID=4674;POINT (-38.58228 -3.304399)'))) / (select extract(epoch from '2026-05-28 10:03:48'::timestamp) - extract(epoch from '2026-05-28 10:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582277 -3.304522)'), GeomFromEWKT('SRID=4674;POINT (-38.58228 -3.304399)'))) / (select extract(epoch from '2026-05-28 10:03:48'::timestamp) - extract(epoch from '2026-05-28 10:03: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'), 46535, 'SRID=4674;POINT (-38.582289 -3.304275)', '2026-05-28 10:03:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58228 -3.304399)'), GeomFromEWKT('SRID=4674;POINT (-38.582289 -3.304275)'))) / (select extract(epoch from '2026-05-28 10:03:54'::timestamp) - extract(epoch from '2026-05-28 10:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58228 -3.304399)'), GeomFromEWKT('SRID=4674;POINT (-38.582289 -3.304275)'))) / (select extract(epoch from '2026-05-28 10:03:54'::timestamp) - extract(epoch from '2026-05-28 10:03: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'), 46535, 'SRID=4674;POINT (-38.582298 -3.304187)', '2026-05-28 10:03:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582289 -3.304275)'), GeomFromEWKT('SRID=4674;POINT (-38.582298 -3.304187)'))) / (select extract(epoch from '2026-05-28 10:03:58'::timestamp) - extract(epoch from '2026-05-28 10:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582289 -3.304275)'), GeomFromEWKT('SRID=4674;POINT (-38.582298 -3.304187)'))) / (select extract(epoch from '2026-05-28 10:03:58'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.582302 -3.304067)', '2026-05-28 10:04:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582298 -3.304187)'), GeomFromEWKT('SRID=4674;POINT (-38.582302 -3.304067)'))) / (select extract(epoch from '2026-05-28 10:04:04'::timestamp) - extract(epoch from '2026-05-28 10:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582298 -3.304187)'), GeomFromEWKT('SRID=4674;POINT (-38.582302 -3.304067)'))) / (select extract(epoch from '2026-05-28 10:04:04'::timestamp) - extract(epoch from '2026-05-28 10:03: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'), 46535, 'SRID=4674;POINT (-38.582319 -3.30397)', '2026-05-28 10:04:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582302 -3.304067)'), GeomFromEWKT('SRID=4674;POINT (-38.582319 -3.30397)'))) / (select extract(epoch from '2026-05-28 10:04:09'::timestamp) - extract(epoch from '2026-05-28 10:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582302 -3.304067)'), GeomFromEWKT('SRID=4674;POINT (-38.582319 -3.30397)'))) / (select extract(epoch from '2026-05-28 10:04:09'::timestamp) - extract(epoch from '2026-05-28 10:04:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582351 -3.303887)', '2026-05-28 10:04:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582319 -3.30397)'), GeomFromEWKT('SRID=4674;POINT (-38.582351 -3.303887)'))) / (select extract(epoch from '2026-05-28 10:04:13'::timestamp) - extract(epoch from '2026-05-28 10:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582319 -3.30397)'), GeomFromEWKT('SRID=4674;POINT (-38.582351 -3.303887)'))) / (select extract(epoch from '2026-05-28 10:04:13'::timestamp) - extract(epoch from '2026-05-28 10:04:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582376 -3.303759)', '2026-05-28 10:04:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582351 -3.303887)'), GeomFromEWKT('SRID=4674;POINT (-38.582376 -3.303759)'))) / (select extract(epoch from '2026-05-28 10:04:20'::timestamp) - extract(epoch from '2026-05-28 10:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582351 -3.303887)'), GeomFromEWKT('SRID=4674;POINT (-38.582376 -3.303759)'))) / (select extract(epoch from '2026-05-28 10:04:20'::timestamp) - extract(epoch from '2026-05-28 10:04: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'), 46535, 'SRID=4674;POINT (-38.582392 -3.303653)', '2026-05-28 10:04:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582376 -3.303759)'), GeomFromEWKT('SRID=4674;POINT (-38.582392 -3.303653)'))) / (select extract(epoch from '2026-05-28 10:04:25'::timestamp) - extract(epoch from '2026-05-28 10:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582376 -3.303759)'), GeomFromEWKT('SRID=4674;POINT (-38.582392 -3.303653)'))) / (select extract(epoch from '2026-05-28 10:04:25'::timestamp) - extract(epoch from '2026-05-28 10:04:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582412 -3.303552)', '2026-05-28 10:04:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582392 -3.303653)'), GeomFromEWKT('SRID=4674;POINT (-38.582412 -3.303552)'))) / (select extract(epoch from '2026-05-28 10:04:30'::timestamp) - extract(epoch from '2026-05-28 10:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582392 -3.303653)'), GeomFromEWKT('SRID=4674;POINT (-38.582412 -3.303552)'))) / (select extract(epoch from '2026-05-28 10:04:30'::timestamp) - extract(epoch from '2026-05-28 10:04:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582428 -3.303483)', '2026-05-28 10:04:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582412 -3.303552)'), GeomFromEWKT('SRID=4674;POINT (-38.582428 -3.303483)'))) / (select extract(epoch from '2026-05-28 10:04:34'::timestamp) - extract(epoch from '2026-05-28 10:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582412 -3.303552)'), GeomFromEWKT('SRID=4674;POINT (-38.582428 -3.303483)'))) / (select extract(epoch from '2026-05-28 10:04:34'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.582444 -3.303389)', '2026-05-28 10:04:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582428 -3.303483)'), GeomFromEWKT('SRID=4674;POINT (-38.582444 -3.303389)'))) / (select extract(epoch from '2026-05-28 10:04:39'::timestamp) - extract(epoch from '2026-05-28 10:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582428 -3.303483)'), GeomFromEWKT('SRID=4674;POINT (-38.582444 -3.303389)'))) / (select extract(epoch from '2026-05-28 10:04:39'::timestamp) - extract(epoch from '2026-05-28 10:04:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582462 -3.303282)', '2026-05-28 10:04:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582444 -3.303389)'), GeomFromEWKT('SRID=4674;POINT (-38.582462 -3.303282)'))) / (select extract(epoch from '2026-05-28 10:04:44'::timestamp) - extract(epoch from '2026-05-28 10:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582444 -3.303389)'), GeomFromEWKT('SRID=4674;POINT (-38.582462 -3.303282)'))) / (select extract(epoch from '2026-05-28 10:04:44'::timestamp) - extract(epoch from '2026-05-28 10:04:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582486 -3.303147)', '2026-05-28 10:04:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582462 -3.303282)'), GeomFromEWKT('SRID=4674;POINT (-38.582486 -3.303147)'))) / (select extract(epoch from '2026-05-28 10:04:50'::timestamp) - extract(epoch from '2026-05-28 10:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582462 -3.303282)'), GeomFromEWKT('SRID=4674;POINT (-38.582486 -3.303147)'))) / (select extract(epoch from '2026-05-28 10:04:50'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.5825 -3.302974)', '2026-05-28 10:04:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582486 -3.303147)'), GeomFromEWKT('SRID=4674;POINT (-38.5825 -3.302974)'))) / (select extract(epoch from '2026-05-28 10:04:58'::timestamp) - extract(epoch from '2026-05-28 10:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582486 -3.303147)'), GeomFromEWKT('SRID=4674;POINT (-38.5825 -3.302974)'))) / (select extract(epoch from '2026-05-28 10:04:58'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.582523 -3.302827)', '2026-05-28 10:05:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5825 -3.302974)'), GeomFromEWKT('SRID=4674;POINT (-38.582523 -3.302827)'))) / (select extract(epoch from '2026-05-28 10:05:05'::timestamp) - extract(epoch from '2026-05-28 10:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5825 -3.302974)'), GeomFromEWKT('SRID=4674;POINT (-38.582523 -3.302827)'))) / (select extract(epoch from '2026-05-28 10:05:05'::timestamp) - extract(epoch from '2026-05-28 10:04: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'), 46535, 'SRID=4674;POINT (-38.582543 -3.30269)', '2026-05-28 10:05:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582523 -3.302827)'), GeomFromEWKT('SRID=4674;POINT (-38.582543 -3.30269)'))) / (select extract(epoch from '2026-05-28 10:05:12'::timestamp) - extract(epoch from '2026-05-28 10:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582523 -3.302827)'), GeomFromEWKT('SRID=4674;POINT (-38.582543 -3.30269)'))) / (select extract(epoch from '2026-05-28 10:05:12'::timestamp) - extract(epoch from '2026-05-28 10:05:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58255 -3.302583)', '2026-05-28 10:05:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582543 -3.30269)'), GeomFromEWKT('SRID=4674;POINT (-38.58255 -3.302583)'))) / (select extract(epoch from '2026-05-28 10:05:17'::timestamp) - extract(epoch from '2026-05-28 10:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582543 -3.30269)'), GeomFromEWKT('SRID=4674;POINT (-38.58255 -3.302583)'))) / (select extract(epoch from '2026-05-28 10:05:17'::timestamp) - extract(epoch from '2026-05-28 10:05: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'), 46535, 'SRID=4674;POINT (-38.582556 -3.302452)', '2026-05-28 10:05:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58255 -3.302583)'), GeomFromEWKT('SRID=4674;POINT (-38.582556 -3.302452)'))) / (select extract(epoch from '2026-05-28 10:05:23'::timestamp) - extract(epoch from '2026-05-28 10:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58255 -3.302583)'), GeomFromEWKT('SRID=4674;POINT (-38.582556 -3.302452)'))) / (select extract(epoch from '2026-05-28 10:05:23'::timestamp) - extract(epoch from '2026-05-28 10:05:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582576 -3.302282)', '2026-05-28 10:05:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582556 -3.302452)'), GeomFromEWKT('SRID=4674;POINT (-38.582576 -3.302282)'))) / (select extract(epoch from '2026-05-28 10:05:31'::timestamp) - extract(epoch from '2026-05-28 10:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582556 -3.302452)'), GeomFromEWKT('SRID=4674;POINT (-38.582576 -3.302282)'))) / (select extract(epoch from '2026-05-28 10:05:31'::timestamp) - extract(epoch from '2026-05-28 10:05: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'), 46535, 'SRID=4674;POINT (-38.582593 -3.302137)', '2026-05-28 10:05:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582576 -3.302282)'), GeomFromEWKT('SRID=4674;POINT (-38.582593 -3.302137)'))) / (select extract(epoch from '2026-05-28 10:05:38'::timestamp) - extract(epoch from '2026-05-28 10:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582576 -3.302282)'), GeomFromEWKT('SRID=4674;POINT (-38.582593 -3.302137)'))) / (select extract(epoch from '2026-05-28 10:05:38'::timestamp) - extract(epoch from '2026-05-28 10:05:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582601 -3.302007)', '2026-05-28 10:05:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582593 -3.302137)'), GeomFromEWKT('SRID=4674;POINT (-38.582601 -3.302007)'))) / (select extract(epoch from '2026-05-28 10:05:44'::timestamp) - extract(epoch from '2026-05-28 10:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582593 -3.302137)'), GeomFromEWKT('SRID=4674;POINT (-38.582601 -3.302007)'))) / (select extract(epoch from '2026-05-28 10:05:44'::timestamp) - extract(epoch from '2026-05-28 10:05: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'), 46535, 'SRID=4674;POINT (-38.582613 -3.301878)', '2026-05-28 10:05:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582601 -3.302007)'), GeomFromEWKT('SRID=4674;POINT (-38.582613 -3.301878)'))) / (select extract(epoch from '2026-05-28 10:05:50'::timestamp) - extract(epoch from '2026-05-28 10:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582601 -3.302007)'), GeomFromEWKT('SRID=4674;POINT (-38.582613 -3.301878)'))) / (select extract(epoch from '2026-05-28 10:05:50'::timestamp) - extract(epoch from '2026-05-28 10:05:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582634 -3.30175)', '2026-05-28 10:05:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582613 -3.301878)'), GeomFromEWKT('SRID=4674;POINT (-38.582634 -3.30175)'))) / (select extract(epoch from '2026-05-28 10:05:56'::timestamp) - extract(epoch from '2026-05-28 10:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582613 -3.301878)'), GeomFromEWKT('SRID=4674;POINT (-38.582634 -3.30175)'))) / (select extract(epoch from '2026-05-28 10:05:56'::timestamp) - extract(epoch from '2026-05-28 10:05:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582649 -3.30165)', '2026-05-28 10:06:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582634 -3.30175)'), GeomFromEWKT('SRID=4674;POINT (-38.582649 -3.30165)'))) / (select extract(epoch from '2026-05-28 10:06:01'::timestamp) - extract(epoch from '2026-05-28 10:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582634 -3.30175)'), GeomFromEWKT('SRID=4674;POINT (-38.582649 -3.30165)'))) / (select extract(epoch from '2026-05-28 10:06:01'::timestamp) - extract(epoch from '2026-05-28 10:05: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'), 46535, 'SRID=4674;POINT (-38.582658 -3.30153)', '2026-05-28 10:06:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582649 -3.30165)'), GeomFromEWKT('SRID=4674;POINT (-38.582658 -3.30153)'))) / (select extract(epoch from '2026-05-28 10:06:07'::timestamp) - extract(epoch from '2026-05-28 10:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582649 -3.30165)'), GeomFromEWKT('SRID=4674;POINT (-38.582658 -3.30153)'))) / (select extract(epoch from '2026-05-28 10:06:07'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.582663 -3.301409)', '2026-05-28 10:06:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582658 -3.30153)'), GeomFromEWKT('SRID=4674;POINT (-38.582663 -3.301409)'))) / (select extract(epoch from '2026-05-28 10:06:13'::timestamp) - extract(epoch from '2026-05-28 10:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582658 -3.30153)'), GeomFromEWKT('SRID=4674;POINT (-38.582663 -3.301409)'))) / (select extract(epoch from '2026-05-28 10:06:13'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.582663 -3.301282)', '2026-05-28 10:06:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582663 -3.301409)'), GeomFromEWKT('SRID=4674;POINT (-38.582663 -3.301282)'))) / (select extract(epoch from '2026-05-28 10:06:19'::timestamp) - extract(epoch from '2026-05-28 10:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582663 -3.301409)'), GeomFromEWKT('SRID=4674;POINT (-38.582663 -3.301282)'))) / (select extract(epoch from '2026-05-28 10:06:19'::timestamp) - extract(epoch from '2026-05-28 10:06: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'), 46535, 'SRID=4674;POINT (-38.582676 -3.301123)', '2026-05-28 10:06:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582663 -3.301282)'), GeomFromEWKT('SRID=4674;POINT (-38.582676 -3.301123)'))) / (select extract(epoch from '2026-05-28 10:06:26'::timestamp) - extract(epoch from '2026-05-28 10:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582663 -3.301282)'), GeomFromEWKT('SRID=4674;POINT (-38.582676 -3.301123)'))) / (select extract(epoch from '2026-05-28 10:06:26'::timestamp) - extract(epoch from '2026-05-28 10:06: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'), 46535, 'SRID=4674;POINT (-38.58268 -3.301015)', '2026-05-28 10:06:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582676 -3.301123)'), GeomFromEWKT('SRID=4674;POINT (-38.58268 -3.301015)'))) / (select extract(epoch from '2026-05-28 10:06:31'::timestamp) - extract(epoch from '2026-05-28 10:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582676 -3.301123)'), GeomFromEWKT('SRID=4674;POINT (-38.58268 -3.301015)'))) / (select extract(epoch from '2026-05-28 10:06:31'::timestamp) - extract(epoch from '2026-05-28 10:06: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'), 46535, 'SRID=4674;POINT (-38.582684 -3.300913)', '2026-05-28 10:06:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58268 -3.301015)'), GeomFromEWKT('SRID=4674;POINT (-38.582684 -3.300913)'))) / (select extract(epoch from '2026-05-28 10:06:36'::timestamp) - extract(epoch from '2026-05-28 10:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58268 -3.301015)'), GeomFromEWKT('SRID=4674;POINT (-38.582684 -3.300913)'))) / (select extract(epoch from '2026-05-28 10:06:36'::timestamp) - extract(epoch from '2026-05-28 10:06: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'), 46535, 'SRID=4674;POINT (-38.58269 -3.300788)', '2026-05-28 10:06:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582684 -3.300913)'), GeomFromEWKT('SRID=4674;POINT (-38.58269 -3.300788)'))) / (select extract(epoch from '2026-05-28 10:06:42'::timestamp) - extract(epoch from '2026-05-28 10:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582684 -3.300913)'), GeomFromEWKT('SRID=4674;POINT (-38.58269 -3.300788)'))) / (select extract(epoch from '2026-05-28 10:06:42'::timestamp) - extract(epoch from '2026-05-28 10:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58269 -3.300677)', '2026-05-28 10:06:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58269 -3.300788)'), GeomFromEWKT('SRID=4674;POINT (-38.58269 -3.300677)'))) / (select extract(epoch from '2026-05-28 10:06:47'::timestamp) - extract(epoch from '2026-05-28 10:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58269 -3.300788)'), GeomFromEWKT('SRID=4674;POINT (-38.58269 -3.300677)'))) / (select extract(epoch from '2026-05-28 10:06:47'::timestamp) - extract(epoch from '2026-05-28 10:06: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'), 46535, 'SRID=4674;POINT (-38.582696 -3.300575)', '2026-05-28 10:06:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58269 -3.300677)'), GeomFromEWKT('SRID=4674;POINT (-38.582696 -3.300575)'))) / (select extract(epoch from '2026-05-28 10:06:52'::timestamp) - extract(epoch from '2026-05-28 10:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58269 -3.300677)'), GeomFromEWKT('SRID=4674;POINT (-38.582696 -3.300575)'))) / (select extract(epoch from '2026-05-28 10:06:52'::timestamp) - extract(epoch from '2026-05-28 10:06:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582701 -3.300472)', '2026-05-28 10:06:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582696 -3.300575)'), GeomFromEWKT('SRID=4674;POINT (-38.582701 -3.300472)'))) / (select extract(epoch from '2026-05-28 10:06:57'::timestamp) - extract(epoch from '2026-05-28 10:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582696 -3.300575)'), GeomFromEWKT('SRID=4674;POINT (-38.582701 -3.300472)'))) / (select extract(epoch from '2026-05-28 10:06:57'::timestamp) - extract(epoch from '2026-05-28 10:06:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582709 -3.300363)', '2026-05-28 10:07:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582701 -3.300472)'), GeomFromEWKT('SRID=4674;POINT (-38.582709 -3.300363)'))) / (select extract(epoch from '2026-05-28 10:07:02'::timestamp) - extract(epoch from '2026-05-28 10:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582701 -3.300472)'), GeomFromEWKT('SRID=4674;POINT (-38.582709 -3.300363)'))) / (select extract(epoch from '2026-05-28 10:07:02'::timestamp) - extract(epoch from '2026-05-28 10:06:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582707 -3.300237)', '2026-05-28 10:07:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582709 -3.300363)'), GeomFromEWKT('SRID=4674;POINT (-38.582707 -3.300237)'))) / (select extract(epoch from '2026-05-28 10:07:08'::timestamp) - extract(epoch from '2026-05-28 10:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582709 -3.300363)'), GeomFromEWKT('SRID=4674;POINT (-38.582707 -3.300237)'))) / (select extract(epoch from '2026-05-28 10:07:08'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.582711 -3.300131)', '2026-05-28 10:07:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582707 -3.300237)'), GeomFromEWKT('SRID=4674;POINT (-38.582711 -3.300131)'))) / (select extract(epoch from '2026-05-28 10:07:13'::timestamp) - extract(epoch from '2026-05-28 10:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582707 -3.300237)'), GeomFromEWKT('SRID=4674;POINT (-38.582711 -3.300131)'))) / (select extract(epoch from '2026-05-28 10:07:13'::timestamp) - extract(epoch from '2026-05-28 10:07:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582714 -3.300027)', '2026-05-28 10:07:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582711 -3.300131)'), GeomFromEWKT('SRID=4674;POINT (-38.582714 -3.300027)'))) / (select extract(epoch from '2026-05-28 10:07:18'::timestamp) - extract(epoch from '2026-05-28 10:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582711 -3.300131)'), GeomFromEWKT('SRID=4674;POINT (-38.582714 -3.300027)'))) / (select extract(epoch from '2026-05-28 10:07:18'::timestamp) - extract(epoch from '2026-05-28 10:07:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582726 -3.299891)', '2026-05-28 10:07:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582714 -3.300027)'), GeomFromEWKT('SRID=4674;POINT (-38.582726 -3.299891)'))) / (select extract(epoch from '2026-05-28 10:07:24'::timestamp) - extract(epoch from '2026-05-28 10:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582714 -3.300027)'), GeomFromEWKT('SRID=4674;POINT (-38.582726 -3.299891)'))) / (select extract(epoch from '2026-05-28 10:07:24'::timestamp) - extract(epoch from '2026-05-28 10:07: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'), 46535, 'SRID=4674;POINT (-38.582743 -3.299774)', '2026-05-28 10:07:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582726 -3.299891)'), GeomFromEWKT('SRID=4674;POINT (-38.582743 -3.299774)'))) / (select extract(epoch from '2026-05-28 10:07:29'::timestamp) - extract(epoch from '2026-05-28 10:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582726 -3.299891)'), GeomFromEWKT('SRID=4674;POINT (-38.582743 -3.299774)'))) / (select extract(epoch from '2026-05-28 10:07:29'::timestamp) - extract(epoch from '2026-05-28 10:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582781 -3.299658)', '2026-05-28 10:07:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582743 -3.299774)'), GeomFromEWKT('SRID=4674;POINT (-38.582781 -3.299658)'))) / (select extract(epoch from '2026-05-28 10:07:34'::timestamp) - extract(epoch from '2026-05-28 10:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582743 -3.299774)'), GeomFromEWKT('SRID=4674;POINT (-38.582781 -3.299658)'))) / (select extract(epoch from '2026-05-28 10:07:34'::timestamp) - extract(epoch from '2026-05-28 10:07: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'), 46535, 'SRID=4674;POINT (-38.582827 -3.299544)', '2026-05-28 10:07:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582781 -3.299658)'), GeomFromEWKT('SRID=4674;POINT (-38.582827 -3.299544)'))) / (select extract(epoch from '2026-05-28 10:07:39'::timestamp) - extract(epoch from '2026-05-28 10:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582781 -3.299658)'), GeomFromEWKT('SRID=4674;POINT (-38.582827 -3.299544)'))) / (select extract(epoch from '2026-05-28 10:07:39'::timestamp) - extract(epoch from '2026-05-28 10:07: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'), 46535, 'SRID=4674;POINT (-38.582873 -3.299416)', '2026-05-28 10:07:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582827 -3.299544)'), GeomFromEWKT('SRID=4674;POINT (-38.582873 -3.299416)'))) / (select extract(epoch from '2026-05-28 10:07:45'::timestamp) - extract(epoch from '2026-05-28 10:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582827 -3.299544)'), GeomFromEWKT('SRID=4674;POINT (-38.582873 -3.299416)'))) / (select extract(epoch from '2026-05-28 10:07:45'::timestamp) - extract(epoch from '2026-05-28 10:07: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'), 46535, 'SRID=4674;POINT (-38.582936 -3.299317)', '2026-05-28 10:07:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582873 -3.299416)'), GeomFromEWKT('SRID=4674;POINT (-38.582936 -3.299317)'))) / (select extract(epoch from '2026-05-28 10:07:50'::timestamp) - extract(epoch from '2026-05-28 10:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582873 -3.299416)'), GeomFromEWKT('SRID=4674;POINT (-38.582936 -3.299317)'))) / (select extract(epoch from '2026-05-28 10:07:50'::timestamp) - extract(epoch from '2026-05-28 10:07: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'), 46535, 'SRID=4674;POINT (-38.583018 -3.299162)', '2026-05-28 10:07:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582936 -3.299317)'), GeomFromEWKT('SRID=4674;POINT (-38.583018 -3.299162)'))) / (select extract(epoch from '2026-05-28 10:07:57'::timestamp) - extract(epoch from '2026-05-28 10:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582936 -3.299317)'), GeomFromEWKT('SRID=4674;POINT (-38.583018 -3.299162)'))) / (select extract(epoch from '2026-05-28 10:07:57'::timestamp) - extract(epoch from '2026-05-28 10:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.583072 -3.299037)', '2026-05-28 10:08:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583018 -3.299162)'), GeomFromEWKT('SRID=4674;POINT (-38.583072 -3.299037)'))) / (select extract(epoch from '2026-05-28 10:08:03'::timestamp) - extract(epoch from '2026-05-28 10:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583018 -3.299162)'), GeomFromEWKT('SRID=4674;POINT (-38.583072 -3.299037)'))) / (select extract(epoch from '2026-05-28 10:08:03'::timestamp) - extract(epoch from '2026-05-28 10:07:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.583117 -3.298909)', '2026-05-28 10:08:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583072 -3.299037)'), GeomFromEWKT('SRID=4674;POINT (-38.583117 -3.298909)'))) / (select extract(epoch from '2026-05-28 10:08:09'::timestamp) - extract(epoch from '2026-05-28 10:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583072 -3.299037)'), GeomFromEWKT('SRID=4674;POINT (-38.583117 -3.298909)'))) / (select extract(epoch from '2026-05-28 10:08:09'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.583154 -3.298796)', '2026-05-28 10:08:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583117 -3.298909)'), GeomFromEWKT('SRID=4674;POINT (-38.583154 -3.298796)'))) / (select extract(epoch from '2026-05-28 10:08:14'::timestamp) - extract(epoch from '2026-05-28 10:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583117 -3.298909)'), GeomFromEWKT('SRID=4674;POINT (-38.583154 -3.298796)'))) / (select extract(epoch from '2026-05-28 10:08:14'::timestamp) - extract(epoch from '2026-05-28 10:08: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'), 46535, 'SRID=4674;POINT (-38.583205 -3.29866)', '2026-05-28 10:08:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583154 -3.298796)'), GeomFromEWKT('SRID=4674;POINT (-38.583205 -3.29866)'))) / (select extract(epoch from '2026-05-28 10:08:20'::timestamp) - extract(epoch from '2026-05-28 10:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583154 -3.298796)'), GeomFromEWKT('SRID=4674;POINT (-38.583205 -3.29866)'))) / (select extract(epoch from '2026-05-28 10:08:20'::timestamp) - extract(epoch from '2026-05-28 10:08: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'), 46535, 'SRID=4674;POINT (-38.583235 -3.298573)', '2026-05-28 10:08:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583205 -3.29866)'), GeomFromEWKT('SRID=4674;POINT (-38.583235 -3.298573)'))) / (select extract(epoch from '2026-05-28 10:08:24'::timestamp) - extract(epoch from '2026-05-28 10:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583205 -3.29866)'), GeomFromEWKT('SRID=4674;POINT (-38.583235 -3.298573)'))) / (select extract(epoch from '2026-05-28 10:08:24'::timestamp) - extract(epoch from '2026-05-28 10:08: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'), 46535, 'SRID=4674;POINT (-38.583275 -3.298473)', '2026-05-28 10:08:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583235 -3.298573)'), GeomFromEWKT('SRID=4674;POINT (-38.583275 -3.298473)'))) / (select extract(epoch from '2026-05-28 10:08:29'::timestamp) - extract(epoch from '2026-05-28 10:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583235 -3.298573)'), GeomFromEWKT('SRID=4674;POINT (-38.583275 -3.298473)'))) / (select extract(epoch from '2026-05-28 10:08:29'::timestamp) - extract(epoch from '2026-05-28 10:08: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'), 46535, 'SRID=4674;POINT (-38.583326 -3.29837)', '2026-05-28 10:08:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583275 -3.298473)'), GeomFromEWKT('SRID=4674;POINT (-38.583326 -3.29837)'))) / (select extract(epoch from '2026-05-28 10:08:34'::timestamp) - extract(epoch from '2026-05-28 10:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583275 -3.298473)'), GeomFromEWKT('SRID=4674;POINT (-38.583326 -3.29837)'))) / (select extract(epoch from '2026-05-28 10:08:34'::timestamp) - extract(epoch from '2026-05-28 10:08:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.583382 -3.298263)', '2026-05-28 10:08:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583326 -3.29837)'), GeomFromEWKT('SRID=4674;POINT (-38.583382 -3.298263)'))) / (select extract(epoch from '2026-05-28 10:08:39'::timestamp) - extract(epoch from '2026-05-28 10:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583326 -3.29837)'), GeomFromEWKT('SRID=4674;POINT (-38.583382 -3.298263)'))) / (select extract(epoch from '2026-05-28 10:08:39'::timestamp) - extract(epoch from '2026-05-28 10:08:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.583439 -3.298141)', '2026-05-28 10:08:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583382 -3.298263)'), GeomFromEWKT('SRID=4674;POINT (-38.583439 -3.298141)'))) / (select extract(epoch from '2026-05-28 10:08:45'::timestamp) - extract(epoch from '2026-05-28 10:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583382 -3.298263)'), GeomFromEWKT('SRID=4674;POINT (-38.583439 -3.298141)'))) / (select extract(epoch from '2026-05-28 10:08:45'::timestamp) - extract(epoch from '2026-05-28 10:08:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.583482 -3.298005)', '2026-05-28 10:08:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583439 -3.298141)'), GeomFromEWKT('SRID=4674;POINT (-38.583482 -3.298005)'))) / (select extract(epoch from '2026-05-28 10:08:52'::timestamp) - extract(epoch from '2026-05-28 10:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583439 -3.298141)'), GeomFromEWKT('SRID=4674;POINT (-38.583482 -3.298005)'))) / (select extract(epoch from '2026-05-28 10:08:52'::timestamp) - extract(epoch from '2026-05-28 10:08:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.583509 -3.297877)', '2026-05-28 10:08:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583482 -3.298005)'), GeomFromEWKT('SRID=4674;POINT (-38.583509 -3.297877)'))) / (select extract(epoch from '2026-05-28 10:08:58'::timestamp) - extract(epoch from '2026-05-28 10:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583482 -3.298005)'), GeomFromEWKT('SRID=4674;POINT (-38.583509 -3.297877)'))) / (select extract(epoch from '2026-05-28 10:08:58'::timestamp) - extract(epoch from '2026-05-28 10:08: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'), 46535, 'SRID=4674;POINT (-38.583546 -3.297729)', '2026-05-28 10:09:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583509 -3.297877)'), GeomFromEWKT('SRID=4674;POINT (-38.583546 -3.297729)'))) / (select extract(epoch from '2026-05-28 10:09:05'::timestamp) - extract(epoch from '2026-05-28 10:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583509 -3.297877)'), GeomFromEWKT('SRID=4674;POINT (-38.583546 -3.297729)'))) / (select extract(epoch from '2026-05-28 10:09:05'::timestamp) - extract(epoch from '2026-05-28 10:08:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.583579 -3.297601)', '2026-05-28 10:09:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583546 -3.297729)'), GeomFromEWKT('SRID=4674;POINT (-38.583579 -3.297601)'))) / (select extract(epoch from '2026-05-28 10:09:11'::timestamp) - extract(epoch from '2026-05-28 10:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583546 -3.297729)'), GeomFromEWKT('SRID=4674;POINT (-38.583579 -3.297601)'))) / (select extract(epoch from '2026-05-28 10:09:11'::timestamp) - extract(epoch from '2026-05-28 10:09:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.583622 -3.297496)', '2026-05-28 10:09:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583579 -3.297601)'), GeomFromEWKT('SRID=4674;POINT (-38.583622 -3.297496)'))) / (select extract(epoch from '2026-05-28 10:09:16'::timestamp) - extract(epoch from '2026-05-28 10:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583579 -3.297601)'), GeomFromEWKT('SRID=4674;POINT (-38.583622 -3.297496)'))) / (select extract(epoch from '2026-05-28 10:09:16'::timestamp) - extract(epoch from '2026-05-28 10:09: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'), 46535, 'SRID=4674;POINT (-38.583665 -3.297405)', '2026-05-28 10:09:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583622 -3.297496)'), GeomFromEWKT('SRID=4674;POINT (-38.583665 -3.297405)'))) / (select extract(epoch from '2026-05-28 10:09:20'::timestamp) - extract(epoch from '2026-05-28 10:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583622 -3.297496)'), GeomFromEWKT('SRID=4674;POINT (-38.583665 -3.297405)'))) / (select extract(epoch from '2026-05-28 10:09:20'::timestamp) - extract(epoch from '2026-05-28 10:09:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.583718 -3.297279)', '2026-05-28 10:09:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583665 -3.297405)'), GeomFromEWKT('SRID=4674;POINT (-38.583718 -3.297279)'))) / (select extract(epoch from '2026-05-28 10:09:26'::timestamp) - extract(epoch from '2026-05-28 10:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583665 -3.297405)'), GeomFromEWKT('SRID=4674;POINT (-38.583718 -3.297279)'))) / (select extract(epoch from '2026-05-28 10:09:26'::timestamp) - extract(epoch from '2026-05-28 10:09: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'), 46535, 'SRID=4674;POINT (-38.583771 -3.297148)', '2026-05-28 10:09:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583718 -3.297279)'), GeomFromEWKT('SRID=4674;POINT (-38.583771 -3.297148)'))) / (select extract(epoch from '2026-05-28 10:09:32'::timestamp) - extract(epoch from '2026-05-28 10:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583718 -3.297279)'), GeomFromEWKT('SRID=4674;POINT (-38.583771 -3.297148)'))) / (select extract(epoch from '2026-05-28 10:09:32'::timestamp) - extract(epoch from '2026-05-28 10:09:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.583844 -3.296997)', '2026-05-28 10:09:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583771 -3.297148)'), GeomFromEWKT('SRID=4674;POINT (-38.583844 -3.296997)'))) / (select extract(epoch from '2026-05-28 10:09:39'::timestamp) - extract(epoch from '2026-05-28 10:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583771 -3.297148)'), GeomFromEWKT('SRID=4674;POINT (-38.583844 -3.296997)'))) / (select extract(epoch from '2026-05-28 10:09:39'::timestamp) - extract(epoch from '2026-05-28 10:09:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.583884 -3.296897)', '2026-05-28 10:09:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583844 -3.296997)'), GeomFromEWKT('SRID=4674;POINT (-38.583884 -3.296897)'))) / (select extract(epoch from '2026-05-28 10:09:44'::timestamp) - extract(epoch from '2026-05-28 10:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583844 -3.296997)'), GeomFromEWKT('SRID=4674;POINT (-38.583884 -3.296897)'))) / (select extract(epoch from '2026-05-28 10:09:44'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.583953 -3.29677)', '2026-05-28 10:09:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583884 -3.296897)'), GeomFromEWKT('SRID=4674;POINT (-38.583953 -3.29677)'))) / (select extract(epoch from '2026-05-28 10:09:50'::timestamp) - extract(epoch from '2026-05-28 10:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583884 -3.296897)'), GeomFromEWKT('SRID=4674;POINT (-38.583953 -3.29677)'))) / (select extract(epoch from '2026-05-28 10:09:50'::timestamp) - extract(epoch from '2026-05-28 10:09: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'), 46535, 'SRID=4674;POINT (-38.583988 -3.296695)', '2026-05-28 10:09:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583953 -3.29677)'), GeomFromEWKT('SRID=4674;POINT (-38.583988 -3.296695)'))) / (select extract(epoch from '2026-05-28 10:09:54'::timestamp) - extract(epoch from '2026-05-28 10:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583953 -3.29677)'), GeomFromEWKT('SRID=4674;POINT (-38.583988 -3.296695)'))) / (select extract(epoch from '2026-05-28 10:09:54'::timestamp) - extract(epoch from '2026-05-28 10:09: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'), 46535, 'SRID=4674;POINT (-38.584044 -3.296605)', '2026-05-28 10:09:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583988 -3.296695)'), GeomFromEWKT('SRID=4674;POINT (-38.584044 -3.296605)'))) / (select extract(epoch from '2026-05-28 10:09:59'::timestamp) - extract(epoch from '2026-05-28 10:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583988 -3.296695)'), GeomFromEWKT('SRID=4674;POINT (-38.584044 -3.296605)'))) / (select extract(epoch from '2026-05-28 10:09:59'::timestamp) - extract(epoch from '2026-05-28 10:09: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'), 46535, 'SRID=4674;POINT (-38.5841 -3.296533)', '2026-05-28 10:10:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584044 -3.296605)'), GeomFromEWKT('SRID=4674;POINT (-38.5841 -3.296533)'))) / (select extract(epoch from '2026-05-28 10:10:04'::timestamp) - extract(epoch from '2026-05-28 10:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584044 -3.296605)'), GeomFromEWKT('SRID=4674;POINT (-38.5841 -3.296533)'))) / (select extract(epoch from '2026-05-28 10:10:04'::timestamp) - extract(epoch from '2026-05-28 10:09: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'), 46535, 'SRID=4674;POINT (-38.584179 -3.296439)', '2026-05-28 10:10:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5841 -3.296533)'), GeomFromEWKT('SRID=4674;POINT (-38.584179 -3.296439)'))) / (select extract(epoch from '2026-05-28 10:10:11'::timestamp) - extract(epoch from '2026-05-28 10:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5841 -3.296533)'), GeomFromEWKT('SRID=4674;POINT (-38.584179 -3.296439)'))) / (select extract(epoch from '2026-05-28 10:10:11'::timestamp) - extract(epoch from '2026-05-28 10:10:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584254 -3.296321)', '2026-05-28 10:10:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584179 -3.296439)'), GeomFromEWKT('SRID=4674;POINT (-38.584254 -3.296321)'))) / (select extract(epoch from '2026-05-28 10:10:18'::timestamp) - extract(epoch from '2026-05-28 10:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584179 -3.296439)'), GeomFromEWKT('SRID=4674;POINT (-38.584254 -3.296321)'))) / (select extract(epoch from '2026-05-28 10:10:18'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.584334 -3.296207)', '2026-05-28 10:10:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584254 -3.296321)'), GeomFromEWKT('SRID=4674;POINT (-38.584334 -3.296207)'))) / (select extract(epoch from '2026-05-28 10:10:24'::timestamp) - extract(epoch from '2026-05-28 10:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584254 -3.296321)'), GeomFromEWKT('SRID=4674;POINT (-38.584334 -3.296207)'))) / (select extract(epoch from '2026-05-28 10:10:24'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.5844 -3.296104)', '2026-05-28 10:10:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584334 -3.296207)'), GeomFromEWKT('SRID=4674;POINT (-38.5844 -3.296104)'))) / (select extract(epoch from '2026-05-28 10:10:30'::timestamp) - extract(epoch from '2026-05-28 10:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584334 -3.296207)'), GeomFromEWKT('SRID=4674;POINT (-38.5844 -3.296104)'))) / (select extract(epoch from '2026-05-28 10:10:30'::timestamp) - extract(epoch from '2026-05-28 10:10: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'), 46535, 'SRID=4674;POINT (-38.584464 -3.296019)', '2026-05-28 10:10:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5844 -3.296104)'), GeomFromEWKT('SRID=4674;POINT (-38.584464 -3.296019)'))) / (select extract(epoch from '2026-05-28 10:10:35'::timestamp) - extract(epoch from '2026-05-28 10:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5844 -3.296104)'), GeomFromEWKT('SRID=4674;POINT (-38.584464 -3.296019)'))) / (select extract(epoch from '2026-05-28 10:10:35'::timestamp) - extract(epoch from '2026-05-28 10:10: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'), 46535, 'SRID=4674;POINT (-38.584574 -3.295893)', '2026-05-28 10:10:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584464 -3.296019)'), GeomFromEWKT('SRID=4674;POINT (-38.584574 -3.295893)'))) / (select extract(epoch from '2026-05-28 10:10:42'::timestamp) - extract(epoch from '2026-05-28 10:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584464 -3.296019)'), GeomFromEWKT('SRID=4674;POINT (-38.584574 -3.295893)'))) / (select extract(epoch from '2026-05-28 10:10:42'::timestamp) - extract(epoch from '2026-05-28 10:10:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584646 -3.2958)', '2026-05-28 10:10:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584574 -3.295893)'), GeomFromEWKT('SRID=4674;POINT (-38.584646 -3.2958)'))) / (select extract(epoch from '2026-05-28 10:10:47'::timestamp) - extract(epoch from '2026-05-28 10:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584574 -3.295893)'), GeomFromEWKT('SRID=4674;POINT (-38.584646 -3.2958)'))) / (select extract(epoch from '2026-05-28 10:10:47'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.584715 -3.295713)', '2026-05-28 10:10:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584646 -3.2958)'), GeomFromEWKT('SRID=4674;POINT (-38.584715 -3.295713)'))) / (select extract(epoch from '2026-05-28 10:10:52'::timestamp) - extract(epoch from '2026-05-28 10:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584646 -3.2958)'), GeomFromEWKT('SRID=4674;POINT (-38.584715 -3.295713)'))) / (select extract(epoch from '2026-05-28 10:10:52'::timestamp) - extract(epoch from '2026-05-28 10:10: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'), 46535, 'SRID=4674;POINT (-38.584807 -3.295608)', '2026-05-28 10:10:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584715 -3.295713)'), GeomFromEWKT('SRID=4674;POINT (-38.584807 -3.295608)'))) / (select extract(epoch from '2026-05-28 10:10:58'::timestamp) - extract(epoch from '2026-05-28 10:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584715 -3.295713)'), GeomFromEWKT('SRID=4674;POINT (-38.584807 -3.295608)'))) / (select extract(epoch from '2026-05-28 10:10:58'::timestamp) - extract(epoch from '2026-05-28 10:10:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584912 -3.295494)', '2026-05-28 10:11:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584807 -3.295608)'), GeomFromEWKT('SRID=4674;POINT (-38.584912 -3.295494)'))) / (select extract(epoch from '2026-05-28 10:11:04'::timestamp) - extract(epoch from '2026-05-28 10:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584807 -3.295608)'), GeomFromEWKT('SRID=4674;POINT (-38.584912 -3.295494)'))) / (select extract(epoch from '2026-05-28 10:11:04'::timestamp) - extract(epoch from '2026-05-28 10:10:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.585044 -3.295373)', '2026-05-28 10:11:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584912 -3.295494)'), GeomFromEWKT('SRID=4674;POINT (-38.585044 -3.295373)'))) / (select extract(epoch from '2026-05-28 10:11:11'::timestamp) - extract(epoch from '2026-05-28 10:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584912 -3.295494)'), GeomFromEWKT('SRID=4674;POINT (-38.585044 -3.295373)'))) / (select extract(epoch from '2026-05-28 10:11:11'::timestamp) - extract(epoch from '2026-05-28 10:11:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.585173 -3.295268)', '2026-05-28 10:11:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585044 -3.295373)'), GeomFromEWKT('SRID=4674;POINT (-38.585173 -3.295268)'))) / (select extract(epoch from '2026-05-28 10:11:18'::timestamp) - extract(epoch from '2026-05-28 10:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585044 -3.295373)'), GeomFromEWKT('SRID=4674;POINT (-38.585173 -3.295268)'))) / (select extract(epoch from '2026-05-28 10:11:18'::timestamp) - extract(epoch from '2026-05-28 10:11:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.585263 -3.295207)', '2026-05-28 10:11:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585173 -3.295268)'), GeomFromEWKT('SRID=4674;POINT (-38.585263 -3.295207)'))) / (select extract(epoch from '2026-05-28 10:11:23'::timestamp) - extract(epoch from '2026-05-28 10:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585173 -3.295268)'), GeomFromEWKT('SRID=4674;POINT (-38.585263 -3.295207)'))) / (select extract(epoch from '2026-05-28 10:11:23'::timestamp) - extract(epoch from '2026-05-28 10:11:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.585327 -3.295133)', '2026-05-28 10:11:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585263 -3.295207)'), GeomFromEWKT('SRID=4674;POINT (-38.585327 -3.295133)'))) / (select extract(epoch from '2026-05-28 10:11:28'::timestamp) - extract(epoch from '2026-05-28 10:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585263 -3.295207)'), GeomFromEWKT('SRID=4674;POINT (-38.585327 -3.295133)'))) / (select extract(epoch from '2026-05-28 10:11:28'::timestamp) - extract(epoch from '2026-05-28 10:11:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.585408 -3.295039)', '2026-05-28 10:11:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585327 -3.295133)'), GeomFromEWKT('SRID=4674;POINT (-38.585408 -3.295039)'))) / (select extract(epoch from '2026-05-28 10:11:34'::timestamp) - extract(epoch from '2026-05-28 10:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585327 -3.295133)'), GeomFromEWKT('SRID=4674;POINT (-38.585408 -3.295039)'))) / (select extract(epoch from '2026-05-28 10:11:34'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.585485 -3.294948)', '2026-05-28 10:11:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585408 -3.295039)'), GeomFromEWKT('SRID=4674;POINT (-38.585485 -3.294948)'))) / (select extract(epoch from '2026-05-28 10:11:40'::timestamp) - extract(epoch from '2026-05-28 10:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585408 -3.295039)'), GeomFromEWKT('SRID=4674;POINT (-38.585485 -3.294948)'))) / (select extract(epoch from '2026-05-28 10:11:40'::timestamp) - extract(epoch from '2026-05-28 10:11: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'), 46535, 'SRID=4674;POINT (-38.585549 -3.294843)', '2026-05-28 10:11:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585485 -3.294948)'), GeomFromEWKT('SRID=4674;POINT (-38.585549 -3.294843)'))) / (select extract(epoch from '2026-05-28 10:11:46'::timestamp) - extract(epoch from '2026-05-28 10:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585485 -3.294948)'), GeomFromEWKT('SRID=4674;POINT (-38.585549 -3.294843)'))) / (select extract(epoch from '2026-05-28 10:11:46'::timestamp) - extract(epoch from '2026-05-28 10:11:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.585616 -3.294747)', '2026-05-28 10:11:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585549 -3.294843)'), GeomFromEWKT('SRID=4674;POINT (-38.585616 -3.294747)'))) / (select extract(epoch from '2026-05-28 10:11:52'::timestamp) - extract(epoch from '2026-05-28 10:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585549 -3.294843)'), GeomFromEWKT('SRID=4674;POINT (-38.585616 -3.294747)'))) / (select extract(epoch from '2026-05-28 10:11:52'::timestamp) - extract(epoch from '2026-05-28 10:11: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'), 46535, 'SRID=4674;POINT (-38.585717 -3.294647)', '2026-05-28 10:11:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585616 -3.294747)'), GeomFromEWKT('SRID=4674;POINT (-38.585717 -3.294647)'))) / (select extract(epoch from '2026-05-28 10:11:58'::timestamp) - extract(epoch from '2026-05-28 10:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585616 -3.294747)'), GeomFromEWKT('SRID=4674;POINT (-38.585717 -3.294647)'))) / (select extract(epoch from '2026-05-28 10:11:58'::timestamp) - extract(epoch from '2026-05-28 10:11:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.585796 -3.294568)', '2026-05-28 10:12:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585717 -3.294647)'), GeomFromEWKT('SRID=4674;POINT (-38.585796 -3.294568)'))) / (select extract(epoch from '2026-05-28 10:12:04'::timestamp) - extract(epoch from '2026-05-28 10:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585717 -3.294647)'), GeomFromEWKT('SRID=4674;POINT (-38.585796 -3.294568)'))) / (select extract(epoch from '2026-05-28 10:12:04'::timestamp) - extract(epoch from '2026-05-28 10:11: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'), 46535, 'SRID=4674;POINT (-38.585878 -3.294473)', '2026-05-28 10:12:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585796 -3.294568)'), GeomFromEWKT('SRID=4674;POINT (-38.585878 -3.294473)'))) / (select extract(epoch from '2026-05-28 10:12:10'::timestamp) - extract(epoch from '2026-05-28 10:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585796 -3.294568)'), GeomFromEWKT('SRID=4674;POINT (-38.585878 -3.294473)'))) / (select extract(epoch from '2026-05-28 10:12:10'::timestamp) - extract(epoch from '2026-05-28 10:12: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'), 46535, 'SRID=4674;POINT (-38.585984 -3.294397)', '2026-05-28 10:12:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585878 -3.294473)'), GeomFromEWKT('SRID=4674;POINT (-38.585984 -3.294397)'))) / (select extract(epoch from '2026-05-28 10:12:16'::timestamp) - extract(epoch from '2026-05-28 10:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585878 -3.294473)'), GeomFromEWKT('SRID=4674;POINT (-38.585984 -3.294397)'))) / (select extract(epoch from '2026-05-28 10:12:16'::timestamp) - extract(epoch from '2026-05-28 10:12: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'), 46535, 'SRID=4674;POINT (-38.586116 -3.294318)', '2026-05-28 10:12:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585984 -3.294397)'), GeomFromEWKT('SRID=4674;POINT (-38.586116 -3.294318)'))) / (select extract(epoch from '2026-05-28 10:12:23'::timestamp) - extract(epoch from '2026-05-28 10:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585984 -3.294397)'), GeomFromEWKT('SRID=4674;POINT (-38.586116 -3.294318)'))) / (select extract(epoch from '2026-05-28 10:12:23'::timestamp) - extract(epoch from '2026-05-28 10:12:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.586212 -3.294261)', '2026-05-28 10:12:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586116 -3.294318)'), GeomFromEWKT('SRID=4674;POINT (-38.586212 -3.294261)'))) / (select extract(epoch from '2026-05-28 10:12:28'::timestamp) - extract(epoch from '2026-05-28 10:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586116 -3.294318)'), GeomFromEWKT('SRID=4674;POINT (-38.586212 -3.294261)'))) / (select extract(epoch from '2026-05-28 10:12:28'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.586294 -3.294191)', '2026-05-28 10:12:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586212 -3.294261)'), GeomFromEWKT('SRID=4674;POINT (-38.586294 -3.294191)'))) / (select extract(epoch from '2026-05-28 10:12:33'::timestamp) - extract(epoch from '2026-05-28 10:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586212 -3.294261)'), GeomFromEWKT('SRID=4674;POINT (-38.586294 -3.294191)'))) / (select extract(epoch from '2026-05-28 10:12:33'::timestamp) - extract(epoch from '2026-05-28 10:12: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'), 46535, 'SRID=4674;POINT (-38.586365 -3.294147)', '2026-05-28 10:12:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586294 -3.294191)'), GeomFromEWKT('SRID=4674;POINT (-38.586365 -3.294147)'))) / (select extract(epoch from '2026-05-28 10:12:37'::timestamp) - extract(epoch from '2026-05-28 10:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586294 -3.294191)'), GeomFromEWKT('SRID=4674;POINT (-38.586365 -3.294147)'))) / (select extract(epoch from '2026-05-28 10:12:37'::timestamp) - extract(epoch from '2026-05-28 10:12:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.586473 -3.294072)', '2026-05-28 10:12:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586365 -3.294147)'), GeomFromEWKT('SRID=4674;POINT (-38.586473 -3.294072)'))) / (select extract(epoch from '2026-05-28 10:12:43'::timestamp) - extract(epoch from '2026-05-28 10:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586365 -3.294147)'), GeomFromEWKT('SRID=4674;POINT (-38.586473 -3.294072)'))) / (select extract(epoch from '2026-05-28 10:12:43'::timestamp) - extract(epoch from '2026-05-28 10:12: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'), 46535, 'SRID=4674;POINT (-38.586554 -3.294014)', '2026-05-28 10:12:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586473 -3.294072)'), GeomFromEWKT('SRID=4674;POINT (-38.586554 -3.294014)'))) / (select extract(epoch from '2026-05-28 10:12:48'::timestamp) - extract(epoch from '2026-05-28 10:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586473 -3.294072)'), GeomFromEWKT('SRID=4674;POINT (-38.586554 -3.294014)'))) / (select extract(epoch from '2026-05-28 10:12:48'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.586647 -3.293952)', '2026-05-28 10:12:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586554 -3.294014)'), GeomFromEWKT('SRID=4674;POINT (-38.586647 -3.293952)'))) / (select extract(epoch from '2026-05-28 10:12:53'::timestamp) - extract(epoch from '2026-05-28 10:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586554 -3.294014)'), GeomFromEWKT('SRID=4674;POINT (-38.586647 -3.293952)'))) / (select extract(epoch from '2026-05-28 10:12:53'::timestamp) - extract(epoch from '2026-05-28 10:12:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.586745 -3.293892)', '2026-05-28 10:12:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586647 -3.293952)'), GeomFromEWKT('SRID=4674;POINT (-38.586745 -3.293892)'))) / (select extract(epoch from '2026-05-28 10:12:58'::timestamp) - extract(epoch from '2026-05-28 10:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586647 -3.293952)'), GeomFromEWKT('SRID=4674;POINT (-38.586745 -3.293892)'))) / (select extract(epoch from '2026-05-28 10:12:58'::timestamp) - extract(epoch from '2026-05-28 10:12:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58687 -3.293826)', '2026-05-28 10:13:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586745 -3.293892)'), GeomFromEWKT('SRID=4674;POINT (-38.58687 -3.293826)'))) / (select extract(epoch from '2026-05-28 10:13:04'::timestamp) - extract(epoch from '2026-05-28 10:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586745 -3.293892)'), GeomFromEWKT('SRID=4674;POINT (-38.58687 -3.293826)'))) / (select extract(epoch from '2026-05-28 10:13:04'::timestamp) - extract(epoch from '2026-05-28 10:12: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'), 46535, 'SRID=4674;POINT (-38.587002 -3.293769)', '2026-05-28 10:13:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58687 -3.293826)'), GeomFromEWKT('SRID=4674;POINT (-38.587002 -3.293769)'))) / (select extract(epoch from '2026-05-28 10:13:10'::timestamp) - extract(epoch from '2026-05-28 10:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58687 -3.293826)'), GeomFromEWKT('SRID=4674;POINT (-38.587002 -3.293769)'))) / (select extract(epoch from '2026-05-28 10:13:10'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.587118 -3.293726)', '2026-05-28 10:13:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587002 -3.293769)'), GeomFromEWKT('SRID=4674;POINT (-38.587118 -3.293726)'))) / (select extract(epoch from '2026-05-28 10:13:15'::timestamp) - extract(epoch from '2026-05-28 10:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587002 -3.293769)'), GeomFromEWKT('SRID=4674;POINT (-38.587118 -3.293726)'))) / (select extract(epoch from '2026-05-28 10:13:15'::timestamp) - extract(epoch from '2026-05-28 10:13:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.587177 -3.293714)', '2026-05-28 10:13:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587118 -3.293726)'), GeomFromEWKT('SRID=4674;POINT (-38.587177 -3.293714)'))) / (select extract(epoch from '2026-05-28 10:13:18'::timestamp) - extract(epoch from '2026-05-28 10:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587118 -3.293726)'), GeomFromEWKT('SRID=4674;POINT (-38.587177 -3.293714)'))) / (select extract(epoch from '2026-05-28 10:13:18'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.587206 -3.293693)', '2026-05-28 10:13:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587177 -3.293714)'), GeomFromEWKT('SRID=4674;POINT (-38.587206 -3.293693)'))) / (select extract(epoch from '2026-05-28 10:13:20'::timestamp) - extract(epoch from '2026-05-28 10:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587177 -3.293714)'), GeomFromEWKT('SRID=4674;POINT (-38.587206 -3.293693)'))) / (select extract(epoch from '2026-05-28 10:13:20'::timestamp) - extract(epoch from '2026-05-28 10:13:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.587341 -3.293664)', '2026-05-28 10:13:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587206 -3.293693)'), GeomFromEWKT('SRID=4674;POINT (-38.587341 -3.293664)'))) / (select extract(epoch from '2026-05-28 10:13:26'::timestamp) - extract(epoch from '2026-05-28 10:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587206 -3.293693)'), GeomFromEWKT('SRID=4674;POINT (-38.587341 -3.293664)'))) / (select extract(epoch from '2026-05-28 10:13:26'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.587441 -3.293609)', '2026-05-28 10:13:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587341 -3.293664)'), GeomFromEWKT('SRID=4674;POINT (-38.587441 -3.293609)'))) / (select extract(epoch from '2026-05-28 10:13:31'::timestamp) - extract(epoch from '2026-05-28 10:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587341 -3.293664)'), GeomFromEWKT('SRID=4674;POINT (-38.587441 -3.293609)'))) / (select extract(epoch from '2026-05-28 10:13:31'::timestamp) - extract(epoch from '2026-05-28 10:13: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'), 46535, 'SRID=4674;POINT (-38.587548 -3.293562)', '2026-05-28 10:13:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587441 -3.293609)'), GeomFromEWKT('SRID=4674;POINT (-38.587548 -3.293562)'))) / (select extract(epoch from '2026-05-28 10:13:36'::timestamp) - extract(epoch from '2026-05-28 10:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587441 -3.293609)'), GeomFromEWKT('SRID=4674;POINT (-38.587548 -3.293562)'))) / (select extract(epoch from '2026-05-28 10:13:36'::timestamp) - extract(epoch from '2026-05-28 10:13: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'), 46535, 'SRID=4674;POINT (-38.587646 -3.293493)', '2026-05-28 10:13:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587548 -3.293562)'), GeomFromEWKT('SRID=4674;POINT (-38.587646 -3.293493)'))) / (select extract(epoch from '2026-05-28 10:13:42'::timestamp) - extract(epoch from '2026-05-28 10:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587548 -3.293562)'), GeomFromEWKT('SRID=4674;POINT (-38.587646 -3.293493)'))) / (select extract(epoch from '2026-05-28 10:13:42'::timestamp) - extract(epoch from '2026-05-28 10:13: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'), 46535, 'SRID=4674;POINT (-38.587702 -3.293389)', '2026-05-28 10:13:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587646 -3.293493)'), GeomFromEWKT('SRID=4674;POINT (-38.587702 -3.293389)'))) / (select extract(epoch from '2026-05-28 10:13:49'::timestamp) - extract(epoch from '2026-05-28 10:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587646 -3.293493)'), GeomFromEWKT('SRID=4674;POINT (-38.587702 -3.293389)'))) / (select extract(epoch from '2026-05-28 10:13:49'::timestamp) - extract(epoch from '2026-05-28 10:13: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'), 46535, 'SRID=4674;POINT (-38.587781 -3.293275)', '2026-05-28 10:13:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587702 -3.293389)'), GeomFromEWKT('SRID=4674;POINT (-38.587781 -3.293275)'))) / (select extract(epoch from '2026-05-28 10:13:56'::timestamp) - extract(epoch from '2026-05-28 10:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587702 -3.293389)'), GeomFromEWKT('SRID=4674;POINT (-38.587781 -3.293275)'))) / (select extract(epoch from '2026-05-28 10:13:56'::timestamp) - extract(epoch from '2026-05-28 10:13: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'), 46535, 'SRID=4674;POINT (-38.587887 -3.293189)', '2026-05-28 10:14:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587781 -3.293275)'), GeomFromEWKT('SRID=4674;POINT (-38.587887 -3.293189)'))) / (select extract(epoch from '2026-05-28 10:14:02'::timestamp) - extract(epoch from '2026-05-28 10:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587781 -3.293275)'), GeomFromEWKT('SRID=4674;POINT (-38.587887 -3.293189)'))) / (select extract(epoch from '2026-05-28 10:14:02'::timestamp) - extract(epoch from '2026-05-28 10:13:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.587929 -3.29317)', '2026-05-28 10:14:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587887 -3.293189)'), GeomFromEWKT('SRID=4674;POINT (-38.587929 -3.29317)'))) / (select extract(epoch from '2026-05-28 10:14:05'::timestamp) - extract(epoch from '2026-05-28 10:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587887 -3.293189)'), GeomFromEWKT('SRID=4674;POINT (-38.587929 -3.29317)'))) / (select extract(epoch from '2026-05-28 10:14:05'::timestamp) - extract(epoch from '2026-05-28 10:14:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.587969 -3.293161)', '2026-05-28 10:14:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587929 -3.29317)'), GeomFromEWKT('SRID=4674;POINT (-38.587969 -3.293161)'))) / (select extract(epoch from '2026-05-28 10:14:07'::timestamp) - extract(epoch from '2026-05-28 10:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587929 -3.29317)'), GeomFromEWKT('SRID=4674;POINT (-38.587969 -3.293161)'))) / (select extract(epoch from '2026-05-28 10:14:07'::timestamp) - extract(epoch from '2026-05-28 10:14: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'), 46535, 'SRID=4674;POINT (-38.588037 -3.293136)', '2026-05-28 10:14:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587969 -3.293161)'), GeomFromEWKT('SRID=4674;POINT (-38.588037 -3.293136)'))) / (select extract(epoch from '2026-05-28 10:14:11'::timestamp) - extract(epoch from '2026-05-28 10:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587969 -3.293161)'), GeomFromEWKT('SRID=4674;POINT (-38.588037 -3.293136)'))) / (select extract(epoch from '2026-05-28 10:14:11'::timestamp) - extract(epoch from '2026-05-28 10:14:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.588099 -3.293125)', '2026-05-28 10:14:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588037 -3.293136)'), GeomFromEWKT('SRID=4674;POINT (-38.588099 -3.293125)'))) / (select extract(epoch from '2026-05-28 10:14:15'::timestamp) - extract(epoch from '2026-05-28 10:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588037 -3.293136)'), GeomFromEWKT('SRID=4674;POINT (-38.588099 -3.293125)'))) / (select extract(epoch from '2026-05-28 10:14:15'::timestamp) - extract(epoch from '2026-05-28 10:14: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'), 46535, 'SRID=4674;POINT (-38.588165 -3.293125)', '2026-05-28 10:14:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588099 -3.293125)'), GeomFromEWKT('SRID=4674;POINT (-38.588165 -3.293125)'))) / (select extract(epoch from '2026-05-28 10:14:20'::timestamp) - extract(epoch from '2026-05-28 10:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588099 -3.293125)'), GeomFromEWKT('SRID=4674;POINT (-38.588165 -3.293125)'))) / (select extract(epoch from '2026-05-28 10:14:20'::timestamp) - extract(epoch from '2026-05-28 10:14:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.588226 -3.293131)', '2026-05-28 10:14:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588165 -3.293125)'), GeomFromEWKT('SRID=4674;POINT (-38.588226 -3.293131)'))) / (select extract(epoch from '2026-05-28 10:14:25'::timestamp) - extract(epoch from '2026-05-28 10:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588165 -3.293125)'), GeomFromEWKT('SRID=4674;POINT (-38.588226 -3.293131)'))) / (select extract(epoch from '2026-05-28 10:14:25'::timestamp) - extract(epoch from '2026-05-28 10:14:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.588259 -3.293128)', '2026-05-28 10:14:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588226 -3.293131)'), GeomFromEWKT('SRID=4674;POINT (-38.588259 -3.293128)'))) / (select extract(epoch from '2026-05-28 10:14:28'::timestamp) - extract(epoch from '2026-05-28 10:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588226 -3.293131)'), GeomFromEWKT('SRID=4674;POINT (-38.588259 -3.293128)'))) / (select extract(epoch from '2026-05-28 10:14:28'::timestamp) - extract(epoch from '2026-05-28 10:14: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'), 46535, 'SRID=4674;POINT (-38.588297 -3.293126)', '2026-05-28 10:14:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588259 -3.293128)'), GeomFromEWKT('SRID=4674;POINT (-38.588297 -3.293126)'))) / (select extract(epoch from '2026-05-28 10:14:33'::timestamp) - extract(epoch from '2026-05-28 10:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588259 -3.293128)'), GeomFromEWKT('SRID=4674;POINT (-38.588297 -3.293126)'))) / (select extract(epoch from '2026-05-28 10:14:33'::timestamp) - extract(epoch from '2026-05-28 10:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.588343 -3.293112)', '2026-05-28 10:14:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588297 -3.293126)'), GeomFromEWKT('SRID=4674;POINT (-38.588343 -3.293112)'))) / (select extract(epoch from '2026-05-28 10:14:43'::timestamp) - extract(epoch from '2026-05-28 10:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588297 -3.293126)'), GeomFromEWKT('SRID=4674;POINT (-38.588343 -3.293112)'))) / (select extract(epoch from '2026-05-28 10:14:43'::timestamp) - extract(epoch from '2026-05-28 10:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.588371 -3.293099)', '2026-05-28 10:14:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588343 -3.293112)'), GeomFromEWKT('SRID=4674;POINT (-38.588371 -3.293099)'))) / (select extract(epoch from '2026-05-28 10:14:48'::timestamp) - extract(epoch from '2026-05-28 10:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588343 -3.293112)'), GeomFromEWKT('SRID=4674;POINT (-38.588371 -3.293099)'))) / (select extract(epoch from '2026-05-28 10:14:48'::timestamp) - extract(epoch from '2026-05-28 10:14: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'), 46535, 'SRID=4674;POINT (-38.588487 -3.293056)', '2026-05-28 10:15:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588371 -3.293099)'), GeomFromEWKT('SRID=4674;POINT (-38.588487 -3.293056)'))) / (select extract(epoch from '2026-05-28 10:15:00'::timestamp) - extract(epoch from '2026-05-28 10:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588371 -3.293099)'), GeomFromEWKT('SRID=4674;POINT (-38.588487 -3.293056)'))) / (select extract(epoch from '2026-05-28 10:15:00'::timestamp) - extract(epoch from '2026-05-28 10:14: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'), 46535, 'SRID=4674;POINT (-38.588546 -3.293028)', '2026-05-28 10:15:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588487 -3.293056)'), GeomFromEWKT('SRID=4674;POINT (-38.588546 -3.293028)'))) / (select extract(epoch from '2026-05-28 10:15:07'::timestamp) - extract(epoch from '2026-05-28 10:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588487 -3.293056)'), GeomFromEWKT('SRID=4674;POINT (-38.588546 -3.293028)'))) / (select extract(epoch from '2026-05-28 10:15:07'::timestamp) - extract(epoch from '2026-05-28 10:15: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'), 46535, 'SRID=4674;POINT (-38.588616 -3.292998)', '2026-05-28 10:15:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588546 -3.293028)'), GeomFromEWKT('SRID=4674;POINT (-38.588616 -3.292998)'))) / (select extract(epoch from '2026-05-28 10:15:15'::timestamp) - extract(epoch from '2026-05-28 10:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588546 -3.293028)'), GeomFromEWKT('SRID=4674;POINT (-38.588616 -3.292998)'))) / (select extract(epoch from '2026-05-28 10:15:15'::timestamp) - extract(epoch from '2026-05-28 10:15: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'), 46535, 'SRID=4674;POINT (-38.588659 -3.292975)', '2026-05-28 10:15:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588616 -3.292998)'), GeomFromEWKT('SRID=4674;POINT (-38.588659 -3.292975)'))) / (select extract(epoch from '2026-05-28 10:15:19'::timestamp) - extract(epoch from '2026-05-28 10:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588616 -3.292998)'), GeomFromEWKT('SRID=4674;POINT (-38.588659 -3.292975)'))) / (select extract(epoch from '2026-05-28 10:15:19'::timestamp) - extract(epoch from '2026-05-28 10:15: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'), 46535, 'SRID=4674;POINT (-38.588666 -3.292974)', '2026-05-28 10:15:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588659 -3.292975)'), GeomFromEWKT('SRID=4674;POINT (-38.588666 -3.292974)'))) / (select extract(epoch from '2026-05-28 10:15:20'::timestamp) - extract(epoch from '2026-05-28 10:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588659 -3.292975)'), GeomFromEWKT('SRID=4674;POINT (-38.588666 -3.292974)'))) / (select extract(epoch from '2026-05-28 10:15:20'::timestamp) - extract(epoch from '2026-05-28 10:15:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.588692 -3.292962)', '2026-05-28 10:15:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588666 -3.292974)'), GeomFromEWKT('SRID=4674;POINT (-38.588692 -3.292962)'))) / (select extract(epoch from '2026-05-28 10:15:24'::timestamp) - extract(epoch from '2026-05-28 10:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588666 -3.292974)'), GeomFromEWKT('SRID=4674;POINT (-38.588692 -3.292962)'))) / (select extract(epoch from '2026-05-28 10:15:24'::timestamp) - extract(epoch from '2026-05-28 10:15:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.588725 -3.292957)', '2026-05-28 10:15:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588692 -3.292962)'), GeomFromEWKT('SRID=4674;POINT (-38.588725 -3.292957)'))) / (select extract(epoch from '2026-05-28 10:15:26'::timestamp) - extract(epoch from '2026-05-28 10:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588692 -3.292962)'), GeomFromEWKT('SRID=4674;POINT (-38.588725 -3.292957)'))) / (select extract(epoch from '2026-05-28 10:15:26'::timestamp) - extract(epoch from '2026-05-28 10:15:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.588752 -3.292943)', '2026-05-28 10:15:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588725 -3.292957)'), GeomFromEWKT('SRID=4674;POINT (-38.588752 -3.292943)'))) / (select extract(epoch from '2026-05-28 10:15:30'::timestamp) - extract(epoch from '2026-05-28 10:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588725 -3.292957)'), GeomFromEWKT('SRID=4674;POINT (-38.588752 -3.292943)'))) / (select extract(epoch from '2026-05-28 10:15:30'::timestamp) - extract(epoch from '2026-05-28 10:15: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'), 46535, 'SRID=4674;POINT (-38.588761 -3.292939)', '2026-05-28 10:15:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588752 -3.292943)'), GeomFromEWKT('SRID=4674;POINT (-38.588761 -3.292939)'))) / (select extract(epoch from '2026-05-28 10:15:31'::timestamp) - extract(epoch from '2026-05-28 10:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588752 -3.292943)'), GeomFromEWKT('SRID=4674;POINT (-38.588761 -3.292939)'))) / (select extract(epoch from '2026-05-28 10:15:31'::timestamp) - extract(epoch from '2026-05-28 10:15: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'), 46535, 'SRID=4674;POINT (-38.588829 -3.292913)', '2026-05-28 10:15:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588761 -3.292939)'), GeomFromEWKT('SRID=4674;POINT (-38.588829 -3.292913)'))) / (select extract(epoch from '2026-05-28 10:15:39'::timestamp) - extract(epoch from '2026-05-28 10:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588761 -3.292939)'), GeomFromEWKT('SRID=4674;POINT (-38.588829 -3.292913)'))) / (select extract(epoch from '2026-05-28 10:15:39'::timestamp) - extract(epoch from '2026-05-28 10:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.588868 -3.292891)', '2026-05-28 10:15:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588829 -3.292913)'), GeomFromEWKT('SRID=4674;POINT (-38.588868 -3.292891)'))) / (select extract(epoch from '2026-05-28 10:15:45'::timestamp) - extract(epoch from '2026-05-28 10:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588829 -3.292913)'), GeomFromEWKT('SRID=4674;POINT (-38.588868 -3.292891)'))) / (select extract(epoch from '2026-05-28 10:15:45'::timestamp) - extract(epoch from '2026-05-28 10:15:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.588908 -3.292857)', '2026-05-28 10:15:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588868 -3.292891)'), GeomFromEWKT('SRID=4674;POINT (-38.588908 -3.292857)'))) / (select extract(epoch from '2026-05-28 10:15:53'::timestamp) - extract(epoch from '2026-05-28 10:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588868 -3.292891)'), GeomFromEWKT('SRID=4674;POINT (-38.588908 -3.292857)'))) / (select extract(epoch from '2026-05-28 10:15:53'::timestamp) - extract(epoch from '2026-05-28 10:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.588944 -3.292834)', '2026-05-28 10:15:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588908 -3.292857)'), GeomFromEWKT('SRID=4674;POINT (-38.588944 -3.292834)'))) / (select extract(epoch from '2026-05-28 10:15:59'::timestamp) - extract(epoch from '2026-05-28 10:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588908 -3.292857)'), GeomFromEWKT('SRID=4674;POINT (-38.588944 -3.292834)'))) / (select extract(epoch from '2026-05-28 10:15:59'::timestamp) - extract(epoch from '2026-05-28 10:15: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'), 46535, 'SRID=4674;POINT (-38.588983 -3.292813)', '2026-05-28 10:16:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588944 -3.292834)'), GeomFromEWKT('SRID=4674;POINT (-38.588983 -3.292813)'))) / (select extract(epoch from '2026-05-28 10:16:06'::timestamp) - extract(epoch from '2026-05-28 10:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588944 -3.292834)'), GeomFromEWKT('SRID=4674;POINT (-38.588983 -3.292813)'))) / (select extract(epoch from '2026-05-28 10:16:06'::timestamp) - extract(epoch from '2026-05-28 10:15:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589013 -3.292782)', '2026-05-28 10:16:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588983 -3.292813)'), GeomFromEWKT('SRID=4674;POINT (-38.589013 -3.292782)'))) / (select extract(epoch from '2026-05-28 10:16:12'::timestamp) - extract(epoch from '2026-05-28 10:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588983 -3.292813)'), GeomFromEWKT('SRID=4674;POINT (-38.589013 -3.292782)'))) / (select extract(epoch from '2026-05-28 10:16:12'::timestamp) - extract(epoch from '2026-05-28 10:16: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'), 46535, 'SRID=4674;POINT (-38.589024 -3.29278)', '2026-05-28 10:16:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589013 -3.292782)'), GeomFromEWKT('SRID=4674;POINT (-38.589024 -3.29278)'))) / (select extract(epoch from '2026-05-28 10:16:13'::timestamp) - extract(epoch from '2026-05-28 10:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589013 -3.292782)'), GeomFromEWKT('SRID=4674;POINT (-38.589024 -3.29278)'))) / (select extract(epoch from '2026-05-28 10:16:13'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.589083 -3.292762)', '2026-05-28 10:16:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589024 -3.29278)'), GeomFromEWKT('SRID=4674;POINT (-38.589083 -3.292762)'))) / (select extract(epoch from '2026-05-28 10:16:22'::timestamp) - extract(epoch from '2026-05-28 10:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589024 -3.29278)'), GeomFromEWKT('SRID=4674;POINT (-38.589083 -3.292762)'))) / (select extract(epoch from '2026-05-28 10:16:22'::timestamp) - extract(epoch from '2026-05-28 10:16:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589125 -3.292737)', '2026-05-28 10:16:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589083 -3.292762)'), GeomFromEWKT('SRID=4674;POINT (-38.589125 -3.292737)'))) / (select extract(epoch from '2026-05-28 10:16:30'::timestamp) - extract(epoch from '2026-05-28 10:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589083 -3.292762)'), GeomFromEWKT('SRID=4674;POINT (-38.589125 -3.292737)'))) / (select extract(epoch from '2026-05-28 10:16:30'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.589171 -3.292709)', '2026-05-28 10:16:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589125 -3.292737)'), GeomFromEWKT('SRID=4674;POINT (-38.589171 -3.292709)'))) / (select extract(epoch from '2026-05-28 10:16:38'::timestamp) - extract(epoch from '2026-05-28 10:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589125 -3.292737)'), GeomFromEWKT('SRID=4674;POINT (-38.589171 -3.292709)'))) / (select extract(epoch from '2026-05-28 10:16:38'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.589224 -3.292677)', '2026-05-28 10:16:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589171 -3.292709)'), GeomFromEWKT('SRID=4674;POINT (-38.589224 -3.292677)'))) / (select extract(epoch from '2026-05-28 10:16:47'::timestamp) - extract(epoch from '2026-05-28 10:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589171 -3.292709)'), GeomFromEWKT('SRID=4674;POINT (-38.589224 -3.292677)'))) / (select extract(epoch from '2026-05-28 10:16:47'::timestamp) - extract(epoch from '2026-05-28 10:16: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'), 46535, 'SRID=4674;POINT (-38.589265 -3.292665)', '2026-05-28 10:16:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589224 -3.292677)'), GeomFromEWKT('SRID=4674;POINT (-38.589265 -3.292665)'))) / (select extract(epoch from '2026-05-28 10:16:53'::timestamp) - extract(epoch from '2026-05-28 10:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589224 -3.292677)'), GeomFromEWKT('SRID=4674;POINT (-38.589265 -3.292665)'))) / (select extract(epoch from '2026-05-28 10:16:53'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.589307 -3.292645)', '2026-05-28 10:17:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589265 -3.292665)'), GeomFromEWKT('SRID=4674;POINT (-38.589307 -3.292645)'))) / (select extract(epoch from '2026-05-28 10:17:01'::timestamp) - extract(epoch from '2026-05-28 10:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589265 -3.292665)'), GeomFromEWKT('SRID=4674;POINT (-38.589307 -3.292645)'))) / (select extract(epoch from '2026-05-28 10:17:01'::timestamp) - extract(epoch from '2026-05-28 10:16: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'), 46535, 'SRID=4674;POINT (-38.58934 -3.292628)', '2026-05-28 10:17:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589307 -3.292645)'), GeomFromEWKT('SRID=4674;POINT (-38.58934 -3.292628)'))) / (select extract(epoch from '2026-05-28 10:17:07'::timestamp) - extract(epoch from '2026-05-28 10:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589307 -3.292645)'), GeomFromEWKT('SRID=4674;POINT (-38.58934 -3.292628)'))) / (select extract(epoch from '2026-05-28 10:17:07'::timestamp) - extract(epoch from '2026-05-28 10:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589379 -3.292608)', '2026-05-28 10:17:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58934 -3.292628)'), GeomFromEWKT('SRID=4674;POINT (-38.589379 -3.292608)'))) / (select extract(epoch from '2026-05-28 10:17:13'::timestamp) - extract(epoch from '2026-05-28 10:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58934 -3.292628)'), GeomFromEWKT('SRID=4674;POINT (-38.589379 -3.292608)'))) / (select extract(epoch from '2026-05-28 10:17:13'::timestamp) - extract(epoch from '2026-05-28 10:17:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589409 -3.29259)', '2026-05-28 10:17:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589379 -3.292608)'), GeomFromEWKT('SRID=4674;POINT (-38.589409 -3.29259)'))) / (select extract(epoch from '2026-05-28 10:17:19'::timestamp) - extract(epoch from '2026-05-28 10:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589379 -3.292608)'), GeomFromEWKT('SRID=4674;POINT (-38.589409 -3.29259)'))) / (select extract(epoch from '2026-05-28 10:17:19'::timestamp) - extract(epoch from '2026-05-28 10:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589466 -3.292566)', '2026-05-28 10:17:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589409 -3.29259)'), GeomFromEWKT('SRID=4674;POINT (-38.589466 -3.292566)'))) / (select extract(epoch from '2026-05-28 10:17:28'::timestamp) - extract(epoch from '2026-05-28 10:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589409 -3.29259)'), GeomFromEWKT('SRID=4674;POINT (-38.589466 -3.292566)'))) / (select extract(epoch from '2026-05-28 10:17:28'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.589491 -3.292554)', '2026-05-28 10:17:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589466 -3.292566)'), GeomFromEWKT('SRID=4674;POINT (-38.589491 -3.292554)'))) / (select extract(epoch from '2026-05-28 10:17:31'::timestamp) - extract(epoch from '2026-05-28 10:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589466 -3.292566)'), GeomFromEWKT('SRID=4674;POINT (-38.589491 -3.292554)'))) / (select extract(epoch from '2026-05-28 10:17:31'::timestamp) - extract(epoch from '2026-05-28 10:17:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589509 -3.29255)', '2026-05-28 10:17:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589491 -3.292554)'), GeomFromEWKT('SRID=4674;POINT (-38.589509 -3.29255)'))) / (select extract(epoch from '2026-05-28 10:17:33'::timestamp) - extract(epoch from '2026-05-28 10:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589491 -3.292554)'), GeomFromEWKT('SRID=4674;POINT (-38.589509 -3.29255)'))) / (select extract(epoch from '2026-05-28 10:17:33'::timestamp) - extract(epoch from '2026-05-28 10:17:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589534 -3.292541)', '2026-05-28 10:17:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589509 -3.29255)'), GeomFromEWKT('SRID=4674;POINT (-38.589534 -3.292541)'))) / (select extract(epoch from '2026-05-28 10:17:39'::timestamp) - extract(epoch from '2026-05-28 10:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589509 -3.29255)'), GeomFromEWKT('SRID=4674;POINT (-38.589534 -3.292541)'))) / (select extract(epoch from '2026-05-28 10:17:39'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.589557 -3.292536)', '2026-05-28 10:17:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589534 -3.292541)'), GeomFromEWKT('SRID=4674;POINT (-38.589557 -3.292536)'))) / (select extract(epoch from '2026-05-28 10:17:43'::timestamp) - extract(epoch from '2026-05-28 10:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589534 -3.292541)'), GeomFromEWKT('SRID=4674;POINT (-38.589557 -3.292536)'))) / (select extract(epoch from '2026-05-28 10:17:43'::timestamp) - extract(epoch from '2026-05-28 10:17:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589565 -3.292531)', '2026-05-28 10:17:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589557 -3.292536)'), GeomFromEWKT('SRID=4674;POINT (-38.589565 -3.292531)'))) / (select extract(epoch from '2026-05-28 10:17:44'::timestamp) - extract(epoch from '2026-05-28 10:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589557 -3.292536)'), GeomFromEWKT('SRID=4674;POINT (-38.589565 -3.292531)'))) / (select extract(epoch from '2026-05-28 10:17:44'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.58959 -3.292514)', '2026-05-28 10:17:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589565 -3.292531)'), GeomFromEWKT('SRID=4674;POINT (-38.58959 -3.292514)'))) / (select extract(epoch from '2026-05-28 10:17:49'::timestamp) - extract(epoch from '2026-05-28 10:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589565 -3.292531)'), GeomFromEWKT('SRID=4674;POINT (-38.58959 -3.292514)'))) / (select extract(epoch from '2026-05-28 10:17:49'::timestamp) - extract(epoch from '2026-05-28 10:17:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589632 -3.29249)', '2026-05-28 10:17:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58959 -3.292514)'), GeomFromEWKT('SRID=4674;POINT (-38.589632 -3.29249)'))) / (select extract(epoch from '2026-05-28 10:17:58'::timestamp) - extract(epoch from '2026-05-28 10:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58959 -3.292514)'), GeomFromEWKT('SRID=4674;POINT (-38.589632 -3.29249)'))) / (select extract(epoch from '2026-05-28 10:17:58'::timestamp) - extract(epoch from '2026-05-28 10:17: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'), 46535, 'SRID=4674;POINT (-38.589661 -3.292478)', '2026-05-28 10:18:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589632 -3.29249)'), GeomFromEWKT('SRID=4674;POINT (-38.589661 -3.292478)'))) / (select extract(epoch from '2026-05-28 10:18:01'::timestamp) - extract(epoch from '2026-05-28 10:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589632 -3.29249)'), GeomFromEWKT('SRID=4674;POINT (-38.589661 -3.292478)'))) / (select extract(epoch from '2026-05-28 10:18:01'::timestamp) - extract(epoch from '2026-05-28 10:17: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'), 46535, 'SRID=4674;POINT (-38.589662 -3.292472)', '2026-05-28 10:18:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589661 -3.292478)'), GeomFromEWKT('SRID=4674;POINT (-38.589662 -3.292472)'))) / (select extract(epoch from '2026-05-28 10:18:03'::timestamp) - extract(epoch from '2026-05-28 10:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589661 -3.292478)'), GeomFromEWKT('SRID=4674;POINT (-38.589662 -3.292472)'))) / (select extract(epoch from '2026-05-28 10:18:03'::timestamp) - extract(epoch from '2026-05-28 10:18: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'), 46535, 'SRID=4674;POINT (-38.589676 -3.292463)', '2026-05-28 10:18:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589662 -3.292472)'), GeomFromEWKT('SRID=4674;POINT (-38.589676 -3.292463)'))) / (select extract(epoch from '2026-05-28 10:18:05'::timestamp) - extract(epoch from '2026-05-28 10:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589662 -3.292472)'), GeomFromEWKT('SRID=4674;POINT (-38.589676 -3.292463)'))) / (select extract(epoch from '2026-05-28 10:18:05'::timestamp) - extract(epoch from '2026-05-28 10:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589687 -3.292462)', '2026-05-28 10:18:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589676 -3.292463)'), GeomFromEWKT('SRID=4674;POINT (-38.589687 -3.292462)'))) / (select extract(epoch from '2026-05-28 10:18:07'::timestamp) - extract(epoch from '2026-05-28 10:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589676 -3.292463)'), GeomFromEWKT('SRID=4674;POINT (-38.589687 -3.292462)'))) / (select extract(epoch from '2026-05-28 10:18:07'::timestamp) - extract(epoch from '2026-05-28 10:18: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'), 46535, 'SRID=4674;POINT (-38.589718 -3.292427)', '2026-05-28 10:18:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589687 -3.292462)'), GeomFromEWKT('SRID=4674;POINT (-38.589718 -3.292427)'))) / (select extract(epoch from '2026-05-28 10:18:15'::timestamp) - extract(epoch from '2026-05-28 10:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589687 -3.292462)'), GeomFromEWKT('SRID=4674;POINT (-38.589718 -3.292427)'))) / (select extract(epoch from '2026-05-28 10:18:15'::timestamp) - extract(epoch from '2026-05-28 10:18: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'), 46535, 'SRID=4674;POINT (-38.589728 -3.292393)', '2026-05-28 10:18:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589718 -3.292427)'), GeomFromEWKT('SRID=4674;POINT (-38.589728 -3.292393)'))) / (select extract(epoch from '2026-05-28 10:18:22'::timestamp) - extract(epoch from '2026-05-28 10:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589718 -3.292427)'), GeomFromEWKT('SRID=4674;POINT (-38.589728 -3.292393)'))) / (select extract(epoch from '2026-05-28 10:18:22'::timestamp) - extract(epoch from '2026-05-28 10:18:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589711 -3.292391)', '2026-05-28 10:18:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589728 -3.292393)'), GeomFromEWKT('SRID=4674;POINT (-38.589711 -3.292391)'))) / (select extract(epoch from '2026-05-28 10:18:32'::timestamp) - extract(epoch from '2026-05-28 10:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589728 -3.292393)'), GeomFromEWKT('SRID=4674;POINT (-38.589711 -3.292391)'))) / (select extract(epoch from '2026-05-28 10:18:32'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.589706 -3.292395)', '2026-05-28 10:18:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589711 -3.292391)'), GeomFromEWKT('SRID=4674;POINT (-38.589706 -3.292395)'))) / (select extract(epoch from '2026-05-28 10:18:42'::timestamp) - extract(epoch from '2026-05-28 10:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589711 -3.292391)'), GeomFromEWKT('SRID=4674;POINT (-38.589706 -3.292395)'))) / (select extract(epoch from '2026-05-28 10:18:42'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.589706 -3.292388)', '2026-05-28 10:18:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589706 -3.292395)'), GeomFromEWKT('SRID=4674;POINT (-38.589706 -3.292388)'))) / (select extract(epoch from '2026-05-28 10:18:53'::timestamp) - extract(epoch from '2026-05-28 10:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589706 -3.292395)'), GeomFromEWKT('SRID=4674;POINT (-38.589706 -3.292388)'))) / (select extract(epoch from '2026-05-28 10:18:53'::timestamp) - extract(epoch from '2026-05-28 10:18: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'), 46535, 'SRID=4674;POINT (-38.589707 -3.292374)', '2026-05-28 10:19:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589706 -3.292388)'), GeomFromEWKT('SRID=4674;POINT (-38.589707 -3.292374)'))) / (select extract(epoch from '2026-05-28 10:19:02'::timestamp) - extract(epoch from '2026-05-28 10:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589706 -3.292388)'), GeomFromEWKT('SRID=4674;POINT (-38.589707 -3.292374)'))) / (select extract(epoch from '2026-05-28 10:19:02'::timestamp) - extract(epoch from '2026-05-28 10:18:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589694 -3.292371)', '2026-05-28 10:19:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589707 -3.292374)'), GeomFromEWKT('SRID=4674;POINT (-38.589694 -3.292371)'))) / (select extract(epoch from '2026-05-28 10:19:33'::timestamp) - extract(epoch from '2026-05-28 10:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589707 -3.292374)'), GeomFromEWKT('SRID=4674;POINT (-38.589694 -3.292371)'))) / (select extract(epoch from '2026-05-28 10:19:33'::timestamp) - extract(epoch from '2026-05-28 10:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589696 -3.292326)', '2026-05-28 10:20:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589694 -3.292371)'), GeomFromEWKT('SRID=4674;POINT (-38.589696 -3.292326)'))) / (select extract(epoch from '2026-05-28 10:20:34'::timestamp) - extract(epoch from '2026-05-28 10:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589694 -3.292371)'), GeomFromEWKT('SRID=4674;POINT (-38.589696 -3.292326)'))) / (select extract(epoch from '2026-05-28 10:20:34'::timestamp) - extract(epoch from '2026-05-28 10:19:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58974 -3.292294)', '2026-05-28 10:20:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589696 -3.292326)'), GeomFromEWKT('SRID=4674;POINT (-38.58974 -3.292294)'))) / (select extract(epoch from '2026-05-28 10:20:44'::timestamp) - extract(epoch from '2026-05-28 10:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589696 -3.292326)'), GeomFromEWKT('SRID=4674;POINT (-38.58974 -3.292294)'))) / (select extract(epoch from '2026-05-28 10:20:44'::timestamp) - extract(epoch from '2026-05-28 10:20: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'), 46535, 'SRID=4674;POINT (-38.589781 -3.292269)', '2026-05-28 10:20:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58974 -3.292294)'), GeomFromEWKT('SRID=4674;POINT (-38.589781 -3.292269)'))) / (select extract(epoch from '2026-05-28 10:20:52'::timestamp) - extract(epoch from '2026-05-28 10:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58974 -3.292294)'), GeomFromEWKT('SRID=4674;POINT (-38.589781 -3.292269)'))) / (select extract(epoch from '2026-05-28 10:20:52'::timestamp) - extract(epoch from '2026-05-28 10:20:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589808 -3.292267)', '2026-05-28 10:20:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589781 -3.292269)'), GeomFromEWKT('SRID=4674;POINT (-38.589808 -3.292267)'))) / (select extract(epoch from '2026-05-28 10:20:59'::timestamp) - extract(epoch from '2026-05-28 10:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589781 -3.292269)'), GeomFromEWKT('SRID=4674;POINT (-38.589808 -3.292267)'))) / (select extract(epoch from '2026-05-28 10:20:59'::timestamp) - extract(epoch from '2026-05-28 10:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589799 -3.292262)', '2026-05-28 10:21:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589808 -3.292267)'), GeomFromEWKT('SRID=4674;POINT (-38.589799 -3.292262)'))) / (select extract(epoch from '2026-05-28 10:21:22'::timestamp) - extract(epoch from '2026-05-28 10:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589808 -3.292267)'), GeomFromEWKT('SRID=4674;POINT (-38.589799 -3.292262)'))) / (select extract(epoch from '2026-05-28 10:21:22'::timestamp) - extract(epoch from '2026-05-28 10:20:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589803 -3.292281)', '2026-05-28 10:21:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589799 -3.292262)'), GeomFromEWKT('SRID=4674;POINT (-38.589803 -3.292281)'))) / (select extract(epoch from '2026-05-28 10:21:42'::timestamp) - extract(epoch from '2026-05-28 10:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589799 -3.292262)'), GeomFromEWKT('SRID=4674;POINT (-38.589803 -3.292281)'))) / (select extract(epoch from '2026-05-28 10:21:42'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.589809 -3.292286)', '2026-05-28 10:21:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589803 -3.292281)'), GeomFromEWKT('SRID=4674;POINT (-38.589809 -3.292286)'))) / (select extract(epoch from '2026-05-28 10:21:48'::timestamp) - extract(epoch from '2026-05-28 10:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589803 -3.292281)'), GeomFromEWKT('SRID=4674;POINT (-38.589809 -3.292286)'))) / (select extract(epoch from '2026-05-28 10:21:48'::timestamp) - extract(epoch from '2026-05-28 10:21: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'), 46535, 'SRID=4674;POINT (-38.589797 -3.292276)', '2026-05-28 10:22:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589809 -3.292286)'), GeomFromEWKT('SRID=4674;POINT (-38.589797 -3.292276)'))) / (select extract(epoch from '2026-05-28 10:22:33'::timestamp) - extract(epoch from '2026-05-28 10:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589809 -3.292286)'), GeomFromEWKT('SRID=4674;POINT (-38.589797 -3.292276)'))) / (select extract(epoch from '2026-05-28 10:22:33'::timestamp) - extract(epoch from '2026-05-28 10: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'), 46535, 'SRID=4674;POINT (-38.589772 -3.292275)', '2026-05-28 10:23:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589797 -3.292276)'), GeomFromEWKT('SRID=4674;POINT (-38.589772 -3.292275)'))) / (select extract(epoch from '2026-05-28 10:23:03'::timestamp) - extract(epoch from '2026-05-28 10:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589797 -3.292276)'), GeomFromEWKT('SRID=4674;POINT (-38.589772 -3.292275)'))) / (select extract(epoch from '2026-05-28 10:23:03'::timestamp) - extract(epoch from '2026-05-28 10:22:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589787 -3.292284)', '2026-05-28 10:24:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589772 -3.292275)'), GeomFromEWKT('SRID=4674;POINT (-38.589787 -3.292284)'))) / (select extract(epoch from '2026-05-28 10:24:08'::timestamp) - extract(epoch from '2026-05-28 10:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589772 -3.292275)'), GeomFromEWKT('SRID=4674;POINT (-38.589787 -3.292284)'))) / (select extract(epoch from '2026-05-28 10:24:08'::timestamp) - extract(epoch from '2026-05-28 10:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589798 -3.292268)', '2026-05-28 10:25:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589787 -3.292284)'), GeomFromEWKT('SRID=4674;POINT (-38.589798 -3.292268)'))) / (select extract(epoch from '2026-05-28 10:25:08'::timestamp) - extract(epoch from '2026-05-28 10:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589787 -3.292284)'), GeomFromEWKT('SRID=4674;POINT (-38.589798 -3.292268)'))) / (select extract(epoch from '2026-05-28 10:25:08'::timestamp) - extract(epoch from '2026-05-28 10:24: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'), 46535, 'SRID=4674;POINT (-38.587888 -3.293692)', '2026-05-28 15:19:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589798 -3.292268)'), GeomFromEWKT('SRID=4674;POINT (-38.587888 -3.293692)'))) / (select extract(epoch from '2026-05-28 15:19:36'::timestamp) - extract(epoch from '2026-05-28 10:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589798 -3.292268)'), GeomFromEWKT('SRID=4674;POINT (-38.587888 -3.293692)'))) / (select extract(epoch from '2026-05-28 15:19:36'::timestamp) - extract(epoch from '2026-05-28 10:25: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'), 46535, 'SRID=4674;POINT (-38.587672 -3.293698)', '2026-05-28 15:19:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587888 -3.293692)'), GeomFromEWKT('SRID=4674;POINT (-38.587672 -3.293698)'))) / (select extract(epoch from '2026-05-28 15:19:42'::timestamp) - extract(epoch from '2026-05-28 15:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587888 -3.293692)'), GeomFromEWKT('SRID=4674;POINT (-38.587672 -3.293698)'))) / (select extract(epoch from '2026-05-28 15:19:42'::timestamp) - extract(epoch from '2026-05-28 15:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.587611 -3.293657)', '2026-05-28 15:19:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587672 -3.293698)'), GeomFromEWKT('SRID=4674;POINT (-38.587611 -3.293657)'))) / (select extract(epoch from '2026-05-28 15:19:47'::timestamp) - extract(epoch from '2026-05-28 15:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587672 -3.293698)'), GeomFromEWKT('SRID=4674;POINT (-38.587611 -3.293657)'))) / (select extract(epoch from '2026-05-28 15:19:47'::timestamp) - extract(epoch from '2026-05-28 15:19: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'), 46535, 'SRID=4674;POINT (-38.587602 -3.293647)', '2026-05-28 15:19:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587611 -3.293657)'), GeomFromEWKT('SRID=4674;POINT (-38.587602 -3.293647)'))) / (select extract(epoch from '2026-05-28 15:19:48'::timestamp) - extract(epoch from '2026-05-28 15:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587611 -3.293657)'), GeomFromEWKT('SRID=4674;POINT (-38.587602 -3.293647)'))) / (select extract(epoch from '2026-05-28 15:19:48'::timestamp) - extract(epoch from '2026-05-28 15:19: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'), 46535, 'SRID=4674;POINT (-38.587569 -3.293625)', '2026-05-28 15:19:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587602 -3.293647)'), GeomFromEWKT('SRID=4674;POINT (-38.587569 -3.293625)'))) / (select extract(epoch from '2026-05-28 15:19:51'::timestamp) - extract(epoch from '2026-05-28 15:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587602 -3.293647)'), GeomFromEWKT('SRID=4674;POINT (-38.587569 -3.293625)'))) / (select extract(epoch from '2026-05-28 15:19:51'::timestamp) - extract(epoch from '2026-05-28 15: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'), 46535, 'SRID=4674;POINT (-38.587556 -3.293608)', '2026-05-28 15:19:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587569 -3.293625)'), GeomFromEWKT('SRID=4674;POINT (-38.587556 -3.293608)'))) / (select extract(epoch from '2026-05-28 15:19:53'::timestamp) - extract(epoch from '2026-05-28 15:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587569 -3.293625)'), GeomFromEWKT('SRID=4674;POINT (-38.587556 -3.293608)'))) / (select extract(epoch from '2026-05-28 15:19:53'::timestamp) - extract(epoch from '2026-05-28 15:19:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.587507 -3.293586)', '2026-05-28 15:19:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587556 -3.293608)'), GeomFromEWKT('SRID=4674;POINT (-38.587507 -3.293586)'))) / (select extract(epoch from '2026-05-28 15:19:59'::timestamp) - extract(epoch from '2026-05-28 15:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587556 -3.293608)'), GeomFromEWKT('SRID=4674;POINT (-38.587507 -3.293586)'))) / (select extract(epoch from '2026-05-28 15:19:59'::timestamp) - extract(epoch from '2026-05-28 15:19:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.587547 -3.293592)', '2026-05-28 15:20:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587507 -3.293586)'), GeomFromEWKT('SRID=4674;POINT (-38.587547 -3.293592)'))) / (select extract(epoch from '2026-05-28 15:20:02'::timestamp) - extract(epoch from '2026-05-28 15:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587507 -3.293586)'), GeomFromEWKT('SRID=4674;POINT (-38.587547 -3.293592)'))) / (select extract(epoch from '2026-05-28 15:20:02'::timestamp) - extract(epoch from '2026-05-28 15: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'), 46535, 'SRID=4674;POINT (-38.587569 -3.293616)', '2026-05-28 15:20:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587547 -3.293592)'), GeomFromEWKT('SRID=4674;POINT (-38.587569 -3.293616)'))) / (select extract(epoch from '2026-05-28 15:20:05'::timestamp) - extract(epoch from '2026-05-28 15:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587547 -3.293592)'), GeomFromEWKT('SRID=4674;POINT (-38.587569 -3.293616)'))) / (select extract(epoch from '2026-05-28 15:20:05'::timestamp) - extract(epoch from '2026-05-28 15:20:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.587529 -3.293606)', '2026-05-28 15:20:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587569 -3.293616)'), GeomFromEWKT('SRID=4674;POINT (-38.587529 -3.293606)'))) / (select extract(epoch from '2026-05-28 15:20:11'::timestamp) - extract(epoch from '2026-05-28 15:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587569 -3.293616)'), GeomFromEWKT('SRID=4674;POINT (-38.587529 -3.293606)'))) / (select extract(epoch from '2026-05-28 15:20:11'::timestamp) - extract(epoch from '2026-05-28 15:20: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'), 46535, 'SRID=4674;POINT (-38.587493 -3.293591)', '2026-05-28 15:20:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587529 -3.293606)'), GeomFromEWKT('SRID=4674;POINT (-38.587493 -3.293591)'))) / (select extract(epoch from '2026-05-28 15:20:16'::timestamp) - extract(epoch from '2026-05-28 15:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587529 -3.293606)'), GeomFromEWKT('SRID=4674;POINT (-38.587493 -3.293591)'))) / (select extract(epoch from '2026-05-28 15:20:16'::timestamp) - extract(epoch from '2026-05-28 15:20: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'), 46535, 'SRID=4674;POINT (-38.587487 -3.293587)', '2026-05-28 15:20:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587493 -3.293591)'), GeomFromEWKT('SRID=4674;POINT (-38.587487 -3.293587)'))) / (select extract(epoch from '2026-05-28 15:20:17'::timestamp) - extract(epoch from '2026-05-28 15:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587493 -3.293591)'), GeomFromEWKT('SRID=4674;POINT (-38.587487 -3.293587)'))) / (select extract(epoch from '2026-05-28 15:20:17'::timestamp) - extract(epoch from '2026-05-28 15:20: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'), 46535, 'SRID=4674;POINT (-38.587446 -3.293552)', '2026-05-28 15:20:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587487 -3.293587)'), GeomFromEWKT('SRID=4674;POINT (-38.587446 -3.293552)'))) / (select extract(epoch from '2026-05-28 15:20:23'::timestamp) - extract(epoch from '2026-05-28 15:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587487 -3.293587)'), GeomFromEWKT('SRID=4674;POINT (-38.587446 -3.293552)'))) / (select extract(epoch from '2026-05-28 15:20:23'::timestamp) - extract(epoch from '2026-05-28 15:20:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.587389 -3.293507)', '2026-05-28 15:20:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587446 -3.293552)'), GeomFromEWKT('SRID=4674;POINT (-38.587389 -3.293507)'))) / (select extract(epoch from '2026-05-28 15:20:29'::timestamp) - extract(epoch from '2026-05-28 15:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587446 -3.293552)'), GeomFromEWKT('SRID=4674;POINT (-38.587389 -3.293507)'))) / (select extract(epoch from '2026-05-28 15:20:29'::timestamp) - extract(epoch from '2026-05-28 15:20: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'), 46535, 'SRID=4674;POINT (-38.587369 -3.293488)', '2026-05-28 15:20:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587389 -3.293507)'), GeomFromEWKT('SRID=4674;POINT (-38.587369 -3.293488)'))) / (select extract(epoch from '2026-05-28 15:20:31'::timestamp) - extract(epoch from '2026-05-28 15:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587389 -3.293507)'), GeomFromEWKT('SRID=4674;POINT (-38.587369 -3.293488)'))) / (select extract(epoch from '2026-05-28 15:20:31'::timestamp) - extract(epoch from '2026-05-28 15:20: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'), 46535, 'SRID=4674;POINT (-38.587349 -3.293472)', '2026-05-28 15:20:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587369 -3.293488)'), GeomFromEWKT('SRID=4674;POINT (-38.587349 -3.293472)'))) / (select extract(epoch from '2026-05-28 15:20:33'::timestamp) - extract(epoch from '2026-05-28 15:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587369 -3.293488)'), GeomFromEWKT('SRID=4674;POINT (-38.587349 -3.293472)'))) / (select extract(epoch from '2026-05-28 15:20:33'::timestamp) - extract(epoch from '2026-05-28 15:20: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'), 46535, 'SRID=4674;POINT (-38.587339 -3.293466)', '2026-05-28 15:20:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587349 -3.293472)'), GeomFromEWKT('SRID=4674;POINT (-38.587339 -3.293466)'))) / (select extract(epoch from '2026-05-28 15:20:34'::timestamp) - extract(epoch from '2026-05-28 15:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587349 -3.293472)'), GeomFromEWKT('SRID=4674;POINT (-38.587339 -3.293466)'))) / (select extract(epoch from '2026-05-28 15:20:34'::timestamp) - extract(epoch from '2026-05-28 15: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'), 46535, 'SRID=4674;POINT (-38.587279 -3.293417)', '2026-05-28 15:20:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587339 -3.293466)'), GeomFromEWKT('SRID=4674;POINT (-38.587279 -3.293417)'))) / (select extract(epoch from '2026-05-28 15:20:40'::timestamp) - extract(epoch from '2026-05-28 15:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587339 -3.293466)'), GeomFromEWKT('SRID=4674;POINT (-38.587279 -3.293417)'))) / (select extract(epoch from '2026-05-28 15:20:40'::timestamp) - extract(epoch from '2026-05-28 15:20: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'), 46535, 'SRID=4674;POINT (-38.587224 -3.29337)', '2026-05-28 15:20:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587279 -3.293417)'), GeomFromEWKT('SRID=4674;POINT (-38.587224 -3.29337)'))) / (select extract(epoch from '2026-05-28 15:20:45'::timestamp) - extract(epoch from '2026-05-28 15:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587279 -3.293417)'), GeomFromEWKT('SRID=4674;POINT (-38.587224 -3.29337)'))) / (select extract(epoch from '2026-05-28 15:20:45'::timestamp) - extract(epoch from '2026-05-28 15:20: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'), 46535, 'SRID=4674;POINT (-38.587219 -3.293361)', '2026-05-28 15:20:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587224 -3.29337)'), GeomFromEWKT('SRID=4674;POINT (-38.587219 -3.293361)'))) / (select extract(epoch from '2026-05-28 15:20:46'::timestamp) - extract(epoch from '2026-05-28 15:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587224 -3.29337)'), GeomFromEWKT('SRID=4674;POINT (-38.587219 -3.293361)'))) / (select extract(epoch from '2026-05-28 15:20:46'::timestamp) - extract(epoch from '2026-05-28 15:20:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.587159 -3.293305)', '2026-05-28 15:20:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587219 -3.293361)'), GeomFromEWKT('SRID=4674;POINT (-38.587159 -3.293305)'))) / (select extract(epoch from '2026-05-28 15:20:52'::timestamp) - extract(epoch from '2026-05-28 15:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587219 -3.293361)'), GeomFromEWKT('SRID=4674;POINT (-38.587159 -3.293305)'))) / (select extract(epoch from '2026-05-28 15:20:52'::timestamp) - extract(epoch from '2026-05-28 15:20: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'), 46535, 'SRID=4674;POINT (-38.587094 -3.293208)', '2026-05-28 15:20:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587159 -3.293305)'), GeomFromEWKT('SRID=4674;POINT (-38.587094 -3.293208)'))) / (select extract(epoch from '2026-05-28 15:20:59'::timestamp) - extract(epoch from '2026-05-28 15:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587159 -3.293305)'), GeomFromEWKT('SRID=4674;POINT (-38.587094 -3.293208)'))) / (select extract(epoch from '2026-05-28 15:20:59'::timestamp) - extract(epoch from '2026-05-28 15:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.587077 -3.293185)', '2026-05-28 15:21:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587094 -3.293208)'), GeomFromEWKT('SRID=4674;POINT (-38.587077 -3.293185)'))) / (select extract(epoch from '2026-05-28 15:21:01'::timestamp) - extract(epoch from '2026-05-28 15:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587094 -3.293208)'), GeomFromEWKT('SRID=4674;POINT (-38.587077 -3.293185)'))) / (select extract(epoch from '2026-05-28 15:21:01'::timestamp) - extract(epoch from '2026-05-28 15:20:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.587041 -3.293143)', '2026-05-28 15:21:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587077 -3.293185)'), GeomFromEWKT('SRID=4674;POINT (-38.587041 -3.293143)'))) / (select extract(epoch from '2026-05-28 15:21:05'::timestamp) - extract(epoch from '2026-05-28 15:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587077 -3.293185)'), GeomFromEWKT('SRID=4674;POINT (-38.587041 -3.293143)'))) / (select extract(epoch from '2026-05-28 15:21:05'::timestamp) - extract(epoch from '2026-05-28 15:21:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.586992 -3.29309)', '2026-05-28 15:21:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587041 -3.293143)'), GeomFromEWKT('SRID=4674;POINT (-38.586992 -3.29309)'))) / (select extract(epoch from '2026-05-28 15:21:10'::timestamp) - extract(epoch from '2026-05-28 15:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587041 -3.293143)'), GeomFromEWKT('SRID=4674;POINT (-38.586992 -3.29309)'))) / (select extract(epoch from '2026-05-28 15:21:10'::timestamp) - extract(epoch from '2026-05-28 15:21:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.586969 -3.293075)', '2026-05-28 15:21:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586992 -3.29309)'), GeomFromEWKT('SRID=4674;POINT (-38.586969 -3.293075)'))) / (select extract(epoch from '2026-05-28 15:21:12'::timestamp) - extract(epoch from '2026-05-28 15:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586992 -3.29309)'), GeomFromEWKT('SRID=4674;POINT (-38.586969 -3.293075)'))) / (select extract(epoch from '2026-05-28 15:21:12'::timestamp) - extract(epoch from '2026-05-28 15:21: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'), 46535, 'SRID=4674;POINT (-38.586937 -3.293052)', '2026-05-28 15:21:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586969 -3.293075)'), GeomFromEWKT('SRID=4674;POINT (-38.586937 -3.293052)'))) / (select extract(epoch from '2026-05-28 15:21:15'::timestamp) - extract(epoch from '2026-05-28 15:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586969 -3.293075)'), GeomFromEWKT('SRID=4674;POINT (-38.586937 -3.293052)'))) / (select extract(epoch from '2026-05-28 15:21:15'::timestamp) - extract(epoch from '2026-05-28 15:21:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58691 -3.293034)', '2026-05-28 15:21:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586937 -3.293052)'), GeomFromEWKT('SRID=4674;POINT (-38.58691 -3.293034)'))) / (select extract(epoch from '2026-05-28 15:21:17'::timestamp) - extract(epoch from '2026-05-28 15:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586937 -3.293052)'), GeomFromEWKT('SRID=4674;POINT (-38.58691 -3.293034)'))) / (select extract(epoch from '2026-05-28 15:21:17'::timestamp) - extract(epoch from '2026-05-28 15:21: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'), 46535, 'SRID=4674;POINT (-38.586872 -3.293015)', '2026-05-28 15:21:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58691 -3.293034)'), GeomFromEWKT('SRID=4674;POINT (-38.586872 -3.293015)'))) / (select extract(epoch from '2026-05-28 15:21:20'::timestamp) - extract(epoch from '2026-05-28 15:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58691 -3.293034)'), GeomFromEWKT('SRID=4674;POINT (-38.586872 -3.293015)'))) / (select extract(epoch from '2026-05-28 15:21:20'::timestamp) - extract(epoch from '2026-05-28 15:21:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.586855 -3.293008)', '2026-05-28 15:21:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586872 -3.293015)'), GeomFromEWKT('SRID=4674;POINT (-38.586855 -3.293008)'))) / (select extract(epoch from '2026-05-28 15:21:22'::timestamp) - extract(epoch from '2026-05-28 15:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586872 -3.293015)'), GeomFromEWKT('SRID=4674;POINT (-38.586855 -3.293008)'))) / (select extract(epoch from '2026-05-28 15:21:22'::timestamp) - extract(epoch from '2026-05-28 15:21:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58683 -3.292992)', '2026-05-28 15:21:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586855 -3.293008)'), GeomFromEWKT('SRID=4674;POINT (-38.58683 -3.292992)'))) / (select extract(epoch from '2026-05-28 15:21:25'::timestamp) - extract(epoch from '2026-05-28 15:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586855 -3.293008)'), GeomFromEWKT('SRID=4674;POINT (-38.58683 -3.292992)'))) / (select extract(epoch from '2026-05-28 15:21:25'::timestamp) - extract(epoch from '2026-05-28 15: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'), 46535, 'SRID=4674;POINT (-38.586811 -3.292978)', '2026-05-28 15:21:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58683 -3.292992)'), GeomFromEWKT('SRID=4674;POINT (-38.586811 -3.292978)'))) / (select extract(epoch from '2026-05-28 15:21:27'::timestamp) - extract(epoch from '2026-05-28 15:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58683 -3.292992)'), GeomFromEWKT('SRID=4674;POINT (-38.586811 -3.292978)'))) / (select extract(epoch from '2026-05-28 15:21:27'::timestamp) - extract(epoch from '2026-05-28 15:21: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'), 46535, 'SRID=4674;POINT (-38.586789 -3.292968)', '2026-05-28 15:21:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586811 -3.292978)'), GeomFromEWKT('SRID=4674;POINT (-38.586789 -3.292968)'))) / (select extract(epoch from '2026-05-28 15:21:29'::timestamp) - extract(epoch from '2026-05-28 15:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586811 -3.292978)'), GeomFromEWKT('SRID=4674;POINT (-38.586789 -3.292968)'))) / (select extract(epoch from '2026-05-28 15:21:29'::timestamp) - extract(epoch from '2026-05-28 15:21: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'), 46535, 'SRID=4674;POINT (-38.586783 -3.292957)', '2026-05-28 15:21:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586789 -3.292968)'), GeomFromEWKT('SRID=4674;POINT (-38.586783 -3.292957)'))) / (select extract(epoch from '2026-05-28 15:21:30'::timestamp) - extract(epoch from '2026-05-28 15:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586789 -3.292968)'), GeomFromEWKT('SRID=4674;POINT (-38.586783 -3.292957)'))) / (select extract(epoch from '2026-05-28 15:21:30'::timestamp) - extract(epoch from '2026-05-28 15:21:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.586773 -3.292951)', '2026-05-28 15:21:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586783 -3.292957)'), GeomFromEWKT('SRID=4674;POINT (-38.586773 -3.292951)'))) / (select extract(epoch from '2026-05-28 15:21:31'::timestamp) - extract(epoch from '2026-05-28 15:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586783 -3.292957)'), GeomFromEWKT('SRID=4674;POINT (-38.586773 -3.292951)'))) / (select extract(epoch from '2026-05-28 15:21:31'::timestamp) - extract(epoch from '2026-05-28 15:21:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.586743 -3.292941)', '2026-05-28 15:21:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586773 -3.292951)'), GeomFromEWKT('SRID=4674;POINT (-38.586743 -3.292941)'))) / (select extract(epoch from '2026-05-28 15:21:34'::timestamp) - extract(epoch from '2026-05-28 15:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586773 -3.292951)'), GeomFromEWKT('SRID=4674;POINT (-38.586743 -3.292941)'))) / (select extract(epoch from '2026-05-28 15:21:34'::timestamp) - extract(epoch from '2026-05-28 15:21: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'), 46535, 'SRID=4674;POINT (-38.586663 -3.292916)', '2026-05-28 15:21:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586743 -3.292941)'), GeomFromEWKT('SRID=4674;POINT (-38.586663 -3.292916)'))) / (select extract(epoch from '2026-05-28 15:21:41'::timestamp) - extract(epoch from '2026-05-28 15:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586743 -3.292941)'), GeomFromEWKT('SRID=4674;POINT (-38.586663 -3.292916)'))) / (select extract(epoch from '2026-05-28 15:21:41'::timestamp) - extract(epoch from '2026-05-28 15:21: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'), 46535, 'SRID=4674;POINT (-38.586623 -3.292893)', '2026-05-28 15:21:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586663 -3.292916)'), GeomFromEWKT('SRID=4674;POINT (-38.586623 -3.292893)'))) / (select extract(epoch from '2026-05-28 15:21:45'::timestamp) - extract(epoch from '2026-05-28 15:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586663 -3.292916)'), GeomFromEWKT('SRID=4674;POINT (-38.586623 -3.292893)'))) / (select extract(epoch from '2026-05-28 15:21:45'::timestamp) - extract(epoch from '2026-05-28 15: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'), 46535, 'SRID=4674;POINT (-38.586598 -3.292882)', '2026-05-28 15:21:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586623 -3.292893)'), GeomFromEWKT('SRID=4674;POINT (-38.586598 -3.292882)'))) / (select extract(epoch from '2026-05-28 15:21:47'::timestamp) - extract(epoch from '2026-05-28 15:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586623 -3.292893)'), GeomFromEWKT('SRID=4674;POINT (-38.586598 -3.292882)'))) / (select extract(epoch from '2026-05-28 15:21:47'::timestamp) - extract(epoch from '2026-05-28 15:21: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'), 46535, 'SRID=4674;POINT (-38.586506 -3.292819)', '2026-05-28 15:21:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586598 -3.292882)'), GeomFromEWKT('SRID=4674;POINT (-38.586506 -3.292819)'))) / (select extract(epoch from '2026-05-28 15:21:56'::timestamp) - extract(epoch from '2026-05-28 15:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586598 -3.292882)'), GeomFromEWKT('SRID=4674;POINT (-38.586506 -3.292819)'))) / (select extract(epoch from '2026-05-28 15:21:56'::timestamp) - extract(epoch from '2026-05-28 15:21:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.586404 -3.292762)', '2026-05-28 15:22:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586506 -3.292819)'), GeomFromEWKT('SRID=4674;POINT (-38.586404 -3.292762)'))) / (select extract(epoch from '2026-05-28 15:22:04'::timestamp) - extract(epoch from '2026-05-28 15:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586506 -3.292819)'), GeomFromEWKT('SRID=4674;POINT (-38.586404 -3.292762)'))) / (select extract(epoch from '2026-05-28 15:22:04'::timestamp) - extract(epoch from '2026-05-28 15:21:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.586373 -3.292745)', '2026-05-28 15:22:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586404 -3.292762)'), GeomFromEWKT('SRID=4674;POINT (-38.586373 -3.292745)'))) / (select extract(epoch from '2026-05-28 15:22:07'::timestamp) - extract(epoch from '2026-05-28 15:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586404 -3.292762)'), GeomFromEWKT('SRID=4674;POINT (-38.586373 -3.292745)'))) / (select extract(epoch from '2026-05-28 15:22:07'::timestamp) - extract(epoch from '2026-05-28 15:22: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'), 46535, 'SRID=4674;POINT (-38.586344 -3.292734)', '2026-05-28 15:22:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586373 -3.292745)'), GeomFromEWKT('SRID=4674;POINT (-38.586344 -3.292734)'))) / (select extract(epoch from '2026-05-28 15:22:09'::timestamp) - extract(epoch from '2026-05-28 15:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586373 -3.292745)'), GeomFromEWKT('SRID=4674;POINT (-38.586344 -3.292734)'))) / (select extract(epoch from '2026-05-28 15:22:09'::timestamp) - extract(epoch from '2026-05-28 15: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'), 46535, 'SRID=4674;POINT (-38.586328 -3.292722)', '2026-05-28 15:22:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586344 -3.292734)'), GeomFromEWKT('SRID=4674;POINT (-38.586328 -3.292722)'))) / (select extract(epoch from '2026-05-28 15:22:11'::timestamp) - extract(epoch from '2026-05-28 15:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586344 -3.292734)'), GeomFromEWKT('SRID=4674;POINT (-38.586328 -3.292722)'))) / (select extract(epoch from '2026-05-28 15:22:11'::timestamp) - extract(epoch from '2026-05-28 15:22:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.586304 -3.292715)', '2026-05-28 15:22:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586328 -3.292722)'), GeomFromEWKT('SRID=4674;POINT (-38.586304 -3.292715)'))) / (select extract(epoch from '2026-05-28 15:22:13'::timestamp) - extract(epoch from '2026-05-28 15:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586328 -3.292722)'), GeomFromEWKT('SRID=4674;POINT (-38.586304 -3.292715)'))) / (select extract(epoch from '2026-05-28 15:22:13'::timestamp) - extract(epoch from '2026-05-28 15:22: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'), 46535, 'SRID=4674;POINT (-38.586288 -3.292714)', '2026-05-28 15:22:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586304 -3.292715)'), GeomFromEWKT('SRID=4674;POINT (-38.586288 -3.292714)'))) / (select extract(epoch from '2026-05-28 15:22:14'::timestamp) - extract(epoch from '2026-05-28 15:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586304 -3.292715)'), GeomFromEWKT('SRID=4674;POINT (-38.586288 -3.292714)'))) / (select extract(epoch from '2026-05-28 15:22:14'::timestamp) - extract(epoch from '2026-05-28 15:22: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'), 46535, 'SRID=4674;POINT (-38.586269 -3.292703)', '2026-05-28 15:22:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586288 -3.292714)'), GeomFromEWKT('SRID=4674;POINT (-38.586269 -3.292703)'))) / (select extract(epoch from '2026-05-28 15:22:17'::timestamp) - extract(epoch from '2026-05-28 15:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586288 -3.292714)'), GeomFromEWKT('SRID=4674;POINT (-38.586269 -3.292703)'))) / (select extract(epoch from '2026-05-28 15:22:17'::timestamp) - extract(epoch from '2026-05-28 15:22: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'), 46535, 'SRID=4674;POINT (-38.58626 -3.292697)', '2026-05-28 15:22:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586269 -3.292703)'), GeomFromEWKT('SRID=4674;POINT (-38.58626 -3.292697)'))) / (select extract(epoch from '2026-05-28 15:22:18'::timestamp) - extract(epoch from '2026-05-28 15:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586269 -3.292703)'), GeomFromEWKT('SRID=4674;POINT (-38.58626 -3.292697)'))) / (select extract(epoch from '2026-05-28 15:22:18'::timestamp) - extract(epoch from '2026-05-28 15:22: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'), 46535, 'SRID=4674;POINT (-38.586219 -3.29268)', '2026-05-28 15:22:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58626 -3.292697)'), GeomFromEWKT('SRID=4674;POINT (-38.586219 -3.29268)'))) / (select extract(epoch from '2026-05-28 15:22:22'::timestamp) - extract(epoch from '2026-05-28 15:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58626 -3.292697)'), GeomFromEWKT('SRID=4674;POINT (-38.586219 -3.29268)'))) / (select extract(epoch from '2026-05-28 15:22:22'::timestamp) - extract(epoch from '2026-05-28 15:22:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.586207 -3.292675)', '2026-05-28 15:22:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586219 -3.29268)'), GeomFromEWKT('SRID=4674;POINT (-38.586207 -3.292675)'))) / (select extract(epoch from '2026-05-28 15:22:23'::timestamp) - extract(epoch from '2026-05-28 15:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586219 -3.29268)'), GeomFromEWKT('SRID=4674;POINT (-38.586207 -3.292675)'))) / (select extract(epoch from '2026-05-28 15:22:23'::timestamp) - extract(epoch from '2026-05-28 15: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'), 46535, 'SRID=4674;POINT (-38.586185 -3.292664)', '2026-05-28 15:22:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586207 -3.292675)'), GeomFromEWKT('SRID=4674;POINT (-38.586185 -3.292664)'))) / (select extract(epoch from '2026-05-28 15:22:25'::timestamp) - extract(epoch from '2026-05-28 15:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586207 -3.292675)'), GeomFromEWKT('SRID=4674;POINT (-38.586185 -3.292664)'))) / (select extract(epoch from '2026-05-28 15:22:25'::timestamp) - extract(epoch from '2026-05-28 15:22: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'), 46535, 'SRID=4674;POINT (-38.586163 -3.292655)', '2026-05-28 15:22:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586185 -3.292664)'), GeomFromEWKT('SRID=4674;POINT (-38.586163 -3.292655)'))) / (select extract(epoch from '2026-05-28 15:22:27'::timestamp) - extract(epoch from '2026-05-28 15:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586185 -3.292664)'), GeomFromEWKT('SRID=4674;POINT (-38.586163 -3.292655)'))) / (select extract(epoch from '2026-05-28 15:22:27'::timestamp) - extract(epoch from '2026-05-28 15:22: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'), 46535, 'SRID=4674;POINT (-38.58614 -3.292636)', '2026-05-28 15:22:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586163 -3.292655)'), GeomFromEWKT('SRID=4674;POINT (-38.58614 -3.292636)'))) / (select extract(epoch from '2026-05-28 15:22:29'::timestamp) - extract(epoch from '2026-05-28 15:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586163 -3.292655)'), GeomFromEWKT('SRID=4674;POINT (-38.58614 -3.292636)'))) / (select extract(epoch from '2026-05-28 15:22:29'::timestamp) - extract(epoch from '2026-05-28 15:22: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'), 46535, 'SRID=4674;POINT (-38.58608 -3.292603)', '2026-05-28 15:22:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58614 -3.292636)'), GeomFromEWKT('SRID=4674;POINT (-38.58608 -3.292603)'))) / (select extract(epoch from '2026-05-28 15:22:35'::timestamp) - extract(epoch from '2026-05-28 15:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58614 -3.292636)'), GeomFromEWKT('SRID=4674;POINT (-38.58608 -3.292603)'))) / (select extract(epoch from '2026-05-28 15:22:35'::timestamp) - extract(epoch from '2026-05-28 15:22: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'), 46535, 'SRID=4674;POINT (-38.586011 -3.292574)', '2026-05-28 15:22:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58608 -3.292603)'), GeomFromEWKT('SRID=4674;POINT (-38.586011 -3.292574)'))) / (select extract(epoch from '2026-05-28 15:22:42'::timestamp) - extract(epoch from '2026-05-28 15:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58608 -3.292603)'), GeomFromEWKT('SRID=4674;POINT (-38.586011 -3.292574)'))) / (select extract(epoch from '2026-05-28 15:22:42'::timestamp) - extract(epoch from '2026-05-28 15:22: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'), 46535, 'SRID=4674;POINT (-38.585966 -3.292548)', '2026-05-28 15:22:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586011 -3.292574)'), GeomFromEWKT('SRID=4674;POINT (-38.585966 -3.292548)'))) / (select extract(epoch from '2026-05-28 15:22:47'::timestamp) - extract(epoch from '2026-05-28 15:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586011 -3.292574)'), GeomFromEWKT('SRID=4674;POINT (-38.585966 -3.292548)'))) / (select extract(epoch from '2026-05-28 15:22:47'::timestamp) - extract(epoch from '2026-05-28 15:22: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'), 46535, 'SRID=4674;POINT (-38.585906 -3.292528)', '2026-05-28 15:22:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585966 -3.292548)'), GeomFromEWKT('SRID=4674;POINT (-38.585906 -3.292528)'))) / (select extract(epoch from '2026-05-28 15:22:53'::timestamp) - extract(epoch from '2026-05-28 15:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585966 -3.292548)'), GeomFromEWKT('SRID=4674;POINT (-38.585906 -3.292528)'))) / (select extract(epoch from '2026-05-28 15:22:53'::timestamp) - extract(epoch from '2026-05-28 15:22:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.585808 -3.292487)', '2026-05-28 15:23:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585906 -3.292528)'), GeomFromEWKT('SRID=4674;POINT (-38.585808 -3.292487)'))) / (select extract(epoch from '2026-05-28 15:23:01'::timestamp) - extract(epoch from '2026-05-28 15:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585906 -3.292528)'), GeomFromEWKT('SRID=4674;POINT (-38.585808 -3.292487)'))) / (select extract(epoch from '2026-05-28 15:23:01'::timestamp) - extract(epoch from '2026-05-28 15:22:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.585741 -3.29247)', '2026-05-28 15:23:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585808 -3.292487)'), GeomFromEWKT('SRID=4674;POINT (-38.585741 -3.29247)'))) / (select extract(epoch from '2026-05-28 15:23:07'::timestamp) - extract(epoch from '2026-05-28 15:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585808 -3.292487)'), GeomFromEWKT('SRID=4674;POINT (-38.585741 -3.29247)'))) / (select extract(epoch from '2026-05-28 15:23:07'::timestamp) - extract(epoch from '2026-05-28 15:23:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.585653 -3.292444)', '2026-05-28 15:23:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585741 -3.29247)'), GeomFromEWKT('SRID=4674;POINT (-38.585653 -3.292444)'))) / (select extract(epoch from '2026-05-28 15:23:14'::timestamp) - extract(epoch from '2026-05-28 15:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585741 -3.29247)'), GeomFromEWKT('SRID=4674;POINT (-38.585653 -3.292444)'))) / (select extract(epoch from '2026-05-28 15:23:14'::timestamp) - extract(epoch from '2026-05-28 15:23: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'), 46535, 'SRID=4674;POINT (-38.585563 -3.292416)', '2026-05-28 15:23:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585653 -3.292444)'), GeomFromEWKT('SRID=4674;POINT (-38.585563 -3.292416)'))) / (select extract(epoch from '2026-05-28 15:23:20'::timestamp) - extract(epoch from '2026-05-28 15:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585653 -3.292444)'), GeomFromEWKT('SRID=4674;POINT (-38.585563 -3.292416)'))) / (select extract(epoch from '2026-05-28 15:23:20'::timestamp) - extract(epoch from '2026-05-28 15:23: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'), 46535, 'SRID=4674;POINT (-38.585527 -3.292403)', '2026-05-28 15:23:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585563 -3.292416)'), GeomFromEWKT('SRID=4674;POINT (-38.585527 -3.292403)'))) / (select extract(epoch from '2026-05-28 15:23:23'::timestamp) - extract(epoch from '2026-05-28 15:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585563 -3.292416)'), GeomFromEWKT('SRID=4674;POINT (-38.585527 -3.292403)'))) / (select extract(epoch from '2026-05-28 15:23:23'::timestamp) - extract(epoch from '2026-05-28 15:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.585498 -3.292394)', '2026-05-28 15:23:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585527 -3.292403)'), GeomFromEWKT('SRID=4674;POINT (-38.585498 -3.292394)'))) / (select extract(epoch from '2026-05-28 15:23:25'::timestamp) - extract(epoch from '2026-05-28 15:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585527 -3.292403)'), GeomFromEWKT('SRID=4674;POINT (-38.585498 -3.292394)'))) / (select extract(epoch from '2026-05-28 15:23:25'::timestamp) - extract(epoch from '2026-05-28 15:23: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'), 46535, 'SRID=4674;POINT (-38.585447 -3.29237)', '2026-05-28 15:23:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585498 -3.292394)'), GeomFromEWKT('SRID=4674;POINT (-38.585447 -3.29237)'))) / (select extract(epoch from '2026-05-28 15:23:29'::timestamp) - extract(epoch from '2026-05-28 15:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585498 -3.292394)'), GeomFromEWKT('SRID=4674;POINT (-38.585447 -3.29237)'))) / (select extract(epoch from '2026-05-28 15:23:29'::timestamp) - extract(epoch from '2026-05-28 15:23: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'), 46535, 'SRID=4674;POINT (-38.585439 -3.292362)', '2026-05-28 15:23:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585447 -3.29237)'), GeomFromEWKT('SRID=4674;POINT (-38.585439 -3.292362)'))) / (select extract(epoch from '2026-05-28 15:23:30'::timestamp) - extract(epoch from '2026-05-28 15:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585447 -3.29237)'), GeomFromEWKT('SRID=4674;POINT (-38.585439 -3.292362)'))) / (select extract(epoch from '2026-05-28 15:23:30'::timestamp) - extract(epoch from '2026-05-28 15:23: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'), 46535, 'SRID=4674;POINT (-38.585431 -3.292356)', '2026-05-28 15:23:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585439 -3.292362)'), GeomFromEWKT('SRID=4674;POINT (-38.585431 -3.292356)'))) / (select extract(epoch from '2026-05-28 15:23:31'::timestamp) - extract(epoch from '2026-05-28 15:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585439 -3.292362)'), GeomFromEWKT('SRID=4674;POINT (-38.585431 -3.292356)'))) / (select extract(epoch from '2026-05-28 15:23:31'::timestamp) - extract(epoch from '2026-05-28 15:23: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'), 46535, 'SRID=4674;POINT (-38.585397 -3.292345)', '2026-05-28 15:23:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585431 -3.292356)'), GeomFromEWKT('SRID=4674;POINT (-38.585397 -3.292345)'))) / (select extract(epoch from '2026-05-28 15:23:33'::timestamp) - extract(epoch from '2026-05-28 15:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585431 -3.292356)'), GeomFromEWKT('SRID=4674;POINT (-38.585397 -3.292345)'))) / (select extract(epoch from '2026-05-28 15:23:33'::timestamp) - extract(epoch from '2026-05-28 15:23: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'), 46535, 'SRID=4674;POINT (-38.585387 -3.292332)', '2026-05-28 15:23:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585397 -3.292345)'), GeomFromEWKT('SRID=4674;POINT (-38.585387 -3.292332)'))) / (select extract(epoch from '2026-05-28 15:23:34'::timestamp) - extract(epoch from '2026-05-28 15:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585397 -3.292345)'), GeomFromEWKT('SRID=4674;POINT (-38.585387 -3.292332)'))) / (select extract(epoch from '2026-05-28 15:23:34'::timestamp) - extract(epoch from '2026-05-28 15:23: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'), 46535, 'SRID=4674;POINT (-38.585369 -3.29232)', '2026-05-28 15:23:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585387 -3.292332)'), GeomFromEWKT('SRID=4674;POINT (-38.585369 -3.29232)'))) / (select extract(epoch from '2026-05-28 15:23:36'::timestamp) - extract(epoch from '2026-05-28 15:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585387 -3.292332)'), GeomFromEWKT('SRID=4674;POINT (-38.585369 -3.29232)'))) / (select extract(epoch from '2026-05-28 15:23:36'::timestamp) - extract(epoch from '2026-05-28 15:23:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.585343 -3.292311)', '2026-05-28 15:23:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585369 -3.29232)'), GeomFromEWKT('SRID=4674;POINT (-38.585343 -3.292311)'))) / (select extract(epoch from '2026-05-28 15:23:38'::timestamp) - extract(epoch from '2026-05-28 15:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585369 -3.29232)'), GeomFromEWKT('SRID=4674;POINT (-38.585343 -3.292311)'))) / (select extract(epoch from '2026-05-28 15:23:38'::timestamp) - extract(epoch from '2026-05-28 15:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.585304 -3.292289)', '2026-05-28 15:23:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585343 -3.292311)'), GeomFromEWKT('SRID=4674;POINT (-38.585304 -3.292289)'))) / (select extract(epoch from '2026-05-28 15:23:41'::timestamp) - extract(epoch from '2026-05-28 15:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585343 -3.292311)'), GeomFromEWKT('SRID=4674;POINT (-38.585304 -3.292289)'))) / (select extract(epoch from '2026-05-28 15:23:41'::timestamp) - extract(epoch from '2026-05-28 15:23: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'), 46535, 'SRID=4674;POINT (-38.585275 -3.292274)', '2026-05-28 15:23:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585304 -3.292289)'), GeomFromEWKT('SRID=4674;POINT (-38.585275 -3.292274)'))) / (select extract(epoch from '2026-05-28 15:23:43'::timestamp) - extract(epoch from '2026-05-28 15:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585304 -3.292289)'), GeomFromEWKT('SRID=4674;POINT (-38.585275 -3.292274)'))) / (select extract(epoch from '2026-05-28 15:23:43'::timestamp) - extract(epoch from '2026-05-28 15:23: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'), 46535, 'SRID=4674;POINT (-38.58523 -3.292257)', '2026-05-28 15:23:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585275 -3.292274)'), GeomFromEWKT('SRID=4674;POINT (-38.58523 -3.292257)'))) / (select extract(epoch from '2026-05-28 15:23:47'::timestamp) - extract(epoch from '2026-05-28 15:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585275 -3.292274)'), GeomFromEWKT('SRID=4674;POINT (-38.58523 -3.292257)'))) / (select extract(epoch from '2026-05-28 15:23:47'::timestamp) - extract(epoch from '2026-05-28 15: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'), 46535, 'SRID=4674;POINT (-38.58522 -3.292249)', '2026-05-28 15:23:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58523 -3.292257)'), GeomFromEWKT('SRID=4674;POINT (-38.58522 -3.292249)'))) / (select extract(epoch from '2026-05-28 15:23:48'::timestamp) - extract(epoch from '2026-05-28 15:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58523 -3.292257)'), GeomFromEWKT('SRID=4674;POINT (-38.58522 -3.292249)'))) / (select extract(epoch from '2026-05-28 15:23:48'::timestamp) - extract(epoch from '2026-05-28 15:23: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'), 46535, 'SRID=4674;POINT (-38.585171 -3.292239)', '2026-05-28 15:23:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58522 -3.292249)'), GeomFromEWKT('SRID=4674;POINT (-38.585171 -3.292239)'))) / (select extract(epoch from '2026-05-28 15:23:53'::timestamp) - extract(epoch from '2026-05-28 15:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58522 -3.292249)'), GeomFromEWKT('SRID=4674;POINT (-38.585171 -3.292239)'))) / (select extract(epoch from '2026-05-28 15:23:53'::timestamp) - extract(epoch from '2026-05-28 15:23:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.585149 -3.292224)', '2026-05-28 15:23:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585171 -3.292239)'), GeomFromEWKT('SRID=4674;POINT (-38.585149 -3.292224)'))) / (select extract(epoch from '2026-05-28 15:23:55'::timestamp) - extract(epoch from '2026-05-28 15:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585171 -3.292239)'), GeomFromEWKT('SRID=4674;POINT (-38.585149 -3.292224)'))) / (select extract(epoch from '2026-05-28 15:23:55'::timestamp) - extract(epoch from '2026-05-28 15:23:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.585135 -3.292215)', '2026-05-28 15:23:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585149 -3.292224)'), GeomFromEWKT('SRID=4674;POINT (-38.585135 -3.292215)'))) / (select extract(epoch from '2026-05-28 15:23:57'::timestamp) - extract(epoch from '2026-05-28 15:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585149 -3.292224)'), GeomFromEWKT('SRID=4674;POINT (-38.585135 -3.292215)'))) / (select extract(epoch from '2026-05-28 15:23:57'::timestamp) - extract(epoch from '2026-05-28 15:23: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'), 46535, 'SRID=4674;POINT (-38.585118 -3.292199)', '2026-05-28 15:23:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585135 -3.292215)'), GeomFromEWKT('SRID=4674;POINT (-38.585118 -3.292199)'))) / (select extract(epoch from '2026-05-28 15:23:59'::timestamp) - extract(epoch from '2026-05-28 15:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585135 -3.292215)'), GeomFromEWKT('SRID=4674;POINT (-38.585118 -3.292199)'))) / (select extract(epoch from '2026-05-28 15:23:59'::timestamp) - extract(epoch from '2026-05-28 15:23:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.585084 -3.292182)', '2026-05-28 15:24:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585118 -3.292199)'), GeomFromEWKT('SRID=4674;POINT (-38.585084 -3.292182)'))) / (select extract(epoch from '2026-05-28 15:24:02'::timestamp) - extract(epoch from '2026-05-28 15:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585118 -3.292199)'), GeomFromEWKT('SRID=4674;POINT (-38.585084 -3.292182)'))) / (select extract(epoch from '2026-05-28 15:24:02'::timestamp) - extract(epoch from '2026-05-28 15:23: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'), 46535, 'SRID=4674;POINT (-38.585056 -3.292164)', '2026-05-28 15:24:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585084 -3.292182)'), GeomFromEWKT('SRID=4674;POINT (-38.585056 -3.292164)'))) / (select extract(epoch from '2026-05-28 15:24:05'::timestamp) - extract(epoch from '2026-05-28 15:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585084 -3.292182)'), GeomFromEWKT('SRID=4674;POINT (-38.585056 -3.292164)'))) / (select extract(epoch from '2026-05-28 15:24:05'::timestamp) - extract(epoch from '2026-05-28 15:24: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'), 46535, 'SRID=4674;POINT (-38.585035 -3.292155)', '2026-05-28 15:24:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585056 -3.292164)'), GeomFromEWKT('SRID=4674;POINT (-38.585035 -3.292155)'))) / (select extract(epoch from '2026-05-28 15:24:07'::timestamp) - extract(epoch from '2026-05-28 15:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585056 -3.292164)'), GeomFromEWKT('SRID=4674;POINT (-38.585035 -3.292155)'))) / (select extract(epoch from '2026-05-28 15:24:07'::timestamp) - extract(epoch from '2026-05-28 15:24: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'), 46535, 'SRID=4674;POINT (-38.585012 -3.292145)', '2026-05-28 15:24:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585035 -3.292155)'), GeomFromEWKT('SRID=4674;POINT (-38.585012 -3.292145)'))) / (select extract(epoch from '2026-05-28 15:24:09'::timestamp) - extract(epoch from '2026-05-28 15:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585035 -3.292155)'), GeomFromEWKT('SRID=4674;POINT (-38.585012 -3.292145)'))) / (select extract(epoch from '2026-05-28 15:24:09'::timestamp) - extract(epoch from '2026-05-28 15:24:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584989 -3.292126)', '2026-05-28 15:24:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585012 -3.292145)'), GeomFromEWKT('SRID=4674;POINT (-38.584989 -3.292126)'))) / (select extract(epoch from '2026-05-28 15:24:12'::timestamp) - extract(epoch from '2026-05-28 15:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585012 -3.292145)'), GeomFromEWKT('SRID=4674;POINT (-38.584989 -3.292126)'))) / (select extract(epoch from '2026-05-28 15:24:12'::timestamp) - extract(epoch from '2026-05-28 15:24:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584974 -3.292116)', '2026-05-28 15:24:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584989 -3.292126)'), GeomFromEWKT('SRID=4674;POINT (-38.584974 -3.292116)'))) / (select extract(epoch from '2026-05-28 15:24:14'::timestamp) - extract(epoch from '2026-05-28 15:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584989 -3.292126)'), GeomFromEWKT('SRID=4674;POINT (-38.584974 -3.292116)'))) / (select extract(epoch from '2026-05-28 15:24:14'::timestamp) - extract(epoch from '2026-05-28 15:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584969 -3.292103)', '2026-05-28 15:24:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584974 -3.292116)'), GeomFromEWKT('SRID=4674;POINT (-38.584969 -3.292103)'))) / (select extract(epoch from '2026-05-28 15:24:16'::timestamp) - extract(epoch from '2026-05-28 15:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584974 -3.292116)'), GeomFromEWKT('SRID=4674;POINT (-38.584969 -3.292103)'))) / (select extract(epoch from '2026-05-28 15:24:16'::timestamp) - extract(epoch from '2026-05-28 15:24: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'), 46535, 'SRID=4674;POINT (-38.584957 -3.292095)', '2026-05-28 15:24:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584969 -3.292103)'), GeomFromEWKT('SRID=4674;POINT (-38.584957 -3.292095)'))) / (select extract(epoch from '2026-05-28 15:24:17'::timestamp) - extract(epoch from '2026-05-28 15:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584969 -3.292103)'), GeomFromEWKT('SRID=4674;POINT (-38.584957 -3.292095)'))) / (select extract(epoch from '2026-05-28 15:24:17'::timestamp) - extract(epoch from '2026-05-28 15: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'), 46535, 'SRID=4674;POINT (-38.584948 -3.292088)', '2026-05-28 15:24:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584957 -3.292095)'), GeomFromEWKT('SRID=4674;POINT (-38.584948 -3.292088)'))) / (select extract(epoch from '2026-05-28 15:24:18'::timestamp) - extract(epoch from '2026-05-28 15:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584957 -3.292095)'), GeomFromEWKT('SRID=4674;POINT (-38.584948 -3.292088)'))) / (select extract(epoch from '2026-05-28 15:24:18'::timestamp) - extract(epoch from '2026-05-28 15:24:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584931 -3.292068)', '2026-05-28 15:24:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584948 -3.292088)'), GeomFromEWKT('SRID=4674;POINT (-38.584931 -3.292068)'))) / (select extract(epoch from '2026-05-28 15:24:21'::timestamp) - extract(epoch from '2026-05-28 15:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584948 -3.292088)'), GeomFromEWKT('SRID=4674;POINT (-38.584931 -3.292068)'))) / (select extract(epoch from '2026-05-28 15:24:21'::timestamp) - extract(epoch from '2026-05-28 15:24: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'), 46535, 'SRID=4674;POINT (-38.584919 -3.292065)', '2026-05-28 15:24:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584931 -3.292068)'), GeomFromEWKT('SRID=4674;POINT (-38.584919 -3.292065)'))) / (select extract(epoch from '2026-05-28 15:24:22'::timestamp) - extract(epoch from '2026-05-28 15:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584931 -3.292068)'), GeomFromEWKT('SRID=4674;POINT (-38.584919 -3.292065)'))) / (select extract(epoch from '2026-05-28 15:24:22'::timestamp) - extract(epoch from '2026-05-28 15:24: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'), 46535, 'SRID=4674;POINT (-38.584911 -3.292059)', '2026-05-28 15:24:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584919 -3.292065)'), GeomFromEWKT('SRID=4674;POINT (-38.584911 -3.292059)'))) / (select extract(epoch from '2026-05-28 15:24:23'::timestamp) - extract(epoch from '2026-05-28 15:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584919 -3.292065)'), GeomFromEWKT('SRID=4674;POINT (-38.584911 -3.292059)'))) / (select extract(epoch from '2026-05-28 15:24:23'::timestamp) - extract(epoch from '2026-05-28 15:24:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.5849 -3.292046)', '2026-05-28 15:24:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584911 -3.292059)'), GeomFromEWKT('SRID=4674;POINT (-38.5849 -3.292046)'))) / (select extract(epoch from '2026-05-28 15:24:25'::timestamp) - extract(epoch from '2026-05-28 15:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584911 -3.292059)'), GeomFromEWKT('SRID=4674;POINT (-38.5849 -3.292046)'))) / (select extract(epoch from '2026-05-28 15:24:25'::timestamp) - extract(epoch from '2026-05-28 15:24: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'), 46535, 'SRID=4674;POINT (-38.584878 -3.292035)', '2026-05-28 15:24:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5849 -3.292046)'), GeomFromEWKT('SRID=4674;POINT (-38.584878 -3.292035)'))) / (select extract(epoch from '2026-05-28 15:24:27'::timestamp) - extract(epoch from '2026-05-28 15:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5849 -3.292046)'), GeomFromEWKT('SRID=4674;POINT (-38.584878 -3.292035)'))) / (select extract(epoch from '2026-05-28 15:24:27'::timestamp) - extract(epoch from '2026-05-28 15:24:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584818 -3.292)', '2026-05-28 15:24:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584878 -3.292035)'), GeomFromEWKT('SRID=4674;POINT (-38.584818 -3.292)'))) / (select extract(epoch from '2026-05-28 15:24:32'::timestamp) - extract(epoch from '2026-05-28 15:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584878 -3.292035)'), GeomFromEWKT('SRID=4674;POINT (-38.584818 -3.292)'))) / (select extract(epoch from '2026-05-28 15:24:32'::timestamp) - extract(epoch from '2026-05-28 15: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'), 46535, 'SRID=4674;POINT (-38.584811 -3.291992)', '2026-05-28 15:24:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584818 -3.292)'), GeomFromEWKT('SRID=4674;POINT (-38.584811 -3.291992)'))) / (select extract(epoch from '2026-05-28 15:24:33'::timestamp) - extract(epoch from '2026-05-28 15:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584818 -3.292)'), GeomFromEWKT('SRID=4674;POINT (-38.584811 -3.291992)'))) / (select extract(epoch from '2026-05-28 15:24:33'::timestamp) - extract(epoch from '2026-05-28 15:24:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584799 -3.291976)', '2026-05-28 15:24:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584811 -3.291992)'), GeomFromEWKT('SRID=4674;POINT (-38.584799 -3.291976)'))) / (select extract(epoch from '2026-05-28 15:24:35'::timestamp) - extract(epoch from '2026-05-28 15:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584811 -3.291992)'), GeomFromEWKT('SRID=4674;POINT (-38.584799 -3.291976)'))) / (select extract(epoch from '2026-05-28 15:24:35'::timestamp) - extract(epoch from '2026-05-28 15:24: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'), 46535, 'SRID=4674;POINT (-38.584775 -3.291962)', '2026-05-28 15:24:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584799 -3.291976)'), GeomFromEWKT('SRID=4674;POINT (-38.584775 -3.291962)'))) / (select extract(epoch from '2026-05-28 15:24:37'::timestamp) - extract(epoch from '2026-05-28 15:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584799 -3.291976)'), GeomFromEWKT('SRID=4674;POINT (-38.584775 -3.291962)'))) / (select extract(epoch from '2026-05-28 15:24:37'::timestamp) - extract(epoch from '2026-05-28 15:24: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'), 46535, 'SRID=4674;POINT (-38.584767 -3.291955)', '2026-05-28 15:24:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584775 -3.291962)'), GeomFromEWKT('SRID=4674;POINT (-38.584767 -3.291955)'))) / (select extract(epoch from '2026-05-28 15:24:38'::timestamp) - extract(epoch from '2026-05-28 15:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584775 -3.291962)'), GeomFromEWKT('SRID=4674;POINT (-38.584767 -3.291955)'))) / (select extract(epoch from '2026-05-28 15:24:38'::timestamp) - extract(epoch from '2026-05-28 15:24:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584756 -3.291938)', '2026-05-28 15:24:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584767 -3.291955)'), GeomFromEWKT('SRID=4674;POINT (-38.584756 -3.291938)'))) / (select extract(epoch from '2026-05-28 15:24:40'::timestamp) - extract(epoch from '2026-05-28 15:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584767 -3.291955)'), GeomFromEWKT('SRID=4674;POINT (-38.584756 -3.291938)'))) / (select extract(epoch from '2026-05-28 15:24:40'::timestamp) - extract(epoch from '2026-05-28 15:24:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584728 -3.291912)', '2026-05-28 15:24:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584756 -3.291938)'), GeomFromEWKT('SRID=4674;POINT (-38.584728 -3.291912)'))) / (select extract(epoch from '2026-05-28 15:24:43'::timestamp) - extract(epoch from '2026-05-28 15:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584756 -3.291938)'), GeomFromEWKT('SRID=4674;POINT (-38.584728 -3.291912)'))) / (select extract(epoch from '2026-05-28 15:24:43'::timestamp) - extract(epoch from '2026-05-28 15:24: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'), 46535, 'SRID=4674;POINT (-38.584657 -3.291832)', '2026-05-28 15:24:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584728 -3.291912)'), GeomFromEWKT('SRID=4674;POINT (-38.584657 -3.291832)'))) / (select extract(epoch from '2026-05-28 15:24:50'::timestamp) - extract(epoch from '2026-05-28 15:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584728 -3.291912)'), GeomFromEWKT('SRID=4674;POINT (-38.584657 -3.291832)'))) / (select extract(epoch from '2026-05-28 15:24:50'::timestamp) - extract(epoch from '2026-05-28 15:24:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584591 -3.29177)', '2026-05-28 15:24:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584657 -3.291832)'), GeomFromEWKT('SRID=4674;POINT (-38.584591 -3.29177)'))) / (select extract(epoch from '2026-05-28 15:24:56'::timestamp) - extract(epoch from '2026-05-28 15:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584657 -3.291832)'), GeomFromEWKT('SRID=4674;POINT (-38.584591 -3.29177)'))) / (select extract(epoch from '2026-05-28 15:24:56'::timestamp) - extract(epoch from '2026-05-28 15:24:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584521 -3.291694)', '2026-05-28 15:25:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584591 -3.29177)'), GeomFromEWKT('SRID=4674;POINT (-38.584521 -3.291694)'))) / (select extract(epoch from '2026-05-28 15:25:03'::timestamp) - extract(epoch from '2026-05-28 15:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584591 -3.29177)'), GeomFromEWKT('SRID=4674;POINT (-38.584521 -3.291694)'))) / (select extract(epoch from '2026-05-28 15:25:03'::timestamp) - extract(epoch from '2026-05-28 15:24: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'), 46535, 'SRID=4674;POINT (-38.584474 -3.291632)', '2026-05-28 15:25:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584521 -3.291694)'), GeomFromEWKT('SRID=4674;POINT (-38.584474 -3.291632)'))) / (select extract(epoch from '2026-05-28 15:25:08'::timestamp) - extract(epoch from '2026-05-28 15:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584521 -3.291694)'), GeomFromEWKT('SRID=4674;POINT (-38.584474 -3.291632)'))) / (select extract(epoch from '2026-05-28 15:25:08'::timestamp) - extract(epoch from '2026-05-28 15:25:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584464 -3.291622)', '2026-05-28 15:25:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584474 -3.291632)'), GeomFromEWKT('SRID=4674;POINT (-38.584464 -3.291622)'))) / (select extract(epoch from '2026-05-28 15:25:09'::timestamp) - extract(epoch from '2026-05-28 15:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584474 -3.291632)'), GeomFromEWKT('SRID=4674;POINT (-38.584464 -3.291622)'))) / (select extract(epoch from '2026-05-28 15:25:09'::timestamp) - extract(epoch from '2026-05-28 15:25: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'), 46535, 'SRID=4674;POINT (-38.584429 -3.291574)', '2026-05-28 15:25:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584464 -3.291622)'), GeomFromEWKT('SRID=4674;POINT (-38.584429 -3.291574)'))) / (select extract(epoch from '2026-05-28 15:25:13'::timestamp) - extract(epoch from '2026-05-28 15:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584464 -3.291622)'), GeomFromEWKT('SRID=4674;POINT (-38.584429 -3.291574)'))) / (select extract(epoch from '2026-05-28 15:25:13'::timestamp) - extract(epoch from '2026-05-28 15:25:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584431 -3.291566)', '2026-05-28 15:25:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584429 -3.291574)'), GeomFromEWKT('SRID=4674;POINT (-38.584431 -3.291566)'))) / (select extract(epoch from '2026-05-28 15:25:14'::timestamp) - extract(epoch from '2026-05-28 15:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584429 -3.291574)'), GeomFromEWKT('SRID=4674;POINT (-38.584431 -3.291566)'))) / (select extract(epoch from '2026-05-28 15:25:14'::timestamp) - extract(epoch from '2026-05-28 15:25: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'), 46535, 'SRID=4674;POINT (-38.584425 -3.291559)', '2026-05-28 15:25:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584431 -3.291566)'), GeomFromEWKT('SRID=4674;POINT (-38.584425 -3.291559)'))) / (select extract(epoch from '2026-05-28 15:25:15'::timestamp) - extract(epoch from '2026-05-28 15:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584431 -3.291566)'), GeomFromEWKT('SRID=4674;POINT (-38.584425 -3.291559)'))) / (select extract(epoch from '2026-05-28 15:25:15'::timestamp) - extract(epoch from '2026-05-28 15: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'), 46535, 'SRID=4674;POINT (-38.584394 -3.291516)', '2026-05-28 15:25:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584425 -3.291559)'), GeomFromEWKT('SRID=4674;POINT (-38.584394 -3.291516)'))) / (select extract(epoch from '2026-05-28 15:25:19'::timestamp) - extract(epoch from '2026-05-28 15:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584425 -3.291559)'), GeomFromEWKT('SRID=4674;POINT (-38.584394 -3.291516)'))) / (select extract(epoch from '2026-05-28 15:25:19'::timestamp) - extract(epoch from '2026-05-28 15:25: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'), 46535, 'SRID=4674;POINT (-38.584389 -3.291505)', '2026-05-28 15:25:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584394 -3.291516)'), GeomFromEWKT('SRID=4674;POINT (-38.584389 -3.291505)'))) / (select extract(epoch from '2026-05-28 15:25:20'::timestamp) - extract(epoch from '2026-05-28 15:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584394 -3.291516)'), GeomFromEWKT('SRID=4674;POINT (-38.584389 -3.291505)'))) / (select extract(epoch from '2026-05-28 15:25:20'::timestamp) - extract(epoch from '2026-05-28 15:25: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'), 46535, 'SRID=4674;POINT (-38.584378 -3.291479)', '2026-05-28 15:25:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584389 -3.291505)'), GeomFromEWKT('SRID=4674;POINT (-38.584378 -3.291479)'))) / (select extract(epoch from '2026-05-28 15:25:22'::timestamp) - extract(epoch from '2026-05-28 15:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584389 -3.291505)'), GeomFromEWKT('SRID=4674;POINT (-38.584378 -3.291479)'))) / (select extract(epoch from '2026-05-28 15:25:22'::timestamp) - extract(epoch from '2026-05-28 15:25:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584359 -3.291458)', '2026-05-28 15:25:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584378 -3.291479)'), GeomFromEWKT('SRID=4674;POINT (-38.584359 -3.291458)'))) / (select extract(epoch from '2026-05-28 15:25:24'::timestamp) - extract(epoch from '2026-05-28 15:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584378 -3.291479)'), GeomFromEWKT('SRID=4674;POINT (-38.584359 -3.291458)'))) / (select extract(epoch from '2026-05-28 15:25:24'::timestamp) - extract(epoch from '2026-05-28 15:25: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'), 46535, 'SRID=4674;POINT (-38.584299 -3.291374)', '2026-05-28 15:25:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584359 -3.291458)'), GeomFromEWKT('SRID=4674;POINT (-38.584299 -3.291374)'))) / (select extract(epoch from '2026-05-28 15:25:31'::timestamp) - extract(epoch from '2026-05-28 15:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584359 -3.291458)'), GeomFromEWKT('SRID=4674;POINT (-38.584299 -3.291374)'))) / (select extract(epoch from '2026-05-28 15:25:31'::timestamp) - extract(epoch from '2026-05-28 15:25: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'), 46535, 'SRID=4674;POINT (-38.584263 -3.291338)', '2026-05-28 15:25:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584299 -3.291374)'), GeomFromEWKT('SRID=4674;POINT (-38.584263 -3.291338)'))) / (select extract(epoch from '2026-05-28 15:25:34'::timestamp) - extract(epoch from '2026-05-28 15:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584299 -3.291374)'), GeomFromEWKT('SRID=4674;POINT (-38.584263 -3.291338)'))) / (select extract(epoch from '2026-05-28 15:25:34'::timestamp) - extract(epoch from '2026-05-28 15:25: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'), 46535, 'SRID=4674;POINT (-38.584251 -3.291312)', '2026-05-28 15:25:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584263 -3.291338)'), GeomFromEWKT('SRID=4674;POINT (-38.584251 -3.291312)'))) / (select extract(epoch from '2026-05-28 15:25:36'::timestamp) - extract(epoch from '2026-05-28 15:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584263 -3.291338)'), GeomFromEWKT('SRID=4674;POINT (-38.584251 -3.291312)'))) / (select extract(epoch from '2026-05-28 15:25:36'::timestamp) - extract(epoch from '2026-05-28 15: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'), 46535, 'SRID=4674;POINT (-38.584215 -3.291275)', '2026-05-28 15:25:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584251 -3.291312)'), GeomFromEWKT('SRID=4674;POINT (-38.584215 -3.291275)'))) / (select extract(epoch from '2026-05-28 15:25:39'::timestamp) - extract(epoch from '2026-05-28 15:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584251 -3.291312)'), GeomFromEWKT('SRID=4674;POINT (-38.584215 -3.291275)'))) / (select extract(epoch from '2026-05-28 15:25:39'::timestamp) - extract(epoch from '2026-05-28 15:25:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584211 -3.291261)', '2026-05-28 15:25:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584215 -3.291275)'), GeomFromEWKT('SRID=4674;POINT (-38.584211 -3.291261)'))) / (select extract(epoch from '2026-05-28 15:25:40'::timestamp) - extract(epoch from '2026-05-28 15:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584215 -3.291275)'), GeomFromEWKT('SRID=4674;POINT (-38.584211 -3.291261)'))) / (select extract(epoch from '2026-05-28 15:25:40'::timestamp) - extract(epoch from '2026-05-28 15:25: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'), 46535, 'SRID=4674;POINT (-38.584201 -3.291248)', '2026-05-28 15:25:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584211 -3.291261)'), GeomFromEWKT('SRID=4674;POINT (-38.584201 -3.291248)'))) / (select extract(epoch from '2026-05-28 15:25:41'::timestamp) - extract(epoch from '2026-05-28 15:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584211 -3.291261)'), GeomFromEWKT('SRID=4674;POINT (-38.584201 -3.291248)'))) / (select extract(epoch from '2026-05-28 15:25:41'::timestamp) - extract(epoch from '2026-05-28 15:25:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584177 -3.291225)', '2026-05-28 15:25:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584201 -3.291248)'), GeomFromEWKT('SRID=4674;POINT (-38.584177 -3.291225)'))) / (select extract(epoch from '2026-05-28 15:25:43'::timestamp) - extract(epoch from '2026-05-28 15:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584201 -3.291248)'), GeomFromEWKT('SRID=4674;POINT (-38.584177 -3.291225)'))) / (select extract(epoch from '2026-05-28 15:25:43'::timestamp) - extract(epoch from '2026-05-28 15:25:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584172 -3.291214)', '2026-05-28 15:25:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584177 -3.291225)'), GeomFromEWKT('SRID=4674;POINT (-38.584172 -3.291214)'))) / (select extract(epoch from '2026-05-28 15:25:44'::timestamp) - extract(epoch from '2026-05-28 15:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584177 -3.291225)'), GeomFromEWKT('SRID=4674;POINT (-38.584172 -3.291214)'))) / (select extract(epoch from '2026-05-28 15:25:44'::timestamp) - extract(epoch from '2026-05-28 15:25: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'), 46535, 'SRID=4674;POINT (-38.584158 -3.291193)', '2026-05-28 15:25:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584172 -3.291214)'), GeomFromEWKT('SRID=4674;POINT (-38.584158 -3.291193)'))) / (select extract(epoch from '2026-05-28 15:25:46'::timestamp) - extract(epoch from '2026-05-28 15:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584172 -3.291214)'), GeomFromEWKT('SRID=4674;POINT (-38.584158 -3.291193)'))) / (select extract(epoch from '2026-05-28 15:25:46'::timestamp) - extract(epoch from '2026-05-28 15:25:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58414 -3.291168)', '2026-05-28 15:25:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584158 -3.291193)'), GeomFromEWKT('SRID=4674;POINT (-38.58414 -3.291168)'))) / (select extract(epoch from '2026-05-28 15:25:49'::timestamp) - extract(epoch from '2026-05-28 15:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584158 -3.291193)'), GeomFromEWKT('SRID=4674;POINT (-38.58414 -3.291168)'))) / (select extract(epoch from '2026-05-28 15:25:49'::timestamp) - extract(epoch from '2026-05-28 15: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'), 46535, 'SRID=4674;POINT (-38.584109 -3.291124)', '2026-05-28 15:25:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58414 -3.291168)'), GeomFromEWKT('SRID=4674;POINT (-38.584109 -3.291124)'))) / (select extract(epoch from '2026-05-28 15:25:54'::timestamp) - extract(epoch from '2026-05-28 15:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58414 -3.291168)'), GeomFromEWKT('SRID=4674;POINT (-38.584109 -3.291124)'))) / (select extract(epoch from '2026-05-28 15:25:54'::timestamp) - extract(epoch from '2026-05-28 15:25:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584105 -3.291112)', '2026-05-28 15:25:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584109 -3.291124)'), GeomFromEWKT('SRID=4674;POINT (-38.584105 -3.291112)'))) / (select extract(epoch from '2026-05-28 15:25:55'::timestamp) - extract(epoch from '2026-05-28 15:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584109 -3.291124)'), GeomFromEWKT('SRID=4674;POINT (-38.584105 -3.291112)'))) / (select extract(epoch from '2026-05-28 15:25:55'::timestamp) - extract(epoch from '2026-05-28 15:25: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'), 46535, 'SRID=4674;POINT (-38.584071 -3.291057)', '2026-05-28 15:26:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584105 -3.291112)'), GeomFromEWKT('SRID=4674;POINT (-38.584071 -3.291057)'))) / (select extract(epoch from '2026-05-28 15:26:00'::timestamp) - extract(epoch from '2026-05-28 15:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584105 -3.291112)'), GeomFromEWKT('SRID=4674;POINT (-38.584071 -3.291057)'))) / (select extract(epoch from '2026-05-28 15:26:00'::timestamp) - extract(epoch from '2026-05-28 15:25: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'), 46535, 'SRID=4674;POINT (-38.584065 -3.291044)', '2026-05-28 15:26:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584071 -3.291057)'), GeomFromEWKT('SRID=4674;POINT (-38.584065 -3.291044)'))) / (select extract(epoch from '2026-05-28 15:26:01'::timestamp) - extract(epoch from '2026-05-28 15:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584071 -3.291057)'), GeomFromEWKT('SRID=4674;POINT (-38.584065 -3.291044)'))) / (select extract(epoch from '2026-05-28 15:26:01'::timestamp) - extract(epoch from '2026-05-28 15: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'), 46535, 'SRID=4674;POINT (-38.584042 -3.291008)', '2026-05-28 15:26:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584065 -3.291044)'), GeomFromEWKT('SRID=4674;POINT (-38.584042 -3.291008)'))) / (select extract(epoch from '2026-05-28 15:26:04'::timestamp) - extract(epoch from '2026-05-28 15:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584065 -3.291044)'), GeomFromEWKT('SRID=4674;POINT (-38.584042 -3.291008)'))) / (select extract(epoch from '2026-05-28 15:26:04'::timestamp) - extract(epoch from '2026-05-28 15:26: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'), 46535, 'SRID=4674;POINT (-38.584042 -3.291)', '2026-05-28 15:26:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584042 -3.291008)'), GeomFromEWKT('SRID=4674;POINT (-38.584042 -3.291)'))) / (select extract(epoch from '2026-05-28 15:26:05'::timestamp) - extract(epoch from '2026-05-28 15:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584042 -3.291008)'), GeomFromEWKT('SRID=4674;POINT (-38.584042 -3.291)'))) / (select extract(epoch from '2026-05-28 15:26:05'::timestamp) - extract(epoch from '2026-05-28 15:26:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584038 -3.290991)', '2026-05-28 15:26:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584042 -3.291)'), GeomFromEWKT('SRID=4674;POINT (-38.584038 -3.290991)'))) / (select extract(epoch from '2026-05-28 15:26:06'::timestamp) - extract(epoch from '2026-05-28 15:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584042 -3.291)'), GeomFromEWKT('SRID=4674;POINT (-38.584038 -3.290991)'))) / (select extract(epoch from '2026-05-28 15:26:06'::timestamp) - extract(epoch from '2026-05-28 15:26: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'), 46535, 'SRID=4674;POINT (-38.584013 -3.290944)', '2026-05-28 15:26:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584038 -3.290991)'), GeomFromEWKT('SRID=4674;POINT (-38.584013 -3.290944)'))) / (select extract(epoch from '2026-05-28 15:26:10'::timestamp) - extract(epoch from '2026-05-28 15:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584038 -3.290991)'), GeomFromEWKT('SRID=4674;POINT (-38.584013 -3.290944)'))) / (select extract(epoch from '2026-05-28 15:26:10'::timestamp) - extract(epoch from '2026-05-28 15: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'), 46535, 'SRID=4674;POINT (-38.58397 -3.290868)', '2026-05-28 15:26:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584013 -3.290944)'), GeomFromEWKT('SRID=4674;POINT (-38.58397 -3.290868)'))) / (select extract(epoch from '2026-05-28 15:26:16'::timestamp) - extract(epoch from '2026-05-28 15:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584013 -3.290944)'), GeomFromEWKT('SRID=4674;POINT (-38.58397 -3.290868)'))) / (select extract(epoch from '2026-05-28 15:26:16'::timestamp) - extract(epoch from '2026-05-28 15:26: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'), 46535, 'SRID=4674;POINT (-38.583926 -3.290812)', '2026-05-28 15:26:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58397 -3.290868)'), GeomFromEWKT('SRID=4674;POINT (-38.583926 -3.290812)'))) / (select extract(epoch from '2026-05-28 15:26:21'::timestamp) - extract(epoch from '2026-05-28 15:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58397 -3.290868)'), GeomFromEWKT('SRID=4674;POINT (-38.583926 -3.290812)'))) / (select extract(epoch from '2026-05-28 15:26:21'::timestamp) - extract(epoch from '2026-05-28 15:26: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'), 46535, 'SRID=4674;POINT (-38.583871 -3.290737)', '2026-05-28 15:26:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583926 -3.290812)'), GeomFromEWKT('SRID=4674;POINT (-38.583871 -3.290737)'))) / (select extract(epoch from '2026-05-28 15:26:27'::timestamp) - extract(epoch from '2026-05-28 15:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583926 -3.290812)'), GeomFromEWKT('SRID=4674;POINT (-38.583871 -3.290737)'))) / (select extract(epoch from '2026-05-28 15:26:27'::timestamp) - extract(epoch from '2026-05-28 15:26:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.583822 -3.29066)', '2026-05-28 15:26:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583871 -3.290737)'), GeomFromEWKT('SRID=4674;POINT (-38.583822 -3.29066)'))) / (select extract(epoch from '2026-05-28 15:26:33'::timestamp) - extract(epoch from '2026-05-28 15:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583871 -3.290737)'), GeomFromEWKT('SRID=4674;POINT (-38.583822 -3.29066)'))) / (select extract(epoch from '2026-05-28 15:26:33'::timestamp) - extract(epoch from '2026-05-28 15:26: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'), 46535, 'SRID=4674;POINT (-38.58375 -3.290567)', '2026-05-28 15:26:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583822 -3.29066)'), GeomFromEWKT('SRID=4674;POINT (-38.58375 -3.290567)'))) / (select extract(epoch from '2026-05-28 15:26:40'::timestamp) - extract(epoch from '2026-05-28 15:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583822 -3.29066)'), GeomFromEWKT('SRID=4674;POINT (-38.58375 -3.290567)'))) / (select extract(epoch from '2026-05-28 15:26:40'::timestamp) - extract(epoch from '2026-05-28 15:26: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'), 46535, 'SRID=4674;POINT (-38.583741 -3.290553)', '2026-05-28 15:26:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58375 -3.290567)'), GeomFromEWKT('SRID=4674;POINT (-38.583741 -3.290553)'))) / (select extract(epoch from '2026-05-28 15:26:41'::timestamp) - extract(epoch from '2026-05-28 15:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58375 -3.290567)'), GeomFromEWKT('SRID=4674;POINT (-38.583741 -3.290553)'))) / (select extract(epoch from '2026-05-28 15:26:41'::timestamp) - extract(epoch from '2026-05-28 15:26: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'), 46535, 'SRID=4674;POINT (-38.5837 -3.290503)', '2026-05-28 15:26:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583741 -3.290553)'), GeomFromEWKT('SRID=4674;POINT (-38.5837 -3.290503)'))) / (select extract(epoch from '2026-05-28 15:26:45'::timestamp) - extract(epoch from '2026-05-28 15:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583741 -3.290553)'), GeomFromEWKT('SRID=4674;POINT (-38.5837 -3.290503)'))) / (select extract(epoch from '2026-05-28 15:26:45'::timestamp) - extract(epoch from '2026-05-28 15:26: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'), 46535, 'SRID=4674;POINT (-38.583645 -3.290453)', '2026-05-28 15:26:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5837 -3.290503)'), GeomFromEWKT('SRID=4674;POINT (-38.583645 -3.290453)'))) / (select extract(epoch from '2026-05-28 15:26:50'::timestamp) - extract(epoch from '2026-05-28 15:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5837 -3.290503)'), GeomFromEWKT('SRID=4674;POINT (-38.583645 -3.290453)'))) / (select extract(epoch from '2026-05-28 15:26:50'::timestamp) - extract(epoch from '2026-05-28 15:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.583636 -3.290441)', '2026-05-28 15:26:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583645 -3.290453)'), GeomFromEWKT('SRID=4674;POINT (-38.583636 -3.290441)'))) / (select extract(epoch from '2026-05-28 15:26:51'::timestamp) - extract(epoch from '2026-05-28 15:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583645 -3.290453)'), GeomFromEWKT('SRID=4674;POINT (-38.583636 -3.290441)'))) / (select extract(epoch from '2026-05-28 15:26:51'::timestamp) - extract(epoch from '2026-05-28 15:26:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.583578 -3.290382)', '2026-05-28 15:26:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583636 -3.290441)'), GeomFromEWKT('SRID=4674;POINT (-38.583578 -3.290382)'))) / (select extract(epoch from '2026-05-28 15:26:57'::timestamp) - extract(epoch from '2026-05-28 15:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583636 -3.290441)'), GeomFromEWKT('SRID=4674;POINT (-38.583578 -3.290382)'))) / (select extract(epoch from '2026-05-28 15:26:57'::timestamp) - extract(epoch from '2026-05-28 15:26: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'), 46535, 'SRID=4674;POINT (-38.583516 -3.290331)', '2026-05-28 15:27:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583578 -3.290382)'), GeomFromEWKT('SRID=4674;POINT (-38.583516 -3.290331)'))) / (select extract(epoch from '2026-05-28 15:27:03'::timestamp) - extract(epoch from '2026-05-28 15:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583578 -3.290382)'), GeomFromEWKT('SRID=4674;POINT (-38.583516 -3.290331)'))) / (select extract(epoch from '2026-05-28 15:27:03'::timestamp) - extract(epoch from '2026-05-28 15: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'), 46535, 'SRID=4674;POINT (-38.583464 -3.290282)', '2026-05-28 15:27:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583516 -3.290331)'), GeomFromEWKT('SRID=4674;POINT (-38.583464 -3.290282)'))) / (select extract(epoch from '2026-05-28 15:27:08'::timestamp) - extract(epoch from '2026-05-28 15:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583516 -3.290331)'), GeomFromEWKT('SRID=4674;POINT (-38.583464 -3.290282)'))) / (select extract(epoch from '2026-05-28 15:27:08'::timestamp) - extract(epoch from '2026-05-28 15:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.583442 -3.290263)', '2026-05-28 15:27:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583464 -3.290282)'), GeomFromEWKT('SRID=4674;POINT (-38.583442 -3.290263)'))) / (select extract(epoch from '2026-05-28 15:27:10'::timestamp) - extract(epoch from '2026-05-28 15:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583464 -3.290282)'), GeomFromEWKT('SRID=4674;POINT (-38.583442 -3.290263)'))) / (select extract(epoch from '2026-05-28 15:27:10'::timestamp) - extract(epoch from '2026-05-28 15:27:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.583431 -3.290251)', '2026-05-28 15:27:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583442 -3.290263)'), GeomFromEWKT('SRID=4674;POINT (-38.583431 -3.290251)'))) / (select extract(epoch from '2026-05-28 15:27:11'::timestamp) - extract(epoch from '2026-05-28 15:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583442 -3.290263)'), GeomFromEWKT('SRID=4674;POINT (-38.583431 -3.290251)'))) / (select extract(epoch from '2026-05-28 15:27:11'::timestamp) - extract(epoch from '2026-05-28 15:27: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'), 46535, 'SRID=4674;POINT (-38.583391 -3.290213)', '2026-05-28 15:27:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583431 -3.290251)'), GeomFromEWKT('SRID=4674;POINT (-38.583391 -3.290213)'))) / (select extract(epoch from '2026-05-28 15:27:15'::timestamp) - extract(epoch from '2026-05-28 15:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583431 -3.290251)'), GeomFromEWKT('SRID=4674;POINT (-38.583391 -3.290213)'))) / (select extract(epoch from '2026-05-28 15:27:15'::timestamp) - extract(epoch from '2026-05-28 15:27:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
