 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.377009 -3.397872)', '2026-06-09 12:59:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37697 -3.39778)'), GeomFromEWKT('SRID=4674;POINT (-38.377009 -3.397872)'))) / (select extract(epoch from '2026-06-09 12:59:08'::timestamp) - extract(epoch from '2026-06-09 12:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37697 -3.39778)'), GeomFromEWKT('SRID=4674;POINT (-38.377009 -3.397872)'))) / (select extract(epoch from '2026-06-09 12:59:08'::timestamp) - extract(epoch from '2026-06-09 12:59: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'), 46534, 'SRID=4674;POINT (-38.377075 -3.397972)', '2026-06-09 12:59:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377009 -3.397872)'), GeomFromEWKT('SRID=4674;POINT (-38.377075 -3.397972)'))) / (select extract(epoch from '2026-06-09 12:59:15'::timestamp) - extract(epoch from '2026-06-09 12:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377009 -3.397872)'), GeomFromEWKT('SRID=4674;POINT (-38.377075 -3.397972)'))) / (select extract(epoch from '2026-06-09 12:59:15'::timestamp) - extract(epoch from '2026-06-09 12:59: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'), 46534, 'SRID=4674;POINT (-38.377143 -3.398063)', '2026-06-09 12:59:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377075 -3.397972)'), GeomFromEWKT('SRID=4674;POINT (-38.377143 -3.398063)'))) / (select extract(epoch from '2026-06-09 12:59:21'::timestamp) - extract(epoch from '2026-06-09 12:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377075 -3.397972)'), GeomFromEWKT('SRID=4674;POINT (-38.377143 -3.398063)'))) / (select extract(epoch from '2026-06-09 12:59:21'::timestamp) - extract(epoch from '2026-06-09 12:59: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'), 46534, 'SRID=4674;POINT (-38.377193 -3.398139)', '2026-06-09 12:59:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377143 -3.398063)'), GeomFromEWKT('SRID=4674;POINT (-38.377193 -3.398139)'))) / (select extract(epoch from '2026-06-09 12:59:26'::timestamp) - extract(epoch from '2026-06-09 12:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377143 -3.398063)'), GeomFromEWKT('SRID=4674;POINT (-38.377193 -3.398139)'))) / (select extract(epoch from '2026-06-09 12:59:26'::timestamp) - extract(epoch from '2026-06-09 12:59:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.377252 -3.39821)', '2026-06-09 12:59:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377193 -3.398139)'), GeomFromEWKT('SRID=4674;POINT (-38.377252 -3.39821)'))) / (select extract(epoch from '2026-06-09 12:59:31'::timestamp) - extract(epoch from '2026-06-09 12:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377193 -3.398139)'), GeomFromEWKT('SRID=4674;POINT (-38.377252 -3.39821)'))) / (select extract(epoch from '2026-06-09 12:59:31'::timestamp) - extract(epoch from '2026-06-09 12:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.377339 -3.398323)', '2026-06-09 12:59:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377252 -3.39821)'), GeomFromEWKT('SRID=4674;POINT (-38.377339 -3.398323)'))) / (select extract(epoch from '2026-06-09 12:59:38'::timestamp) - extract(epoch from '2026-06-09 12:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377252 -3.39821)'), GeomFromEWKT('SRID=4674;POINT (-38.377339 -3.398323)'))) / (select extract(epoch from '2026-06-09 12:59:38'::timestamp) - extract(epoch from '2026-06-09 12:59:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.377386 -3.398402)', '2026-06-09 12:59:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377339 -3.398323)'), GeomFromEWKT('SRID=4674;POINT (-38.377386 -3.398402)'))) / (select extract(epoch from '2026-06-09 12:59:43'::timestamp) - extract(epoch from '2026-06-09 12:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377339 -3.398323)'), GeomFromEWKT('SRID=4674;POINT (-38.377386 -3.398402)'))) / (select extract(epoch from '2026-06-09 12:59:43'::timestamp) - extract(epoch from '2026-06-09 12:59: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'), 46534, 'SRID=4674;POINT (-38.377442 -3.398482)', '2026-06-09 12:59:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377386 -3.398402)'), GeomFromEWKT('SRID=4674;POINT (-38.377442 -3.398482)'))) / (select extract(epoch from '2026-06-09 12:59:49'::timestamp) - extract(epoch from '2026-06-09 12:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377386 -3.398402)'), GeomFromEWKT('SRID=4674;POINT (-38.377442 -3.398482)'))) / (select extract(epoch from '2026-06-09 12:59:49'::timestamp) - extract(epoch from '2026-06-09 12:59: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'), 46534, 'SRID=4674;POINT (-38.377503 -3.398566)', '2026-06-09 12:59:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377442 -3.398482)'), GeomFromEWKT('SRID=4674;POINT (-38.377503 -3.398566)'))) / (select extract(epoch from '2026-06-09 12:59:55'::timestamp) - extract(epoch from '2026-06-09 12:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377442 -3.398482)'), GeomFromEWKT('SRID=4674;POINT (-38.377503 -3.398566)'))) / (select extract(epoch from '2026-06-09 12:59:55'::timestamp) - extract(epoch from '2026-06-09 12:59:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.377567 -3.398663)', '2026-06-09 13:00:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377503 -3.398566)'), GeomFromEWKT('SRID=4674;POINT (-38.377567 -3.398663)'))) / (select extract(epoch from '2026-06-09 13:00:01'::timestamp) - extract(epoch from '2026-06-09 12:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377503 -3.398566)'), GeomFromEWKT('SRID=4674;POINT (-38.377567 -3.398663)'))) / (select extract(epoch from '2026-06-09 13:00:01'::timestamp) - extract(epoch from '2026-06-09 12:59: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'), 46534, 'SRID=4674;POINT (-38.377633 -3.398732)', '2026-06-09 13:00:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377567 -3.398663)'), GeomFromEWKT('SRID=4674;POINT (-38.377633 -3.398732)'))) / (select extract(epoch from '2026-06-09 13:00:07'::timestamp) - extract(epoch from '2026-06-09 13:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377567 -3.398663)'), GeomFromEWKT('SRID=4674;POINT (-38.377633 -3.398732)'))) / (select extract(epoch from '2026-06-09 13:00:07'::timestamp) - extract(epoch from '2026-06-09 13:00: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'), 46534, 'SRID=4674;POINT (-38.377693 -3.398795)', '2026-06-09 13:00:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377633 -3.398732)'), GeomFromEWKT('SRID=4674;POINT (-38.377693 -3.398795)'))) / (select extract(epoch from '2026-06-09 13:00:12'::timestamp) - extract(epoch from '2026-06-09 13:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377633 -3.398732)'), GeomFromEWKT('SRID=4674;POINT (-38.377693 -3.398795)'))) / (select extract(epoch from '2026-06-09 13:00:12'::timestamp) - extract(epoch from '2026-06-09 13:00: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'), 46534, 'SRID=4674;POINT (-38.377761 -3.398871)', '2026-06-09 13:00:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377693 -3.398795)'), GeomFromEWKT('SRID=4674;POINT (-38.377761 -3.398871)'))) / (select extract(epoch from '2026-06-09 13:00:18'::timestamp) - extract(epoch from '2026-06-09 13:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377693 -3.398795)'), GeomFromEWKT('SRID=4674;POINT (-38.377761 -3.398871)'))) / (select extract(epoch from '2026-06-09 13:00:18'::timestamp) - extract(epoch from '2026-06-09 13:00: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'), 46534, 'SRID=4674;POINT (-38.377831 -3.398966)', '2026-06-09 13:00:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377761 -3.398871)'), GeomFromEWKT('SRID=4674;POINT (-38.377831 -3.398966)'))) / (select extract(epoch from '2026-06-09 13:00:24'::timestamp) - extract(epoch from '2026-06-09 13:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377761 -3.398871)'), GeomFromEWKT('SRID=4674;POINT (-38.377831 -3.398966)'))) / (select extract(epoch from '2026-06-09 13:00:24'::timestamp) - extract(epoch from '2026-06-09 13:00: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'), 46534, 'SRID=4674;POINT (-38.377854 -3.39899)', '2026-06-09 13:00:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377831 -3.398966)'), GeomFromEWKT('SRID=4674;POINT (-38.377854 -3.39899)'))) / (select extract(epoch from '2026-06-09 13:00:27'::timestamp) - extract(epoch from '2026-06-09 13:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377831 -3.398966)'), GeomFromEWKT('SRID=4674;POINT (-38.377854 -3.39899)'))) / (select extract(epoch from '2026-06-09 13:00:27'::timestamp) - extract(epoch from '2026-06-09 13:00: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'), 46534, 'SRID=4674;POINT (-38.377906 -3.399054)', '2026-06-09 13:00:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377854 -3.39899)'), GeomFromEWKT('SRID=4674;POINT (-38.377906 -3.399054)'))) / (select extract(epoch from '2026-06-09 13:00:33'::timestamp) - extract(epoch from '2026-06-09 13:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377854 -3.39899)'), GeomFromEWKT('SRID=4674;POINT (-38.377906 -3.399054)'))) / (select extract(epoch from '2026-06-09 13:00:33'::timestamp) - extract(epoch from '2026-06-09 13:00:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.377975 -3.399126)', '2026-06-09 13:00:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377906 -3.399054)'), GeomFromEWKT('SRID=4674;POINT (-38.377975 -3.399126)'))) / (select extract(epoch from '2026-06-09 13:00:39'::timestamp) - extract(epoch from '2026-06-09 13:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377906 -3.399054)'), GeomFromEWKT('SRID=4674;POINT (-38.377975 -3.399126)'))) / (select extract(epoch from '2026-06-09 13:00:39'::timestamp) - extract(epoch from '2026-06-09 13:00: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'), 46534, 'SRID=4674;POINT (-38.378054 -3.39921)', '2026-06-09 13:00:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377975 -3.399126)'), GeomFromEWKT('SRID=4674;POINT (-38.378054 -3.39921)'))) / (select extract(epoch from '2026-06-09 13:00:45'::timestamp) - extract(epoch from '2026-06-09 13:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377975 -3.399126)'), GeomFromEWKT('SRID=4674;POINT (-38.378054 -3.39921)'))) / (select extract(epoch from '2026-06-09 13:00:45'::timestamp) - extract(epoch from '2026-06-09 13:00: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'), 46534, 'SRID=4674;POINT (-38.378138 -3.399311)', '2026-06-09 13:00:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378054 -3.39921)'), GeomFromEWKT('SRID=4674;POINT (-38.378138 -3.399311)'))) / (select extract(epoch from '2026-06-09 13:00:52'::timestamp) - extract(epoch from '2026-06-09 13:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378054 -3.39921)'), GeomFromEWKT('SRID=4674;POINT (-38.378138 -3.399311)'))) / (select extract(epoch from '2026-06-09 13:00:52'::timestamp) - extract(epoch from '2026-06-09 13:00: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'), 46534, 'SRID=4674;POINT (-38.378143 -3.399326)', '2026-06-09 13:00:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378138 -3.399311)'), GeomFromEWKT('SRID=4674;POINT (-38.378143 -3.399326)'))) / (select extract(epoch from '2026-06-09 13:00:53'::timestamp) - extract(epoch from '2026-06-09 13:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378138 -3.399311)'), GeomFromEWKT('SRID=4674;POINT (-38.378143 -3.399326)'))) / (select extract(epoch from '2026-06-09 13:00:53'::timestamp) - extract(epoch from '2026-06-09 13:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.378159 -3.399351)', '2026-06-09 13:00:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378143 -3.399326)'), GeomFromEWKT('SRID=4674;POINT (-38.378159 -3.399351)'))) / (select extract(epoch from '2026-06-09 13:00:55'::timestamp) - extract(epoch from '2026-06-09 13:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378143 -3.399326)'), GeomFromEWKT('SRID=4674;POINT (-38.378159 -3.399351)'))) / (select extract(epoch from '2026-06-09 13:00:55'::timestamp) - extract(epoch from '2026-06-09 13:00: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'), 46534, 'SRID=4674;POINT (-38.378172 -3.399362)', '2026-06-09 13:00:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378159 -3.399351)'), GeomFromEWKT('SRID=4674;POINT (-38.378172 -3.399362)'))) / (select extract(epoch from '2026-06-09 13:00:56'::timestamp) - extract(epoch from '2026-06-09 13:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378159 -3.399351)'), GeomFromEWKT('SRID=4674;POINT (-38.378172 -3.399362)'))) / (select extract(epoch from '2026-06-09 13:00:56'::timestamp) - extract(epoch from '2026-06-09 13:00: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'), 46534, 'SRID=4674;POINT (-38.37821 -3.399424)', '2026-06-09 13:01:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378172 -3.399362)'), GeomFromEWKT('SRID=4674;POINT (-38.37821 -3.399424)'))) / (select extract(epoch from '2026-06-09 13:01:01'::timestamp) - extract(epoch from '2026-06-09 13:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378172 -3.399362)'), GeomFromEWKT('SRID=4674;POINT (-38.37821 -3.399424)'))) / (select extract(epoch from '2026-06-09 13:01:01'::timestamp) - extract(epoch from '2026-06-09 13:00:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.37827 -3.399498)', '2026-06-09 13:01:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37821 -3.399424)'), GeomFromEWKT('SRID=4674;POINT (-38.37827 -3.399498)'))) / (select extract(epoch from '2026-06-09 13:01:07'::timestamp) - extract(epoch from '2026-06-09 13:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37821 -3.399424)'), GeomFromEWKT('SRID=4674;POINT (-38.37827 -3.399498)'))) / (select extract(epoch from '2026-06-09 13:01:07'::timestamp) - extract(epoch from '2026-06-09 13:01: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'), 46534, 'SRID=4674;POINT (-38.378326 -3.399569)', '2026-06-09 13:01:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37827 -3.399498)'), GeomFromEWKT('SRID=4674;POINT (-38.378326 -3.399569)'))) / (select extract(epoch from '2026-06-09 13:01:13'::timestamp) - extract(epoch from '2026-06-09 13:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37827 -3.399498)'), GeomFromEWKT('SRID=4674;POINT (-38.378326 -3.399569)'))) / (select extract(epoch from '2026-06-09 13:01:13'::timestamp) - extract(epoch from '2026-06-09 13:01: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'), 46534, 'SRID=4674;POINT (-38.378387 -3.399643)', '2026-06-09 13:01:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378326 -3.399569)'), GeomFromEWKT('SRID=4674;POINT (-38.378387 -3.399643)'))) / (select extract(epoch from '2026-06-09 13:01:18'::timestamp) - extract(epoch from '2026-06-09 13:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378326 -3.399569)'), GeomFromEWKT('SRID=4674;POINT (-38.378387 -3.399643)'))) / (select extract(epoch from '2026-06-09 13:01:18'::timestamp) - extract(epoch from '2026-06-09 13:01: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'), 46534, 'SRID=4674;POINT (-38.378453 -3.399716)', '2026-06-09 13:01:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378387 -3.399643)'), GeomFromEWKT('SRID=4674;POINT (-38.378453 -3.399716)'))) / (select extract(epoch from '2026-06-09 13:01:23'::timestamp) - extract(epoch from '2026-06-09 13:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378387 -3.399643)'), GeomFromEWKT('SRID=4674;POINT (-38.378453 -3.399716)'))) / (select extract(epoch from '2026-06-09 13:01:23'::timestamp) - extract(epoch from '2026-06-09 13:01:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.378524 -3.399812)', '2026-06-09 13:01:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378453 -3.399716)'), GeomFromEWKT('SRID=4674;POINT (-38.378524 -3.399812)'))) / (select extract(epoch from '2026-06-09 13:01:29'::timestamp) - extract(epoch from '2026-06-09 13:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378453 -3.399716)'), GeomFromEWKT('SRID=4674;POINT (-38.378524 -3.399812)'))) / (select extract(epoch from '2026-06-09 13:01:29'::timestamp) - extract(epoch from '2026-06-09 13:01:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.378578 -3.39989)', '2026-06-09 13:01:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378524 -3.399812)'), GeomFromEWKT('SRID=4674;POINT (-38.378578 -3.39989)'))) / (select extract(epoch from '2026-06-09 13:01:34'::timestamp) - extract(epoch from '2026-06-09 13:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378524 -3.399812)'), GeomFromEWKT('SRID=4674;POINT (-38.378578 -3.39989)'))) / (select extract(epoch from '2026-06-09 13:01:34'::timestamp) - extract(epoch from '2026-06-09 13:01: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'), 46534, 'SRID=4674;POINT (-38.378587 -3.399902)', '2026-06-09 13:01:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378578 -3.39989)'), GeomFromEWKT('SRID=4674;POINT (-38.378587 -3.399902)'))) / (select extract(epoch from '2026-06-09 13:01:35'::timestamp) - extract(epoch from '2026-06-09 13:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378578 -3.39989)'), GeomFromEWKT('SRID=4674;POINT (-38.378587 -3.399902)'))) / (select extract(epoch from '2026-06-09 13:01:35'::timestamp) - extract(epoch from '2026-06-09 13:01:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.378619 -3.399941)', '2026-06-09 13:01:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378587 -3.399902)'), GeomFromEWKT('SRID=4674;POINT (-38.378619 -3.399941)'))) / (select extract(epoch from '2026-06-09 13:01:38'::timestamp) - extract(epoch from '2026-06-09 13:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378587 -3.399902)'), GeomFromEWKT('SRID=4674;POINT (-38.378619 -3.399941)'))) / (select extract(epoch from '2026-06-09 13:01:38'::timestamp) - extract(epoch from '2026-06-09 13:01:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.378673 -3.400012)', '2026-06-09 13:01:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378619 -3.399941)'), GeomFromEWKT('SRID=4674;POINT (-38.378673 -3.400012)'))) / (select extract(epoch from '2026-06-09 13:01:43'::timestamp) - extract(epoch from '2026-06-09 13:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378619 -3.399941)'), GeomFromEWKT('SRID=4674;POINT (-38.378673 -3.400012)'))) / (select extract(epoch from '2026-06-09 13:01:43'::timestamp) - extract(epoch from '2026-06-09 13:01: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'), 46534, 'SRID=4674;POINT (-38.378738 -3.400099)', '2026-06-09 13:01:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378673 -3.400012)'), GeomFromEWKT('SRID=4674;POINT (-38.378738 -3.400099)'))) / (select extract(epoch from '2026-06-09 13:01:50'::timestamp) - extract(epoch from '2026-06-09 13:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378673 -3.400012)'), GeomFromEWKT('SRID=4674;POINT (-38.378738 -3.400099)'))) / (select extract(epoch from '2026-06-09 13:01:50'::timestamp) - extract(epoch from '2026-06-09 13:01: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'), 46534, 'SRID=4674;POINT (-38.378804 -3.400186)', '2026-06-09 13:01:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378738 -3.400099)'), GeomFromEWKT('SRID=4674;POINT (-38.378804 -3.400186)'))) / (select extract(epoch from '2026-06-09 13:01:56'::timestamp) - extract(epoch from '2026-06-09 13:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378738 -3.400099)'), GeomFromEWKT('SRID=4674;POINT (-38.378804 -3.400186)'))) / (select extract(epoch from '2026-06-09 13:01:56'::timestamp) - extract(epoch from '2026-06-09 13:01:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.378874 -3.400304)', '2026-06-09 13:02:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378804 -3.400186)'), GeomFromEWKT('SRID=4674;POINT (-38.378874 -3.400304)'))) / (select extract(epoch from '2026-06-09 13:02:03'::timestamp) - extract(epoch from '2026-06-09 13:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378804 -3.400186)'), GeomFromEWKT('SRID=4674;POINT (-38.378874 -3.400304)'))) / (select extract(epoch from '2026-06-09 13:02:03'::timestamp) - extract(epoch from '2026-06-09 13:01: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'), 46534, 'SRID=4674;POINT (-38.378939 -3.400406)', '2026-06-09 13:02:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378874 -3.400304)'), GeomFromEWKT('SRID=4674;POINT (-38.378939 -3.400406)'))) / (select extract(epoch from '2026-06-09 13:02:09'::timestamp) - extract(epoch from '2026-06-09 13:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378874 -3.400304)'), GeomFromEWKT('SRID=4674;POINT (-38.378939 -3.400406)'))) / (select extract(epoch from '2026-06-09 13:02:09'::timestamp) - extract(epoch from '2026-06-09 13:02: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'), 46534, 'SRID=4674;POINT (-38.378994 -3.400506)', '2026-06-09 13:02:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378939 -3.400406)'), GeomFromEWKT('SRID=4674;POINT (-38.378994 -3.400506)'))) / (select extract(epoch from '2026-06-09 13:02:15'::timestamp) - extract(epoch from '2026-06-09 13:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378939 -3.400406)'), GeomFromEWKT('SRID=4674;POINT (-38.378994 -3.400506)'))) / (select extract(epoch from '2026-06-09 13:02:15'::timestamp) - extract(epoch from '2026-06-09 13:02: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'), 46534, 'SRID=4674;POINT (-38.379051 -3.400588)', '2026-06-09 13:02:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378994 -3.400506)'), GeomFromEWKT('SRID=4674;POINT (-38.379051 -3.400588)'))) / (select extract(epoch from '2026-06-09 13:02:20'::timestamp) - extract(epoch from '2026-06-09 13:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378994 -3.400506)'), GeomFromEWKT('SRID=4674;POINT (-38.379051 -3.400588)'))) / (select extract(epoch from '2026-06-09 13:02:20'::timestamp) - extract(epoch from '2026-06-09 13:02: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'), 46534, 'SRID=4674;POINT (-38.379107 -3.400683)', '2026-06-09 13:02:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379051 -3.400588)'), GeomFromEWKT('SRID=4674;POINT (-38.379107 -3.400683)'))) / (select extract(epoch from '2026-06-09 13:02:26'::timestamp) - extract(epoch from '2026-06-09 13:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379051 -3.400588)'), GeomFromEWKT('SRID=4674;POINT (-38.379107 -3.400683)'))) / (select extract(epoch from '2026-06-09 13:02:26'::timestamp) - extract(epoch from '2026-06-09 13:02: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'), 46534, 'SRID=4674;POINT (-38.379178 -3.40077)', '2026-06-09 13:02:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379107 -3.400683)'), GeomFromEWKT('SRID=4674;POINT (-38.379178 -3.40077)'))) / (select extract(epoch from '2026-06-09 13:02:32'::timestamp) - extract(epoch from '2026-06-09 13:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379107 -3.400683)'), GeomFromEWKT('SRID=4674;POINT (-38.379178 -3.40077)'))) / (select extract(epoch from '2026-06-09 13:02:32'::timestamp) - extract(epoch from '2026-06-09 13:02: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'), 46534, 'SRID=4674;POINT (-38.379227 -3.400843)', '2026-06-09 13:02:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379178 -3.40077)'), GeomFromEWKT('SRID=4674;POINT (-38.379227 -3.400843)'))) / (select extract(epoch from '2026-06-09 13:02:37'::timestamp) - extract(epoch from '2026-06-09 13:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379178 -3.40077)'), GeomFromEWKT('SRID=4674;POINT (-38.379227 -3.400843)'))) / (select extract(epoch from '2026-06-09 13:02:37'::timestamp) - extract(epoch from '2026-06-09 13:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.379264 -3.400904)', '2026-06-09 13:02:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379227 -3.400843)'), GeomFromEWKT('SRID=4674;POINT (-38.379264 -3.400904)'))) / (select extract(epoch from '2026-06-09 13:02:41'::timestamp) - extract(epoch from '2026-06-09 13:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379227 -3.400843)'), GeomFromEWKT('SRID=4674;POINT (-38.379264 -3.400904)'))) / (select extract(epoch from '2026-06-09 13:02:41'::timestamp) - extract(epoch from '2026-06-09 13:02:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.379314 -3.400978)', '2026-06-09 13:02:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379264 -3.400904)'), GeomFromEWKT('SRID=4674;POINT (-38.379314 -3.400978)'))) / (select extract(epoch from '2026-06-09 13:02:46'::timestamp) - extract(epoch from '2026-06-09 13:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379264 -3.400904)'), GeomFromEWKT('SRID=4674;POINT (-38.379314 -3.400978)'))) / (select extract(epoch from '2026-06-09 13:02:46'::timestamp) - extract(epoch from '2026-06-09 13:02: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'), 46534, 'SRID=4674;POINT (-38.379362 -3.401048)', '2026-06-09 13:02:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379314 -3.400978)'), GeomFromEWKT('SRID=4674;POINT (-38.379362 -3.401048)'))) / (select extract(epoch from '2026-06-09 13:02:51'::timestamp) - extract(epoch from '2026-06-09 13:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379314 -3.400978)'), GeomFromEWKT('SRID=4674;POINT (-38.379362 -3.401048)'))) / (select extract(epoch from '2026-06-09 13:02:51'::timestamp) - extract(epoch from '2026-06-09 13:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.379367 -3.401058)', '2026-06-09 13:02:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379362 -3.401048)'), GeomFromEWKT('SRID=4674;POINT (-38.379367 -3.401058)'))) / (select extract(epoch from '2026-06-09 13:02:52'::timestamp) - extract(epoch from '2026-06-09 13:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379362 -3.401048)'), GeomFromEWKT('SRID=4674;POINT (-38.379367 -3.401058)'))) / (select extract(epoch from '2026-06-09 13:02:52'::timestamp) - extract(epoch from '2026-06-09 13:02: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'), 46534, 'SRID=4674;POINT (-38.37938 -3.401063)', '2026-06-09 13:02:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379367 -3.401058)'), GeomFromEWKT('SRID=4674;POINT (-38.37938 -3.401063)'))) / (select extract(epoch from '2026-06-09 13:02:53'::timestamp) - extract(epoch from '2026-06-09 13:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379367 -3.401058)'), GeomFromEWKT('SRID=4674;POINT (-38.37938 -3.401063)'))) / (select extract(epoch from '2026-06-09 13:02:53'::timestamp) - extract(epoch from '2026-06-09 13:02:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.379409 -3.401093)', '2026-06-09 13:02:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37938 -3.401063)'), GeomFromEWKT('SRID=4674;POINT (-38.379409 -3.401093)'))) / (select extract(epoch from '2026-06-09 13:02:55'::timestamp) - extract(epoch from '2026-06-09 13:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37938 -3.401063)'), GeomFromEWKT('SRID=4674;POINT (-38.379409 -3.401093)'))) / (select extract(epoch from '2026-06-09 13:02:55'::timestamp) - extract(epoch from '2026-06-09 13:02: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'), 46534, 'SRID=4674;POINT (-38.379473 -3.401181)', '2026-06-09 13:03:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379409 -3.401093)'), GeomFromEWKT('SRID=4674;POINT (-38.379473 -3.401181)'))) / (select extract(epoch from '2026-06-09 13:03:01'::timestamp) - extract(epoch from '2026-06-09 13:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379409 -3.401093)'), GeomFromEWKT('SRID=4674;POINT (-38.379473 -3.401181)'))) / (select extract(epoch from '2026-06-09 13:03:01'::timestamp) - extract(epoch from '2026-06-09 13:02:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.379503 -3.401225)', '2026-06-09 13:03:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379473 -3.401181)'), GeomFromEWKT('SRID=4674;POINT (-38.379503 -3.401225)'))) / (select extract(epoch from '2026-06-09 13:03:04'::timestamp) - extract(epoch from '2026-06-09 13:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379473 -3.401181)'), GeomFromEWKT('SRID=4674;POINT (-38.379503 -3.401225)'))) / (select extract(epoch from '2026-06-09 13:03:04'::timestamp) - extract(epoch from '2026-06-09 13:03:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.379532 -3.401251)', '2026-06-09 13:03:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379503 -3.401225)'), GeomFromEWKT('SRID=4674;POINT (-38.379532 -3.401251)'))) / (select extract(epoch from '2026-06-09 13:03:06'::timestamp) - extract(epoch from '2026-06-09 13:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379503 -3.401225)'), GeomFromEWKT('SRID=4674;POINT (-38.379532 -3.401251)'))) / (select extract(epoch from '2026-06-09 13:03:06'::timestamp) - extract(epoch from '2026-06-09 13:03: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'), 46534, 'SRID=4674;POINT (-38.37958 -3.401325)', '2026-06-09 13:03:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379532 -3.401251)'), GeomFromEWKT('SRID=4674;POINT (-38.37958 -3.401325)'))) / (select extract(epoch from '2026-06-09 13:03:11'::timestamp) - extract(epoch from '2026-06-09 13:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379532 -3.401251)'), GeomFromEWKT('SRID=4674;POINT (-38.37958 -3.401325)'))) / (select extract(epoch from '2026-06-09 13:03:11'::timestamp) - extract(epoch from '2026-06-09 13:03:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.37966 -3.401424)', '2026-06-09 13:03:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37958 -3.401325)'), GeomFromEWKT('SRID=4674;POINT (-38.37966 -3.401424)'))) / (select extract(epoch from '2026-06-09 13:03:18'::timestamp) - extract(epoch from '2026-06-09 13:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37958 -3.401325)'), GeomFromEWKT('SRID=4674;POINT (-38.37966 -3.401424)'))) / (select extract(epoch from '2026-06-09 13:03:18'::timestamp) - extract(epoch from '2026-06-09 13:03:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.379713 -3.401496)', '2026-06-09 13:03:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37966 -3.401424)'), GeomFromEWKT('SRID=4674;POINT (-38.379713 -3.401496)'))) / (select extract(epoch from '2026-06-09 13:03:22'::timestamp) - extract(epoch from '2026-06-09 13:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37966 -3.401424)'), GeomFromEWKT('SRID=4674;POINT (-38.379713 -3.401496)'))) / (select extract(epoch from '2026-06-09 13:03:22'::timestamp) - extract(epoch from '2026-06-09 13:03: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'), 46534, 'SRID=4674;POINT (-38.379724 -3.401526)', '2026-06-09 13:03:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379713 -3.401496)'), GeomFromEWKT('SRID=4674;POINT (-38.379724 -3.401526)'))) / (select extract(epoch from '2026-06-09 13:03:24'::timestamp) - extract(epoch from '2026-06-09 13:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379713 -3.401496)'), GeomFromEWKT('SRID=4674;POINT (-38.379724 -3.401526)'))) / (select extract(epoch from '2026-06-09 13:03:24'::timestamp) - extract(epoch from '2026-06-09 13:03: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'), 46534, 'SRID=4674;POINT (-38.379751 -3.401554)', '2026-06-09 13:03:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379724 -3.401526)'), GeomFromEWKT('SRID=4674;POINT (-38.379751 -3.401554)'))) / (select extract(epoch from '2026-06-09 13:03:26'::timestamp) - extract(epoch from '2026-06-09 13:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379724 -3.401526)'), GeomFromEWKT('SRID=4674;POINT (-38.379751 -3.401554)'))) / (select extract(epoch from '2026-06-09 13:03:26'::timestamp) - extract(epoch from '2026-06-09 13:03: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'), 46534, 'SRID=4674;POINT (-38.379801 -3.401642)', '2026-06-09 13:03:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379751 -3.401554)'), GeomFromEWKT('SRID=4674;POINT (-38.379801 -3.401642)'))) / (select extract(epoch from '2026-06-09 13:03:31'::timestamp) - extract(epoch from '2026-06-09 13:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379751 -3.401554)'), GeomFromEWKT('SRID=4674;POINT (-38.379801 -3.401642)'))) / (select extract(epoch from '2026-06-09 13:03:31'::timestamp) - extract(epoch from '2026-06-09 13:03:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.379871 -3.401725)', '2026-06-09 13:03:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379801 -3.401642)'), GeomFromEWKT('SRID=4674;POINT (-38.379871 -3.401725)'))) / (select extract(epoch from '2026-06-09 13:03:37'::timestamp) - extract(epoch from '2026-06-09 13:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379801 -3.401642)'), GeomFromEWKT('SRID=4674;POINT (-38.379871 -3.401725)'))) / (select extract(epoch from '2026-06-09 13:03:37'::timestamp) - extract(epoch from '2026-06-09 13:03:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.379912 -3.401783)', '2026-06-09 13:03:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379871 -3.401725)'), GeomFromEWKT('SRID=4674;POINT (-38.379912 -3.401783)'))) / (select extract(epoch from '2026-06-09 13:03:41'::timestamp) - extract(epoch from '2026-06-09 13:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379871 -3.401725)'), GeomFromEWKT('SRID=4674;POINT (-38.379912 -3.401783)'))) / (select extract(epoch from '2026-06-09 13:03:41'::timestamp) - extract(epoch from '2026-06-09 13:03:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.379925 -3.40179)', '2026-06-09 13:03:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379912 -3.401783)'), GeomFromEWKT('SRID=4674;POINT (-38.379925 -3.40179)'))) / (select extract(epoch from '2026-06-09 13:03:42'::timestamp) - extract(epoch from '2026-06-09 13:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379912 -3.401783)'), GeomFromEWKT('SRID=4674;POINT (-38.379925 -3.40179)'))) / (select extract(epoch from '2026-06-09 13:03:42'::timestamp) - extract(epoch from '2026-06-09 13:03: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'), 46534, 'SRID=4674;POINT (-38.379949 -3.401812)', '2026-06-09 13:03:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379925 -3.40179)'), GeomFromEWKT('SRID=4674;POINT (-38.379949 -3.401812)'))) / (select extract(epoch from '2026-06-09 13:03:44'::timestamp) - extract(epoch from '2026-06-09 13:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379925 -3.40179)'), GeomFromEWKT('SRID=4674;POINT (-38.379949 -3.401812)'))) / (select extract(epoch from '2026-06-09 13:03:44'::timestamp) - extract(epoch from '2026-06-09 13:03:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.379963 -3.401836)', '2026-06-09 13:03:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379949 -3.401812)'), GeomFromEWKT('SRID=4674;POINT (-38.379963 -3.401836)'))) / (select extract(epoch from '2026-06-09 13:03:46'::timestamp) - extract(epoch from '2026-06-09 13:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379949 -3.401812)'), GeomFromEWKT('SRID=4674;POINT (-38.379963 -3.401836)'))) / (select extract(epoch from '2026-06-09 13:03:46'::timestamp) - extract(epoch from '2026-06-09 13:03: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'), 46534, 'SRID=4674;POINT (-38.379977 -3.401845)', '2026-06-09 13:03:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379963 -3.401836)'), GeomFromEWKT('SRID=4674;POINT (-38.379977 -3.401845)'))) / (select extract(epoch from '2026-06-09 13:03:47'::timestamp) - extract(epoch from '2026-06-09 13:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379963 -3.401836)'), GeomFromEWKT('SRID=4674;POINT (-38.379977 -3.401845)'))) / (select extract(epoch from '2026-06-09 13:03:47'::timestamp) - extract(epoch from '2026-06-09 13:03:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.380018 -3.401902)', '2026-06-09 13:03:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379977 -3.401845)'), GeomFromEWKT('SRID=4674;POINT (-38.380018 -3.401902)'))) / (select extract(epoch from '2026-06-09 13:03:51'::timestamp) - extract(epoch from '2026-06-09 13:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379977 -3.401845)'), GeomFromEWKT('SRID=4674;POINT (-38.380018 -3.401902)'))) / (select extract(epoch from '2026-06-09 13:03:51'::timestamp) - extract(epoch from '2026-06-09 13:03: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'), 46534, 'SRID=4674;POINT (-38.380088 -3.401999)', '2026-06-09 13:03:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380018 -3.401902)'), GeomFromEWKT('SRID=4674;POINT (-38.380088 -3.401999)'))) / (select extract(epoch from '2026-06-09 13:03:58'::timestamp) - extract(epoch from '2026-06-09 13:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380018 -3.401902)'), GeomFromEWKT('SRID=4674;POINT (-38.380088 -3.401999)'))) / (select extract(epoch from '2026-06-09 13:03:58'::timestamp) - extract(epoch from '2026-06-09 13:03: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'), 46534, 'SRID=4674;POINT (-38.380145 -3.402076)', '2026-06-09 13:04:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380088 -3.401999)'), GeomFromEWKT('SRID=4674;POINT (-38.380145 -3.402076)'))) / (select extract(epoch from '2026-06-09 13:04:04'::timestamp) - extract(epoch from '2026-06-09 13:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380088 -3.401999)'), GeomFromEWKT('SRID=4674;POINT (-38.380145 -3.402076)'))) / (select extract(epoch from '2026-06-09 13:04:04'::timestamp) - extract(epoch from '2026-06-09 13:03:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.380205 -3.402162)', '2026-06-09 13:04:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380145 -3.402076)'), GeomFromEWKT('SRID=4674;POINT (-38.380205 -3.402162)'))) / (select extract(epoch from '2026-06-09 13:04:10'::timestamp) - extract(epoch from '2026-06-09 13:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380145 -3.402076)'), GeomFromEWKT('SRID=4674;POINT (-38.380205 -3.402162)'))) / (select extract(epoch from '2026-06-09 13:04:10'::timestamp) - extract(epoch from '2026-06-09 13:04:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.380254 -3.402227)', '2026-06-09 13:04:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380205 -3.402162)'), GeomFromEWKT('SRID=4674;POINT (-38.380254 -3.402227)'))) / (select extract(epoch from '2026-06-09 13:04:15'::timestamp) - extract(epoch from '2026-06-09 13:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380205 -3.402162)'), GeomFromEWKT('SRID=4674;POINT (-38.380254 -3.402227)'))) / (select extract(epoch from '2026-06-09 13:04:15'::timestamp) - extract(epoch from '2026-06-09 13:04: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'), 46534, 'SRID=4674;POINT (-38.380308 -3.40231)', '2026-06-09 13:04:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380254 -3.402227)'), GeomFromEWKT('SRID=4674;POINT (-38.380308 -3.40231)'))) / (select extract(epoch from '2026-06-09 13:04:20'::timestamp) - extract(epoch from '2026-06-09 13:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380254 -3.402227)'), GeomFromEWKT('SRID=4674;POINT (-38.380308 -3.40231)'))) / (select extract(epoch from '2026-06-09 13:04:20'::timestamp) - extract(epoch from '2026-06-09 13:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.38037 -3.402407)', '2026-06-09 13:04:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380308 -3.40231)'), GeomFromEWKT('SRID=4674;POINT (-38.38037 -3.402407)'))) / (select extract(epoch from '2026-06-09 13:04:26'::timestamp) - extract(epoch from '2026-06-09 13:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380308 -3.40231)'), GeomFromEWKT('SRID=4674;POINT (-38.38037 -3.402407)'))) / (select extract(epoch from '2026-06-09 13:04:26'::timestamp) - extract(epoch from '2026-06-09 13:04:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.380447 -3.402512)', '2026-06-09 13:04:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38037 -3.402407)'), GeomFromEWKT('SRID=4674;POINT (-38.380447 -3.402512)'))) / (select extract(epoch from '2026-06-09 13:04:33'::timestamp) - extract(epoch from '2026-06-09 13:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38037 -3.402407)'), GeomFromEWKT('SRID=4674;POINT (-38.380447 -3.402512)'))) / (select extract(epoch from '2026-06-09 13:04:33'::timestamp) - extract(epoch from '2026-06-09 13:04: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'), 46534, 'SRID=4674;POINT (-38.380472 -3.402554)', '2026-06-09 13:04:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380447 -3.402512)'), GeomFromEWKT('SRID=4674;POINT (-38.380472 -3.402554)'))) / (select extract(epoch from '2026-06-09 13:04:36'::timestamp) - extract(epoch from '2026-06-09 13:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380447 -3.402512)'), GeomFromEWKT('SRID=4674;POINT (-38.380472 -3.402554)'))) / (select extract(epoch from '2026-06-09 13:04:36'::timestamp) - extract(epoch from '2026-06-09 13:04:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.380499 -3.402584)', '2026-06-09 13:04:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380472 -3.402554)'), GeomFromEWKT('SRID=4674;POINT (-38.380499 -3.402584)'))) / (select extract(epoch from '2026-06-09 13:04:38'::timestamp) - extract(epoch from '2026-06-09 13:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380472 -3.402554)'), GeomFromEWKT('SRID=4674;POINT (-38.380499 -3.402584)'))) / (select extract(epoch from '2026-06-09 13:04:38'::timestamp) - extract(epoch from '2026-06-09 13:04: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'), 46534, 'SRID=4674;POINT (-38.380556 -3.402685)', '2026-06-09 13:04:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380499 -3.402584)'), GeomFromEWKT('SRID=4674;POINT (-38.380556 -3.402685)'))) / (select extract(epoch from '2026-06-09 13:04:44'::timestamp) - extract(epoch from '2026-06-09 13:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380499 -3.402584)'), GeomFromEWKT('SRID=4674;POINT (-38.380556 -3.402685)'))) / (select extract(epoch from '2026-06-09 13:04:44'::timestamp) - extract(epoch from '2026-06-09 13:04:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.380626 -3.402781)', '2026-06-09 13:04:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380556 -3.402685)'), GeomFromEWKT('SRID=4674;POINT (-38.380626 -3.402781)'))) / (select extract(epoch from '2026-06-09 13:04:51'::timestamp) - extract(epoch from '2026-06-09 13:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380556 -3.402685)'), GeomFromEWKT('SRID=4674;POINT (-38.380626 -3.402781)'))) / (select extract(epoch from '2026-06-09 13:04:51'::timestamp) - extract(epoch from '2026-06-09 13:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.38069 -3.402862)', '2026-06-09 13:04:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380626 -3.402781)'), GeomFromEWKT('SRID=4674;POINT (-38.38069 -3.402862)'))) / (select extract(epoch from '2026-06-09 13:04:56'::timestamp) - extract(epoch from '2026-06-09 13:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380626 -3.402781)'), GeomFromEWKT('SRID=4674;POINT (-38.38069 -3.402862)'))) / (select extract(epoch from '2026-06-09 13:04:56'::timestamp) - extract(epoch from '2026-06-09 13:04:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.380747 -3.402973)', '2026-06-09 13:05:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38069 -3.402862)'), GeomFromEWKT('SRID=4674;POINT (-38.380747 -3.402973)'))) / (select extract(epoch from '2026-06-09 13:05:03'::timestamp) - extract(epoch from '2026-06-09 13:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38069 -3.402862)'), GeomFromEWKT('SRID=4674;POINT (-38.380747 -3.402973)'))) / (select extract(epoch from '2026-06-09 13:05:03'::timestamp) - extract(epoch from '2026-06-09 13:04:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.380756 -3.40299)', '2026-06-09 13:05:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380747 -3.402973)'), GeomFromEWKT('SRID=4674;POINT (-38.380756 -3.40299)'))) / (select extract(epoch from '2026-06-09 13:05:04'::timestamp) - extract(epoch from '2026-06-09 13:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380747 -3.402973)'), GeomFromEWKT('SRID=4674;POINT (-38.380756 -3.40299)'))) / (select extract(epoch from '2026-06-09 13:05:04'::timestamp) - extract(epoch from '2026-06-09 13:05:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.380792 -3.403031)', '2026-06-09 13:05:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380756 -3.40299)'), GeomFromEWKT('SRID=4674;POINT (-38.380792 -3.403031)'))) / (select extract(epoch from '2026-06-09 13:05:07'::timestamp) - extract(epoch from '2026-06-09 13:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380756 -3.40299)'), GeomFromEWKT('SRID=4674;POINT (-38.380792 -3.403031)'))) / (select extract(epoch from '2026-06-09 13:05:07'::timestamp) - extract(epoch from '2026-06-09 13:05: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'), 46534, 'SRID=4674;POINT (-38.380844 -3.403131)', '2026-06-09 13:05:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380792 -3.403031)'), GeomFromEWKT('SRID=4674;POINT (-38.380844 -3.403131)'))) / (select extract(epoch from '2026-06-09 13:05:13'::timestamp) - extract(epoch from '2026-06-09 13:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380792 -3.403031)'), GeomFromEWKT('SRID=4674;POINT (-38.380844 -3.403131)'))) / (select extract(epoch from '2026-06-09 13:05:13'::timestamp) - extract(epoch from '2026-06-09 13:05:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.380865 -3.403178)', '2026-06-09 13:05:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380844 -3.403131)'), GeomFromEWKT('SRID=4674;POINT (-38.380865 -3.403178)'))) / (select extract(epoch from '2026-06-09 13:05:16'::timestamp) - extract(epoch from '2026-06-09 13:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380844 -3.403131)'), GeomFromEWKT('SRID=4674;POINT (-38.380865 -3.403178)'))) / (select extract(epoch from '2026-06-09 13:05:16'::timestamp) - extract(epoch from '2026-06-09 13:05: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'), 46534, 'SRID=4674;POINT (-38.380886 -3.403201)', '2026-06-09 13:05:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380865 -3.403178)'), GeomFromEWKT('SRID=4674;POINT (-38.380886 -3.403201)'))) / (select extract(epoch from '2026-06-09 13:05:18'::timestamp) - extract(epoch from '2026-06-09 13:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380865 -3.403178)'), GeomFromEWKT('SRID=4674;POINT (-38.380886 -3.403201)'))) / (select extract(epoch from '2026-06-09 13:05:18'::timestamp) - extract(epoch from '2026-06-09 13:05:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.380942 -3.403301)', '2026-06-09 13:05:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380886 -3.403201)'), GeomFromEWKT('SRID=4674;POINT (-38.380942 -3.403301)'))) / (select extract(epoch from '2026-06-09 13:05:24'::timestamp) - extract(epoch from '2026-06-09 13:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380886 -3.403201)'), GeomFromEWKT('SRID=4674;POINT (-38.380942 -3.403301)'))) / (select extract(epoch from '2026-06-09 13:05:24'::timestamp) - extract(epoch from '2026-06-09 13:05: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'), 46534, 'SRID=4674;POINT (-38.381004 -3.403388)', '2026-06-09 13:05:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380942 -3.403301)'), GeomFromEWKT('SRID=4674;POINT (-38.381004 -3.403388)'))) / (select extract(epoch from '2026-06-09 13:05:29'::timestamp) - extract(epoch from '2026-06-09 13:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380942 -3.403301)'), GeomFromEWKT('SRID=4674;POINT (-38.381004 -3.403388)'))) / (select extract(epoch from '2026-06-09 13:05:29'::timestamp) - extract(epoch from '2026-06-09 13:05: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'), 46534, 'SRID=4674;POINT (-38.381058 -3.403463)', '2026-06-09 13:05:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381004 -3.403388)'), GeomFromEWKT('SRID=4674;POINT (-38.381058 -3.403463)'))) / (select extract(epoch from '2026-06-09 13:05:34'::timestamp) - extract(epoch from '2026-06-09 13:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381004 -3.403388)'), GeomFromEWKT('SRID=4674;POINT (-38.381058 -3.403463)'))) / (select extract(epoch from '2026-06-09 13:05:34'::timestamp) - extract(epoch from '2026-06-09 13:05: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'), 46534, 'SRID=4674;POINT (-38.381098 -3.40353)', '2026-06-09 13:05:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381058 -3.403463)'), GeomFromEWKT('SRID=4674;POINT (-38.381098 -3.40353)'))) / (select extract(epoch from '2026-06-09 13:05:38'::timestamp) - extract(epoch from '2026-06-09 13:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381058 -3.403463)'), GeomFromEWKT('SRID=4674;POINT (-38.381098 -3.40353)'))) / (select extract(epoch from '2026-06-09 13:05:38'::timestamp) - extract(epoch from '2026-06-09 13:05: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'), 46534, 'SRID=4674;POINT (-38.381138 -3.403588)', '2026-06-09 13:05:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381098 -3.40353)'), GeomFromEWKT('SRID=4674;POINT (-38.381138 -3.403588)'))) / (select extract(epoch from '2026-06-09 13:05:42'::timestamp) - extract(epoch from '2026-06-09 13:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381098 -3.40353)'), GeomFromEWKT('SRID=4674;POINT (-38.381138 -3.403588)'))) / (select extract(epoch from '2026-06-09 13:05:42'::timestamp) - extract(epoch from '2026-06-09 13:05:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.381212 -3.403682)', '2026-06-09 13:05:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381138 -3.403588)'), GeomFromEWKT('SRID=4674;POINT (-38.381212 -3.403682)'))) / (select extract(epoch from '2026-06-09 13:05:48'::timestamp) - extract(epoch from '2026-06-09 13:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381138 -3.403588)'), GeomFromEWKT('SRID=4674;POINT (-38.381212 -3.403682)'))) / (select extract(epoch from '2026-06-09 13:05:48'::timestamp) - extract(epoch from '2026-06-09 13:05: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'), 46534, 'SRID=4674;POINT (-38.381289 -3.403783)', '2026-06-09 13:05:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381212 -3.403682)'), GeomFromEWKT('SRID=4674;POINT (-38.381289 -3.403783)'))) / (select extract(epoch from '2026-06-09 13:05:54'::timestamp) - extract(epoch from '2026-06-09 13:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381212 -3.403682)'), GeomFromEWKT('SRID=4674;POINT (-38.381289 -3.403783)'))) / (select extract(epoch from '2026-06-09 13:05:54'::timestamp) - extract(epoch from '2026-06-09 13:05: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'), 46534, 'SRID=4674;POINT (-38.381329 -3.403857)', '2026-06-09 13:05:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381289 -3.403783)'), GeomFromEWKT('SRID=4674;POINT (-38.381329 -3.403857)'))) / (select extract(epoch from '2026-06-09 13:05:58'::timestamp) - extract(epoch from '2026-06-09 13:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381289 -3.403783)'), GeomFromEWKT('SRID=4674;POINT (-38.381329 -3.403857)'))) / (select extract(epoch from '2026-06-09 13:05:58'::timestamp) - extract(epoch from '2026-06-09 13:05: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'), 46534, 'SRID=4674;POINT (-38.381416 -3.403997)', '2026-06-09 13:06:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381329 -3.403857)'), GeomFromEWKT('SRID=4674;POINT (-38.381416 -3.403997)'))) / (select extract(epoch from '2026-06-09 13:06:06'::timestamp) - extract(epoch from '2026-06-09 13:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381329 -3.403857)'), GeomFromEWKT('SRID=4674;POINT (-38.381416 -3.403997)'))) / (select extract(epoch from '2026-06-09 13:06:06'::timestamp) - extract(epoch from '2026-06-09 13:05: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'), 46534, 'SRID=4674;POINT (-38.381492 -3.404103)', '2026-06-09 13:06:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381416 -3.403997)'), GeomFromEWKT('SRID=4674;POINT (-38.381492 -3.404103)'))) / (select extract(epoch from '2026-06-09 13:06:12'::timestamp) - extract(epoch from '2026-06-09 13:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381416 -3.403997)'), GeomFromEWKT('SRID=4674;POINT (-38.381492 -3.404103)'))) / (select extract(epoch from '2026-06-09 13:06:12'::timestamp) - extract(epoch from '2026-06-09 13:06: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'), 46534, 'SRID=4674;POINT (-38.38156 -3.404198)', '2026-06-09 13:06:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381492 -3.404103)'), GeomFromEWKT('SRID=4674;POINT (-38.38156 -3.404198)'))) / (select extract(epoch from '2026-06-09 13:06:18'::timestamp) - extract(epoch from '2026-06-09 13:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381492 -3.404103)'), GeomFromEWKT('SRID=4674;POINT (-38.38156 -3.404198)'))) / (select extract(epoch from '2026-06-09 13:06:18'::timestamp) - extract(epoch from '2026-06-09 13:06: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'), 46534, 'SRID=4674;POINT (-38.381575 -3.404229)', '2026-06-09 13:06:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38156 -3.404198)'), GeomFromEWKT('SRID=4674;POINT (-38.381575 -3.404229)'))) / (select extract(epoch from '2026-06-09 13:06:20'::timestamp) - extract(epoch from '2026-06-09 13:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38156 -3.404198)'), GeomFromEWKT('SRID=4674;POINT (-38.381575 -3.404229)'))) / (select extract(epoch from '2026-06-09 13:06:20'::timestamp) - extract(epoch from '2026-06-09 13:06: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'), 46534, 'SRID=4674;POINT (-38.381603 -3.404255)', '2026-06-09 13:06:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381575 -3.404229)'), GeomFromEWKT('SRID=4674;POINT (-38.381603 -3.404255)'))) / (select extract(epoch from '2026-06-09 13:06:22'::timestamp) - extract(epoch from '2026-06-09 13:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381575 -3.404229)'), GeomFromEWKT('SRID=4674;POINT (-38.381603 -3.404255)'))) / (select extract(epoch from '2026-06-09 13:06:22'::timestamp) - extract(epoch from '2026-06-09 13:06: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'), 46534, 'SRID=4674;POINT (-38.38165 -3.40432)', '2026-06-09 13:06:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381603 -3.404255)'), GeomFromEWKT('SRID=4674;POINT (-38.38165 -3.40432)'))) / (select extract(epoch from '2026-06-09 13:06:27'::timestamp) - extract(epoch from '2026-06-09 13:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381603 -3.404255)'), GeomFromEWKT('SRID=4674;POINT (-38.38165 -3.40432)'))) / (select extract(epoch from '2026-06-09 13:06:27'::timestamp) - extract(epoch from '2026-06-09 13:06:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.381718 -3.404423)', '2026-06-09 13:06:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38165 -3.40432)'), GeomFromEWKT('SRID=4674;POINT (-38.381718 -3.404423)'))) / (select extract(epoch from '2026-06-09 13:06:34'::timestamp) - extract(epoch from '2026-06-09 13:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38165 -3.40432)'), GeomFromEWKT('SRID=4674;POINT (-38.381718 -3.404423)'))) / (select extract(epoch from '2026-06-09 13:06:34'::timestamp) - extract(epoch from '2026-06-09 13:06:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.381799 -3.404515)', '2026-06-09 13:06:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381718 -3.404423)'), GeomFromEWKT('SRID=4674;POINT (-38.381799 -3.404515)'))) / (select extract(epoch from '2026-06-09 13:06:41'::timestamp) - extract(epoch from '2026-06-09 13:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381718 -3.404423)'), GeomFromEWKT('SRID=4674;POINT (-38.381799 -3.404515)'))) / (select extract(epoch from '2026-06-09 13:06:41'::timestamp) - extract(epoch from '2026-06-09 13:06: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'), 46534, 'SRID=4674;POINT (-38.381853 -3.404601)', '2026-06-09 13:06:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381799 -3.404515)'), GeomFromEWKT('SRID=4674;POINT (-38.381853 -3.404601)'))) / (select extract(epoch from '2026-06-09 13:06:47'::timestamp) - extract(epoch from '2026-06-09 13:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381799 -3.404515)'), GeomFromEWKT('SRID=4674;POINT (-38.381853 -3.404601)'))) / (select extract(epoch from '2026-06-09 13:06:47'::timestamp) - extract(epoch from '2026-06-09 13:06: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'), 46534, 'SRID=4674;POINT (-38.381906 -3.404691)', '2026-06-09 13:06:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381853 -3.404601)'), GeomFromEWKT('SRID=4674;POINT (-38.381906 -3.404691)'))) / (select extract(epoch from '2026-06-09 13:06:53'::timestamp) - extract(epoch from '2026-06-09 13:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381853 -3.404601)'), GeomFromEWKT('SRID=4674;POINT (-38.381906 -3.404691)'))) / (select extract(epoch from '2026-06-09 13:06:53'::timestamp) - extract(epoch from '2026-06-09 13:06:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.381969 -3.404759)', '2026-06-09 13:06:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381906 -3.404691)'), GeomFromEWKT('SRID=4674;POINT (-38.381969 -3.404759)'))) / (select extract(epoch from '2026-06-09 13:06:59'::timestamp) - extract(epoch from '2026-06-09 13:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381906 -3.404691)'), GeomFromEWKT('SRID=4674;POINT (-38.381969 -3.404759)'))) / (select extract(epoch from '2026-06-09 13:06:59'::timestamp) - extract(epoch from '2026-06-09 13:06: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'), 46534, 'SRID=4674;POINT (-38.382039 -3.404829)', '2026-06-09 13:07:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381969 -3.404759)'), GeomFromEWKT('SRID=4674;POINT (-38.382039 -3.404829)'))) / (select extract(epoch from '2026-06-09 13:07:05'::timestamp) - extract(epoch from '2026-06-09 13:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381969 -3.404759)'), GeomFromEWKT('SRID=4674;POINT (-38.382039 -3.404829)'))) / (select extract(epoch from '2026-06-09 13:07:05'::timestamp) - extract(epoch from '2026-06-09 13:06: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'), 46534, 'SRID=4674;POINT (-38.382085 -3.40491)', '2026-06-09 13:07:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382039 -3.404829)'), GeomFromEWKT('SRID=4674;POINT (-38.382085 -3.40491)'))) / (select extract(epoch from '2026-06-09 13:07:10'::timestamp) - extract(epoch from '2026-06-09 13:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382039 -3.404829)'), GeomFromEWKT('SRID=4674;POINT (-38.382085 -3.40491)'))) / (select extract(epoch from '2026-06-09 13:07:10'::timestamp) - extract(epoch from '2026-06-09 13:07:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.382153 -3.405006)', '2026-06-09 13:07:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382085 -3.40491)'), GeomFromEWKT('SRID=4674;POINT (-38.382153 -3.405006)'))) / (select extract(epoch from '2026-06-09 13:07:17'::timestamp) - extract(epoch from '2026-06-09 13:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382085 -3.40491)'), GeomFromEWKT('SRID=4674;POINT (-38.382153 -3.405006)'))) / (select extract(epoch from '2026-06-09 13:07:17'::timestamp) - extract(epoch from '2026-06-09 13:07:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.382241 -3.405111)', '2026-06-09 13:07:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382153 -3.405006)'), GeomFromEWKT('SRID=4674;POINT (-38.382241 -3.405111)'))) / (select extract(epoch from '2026-06-09 13:07:24'::timestamp) - extract(epoch from '2026-06-09 13:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382153 -3.405006)'), GeomFromEWKT('SRID=4674;POINT (-38.382241 -3.405111)'))) / (select extract(epoch from '2026-06-09 13:07:24'::timestamp) - extract(epoch from '2026-06-09 13:07:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.382309 -3.405188)', '2026-06-09 13:07:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382241 -3.405111)'), GeomFromEWKT('SRID=4674;POINT (-38.382309 -3.405188)'))) / (select extract(epoch from '2026-06-09 13:07:29'::timestamp) - extract(epoch from '2026-06-09 13:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382241 -3.405111)'), GeomFromEWKT('SRID=4674;POINT (-38.382309 -3.405188)'))) / (select extract(epoch from '2026-06-09 13:07:29'::timestamp) - extract(epoch from '2026-06-09 13:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.382406 -3.405305)', '2026-06-09 13:07:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382309 -3.405188)'), GeomFromEWKT('SRID=4674;POINT (-38.382406 -3.405305)'))) / (select extract(epoch from '2026-06-09 13:07:37'::timestamp) - extract(epoch from '2026-06-09 13:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382309 -3.405188)'), GeomFromEWKT('SRID=4674;POINT (-38.382406 -3.405305)'))) / (select extract(epoch from '2026-06-09 13:07:37'::timestamp) - extract(epoch from '2026-06-09 13:07:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.382511 -3.405471)', '2026-06-09 13:07:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382406 -3.405305)'), GeomFromEWKT('SRID=4674;POINT (-38.382511 -3.405471)'))) / (select extract(epoch from '2026-06-09 13:07:47'::timestamp) - extract(epoch from '2026-06-09 13:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382406 -3.405305)'), GeomFromEWKT('SRID=4674;POINT (-38.382511 -3.405471)'))) / (select extract(epoch from '2026-06-09 13:07:47'::timestamp) - extract(epoch from '2026-06-09 13:07:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.382539 -3.405506)', '2026-06-09 13:07:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382511 -3.405471)'), GeomFromEWKT('SRID=4674;POINT (-38.382539 -3.405506)'))) / (select extract(epoch from '2026-06-09 13:07:50'::timestamp) - extract(epoch from '2026-06-09 13:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382511 -3.405471)'), GeomFromEWKT('SRID=4674;POINT (-38.382539 -3.405506)'))) / (select extract(epoch from '2026-06-09 13:07:50'::timestamp) - extract(epoch from '2026-06-09 13:07:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.382567 -3.405531)', '2026-06-09 13:07:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382539 -3.405506)'), GeomFromEWKT('SRID=4674;POINT (-38.382567 -3.405531)'))) / (select extract(epoch from '2026-06-09 13:07:52'::timestamp) - extract(epoch from '2026-06-09 13:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382539 -3.405506)'), GeomFromEWKT('SRID=4674;POINT (-38.382567 -3.405531)'))) / (select extract(epoch from '2026-06-09 13:07:52'::timestamp) - extract(epoch from '2026-06-09 13:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.382651 -3.405608)', '2026-06-09 13:07:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382567 -3.405531)'), GeomFromEWKT('SRID=4674;POINT (-38.382651 -3.405608)'))) / (select extract(epoch from '2026-06-09 13:07:59'::timestamp) - extract(epoch from '2026-06-09 13:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382567 -3.405531)'), GeomFromEWKT('SRID=4674;POINT (-38.382651 -3.405608)'))) / (select extract(epoch from '2026-06-09 13:07:59'::timestamp) - extract(epoch from '2026-06-09 13:07: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'), 46534, 'SRID=4674;POINT (-38.382723 -3.405671)', '2026-06-09 13:08:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382651 -3.405608)'), GeomFromEWKT('SRID=4674;POINT (-38.382723 -3.405671)'))) / (select extract(epoch from '2026-06-09 13:08:05'::timestamp) - extract(epoch from '2026-06-09 13:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382651 -3.405608)'), GeomFromEWKT('SRID=4674;POINT (-38.382723 -3.405671)'))) / (select extract(epoch from '2026-06-09 13:08:05'::timestamp) - extract(epoch from '2026-06-09 13:07: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'), 46534, 'SRID=4674;POINT (-38.38279 -3.405744)', '2026-06-09 13:08:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382723 -3.405671)'), GeomFromEWKT('SRID=4674;POINT (-38.38279 -3.405744)'))) / (select extract(epoch from '2026-06-09 13:08:11'::timestamp) - extract(epoch from '2026-06-09 13:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382723 -3.405671)'), GeomFromEWKT('SRID=4674;POINT (-38.38279 -3.405744)'))) / (select extract(epoch from '2026-06-09 13:08:11'::timestamp) - extract(epoch from '2026-06-09 13:08: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'), 46534, 'SRID=4674;POINT (-38.382858 -3.40583)', '2026-06-09 13:08:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38279 -3.405744)'), GeomFromEWKT('SRID=4674;POINT (-38.382858 -3.40583)'))) / (select extract(epoch from '2026-06-09 13:08:17'::timestamp) - extract(epoch from '2026-06-09 13:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38279 -3.405744)'), GeomFromEWKT('SRID=4674;POINT (-38.382858 -3.40583)'))) / (select extract(epoch from '2026-06-09 13:08:17'::timestamp) - extract(epoch from '2026-06-09 13:08: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'), 46534, 'SRID=4674;POINT (-38.382925 -3.405919)', '2026-06-09 13:08:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382858 -3.40583)'), GeomFromEWKT('SRID=4674;POINT (-38.382925 -3.405919)'))) / (select extract(epoch from '2026-06-09 13:08:24'::timestamp) - extract(epoch from '2026-06-09 13:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382858 -3.40583)'), GeomFromEWKT('SRID=4674;POINT (-38.382925 -3.405919)'))) / (select extract(epoch from '2026-06-09 13:08:24'::timestamp) - extract(epoch from '2026-06-09 13:08: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'), 46534, 'SRID=4674;POINT (-38.382999 -3.406007)', '2026-06-09 13:08:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382925 -3.405919)'), GeomFromEWKT('SRID=4674;POINT (-38.382999 -3.406007)'))) / (select extract(epoch from '2026-06-09 13:08:30'::timestamp) - extract(epoch from '2026-06-09 13:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382925 -3.405919)'), GeomFromEWKT('SRID=4674;POINT (-38.382999 -3.406007)'))) / (select extract(epoch from '2026-06-09 13:08:30'::timestamp) - extract(epoch from '2026-06-09 13:08:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.383056 -3.4061)', '2026-06-09 13:08:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382999 -3.406007)'), GeomFromEWKT('SRID=4674;POINT (-38.383056 -3.4061)'))) / (select extract(epoch from '2026-06-09 13:08:36'::timestamp) - extract(epoch from '2026-06-09 13:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382999 -3.406007)'), GeomFromEWKT('SRID=4674;POINT (-38.383056 -3.4061)'))) / (select extract(epoch from '2026-06-09 13:08:36'::timestamp) - extract(epoch from '2026-06-09 13:08: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'), 46534, 'SRID=4674;POINT (-38.383116 -3.406194)', '2026-06-09 13:08:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383056 -3.4061)'), GeomFromEWKT('SRID=4674;POINT (-38.383116 -3.406194)'))) / (select extract(epoch from '2026-06-09 13:08:42'::timestamp) - extract(epoch from '2026-06-09 13:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383056 -3.4061)'), GeomFromEWKT('SRID=4674;POINT (-38.383116 -3.406194)'))) / (select extract(epoch from '2026-06-09 13:08:42'::timestamp) - extract(epoch from '2026-06-09 13:08:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.383193 -3.406315)', '2026-06-09 13:08:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383116 -3.406194)'), GeomFromEWKT('SRID=4674;POINT (-38.383193 -3.406315)'))) / (select extract(epoch from '2026-06-09 13:08:50'::timestamp) - extract(epoch from '2026-06-09 13:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383116 -3.406194)'), GeomFromEWKT('SRID=4674;POINT (-38.383193 -3.406315)'))) / (select extract(epoch from '2026-06-09 13:08:50'::timestamp) - extract(epoch from '2026-06-09 13:08:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.383243 -3.406396)', '2026-06-09 13:08:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383193 -3.406315)'), GeomFromEWKT('SRID=4674;POINT (-38.383243 -3.406396)'))) / (select extract(epoch from '2026-06-09 13:08:55'::timestamp) - extract(epoch from '2026-06-09 13:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383193 -3.406315)'), GeomFromEWKT('SRID=4674;POINT (-38.383243 -3.406396)'))) / (select extract(epoch from '2026-06-09 13:08:55'::timestamp) - extract(epoch from '2026-06-09 13:08: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'), 46534, 'SRID=4674;POINT (-38.383285 -3.406463)', '2026-06-09 13:09:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383243 -3.406396)'), GeomFromEWKT('SRID=4674;POINT (-38.383285 -3.406463)'))) / (select extract(epoch from '2026-06-09 13:09:00'::timestamp) - extract(epoch from '2026-06-09 13:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383243 -3.406396)'), GeomFromEWKT('SRID=4674;POINT (-38.383285 -3.406463)'))) / (select extract(epoch from '2026-06-09 13:09:00'::timestamp) - extract(epoch from '2026-06-09 13:08:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.383351 -3.406553)', '2026-06-09 13:09:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383285 -3.406463)'), GeomFromEWKT('SRID=4674;POINT (-38.383351 -3.406553)'))) / (select extract(epoch from '2026-06-09 13:09:07'::timestamp) - extract(epoch from '2026-06-09 13:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383285 -3.406463)'), GeomFromEWKT('SRID=4674;POINT (-38.383351 -3.406553)'))) / (select extract(epoch from '2026-06-09 13:09:07'::timestamp) - extract(epoch from '2026-06-09 13:09:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.383378 -3.406617)', '2026-06-09 13:09:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383351 -3.406553)'), GeomFromEWKT('SRID=4674;POINT (-38.383378 -3.406617)'))) / (select extract(epoch from '2026-06-09 13:09:11'::timestamp) - extract(epoch from '2026-06-09 13:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383351 -3.406553)'), GeomFromEWKT('SRID=4674;POINT (-38.383378 -3.406617)'))) / (select extract(epoch from '2026-06-09 13:09:11'::timestamp) - extract(epoch from '2026-06-09 13:09:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.383426 -3.406689)', '2026-06-09 13:09:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383378 -3.406617)'), GeomFromEWKT('SRID=4674;POINT (-38.383426 -3.406689)'))) / (select extract(epoch from '2026-06-09 13:09:17'::timestamp) - extract(epoch from '2026-06-09 13:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383378 -3.406617)'), GeomFromEWKT('SRID=4674;POINT (-38.383426 -3.406689)'))) / (select extract(epoch from '2026-06-09 13:09:17'::timestamp) - extract(epoch from '2026-06-09 13:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.383491 -3.406767)', '2026-06-09 13:09:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383426 -3.406689)'), GeomFromEWKT('SRID=4674;POINT (-38.383491 -3.406767)'))) / (select extract(epoch from '2026-06-09 13:09:23'::timestamp) - extract(epoch from '2026-06-09 13:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383426 -3.406689)'), GeomFromEWKT('SRID=4674;POINT (-38.383491 -3.406767)'))) / (select extract(epoch from '2026-06-09 13:09:23'::timestamp) - extract(epoch from '2026-06-09 13:09:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.383568 -3.40686)', '2026-06-09 13:09:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383491 -3.406767)'), GeomFromEWKT('SRID=4674;POINT (-38.383568 -3.40686)'))) / (select extract(epoch from '2026-06-09 13:09:30'::timestamp) - extract(epoch from '2026-06-09 13:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383491 -3.406767)'), GeomFromEWKT('SRID=4674;POINT (-38.383568 -3.40686)'))) / (select extract(epoch from '2026-06-09 13:09:30'::timestamp) - extract(epoch from '2026-06-09 13:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.383604 -3.406922)', '2026-06-09 13:09:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383568 -3.40686)'), GeomFromEWKT('SRID=4674;POINT (-38.383604 -3.406922)'))) / (select extract(epoch from '2026-06-09 13:09:34'::timestamp) - extract(epoch from '2026-06-09 13:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383568 -3.40686)'), GeomFromEWKT('SRID=4674;POINT (-38.383604 -3.406922)'))) / (select extract(epoch from '2026-06-09 13:09:34'::timestamp) - extract(epoch from '2026-06-09 13:09: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'), 46534, 'SRID=4674;POINT (-38.383622 -3.406935)', '2026-06-09 13:09:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383604 -3.406922)'), GeomFromEWKT('SRID=4674;POINT (-38.383622 -3.406935)'))) / (select extract(epoch from '2026-06-09 13:09:35'::timestamp) - extract(epoch from '2026-06-09 13:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383604 -3.406922)'), GeomFromEWKT('SRID=4674;POINT (-38.383622 -3.406935)'))) / (select extract(epoch from '2026-06-09 13:09:35'::timestamp) - extract(epoch from '2026-06-09 13:09:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.383638 -3.40695)', '2026-06-09 13:09:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383622 -3.406935)'), GeomFromEWKT('SRID=4674;POINT (-38.383638 -3.40695)'))) / (select extract(epoch from '2026-06-09 13:09:36'::timestamp) - extract(epoch from '2026-06-09 13:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383622 -3.406935)'), GeomFromEWKT('SRID=4674;POINT (-38.383638 -3.40695)'))) / (select extract(epoch from '2026-06-09 13:09:36'::timestamp) - extract(epoch from '2026-06-09 13:09:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.383652 -3.407)', '2026-06-09 13:09:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383638 -3.40695)'), GeomFromEWKT('SRID=4674;POINT (-38.383652 -3.407)'))) / (select extract(epoch from '2026-06-09 13:09:39'::timestamp) - extract(epoch from '2026-06-09 13:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383638 -3.40695)'), GeomFromEWKT('SRID=4674;POINT (-38.383652 -3.407)'))) / (select extract(epoch from '2026-06-09 13:09:39'::timestamp) - extract(epoch from '2026-06-09 13:09: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'), 46534, 'SRID=4674;POINT (-38.383683 -3.407085)', '2026-06-09 13:09:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383652 -3.407)'), GeomFromEWKT('SRID=4674;POINT (-38.383683 -3.407085)'))) / (select extract(epoch from '2026-06-09 13:09:46'::timestamp) - extract(epoch from '2026-06-09 13:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383652 -3.407)'), GeomFromEWKT('SRID=4674;POINT (-38.383683 -3.407085)'))) / (select extract(epoch from '2026-06-09 13:09:46'::timestamp) - extract(epoch from '2026-06-09 13:09:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.383706 -3.40715)', '2026-06-09 13:09:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383683 -3.407085)'), GeomFromEWKT('SRID=4674;POINT (-38.383706 -3.40715)'))) / (select extract(epoch from '2026-06-09 13:09:52'::timestamp) - extract(epoch from '2026-06-09 13:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383683 -3.407085)'), GeomFromEWKT('SRID=4674;POINT (-38.383706 -3.40715)'))) / (select extract(epoch from '2026-06-09 13:09:52'::timestamp) - extract(epoch from '2026-06-09 13:09:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.383751 -3.407207)', '2026-06-09 13:09:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383706 -3.40715)'), GeomFromEWKT('SRID=4674;POINT (-38.383751 -3.407207)'))) / (select extract(epoch from '2026-06-09 13:09:57'::timestamp) - extract(epoch from '2026-06-09 13:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383706 -3.40715)'), GeomFromEWKT('SRID=4674;POINT (-38.383751 -3.407207)'))) / (select extract(epoch from '2026-06-09 13:09:57'::timestamp) - extract(epoch from '2026-06-09 13:09: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'), 46534, 'SRID=4674;POINT (-38.383822 -3.407299)', '2026-06-09 13:10:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383751 -3.407207)'), GeomFromEWKT('SRID=4674;POINT (-38.383822 -3.407299)'))) / (select extract(epoch from '2026-06-09 13:10:04'::timestamp) - extract(epoch from '2026-06-09 13:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383751 -3.407207)'), GeomFromEWKT('SRID=4674;POINT (-38.383822 -3.407299)'))) / (select extract(epoch from '2026-06-09 13:10:04'::timestamp) - extract(epoch from '2026-06-09 13:09: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'), 46534, 'SRID=4674;POINT (-38.383896 -3.407396)', '2026-06-09 13:10:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383822 -3.407299)'), GeomFromEWKT('SRID=4674;POINT (-38.383896 -3.407396)'))) / (select extract(epoch from '2026-06-09 13:10:10'::timestamp) - extract(epoch from '2026-06-09 13:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383822 -3.407299)'), GeomFromEWKT('SRID=4674;POINT (-38.383896 -3.407396)'))) / (select extract(epoch from '2026-06-09 13:10:10'::timestamp) - extract(epoch from '2026-06-09 13:10:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.383957 -3.407504)', '2026-06-09 13:10:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383896 -3.407396)'), GeomFromEWKT('SRID=4674;POINT (-38.383957 -3.407504)'))) / (select extract(epoch from '2026-06-09 13:10:17'::timestamp) - extract(epoch from '2026-06-09 13:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383896 -3.407396)'), GeomFromEWKT('SRID=4674;POINT (-38.383957 -3.407504)'))) / (select extract(epoch from '2026-06-09 13:10:17'::timestamp) - extract(epoch from '2026-06-09 13:10: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'), 46534, 'SRID=4674;POINT (-38.383976 -3.407536)', '2026-06-09 13:10:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383957 -3.407504)'), GeomFromEWKT('SRID=4674;POINT (-38.383976 -3.407536)'))) / (select extract(epoch from '2026-06-09 13:10:19'::timestamp) - extract(epoch from '2026-06-09 13:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383957 -3.407504)'), GeomFromEWKT('SRID=4674;POINT (-38.383976 -3.407536)'))) / (select extract(epoch from '2026-06-09 13:10:19'::timestamp) - extract(epoch from '2026-06-09 13:10: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'), 46534, 'SRID=4674;POINT (-38.384009 -3.407582)', '2026-06-09 13:10:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383976 -3.407536)'), GeomFromEWKT('SRID=4674;POINT (-38.384009 -3.407582)'))) / (select extract(epoch from '2026-06-09 13:10:22'::timestamp) - extract(epoch from '2026-06-09 13:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383976 -3.407536)'), GeomFromEWKT('SRID=4674;POINT (-38.384009 -3.407582)'))) / (select extract(epoch from '2026-06-09 13:10:22'::timestamp) - extract(epoch from '2026-06-09 13:10: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'), 46534, 'SRID=4674;POINT (-38.384069 -3.407658)', '2026-06-09 13:10:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384009 -3.407582)'), GeomFromEWKT('SRID=4674;POINT (-38.384069 -3.407658)'))) / (select extract(epoch from '2026-06-09 13:10:28'::timestamp) - extract(epoch from '2026-06-09 13:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384009 -3.407582)'), GeomFromEWKT('SRID=4674;POINT (-38.384069 -3.407658)'))) / (select extract(epoch from '2026-06-09 13:10:28'::timestamp) - extract(epoch from '2026-06-09 13:10: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'), 46534, 'SRID=4674;POINT (-38.38411 -3.407716)', '2026-06-09 13:10:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384069 -3.407658)'), GeomFromEWKT('SRID=4674;POINT (-38.38411 -3.407716)'))) / (select extract(epoch from '2026-06-09 13:10:32'::timestamp) - extract(epoch from '2026-06-09 13:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384069 -3.407658)'), GeomFromEWKT('SRID=4674;POINT (-38.38411 -3.407716)'))) / (select extract(epoch from '2026-06-09 13:10:32'::timestamp) - extract(epoch from '2026-06-09 13:10: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'), 46534, 'SRID=4674;POINT (-38.384184 -3.407808)', '2026-06-09 13:10:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38411 -3.407716)'), GeomFromEWKT('SRID=4674;POINT (-38.384184 -3.407808)'))) / (select extract(epoch from '2026-06-09 13:10:39'::timestamp) - extract(epoch from '2026-06-09 13:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38411 -3.407716)'), GeomFromEWKT('SRID=4674;POINT (-38.384184 -3.407808)'))) / (select extract(epoch from '2026-06-09 13:10:39'::timestamp) - extract(epoch from '2026-06-09 13:10:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.384248 -3.40789)', '2026-06-09 13:10:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384184 -3.407808)'), GeomFromEWKT('SRID=4674;POINT (-38.384248 -3.40789)'))) / (select extract(epoch from '2026-06-09 13:10:45'::timestamp) - extract(epoch from '2026-06-09 13:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384184 -3.407808)'), GeomFromEWKT('SRID=4674;POINT (-38.384248 -3.40789)'))) / (select extract(epoch from '2026-06-09 13:10:45'::timestamp) - extract(epoch from '2026-06-09 13:10: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'), 46534, 'SRID=4674;POINT (-38.384288 -3.40794)', '2026-06-09 13:10:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384248 -3.40789)'), GeomFromEWKT('SRID=4674;POINT (-38.384288 -3.40794)'))) / (select extract(epoch from '2026-06-09 13:10:50'::timestamp) - extract(epoch from '2026-06-09 13:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384248 -3.40789)'), GeomFromEWKT('SRID=4674;POINT (-38.384288 -3.40794)'))) / (select extract(epoch from '2026-06-09 13:10:50'::timestamp) - extract(epoch from '2026-06-09 13:10: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'), 46534, 'SRID=4674;POINT (-38.384363 -3.408027)', '2026-06-09 13:10:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384288 -3.40794)'), GeomFromEWKT('SRID=4674;POINT (-38.384363 -3.408027)'))) / (select extract(epoch from '2026-06-09 13:10:56'::timestamp) - extract(epoch from '2026-06-09 13:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384288 -3.40794)'), GeomFromEWKT('SRID=4674;POINT (-38.384363 -3.408027)'))) / (select extract(epoch from '2026-06-09 13:10:56'::timestamp) - extract(epoch from '2026-06-09 13:10:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.384421 -3.408106)', '2026-06-09 13:11:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384363 -3.408027)'), GeomFromEWKT('SRID=4674;POINT (-38.384421 -3.408106)'))) / (select extract(epoch from '2026-06-09 13:11:01'::timestamp) - extract(epoch from '2026-06-09 13:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384363 -3.408027)'), GeomFromEWKT('SRID=4674;POINT (-38.384421 -3.408106)'))) / (select extract(epoch from '2026-06-09 13:11:01'::timestamp) - extract(epoch from '2026-06-09 13:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.384494 -3.408214)', '2026-06-09 13:11:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384421 -3.408106)'), GeomFromEWKT('SRID=4674;POINT (-38.384494 -3.408214)'))) / (select extract(epoch from '2026-06-09 13:11:08'::timestamp) - extract(epoch from '2026-06-09 13:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384421 -3.408106)'), GeomFromEWKT('SRID=4674;POINT (-38.384494 -3.408214)'))) / (select extract(epoch from '2026-06-09 13:11:08'::timestamp) - extract(epoch from '2026-06-09 13:11:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.384565 -3.408324)', '2026-06-09 13:11:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384494 -3.408214)'), GeomFromEWKT('SRID=4674;POINT (-38.384565 -3.408324)'))) / (select extract(epoch from '2026-06-09 13:11:15'::timestamp) - extract(epoch from '2026-06-09 13:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384494 -3.408214)'), GeomFromEWKT('SRID=4674;POINT (-38.384565 -3.408324)'))) / (select extract(epoch from '2026-06-09 13:11:15'::timestamp) - extract(epoch from '2026-06-09 13:11: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'), 46534, 'SRID=4674;POINT (-38.384659 -3.408446)', '2026-06-09 13:11:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384565 -3.408324)'), GeomFromEWKT('SRID=4674;POINT (-38.384659 -3.408446)'))) / (select extract(epoch from '2026-06-09 13:11:23'::timestamp) - extract(epoch from '2026-06-09 13:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384565 -3.408324)'), GeomFromEWKT('SRID=4674;POINT (-38.384659 -3.408446)'))) / (select extract(epoch from '2026-06-09 13:11:23'::timestamp) - extract(epoch from '2026-06-09 13:11: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'), 46534, 'SRID=4674;POINT (-38.384733 -3.408557)', '2026-06-09 13:11:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384659 -3.408446)'), GeomFromEWKT('SRID=4674;POINT (-38.384733 -3.408557)'))) / (select extract(epoch from '2026-06-09 13:11:30'::timestamp) - extract(epoch from '2026-06-09 13:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384659 -3.408446)'), GeomFromEWKT('SRID=4674;POINT (-38.384733 -3.408557)'))) / (select extract(epoch from '2026-06-09 13:11:30'::timestamp) - extract(epoch from '2026-06-09 13:11:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.384781 -3.408633)', '2026-06-09 13:11:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384733 -3.408557)'), GeomFromEWKT('SRID=4674;POINT (-38.384781 -3.408633)'))) / (select extract(epoch from '2026-06-09 13:11:36'::timestamp) - extract(epoch from '2026-06-09 13:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384733 -3.408557)'), GeomFromEWKT('SRID=4674;POINT (-38.384781 -3.408633)'))) / (select extract(epoch from '2026-06-09 13:11:36'::timestamp) - extract(epoch from '2026-06-09 13:11: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'), 46534, 'SRID=4674;POINT (-38.384833 -3.408705)', '2026-06-09 13:11:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384781 -3.408633)'), GeomFromEWKT('SRID=4674;POINT (-38.384833 -3.408705)'))) / (select extract(epoch from '2026-06-09 13:11:42'::timestamp) - extract(epoch from '2026-06-09 13:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384781 -3.408633)'), GeomFromEWKT('SRID=4674;POINT (-38.384833 -3.408705)'))) / (select extract(epoch from '2026-06-09 13:11:42'::timestamp) - extract(epoch from '2026-06-09 13:11:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.384885 -3.408789)', '2026-06-09 13:11:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384833 -3.408705)'), GeomFromEWKT('SRID=4674;POINT (-38.384885 -3.408789)'))) / (select extract(epoch from '2026-06-09 13:11:47'::timestamp) - extract(epoch from '2026-06-09 13:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384833 -3.408705)'), GeomFromEWKT('SRID=4674;POINT (-38.384885 -3.408789)'))) / (select extract(epoch from '2026-06-09 13:11:47'::timestamp) - extract(epoch from '2026-06-09 13:11:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.384954 -3.408888)', '2026-06-09 13:11:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384885 -3.408789)'), GeomFromEWKT('SRID=4674;POINT (-38.384954 -3.408888)'))) / (select extract(epoch from '2026-06-09 13:11:54'::timestamp) - extract(epoch from '2026-06-09 13:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384885 -3.408789)'), GeomFromEWKT('SRID=4674;POINT (-38.384954 -3.408888)'))) / (select extract(epoch from '2026-06-09 13:11:54'::timestamp) - extract(epoch from '2026-06-09 13:11: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'), 46534, 'SRID=4674;POINT (-38.385009 -3.408958)', '2026-06-09 13:12:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384954 -3.408888)'), GeomFromEWKT('SRID=4674;POINT (-38.385009 -3.408958)'))) / (select extract(epoch from '2026-06-09 13:12:00'::timestamp) - extract(epoch from '2026-06-09 13:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384954 -3.408888)'), GeomFromEWKT('SRID=4674;POINT (-38.385009 -3.408958)'))) / (select extract(epoch from '2026-06-09 13:12:00'::timestamp) - extract(epoch from '2026-06-09 13:11:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.385039 -3.409011)', '2026-06-09 13:12:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385009 -3.408958)'), GeomFromEWKT('SRID=4674;POINT (-38.385039 -3.409011)'))) / (select extract(epoch from '2026-06-09 13:12:04'::timestamp) - extract(epoch from '2026-06-09 13:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385009 -3.408958)'), GeomFromEWKT('SRID=4674;POINT (-38.385039 -3.409011)'))) / (select extract(epoch from '2026-06-09 13:12:04'::timestamp) - extract(epoch from '2026-06-09 13:12: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'), 46534, 'SRID=4674;POINT (-38.385062 -3.409037)', '2026-06-09 13:12:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385039 -3.409011)'), GeomFromEWKT('SRID=4674;POINT (-38.385062 -3.409037)'))) / (select extract(epoch from '2026-06-09 13:12:06'::timestamp) - extract(epoch from '2026-06-09 13:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385039 -3.409011)'), GeomFromEWKT('SRID=4674;POINT (-38.385062 -3.409037)'))) / (select extract(epoch from '2026-06-09 13:12:06'::timestamp) - extract(epoch from '2026-06-09 13:12:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.385092 -3.40909)', '2026-06-09 13:12:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385062 -3.409037)'), GeomFromEWKT('SRID=4674;POINT (-38.385092 -3.40909)'))) / (select extract(epoch from '2026-06-09 13:12:10'::timestamp) - extract(epoch from '2026-06-09 13:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385062 -3.409037)'), GeomFromEWKT('SRID=4674;POINT (-38.385092 -3.40909)'))) / (select extract(epoch from '2026-06-09 13:12:10'::timestamp) - extract(epoch from '2026-06-09 13:12: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'), 46534, 'SRID=4674;POINT (-38.385116 -3.409119)', '2026-06-09 13:12:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385092 -3.40909)'), GeomFromEWKT('SRID=4674;POINT (-38.385116 -3.409119)'))) / (select extract(epoch from '2026-06-09 13:12:12'::timestamp) - extract(epoch from '2026-06-09 13:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385092 -3.40909)'), GeomFromEWKT('SRID=4674;POINT (-38.385116 -3.409119)'))) / (select extract(epoch from '2026-06-09 13:12:12'::timestamp) - extract(epoch from '2026-06-09 13:12:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.385182 -3.409212)', '2026-06-09 13:12:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385116 -3.409119)'), GeomFromEWKT('SRID=4674;POINT (-38.385182 -3.409212)'))) / (select extract(epoch from '2026-06-09 13:12:18'::timestamp) - extract(epoch from '2026-06-09 13:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385116 -3.409119)'), GeomFromEWKT('SRID=4674;POINT (-38.385182 -3.409212)'))) / (select extract(epoch from '2026-06-09 13:12:18'::timestamp) - extract(epoch from '2026-06-09 13:12: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'), 46534, 'SRID=4674;POINT (-38.38523 -3.409292)', '2026-06-09 13:12:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385182 -3.409212)'), GeomFromEWKT('SRID=4674;POINT (-38.38523 -3.409292)'))) / (select extract(epoch from '2026-06-09 13:12:23'::timestamp) - extract(epoch from '2026-06-09 13:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385182 -3.409212)'), GeomFromEWKT('SRID=4674;POINT (-38.38523 -3.409292)'))) / (select extract(epoch from '2026-06-09 13:12:23'::timestamp) - extract(epoch from '2026-06-09 13:12:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.385287 -3.409375)', '2026-06-09 13:12:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38523 -3.409292)'), GeomFromEWKT('SRID=4674;POINT (-38.385287 -3.409375)'))) / (select extract(epoch from '2026-06-09 13:12:29'::timestamp) - extract(epoch from '2026-06-09 13:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38523 -3.409292)'), GeomFromEWKT('SRID=4674;POINT (-38.385287 -3.409375)'))) / (select extract(epoch from '2026-06-09 13:12:29'::timestamp) - extract(epoch from '2026-06-09 13:12:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.38534 -3.409452)', '2026-06-09 13:12:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385287 -3.409375)'), GeomFromEWKT('SRID=4674;POINT (-38.38534 -3.409452)'))) / (select extract(epoch from '2026-06-09 13:12:35'::timestamp) - extract(epoch from '2026-06-09 13:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385287 -3.409375)'), GeomFromEWKT('SRID=4674;POINT (-38.38534 -3.409452)'))) / (select extract(epoch from '2026-06-09 13:12:35'::timestamp) - extract(epoch from '2026-06-09 13:12: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'), 46534, 'SRID=4674;POINT (-38.38542 -3.409572)', '2026-06-09 13:12:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38534 -3.409452)'), GeomFromEWKT('SRID=4674;POINT (-38.38542 -3.409572)'))) / (select extract(epoch from '2026-06-09 13:12:42'::timestamp) - extract(epoch from '2026-06-09 13:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38534 -3.409452)'), GeomFromEWKT('SRID=4674;POINT (-38.38542 -3.409572)'))) / (select extract(epoch from '2026-06-09 13:12:42'::timestamp) - extract(epoch from '2026-06-09 13:12:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.385485 -3.409678)', '2026-06-09 13:12:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38542 -3.409572)'), GeomFromEWKT('SRID=4674;POINT (-38.385485 -3.409678)'))) / (select extract(epoch from '2026-06-09 13:12:49'::timestamp) - extract(epoch from '2026-06-09 13:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38542 -3.409572)'), GeomFromEWKT('SRID=4674;POINT (-38.385485 -3.409678)'))) / (select extract(epoch from '2026-06-09 13:12:49'::timestamp) - extract(epoch from '2026-06-09 13:12: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'), 46534, 'SRID=4674;POINT (-38.38554 -3.409757)', '2026-06-09 13:12:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385485 -3.409678)'), GeomFromEWKT('SRID=4674;POINT (-38.38554 -3.409757)'))) / (select extract(epoch from '2026-06-09 13:12:54'::timestamp) - extract(epoch from '2026-06-09 13:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385485 -3.409678)'), GeomFromEWKT('SRID=4674;POINT (-38.38554 -3.409757)'))) / (select extract(epoch from '2026-06-09 13:12:54'::timestamp) - extract(epoch from '2026-06-09 13:12:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.385604 -3.409844)', '2026-06-09 13:13:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38554 -3.409757)'), GeomFromEWKT('SRID=4674;POINT (-38.385604 -3.409844)'))) / (select extract(epoch from '2026-06-09 13:13:00'::timestamp) - extract(epoch from '2026-06-09 13:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38554 -3.409757)'), GeomFromEWKT('SRID=4674;POINT (-38.385604 -3.409844)'))) / (select extract(epoch from '2026-06-09 13:13:00'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.385669 -3.409916)', '2026-06-09 13:13:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385604 -3.409844)'), GeomFromEWKT('SRID=4674;POINT (-38.385669 -3.409916)'))) / (select extract(epoch from '2026-06-09 13:13:06'::timestamp) - extract(epoch from '2026-06-09 13:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385604 -3.409844)'), GeomFromEWKT('SRID=4674;POINT (-38.385669 -3.409916)'))) / (select extract(epoch from '2026-06-09 13:13:06'::timestamp) - extract(epoch from '2026-06-09 13:13:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.385691 -3.409952)', '2026-06-09 13:13:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385669 -3.409916)'), GeomFromEWKT('SRID=4674;POINT (-38.385691 -3.409952)'))) / (select extract(epoch from '2026-06-09 13:13:09'::timestamp) - extract(epoch from '2026-06-09 13:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385669 -3.409916)'), GeomFromEWKT('SRID=4674;POINT (-38.385691 -3.409952)'))) / (select extract(epoch from '2026-06-09 13:13:09'::timestamp) - extract(epoch from '2026-06-09 13:13:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.385706 -3.409961)', '2026-06-09 13:13:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385691 -3.409952)'), GeomFromEWKT('SRID=4674;POINT (-38.385706 -3.409961)'))) / (select extract(epoch from '2026-06-09 13:13:10'::timestamp) - extract(epoch from '2026-06-09 13:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385691 -3.409952)'), GeomFromEWKT('SRID=4674;POINT (-38.385706 -3.409961)'))) / (select extract(epoch from '2026-06-09 13:13:10'::timestamp) - extract(epoch from '2026-06-09 13:13:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.385763 -3.410034)', '2026-06-09 13:13:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385706 -3.409961)'), GeomFromEWKT('SRID=4674;POINT (-38.385763 -3.410034)'))) / (select extract(epoch from '2026-06-09 13:13:15'::timestamp) - extract(epoch from '2026-06-09 13:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385706 -3.409961)'), GeomFromEWKT('SRID=4674;POINT (-38.385763 -3.410034)'))) / (select extract(epoch from '2026-06-09 13:13:15'::timestamp) - extract(epoch from '2026-06-09 13:13:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.385808 -3.410105)', '2026-06-09 13:13:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385763 -3.410034)'), GeomFromEWKT('SRID=4674;POINT (-38.385808 -3.410105)'))) / (select extract(epoch from '2026-06-09 13:13:20'::timestamp) - extract(epoch from '2026-06-09 13:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385763 -3.410034)'), GeomFromEWKT('SRID=4674;POINT (-38.385808 -3.410105)'))) / (select extract(epoch from '2026-06-09 13:13:20'::timestamp) - extract(epoch from '2026-06-09 13:13:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.385876 -3.410208)', '2026-06-09 13:13:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385808 -3.410105)'), GeomFromEWKT('SRID=4674;POINT (-38.385876 -3.410208)'))) / (select extract(epoch from '2026-06-09 13:13:27'::timestamp) - extract(epoch from '2026-06-09 13:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385808 -3.410105)'), GeomFromEWKT('SRID=4674;POINT (-38.385876 -3.410208)'))) / (select extract(epoch from '2026-06-09 13:13:27'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.3859 -3.410244)', '2026-06-09 13:13:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385876 -3.410208)'), GeomFromEWKT('SRID=4674;POINT (-38.3859 -3.410244)'))) / (select extract(epoch from '2026-06-09 13:13:30'::timestamp) - extract(epoch from '2026-06-09 13:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385876 -3.410208)'), GeomFromEWKT('SRID=4674;POINT (-38.3859 -3.410244)'))) / (select extract(epoch from '2026-06-09 13:13:30'::timestamp) - extract(epoch from '2026-06-09 13:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.385925 -3.410267)', '2026-06-09 13:13:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3859 -3.410244)'), GeomFromEWKT('SRID=4674;POINT (-38.385925 -3.410267)'))) / (select extract(epoch from '2026-06-09 13:13:32'::timestamp) - extract(epoch from '2026-06-09 13:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3859 -3.410244)'), GeomFromEWKT('SRID=4674;POINT (-38.385925 -3.410267)'))) / (select extract(epoch from '2026-06-09 13:13:32'::timestamp) - extract(epoch from '2026-06-09 13:13: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'), 46534, 'SRID=4674;POINT (-38.385998 -3.410357)', '2026-06-09 13:13:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385925 -3.410267)'), GeomFromEWKT('SRID=4674;POINT (-38.385998 -3.410357)'))) / (select extract(epoch from '2026-06-09 13:13:39'::timestamp) - extract(epoch from '2026-06-09 13:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385925 -3.410267)'), GeomFromEWKT('SRID=4674;POINT (-38.385998 -3.410357)'))) / (select extract(epoch from '2026-06-09 13:13:39'::timestamp) - extract(epoch from '2026-06-09 13:13:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.386085 -3.41046)', '2026-06-09 13:13:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385998 -3.410357)'), GeomFromEWKT('SRID=4674;POINT (-38.386085 -3.41046)'))) / (select extract(epoch from '2026-06-09 13:13:46'::timestamp) - extract(epoch from '2026-06-09 13:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.385998 -3.410357)'), GeomFromEWKT('SRID=4674;POINT (-38.386085 -3.41046)'))) / (select extract(epoch from '2026-06-09 13:13:46'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.386135 -3.410542)', '2026-06-09 13:13:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386085 -3.41046)'), GeomFromEWKT('SRID=4674;POINT (-38.386135 -3.410542)'))) / (select extract(epoch from '2026-06-09 13:13:51'::timestamp) - extract(epoch from '2026-06-09 13:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386085 -3.41046)'), GeomFromEWKT('SRID=4674;POINT (-38.386135 -3.410542)'))) / (select extract(epoch from '2026-06-09 13:13:51'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.386191 -3.41064)', '2026-06-09 13:13:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386135 -3.410542)'), GeomFromEWKT('SRID=4674;POINT (-38.386191 -3.41064)'))) / (select extract(epoch from '2026-06-09 13:13:57'::timestamp) - extract(epoch from '2026-06-09 13:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386135 -3.410542)'), GeomFromEWKT('SRID=4674;POINT (-38.386191 -3.41064)'))) / (select extract(epoch from '2026-06-09 13:13:57'::timestamp) - extract(epoch from '2026-06-09 13:13: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'), 46534, 'SRID=4674;POINT (-38.386255 -3.410729)', '2026-06-09 13:14:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386191 -3.41064)'), GeomFromEWKT('SRID=4674;POINT (-38.386255 -3.410729)'))) / (select extract(epoch from '2026-06-09 13:14:03'::timestamp) - extract(epoch from '2026-06-09 13:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386191 -3.41064)'), GeomFromEWKT('SRID=4674;POINT (-38.386255 -3.410729)'))) / (select extract(epoch from '2026-06-09 13:14:03'::timestamp) - extract(epoch from '2026-06-09 13:13: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'), 46534, 'SRID=4674;POINT (-38.386323 -3.410828)', '2026-06-09 13:14:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386255 -3.410729)'), GeomFromEWKT('SRID=4674;POINT (-38.386323 -3.410828)'))) / (select extract(epoch from '2026-06-09 13:14:10'::timestamp) - extract(epoch from '2026-06-09 13:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386255 -3.410729)'), GeomFromEWKT('SRID=4674;POINT (-38.386323 -3.410828)'))) / (select extract(epoch from '2026-06-09 13:14:10'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.386393 -3.410915)', '2026-06-09 13:14:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386323 -3.410828)'), GeomFromEWKT('SRID=4674;POINT (-38.386393 -3.410915)'))) / (select extract(epoch from '2026-06-09 13:14:16'::timestamp) - extract(epoch from '2026-06-09 13:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386323 -3.410828)'), GeomFromEWKT('SRID=4674;POINT (-38.386393 -3.410915)'))) / (select extract(epoch from '2026-06-09 13:14:16'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.386468 -3.411021)', '2026-06-09 13:14:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386393 -3.410915)'), GeomFromEWKT('SRID=4674;POINT (-38.386468 -3.411021)'))) / (select extract(epoch from '2026-06-09 13:14:23'::timestamp) - extract(epoch from '2026-06-09 13:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386393 -3.410915)'), GeomFromEWKT('SRID=4674;POINT (-38.386468 -3.411021)'))) / (select extract(epoch from '2026-06-09 13:14:23'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.386525 -3.4111)', '2026-06-09 13:14:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386468 -3.411021)'), GeomFromEWKT('SRID=4674;POINT (-38.386525 -3.4111)'))) / (select extract(epoch from '2026-06-09 13:14:28'::timestamp) - extract(epoch from '2026-06-09 13:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386468 -3.411021)'), GeomFromEWKT('SRID=4674;POINT (-38.386525 -3.4111)'))) / (select extract(epoch from '2026-06-09 13:14:28'::timestamp) - extract(epoch from '2026-06-09 13:14: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'), 46534, 'SRID=4674;POINT (-38.386592 -3.411199)', '2026-06-09 13:14:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386525 -3.4111)'), GeomFromEWKT('SRID=4674;POINT (-38.386592 -3.411199)'))) / (select extract(epoch from '2026-06-09 13:14:34'::timestamp) - extract(epoch from '2026-06-09 13:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386525 -3.4111)'), GeomFromEWKT('SRID=4674;POINT (-38.386592 -3.411199)'))) / (select extract(epoch from '2026-06-09 13:14:34'::timestamp) - extract(epoch from '2026-06-09 13:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.386602 -3.411213)', '2026-06-09 13:14:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386592 -3.411199)'), GeomFromEWKT('SRID=4674;POINT (-38.386602 -3.411213)'))) / (select extract(epoch from '2026-06-09 13:14:35'::timestamp) - extract(epoch from '2026-06-09 13:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386592 -3.411199)'), GeomFromEWKT('SRID=4674;POINT (-38.386602 -3.411213)'))) / (select extract(epoch from '2026-06-09 13:14:35'::timestamp) - extract(epoch from '2026-06-09 13:14: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'), 46534, 'SRID=4674;POINT (-38.386645 -3.411273)', '2026-06-09 13:14:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386602 -3.411213)'), GeomFromEWKT('SRID=4674;POINT (-38.386645 -3.411273)'))) / (select extract(epoch from '2026-06-09 13:14:39'::timestamp) - extract(epoch from '2026-06-09 13:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386602 -3.411213)'), GeomFromEWKT('SRID=4674;POINT (-38.386645 -3.411273)'))) / (select extract(epoch from '2026-06-09 13:14:39'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.386725 -3.411397)', '2026-06-09 13:14:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386645 -3.411273)'), GeomFromEWKT('SRID=4674;POINT (-38.386725 -3.411397)'))) / (select extract(epoch from '2026-06-09 13:14:46'::timestamp) - extract(epoch from '2026-06-09 13:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386645 -3.411273)'), GeomFromEWKT('SRID=4674;POINT (-38.386725 -3.411397)'))) / (select extract(epoch from '2026-06-09 13:14:46'::timestamp) - extract(epoch from '2026-06-09 13:14: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'), 46534, 'SRID=4674;POINT (-38.38676 -3.411474)', '2026-06-09 13:14:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386725 -3.411397)'), GeomFromEWKT('SRID=4674;POINT (-38.38676 -3.411474)'))) / (select extract(epoch from '2026-06-09 13:14:51'::timestamp) - extract(epoch from '2026-06-09 13:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386725 -3.411397)'), GeomFromEWKT('SRID=4674;POINT (-38.38676 -3.411474)'))) / (select extract(epoch from '2026-06-09 13:14:51'::timestamp) - extract(epoch from '2026-06-09 13:14:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.386795 -3.411559)', '2026-06-09 13:14:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38676 -3.411474)'), GeomFromEWKT('SRID=4674;POINT (-38.386795 -3.411559)'))) / (select extract(epoch from '2026-06-09 13:14:56'::timestamp) - extract(epoch from '2026-06-09 13:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38676 -3.411474)'), GeomFromEWKT('SRID=4674;POINT (-38.386795 -3.411559)'))) / (select extract(epoch from '2026-06-09 13:14:56'::timestamp) - extract(epoch from '2026-06-09 13:14:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.386834 -3.411631)', '2026-06-09 13:15:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386795 -3.411559)'), GeomFromEWKT('SRID=4674;POINT (-38.386834 -3.411631)'))) / (select extract(epoch from '2026-06-09 13:15:01'::timestamp) - extract(epoch from '2026-06-09 13:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386795 -3.411559)'), GeomFromEWKT('SRID=4674;POINT (-38.386834 -3.411631)'))) / (select extract(epoch from '2026-06-09 13:15:01'::timestamp) - extract(epoch from '2026-06-09 13:14: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'), 46534, 'SRID=4674;POINT (-38.386846 -3.411664)', '2026-06-09 13:15:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386834 -3.411631)'), GeomFromEWKT('SRID=4674;POINT (-38.386846 -3.411664)'))) / (select extract(epoch from '2026-06-09 13:15:03'::timestamp) - extract(epoch from '2026-06-09 13:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386834 -3.411631)'), GeomFromEWKT('SRID=4674;POINT (-38.386846 -3.411664)'))) / (select extract(epoch from '2026-06-09 13:15:03'::timestamp) - extract(epoch from '2026-06-09 13:15: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'), 46534, 'SRID=4674;POINT (-38.386883 -3.4117)', '2026-06-09 13:15:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386846 -3.411664)'), GeomFromEWKT('SRID=4674;POINT (-38.386883 -3.4117)'))) / (select extract(epoch from '2026-06-09 13:15:06'::timestamp) - extract(epoch from '2026-06-09 13:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386846 -3.411664)'), GeomFromEWKT('SRID=4674;POINT (-38.386883 -3.4117)'))) / (select extract(epoch from '2026-06-09 13:15:06'::timestamp) - extract(epoch from '2026-06-09 13:15: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'), 46534, 'SRID=4674;POINT (-38.38693 -3.411767)', '2026-06-09 13:15:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386883 -3.4117)'), GeomFromEWKT('SRID=4674;POINT (-38.38693 -3.411767)'))) / (select extract(epoch from '2026-06-09 13:15:11'::timestamp) - extract(epoch from '2026-06-09 13:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.386883 -3.4117)'), GeomFromEWKT('SRID=4674;POINT (-38.38693 -3.411767)'))) / (select extract(epoch from '2026-06-09 13:15:11'::timestamp) - extract(epoch from '2026-06-09 13:15: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'), 46534, 'SRID=4674;POINT (-38.387004 -3.411874)', '2026-06-09 13:15:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38693 -3.411767)'), GeomFromEWKT('SRID=4674;POINT (-38.387004 -3.411874)'))) / (select extract(epoch from '2026-06-09 13:15:18'::timestamp) - extract(epoch from '2026-06-09 13:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38693 -3.411767)'), GeomFromEWKT('SRID=4674;POINT (-38.387004 -3.411874)'))) / (select extract(epoch from '2026-06-09 13:15:18'::timestamp) - extract(epoch from '2026-06-09 13:15:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.387082 -3.411995)', '2026-06-09 13:15:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387004 -3.411874)'), GeomFromEWKT('SRID=4674;POINT (-38.387082 -3.411995)'))) / (select extract(epoch from '2026-06-09 13:15:26'::timestamp) - extract(epoch from '2026-06-09 13:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387004 -3.411874)'), GeomFromEWKT('SRID=4674;POINT (-38.387082 -3.411995)'))) / (select extract(epoch from '2026-06-09 13:15:26'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.387099 -3.412029)', '2026-06-09 13:15:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387082 -3.411995)'), GeomFromEWKT('SRID=4674;POINT (-38.387099 -3.412029)'))) / (select extract(epoch from '2026-06-09 13:15:28'::timestamp) - extract(epoch from '2026-06-09 13:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387082 -3.411995)'), GeomFromEWKT('SRID=4674;POINT (-38.387099 -3.412029)'))) / (select extract(epoch from '2026-06-09 13:15:28'::timestamp) - extract(epoch from '2026-06-09 13:15:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.387119 -3.412067)', '2026-06-09 13:15:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387099 -3.412029)'), GeomFromEWKT('SRID=4674;POINT (-38.387119 -3.412067)'))) / (select extract(epoch from '2026-06-09 13:15:31'::timestamp) - extract(epoch from '2026-06-09 13:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387099 -3.412029)'), GeomFromEWKT('SRID=4674;POINT (-38.387119 -3.412067)'))) / (select extract(epoch from '2026-06-09 13:15:31'::timestamp) - extract(epoch from '2026-06-09 13:15: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'), 46534, 'SRID=4674;POINT (-38.387125 -3.412089)', '2026-06-09 13:15:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387119 -3.412067)'), GeomFromEWKT('SRID=4674;POINT (-38.387125 -3.412089)'))) / (select extract(epoch from '2026-06-09 13:15:33'::timestamp) - extract(epoch from '2026-06-09 13:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387119 -3.412067)'), GeomFromEWKT('SRID=4674;POINT (-38.387125 -3.412089)'))) / (select extract(epoch from '2026-06-09 13:15:33'::timestamp) - extract(epoch from '2026-06-09 13:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.387159 -3.412134)', '2026-06-09 13:15:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387125 -3.412089)'), GeomFromEWKT('SRID=4674;POINT (-38.387159 -3.412134)'))) / (select extract(epoch from '2026-06-09 13:15:37'::timestamp) - extract(epoch from '2026-06-09 13:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387125 -3.412089)'), GeomFromEWKT('SRID=4674;POINT (-38.387159 -3.412134)'))) / (select extract(epoch from '2026-06-09 13:15:37'::timestamp) - extract(epoch from '2026-06-09 13:15: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'), 46534, 'SRID=4674;POINT (-38.387226 -3.412221)', '2026-06-09 13:15:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387159 -3.412134)'), GeomFromEWKT('SRID=4674;POINT (-38.387226 -3.412221)'))) / (select extract(epoch from '2026-06-09 13:15:44'::timestamp) - extract(epoch from '2026-06-09 13:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387159 -3.412134)'), GeomFromEWKT('SRID=4674;POINT (-38.387226 -3.412221)'))) / (select extract(epoch from '2026-06-09 13:15:44'::timestamp) - extract(epoch from '2026-06-09 13:15:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.387285 -3.412297)', '2026-06-09 13:15:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387226 -3.412221)'), GeomFromEWKT('SRID=4674;POINT (-38.387285 -3.412297)'))) / (select extract(epoch from '2026-06-09 13:15:50'::timestamp) - extract(epoch from '2026-06-09 13:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387226 -3.412221)'), GeomFromEWKT('SRID=4674;POINT (-38.387285 -3.412297)'))) / (select extract(epoch from '2026-06-09 13:15:50'::timestamp) - extract(epoch from '2026-06-09 13:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.387352 -3.412391)', '2026-06-09 13:15:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387285 -3.412297)'), GeomFromEWKT('SRID=4674;POINT (-38.387352 -3.412391)'))) / (select extract(epoch from '2026-06-09 13:15:57'::timestamp) - extract(epoch from '2026-06-09 13:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387285 -3.412297)'), GeomFromEWKT('SRID=4674;POINT (-38.387352 -3.412391)'))) / (select extract(epoch from '2026-06-09 13:15:57'::timestamp) - extract(epoch from '2026-06-09 13:15: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'), 46534, 'SRID=4674;POINT (-38.387415 -3.412483)', '2026-06-09 13:16:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387352 -3.412391)'), GeomFromEWKT('SRID=4674;POINT (-38.387415 -3.412483)'))) / (select extract(epoch from '2026-06-09 13:16:03'::timestamp) - extract(epoch from '2026-06-09 13:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387352 -3.412391)'), GeomFromEWKT('SRID=4674;POINT (-38.387415 -3.412483)'))) / (select extract(epoch from '2026-06-09 13:16:03'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.38746 -3.412552)', '2026-06-09 13:16:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387415 -3.412483)'), GeomFromEWKT('SRID=4674;POINT (-38.38746 -3.412552)'))) / (select extract(epoch from '2026-06-09 13:16:08'::timestamp) - extract(epoch from '2026-06-09 13:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387415 -3.412483)'), GeomFromEWKT('SRID=4674;POINT (-38.38746 -3.412552)'))) / (select extract(epoch from '2026-06-09 13:16:08'::timestamp) - extract(epoch from '2026-06-09 13:16:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.387549 -3.412653)', '2026-06-09 13:16:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38746 -3.412552)'), GeomFromEWKT('SRID=4674;POINT (-38.387549 -3.412653)'))) / (select extract(epoch from '2026-06-09 13:16:15'::timestamp) - extract(epoch from '2026-06-09 13:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38746 -3.412552)'), GeomFromEWKT('SRID=4674;POINT (-38.387549 -3.412653)'))) / (select extract(epoch from '2026-06-09 13:16:15'::timestamp) - extract(epoch from '2026-06-09 13:16:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.387558 -3.412668)', '2026-06-09 13:16:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387549 -3.412653)'), GeomFromEWKT('SRID=4674;POINT (-38.387558 -3.412668)'))) / (select extract(epoch from '2026-06-09 13:16:16'::timestamp) - extract(epoch from '2026-06-09 13:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387549 -3.412653)'), GeomFromEWKT('SRID=4674;POINT (-38.387558 -3.412668)'))) / (select extract(epoch from '2026-06-09 13:16:16'::timestamp) - extract(epoch from '2026-06-09 13:16: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'), 46534, 'SRID=4674;POINT (-38.387604 -3.412727)', '2026-06-09 13:16:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387558 -3.412668)'), GeomFromEWKT('SRID=4674;POINT (-38.387604 -3.412727)'))) / (select extract(epoch from '2026-06-09 13:16:20'::timestamp) - extract(epoch from '2026-06-09 13:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387558 -3.412668)'), GeomFromEWKT('SRID=4674;POINT (-38.387604 -3.412727)'))) / (select extract(epoch from '2026-06-09 13:16:20'::timestamp) - extract(epoch from '2026-06-09 13:16: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'), 46534, 'SRID=4674;POINT (-38.387617 -3.412746)', '2026-06-09 13:16:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387604 -3.412727)'), GeomFromEWKT('SRID=4674;POINT (-38.387617 -3.412746)'))) / (select extract(epoch from '2026-06-09 13:16:21'::timestamp) - extract(epoch from '2026-06-09 13:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387604 -3.412727)'), GeomFromEWKT('SRID=4674;POINT (-38.387617 -3.412746)'))) / (select extract(epoch from '2026-06-09 13:16:21'::timestamp) - extract(epoch from '2026-06-09 13:16:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.387652 -3.412806)', '2026-06-09 13:16:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387617 -3.412746)'), GeomFromEWKT('SRID=4674;POINT (-38.387652 -3.412806)'))) / (select extract(epoch from '2026-06-09 13:16:25'::timestamp) - extract(epoch from '2026-06-09 13:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387617 -3.412746)'), GeomFromEWKT('SRID=4674;POINT (-38.387652 -3.412806)'))) / (select extract(epoch from '2026-06-09 13:16:25'::timestamp) - extract(epoch from '2026-06-09 13:16: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'), 46534, 'SRID=4674;POINT (-38.387752 -3.412948)', '2026-06-09 13:16:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387652 -3.412806)'), GeomFromEWKT('SRID=4674;POINT (-38.387752 -3.412948)'))) / (select extract(epoch from '2026-06-09 13:16:34'::timestamp) - extract(epoch from '2026-06-09 13:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387652 -3.412806)'), GeomFromEWKT('SRID=4674;POINT (-38.387752 -3.412948)'))) / (select extract(epoch from '2026-06-09 13:16:34'::timestamp) - extract(epoch from '2026-06-09 13:16: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'), 46534, 'SRID=4674;POINT (-38.38782 -3.413063)', '2026-06-09 13:16:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387752 -3.412948)'), GeomFromEWKT('SRID=4674;POINT (-38.38782 -3.413063)'))) / (select extract(epoch from '2026-06-09 13:16:41'::timestamp) - extract(epoch from '2026-06-09 13:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387752 -3.412948)'), GeomFromEWKT('SRID=4674;POINT (-38.38782 -3.413063)'))) / (select extract(epoch from '2026-06-09 13:16:41'::timestamp) - extract(epoch from '2026-06-09 13:16:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.387897 -3.41319)', '2026-06-09 13:16:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38782 -3.413063)'), GeomFromEWKT('SRID=4674;POINT (-38.387897 -3.41319)'))) / (select extract(epoch from '2026-06-09 13:16:49'::timestamp) - extract(epoch from '2026-06-09 13:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38782 -3.413063)'), GeomFromEWKT('SRID=4674;POINT (-38.387897 -3.41319)'))) / (select extract(epoch from '2026-06-09 13:16:49'::timestamp) - extract(epoch from '2026-06-09 13:16: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'), 46534, 'SRID=4674;POINT (-38.387934 -3.413236)', '2026-06-09 13:16:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387897 -3.41319)'), GeomFromEWKT('SRID=4674;POINT (-38.387934 -3.413236)'))) / (select extract(epoch from '2026-06-09 13:16:52'::timestamp) - extract(epoch from '2026-06-09 13:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387897 -3.41319)'), GeomFromEWKT('SRID=4674;POINT (-38.387934 -3.413236)'))) / (select extract(epoch from '2026-06-09 13:16:52'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.387943 -3.413273)', '2026-06-09 13:16:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387934 -3.413236)'), GeomFromEWKT('SRID=4674;POINT (-38.387943 -3.413273)'))) / (select extract(epoch from '2026-06-09 13:16:54'::timestamp) - extract(epoch from '2026-06-09 13:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387934 -3.413236)'), GeomFromEWKT('SRID=4674;POINT (-38.387943 -3.413273)'))) / (select extract(epoch from '2026-06-09 13:16:54'::timestamp) - extract(epoch from '2026-06-09 13:16: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'), 46534, 'SRID=4674;POINT (-38.387988 -3.41335)', '2026-06-09 13:16:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387943 -3.413273)'), GeomFromEWKT('SRID=4674;POINT (-38.387988 -3.41335)'))) / (select extract(epoch from '2026-06-09 13:16:59'::timestamp) - extract(epoch from '2026-06-09 13:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387943 -3.413273)'), GeomFromEWKT('SRID=4674;POINT (-38.387988 -3.41335)'))) / (select extract(epoch from '2026-06-09 13:16:59'::timestamp) - extract(epoch from '2026-06-09 13:16:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.38805 -3.413434)', '2026-06-09 13:17:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387988 -3.41335)'), GeomFromEWKT('SRID=4674;POINT (-38.38805 -3.413434)'))) / (select extract(epoch from '2026-06-09 13:17:05'::timestamp) - extract(epoch from '2026-06-09 13:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.387988 -3.41335)'), GeomFromEWKT('SRID=4674;POINT (-38.38805 -3.413434)'))) / (select extract(epoch from '2026-06-09 13:17:05'::timestamp) - extract(epoch from '2026-06-09 13:16: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'), 46534, 'SRID=4674;POINT (-38.388068 -3.41346)', '2026-06-09 13:17:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38805 -3.413434)'), GeomFromEWKT('SRID=4674;POINT (-38.388068 -3.41346)'))) / (select extract(epoch from '2026-06-09 13:17:07'::timestamp) - extract(epoch from '2026-06-09 13:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38805 -3.413434)'), GeomFromEWKT('SRID=4674;POINT (-38.388068 -3.41346)'))) / (select extract(epoch from '2026-06-09 13:17:07'::timestamp) - extract(epoch from '2026-06-09 13:17:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.388101 -3.413488)', '2026-06-09 13:17:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388068 -3.41346)'), GeomFromEWKT('SRID=4674;POINT (-38.388101 -3.413488)'))) / (select extract(epoch from '2026-06-09 13:17:09'::timestamp) - extract(epoch from '2026-06-09 13:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388068 -3.41346)'), GeomFromEWKT('SRID=4674;POINT (-38.388101 -3.413488)'))) / (select extract(epoch from '2026-06-09 13:17:09'::timestamp) - extract(epoch from '2026-06-09 13:17:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.388125 -3.413543)', '2026-06-09 13:17:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388101 -3.413488)'), GeomFromEWKT('SRID=4674;POINT (-38.388125 -3.413543)'))) / (select extract(epoch from '2026-06-09 13:17:12'::timestamp) - extract(epoch from '2026-06-09 13:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388101 -3.413488)'), GeomFromEWKT('SRID=4674;POINT (-38.388125 -3.413543)'))) / (select extract(epoch from '2026-06-09 13:17:12'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.388147 -3.413575)', '2026-06-09 13:17:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388125 -3.413543)'), GeomFromEWKT('SRID=4674;POINT (-38.388147 -3.413575)'))) / (select extract(epoch from '2026-06-09 13:17:14'::timestamp) - extract(epoch from '2026-06-09 13:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388125 -3.413543)'), GeomFromEWKT('SRID=4674;POINT (-38.388147 -3.413575)'))) / (select extract(epoch from '2026-06-09 13:17:14'::timestamp) - extract(epoch from '2026-06-09 13:17:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.388174 -3.413615)', '2026-06-09 13:17:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388147 -3.413575)'), GeomFromEWKT('SRID=4674;POINT (-38.388174 -3.413615)'))) / (select extract(epoch from '2026-06-09 13:17:17'::timestamp) - extract(epoch from '2026-06-09 13:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388147 -3.413575)'), GeomFromEWKT('SRID=4674;POINT (-38.388174 -3.413615)'))) / (select extract(epoch from '2026-06-09 13:17:17'::timestamp) - extract(epoch from '2026-06-09 13:17: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'), 46534, 'SRID=4674;POINT (-38.388206 -3.413652)', '2026-06-09 13:17:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388174 -3.413615)'), GeomFromEWKT('SRID=4674;POINT (-38.388206 -3.413652)'))) / (select extract(epoch from '2026-06-09 13:17:20'::timestamp) - extract(epoch from '2026-06-09 13:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388174 -3.413615)'), GeomFromEWKT('SRID=4674;POINT (-38.388206 -3.413652)'))) / (select extract(epoch from '2026-06-09 13:17:20'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.388283 -3.413758)', '2026-06-09 13:17:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388206 -3.413652)'), GeomFromEWKT('SRID=4674;POINT (-38.388283 -3.413758)'))) / (select extract(epoch from '2026-06-09 13:17:27'::timestamp) - extract(epoch from '2026-06-09 13:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388206 -3.413652)'), GeomFromEWKT('SRID=4674;POINT (-38.388283 -3.413758)'))) / (select extract(epoch from '2026-06-09 13:17:27'::timestamp) - extract(epoch from '2026-06-09 13:17: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'), 46534, 'SRID=4674;POINT (-38.388338 -3.413828)', '2026-06-09 13:17:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388283 -3.413758)'), GeomFromEWKT('SRID=4674;POINT (-38.388338 -3.413828)'))) / (select extract(epoch from '2026-06-09 13:17:32'::timestamp) - extract(epoch from '2026-06-09 13:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388283 -3.413758)'), GeomFromEWKT('SRID=4674;POINT (-38.388338 -3.413828)'))) / (select extract(epoch from '2026-06-09 13:17:32'::timestamp) - extract(epoch from '2026-06-09 13:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.388404 -3.413971)', '2026-06-09 13:17:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388338 -3.413828)'), GeomFromEWKT('SRID=4674;POINT (-38.388404 -3.413971)'))) / (select extract(epoch from '2026-06-09 13:17:40'::timestamp) - extract(epoch from '2026-06-09 13:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388338 -3.413828)'), GeomFromEWKT('SRID=4674;POINT (-38.388404 -3.413971)'))) / (select extract(epoch from '2026-06-09 13:17:40'::timestamp) - extract(epoch from '2026-06-09 13:17: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'), 46534, 'SRID=4674;POINT (-38.388466 -3.414062)', '2026-06-09 13:17:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388404 -3.413971)'), GeomFromEWKT('SRID=4674;POINT (-38.388466 -3.414062)'))) / (select extract(epoch from '2026-06-09 13:17:46'::timestamp) - extract(epoch from '2026-06-09 13:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388404 -3.413971)'), GeomFromEWKT('SRID=4674;POINT (-38.388466 -3.414062)'))) / (select extract(epoch from '2026-06-09 13:17:46'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.388544 -3.414175)', '2026-06-09 13:17:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388466 -3.414062)'), GeomFromEWKT('SRID=4674;POINT (-38.388544 -3.414175)'))) / (select extract(epoch from '2026-06-09 13:17:53'::timestamp) - extract(epoch from '2026-06-09 13:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388466 -3.414062)'), GeomFromEWKT('SRID=4674;POINT (-38.388544 -3.414175)'))) / (select extract(epoch from '2026-06-09 13:17:53'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.388617 -3.414253)', '2026-06-09 13:17:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388544 -3.414175)'), GeomFromEWKT('SRID=4674;POINT (-38.388617 -3.414253)'))) / (select extract(epoch from '2026-06-09 13:17:59'::timestamp) - extract(epoch from '2026-06-09 13:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388544 -3.414175)'), GeomFromEWKT('SRID=4674;POINT (-38.388617 -3.414253)'))) / (select extract(epoch from '2026-06-09 13:17:59'::timestamp) - extract(epoch from '2026-06-09 13:17:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.388675 -3.414335)', '2026-06-09 13:18:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388617 -3.414253)'), GeomFromEWKT('SRID=4674;POINT (-38.388675 -3.414335)'))) / (select extract(epoch from '2026-06-09 13:18:04'::timestamp) - extract(epoch from '2026-06-09 13:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388617 -3.414253)'), GeomFromEWKT('SRID=4674;POINT (-38.388675 -3.414335)'))) / (select extract(epoch from '2026-06-09 13:18:04'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.388744 -3.414414)', '2026-06-09 13:18:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388675 -3.414335)'), GeomFromEWKT('SRID=4674;POINT (-38.388744 -3.414414)'))) / (select extract(epoch from '2026-06-09 13:18:10'::timestamp) - extract(epoch from '2026-06-09 13:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388675 -3.414335)'), GeomFromEWKT('SRID=4674;POINT (-38.388744 -3.414414)'))) / (select extract(epoch from '2026-06-09 13:18:10'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.388818 -3.414523)', '2026-06-09 13:18:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388744 -3.414414)'), GeomFromEWKT('SRID=4674;POINT (-38.388818 -3.414523)'))) / (select extract(epoch from '2026-06-09 13:18:17'::timestamp) - extract(epoch from '2026-06-09 13:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388744 -3.414414)'), GeomFromEWKT('SRID=4674;POINT (-38.388818 -3.414523)'))) / (select extract(epoch from '2026-06-09 13:18:17'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.388886 -3.414641)', '2026-06-09 13:18:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388818 -3.414523)'), GeomFromEWKT('SRID=4674;POINT (-38.388886 -3.414641)'))) / (select extract(epoch from '2026-06-09 13:18:24'::timestamp) - extract(epoch from '2026-06-09 13:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388818 -3.414523)'), GeomFromEWKT('SRID=4674;POINT (-38.388886 -3.414641)'))) / (select extract(epoch from '2026-06-09 13:18:24'::timestamp) - extract(epoch from '2026-06-09 13:18: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'), 46534, 'SRID=4674;POINT (-38.38896 -3.414751)', '2026-06-09 13:18:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388886 -3.414641)'), GeomFromEWKT('SRID=4674;POINT (-38.38896 -3.414751)'))) / (select extract(epoch from '2026-06-09 13:18:31'::timestamp) - extract(epoch from '2026-06-09 13:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.388886 -3.414641)'), GeomFromEWKT('SRID=4674;POINT (-38.38896 -3.414751)'))) / (select extract(epoch from '2026-06-09 13:18:31'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.389006 -3.414841)', '2026-06-09 13:18:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38896 -3.414751)'), GeomFromEWKT('SRID=4674;POINT (-38.389006 -3.414841)'))) / (select extract(epoch from '2026-06-09 13:18:36'::timestamp) - extract(epoch from '2026-06-09 13:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38896 -3.414751)'), GeomFromEWKT('SRID=4674;POINT (-38.389006 -3.414841)'))) / (select extract(epoch from '2026-06-09 13:18:36'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.389085 -3.414984)', '2026-06-09 13:18:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389006 -3.414841)'), GeomFromEWKT('SRID=4674;POINT (-38.389085 -3.414984)'))) / (select extract(epoch from '2026-06-09 13:18:44'::timestamp) - extract(epoch from '2026-06-09 13:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389006 -3.414841)'), GeomFromEWKT('SRID=4674;POINT (-38.389085 -3.414984)'))) / (select extract(epoch from '2026-06-09 13:18:44'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.389137 -3.415088)', '2026-06-09 13:18:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389085 -3.414984)'), GeomFromEWKT('SRID=4674;POINT (-38.389137 -3.415088)'))) / (select extract(epoch from '2026-06-09 13:18:50'::timestamp) - extract(epoch from '2026-06-09 13:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389085 -3.414984)'), GeomFromEWKT('SRID=4674;POINT (-38.389137 -3.415088)'))) / (select extract(epoch from '2026-06-09 13:18:50'::timestamp) - extract(epoch from '2026-06-09 13:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.389195 -3.41519)', '2026-06-09 13:18:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389137 -3.415088)'), GeomFromEWKT('SRID=4674;POINT (-38.389195 -3.41519)'))) / (select extract(epoch from '2026-06-09 13:18:56'::timestamp) - extract(epoch from '2026-06-09 13:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389137 -3.415088)'), GeomFromEWKT('SRID=4674;POINT (-38.389195 -3.41519)'))) / (select extract(epoch from '2026-06-09 13:18:56'::timestamp) - extract(epoch from '2026-06-09 13:18: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'), 46534, 'SRID=4674;POINT (-38.389242 -3.415285)', '2026-06-09 13:19:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389195 -3.41519)'), GeomFromEWKT('SRID=4674;POINT (-38.389242 -3.415285)'))) / (select extract(epoch from '2026-06-09 13:19:02'::timestamp) - extract(epoch from '2026-06-09 13:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389195 -3.41519)'), GeomFromEWKT('SRID=4674;POINT (-38.389242 -3.415285)'))) / (select extract(epoch from '2026-06-09 13:19:02'::timestamp) - extract(epoch from '2026-06-09 13:18: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'), 46534, 'SRID=4674;POINT (-38.389291 -3.415386)', '2026-06-09 13:19:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389242 -3.415285)'), GeomFromEWKT('SRID=4674;POINT (-38.389291 -3.415386)'))) / (select extract(epoch from '2026-06-09 13:19:09'::timestamp) - extract(epoch from '2026-06-09 13:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389242 -3.415285)'), GeomFromEWKT('SRID=4674;POINT (-38.389291 -3.415386)'))) / (select extract(epoch from '2026-06-09 13:19:09'::timestamp) - extract(epoch from '2026-06-09 13:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.389341 -3.415475)', '2026-06-09 13:19:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389291 -3.415386)'), GeomFromEWKT('SRID=4674;POINT (-38.389341 -3.415475)'))) / (select extract(epoch from '2026-06-09 13:19:15'::timestamp) - extract(epoch from '2026-06-09 13:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389291 -3.415386)'), GeomFromEWKT('SRID=4674;POINT (-38.389341 -3.415475)'))) / (select extract(epoch from '2026-06-09 13:19:15'::timestamp) - extract(epoch from '2026-06-09 13:19:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.389416 -3.41559)', '2026-06-09 13:19:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389341 -3.415475)'), GeomFromEWKT('SRID=4674;POINT (-38.389416 -3.41559)'))) / (select extract(epoch from '2026-06-09 13:19:23'::timestamp) - extract(epoch from '2026-06-09 13:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389341 -3.415475)'), GeomFromEWKT('SRID=4674;POINT (-38.389416 -3.41559)'))) / (select extract(epoch from '2026-06-09 13:19:23'::timestamp) - extract(epoch from '2026-06-09 13:19: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'), 46534, 'SRID=4674;POINT (-38.389469 -3.415689)', '2026-06-09 13:19:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389416 -3.41559)'), GeomFromEWKT('SRID=4674;POINT (-38.389469 -3.415689)'))) / (select extract(epoch from '2026-06-09 13:19:30'::timestamp) - extract(epoch from '2026-06-09 13:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389416 -3.41559)'), GeomFromEWKT('SRID=4674;POINT (-38.389469 -3.415689)'))) / (select extract(epoch from '2026-06-09 13:19:30'::timestamp) - extract(epoch from '2026-06-09 13:19: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'), 46534, 'SRID=4674;POINT (-38.389527 -3.415787)', '2026-06-09 13:19:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389469 -3.415689)'), GeomFromEWKT('SRID=4674;POINT (-38.389527 -3.415787)'))) / (select extract(epoch from '2026-06-09 13:19:37'::timestamp) - extract(epoch from '2026-06-09 13:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389469 -3.415689)'), GeomFromEWKT('SRID=4674;POINT (-38.389527 -3.415787)'))) / (select extract(epoch from '2026-06-09 13:19:37'::timestamp) - extract(epoch from '2026-06-09 13:19: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'), 46534, 'SRID=4674;POINT (-38.389575 -3.415866)', '2026-06-09 13:19:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389527 -3.415787)'), GeomFromEWKT('SRID=4674;POINT (-38.389575 -3.415866)'))) / (select extract(epoch from '2026-06-09 13:19:42'::timestamp) - extract(epoch from '2026-06-09 13:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389527 -3.415787)'), GeomFromEWKT('SRID=4674;POINT (-38.389575 -3.415866)'))) / (select extract(epoch from '2026-06-09 13:19:42'::timestamp) - extract(epoch from '2026-06-09 13:19: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'), 46534, 'SRID=4674;POINT (-38.389624 -3.415955)', '2026-06-09 13:19:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389575 -3.415866)'), GeomFromEWKT('SRID=4674;POINT (-38.389624 -3.415955)'))) / (select extract(epoch from '2026-06-09 13:19:48'::timestamp) - extract(epoch from '2026-06-09 13:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389575 -3.415866)'), GeomFromEWKT('SRID=4674;POINT (-38.389624 -3.415955)'))) / (select extract(epoch from '2026-06-09 13:19:48'::timestamp) - extract(epoch from '2026-06-09 13:19:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.389673 -3.416033)', '2026-06-09 13:19:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389624 -3.415955)'), GeomFromEWKT('SRID=4674;POINT (-38.389673 -3.416033)'))) / (select extract(epoch from '2026-06-09 13:19:53'::timestamp) - extract(epoch from '2026-06-09 13:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389624 -3.415955)'), GeomFromEWKT('SRID=4674;POINT (-38.389673 -3.416033)'))) / (select extract(epoch from '2026-06-09 13:19:53'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.38974 -3.416158)', '2026-06-09 13:20:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389673 -3.416033)'), GeomFromEWKT('SRID=4674;POINT (-38.38974 -3.416158)'))) / (select extract(epoch from '2026-06-09 13:20:00'::timestamp) - extract(epoch from '2026-06-09 13:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389673 -3.416033)'), GeomFromEWKT('SRID=4674;POINT (-38.38974 -3.416158)'))) / (select extract(epoch from '2026-06-09 13:20:00'::timestamp) - extract(epoch from '2026-06-09 13:19:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.389776 -3.41625)', '2026-06-09 13:20:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38974 -3.416158)'), GeomFromEWKT('SRID=4674;POINT (-38.389776 -3.41625)'))) / (select extract(epoch from '2026-06-09 13:20:06'::timestamp) - extract(epoch from '2026-06-09 13:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38974 -3.416158)'), GeomFromEWKT('SRID=4674;POINT (-38.389776 -3.41625)'))) / (select extract(epoch from '2026-06-09 13:20:06'::timestamp) - extract(epoch from '2026-06-09 13:20: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'), 46534, 'SRID=4674;POINT (-38.389817 -3.416374)', '2026-06-09 13:20:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389776 -3.41625)'), GeomFromEWKT('SRID=4674;POINT (-38.389817 -3.416374)'))) / (select extract(epoch from '2026-06-09 13:20:13'::timestamp) - extract(epoch from '2026-06-09 13:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389776 -3.41625)'), GeomFromEWKT('SRID=4674;POINT (-38.389817 -3.416374)'))) / (select extract(epoch from '2026-06-09 13:20:13'::timestamp) - extract(epoch from '2026-06-09 13:20:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.389824 -3.416387)', '2026-06-09 13:20:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389817 -3.416374)'), GeomFromEWKT('SRID=4674;POINT (-38.389824 -3.416387)'))) / (select extract(epoch from '2026-06-09 13:20:14'::timestamp) - extract(epoch from '2026-06-09 13:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389817 -3.416374)'), GeomFromEWKT('SRID=4674;POINT (-38.389824 -3.416387)'))) / (select extract(epoch from '2026-06-09 13:20:14'::timestamp) - extract(epoch from '2026-06-09 13:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.38985 -3.41644)', '2026-06-09 13:20:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389824 -3.416387)'), GeomFromEWKT('SRID=4674;POINT (-38.38985 -3.41644)'))) / (select extract(epoch from '2026-06-09 13:20:18'::timestamp) - extract(epoch from '2026-06-09 13:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389824 -3.416387)'), GeomFromEWKT('SRID=4674;POINT (-38.38985 -3.41644)'))) / (select extract(epoch from '2026-06-09 13:20:18'::timestamp) - extract(epoch from '2026-06-09 13:20: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'), 46534, 'SRID=4674;POINT (-38.389904 -3.416541)', '2026-06-09 13:20:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38985 -3.41644)'), GeomFromEWKT('SRID=4674;POINT (-38.389904 -3.416541)'))) / (select extract(epoch from '2026-06-09 13:20:26'::timestamp) - extract(epoch from '2026-06-09 13:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38985 -3.41644)'), GeomFromEWKT('SRID=4674;POINT (-38.389904 -3.416541)'))) / (select extract(epoch from '2026-06-09 13:20:26'::timestamp) - extract(epoch from '2026-06-09 13:20: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'), 46534, 'SRID=4674;POINT (-38.389951 -3.416595)', '2026-06-09 13:20:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389904 -3.416541)'), GeomFromEWKT('SRID=4674;POINT (-38.389951 -3.416595)'))) / (select extract(epoch from '2026-06-09 13:20:31'::timestamp) - extract(epoch from '2026-06-09 13:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389904 -3.416541)'), GeomFromEWKT('SRID=4674;POINT (-38.389951 -3.416595)'))) / (select extract(epoch from '2026-06-09 13:20:31'::timestamp) - extract(epoch from '2026-06-09 13:20: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'), 46534, 'SRID=4674;POINT (-38.390027 -3.416679)', '2026-06-09 13:20:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389951 -3.416595)'), GeomFromEWKT('SRID=4674;POINT (-38.390027 -3.416679)'))) / (select extract(epoch from '2026-06-09 13:20:38'::timestamp) - extract(epoch from '2026-06-09 13:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.389951 -3.416595)'), GeomFromEWKT('SRID=4674;POINT (-38.390027 -3.416679)'))) / (select extract(epoch from '2026-06-09 13:20:38'::timestamp) - extract(epoch from '2026-06-09 13:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.390069 -3.416732)', '2026-06-09 13:20:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390027 -3.416679)'), GeomFromEWKT('SRID=4674;POINT (-38.390069 -3.416732)'))) / (select extract(epoch from '2026-06-09 13:20:42'::timestamp) - extract(epoch from '2026-06-09 13:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390027 -3.416679)'), GeomFromEWKT('SRID=4674;POINT (-38.390069 -3.416732)'))) / (select extract(epoch from '2026-06-09 13:20:42'::timestamp) - extract(epoch from '2026-06-09 13:20: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'), 46534, 'SRID=4674;POINT (-38.390081 -3.416742)', '2026-06-09 13:20:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390069 -3.416732)'), GeomFromEWKT('SRID=4674;POINT (-38.390081 -3.416742)'))) / (select extract(epoch from '2026-06-09 13:20:43'::timestamp) - extract(epoch from '2026-06-09 13:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390069 -3.416732)'), GeomFromEWKT('SRID=4674;POINT (-38.390081 -3.416742)'))) / (select extract(epoch from '2026-06-09 13:20:43'::timestamp) - extract(epoch from '2026-06-09 13:20:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.390142 -3.416804)', '2026-06-09 13:20:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390081 -3.416742)'), GeomFromEWKT('SRID=4674;POINT (-38.390142 -3.416804)'))) / (select extract(epoch from '2026-06-09 13:20:48'::timestamp) - extract(epoch from '2026-06-09 13:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390081 -3.416742)'), GeomFromEWKT('SRID=4674;POINT (-38.390142 -3.416804)'))) / (select extract(epoch from '2026-06-09 13:20:48'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.390222 -3.416896)', '2026-06-09 13:20:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390142 -3.416804)'), GeomFromEWKT('SRID=4674;POINT (-38.390222 -3.416896)'))) / (select extract(epoch from '2026-06-09 13:20:54'::timestamp) - extract(epoch from '2026-06-09 13:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390142 -3.416804)'), GeomFromEWKT('SRID=4674;POINT (-38.390222 -3.416896)'))) / (select extract(epoch from '2026-06-09 13:20:54'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.390279 -3.416964)', '2026-06-09 13:20:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390222 -3.416896)'), GeomFromEWKT('SRID=4674;POINT (-38.390279 -3.416964)'))) / (select extract(epoch from '2026-06-09 13:20:59'::timestamp) - extract(epoch from '2026-06-09 13:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390222 -3.416896)'), GeomFromEWKT('SRID=4674;POINT (-38.390279 -3.416964)'))) / (select extract(epoch from '2026-06-09 13:20:59'::timestamp) - extract(epoch from '2026-06-09 13:20:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.390335 -3.417058)', '2026-06-09 13:21:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390279 -3.416964)'), GeomFromEWKT('SRID=4674;POINT (-38.390335 -3.417058)'))) / (select extract(epoch from '2026-06-09 13:21:05'::timestamp) - extract(epoch from '2026-06-09 13:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390279 -3.416964)'), GeomFromEWKT('SRID=4674;POINT (-38.390335 -3.417058)'))) / (select extract(epoch from '2026-06-09 13:21:05'::timestamp) - extract(epoch from '2026-06-09 13:20:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.390403 -3.417163)', '2026-06-09 13:21:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390335 -3.417058)'), GeomFromEWKT('SRID=4674;POINT (-38.390403 -3.417163)'))) / (select extract(epoch from '2026-06-09 13:21:12'::timestamp) - extract(epoch from '2026-06-09 13:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390335 -3.417058)'), GeomFromEWKT('SRID=4674;POINT (-38.390403 -3.417163)'))) / (select extract(epoch from '2026-06-09 13:21:12'::timestamp) - extract(epoch from '2026-06-09 13:21:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.390455 -3.417252)', '2026-06-09 13:21:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390403 -3.417163)'), GeomFromEWKT('SRID=4674;POINT (-38.390455 -3.417252)'))) / (select extract(epoch from '2026-06-09 13:21:17'::timestamp) - extract(epoch from '2026-06-09 13:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390403 -3.417163)'), GeomFromEWKT('SRID=4674;POINT (-38.390455 -3.417252)'))) / (select extract(epoch from '2026-06-09 13:21:17'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.390465 -3.417266)', '2026-06-09 13:21:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390455 -3.417252)'), GeomFromEWKT('SRID=4674;POINT (-38.390465 -3.417266)'))) / (select extract(epoch from '2026-06-09 13:21:18'::timestamp) - extract(epoch from '2026-06-09 13:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390455 -3.417252)'), GeomFromEWKT('SRID=4674;POINT (-38.390465 -3.417266)'))) / (select extract(epoch from '2026-06-09 13:21:18'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.390501 -3.417328)', '2026-06-09 13:21:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390465 -3.417266)'), GeomFromEWKT('SRID=4674;POINT (-38.390501 -3.417328)'))) / (select extract(epoch from '2026-06-09 13:21:22'::timestamp) - extract(epoch from '2026-06-09 13:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390465 -3.417266)'), GeomFromEWKT('SRID=4674;POINT (-38.390501 -3.417328)'))) / (select extract(epoch from '2026-06-09 13:21:22'::timestamp) - extract(epoch from '2026-06-09 13:21: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'), 46534, 'SRID=4674;POINT (-38.39056 -3.417405)', '2026-06-09 13:21:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390501 -3.417328)'), GeomFromEWKT('SRID=4674;POINT (-38.39056 -3.417405)'))) / (select extract(epoch from '2026-06-09 13:21:28'::timestamp) - extract(epoch from '2026-06-09 13:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390501 -3.417328)'), GeomFromEWKT('SRID=4674;POINT (-38.39056 -3.417405)'))) / (select extract(epoch from '2026-06-09 13:21:28'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.390623 -3.417487)', '2026-06-09 13:21:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39056 -3.417405)'), GeomFromEWKT('SRID=4674;POINT (-38.390623 -3.417487)'))) / (select extract(epoch from '2026-06-09 13:21:34'::timestamp) - extract(epoch from '2026-06-09 13:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39056 -3.417405)'), GeomFromEWKT('SRID=4674;POINT (-38.390623 -3.417487)'))) / (select extract(epoch from '2026-06-09 13:21:34'::timestamp) - extract(epoch from '2026-06-09 13:21: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'), 46534, 'SRID=4674;POINT (-38.390676 -3.417557)', '2026-06-09 13:21:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390623 -3.417487)'), GeomFromEWKT('SRID=4674;POINT (-38.390676 -3.417557)'))) / (select extract(epoch from '2026-06-09 13:21:39'::timestamp) - extract(epoch from '2026-06-09 13:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390623 -3.417487)'), GeomFromEWKT('SRID=4674;POINT (-38.390676 -3.417557)'))) / (select extract(epoch from '2026-06-09 13:21:39'::timestamp) - extract(epoch from '2026-06-09 13:21:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.390689 -3.417565)', '2026-06-09 13:21:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390676 -3.417557)'), GeomFromEWKT('SRID=4674;POINT (-38.390689 -3.417565)'))) / (select extract(epoch from '2026-06-09 13:21:40'::timestamp) - extract(epoch from '2026-06-09 13:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390676 -3.417557)'), GeomFromEWKT('SRID=4674;POINT (-38.390689 -3.417565)'))) / (select extract(epoch from '2026-06-09 13:21:40'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.390754 -3.417645)', '2026-06-09 13:21:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390689 -3.417565)'), GeomFromEWKT('SRID=4674;POINT (-38.390754 -3.417645)'))) / (select extract(epoch from '2026-06-09 13:21:46'::timestamp) - extract(epoch from '2026-06-09 13:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390689 -3.417565)'), GeomFromEWKT('SRID=4674;POINT (-38.390754 -3.417645)'))) / (select extract(epoch from '2026-06-09 13:21:46'::timestamp) - extract(epoch from '2026-06-09 13:21:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.39082 -3.417734)', '2026-06-09 13:21:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390754 -3.417645)'), GeomFromEWKT('SRID=4674;POINT (-38.39082 -3.417734)'))) / (select extract(epoch from '2026-06-09 13:21:52'::timestamp) - extract(epoch from '2026-06-09 13:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390754 -3.417645)'), GeomFromEWKT('SRID=4674;POINT (-38.39082 -3.417734)'))) / (select extract(epoch from '2026-06-09 13:21:52'::timestamp) - extract(epoch from '2026-06-09 13:21:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.390902 -3.417837)', '2026-06-09 13:22:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39082 -3.417734)'), GeomFromEWKT('SRID=4674;POINT (-38.390902 -3.417837)'))) / (select extract(epoch from '2026-06-09 13:22:00'::timestamp) - extract(epoch from '2026-06-09 13:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39082 -3.417734)'), GeomFromEWKT('SRID=4674;POINT (-38.390902 -3.417837)'))) / (select extract(epoch from '2026-06-09 13:22:00'::timestamp) - extract(epoch from '2026-06-09 13:21: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'), 46534, 'SRID=4674;POINT (-38.391015 -3.417958)', '2026-06-09 13:22:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390902 -3.417837)'), GeomFromEWKT('SRID=4674;POINT (-38.391015 -3.417958)'))) / (select extract(epoch from '2026-06-09 13:22:09'::timestamp) - extract(epoch from '2026-06-09 13:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.390902 -3.417837)'), GeomFromEWKT('SRID=4674;POINT (-38.391015 -3.417958)'))) / (select extract(epoch from '2026-06-09 13:22:09'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.391062 -3.41803)', '2026-06-09 13:22:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391015 -3.417958)'), GeomFromEWKT('SRID=4674;POINT (-38.391062 -3.41803)'))) / (select extract(epoch from '2026-06-09 13:22:14'::timestamp) - extract(epoch from '2026-06-09 13:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391015 -3.417958)'), GeomFromEWKT('SRID=4674;POINT (-38.391062 -3.41803)'))) / (select extract(epoch from '2026-06-09 13:22:14'::timestamp) - extract(epoch from '2026-06-09 13:22:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.391121 -3.418132)', '2026-06-09 13:22:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391062 -3.41803)'), GeomFromEWKT('SRID=4674;POINT (-38.391121 -3.418132)'))) / (select extract(epoch from '2026-06-09 13:22:21'::timestamp) - extract(epoch from '2026-06-09 13:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391062 -3.41803)'), GeomFromEWKT('SRID=4674;POINT (-38.391121 -3.418132)'))) / (select extract(epoch from '2026-06-09 13:22:21'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.391177 -3.418235)', '2026-06-09 13:22:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391121 -3.418132)'), GeomFromEWKT('SRID=4674;POINT (-38.391177 -3.418235)'))) / (select extract(epoch from '2026-06-09 13:22:28'::timestamp) - extract(epoch from '2026-06-09 13:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391121 -3.418132)'), GeomFromEWKT('SRID=4674;POINT (-38.391177 -3.418235)'))) / (select extract(epoch from '2026-06-09 13:22:28'::timestamp) - extract(epoch from '2026-06-09 13:22: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'), 46534, 'SRID=4674;POINT (-38.391248 -3.418332)', '2026-06-09 13:22:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391177 -3.418235)'), GeomFromEWKT('SRID=4674;POINT (-38.391248 -3.418332)'))) / (select extract(epoch from '2026-06-09 13:22:34'::timestamp) - extract(epoch from '2026-06-09 13:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391177 -3.418235)'), GeomFromEWKT('SRID=4674;POINT (-38.391248 -3.418332)'))) / (select extract(epoch from '2026-06-09 13:22:34'::timestamp) - extract(epoch from '2026-06-09 13:22:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.39131 -3.418426)', '2026-06-09 13:22:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391248 -3.418332)'), GeomFromEWKT('SRID=4674;POINT (-38.39131 -3.418426)'))) / (select extract(epoch from '2026-06-09 13:22:40'::timestamp) - extract(epoch from '2026-06-09 13:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391248 -3.418332)'), GeomFromEWKT('SRID=4674;POINT (-38.39131 -3.418426)'))) / (select extract(epoch from '2026-06-09 13:22:40'::timestamp) - extract(epoch from '2026-06-09 13:22: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'), 46534, 'SRID=4674;POINT (-38.39137 -3.418551)', '2026-06-09 13:22:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39131 -3.418426)'), GeomFromEWKT('SRID=4674;POINT (-38.39137 -3.418551)'))) / (select extract(epoch from '2026-06-09 13:22:47'::timestamp) - extract(epoch from '2026-06-09 13:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39131 -3.418426)'), GeomFromEWKT('SRID=4674;POINT (-38.39137 -3.418551)'))) / (select extract(epoch from '2026-06-09 13:22:47'::timestamp) - extract(epoch from '2026-06-09 13:22: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'), 46534, 'SRID=4674;POINT (-38.391429 -3.418677)', '2026-06-09 13:22:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39137 -3.418551)'), GeomFromEWKT('SRID=4674;POINT (-38.391429 -3.418677)'))) / (select extract(epoch from '2026-06-09 13:22:54'::timestamp) - extract(epoch from '2026-06-09 13:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39137 -3.418551)'), GeomFromEWKT('SRID=4674;POINT (-38.391429 -3.418677)'))) / (select extract(epoch from '2026-06-09 13:22:54'::timestamp) - extract(epoch from '2026-06-09 13:22:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.391477 -3.418788)', '2026-06-09 13:23:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391429 -3.418677)'), GeomFromEWKT('SRID=4674;POINT (-38.391477 -3.418788)'))) / (select extract(epoch from '2026-06-09 13:23:00'::timestamp) - extract(epoch from '2026-06-09 13:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391429 -3.418677)'), GeomFromEWKT('SRID=4674;POINT (-38.391477 -3.418788)'))) / (select extract(epoch from '2026-06-09 13:23:00'::timestamp) - extract(epoch from '2026-06-09 13:22: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'), 46534, 'SRID=4674;POINT (-38.391489 -3.418818)', '2026-06-09 13:23:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391477 -3.418788)'), GeomFromEWKT('SRID=4674;POINT (-38.391489 -3.418818)'))) / (select extract(epoch from '2026-06-09 13:23:02'::timestamp) - extract(epoch from '2026-06-09 13:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391477 -3.418788)'), GeomFromEWKT('SRID=4674;POINT (-38.391489 -3.418818)'))) / (select extract(epoch from '2026-06-09 13:23:02'::timestamp) - extract(epoch from '2026-06-09 13:23:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.39151 -3.418856)', '2026-06-09 13:23:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391489 -3.418818)'), GeomFromEWKT('SRID=4674;POINT (-38.39151 -3.418856)'))) / (select extract(epoch from '2026-06-09 13:23:04'::timestamp) - extract(epoch from '2026-06-09 13:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391489 -3.418818)'), GeomFromEWKT('SRID=4674;POINT (-38.39151 -3.418856)'))) / (select extract(epoch from '2026-06-09 13:23:04'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.391556 -3.418951)', '2026-06-09 13:23:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39151 -3.418856)'), GeomFromEWKT('SRID=4674;POINT (-38.391556 -3.418951)'))) / (select extract(epoch from '2026-06-09 13:23:09'::timestamp) - extract(epoch from '2026-06-09 13:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39151 -3.418856)'), GeomFromEWKT('SRID=4674;POINT (-38.391556 -3.418951)'))) / (select extract(epoch from '2026-06-09 13:23:09'::timestamp) - extract(epoch from '2026-06-09 13:23: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'), 46534, 'SRID=4674;POINT (-38.391599 -3.419052)', '2026-06-09 13:23:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391556 -3.418951)'), GeomFromEWKT('SRID=4674;POINT (-38.391599 -3.419052)'))) / (select extract(epoch from '2026-06-09 13:23:14'::timestamp) - extract(epoch from '2026-06-09 13:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391556 -3.418951)'), GeomFromEWKT('SRID=4674;POINT (-38.391599 -3.419052)'))) / (select extract(epoch from '2026-06-09 13:23:14'::timestamp) - extract(epoch from '2026-06-09 13:23: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'), 46534, 'SRID=4674;POINT (-38.391649 -3.419155)', '2026-06-09 13:23:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391599 -3.419052)'), GeomFromEWKT('SRID=4674;POINT (-38.391649 -3.419155)'))) / (select extract(epoch from '2026-06-09 13:23:19'::timestamp) - extract(epoch from '2026-06-09 13:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391599 -3.419052)'), GeomFromEWKT('SRID=4674;POINT (-38.391649 -3.419155)'))) / (select extract(epoch from '2026-06-09 13:23:19'::timestamp) - extract(epoch from '2026-06-09 13:23:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.391655 -3.419174)', '2026-06-09 13:23:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391649 -3.419155)'), GeomFromEWKT('SRID=4674;POINT (-38.391655 -3.419174)'))) / (select extract(epoch from '2026-06-09 13:23:20'::timestamp) - extract(epoch from '2026-06-09 13:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391649 -3.419155)'), GeomFromEWKT('SRID=4674;POINT (-38.391655 -3.419174)'))) / (select extract(epoch from '2026-06-09 13:23:20'::timestamp) - extract(epoch from '2026-06-09 13:23: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'), 46534, 'SRID=4674;POINT (-38.391689 -3.419235)', '2026-06-09 13:23:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391655 -3.419174)'), GeomFromEWKT('SRID=4674;POINT (-38.391689 -3.419235)'))) / (select extract(epoch from '2026-06-09 13:23:24'::timestamp) - extract(epoch from '2026-06-09 13:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391655 -3.419174)'), GeomFromEWKT('SRID=4674;POINT (-38.391689 -3.419235)'))) / (select extract(epoch from '2026-06-09 13:23:24'::timestamp) - extract(epoch from '2026-06-09 13:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.391703 -3.419263)', '2026-06-09 13:23:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391689 -3.419235)'), GeomFromEWKT('SRID=4674;POINT (-38.391703 -3.419263)'))) / (select extract(epoch from '2026-06-09 13:23:26'::timestamp) - extract(epoch from '2026-06-09 13:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391689 -3.419235)'), GeomFromEWKT('SRID=4674;POINT (-38.391703 -3.419263)'))) / (select extract(epoch from '2026-06-09 13:23:26'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.391732 -3.419317)', '2026-06-09 13:23:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391703 -3.419263)'), GeomFromEWKT('SRID=4674;POINT (-38.391732 -3.419317)'))) / (select extract(epoch from '2026-06-09 13:23:29'::timestamp) - extract(epoch from '2026-06-09 13:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391703 -3.419263)'), GeomFromEWKT('SRID=4674;POINT (-38.391732 -3.419317)'))) / (select extract(epoch from '2026-06-09 13:23:29'::timestamp) - extract(epoch from '2026-06-09 13:23:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.391777 -3.41941)', '2026-06-09 13:23:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391732 -3.419317)'), GeomFromEWKT('SRID=4674;POINT (-38.391777 -3.41941)'))) / (select extract(epoch from '2026-06-09 13:23:35'::timestamp) - extract(epoch from '2026-06-09 13:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391732 -3.419317)'), GeomFromEWKT('SRID=4674;POINT (-38.391777 -3.41941)'))) / (select extract(epoch from '2026-06-09 13:23:35'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.391824 -3.419503)', '2026-06-09 13:23:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391777 -3.41941)'), GeomFromEWKT('SRID=4674;POINT (-38.391824 -3.419503)'))) / (select extract(epoch from '2026-06-09 13:23:41'::timestamp) - extract(epoch from '2026-06-09 13:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391777 -3.41941)'), GeomFromEWKT('SRID=4674;POINT (-38.391824 -3.419503)'))) / (select extract(epoch from '2026-06-09 13:23:41'::timestamp) - extract(epoch from '2026-06-09 13:23: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'), 46534, 'SRID=4674;POINT (-38.391827 -3.419521)', '2026-06-09 13:23:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391824 -3.419503)'), GeomFromEWKT('SRID=4674;POINT (-38.391827 -3.419521)'))) / (select extract(epoch from '2026-06-09 13:23:42'::timestamp) - extract(epoch from '2026-06-09 13:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391824 -3.419503)'), GeomFromEWKT('SRID=4674;POINT (-38.391827 -3.419521)'))) / (select extract(epoch from '2026-06-09 13:23:42'::timestamp) - extract(epoch from '2026-06-09 13:23:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.391865 -3.419582)', '2026-06-09 13:23:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391827 -3.419521)'), GeomFromEWKT('SRID=4674;POINT (-38.391865 -3.419582)'))) / (select extract(epoch from '2026-06-09 13:23:46'::timestamp) - extract(epoch from '2026-06-09 13:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391827 -3.419521)'), GeomFromEWKT('SRID=4674;POINT (-38.391865 -3.419582)'))) / (select extract(epoch from '2026-06-09 13:23:46'::timestamp) - extract(epoch from '2026-06-09 13:23: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'), 46534, 'SRID=4674;POINT (-38.391916 -3.41967)', '2026-06-09 13:23:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391865 -3.419582)'), GeomFromEWKT('SRID=4674;POINT (-38.391916 -3.41967)'))) / (select extract(epoch from '2026-06-09 13:23:52'::timestamp) - extract(epoch from '2026-06-09 13:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391865 -3.419582)'), GeomFromEWKT('SRID=4674;POINT (-38.391916 -3.41967)'))) / (select extract(epoch from '2026-06-09 13:23:52'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.391967 -3.419751)', '2026-06-09 13:23:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391916 -3.41967)'), GeomFromEWKT('SRID=4674;POINT (-38.391967 -3.419751)'))) / (select extract(epoch from '2026-06-09 13:23:58'::timestamp) - extract(epoch from '2026-06-09 13:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391916 -3.41967)'), GeomFromEWKT('SRID=4674;POINT (-38.391967 -3.419751)'))) / (select extract(epoch from '2026-06-09 13:23:58'::timestamp) - extract(epoch from '2026-06-09 13:23: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'), 46534, 'SRID=4674;POINT (-38.39201 -3.419842)', '2026-06-09 13:24:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391967 -3.419751)'), GeomFromEWKT('SRID=4674;POINT (-38.39201 -3.419842)'))) / (select extract(epoch from '2026-06-09 13:24:04'::timestamp) - extract(epoch from '2026-06-09 13:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.391967 -3.419751)'), GeomFromEWKT('SRID=4674;POINT (-38.39201 -3.419842)'))) / (select extract(epoch from '2026-06-09 13:24:04'::timestamp) - extract(epoch from '2026-06-09 13:23: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'), 46534, 'SRID=4674;POINT (-38.392064 -3.419938)', '2026-06-09 13:24:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39201 -3.419842)'), GeomFromEWKT('SRID=4674;POINT (-38.392064 -3.419938)'))) / (select extract(epoch from '2026-06-09 13:24:11'::timestamp) - extract(epoch from '2026-06-09 13:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39201 -3.419842)'), GeomFromEWKT('SRID=4674;POINT (-38.392064 -3.419938)'))) / (select extract(epoch from '2026-06-09 13:24:11'::timestamp) - extract(epoch from '2026-06-09 13:24:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.392086 -3.419972)', '2026-06-09 13:24:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392064 -3.419938)'), GeomFromEWKT('SRID=4674;POINT (-38.392086 -3.419972)'))) / (select extract(epoch from '2026-06-09 13:24:13'::timestamp) - extract(epoch from '2026-06-09 13:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392064 -3.419938)'), GeomFromEWKT('SRID=4674;POINT (-38.392086 -3.419972)'))) / (select extract(epoch from '2026-06-09 13:24:13'::timestamp) - extract(epoch from '2026-06-09 13:24: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'), 46534, 'SRID=4674;POINT (-38.39211 -3.419997)', '2026-06-09 13:24:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392086 -3.419972)'), GeomFromEWKT('SRID=4674;POINT (-38.39211 -3.419997)'))) / (select extract(epoch from '2026-06-09 13:24:15'::timestamp) - extract(epoch from '2026-06-09 13:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392086 -3.419972)'), GeomFromEWKT('SRID=4674;POINT (-38.39211 -3.419997)'))) / (select extract(epoch from '2026-06-09 13:24:15'::timestamp) - extract(epoch from '2026-06-09 13:24:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.392114 -3.420012)', '2026-06-09 13:24:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39211 -3.419997)'), GeomFromEWKT('SRID=4674;POINT (-38.392114 -3.420012)'))) / (select extract(epoch from '2026-06-09 13:24:16'::timestamp) - extract(epoch from '2026-06-09 13:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39211 -3.419997)'), GeomFromEWKT('SRID=4674;POINT (-38.392114 -3.420012)'))) / (select extract(epoch from '2026-06-09 13:24:16'::timestamp) - extract(epoch from '2026-06-09 13:24: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'), 46534, 'SRID=4674;POINT (-38.392162 -3.420104)', '2026-06-09 13:24:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392114 -3.420012)'), GeomFromEWKT('SRID=4674;POINT (-38.392162 -3.420104)'))) / (select extract(epoch from '2026-06-09 13:24:22'::timestamp) - extract(epoch from '2026-06-09 13:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392114 -3.420012)'), GeomFromEWKT('SRID=4674;POINT (-38.392162 -3.420104)'))) / (select extract(epoch from '2026-06-09 13:24:22'::timestamp) - extract(epoch from '2026-06-09 13:24:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.392203 -3.420164)', '2026-06-09 13:24:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392162 -3.420104)'), GeomFromEWKT('SRID=4674;POINT (-38.392203 -3.420164)'))) / (select extract(epoch from '2026-06-09 13:24:27'::timestamp) - extract(epoch from '2026-06-09 13:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392162 -3.420104)'), GeomFromEWKT('SRID=4674;POINT (-38.392203 -3.420164)'))) / (select extract(epoch from '2026-06-09 13:24:27'::timestamp) - extract(epoch from '2026-06-09 13:24:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.39224 -3.420243)', '2026-06-09 13:24:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392203 -3.420164)'), GeomFromEWKT('SRID=4674;POINT (-38.39224 -3.420243)'))) / (select extract(epoch from '2026-06-09 13:24:32'::timestamp) - extract(epoch from '2026-06-09 13:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392203 -3.420164)'), GeomFromEWKT('SRID=4674;POINT (-38.39224 -3.420243)'))) / (select extract(epoch from '2026-06-09 13:24:32'::timestamp) - extract(epoch from '2026-06-09 13:24:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.392299 -3.420347)', '2026-06-09 13:24:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39224 -3.420243)'), GeomFromEWKT('SRID=4674;POINT (-38.392299 -3.420347)'))) / (select extract(epoch from '2026-06-09 13:24:38'::timestamp) - extract(epoch from '2026-06-09 13:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39224 -3.420243)'), GeomFromEWKT('SRID=4674;POINT (-38.392299 -3.420347)'))) / (select extract(epoch from '2026-06-09 13:24:38'::timestamp) - extract(epoch from '2026-06-09 13:24:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.392356 -3.420456)', '2026-06-09 13:24:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392299 -3.420347)'), GeomFromEWKT('SRID=4674;POINT (-38.392356 -3.420456)'))) / (select extract(epoch from '2026-06-09 13:24:44'::timestamp) - extract(epoch from '2026-06-09 13:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392299 -3.420347)'), GeomFromEWKT('SRID=4674;POINT (-38.392356 -3.420456)'))) / (select extract(epoch from '2026-06-09 13:24:44'::timestamp) - extract(epoch from '2026-06-09 13:24:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.392391 -3.420535)', '2026-06-09 13:24:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392356 -3.420456)'), GeomFromEWKT('SRID=4674;POINT (-38.392391 -3.420535)'))) / (select extract(epoch from '2026-06-09 13:24:49'::timestamp) - extract(epoch from '2026-06-09 13:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392356 -3.420456)'), GeomFromEWKT('SRID=4674;POINT (-38.392391 -3.420535)'))) / (select extract(epoch from '2026-06-09 13:24:49'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.392393 -3.42055)', '2026-06-09 13:24:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392391 -3.420535)'), GeomFromEWKT('SRID=4674;POINT (-38.392393 -3.42055)'))) / (select extract(epoch from '2026-06-09 13:24:50'::timestamp) - extract(epoch from '2026-06-09 13:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392391 -3.420535)'), GeomFromEWKT('SRID=4674;POINT (-38.392393 -3.42055)'))) / (select extract(epoch from '2026-06-09 13:24:50'::timestamp) - extract(epoch from '2026-06-09 13:24: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'), 46534, 'SRID=4674;POINT (-38.392399 -3.420562)', '2026-06-09 13:24:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392393 -3.42055)'), GeomFromEWKT('SRID=4674;POINT (-38.392399 -3.420562)'))) / (select extract(epoch from '2026-06-09 13:24:51'::timestamp) - extract(epoch from '2026-06-09 13:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392393 -3.42055)'), GeomFromEWKT('SRID=4674;POINT (-38.392399 -3.420562)'))) / (select extract(epoch from '2026-06-09 13:24:51'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.39243 -3.420614)', '2026-06-09 13:24:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392399 -3.420562)'), GeomFromEWKT('SRID=4674;POINT (-38.39243 -3.420614)'))) / (select extract(epoch from '2026-06-09 13:24:55'::timestamp) - extract(epoch from '2026-06-09 13:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392399 -3.420562)'), GeomFromEWKT('SRID=4674;POINT (-38.39243 -3.420614)'))) / (select extract(epoch from '2026-06-09 13:24:55'::timestamp) - extract(epoch from '2026-06-09 13:24: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'), 46534, 'SRID=4674;POINT (-38.392499 -3.420724)', '2026-06-09 13:25:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39243 -3.420614)'), GeomFromEWKT('SRID=4674;POINT (-38.392499 -3.420724)'))) / (select extract(epoch from '2026-06-09 13:25:02'::timestamp) - extract(epoch from '2026-06-09 13:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39243 -3.420614)'), GeomFromEWKT('SRID=4674;POINT (-38.392499 -3.420724)'))) / (select extract(epoch from '2026-06-09 13:25:02'::timestamp) - extract(epoch from '2026-06-09 13:24: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'), 46534, 'SRID=4674;POINT (-38.392562 -3.420811)', '2026-06-09 13:25:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392499 -3.420724)'), GeomFromEWKT('SRID=4674;POINT (-38.392562 -3.420811)'))) / (select extract(epoch from '2026-06-09 13:25:08'::timestamp) - extract(epoch from '2026-06-09 13:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392499 -3.420724)'), GeomFromEWKT('SRID=4674;POINT (-38.392562 -3.420811)'))) / (select extract(epoch from '2026-06-09 13:25:08'::timestamp) - extract(epoch from '2026-06-09 13:25: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'), 46534, 'SRID=4674;POINT (-38.392613 -3.420881)', '2026-06-09 13:25:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392562 -3.420811)'), GeomFromEWKT('SRID=4674;POINT (-38.392613 -3.420881)'))) / (select extract(epoch from '2026-06-09 13:25:13'::timestamp) - extract(epoch from '2026-06-09 13:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392562 -3.420811)'), GeomFromEWKT('SRID=4674;POINT (-38.392613 -3.420881)'))) / (select extract(epoch from '2026-06-09 13:25:13'::timestamp) - extract(epoch from '2026-06-09 13:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.392678 -3.420993)', '2026-06-09 13:25:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392613 -3.420881)'), GeomFromEWKT('SRID=4674;POINT (-38.392678 -3.420993)'))) / (select extract(epoch from '2026-06-09 13:25:20'::timestamp) - extract(epoch from '2026-06-09 13:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392613 -3.420881)'), GeomFromEWKT('SRID=4674;POINT (-38.392678 -3.420993)'))) / (select extract(epoch from '2026-06-09 13:25:20'::timestamp) - extract(epoch from '2026-06-09 13:25:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.392755 -3.421112)', '2026-06-09 13:25:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392678 -3.420993)'), GeomFromEWKT('SRID=4674;POINT (-38.392755 -3.421112)'))) / (select extract(epoch from '2026-06-09 13:25:27'::timestamp) - extract(epoch from '2026-06-09 13:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392678 -3.420993)'), GeomFromEWKT('SRID=4674;POINT (-38.392755 -3.421112)'))) / (select extract(epoch from '2026-06-09 13:25:27'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.392828 -3.421206)', '2026-06-09 13:25:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392755 -3.421112)'), GeomFromEWKT('SRID=4674;POINT (-38.392828 -3.421206)'))) / (select extract(epoch from '2026-06-09 13:25:34'::timestamp) - extract(epoch from '2026-06-09 13:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392755 -3.421112)'), GeomFromEWKT('SRID=4674;POINT (-38.392828 -3.421206)'))) / (select extract(epoch from '2026-06-09 13:25:34'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.392896 -3.4213)', '2026-06-09 13:25:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392828 -3.421206)'), GeomFromEWKT('SRID=4674;POINT (-38.392896 -3.4213)'))) / (select extract(epoch from '2026-06-09 13:25:40'::timestamp) - extract(epoch from '2026-06-09 13:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392828 -3.421206)'), GeomFromEWKT('SRID=4674;POINT (-38.392896 -3.4213)'))) / (select extract(epoch from '2026-06-09 13:25:40'::timestamp) - extract(epoch from '2026-06-09 13:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.392919 -3.42134)', '2026-06-09 13:25:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392896 -3.4213)'), GeomFromEWKT('SRID=4674;POINT (-38.392919 -3.42134)'))) / (select extract(epoch from '2026-06-09 13:25:43'::timestamp) - extract(epoch from '2026-06-09 13:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392896 -3.4213)'), GeomFromEWKT('SRID=4674;POINT (-38.392919 -3.42134)'))) / (select extract(epoch from '2026-06-09 13:25:43'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.392944 -3.421369)', '2026-06-09 13:25:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392919 -3.42134)'), GeomFromEWKT('SRID=4674;POINT (-38.392944 -3.421369)'))) / (select extract(epoch from '2026-06-09 13:25:45'::timestamp) - extract(epoch from '2026-06-09 13:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392919 -3.42134)'), GeomFromEWKT('SRID=4674;POINT (-38.392944 -3.421369)'))) / (select extract(epoch from '2026-06-09 13:25:45'::timestamp) - extract(epoch from '2026-06-09 13:25:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.392987 -3.421455)', '2026-06-09 13:25:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392944 -3.421369)'), GeomFromEWKT('SRID=4674;POINT (-38.392987 -3.421455)'))) / (select extract(epoch from '2026-06-09 13:25:51'::timestamp) - extract(epoch from '2026-06-09 13:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392944 -3.421369)'), GeomFromEWKT('SRID=4674;POINT (-38.392987 -3.421455)'))) / (select extract(epoch from '2026-06-09 13:25:51'::timestamp) - extract(epoch from '2026-06-09 13:25: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'), 46534, 'SRID=4674;POINT (-38.393047 -3.421546)', '2026-06-09 13:25:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392987 -3.421455)'), GeomFromEWKT('SRID=4674;POINT (-38.393047 -3.421546)'))) / (select extract(epoch from '2026-06-09 13:25:58'::timestamp) - extract(epoch from '2026-06-09 13:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.392987 -3.421455)'), GeomFromEWKT('SRID=4674;POINT (-38.393047 -3.421546)'))) / (select extract(epoch from '2026-06-09 13:25:58'::timestamp) - extract(epoch from '2026-06-09 13:25:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.393064 -3.421574)', '2026-06-09 13:26:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393047 -3.421546)'), GeomFromEWKT('SRID=4674;POINT (-38.393064 -3.421574)'))) / (select extract(epoch from '2026-06-09 13:26:00'::timestamp) - extract(epoch from '2026-06-09 13:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393047 -3.421546)'), GeomFromEWKT('SRID=4674;POINT (-38.393064 -3.421574)'))) / (select extract(epoch from '2026-06-09 13:26:00'::timestamp) - extract(epoch from '2026-06-09 13:25: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'), 46534, 'SRID=4674;POINT (-38.393086 -3.421614)', '2026-06-09 13:26:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393064 -3.421574)'), GeomFromEWKT('SRID=4674;POINT (-38.393086 -3.421614)'))) / (select extract(epoch from '2026-06-09 13:26:03'::timestamp) - extract(epoch from '2026-06-09 13:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393064 -3.421574)'), GeomFromEWKT('SRID=4674;POINT (-38.393086 -3.421614)'))) / (select extract(epoch from '2026-06-09 13:26:03'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.393145 -3.421697)', '2026-06-09 13:26:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393086 -3.421614)'), GeomFromEWKT('SRID=4674;POINT (-38.393145 -3.421697)'))) / (select extract(epoch from '2026-06-09 13:26:10'::timestamp) - extract(epoch from '2026-06-09 13:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393086 -3.421614)'), GeomFromEWKT('SRID=4674;POINT (-38.393145 -3.421697)'))) / (select extract(epoch from '2026-06-09 13:26:10'::timestamp) - extract(epoch from '2026-06-09 13:26:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.393217 -3.421829)', '2026-06-09 13:26:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393145 -3.421697)'), GeomFromEWKT('SRID=4674;POINT (-38.393217 -3.421829)'))) / (select extract(epoch from '2026-06-09 13:26:18'::timestamp) - extract(epoch from '2026-06-09 13:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393145 -3.421697)'), GeomFromEWKT('SRID=4674;POINT (-38.393217 -3.421829)'))) / (select extract(epoch from '2026-06-09 13:26:18'::timestamp) - extract(epoch from '2026-06-09 13:26:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.393276 -3.421918)', '2026-06-09 13:26:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393217 -3.421829)'), GeomFromEWKT('SRID=4674;POINT (-38.393276 -3.421918)'))) / (select extract(epoch from '2026-06-09 13:26:24'::timestamp) - extract(epoch from '2026-06-09 13:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393217 -3.421829)'), GeomFromEWKT('SRID=4674;POINT (-38.393276 -3.421918)'))) / (select extract(epoch from '2026-06-09 13:26:24'::timestamp) - extract(epoch from '2026-06-09 13:26: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'), 46534, 'SRID=4674;POINT (-38.393295 -3.421943)', '2026-06-09 13:26:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393276 -3.421918)'), GeomFromEWKT('SRID=4674;POINT (-38.393295 -3.421943)'))) / (select extract(epoch from '2026-06-09 13:26:26'::timestamp) - extract(epoch from '2026-06-09 13:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393276 -3.421918)'), GeomFromEWKT('SRID=4674;POINT (-38.393295 -3.421943)'))) / (select extract(epoch from '2026-06-09 13:26:26'::timestamp) - extract(epoch from '2026-06-09 13:26:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.393337 -3.421986)', '2026-06-09 13:26:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393295 -3.421943)'), GeomFromEWKT('SRID=4674;POINT (-38.393337 -3.421986)'))) / (select extract(epoch from '2026-06-09 13:26:29'::timestamp) - extract(epoch from '2026-06-09 13:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393295 -3.421943)'), GeomFromEWKT('SRID=4674;POINT (-38.393337 -3.421986)'))) / (select extract(epoch from '2026-06-09 13:26:29'::timestamp) - extract(epoch from '2026-06-09 13:26:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.393378 -3.422086)', '2026-06-09 13:26:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393337 -3.421986)'), GeomFromEWKT('SRID=4674;POINT (-38.393378 -3.422086)'))) / (select extract(epoch from '2026-06-09 13:26:35'::timestamp) - extract(epoch from '2026-06-09 13:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393337 -3.421986)'), GeomFromEWKT('SRID=4674;POINT (-38.393378 -3.422086)'))) / (select extract(epoch from '2026-06-09 13:26:35'::timestamp) - extract(epoch from '2026-06-09 13:26:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.393423 -3.422171)', '2026-06-09 13:26:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393378 -3.422086)'), GeomFromEWKT('SRID=4674;POINT (-38.393423 -3.422171)'))) / (select extract(epoch from '2026-06-09 13:26:40'::timestamp) - extract(epoch from '2026-06-09 13:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393378 -3.422086)'), GeomFromEWKT('SRID=4674;POINT (-38.393423 -3.422171)'))) / (select extract(epoch from '2026-06-09 13:26:40'::timestamp) - extract(epoch from '2026-06-09 13:26: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'), 46534, 'SRID=4674;POINT (-38.39346 -3.422275)', '2026-06-09 13:26:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393423 -3.422171)'), GeomFromEWKT('SRID=4674;POINT (-38.39346 -3.422275)'))) / (select extract(epoch from '2026-06-09 13:26:46'::timestamp) - extract(epoch from '2026-06-09 13:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393423 -3.422171)'), GeomFromEWKT('SRID=4674;POINT (-38.39346 -3.422275)'))) / (select extract(epoch from '2026-06-09 13:26:46'::timestamp) - extract(epoch from '2026-06-09 13:26:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.393495 -3.422358)', '2026-06-09 13:26:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39346 -3.422275)'), GeomFromEWKT('SRID=4674;POINT (-38.393495 -3.422358)'))) / (select extract(epoch from '2026-06-09 13:26:51'::timestamp) - extract(epoch from '2026-06-09 13:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39346 -3.422275)'), GeomFromEWKT('SRID=4674;POINT (-38.393495 -3.422358)'))) / (select extract(epoch from '2026-06-09 13:26:51'::timestamp) - extract(epoch from '2026-06-09 13:26: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'), 46534, 'SRID=4674;POINT (-38.393512 -3.42242)', '2026-06-09 13:26:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393495 -3.422358)'), GeomFromEWKT('SRID=4674;POINT (-38.393512 -3.42242)'))) / (select extract(epoch from '2026-06-09 13:26:55'::timestamp) - extract(epoch from '2026-06-09 13:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393495 -3.422358)'), GeomFromEWKT('SRID=4674;POINT (-38.393512 -3.42242)'))) / (select extract(epoch from '2026-06-09 13:26:55'::timestamp) - extract(epoch from '2026-06-09 13:26:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.393571 -3.422526)', '2026-06-09 13:27:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393512 -3.42242)'), GeomFromEWKT('SRID=4674;POINT (-38.393571 -3.422526)'))) / (select extract(epoch from '2026-06-09 13:27:02'::timestamp) - extract(epoch from '2026-06-09 13:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393512 -3.42242)'), GeomFromEWKT('SRID=4674;POINT (-38.393571 -3.422526)'))) / (select extract(epoch from '2026-06-09 13:27:02'::timestamp) - extract(epoch from '2026-06-09 13:26: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'), 46534, 'SRID=4674;POINT (-38.393599 -3.422551)', '2026-06-09 13:27:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393571 -3.422526)'), GeomFromEWKT('SRID=4674;POINT (-38.393599 -3.422551)'))) / (select extract(epoch from '2026-06-09 13:27:04'::timestamp) - extract(epoch from '2026-06-09 13:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393571 -3.422526)'), GeomFromEWKT('SRID=4674;POINT (-38.393599 -3.422551)'))) / (select extract(epoch from '2026-06-09 13:27:04'::timestamp) - extract(epoch from '2026-06-09 13:27: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'), 46534, 'SRID=4674;POINT (-38.393614 -3.422584)', '2026-06-09 13:27:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393599 -3.422551)'), GeomFromEWKT('SRID=4674;POINT (-38.393614 -3.422584)'))) / (select extract(epoch from '2026-06-09 13:27:06'::timestamp) - extract(epoch from '2026-06-09 13:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393599 -3.422551)'), GeomFromEWKT('SRID=4674;POINT (-38.393614 -3.422584)'))) / (select extract(epoch from '2026-06-09 13:27:06'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.39367 -3.422657)', '2026-06-09 13:27:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393614 -3.422584)'), GeomFromEWKT('SRID=4674;POINT (-38.39367 -3.422657)'))) / (select extract(epoch from '2026-06-09 13:27:12'::timestamp) - extract(epoch from '2026-06-09 13:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393614 -3.422584)'), GeomFromEWKT('SRID=4674;POINT (-38.39367 -3.422657)'))) / (select extract(epoch from '2026-06-09 13:27:12'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.393726 -3.422743)', '2026-06-09 13:27:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39367 -3.422657)'), GeomFromEWKT('SRID=4674;POINT (-38.393726 -3.422743)'))) / (select extract(epoch from '2026-06-09 13:27:19'::timestamp) - extract(epoch from '2026-06-09 13:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39367 -3.422657)'), GeomFromEWKT('SRID=4674;POINT (-38.393726 -3.422743)'))) / (select extract(epoch from '2026-06-09 13:27:19'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.39379 -3.422812)', '2026-06-09 13:27:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393726 -3.422743)'), GeomFromEWKT('SRID=4674;POINT (-38.39379 -3.422812)'))) / (select extract(epoch from '2026-06-09 13:27:25'::timestamp) - extract(epoch from '2026-06-09 13:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393726 -3.422743)'), GeomFromEWKT('SRID=4674;POINT (-38.39379 -3.422812)'))) / (select extract(epoch from '2026-06-09 13:27:25'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.393865 -3.42289)', '2026-06-09 13:27:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39379 -3.422812)'), GeomFromEWKT('SRID=4674;POINT (-38.393865 -3.42289)'))) / (select extract(epoch from '2026-06-09 13:27:31'::timestamp) - extract(epoch from '2026-06-09 13:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39379 -3.422812)'), GeomFromEWKT('SRID=4674;POINT (-38.393865 -3.42289)'))) / (select extract(epoch from '2026-06-09 13:27:31'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.39392 -3.422961)', '2026-06-09 13:27:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393865 -3.42289)'), GeomFromEWKT('SRID=4674;POINT (-38.39392 -3.422961)'))) / (select extract(epoch from '2026-06-09 13:27:37'::timestamp) - extract(epoch from '2026-06-09 13:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393865 -3.42289)'), GeomFromEWKT('SRID=4674;POINT (-38.39392 -3.422961)'))) / (select extract(epoch from '2026-06-09 13:27:37'::timestamp) - extract(epoch from '2026-06-09 13:27:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.393997 -3.423056)', '2026-06-09 13:27:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39392 -3.422961)'), GeomFromEWKT('SRID=4674;POINT (-38.393997 -3.423056)'))) / (select extract(epoch from '2026-06-09 13:27:44'::timestamp) - extract(epoch from '2026-06-09 13:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39392 -3.422961)'), GeomFromEWKT('SRID=4674;POINT (-38.393997 -3.423056)'))) / (select extract(epoch from '2026-06-09 13:27:44'::timestamp) - extract(epoch from '2026-06-09 13:27: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'), 46534, 'SRID=4674;POINT (-38.394047 -3.423131)', '2026-06-09 13:27:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393997 -3.423056)'), GeomFromEWKT('SRID=4674;POINT (-38.394047 -3.423131)'))) / (select extract(epoch from '2026-06-09 13:27:49'::timestamp) - extract(epoch from '2026-06-09 13:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.393997 -3.423056)'), GeomFromEWKT('SRID=4674;POINT (-38.394047 -3.423131)'))) / (select extract(epoch from '2026-06-09 13:27:49'::timestamp) - extract(epoch from '2026-06-09 13:27:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.394065 -3.423163)', '2026-06-09 13:27:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394047 -3.423131)'), GeomFromEWKT('SRID=4674;POINT (-38.394065 -3.423163)'))) / (select extract(epoch from '2026-06-09 13:27:51'::timestamp) - extract(epoch from '2026-06-09 13:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394047 -3.423131)'), GeomFromEWKT('SRID=4674;POINT (-38.394065 -3.423163)'))) / (select extract(epoch from '2026-06-09 13:27:51'::timestamp) - extract(epoch from '2026-06-09 13:27:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.394091 -3.423197)', '2026-06-09 13:27:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394065 -3.423163)'), GeomFromEWKT('SRID=4674;POINT (-38.394091 -3.423197)'))) / (select extract(epoch from '2026-06-09 13:27:53'::timestamp) - extract(epoch from '2026-06-09 13:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394065 -3.423163)'), GeomFromEWKT('SRID=4674;POINT (-38.394091 -3.423197)'))) / (select extract(epoch from '2026-06-09 13:27:53'::timestamp) - extract(epoch from '2026-06-09 13:27:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.394097 -3.423214)', '2026-06-09 13:27:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394091 -3.423197)'), GeomFromEWKT('SRID=4674;POINT (-38.394097 -3.423214)'))) / (select extract(epoch from '2026-06-09 13:27:54'::timestamp) - extract(epoch from '2026-06-09 13:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394091 -3.423197)'), GeomFromEWKT('SRID=4674;POINT (-38.394097 -3.423214)'))) / (select extract(epoch from '2026-06-09 13:27:54'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.394137 -3.423289)', '2026-06-09 13:27:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394097 -3.423214)'), GeomFromEWKT('SRID=4674;POINT (-38.394137 -3.423289)'))) / (select extract(epoch from '2026-06-09 13:27:59'::timestamp) - extract(epoch from '2026-06-09 13:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394097 -3.423214)'), GeomFromEWKT('SRID=4674;POINT (-38.394137 -3.423289)'))) / (select extract(epoch from '2026-06-09 13:27:59'::timestamp) - extract(epoch from '2026-06-09 13:27: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'), 46534, 'SRID=4674;POINT (-38.394188 -3.423377)', '2026-06-09 13:28:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394137 -3.423289)'), GeomFromEWKT('SRID=4674;POINT (-38.394188 -3.423377)'))) / (select extract(epoch from '2026-06-09 13:28:05'::timestamp) - extract(epoch from '2026-06-09 13:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394137 -3.423289)'), GeomFromEWKT('SRID=4674;POINT (-38.394188 -3.423377)'))) / (select extract(epoch from '2026-06-09 13:28:05'::timestamp) - extract(epoch from '2026-06-09 13:27: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'), 46534, 'SRID=4674;POINT (-38.394253 -3.423481)', '2026-06-09 13:28:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394188 -3.423377)'), GeomFromEWKT('SRID=4674;POINT (-38.394253 -3.423481)'))) / (select extract(epoch from '2026-06-09 13:28:12'::timestamp) - extract(epoch from '2026-06-09 13:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394188 -3.423377)'), GeomFromEWKT('SRID=4674;POINT (-38.394253 -3.423481)'))) / (select extract(epoch from '2026-06-09 13:28:12'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.394285 -3.42355)', '2026-06-09 13:28:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394253 -3.423481)'), GeomFromEWKT('SRID=4674;POINT (-38.394285 -3.42355)'))) / (select extract(epoch from '2026-06-09 13:28:16'::timestamp) - extract(epoch from '2026-06-09 13:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394253 -3.423481)'), GeomFromEWKT('SRID=4674;POINT (-38.394285 -3.42355)'))) / (select extract(epoch from '2026-06-09 13:28:16'::timestamp) - extract(epoch from '2026-06-09 13:28: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'), 46534, 'SRID=4674;POINT (-38.394298 -3.423562)', '2026-06-09 13:28:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394285 -3.42355)'), GeomFromEWKT('SRID=4674;POINT (-38.394298 -3.423562)'))) / (select extract(epoch from '2026-06-09 13:28:17'::timestamp) - extract(epoch from '2026-06-09 13:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394285 -3.42355)'), GeomFromEWKT('SRID=4674;POINT (-38.394298 -3.423562)'))) / (select extract(epoch from '2026-06-09 13:28:17'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.394306 -3.423578)', '2026-06-09 13:28:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394298 -3.423562)'), GeomFromEWKT('SRID=4674;POINT (-38.394306 -3.423578)'))) / (select extract(epoch from '2026-06-09 13:28:18'::timestamp) - extract(epoch from '2026-06-09 13:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394298 -3.423562)'), GeomFromEWKT('SRID=4674;POINT (-38.394306 -3.423578)'))) / (select extract(epoch from '2026-06-09 13:28:18'::timestamp) - extract(epoch from '2026-06-09 13:28:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.39434 -3.423642)', '2026-06-09 13:28:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394306 -3.423578)'), GeomFromEWKT('SRID=4674;POINT (-38.39434 -3.423642)'))) / (select extract(epoch from '2026-06-09 13:28:22'::timestamp) - extract(epoch from '2026-06-09 13:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394306 -3.423578)'), GeomFromEWKT('SRID=4674;POINT (-38.39434 -3.423642)'))) / (select extract(epoch from '2026-06-09 13:28:22'::timestamp) - extract(epoch from '2026-06-09 13:28:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.394389 -3.423716)', '2026-06-09 13:28:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39434 -3.423642)'), GeomFromEWKT('SRID=4674;POINT (-38.394389 -3.423716)'))) / (select extract(epoch from '2026-06-09 13:28:27'::timestamp) - extract(epoch from '2026-06-09 13:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39434 -3.423642)'), GeomFromEWKT('SRID=4674;POINT (-38.394389 -3.423716)'))) / (select extract(epoch from '2026-06-09 13:28:27'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.394435 -3.423803)', '2026-06-09 13:28:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394389 -3.423716)'), GeomFromEWKT('SRID=4674;POINT (-38.394435 -3.423803)'))) / (select extract(epoch from '2026-06-09 13:28:33'::timestamp) - extract(epoch from '2026-06-09 13:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394389 -3.423716)'), GeomFromEWKT('SRID=4674;POINT (-38.394435 -3.423803)'))) / (select extract(epoch from '2026-06-09 13:28:33'::timestamp) - extract(epoch from '2026-06-09 13:28:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.394497 -3.423911)', '2026-06-09 13:28:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394435 -3.423803)'), GeomFromEWKT('SRID=4674;POINT (-38.394497 -3.423911)'))) / (select extract(epoch from '2026-06-09 13:28:39'::timestamp) - extract(epoch from '2026-06-09 13:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394435 -3.423803)'), GeomFromEWKT('SRID=4674;POINT (-38.394497 -3.423911)'))) / (select extract(epoch from '2026-06-09 13:28:39'::timestamp) - extract(epoch from '2026-06-09 13:28: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'), 46534, 'SRID=4674;POINT (-38.394508 -3.423925)', '2026-06-09 13:28:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394497 -3.423911)'), GeomFromEWKT('SRID=4674;POINT (-38.394508 -3.423925)'))) / (select extract(epoch from '2026-06-09 13:28:40'::timestamp) - extract(epoch from '2026-06-09 13:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394497 -3.423911)'), GeomFromEWKT('SRID=4674;POINT (-38.394508 -3.423925)'))) / (select extract(epoch from '2026-06-09 13:28:40'::timestamp) - extract(epoch from '2026-06-09 13:28:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.394541 -3.423968)', '2026-06-09 13:28:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394508 -3.423925)'), GeomFromEWKT('SRID=4674;POINT (-38.394541 -3.423968)'))) / (select extract(epoch from '2026-06-09 13:28:43'::timestamp) - extract(epoch from '2026-06-09 13:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394508 -3.423925)'), GeomFromEWKT('SRID=4674;POINT (-38.394541 -3.423968)'))) / (select extract(epoch from '2026-06-09 13:28:43'::timestamp) - extract(epoch from '2026-06-09 13:28: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'), 46534, 'SRID=4674;POINT (-38.394588 -3.42404)', '2026-06-09 13:28:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394541 -3.423968)'), GeomFromEWKT('SRID=4674;POINT (-38.394588 -3.42404)'))) / (select extract(epoch from '2026-06-09 13:28:48'::timestamp) - extract(epoch from '2026-06-09 13:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394541 -3.423968)'), GeomFromEWKT('SRID=4674;POINT (-38.394588 -3.42404)'))) / (select extract(epoch from '2026-06-09 13:28:48'::timestamp) - extract(epoch from '2026-06-09 13:28: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'), 46534, 'SRID=4674;POINT (-38.394614 -3.424098)', '2026-06-09 13:28:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394588 -3.42404)'), GeomFromEWKT('SRID=4674;POINT (-38.394614 -3.424098)'))) / (select extract(epoch from '2026-06-09 13:28:52'::timestamp) - extract(epoch from '2026-06-09 13:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394588 -3.42404)'), GeomFromEWKT('SRID=4674;POINT (-38.394614 -3.424098)'))) / (select extract(epoch from '2026-06-09 13:28:52'::timestamp) - extract(epoch from '2026-06-09 13:28:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.394625 -3.42411)', '2026-06-09 13:28:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394614 -3.424098)'), GeomFromEWKT('SRID=4674;POINT (-38.394625 -3.42411)'))) / (select extract(epoch from '2026-06-09 13:28:53'::timestamp) - extract(epoch from '2026-06-09 13:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394614 -3.424098)'), GeomFromEWKT('SRID=4674;POINT (-38.394625 -3.42411)'))) / (select extract(epoch from '2026-06-09 13:28:53'::timestamp) - extract(epoch from '2026-06-09 13:28: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'), 46534, 'SRID=4674;POINT (-38.394674 -3.42418)', '2026-06-09 13:28:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394625 -3.42411)'), GeomFromEWKT('SRID=4674;POINT (-38.394674 -3.42418)'))) / (select extract(epoch from '2026-06-09 13:28:58'::timestamp) - extract(epoch from '2026-06-09 13:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394625 -3.42411)'), GeomFromEWKT('SRID=4674;POINT (-38.394674 -3.42418)'))) / (select extract(epoch from '2026-06-09 13:28:58'::timestamp) - extract(epoch from '2026-06-09 13:28:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.394736 -3.424284)', '2026-06-09 13:29:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394674 -3.42418)'), GeomFromEWKT('SRID=4674;POINT (-38.394736 -3.424284)'))) / (select extract(epoch from '2026-06-09 13:29:04'::timestamp) - extract(epoch from '2026-06-09 13:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394674 -3.42418)'), GeomFromEWKT('SRID=4674;POINT (-38.394736 -3.424284)'))) / (select extract(epoch from '2026-06-09 13:29:04'::timestamp) - extract(epoch from '2026-06-09 13:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.39481 -3.42441)', '2026-06-09 13:29:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394736 -3.424284)'), GeomFromEWKT('SRID=4674;POINT (-38.39481 -3.42441)'))) / (select extract(epoch from '2026-06-09 13:29:12'::timestamp) - extract(epoch from '2026-06-09 13:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394736 -3.424284)'), GeomFromEWKT('SRID=4674;POINT (-38.39481 -3.42441)'))) / (select extract(epoch from '2026-06-09 13:29:12'::timestamp) - extract(epoch from '2026-06-09 13:29:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.394824 -3.424438)', '2026-06-09 13:29:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39481 -3.42441)'), GeomFromEWKT('SRID=4674;POINT (-38.394824 -3.424438)'))) / (select extract(epoch from '2026-06-09 13:29:14'::timestamp) - extract(epoch from '2026-06-09 13:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39481 -3.42441)'), GeomFromEWKT('SRID=4674;POINT (-38.394824 -3.424438)'))) / (select extract(epoch from '2026-06-09 13:29:14'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.394846 -3.424483)', '2026-06-09 13:29:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394824 -3.424438)'), GeomFromEWKT('SRID=4674;POINT (-38.394846 -3.424483)'))) / (select extract(epoch from '2026-06-09 13:29:17'::timestamp) - extract(epoch from '2026-06-09 13:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394824 -3.424438)'), GeomFromEWKT('SRID=4674;POINT (-38.394846 -3.424483)'))) / (select extract(epoch from '2026-06-09 13:29:17'::timestamp) - extract(epoch from '2026-06-09 13:29:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.394882 -3.424572)', '2026-06-09 13:29:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394846 -3.424483)'), GeomFromEWKT('SRID=4674;POINT (-38.394882 -3.424572)'))) / (select extract(epoch from '2026-06-09 13:29:23'::timestamp) - extract(epoch from '2026-06-09 13:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394846 -3.424483)'), GeomFromEWKT('SRID=4674;POINT (-38.394882 -3.424572)'))) / (select extract(epoch from '2026-06-09 13:29:23'::timestamp) - extract(epoch from '2026-06-09 13:29: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'), 46534, 'SRID=4674;POINT (-38.39494 -3.424651)', '2026-06-09 13:29:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394882 -3.424572)'), GeomFromEWKT('SRID=4674;POINT (-38.39494 -3.424651)'))) / (select extract(epoch from '2026-06-09 13:29:30'::timestamp) - extract(epoch from '2026-06-09 13:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.394882 -3.424572)'), GeomFromEWKT('SRID=4674;POINT (-38.39494 -3.424651)'))) / (select extract(epoch from '2026-06-09 13:29:30'::timestamp) - extract(epoch from '2026-06-09 13:29: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'), 46534, 'SRID=4674;POINT (-38.395022 -3.42475)', '2026-06-09 13:29:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39494 -3.424651)'), GeomFromEWKT('SRID=4674;POINT (-38.395022 -3.42475)'))) / (select extract(epoch from '2026-06-09 13:29:38'::timestamp) - extract(epoch from '2026-06-09 13:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39494 -3.424651)'), GeomFromEWKT('SRID=4674;POINT (-38.395022 -3.42475)'))) / (select extract(epoch from '2026-06-09 13:29:38'::timestamp) - extract(epoch from '2026-06-09 13:29: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'), 46534, 'SRID=4674;POINT (-38.395087 -3.424853)', '2026-06-09 13:29:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395022 -3.42475)'), GeomFromEWKT('SRID=4674;POINT (-38.395087 -3.424853)'))) / (select extract(epoch from '2026-06-09 13:29:44'::timestamp) - extract(epoch from '2026-06-09 13:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395022 -3.42475)'), GeomFromEWKT('SRID=4674;POINT (-38.395087 -3.424853)'))) / (select extract(epoch from '2026-06-09 13:29:44'::timestamp) - extract(epoch from '2026-06-09 13:29: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'), 46534, 'SRID=4674;POINT (-38.395136 -3.424924)', '2026-06-09 13:29:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395087 -3.424853)'), GeomFromEWKT('SRID=4674;POINT (-38.395136 -3.424924)'))) / (select extract(epoch from '2026-06-09 13:29:49'::timestamp) - extract(epoch from '2026-06-09 13:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395087 -3.424853)'), GeomFromEWKT('SRID=4674;POINT (-38.395136 -3.424924)'))) / (select extract(epoch from '2026-06-09 13:29:49'::timestamp) - extract(epoch from '2026-06-09 13:29: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'), 46534, 'SRID=4674;POINT (-38.395175 -3.425003)', '2026-06-09 13:29:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395136 -3.424924)'), GeomFromEWKT('SRID=4674;POINT (-38.395175 -3.425003)'))) / (select extract(epoch from '2026-06-09 13:29:54'::timestamp) - extract(epoch from '2026-06-09 13:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395136 -3.424924)'), GeomFromEWKT('SRID=4674;POINT (-38.395175 -3.425003)'))) / (select extract(epoch from '2026-06-09 13:29:54'::timestamp) - extract(epoch from '2026-06-09 13:29: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'), 46534, 'SRID=4674;POINT (-38.395205 -3.425042)', '2026-06-09 13:29:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395175 -3.425003)'), GeomFromEWKT('SRID=4674;POINT (-38.395205 -3.425042)'))) / (select extract(epoch from '2026-06-09 13:29:57'::timestamp) - extract(epoch from '2026-06-09 13:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395175 -3.425003)'), GeomFromEWKT('SRID=4674;POINT (-38.395205 -3.425042)'))) / (select extract(epoch from '2026-06-09 13:29:57'::timestamp) - extract(epoch from '2026-06-09 13:29: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'), 46534, 'SRID=4674;POINT (-38.395207 -3.425058)', '2026-06-09 13:29:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395205 -3.425042)'), GeomFromEWKT('SRID=4674;POINT (-38.395207 -3.425058)'))) / (select extract(epoch from '2026-06-09 13:29:58'::timestamp) - extract(epoch from '2026-06-09 13:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395205 -3.425042)'), GeomFromEWKT('SRID=4674;POINT (-38.395207 -3.425058)'))) / (select extract(epoch from '2026-06-09 13:29:58'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.395212 -3.425072)', '2026-06-09 13:29:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395207 -3.425058)'), GeomFromEWKT('SRID=4674;POINT (-38.395212 -3.425072)'))) / (select extract(epoch from '2026-06-09 13:29:59'::timestamp) - extract(epoch from '2026-06-09 13:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395207 -3.425058)'), GeomFromEWKT('SRID=4674;POINT (-38.395212 -3.425072)'))) / (select extract(epoch from '2026-06-09 13:29:59'::timestamp) - extract(epoch from '2026-06-09 13:29: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'), 46534, 'SRID=4674;POINT (-38.395253 -3.425121)', '2026-06-09 13:30:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395212 -3.425072)'), GeomFromEWKT('SRID=4674;POINT (-38.395253 -3.425121)'))) / (select extract(epoch from '2026-06-09 13:30:02'::timestamp) - extract(epoch from '2026-06-09 13:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395212 -3.425072)'), GeomFromEWKT('SRID=4674;POINT (-38.395253 -3.425121)'))) / (select extract(epoch from '2026-06-09 13:30:02'::timestamp) - extract(epoch from '2026-06-09 13:29: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'), 46534, 'SRID=4674;POINT (-38.395298 -3.425194)', '2026-06-09 13:30:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395253 -3.425121)'), GeomFromEWKT('SRID=4674;POINT (-38.395298 -3.425194)'))) / (select extract(epoch from '2026-06-09 13:30:07'::timestamp) - extract(epoch from '2026-06-09 13:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395253 -3.425121)'), GeomFromEWKT('SRID=4674;POINT (-38.395298 -3.425194)'))) / (select extract(epoch from '2026-06-09 13:30:07'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.395357 -3.425279)', '2026-06-09 13:30:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395298 -3.425194)'), GeomFromEWKT('SRID=4674;POINT (-38.395357 -3.425279)'))) / (select extract(epoch from '2026-06-09 13:30:13'::timestamp) - extract(epoch from '2026-06-09 13:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395298 -3.425194)'), GeomFromEWKT('SRID=4674;POINT (-38.395357 -3.425279)'))) / (select extract(epoch from '2026-06-09 13:30:13'::timestamp) - extract(epoch from '2026-06-09 13:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.39541 -3.42537)', '2026-06-09 13:30:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395357 -3.425279)'), GeomFromEWKT('SRID=4674;POINT (-38.39541 -3.42537)'))) / (select extract(epoch from '2026-06-09 13:30:19'::timestamp) - extract(epoch from '2026-06-09 13:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395357 -3.425279)'), GeomFromEWKT('SRID=4674;POINT (-38.39541 -3.42537)'))) / (select extract(epoch from '2026-06-09 13:30:19'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.395434 -3.425391)', '2026-06-09 13:30:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39541 -3.42537)'), GeomFromEWKT('SRID=4674;POINT (-38.395434 -3.425391)'))) / (select extract(epoch from '2026-06-09 13:30:21'::timestamp) - extract(epoch from '2026-06-09 13:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39541 -3.42537)'), GeomFromEWKT('SRID=4674;POINT (-38.395434 -3.425391)'))) / (select extract(epoch from '2026-06-09 13:30:21'::timestamp) - extract(epoch from '2026-06-09 13:30: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'), 46534, 'SRID=4674;POINT (-38.39545 -3.425418)', '2026-06-09 13:30:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395434 -3.425391)'), GeomFromEWKT('SRID=4674;POINT (-38.39545 -3.425418)'))) / (select extract(epoch from '2026-06-09 13:30:23'::timestamp) - extract(epoch from '2026-06-09 13:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395434 -3.425391)'), GeomFromEWKT('SRID=4674;POINT (-38.39545 -3.425418)'))) / (select extract(epoch from '2026-06-09 13:30:23'::timestamp) - extract(epoch from '2026-06-09 13:30: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'), 46534, 'SRID=4674;POINT (-38.395499 -3.425485)', '2026-06-09 13:30:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39545 -3.425418)'), GeomFromEWKT('SRID=4674;POINT (-38.395499 -3.425485)'))) / (select extract(epoch from '2026-06-09 13:30:28'::timestamp) - extract(epoch from '2026-06-09 13:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39545 -3.425418)'), GeomFromEWKT('SRID=4674;POINT (-38.395499 -3.425485)'))) / (select extract(epoch from '2026-06-09 13:30:28'::timestamp) - extract(epoch from '2026-06-09 13:30:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.395562 -3.42556)', '2026-06-09 13:30:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395499 -3.425485)'), GeomFromEWKT('SRID=4674;POINT (-38.395562 -3.42556)'))) / (select extract(epoch from '2026-06-09 13:30:34'::timestamp) - extract(epoch from '2026-06-09 13:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395499 -3.425485)'), GeomFromEWKT('SRID=4674;POINT (-38.395562 -3.42556)'))) / (select extract(epoch from '2026-06-09 13:30:34'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.395624 -3.42562)', '2026-06-09 13:30:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395562 -3.42556)'), GeomFromEWKT('SRID=4674;POINT (-38.395624 -3.42562)'))) / (select extract(epoch from '2026-06-09 13:30:39'::timestamp) - extract(epoch from '2026-06-09 13:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395562 -3.42556)'), GeomFromEWKT('SRID=4674;POINT (-38.395624 -3.42562)'))) / (select extract(epoch from '2026-06-09 13:30:39'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.395708 -3.425708)', '2026-06-09 13:30:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395624 -3.42562)'), GeomFromEWKT('SRID=4674;POINT (-38.395708 -3.425708)'))) / (select extract(epoch from '2026-06-09 13:30:46'::timestamp) - extract(epoch from '2026-06-09 13:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395624 -3.42562)'), GeomFromEWKT('SRID=4674;POINT (-38.395708 -3.425708)'))) / (select extract(epoch from '2026-06-09 13:30:46'::timestamp) - extract(epoch from '2026-06-09 13:30: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'), 46534, 'SRID=4674;POINT (-38.395734 -3.425745)', '2026-06-09 13:30:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395708 -3.425708)'), GeomFromEWKT('SRID=4674;POINT (-38.395734 -3.425745)'))) / (select extract(epoch from '2026-06-09 13:30:48'::timestamp) - extract(epoch from '2026-06-09 13:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395708 -3.425708)'), GeomFromEWKT('SRID=4674;POINT (-38.395734 -3.425745)'))) / (select extract(epoch from '2026-06-09 13:30:48'::timestamp) - extract(epoch from '2026-06-09 13:30:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.395758 -3.42579)', '2026-06-09 13:30:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395734 -3.425745)'), GeomFromEWKT('SRID=4674;POINT (-38.395758 -3.42579)'))) / (select extract(epoch from '2026-06-09 13:30:51'::timestamp) - extract(epoch from '2026-06-09 13:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395734 -3.425745)'), GeomFromEWKT('SRID=4674;POINT (-38.395758 -3.42579)'))) / (select extract(epoch from '2026-06-09 13:30:51'::timestamp) - extract(epoch from '2026-06-09 13:30: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'), 46534, 'SRID=4674;POINT (-38.39579 -3.425854)', '2026-06-09 13:30:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395758 -3.42579)'), GeomFromEWKT('SRID=4674;POINT (-38.39579 -3.425854)'))) / (select extract(epoch from '2026-06-09 13:30:55'::timestamp) - extract(epoch from '2026-06-09 13:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395758 -3.42579)'), GeomFromEWKT('SRID=4674;POINT (-38.39579 -3.425854)'))) / (select extract(epoch from '2026-06-09 13:30:55'::timestamp) - extract(epoch from '2026-06-09 13:30:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.395816 -3.425883)', '2026-06-09 13:30:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39579 -3.425854)'), GeomFromEWKT('SRID=4674;POINT (-38.395816 -3.425883)'))) / (select extract(epoch from '2026-06-09 13:30:57'::timestamp) - extract(epoch from '2026-06-09 13:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39579 -3.425854)'), GeomFromEWKT('SRID=4674;POINT (-38.395816 -3.425883)'))) / (select extract(epoch from '2026-06-09 13:30:57'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.395856 -3.425963)', '2026-06-09 13:31:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395816 -3.425883)'), GeomFromEWKT('SRID=4674;POINT (-38.395856 -3.425963)'))) / (select extract(epoch from '2026-06-09 13:31:02'::timestamp) - extract(epoch from '2026-06-09 13:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395816 -3.425883)'), GeomFromEWKT('SRID=4674;POINT (-38.395856 -3.425963)'))) / (select extract(epoch from '2026-06-09 13:31:02'::timestamp) - extract(epoch from '2026-06-09 13:30:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.395914 -3.426046)', '2026-06-09 13:31:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395856 -3.425963)'), GeomFromEWKT('SRID=4674;POINT (-38.395914 -3.426046)'))) / (select extract(epoch from '2026-06-09 13:31:08'::timestamp) - extract(epoch from '2026-06-09 13:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395856 -3.425963)'), GeomFromEWKT('SRID=4674;POINT (-38.395914 -3.426046)'))) / (select extract(epoch from '2026-06-09 13:31:08'::timestamp) - extract(epoch from '2026-06-09 13:31:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.395974 -3.42613)', '2026-06-09 13:31:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395914 -3.426046)'), GeomFromEWKT('SRID=4674;POINT (-38.395974 -3.42613)'))) / (select extract(epoch from '2026-06-09 13:31:14'::timestamp) - extract(epoch from '2026-06-09 13:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395914 -3.426046)'), GeomFromEWKT('SRID=4674;POINT (-38.395974 -3.42613)'))) / (select extract(epoch from '2026-06-09 13:31:14'::timestamp) - extract(epoch from '2026-06-09 13:31: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'), 46534, 'SRID=4674;POINT (-38.396034 -3.426213)', '2026-06-09 13:31:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395974 -3.42613)'), GeomFromEWKT('SRID=4674;POINT (-38.396034 -3.426213)'))) / (select extract(epoch from '2026-06-09 13:31:20'::timestamp) - extract(epoch from '2026-06-09 13:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.395974 -3.42613)'), GeomFromEWKT('SRID=4674;POINT (-38.396034 -3.426213)'))) / (select extract(epoch from '2026-06-09 13:31:20'::timestamp) - extract(epoch from '2026-06-09 13:31: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'), 46534, 'SRID=4674;POINT (-38.39609 -3.426283)', '2026-06-09 13:31:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396034 -3.426213)'), GeomFromEWKT('SRID=4674;POINT (-38.39609 -3.426283)'))) / (select extract(epoch from '2026-06-09 13:31:25'::timestamp) - extract(epoch from '2026-06-09 13:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396034 -3.426213)'), GeomFromEWKT('SRID=4674;POINT (-38.39609 -3.426283)'))) / (select extract(epoch from '2026-06-09 13:31:25'::timestamp) - extract(epoch from '2026-06-09 13:31:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.396165 -3.426379)', '2026-06-09 13:31:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39609 -3.426283)'), GeomFromEWKT('SRID=4674;POINT (-38.396165 -3.426379)'))) / (select extract(epoch from '2026-06-09 13:31:33'::timestamp) - extract(epoch from '2026-06-09 13:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39609 -3.426283)'), GeomFromEWKT('SRID=4674;POINT (-38.396165 -3.426379)'))) / (select extract(epoch from '2026-06-09 13:31:33'::timestamp) - extract(epoch from '2026-06-09 13:31: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'), 46534, 'SRID=4674;POINT (-38.396236 -3.426474)', '2026-06-09 13:31:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396165 -3.426379)'), GeomFromEWKT('SRID=4674;POINT (-38.396236 -3.426474)'))) / (select extract(epoch from '2026-06-09 13:31:40'::timestamp) - extract(epoch from '2026-06-09 13:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396165 -3.426379)'), GeomFromEWKT('SRID=4674;POINT (-38.396236 -3.426474)'))) / (select extract(epoch from '2026-06-09 13:31:40'::timestamp) - extract(epoch from '2026-06-09 13:31: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'), 46534, 'SRID=4674;POINT (-38.396291 -3.426555)', '2026-06-09 13:31:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396236 -3.426474)'), GeomFromEWKT('SRID=4674;POINT (-38.396291 -3.426555)'))) / (select extract(epoch from '2026-06-09 13:31:46'::timestamp) - extract(epoch from '2026-06-09 13:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396236 -3.426474)'), GeomFromEWKT('SRID=4674;POINT (-38.396291 -3.426555)'))) / (select extract(epoch from '2026-06-09 13:31:46'::timestamp) - extract(epoch from '2026-06-09 13:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.396319 -3.426595)', '2026-06-09 13:31:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396291 -3.426555)'), GeomFromEWKT('SRID=4674;POINT (-38.396319 -3.426595)'))) / (select extract(epoch from '2026-06-09 13:31:49'::timestamp) - extract(epoch from '2026-06-09 13:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396291 -3.426555)'), GeomFromEWKT('SRID=4674;POINT (-38.396319 -3.426595)'))) / (select extract(epoch from '2026-06-09 13:31:49'::timestamp) - extract(epoch from '2026-06-09 13:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.396326 -3.426617)', '2026-06-09 13:31:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396319 -3.426595)'), GeomFromEWKT('SRID=4674;POINT (-38.396326 -3.426617)'))) / (select extract(epoch from '2026-06-09 13:31:51'::timestamp) - extract(epoch from '2026-06-09 13:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396319 -3.426595)'), GeomFromEWKT('SRID=4674;POINT (-38.396326 -3.426617)'))) / (select extract(epoch from '2026-06-09 13:31:51'::timestamp) - extract(epoch from '2026-06-09 13:31: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'), 46534, 'SRID=4674;POINT (-38.396367 -3.426671)', '2026-06-09 13:31:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396326 -3.426617)'), GeomFromEWKT('SRID=4674;POINT (-38.396367 -3.426671)'))) / (select extract(epoch from '2026-06-09 13:31:55'::timestamp) - extract(epoch from '2026-06-09 13:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396326 -3.426617)'), GeomFromEWKT('SRID=4674;POINT (-38.396367 -3.426671)'))) / (select extract(epoch from '2026-06-09 13:31:55'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.396385 -3.426691)', '2026-06-09 13:31:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396367 -3.426671)'), GeomFromEWKT('SRID=4674;POINT (-38.396385 -3.426691)'))) / (select extract(epoch from '2026-06-09 13:31:57'::timestamp) - extract(epoch from '2026-06-09 13:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396367 -3.426671)'), GeomFromEWKT('SRID=4674;POINT (-38.396385 -3.426691)'))) / (select extract(epoch from '2026-06-09 13:31:57'::timestamp) - extract(epoch from '2026-06-09 13:31: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'), 46534, 'SRID=4674;POINT (-38.396423 -3.426723)', '2026-06-09 13:32:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396385 -3.426691)'), GeomFromEWKT('SRID=4674;POINT (-38.396423 -3.426723)'))) / (select extract(epoch from '2026-06-09 13:32:00'::timestamp) - extract(epoch from '2026-06-09 13:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396385 -3.426691)'), GeomFromEWKT('SRID=4674;POINT (-38.396423 -3.426723)'))) / (select extract(epoch from '2026-06-09 13:32:00'::timestamp) - extract(epoch from '2026-06-09 13:31: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'), 46534, 'SRID=4674;POINT (-38.39647 -3.426789)', '2026-06-09 13:32:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396423 -3.426723)'), GeomFromEWKT('SRID=4674;POINT (-38.39647 -3.426789)'))) / (select extract(epoch from '2026-06-09 13:32:05'::timestamp) - extract(epoch from '2026-06-09 13:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396423 -3.426723)'), GeomFromEWKT('SRID=4674;POINT (-38.39647 -3.426789)'))) / (select extract(epoch from '2026-06-09 13:32:05'::timestamp) - extract(epoch from '2026-06-09 13:32: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'), 46534, 'SRID=4674;POINT (-38.396514 -3.426852)', '2026-06-09 13:32:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39647 -3.426789)'), GeomFromEWKT('SRID=4674;POINT (-38.396514 -3.426852)'))) / (select extract(epoch from '2026-06-09 13:32:10'::timestamp) - extract(epoch from '2026-06-09 13:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39647 -3.426789)'), GeomFromEWKT('SRID=4674;POINT (-38.396514 -3.426852)'))) / (select extract(epoch from '2026-06-09 13:32:10'::timestamp) - extract(epoch from '2026-06-09 13:32: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'), 46534, 'SRID=4674;POINT (-38.396562 -3.426917)', '2026-06-09 13:32:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396514 -3.426852)'), GeomFromEWKT('SRID=4674;POINT (-38.396562 -3.426917)'))) / (select extract(epoch from '2026-06-09 13:32:15'::timestamp) - extract(epoch from '2026-06-09 13:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396514 -3.426852)'), GeomFromEWKT('SRID=4674;POINT (-38.396562 -3.426917)'))) / (select extract(epoch from '2026-06-09 13:32:15'::timestamp) - extract(epoch from '2026-06-09 13:32:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.396626 -3.427017)', '2026-06-09 13:32:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396562 -3.426917)'), GeomFromEWKT('SRID=4674;POINT (-38.396626 -3.427017)'))) / (select extract(epoch from '2026-06-09 13:32:22'::timestamp) - extract(epoch from '2026-06-09 13:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396562 -3.426917)'), GeomFromEWKT('SRID=4674;POINT (-38.396626 -3.427017)'))) / (select extract(epoch from '2026-06-09 13:32:22'::timestamp) - extract(epoch from '2026-06-09 13:32:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.396692 -3.427119)', '2026-06-09 13:32:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396626 -3.427017)'), GeomFromEWKT('SRID=4674;POINT (-38.396692 -3.427119)'))) / (select extract(epoch from '2026-06-09 13:32:29'::timestamp) - extract(epoch from '2026-06-09 13:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396626 -3.427017)'), GeomFromEWKT('SRID=4674;POINT (-38.396692 -3.427119)'))) / (select extract(epoch from '2026-06-09 13:32:29'::timestamp) - extract(epoch from '2026-06-09 13:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.396744 -3.427205)', '2026-06-09 13:32:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396692 -3.427119)'), GeomFromEWKT('SRID=4674;POINT (-38.396744 -3.427205)'))) / (select extract(epoch from '2026-06-09 13:32:35'::timestamp) - extract(epoch from '2026-06-09 13:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396692 -3.427119)'), GeomFromEWKT('SRID=4674;POINT (-38.396744 -3.427205)'))) / (select extract(epoch from '2026-06-09 13:32:35'::timestamp) - extract(epoch from '2026-06-09 13:32: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'), 46534, 'SRID=4674;POINT (-38.396793 -3.427282)', '2026-06-09 13:32:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396744 -3.427205)'), GeomFromEWKT('SRID=4674;POINT (-38.396793 -3.427282)'))) / (select extract(epoch from '2026-06-09 13:32:40'::timestamp) - extract(epoch from '2026-06-09 13:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396744 -3.427205)'), GeomFromEWKT('SRID=4674;POINT (-38.396793 -3.427282)'))) / (select extract(epoch from '2026-06-09 13:32:40'::timestamp) - extract(epoch from '2026-06-09 13:32: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'), 46534, 'SRID=4674;POINT (-38.396829 -3.427363)', '2026-06-09 13:32:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396793 -3.427282)'), GeomFromEWKT('SRID=4674;POINT (-38.396829 -3.427363)'))) / (select extract(epoch from '2026-06-09 13:32:45'::timestamp) - extract(epoch from '2026-06-09 13:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396793 -3.427282)'), GeomFromEWKT('SRID=4674;POINT (-38.396829 -3.427363)'))) / (select extract(epoch from '2026-06-09 13:32:45'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.396865 -3.427422)', '2026-06-09 13:32:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396829 -3.427363)'), GeomFromEWKT('SRID=4674;POINT (-38.396865 -3.427422)'))) / (select extract(epoch from '2026-06-09 13:32:49'::timestamp) - extract(epoch from '2026-06-09 13:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396829 -3.427363)'), GeomFromEWKT('SRID=4674;POINT (-38.396865 -3.427422)'))) / (select extract(epoch from '2026-06-09 13:32:49'::timestamp) - extract(epoch from '2026-06-09 13:32: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'), 46534, 'SRID=4674;POINT (-38.396879 -3.427436)', '2026-06-09 13:32:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396865 -3.427422)'), GeomFromEWKT('SRID=4674;POINT (-38.396879 -3.427436)'))) / (select extract(epoch from '2026-06-09 13:32:50'::timestamp) - extract(epoch from '2026-06-09 13:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396865 -3.427422)'), GeomFromEWKT('SRID=4674;POINT (-38.396879 -3.427436)'))) / (select extract(epoch from '2026-06-09 13:32:50'::timestamp) - extract(epoch from '2026-06-09 13:32: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'), 46534, 'SRID=4674;POINT (-38.396947 -3.42752)', '2026-06-09 13:32:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396879 -3.427436)'), GeomFromEWKT('SRID=4674;POINT (-38.396947 -3.42752)'))) / (select extract(epoch from '2026-06-09 13:32:56'::timestamp) - extract(epoch from '2026-06-09 13:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396879 -3.427436)'), GeomFromEWKT('SRID=4674;POINT (-38.396947 -3.42752)'))) / (select extract(epoch from '2026-06-09 13:32:56'::timestamp) - extract(epoch from '2026-06-09 13:32: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'), 46534, 'SRID=4674;POINT (-38.396992 -3.427596)', '2026-06-09 13:33:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396947 -3.42752)'), GeomFromEWKT('SRID=4674;POINT (-38.396992 -3.427596)'))) / (select extract(epoch from '2026-06-09 13:33:01'::timestamp) - extract(epoch from '2026-06-09 13:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396947 -3.42752)'), GeomFromEWKT('SRID=4674;POINT (-38.396992 -3.427596)'))) / (select extract(epoch from '2026-06-09 13:33:01'::timestamp) - extract(epoch from '2026-06-09 13:32: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'), 46534, 'SRID=4674;POINT (-38.397049 -3.427693)', '2026-06-09 13:33:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396992 -3.427596)'), GeomFromEWKT('SRID=4674;POINT (-38.397049 -3.427693)'))) / (select extract(epoch from '2026-06-09 13:33:07'::timestamp) - extract(epoch from '2026-06-09 13:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.396992 -3.427596)'), GeomFromEWKT('SRID=4674;POINT (-38.397049 -3.427693)'))) / (select extract(epoch from '2026-06-09 13:33:07'::timestamp) - extract(epoch from '2026-06-09 13:33: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'), 46534, 'SRID=4674;POINT (-38.397107 -3.427796)', '2026-06-09 13:33:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397049 -3.427693)'), GeomFromEWKT('SRID=4674;POINT (-38.397107 -3.427796)'))) / (select extract(epoch from '2026-06-09 13:33:13'::timestamp) - extract(epoch from '2026-06-09 13:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397049 -3.427693)'), GeomFromEWKT('SRID=4674;POINT (-38.397107 -3.427796)'))) / (select extract(epoch from '2026-06-09 13:33:13'::timestamp) - extract(epoch from '2026-06-09 13:33:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.397152 -3.427881)', '2026-06-09 13:33:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397107 -3.427796)'), GeomFromEWKT('SRID=4674;POINT (-38.397152 -3.427881)'))) / (select extract(epoch from '2026-06-09 13:33:18'::timestamp) - extract(epoch from '2026-06-09 13:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397107 -3.427796)'), GeomFromEWKT('SRID=4674;POINT (-38.397152 -3.427881)'))) / (select extract(epoch from '2026-06-09 13:33:18'::timestamp) - extract(epoch from '2026-06-09 13:33: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'), 46534, 'SRID=4674;POINT (-38.397215 -3.427992)', '2026-06-09 13:33:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397152 -3.427881)'), GeomFromEWKT('SRID=4674;POINT (-38.397215 -3.427992)'))) / (select extract(epoch from '2026-06-09 13:33:25'::timestamp) - extract(epoch from '2026-06-09 13:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397152 -3.427881)'), GeomFromEWKT('SRID=4674;POINT (-38.397215 -3.427992)'))) / (select extract(epoch from '2026-06-09 13:33:25'::timestamp) - extract(epoch from '2026-06-09 13:33: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'), 46534, 'SRID=4674;POINT (-38.397288 -3.428146)', '2026-06-09 13:33:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397215 -3.427992)'), GeomFromEWKT('SRID=4674;POINT (-38.397288 -3.428146)'))) / (select extract(epoch from '2026-06-09 13:33:34'::timestamp) - extract(epoch from '2026-06-09 13:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397215 -3.427992)'), GeomFromEWKT('SRID=4674;POINT (-38.397288 -3.428146)'))) / (select extract(epoch from '2026-06-09 13:33:34'::timestamp) - extract(epoch from '2026-06-09 13:33: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'), 46534, 'SRID=4674;POINT (-38.397335 -3.428242)', '2026-06-09 13:33:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397288 -3.428146)'), GeomFromEWKT('SRID=4674;POINT (-38.397335 -3.428242)'))) / (select extract(epoch from '2026-06-09 13:33:40'::timestamp) - extract(epoch from '2026-06-09 13:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397288 -3.428146)'), GeomFromEWKT('SRID=4674;POINT (-38.397335 -3.428242)'))) / (select extract(epoch from '2026-06-09 13:33:40'::timestamp) - extract(epoch from '2026-06-09 13:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.397388 -3.428345)', '2026-06-09 13:33:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397335 -3.428242)'), GeomFromEWKT('SRID=4674;POINT (-38.397388 -3.428345)'))) / (select extract(epoch from '2026-06-09 13:33:46'::timestamp) - extract(epoch from '2026-06-09 13:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397335 -3.428242)'), GeomFromEWKT('SRID=4674;POINT (-38.397388 -3.428345)'))) / (select extract(epoch from '2026-06-09 13:33:46'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.397436 -3.428446)', '2026-06-09 13:33:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397388 -3.428345)'), GeomFromEWKT('SRID=4674;POINT (-38.397436 -3.428446)'))) / (select extract(epoch from '2026-06-09 13:33:52'::timestamp) - extract(epoch from '2026-06-09 13:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397388 -3.428345)'), GeomFromEWKT('SRID=4674;POINT (-38.397436 -3.428446)'))) / (select extract(epoch from '2026-06-09 13:33:52'::timestamp) - extract(epoch from '2026-06-09 13:33: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'), 46534, 'SRID=4674;POINT (-38.397474 -3.428528)', '2026-06-09 13:33:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397436 -3.428446)'), GeomFromEWKT('SRID=4674;POINT (-38.397474 -3.428528)'))) / (select extract(epoch from '2026-06-09 13:33:57'::timestamp) - extract(epoch from '2026-06-09 13:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397436 -3.428446)'), GeomFromEWKT('SRID=4674;POINT (-38.397474 -3.428528)'))) / (select extract(epoch from '2026-06-09 13:33:57'::timestamp) - extract(epoch from '2026-06-09 13:33: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'), 46534, 'SRID=4674;POINT (-38.397481 -3.428546)', '2026-06-09 13:33:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397474 -3.428528)'), GeomFromEWKT('SRID=4674;POINT (-38.397481 -3.428546)'))) / (select extract(epoch from '2026-06-09 13:33:58'::timestamp) - extract(epoch from '2026-06-09 13:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397474 -3.428528)'), GeomFromEWKT('SRID=4674;POINT (-38.397481 -3.428546)'))) / (select extract(epoch from '2026-06-09 13:33:58'::timestamp) - extract(epoch from '2026-06-09 13:33: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'), 46534, 'SRID=4674;POINT (-38.397514 -3.428594)', '2026-06-09 13:34:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397481 -3.428546)'), GeomFromEWKT('SRID=4674;POINT (-38.397514 -3.428594)'))) / (select extract(epoch from '2026-06-09 13:34:01'::timestamp) - extract(epoch from '2026-06-09 13:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397481 -3.428546)'), GeomFromEWKT('SRID=4674;POINT (-38.397514 -3.428594)'))) / (select extract(epoch from '2026-06-09 13:34:01'::timestamp) - extract(epoch from '2026-06-09 13:33:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.397546 -3.428668)', '2026-06-09 13:34:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397514 -3.428594)'), GeomFromEWKT('SRID=4674;POINT (-38.397546 -3.428668)'))) / (select extract(epoch from '2026-06-09 13:34:06'::timestamp) - extract(epoch from '2026-06-09 13:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397514 -3.428594)'), GeomFromEWKT('SRID=4674;POINT (-38.397546 -3.428668)'))) / (select extract(epoch from '2026-06-09 13:34:06'::timestamp) - extract(epoch from '2026-06-09 13:34:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.397594 -3.428766)', '2026-06-09 13:34:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397546 -3.428668)'), GeomFromEWKT('SRID=4674;POINT (-38.397594 -3.428766)'))) / (select extract(epoch from '2026-06-09 13:34:12'::timestamp) - extract(epoch from '2026-06-09 13:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397546 -3.428668)'), GeomFromEWKT('SRID=4674;POINT (-38.397594 -3.428766)'))) / (select extract(epoch from '2026-06-09 13:34:12'::timestamp) - extract(epoch from '2026-06-09 13:34: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'), 46534, 'SRID=4674;POINT (-38.397628 -3.428852)', '2026-06-09 13:34:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397594 -3.428766)'), GeomFromEWKT('SRID=4674;POINT (-38.397628 -3.428852)'))) / (select extract(epoch from '2026-06-09 13:34:17'::timestamp) - extract(epoch from '2026-06-09 13:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397594 -3.428766)'), GeomFromEWKT('SRID=4674;POINT (-38.397628 -3.428852)'))) / (select extract(epoch from '2026-06-09 13:34:17'::timestamp) - extract(epoch from '2026-06-09 13:34:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.397671 -3.428952)', '2026-06-09 13:34:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397628 -3.428852)'), GeomFromEWKT('SRID=4674;POINT (-38.397671 -3.428952)'))) / (select extract(epoch from '2026-06-09 13:34:23'::timestamp) - extract(epoch from '2026-06-09 13:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397628 -3.428852)'), GeomFromEWKT('SRID=4674;POINT (-38.397671 -3.428952)'))) / (select extract(epoch from '2026-06-09 13:34:23'::timestamp) - extract(epoch from '2026-06-09 13:34:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.397679 -3.428966)', '2026-06-09 13:34:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397671 -3.428952)'), GeomFromEWKT('SRID=4674;POINT (-38.397679 -3.428966)'))) / (select extract(epoch from '2026-06-09 13:34:24'::timestamp) - extract(epoch from '2026-06-09 13:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397671 -3.428952)'), GeomFromEWKT('SRID=4674;POINT (-38.397679 -3.428966)'))) / (select extract(epoch from '2026-06-09 13:34:24'::timestamp) - extract(epoch from '2026-06-09 13:34: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'), 46534, 'SRID=4674;POINT (-38.397706 -3.429015)', '2026-06-09 13:34:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397679 -3.428966)'), GeomFromEWKT('SRID=4674;POINT (-38.397706 -3.429015)'))) / (select extract(epoch from '2026-06-09 13:34:27'::timestamp) - extract(epoch from '2026-06-09 13:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397679 -3.428966)'), GeomFromEWKT('SRID=4674;POINT (-38.397706 -3.429015)'))) / (select extract(epoch from '2026-06-09 13:34:27'::timestamp) - extract(epoch from '2026-06-09 13:34: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'), 46534, 'SRID=4674;POINT (-38.397753 -3.429107)', '2026-06-09 13:34:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397706 -3.429015)'), GeomFromEWKT('SRID=4674;POINT (-38.397753 -3.429107)'))) / (select extract(epoch from '2026-06-09 13:34:33'::timestamp) - extract(epoch from '2026-06-09 13:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397706 -3.429015)'), GeomFromEWKT('SRID=4674;POINT (-38.397753 -3.429107)'))) / (select extract(epoch from '2026-06-09 13:34:33'::timestamp) - extract(epoch from '2026-06-09 13:34:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.39776 -3.429134)', '2026-06-09 13:34:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397753 -3.429107)'), GeomFromEWKT('SRID=4674;POINT (-38.39776 -3.429134)'))) / (select extract(epoch from '2026-06-09 13:34:35'::timestamp) - extract(epoch from '2026-06-09 13:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397753 -3.429107)'), GeomFromEWKT('SRID=4674;POINT (-38.39776 -3.429134)'))) / (select extract(epoch from '2026-06-09 13:34:35'::timestamp) - extract(epoch from '2026-06-09 13:34: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'), 46534, 'SRID=4674;POINT (-38.397786 -3.429182)', '2026-06-09 13:34:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39776 -3.429134)'), GeomFromEWKT('SRID=4674;POINT (-38.397786 -3.429182)'))) / (select extract(epoch from '2026-06-09 13:34:38'::timestamp) - extract(epoch from '2026-06-09 13:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39776 -3.429134)'), GeomFromEWKT('SRID=4674;POINT (-38.397786 -3.429182)'))) / (select extract(epoch from '2026-06-09 13:34:38'::timestamp) - extract(epoch from '2026-06-09 13:34: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'), 46534, 'SRID=4674;POINT (-38.397826 -3.429265)', '2026-06-09 13:34:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397786 -3.429182)'), GeomFromEWKT('SRID=4674;POINT (-38.397826 -3.429265)'))) / (select extract(epoch from '2026-06-09 13:34:45'::timestamp) - extract(epoch from '2026-06-09 13:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397786 -3.429182)'), GeomFromEWKT('SRID=4674;POINT (-38.397826 -3.429265)'))) / (select extract(epoch from '2026-06-09 13:34:45'::timestamp) - extract(epoch from '2026-06-09 13:34:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.397875 -3.429325)', '2026-06-09 13:34:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397826 -3.429265)'), GeomFromEWKT('SRID=4674;POINT (-38.397875 -3.429325)'))) / (select extract(epoch from '2026-06-09 13:34:51'::timestamp) - extract(epoch from '2026-06-09 13:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397826 -3.429265)'), GeomFromEWKT('SRID=4674;POINT (-38.397875 -3.429325)'))) / (select extract(epoch from '2026-06-09 13:34:51'::timestamp) - extract(epoch from '2026-06-09 13:34: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'), 46534, 'SRID=4674;POINT (-38.397933 -3.429385)', '2026-06-09 13:34:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397875 -3.429325)'), GeomFromEWKT('SRID=4674;POINT (-38.397933 -3.429385)'))) / (select extract(epoch from '2026-06-09 13:34:56'::timestamp) - extract(epoch from '2026-06-09 13:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397875 -3.429325)'), GeomFromEWKT('SRID=4674;POINT (-38.397933 -3.429385)'))) / (select extract(epoch from '2026-06-09 13:34:56'::timestamp) - extract(epoch from '2026-06-09 13:34: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'), 46534, 'SRID=4674;POINT (-38.397945 -3.429394)', '2026-06-09 13:34:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397933 -3.429385)'), GeomFromEWKT('SRID=4674;POINT (-38.397945 -3.429394)'))) / (select extract(epoch from '2026-06-09 13:34:57'::timestamp) - extract(epoch from '2026-06-09 13:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397933 -3.429385)'), GeomFromEWKT('SRID=4674;POINT (-38.397945 -3.429394)'))) / (select extract(epoch from '2026-06-09 13:34:57'::timestamp) - extract(epoch from '2026-06-09 13:34:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.397978 -3.429445)', '2026-06-09 13:35:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397945 -3.429394)'), GeomFromEWKT('SRID=4674;POINT (-38.397978 -3.429445)'))) / (select extract(epoch from '2026-06-09 13:35:01'::timestamp) - extract(epoch from '2026-06-09 13:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397945 -3.429394)'), GeomFromEWKT('SRID=4674;POINT (-38.397978 -3.429445)'))) / (select extract(epoch from '2026-06-09 13:35:01'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.398032 -3.429518)', '2026-06-09 13:35:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397978 -3.429445)'), GeomFromEWKT('SRID=4674;POINT (-38.398032 -3.429518)'))) / (select extract(epoch from '2026-06-09 13:35:06'::timestamp) - extract(epoch from '2026-06-09 13:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.397978 -3.429445)'), GeomFromEWKT('SRID=4674;POINT (-38.398032 -3.429518)'))) / (select extract(epoch from '2026-06-09 13:35:06'::timestamp) - extract(epoch from '2026-06-09 13:35:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.398072 -3.429588)', '2026-06-09 13:35:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398032 -3.429518)'), GeomFromEWKT('SRID=4674;POINT (-38.398072 -3.429588)'))) / (select extract(epoch from '2026-06-09 13:35:11'::timestamp) - extract(epoch from '2026-06-09 13:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398032 -3.429518)'), GeomFromEWKT('SRID=4674;POINT (-38.398072 -3.429588)'))) / (select extract(epoch from '2026-06-09 13:35:11'::timestamp) - extract(epoch from '2026-06-09 13:35:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.398113 -3.429685)', '2026-06-09 13:35:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398072 -3.429588)'), GeomFromEWKT('SRID=4674;POINT (-38.398113 -3.429685)'))) / (select extract(epoch from '2026-06-09 13:35:17'::timestamp) - extract(epoch from '2026-06-09 13:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398072 -3.429588)'), GeomFromEWKT('SRID=4674;POINT (-38.398113 -3.429685)'))) / (select extract(epoch from '2026-06-09 13:35:17'::timestamp) - extract(epoch from '2026-06-09 13:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.398158 -3.429752)', '2026-06-09 13:35:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398113 -3.429685)'), GeomFromEWKT('SRID=4674;POINT (-38.398158 -3.429752)'))) / (select extract(epoch from '2026-06-09 13:35:23'::timestamp) - extract(epoch from '2026-06-09 13:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398113 -3.429685)'), GeomFromEWKT('SRID=4674;POINT (-38.398158 -3.429752)'))) / (select extract(epoch from '2026-06-09 13:35:23'::timestamp) - extract(epoch from '2026-06-09 13:35:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.398223 -3.429817)', '2026-06-09 13:35:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398158 -3.429752)'), GeomFromEWKT('SRID=4674;POINT (-38.398223 -3.429817)'))) / (select extract(epoch from '2026-06-09 13:35:29'::timestamp) - extract(epoch from '2026-06-09 13:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398158 -3.429752)'), GeomFromEWKT('SRID=4674;POINT (-38.398223 -3.429817)'))) / (select extract(epoch from '2026-06-09 13:35:29'::timestamp) - extract(epoch from '2026-06-09 13:35:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.398279 -3.429871)', '2026-06-09 13:35:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398223 -3.429817)'), GeomFromEWKT('SRID=4674;POINT (-38.398279 -3.429871)'))) / (select extract(epoch from '2026-06-09 13:35:34'::timestamp) - extract(epoch from '2026-06-09 13:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398223 -3.429817)'), GeomFromEWKT('SRID=4674;POINT (-38.398279 -3.429871)'))) / (select extract(epoch from '2026-06-09 13:35:34'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.39833 -3.429943)', '2026-06-09 13:35:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398279 -3.429871)'), GeomFromEWKT('SRID=4674;POINT (-38.39833 -3.429943)'))) / (select extract(epoch from '2026-06-09 13:35:39'::timestamp) - extract(epoch from '2026-06-09 13:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398279 -3.429871)'), GeomFromEWKT('SRID=4674;POINT (-38.39833 -3.429943)'))) / (select extract(epoch from '2026-06-09 13:35:39'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.398391 -3.430019)', '2026-06-09 13:35:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39833 -3.429943)'), GeomFromEWKT('SRID=4674;POINT (-38.398391 -3.430019)'))) / (select extract(epoch from '2026-06-09 13:35:44'::timestamp) - extract(epoch from '2026-06-09 13:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.39833 -3.429943)'), GeomFromEWKT('SRID=4674;POINT (-38.398391 -3.430019)'))) / (select extract(epoch from '2026-06-09 13:35:44'::timestamp) - extract(epoch from '2026-06-09 13:35:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.398434 -3.430082)', '2026-06-09 13:35:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398391 -3.430019)'), GeomFromEWKT('SRID=4674;POINT (-38.398434 -3.430082)'))) / (select extract(epoch from '2026-06-09 13:35:49'::timestamp) - extract(epoch from '2026-06-09 13:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398391 -3.430019)'), GeomFromEWKT('SRID=4674;POINT (-38.398434 -3.430082)'))) / (select extract(epoch from '2026-06-09 13:35:49'::timestamp) - extract(epoch from '2026-06-09 13:35: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'), 46534, 'SRID=4674;POINT (-38.398478 -3.430157)', '2026-06-09 13:35:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398434 -3.430082)'), GeomFromEWKT('SRID=4674;POINT (-38.398478 -3.430157)'))) / (select extract(epoch from '2026-06-09 13:35:54'::timestamp) - extract(epoch from '2026-06-09 13:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398434 -3.430082)'), GeomFromEWKT('SRID=4674;POINT (-38.398478 -3.430157)'))) / (select extract(epoch from '2026-06-09 13:35:54'::timestamp) - extract(epoch from '2026-06-09 13:35: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'), 46534, 'SRID=4674;POINT (-38.398496 -3.430191)', '2026-06-09 13:35:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398478 -3.430157)'), GeomFromEWKT('SRID=4674;POINT (-38.398496 -3.430191)'))) / (select extract(epoch from '2026-06-09 13:35:56'::timestamp) - extract(epoch from '2026-06-09 13:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398478 -3.430157)'), GeomFromEWKT('SRID=4674;POINT (-38.398496 -3.430191)'))) / (select extract(epoch from '2026-06-09 13:35:56'::timestamp) - extract(epoch from '2026-06-09 13:35: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'), 46534, 'SRID=4674;POINT (-38.398536 -3.430236)', '2026-06-09 13:35:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398496 -3.430191)'), GeomFromEWKT('SRID=4674;POINT (-38.398536 -3.430236)'))) / (select extract(epoch from '2026-06-09 13:35:59'::timestamp) - extract(epoch from '2026-06-09 13:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398496 -3.430191)'), GeomFromEWKT('SRID=4674;POINT (-38.398536 -3.430236)'))) / (select extract(epoch from '2026-06-09 13:35:59'::timestamp) - extract(epoch from '2026-06-09 13:35: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'), 46534, 'SRID=4674;POINT (-38.398596 -3.430335)', '2026-06-09 13:36:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398536 -3.430236)'), GeomFromEWKT('SRID=4674;POINT (-38.398596 -3.430335)'))) / (select extract(epoch from '2026-06-09 13:36:05'::timestamp) - extract(epoch from '2026-06-09 13:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398536 -3.430236)'), GeomFromEWKT('SRID=4674;POINT (-38.398596 -3.430335)'))) / (select extract(epoch from '2026-06-09 13:36:05'::timestamp) - extract(epoch from '2026-06-09 13:35:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.398653 -3.430441)', '2026-06-09 13:36:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398596 -3.430335)'), GeomFromEWKT('SRID=4674;POINT (-38.398653 -3.430441)'))) / (select extract(epoch from '2026-06-09 13:36:12'::timestamp) - extract(epoch from '2026-06-09 13:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398596 -3.430335)'), GeomFromEWKT('SRID=4674;POINT (-38.398653 -3.430441)'))) / (select extract(epoch from '2026-06-09 13:36:12'::timestamp) - extract(epoch from '2026-06-09 13:36:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.398721 -3.430559)', '2026-06-09 13:36:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398653 -3.430441)'), GeomFromEWKT('SRID=4674;POINT (-38.398721 -3.430559)'))) / (select extract(epoch from '2026-06-09 13:36:20'::timestamp) - extract(epoch from '2026-06-09 13:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398653 -3.430441)'), GeomFromEWKT('SRID=4674;POINT (-38.398721 -3.430559)'))) / (select extract(epoch from '2026-06-09 13:36:20'::timestamp) - extract(epoch from '2026-06-09 13:36: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'), 46534, 'SRID=4674;POINT (-38.398759 -3.430642)', '2026-06-09 13:36:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398721 -3.430559)'), GeomFromEWKT('SRID=4674;POINT (-38.398759 -3.430642)'))) / (select extract(epoch from '2026-06-09 13:36:25'::timestamp) - extract(epoch from '2026-06-09 13:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398721 -3.430559)'), GeomFromEWKT('SRID=4674;POINT (-38.398759 -3.430642)'))) / (select extract(epoch from '2026-06-09 13:36:25'::timestamp) - extract(epoch from '2026-06-09 13:36: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'), 46534, 'SRID=4674;POINT (-38.398781 -3.430692)', '2026-06-09 13:36:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398759 -3.430642)'), GeomFromEWKT('SRID=4674;POINT (-38.398781 -3.430692)'))) / (select extract(epoch from '2026-06-09 13:36:28'::timestamp) - extract(epoch from '2026-06-09 13:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398759 -3.430642)'), GeomFromEWKT('SRID=4674;POINT (-38.398781 -3.430692)'))) / (select extract(epoch from '2026-06-09 13:36:28'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.398798 -3.430718)', '2026-06-09 13:36:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398781 -3.430692)'), GeomFromEWKT('SRID=4674;POINT (-38.398798 -3.430718)'))) / (select extract(epoch from '2026-06-09 13:36:30'::timestamp) - extract(epoch from '2026-06-09 13:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398781 -3.430692)'), GeomFromEWKT('SRID=4674;POINT (-38.398798 -3.430718)'))) / (select extract(epoch from '2026-06-09 13:36:30'::timestamp) - extract(epoch from '2026-06-09 13:36:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.398807 -3.43073)', '2026-06-09 13:36:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398798 -3.430718)'), GeomFromEWKT('SRID=4674;POINT (-38.398807 -3.43073)'))) / (select extract(epoch from '2026-06-09 13:36:31'::timestamp) - extract(epoch from '2026-06-09 13:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398798 -3.430718)'), GeomFromEWKT('SRID=4674;POINT (-38.398807 -3.43073)'))) / (select extract(epoch from '2026-06-09 13:36:31'::timestamp) - extract(epoch from '2026-06-09 13:36: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'), 46534, 'SRID=4674;POINT (-38.398837 -3.430769)', '2026-06-09 13:36:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398807 -3.43073)'), GeomFromEWKT('SRID=4674;POINT (-38.398837 -3.430769)'))) / (select extract(epoch from '2026-06-09 13:36:34'::timestamp) - extract(epoch from '2026-06-09 13:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398807 -3.43073)'), GeomFromEWKT('SRID=4674;POINT (-38.398837 -3.430769)'))) / (select extract(epoch from '2026-06-09 13:36:34'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.398886 -3.430842)', '2026-06-09 13:36:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398837 -3.430769)'), GeomFromEWKT('SRID=4674;POINT (-38.398886 -3.430842)'))) / (select extract(epoch from '2026-06-09 13:36:39'::timestamp) - extract(epoch from '2026-06-09 13:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398837 -3.430769)'), GeomFromEWKT('SRID=4674;POINT (-38.398886 -3.430842)'))) / (select extract(epoch from '2026-06-09 13:36:39'::timestamp) - extract(epoch from '2026-06-09 13:36: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'), 46534, 'SRID=4674;POINT (-38.398937 -3.430912)', '2026-06-09 13:36:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398886 -3.430842)'), GeomFromEWKT('SRID=4674;POINT (-38.398937 -3.430912)'))) / (select extract(epoch from '2026-06-09 13:36:44'::timestamp) - extract(epoch from '2026-06-09 13:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398886 -3.430842)'), GeomFromEWKT('SRID=4674;POINT (-38.398937 -3.430912)'))) / (select extract(epoch from '2026-06-09 13:36:44'::timestamp) - extract(epoch from '2026-06-09 13:36: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'), 46534, 'SRID=4674;POINT (-38.398988 -3.430998)', '2026-06-09 13:36:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398937 -3.430912)'), GeomFromEWKT('SRID=4674;POINT (-38.398988 -3.430998)'))) / (select extract(epoch from '2026-06-09 13:36:49'::timestamp) - extract(epoch from '2026-06-09 13:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398937 -3.430912)'), GeomFromEWKT('SRID=4674;POINT (-38.398988 -3.430998)'))) / (select extract(epoch from '2026-06-09 13:36:49'::timestamp) - extract(epoch from '2026-06-09 13:36:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.399048 -3.431102)', '2026-06-09 13:36:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398988 -3.430998)'), GeomFromEWKT('SRID=4674;POINT (-38.399048 -3.431102)'))) / (select extract(epoch from '2026-06-09 13:36:55'::timestamp) - extract(epoch from '2026-06-09 13:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.398988 -3.430998)'), GeomFromEWKT('SRID=4674;POINT (-38.399048 -3.431102)'))) / (select extract(epoch from '2026-06-09 13:36:55'::timestamp) - extract(epoch from '2026-06-09 13:36: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'), 46534, 'SRID=4674;POINT (-38.399089 -3.4312)', '2026-06-09 13:37:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399048 -3.431102)'), GeomFromEWKT('SRID=4674;POINT (-38.399089 -3.4312)'))) / (select extract(epoch from '2026-06-09 13:37:01'::timestamp) - extract(epoch from '2026-06-09 13:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399048 -3.431102)'), GeomFromEWKT('SRID=4674;POINT (-38.399089 -3.4312)'))) / (select extract(epoch from '2026-06-09 13:37:01'::timestamp) - extract(epoch from '2026-06-09 13:36: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'), 46534, 'SRID=4674;POINT (-38.399134 -3.4313)', '2026-06-09 13:37:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399089 -3.4312)'), GeomFromEWKT('SRID=4674;POINT (-38.399134 -3.4313)'))) / (select extract(epoch from '2026-06-09 13:37:07'::timestamp) - extract(epoch from '2026-06-09 13:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399089 -3.4312)'), GeomFromEWKT('SRID=4674;POINT (-38.399134 -3.4313)'))) / (select extract(epoch from '2026-06-09 13:37:07'::timestamp) - extract(epoch from '2026-06-09 13:37: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'), 46534, 'SRID=4674;POINT (-38.399167 -3.431402)', '2026-06-09 13:37:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399134 -3.4313)'), GeomFromEWKT('SRID=4674;POINT (-38.399167 -3.431402)'))) / (select extract(epoch from '2026-06-09 13:37:13'::timestamp) - extract(epoch from '2026-06-09 13:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399134 -3.4313)'), GeomFromEWKT('SRID=4674;POINT (-38.399167 -3.431402)'))) / (select extract(epoch from '2026-06-09 13:37:13'::timestamp) - extract(epoch from '2026-06-09 13:37:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.399206 -3.431486)', '2026-06-09 13:37:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399167 -3.431402)'), GeomFromEWKT('SRID=4674;POINT (-38.399206 -3.431486)'))) / (select extract(epoch from '2026-06-09 13:37:18'::timestamp) - extract(epoch from '2026-06-09 13:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399167 -3.431402)'), GeomFromEWKT('SRID=4674;POINT (-38.399206 -3.431486)'))) / (select extract(epoch from '2026-06-09 13:37:18'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.399216 -3.431502)', '2026-06-09 13:37:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399206 -3.431486)'), GeomFromEWKT('SRID=4674;POINT (-38.399216 -3.431502)'))) / (select extract(epoch from '2026-06-09 13:37:19'::timestamp) - extract(epoch from '2026-06-09 13:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399206 -3.431486)'), GeomFromEWKT('SRID=4674;POINT (-38.399216 -3.431502)'))) / (select extract(epoch from '2026-06-09 13:37:19'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.399247 -3.431554)', '2026-06-09 13:37:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399216 -3.431502)'), GeomFromEWKT('SRID=4674;POINT (-38.399247 -3.431554)'))) / (select extract(epoch from '2026-06-09 13:37:22'::timestamp) - extract(epoch from '2026-06-09 13:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399216 -3.431502)'), GeomFromEWKT('SRID=4674;POINT (-38.399247 -3.431554)'))) / (select extract(epoch from '2026-06-09 13:37:22'::timestamp) - extract(epoch from '2026-06-09 13:37: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'), 46534, 'SRID=4674;POINT (-38.399254 -3.431568)', '2026-06-09 13:37:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399247 -3.431554)'), GeomFromEWKT('SRID=4674;POINT (-38.399254 -3.431568)'))) / (select extract(epoch from '2026-06-09 13:37:23'::timestamp) - extract(epoch from '2026-06-09 13:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399247 -3.431554)'), GeomFromEWKT('SRID=4674;POINT (-38.399254 -3.431568)'))) / (select extract(epoch from '2026-06-09 13:37:23'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.399277 -3.4316)', '2026-06-09 13:37:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399254 -3.431568)'), GeomFromEWKT('SRID=4674;POINT (-38.399277 -3.4316)'))) / (select extract(epoch from '2026-06-09 13:37:25'::timestamp) - extract(epoch from '2026-06-09 13:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399254 -3.431568)'), GeomFromEWKT('SRID=4674;POINT (-38.399277 -3.4316)'))) / (select extract(epoch from '2026-06-09 13:37:25'::timestamp) - extract(epoch from '2026-06-09 13:37: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'), 46534, 'SRID=4674;POINT (-38.399284 -3.431619)', '2026-06-09 13:37:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399277 -3.4316)'), GeomFromEWKT('SRID=4674;POINT (-38.399284 -3.431619)'))) / (select extract(epoch from '2026-06-09 13:37:26'::timestamp) - extract(epoch from '2026-06-09 13:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399277 -3.4316)'), GeomFromEWKT('SRID=4674;POINT (-38.399284 -3.431619)'))) / (select extract(epoch from '2026-06-09 13:37:26'::timestamp) - extract(epoch from '2026-06-09 13: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'), 46534, 'SRID=4674;POINT (-38.399329 -3.431709)', '2026-06-09 13:37:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399284 -3.431619)'), GeomFromEWKT('SRID=4674;POINT (-38.399329 -3.431709)'))) / (select extract(epoch from '2026-06-09 13:37:32'::timestamp) - extract(epoch from '2026-06-09 13:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399284 -3.431619)'), GeomFromEWKT('SRID=4674;POINT (-38.399329 -3.431709)'))) / (select extract(epoch from '2026-06-09 13:37:32'::timestamp) - extract(epoch from '2026-06-09 13:37:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.399377 -3.431811)', '2026-06-09 13:37:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399329 -3.431709)'), GeomFromEWKT('SRID=4674;POINT (-38.399377 -3.431811)'))) / (select extract(epoch from '2026-06-09 13:37:38'::timestamp) - extract(epoch from '2026-06-09 13:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399329 -3.431709)'), GeomFromEWKT('SRID=4674;POINT (-38.399377 -3.431811)'))) / (select extract(epoch from '2026-06-09 13:37:38'::timestamp) - extract(epoch from '2026-06-09 13:37: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'), 46534, 'SRID=4674;POINT (-38.399422 -3.431909)', '2026-06-09 13:37:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399377 -3.431811)'), GeomFromEWKT('SRID=4674;POINT (-38.399422 -3.431909)'))) / (select extract(epoch from '2026-06-09 13:37:44'::timestamp) - extract(epoch from '2026-06-09 13:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.399377 -3.431811)'), GeomFromEWKT('SRID=4674;POINT (-38.399422 -3.431909)'))) / (select extract(epoch from '2026-06-09 13:37:44'::timestamp) - extract(epoch from '2026-06-09 13:37:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
