 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.676504 -2.78144)', '2026-06-18 10:22:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676478 -2.781421)'), GeomFromEWKT('SRID=4674;POINT (-39.676504 -2.78144)'))) / (select extract(epoch from '2026-06-18 10:22:14'::timestamp) - extract(epoch from '2026-06-18 10:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676478 -2.781421)'), GeomFromEWKT('SRID=4674;POINT (-39.676504 -2.78144)'))) / (select extract(epoch from '2026-06-18 10:22:14'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.676521 -2.781458)', '2026-06-18 10:22:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676504 -2.78144)'), GeomFromEWKT('SRID=4674;POINT (-39.676521 -2.781458)'))) / (select extract(epoch from '2026-06-18 10:22:16'::timestamp) - extract(epoch from '2026-06-18 10:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676504 -2.78144)'), GeomFromEWKT('SRID=4674;POINT (-39.676521 -2.781458)'))) / (select extract(epoch from '2026-06-18 10:22:16'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.676533 -2.781465)', '2026-06-18 10:22:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676521 -2.781458)'), GeomFromEWKT('SRID=4674;POINT (-39.676533 -2.781465)'))) / (select extract(epoch from '2026-06-18 10:22:17'::timestamp) - extract(epoch from '2026-06-18 10:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676521 -2.781458)'), GeomFromEWKT('SRID=4674;POINT (-39.676533 -2.781465)'))) / (select extract(epoch from '2026-06-18 10:22:17'::timestamp) - extract(epoch from '2026-06-18 10:22: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'), 46821, 'SRID=4674;POINT (-39.676572 -2.781516)', '2026-06-18 10:22:23', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676533 -2.781465)'), GeomFromEWKT('SRID=4674;POINT (-39.676572 -2.781516)'))) / (select extract(epoch from '2026-06-18 10:22:23'::timestamp) - extract(epoch from '2026-06-18 10:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676533 -2.781465)'), GeomFromEWKT('SRID=4674;POINT (-39.676572 -2.781516)'))) / (select extract(epoch from '2026-06-18 10:22:23'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.676624 -2.781578)', '2026-06-18 10:22:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676572 -2.781516)'), GeomFromEWKT('SRID=4674;POINT (-39.676624 -2.781578)'))) / (select extract(epoch from '2026-06-18 10:22:30'::timestamp) - extract(epoch from '2026-06-18 10:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676572 -2.781516)'), GeomFromEWKT('SRID=4674;POINT (-39.676624 -2.781578)'))) / (select extract(epoch from '2026-06-18 10:22:30'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.676668 -2.781618)', '2026-06-18 10:22:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676624 -2.781578)'), GeomFromEWKT('SRID=4674;POINT (-39.676668 -2.781618)'))) / (select extract(epoch from '2026-06-18 10:22:35'::timestamp) - extract(epoch from '2026-06-18 10:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676624 -2.781578)'), GeomFromEWKT('SRID=4674;POINT (-39.676668 -2.781618)'))) / (select extract(epoch from '2026-06-18 10:22:35'::timestamp) - extract(epoch from '2026-06-18 10:22: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'), 46821, 'SRID=4674;POINT (-39.676687 -2.781631)', '2026-06-18 10:22:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676668 -2.781618)'), GeomFromEWKT('SRID=4674;POINT (-39.676687 -2.781631)'))) / (select extract(epoch from '2026-06-18 10:22:37'::timestamp) - extract(epoch from '2026-06-18 10:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676668 -2.781618)'), GeomFromEWKT('SRID=4674;POINT (-39.676687 -2.781631)'))) / (select extract(epoch from '2026-06-18 10:22:37'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.676766 -2.781678)', '2026-06-18 10:22:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676687 -2.781631)'), GeomFromEWKT('SRID=4674;POINT (-39.676766 -2.781678)'))) / (select extract(epoch from '2026-06-18 10:22:44'::timestamp) - extract(epoch from '2026-06-18 10:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676687 -2.781631)'), GeomFromEWKT('SRID=4674;POINT (-39.676766 -2.781678)'))) / (select extract(epoch from '2026-06-18 10:22:44'::timestamp) - extract(epoch from '2026-06-18 10:22: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'), 46821, 'SRID=4674;POINT (-39.676842 -2.781706)', '2026-06-18 10:22:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676766 -2.781678)'), GeomFromEWKT('SRID=4674;POINT (-39.676842 -2.781706)'))) / (select extract(epoch from '2026-06-18 10:22:50'::timestamp) - extract(epoch from '2026-06-18 10:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676766 -2.781678)'), GeomFromEWKT('SRID=4674;POINT (-39.676842 -2.781706)'))) / (select extract(epoch from '2026-06-18 10:22:50'::timestamp) - extract(epoch from '2026-06-18 10:22: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'), 46821, 'SRID=4674;POINT (-39.676943 -2.781728)', '2026-06-18 10:22:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676842 -2.781706)'), GeomFromEWKT('SRID=4674;POINT (-39.676943 -2.781728)'))) / (select extract(epoch from '2026-06-18 10:22:57'::timestamp) - extract(epoch from '2026-06-18 10:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676842 -2.781706)'), GeomFromEWKT('SRID=4674;POINT (-39.676943 -2.781728)'))) / (select extract(epoch from '2026-06-18 10:22:57'::timestamp) - extract(epoch from '2026-06-18 10:22: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'), 46821, 'SRID=4674;POINT (-39.676972 -2.781728)', '2026-06-18 10:22:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676943 -2.781728)'), GeomFromEWKT('SRID=4674;POINT (-39.676972 -2.781728)'))) / (select extract(epoch from '2026-06-18 10:22:59'::timestamp) - extract(epoch from '2026-06-18 10:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676943 -2.781728)'), GeomFromEWKT('SRID=4674;POINT (-39.676972 -2.781728)'))) / (select extract(epoch from '2026-06-18 10:22:59'::timestamp) - extract(epoch from '2026-06-18 10:22: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'), 46821, 'SRID=4674;POINT (-39.677017 -2.781725)', '2026-06-18 10:23:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676972 -2.781728)'), GeomFromEWKT('SRID=4674;POINT (-39.677017 -2.781725)'))) / (select extract(epoch from '2026-06-18 10:23:02'::timestamp) - extract(epoch from '2026-06-18 10:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676972 -2.781728)'), GeomFromEWKT('SRID=4674;POINT (-39.677017 -2.781725)'))) / (select extract(epoch from '2026-06-18 10:23:02'::timestamp) - extract(epoch from '2026-06-18 10:22:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677138 -2.781686)', '2026-06-18 10:23:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677017 -2.781725)'), GeomFromEWKT('SRID=4674;POINT (-39.677138 -2.781686)'))) / (select extract(epoch from '2026-06-18 10:23:10'::timestamp) - extract(epoch from '2026-06-18 10:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677017 -2.781725)'), GeomFromEWKT('SRID=4674;POINT (-39.677138 -2.781686)'))) / (select extract(epoch from '2026-06-18 10:23:10'::timestamp) - extract(epoch from '2026-06-18 10:23: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'), 46821, 'SRID=4674;POINT (-39.677239 -2.781623)', '2026-06-18 10:23:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677138 -2.781686)'), GeomFromEWKT('SRID=4674;POINT (-39.677239 -2.781623)'))) / (select extract(epoch from '2026-06-18 10:23:17'::timestamp) - extract(epoch from '2026-06-18 10:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677138 -2.781686)'), GeomFromEWKT('SRID=4674;POINT (-39.677239 -2.781623)'))) / (select extract(epoch from '2026-06-18 10:23:17'::timestamp) - extract(epoch from '2026-06-18 10:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677335 -2.781545)', '2026-06-18 10:23:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677239 -2.781623)'), GeomFromEWKT('SRID=4674;POINT (-39.677335 -2.781545)'))) / (select extract(epoch from '2026-06-18 10:23:24'::timestamp) - extract(epoch from '2026-06-18 10:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677239 -2.781623)'), GeomFromEWKT('SRID=4674;POINT (-39.677335 -2.781545)'))) / (select extract(epoch from '2026-06-18 10:23:24'::timestamp) - extract(epoch from '2026-06-18 10:23:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.67741 -2.781444)', '2026-06-18 10:23:31', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677335 -2.781545)'), GeomFromEWKT('SRID=4674;POINT (-39.67741 -2.781444)'))) / (select extract(epoch from '2026-06-18 10:23:31'::timestamp) - extract(epoch from '2026-06-18 10:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677335 -2.781545)'), GeomFromEWKT('SRID=4674;POINT (-39.67741 -2.781444)'))) / (select extract(epoch from '2026-06-18 10:23:31'::timestamp) - extract(epoch from '2026-06-18 10:23: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'), 46821, 'SRID=4674;POINT (-39.677471 -2.781334)', '2026-06-18 10:23:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67741 -2.781444)'), GeomFromEWKT('SRID=4674;POINT (-39.677471 -2.781334)'))) / (select extract(epoch from '2026-06-18 10:23:38'::timestamp) - extract(epoch from '2026-06-18 10:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67741 -2.781444)'), GeomFromEWKT('SRID=4674;POINT (-39.677471 -2.781334)'))) / (select extract(epoch from '2026-06-18 10:23:38'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.677536 -2.781245)', '2026-06-18 10:23:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677471 -2.781334)'), GeomFromEWKT('SRID=4674;POINT (-39.677536 -2.781245)'))) / (select extract(epoch from '2026-06-18 10:23:44'::timestamp) - extract(epoch from '2026-06-18 10:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677471 -2.781334)'), GeomFromEWKT('SRID=4674;POINT (-39.677536 -2.781245)'))) / (select extract(epoch from '2026-06-18 10:23:44'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.677576 -2.781189)', '2026-06-18 10:23:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677536 -2.781245)'), GeomFromEWKT('SRID=4674;POINT (-39.677576 -2.781189)'))) / (select extract(epoch from '2026-06-18 10:23:48'::timestamp) - extract(epoch from '2026-06-18 10:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677536 -2.781245)'), GeomFromEWKT('SRID=4674;POINT (-39.677576 -2.781189)'))) / (select extract(epoch from '2026-06-18 10:23:48'::timestamp) - extract(epoch from '2026-06-18 10:23:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677588 -2.781174)', '2026-06-18 10:23:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677576 -2.781189)'), GeomFromEWKT('SRID=4674;POINT (-39.677588 -2.781174)'))) / (select extract(epoch from '2026-06-18 10:23:49'::timestamp) - extract(epoch from '2026-06-18 10:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677576 -2.781189)'), GeomFromEWKT('SRID=4674;POINT (-39.677588 -2.781174)'))) / (select extract(epoch from '2026-06-18 10:23:49'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.677655 -2.781073)', '2026-06-18 10:23:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677588 -2.781174)'), GeomFromEWKT('SRID=4674;POINT (-39.677655 -2.781073)'))) / (select extract(epoch from '2026-06-18 10:23:56'::timestamp) - extract(epoch from '2026-06-18 10:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677588 -2.781174)'), GeomFromEWKT('SRID=4674;POINT (-39.677655 -2.781073)'))) / (select extract(epoch from '2026-06-18 10:23:56'::timestamp) - extract(epoch from '2026-06-18 10:23:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677708 -2.780988)', '2026-06-18 10:24:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677655 -2.781073)'), GeomFromEWKT('SRID=4674;POINT (-39.677708 -2.780988)'))) / (select extract(epoch from '2026-06-18 10:24:02'::timestamp) - extract(epoch from '2026-06-18 10:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677655 -2.781073)'), GeomFromEWKT('SRID=4674;POINT (-39.677708 -2.780988)'))) / (select extract(epoch from '2026-06-18 10:24:02'::timestamp) - extract(epoch from '2026-06-18 10:23:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677746 -2.780914)', '2026-06-18 10:24:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677708 -2.780988)'), GeomFromEWKT('SRID=4674;POINT (-39.677746 -2.780914)'))) / (select extract(epoch from '2026-06-18 10:24:07'::timestamp) - extract(epoch from '2026-06-18 10:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677708 -2.780988)'), GeomFromEWKT('SRID=4674;POINT (-39.677746 -2.780914)'))) / (select extract(epoch from '2026-06-18 10:24:07'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.677792 -2.780852)', '2026-06-18 10:24:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677746 -2.780914)'), GeomFromEWKT('SRID=4674;POINT (-39.677792 -2.780852)'))) / (select extract(epoch from '2026-06-18 10:24:12'::timestamp) - extract(epoch from '2026-06-18 10:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677746 -2.780914)'), GeomFromEWKT('SRID=4674;POINT (-39.677792 -2.780852)'))) / (select extract(epoch from '2026-06-18 10:24:12'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.677817 -2.780834)', '2026-06-18 10:24:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677792 -2.780852)'), GeomFromEWKT('SRID=4674;POINT (-39.677817 -2.780834)'))) / (select extract(epoch from '2026-06-18 10:24:14'::timestamp) - extract(epoch from '2026-06-18 10:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677792 -2.780852)'), GeomFromEWKT('SRID=4674;POINT (-39.677817 -2.780834)'))) / (select extract(epoch from '2026-06-18 10:24:14'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.677848 -2.780819)', '2026-06-18 10:24:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677817 -2.780834)'), GeomFromEWKT('SRID=4674;POINT (-39.677848 -2.780819)'))) / (select extract(epoch from '2026-06-18 10:24:17'::timestamp) - extract(epoch from '2026-06-18 10:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677817 -2.780834)'), GeomFromEWKT('SRID=4674;POINT (-39.677848 -2.780819)'))) / (select extract(epoch from '2026-06-18 10:24:17'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.677869 -2.780816)', '2026-06-18 10:24:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677848 -2.780819)'), GeomFromEWKT('SRID=4674;POINT (-39.677869 -2.780816)'))) / (select extract(epoch from '2026-06-18 10:24:19'::timestamp) - extract(epoch from '2026-06-18 10:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677848 -2.780819)'), GeomFromEWKT('SRID=4674;POINT (-39.677869 -2.780816)'))) / (select extract(epoch from '2026-06-18 10:24:19'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.677908 -2.780828)', '2026-06-18 10:24:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677869 -2.780816)'), GeomFromEWKT('SRID=4674;POINT (-39.677908 -2.780828)'))) / (select extract(epoch from '2026-06-18 10:24:25'::timestamp) - extract(epoch from '2026-06-18 10:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677869 -2.780816)'), GeomFromEWKT('SRID=4674;POINT (-39.677908 -2.780828)'))) / (select extract(epoch from '2026-06-18 10:24:25'::timestamp) - extract(epoch from '2026-06-18 10:24: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'), 46821, 'SRID=4674;POINT (-39.677915 -2.780838)', '2026-06-18 10:24:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677908 -2.780828)'), GeomFromEWKT('SRID=4674;POINT (-39.677915 -2.780838)'))) / (select extract(epoch from '2026-06-18 10:24:33'::timestamp) - extract(epoch from '2026-06-18 10:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677908 -2.780828)'), GeomFromEWKT('SRID=4674;POINT (-39.677915 -2.780838)'))) / (select extract(epoch from '2026-06-18 10:24:33'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.677889 -2.780861)', '2026-06-18 10:24:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677915 -2.780838)'), GeomFromEWKT('SRID=4674;POINT (-39.677889 -2.780861)'))) / (select extract(epoch from '2026-06-18 10:24:42'::timestamp) - extract(epoch from '2026-06-18 10:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677915 -2.780838)'), GeomFromEWKT('SRID=4674;POINT (-39.677889 -2.780861)'))) / (select extract(epoch from '2026-06-18 10:24:42'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.677821 -2.780853)', '2026-06-18 10:24:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677889 -2.780861)'), GeomFromEWKT('SRID=4674;POINT (-39.677821 -2.780853)'))) / (select extract(epoch from '2026-06-18 10:24:50'::timestamp) - extract(epoch from '2026-06-18 10:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677889 -2.780861)'), GeomFromEWKT('SRID=4674;POINT (-39.677821 -2.780853)'))) / (select extract(epoch from '2026-06-18 10:24:50'::timestamp) - extract(epoch from '2026-06-18 10:24: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'), 46821, 'SRID=4674;POINT (-39.67774 -2.780839)', '2026-06-18 10:24:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677821 -2.780853)'), GeomFromEWKT('SRID=4674;POINT (-39.67774 -2.780839)'))) / (select extract(epoch from '2026-06-18 10:24:58'::timestamp) - extract(epoch from '2026-06-18 10:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677821 -2.780853)'), GeomFromEWKT('SRID=4674;POINT (-39.67774 -2.780839)'))) / (select extract(epoch from '2026-06-18 10:24:58'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.677663 -2.780825)', '2026-06-18 10:25:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67774 -2.780839)'), GeomFromEWKT('SRID=4674;POINT (-39.677663 -2.780825)'))) / (select extract(epoch from '2026-06-18 10:25:05'::timestamp) - extract(epoch from '2026-06-18 10:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67774 -2.780839)'), GeomFromEWKT('SRID=4674;POINT (-39.677663 -2.780825)'))) / (select extract(epoch from '2026-06-18 10:25:05'::timestamp) - extract(epoch from '2026-06-18 10:24: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'), 46821, 'SRID=4674;POINT (-39.677643 -2.78082)', '2026-06-18 10:25:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677663 -2.780825)'), GeomFromEWKT('SRID=4674;POINT (-39.677643 -2.78082)'))) / (select extract(epoch from '2026-06-18 10:25:07'::timestamp) - extract(epoch from '2026-06-18 10:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677663 -2.780825)'), GeomFromEWKT('SRID=4674;POINT (-39.677643 -2.78082)'))) / (select extract(epoch from '2026-06-18 10:25:07'::timestamp) - extract(epoch from '2026-06-18 10:25:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677593 -2.780813)', '2026-06-18 10:25:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677643 -2.78082)'), GeomFromEWKT('SRID=4674;POINT (-39.677593 -2.780813)'))) / (select extract(epoch from '2026-06-18 10:25:12'::timestamp) - extract(epoch from '2026-06-18 10:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677643 -2.78082)'), GeomFromEWKT('SRID=4674;POINT (-39.677593 -2.780813)'))) / (select extract(epoch from '2026-06-18 10:25:12'::timestamp) - extract(epoch from '2026-06-18 10:25: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'), 46821, 'SRID=4674;POINT (-39.677554 -2.780807)', '2026-06-18 10:25:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677593 -2.780813)'), GeomFromEWKT('SRID=4674;POINT (-39.677554 -2.780807)'))) / (select extract(epoch from '2026-06-18 10:25:19'::timestamp) - extract(epoch from '2026-06-18 10:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677593 -2.780813)'), GeomFromEWKT('SRID=4674;POINT (-39.677554 -2.780807)'))) / (select extract(epoch from '2026-06-18 10:25:19'::timestamp) - extract(epoch from '2026-06-18 10:25: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'), 46821, 'SRID=4674;POINT (-39.677525 -2.780829)', '2026-06-18 10:25:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677554 -2.780807)'), GeomFromEWKT('SRID=4674;POINT (-39.677525 -2.780829)'))) / (select extract(epoch from '2026-06-18 10:25:28'::timestamp) - extract(epoch from '2026-06-18 10:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677554 -2.780807)'), GeomFromEWKT('SRID=4674;POINT (-39.677525 -2.780829)'))) / (select extract(epoch from '2026-06-18 10:25:28'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.677539 -2.780842)', '2026-06-18 10:25:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677525 -2.780829)'), GeomFromEWKT('SRID=4674;POINT (-39.677539 -2.780842)'))) / (select extract(epoch from '2026-06-18 10:25:40'::timestamp) - extract(epoch from '2026-06-18 10:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677525 -2.780829)'), GeomFromEWKT('SRID=4674;POINT (-39.677539 -2.780842)'))) / (select extract(epoch from '2026-06-18 10:25:40'::timestamp) - extract(epoch from '2026-06-18 10:25: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'), 46821, 'SRID=4674;POINT (-39.677571 -2.780844)', '2026-06-18 10:25:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677539 -2.780842)'), GeomFromEWKT('SRID=4674;POINT (-39.677571 -2.780844)'))) / (select extract(epoch from '2026-06-18 10:25:48'::timestamp) - extract(epoch from '2026-06-18 10:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677539 -2.780842)'), GeomFromEWKT('SRID=4674;POINT (-39.677571 -2.780844)'))) / (select extract(epoch from '2026-06-18 10:25:48'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.6776 -2.780835)', '2026-06-18 10:26:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677571 -2.780844)'), GeomFromEWKT('SRID=4674;POINT (-39.6776 -2.780835)'))) / (select extract(epoch from '2026-06-18 10:26:01'::timestamp) - extract(epoch from '2026-06-18 10:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677571 -2.780844)'), GeomFromEWKT('SRID=4674;POINT (-39.6776 -2.780835)'))) / (select extract(epoch from '2026-06-18 10:26:01'::timestamp) - extract(epoch from '2026-06-18 10:25: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'), 46821, 'SRID=4674;POINT (-39.67756 -2.780788)', '2026-06-18 10:27:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6776 -2.780835)'), GeomFromEWKT('SRID=4674;POINT (-39.67756 -2.780788)'))) / (select extract(epoch from '2026-06-18 10:27:04'::timestamp) - extract(epoch from '2026-06-18 10:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6776 -2.780835)'), GeomFromEWKT('SRID=4674;POINT (-39.67756 -2.780788)'))) / (select extract(epoch from '2026-06-18 10:27:04'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.677477 -2.780746)', '2026-06-18 10:28:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67756 -2.780788)'), GeomFromEWKT('SRID=4674;POINT (-39.677477 -2.780746)'))) / (select extract(epoch from '2026-06-18 10:28:45'::timestamp) - extract(epoch from '2026-06-18 10:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67756 -2.780788)'), GeomFromEWKT('SRID=4674;POINT (-39.677477 -2.780746)'))) / (select extract(epoch from '2026-06-18 10:28:45'::timestamp) - extract(epoch from '2026-06-18 10:27: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'), 46821, 'SRID=4674;POINT (-39.677393 -2.780709)', '2026-06-18 10:30:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677477 -2.780746)'), GeomFromEWKT('SRID=4674;POINT (-39.677393 -2.780709)'))) / (select extract(epoch from '2026-06-18 10:30:13'::timestamp) - extract(epoch from '2026-06-18 10:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677477 -2.780746)'), GeomFromEWKT('SRID=4674;POINT (-39.677393 -2.780709)'))) / (select extract(epoch from '2026-06-18 10:30:13'::timestamp) - extract(epoch from '2026-06-18 10:28: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'), 46821, 'SRID=4674;POINT (-39.677393 -2.780709)', '2026-06-18 10:31:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677393 -2.780709)'), GeomFromEWKT('SRID=4674;POINT (-39.677393 -2.780709)'))) / (select extract(epoch from '2026-06-18 10:31:51'::timestamp) - extract(epoch from '2026-06-18 10:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677393 -2.780709)'), GeomFromEWKT('SRID=4674;POINT (-39.677393 -2.780709)'))) / (select extract(epoch from '2026-06-18 10:31:51'::timestamp) - extract(epoch from '2026-06-18 10:30: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'), 46821, 'SRID=4674;POINT (-39.677789 -2.780882)', '2026-06-21 14:12:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677393 -2.780709)'), GeomFromEWKT('SRID=4674;POINT (-39.677789 -2.780882)'))) / (select extract(epoch from '2026-06-21 14:12:01'::timestamp) - extract(epoch from '2026-06-18 10:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677393 -2.780709)'), GeomFromEWKT('SRID=4674;POINT (-39.677789 -2.780882)'))) / (select extract(epoch from '2026-06-21 14:12:01'::timestamp) - extract(epoch from '2026-06-18 10:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677789 -2.78089)', '2026-06-21 14:12:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677789 -2.780882)'), GeomFromEWKT('SRID=4674;POINT (-39.677789 -2.78089)'))) / (select extract(epoch from '2026-06-21 14:12:09'::timestamp) - extract(epoch from '2026-06-21 14:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677789 -2.780882)'), GeomFromEWKT('SRID=4674;POINT (-39.677789 -2.78089)'))) / (select extract(epoch from '2026-06-21 14:12:09'::timestamp) - extract(epoch from '2026-06-21 14:12:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677782 -2.780889)', '2026-06-21 14:12:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677789 -2.78089)'), GeomFromEWKT('SRID=4674;POINT (-39.677782 -2.780889)'))) / (select extract(epoch from '2026-06-21 14:12:20'::timestamp) - extract(epoch from '2026-06-21 14:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677789 -2.78089)'), GeomFromEWKT('SRID=4674;POINT (-39.677782 -2.780889)'))) / (select extract(epoch from '2026-06-21 14:12:20'::timestamp) - extract(epoch from '2026-06-21 14:12:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677793 -2.780888)', '2026-06-21 14:12:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677782 -2.780889)'), GeomFromEWKT('SRID=4674;POINT (-39.677793 -2.780888)'))) / (select extract(epoch from '2026-06-21 14:12:33'::timestamp) - extract(epoch from '2026-06-21 14:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677782 -2.780889)'), GeomFromEWKT('SRID=4674;POINT (-39.677793 -2.780888)'))) / (select extract(epoch from '2026-06-21 14:12:33'::timestamp) - extract(epoch from '2026-06-21 14:12:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677776 -2.780893)', '2026-06-21 14:12:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677793 -2.780888)'), GeomFromEWKT('SRID=4674;POINT (-39.677776 -2.780893)'))) / (select extract(epoch from '2026-06-21 14:12:39'::timestamp) - extract(epoch from '2026-06-21 14:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677793 -2.780888)'), GeomFromEWKT('SRID=4674;POINT (-39.677776 -2.780893)'))) / (select extract(epoch from '2026-06-21 14:12:39'::timestamp) - extract(epoch from '2026-06-21 14:12:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677763 -2.780904)', '2026-06-21 14:12:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677776 -2.780893)'), GeomFromEWKT('SRID=4674;POINT (-39.677763 -2.780904)'))) / (select extract(epoch from '2026-06-21 14:12:46'::timestamp) - extract(epoch from '2026-06-21 14:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677776 -2.780893)'), GeomFromEWKT('SRID=4674;POINT (-39.677763 -2.780904)'))) / (select extract(epoch from '2026-06-21 14:12:46'::timestamp) - extract(epoch from '2026-06-21 14:12:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677745 -2.780908)', '2026-06-21 14:12:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677763 -2.780904)'), GeomFromEWKT('SRID=4674;POINT (-39.677745 -2.780908)'))) / (select extract(epoch from '2026-06-21 14:12:54'::timestamp) - extract(epoch from '2026-06-21 14:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677763 -2.780904)'), GeomFromEWKT('SRID=4674;POINT (-39.677745 -2.780908)'))) / (select extract(epoch from '2026-06-21 14:12:54'::timestamp) - extract(epoch from '2026-06-21 14:12:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677732 -2.780907)', '2026-06-21 14:13:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677745 -2.780908)'), GeomFromEWKT('SRID=4674;POINT (-39.677732 -2.780907)'))) / (select extract(epoch from '2026-06-21 14:13:02'::timestamp) - extract(epoch from '2026-06-21 14:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677745 -2.780908)'), GeomFromEWKT('SRID=4674;POINT (-39.677732 -2.780907)'))) / (select extract(epoch from '2026-06-21 14:13:02'::timestamp) - extract(epoch from '2026-06-21 14:12:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677697 -2.780947)', '2026-06-21 14:13:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677732 -2.780907)'), GeomFromEWKT('SRID=4674;POINT (-39.677697 -2.780947)'))) / (select extract(epoch from '2026-06-21 14:13:12'::timestamp) - extract(epoch from '2026-06-21 14:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677732 -2.780907)'), GeomFromEWKT('SRID=4674;POINT (-39.677697 -2.780947)'))) / (select extract(epoch from '2026-06-21 14:13:12'::timestamp) - extract(epoch from '2026-06-21 14:13: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'), 46821, 'SRID=4674;POINT (-39.677646 -2.780977)', '2026-06-21 14:13:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677697 -2.780947)'), GeomFromEWKT('SRID=4674;POINT (-39.677646 -2.780977)'))) / (select extract(epoch from '2026-06-21 14:13:20'::timestamp) - extract(epoch from '2026-06-21 14:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677697 -2.780947)'), GeomFromEWKT('SRID=4674;POINT (-39.677646 -2.780977)'))) / (select extract(epoch from '2026-06-21 14:13:20'::timestamp) - extract(epoch from '2026-06-21 14:13: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'), 46821, 'SRID=4674;POINT (-39.677593 -2.780993)', '2026-06-21 14:13:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677646 -2.780977)'), GeomFromEWKT('SRID=4674;POINT (-39.677593 -2.780993)'))) / (select extract(epoch from '2026-06-21 14:13:28'::timestamp) - extract(epoch from '2026-06-21 14:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677646 -2.780977)'), GeomFromEWKT('SRID=4674;POINT (-39.677593 -2.780993)'))) / (select extract(epoch from '2026-06-21 14:13:28'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.677554 -2.781022)', '2026-06-21 14:13:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677593 -2.780993)'), GeomFromEWKT('SRID=4674;POINT (-39.677554 -2.781022)'))) / (select extract(epoch from '2026-06-21 14:13:34'::timestamp) - extract(epoch from '2026-06-21 14:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677593 -2.780993)'), GeomFromEWKT('SRID=4674;POINT (-39.677554 -2.781022)'))) / (select extract(epoch from '2026-06-21 14:13:34'::timestamp) - extract(epoch from '2026-06-21 14:13:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677527 -2.781056)', '2026-06-21 14:13:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677554 -2.781022)'), GeomFromEWKT('SRID=4674;POINT (-39.677527 -2.781056)'))) / (select extract(epoch from '2026-06-21 14:13:39'::timestamp) - extract(epoch from '2026-06-21 14:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677554 -2.781022)'), GeomFromEWKT('SRID=4674;POINT (-39.677527 -2.781056)'))) / (select extract(epoch from '2026-06-21 14:13:39'::timestamp) - extract(epoch from '2026-06-21 14:13: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'), 46821, 'SRID=4674;POINT (-39.677523 -2.781062)', '2026-06-21 14:13:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677527 -2.781056)'), GeomFromEWKT('SRID=4674;POINT (-39.677523 -2.781062)'))) / (select extract(epoch from '2026-06-21 14:13:40'::timestamp) - extract(epoch from '2026-06-21 14:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677527 -2.781056)'), GeomFromEWKT('SRID=4674;POINT (-39.677523 -2.781062)'))) / (select extract(epoch from '2026-06-21 14:13:40'::timestamp) - extract(epoch from '2026-06-21 14:13: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'), 46821, 'SRID=4674;POINT (-39.677498 -2.781087)', '2026-06-21 14:13:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677523 -2.781062)'), GeomFromEWKT('SRID=4674;POINT (-39.677498 -2.781087)'))) / (select extract(epoch from '2026-06-21 14:13:46'::timestamp) - extract(epoch from '2026-06-21 14:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677523 -2.781062)'), GeomFromEWKT('SRID=4674;POINT (-39.677498 -2.781087)'))) / (select extract(epoch from '2026-06-21 14:13:46'::timestamp) - extract(epoch from '2026-06-21 14:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677456 -2.781126)', '2026-06-21 14:13:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677498 -2.781087)'), GeomFromEWKT('SRID=4674;POINT (-39.677456 -2.781126)'))) / (select extract(epoch from '2026-06-21 14:13:55'::timestamp) - extract(epoch from '2026-06-21 14:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677498 -2.781087)'), GeomFromEWKT('SRID=4674;POINT (-39.677456 -2.781126)'))) / (select extract(epoch from '2026-06-21 14:13:55'::timestamp) - extract(epoch from '2026-06-21 14:13:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677399 -2.781157)', '2026-06-21 14:14:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677456 -2.781126)'), GeomFromEWKT('SRID=4674;POINT (-39.677399 -2.781157)'))) / (select extract(epoch from '2026-06-21 14:14:03'::timestamp) - extract(epoch from '2026-06-21 14:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677456 -2.781126)'), GeomFromEWKT('SRID=4674;POINT (-39.677399 -2.781157)'))) / (select extract(epoch from '2026-06-21 14:14:03'::timestamp) - extract(epoch from '2026-06-21 14:13: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'), 46821, 'SRID=4674;POINT (-39.677346 -2.78119)', '2026-06-21 14:14:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677399 -2.781157)'), GeomFromEWKT('SRID=4674;POINT (-39.677346 -2.78119)'))) / (select extract(epoch from '2026-06-21 14:14:10'::timestamp) - extract(epoch from '2026-06-21 14:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677399 -2.781157)'), GeomFromEWKT('SRID=4674;POINT (-39.677346 -2.78119)'))) / (select extract(epoch from '2026-06-21 14:14:10'::timestamp) - extract(epoch from '2026-06-21 14:14: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'), 46821, 'SRID=4674;POINT (-39.677334 -2.781203)', '2026-06-21 14:14:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677346 -2.78119)'), GeomFromEWKT('SRID=4674;POINT (-39.677334 -2.781203)'))) / (select extract(epoch from '2026-06-21 14:14:12'::timestamp) - extract(epoch from '2026-06-21 14:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677346 -2.78119)'), GeomFromEWKT('SRID=4674;POINT (-39.677334 -2.781203)'))) / (select extract(epoch from '2026-06-21 14:14:12'::timestamp) - extract(epoch from '2026-06-21 14:14: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'), 46821, 'SRID=4674;POINT (-39.677307 -2.781219)', '2026-06-21 14:14:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677334 -2.781203)'), GeomFromEWKT('SRID=4674;POINT (-39.677307 -2.781219)'))) / (select extract(epoch from '2026-06-21 14:14:16'::timestamp) - extract(epoch from '2026-06-21 14:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677334 -2.781203)'), GeomFromEWKT('SRID=4674;POINT (-39.677307 -2.781219)'))) / (select extract(epoch from '2026-06-21 14:14:16'::timestamp) - extract(epoch from '2026-06-21 14:14: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'), 46821, 'SRID=4674;POINT (-39.677294 -2.781238)', '2026-06-21 14:14:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677307 -2.781219)'), GeomFromEWKT('SRID=4674;POINT (-39.677294 -2.781238)'))) / (select extract(epoch from '2026-06-21 14:14:20'::timestamp) - extract(epoch from '2026-06-21 14:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677307 -2.781219)'), GeomFromEWKT('SRID=4674;POINT (-39.677294 -2.781238)'))) / (select extract(epoch from '2026-06-21 14:14:20'::timestamp) - extract(epoch from '2026-06-21 14:14: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'), 46821, 'SRID=4674;POINT (-39.677281 -2.781246)', '2026-06-21 14:14:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677294 -2.781238)'), GeomFromEWKT('SRID=4674;POINT (-39.677281 -2.781246)'))) / (select extract(epoch from '2026-06-21 14:14:22'::timestamp) - extract(epoch from '2026-06-21 14:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677294 -2.781238)'), GeomFromEWKT('SRID=4674;POINT (-39.677281 -2.781246)'))) / (select extract(epoch from '2026-06-21 14:14:22'::timestamp) - extract(epoch from '2026-06-21 14:14:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677231 -2.781275)', '2026-06-21 14:14:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677281 -2.781246)'), GeomFromEWKT('SRID=4674;POINT (-39.677231 -2.781275)'))) / (select extract(epoch from '2026-06-21 14:14:29'::timestamp) - extract(epoch from '2026-06-21 14:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677281 -2.781246)'), GeomFromEWKT('SRID=4674;POINT (-39.677231 -2.781275)'))) / (select extract(epoch from '2026-06-21 14:14:29'::timestamp) - extract(epoch from '2026-06-21 14:14: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'), 46821, 'SRID=4674;POINT (-39.677186 -2.781299)', '2026-06-21 14:14:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677231 -2.781275)'), GeomFromEWKT('SRID=4674;POINT (-39.677186 -2.781299)'))) / (select extract(epoch from '2026-06-21 14:14:35'::timestamp) - extract(epoch from '2026-06-21 14:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677231 -2.781275)'), GeomFromEWKT('SRID=4674;POINT (-39.677186 -2.781299)'))) / (select extract(epoch from '2026-06-21 14:14:35'::timestamp) - extract(epoch from '2026-06-21 14:14: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'), 46821, 'SRID=4674;POINT (-39.677127 -2.781323)', '2026-06-21 14:14:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677186 -2.781299)'), GeomFromEWKT('SRID=4674;POINT (-39.677127 -2.781323)'))) / (select extract(epoch from '2026-06-21 14:14:43'::timestamp) - extract(epoch from '2026-06-21 14:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677186 -2.781299)'), GeomFromEWKT('SRID=4674;POINT (-39.677127 -2.781323)'))) / (select extract(epoch from '2026-06-21 14:14:43'::timestamp) - extract(epoch from '2026-06-21 14:14:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.67708 -2.781342)', '2026-06-21 14:14:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677127 -2.781323)'), GeomFromEWKT('SRID=4674;POINT (-39.67708 -2.781342)'))) / (select extract(epoch from '2026-06-21 14:14:52'::timestamp) - extract(epoch from '2026-06-21 14:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677127 -2.781323)'), GeomFromEWKT('SRID=4674;POINT (-39.67708 -2.781342)'))) / (select extract(epoch from '2026-06-21 14:14:52'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.677065 -2.78136)', '2026-06-21 14:14:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67708 -2.781342)'), GeomFromEWKT('SRID=4674;POINT (-39.677065 -2.78136)'))) / (select extract(epoch from '2026-06-21 14:14:58'::timestamp) - extract(epoch from '2026-06-21 14:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67708 -2.781342)'), GeomFromEWKT('SRID=4674;POINT (-39.677065 -2.78136)'))) / (select extract(epoch from '2026-06-21 14:14:58'::timestamp) - extract(epoch from '2026-06-21 14:14: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'), 46821, 'SRID=4674;POINT (-39.677054 -2.781379)', '2026-06-21 14:15:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677065 -2.78136)'), GeomFromEWKT('SRID=4674;POINT (-39.677054 -2.781379)'))) / (select extract(epoch from '2026-06-21 14:15:04'::timestamp) - extract(epoch from '2026-06-21 14:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677065 -2.78136)'), GeomFromEWKT('SRID=4674;POINT (-39.677054 -2.781379)'))) / (select extract(epoch from '2026-06-21 14:15:04'::timestamp) - extract(epoch from '2026-06-21 14:14: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'), 46821, 'SRID=4674;POINT (-39.677048 -2.781401)', '2026-06-21 14:15:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677054 -2.781379)'), GeomFromEWKT('SRID=4674;POINT (-39.677048 -2.781401)'))) / (select extract(epoch from '2026-06-21 14:15:12'::timestamp) - extract(epoch from '2026-06-21 14:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677054 -2.781379)'), GeomFromEWKT('SRID=4674;POINT (-39.677048 -2.781401)'))) / (select extract(epoch from '2026-06-21 14:15:12'::timestamp) - extract(epoch from '2026-06-21 14:15:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677051 -2.781414)', '2026-06-21 14:15:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677048 -2.781401)'), GeomFromEWKT('SRID=4674;POINT (-39.677051 -2.781414)'))) / (select extract(epoch from '2026-06-21 14:15:18'::timestamp) - extract(epoch from '2026-06-21 14:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677048 -2.781401)'), GeomFromEWKT('SRID=4674;POINT (-39.677051 -2.781414)'))) / (select extract(epoch from '2026-06-21 14:15:18'::timestamp) - extract(epoch from '2026-06-21 14:15: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'), 46821, 'SRID=4674;POINT (-39.677048 -2.78143)', '2026-06-21 14:15:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677051 -2.781414)'), GeomFromEWKT('SRID=4674;POINT (-39.677048 -2.78143)'))) / (select extract(epoch from '2026-06-21 14:15:23'::timestamp) - extract(epoch from '2026-06-21 14:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677051 -2.781414)'), GeomFromEWKT('SRID=4674;POINT (-39.677048 -2.78143)'))) / (select extract(epoch from '2026-06-21 14:15:23'::timestamp) - extract(epoch from '2026-06-21 14:15: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'), 46821, 'SRID=4674;POINT (-39.677045 -2.78145)', '2026-06-21 14:15:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677048 -2.78143)'), GeomFromEWKT('SRID=4674;POINT (-39.677045 -2.78145)'))) / (select extract(epoch from '2026-06-21 14:15:29'::timestamp) - extract(epoch from '2026-06-21 14:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677048 -2.78143)'), GeomFromEWKT('SRID=4674;POINT (-39.677045 -2.78145)'))) / (select extract(epoch from '2026-06-21 14:15:29'::timestamp) - extract(epoch from '2026-06-21 14:15:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677047 -2.781463)', '2026-06-21 14:15:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677045 -2.78145)'), GeomFromEWKT('SRID=4674;POINT (-39.677047 -2.781463)'))) / (select extract(epoch from '2026-06-21 14:15:35'::timestamp) - extract(epoch from '2026-06-21 14:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677045 -2.78145)'), GeomFromEWKT('SRID=4674;POINT (-39.677047 -2.781463)'))) / (select extract(epoch from '2026-06-21 14:15:35'::timestamp) - extract(epoch from '2026-06-21 14:15:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677041 -2.781483)', '2026-06-21 14:15:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677047 -2.781463)'), GeomFromEWKT('SRID=4674;POINT (-39.677041 -2.781483)'))) / (select extract(epoch from '2026-06-21 14:15:42'::timestamp) - extract(epoch from '2026-06-21 14:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677047 -2.781463)'), GeomFromEWKT('SRID=4674;POINT (-39.677041 -2.781483)'))) / (select extract(epoch from '2026-06-21 14:15:42'::timestamp) - extract(epoch from '2026-06-21 14:15: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'), 46821, 'SRID=4674;POINT (-39.677039 -2.781508)', '2026-06-21 14:15:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677041 -2.781483)'), GeomFromEWKT('SRID=4674;POINT (-39.677039 -2.781508)'))) / (select extract(epoch from '2026-06-21 14:15:49'::timestamp) - extract(epoch from '2026-06-21 14:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677041 -2.781483)'), GeomFromEWKT('SRID=4674;POINT (-39.677039 -2.781508)'))) / (select extract(epoch from '2026-06-21 14:15:49'::timestamp) - extract(epoch from '2026-06-21 14:15: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'), 46821, 'SRID=4674;POINT (-39.677023 -2.781546)', '2026-06-21 14:15:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677039 -2.781508)'), GeomFromEWKT('SRID=4674;POINT (-39.677023 -2.781546)'))) / (select extract(epoch from '2026-06-21 14:15:57'::timestamp) - extract(epoch from '2026-06-21 14:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677039 -2.781508)'), GeomFromEWKT('SRID=4674;POINT (-39.677023 -2.781546)'))) / (select extract(epoch from '2026-06-21 14:15:57'::timestamp) - extract(epoch from '2026-06-21 14:15:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.676993 -2.781574)', '2026-06-21 14:16:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677023 -2.781546)'), GeomFromEWKT('SRID=4674;POINT (-39.676993 -2.781574)'))) / (select extract(epoch from '2026-06-21 14:16:04'::timestamp) - extract(epoch from '2026-06-21 14:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677023 -2.781546)'), GeomFromEWKT('SRID=4674;POINT (-39.676993 -2.781574)'))) / (select extract(epoch from '2026-06-21 14:16:04'::timestamp) - extract(epoch from '2026-06-21 14:15:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.676961 -2.781601)', '2026-06-21 14:16:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676993 -2.781574)'), GeomFromEWKT('SRID=4674;POINT (-39.676961 -2.781601)'))) / (select extract(epoch from '2026-06-21 14:16:11'::timestamp) - extract(epoch from '2026-06-21 14:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676993 -2.781574)'), GeomFromEWKT('SRID=4674;POINT (-39.676961 -2.781601)'))) / (select extract(epoch from '2026-06-21 14:16:11'::timestamp) - extract(epoch from '2026-06-21 14:16:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.676934 -2.781621)', '2026-06-21 14:16:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676961 -2.781601)'), GeomFromEWKT('SRID=4674;POINT (-39.676934 -2.781621)'))) / (select extract(epoch from '2026-06-21 14:16:17'::timestamp) - extract(epoch from '2026-06-21 14:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676961 -2.781601)'), GeomFromEWKT('SRID=4674;POINT (-39.676934 -2.781621)'))) / (select extract(epoch from '2026-06-21 14:16:17'::timestamp) - extract(epoch from '2026-06-21 14:16: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'), 46821, 'SRID=4674;POINT (-39.676927 -2.78163)', '2026-06-21 14:16:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676934 -2.781621)'), GeomFromEWKT('SRID=4674;POINT (-39.676927 -2.78163)'))) / (select extract(epoch from '2026-06-21 14:16:24'::timestamp) - extract(epoch from '2026-06-21 14:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676934 -2.781621)'), GeomFromEWKT('SRID=4674;POINT (-39.676927 -2.78163)'))) / (select extract(epoch from '2026-06-21 14:16:24'::timestamp) - extract(epoch from '2026-06-21 14:16: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'), 46821, 'SRID=4674;POINT (-39.676915 -2.781633)', '2026-06-21 14:16:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676927 -2.78163)'), GeomFromEWKT('SRID=4674;POINT (-39.676915 -2.781633)'))) / (select extract(epoch from '2026-06-21 14:16:32'::timestamp) - extract(epoch from '2026-06-21 14:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676927 -2.78163)'), GeomFromEWKT('SRID=4674;POINT (-39.676915 -2.781633)'))) / (select extract(epoch from '2026-06-21 14:16:32'::timestamp) - extract(epoch from '2026-06-21 14:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.676902 -2.781636)', '2026-06-21 14:16:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676915 -2.781633)'), GeomFromEWKT('SRID=4674;POINT (-39.676902 -2.781636)'))) / (select extract(epoch from '2026-06-21 14:16:40'::timestamp) - extract(epoch from '2026-06-21 14:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676915 -2.781633)'), GeomFromEWKT('SRID=4674;POINT (-39.676902 -2.781636)'))) / (select extract(epoch from '2026-06-21 14:16:40'::timestamp) - extract(epoch from '2026-06-21 14:16: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'), 46821, 'SRID=4674;POINT (-39.6769 -2.781636)', '2026-06-21 14:16:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676902 -2.781636)'), GeomFromEWKT('SRID=4674;POINT (-39.6769 -2.781636)'))) / (select extract(epoch from '2026-06-21 14:16:49'::timestamp) - extract(epoch from '2026-06-21 14:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676902 -2.781636)'), GeomFromEWKT('SRID=4674;POINT (-39.6769 -2.781636)'))) / (select extract(epoch from '2026-06-21 14:16:49'::timestamp) - extract(epoch from '2026-06-21 14:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.676898 -2.781642)', '2026-06-21 14:16:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6769 -2.781636)'), GeomFromEWKT('SRID=4674;POINT (-39.676898 -2.781642)'))) / (select extract(epoch from '2026-06-21 14:16:56'::timestamp) - extract(epoch from '2026-06-21 14:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6769 -2.781636)'), GeomFromEWKT('SRID=4674;POINT (-39.676898 -2.781642)'))) / (select extract(epoch from '2026-06-21 14:16:56'::timestamp) - extract(epoch from '2026-06-21 14:16:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.676909 -2.781666)', '2026-06-21 14:17:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676898 -2.781642)'), GeomFromEWKT('SRID=4674;POINT (-39.676909 -2.781666)'))) / (select extract(epoch from '2026-06-21 14:17:09'::timestamp) - extract(epoch from '2026-06-21 14:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676898 -2.781642)'), GeomFromEWKT('SRID=4674;POINT (-39.676909 -2.781666)'))) / (select extract(epoch from '2026-06-21 14:17:09'::timestamp) - extract(epoch from '2026-06-21 14:16: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'), 46821, 'SRID=4674;POINT (-39.676922 -2.781687)', '2026-06-21 14:17:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676909 -2.781666)'), GeomFromEWKT('SRID=4674;POINT (-39.676922 -2.781687)'))) / (select extract(epoch from '2026-06-21 14:17:17'::timestamp) - extract(epoch from '2026-06-21 14:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676909 -2.781666)'), GeomFromEWKT('SRID=4674;POINT (-39.676922 -2.781687)'))) / (select extract(epoch from '2026-06-21 14:17:17'::timestamp) - extract(epoch from '2026-06-21 14:17: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'), 46821, 'SRID=4674;POINT (-39.676924 -2.781695)', '2026-06-21 14:17:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676922 -2.781687)'), GeomFromEWKT('SRID=4674;POINT (-39.676924 -2.781695)'))) / (select extract(epoch from '2026-06-21 14:17:24'::timestamp) - extract(epoch from '2026-06-21 14:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676922 -2.781687)'), GeomFromEWKT('SRID=4674;POINT (-39.676924 -2.781695)'))) / (select extract(epoch from '2026-06-21 14:17:24'::timestamp) - extract(epoch from '2026-06-21 14:17:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.676941 -2.78172)', '2026-06-21 14:17:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676924 -2.781695)'), GeomFromEWKT('SRID=4674;POINT (-39.676941 -2.78172)'))) / (select extract(epoch from '2026-06-21 14:17:30'::timestamp) - extract(epoch from '2026-06-21 14:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676924 -2.781695)'), GeomFromEWKT('SRID=4674;POINT (-39.676941 -2.78172)'))) / (select extract(epoch from '2026-06-21 14:17:30'::timestamp) - extract(epoch from '2026-06-21 14:17: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'), 46821, 'SRID=4674;POINT (-39.676955 -2.78176)', '2026-06-21 14:17:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676941 -2.78172)'), GeomFromEWKT('SRID=4674;POINT (-39.676955 -2.78176)'))) / (select extract(epoch from '2026-06-21 14:17:37'::timestamp) - extract(epoch from '2026-06-21 14:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676941 -2.78172)'), GeomFromEWKT('SRID=4674;POINT (-39.676955 -2.78176)'))) / (select extract(epoch from '2026-06-21 14:17:37'::timestamp) - extract(epoch from '2026-06-21 14:17: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'), 46821, 'SRID=4674;POINT (-39.67696 -2.781767)', '2026-06-21 14:17:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676955 -2.78176)'), GeomFromEWKT('SRID=4674;POINT (-39.67696 -2.781767)'))) / (select extract(epoch from '2026-06-21 14:17:38'::timestamp) - extract(epoch from '2026-06-21 14:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676955 -2.78176)'), GeomFromEWKT('SRID=4674;POINT (-39.67696 -2.781767)'))) / (select extract(epoch from '2026-06-21 14:17:38'::timestamp) - extract(epoch from '2026-06-21 14:17:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.676963 -2.781786)', '2026-06-21 14:17:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67696 -2.781767)'), GeomFromEWKT('SRID=4674;POINT (-39.676963 -2.781786)'))) / (select extract(epoch from '2026-06-21 14:17:40'::timestamp) - extract(epoch from '2026-06-21 14:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67696 -2.781767)'), GeomFromEWKT('SRID=4674;POINT (-39.676963 -2.781786)'))) / (select extract(epoch from '2026-06-21 14:17:40'::timestamp) - extract(epoch from '2026-06-21 14:17: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'), 46821, 'SRID=4674;POINT (-39.676984 -2.781809)', '2026-06-21 14:17:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676963 -2.781786)'), GeomFromEWKT('SRID=4674;POINT (-39.676984 -2.781809)'))) / (select extract(epoch from '2026-06-21 14:17:43'::timestamp) - extract(epoch from '2026-06-21 14:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676963 -2.781786)'), GeomFromEWKT('SRID=4674;POINT (-39.676984 -2.781809)'))) / (select extract(epoch from '2026-06-21 14:17:43'::timestamp) - extract(epoch from '2026-06-21 14:17: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'), 46821, 'SRID=4674;POINT (-39.676989 -2.781831)', '2026-06-21 14:17:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676984 -2.781809)'), GeomFromEWKT('SRID=4674;POINT (-39.676989 -2.781831)'))) / (select extract(epoch from '2026-06-21 14:17:46'::timestamp) - extract(epoch from '2026-06-21 14:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676984 -2.781809)'), GeomFromEWKT('SRID=4674;POINT (-39.676989 -2.781831)'))) / (select extract(epoch from '2026-06-21 14:17:46'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.677003 -2.781851)', '2026-06-21 14:17:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676989 -2.781831)'), GeomFromEWKT('SRID=4674;POINT (-39.677003 -2.781851)'))) / (select extract(epoch from '2026-06-21 14:17:48'::timestamp) - extract(epoch from '2026-06-21 14:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676989 -2.781831)'), GeomFromEWKT('SRID=4674;POINT (-39.677003 -2.781851)'))) / (select extract(epoch from '2026-06-21 14:17:48'::timestamp) - extract(epoch from '2026-06-21 14:17: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'), 46821, 'SRID=4674;POINT (-39.677023 -2.781878)', '2026-06-21 14:17:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677003 -2.781851)'), GeomFromEWKT('SRID=4674;POINT (-39.677023 -2.781878)'))) / (select extract(epoch from '2026-06-21 14:17:52'::timestamp) - extract(epoch from '2026-06-21 14:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677003 -2.781851)'), GeomFromEWKT('SRID=4674;POINT (-39.677023 -2.781878)'))) / (select extract(epoch from '2026-06-21 14:17:52'::timestamp) - extract(epoch from '2026-06-21 14:17:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677035 -2.781898)', '2026-06-21 14:17:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677023 -2.781878)'), GeomFromEWKT('SRID=4674;POINT (-39.677035 -2.781898)'))) / (select extract(epoch from '2026-06-21 14:17:54'::timestamp) - extract(epoch from '2026-06-21 14:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677023 -2.781878)'), GeomFromEWKT('SRID=4674;POINT (-39.677035 -2.781898)'))) / (select extract(epoch from '2026-06-21 14:17:54'::timestamp) - extract(epoch from '2026-06-21 14:17: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'), 46821, 'SRID=4674;POINT (-39.677042 -2.781909)', '2026-06-21 14:17:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677035 -2.781898)'), GeomFromEWKT('SRID=4674;POINT (-39.677042 -2.781909)'))) / (select extract(epoch from '2026-06-21 14:17:55'::timestamp) - extract(epoch from '2026-06-21 14:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677035 -2.781898)'), GeomFromEWKT('SRID=4674;POINT (-39.677042 -2.781909)'))) / (select extract(epoch from '2026-06-21 14:17:55'::timestamp) - extract(epoch from '2026-06-21 14:17: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'), 46821, 'SRID=4674;POINT (-39.677055 -2.78194)', '2026-06-21 14:17:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677042 -2.781909)'), GeomFromEWKT('SRID=4674;POINT (-39.677055 -2.78194)'))) / (select extract(epoch from '2026-06-21 14:17:58'::timestamp) - extract(epoch from '2026-06-21 14:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677042 -2.781909)'), GeomFromEWKT('SRID=4674;POINT (-39.677055 -2.78194)'))) / (select extract(epoch from '2026-06-21 14:17:58'::timestamp) - extract(epoch from '2026-06-21 14:17:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677063 -2.78195)', '2026-06-21 14:17:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677055 -2.78194)'), GeomFromEWKT('SRID=4674;POINT (-39.677063 -2.78195)'))) / (select extract(epoch from '2026-06-21 14:17:59'::timestamp) - extract(epoch from '2026-06-21 14:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677055 -2.78194)'), GeomFromEWKT('SRID=4674;POINT (-39.677063 -2.78195)'))) / (select extract(epoch from '2026-06-21 14:17:59'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.677068 -2.781959)', '2026-06-21 14:18:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677063 -2.78195)'), GeomFromEWKT('SRID=4674;POINT (-39.677068 -2.781959)'))) / (select extract(epoch from '2026-06-21 14:18:00'::timestamp) - extract(epoch from '2026-06-21 14:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677063 -2.78195)'), GeomFromEWKT('SRID=4674;POINT (-39.677068 -2.781959)'))) / (select extract(epoch from '2026-06-21 14:18:00'::timestamp) - extract(epoch from '2026-06-21 14:17:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677074 -2.781978)', '2026-06-21 14:18:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677068 -2.781959)'), GeomFromEWKT('SRID=4674;POINT (-39.677074 -2.781978)'))) / (select extract(epoch from '2026-06-21 14:18:02'::timestamp) - extract(epoch from '2026-06-21 14:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677068 -2.781959)'), GeomFromEWKT('SRID=4674;POINT (-39.677074 -2.781978)'))) / (select extract(epoch from '2026-06-21 14:18:02'::timestamp) - extract(epoch from '2026-06-21 14:18: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'), 46821, 'SRID=4674;POINT (-39.677086 -2.781997)', '2026-06-21 14:18:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677074 -2.781978)'), GeomFromEWKT('SRID=4674;POINT (-39.677086 -2.781997)'))) / (select extract(epoch from '2026-06-21 14:18:04'::timestamp) - extract(epoch from '2026-06-21 14:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677074 -2.781978)'), GeomFromEWKT('SRID=4674;POINT (-39.677086 -2.781997)'))) / (select extract(epoch from '2026-06-21 14:18:04'::timestamp) - extract(epoch from '2026-06-21 14:18: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'), 46821, 'SRID=4674;POINT (-39.677103 -2.78204)', '2026-06-21 14:18:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677086 -2.781997)'), GeomFromEWKT('SRID=4674;POINT (-39.677103 -2.78204)'))) / (select extract(epoch from '2026-06-21 14:18:08'::timestamp) - extract(epoch from '2026-06-21 14:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677086 -2.781997)'), GeomFromEWKT('SRID=4674;POINT (-39.677103 -2.78204)'))) / (select extract(epoch from '2026-06-21 14:18:08'::timestamp) - extract(epoch from '2026-06-21 14:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677114 -2.78205)', '2026-06-21 14:18:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677103 -2.78204)'), GeomFromEWKT('SRID=4674;POINT (-39.677114 -2.78205)'))) / (select extract(epoch from '2026-06-21 14:18:09'::timestamp) - extract(epoch from '2026-06-21 14:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677103 -2.78204)'), GeomFromEWKT('SRID=4674;POINT (-39.677114 -2.78205)'))) / (select extract(epoch from '2026-06-21 14:18:09'::timestamp) - extract(epoch from '2026-06-21 14:18:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677122 -2.782059)', '2026-06-21 14:18:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677114 -2.78205)'), GeomFromEWKT('SRID=4674;POINT (-39.677122 -2.782059)'))) / (select extract(epoch from '2026-06-21 14:18:10'::timestamp) - extract(epoch from '2026-06-21 14:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677114 -2.78205)'), GeomFromEWKT('SRID=4674;POINT (-39.677122 -2.782059)'))) / (select extract(epoch from '2026-06-21 14:18:10'::timestamp) - extract(epoch from '2026-06-21 14:18:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.67713 -2.782084)', '2026-06-21 14:18:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677122 -2.782059)'), GeomFromEWKT('SRID=4674;POINT (-39.67713 -2.782084)'))) / (select extract(epoch from '2026-06-21 14:18:13'::timestamp) - extract(epoch from '2026-06-21 14:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677122 -2.782059)'), GeomFromEWKT('SRID=4674;POINT (-39.67713 -2.782084)'))) / (select extract(epoch from '2026-06-21 14:18:13'::timestamp) - extract(epoch from '2026-06-21 14:18: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'), 46821, 'SRID=4674;POINT (-39.677139 -2.782103)', '2026-06-21 14:18:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67713 -2.782084)'), GeomFromEWKT('SRID=4674;POINT (-39.677139 -2.782103)'))) / (select extract(epoch from '2026-06-21 14:18:15'::timestamp) - extract(epoch from '2026-06-21 14:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67713 -2.782084)'), GeomFromEWKT('SRID=4674;POINT (-39.677139 -2.782103)'))) / (select extract(epoch from '2026-06-21 14:18:15'::timestamp) - extract(epoch from '2026-06-21 14:18: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'), 46821, 'SRID=4674;POINT (-39.677149 -2.782144)', '2026-06-21 14:18:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677139 -2.782103)'), GeomFromEWKT('SRID=4674;POINT (-39.677149 -2.782144)'))) / (select extract(epoch from '2026-06-21 14:18:19'::timestamp) - extract(epoch from '2026-06-21 14:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677139 -2.782103)'), GeomFromEWKT('SRID=4674;POINT (-39.677149 -2.782144)'))) / (select extract(epoch from '2026-06-21 14:18:19'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.677156 -2.78219)', '2026-06-21 14:18:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677149 -2.782144)'), GeomFromEWKT('SRID=4674;POINT (-39.677156 -2.78219)'))) / (select extract(epoch from '2026-06-21 14:18:24'::timestamp) - extract(epoch from '2026-06-21 14:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677149 -2.782144)'), GeomFromEWKT('SRID=4674;POINT (-39.677156 -2.78219)'))) / (select extract(epoch from '2026-06-21 14:18:24'::timestamp) - extract(epoch from '2026-06-21 14:18: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'), 46821, 'SRID=4674;POINT (-39.67716 -2.782199)', '2026-06-21 14:18:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677156 -2.78219)'), GeomFromEWKT('SRID=4674;POINT (-39.67716 -2.782199)'))) / (select extract(epoch from '2026-06-21 14:18:25'::timestamp) - extract(epoch from '2026-06-21 14:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677156 -2.78219)'), GeomFromEWKT('SRID=4674;POINT (-39.67716 -2.782199)'))) / (select extract(epoch from '2026-06-21 14:18:25'::timestamp) - extract(epoch from '2026-06-21 14:18: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'), 46821, 'SRID=4674;POINT (-39.677186 -2.782255)', '2026-06-21 14:18:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67716 -2.782199)'), GeomFromEWKT('SRID=4674;POINT (-39.677186 -2.782255)'))) / (select extract(epoch from '2026-06-21 14:18:31'::timestamp) - extract(epoch from '2026-06-21 14:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67716 -2.782199)'), GeomFromEWKT('SRID=4674;POINT (-39.677186 -2.782255)'))) / (select extract(epoch from '2026-06-21 14:18:31'::timestamp) - extract(epoch from '2026-06-21 14:18: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'), 46821, 'SRID=4674;POINT (-39.677202 -2.782285)', '2026-06-21 14:18:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677186 -2.782255)'), GeomFromEWKT('SRID=4674;POINT (-39.677202 -2.782285)'))) / (select extract(epoch from '2026-06-21 14:18:34'::timestamp) - extract(epoch from '2026-06-21 14:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677186 -2.782255)'), GeomFromEWKT('SRID=4674;POINT (-39.677202 -2.782285)'))) / (select extract(epoch from '2026-06-21 14:18:34'::timestamp) - extract(epoch from '2026-06-21 14:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.67722 -2.7823)', '2026-06-21 14:18:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677202 -2.782285)'), GeomFromEWKT('SRID=4674;POINT (-39.67722 -2.7823)'))) / (select extract(epoch from '2026-06-21 14:18:36'::timestamp) - extract(epoch from '2026-06-21 14:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677202 -2.782285)'), GeomFromEWKT('SRID=4674;POINT (-39.67722 -2.7823)'))) / (select extract(epoch from '2026-06-21 14:18:36'::timestamp) - extract(epoch from '2026-06-21 14:18:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677232 -2.782307)', '2026-06-21 14:18:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67722 -2.7823)'), GeomFromEWKT('SRID=4674;POINT (-39.677232 -2.782307)'))) / (select extract(epoch from '2026-06-21 14:18:37'::timestamp) - extract(epoch from '2026-06-21 14:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67722 -2.7823)'), GeomFromEWKT('SRID=4674;POINT (-39.677232 -2.782307)'))) / (select extract(epoch from '2026-06-21 14:18:37'::timestamp) - extract(epoch from '2026-06-21 14:18: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'), 46821, 'SRID=4674;POINT (-39.677246 -2.78232)', '2026-06-21 14:18:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677232 -2.782307)'), GeomFromEWKT('SRID=4674;POINT (-39.677246 -2.78232)'))) / (select extract(epoch from '2026-06-21 14:18:39'::timestamp) - extract(epoch from '2026-06-21 14:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677232 -2.782307)'), GeomFromEWKT('SRID=4674;POINT (-39.677246 -2.78232)'))) / (select extract(epoch from '2026-06-21 14:18:39'::timestamp) - extract(epoch from '2026-06-21 14:18: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'), 46821, 'SRID=4674;POINT (-39.677263 -2.782338)', '2026-06-21 14:18:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677246 -2.78232)'), GeomFromEWKT('SRID=4674;POINT (-39.677263 -2.782338)'))) / (select extract(epoch from '2026-06-21 14:18:41'::timestamp) - extract(epoch from '2026-06-21 14:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677246 -2.78232)'), GeomFromEWKT('SRID=4674;POINT (-39.677263 -2.782338)'))) / (select extract(epoch from '2026-06-21 14:18:41'::timestamp) - extract(epoch from '2026-06-21 14:18: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'), 46821, 'SRID=4674;POINT (-39.677323 -2.782398)', '2026-06-21 14:18:48', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677263 -2.782338)'), GeomFromEWKT('SRID=4674;POINT (-39.677323 -2.782398)'))) / (select extract(epoch from '2026-06-21 14:18:48'::timestamp) - extract(epoch from '2026-06-21 14:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677263 -2.782338)'), GeomFromEWKT('SRID=4674;POINT (-39.677323 -2.782398)'))) / (select extract(epoch from '2026-06-21 14:18:48'::timestamp) - extract(epoch from '2026-06-21 14:18:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.67736 -2.782422)', '2026-06-21 14:18:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677323 -2.782398)'), GeomFromEWKT('SRID=4674;POINT (-39.67736 -2.782422)'))) / (select extract(epoch from '2026-06-21 14:18:52'::timestamp) - extract(epoch from '2026-06-21 14:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677323 -2.782398)'), GeomFromEWKT('SRID=4674;POINT (-39.67736 -2.782422)'))) / (select extract(epoch from '2026-06-21 14:18:52'::timestamp) - extract(epoch from '2026-06-21 14:18: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'), 46821, 'SRID=4674;POINT (-39.677379 -2.782434)', '2026-06-21 14:18:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67736 -2.782422)'), GeomFromEWKT('SRID=4674;POINT (-39.677379 -2.782434)'))) / (select extract(epoch from '2026-06-21 14:18:54'::timestamp) - extract(epoch from '2026-06-21 14:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67736 -2.782422)'), GeomFromEWKT('SRID=4674;POINT (-39.677379 -2.782434)'))) / (select extract(epoch from '2026-06-21 14:18:54'::timestamp) - extract(epoch from '2026-06-21 14:18: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'), 46821, 'SRID=4674;POINT (-39.677429 -2.782474)', '2026-06-21 14:19:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677379 -2.782434)'), GeomFromEWKT('SRID=4674;POINT (-39.677429 -2.782474)'))) / (select extract(epoch from '2026-06-21 14:19:01'::timestamp) - extract(epoch from '2026-06-21 14:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677379 -2.782434)'), GeomFromEWKT('SRID=4674;POINT (-39.677429 -2.782474)'))) / (select extract(epoch from '2026-06-21 14:19:01'::timestamp) - extract(epoch from '2026-06-21 14:18:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677442 -2.782484)', '2026-06-21 14:19:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677429 -2.782474)'), GeomFromEWKT('SRID=4674;POINT (-39.677442 -2.782484)'))) / (select extract(epoch from '2026-06-21 14:19:03'::timestamp) - extract(epoch from '2026-06-21 14:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677429 -2.782474)'), GeomFromEWKT('SRID=4674;POINT (-39.677442 -2.782484)'))) / (select extract(epoch from '2026-06-21 14:19:03'::timestamp) - extract(epoch from '2026-06-21 14:19: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'), 46821, 'SRID=4674;POINT (-39.677461 -2.782498)', '2026-06-21 14:19:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677442 -2.782484)'), GeomFromEWKT('SRID=4674;POINT (-39.677461 -2.782498)'))) / (select extract(epoch from '2026-06-21 14:19:07'::timestamp) - extract(epoch from '2026-06-21 14:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677442 -2.782484)'), GeomFromEWKT('SRID=4674;POINT (-39.677461 -2.782498)'))) / (select extract(epoch from '2026-06-21 14:19:07'::timestamp) - extract(epoch from '2026-06-21 14:19: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'), 46821, 'SRID=4674;POINT (-39.677486 -2.782515)', '2026-06-21 14:19:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677461 -2.782498)'), GeomFromEWKT('SRID=4674;POINT (-39.677486 -2.782515)'))) / (select extract(epoch from '2026-06-21 14:19:13'::timestamp) - extract(epoch from '2026-06-21 14:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677461 -2.782498)'), GeomFromEWKT('SRID=4674;POINT (-39.677486 -2.782515)'))) / (select extract(epoch from '2026-06-21 14:19:13'::timestamp) - extract(epoch from '2026-06-21 14:19:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677508 -2.782521)', '2026-06-21 14:19:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677486 -2.782515)'), GeomFromEWKT('SRID=4674;POINT (-39.677508 -2.782521)'))) / (select extract(epoch from '2026-06-21 14:19:20'::timestamp) - extract(epoch from '2026-06-21 14:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677486 -2.782515)'), GeomFromEWKT('SRID=4674;POINT (-39.677508 -2.782521)'))) / (select extract(epoch from '2026-06-21 14:19:20'::timestamp) - extract(epoch from '2026-06-21 14:19: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'), 46821, 'SRID=4674;POINT (-39.677527 -2.782515)', '2026-06-21 14:19:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677508 -2.782521)'), GeomFromEWKT('SRID=4674;POINT (-39.677527 -2.782515)'))) / (select extract(epoch from '2026-06-21 14:19:27'::timestamp) - extract(epoch from '2026-06-21 14:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677508 -2.782521)'), GeomFromEWKT('SRID=4674;POINT (-39.677527 -2.782515)'))) / (select extract(epoch from '2026-06-21 14:19:27'::timestamp) - extract(epoch from '2026-06-21 14:19:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677549 -2.782506)', '2026-06-21 14:19:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677527 -2.782515)'), GeomFromEWKT('SRID=4674;POINT (-39.677549 -2.782506)'))) / (select extract(epoch from '2026-06-21 14:19:34'::timestamp) - extract(epoch from '2026-06-21 14:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677527 -2.782515)'), GeomFromEWKT('SRID=4674;POINT (-39.677549 -2.782506)'))) / (select extract(epoch from '2026-06-21 14:19:34'::timestamp) - extract(epoch from '2026-06-21 14:19:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677566 -2.782492)', '2026-06-21 14:19:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677549 -2.782506)'), GeomFromEWKT('SRID=4674;POINT (-39.677566 -2.782492)'))) / (select extract(epoch from '2026-06-21 14:19:40'::timestamp) - extract(epoch from '2026-06-21 14:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677549 -2.782506)'), GeomFromEWKT('SRID=4674;POINT (-39.677566 -2.782492)'))) / (select extract(epoch from '2026-06-21 14:19:40'::timestamp) - extract(epoch from '2026-06-21 14:19:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677597 -2.782474)', '2026-06-21 14:19:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677566 -2.782492)'), GeomFromEWKT('SRID=4674;POINT (-39.677597 -2.782474)'))) / (select extract(epoch from '2026-06-21 14:19:48'::timestamp) - extract(epoch from '2026-06-21 14:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677566 -2.782492)'), GeomFromEWKT('SRID=4674;POINT (-39.677597 -2.782474)'))) / (select extract(epoch from '2026-06-21 14:19:48'::timestamp) - extract(epoch from '2026-06-21 14:19:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677621 -2.782441)', '2026-06-21 14:19:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677597 -2.782474)'), GeomFromEWKT('SRID=4674;POINT (-39.677621 -2.782441)'))) / (select extract(epoch from '2026-06-21 14:19:57'::timestamp) - extract(epoch from '2026-06-21 14:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677597 -2.782474)'), GeomFromEWKT('SRID=4674;POINT (-39.677621 -2.782441)'))) / (select extract(epoch from '2026-06-21 14:19:57'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.67764 -2.782422)', '2026-06-21 14:20:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677621 -2.782441)'), GeomFromEWKT('SRID=4674;POINT (-39.67764 -2.782422)'))) / (select extract(epoch from '2026-06-21 14:20:03'::timestamp) - extract(epoch from '2026-06-21 14:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677621 -2.782441)'), GeomFromEWKT('SRID=4674;POINT (-39.67764 -2.782422)'))) / (select extract(epoch from '2026-06-21 14:20:03'::timestamp) - extract(epoch from '2026-06-21 14:19:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677656 -2.7824)', '2026-06-21 14:20:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67764 -2.782422)'), GeomFromEWKT('SRID=4674;POINT (-39.677656 -2.7824)'))) / (select extract(epoch from '2026-06-21 14:20:09'::timestamp) - extract(epoch from '2026-06-21 14:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67764 -2.782422)'), GeomFromEWKT('SRID=4674;POINT (-39.677656 -2.7824)'))) / (select extract(epoch from '2026-06-21 14:20:09'::timestamp) - extract(epoch from '2026-06-21 14:20: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'), 46821, 'SRID=4674;POINT (-39.677663 -2.782396)', '2026-06-21 14:20:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677656 -2.7824)'), GeomFromEWKT('SRID=4674;POINT (-39.677663 -2.782396)'))) / (select extract(epoch from '2026-06-21 14:20:10'::timestamp) - extract(epoch from '2026-06-21 14:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677656 -2.7824)'), GeomFromEWKT('SRID=4674;POINT (-39.677663 -2.782396)'))) / (select extract(epoch from '2026-06-21 14:20:10'::timestamp) - extract(epoch from '2026-06-21 14:20: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'), 46821, 'SRID=4674;POINT (-39.677679 -2.782384)', '2026-06-21 14:20:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677663 -2.782396)'), GeomFromEWKT('SRID=4674;POINT (-39.677679 -2.782384)'))) / (select extract(epoch from '2026-06-21 14:20:15'::timestamp) - extract(epoch from '2026-06-21 14:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677663 -2.782396)'), GeomFromEWKT('SRID=4674;POINT (-39.677679 -2.782384)'))) / (select extract(epoch from '2026-06-21 14:20:15'::timestamp) - extract(epoch from '2026-06-21 14:20: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'), 46821, 'SRID=4674;POINT (-39.677696 -2.782362)', '2026-06-21 14:20:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677679 -2.782384)'), GeomFromEWKT('SRID=4674;POINT (-39.677696 -2.782362)'))) / (select extract(epoch from '2026-06-21 14:20:22'::timestamp) - extract(epoch from '2026-06-21 14:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677679 -2.782384)'), GeomFromEWKT('SRID=4674;POINT (-39.677696 -2.782362)'))) / (select extract(epoch from '2026-06-21 14:20:22'::timestamp) - extract(epoch from '2026-06-21 14:20: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'), 46821, 'SRID=4674;POINT (-39.677724 -2.782339)', '2026-06-21 14:20:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677696 -2.782362)'), GeomFromEWKT('SRID=4674;POINT (-39.677724 -2.782339)'))) / (select extract(epoch from '2026-06-21 14:20:30'::timestamp) - extract(epoch from '2026-06-21 14:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677696 -2.782362)'), GeomFromEWKT('SRID=4674;POINT (-39.677724 -2.782339)'))) / (select extract(epoch from '2026-06-21 14:20:30'::timestamp) - extract(epoch from '2026-06-21 14:20:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.67775 -2.782325)', '2026-06-21 14:20:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677724 -2.782339)'), GeomFromEWKT('SRID=4674;POINT (-39.67775 -2.782325)'))) / (select extract(epoch from '2026-06-21 14:20:36'::timestamp) - extract(epoch from '2026-06-21 14:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677724 -2.782339)'), GeomFromEWKT('SRID=4674;POINT (-39.67775 -2.782325)'))) / (select extract(epoch from '2026-06-21 14:20:36'::timestamp) - extract(epoch from '2026-06-21 14:20:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677778 -2.782314)', '2026-06-21 14:20:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67775 -2.782325)'), GeomFromEWKT('SRID=4674;POINT (-39.677778 -2.782314)'))) / (select extract(epoch from '2026-06-21 14:20:43'::timestamp) - extract(epoch from '2026-06-21 14:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67775 -2.782325)'), GeomFromEWKT('SRID=4674;POINT (-39.677778 -2.782314)'))) / (select extract(epoch from '2026-06-21 14:20:43'::timestamp) - extract(epoch from '2026-06-21 14:20:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677797 -2.78231)', '2026-06-21 14:20:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677778 -2.782314)'), GeomFromEWKT('SRID=4674;POINT (-39.677797 -2.78231)'))) / (select extract(epoch from '2026-06-21 14:20:48'::timestamp) - extract(epoch from '2026-06-21 14:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677778 -2.782314)'), GeomFromEWKT('SRID=4674;POINT (-39.677797 -2.78231)'))) / (select extract(epoch from '2026-06-21 14:20:48'::timestamp) - extract(epoch from '2026-06-21 14:20: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'), 46821, 'SRID=4674;POINT (-39.677834 -2.782297)', '2026-06-21 14:20:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677797 -2.78231)'), GeomFromEWKT('SRID=4674;POINT (-39.677834 -2.782297)'))) / (select extract(epoch from '2026-06-21 14:20:57'::timestamp) - extract(epoch from '2026-06-21 14:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677797 -2.78231)'), GeomFromEWKT('SRID=4674;POINT (-39.677834 -2.782297)'))) / (select extract(epoch from '2026-06-21 14:20:57'::timestamp) - extract(epoch from '2026-06-21 14:20: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'), 46821, 'SRID=4674;POINT (-39.677866 -2.782279)', '2026-06-21 14:21:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677834 -2.782297)'), GeomFromEWKT('SRID=4674;POINT (-39.677866 -2.782279)'))) / (select extract(epoch from '2026-06-21 14:21:04'::timestamp) - extract(epoch from '2026-06-21 14:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677834 -2.782297)'), GeomFromEWKT('SRID=4674;POINT (-39.677866 -2.782279)'))) / (select extract(epoch from '2026-06-21 14:21:04'::timestamp) - extract(epoch from '2026-06-21 14:20: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'), 46821, 'SRID=4674;POINT (-39.677895 -2.782263)', '2026-06-21 14:21:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677866 -2.782279)'), GeomFromEWKT('SRID=4674;POINT (-39.677895 -2.782263)'))) / (select extract(epoch from '2026-06-21 14:21:11'::timestamp) - extract(epoch from '2026-06-21 14:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677866 -2.782279)'), GeomFromEWKT('SRID=4674;POINT (-39.677895 -2.782263)'))) / (select extract(epoch from '2026-06-21 14:21:11'::timestamp) - extract(epoch from '2026-06-21 14:21:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677903 -2.78226)', '2026-06-21 14:21:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677895 -2.782263)'), GeomFromEWKT('SRID=4674;POINT (-39.677903 -2.78226)'))) / (select extract(epoch from '2026-06-21 14:21:12'::timestamp) - extract(epoch from '2026-06-21 14:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677895 -2.782263)'), GeomFromEWKT('SRID=4674;POINT (-39.677903 -2.78226)'))) / (select extract(epoch from '2026-06-21 14:21:12'::timestamp) - extract(epoch from '2026-06-21 14:21: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'), 46821, 'SRID=4674;POINT (-39.677923 -2.782245)', '2026-06-21 14:21:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677903 -2.78226)'), GeomFromEWKT('SRID=4674;POINT (-39.677923 -2.782245)'))) / (select extract(epoch from '2026-06-21 14:21:17'::timestamp) - extract(epoch from '2026-06-21 14:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677903 -2.78226)'), GeomFromEWKT('SRID=4674;POINT (-39.677923 -2.782245)'))) / (select extract(epoch from '2026-06-21 14:21:17'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.677941 -2.782228)', '2026-06-21 14:21:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677923 -2.782245)'), GeomFromEWKT('SRID=4674;POINT (-39.677941 -2.782228)'))) / (select extract(epoch from '2026-06-21 14:21:22'::timestamp) - extract(epoch from '2026-06-21 14:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677923 -2.782245)'), GeomFromEWKT('SRID=4674;POINT (-39.677941 -2.782228)'))) / (select extract(epoch from '2026-06-21 14:21:22'::timestamp) - extract(epoch from '2026-06-21 14:21:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.677949 -2.782222)', '2026-06-21 14:21:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677941 -2.782228)'), GeomFromEWKT('SRID=4674;POINT (-39.677949 -2.782222)'))) / (select extract(epoch from '2026-06-21 14:21:24'::timestamp) - extract(epoch from '2026-06-21 14:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677941 -2.782228)'), GeomFromEWKT('SRID=4674;POINT (-39.677949 -2.782222)'))) / (select extract(epoch from '2026-06-21 14:21:24'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.677973 -2.782199)', '2026-06-21 14:21:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677949 -2.782222)'), GeomFromEWKT('SRID=4674;POINT (-39.677973 -2.782199)'))) / (select extract(epoch from '2026-06-21 14:21:31'::timestamp) - extract(epoch from '2026-06-21 14:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677949 -2.782222)'), GeomFromEWKT('SRID=4674;POINT (-39.677973 -2.782199)'))) / (select extract(epoch from '2026-06-21 14:21:31'::timestamp) - extract(epoch from '2026-06-21 14:21:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.678002 -2.782177)', '2026-06-21 14:21:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677973 -2.782199)'), GeomFromEWKT('SRID=4674;POINT (-39.678002 -2.782177)'))) / (select extract(epoch from '2026-06-21 14:21:39'::timestamp) - extract(epoch from '2026-06-21 14:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677973 -2.782199)'), GeomFromEWKT('SRID=4674;POINT (-39.678002 -2.782177)'))) / (select extract(epoch from '2026-06-21 14:21:39'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.678023 -2.782153)', '2026-06-21 14:21:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678002 -2.782177)'), GeomFromEWKT('SRID=4674;POINT (-39.678023 -2.782153)'))) / (select extract(epoch from '2026-06-21 14:21:45'::timestamp) - extract(epoch from '2026-06-21 14:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678002 -2.782177)'), GeomFromEWKT('SRID=4674;POINT (-39.678023 -2.782153)'))) / (select extract(epoch from '2026-06-21 14:21:45'::timestamp) - extract(epoch from '2026-06-21 14:21:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.678046 -2.782124)', '2026-06-21 14:21:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678023 -2.782153)'), GeomFromEWKT('SRID=4674;POINT (-39.678046 -2.782124)'))) / (select extract(epoch from '2026-06-21 14:21:53'::timestamp) - extract(epoch from '2026-06-21 14:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678023 -2.782153)'), GeomFromEWKT('SRID=4674;POINT (-39.678046 -2.782124)'))) / (select extract(epoch from '2026-06-21 14:21:53'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.678072 -2.782104)', '2026-06-21 14:22:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678046 -2.782124)'), GeomFromEWKT('SRID=4674;POINT (-39.678072 -2.782104)'))) / (select extract(epoch from '2026-06-21 14:22:00'::timestamp) - extract(epoch from '2026-06-21 14:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678046 -2.782124)'), GeomFromEWKT('SRID=4674;POINT (-39.678072 -2.782104)'))) / (select extract(epoch from '2026-06-21 14:22:00'::timestamp) - extract(epoch from '2026-06-21 14:21: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'), 46821, 'SRID=4674;POINT (-39.678088 -2.782085)', '2026-06-21 14:22:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678072 -2.782104)'), GeomFromEWKT('SRID=4674;POINT (-39.678088 -2.782085)'))) / (select extract(epoch from '2026-06-21 14:22:06'::timestamp) - extract(epoch from '2026-06-21 14:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678072 -2.782104)'), GeomFromEWKT('SRID=4674;POINT (-39.678088 -2.782085)'))) / (select extract(epoch from '2026-06-21 14:22:06'::timestamp) - extract(epoch from '2026-06-21 14:22: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'), 46821, 'SRID=4674;POINT (-39.67812 -2.782072)', '2026-06-21 14:22:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678088 -2.782085)'), GeomFromEWKT('SRID=4674;POINT (-39.67812 -2.782072)'))) / (select extract(epoch from '2026-06-21 14:22:12'::timestamp) - extract(epoch from '2026-06-21 14:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678088 -2.782085)'), GeomFromEWKT('SRID=4674;POINT (-39.67812 -2.782072)'))) / (select extract(epoch from '2026-06-21 14:22:12'::timestamp) - extract(epoch from '2026-06-21 14:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.678151 -2.782056)', '2026-06-21 14:22:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67812 -2.782072)'), GeomFromEWKT('SRID=4674;POINT (-39.678151 -2.782056)'))) / (select extract(epoch from '2026-06-21 14:22:19'::timestamp) - extract(epoch from '2026-06-21 14:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67812 -2.782072)'), GeomFromEWKT('SRID=4674;POINT (-39.678151 -2.782056)'))) / (select extract(epoch from '2026-06-21 14:22:19'::timestamp) - extract(epoch from '2026-06-21 14:22: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'), 46821, 'SRID=4674;POINT (-39.678182 -2.782038)', '2026-06-21 14:22:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678151 -2.782056)'), GeomFromEWKT('SRID=4674;POINT (-39.678182 -2.782038)'))) / (select extract(epoch from '2026-06-21 14:22:27'::timestamp) - extract(epoch from '2026-06-21 14:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678151 -2.782056)'), GeomFromEWKT('SRID=4674;POINT (-39.678182 -2.782038)'))) / (select extract(epoch from '2026-06-21 14:22:27'::timestamp) - extract(epoch from '2026-06-21 14:22: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'), 46821, 'SRID=4674;POINT (-39.67822 -2.782028)', '2026-06-21 14:22:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678182 -2.782038)'), GeomFromEWKT('SRID=4674;POINT (-39.67822 -2.782028)'))) / (select extract(epoch from '2026-06-21 14:22:35'::timestamp) - extract(epoch from '2026-06-21 14:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678182 -2.782038)'), GeomFromEWKT('SRID=4674;POINT (-39.67822 -2.782028)'))) / (select extract(epoch from '2026-06-21 14:22:35'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.678252 -2.782015)', '2026-06-21 14:22:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67822 -2.782028)'), GeomFromEWKT('SRID=4674;POINT (-39.678252 -2.782015)'))) / (select extract(epoch from '2026-06-21 14:22:43'::timestamp) - extract(epoch from '2026-06-21 14:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67822 -2.782028)'), GeomFromEWKT('SRID=4674;POINT (-39.678252 -2.782015)'))) / (select extract(epoch from '2026-06-21 14:22:43'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.678274 -2.781994)', '2026-06-21 14:22:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678252 -2.782015)'), GeomFromEWKT('SRID=4674;POINT (-39.678274 -2.781994)'))) / (select extract(epoch from '2026-06-21 14:22:50'::timestamp) - extract(epoch from '2026-06-21 14:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678252 -2.782015)'), GeomFromEWKT('SRID=4674;POINT (-39.678274 -2.781994)'))) / (select extract(epoch from '2026-06-21 14:22:50'::timestamp) - extract(epoch from '2026-06-21 14:22:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.678301 -2.781973)', '2026-06-21 14:22:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678274 -2.781994)'), GeomFromEWKT('SRID=4674;POINT (-39.678301 -2.781973)'))) / (select extract(epoch from '2026-06-21 14:22:57'::timestamp) - extract(epoch from '2026-06-21 14:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678274 -2.781994)'), GeomFromEWKT('SRID=4674;POINT (-39.678301 -2.781973)'))) / (select extract(epoch from '2026-06-21 14:22:57'::timestamp) - extract(epoch from '2026-06-21 14:22: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'), 46821, 'SRID=4674;POINT (-39.678318 -2.781953)', '2026-06-21 14:23:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678301 -2.781973)'), GeomFromEWKT('SRID=4674;POINT (-39.678318 -2.781953)'))) / (select extract(epoch from '2026-06-21 14:23:02'::timestamp) - extract(epoch from '2026-06-21 14:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678301 -2.781973)'), GeomFromEWKT('SRID=4674;POINT (-39.678318 -2.781953)'))) / (select extract(epoch from '2026-06-21 14:23:02'::timestamp) - extract(epoch from '2026-06-21 14:22: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'), 46821, 'SRID=4674;POINT (-39.678344 -2.781928)', '2026-06-21 14:23:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678318 -2.781953)'), GeomFromEWKT('SRID=4674;POINT (-39.678344 -2.781928)'))) / (select extract(epoch from '2026-06-21 14:23:11'::timestamp) - extract(epoch from '2026-06-21 14:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678318 -2.781953)'), GeomFromEWKT('SRID=4674;POINT (-39.678344 -2.781928)'))) / (select extract(epoch from '2026-06-21 14:23:11'::timestamp) - extract(epoch from '2026-06-21 14:23: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'), 46821, 'SRID=4674;POINT (-39.678367 -2.781914)', '2026-06-21 14:23:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678344 -2.781928)'), GeomFromEWKT('SRID=4674;POINT (-39.678367 -2.781914)'))) / (select extract(epoch from '2026-06-21 14:23:17'::timestamp) - extract(epoch from '2026-06-21 14:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678344 -2.781928)'), GeomFromEWKT('SRID=4674;POINT (-39.678367 -2.781914)'))) / (select extract(epoch from '2026-06-21 14:23:17'::timestamp) - extract(epoch from '2026-06-21 14:23: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'), 46821, 'SRID=4674;POINT (-39.678388 -2.781898)', '2026-06-21 14:23:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678367 -2.781914)'), GeomFromEWKT('SRID=4674;POINT (-39.678388 -2.781898)'))) / (select extract(epoch from '2026-06-21 14:23:23'::timestamp) - extract(epoch from '2026-06-21 14:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678367 -2.781914)'), GeomFromEWKT('SRID=4674;POINT (-39.678388 -2.781898)'))) / (select extract(epoch from '2026-06-21 14:23:23'::timestamp) - extract(epoch from '2026-06-21 14:23:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.678413 -2.781884)', '2026-06-21 14:23:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678388 -2.781898)'), GeomFromEWKT('SRID=4674;POINT (-39.678413 -2.781884)'))) / (select extract(epoch from '2026-06-21 14:23:29'::timestamp) - extract(epoch from '2026-06-21 14:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678388 -2.781898)'), GeomFromEWKT('SRID=4674;POINT (-39.678413 -2.781884)'))) / (select extract(epoch from '2026-06-21 14:23:29'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.678436 -2.781862)', '2026-06-21 14:23:36', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678413 -2.781884)'), GeomFromEWKT('SRID=4674;POINT (-39.678436 -2.781862)'))) / (select extract(epoch from '2026-06-21 14:23:36'::timestamp) - extract(epoch from '2026-06-21 14:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678413 -2.781884)'), GeomFromEWKT('SRID=4674;POINT (-39.678436 -2.781862)'))) / (select extract(epoch from '2026-06-21 14:23:36'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.678462 -2.781842)', '2026-06-21 14:23:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678436 -2.781862)'), GeomFromEWKT('SRID=4674;POINT (-39.678462 -2.781842)'))) / (select extract(epoch from '2026-06-21 14:23:43'::timestamp) - extract(epoch from '2026-06-21 14:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678436 -2.781862)'), GeomFromEWKT('SRID=4674;POINT (-39.678462 -2.781842)'))) / (select extract(epoch from '2026-06-21 14:23:43'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.678475 -2.781834)', '2026-06-21 14:23:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678462 -2.781842)'), GeomFromEWKT('SRID=4674;POINT (-39.678475 -2.781834)'))) / (select extract(epoch from '2026-06-21 14:23:46'::timestamp) - extract(epoch from '2026-06-21 14:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678462 -2.781842)'), GeomFromEWKT('SRID=4674;POINT (-39.678475 -2.781834)'))) / (select extract(epoch from '2026-06-21 14:23:46'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.678481 -2.781832)', '2026-06-21 14:23:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678475 -2.781834)'), GeomFromEWKT('SRID=4674;POINT (-39.678481 -2.781832)'))) / (select extract(epoch from '2026-06-21 14:23:48'::timestamp) - extract(epoch from '2026-06-21 14:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678475 -2.781834)'), GeomFromEWKT('SRID=4674;POINT (-39.678481 -2.781832)'))) / (select extract(epoch from '2026-06-21 14:23:48'::timestamp) - extract(epoch from '2026-06-21 14:23: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'), 46821, 'SRID=4674;POINT (-39.678515 -2.78182)', '2026-06-21 14:23:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678481 -2.781832)'), GeomFromEWKT('SRID=4674;POINT (-39.678515 -2.78182)'))) / (select extract(epoch from '2026-06-21 14:23:55'::timestamp) - extract(epoch from '2026-06-21 14:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678481 -2.781832)'), GeomFromEWKT('SRID=4674;POINT (-39.678515 -2.78182)'))) / (select extract(epoch from '2026-06-21 14:23:55'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.678545 -2.781803)', '2026-06-21 14:24:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678515 -2.78182)'), GeomFromEWKT('SRID=4674;POINT (-39.678545 -2.781803)'))) / (select extract(epoch from '2026-06-21 14:24:03'::timestamp) - extract(epoch from '2026-06-21 14:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678515 -2.78182)'), GeomFromEWKT('SRID=4674;POINT (-39.678545 -2.781803)'))) / (select extract(epoch from '2026-06-21 14:24:03'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.678574 -2.781787)', '2026-06-21 14:24:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678545 -2.781803)'), GeomFromEWKT('SRID=4674;POINT (-39.678574 -2.781787)'))) / (select extract(epoch from '2026-06-21 14:24:10'::timestamp) - extract(epoch from '2026-06-21 14:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678545 -2.781803)'), GeomFromEWKT('SRID=4674;POINT (-39.678574 -2.781787)'))) / (select extract(epoch from '2026-06-21 14:24:10'::timestamp) - extract(epoch from '2026-06-21 14:24:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.6786 -2.781766)', '2026-06-21 14:24:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678574 -2.781787)'), GeomFromEWKT('SRID=4674;POINT (-39.6786 -2.781766)'))) / (select extract(epoch from '2026-06-21 14:24:17'::timestamp) - extract(epoch from '2026-06-21 14:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678574 -2.781787)'), GeomFromEWKT('SRID=4674;POINT (-39.6786 -2.781766)'))) / (select extract(epoch from '2026-06-21 14:24:17'::timestamp) - extract(epoch from '2026-06-21 14:24: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'), 46821, 'SRID=4674;POINT (-39.678631 -2.781741)', '2026-06-21 14:24:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6786 -2.781766)'), GeomFromEWKT('SRID=4674;POINT (-39.678631 -2.781741)'))) / (select extract(epoch from '2026-06-21 14:24:24'::timestamp) - extract(epoch from '2026-06-21 14:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6786 -2.781766)'), GeomFromEWKT('SRID=4674;POINT (-39.678631 -2.781741)'))) / (select extract(epoch from '2026-06-21 14:24:24'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.678659 -2.781717)', '2026-06-21 14:24:31', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678631 -2.781741)'), GeomFromEWKT('SRID=4674;POINT (-39.678659 -2.781717)'))) / (select extract(epoch from '2026-06-21 14:24:31'::timestamp) - extract(epoch from '2026-06-21 14:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678631 -2.781741)'), GeomFromEWKT('SRID=4674;POINT (-39.678659 -2.781717)'))) / (select extract(epoch from '2026-06-21 14:24:31'::timestamp) - extract(epoch from '2026-06-21 14:24: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'), 46821, 'SRID=4674;POINT (-39.678679 -2.781698)', '2026-06-21 14:24:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678659 -2.781717)'), GeomFromEWKT('SRID=4674;POINT (-39.678679 -2.781698)'))) / (select extract(epoch from '2026-06-21 14:24:37'::timestamp) - extract(epoch from '2026-06-21 14:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678659 -2.781717)'), GeomFromEWKT('SRID=4674;POINT (-39.678679 -2.781698)'))) / (select extract(epoch from '2026-06-21 14:24:37'::timestamp) - extract(epoch from '2026-06-21 14:24:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.678709 -2.78168)', '2026-06-21 14:24:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678679 -2.781698)'), GeomFromEWKT('SRID=4674;POINT (-39.678709 -2.78168)'))) / (select extract(epoch from '2026-06-21 14:24:44'::timestamp) - extract(epoch from '2026-06-21 14:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678679 -2.781698)'), GeomFromEWKT('SRID=4674;POINT (-39.678709 -2.78168)'))) / (select extract(epoch from '2026-06-21 14:24:44'::timestamp) - extract(epoch from '2026-06-21 14:24:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.678742 -2.781659)', '2026-06-21 14:24:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678709 -2.78168)'), GeomFromEWKT('SRID=4674;POINT (-39.678742 -2.781659)'))) / (select extract(epoch from '2026-06-21 14:24:52'::timestamp) - extract(epoch from '2026-06-21 14:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678709 -2.78168)'), GeomFromEWKT('SRID=4674;POINT (-39.678742 -2.781659)'))) / (select extract(epoch from '2026-06-21 14:24:52'::timestamp) - extract(epoch from '2026-06-21 14:24:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.678767 -2.781642)', '2026-06-21 14:24:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678742 -2.781659)'), GeomFromEWKT('SRID=4674;POINT (-39.678767 -2.781642)'))) / (select extract(epoch from '2026-06-21 14:24:58'::timestamp) - extract(epoch from '2026-06-21 14:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678742 -2.781659)'), GeomFromEWKT('SRID=4674;POINT (-39.678767 -2.781642)'))) / (select extract(epoch from '2026-06-21 14:24:58'::timestamp) - extract(epoch from '2026-06-21 14:24: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'), 46821, 'SRID=4674;POINT (-39.678801 -2.78162)', '2026-06-21 14:25:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678767 -2.781642)'), GeomFromEWKT('SRID=4674;POINT (-39.678801 -2.78162)'))) / (select extract(epoch from '2026-06-21 14:25:06'::timestamp) - extract(epoch from '2026-06-21 14:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678767 -2.781642)'), GeomFromEWKT('SRID=4674;POINT (-39.678801 -2.78162)'))) / (select extract(epoch from '2026-06-21 14:25:06'::timestamp) - extract(epoch from '2026-06-21 14:24: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'), 46821, 'SRID=4674;POINT (-39.678825 -2.781605)', '2026-06-21 14:25:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678801 -2.78162)'), GeomFromEWKT('SRID=4674;POINT (-39.678825 -2.781605)'))) / (select extract(epoch from '2026-06-21 14:25:12'::timestamp) - extract(epoch from '2026-06-21 14:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678801 -2.78162)'), GeomFromEWKT('SRID=4674;POINT (-39.678825 -2.781605)'))) / (select extract(epoch from '2026-06-21 14:25:12'::timestamp) - extract(epoch from '2026-06-21 14:25: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'), 46821, 'SRID=4674;POINT (-39.67885 -2.781571)', '2026-06-21 14:25:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678825 -2.781605)'), GeomFromEWKT('SRID=4674;POINT (-39.67885 -2.781571)'))) / (select extract(epoch from '2026-06-21 14:25:20'::timestamp) - extract(epoch from '2026-06-21 14:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678825 -2.781605)'), GeomFromEWKT('SRID=4674;POINT (-39.67885 -2.781571)'))) / (select extract(epoch from '2026-06-21 14:25:20'::timestamp) - extract(epoch from '2026-06-21 14:25: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'), 46821, 'SRID=4674;POINT (-39.678873 -2.781539)', '2026-06-21 14:25:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67885 -2.781571)'), GeomFromEWKT('SRID=4674;POINT (-39.678873 -2.781539)'))) / (select extract(epoch from '2026-06-21 14:25:27'::timestamp) - extract(epoch from '2026-06-21 14:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67885 -2.781571)'), GeomFromEWKT('SRID=4674;POINT (-39.678873 -2.781539)'))) / (select extract(epoch from '2026-06-21 14:25:27'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.678892 -2.781506)', '2026-06-21 14:25:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678873 -2.781539)'), GeomFromEWKT('SRID=4674;POINT (-39.678892 -2.781506)'))) / (select extract(epoch from '2026-06-21 14:25:35'::timestamp) - extract(epoch from '2026-06-21 14:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678873 -2.781539)'), GeomFromEWKT('SRID=4674;POINT (-39.678892 -2.781506)'))) / (select extract(epoch from '2026-06-21 14:25:35'::timestamp) - extract(epoch from '2026-06-21 14:25: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'), 46821, 'SRID=4674;POINT (-39.678913 -2.781495)', '2026-06-21 14:25:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678892 -2.781506)'), GeomFromEWKT('SRID=4674;POINT (-39.678913 -2.781495)'))) / (select extract(epoch from '2026-06-21 14:25:41'::timestamp) - extract(epoch from '2026-06-21 14:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678892 -2.781506)'), GeomFromEWKT('SRID=4674;POINT (-39.678913 -2.781495)'))) / (select extract(epoch from '2026-06-21 14:25:41'::timestamp) - extract(epoch from '2026-06-21 14:25:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.678945 -2.781484)', '2026-06-21 14:25:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678913 -2.781495)'), GeomFromEWKT('SRID=4674;POINT (-39.678945 -2.781484)'))) / (select extract(epoch from '2026-06-21 14:25:48'::timestamp) - extract(epoch from '2026-06-21 14:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678913 -2.781495)'), GeomFromEWKT('SRID=4674;POINT (-39.678945 -2.781484)'))) / (select extract(epoch from '2026-06-21 14:25:48'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.678973 -2.781482)', '2026-06-21 14:25:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678945 -2.781484)'), GeomFromEWKT('SRID=4674;POINT (-39.678973 -2.781482)'))) / (select extract(epoch from '2026-06-21 14:25:53'::timestamp) - extract(epoch from '2026-06-21 14:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678945 -2.781484)'), GeomFromEWKT('SRID=4674;POINT (-39.678973 -2.781482)'))) / (select extract(epoch from '2026-06-21 14:25:53'::timestamp) - extract(epoch from '2026-06-21 14:25: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'), 46821, 'SRID=4674;POINT (-39.679008 -2.781479)', '2026-06-21 14:26:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678973 -2.781482)'), GeomFromEWKT('SRID=4674;POINT (-39.679008 -2.781479)'))) / (select extract(epoch from '2026-06-21 14:26:00'::timestamp) - extract(epoch from '2026-06-21 14:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678973 -2.781482)'), GeomFromEWKT('SRID=4674;POINT (-39.679008 -2.781479)'))) / (select extract(epoch from '2026-06-21 14:26:00'::timestamp) - extract(epoch from '2026-06-21 14:25: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'), 46821, 'SRID=4674;POINT (-39.679034 -2.781472)', '2026-06-21 14:26:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679008 -2.781479)'), GeomFromEWKT('SRID=4674;POINT (-39.679034 -2.781472)'))) / (select extract(epoch from '2026-06-21 14:26:06'::timestamp) - extract(epoch from '2026-06-21 14:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679008 -2.781479)'), GeomFromEWKT('SRID=4674;POINT (-39.679034 -2.781472)'))) / (select extract(epoch from '2026-06-21 14:26:06'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.679063 -2.781465)', '2026-06-21 14:26:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679034 -2.781472)'), GeomFromEWKT('SRID=4674;POINT (-39.679063 -2.781465)'))) / (select extract(epoch from '2026-06-21 14:26:13'::timestamp) - extract(epoch from '2026-06-21 14:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679034 -2.781472)'), GeomFromEWKT('SRID=4674;POINT (-39.679063 -2.781465)'))) / (select extract(epoch from '2026-06-21 14:26:13'::timestamp) - extract(epoch from '2026-06-21 14: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'), 46821, 'SRID=4674;POINT (-39.679085 -2.781457)', '2026-06-21 14:26:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679063 -2.781465)'), GeomFromEWKT('SRID=4674;POINT (-39.679085 -2.781457)'))) / (select extract(epoch from '2026-06-21 14:26:20'::timestamp) - extract(epoch from '2026-06-21 14:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679063 -2.781465)'), GeomFromEWKT('SRID=4674;POINT (-39.679085 -2.781457)'))) / (select extract(epoch from '2026-06-21 14:26:20'::timestamp) - extract(epoch from '2026-06-21 14:26:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.679107 -2.78145)', '2026-06-21 14:26:25', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679085 -2.781457)'), GeomFromEWKT('SRID=4674;POINT (-39.679107 -2.78145)'))) / (select extract(epoch from '2026-06-21 14:26:25'::timestamp) - extract(epoch from '2026-06-21 14:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679085 -2.781457)'), GeomFromEWKT('SRID=4674;POINT (-39.679107 -2.78145)'))) / (select extract(epoch from '2026-06-21 14:26:25'::timestamp) - extract(epoch from '2026-06-21 14:26:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.679131 -2.78144)', '2026-06-21 14:26:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679107 -2.78145)'), GeomFromEWKT('SRID=4674;POINT (-39.679131 -2.78144)'))) / (select extract(epoch from '2026-06-21 14:26:31'::timestamp) - extract(epoch from '2026-06-21 14:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679107 -2.78145)'), GeomFromEWKT('SRID=4674;POINT (-39.679131 -2.78144)'))) / (select extract(epoch from '2026-06-21 14:26:31'::timestamp) - extract(epoch from '2026-06-21 14:26:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.679147 -2.781428)', '2026-06-21 14:26:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679131 -2.78144)'), GeomFromEWKT('SRID=4674;POINT (-39.679147 -2.781428)'))) / (select extract(epoch from '2026-06-21 14:26:37'::timestamp) - extract(epoch from '2026-06-21 14:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679131 -2.78144)'), GeomFromEWKT('SRID=4674;POINT (-39.679147 -2.781428)'))) / (select extract(epoch from '2026-06-21 14:26:37'::timestamp) - extract(epoch from '2026-06-21 14:26: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'), 46821, 'SRID=4674;POINT (-39.679169 -2.781409)', '2026-06-21 14:26:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679147 -2.781428)'), GeomFromEWKT('SRID=4674;POINT (-39.679169 -2.781409)'))) / (select extract(epoch from '2026-06-21 14:26:45'::timestamp) - extract(epoch from '2026-06-21 14:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679147 -2.781428)'), GeomFromEWKT('SRID=4674;POINT (-39.679169 -2.781409)'))) / (select extract(epoch from '2026-06-21 14:26:45'::timestamp) - extract(epoch from '2026-06-21 14:26:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.679198 -2.781396)', '2026-06-21 14:26:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679169 -2.781409)'), GeomFromEWKT('SRID=4674;POINT (-39.679198 -2.781396)'))) / (select extract(epoch from '2026-06-21 14:26:53'::timestamp) - extract(epoch from '2026-06-21 14:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679169 -2.781409)'), GeomFromEWKT('SRID=4674;POINT (-39.679198 -2.781396)'))) / (select extract(epoch from '2026-06-21 14:26:53'::timestamp) - extract(epoch from '2026-06-21 14:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.679212 -2.781388)', '2026-06-21 14:26:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679198 -2.781396)'), GeomFromEWKT('SRID=4674;POINT (-39.679212 -2.781388)'))) / (select extract(epoch from '2026-06-21 14:26:58'::timestamp) - extract(epoch from '2026-06-21 14:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679198 -2.781396)'), GeomFromEWKT('SRID=4674;POINT (-39.679212 -2.781388)'))) / (select extract(epoch from '2026-06-21 14:26:58'::timestamp) - extract(epoch from '2026-06-21 14:26:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.679219 -2.781388)', '2026-06-21 14:26:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679212 -2.781388)'), GeomFromEWKT('SRID=4674;POINT (-39.679219 -2.781388)'))) / (select extract(epoch from '2026-06-21 14:26:59'::timestamp) - extract(epoch from '2026-06-21 14:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679212 -2.781388)'), GeomFromEWKT('SRID=4674;POINT (-39.679219 -2.781388)'))) / (select extract(epoch from '2026-06-21 14:26:59'::timestamp) - extract(epoch from '2026-06-21 14:26:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.679248 -2.781386)', '2026-06-21 14:27:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679219 -2.781388)'), GeomFromEWKT('SRID=4674;POINT (-39.679248 -2.781386)'))) / (select extract(epoch from '2026-06-21 14:27:06'::timestamp) - extract(epoch from '2026-06-21 14:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679219 -2.781388)'), GeomFromEWKT('SRID=4674;POINT (-39.679248 -2.781386)'))) / (select extract(epoch from '2026-06-21 14:27:06'::timestamp) - extract(epoch from '2026-06-21 14:26: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'), 46821, 'SRID=4674;POINT (-39.679274 -2.781382)', '2026-06-21 14:27:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679248 -2.781386)'), GeomFromEWKT('SRID=4674;POINT (-39.679274 -2.781382)'))) / (select extract(epoch from '2026-06-21 14:27:12'::timestamp) - extract(epoch from '2026-06-21 14:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679248 -2.781386)'), GeomFromEWKT('SRID=4674;POINT (-39.679274 -2.781382)'))) / (select extract(epoch from '2026-06-21 14:27:12'::timestamp) - extract(epoch from '2026-06-21 14:27: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'), 46821, 'SRID=4674;POINT (-39.679304 -2.781378)', '2026-06-21 14:27:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679274 -2.781382)'), GeomFromEWKT('SRID=4674;POINT (-39.679304 -2.781378)'))) / (select extract(epoch from '2026-06-21 14:27:19'::timestamp) - extract(epoch from '2026-06-21 14:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679274 -2.781382)'), GeomFromEWKT('SRID=4674;POINT (-39.679304 -2.781378)'))) / (select extract(epoch from '2026-06-21 14:27:19'::timestamp) - extract(epoch from '2026-06-21 14:27: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'), 46821, 'SRID=4674;POINT (-39.679329 -2.781373)', '2026-06-21 14:27:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679304 -2.781378)'), GeomFromEWKT('SRID=4674;POINT (-39.679329 -2.781373)'))) / (select extract(epoch from '2026-06-21 14:27:25'::timestamp) - extract(epoch from '2026-06-21 14:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679304 -2.781378)'), GeomFromEWKT('SRID=4674;POINT (-39.679329 -2.781373)'))) / (select extract(epoch from '2026-06-21 14:27:25'::timestamp) - extract(epoch from '2026-06-21 14:27:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.679366 -2.781369)', '2026-06-21 14:27:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679329 -2.781373)'), GeomFromEWKT('SRID=4674;POINT (-39.679366 -2.781369)'))) / (select extract(epoch from '2026-06-21 14:27:33'::timestamp) - extract(epoch from '2026-06-21 14:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679329 -2.781373)'), GeomFromEWKT('SRID=4674;POINT (-39.679366 -2.781369)'))) / (select extract(epoch from '2026-06-21 14:27:33'::timestamp) - extract(epoch from '2026-06-21 14:27: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'), 46821, 'SRID=4674;POINT (-39.679389 -2.781368)', '2026-06-21 14:27:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679366 -2.781369)'), GeomFromEWKT('SRID=4674;POINT (-39.679389 -2.781368)'))) / (select extract(epoch from '2026-06-21 14:27:40'::timestamp) - extract(epoch from '2026-06-21 14:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679366 -2.781369)'), GeomFromEWKT('SRID=4674;POINT (-39.679389 -2.781368)'))) / (select extract(epoch from '2026-06-21 14:27:40'::timestamp) - extract(epoch from '2026-06-21 14:27: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'), 46821, 'SRID=4674;POINT (-39.6794 -2.781369)', '2026-06-21 14:27:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679389 -2.781368)'), GeomFromEWKT('SRID=4674;POINT (-39.6794 -2.781369)'))) / (select extract(epoch from '2026-06-21 14:27:42'::timestamp) - extract(epoch from '2026-06-21 14:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679389 -2.781368)'), GeomFromEWKT('SRID=4674;POINT (-39.6794 -2.781369)'))) / (select extract(epoch from '2026-06-21 14:27:42'::timestamp) - extract(epoch from '2026-06-21 14:27: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'), 46821, 'SRID=4674;POINT (-39.679417 -2.781369)', '2026-06-21 14:27:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6794 -2.781369)'), GeomFromEWKT('SRID=4674;POINT (-39.679417 -2.781369)'))) / (select extract(epoch from '2026-06-21 14:27:46'::timestamp) - extract(epoch from '2026-06-21 14:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6794 -2.781369)'), GeomFromEWKT('SRID=4674;POINT (-39.679417 -2.781369)'))) / (select extract(epoch from '2026-06-21 14:27:46'::timestamp) - extract(epoch from '2026-06-21 14:27:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.679442 -2.781362)', '2026-06-21 14:27:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679417 -2.781369)'), GeomFromEWKT('SRID=4674;POINT (-39.679442 -2.781362)'))) / (select extract(epoch from '2026-06-21 14:27:53'::timestamp) - extract(epoch from '2026-06-21 14:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679417 -2.781369)'), GeomFromEWKT('SRID=4674;POINT (-39.679442 -2.781362)'))) / (select extract(epoch from '2026-06-21 14:27:53'::timestamp) - extract(epoch from '2026-06-21 14:27: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'), 46821, 'SRID=4674;POINT (-39.679463 -2.781354)', '2026-06-21 14:27:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679442 -2.781362)'), GeomFromEWKT('SRID=4674;POINT (-39.679463 -2.781354)'))) / (select extract(epoch from '2026-06-21 14:27:58'::timestamp) - extract(epoch from '2026-06-21 14:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679442 -2.781362)'), GeomFromEWKT('SRID=4674;POINT (-39.679463 -2.781354)'))) / (select extract(epoch from '2026-06-21 14:27:58'::timestamp) - extract(epoch from '2026-06-21 14:27: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'), 46821, 'SRID=4674;POINT (-39.679492 -2.781334)', '2026-06-21 14:28:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679463 -2.781354)'), GeomFromEWKT('SRID=4674;POINT (-39.679492 -2.781334)'))) / (select extract(epoch from '2026-06-21 14:28:05'::timestamp) - extract(epoch from '2026-06-21 14:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679463 -2.781354)'), GeomFromEWKT('SRID=4674;POINT (-39.679492 -2.781334)'))) / (select extract(epoch from '2026-06-21 14:28:05'::timestamp) - extract(epoch from '2026-06-21 14:27:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.679506 -2.78132)', '2026-06-21 14:28:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679492 -2.781334)'), GeomFromEWKT('SRID=4674;POINT (-39.679506 -2.78132)'))) / (select extract(epoch from '2026-06-21 14:28:10'::timestamp) - extract(epoch from '2026-06-21 14:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679492 -2.781334)'), GeomFromEWKT('SRID=4674;POINT (-39.679506 -2.78132)'))) / (select extract(epoch from '2026-06-21 14:28:10'::timestamp) - extract(epoch from '2026-06-21 14:28:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.679529 -2.781309)', '2026-06-21 14:28:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679506 -2.78132)'), GeomFromEWKT('SRID=4674;POINT (-39.679529 -2.781309)'))) / (select extract(epoch from '2026-06-21 14:28:16'::timestamp) - extract(epoch from '2026-06-21 14:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679506 -2.78132)'), GeomFromEWKT('SRID=4674;POINT (-39.679529 -2.781309)'))) / (select extract(epoch from '2026-06-21 14:28:16'::timestamp) - extract(epoch from '2026-06-21 14:28: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'), 46821, 'SRID=4674;POINT (-39.679551 -2.781301)', '2026-06-21 14:28:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679529 -2.781309)'), GeomFromEWKT('SRID=4674;POINT (-39.679551 -2.781301)'))) / (select extract(epoch from '2026-06-21 14:28:22'::timestamp) - extract(epoch from '2026-06-21 14:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679529 -2.781309)'), GeomFromEWKT('SRID=4674;POINT (-39.679551 -2.781301)'))) / (select extract(epoch from '2026-06-21 14:28:22'::timestamp) - extract(epoch from '2026-06-21 14:28: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'), 46821, 'SRID=4674;POINT (-39.6796 -2.781295)', '2026-06-21 14:28:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679551 -2.781301)'), GeomFromEWKT('SRID=4674;POINT (-39.6796 -2.781295)'))) / (select extract(epoch from '2026-06-21 14:28:32'::timestamp) - extract(epoch from '2026-06-21 14:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679551 -2.781301)'), GeomFromEWKT('SRID=4674;POINT (-39.6796 -2.781295)'))) / (select extract(epoch from '2026-06-21 14:28:32'::timestamp) - extract(epoch from '2026-06-21 14:28:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.679637 -2.781296)', '2026-06-21 14:28:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6796 -2.781295)'), GeomFromEWKT('SRID=4674;POINT (-39.679637 -2.781296)'))) / (select extract(epoch from '2026-06-21 14:28:38'::timestamp) - extract(epoch from '2026-06-21 14:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6796 -2.781295)'), GeomFromEWKT('SRID=4674;POINT (-39.679637 -2.781296)'))) / (select extract(epoch from '2026-06-21 14:28:38'::timestamp) - extract(epoch from '2026-06-21 14:28:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.679675 -2.781301)', '2026-06-21 14:28:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679637 -2.781296)'), GeomFromEWKT('SRID=4674;POINT (-39.679675 -2.781301)'))) / (select extract(epoch from '2026-06-21 14:28:46'::timestamp) - extract(epoch from '2026-06-21 14:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679637 -2.781296)'), GeomFromEWKT('SRID=4674;POINT (-39.679675 -2.781301)'))) / (select extract(epoch from '2026-06-21 14:28:46'::timestamp) - extract(epoch from '2026-06-21 14:28: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'), 46821, 'SRID=4674;POINT (-39.679709 -2.781306)', '2026-06-21 14:28:54', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679675 -2.781301)'), GeomFromEWKT('SRID=4674;POINT (-39.679709 -2.781306)'))) / (select extract(epoch from '2026-06-21 14:28:54'::timestamp) - extract(epoch from '2026-06-21 14:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679675 -2.781301)'), GeomFromEWKT('SRID=4674;POINT (-39.679709 -2.781306)'))) / (select extract(epoch from '2026-06-21 14:28:54'::timestamp) - extract(epoch from '2026-06-21 14:28: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'), 46821, 'SRID=4674;POINT (-39.67973 -2.781305)', '2026-06-21 14:29:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679709 -2.781306)'), GeomFromEWKT('SRID=4674;POINT (-39.67973 -2.781305)'))) / (select extract(epoch from '2026-06-21 14:29:00'::timestamp) - extract(epoch from '2026-06-21 14:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679709 -2.781306)'), GeomFromEWKT('SRID=4674;POINT (-39.67973 -2.781305)'))) / (select extract(epoch from '2026-06-21 14:29:00'::timestamp) - extract(epoch from '2026-06-21 14:28: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'), 46821, 'SRID=4674;POINT (-39.679757 -2.781302)', '2026-06-21 14:29:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67973 -2.781305)'), GeomFromEWKT('SRID=4674;POINT (-39.679757 -2.781302)'))) / (select extract(epoch from '2026-06-21 14:29:07'::timestamp) - extract(epoch from '2026-06-21 14:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67973 -2.781305)'), GeomFromEWKT('SRID=4674;POINT (-39.679757 -2.781302)'))) / (select extract(epoch from '2026-06-21 14:29:07'::timestamp) - extract(epoch from '2026-06-21 14:29: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'), 46821, 'SRID=4674;POINT (-39.679779 -2.781296)', '2026-06-21 14:29:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679757 -2.781302)'), GeomFromEWKT('SRID=4674;POINT (-39.679779 -2.781296)'))) / (select extract(epoch from '2026-06-21 14:29:12'::timestamp) - extract(epoch from '2026-06-21 14:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679757 -2.781302)'), GeomFromEWKT('SRID=4674;POINT (-39.679779 -2.781296)'))) / (select extract(epoch from '2026-06-21 14:29:12'::timestamp) - extract(epoch from '2026-06-21 14:29: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'), 46821, 'SRID=4674;POINT (-39.679817 -2.781294)', '2026-06-21 14:29:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679779 -2.781296)'), GeomFromEWKT('SRID=4674;POINT (-39.679817 -2.781294)'))) / (select extract(epoch from '2026-06-21 14:29:20'::timestamp) - extract(epoch from '2026-06-21 14:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679779 -2.781296)'), GeomFromEWKT('SRID=4674;POINT (-39.679817 -2.781294)'))) / (select extract(epoch from '2026-06-21 14:29:20'::timestamp) - extract(epoch from '2026-06-21 14:29:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.679841 -2.781296)', '2026-06-21 14:29:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679817 -2.781294)'), GeomFromEWKT('SRID=4674;POINT (-39.679841 -2.781296)'))) / (select extract(epoch from '2026-06-21 14:29:27'::timestamp) - extract(epoch from '2026-06-21 14:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679817 -2.781294)'), GeomFromEWKT('SRID=4674;POINT (-39.679841 -2.781296)'))) / (select extract(epoch from '2026-06-21 14:29:27'::timestamp) - extract(epoch from '2026-06-21 14:29:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.679861 -2.781298)', '2026-06-21 14:29:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679841 -2.781296)'), GeomFromEWKT('SRID=4674;POINT (-39.679861 -2.781298)'))) / (select extract(epoch from '2026-06-21 14:29:34'::timestamp) - extract(epoch from '2026-06-21 14:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679841 -2.781296)'), GeomFromEWKT('SRID=4674;POINT (-39.679861 -2.781298)'))) / (select extract(epoch from '2026-06-21 14:29:34'::timestamp) - extract(epoch from '2026-06-21 14:29: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'), 46821, 'SRID=4674;POINT (-39.679898 -2.781301)', '2026-06-21 14:29:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679861 -2.781298)'), GeomFromEWKT('SRID=4674;POINT (-39.679898 -2.781301)'))) / (select extract(epoch from '2026-06-21 14:29:40'::timestamp) - extract(epoch from '2026-06-21 14:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679861 -2.781298)'), GeomFromEWKT('SRID=4674;POINT (-39.679898 -2.781301)'))) / (select extract(epoch from '2026-06-21 14:29:40'::timestamp) - extract(epoch from '2026-06-21 14:29:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.679917 -2.781303)', '2026-06-21 14:29:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679898 -2.781301)'), GeomFromEWKT('SRID=4674;POINT (-39.679917 -2.781303)'))) / (select extract(epoch from '2026-06-21 14:29:45'::timestamp) - extract(epoch from '2026-06-21 14:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679898 -2.781301)'), GeomFromEWKT('SRID=4674;POINT (-39.679917 -2.781303)'))) / (select extract(epoch from '2026-06-21 14:29:45'::timestamp) - extract(epoch from '2026-06-21 14:29:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.679924 -2.781303)', '2026-06-21 14:29:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679917 -2.781303)'), GeomFromEWKT('SRID=4674;POINT (-39.679924 -2.781303)'))) / (select extract(epoch from '2026-06-21 14:29:46'::timestamp) - extract(epoch from '2026-06-21 14:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679917 -2.781303)'), GeomFromEWKT('SRID=4674;POINT (-39.679924 -2.781303)'))) / (select extract(epoch from '2026-06-21 14:29:46'::timestamp) - extract(epoch from '2026-06-21 14:29: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'), 46821, 'SRID=4674;POINT (-39.679949 -2.781308)', '2026-06-21 14:29:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679924 -2.781303)'), GeomFromEWKT('SRID=4674;POINT (-39.679949 -2.781308)'))) / (select extract(epoch from '2026-06-21 14:29:50'::timestamp) - extract(epoch from '2026-06-21 14:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679924 -2.781303)'), GeomFromEWKT('SRID=4674;POINT (-39.679949 -2.781308)'))) / (select extract(epoch from '2026-06-21 14:29:50'::timestamp) - extract(epoch from '2026-06-21 14:29:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.679972 -2.781311)', '2026-06-21 14:29:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679949 -2.781308)'), GeomFromEWKT('SRID=4674;POINT (-39.679972 -2.781311)'))) / (select extract(epoch from '2026-06-21 14:29:57'::timestamp) - extract(epoch from '2026-06-21 14:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679949 -2.781308)'), GeomFromEWKT('SRID=4674;POINT (-39.679972 -2.781311)'))) / (select extract(epoch from '2026-06-21 14:29:57'::timestamp) - extract(epoch from '2026-06-21 14:29: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'), 46821, 'SRID=4674;POINT (-39.679996 -2.781311)', '2026-06-21 14:30:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679972 -2.781311)'), GeomFromEWKT('SRID=4674;POINT (-39.679996 -2.781311)'))) / (select extract(epoch from '2026-06-21 14:30:02'::timestamp) - extract(epoch from '2026-06-21 14:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679972 -2.781311)'), GeomFromEWKT('SRID=4674;POINT (-39.679996 -2.781311)'))) / (select extract(epoch from '2026-06-21 14:30:02'::timestamp) - extract(epoch from '2026-06-21 14:29:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.680002 -2.781313)', '2026-06-21 14:30:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679996 -2.781311)'), GeomFromEWKT('SRID=4674;POINT (-39.680002 -2.781313)'))) / (select extract(epoch from '2026-06-21 14:30:03'::timestamp) - extract(epoch from '2026-06-21 14:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679996 -2.781311)'), GeomFromEWKT('SRID=4674;POINT (-39.680002 -2.781313)'))) / (select extract(epoch from '2026-06-21 14:30:03'::timestamp) - extract(epoch from '2026-06-21 14:30:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.680021 -2.781312)', '2026-06-21 14:30:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680002 -2.781313)'), GeomFromEWKT('SRID=4674;POINT (-39.680021 -2.781312)'))) / (select extract(epoch from '2026-06-21 14:30:09'::timestamp) - extract(epoch from '2026-06-21 14:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680002 -2.781313)'), GeomFromEWKT('SRID=4674;POINT (-39.680021 -2.781312)'))) / (select extract(epoch from '2026-06-21 14:30:09'::timestamp) - extract(epoch from '2026-06-21 14:30:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.680051 -2.781301)', '2026-06-21 14:30:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680021 -2.781312)'), GeomFromEWKT('SRID=4674;POINT (-39.680051 -2.781301)'))) / (select extract(epoch from '2026-06-21 14:30:17'::timestamp) - extract(epoch from '2026-06-21 14:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680021 -2.781312)'), GeomFromEWKT('SRID=4674;POINT (-39.680051 -2.781301)'))) / (select extract(epoch from '2026-06-21 14:30:17'::timestamp) - extract(epoch from '2026-06-21 14:30:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.680076 -2.781299)', '2026-06-21 14:30:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680051 -2.781301)'), GeomFromEWKT('SRID=4674;POINT (-39.680076 -2.781299)'))) / (select extract(epoch from '2026-06-21 14:30:22'::timestamp) - extract(epoch from '2026-06-21 14:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680051 -2.781301)'), GeomFromEWKT('SRID=4674;POINT (-39.680076 -2.781299)'))) / (select extract(epoch from '2026-06-21 14:30:22'::timestamp) - extract(epoch from '2026-06-21 14:30: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'), 46821, 'SRID=4674;POINT (-39.680103 -2.7813)', '2026-06-21 14:30:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680076 -2.781299)'), GeomFromEWKT('SRID=4674;POINT (-39.680103 -2.7813)'))) / (select extract(epoch from '2026-06-21 14:30:28'::timestamp) - extract(epoch from '2026-06-21 14:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680076 -2.781299)'), GeomFromEWKT('SRID=4674;POINT (-39.680103 -2.7813)'))) / (select extract(epoch from '2026-06-21 14:30:28'::timestamp) - extract(epoch from '2026-06-21 14:30:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.680128 -2.781292)', '2026-06-21 14:30:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680103 -2.7813)'), GeomFromEWKT('SRID=4674;POINT (-39.680128 -2.781292)'))) / (select extract(epoch from '2026-06-21 14:30:34'::timestamp) - extract(epoch from '2026-06-21 14:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680103 -2.7813)'), GeomFromEWKT('SRID=4674;POINT (-39.680128 -2.781292)'))) / (select extract(epoch from '2026-06-21 14:30:34'::timestamp) - extract(epoch from '2026-06-21 14:30:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.680158 -2.781285)', '2026-06-21 14:30:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680128 -2.781292)'), GeomFromEWKT('SRID=4674;POINT (-39.680158 -2.781285)'))) / (select extract(epoch from '2026-06-21 14:30:42'::timestamp) - extract(epoch from '2026-06-21 14:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680128 -2.781292)'), GeomFromEWKT('SRID=4674;POINT (-39.680158 -2.781285)'))) / (select extract(epoch from '2026-06-21 14:30:42'::timestamp) - extract(epoch from '2026-06-21 14:30: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'), 46821, 'SRID=4674;POINT (-39.680185 -2.781283)', '2026-06-21 14:30:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680158 -2.781285)'), GeomFromEWKT('SRID=4674;POINT (-39.680185 -2.781283)'))) / (select extract(epoch from '2026-06-21 14:30:47'::timestamp) - extract(epoch from '2026-06-21 14:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680158 -2.781285)'), GeomFromEWKT('SRID=4674;POINT (-39.680185 -2.781283)'))) / (select extract(epoch from '2026-06-21 14:30:47'::timestamp) - extract(epoch from '2026-06-21 14:30: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'), 46821, 'SRID=4674;POINT (-39.680218 -2.781284)', '2026-06-21 14:30:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680185 -2.781283)'), GeomFromEWKT('SRID=4674;POINT (-39.680218 -2.781284)'))) / (select extract(epoch from '2026-06-21 14:30:55'::timestamp) - extract(epoch from '2026-06-21 14:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680185 -2.781283)'), GeomFromEWKT('SRID=4674;POINT (-39.680218 -2.781284)'))) / (select extract(epoch from '2026-06-21 14:30:55'::timestamp) - extract(epoch from '2026-06-21 14:30: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'), 46821, 'SRID=4674;POINT (-39.680242 -2.781287)', '2026-06-21 14:31:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680218 -2.781284)'), GeomFromEWKT('SRID=4674;POINT (-39.680242 -2.781287)'))) / (select extract(epoch from '2026-06-21 14:31:01'::timestamp) - extract(epoch from '2026-06-21 14:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680218 -2.781284)'), GeomFromEWKT('SRID=4674;POINT (-39.680242 -2.781287)'))) / (select extract(epoch from '2026-06-21 14:31:01'::timestamp) - extract(epoch from '2026-06-21 14:30: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'), 46821, 'SRID=4674;POINT (-39.680264 -2.781289)', '2026-06-21 14:31:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680242 -2.781287)'), GeomFromEWKT('SRID=4674;POINT (-39.680264 -2.781289)'))) / (select extract(epoch from '2026-06-21 14:31:06'::timestamp) - extract(epoch from '2026-06-21 14:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680242 -2.781287)'), GeomFromEWKT('SRID=4674;POINT (-39.680264 -2.781289)'))) / (select extract(epoch from '2026-06-21 14:31:06'::timestamp) - extract(epoch from '2026-06-21 14:31: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'), 46821, 'SRID=4674;POINT (-39.680292 -2.781288)', '2026-06-21 14:31:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680264 -2.781289)'), GeomFromEWKT('SRID=4674;POINT (-39.680292 -2.781288)'))) / (select extract(epoch from '2026-06-21 14:31:13'::timestamp) - extract(epoch from '2026-06-21 14:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680264 -2.781289)'), GeomFromEWKT('SRID=4674;POINT (-39.680292 -2.781288)'))) / (select extract(epoch from '2026-06-21 14:31:13'::timestamp) - extract(epoch from '2026-06-21 14:31: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'), 46821, 'SRID=4674;POINT (-39.680326 -2.781292)', '2026-06-21 14:31:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680292 -2.781288)'), GeomFromEWKT('SRID=4674;POINT (-39.680326 -2.781292)'))) / (select extract(epoch from '2026-06-21 14:31:21'::timestamp) - extract(epoch from '2026-06-21 14:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680292 -2.781288)'), GeomFromEWKT('SRID=4674;POINT (-39.680326 -2.781292)'))) / (select extract(epoch from '2026-06-21 14:31:21'::timestamp) - extract(epoch from '2026-06-21 14:31: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'), 46821, 'SRID=4674;POINT (-39.680345 -2.781291)', '2026-06-21 14:31:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680326 -2.781292)'), GeomFromEWKT('SRID=4674;POINT (-39.680345 -2.781291)'))) / (select extract(epoch from '2026-06-21 14:31:27'::timestamp) - extract(epoch from '2026-06-21 14:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680326 -2.781292)'), GeomFromEWKT('SRID=4674;POINT (-39.680345 -2.781291)'))) / (select extract(epoch from '2026-06-21 14:31:27'::timestamp) - extract(epoch from '2026-06-21 14:31:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.680368 -2.781286)', '2026-06-21 14:31:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680345 -2.781291)'), GeomFromEWKT('SRID=4674;POINT (-39.680368 -2.781286)'))) / (select extract(epoch from '2026-06-21 14:31:34'::timestamp) - extract(epoch from '2026-06-21 14:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680345 -2.781291)'), GeomFromEWKT('SRID=4674;POINT (-39.680368 -2.781286)'))) / (select extract(epoch from '2026-06-21 14:31:34'::timestamp) - extract(epoch from '2026-06-21 14:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.680392 -2.781279)', '2026-06-21 14:31:41', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680368 -2.781286)'), GeomFromEWKT('SRID=4674;POINT (-39.680392 -2.781279)'))) / (select extract(epoch from '2026-06-21 14:31:41'::timestamp) - extract(epoch from '2026-06-21 14:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680368 -2.781286)'), GeomFromEWKT('SRID=4674;POINT (-39.680392 -2.781279)'))) / (select extract(epoch from '2026-06-21 14:31:41'::timestamp) - extract(epoch from '2026-06-21 14:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.68042 -2.781274)', '2026-06-21 14:31:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680392 -2.781279)'), GeomFromEWKT('SRID=4674;POINT (-39.68042 -2.781274)'))) / (select extract(epoch from '2026-06-21 14:31:48'::timestamp) - extract(epoch from '2026-06-21 14:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680392 -2.781279)'), GeomFromEWKT('SRID=4674;POINT (-39.68042 -2.781274)'))) / (select extract(epoch from '2026-06-21 14:31:48'::timestamp) - extract(epoch from '2026-06-21 14:31: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'), 46821, 'SRID=4674;POINT (-39.680439 -2.781274)', '2026-06-21 14:31:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68042 -2.781274)'), GeomFromEWKT('SRID=4674;POINT (-39.680439 -2.781274)'))) / (select extract(epoch from '2026-06-21 14:31:53'::timestamp) - extract(epoch from '2026-06-21 14:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68042 -2.781274)'), GeomFromEWKT('SRID=4674;POINT (-39.680439 -2.781274)'))) / (select extract(epoch from '2026-06-21 14:31:53'::timestamp) - extract(epoch from '2026-06-21 14:31: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'), 46821, 'SRID=4674;POINT (-39.680463 -2.781277)', '2026-06-21 14:31:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680439 -2.781274)'), GeomFromEWKT('SRID=4674;POINT (-39.680463 -2.781277)'))) / (select extract(epoch from '2026-06-21 14:31:59'::timestamp) - extract(epoch from '2026-06-21 14:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680439 -2.781274)'), GeomFromEWKT('SRID=4674;POINT (-39.680463 -2.781277)'))) / (select extract(epoch from '2026-06-21 14:31:59'::timestamp) - extract(epoch from '2026-06-21 14:31: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'), 46821, 'SRID=4674;POINT (-39.680493 -2.781264)', '2026-06-21 14:32:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680463 -2.781277)'), GeomFromEWKT('SRID=4674;POINT (-39.680493 -2.781264)'))) / (select extract(epoch from '2026-06-21 14:32:08'::timestamp) - extract(epoch from '2026-06-21 14:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680463 -2.781277)'), GeomFromEWKT('SRID=4674;POINT (-39.680493 -2.781264)'))) / (select extract(epoch from '2026-06-21 14:32:08'::timestamp) - extract(epoch from '2026-06-21 14:31: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'), 46821, 'SRID=4674;POINT (-39.680521 -2.781267)', '2026-06-21 14:32:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680493 -2.781264)'), GeomFromEWKT('SRID=4674;POINT (-39.680521 -2.781267)'))) / (select extract(epoch from '2026-06-21 14:32:14'::timestamp) - extract(epoch from '2026-06-21 14:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680493 -2.781264)'), GeomFromEWKT('SRID=4674;POINT (-39.680521 -2.781267)'))) / (select extract(epoch from '2026-06-21 14:32:14'::timestamp) - extract(epoch from '2026-06-21 14:32: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'), 46821, 'SRID=4674;POINT (-39.680554 -2.781265)', '2026-06-21 14:32:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680521 -2.781267)'), GeomFromEWKT('SRID=4674;POINT (-39.680554 -2.781265)'))) / (select extract(epoch from '2026-06-21 14:32:21'::timestamp) - extract(epoch from '2026-06-21 14:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680521 -2.781267)'), GeomFromEWKT('SRID=4674;POINT (-39.680554 -2.781265)'))) / (select extract(epoch from '2026-06-21 14:32:21'::timestamp) - extract(epoch from '2026-06-21 14:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.680576 -2.781267)', '2026-06-21 14:32:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680554 -2.781265)'), GeomFromEWKT('SRID=4674;POINT (-39.680576 -2.781267)'))) / (select extract(epoch from '2026-06-21 14:32:25'::timestamp) - extract(epoch from '2026-06-21 14:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680554 -2.781265)'), GeomFromEWKT('SRID=4674;POINT (-39.680576 -2.781267)'))) / (select extract(epoch from '2026-06-21 14:32:25'::timestamp) - extract(epoch from '2026-06-21 14:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.680603 -2.78126)', '2026-06-21 14:32:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680576 -2.781267)'), GeomFromEWKT('SRID=4674;POINT (-39.680603 -2.78126)'))) / (select extract(epoch from '2026-06-21 14:32:33'::timestamp) - extract(epoch from '2026-06-21 14:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680576 -2.781267)'), GeomFromEWKT('SRID=4674;POINT (-39.680603 -2.78126)'))) / (select extract(epoch from '2026-06-21 14:32:33'::timestamp) - extract(epoch from '2026-06-21 14:32: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'), 46821, 'SRID=4674;POINT (-39.68063 -2.781252)', '2026-06-21 14:32:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680603 -2.78126)'), GeomFromEWKT('SRID=4674;POINT (-39.68063 -2.781252)'))) / (select extract(epoch from '2026-06-21 14:32:40'::timestamp) - extract(epoch from '2026-06-21 14:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680603 -2.78126)'), GeomFromEWKT('SRID=4674;POINT (-39.68063 -2.781252)'))) / (select extract(epoch from '2026-06-21 14:32:40'::timestamp) - extract(epoch from '2026-06-21 14:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.680663 -2.781251)', '2026-06-21 14:32:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68063 -2.781252)'), GeomFromEWKT('SRID=4674;POINT (-39.680663 -2.781251)'))) / (select extract(epoch from '2026-06-21 14:32:47'::timestamp) - extract(epoch from '2026-06-21 14:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68063 -2.781252)'), GeomFromEWKT('SRID=4674;POINT (-39.680663 -2.781251)'))) / (select extract(epoch from '2026-06-21 14:32:47'::timestamp) - extract(epoch from '2026-06-21 14:32: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'), 46821, 'SRID=4674;POINT (-39.68069 -2.78125)', '2026-06-21 14:32:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680663 -2.781251)'), GeomFromEWKT('SRID=4674;POINT (-39.68069 -2.78125)'))) / (select extract(epoch from '2026-06-21 14:32:55'::timestamp) - extract(epoch from '2026-06-21 14:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680663 -2.781251)'), GeomFromEWKT('SRID=4674;POINT (-39.68069 -2.78125)'))) / (select extract(epoch from '2026-06-21 14:32:55'::timestamp) - extract(epoch from '2026-06-21 14:32: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'), 46821, 'SRID=4674;POINT (-39.680721 -2.781249)', '2026-06-21 14:33:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68069 -2.78125)'), GeomFromEWKT('SRID=4674;POINT (-39.680721 -2.781249)'))) / (select extract(epoch from '2026-06-21 14:33:03'::timestamp) - extract(epoch from '2026-06-21 14:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68069 -2.78125)'), GeomFromEWKT('SRID=4674;POINT (-39.680721 -2.781249)'))) / (select extract(epoch from '2026-06-21 14:33:03'::timestamp) - extract(epoch from '2026-06-21 14:32: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'), 46821, 'SRID=4674;POINT (-39.680781 -2.781259)', '2026-06-21 14:33:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680721 -2.781249)'), GeomFromEWKT('SRID=4674;POINT (-39.680781 -2.781259)'))) / (select extract(epoch from '2026-06-21 14:33:19'::timestamp) - extract(epoch from '2026-06-21 14:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680721 -2.781249)'), GeomFromEWKT('SRID=4674;POINT (-39.680781 -2.781259)'))) / (select extract(epoch from '2026-06-21 14:33:19'::timestamp) - extract(epoch from '2026-06-21 14:33: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'), 46821, 'SRID=4674;POINT (-39.680801 -2.781264)', '2026-06-21 14:33:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680781 -2.781259)'), GeomFromEWKT('SRID=4674;POINT (-39.680801 -2.781264)'))) / (select extract(epoch from '2026-06-21 14:33:24'::timestamp) - extract(epoch from '2026-06-21 14:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680781 -2.781259)'), GeomFromEWKT('SRID=4674;POINT (-39.680801 -2.781264)'))) / (select extract(epoch from '2026-06-21 14:33:24'::timestamp) - extract(epoch from '2026-06-21 14:33:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.680812 -2.781266)', '2026-06-21 14:33:26', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680801 -2.781264)'), GeomFromEWKT('SRID=4674;POINT (-39.680812 -2.781266)'))) / (select extract(epoch from '2026-06-21 14:33:26'::timestamp) - extract(epoch from '2026-06-21 14:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680801 -2.781264)'), GeomFromEWKT('SRID=4674;POINT (-39.680812 -2.781266)'))) / (select extract(epoch from '2026-06-21 14:33:26'::timestamp) - extract(epoch from '2026-06-21 14:33:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.680821 -2.781275)', '2026-06-21 14:33:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680812 -2.781266)'), GeomFromEWKT('SRID=4674;POINT (-39.680821 -2.781275)'))) / (select extract(epoch from '2026-06-21 14:33:29'::timestamp) - extract(epoch from '2026-06-21 14:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680812 -2.781266)'), GeomFromEWKT('SRID=4674;POINT (-39.680821 -2.781275)'))) / (select extract(epoch from '2026-06-21 14:33:29'::timestamp) - extract(epoch from '2026-06-21 14:33: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'), 46821, 'SRID=4674;POINT (-39.680838 -2.781284)', '2026-06-21 14:33:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680821 -2.781275)'), GeomFromEWKT('SRID=4674;POINT (-39.680838 -2.781284)'))) / (select extract(epoch from '2026-06-21 14:33:35'::timestamp) - extract(epoch from '2026-06-21 14:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680821 -2.781275)'), GeomFromEWKT('SRID=4674;POINT (-39.680838 -2.781284)'))) / (select extract(epoch from '2026-06-21 14:33:35'::timestamp) - extract(epoch from '2026-06-21 14:33:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.680862 -2.781302)', '2026-06-21 14:33:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680838 -2.781284)'), GeomFromEWKT('SRID=4674;POINT (-39.680862 -2.781302)'))) / (select extract(epoch from '2026-06-21 14:33:40'::timestamp) - extract(epoch from '2026-06-21 14:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680838 -2.781284)'), GeomFromEWKT('SRID=4674;POINT (-39.680862 -2.781302)'))) / (select extract(epoch from '2026-06-21 14:33:40'::timestamp) - extract(epoch from '2026-06-21 14:33:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.680883 -2.781321)', '2026-06-21 14:33:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680862 -2.781302)'), GeomFromEWKT('SRID=4674;POINT (-39.680883 -2.781321)'))) / (select extract(epoch from '2026-06-21 14:33:45'::timestamp) - extract(epoch from '2026-06-21 14:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680862 -2.781302)'), GeomFromEWKT('SRID=4674;POINT (-39.680883 -2.781321)'))) / (select extract(epoch from '2026-06-21 14:33:45'::timestamp) - extract(epoch from '2026-06-21 14:33: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'), 46821, 'SRID=4674;POINT (-39.68093 -2.781377)', '2026-06-21 14:33:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680883 -2.781321)'), GeomFromEWKT('SRID=4674;POINT (-39.68093 -2.781377)'))) / (select extract(epoch from '2026-06-21 14:33:54'::timestamp) - extract(epoch from '2026-06-21 14:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680883 -2.781321)'), GeomFromEWKT('SRID=4674;POINT (-39.68093 -2.781377)'))) / (select extract(epoch from '2026-06-21 14:33:54'::timestamp) - extract(epoch from '2026-06-21 14:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.680963 -2.781426)', '2026-06-21 14:34:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68093 -2.781377)'), GeomFromEWKT('SRID=4674;POINT (-39.680963 -2.781426)'))) / (select extract(epoch from '2026-06-21 14:34:00'::timestamp) - extract(epoch from '2026-06-21 14:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68093 -2.781377)'), GeomFromEWKT('SRID=4674;POINT (-39.680963 -2.781426)'))) / (select extract(epoch from '2026-06-21 14:34:00'::timestamp) - extract(epoch from '2026-06-21 14:33:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.68099 -2.781454)', '2026-06-21 14:34:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680963 -2.781426)'), GeomFromEWKT('SRID=4674;POINT (-39.68099 -2.781454)'))) / (select extract(epoch from '2026-06-21 14:34:03'::timestamp) - extract(epoch from '2026-06-21 14:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680963 -2.781426)'), GeomFromEWKT('SRID=4674;POINT (-39.68099 -2.781454)'))) / (select extract(epoch from '2026-06-21 14:34:03'::timestamp) - extract(epoch from '2026-06-21 14:34:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.680997 -2.781462)', '2026-06-21 14:34:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68099 -2.781454)'), GeomFromEWKT('SRID=4674;POINT (-39.680997 -2.781462)'))) / (select extract(epoch from '2026-06-21 14:34:04'::timestamp) - extract(epoch from '2026-06-21 14:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68099 -2.781454)'), GeomFromEWKT('SRID=4674;POINT (-39.680997 -2.781462)'))) / (select extract(epoch from '2026-06-21 14:34:04'::timestamp) - extract(epoch from '2026-06-21 14:34:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.681018 -2.781488)', '2026-06-21 14:34:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680997 -2.781462)'), GeomFromEWKT('SRID=4674;POINT (-39.681018 -2.781488)'))) / (select extract(epoch from '2026-06-21 14:34:07'::timestamp) - extract(epoch from '2026-06-21 14:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680997 -2.781462)'), GeomFromEWKT('SRID=4674;POINT (-39.681018 -2.781488)'))) / (select extract(epoch from '2026-06-21 14:34:07'::timestamp) - extract(epoch from '2026-06-21 14:34: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'), 46821, 'SRID=4674;POINT (-39.681059 -2.781541)', '2026-06-21 14:34:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681018 -2.781488)'), GeomFromEWKT('SRID=4674;POINT (-39.681059 -2.781541)'))) / (select extract(epoch from '2026-06-21 14:34:13'::timestamp) - extract(epoch from '2026-06-21 14:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681018 -2.781488)'), GeomFromEWKT('SRID=4674;POINT (-39.681059 -2.781541)'))) / (select extract(epoch from '2026-06-21 14:34:13'::timestamp) - extract(epoch from '2026-06-21 14:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.681103 -2.781603)', '2026-06-21 14:34:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681059 -2.781541)'), GeomFromEWKT('SRID=4674;POINT (-39.681103 -2.781603)'))) / (select extract(epoch from '2026-06-21 14:34:18'::timestamp) - extract(epoch from '2026-06-21 14:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681059 -2.781541)'), GeomFromEWKT('SRID=4674;POINT (-39.681103 -2.781603)'))) / (select extract(epoch from '2026-06-21 14:34:18'::timestamp) - extract(epoch from '2026-06-21 14:34: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'), 46821, 'SRID=4674;POINT (-39.68112 -2.781632)', '2026-06-21 14:34:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681103 -2.781603)'), GeomFromEWKT('SRID=4674;POINT (-39.68112 -2.781632)'))) / (select extract(epoch from '2026-06-21 14:34:20'::timestamp) - extract(epoch from '2026-06-21 14:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681103 -2.781603)'), GeomFromEWKT('SRID=4674;POINT (-39.68112 -2.781632)'))) / (select extract(epoch from '2026-06-21 14:34:20'::timestamp) - extract(epoch from '2026-06-21 14:34: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'), 46821, 'SRID=4674;POINT (-39.681143 -2.781662)', '2026-06-21 14:34:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68112 -2.781632)'), GeomFromEWKT('SRID=4674;POINT (-39.681143 -2.781662)'))) / (select extract(epoch from '2026-06-21 14:34:22'::timestamp) - extract(epoch from '2026-06-21 14:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68112 -2.781632)'), GeomFromEWKT('SRID=4674;POINT (-39.681143 -2.781662)'))) / (select extract(epoch from '2026-06-21 14:34:22'::timestamp) - extract(epoch from '2026-06-21 14:34: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'), 46821, 'SRID=4674;POINT (-39.681193 -2.781757)', '2026-06-21 14:34:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681143 -2.781662)'), GeomFromEWKT('SRID=4674;POINT (-39.681193 -2.781757)'))) / (select extract(epoch from '2026-06-21 14:34:28'::timestamp) - extract(epoch from '2026-06-21 14:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681143 -2.781662)'), GeomFromEWKT('SRID=4674;POINT (-39.681193 -2.781757)'))) / (select extract(epoch from '2026-06-21 14:34:28'::timestamp) - extract(epoch from '2026-06-21 14:34:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.68126 -2.781865)', '2026-06-21 14:34:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681193 -2.781757)'), GeomFromEWKT('SRID=4674;POINT (-39.68126 -2.781865)'))) / (select extract(epoch from '2026-06-21 14:34:34'::timestamp) - extract(epoch from '2026-06-21 14:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681193 -2.781757)'), GeomFromEWKT('SRID=4674;POINT (-39.68126 -2.781865)'))) / (select extract(epoch from '2026-06-21 14:34:34'::timestamp) - extract(epoch from '2026-06-21 14:34: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'), 46821, 'SRID=4674;POINT (-39.681327 -2.781973)', '2026-06-21 14:34:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68126 -2.781865)'), GeomFromEWKT('SRID=4674;POINT (-39.681327 -2.781973)'))) / (select extract(epoch from '2026-06-21 14:34:40'::timestamp) - extract(epoch from '2026-06-21 14:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68126 -2.781865)'), GeomFromEWKT('SRID=4674;POINT (-39.681327 -2.781973)'))) / (select extract(epoch from '2026-06-21 14:34:40'::timestamp) - extract(epoch from '2026-06-21 14:34: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'), 46821, 'SRID=4674;POINT (-39.681395 -2.782104)', '2026-06-21 14:34:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681327 -2.781973)'), GeomFromEWKT('SRID=4674;POINT (-39.681395 -2.782104)'))) / (select extract(epoch from '2026-06-21 14:34:47'::timestamp) - extract(epoch from '2026-06-21 14:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681327 -2.781973)'), GeomFromEWKT('SRID=4674;POINT (-39.681395 -2.782104)'))) / (select extract(epoch from '2026-06-21 14:34:47'::timestamp) - extract(epoch from '2026-06-21 14:34: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'), 46821, 'SRID=4674;POINT (-39.681443 -2.782197)', '2026-06-21 14:34:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681395 -2.782104)'), GeomFromEWKT('SRID=4674;POINT (-39.681443 -2.782197)'))) / (select extract(epoch from '2026-06-21 14:34:52'::timestamp) - extract(epoch from '2026-06-21 14:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681395 -2.782104)'), GeomFromEWKT('SRID=4674;POINT (-39.681443 -2.782197)'))) / (select extract(epoch from '2026-06-21 14:34:52'::timestamp) - extract(epoch from '2026-06-21 14:34:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.681489 -2.78228)', '2026-06-21 14:34:57', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681443 -2.782197)'), GeomFromEWKT('SRID=4674;POINT (-39.681489 -2.78228)'))) / (select extract(epoch from '2026-06-21 14:34:57'::timestamp) - extract(epoch from '2026-06-21 14:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681443 -2.782197)'), GeomFromEWKT('SRID=4674;POINT (-39.681489 -2.78228)'))) / (select extract(epoch from '2026-06-21 14:34:57'::timestamp) - extract(epoch from '2026-06-21 14:34:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.68153 -2.782373)', '2026-06-21 14:35:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681489 -2.78228)'), GeomFromEWKT('SRID=4674;POINT (-39.68153 -2.782373)'))) / (select extract(epoch from '2026-06-21 14:35:02'::timestamp) - extract(epoch from '2026-06-21 14:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681489 -2.78228)'), GeomFromEWKT('SRID=4674;POINT (-39.68153 -2.782373)'))) / (select extract(epoch from '2026-06-21 14:35:02'::timestamp) - extract(epoch from '2026-06-21 14:34:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.68159 -2.782473)', '2026-06-21 14:35:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68153 -2.782373)'), GeomFromEWKT('SRID=4674;POINT (-39.68159 -2.782473)'))) / (select extract(epoch from '2026-06-21 14:35:08'::timestamp) - extract(epoch from '2026-06-21 14:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68153 -2.782373)'), GeomFromEWKT('SRID=4674;POINT (-39.68159 -2.782473)'))) / (select extract(epoch from '2026-06-21 14:35:08'::timestamp) - extract(epoch from '2026-06-21 14:35:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.681639 -2.782562)', '2026-06-21 14:35:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68159 -2.782473)'), GeomFromEWKT('SRID=4674;POINT (-39.681639 -2.782562)'))) / (select extract(epoch from '2026-06-21 14:35:13'::timestamp) - extract(epoch from '2026-06-21 14:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68159 -2.782473)'), GeomFromEWKT('SRID=4674;POINT (-39.681639 -2.782562)'))) / (select extract(epoch from '2026-06-21 14:35:13'::timestamp) - extract(epoch from '2026-06-21 14:35:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.681692 -2.782669)', '2026-06-21 14:35:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681639 -2.782562)'), GeomFromEWKT('SRID=4674;POINT (-39.681692 -2.782669)'))) / (select extract(epoch from '2026-06-21 14:35:19'::timestamp) - extract(epoch from '2026-06-21 14:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681639 -2.782562)'), GeomFromEWKT('SRID=4674;POINT (-39.681692 -2.782669)'))) / (select extract(epoch from '2026-06-21 14:35:19'::timestamp) - extract(epoch from '2026-06-21 14:35: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'), 46821, 'SRID=4674;POINT (-39.681743 -2.782754)', '2026-06-21 14:35:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681692 -2.782669)'), GeomFromEWKT('SRID=4674;POINT (-39.681743 -2.782754)'))) / (select extract(epoch from '2026-06-21 14:35:24'::timestamp) - extract(epoch from '2026-06-21 14:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681692 -2.782669)'), GeomFromEWKT('SRID=4674;POINT (-39.681743 -2.782754)'))) / (select extract(epoch from '2026-06-21 14:35:24'::timestamp) - extract(epoch from '2026-06-21 14:35:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.681788 -2.78284)', '2026-06-21 14:35:29', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681743 -2.782754)'), GeomFromEWKT('SRID=4674;POINT (-39.681788 -2.78284)'))) / (select extract(epoch from '2026-06-21 14:35:29'::timestamp) - extract(epoch from '2026-06-21 14:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681743 -2.782754)'), GeomFromEWKT('SRID=4674;POINT (-39.681788 -2.78284)'))) / (select extract(epoch from '2026-06-21 14:35:29'::timestamp) - extract(epoch from '2026-06-21 14:35:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.681803 -2.782857)', '2026-06-21 14:35:30', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681788 -2.78284)'), GeomFromEWKT('SRID=4674;POINT (-39.681803 -2.782857)'))) / (select extract(epoch from '2026-06-21 14:35:30'::timestamp) - extract(epoch from '2026-06-21 14:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681788 -2.78284)'), GeomFromEWKT('SRID=4674;POINT (-39.681803 -2.782857)'))) / (select extract(epoch from '2026-06-21 14:35:30'::timestamp) - extract(epoch from '2026-06-21 14:35: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'), 46821, 'SRID=4674;POINT (-39.681814 -2.782875)', '2026-06-21 14:35:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681803 -2.782857)'), GeomFromEWKT('SRID=4674;POINT (-39.681814 -2.782875)'))) / (select extract(epoch from '2026-06-21 14:35:31'::timestamp) - extract(epoch from '2026-06-21 14:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681803 -2.782857)'), GeomFromEWKT('SRID=4674;POINT (-39.681814 -2.782875)'))) / (select extract(epoch from '2026-06-21 14:35:31'::timestamp) - extract(epoch from '2026-06-21 14:35:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.681838 -2.782929)', '2026-06-21 14:35:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681814 -2.782875)'), GeomFromEWKT('SRID=4674;POINT (-39.681838 -2.782929)'))) / (select extract(epoch from '2026-06-21 14:35:34'::timestamp) - extract(epoch from '2026-06-21 14:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681814 -2.782875)'), GeomFromEWKT('SRID=4674;POINT (-39.681838 -2.782929)'))) / (select extract(epoch from '2026-06-21 14:35:34'::timestamp) - extract(epoch from '2026-06-21 14:35: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'), 46821, 'SRID=4674;POINT (-39.681844 -2.782945)', '2026-06-21 14:35:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681838 -2.782929)'), GeomFromEWKT('SRID=4674;POINT (-39.681844 -2.782945)'))) / (select extract(epoch from '2026-06-21 14:35:35'::timestamp) - extract(epoch from '2026-06-21 14:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681838 -2.782929)'), GeomFromEWKT('SRID=4674;POINT (-39.681844 -2.782945)'))) / (select extract(epoch from '2026-06-21 14:35:35'::timestamp) - extract(epoch from '2026-06-21 14:35: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'), 46821, 'SRID=4674;POINT (-39.681872 -2.78299)', '2026-06-21 14:35:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681844 -2.782945)'), GeomFromEWKT('SRID=4674;POINT (-39.681872 -2.78299)'))) / (select extract(epoch from '2026-06-21 14:35:38'::timestamp) - extract(epoch from '2026-06-21 14:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681844 -2.782945)'), GeomFromEWKT('SRID=4674;POINT (-39.681872 -2.78299)'))) / (select extract(epoch from '2026-06-21 14:35:38'::timestamp) - extract(epoch from '2026-06-21 14:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.681914 -2.783055)', '2026-06-21 14:35:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681872 -2.78299)'), GeomFromEWKT('SRID=4674;POINT (-39.681914 -2.783055)'))) / (select extract(epoch from '2026-06-21 14:35:42'::timestamp) - extract(epoch from '2026-06-21 14:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681872 -2.78299)'), GeomFromEWKT('SRID=4674;POINT (-39.681914 -2.783055)'))) / (select extract(epoch from '2026-06-21 14:35:42'::timestamp) - extract(epoch from '2026-06-21 14:35: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'), 46821, 'SRID=4674;POINT (-39.681962 -2.783135)', '2026-06-21 14:35:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681914 -2.783055)'), GeomFromEWKT('SRID=4674;POINT (-39.681962 -2.783135)'))) / (select extract(epoch from '2026-06-21 14:35:47'::timestamp) - extract(epoch from '2026-06-21 14:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681914 -2.783055)'), GeomFromEWKT('SRID=4674;POINT (-39.681962 -2.783135)'))) / (select extract(epoch from '2026-06-21 14:35:47'::timestamp) - extract(epoch from '2026-06-21 14:35:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.68202 -2.783225)', '2026-06-21 14:35:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681962 -2.783135)'), GeomFromEWKT('SRID=4674;POINT (-39.68202 -2.783225)'))) / (select extract(epoch from '2026-06-21 14:35:52'::timestamp) - extract(epoch from '2026-06-21 14:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681962 -2.783135)'), GeomFromEWKT('SRID=4674;POINT (-39.68202 -2.783225)'))) / (select extract(epoch from '2026-06-21 14:35:52'::timestamp) - extract(epoch from '2026-06-21 14:35:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.682075 -2.783332)', '2026-06-21 14:35:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68202 -2.783225)'), GeomFromEWKT('SRID=4674;POINT (-39.682075 -2.783332)'))) / (select extract(epoch from '2026-06-21 14:35:58'::timestamp) - extract(epoch from '2026-06-21 14:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68202 -2.783225)'), GeomFromEWKT('SRID=4674;POINT (-39.682075 -2.783332)'))) / (select extract(epoch from '2026-06-21 14:35:58'::timestamp) - extract(epoch from '2026-06-21 14:35: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'), 46821, 'SRID=4674;POINT (-39.682136 -2.78343)', '2026-06-21 14:36:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682075 -2.783332)'), GeomFromEWKT('SRID=4674;POINT (-39.682136 -2.78343)'))) / (select extract(epoch from '2026-06-21 14:36:03'::timestamp) - extract(epoch from '2026-06-21 14:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682075 -2.783332)'), GeomFromEWKT('SRID=4674;POINT (-39.682136 -2.78343)'))) / (select extract(epoch from '2026-06-21 14:36:03'::timestamp) - extract(epoch from '2026-06-21 14:35: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'), 46821, 'SRID=4674;POINT (-39.682193 -2.783537)', '2026-06-21 14:36:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682136 -2.78343)'), GeomFromEWKT('SRID=4674;POINT (-39.682193 -2.783537)'))) / (select extract(epoch from '2026-06-21 14:36:09'::timestamp) - extract(epoch from '2026-06-21 14:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682136 -2.78343)'), GeomFromEWKT('SRID=4674;POINT (-39.682193 -2.783537)'))) / (select extract(epoch from '2026-06-21 14:36:09'::timestamp) - extract(epoch from '2026-06-21 14:36: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'), 46821, 'SRID=4674;POINT (-39.682234 -2.783609)', '2026-06-21 14:36:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682193 -2.783537)'), GeomFromEWKT('SRID=4674;POINT (-39.682234 -2.783609)'))) / (select extract(epoch from '2026-06-21 14:36:13'::timestamp) - extract(epoch from '2026-06-21 14:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682193 -2.783537)'), GeomFromEWKT('SRID=4674;POINT (-39.682234 -2.783609)'))) / (select extract(epoch from '2026-06-21 14:36:13'::timestamp) - extract(epoch from '2026-06-21 14:36: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'), 46821, 'SRID=4674;POINT (-39.682294 -2.783717)', '2026-06-21 14:36:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682234 -2.783609)'), GeomFromEWKT('SRID=4674;POINT (-39.682294 -2.783717)'))) / (select extract(epoch from '2026-06-21 14:36:19'::timestamp) - extract(epoch from '2026-06-21 14:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682234 -2.783609)'), GeomFromEWKT('SRID=4674;POINT (-39.682294 -2.783717)'))) / (select extract(epoch from '2026-06-21 14:36:19'::timestamp) - extract(epoch from '2026-06-21 14:36:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.682354 -2.78382)', '2026-06-21 14:36:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682294 -2.783717)'), GeomFromEWKT('SRID=4674;POINT (-39.682354 -2.78382)'))) / (select extract(epoch from '2026-06-21 14:36:25'::timestamp) - extract(epoch from '2026-06-21 14:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682294 -2.783717)'), GeomFromEWKT('SRID=4674;POINT (-39.682354 -2.78382)'))) / (select extract(epoch from '2026-06-21 14:36:25'::timestamp) - extract(epoch from '2026-06-21 14:36: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'), 46821, 'SRID=4674;POINT (-39.682417 -2.78393)', '2026-06-21 14:36:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682354 -2.78382)'), GeomFromEWKT('SRID=4674;POINT (-39.682417 -2.78393)'))) / (select extract(epoch from '2026-06-21 14:36:31'::timestamp) - extract(epoch from '2026-06-21 14:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682354 -2.78382)'), GeomFromEWKT('SRID=4674;POINT (-39.682417 -2.78393)'))) / (select extract(epoch from '2026-06-21 14:36:31'::timestamp) - extract(epoch from '2026-06-21 14:36: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'), 46821, 'SRID=4674;POINT (-39.682492 -2.784094)', '2026-06-21 14:36:40', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682417 -2.78393)'), GeomFromEWKT('SRID=4674;POINT (-39.682492 -2.784094)'))) / (select extract(epoch from '2026-06-21 14:36:40'::timestamp) - extract(epoch from '2026-06-21 14:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682417 -2.78393)'), GeomFromEWKT('SRID=4674;POINT (-39.682492 -2.784094)'))) / (select extract(epoch from '2026-06-21 14:36:40'::timestamp) - extract(epoch from '2026-06-21 14:36: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'), 46821, 'SRID=4674;POINT (-39.682558 -2.784215)', '2026-06-21 14:36:47', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682492 -2.784094)'), GeomFromEWKT('SRID=4674;POINT (-39.682558 -2.784215)'))) / (select extract(epoch from '2026-06-21 14:36:47'::timestamp) - extract(epoch from '2026-06-21 14:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682492 -2.784094)'), GeomFromEWKT('SRID=4674;POINT (-39.682558 -2.784215)'))) / (select extract(epoch from '2026-06-21 14:36:47'::timestamp) - extract(epoch from '2026-06-21 14:36: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'), 46821, 'SRID=4674;POINT (-39.682629 -2.784335)', '2026-06-21 14:36:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682558 -2.784215)'), GeomFromEWKT('SRID=4674;POINT (-39.682629 -2.784335)'))) / (select extract(epoch from '2026-06-21 14:36:54'::timestamp) - extract(epoch from '2026-06-21 14:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682558 -2.784215)'), GeomFromEWKT('SRID=4674;POINT (-39.682629 -2.784335)'))) / (select extract(epoch from '2026-06-21 14:36:54'::timestamp) - extract(epoch from '2026-06-21 14:36:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.682689 -2.784437)', '2026-06-21 14:37:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682629 -2.784335)'), GeomFromEWKT('SRID=4674;POINT (-39.682689 -2.784437)'))) / (select extract(epoch from '2026-06-21 14:37:00'::timestamp) - extract(epoch from '2026-06-21 14:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682629 -2.784335)'), GeomFromEWKT('SRID=4674;POINT (-39.682689 -2.784437)'))) / (select extract(epoch from '2026-06-21 14:37:00'::timestamp) - extract(epoch from '2026-06-21 14:36:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.682749 -2.784548)', '2026-06-21 14:37:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682689 -2.784437)'), GeomFromEWKT('SRID=4674;POINT (-39.682749 -2.784548)'))) / (select extract(epoch from '2026-06-21 14:37:06'::timestamp) - extract(epoch from '2026-06-21 14:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682689 -2.784437)'), GeomFromEWKT('SRID=4674;POINT (-39.682749 -2.784548)'))) / (select extract(epoch from '2026-06-21 14:37:06'::timestamp) - extract(epoch from '2026-06-21 14:37: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'), 46821, 'SRID=4674;POINT (-39.68282 -2.784674)', '2026-06-21 14:37:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682749 -2.784548)'), GeomFromEWKT('SRID=4674;POINT (-39.68282 -2.784674)'))) / (select extract(epoch from '2026-06-21 14:37:13'::timestamp) - extract(epoch from '2026-06-21 14:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682749 -2.784548)'), GeomFromEWKT('SRID=4674;POINT (-39.68282 -2.784674)'))) / (select extract(epoch from '2026-06-21 14:37:13'::timestamp) - extract(epoch from '2026-06-21 14:37:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.68283 -2.784692)', '2026-06-21 14:37:14', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68282 -2.784674)'), GeomFromEWKT('SRID=4674;POINT (-39.68283 -2.784692)'))) / (select extract(epoch from '2026-06-21 14:37:14'::timestamp) - extract(epoch from '2026-06-21 14:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68282 -2.784674)'), GeomFromEWKT('SRID=4674;POINT (-39.68283 -2.784692)'))) / (select extract(epoch from '2026-06-21 14:37:14'::timestamp) - extract(epoch from '2026-06-21 14:37:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.682856 -2.784744)', '2026-06-21 14:37:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68283 -2.784692)'), GeomFromEWKT('SRID=4674;POINT (-39.682856 -2.784744)'))) / (select extract(epoch from '2026-06-21 14:37:17'::timestamp) - extract(epoch from '2026-06-21 14:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68283 -2.784692)'), GeomFromEWKT('SRID=4674;POINT (-39.682856 -2.784744)'))) / (select extract(epoch from '2026-06-21 14:37:17'::timestamp) - extract(epoch from '2026-06-21 14:37: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'), 46821, 'SRID=4674;POINT (-39.682864 -2.784763)', '2026-06-21 14:37:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682856 -2.784744)'), GeomFromEWKT('SRID=4674;POINT (-39.682864 -2.784763)'))) / (select extract(epoch from '2026-06-21 14:37:18'::timestamp) - extract(epoch from '2026-06-21 14:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682856 -2.784744)'), GeomFromEWKT('SRID=4674;POINT (-39.682864 -2.784763)'))) / (select extract(epoch from '2026-06-21 14:37:18'::timestamp) - extract(epoch from '2026-06-21 14:37:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.682899 -2.784813)', '2026-06-21 14:37:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682864 -2.784763)'), GeomFromEWKT('SRID=4674;POINT (-39.682899 -2.784813)'))) / (select extract(epoch from '2026-06-21 14:37:21'::timestamp) - extract(epoch from '2026-06-21 14:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682864 -2.784763)'), GeomFromEWKT('SRID=4674;POINT (-39.682899 -2.784813)'))) / (select extract(epoch from '2026-06-21 14:37:21'::timestamp) - extract(epoch from '2026-06-21 14:37: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'), 46821, 'SRID=4674;POINT (-39.682904 -2.784831)', '2026-06-21 14:37:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682899 -2.784813)'), GeomFromEWKT('SRID=4674;POINT (-39.682904 -2.784831)'))) / (select extract(epoch from '2026-06-21 14:37:22'::timestamp) - extract(epoch from '2026-06-21 14:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682899 -2.784813)'), GeomFromEWKT('SRID=4674;POINT (-39.682904 -2.784831)'))) / (select extract(epoch from '2026-06-21 14:37:22'::timestamp) - extract(epoch from '2026-06-21 14:37:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.682936 -2.784887)', '2026-06-21 14:37:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682904 -2.784831)'), GeomFromEWKT('SRID=4674;POINT (-39.682936 -2.784887)'))) / (select extract(epoch from '2026-06-21 14:37:25'::timestamp) - extract(epoch from '2026-06-21 14:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682904 -2.784831)'), GeomFromEWKT('SRID=4674;POINT (-39.682936 -2.784887)'))) / (select extract(epoch from '2026-06-21 14:37:25'::timestamp) - extract(epoch from '2026-06-21 14:37:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.683006 -2.784993)', '2026-06-21 14:37:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682936 -2.784887)'), GeomFromEWKT('SRID=4674;POINT (-39.683006 -2.784993)'))) / (select extract(epoch from '2026-06-21 14:37:31'::timestamp) - extract(epoch from '2026-06-21 14:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682936 -2.784887)'), GeomFromEWKT('SRID=4674;POINT (-39.683006 -2.784993)'))) / (select extract(epoch from '2026-06-21 14:37:31'::timestamp) - extract(epoch from '2026-06-21 14:37: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'), 46821, 'SRID=4674;POINT (-39.683057 -2.785065)', '2026-06-21 14:37:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683006 -2.784993)'), GeomFromEWKT('SRID=4674;POINT (-39.683057 -2.785065)'))) / (select extract(epoch from '2026-06-21 14:37:36'::timestamp) - extract(epoch from '2026-06-21 14:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683006 -2.784993)'), GeomFromEWKT('SRID=4674;POINT (-39.683057 -2.785065)'))) / (select extract(epoch from '2026-06-21 14:37:36'::timestamp) - extract(epoch from '2026-06-21 14:37: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'), 46821, 'SRID=4674;POINT (-39.683125 -2.785154)', '2026-06-21 14:37:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683057 -2.785065)'), GeomFromEWKT('SRID=4674;POINT (-39.683125 -2.785154)'))) / (select extract(epoch from '2026-06-21 14:37:42'::timestamp) - extract(epoch from '2026-06-21 14:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683057 -2.785065)'), GeomFromEWKT('SRID=4674;POINT (-39.683125 -2.785154)'))) / (select extract(epoch from '2026-06-21 14:37:42'::timestamp) - extract(epoch from '2026-06-21 14:37: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'), 46821, 'SRID=4674;POINT (-39.683161 -2.785211)', '2026-06-21 14:37:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683125 -2.785154)'), GeomFromEWKT('SRID=4674;POINT (-39.683161 -2.785211)'))) / (select extract(epoch from '2026-06-21 14:37:46'::timestamp) - extract(epoch from '2026-06-21 14:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683125 -2.785154)'), GeomFromEWKT('SRID=4674;POINT (-39.683161 -2.785211)'))) / (select extract(epoch from '2026-06-21 14:37:46'::timestamp) - extract(epoch from '2026-06-21 14:37: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'), 46821, 'SRID=4674;POINT (-39.683176 -2.785224)', '2026-06-21 14:37:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683161 -2.785211)'), GeomFromEWKT('SRID=4674;POINT (-39.683176 -2.785224)'))) / (select extract(epoch from '2026-06-21 14:37:47'::timestamp) - extract(epoch from '2026-06-21 14:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683161 -2.785211)'), GeomFromEWKT('SRID=4674;POINT (-39.683176 -2.785224)'))) / (select extract(epoch from '2026-06-21 14:37:47'::timestamp) - extract(epoch from '2026-06-21 14:37: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'), 46821, 'SRID=4674;POINT (-39.683242 -2.785308)', '2026-06-21 14:37:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683176 -2.785224)'), GeomFromEWKT('SRID=4674;POINT (-39.683242 -2.785308)'))) / (select extract(epoch from '2026-06-21 14:37:52'::timestamp) - extract(epoch from '2026-06-21 14:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683176 -2.785224)'), GeomFromEWKT('SRID=4674;POINT (-39.683242 -2.785308)'))) / (select extract(epoch from '2026-06-21 14:37:52'::timestamp) - extract(epoch from '2026-06-21 14:37: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'), 46821, 'SRID=4674;POINT (-39.683317 -2.785418)', '2026-06-21 14:37:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683242 -2.785308)'), GeomFromEWKT('SRID=4674;POINT (-39.683317 -2.785418)'))) / (select extract(epoch from '2026-06-21 14:37:59'::timestamp) - extract(epoch from '2026-06-21 14:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683242 -2.785308)'), GeomFromEWKT('SRID=4674;POINT (-39.683317 -2.785418)'))) / (select extract(epoch from '2026-06-21 14:37:59'::timestamp) - extract(epoch from '2026-06-21 14:37: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'), 46821, 'SRID=4674;POINT (-39.683378 -2.785513)', '2026-06-21 14:38:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683317 -2.785418)'), GeomFromEWKT('SRID=4674;POINT (-39.683378 -2.785513)'))) / (select extract(epoch from '2026-06-21 14:38:05'::timestamp) - extract(epoch from '2026-06-21 14:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683317 -2.785418)'), GeomFromEWKT('SRID=4674;POINT (-39.683378 -2.785513)'))) / (select extract(epoch from '2026-06-21 14:38:05'::timestamp) - extract(epoch from '2026-06-21 14:37: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'), 46821, 'SRID=4674;POINT (-39.683456 -2.785634)', '2026-06-21 14:38:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683378 -2.785513)'), GeomFromEWKT('SRID=4674;POINT (-39.683456 -2.785634)'))) / (select extract(epoch from '2026-06-21 14:38:12'::timestamp) - extract(epoch from '2026-06-21 14:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683378 -2.785513)'), GeomFromEWKT('SRID=4674;POINT (-39.683456 -2.785634)'))) / (select extract(epoch from '2026-06-21 14:38:12'::timestamp) - extract(epoch from '2026-06-21 14:38: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'), 46821, 'SRID=4674;POINT (-39.683505 -2.785717)', '2026-06-21 14:38:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683456 -2.785634)'), GeomFromEWKT('SRID=4674;POINT (-39.683505 -2.785717)'))) / (select extract(epoch from '2026-06-21 14:38:17'::timestamp) - extract(epoch from '2026-06-21 14:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683456 -2.785634)'), GeomFromEWKT('SRID=4674;POINT (-39.683505 -2.785717)'))) / (select extract(epoch from '2026-06-21 14:38:17'::timestamp) - extract(epoch from '2026-06-21 14:38:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.683541 -2.785787)', '2026-06-21 14:38:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683505 -2.785717)'), GeomFromEWKT('SRID=4674;POINT (-39.683541 -2.785787)'))) / (select extract(epoch from '2026-06-21 14:38:21'::timestamp) - extract(epoch from '2026-06-21 14:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683505 -2.785717)'), GeomFromEWKT('SRID=4674;POINT (-39.683541 -2.785787)'))) / (select extract(epoch from '2026-06-21 14:38:21'::timestamp) - extract(epoch from '2026-06-21 14:38: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'), 46821, 'SRID=4674;POINT (-39.683557 -2.785804)', '2026-06-21 14:38:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683541 -2.785787)'), GeomFromEWKT('SRID=4674;POINT (-39.683557 -2.785804)'))) / (select extract(epoch from '2026-06-21 14:38:22'::timestamp) - extract(epoch from '2026-06-21 14:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683541 -2.785787)'), GeomFromEWKT('SRID=4674;POINT (-39.683557 -2.785804)'))) / (select extract(epoch from '2026-06-21 14:38:22'::timestamp) - extract(epoch from '2026-06-21 14:38: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'), 46821, 'SRID=4674;POINT (-39.683606 -2.785881)', '2026-06-21 14:38:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683557 -2.785804)'), GeomFromEWKT('SRID=4674;POINT (-39.683606 -2.785881)'))) / (select extract(epoch from '2026-06-21 14:38:27'::timestamp) - extract(epoch from '2026-06-21 14:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683557 -2.785804)'), GeomFromEWKT('SRID=4674;POINT (-39.683606 -2.785881)'))) / (select extract(epoch from '2026-06-21 14:38:27'::timestamp) - extract(epoch from '2026-06-21 14:38: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'), 46821, 'SRID=4674;POINT (-39.683658 -2.785974)', '2026-06-21 14:38:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683606 -2.785881)'), GeomFromEWKT('SRID=4674;POINT (-39.683658 -2.785974)'))) / (select extract(epoch from '2026-06-21 14:38:32'::timestamp) - extract(epoch from '2026-06-21 14:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683606 -2.785881)'), GeomFromEWKT('SRID=4674;POINT (-39.683658 -2.785974)'))) / (select extract(epoch from '2026-06-21 14:38:32'::timestamp) - extract(epoch from '2026-06-21 14:38: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'), 46821, 'SRID=4674;POINT (-39.683722 -2.786076)', '2026-06-21 14:38:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683658 -2.785974)'), GeomFromEWKT('SRID=4674;POINT (-39.683722 -2.786076)'))) / (select extract(epoch from '2026-06-21 14:38:38'::timestamp) - extract(epoch from '2026-06-21 14:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683658 -2.785974)'), GeomFromEWKT('SRID=4674;POINT (-39.683722 -2.786076)'))) / (select extract(epoch from '2026-06-21 14:38:38'::timestamp) - extract(epoch from '2026-06-21 14:38: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'), 46821, 'SRID=4674;POINT (-39.683793 -2.786191)', '2026-06-21 14:38:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683722 -2.786076)'), GeomFromEWKT('SRID=4674;POINT (-39.683793 -2.786191)'))) / (select extract(epoch from '2026-06-21 14:38:45'::timestamp) - extract(epoch from '2026-06-21 14:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683722 -2.786076)'), GeomFromEWKT('SRID=4674;POINT (-39.683793 -2.786191)'))) / (select extract(epoch from '2026-06-21 14:38:45'::timestamp) - extract(epoch from '2026-06-21 14:38:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.683857 -2.786293)', '2026-06-21 14:38:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683793 -2.786191)'), GeomFromEWKT('SRID=4674;POINT (-39.683857 -2.786293)'))) / (select extract(epoch from '2026-06-21 14:38:51'::timestamp) - extract(epoch from '2026-06-21 14:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683793 -2.786191)'), GeomFromEWKT('SRID=4674;POINT (-39.683857 -2.786293)'))) / (select extract(epoch from '2026-06-21 14:38:51'::timestamp) - extract(epoch from '2026-06-21 14:38:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.683894 -2.786364)', '2026-06-21 14:38:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683857 -2.786293)'), GeomFromEWKT('SRID=4674;POINT (-39.683894 -2.786364)'))) / (select extract(epoch from '2026-06-21 14:38:55'::timestamp) - extract(epoch from '2026-06-21 14:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683857 -2.786293)'), GeomFromEWKT('SRID=4674;POINT (-39.683894 -2.786364)'))) / (select extract(epoch from '2026-06-21 14:38:55'::timestamp) - extract(epoch from '2026-06-21 14:38: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'), 46821, 'SRID=4674;POINT (-39.683911 -2.786382)', '2026-06-21 14:38:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683894 -2.786364)'), GeomFromEWKT('SRID=4674;POINT (-39.683911 -2.786382)'))) / (select extract(epoch from '2026-06-21 14:38:56'::timestamp) - extract(epoch from '2026-06-21 14:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683894 -2.786364)'), GeomFromEWKT('SRID=4674;POINT (-39.683911 -2.786382)'))) / (select extract(epoch from '2026-06-21 14:38:56'::timestamp) - extract(epoch from '2026-06-21 14:38:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.683945 -2.786441)', '2026-06-21 14:39:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683911 -2.786382)'), GeomFromEWKT('SRID=4674;POINT (-39.683945 -2.786441)'))) / (select extract(epoch from '2026-06-21 14:39:00'::timestamp) - extract(epoch from '2026-06-21 14:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683911 -2.786382)'), GeomFromEWKT('SRID=4674;POINT (-39.683945 -2.786441)'))) / (select extract(epoch from '2026-06-21 14:39:00'::timestamp) - extract(epoch from '2026-06-21 14:38:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.683982 -2.786511)', '2026-06-21 14:39:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683945 -2.786441)'), GeomFromEWKT('SRID=4674;POINT (-39.683982 -2.786511)'))) / (select extract(epoch from '2026-06-21 14:39:04'::timestamp) - extract(epoch from '2026-06-21 14:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683945 -2.786441)'), GeomFromEWKT('SRID=4674;POINT (-39.683982 -2.786511)'))) / (select extract(epoch from '2026-06-21 14:39:04'::timestamp) - extract(epoch from '2026-06-21 14:39: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'), 46821, 'SRID=4674;POINT (-39.684005 -2.786548)', '2026-06-21 14:39:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683982 -2.786511)'), GeomFromEWKT('SRID=4674;POINT (-39.684005 -2.786548)'))) / (select extract(epoch from '2026-06-21 14:39:06'::timestamp) - extract(epoch from '2026-06-21 14:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683982 -2.786511)'), GeomFromEWKT('SRID=4674;POINT (-39.684005 -2.786548)'))) / (select extract(epoch from '2026-06-21 14:39:06'::timestamp) - extract(epoch from '2026-06-21 14:39: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'), 46821, 'SRID=4674;POINT (-39.684065 -2.786648)', '2026-06-21 14:39:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684005 -2.786548)'), GeomFromEWKT('SRID=4674;POINT (-39.684065 -2.786648)'))) / (select extract(epoch from '2026-06-21 14:39:12'::timestamp) - extract(epoch from '2026-06-21 14:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684005 -2.786548)'), GeomFromEWKT('SRID=4674;POINT (-39.684065 -2.786648)'))) / (select extract(epoch from '2026-06-21 14:39:12'::timestamp) - extract(epoch from '2026-06-21 14:39:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.684121 -2.786721)', '2026-06-21 14:39:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684065 -2.786648)'), GeomFromEWKT('SRID=4674;POINT (-39.684121 -2.786721)'))) / (select extract(epoch from '2026-06-21 14:39:16'::timestamp) - extract(epoch from '2026-06-21 14:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684065 -2.786648)'), GeomFromEWKT('SRID=4674;POINT (-39.684121 -2.786721)'))) / (select extract(epoch from '2026-06-21 14:39:16'::timestamp) - extract(epoch from '2026-06-21 14:39:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.684132 -2.78674)', '2026-06-21 14:39:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684121 -2.786721)'), GeomFromEWKT('SRID=4674;POINT (-39.684132 -2.78674)'))) / (select extract(epoch from '2026-06-21 14:39:17'::timestamp) - extract(epoch from '2026-06-21 14:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684121 -2.786721)'), GeomFromEWKT('SRID=4674;POINT (-39.684132 -2.78674)'))) / (select extract(epoch from '2026-06-21 14:39:17'::timestamp) - extract(epoch from '2026-06-21 14:39: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'), 46821, 'SRID=4674;POINT (-39.6842 -2.786855)', '2026-06-21 14:39:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684132 -2.78674)'), GeomFromEWKT('SRID=4674;POINT (-39.6842 -2.786855)'))) / (select extract(epoch from '2026-06-21 14:39:24'::timestamp) - extract(epoch from '2026-06-21 14:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684132 -2.78674)'), GeomFromEWKT('SRID=4674;POINT (-39.6842 -2.786855)'))) / (select extract(epoch from '2026-06-21 14:39:24'::timestamp) - extract(epoch from '2026-06-21 14:39:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.684243 -2.786942)', '2026-06-21 14:39:29', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6842 -2.786855)'), GeomFromEWKT('SRID=4674;POINT (-39.684243 -2.786942)'))) / (select extract(epoch from '2026-06-21 14:39:29'::timestamp) - extract(epoch from '2026-06-21 14:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6842 -2.786855)'), GeomFromEWKT('SRID=4674;POINT (-39.684243 -2.786942)'))) / (select extract(epoch from '2026-06-21 14:39:29'::timestamp) - extract(epoch from '2026-06-21 14:39: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'), 46821, 'SRID=4674;POINT (-39.68429 -2.787031)', '2026-06-21 14:39:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684243 -2.786942)'), GeomFromEWKT('SRID=4674;POINT (-39.68429 -2.787031)'))) / (select extract(epoch from '2026-06-21 14:39:34'::timestamp) - extract(epoch from '2026-06-21 14:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684243 -2.786942)'), GeomFromEWKT('SRID=4674;POINT (-39.68429 -2.787031)'))) / (select extract(epoch from '2026-06-21 14:39:34'::timestamp) - extract(epoch from '2026-06-21 14:39:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.684296 -2.787048)', '2026-06-21 14:39:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68429 -2.787031)'), GeomFromEWKT('SRID=4674;POINT (-39.684296 -2.787048)'))) / (select extract(epoch from '2026-06-21 14:39:35'::timestamp) - extract(epoch from '2026-06-21 14:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68429 -2.787031)'), GeomFromEWKT('SRID=4674;POINT (-39.684296 -2.787048)'))) / (select extract(epoch from '2026-06-21 14:39:35'::timestamp) - extract(epoch from '2026-06-21 14:39: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'), 46821, 'SRID=4674;POINT (-39.684341 -2.787135)', '2026-06-21 14:39:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684296 -2.787048)'), GeomFromEWKT('SRID=4674;POINT (-39.684341 -2.787135)'))) / (select extract(epoch from '2026-06-21 14:39:40'::timestamp) - extract(epoch from '2026-06-21 14:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684296 -2.787048)'), GeomFromEWKT('SRID=4674;POINT (-39.684341 -2.787135)'))) / (select extract(epoch from '2026-06-21 14:39:40'::timestamp) - extract(epoch from '2026-06-21 14:39: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'), 46821, 'SRID=4674;POINT (-39.684401 -2.787267)', '2026-06-21 14:39:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684341 -2.787135)'), GeomFromEWKT('SRID=4674;POINT (-39.684401 -2.787267)'))) / (select extract(epoch from '2026-06-21 14:39:47'::timestamp) - extract(epoch from '2026-06-21 14:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684341 -2.787135)'), GeomFromEWKT('SRID=4674;POINT (-39.684401 -2.787267)'))) / (select extract(epoch from '2026-06-21 14:39:47'::timestamp) - extract(epoch from '2026-06-21 14:39:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.684461 -2.787369)', '2026-06-21 14:39:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684401 -2.787267)'), GeomFromEWKT('SRID=4674;POINT (-39.684461 -2.787369)'))) / (select extract(epoch from '2026-06-21 14:39:53'::timestamp) - extract(epoch from '2026-06-21 14:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684401 -2.787267)'), GeomFromEWKT('SRID=4674;POINT (-39.684461 -2.787369)'))) / (select extract(epoch from '2026-06-21 14:39:53'::timestamp) - extract(epoch from '2026-06-21 14:39: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'), 46821, 'SRID=4674;POINT (-39.684522 -2.787451)', '2026-06-21 14:39:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684461 -2.787369)'), GeomFromEWKT('SRID=4674;POINT (-39.684522 -2.787451)'))) / (select extract(epoch from '2026-06-21 14:39:58'::timestamp) - extract(epoch from '2026-06-21 14:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684461 -2.787369)'), GeomFromEWKT('SRID=4674;POINT (-39.684522 -2.787451)'))) / (select extract(epoch from '2026-06-21 14:39:58'::timestamp) - extract(epoch from '2026-06-21 14:39:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.684596 -2.787557)', '2026-06-21 14:40:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684522 -2.787451)'), GeomFromEWKT('SRID=4674;POINT (-39.684596 -2.787557)'))) / (select extract(epoch from '2026-06-21 14:40:04'::timestamp) - extract(epoch from '2026-06-21 14:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684522 -2.787451)'), GeomFromEWKT('SRID=4674;POINT (-39.684596 -2.787557)'))) / (select extract(epoch from '2026-06-21 14:40:04'::timestamp) - extract(epoch from '2026-06-21 14:39: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'), 46821, 'SRID=4674;POINT (-39.684671 -2.787664)', '2026-06-21 14:40:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684596 -2.787557)'), GeomFromEWKT('SRID=4674;POINT (-39.684671 -2.787664)'))) / (select extract(epoch from '2026-06-21 14:40:10'::timestamp) - extract(epoch from '2026-06-21 14:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684596 -2.787557)'), GeomFromEWKT('SRID=4674;POINT (-39.684671 -2.787664)'))) / (select extract(epoch from '2026-06-21 14:40:10'::timestamp) - extract(epoch from '2026-06-21 14:40:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.684747 -2.78777)', '2026-06-21 14:40:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684671 -2.787664)'), GeomFromEWKT('SRID=4674;POINT (-39.684747 -2.78777)'))) / (select extract(epoch from '2026-06-21 14:40:16'::timestamp) - extract(epoch from '2026-06-21 14:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684671 -2.787664)'), GeomFromEWKT('SRID=4674;POINT (-39.684747 -2.78777)'))) / (select extract(epoch from '2026-06-21 14:40:16'::timestamp) - extract(epoch from '2026-06-21 14:40:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.684835 -2.787898)', '2026-06-21 14:40:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684747 -2.78777)'), GeomFromEWKT('SRID=4674;POINT (-39.684835 -2.787898)'))) / (select extract(epoch from '2026-06-21 14:40:23'::timestamp) - extract(epoch from '2026-06-21 14:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684747 -2.78777)'), GeomFromEWKT('SRID=4674;POINT (-39.684835 -2.787898)'))) / (select extract(epoch from '2026-06-21 14:40:23'::timestamp) - extract(epoch from '2026-06-21 14:40: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'), 46821, 'SRID=4674;POINT (-39.684897 -2.787996)', '2026-06-21 14:40:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684835 -2.787898)'), GeomFromEWKT('SRID=4674;POINT (-39.684897 -2.787996)'))) / (select extract(epoch from '2026-06-21 14:40:28'::timestamp) - extract(epoch from '2026-06-21 14:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684835 -2.787898)'), GeomFromEWKT('SRID=4674;POINT (-39.684897 -2.787996)'))) / (select extract(epoch from '2026-06-21 14:40:28'::timestamp) - extract(epoch from '2026-06-21 14:40: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'), 46821, 'SRID=4674;POINT (-39.684903 -2.788012)', '2026-06-21 14:40:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684897 -2.787996)'), GeomFromEWKT('SRID=4674;POINT (-39.684903 -2.788012)'))) / (select extract(epoch from '2026-06-21 14:40:29'::timestamp) - extract(epoch from '2026-06-21 14:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684897 -2.787996)'), GeomFromEWKT('SRID=4674;POINT (-39.684903 -2.788012)'))) / (select extract(epoch from '2026-06-21 14:40:29'::timestamp) - extract(epoch from '2026-06-21 14:40: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'), 46821, 'SRID=4674;POINT (-39.684962 -2.788113)', '2026-06-21 14:40:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684903 -2.788012)'), GeomFromEWKT('SRID=4674;POINT (-39.684962 -2.788113)'))) / (select extract(epoch from '2026-06-21 14:40:34'::timestamp) - extract(epoch from '2026-06-21 14:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684903 -2.788012)'), GeomFromEWKT('SRID=4674;POINT (-39.684962 -2.788113)'))) / (select extract(epoch from '2026-06-21 14:40:34'::timestamp) - extract(epoch from '2026-06-21 14:40: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'), 46821, 'SRID=4674;POINT (-39.68498 -2.788147)', '2026-06-21 14:40:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684962 -2.788113)'), GeomFromEWKT('SRID=4674;POINT (-39.68498 -2.788147)'))) / (select extract(epoch from '2026-06-21 14:40:36'::timestamp) - extract(epoch from '2026-06-21 14:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684962 -2.788113)'), GeomFromEWKT('SRID=4674;POINT (-39.68498 -2.788147)'))) / (select extract(epoch from '2026-06-21 14:40:36'::timestamp) - extract(epoch from '2026-06-21 14:40: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'), 46821, 'SRID=4674;POINT (-39.685017 -2.788181)', '2026-06-21 14:40:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68498 -2.788147)'), GeomFromEWKT('SRID=4674;POINT (-39.685017 -2.788181)'))) / (select extract(epoch from '2026-06-21 14:40:38'::timestamp) - extract(epoch from '2026-06-21 14:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68498 -2.788147)'), GeomFromEWKT('SRID=4674;POINT (-39.685017 -2.788181)'))) / (select extract(epoch from '2026-06-21 14:40:38'::timestamp) - extract(epoch from '2026-06-21 14:40:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.685063 -2.788265)', '2026-06-21 14:40:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685017 -2.788181)'), GeomFromEWKT('SRID=4674;POINT (-39.685063 -2.788265)'))) / (select extract(epoch from '2026-06-21 14:40:43'::timestamp) - extract(epoch from '2026-06-21 14:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685017 -2.788181)'), GeomFromEWKT('SRID=4674;POINT (-39.685063 -2.788265)'))) / (select extract(epoch from '2026-06-21 14:40:43'::timestamp) - extract(epoch from '2026-06-21 14:40:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.685145 -2.788393)', '2026-06-21 14:40:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685063 -2.788265)'), GeomFromEWKT('SRID=4674;POINT (-39.685145 -2.788393)'))) / (select extract(epoch from '2026-06-21 14:40:50'::timestamp) - extract(epoch from '2026-06-21 14:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685063 -2.788265)'), GeomFromEWKT('SRID=4674;POINT (-39.685145 -2.788393)'))) / (select extract(epoch from '2026-06-21 14:40:50'::timestamp) - extract(epoch from '2026-06-21 14:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.685191 -2.788504)', '2026-06-21 14:40:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685145 -2.788393)'), GeomFromEWKT('SRID=4674;POINT (-39.685191 -2.788504)'))) / (select extract(epoch from '2026-06-21 14:40:56'::timestamp) - extract(epoch from '2026-06-21 14:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685145 -2.788393)'), GeomFromEWKT('SRID=4674;POINT (-39.685191 -2.788504)'))) / (select extract(epoch from '2026-06-21 14:40:56'::timestamp) - extract(epoch from '2026-06-21 14:40: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'), 46821, 'SRID=4674;POINT (-39.685256 -2.788635)', '2026-06-21 14:41:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685191 -2.788504)'), GeomFromEWKT('SRID=4674;POINT (-39.685256 -2.788635)'))) / (select extract(epoch from '2026-06-21 14:41:03'::timestamp) - extract(epoch from '2026-06-21 14:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685191 -2.788504)'), GeomFromEWKT('SRID=4674;POINT (-39.685256 -2.788635)'))) / (select extract(epoch from '2026-06-21 14:41:03'::timestamp) - extract(epoch from '2026-06-21 14:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.685328 -2.788767)', '2026-06-21 14:41:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685256 -2.788635)'), GeomFromEWKT('SRID=4674;POINT (-39.685328 -2.788767)'))) / (select extract(epoch from '2026-06-21 14:41:10'::timestamp) - extract(epoch from '2026-06-21 14:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685256 -2.788635)'), GeomFromEWKT('SRID=4674;POINT (-39.685328 -2.788767)'))) / (select extract(epoch from '2026-06-21 14:41:10'::timestamp) - extract(epoch from '2026-06-21 14:41: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'), 46821, 'SRID=4674;POINT (-39.685385 -2.788882)', '2026-06-21 14:41:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685328 -2.788767)'), GeomFromEWKT('SRID=4674;POINT (-39.685385 -2.788882)'))) / (select extract(epoch from '2026-06-21 14:41:16'::timestamp) - extract(epoch from '2026-06-21 14:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685328 -2.788767)'), GeomFromEWKT('SRID=4674;POINT (-39.685385 -2.788882)'))) / (select extract(epoch from '2026-06-21 14:41:16'::timestamp) - extract(epoch from '2026-06-21 14:41: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'), 46821, 'SRID=4674;POINT (-39.685454 -2.788998)', '2026-06-21 14:41:22', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685385 -2.788882)'), GeomFromEWKT('SRID=4674;POINT (-39.685454 -2.788998)'))) / (select extract(epoch from '2026-06-21 14:41:22'::timestamp) - extract(epoch from '2026-06-21 14:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685385 -2.788882)'), GeomFromEWKT('SRID=4674;POINT (-39.685454 -2.788998)'))) / (select extract(epoch from '2026-06-21 14:41:22'::timestamp) - extract(epoch from '2026-06-21 14:41: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'), 46821, 'SRID=4674;POINT (-39.685519 -2.789102)', '2026-06-21 14:41:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685454 -2.788998)'), GeomFromEWKT('SRID=4674;POINT (-39.685519 -2.789102)'))) / (select extract(epoch from '2026-06-21 14:41:28'::timestamp) - extract(epoch from '2026-06-21 14:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685454 -2.788998)'), GeomFromEWKT('SRID=4674;POINT (-39.685519 -2.789102)'))) / (select extract(epoch from '2026-06-21 14:41:28'::timestamp) - extract(epoch from '2026-06-21 14:41: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'), 46821, 'SRID=4674;POINT (-39.685546 -2.78914)', '2026-06-21 14:41:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685519 -2.789102)'), GeomFromEWKT('SRID=4674;POINT (-39.685546 -2.78914)'))) / (select extract(epoch from '2026-06-21 14:41:30'::timestamp) - extract(epoch from '2026-06-21 14:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685519 -2.789102)'), GeomFromEWKT('SRID=4674;POINT (-39.685546 -2.78914)'))) / (select extract(epoch from '2026-06-21 14:41:30'::timestamp) - extract(epoch from '2026-06-21 14:41: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'), 46821, 'SRID=4674;POINT (-39.685579 -2.789176)', '2026-06-21 14:41:32', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685546 -2.78914)'), GeomFromEWKT('SRID=4674;POINT (-39.685579 -2.789176)'))) / (select extract(epoch from '2026-06-21 14:41:32'::timestamp) - extract(epoch from '2026-06-21 14:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685546 -2.78914)'), GeomFromEWKT('SRID=4674;POINT (-39.685579 -2.789176)'))) / (select extract(epoch from '2026-06-21 14:41:32'::timestamp) - extract(epoch from '2026-06-21 14:41: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'), 46821, 'SRID=4674;POINT (-39.685593 -2.789214)', '2026-06-21 14:41:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685579 -2.789176)'), GeomFromEWKT('SRID=4674;POINT (-39.685593 -2.789214)'))) / (select extract(epoch from '2026-06-21 14:41:34'::timestamp) - extract(epoch from '2026-06-21 14:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685579 -2.789176)'), GeomFromEWKT('SRID=4674;POINT (-39.685593 -2.789214)'))) / (select extract(epoch from '2026-06-21 14:41:34'::timestamp) - extract(epoch from '2026-06-21 14:41:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.685622 -2.789245)', '2026-06-21 14:41:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685593 -2.789214)'), GeomFromEWKT('SRID=4674;POINT (-39.685622 -2.789245)'))) / (select extract(epoch from '2026-06-21 14:41:36'::timestamp) - extract(epoch from '2026-06-21 14:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685593 -2.789214)'), GeomFromEWKT('SRID=4674;POINT (-39.685622 -2.789245)'))) / (select extract(epoch from '2026-06-21 14:41:36'::timestamp) - extract(epoch from '2026-06-21 14:41: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'), 46821, 'SRID=4674;POINT (-39.685675 -2.789332)', '2026-06-21 14:41:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685622 -2.789245)'), GeomFromEWKT('SRID=4674;POINT (-39.685675 -2.789332)'))) / (select extract(epoch from '2026-06-21 14:41:41'::timestamp) - extract(epoch from '2026-06-21 14:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685622 -2.789245)'), GeomFromEWKT('SRID=4674;POINT (-39.685675 -2.789332)'))) / (select extract(epoch from '2026-06-21 14:41:41'::timestamp) - extract(epoch from '2026-06-21 14:41:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.685742 -2.789459)', '2026-06-21 14:41:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685675 -2.789332)'), GeomFromEWKT('SRID=4674;POINT (-39.685742 -2.789459)'))) / (select extract(epoch from '2026-06-21 14:41:48'::timestamp) - extract(epoch from '2026-06-21 14:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685675 -2.789332)'), GeomFromEWKT('SRID=4674;POINT (-39.685742 -2.789459)'))) / (select extract(epoch from '2026-06-21 14:41:48'::timestamp) - extract(epoch from '2026-06-21 14:41: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'), 46821, 'SRID=4674;POINT (-39.685806 -2.789599)', '2026-06-21 14:41:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685742 -2.789459)'), GeomFromEWKT('SRID=4674;POINT (-39.685806 -2.789599)'))) / (select extract(epoch from '2026-06-21 14:41:55'::timestamp) - extract(epoch from '2026-06-21 14:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685742 -2.789459)'), GeomFromEWKT('SRID=4674;POINT (-39.685806 -2.789599)'))) / (select extract(epoch from '2026-06-21 14:41:55'::timestamp) - extract(epoch from '2026-06-21 14:41:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.68585 -2.789694)', '2026-06-21 14:42:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685806 -2.789599)'), GeomFromEWKT('SRID=4674;POINT (-39.68585 -2.789694)'))) / (select extract(epoch from '2026-06-21 14:42:00'::timestamp) - extract(epoch from '2026-06-21 14:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685806 -2.789599)'), GeomFromEWKT('SRID=4674;POINT (-39.68585 -2.789694)'))) / (select extract(epoch from '2026-06-21 14:42:00'::timestamp) - extract(epoch from '2026-06-21 14:41: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'), 46821, 'SRID=4674;POINT (-39.685915 -2.789823)', '2026-06-21 14:42:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68585 -2.789694)'), GeomFromEWKT('SRID=4674;POINT (-39.685915 -2.789823)'))) / (select extract(epoch from '2026-06-21 14:42:06'::timestamp) - extract(epoch from '2026-06-21 14:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68585 -2.789694)'), GeomFromEWKT('SRID=4674;POINT (-39.685915 -2.789823)'))) / (select extract(epoch from '2026-06-21 14:42:06'::timestamp) - extract(epoch from '2026-06-21 14:42: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'), 46821, 'SRID=4674;POINT (-39.685985 -2.789935)', '2026-06-21 14:42:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685915 -2.789823)'), GeomFromEWKT('SRID=4674;POINT (-39.685985 -2.789935)'))) / (select extract(epoch from '2026-06-21 14:42:12'::timestamp) - extract(epoch from '2026-06-21 14:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685915 -2.789823)'), GeomFromEWKT('SRID=4674;POINT (-39.685985 -2.789935)'))) / (select extract(epoch from '2026-06-21 14:42:12'::timestamp) - extract(epoch from '2026-06-21 14:42: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'), 46821, 'SRID=4674;POINT (-39.686064 -2.79003)', '2026-06-21 14:42:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685985 -2.789935)'), GeomFromEWKT('SRID=4674;POINT (-39.686064 -2.79003)'))) / (select extract(epoch from '2026-06-21 14:42:17'::timestamp) - extract(epoch from '2026-06-21 14:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685985 -2.789935)'), GeomFromEWKT('SRID=4674;POINT (-39.686064 -2.79003)'))) / (select extract(epoch from '2026-06-21 14:42:17'::timestamp) - extract(epoch from '2026-06-21 14:42:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.686124 -2.790125)', '2026-06-21 14:42:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686064 -2.79003)'), GeomFromEWKT('SRID=4674;POINT (-39.686124 -2.790125)'))) / (select extract(epoch from '2026-06-21 14:42:22'::timestamp) - extract(epoch from '2026-06-21 14:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686064 -2.79003)'), GeomFromEWKT('SRID=4674;POINT (-39.686124 -2.790125)'))) / (select extract(epoch from '2026-06-21 14:42:22'::timestamp) - extract(epoch from '2026-06-21 14:42:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.686182 -2.790239)', '2026-06-21 14:42:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686124 -2.790125)'), GeomFromEWKT('SRID=4674;POINT (-39.686182 -2.790239)'))) / (select extract(epoch from '2026-06-21 14:42:28'::timestamp) - extract(epoch from '2026-06-21 14:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686124 -2.790125)'), GeomFromEWKT('SRID=4674;POINT (-39.686182 -2.790239)'))) / (select extract(epoch from '2026-06-21 14:42:28'::timestamp) - extract(epoch from '2026-06-21 14:42:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.686226 -2.790317)', '2026-06-21 14:42:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686182 -2.790239)'), GeomFromEWKT('SRID=4674;POINT (-39.686226 -2.790317)'))) / (select extract(epoch from '2026-06-21 14:42:32'::timestamp) - extract(epoch from '2026-06-21 14:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686182 -2.790239)'), GeomFromEWKT('SRID=4674;POINT (-39.686226 -2.790317)'))) / (select extract(epoch from '2026-06-21 14:42:32'::timestamp) - extract(epoch from '2026-06-21 14:42:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.686244 -2.790332)', '2026-06-21 14:42:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686226 -2.790317)'), GeomFromEWKT('SRID=4674;POINT (-39.686244 -2.790332)'))) / (select extract(epoch from '2026-06-21 14:42:33'::timestamp) - extract(epoch from '2026-06-21 14:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686226 -2.790317)'), GeomFromEWKT('SRID=4674;POINT (-39.686244 -2.790332)'))) / (select extract(epoch from '2026-06-21 14:42:33'::timestamp) - extract(epoch from '2026-06-21 14:42: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'), 46821, 'SRID=4674;POINT (-39.686253 -2.790349)', '2026-06-21 14:42:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686244 -2.790332)'), GeomFromEWKT('SRID=4674;POINT (-39.686253 -2.790349)'))) / (select extract(epoch from '2026-06-21 14:42:34'::timestamp) - extract(epoch from '2026-06-21 14:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686244 -2.790332)'), GeomFromEWKT('SRID=4674;POINT (-39.686253 -2.790349)'))) / (select extract(epoch from '2026-06-21 14:42:34'::timestamp) - extract(epoch from '2026-06-21 14:42: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'), 46821, 'SRID=4674;POINT (-39.686276 -2.790403)', '2026-06-21 14:42:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686253 -2.790349)'), GeomFromEWKT('SRID=4674;POINT (-39.686276 -2.790403)'))) / (select extract(epoch from '2026-06-21 14:42:37'::timestamp) - extract(epoch from '2026-06-21 14:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686253 -2.790349)'), GeomFromEWKT('SRID=4674;POINT (-39.686276 -2.790403)'))) / (select extract(epoch from '2026-06-21 14:42:37'::timestamp) - extract(epoch from '2026-06-21 14:42: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'), 46821, 'SRID=4674;POINT (-39.686315 -2.790497)', '2026-06-21 14:42:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686276 -2.790403)'), GeomFromEWKT('SRID=4674;POINT (-39.686315 -2.790497)'))) / (select extract(epoch from '2026-06-21 14:42:42'::timestamp) - extract(epoch from '2026-06-21 14:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686276 -2.790403)'), GeomFromEWKT('SRID=4674;POINT (-39.686315 -2.790497)'))) / (select extract(epoch from '2026-06-21 14:42:42'::timestamp) - extract(epoch from '2026-06-21 14:42: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'), 46821, 'SRID=4674;POINT (-39.686347 -2.790567)', '2026-06-21 14:42:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686315 -2.790497)'), GeomFromEWKT('SRID=4674;POINT (-39.686347 -2.790567)'))) / (select extract(epoch from '2026-06-21 14:42:46'::timestamp) - extract(epoch from '2026-06-21 14:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686315 -2.790497)'), GeomFromEWKT('SRID=4674;POINT (-39.686347 -2.790567)'))) / (select extract(epoch from '2026-06-21 14:42:46'::timestamp) - extract(epoch from '2026-06-21 14:42: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'), 46821, 'SRID=4674;POINT (-39.686404 -2.790655)', '2026-06-21 14:42:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686347 -2.790567)'), GeomFromEWKT('SRID=4674;POINT (-39.686404 -2.790655)'))) / (select extract(epoch from '2026-06-21 14:42:51'::timestamp) - extract(epoch from '2026-06-21 14:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686347 -2.790567)'), GeomFromEWKT('SRID=4674;POINT (-39.686404 -2.790655)'))) / (select extract(epoch from '2026-06-21 14:42:51'::timestamp) - extract(epoch from '2026-06-21 14:42: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'), 46821, 'SRID=4674;POINT (-39.686459 -2.790752)', '2026-06-21 14:42:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686404 -2.790655)'), GeomFromEWKT('SRID=4674;POINT (-39.686459 -2.790752)'))) / (select extract(epoch from '2026-06-21 14:42:56'::timestamp) - extract(epoch from '2026-06-21 14:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686404 -2.790655)'), GeomFromEWKT('SRID=4674;POINT (-39.686459 -2.790752)'))) / (select extract(epoch from '2026-06-21 14:42:56'::timestamp) - extract(epoch from '2026-06-21 14:42: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'), 46821, 'SRID=4674;POINT (-39.686507 -2.790848)', '2026-06-21 14:43:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686459 -2.790752)'), GeomFromEWKT('SRID=4674;POINT (-39.686507 -2.790848)'))) / (select extract(epoch from '2026-06-21 14:43:01'::timestamp) - extract(epoch from '2026-06-21 14:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686459 -2.790752)'), GeomFromEWKT('SRID=4674;POINT (-39.686507 -2.790848)'))) / (select extract(epoch from '2026-06-21 14:43:01'::timestamp) - extract(epoch from '2026-06-21 14:42: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'), 46821, 'SRID=4674;POINT (-39.686561 -2.790952)', '2026-06-21 14:43:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686507 -2.790848)'), GeomFromEWKT('SRID=4674;POINT (-39.686561 -2.790952)'))) / (select extract(epoch from '2026-06-21 14:43:07'::timestamp) - extract(epoch from '2026-06-21 14:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686507 -2.790848)'), GeomFromEWKT('SRID=4674;POINT (-39.686561 -2.790952)'))) / (select extract(epoch from '2026-06-21 14:43:07'::timestamp) - extract(epoch from '2026-06-21 14:43: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'), 46821, 'SRID=4674;POINT (-39.686626 -2.791045)', '2026-06-21 14:43:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686561 -2.790952)'), GeomFromEWKT('SRID=4674;POINT (-39.686626 -2.791045)'))) / (select extract(epoch from '2026-06-21 14:43:12'::timestamp) - extract(epoch from '2026-06-21 14:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686561 -2.790952)'), GeomFromEWKT('SRID=4674;POINT (-39.686626 -2.791045)'))) / (select extract(epoch from '2026-06-21 14:43:12'::timestamp) - extract(epoch from '2026-06-21 14:43: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'), 46821, 'SRID=4674;POINT (-39.686693 -2.791147)', '2026-06-21 14:43:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686626 -2.791045)'), GeomFromEWKT('SRID=4674;POINT (-39.686693 -2.791147)'))) / (select extract(epoch from '2026-06-21 14:43:18'::timestamp) - extract(epoch from '2026-06-21 14:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686626 -2.791045)'), GeomFromEWKT('SRID=4674;POINT (-39.686693 -2.791147)'))) / (select extract(epoch from '2026-06-21 14:43:18'::timestamp) - extract(epoch from '2026-06-21 14:43:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.686747 -2.791241)', '2026-06-21 14:43:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686693 -2.791147)'), GeomFromEWKT('SRID=4674;POINT (-39.686747 -2.791241)'))) / (select extract(epoch from '2026-06-21 14:43:23'::timestamp) - extract(epoch from '2026-06-21 14:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686693 -2.791147)'), GeomFromEWKT('SRID=4674;POINT (-39.686747 -2.791241)'))) / (select extract(epoch from '2026-06-21 14:43:23'::timestamp) - extract(epoch from '2026-06-21 14:43: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'), 46821, 'SRID=4674;POINT (-39.686792 -2.791303)', '2026-06-21 14:43:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686747 -2.791241)'), GeomFromEWKT('SRID=4674;POINT (-39.686792 -2.791303)'))) / (select extract(epoch from '2026-06-21 14:43:27'::timestamp) - extract(epoch from '2026-06-21 14:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686747 -2.791241)'), GeomFromEWKT('SRID=4674;POINT (-39.686792 -2.791303)'))) / (select extract(epoch from '2026-06-21 14:43:27'::timestamp) - extract(epoch from '2026-06-21 14:43: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'), 46821, 'SRID=4674;POINT (-39.686816 -2.791337)', '2026-06-21 14:43:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686792 -2.791303)'), GeomFromEWKT('SRID=4674;POINT (-39.686816 -2.791337)'))) / (select extract(epoch from '2026-06-21 14:43:29'::timestamp) - extract(epoch from '2026-06-21 14:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686792 -2.791303)'), GeomFromEWKT('SRID=4674;POINT (-39.686816 -2.791337)'))) / (select extract(epoch from '2026-06-21 14:43:29'::timestamp) - extract(epoch from '2026-06-21 14:43:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.686857 -2.791388)', '2026-06-21 14:43:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686816 -2.791337)'), GeomFromEWKT('SRID=4674;POINT (-39.686857 -2.791388)'))) / (select extract(epoch from '2026-06-21 14:43:32'::timestamp) - extract(epoch from '2026-06-21 14:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686816 -2.791337)'), GeomFromEWKT('SRID=4674;POINT (-39.686857 -2.791388)'))) / (select extract(epoch from '2026-06-21 14:43:32'::timestamp) - extract(epoch from '2026-06-21 14:43:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.686876 -2.791419)', '2026-06-21 14:43:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686857 -2.791388)'), GeomFromEWKT('SRID=4674;POINT (-39.686876 -2.791419)'))) / (select extract(epoch from '2026-06-21 14:43:34'::timestamp) - extract(epoch from '2026-06-21 14:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686857 -2.791388)'), GeomFromEWKT('SRID=4674;POINT (-39.686876 -2.791419)'))) / (select extract(epoch from '2026-06-21 14:43:34'::timestamp) - extract(epoch from '2026-06-21 14:43: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'), 46821, 'SRID=4674;POINT (-39.686939 -2.791517)', '2026-06-21 14:43:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686876 -2.791419)'), GeomFromEWKT('SRID=4674;POINT (-39.686939 -2.791517)'))) / (select extract(epoch from '2026-06-21 14:43:40'::timestamp) - extract(epoch from '2026-06-21 14:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686876 -2.791419)'), GeomFromEWKT('SRID=4674;POINT (-39.686939 -2.791517)'))) / (select extract(epoch from '2026-06-21 14:43:40'::timestamp) - extract(epoch from '2026-06-21 14:43: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'), 46821, 'SRID=4674;POINT (-39.686995 -2.791608)', '2026-06-21 14:43:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686939 -2.791517)'), GeomFromEWKT('SRID=4674;POINT (-39.686995 -2.791608)'))) / (select extract(epoch from '2026-06-21 14:43:45'::timestamp) - extract(epoch from '2026-06-21 14:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686939 -2.791517)'), GeomFromEWKT('SRID=4674;POINT (-39.686995 -2.791608)'))) / (select extract(epoch from '2026-06-21 14:43:45'::timestamp) - extract(epoch from '2026-06-21 14:43: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'), 46821, 'SRID=4674;POINT (-39.687041 -2.791682)', '2026-06-21 14:43:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686995 -2.791608)'), GeomFromEWKT('SRID=4674;POINT (-39.687041 -2.791682)'))) / (select extract(epoch from '2026-06-21 14:43:49'::timestamp) - extract(epoch from '2026-06-21 14:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686995 -2.791608)'), GeomFromEWKT('SRID=4674;POINT (-39.687041 -2.791682)'))) / (select extract(epoch from '2026-06-21 14:43:49'::timestamp) - extract(epoch from '2026-06-21 14:43: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'), 46821, 'SRID=4674;POINT (-39.687079 -2.791734)', '2026-06-21 14:43:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687041 -2.791682)'), GeomFromEWKT('SRID=4674;POINT (-39.687079 -2.791734)'))) / (select extract(epoch from '2026-06-21 14:43:52'::timestamp) - extract(epoch from '2026-06-21 14:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687041 -2.791682)'), GeomFromEWKT('SRID=4674;POINT (-39.687079 -2.791734)'))) / (select extract(epoch from '2026-06-21 14:43:52'::timestamp) - extract(epoch from '2026-06-21 14:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.687107 -2.791766)', '2026-06-21 14:43:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687079 -2.791734)'), GeomFromEWKT('SRID=4674;POINT (-39.687107 -2.791766)'))) / (select extract(epoch from '2026-06-21 14:43:54'::timestamp) - extract(epoch from '2026-06-21 14:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687079 -2.791734)'), GeomFromEWKT('SRID=4674;POINT (-39.687107 -2.791766)'))) / (select extract(epoch from '2026-06-21 14:43:54'::timestamp) - extract(epoch from '2026-06-21 14:43:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.687206 -2.791881)', '2026-06-21 14:44:01', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687107 -2.791766)'), GeomFromEWKT('SRID=4674;POINT (-39.687206 -2.791881)'))) / (select extract(epoch from '2026-06-21 14:44:01'::timestamp) - extract(epoch from '2026-06-21 14:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687107 -2.791766)'), GeomFromEWKT('SRID=4674;POINT (-39.687206 -2.791881)'))) / (select extract(epoch from '2026-06-21 14:44:01'::timestamp) - extract(epoch from '2026-06-21 14:43: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'), 46821, 'SRID=4674;POINT (-39.687285 -2.791982)', '2026-06-21 14:44:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687206 -2.791881)'), GeomFromEWKT('SRID=4674;POINT (-39.687285 -2.791982)'))) / (select extract(epoch from '2026-06-21 14:44:07'::timestamp) - extract(epoch from '2026-06-21 14:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687206 -2.791881)'), GeomFromEWKT('SRID=4674;POINT (-39.687285 -2.791982)'))) / (select extract(epoch from '2026-06-21 14:44:07'::timestamp) - extract(epoch from '2026-06-21 14:44: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'), 46821, 'SRID=4674;POINT (-39.687355 -2.792078)', '2026-06-21 14:44:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687285 -2.791982)'), GeomFromEWKT('SRID=4674;POINT (-39.687355 -2.792078)'))) / (select extract(epoch from '2026-06-21 14:44:12'::timestamp) - extract(epoch from '2026-06-21 14:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687285 -2.791982)'), GeomFromEWKT('SRID=4674;POINT (-39.687355 -2.792078)'))) / (select extract(epoch from '2026-06-21 14:44:12'::timestamp) - extract(epoch from '2026-06-21 14:44:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.687387 -2.792113)', '2026-06-21 14:44:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687355 -2.792078)'), GeomFromEWKT('SRID=4674;POINT (-39.687387 -2.792113)'))) / (select extract(epoch from '2026-06-21 14:44:14'::timestamp) - extract(epoch from '2026-06-21 14:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687355 -2.792078)'), GeomFromEWKT('SRID=4674;POINT (-39.687387 -2.792113)'))) / (select extract(epoch from '2026-06-21 14:44:14'::timestamp) - extract(epoch from '2026-06-21 14:44: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'), 46821, 'SRID=4674;POINT (-39.687421 -2.792165)', '2026-06-21 14:44:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687387 -2.792113)'), GeomFromEWKT('SRID=4674;POINT (-39.687421 -2.792165)'))) / (select extract(epoch from '2026-06-21 14:44:17'::timestamp) - extract(epoch from '2026-06-21 14:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687387 -2.792113)'), GeomFromEWKT('SRID=4674;POINT (-39.687421 -2.792165)'))) / (select extract(epoch from '2026-06-21 14:44:17'::timestamp) - extract(epoch from '2026-06-21 14:44: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'), 46821, 'SRID=4674;POINT (-39.687514 -2.792269)', '2026-06-21 14:44:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687421 -2.792165)'), GeomFromEWKT('SRID=4674;POINT (-39.687514 -2.792269)'))) / (select extract(epoch from '2026-06-21 14:44:23'::timestamp) - extract(epoch from '2026-06-21 14:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687421 -2.792165)'), GeomFromEWKT('SRID=4674;POINT (-39.687514 -2.792269)'))) / (select extract(epoch from '2026-06-21 14:44:23'::timestamp) - extract(epoch from '2026-06-21 14:44:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.687591 -2.792384)', '2026-06-21 14:44:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687514 -2.792269)'), GeomFromEWKT('SRID=4674;POINT (-39.687591 -2.792384)'))) / (select extract(epoch from '2026-06-21 14:44:29'::timestamp) - extract(epoch from '2026-06-21 14:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687514 -2.792269)'), GeomFromEWKT('SRID=4674;POINT (-39.687591 -2.792384)'))) / (select extract(epoch from '2026-06-21 14:44:29'::timestamp) - extract(epoch from '2026-06-21 14:44:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.687672 -2.792492)', '2026-06-21 14:44:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687591 -2.792384)'), GeomFromEWKT('SRID=4674;POINT (-39.687672 -2.792492)'))) / (select extract(epoch from '2026-06-21 14:44:35'::timestamp) - extract(epoch from '2026-06-21 14:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687591 -2.792384)'), GeomFromEWKT('SRID=4674;POINT (-39.687672 -2.792492)'))) / (select extract(epoch from '2026-06-21 14:44:35'::timestamp) - extract(epoch from '2026-06-21 14:44: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'), 46821, 'SRID=4674;POINT (-39.687721 -2.792556)', '2026-06-21 14:44:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687672 -2.792492)'), GeomFromEWKT('SRID=4674;POINT (-39.687721 -2.792556)'))) / (select extract(epoch from '2026-06-21 14:44:38'::timestamp) - extract(epoch from '2026-06-21 14:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687672 -2.792492)'), GeomFromEWKT('SRID=4674;POINT (-39.687721 -2.792556)'))) / (select extract(epoch from '2026-06-21 14:44:38'::timestamp) - extract(epoch from '2026-06-21 14:44: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'), 46821, 'SRID=4674;POINT (-39.687733 -2.792592)', '2026-06-21 14:44:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687721 -2.792556)'), GeomFromEWKT('SRID=4674;POINT (-39.687733 -2.792592)'))) / (select extract(epoch from '2026-06-21 14:44:40'::timestamp) - extract(epoch from '2026-06-21 14:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687721 -2.792556)'), GeomFromEWKT('SRID=4674;POINT (-39.687733 -2.792592)'))) / (select extract(epoch from '2026-06-21 14:44:40'::timestamp) - extract(epoch from '2026-06-21 14:44:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.687781 -2.792676)', '2026-06-21 14:44:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687733 -2.792592)'), GeomFromEWKT('SRID=4674;POINT (-39.687781 -2.792676)'))) / (select extract(epoch from '2026-06-21 14:44:44'::timestamp) - extract(epoch from '2026-06-21 14:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687733 -2.792592)'), GeomFromEWKT('SRID=4674;POINT (-39.687781 -2.792676)'))) / (select extract(epoch from '2026-06-21 14:44:44'::timestamp) - extract(epoch from '2026-06-21 14:44:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.687823 -2.792775)', '2026-06-21 14:44:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687781 -2.792676)'), GeomFromEWKT('SRID=4674;POINT (-39.687823 -2.792775)'))) / (select extract(epoch from '2026-06-21 14:44:49'::timestamp) - extract(epoch from '2026-06-21 14:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687781 -2.792676)'), GeomFromEWKT('SRID=4674;POINT (-39.687823 -2.792775)'))) / (select extract(epoch from '2026-06-21 14:44:49'::timestamp) - extract(epoch from '2026-06-21 14:44: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'), 46821, 'SRID=4674;POINT (-39.687885 -2.792871)', '2026-06-21 14:44:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687823 -2.792775)'), GeomFromEWKT('SRID=4674;POINT (-39.687885 -2.792871)'))) / (select extract(epoch from '2026-06-21 14:44:54'::timestamp) - extract(epoch from '2026-06-21 14:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687823 -2.792775)'), GeomFromEWKT('SRID=4674;POINT (-39.687885 -2.792871)'))) / (select extract(epoch from '2026-06-21 14:44:54'::timestamp) - extract(epoch from '2026-06-21 14:44: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'), 46821, 'SRID=4674;POINT (-39.687891 -2.792888)', '2026-06-21 14:44:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687885 -2.792871)'), GeomFromEWKT('SRID=4674;POINT (-39.687891 -2.792888)'))) / (select extract(epoch from '2026-06-21 14:44:55'::timestamp) - extract(epoch from '2026-06-21 14:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687885 -2.792871)'), GeomFromEWKT('SRID=4674;POINT (-39.687891 -2.792888)'))) / (select extract(epoch from '2026-06-21 14:44:55'::timestamp) - extract(epoch from '2026-06-21 14:44: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'), 46821, 'SRID=4674;POINT (-39.687912 -2.79294)', '2026-06-21 14:44:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687891 -2.792888)'), GeomFromEWKT('SRID=4674;POINT (-39.687912 -2.79294)'))) / (select extract(epoch from '2026-06-21 14:44:58'::timestamp) - extract(epoch from '2026-06-21 14:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687891 -2.792888)'), GeomFromEWKT('SRID=4674;POINT (-39.687912 -2.79294)'))) / (select extract(epoch from '2026-06-21 14:44:58'::timestamp) - extract(epoch from '2026-06-21 14:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.687979 -2.793053)', '2026-06-21 14:45:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687912 -2.79294)'), GeomFromEWKT('SRID=4674;POINT (-39.687979 -2.793053)'))) / (select extract(epoch from '2026-06-21 14:45:04'::timestamp) - extract(epoch from '2026-06-21 14:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687912 -2.79294)'), GeomFromEWKT('SRID=4674;POINT (-39.687979 -2.793053)'))) / (select extract(epoch from '2026-06-21 14:45:04'::timestamp) - extract(epoch from '2026-06-21 14:44: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'), 46821, 'SRID=4674;POINT (-39.688039 -2.793154)', '2026-06-21 14:45:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687979 -2.793053)'), GeomFromEWKT('SRID=4674;POINT (-39.688039 -2.793154)'))) / (select extract(epoch from '2026-06-21 14:45:10'::timestamp) - extract(epoch from '2026-06-21 14:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687979 -2.793053)'), GeomFromEWKT('SRID=4674;POINT (-39.688039 -2.793154)'))) / (select extract(epoch from '2026-06-21 14:45:10'::timestamp) - extract(epoch from '2026-06-21 14:45:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.688118 -2.793288)', '2026-06-21 14:45:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688039 -2.793154)'), GeomFromEWKT('SRID=4674;POINT (-39.688118 -2.793288)'))) / (select extract(epoch from '2026-06-21 14:45:17'::timestamp) - extract(epoch from '2026-06-21 14:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688039 -2.793154)'), GeomFromEWKT('SRID=4674;POINT (-39.688118 -2.793288)'))) / (select extract(epoch from '2026-06-21 14:45:17'::timestamp) - extract(epoch from '2026-06-21 14:45: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'), 46821, 'SRID=4674;POINT (-39.688174 -2.793396)', '2026-06-21 14:45:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688118 -2.793288)'), GeomFromEWKT('SRID=4674;POINT (-39.688174 -2.793396)'))) / (select extract(epoch from '2026-06-21 14:45:23'::timestamp) - extract(epoch from '2026-06-21 14:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688118 -2.793288)'), GeomFromEWKT('SRID=4674;POINT (-39.688174 -2.793396)'))) / (select extract(epoch from '2026-06-21 14:45:23'::timestamp) - extract(epoch from '2026-06-21 14:45: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'), 46821, 'SRID=4674;POINT (-39.688262 -2.793552)', '2026-06-21 14:45:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688174 -2.793396)'), GeomFromEWKT('SRID=4674;POINT (-39.688262 -2.793552)'))) / (select extract(epoch from '2026-06-21 14:45:31'::timestamp) - extract(epoch from '2026-06-21 14:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688174 -2.793396)'), GeomFromEWKT('SRID=4674;POINT (-39.688262 -2.793552)'))) / (select extract(epoch from '2026-06-21 14:45:31'::timestamp) - extract(epoch from '2026-06-21 14:45: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'), 46821, 'SRID=4674;POINT (-39.688322 -2.793668)', '2026-06-21 14:45:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688262 -2.793552)'), GeomFromEWKT('SRID=4674;POINT (-39.688322 -2.793668)'))) / (select extract(epoch from '2026-06-21 14:45:37'::timestamp) - extract(epoch from '2026-06-21 14:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688262 -2.793552)'), GeomFromEWKT('SRID=4674;POINT (-39.688322 -2.793668)'))) / (select extract(epoch from '2026-06-21 14:45:37'::timestamp) - extract(epoch from '2026-06-21 14:45: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'), 46821, 'SRID=4674;POINT (-39.688399 -2.793788)', '2026-06-21 14:45:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688322 -2.793668)'), GeomFromEWKT('SRID=4674;POINT (-39.688399 -2.793788)'))) / (select extract(epoch from '2026-06-21 14:45:44'::timestamp) - extract(epoch from '2026-06-21 14:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688322 -2.793668)'), GeomFromEWKT('SRID=4674;POINT (-39.688399 -2.793788)'))) / (select extract(epoch from '2026-06-21 14:45:44'::timestamp) - extract(epoch from '2026-06-21 14:45:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.688461 -2.793893)', '2026-06-21 14:45:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688399 -2.793788)'), GeomFromEWKT('SRID=4674;POINT (-39.688461 -2.793893)'))) / (select extract(epoch from '2026-06-21 14:45:50'::timestamp) - extract(epoch from '2026-06-21 14:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688399 -2.793788)'), GeomFromEWKT('SRID=4674;POINT (-39.688461 -2.793893)'))) / (select extract(epoch from '2026-06-21 14:45:50'::timestamp) - extract(epoch from '2026-06-21 14:45: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'), 46821, 'SRID=4674;POINT (-39.68851 -2.793985)', '2026-06-21 14:45:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688461 -2.793893)'), GeomFromEWKT('SRID=4674;POINT (-39.68851 -2.793985)'))) / (select extract(epoch from '2026-06-21 14:45:55'::timestamp) - extract(epoch from '2026-06-21 14:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688461 -2.793893)'), GeomFromEWKT('SRID=4674;POINT (-39.68851 -2.793985)'))) / (select extract(epoch from '2026-06-21 14:45:55'::timestamp) - extract(epoch from '2026-06-21 14:45: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'), 46821, 'SRID=4674;POINT (-39.68853 -2.794021)', '2026-06-21 14:45:57', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68851 -2.793985)'), GeomFromEWKT('SRID=4674;POINT (-39.68853 -2.794021)'))) / (select extract(epoch from '2026-06-21 14:45:57'::timestamp) - extract(epoch from '2026-06-21 14:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68851 -2.793985)'), GeomFromEWKT('SRID=4674;POINT (-39.68853 -2.794021)'))) / (select extract(epoch from '2026-06-21 14:45:57'::timestamp) - extract(epoch from '2026-06-21 14:45: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'), 46821, 'SRID=4674;POINT (-39.688555 -2.794078)', '2026-06-21 14:46:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68853 -2.794021)'), GeomFromEWKT('SRID=4674;POINT (-39.688555 -2.794078)'))) / (select extract(epoch from '2026-06-21 14:46:00'::timestamp) - extract(epoch from '2026-06-21 14:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68853 -2.794021)'), GeomFromEWKT('SRID=4674;POINT (-39.688555 -2.794078)'))) / (select extract(epoch from '2026-06-21 14:46:00'::timestamp) - extract(epoch from '2026-06-21 14:45: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'), 46821, 'SRID=4674;POINT (-39.688602 -2.79417)', '2026-06-21 14:46:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688555 -2.794078)'), GeomFromEWKT('SRID=4674;POINT (-39.688602 -2.79417)'))) / (select extract(epoch from '2026-06-21 14:46:05'::timestamp) - extract(epoch from '2026-06-21 14:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688555 -2.794078)'), GeomFromEWKT('SRID=4674;POINT (-39.688602 -2.79417)'))) / (select extract(epoch from '2026-06-21 14:46:05'::timestamp) - extract(epoch from '2026-06-21 14:46: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'), 46821, 'SRID=4674;POINT (-39.688644 -2.794244)', '2026-06-21 14:46:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688602 -2.79417)'), GeomFromEWKT('SRID=4674;POINT (-39.688644 -2.794244)'))) / (select extract(epoch from '2026-06-21 14:46:09'::timestamp) - extract(epoch from '2026-06-21 14:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688602 -2.79417)'), GeomFromEWKT('SRID=4674;POINT (-39.688644 -2.794244)'))) / (select extract(epoch from '2026-06-21 14:46:09'::timestamp) - extract(epoch from '2026-06-21 14:46: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'), 46821, 'SRID=4674;POINT (-39.688701 -2.794344)', '2026-06-21 14:46:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688644 -2.794244)'), GeomFromEWKT('SRID=4674;POINT (-39.688701 -2.794344)'))) / (select extract(epoch from '2026-06-21 14:46:14'::timestamp) - extract(epoch from '2026-06-21 14:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688644 -2.794244)'), GeomFromEWKT('SRID=4674;POINT (-39.688701 -2.794344)'))) / (select extract(epoch from '2026-06-21 14:46:14'::timestamp) - extract(epoch from '2026-06-21 14:46: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'), 46821, 'SRID=4674;POINT (-39.688763 -2.794466)', '2026-06-21 14:46:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688701 -2.794344)'), GeomFromEWKT('SRID=4674;POINT (-39.688763 -2.794466)'))) / (select extract(epoch from '2026-06-21 14:46:20'::timestamp) - extract(epoch from '2026-06-21 14:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688701 -2.794344)'), GeomFromEWKT('SRID=4674;POINT (-39.688763 -2.794466)'))) / (select extract(epoch from '2026-06-21 14:46:20'::timestamp) - extract(epoch from '2026-06-21 14:46: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'), 46821, 'SRID=4674;POINT (-39.688829 -2.794604)', '2026-06-21 14:46:27', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688763 -2.794466)'), GeomFromEWKT('SRID=4674;POINT (-39.688829 -2.794604)'))) / (select extract(epoch from '2026-06-21 14:46:27'::timestamp) - extract(epoch from '2026-06-21 14:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688763 -2.794466)'), GeomFromEWKT('SRID=4674;POINT (-39.688829 -2.794604)'))) / (select extract(epoch from '2026-06-21 14:46:27'::timestamp) - extract(epoch from '2026-06-21 14:46: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'), 46821, 'SRID=4674;POINT (-39.688863 -2.794663)', '2026-06-21 14:46:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688829 -2.794604)'), GeomFromEWKT('SRID=4674;POINT (-39.688863 -2.794663)'))) / (select extract(epoch from '2026-06-21 14:46:30'::timestamp) - extract(epoch from '2026-06-21 14:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688829 -2.794604)'), GeomFromEWKT('SRID=4674;POINT (-39.688863 -2.794663)'))) / (select extract(epoch from '2026-06-21 14:46:30'::timestamp) - extract(epoch from '2026-06-21 14:46: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'), 46821, 'SRID=4674;POINT (-39.688876 -2.794682)', '2026-06-21 14:46:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688863 -2.794663)'), GeomFromEWKT('SRID=4674;POINT (-39.688876 -2.794682)'))) / (select extract(epoch from '2026-06-21 14:46:31'::timestamp) - extract(epoch from '2026-06-21 14:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688863 -2.794663)'), GeomFromEWKT('SRID=4674;POINT (-39.688876 -2.794682)'))) / (select extract(epoch from '2026-06-21 14:46:31'::timestamp) - extract(epoch from '2026-06-21 14:46: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'), 46821, 'SRID=4674;POINT (-39.688934 -2.794797)', '2026-06-21 14:46:37', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688876 -2.794682)'), GeomFromEWKT('SRID=4674;POINT (-39.688934 -2.794797)'))) / (select extract(epoch from '2026-06-21 14:46:37'::timestamp) - extract(epoch from '2026-06-21 14:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688876 -2.794682)'), GeomFromEWKT('SRID=4674;POINT (-39.688934 -2.794797)'))) / (select extract(epoch from '2026-06-21 14:46:37'::timestamp) - extract(epoch from '2026-06-21 14:46: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'), 46821, 'SRID=4674;POINT (-39.689011 -2.794918)', '2026-06-21 14:46:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688934 -2.794797)'), GeomFromEWKT('SRID=4674;POINT (-39.689011 -2.794918)'))) / (select extract(epoch from '2026-06-21 14:46:44'::timestamp) - extract(epoch from '2026-06-21 14:46:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688934 -2.794797)'), GeomFromEWKT('SRID=4674;POINT (-39.689011 -2.794918)'))) / (select extract(epoch from '2026-06-21 14:46:44'::timestamp) - extract(epoch from '2026-06-21 14:46: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'), 46821, 'SRID=4674;POINT (-39.689088 -2.795046)', '2026-06-21 14:46:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689011 -2.794918)'), GeomFromEWKT('SRID=4674;POINT (-39.689088 -2.795046)'))) / (select extract(epoch from '2026-06-21 14:46:51'::timestamp) - extract(epoch from '2026-06-21 14:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689011 -2.794918)'), GeomFromEWKT('SRID=4674;POINT (-39.689088 -2.795046)'))) / (select extract(epoch from '2026-06-21 14:46:51'::timestamp) - extract(epoch from '2026-06-21 14:46: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'), 46821, 'SRID=4674;POINT (-39.689141 -2.79516)', '2026-06-21 14:46:57', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689088 -2.795046)'), GeomFromEWKT('SRID=4674;POINT (-39.689141 -2.79516)'))) / (select extract(epoch from '2026-06-21 14:46:57'::timestamp) - extract(epoch from '2026-06-21 14:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689088 -2.795046)'), GeomFromEWKT('SRID=4674;POINT (-39.689141 -2.79516)'))) / (select extract(epoch from '2026-06-21 14:46:57'::timestamp) - extract(epoch from '2026-06-21 14:46:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.689188 -2.795241)', '2026-06-21 14:47:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689141 -2.79516)'), GeomFromEWKT('SRID=4674;POINT (-39.689188 -2.795241)'))) / (select extract(epoch from '2026-06-21 14:47:01'::timestamp) - extract(epoch from '2026-06-21 14:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689141 -2.79516)'), GeomFromEWKT('SRID=4674;POINT (-39.689188 -2.795241)'))) / (select extract(epoch from '2026-06-21 14:47:01'::timestamp) - extract(epoch from '2026-06-21 14:46: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'), 46821, 'SRID=4674;POINT (-39.689253 -2.79538)', '2026-06-21 14:47:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689188 -2.795241)'), GeomFromEWKT('SRID=4674;POINT (-39.689253 -2.79538)'))) / (select extract(epoch from '2026-06-21 14:47:08'::timestamp) - extract(epoch from '2026-06-21 14:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689188 -2.795241)'), GeomFromEWKT('SRID=4674;POINT (-39.689253 -2.79538)'))) / (select extract(epoch from '2026-06-21 14:47:08'::timestamp) - extract(epoch from '2026-06-21 14:47: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'), 46821, 'SRID=4674;POINT (-39.689331 -2.795511)', '2026-06-21 14:47:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689253 -2.79538)'), GeomFromEWKT('SRID=4674;POINT (-39.689331 -2.795511)'))) / (select extract(epoch from '2026-06-21 14:47:15'::timestamp) - extract(epoch from '2026-06-21 14:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689253 -2.79538)'), GeomFromEWKT('SRID=4674;POINT (-39.689331 -2.795511)'))) / (select extract(epoch from '2026-06-21 14:47:15'::timestamp) - extract(epoch from '2026-06-21 14:47:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.689377 -2.795609)', '2026-06-21 14:47:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689331 -2.795511)'), GeomFromEWKT('SRID=4674;POINT (-39.689377 -2.795609)'))) / (select extract(epoch from '2026-06-21 14:47:20'::timestamp) - extract(epoch from '2026-06-21 14:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689331 -2.795511)'), GeomFromEWKT('SRID=4674;POINT (-39.689377 -2.795609)'))) / (select extract(epoch from '2026-06-21 14:47:20'::timestamp) - extract(epoch from '2026-06-21 14:47: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'), 46821, 'SRID=4674;POINT (-39.689414 -2.795715)', '2026-06-21 14:47:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689377 -2.795609)'), GeomFromEWKT('SRID=4674;POINT (-39.689414 -2.795715)'))) / (select extract(epoch from '2026-06-21 14:47:25'::timestamp) - extract(epoch from '2026-06-21 14:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689377 -2.795609)'), GeomFromEWKT('SRID=4674;POINT (-39.689414 -2.795715)'))) / (select extract(epoch from '2026-06-21 14:47:25'::timestamp) - extract(epoch from '2026-06-21 14:47: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'), 46821, 'SRID=4674;POINT (-39.689475 -2.795852)', '2026-06-21 14:47:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689414 -2.795715)'), GeomFromEWKT('SRID=4674;POINT (-39.689475 -2.795852)'))) / (select extract(epoch from '2026-06-21 14:47:32'::timestamp) - extract(epoch from '2026-06-21 14:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689414 -2.795715)'), GeomFromEWKT('SRID=4674;POINT (-39.689475 -2.795852)'))) / (select extract(epoch from '2026-06-21 14:47:32'::timestamp) - extract(epoch from '2026-06-21 14:47:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.689541 -2.795945)', '2026-06-21 14:47:37', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689475 -2.795852)'), GeomFromEWKT('SRID=4674;POINT (-39.689541 -2.795945)'))) / (select extract(epoch from '2026-06-21 14:47:37'::timestamp) - extract(epoch from '2026-06-21 14:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689475 -2.795852)'), GeomFromEWKT('SRID=4674;POINT (-39.689541 -2.795945)'))) / (select extract(epoch from '2026-06-21 14:47:37'::timestamp) - extract(epoch from '2026-06-21 14:47: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'), 46821, 'SRID=4674;POINT (-39.689596 -2.796023)', '2026-06-21 14:47:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689541 -2.795945)'), GeomFromEWKT('SRID=4674;POINT (-39.689596 -2.796023)'))) / (select extract(epoch from '2026-06-21 14:47:41'::timestamp) - extract(epoch from '2026-06-21 14:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689541 -2.795945)'), GeomFromEWKT('SRID=4674;POINT (-39.689596 -2.796023)'))) / (select extract(epoch from '2026-06-21 14:47:41'::timestamp) - extract(epoch from '2026-06-21 14:47:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.689648 -2.796117)', '2026-06-21 14:47:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689596 -2.796023)'), GeomFromEWKT('SRID=4674;POINT (-39.689648 -2.796117)'))) / (select extract(epoch from '2026-06-21 14:47:46'::timestamp) - extract(epoch from '2026-06-21 14:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689596 -2.796023)'), GeomFromEWKT('SRID=4674;POINT (-39.689648 -2.796117)'))) / (select extract(epoch from '2026-06-21 14:47:46'::timestamp) - extract(epoch from '2026-06-21 14:47: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'), 46821, 'SRID=4674;POINT (-39.689715 -2.796231)', '2026-06-21 14:47:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689648 -2.796117)'), GeomFromEWKT('SRID=4674;POINT (-39.689715 -2.796231)'))) / (select extract(epoch from '2026-06-21 14:47:52'::timestamp) - extract(epoch from '2026-06-21 14:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689648 -2.796117)'), GeomFromEWKT('SRID=4674;POINT (-39.689715 -2.796231)'))) / (select extract(epoch from '2026-06-21 14:47:52'::timestamp) - extract(epoch from '2026-06-21 14:47: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'), 46821, 'SRID=4674;POINT (-39.689769 -2.796343)', '2026-06-21 14:47:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689715 -2.796231)'), GeomFromEWKT('SRID=4674;POINT (-39.689769 -2.796343)'))) / (select extract(epoch from '2026-06-21 14:47:58'::timestamp) - extract(epoch from '2026-06-21 14:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689715 -2.796231)'), GeomFromEWKT('SRID=4674;POINT (-39.689769 -2.796343)'))) / (select extract(epoch from '2026-06-21 14:47:58'::timestamp) - extract(epoch from '2026-06-21 14:47: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'), 46821, 'SRID=4674;POINT (-39.689844 -2.796445)', '2026-06-21 14:48:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689769 -2.796343)'), GeomFromEWKT('SRID=4674;POINT (-39.689844 -2.796445)'))) / (select extract(epoch from '2026-06-21 14:48:04'::timestamp) - extract(epoch from '2026-06-21 14:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689769 -2.796343)'), GeomFromEWKT('SRID=4674;POINT (-39.689844 -2.796445)'))) / (select extract(epoch from '2026-06-21 14:48:04'::timestamp) - extract(epoch from '2026-06-21 14:47: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'), 46821, 'SRID=4674;POINT (-39.689912 -2.796565)', '2026-06-21 14:48:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689844 -2.796445)'), GeomFromEWKT('SRID=4674;POINT (-39.689912 -2.796565)'))) / (select extract(epoch from '2026-06-21 14:48:11'::timestamp) - extract(epoch from '2026-06-21 14:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689844 -2.796445)'), GeomFromEWKT('SRID=4674;POINT (-39.689912 -2.796565)'))) / (select extract(epoch from '2026-06-21 14:48:11'::timestamp) - extract(epoch from '2026-06-21 14:48: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'), 46821, 'SRID=4674;POINT (-39.689974 -2.796665)', '2026-06-21 14:48:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689912 -2.796565)'), GeomFromEWKT('SRID=4674;POINT (-39.689974 -2.796665)'))) / (select extract(epoch from '2026-06-21 14:48:17'::timestamp) - extract(epoch from '2026-06-21 14:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689912 -2.796565)'), GeomFromEWKT('SRID=4674;POINT (-39.689974 -2.796665)'))) / (select extract(epoch from '2026-06-21 14:48:17'::timestamp) - extract(epoch from '2026-06-21 14:48: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'), 46821, 'SRID=4674;POINT (-39.690052 -2.796796)', '2026-06-21 14:48:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689974 -2.796665)'), GeomFromEWKT('SRID=4674;POINT (-39.690052 -2.796796)'))) / (select extract(epoch from '2026-06-21 14:48:24'::timestamp) - extract(epoch from '2026-06-21 14:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689974 -2.796665)'), GeomFromEWKT('SRID=4674;POINT (-39.690052 -2.796796)'))) / (select extract(epoch from '2026-06-21 14:48:24'::timestamp) - extract(epoch from '2026-06-21 14:48: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'), 46821, 'SRID=4674;POINT (-39.690108 -2.796903)', '2026-06-21 14:48:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690052 -2.796796)'), GeomFromEWKT('SRID=4674;POINT (-39.690108 -2.796903)'))) / (select extract(epoch from '2026-06-21 14:48:30'::timestamp) - extract(epoch from '2026-06-21 14:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690052 -2.796796)'), GeomFromEWKT('SRID=4674;POINT (-39.690108 -2.796903)'))) / (select extract(epoch from '2026-06-21 14:48:30'::timestamp) - extract(epoch from '2026-06-21 14:48:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.690157 -2.796978)', '2026-06-21 14:48:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690108 -2.796903)'), GeomFromEWKT('SRID=4674;POINT (-39.690157 -2.796978)'))) / (select extract(epoch from '2026-06-21 14:48:34'::timestamp) - extract(epoch from '2026-06-21 14:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690108 -2.796903)'), GeomFromEWKT('SRID=4674;POINT (-39.690157 -2.796978)'))) / (select extract(epoch from '2026-06-21 14:48:34'::timestamp) - extract(epoch from '2026-06-21 14:48:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.690214 -2.797072)', '2026-06-21 14:48:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690157 -2.796978)'), GeomFromEWKT('SRID=4674;POINT (-39.690214 -2.797072)'))) / (select extract(epoch from '2026-06-21 14:48:39'::timestamp) - extract(epoch from '2026-06-21 14:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690157 -2.796978)'), GeomFromEWKT('SRID=4674;POINT (-39.690214 -2.797072)'))) / (select extract(epoch from '2026-06-21 14:48:39'::timestamp) - extract(epoch from '2026-06-21 14:48: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'), 46821, 'SRID=4674;POINT (-39.69026 -2.797141)', '2026-06-21 14:48:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690214 -2.797072)'), GeomFromEWKT('SRID=4674;POINT (-39.69026 -2.797141)'))) / (select extract(epoch from '2026-06-21 14:48:43'::timestamp) - extract(epoch from '2026-06-21 14:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690214 -2.797072)'), GeomFromEWKT('SRID=4674;POINT (-39.69026 -2.797141)'))) / (select extract(epoch from '2026-06-21 14:48:43'::timestamp) - extract(epoch from '2026-06-21 14:48: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'), 46821, 'SRID=4674;POINT (-39.690267 -2.79716)', '2026-06-21 14:48:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69026 -2.797141)'), GeomFromEWKT('SRID=4674;POINT (-39.690267 -2.79716)'))) / (select extract(epoch from '2026-06-21 14:48:44'::timestamp) - extract(epoch from '2026-06-21 14:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69026 -2.797141)'), GeomFromEWKT('SRID=4674;POINT (-39.690267 -2.79716)'))) / (select extract(epoch from '2026-06-21 14:48:44'::timestamp) - extract(epoch from '2026-06-21 14:48:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.690317 -2.797254)', '2026-06-21 14:48:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690267 -2.79716)'), GeomFromEWKT('SRID=4674;POINT (-39.690317 -2.797254)'))) / (select extract(epoch from '2026-06-21 14:48:49'::timestamp) - extract(epoch from '2026-06-21 14:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690267 -2.79716)'), GeomFromEWKT('SRID=4674;POINT (-39.690317 -2.797254)'))) / (select extract(epoch from '2026-06-21 14:48:49'::timestamp) - extract(epoch from '2026-06-21 14:48: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'), 46821, 'SRID=4674;POINT (-39.690325 -2.79727)', '2026-06-21 14:48:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690317 -2.797254)'), GeomFromEWKT('SRID=4674;POINT (-39.690325 -2.79727)'))) / (select extract(epoch from '2026-06-21 14:48:50'::timestamp) - extract(epoch from '2026-06-21 14:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690317 -2.797254)'), GeomFromEWKT('SRID=4674;POINT (-39.690325 -2.79727)'))) / (select extract(epoch from '2026-06-21 14:48:50'::timestamp) - extract(epoch from '2026-06-21 14:48:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.690374 -2.797336)', '2026-06-21 14:48:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690325 -2.79727)'), GeomFromEWKT('SRID=4674;POINT (-39.690374 -2.797336)'))) / (select extract(epoch from '2026-06-21 14:48:54'::timestamp) - extract(epoch from '2026-06-21 14:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690325 -2.79727)'), GeomFromEWKT('SRID=4674;POINT (-39.690374 -2.797336)'))) / (select extract(epoch from '2026-06-21 14:48:54'::timestamp) - extract(epoch from '2026-06-21 14:48: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'), 46821, 'SRID=4674;POINT (-39.690444 -2.797446)', '2026-06-21 14:49:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690374 -2.797336)'), GeomFromEWKT('SRID=4674;POINT (-39.690444 -2.797446)'))) / (select extract(epoch from '2026-06-21 14:49:00'::timestamp) - extract(epoch from '2026-06-21 14:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690374 -2.797336)'), GeomFromEWKT('SRID=4674;POINT (-39.690444 -2.797446)'))) / (select extract(epoch from '2026-06-21 14:49:00'::timestamp) - extract(epoch from '2026-06-21 14:48: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'), 46821, 'SRID=4674;POINT (-39.690459 -2.797462)', '2026-06-21 14:49:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690444 -2.797446)'), GeomFromEWKT('SRID=4674;POINT (-39.690459 -2.797462)'))) / (select extract(epoch from '2026-06-21 14:49:01'::timestamp) - extract(epoch from '2026-06-21 14:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690444 -2.797446)'), GeomFromEWKT('SRID=4674;POINT (-39.690459 -2.797462)'))) / (select extract(epoch from '2026-06-21 14:49:01'::timestamp) - extract(epoch from '2026-06-21 14:49: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'), 46821, 'SRID=4674;POINT (-39.69049 -2.797498)', '2026-06-21 14:49:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690459 -2.797462)'), GeomFromEWKT('SRID=4674;POINT (-39.69049 -2.797498)'))) / (select extract(epoch from '2026-06-21 14:49:03'::timestamp) - extract(epoch from '2026-06-21 14:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690459 -2.797462)'), GeomFromEWKT('SRID=4674;POINT (-39.69049 -2.797498)'))) / (select extract(epoch from '2026-06-21 14:49:03'::timestamp) - extract(epoch from '2026-06-21 14:49: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'), 46821, 'SRID=4674;POINT (-39.690497 -2.797517)', '2026-06-21 14:49:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69049 -2.797498)'), GeomFromEWKT('SRID=4674;POINT (-39.690497 -2.797517)'))) / (select extract(epoch from '2026-06-21 14:49:04'::timestamp) - extract(epoch from '2026-06-21 14:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69049 -2.797498)'), GeomFromEWKT('SRID=4674;POINT (-39.690497 -2.797517)'))) / (select extract(epoch from '2026-06-21 14:49:04'::timestamp) - extract(epoch from '2026-06-21 14:49:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.690507 -2.797534)', '2026-06-21 14:49:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690497 -2.797517)'), GeomFromEWKT('SRID=4674;POINT (-39.690507 -2.797534)'))) / (select extract(epoch from '2026-06-21 14:49:05'::timestamp) - extract(epoch from '2026-06-21 14:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690497 -2.797517)'), GeomFromEWKT('SRID=4674;POINT (-39.690507 -2.797534)'))) / (select extract(epoch from '2026-06-21 14:49:05'::timestamp) - extract(epoch from '2026-06-21 14:49:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.690554 -2.797612)', '2026-06-21 14:49:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690507 -2.797534)'), GeomFromEWKT('SRID=4674;POINT (-39.690554 -2.797612)'))) / (select extract(epoch from '2026-06-21 14:49:09'::timestamp) - extract(epoch from '2026-06-21 14:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690507 -2.797534)'), GeomFromEWKT('SRID=4674;POINT (-39.690554 -2.797612)'))) / (select extract(epoch from '2026-06-21 14:49:09'::timestamp) - extract(epoch from '2026-06-21 14:49: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'), 46821, 'SRID=4674;POINT (-39.690631 -2.797732)', '2026-06-21 14:49:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690554 -2.797612)'), GeomFromEWKT('SRID=4674;POINT (-39.690631 -2.797732)'))) / (select extract(epoch from '2026-06-21 14:49:15'::timestamp) - extract(epoch from '2026-06-21 14:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690554 -2.797612)'), GeomFromEWKT('SRID=4674;POINT (-39.690631 -2.797732)'))) / (select extract(epoch from '2026-06-21 14:49:15'::timestamp) - extract(epoch from '2026-06-21 14:49:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.690694 -2.797851)', '2026-06-21 14:49:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690631 -2.797732)'), GeomFromEWKT('SRID=4674;POINT (-39.690694 -2.797851)'))) / (select extract(epoch from '2026-06-21 14:49:21'::timestamp) - extract(epoch from '2026-06-21 14:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690631 -2.797732)'), GeomFromEWKT('SRID=4674;POINT (-39.690694 -2.797851)'))) / (select extract(epoch from '2026-06-21 14:49:21'::timestamp) - extract(epoch from '2026-06-21 14:49:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.690733 -2.797951)', '2026-06-21 14:49:26', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690694 -2.797851)'), GeomFromEWKT('SRID=4674;POINT (-39.690733 -2.797951)'))) / (select extract(epoch from '2026-06-21 14:49:26'::timestamp) - extract(epoch from '2026-06-21 14:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690694 -2.797851)'), GeomFromEWKT('SRID=4674;POINT (-39.690733 -2.797951)'))) / (select extract(epoch from '2026-06-21 14:49:26'::timestamp) - extract(epoch from '2026-06-21 14:49: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'), 46821, 'SRID=4674;POINT (-39.690789 -2.798051)', '2026-06-21 14:49:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690733 -2.797951)'), GeomFromEWKT('SRID=4674;POINT (-39.690789 -2.798051)'))) / (select extract(epoch from '2026-06-21 14:49:31'::timestamp) - extract(epoch from '2026-06-21 14:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690733 -2.797951)'), GeomFromEWKT('SRID=4674;POINT (-39.690789 -2.798051)'))) / (select extract(epoch from '2026-06-21 14:49:31'::timestamp) - extract(epoch from '2026-06-21 14:49: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'), 46821, 'SRID=4674;POINT (-39.69086 -2.798172)', '2026-06-21 14:49:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690789 -2.798051)'), GeomFromEWKT('SRID=4674;POINT (-39.69086 -2.798172)'))) / (select extract(epoch from '2026-06-21 14:49:37'::timestamp) - extract(epoch from '2026-06-21 14:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690789 -2.798051)'), GeomFromEWKT('SRID=4674;POINT (-39.69086 -2.798172)'))) / (select extract(epoch from '2026-06-21 14:49:37'::timestamp) - extract(epoch from '2026-06-21 14:49: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'), 46821, 'SRID=4674;POINT (-39.690933 -2.798284)', '2026-06-21 14:49:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69086 -2.798172)'), GeomFromEWKT('SRID=4674;POINT (-39.690933 -2.798284)'))) / (select extract(epoch from '2026-06-21 14:49:43'::timestamp) - extract(epoch from '2026-06-21 14:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69086 -2.798172)'), GeomFromEWKT('SRID=4674;POINT (-39.690933 -2.798284)'))) / (select extract(epoch from '2026-06-21 14:49:43'::timestamp) - extract(epoch from '2026-06-21 14:49: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'), 46821, 'SRID=4674;POINT (-39.690947 -2.798304)', '2026-06-21 14:49:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690933 -2.798284)'), GeomFromEWKT('SRID=4674;POINT (-39.690947 -2.798304)'))) / (select extract(epoch from '2026-06-21 14:49:44'::timestamp) - extract(epoch from '2026-06-21 14:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690933 -2.798284)'), GeomFromEWKT('SRID=4674;POINT (-39.690947 -2.798304)'))) / (select extract(epoch from '2026-06-21 14:49:44'::timestamp) - extract(epoch from '2026-06-21 14:49: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'), 46821, 'SRID=4674;POINT (-39.691 -2.798366)', '2026-06-21 14:49:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690947 -2.798304)'), GeomFromEWKT('SRID=4674;POINT (-39.691 -2.798366)'))) / (select extract(epoch from '2026-06-21 14:49:47'::timestamp) - extract(epoch from '2026-06-21 14:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690947 -2.798304)'), GeomFromEWKT('SRID=4674;POINT (-39.691 -2.798366)'))) / (select extract(epoch from '2026-06-21 14:49:47'::timestamp) - extract(epoch from '2026-06-21 14:49:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
