BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.37128 -2.806916)', '2026-06-08 13:08:18', 5.2, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.371427 -2.806899)', '2026-06-08 13:08:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37128 -2.806916)'), GeomFromEWKT('SRID=4674;POINT (-40.371427 -2.806899)'))) / (select extract(epoch from '2026-06-08 13:08:25'::timestamp) - extract(epoch from '2026-06-08 13:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37128 -2.806916)'), GeomFromEWKT('SRID=4674;POINT (-40.371427 -2.806899)'))) / (select extract(epoch from '2026-06-08 13:08:25'::timestamp) - extract(epoch from '2026-06-08 13:08: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'), 46728, 'SRID=4674;POINT (-40.371546 -2.806888)', '2026-06-08 13:08:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371427 -2.806899)'), GeomFromEWKT('SRID=4674;POINT (-40.371546 -2.806888)'))) / (select extract(epoch from '2026-06-08 13:08:30'::timestamp) - extract(epoch from '2026-06-08 13:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371427 -2.806899)'), GeomFromEWKT('SRID=4674;POINT (-40.371546 -2.806888)'))) / (select extract(epoch from '2026-06-08 13:08:30'::timestamp) - extract(epoch from '2026-06-08 13:08:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.371755 -2.806868)', '2026-06-08 13:08:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371546 -2.806888)'), GeomFromEWKT('SRID=4674;POINT (-40.371755 -2.806868)'))) / (select extract(epoch from '2026-06-08 13:08:38'::timestamp) - extract(epoch from '2026-06-08 13:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371546 -2.806888)'), GeomFromEWKT('SRID=4674;POINT (-40.371755 -2.806868)'))) / (select extract(epoch from '2026-06-08 13:08:38'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.371934 -2.806841)', '2026-06-08 13:08:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371755 -2.806868)'), GeomFromEWKT('SRID=4674;POINT (-40.371934 -2.806841)'))) / (select extract(epoch from '2026-06-08 13:08:45'::timestamp) - extract(epoch from '2026-06-08 13:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371755 -2.806868)'), GeomFromEWKT('SRID=4674;POINT (-40.371934 -2.806841)'))) / (select extract(epoch from '2026-06-08 13:08:45'::timestamp) - extract(epoch from '2026-06-08 13:08: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'), 46728, 'SRID=4674;POINT (-40.372116 -2.806813)', '2026-06-08 13:08:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371934 -2.806841)'), GeomFromEWKT('SRID=4674;POINT (-40.372116 -2.806813)'))) / (select extract(epoch from '2026-06-08 13:08:52'::timestamp) - extract(epoch from '2026-06-08 13:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371934 -2.806841)'), GeomFromEWKT('SRID=4674;POINT (-40.372116 -2.806813)'))) / (select extract(epoch from '2026-06-08 13:08:52'::timestamp) - extract(epoch from '2026-06-08 13:08:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.372324 -2.806781)', '2026-06-08 13:09:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372116 -2.806813)'), GeomFromEWKT('SRID=4674;POINT (-40.372324 -2.806781)'))) / (select extract(epoch from '2026-06-08 13:09:00'::timestamp) - extract(epoch from '2026-06-08 13:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372116 -2.806813)'), GeomFromEWKT('SRID=4674;POINT (-40.372324 -2.806781)'))) / (select extract(epoch from '2026-06-08 13:09:00'::timestamp) - extract(epoch from '2026-06-08 13:08:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.37253 -2.806742)', '2026-06-08 13:09:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372324 -2.806781)'), GeomFromEWKT('SRID=4674;POINT (-40.37253 -2.806742)'))) / (select extract(epoch from '2026-06-08 13:09:08'::timestamp) - extract(epoch from '2026-06-08 13:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372324 -2.806781)'), GeomFromEWKT('SRID=4674;POINT (-40.37253 -2.806742)'))) / (select extract(epoch from '2026-06-08 13:09:08'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.372681 -2.806704)', '2026-06-08 13:09:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37253 -2.806742)'), GeomFromEWKT('SRID=4674;POINT (-40.372681 -2.806704)'))) / (select extract(epoch from '2026-06-08 13:09:14'::timestamp) - extract(epoch from '2026-06-08 13:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37253 -2.806742)'), GeomFromEWKT('SRID=4674;POINT (-40.372681 -2.806704)'))) / (select extract(epoch from '2026-06-08 13:09:14'::timestamp) - extract(epoch from '2026-06-08 13:09: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'), 46728, 'SRID=4674;POINT (-40.372865 -2.806665)', '2026-06-08 13:09:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372681 -2.806704)'), GeomFromEWKT('SRID=4674;POINT (-40.372865 -2.806665)'))) / (select extract(epoch from '2026-06-08 13:09:21'::timestamp) - extract(epoch from '2026-06-08 13:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372681 -2.806704)'), GeomFromEWKT('SRID=4674;POINT (-40.372865 -2.806665)'))) / (select extract(epoch from '2026-06-08 13:09:21'::timestamp) - extract(epoch from '2026-06-08 13:09: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'), 46728, 'SRID=4674;POINT (-40.373039 -2.806634)', '2026-06-08 13:09:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372865 -2.806665)'), GeomFromEWKT('SRID=4674;POINT (-40.373039 -2.806634)'))) / (select extract(epoch from '2026-06-08 13:09:28'::timestamp) - extract(epoch from '2026-06-08 13:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372865 -2.806665)'), GeomFromEWKT('SRID=4674;POINT (-40.373039 -2.806634)'))) / (select extract(epoch from '2026-06-08 13:09:28'::timestamp) - extract(epoch from '2026-06-08 13:09: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'), 46728, 'SRID=4674;POINT (-40.373211 -2.806596)', '2026-06-08 13:09:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373039 -2.806634)'), GeomFromEWKT('SRID=4674;POINT (-40.373211 -2.806596)'))) / (select extract(epoch from '2026-06-08 13:09:35'::timestamp) - extract(epoch from '2026-06-08 13:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373039 -2.806634)'), GeomFromEWKT('SRID=4674;POINT (-40.373211 -2.806596)'))) / (select extract(epoch from '2026-06-08 13:09:35'::timestamp) - extract(epoch from '2026-06-08 13:09:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.373359 -2.806555)', '2026-06-08 13:09:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373211 -2.806596)'), GeomFromEWKT('SRID=4674;POINT (-40.373359 -2.806555)'))) / (select extract(epoch from '2026-06-08 13:09:41'::timestamp) - extract(epoch from '2026-06-08 13:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373211 -2.806596)'), GeomFromEWKT('SRID=4674;POINT (-40.373359 -2.806555)'))) / (select extract(epoch from '2026-06-08 13:09:41'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.373555 -2.806529)', '2026-06-08 13:09:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373359 -2.806555)'), GeomFromEWKT('SRID=4674;POINT (-40.373555 -2.806529)'))) / (select extract(epoch from '2026-06-08 13:09:49'::timestamp) - extract(epoch from '2026-06-08 13:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373359 -2.806555)'), GeomFromEWKT('SRID=4674;POINT (-40.373555 -2.806529)'))) / (select extract(epoch from '2026-06-08 13:09:49'::timestamp) - extract(epoch from '2026-06-08 13:09: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'), 46728, 'SRID=4674;POINT (-40.373786 -2.806508)', '2026-06-08 13:09:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373555 -2.806529)'), GeomFromEWKT('SRID=4674;POINT (-40.373786 -2.806508)'))) / (select extract(epoch from '2026-06-08 13:09:58'::timestamp) - extract(epoch from '2026-06-08 13:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373555 -2.806529)'), GeomFromEWKT('SRID=4674;POINT (-40.373786 -2.806508)'))) / (select extract(epoch from '2026-06-08 13:09:58'::timestamp) - extract(epoch from '2026-06-08 13:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.373951 -2.806495)', '2026-06-08 13:10:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373786 -2.806508)'), GeomFromEWKT('SRID=4674;POINT (-40.373951 -2.806495)'))) / (select extract(epoch from '2026-06-08 13:10:04'::timestamp) - extract(epoch from '2026-06-08 13:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373786 -2.806508)'), GeomFromEWKT('SRID=4674;POINT (-40.373951 -2.806495)'))) / (select extract(epoch from '2026-06-08 13:10:04'::timestamp) - extract(epoch from '2026-06-08 13:09: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'), 46728, 'SRID=4674;POINT (-40.37416 -2.806478)', '2026-06-08 13:10:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373951 -2.806495)'), GeomFromEWKT('SRID=4674;POINT (-40.37416 -2.806478)'))) / (select extract(epoch from '2026-06-08 13:10:12'::timestamp) - extract(epoch from '2026-06-08 13:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373951 -2.806495)'), GeomFromEWKT('SRID=4674;POINT (-40.37416 -2.806478)'))) / (select extract(epoch from '2026-06-08 13:10:12'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.374341 -2.80646)', '2026-06-08 13:10:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37416 -2.806478)'), GeomFromEWKT('SRID=4674;POINT (-40.374341 -2.80646)'))) / (select extract(epoch from '2026-06-08 13:10:19'::timestamp) - extract(epoch from '2026-06-08 13:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37416 -2.806478)'), GeomFromEWKT('SRID=4674;POINT (-40.374341 -2.80646)'))) / (select extract(epoch from '2026-06-08 13:10:19'::timestamp) - extract(epoch from '2026-06-08 13:10:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.374488 -2.806445)', '2026-06-08 13:10:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374341 -2.80646)'), GeomFromEWKT('SRID=4674;POINT (-40.374488 -2.806445)'))) / (select extract(epoch from '2026-06-08 13:10:25'::timestamp) - extract(epoch from '2026-06-08 13:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374341 -2.80646)'), GeomFromEWKT('SRID=4674;POINT (-40.374488 -2.806445)'))) / (select extract(epoch from '2026-06-08 13:10:25'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.374676 -2.806438)', '2026-06-08 13:10:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374488 -2.806445)'), GeomFromEWKT('SRID=4674;POINT (-40.374676 -2.806438)'))) / (select extract(epoch from '2026-06-08 13:10:32'::timestamp) - extract(epoch from '2026-06-08 13:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374488 -2.806445)'), GeomFromEWKT('SRID=4674;POINT (-40.374676 -2.806438)'))) / (select extract(epoch from '2026-06-08 13:10:32'::timestamp) - extract(epoch from '2026-06-08 13:10:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.374827 -2.806456)', '2026-06-08 13:10:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374676 -2.806438)'), GeomFromEWKT('SRID=4674;POINT (-40.374827 -2.806456)'))) / (select extract(epoch from '2026-06-08 13:10:38'::timestamp) - extract(epoch from '2026-06-08 13:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374676 -2.806438)'), GeomFromEWKT('SRID=4674;POINT (-40.374827 -2.806456)'))) / (select extract(epoch from '2026-06-08 13:10:38'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.375014 -2.806474)', '2026-06-08 13:10:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374827 -2.806456)'), GeomFromEWKT('SRID=4674;POINT (-40.375014 -2.806474)'))) / (select extract(epoch from '2026-06-08 13:10:45'::timestamp) - extract(epoch from '2026-06-08 13:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374827 -2.806456)'), GeomFromEWKT('SRID=4674;POINT (-40.375014 -2.806474)'))) / (select extract(epoch from '2026-06-08 13:10:45'::timestamp) - extract(epoch from '2026-06-08 13:10:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.375196 -2.806469)', '2026-06-08 13:10:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375014 -2.806474)'), GeomFromEWKT('SRID=4674;POINT (-40.375196 -2.806469)'))) / (select extract(epoch from '2026-06-08 13:10:52'::timestamp) - extract(epoch from '2026-06-08 13:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375014 -2.806474)'), GeomFromEWKT('SRID=4674;POINT (-40.375196 -2.806469)'))) / (select extract(epoch from '2026-06-08 13:10:52'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.375408 -2.806438)', '2026-06-08 13:11:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375196 -2.806469)'), GeomFromEWKT('SRID=4674;POINT (-40.375408 -2.806438)'))) / (select extract(epoch from '2026-06-08 13:11:00'::timestamp) - extract(epoch from '2026-06-08 13:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375196 -2.806469)'), GeomFromEWKT('SRID=4674;POINT (-40.375408 -2.806438)'))) / (select extract(epoch from '2026-06-08 13:11:00'::timestamp) - extract(epoch from '2026-06-08 13:10:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.375618 -2.806405)', '2026-06-08 13:11:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375408 -2.806438)'), GeomFromEWKT('SRID=4674;POINT (-40.375618 -2.806405)'))) / (select extract(epoch from '2026-06-08 13:11:08'::timestamp) - extract(epoch from '2026-06-08 13:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375408 -2.806438)'), GeomFromEWKT('SRID=4674;POINT (-40.375618 -2.806405)'))) / (select extract(epoch from '2026-06-08 13:11:08'::timestamp) - extract(epoch from '2026-06-08 13:11: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'), 46728, 'SRID=4674;POINT (-40.375744 -2.806394)', '2026-06-08 13:11:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375618 -2.806405)'), GeomFromEWKT('SRID=4674;POINT (-40.375744 -2.806394)'))) / (select extract(epoch from '2026-06-08 13:11:13'::timestamp) - extract(epoch from '2026-06-08 13:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375618 -2.806405)'), GeomFromEWKT('SRID=4674;POINT (-40.375744 -2.806394)'))) / (select extract(epoch from '2026-06-08 13:11:13'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.375918 -2.806371)', '2026-06-08 13:11:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375744 -2.806394)'), GeomFromEWKT('SRID=4674;POINT (-40.375918 -2.806371)'))) / (select extract(epoch from '2026-06-08 13:11:20'::timestamp) - extract(epoch from '2026-06-08 13:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375744 -2.806394)'), GeomFromEWKT('SRID=4674;POINT (-40.375918 -2.806371)'))) / (select extract(epoch from '2026-06-08 13:11:20'::timestamp) - extract(epoch from '2026-06-08 13:11: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'), 46728, 'SRID=4674;POINT (-40.376109 -2.806363)', '2026-06-08 13:11:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375918 -2.806371)'), GeomFromEWKT('SRID=4674;POINT (-40.376109 -2.806363)'))) / (select extract(epoch from '2026-06-08 13:11:28'::timestamp) - extract(epoch from '2026-06-08 13:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375918 -2.806371)'), GeomFromEWKT('SRID=4674;POINT (-40.376109 -2.806363)'))) / (select extract(epoch from '2026-06-08 13:11:28'::timestamp) - extract(epoch from '2026-06-08 13:11: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'), 46728, 'SRID=4674;POINT (-40.376302 -2.806385)', '2026-06-08 13:11:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376109 -2.806363)'), GeomFromEWKT('SRID=4674;POINT (-40.376302 -2.806385)'))) / (select extract(epoch from '2026-06-08 13:11:36'::timestamp) - extract(epoch from '2026-06-08 13:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376109 -2.806363)'), GeomFromEWKT('SRID=4674;POINT (-40.376302 -2.806385)'))) / (select extract(epoch from '2026-06-08 13:11:36'::timestamp) - extract(epoch from '2026-06-08 13:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.376469 -2.806388)', '2026-06-08 13:11:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376302 -2.806385)'), GeomFromEWKT('SRID=4674;POINT (-40.376469 -2.806388)'))) / (select extract(epoch from '2026-06-08 13:11:43'::timestamp) - extract(epoch from '2026-06-08 13:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376302 -2.806385)'), GeomFromEWKT('SRID=4674;POINT (-40.376469 -2.806388)'))) / (select extract(epoch from '2026-06-08 13:11:43'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.376658 -2.806381)', '2026-06-08 13:11:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376469 -2.806388)'), GeomFromEWKT('SRID=4674;POINT (-40.376658 -2.806381)'))) / (select extract(epoch from '2026-06-08 13:11:51'::timestamp) - extract(epoch from '2026-06-08 13:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376469 -2.806388)'), GeomFromEWKT('SRID=4674;POINT (-40.376658 -2.806381)'))) / (select extract(epoch from '2026-06-08 13:11:51'::timestamp) - extract(epoch from '2026-06-08 13:11:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.376863 -2.806351)', '2026-06-08 13:12:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376658 -2.806381)'), GeomFromEWKT('SRID=4674;POINT (-40.376863 -2.806351)'))) / (select extract(epoch from '2026-06-08 13:12:00'::timestamp) - extract(epoch from '2026-06-08 13:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376658 -2.806381)'), GeomFromEWKT('SRID=4674;POINT (-40.376863 -2.806351)'))) / (select extract(epoch from '2026-06-08 13:12:00'::timestamp) - extract(epoch from '2026-06-08 13:11: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'), 46728, 'SRID=4674;POINT (-40.377002 -2.806328)', '2026-06-08 13:12:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376863 -2.806351)'), GeomFromEWKT('SRID=4674;POINT (-40.377002 -2.806328)'))) / (select extract(epoch from '2026-06-08 13:12:06'::timestamp) - extract(epoch from '2026-06-08 13:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376863 -2.806351)'), GeomFromEWKT('SRID=4674;POINT (-40.377002 -2.806328)'))) / (select extract(epoch from '2026-06-08 13:12:06'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.377158 -2.806308)', '2026-06-08 13:12:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377002 -2.806328)'), GeomFromEWKT('SRID=4674;POINT (-40.377158 -2.806308)'))) / (select extract(epoch from '2026-06-08 13:12:12'::timestamp) - extract(epoch from '2026-06-08 13:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377002 -2.806328)'), GeomFromEWKT('SRID=4674;POINT (-40.377158 -2.806308)'))) / (select extract(epoch from '2026-06-08 13:12:12'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.377287 -2.806314)', '2026-06-08 13:12:17', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377158 -2.806308)'), GeomFromEWKT('SRID=4674;POINT (-40.377287 -2.806314)'))) / (select extract(epoch from '2026-06-08 13:12:17'::timestamp) - extract(epoch from '2026-06-08 13:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377158 -2.806308)'), GeomFromEWKT('SRID=4674;POINT (-40.377287 -2.806314)'))) / (select extract(epoch from '2026-06-08 13:12:17'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.377439 -2.806309)', '2026-06-08 13:12:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377287 -2.806314)'), GeomFromEWKT('SRID=4674;POINT (-40.377439 -2.806309)'))) / (select extract(epoch from '2026-06-08 13:12:23'::timestamp) - extract(epoch from '2026-06-08 13:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377287 -2.806314)'), GeomFromEWKT('SRID=4674;POINT (-40.377439 -2.806309)'))) / (select extract(epoch from '2026-06-08 13:12:23'::timestamp) - extract(epoch from '2026-06-08 13:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.377643 -2.806321)', '2026-06-08 13:12:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377439 -2.806309)'), GeomFromEWKT('SRID=4674;POINT (-40.377643 -2.806321)'))) / (select extract(epoch from '2026-06-08 13:12:31'::timestamp) - extract(epoch from '2026-06-08 13:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377439 -2.806309)'), GeomFromEWKT('SRID=4674;POINT (-40.377643 -2.806321)'))) / (select extract(epoch from '2026-06-08 13:12:31'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.377867 -2.806332)', '2026-06-08 13:12:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377643 -2.806321)'), GeomFromEWKT('SRID=4674;POINT (-40.377867 -2.806332)'))) / (select extract(epoch from '2026-06-08 13:12:40'::timestamp) - extract(epoch from '2026-06-08 13:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377643 -2.806321)'), GeomFromEWKT('SRID=4674;POINT (-40.377867 -2.806332)'))) / (select extract(epoch from '2026-06-08 13:12:40'::timestamp) - extract(epoch from '2026-06-08 13:12:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.378081 -2.806355)', '2026-06-08 13:12:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377867 -2.806332)'), GeomFromEWKT('SRID=4674;POINT (-40.378081 -2.806355)'))) / (select extract(epoch from '2026-06-08 13:12:49'::timestamp) - extract(epoch from '2026-06-08 13:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377867 -2.806332)'), GeomFromEWKT('SRID=4674;POINT (-40.378081 -2.806355)'))) / (select extract(epoch from '2026-06-08 13:12:49'::timestamp) - extract(epoch from '2026-06-08 13:12: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'), 46728, 'SRID=4674;POINT (-40.378273 -2.806391)', '2026-06-08 13:12:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378081 -2.806355)'), GeomFromEWKT('SRID=4674;POINT (-40.378273 -2.806391)'))) / (select extract(epoch from '2026-06-08 13:12:57'::timestamp) - extract(epoch from '2026-06-08 13:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378081 -2.806355)'), GeomFromEWKT('SRID=4674;POINT (-40.378273 -2.806391)'))) / (select extract(epoch from '2026-06-08 13:12:57'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.378426 -2.8064)', '2026-06-08 13:13:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378273 -2.806391)'), GeomFromEWKT('SRID=4674;POINT (-40.378426 -2.8064)'))) / (select extract(epoch from '2026-06-08 13:13:04'::timestamp) - extract(epoch from '2026-06-08 13:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378273 -2.806391)'), GeomFromEWKT('SRID=4674;POINT (-40.378426 -2.8064)'))) / (select extract(epoch from '2026-06-08 13:13:04'::timestamp) - extract(epoch from '2026-06-08 13:12: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'), 46728, 'SRID=4674;POINT (-40.378554 -2.806415)', '2026-06-08 13:13:10', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378426 -2.8064)'), GeomFromEWKT('SRID=4674;POINT (-40.378554 -2.806415)'))) / (select extract(epoch from '2026-06-08 13:13:10'::timestamp) - extract(epoch from '2026-06-08 13:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378426 -2.8064)'), GeomFromEWKT('SRID=4674;POINT (-40.378554 -2.806415)'))) / (select extract(epoch from '2026-06-08 13:13:10'::timestamp) - extract(epoch from '2026-06-08 13:13:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.378721 -2.806395)', '2026-06-08 13:13:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378554 -2.806415)'), GeomFromEWKT('SRID=4674;POINT (-40.378721 -2.806395)'))) / (select extract(epoch from '2026-06-08 13:13:18'::timestamp) - extract(epoch from '2026-06-08 13:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378554 -2.806415)'), GeomFromEWKT('SRID=4674;POINT (-40.378721 -2.806395)'))) / (select extract(epoch from '2026-06-08 13:13:18'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.378835 -2.806352)', '2026-06-08 13:13:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378721 -2.806395)'), GeomFromEWKT('SRID=4674;POINT (-40.378835 -2.806352)'))) / (select extract(epoch from '2026-06-08 13:13:24'::timestamp) - extract(epoch from '2026-06-08 13:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378721 -2.806395)'), GeomFromEWKT('SRID=4674;POINT (-40.378835 -2.806352)'))) / (select extract(epoch from '2026-06-08 13:13:24'::timestamp) - extract(epoch from '2026-06-08 13:13:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.378958 -2.806312)', '2026-06-08 13:13:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378835 -2.806352)'), GeomFromEWKT('SRID=4674;POINT (-40.378958 -2.806312)'))) / (select extract(epoch from '2026-06-08 13:13:30'::timestamp) - extract(epoch from '2026-06-08 13:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378835 -2.806352)'), GeomFromEWKT('SRID=4674;POINT (-40.378958 -2.806312)'))) / (select extract(epoch from '2026-06-08 13:13:30'::timestamp) - extract(epoch from '2026-06-08 13:13: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'), 46728, 'SRID=4674;POINT (-40.379134 -2.806277)', '2026-06-08 13:13:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378958 -2.806312)'), GeomFromEWKT('SRID=4674;POINT (-40.379134 -2.806277)'))) / (select extract(epoch from '2026-06-08 13:13:38'::timestamp) - extract(epoch from '2026-06-08 13:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378958 -2.806312)'), GeomFromEWKT('SRID=4674;POINT (-40.379134 -2.806277)'))) / (select extract(epoch from '2026-06-08 13:13:38'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.379305 -2.806235)', '2026-06-08 13:13:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379134 -2.806277)'), GeomFromEWKT('SRID=4674;POINT (-40.379305 -2.806235)'))) / (select extract(epoch from '2026-06-08 13:13:46'::timestamp) - extract(epoch from '2026-06-08 13:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379134 -2.806277)'), GeomFromEWKT('SRID=4674;POINT (-40.379305 -2.806235)'))) / (select extract(epoch from '2026-06-08 13:13:46'::timestamp) - extract(epoch from '2026-06-08 13:13:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.379492 -2.806214)', '2026-06-08 13:13:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379305 -2.806235)'), GeomFromEWKT('SRID=4674;POINT (-40.379492 -2.806214)'))) / (select extract(epoch from '2026-06-08 13:13:54'::timestamp) - extract(epoch from '2026-06-08 13:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379305 -2.806235)'), GeomFromEWKT('SRID=4674;POINT (-40.379492 -2.806214)'))) / (select extract(epoch from '2026-06-08 13:13:54'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.37963 -2.806184)', '2026-06-08 13:14:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379492 -2.806214)'), GeomFromEWKT('SRID=4674;POINT (-40.37963 -2.806184)'))) / (select extract(epoch from '2026-06-08 13:14:00'::timestamp) - extract(epoch from '2026-06-08 13:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379492 -2.806214)'), GeomFromEWKT('SRID=4674;POINT (-40.37963 -2.806184)'))) / (select extract(epoch from '2026-06-08 13:14:00'::timestamp) - extract(epoch from '2026-06-08 13:13: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'), 46728, 'SRID=4674;POINT (-40.37974 -2.806145)', '2026-06-08 13:14:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37963 -2.806184)'), GeomFromEWKT('SRID=4674;POINT (-40.37974 -2.806145)'))) / (select extract(epoch from '2026-06-08 13:14:05'::timestamp) - extract(epoch from '2026-06-08 13:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37963 -2.806184)'), GeomFromEWKT('SRID=4674;POINT (-40.37974 -2.806145)'))) / (select extract(epoch from '2026-06-08 13:14:05'::timestamp) - extract(epoch from '2026-06-08 13:14:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.379872 -2.806094)', '2026-06-08 13:14:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37974 -2.806145)'), GeomFromEWKT('SRID=4674;POINT (-40.379872 -2.806094)'))) / (select extract(epoch from '2026-06-08 13:14:11'::timestamp) - extract(epoch from '2026-06-08 13:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37974 -2.806145)'), GeomFromEWKT('SRID=4674;POINT (-40.379872 -2.806094)'))) / (select extract(epoch from '2026-06-08 13:14:11'::timestamp) - extract(epoch from '2026-06-08 13:14:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.380037 -2.806067)', '2026-06-08 13:14:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379872 -2.806094)'), GeomFromEWKT('SRID=4674;POINT (-40.380037 -2.806067)'))) / (select extract(epoch from '2026-06-08 13:14:18'::timestamp) - extract(epoch from '2026-06-08 13:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379872 -2.806094)'), GeomFromEWKT('SRID=4674;POINT (-40.380037 -2.806067)'))) / (select extract(epoch from '2026-06-08 13:14:18'::timestamp) - extract(epoch from '2026-06-08 13:14:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.38022 -2.806048)', '2026-06-08 13:14:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380037 -2.806067)'), GeomFromEWKT('SRID=4674;POINT (-40.38022 -2.806048)'))) / (select extract(epoch from '2026-06-08 13:14:26'::timestamp) - extract(epoch from '2026-06-08 13:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380037 -2.806067)'), GeomFromEWKT('SRID=4674;POINT (-40.38022 -2.806048)'))) / (select extract(epoch from '2026-06-08 13:14:26'::timestamp) - extract(epoch from '2026-06-08 13:14: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'), 46728, 'SRID=4674;POINT (-40.380382 -2.806006)', '2026-06-08 13:14:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38022 -2.806048)'), GeomFromEWKT('SRID=4674;POINT (-40.380382 -2.806006)'))) / (select extract(epoch from '2026-06-08 13:14:34'::timestamp) - extract(epoch from '2026-06-08 13:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38022 -2.806048)'), GeomFromEWKT('SRID=4674;POINT (-40.380382 -2.806006)'))) / (select extract(epoch from '2026-06-08 13:14:34'::timestamp) - extract(epoch from '2026-06-08 13:14:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.380545 -2.805979)', '2026-06-08 13:14:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380382 -2.806006)'), GeomFromEWKT('SRID=4674;POINT (-40.380545 -2.805979)'))) / (select extract(epoch from '2026-06-08 13:14:42'::timestamp) - extract(epoch from '2026-06-08 13:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380382 -2.806006)'), GeomFromEWKT('SRID=4674;POINT (-40.380545 -2.805979)'))) / (select extract(epoch from '2026-06-08 13:14:42'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.380676 -2.805967)', '2026-06-08 13:14:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380545 -2.805979)'), GeomFromEWKT('SRID=4674;POINT (-40.380676 -2.805967)'))) / (select extract(epoch from '2026-06-08 13:14:48'::timestamp) - extract(epoch from '2026-06-08 13:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380545 -2.805979)'), GeomFromEWKT('SRID=4674;POINT (-40.380676 -2.805967)'))) / (select extract(epoch from '2026-06-08 13:14:48'::timestamp) - extract(epoch from '2026-06-08 13:14:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.38081 -2.805967)', '2026-06-08 13:14:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380676 -2.805967)'), GeomFromEWKT('SRID=4674;POINT (-40.38081 -2.805967)'))) / (select extract(epoch from '2026-06-08 13:14:54'::timestamp) - extract(epoch from '2026-06-08 13:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380676 -2.805967)'), GeomFromEWKT('SRID=4674;POINT (-40.38081 -2.805967)'))) / (select extract(epoch from '2026-06-08 13:14:54'::timestamp) - extract(epoch from '2026-06-08 13:14:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.38101 -2.805962)', '2026-06-08 13:15:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38081 -2.805967)'), GeomFromEWKT('SRID=4674;POINT (-40.38101 -2.805962)'))) / (select extract(epoch from '2026-06-08 13:15:03'::timestamp) - extract(epoch from '2026-06-08 13:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38081 -2.805967)'), GeomFromEWKT('SRID=4674;POINT (-40.38101 -2.805962)'))) / (select extract(epoch from '2026-06-08 13:15:03'::timestamp) - extract(epoch from '2026-06-08 13:14: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'), 46728, 'SRID=4674;POINT (-40.381176 -2.805957)', '2026-06-08 13:15:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38101 -2.805962)'), GeomFromEWKT('SRID=4674;POINT (-40.381176 -2.805957)'))) / (select extract(epoch from '2026-06-08 13:15:11'::timestamp) - extract(epoch from '2026-06-08 13:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38101 -2.805962)'), GeomFromEWKT('SRID=4674;POINT (-40.381176 -2.805957)'))) / (select extract(epoch from '2026-06-08 13:15:11'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.381321 -2.805971)', '2026-06-08 13:15:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381176 -2.805957)'), GeomFromEWKT('SRID=4674;POINT (-40.381321 -2.805971)'))) / (select extract(epoch from '2026-06-08 13:15:18'::timestamp) - extract(epoch from '2026-06-08 13:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381176 -2.805957)'), GeomFromEWKT('SRID=4674;POINT (-40.381321 -2.805971)'))) / (select extract(epoch from '2026-06-08 13:15:18'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.381483 -2.805992)', '2026-06-08 13:15:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381321 -2.805971)'), GeomFromEWKT('SRID=4674;POINT (-40.381483 -2.805992)'))) / (select extract(epoch from '2026-06-08 13:15:26'::timestamp) - extract(epoch from '2026-06-08 13:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381321 -2.805971)'), GeomFromEWKT('SRID=4674;POINT (-40.381483 -2.805992)'))) / (select extract(epoch from '2026-06-08 13:15:26'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.381632 -2.806004)', '2026-06-08 13:15:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381483 -2.805992)'), GeomFromEWKT('SRID=4674;POINT (-40.381632 -2.806004)'))) / (select extract(epoch from '2026-06-08 13:15:34'::timestamp) - extract(epoch from '2026-06-08 13:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381483 -2.805992)'), GeomFromEWKT('SRID=4674;POINT (-40.381632 -2.806004)'))) / (select extract(epoch from '2026-06-08 13:15:34'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.381773 -2.806016)', '2026-06-08 13:15:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381632 -2.806004)'), GeomFromEWKT('SRID=4674;POINT (-40.381773 -2.806016)'))) / (select extract(epoch from '2026-06-08 13:15:42'::timestamp) - extract(epoch from '2026-06-08 13:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381632 -2.806004)'), GeomFromEWKT('SRID=4674;POINT (-40.381773 -2.806016)'))) / (select extract(epoch from '2026-06-08 13:15:42'::timestamp) - extract(epoch from '2026-06-08 13:15: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'), 46728, 'SRID=4674;POINT (-40.381879 -2.806032)', '2026-06-08 13:15:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381773 -2.806016)'), GeomFromEWKT('SRID=4674;POINT (-40.381879 -2.806032)'))) / (select extract(epoch from '2026-06-08 13:15:48'::timestamp) - extract(epoch from '2026-06-08 13:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381773 -2.806016)'), GeomFromEWKT('SRID=4674;POINT (-40.381879 -2.806032)'))) / (select extract(epoch from '2026-06-08 13:15:48'::timestamp) - extract(epoch from '2026-06-08 13:15:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.382013 -2.806053)', '2026-06-08 13:15:55', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381879 -2.806032)'), GeomFromEWKT('SRID=4674;POINT (-40.382013 -2.806053)'))) / (select extract(epoch from '2026-06-08 13:15:55'::timestamp) - extract(epoch from '2026-06-08 13:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381879 -2.806032)'), GeomFromEWKT('SRID=4674;POINT (-40.382013 -2.806053)'))) / (select extract(epoch from '2026-06-08 13:15:55'::timestamp) - extract(epoch from '2026-06-08 13:15: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'), 46728, 'SRID=4674;POINT (-40.382155 -2.806071)', '2026-06-08 13:16:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382013 -2.806053)'), GeomFromEWKT('SRID=4674;POINT (-40.382155 -2.806071)'))) / (select extract(epoch from '2026-06-08 13:16:02'::timestamp) - extract(epoch from '2026-06-08 13:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382013 -2.806053)'), GeomFromEWKT('SRID=4674;POINT (-40.382155 -2.806071)'))) / (select extract(epoch from '2026-06-08 13:16:02'::timestamp) - extract(epoch from '2026-06-08 13:15:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.382263 -2.806094)', '2026-06-08 13:16:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382155 -2.806071)'), GeomFromEWKT('SRID=4674;POINT (-40.382263 -2.806094)'))) / (select extract(epoch from '2026-06-08 13:16:07'::timestamp) - extract(epoch from '2026-06-08 13:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382155 -2.806071)'), GeomFromEWKT('SRID=4674;POINT (-40.382263 -2.806094)'))) / (select extract(epoch from '2026-06-08 13:16:07'::timestamp) - extract(epoch from '2026-06-08 13:16: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'), 46728, 'SRID=4674;POINT (-40.382399 -2.806105)', '2026-06-08 13:16:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382263 -2.806094)'), GeomFromEWKT('SRID=4674;POINT (-40.382399 -2.806105)'))) / (select extract(epoch from '2026-06-08 13:16:14'::timestamp) - extract(epoch from '2026-06-08 13:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382263 -2.806094)'), GeomFromEWKT('SRID=4674;POINT (-40.382399 -2.806105)'))) / (select extract(epoch from '2026-06-08 13:16:14'::timestamp) - extract(epoch from '2026-06-08 13:16: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'), 46728, 'SRID=4674;POINT (-40.382558 -2.806114)', '2026-06-08 13:16:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382399 -2.806105)'), GeomFromEWKT('SRID=4674;POINT (-40.382558 -2.806114)'))) / (select extract(epoch from '2026-06-08 13:16:22'::timestamp) - extract(epoch from '2026-06-08 13:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382399 -2.806105)'), GeomFromEWKT('SRID=4674;POINT (-40.382558 -2.806114)'))) / (select extract(epoch from '2026-06-08 13:16:22'::timestamp) - extract(epoch from '2026-06-08 13:16: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'), 46728, 'SRID=4674;POINT (-40.38273 -2.806126)', '2026-06-08 13:16:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382558 -2.806114)'), GeomFromEWKT('SRID=4674;POINT (-40.38273 -2.806126)'))) / (select extract(epoch from '2026-06-08 13:16:31'::timestamp) - extract(epoch from '2026-06-08 13:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382558 -2.806114)'), GeomFromEWKT('SRID=4674;POINT (-40.38273 -2.806126)'))) / (select extract(epoch from '2026-06-08 13:16:31'::timestamp) - extract(epoch from '2026-06-08 13:16:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.38287 -2.806127)', '2026-06-08 13:16:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38273 -2.806126)'), GeomFromEWKT('SRID=4674;POINT (-40.38287 -2.806127)'))) / (select extract(epoch from '2026-06-08 13:16:38'::timestamp) - extract(epoch from '2026-06-08 13:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38273 -2.806126)'), GeomFromEWKT('SRID=4674;POINT (-40.38287 -2.806127)'))) / (select extract(epoch from '2026-06-08 13:16:38'::timestamp) - extract(epoch from '2026-06-08 13:16: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'), 46728, 'SRID=4674;POINT (-40.383007 -2.806129)', '2026-06-08 13:16:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38287 -2.806127)'), GeomFromEWKT('SRID=4674;POINT (-40.383007 -2.806129)'))) / (select extract(epoch from '2026-06-08 13:16:45'::timestamp) - extract(epoch from '2026-06-08 13:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38287 -2.806127)'), GeomFromEWKT('SRID=4674;POINT (-40.383007 -2.806129)'))) / (select extract(epoch from '2026-06-08 13:16:45'::timestamp) - extract(epoch from '2026-06-08 13:16:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.383154 -2.80613)', '2026-06-08 13:16:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383007 -2.806129)'), GeomFromEWKT('SRID=4674;POINT (-40.383154 -2.80613)'))) / (select extract(epoch from '2026-06-08 13:16:52'::timestamp) - extract(epoch from '2026-06-08 13:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383007 -2.806129)'), GeomFromEWKT('SRID=4674;POINT (-40.383154 -2.80613)'))) / (select extract(epoch from '2026-06-08 13:16:52'::timestamp) - extract(epoch from '2026-06-08 13:16:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.383304 -2.806129)', '2026-06-08 13:16:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383154 -2.80613)'), GeomFromEWKT('SRID=4674;POINT (-40.383304 -2.806129)'))) / (select extract(epoch from '2026-06-08 13:16:59'::timestamp) - extract(epoch from '2026-06-08 13:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383154 -2.80613)'), GeomFromEWKT('SRID=4674;POINT (-40.383304 -2.806129)'))) / (select extract(epoch from '2026-06-08 13:16:59'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.383433 -2.806134)', '2026-06-08 13:17:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383304 -2.806129)'), GeomFromEWKT('SRID=4674;POINT (-40.383433 -2.806134)'))) / (select extract(epoch from '2026-06-08 13:17:05'::timestamp) - extract(epoch from '2026-06-08 13:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383304 -2.806129)'), GeomFromEWKT('SRID=4674;POINT (-40.383433 -2.806134)'))) / (select extract(epoch from '2026-06-08 13:17:05'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.38358 -2.806134)', '2026-06-08 13:17:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383433 -2.806134)'), GeomFromEWKT('SRID=4674;POINT (-40.38358 -2.806134)'))) / (select extract(epoch from '2026-06-08 13:17:12'::timestamp) - extract(epoch from '2026-06-08 13:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383433 -2.806134)'), GeomFromEWKT('SRID=4674;POINT (-40.38358 -2.806134)'))) / (select extract(epoch from '2026-06-08 13:17:12'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.383746 -2.806133)', '2026-06-08 13:17:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38358 -2.806134)'), GeomFromEWKT('SRID=4674;POINT (-40.383746 -2.806133)'))) / (select extract(epoch from '2026-06-08 13:17:20'::timestamp) - extract(epoch from '2026-06-08 13:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38358 -2.806134)'), GeomFromEWKT('SRID=4674;POINT (-40.383746 -2.806133)'))) / (select extract(epoch from '2026-06-08 13:17:20'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.383875 -2.806126)', '2026-06-08 13:17:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383746 -2.806133)'), GeomFromEWKT('SRID=4674;POINT (-40.383875 -2.806126)'))) / (select extract(epoch from '2026-06-08 13:17:26'::timestamp) - extract(epoch from '2026-06-08 13:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383746 -2.806133)'), GeomFromEWKT('SRID=4674;POINT (-40.383875 -2.806126)'))) / (select extract(epoch from '2026-06-08 13:17:26'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.384014 -2.806123)', '2026-06-08 13:17:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383875 -2.806126)'), GeomFromEWKT('SRID=4674;POINT (-40.384014 -2.806123)'))) / (select extract(epoch from '2026-06-08 13:17:32'::timestamp) - extract(epoch from '2026-06-08 13:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383875 -2.806126)'), GeomFromEWKT('SRID=4674;POINT (-40.384014 -2.806123)'))) / (select extract(epoch from '2026-06-08 13:17:32'::timestamp) - extract(epoch from '2026-06-08 13:17: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'), 46728, 'SRID=4674;POINT (-40.3842 -2.806119)', '2026-06-08 13:17:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384014 -2.806123)'), GeomFromEWKT('SRID=4674;POINT (-40.3842 -2.806119)'))) / (select extract(epoch from '2026-06-08 13:17:40'::timestamp) - extract(epoch from '2026-06-08 13:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384014 -2.806123)'), GeomFromEWKT('SRID=4674;POINT (-40.3842 -2.806119)'))) / (select extract(epoch from '2026-06-08 13:17:40'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.384374 -2.80612)', '2026-06-08 13:17:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3842 -2.806119)'), GeomFromEWKT('SRID=4674;POINT (-40.384374 -2.80612)'))) / (select extract(epoch from '2026-06-08 13:17:48'::timestamp) - extract(epoch from '2026-06-08 13:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3842 -2.806119)'), GeomFromEWKT('SRID=4674;POINT (-40.384374 -2.80612)'))) / (select extract(epoch from '2026-06-08 13:17:48'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.384491 -2.806131)', '2026-06-08 13:17:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384374 -2.80612)'), GeomFromEWKT('SRID=4674;POINT (-40.384491 -2.806131)'))) / (select extract(epoch from '2026-06-08 13:17:53'::timestamp) - extract(epoch from '2026-06-08 13:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384374 -2.80612)'), GeomFromEWKT('SRID=4674;POINT (-40.384491 -2.806131)'))) / (select extract(epoch from '2026-06-08 13:17:53'::timestamp) - extract(epoch from '2026-06-08 13:17:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.384658 -2.806139)', '2026-06-08 13:18:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384491 -2.806131)'), GeomFromEWKT('SRID=4674;POINT (-40.384658 -2.806139)'))) / (select extract(epoch from '2026-06-08 13:18:01'::timestamp) - extract(epoch from '2026-06-08 13:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384491 -2.806131)'), GeomFromEWKT('SRID=4674;POINT (-40.384658 -2.806139)'))) / (select extract(epoch from '2026-06-08 13:18:01'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.384862 -2.806159)', '2026-06-08 13:18:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384658 -2.806139)'), GeomFromEWKT('SRID=4674;POINT (-40.384862 -2.806159)'))) / (select extract(epoch from '2026-06-08 13:18:10'::timestamp) - extract(epoch from '2026-06-08 13:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384658 -2.806139)'), GeomFromEWKT('SRID=4674;POINT (-40.384862 -2.806159)'))) / (select extract(epoch from '2026-06-08 13:18:10'::timestamp) - extract(epoch from '2026-06-08 13:18:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.385022 -2.806169)', '2026-06-08 13:18:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384862 -2.806159)'), GeomFromEWKT('SRID=4674;POINT (-40.385022 -2.806169)'))) / (select extract(epoch from '2026-06-08 13:18:17'::timestamp) - extract(epoch from '2026-06-08 13:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384862 -2.806159)'), GeomFromEWKT('SRID=4674;POINT (-40.385022 -2.806169)'))) / (select extract(epoch from '2026-06-08 13:18:17'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.38513 -2.806169)', '2026-06-08 13:18:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385022 -2.806169)'), GeomFromEWKT('SRID=4674;POINT (-40.38513 -2.806169)'))) / (select extract(epoch from '2026-06-08 13:18:22'::timestamp) - extract(epoch from '2026-06-08 13:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385022 -2.806169)'), GeomFromEWKT('SRID=4674;POINT (-40.38513 -2.806169)'))) / (select extract(epoch from '2026-06-08 13:18:22'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.385265 -2.806157)', '2026-06-08 13:18:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38513 -2.806169)'), GeomFromEWKT('SRID=4674;POINT (-40.385265 -2.806157)'))) / (select extract(epoch from '2026-06-08 13:18:28'::timestamp) - extract(epoch from '2026-06-08 13:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38513 -2.806169)'), GeomFromEWKT('SRID=4674;POINT (-40.385265 -2.806157)'))) / (select extract(epoch from '2026-06-08 13:18:28'::timestamp) - extract(epoch from '2026-06-08 13:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.385423 -2.806139)', '2026-06-08 13:18:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385265 -2.806157)'), GeomFromEWKT('SRID=4674;POINT (-40.385423 -2.806139)'))) / (select extract(epoch from '2026-06-08 13:18:35'::timestamp) - extract(epoch from '2026-06-08 13:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385265 -2.806157)'), GeomFromEWKT('SRID=4674;POINT (-40.385423 -2.806139)'))) / (select extract(epoch from '2026-06-08 13:18:35'::timestamp) - extract(epoch from '2026-06-08 13:18: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'), 46728, 'SRID=4674;POINT (-40.385599 -2.80612)', '2026-06-08 13:18:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385423 -2.806139)'), GeomFromEWKT('SRID=4674;POINT (-40.385599 -2.80612)'))) / (select extract(epoch from '2026-06-08 13:18:43'::timestamp) - extract(epoch from '2026-06-08 13:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385423 -2.806139)'), GeomFromEWKT('SRID=4674;POINT (-40.385599 -2.80612)'))) / (select extract(epoch from '2026-06-08 13:18:43'::timestamp) - extract(epoch from '2026-06-08 13:18: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'), 46728, 'SRID=4674;POINT (-40.385751 -2.806104)', '2026-06-08 13:18:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385599 -2.80612)'), GeomFromEWKT('SRID=4674;POINT (-40.385751 -2.806104)'))) / (select extract(epoch from '2026-06-08 13:18:50'::timestamp) - extract(epoch from '2026-06-08 13:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385599 -2.80612)'), GeomFromEWKT('SRID=4674;POINT (-40.385751 -2.806104)'))) / (select extract(epoch from '2026-06-08 13:18:50'::timestamp) - extract(epoch from '2026-06-08 13:18: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'), 46728, 'SRID=4674;POINT (-40.385914 -2.806091)', '2026-06-08 13:18:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385751 -2.806104)'), GeomFromEWKT('SRID=4674;POINT (-40.385914 -2.806091)'))) / (select extract(epoch from '2026-06-08 13:18:57'::timestamp) - extract(epoch from '2026-06-08 13:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385751 -2.806104)'), GeomFromEWKT('SRID=4674;POINT (-40.385914 -2.806091)'))) / (select extract(epoch from '2026-06-08 13:18:57'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.386116 -2.80607)', '2026-06-08 13:19:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385914 -2.806091)'), GeomFromEWKT('SRID=4674;POINT (-40.386116 -2.80607)'))) / (select extract(epoch from '2026-06-08 13:19:06'::timestamp) - extract(epoch from '2026-06-08 13:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385914 -2.806091)'), GeomFromEWKT('SRID=4674;POINT (-40.386116 -2.80607)'))) / (select extract(epoch from '2026-06-08 13:19:06'::timestamp) - extract(epoch from '2026-06-08 13:18: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'), 46728, 'SRID=4674;POINT (-40.38627 -2.806054)', '2026-06-08 13:19:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386116 -2.80607)'), GeomFromEWKT('SRID=4674;POINT (-40.38627 -2.806054)'))) / (select extract(epoch from '2026-06-08 13:19:14'::timestamp) - extract(epoch from '2026-06-08 13:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386116 -2.80607)'), GeomFromEWKT('SRID=4674;POINT (-40.38627 -2.806054)'))) / (select extract(epoch from '2026-06-08 13:19:14'::timestamp) - extract(epoch from '2026-06-08 13:19: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'), 46728, 'SRID=4674;POINT (-40.386421 -2.806042)', '2026-06-08 13:19:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38627 -2.806054)'), GeomFromEWKT('SRID=4674;POINT (-40.386421 -2.806042)'))) / (select extract(epoch from '2026-06-08 13:19:22'::timestamp) - extract(epoch from '2026-06-08 13:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38627 -2.806054)'), GeomFromEWKT('SRID=4674;POINT (-40.386421 -2.806042)'))) / (select extract(epoch from '2026-06-08 13:19:22'::timestamp) - extract(epoch from '2026-06-08 13:19:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.386565 -2.806041)', '2026-06-08 13:19:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386421 -2.806042)'), GeomFromEWKT('SRID=4674;POINT (-40.386565 -2.806041)'))) / (select extract(epoch from '2026-06-08 13:19:29'::timestamp) - extract(epoch from '2026-06-08 13:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386421 -2.806042)'), GeomFromEWKT('SRID=4674;POINT (-40.386565 -2.806041)'))) / (select extract(epoch from '2026-06-08 13:19:29'::timestamp) - extract(epoch from '2026-06-08 13:19: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'), 46728, 'SRID=4674;POINT (-40.386693 -2.806036)', '2026-06-08 13:19:35', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386565 -2.806041)'), GeomFromEWKT('SRID=4674;POINT (-40.386693 -2.806036)'))) / (select extract(epoch from '2026-06-08 13:19:35'::timestamp) - extract(epoch from '2026-06-08 13:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386565 -2.806041)'), GeomFromEWKT('SRID=4674;POINT (-40.386693 -2.806036)'))) / (select extract(epoch from '2026-06-08 13:19:35'::timestamp) - extract(epoch from '2026-06-08 13:19: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'), 46728, 'SRID=4674;POINT (-40.386888 -2.806015)', '2026-06-08 13:19:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386693 -2.806036)'), GeomFromEWKT('SRID=4674;POINT (-40.386888 -2.806015)'))) / (select extract(epoch from '2026-06-08 13:19:43'::timestamp) - extract(epoch from '2026-06-08 13:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386693 -2.806036)'), GeomFromEWKT('SRID=4674;POINT (-40.386888 -2.806015)'))) / (select extract(epoch from '2026-06-08 13:19:43'::timestamp) - extract(epoch from '2026-06-08 13:19:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.387026 -2.805996)', '2026-06-08 13:19:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386888 -2.806015)'), GeomFromEWKT('SRID=4674;POINT (-40.387026 -2.805996)'))) / (select extract(epoch from '2026-06-08 13:19:49'::timestamp) - extract(epoch from '2026-06-08 13:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386888 -2.806015)'), GeomFromEWKT('SRID=4674;POINT (-40.387026 -2.805996)'))) / (select extract(epoch from '2026-06-08 13:19:49'::timestamp) - extract(epoch from '2026-06-08 13:19:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.387201 -2.805981)', '2026-06-08 13:19:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387026 -2.805996)'), GeomFromEWKT('SRID=4674;POINT (-40.387201 -2.805981)'))) / (select extract(epoch from '2026-06-08 13:19:57'::timestamp) - extract(epoch from '2026-06-08 13:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387026 -2.805996)'), GeomFromEWKT('SRID=4674;POINT (-40.387201 -2.805981)'))) / (select extract(epoch from '2026-06-08 13:19:57'::timestamp) - extract(epoch from '2026-06-08 13:19:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.387339 -2.805978)', '2026-06-08 13:20:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387201 -2.805981)'), GeomFromEWKT('SRID=4674;POINT (-40.387339 -2.805978)'))) / (select extract(epoch from '2026-06-08 13:20:04'::timestamp) - extract(epoch from '2026-06-08 13:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387201 -2.805981)'), GeomFromEWKT('SRID=4674;POINT (-40.387339 -2.805978)'))) / (select extract(epoch from '2026-06-08 13:20:04'::timestamp) - extract(epoch from '2026-06-08 13:19:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.387496 -2.805977)', '2026-06-08 13:20:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387339 -2.805978)'), GeomFromEWKT('SRID=4674;POINT (-40.387496 -2.805977)'))) / (select extract(epoch from '2026-06-08 13:20:12'::timestamp) - extract(epoch from '2026-06-08 13:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387339 -2.805978)'), GeomFromEWKT('SRID=4674;POINT (-40.387496 -2.805977)'))) / (select extract(epoch from '2026-06-08 13:20:12'::timestamp) - extract(epoch from '2026-06-08 13:20:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.387616 -2.805972)', '2026-06-08 13:20:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387496 -2.805977)'), GeomFromEWKT('SRID=4674;POINT (-40.387616 -2.805972)'))) / (select extract(epoch from '2026-06-08 13:20:18'::timestamp) - extract(epoch from '2026-06-08 13:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387496 -2.805977)'), GeomFromEWKT('SRID=4674;POINT (-40.387616 -2.805972)'))) / (select extract(epoch from '2026-06-08 13:20:18'::timestamp) - extract(epoch from '2026-06-08 13:20: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'), 46728, 'SRID=4674;POINT (-40.387762 -2.805967)', '2026-06-08 13:20:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387616 -2.805972)'), GeomFromEWKT('SRID=4674;POINT (-40.387762 -2.805967)'))) / (select extract(epoch from '2026-06-08 13:20:26'::timestamp) - extract(epoch from '2026-06-08 13:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387616 -2.805972)'), GeomFromEWKT('SRID=4674;POINT (-40.387762 -2.805967)'))) / (select extract(epoch from '2026-06-08 13:20:26'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.387963 -2.805967)', '2026-06-08 13:20:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387762 -2.805967)'), GeomFromEWKT('SRID=4674;POINT (-40.387963 -2.805967)'))) / (select extract(epoch from '2026-06-08 13:20:37'::timestamp) - extract(epoch from '2026-06-08 13:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387762 -2.805967)'), GeomFromEWKT('SRID=4674;POINT (-40.387963 -2.805967)'))) / (select extract(epoch from '2026-06-08 13:20:37'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.388089 -2.805973)', '2026-06-08 13:20:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387963 -2.805967)'), GeomFromEWKT('SRID=4674;POINT (-40.388089 -2.805973)'))) / (select extract(epoch from '2026-06-08 13:20:44'::timestamp) - extract(epoch from '2026-06-08 13:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387963 -2.805967)'), GeomFromEWKT('SRID=4674;POINT (-40.388089 -2.805973)'))) / (select extract(epoch from '2026-06-08 13:20:44'::timestamp) - extract(epoch from '2026-06-08 13:20: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'), 46728, 'SRID=4674;POINT (-40.388256 -2.805978)', '2026-06-08 13:20:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388089 -2.805973)'), GeomFromEWKT('SRID=4674;POINT (-40.388256 -2.805978)'))) / (select extract(epoch from '2026-06-08 13:20:53'::timestamp) - extract(epoch from '2026-06-08 13:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388089 -2.805973)'), GeomFromEWKT('SRID=4674;POINT (-40.388256 -2.805978)'))) / (select extract(epoch from '2026-06-08 13:20:53'::timestamp) - extract(epoch from '2026-06-08 13:20:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.388392 -2.80598)', '2026-06-08 13:21:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388256 -2.805978)'), GeomFromEWKT('SRID=4674;POINT (-40.388392 -2.80598)'))) / (select extract(epoch from '2026-06-08 13:21:00'::timestamp) - extract(epoch from '2026-06-08 13:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388256 -2.805978)'), GeomFromEWKT('SRID=4674;POINT (-40.388392 -2.80598)'))) / (select extract(epoch from '2026-06-08 13:21:00'::timestamp) - extract(epoch from '2026-06-08 13:20: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'), 46728, 'SRID=4674;POINT (-40.38852 -2.805975)', '2026-06-08 13:21:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388392 -2.80598)'), GeomFromEWKT('SRID=4674;POINT (-40.38852 -2.805975)'))) / (select extract(epoch from '2026-06-08 13:21:07'::timestamp) - extract(epoch from '2026-06-08 13:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388392 -2.80598)'), GeomFromEWKT('SRID=4674;POINT (-40.38852 -2.805975)'))) / (select extract(epoch from '2026-06-08 13:21:07'::timestamp) - extract(epoch from '2026-06-08 13:21: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'), 46728, 'SRID=4674;POINT (-40.388674 -2.805967)', '2026-06-08 13:21:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38852 -2.805975)'), GeomFromEWKT('SRID=4674;POINT (-40.388674 -2.805967)'))) / (select extract(epoch from '2026-06-08 13:21:15'::timestamp) - extract(epoch from '2026-06-08 13:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38852 -2.805975)'), GeomFromEWKT('SRID=4674;POINT (-40.388674 -2.805967)'))) / (select extract(epoch from '2026-06-08 13:21:15'::timestamp) - extract(epoch from '2026-06-08 13:21: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'), 46728, 'SRID=4674;POINT (-40.388804 -2.805969)', '2026-06-08 13:21:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388674 -2.805967)'), GeomFromEWKT('SRID=4674;POINT (-40.388804 -2.805969)'))) / (select extract(epoch from '2026-06-08 13:21:22'::timestamp) - extract(epoch from '2026-06-08 13:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388674 -2.805967)'), GeomFromEWKT('SRID=4674;POINT (-40.388804 -2.805969)'))) / (select extract(epoch from '2026-06-08 13:21:22'::timestamp) - extract(epoch from '2026-06-08 13:21:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.388966 -2.805965)', '2026-06-08 13:21:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388804 -2.805969)'), GeomFromEWKT('SRID=4674;POINT (-40.388966 -2.805965)'))) / (select extract(epoch from '2026-06-08 13:21:31'::timestamp) - extract(epoch from '2026-06-08 13:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388804 -2.805969)'), GeomFromEWKT('SRID=4674;POINT (-40.388966 -2.805965)'))) / (select extract(epoch from '2026-06-08 13:21:31'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.389088 -2.805961)', '2026-06-08 13:21:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388966 -2.805965)'), GeomFromEWKT('SRID=4674;POINT (-40.389088 -2.805961)'))) / (select extract(epoch from '2026-06-08 13:21:38'::timestamp) - extract(epoch from '2026-06-08 13:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388966 -2.805965)'), GeomFromEWKT('SRID=4674;POINT (-40.389088 -2.805961)'))) / (select extract(epoch from '2026-06-08 13:21:38'::timestamp) - extract(epoch from '2026-06-08 13:21:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.389215 -2.80596)', '2026-06-08 13:21:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389088 -2.805961)'), GeomFromEWKT('SRID=4674;POINT (-40.389215 -2.80596)'))) / (select extract(epoch from '2026-06-08 13:21:45'::timestamp) - extract(epoch from '2026-06-08 13:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389088 -2.805961)'), GeomFromEWKT('SRID=4674;POINT (-40.389215 -2.80596)'))) / (select extract(epoch from '2026-06-08 13:21:45'::timestamp) - extract(epoch from '2026-06-08 13:21: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'), 46728, 'SRID=4674;POINT (-40.389356 -2.805955)', '2026-06-08 13:21:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389215 -2.80596)'), GeomFromEWKT('SRID=4674;POINT (-40.389356 -2.805955)'))) / (select extract(epoch from '2026-06-08 13:21:53'::timestamp) - extract(epoch from '2026-06-08 13:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389215 -2.80596)'), GeomFromEWKT('SRID=4674;POINT (-40.389356 -2.805955)'))) / (select extract(epoch from '2026-06-08 13:21:53'::timestamp) - extract(epoch from '2026-06-08 13:21:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.389457 -2.805963)', '2026-06-08 13:21:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389356 -2.805955)'), GeomFromEWKT('SRID=4674;POINT (-40.389457 -2.805963)'))) / (select extract(epoch from '2026-06-08 13:21:59'::timestamp) - extract(epoch from '2026-06-08 13:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389356 -2.805955)'), GeomFromEWKT('SRID=4674;POINT (-40.389457 -2.805963)'))) / (select extract(epoch from '2026-06-08 13:21:59'::timestamp) - extract(epoch from '2026-06-08 13:21:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.389603 -2.805969)', '2026-06-08 13:22:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389457 -2.805963)'), GeomFromEWKT('SRID=4674;POINT (-40.389603 -2.805969)'))) / (select extract(epoch from '2026-06-08 13:22:08'::timestamp) - extract(epoch from '2026-06-08 13:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389457 -2.805963)'), GeomFromEWKT('SRID=4674;POINT (-40.389603 -2.805969)'))) / (select extract(epoch from '2026-06-08 13:22:08'::timestamp) - extract(epoch from '2026-06-08 13:21:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.389744 -2.805973)', '2026-06-08 13:22:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389603 -2.805969)'), GeomFromEWKT('SRID=4674;POINT (-40.389744 -2.805973)'))) / (select extract(epoch from '2026-06-08 13:22:17'::timestamp) - extract(epoch from '2026-06-08 13:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389603 -2.805969)'), GeomFromEWKT('SRID=4674;POINT (-40.389744 -2.805973)'))) / (select extract(epoch from '2026-06-08 13:22:17'::timestamp) - extract(epoch from '2026-06-08 13:22: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'), 46728, 'SRID=4674;POINT (-40.389875 -2.805974)', '2026-06-08 13:22:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389744 -2.805973)'), GeomFromEWKT('SRID=4674;POINT (-40.389875 -2.805974)'))) / (select extract(epoch from '2026-06-08 13:22:25'::timestamp) - extract(epoch from '2026-06-08 13:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389744 -2.805973)'), GeomFromEWKT('SRID=4674;POINT (-40.389875 -2.805974)'))) / (select extract(epoch from '2026-06-08 13:22:25'::timestamp) - extract(epoch from '2026-06-08 13:22:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.390031 -2.805976)', '2026-06-08 13:22:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389875 -2.805974)'), GeomFromEWKT('SRID=4674;POINT (-40.390031 -2.805976)'))) / (select extract(epoch from '2026-06-08 13:22:35'::timestamp) - extract(epoch from '2026-06-08 13:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389875 -2.805974)'), GeomFromEWKT('SRID=4674;POINT (-40.390031 -2.805976)'))) / (select extract(epoch from '2026-06-08 13:22:35'::timestamp) - extract(epoch from '2026-06-08 13:22:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.390092 -2.805977)', '2026-06-08 13:22:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390031 -2.805976)'), GeomFromEWKT('SRID=4674;POINT (-40.390092 -2.805977)'))) / (select extract(epoch from '2026-06-08 13:22:39'::timestamp) - extract(epoch from '2026-06-08 13:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390031 -2.805976)'), GeomFromEWKT('SRID=4674;POINT (-40.390092 -2.805977)'))) / (select extract(epoch from '2026-06-08 13:22:39'::timestamp) - extract(epoch from '2026-06-08 13:22:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.390126 -2.805978)', '2026-06-08 13:22:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390092 -2.805977)'), GeomFromEWKT('SRID=4674;POINT (-40.390126 -2.805978)'))) / (select extract(epoch from '2026-06-08 13:22:41'::timestamp) - extract(epoch from '2026-06-08 13:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390092 -2.805977)'), GeomFromEWKT('SRID=4674;POINT (-40.390126 -2.805978)'))) / (select extract(epoch from '2026-06-08 13:22:41'::timestamp) - extract(epoch from '2026-06-08 13:22:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.390249 -2.805973)', '2026-06-08 13:22:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390126 -2.805978)'), GeomFromEWKT('SRID=4674;POINT (-40.390249 -2.805973)'))) / (select extract(epoch from '2026-06-08 13:22:49'::timestamp) - extract(epoch from '2026-06-08 13:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390126 -2.805978)'), GeomFromEWKT('SRID=4674;POINT (-40.390249 -2.805973)'))) / (select extract(epoch from '2026-06-08 13:22:49'::timestamp) - extract(epoch from '2026-06-08 13:22: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'), 46728, 'SRID=4674;POINT (-40.390389 -2.805977)', '2026-06-08 13:22:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390249 -2.805973)'), GeomFromEWKT('SRID=4674;POINT (-40.390389 -2.805977)'))) / (select extract(epoch from '2026-06-08 13:22:57'::timestamp) - extract(epoch from '2026-06-08 13:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390249 -2.805973)'), GeomFromEWKT('SRID=4674;POINT (-40.390389 -2.805977)'))) / (select extract(epoch from '2026-06-08 13:22:57'::timestamp) - extract(epoch from '2026-06-08 13:22:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.390506 -2.805985)', '2026-06-08 13:23:03', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390389 -2.805977)'), GeomFromEWKT('SRID=4674;POINT (-40.390506 -2.805985)'))) / (select extract(epoch from '2026-06-08 13:23:03'::timestamp) - extract(epoch from '2026-06-08 13:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390389 -2.805977)'), GeomFromEWKT('SRID=4674;POINT (-40.390506 -2.805985)'))) / (select extract(epoch from '2026-06-08 13:23:03'::timestamp) - extract(epoch from '2026-06-08 13:22:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.390598 -2.805992)', '2026-06-08 13:23:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390506 -2.805985)'), GeomFromEWKT('SRID=4674;POINT (-40.390598 -2.805992)'))) / (select extract(epoch from '2026-06-08 13:23:09'::timestamp) - extract(epoch from '2026-06-08 13:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390506 -2.805985)'), GeomFromEWKT('SRID=4674;POINT (-40.390598 -2.805992)'))) / (select extract(epoch from '2026-06-08 13:23:09'::timestamp) - extract(epoch from '2026-06-08 13:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.390673 -2.806074)', '2026-06-08 13:23:17', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390598 -2.805992)'), GeomFromEWKT('SRID=4674;POINT (-40.390673 -2.806074)'))) / (select extract(epoch from '2026-06-08 13:23:17'::timestamp) - extract(epoch from '2026-06-08 13:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390598 -2.805992)'), GeomFromEWKT('SRID=4674;POINT (-40.390673 -2.806074)'))) / (select extract(epoch from '2026-06-08 13:23:17'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.390692 -2.806128)', '2026-06-08 13:23:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390673 -2.806074)'), GeomFromEWKT('SRID=4674;POINT (-40.390692 -2.806128)'))) / (select extract(epoch from '2026-06-08 13:23:23'::timestamp) - extract(epoch from '2026-06-08 13:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390673 -2.806074)'), GeomFromEWKT('SRID=4674;POINT (-40.390692 -2.806128)'))) / (select extract(epoch from '2026-06-08 13:23:23'::timestamp) - extract(epoch from '2026-06-08 13:23:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.390713 -2.806201)', '2026-06-08 13:23:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390692 -2.806128)'), GeomFromEWKT('SRID=4674;POINT (-40.390713 -2.806201)'))) / (select extract(epoch from '2026-06-08 13:23:34'::timestamp) - extract(epoch from '2026-06-08 13:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390692 -2.806128)'), GeomFromEWKT('SRID=4674;POINT (-40.390713 -2.806201)'))) / (select extract(epoch from '2026-06-08 13:23:34'::timestamp) - extract(epoch from '2026-06-08 13:23:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.390736 -2.806236)', '2026-06-08 13:23:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390713 -2.806201)'), GeomFromEWKT('SRID=4674;POINT (-40.390736 -2.806236)'))) / (select extract(epoch from '2026-06-08 13:23:42'::timestamp) - extract(epoch from '2026-06-08 13:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390713 -2.806201)'), GeomFromEWKT('SRID=4674;POINT (-40.390736 -2.806236)'))) / (select extract(epoch from '2026-06-08 13:23:42'::timestamp) - extract(epoch from '2026-06-08 13:23:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.390757 -2.806252)', '2026-06-08 13:23:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390736 -2.806236)'), GeomFromEWKT('SRID=4674;POINT (-40.390757 -2.806252)'))) / (select extract(epoch from '2026-06-08 13:23:48'::timestamp) - extract(epoch from '2026-06-08 13:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390736 -2.806236)'), GeomFromEWKT('SRID=4674;POINT (-40.390757 -2.806252)'))) / (select extract(epoch from '2026-06-08 13:23:48'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.390782 -2.806265)', '2026-06-08 13:23:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390757 -2.806252)'), GeomFromEWKT('SRID=4674;POINT (-40.390782 -2.806265)'))) / (select extract(epoch from '2026-06-08 13:23:54'::timestamp) - extract(epoch from '2026-06-08 13:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390757 -2.806252)'), GeomFromEWKT('SRID=4674;POINT (-40.390782 -2.806265)'))) / (select extract(epoch from '2026-06-08 13:23:54'::timestamp) - extract(epoch from '2026-06-08 13:23:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.390832 -2.806281)', '2026-06-08 13:24:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390782 -2.806265)'), GeomFromEWKT('SRID=4674;POINT (-40.390832 -2.806281)'))) / (select extract(epoch from '2026-06-08 13:24:05'::timestamp) - extract(epoch from '2026-06-08 13:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390782 -2.806265)'), GeomFromEWKT('SRID=4674;POINT (-40.390832 -2.806281)'))) / (select extract(epoch from '2026-06-08 13:24:05'::timestamp) - extract(epoch from '2026-06-08 13:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.390875 -2.806293)', '2026-06-08 13:24:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390832 -2.806281)'), GeomFromEWKT('SRID=4674;POINT (-40.390875 -2.806293)'))) / (select extract(epoch from '2026-06-08 13:24:15'::timestamp) - extract(epoch from '2026-06-08 13:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390832 -2.806281)'), GeomFromEWKT('SRID=4674;POINT (-40.390875 -2.806293)'))) / (select extract(epoch from '2026-06-08 13:24:15'::timestamp) - extract(epoch from '2026-06-08 13:24:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.390918 -2.806317)', '2026-06-08 13:24:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390875 -2.806293)'), GeomFromEWKT('SRID=4674;POINT (-40.390918 -2.806317)'))) / (select extract(epoch from '2026-06-08 13:24:26'::timestamp) - extract(epoch from '2026-06-08 13:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390875 -2.806293)'), GeomFromEWKT('SRID=4674;POINT (-40.390918 -2.806317)'))) / (select extract(epoch from '2026-06-08 13:24:26'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.390982 -2.806341)', '2026-06-08 13:24:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390918 -2.806317)'), GeomFromEWKT('SRID=4674;POINT (-40.390982 -2.806341)'))) / (select extract(epoch from '2026-06-08 13:24:40'::timestamp) - extract(epoch from '2026-06-08 13:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390918 -2.806317)'), GeomFromEWKT('SRID=4674;POINT (-40.390982 -2.806341)'))) / (select extract(epoch from '2026-06-08 13:24:40'::timestamp) - extract(epoch from '2026-06-08 13:24: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'), 46728, 'SRID=4674;POINT (-40.391081 -2.806338)', '2026-06-08 13:25:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390982 -2.806341)'), GeomFromEWKT('SRID=4674;POINT (-40.391081 -2.806338)'))) / (select extract(epoch from '2026-06-08 13:25:02'::timestamp) - extract(epoch from '2026-06-08 13:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390982 -2.806341)'), GeomFromEWKT('SRID=4674;POINT (-40.391081 -2.806338)'))) / (select extract(epoch from '2026-06-08 13:25:02'::timestamp) - extract(epoch from '2026-06-08 13:24:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.391164 -2.806304)', '2026-06-08 13:25:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391081 -2.806338)'), GeomFromEWKT('SRID=4674;POINT (-40.391164 -2.806304)'))) / (select extract(epoch from '2026-06-08 13:25:25'::timestamp) - extract(epoch from '2026-06-08 13:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391081 -2.806338)'), GeomFromEWKT('SRID=4674;POINT (-40.391164 -2.806304)'))) / (select extract(epoch from '2026-06-08 13:25:25'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.391255 -2.806251)', '2026-06-08 13:25:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391164 -2.806304)'), GeomFromEWKT('SRID=4674;POINT (-40.391255 -2.806251)'))) / (select extract(epoch from '2026-06-08 13:25:47'::timestamp) - extract(epoch from '2026-06-08 13:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391164 -2.806304)'), GeomFromEWKT('SRID=4674;POINT (-40.391255 -2.806251)'))) / (select extract(epoch from '2026-06-08 13:25:47'::timestamp) - extract(epoch from '2026-06-08 13:25:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.391366 -2.806198)', '2026-06-08 13:26:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391255 -2.806251)'), GeomFromEWKT('SRID=4674;POINT (-40.391366 -2.806198)'))) / (select extract(epoch from '2026-06-08 13:26:13'::timestamp) - extract(epoch from '2026-06-08 13:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391255 -2.806251)'), GeomFromEWKT('SRID=4674;POINT (-40.391366 -2.806198)'))) / (select extract(epoch from '2026-06-08 13:26:13'::timestamp) - extract(epoch from '2026-06-08 13:25: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'), 46728, 'SRID=4674;POINT (-40.391506 -2.806135)', '2026-06-08 13:26:42', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391366 -2.806198)'), GeomFromEWKT('SRID=4674;POINT (-40.391506 -2.806135)'))) / (select extract(epoch from '2026-06-08 13:26:42'::timestamp) - extract(epoch from '2026-06-08 13:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391366 -2.806198)'), GeomFromEWKT('SRID=4674;POINT (-40.391506 -2.806135)'))) / (select extract(epoch from '2026-06-08 13:26:42'::timestamp) - extract(epoch from '2026-06-08 13:26:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.391576 -2.80609)', '2026-06-08 13:26:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391506 -2.806135)'), GeomFromEWKT('SRID=4674;POINT (-40.391576 -2.80609)'))) / (select extract(epoch from '2026-06-08 13:26:54'::timestamp) - extract(epoch from '2026-06-08 13:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391506 -2.806135)'), GeomFromEWKT('SRID=4674;POINT (-40.391576 -2.80609)'))) / (select extract(epoch from '2026-06-08 13:26:54'::timestamp) - extract(epoch from '2026-06-08 13:26:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.391632 -2.806014)', '2026-06-08 13:27:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391576 -2.80609)'), GeomFromEWKT('SRID=4674;POINT (-40.391632 -2.806014)'))) / (select extract(epoch from '2026-06-08 13:27:05'::timestamp) - extract(epoch from '2026-06-08 13:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391576 -2.80609)'), GeomFromEWKT('SRID=4674;POINT (-40.391632 -2.806014)'))) / (select extract(epoch from '2026-06-08 13:27:05'::timestamp) - extract(epoch from '2026-06-08 13:26: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'), 46728, 'SRID=4674;POINT (-40.391637 -2.806002)', '2026-06-08 13:27:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391632 -2.806014)'), GeomFromEWKT('SRID=4674;POINT (-40.391637 -2.806002)'))) / (select extract(epoch from '2026-06-08 13:27:06'::timestamp) - extract(epoch from '2026-06-08 13:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391632 -2.806014)'), GeomFromEWKT('SRID=4674;POINT (-40.391637 -2.806002)'))) / (select extract(epoch from '2026-06-08 13:27:06'::timestamp) - extract(epoch from '2026-06-08 13:27: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'), 46728, 'SRID=4674;POINT (-40.391667 -2.805959)', '2026-06-08 13:27:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391637 -2.806002)'), GeomFromEWKT('SRID=4674;POINT (-40.391667 -2.805959)'))) / (select extract(epoch from '2026-06-08 13:27:10'::timestamp) - extract(epoch from '2026-06-08 13:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391637 -2.806002)'), GeomFromEWKT('SRID=4674;POINT (-40.391667 -2.805959)'))) / (select extract(epoch from '2026-06-08 13:27:10'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.391743 -2.805841)', '2026-06-08 13:27:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391667 -2.805959)'), GeomFromEWKT('SRID=4674;POINT (-40.391743 -2.805841)'))) / (select extract(epoch from '2026-06-08 13:27:19'::timestamp) - extract(epoch from '2026-06-08 13:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391667 -2.805959)'), GeomFromEWKT('SRID=4674;POINT (-40.391743 -2.805841)'))) / (select extract(epoch from '2026-06-08 13:27:19'::timestamp) - extract(epoch from '2026-06-08 13:27:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.391809 -2.805767)', '2026-06-08 13:27:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391743 -2.805841)'), GeomFromEWKT('SRID=4674;POINT (-40.391809 -2.805767)'))) / (select extract(epoch from '2026-06-08 13:27:24'::timestamp) - extract(epoch from '2026-06-08 13:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391743 -2.805841)'), GeomFromEWKT('SRID=4674;POINT (-40.391809 -2.805767)'))) / (select extract(epoch from '2026-06-08 13:27:24'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.391927 -2.805703)', '2026-06-08 13:27:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391809 -2.805767)'), GeomFromEWKT('SRID=4674;POINT (-40.391927 -2.805703)'))) / (select extract(epoch from '2026-06-08 13:27:30'::timestamp) - extract(epoch from '2026-06-08 13:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391809 -2.805767)'), GeomFromEWKT('SRID=4674;POINT (-40.391927 -2.805703)'))) / (select extract(epoch from '2026-06-08 13:27:30'::timestamp) - extract(epoch from '2026-06-08 13:27: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'), 46728, 'SRID=4674;POINT (-40.392042 -2.80566)', '2026-06-08 13:27:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391927 -2.805703)'), GeomFromEWKT('SRID=4674;POINT (-40.392042 -2.80566)'))) / (select extract(epoch from '2026-06-08 13:27:36'::timestamp) - extract(epoch from '2026-06-08 13:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391927 -2.805703)'), GeomFromEWKT('SRID=4674;POINT (-40.392042 -2.80566)'))) / (select extract(epoch from '2026-06-08 13:27:36'::timestamp) - extract(epoch from '2026-06-08 13:27: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'), 46728, 'SRID=4674;POINT (-40.392164 -2.805617)', '2026-06-08 13:27:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392042 -2.80566)'), GeomFromEWKT('SRID=4674;POINT (-40.392164 -2.805617)'))) / (select extract(epoch from '2026-06-08 13:27:42'::timestamp) - extract(epoch from '2026-06-08 13:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392042 -2.80566)'), GeomFromEWKT('SRID=4674;POINT (-40.392164 -2.805617)'))) / (select extract(epoch from '2026-06-08 13:27:42'::timestamp) - extract(epoch from '2026-06-08 13:27: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'), 46728, 'SRID=4674;POINT (-40.3923 -2.805551)', '2026-06-08 13:27:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392164 -2.805617)'), GeomFromEWKT('SRID=4674;POINT (-40.3923 -2.805551)'))) / (select extract(epoch from '2026-06-08 13:27:49'::timestamp) - extract(epoch from '2026-06-08 13:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392164 -2.805617)'), GeomFromEWKT('SRID=4674;POINT (-40.3923 -2.805551)'))) / (select extract(epoch from '2026-06-08 13:27:49'::timestamp) - extract(epoch from '2026-06-08 13:27:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.392427 -2.8055)', '2026-06-08 13:27:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3923 -2.805551)'), GeomFromEWKT('SRID=4674;POINT (-40.392427 -2.8055)'))) / (select extract(epoch from '2026-06-08 13:27:55'::timestamp) - extract(epoch from '2026-06-08 13:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3923 -2.805551)'), GeomFromEWKT('SRID=4674;POINT (-40.392427 -2.8055)'))) / (select extract(epoch from '2026-06-08 13:27:55'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.392612 -2.805456)', '2026-06-08 13:28:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392427 -2.8055)'), GeomFromEWKT('SRID=4674;POINT (-40.392612 -2.805456)'))) / (select extract(epoch from '2026-06-08 13:28:03'::timestamp) - extract(epoch from '2026-06-08 13:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392427 -2.8055)'), GeomFromEWKT('SRID=4674;POINT (-40.392612 -2.805456)'))) / (select extract(epoch from '2026-06-08 13:28:03'::timestamp) - extract(epoch from '2026-06-08 13:27: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'), 46728, 'SRID=4674;POINT (-40.392776 -2.805429)', '2026-06-08 13:28:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392612 -2.805456)'), GeomFromEWKT('SRID=4674;POINT (-40.392776 -2.805429)'))) / (select extract(epoch from '2026-06-08 13:28:10'::timestamp) - extract(epoch from '2026-06-08 13:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392612 -2.805456)'), GeomFromEWKT('SRID=4674;POINT (-40.392776 -2.805429)'))) / (select extract(epoch from '2026-06-08 13:28:10'::timestamp) - extract(epoch from '2026-06-08 13:28: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'), 46728, 'SRID=4674;POINT (-40.392928 -2.805427)', '2026-06-08 13:28:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392776 -2.805429)'), GeomFromEWKT('SRID=4674;POINT (-40.392928 -2.805427)'))) / (select extract(epoch from '2026-06-08 13:28:17'::timestamp) - extract(epoch from '2026-06-08 13:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392776 -2.805429)'), GeomFromEWKT('SRID=4674;POINT (-40.392928 -2.805427)'))) / (select extract(epoch from '2026-06-08 13:28:17'::timestamp) - extract(epoch from '2026-06-08 13:28:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.393095 -2.805412)', '2026-06-08 13:28:25', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392928 -2.805427)'), GeomFromEWKT('SRID=4674;POINT (-40.393095 -2.805412)'))) / (select extract(epoch from '2026-06-08 13:28:25'::timestamp) - extract(epoch from '2026-06-08 13:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392928 -2.805427)'), GeomFromEWKT('SRID=4674;POINT (-40.393095 -2.805412)'))) / (select extract(epoch from '2026-06-08 13:28:25'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.39322 -2.805379)', '2026-06-08 13:28:31', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393095 -2.805412)'), GeomFromEWKT('SRID=4674;POINT (-40.39322 -2.805379)'))) / (select extract(epoch from '2026-06-08 13:28:31'::timestamp) - extract(epoch from '2026-06-08 13:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393095 -2.805412)'), GeomFromEWKT('SRID=4674;POINT (-40.39322 -2.805379)'))) / (select extract(epoch from '2026-06-08 13:28:31'::timestamp) - extract(epoch from '2026-06-08 13:28: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'), 46728, 'SRID=4674;POINT (-40.393318 -2.805355)', '2026-06-08 13:28:36', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39322 -2.805379)'), GeomFromEWKT('SRID=4674;POINT (-40.393318 -2.805355)'))) / (select extract(epoch from '2026-06-08 13:28:36'::timestamp) - extract(epoch from '2026-06-08 13:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39322 -2.805379)'), GeomFromEWKT('SRID=4674;POINT (-40.393318 -2.805355)'))) / (select extract(epoch from '2026-06-08 13:28:36'::timestamp) - extract(epoch from '2026-06-08 13:28: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'), 46728, 'SRID=4674;POINT (-40.39348 -2.805313)', '2026-06-08 13:28:44', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393318 -2.805355)'), GeomFromEWKT('SRID=4674;POINT (-40.39348 -2.805313)'))) / (select extract(epoch from '2026-06-08 13:28:44'::timestamp) - extract(epoch from '2026-06-08 13:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393318 -2.805355)'), GeomFromEWKT('SRID=4674;POINT (-40.39348 -2.805313)'))) / (select extract(epoch from '2026-06-08 13:28:44'::timestamp) - extract(epoch from '2026-06-08 13:28: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'), 46728, 'SRID=4674;POINT (-40.39365 -2.805268)', '2026-06-08 13:28:52', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39348 -2.805313)'), GeomFromEWKT('SRID=4674;POINT (-40.39365 -2.805268)'))) / (select extract(epoch from '2026-06-08 13:28:52'::timestamp) - extract(epoch from '2026-06-08 13:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39348 -2.805313)'), GeomFromEWKT('SRID=4674;POINT (-40.39365 -2.805268)'))) / (select extract(epoch from '2026-06-08 13:28:52'::timestamp) - extract(epoch from '2026-06-08 13:28: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'), 46728, 'SRID=4674;POINT (-40.393711 -2.805247)', '2026-06-08 13:28:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39365 -2.805268)'), GeomFromEWKT('SRID=4674;POINT (-40.393711 -2.805247)'))) / (select extract(epoch from '2026-06-08 13:28:55'::timestamp) - extract(epoch from '2026-06-08 13:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39365 -2.805268)'), GeomFromEWKT('SRID=4674;POINT (-40.393711 -2.805247)'))) / (select extract(epoch from '2026-06-08 13:28:55'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.393759 -2.805247)', '2026-06-08 13:28:57', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393711 -2.805247)'), GeomFromEWKT('SRID=4674;POINT (-40.393759 -2.805247)'))) / (select extract(epoch from '2026-06-08 13:28:57'::timestamp) - extract(epoch from '2026-06-08 13:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393711 -2.805247)'), GeomFromEWKT('SRID=4674;POINT (-40.393759 -2.805247)'))) / (select extract(epoch from '2026-06-08 13:28:57'::timestamp) - extract(epoch from '2026-06-08 13:28: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'), 46728, 'SRID=4674;POINT (-40.393861 -2.805224)', '2026-06-08 13:29:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393759 -2.805247)'), GeomFromEWKT('SRID=4674;POINT (-40.393861 -2.805224)'))) / (select extract(epoch from '2026-06-08 13:29:02'::timestamp) - extract(epoch from '2026-06-08 13:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393759 -2.805247)'), GeomFromEWKT('SRID=4674;POINT (-40.393861 -2.805224)'))) / (select extract(epoch from '2026-06-08 13:29:02'::timestamp) - extract(epoch from '2026-06-08 13:28: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'), 46728, 'SRID=4674;POINT (-40.394003 -2.805213)', '2026-06-08 13:29:09', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393861 -2.805224)'), GeomFromEWKT('SRID=4674;POINT (-40.394003 -2.805213)'))) / (select extract(epoch from '2026-06-08 13:29:09'::timestamp) - extract(epoch from '2026-06-08 13:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393861 -2.805224)'), GeomFromEWKT('SRID=4674;POINT (-40.394003 -2.805213)'))) / (select extract(epoch from '2026-06-08 13:29:09'::timestamp) - extract(epoch from '2026-06-08 13:29:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.394145 -2.805196)', '2026-06-08 13:29:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394003 -2.805213)'), GeomFromEWKT('SRID=4674;POINT (-40.394145 -2.805196)'))) / (select extract(epoch from '2026-06-08 13:29:16'::timestamp) - extract(epoch from '2026-06-08 13:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394003 -2.805213)'), GeomFromEWKT('SRID=4674;POINT (-40.394145 -2.805196)'))) / (select extract(epoch from '2026-06-08 13:29:16'::timestamp) - extract(epoch from '2026-06-08 13:29: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'), 46728, 'SRID=4674;POINT (-40.394292 -2.805176)', '2026-06-08 13:29:23', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394145 -2.805196)'), GeomFromEWKT('SRID=4674;POINT (-40.394292 -2.805176)'))) / (select extract(epoch from '2026-06-08 13:29:23'::timestamp) - extract(epoch from '2026-06-08 13:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394145 -2.805196)'), GeomFromEWKT('SRID=4674;POINT (-40.394292 -2.805176)'))) / (select extract(epoch from '2026-06-08 13:29:23'::timestamp) - extract(epoch from '2026-06-08 13:29: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'), 46728, 'SRID=4674;POINT (-40.394437 -2.805153)', '2026-06-08 13:29:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394292 -2.805176)'), GeomFromEWKT('SRID=4674;POINT (-40.394437 -2.805153)'))) / (select extract(epoch from '2026-06-08 13:29:30'::timestamp) - extract(epoch from '2026-06-08 13:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394292 -2.805176)'), GeomFromEWKT('SRID=4674;POINT (-40.394437 -2.805153)'))) / (select extract(epoch from '2026-06-08 13:29:30'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.394542 -2.805133)', '2026-06-08 13:29:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394437 -2.805153)'), GeomFromEWKT('SRID=4674;POINT (-40.394542 -2.805133)'))) / (select extract(epoch from '2026-06-08 13:29:35'::timestamp) - extract(epoch from '2026-06-08 13:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394437 -2.805153)'), GeomFromEWKT('SRID=4674;POINT (-40.394542 -2.805133)'))) / (select extract(epoch from '2026-06-08 13:29:35'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.394698 -2.805108)', '2026-06-08 13:29:42', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394542 -2.805133)'), GeomFromEWKT('SRID=4674;POINT (-40.394698 -2.805108)'))) / (select extract(epoch from '2026-06-08 13:29:42'::timestamp) - extract(epoch from '2026-06-08 13:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394542 -2.805133)'), GeomFromEWKT('SRID=4674;POINT (-40.394698 -2.805108)'))) / (select extract(epoch from '2026-06-08 13:29:42'::timestamp) - extract(epoch from '2026-06-08 13:29: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'), 46728, 'SRID=4674;POINT (-40.39481 -2.805093)', '2026-06-08 13:29:47', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394698 -2.805108)'), GeomFromEWKT('SRID=4674;POINT (-40.39481 -2.805093)'))) / (select extract(epoch from '2026-06-08 13:29:47'::timestamp) - extract(epoch from '2026-06-08 13:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394698 -2.805108)'), GeomFromEWKT('SRID=4674;POINT (-40.39481 -2.805093)'))) / (select extract(epoch from '2026-06-08 13:29:47'::timestamp) - extract(epoch from '2026-06-08 13:29: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'), 46728, 'SRID=4674;POINT (-40.394958 -2.805074)', '2026-06-08 13:29:54', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39481 -2.805093)'), GeomFromEWKT('SRID=4674;POINT (-40.394958 -2.805074)'))) / (select extract(epoch from '2026-06-08 13:29:54'::timestamp) - extract(epoch from '2026-06-08 13:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39481 -2.805093)'), GeomFromEWKT('SRID=4674;POINT (-40.394958 -2.805074)'))) / (select extract(epoch from '2026-06-08 13:29:54'::timestamp) - extract(epoch from '2026-06-08 13:29: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'), 46728, 'SRID=4674;POINT (-40.395126 -2.805052)', '2026-06-08 13:30:02', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394958 -2.805074)'), GeomFromEWKT('SRID=4674;POINT (-40.395126 -2.805052)'))) / (select extract(epoch from '2026-06-08 13:30:02'::timestamp) - extract(epoch from '2026-06-08 13:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394958 -2.805074)'), GeomFromEWKT('SRID=4674;POINT (-40.395126 -2.805052)'))) / (select extract(epoch from '2026-06-08 13:30:02'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.395336 -2.805037)', '2026-06-08 13:30:12', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395126 -2.805052)'), GeomFromEWKT('SRID=4674;POINT (-40.395336 -2.805037)'))) / (select extract(epoch from '2026-06-08 13:30:12'::timestamp) - extract(epoch from '2026-06-08 13:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395126 -2.805052)'), GeomFromEWKT('SRID=4674;POINT (-40.395336 -2.805037)'))) / (select extract(epoch from '2026-06-08 13:30:12'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.395505 -2.805001)', '2026-06-08 13:30:20', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395336 -2.805037)'), GeomFromEWKT('SRID=4674;POINT (-40.395505 -2.805001)'))) / (select extract(epoch from '2026-06-08 13:30:20'::timestamp) - extract(epoch from '2026-06-08 13:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395336 -2.805037)'), GeomFromEWKT('SRID=4674;POINT (-40.395505 -2.805001)'))) / (select extract(epoch from '2026-06-08 13:30:20'::timestamp) - extract(epoch from '2026-06-08 13:30: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'), 46728, 'SRID=4674;POINT (-40.395644 -2.804976)', '2026-06-08 13:30:26', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395505 -2.805001)'), GeomFromEWKT('SRID=4674;POINT (-40.395644 -2.804976)'))) / (select extract(epoch from '2026-06-08 13:30:26'::timestamp) - extract(epoch from '2026-06-08 13:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395505 -2.805001)'), GeomFromEWKT('SRID=4674;POINT (-40.395644 -2.804976)'))) / (select extract(epoch from '2026-06-08 13:30:26'::timestamp) - extract(epoch from '2026-06-08 13:30: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'), 46728, 'SRID=4674;POINT (-40.395798 -2.804966)', '2026-06-08 13:30:33', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395644 -2.804976)'), GeomFromEWKT('SRID=4674;POINT (-40.395798 -2.804966)'))) / (select extract(epoch from '2026-06-08 13:30:33'::timestamp) - extract(epoch from '2026-06-08 13:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395644 -2.804976)'), GeomFromEWKT('SRID=4674;POINT (-40.395798 -2.804966)'))) / (select extract(epoch from '2026-06-08 13:30:33'::timestamp) - extract(epoch from '2026-06-08 13:30: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'), 46728, 'SRID=4674;POINT (-40.395952 -2.804968)', '2026-06-08 13:30:40', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395798 -2.804966)'), GeomFromEWKT('SRID=4674;POINT (-40.395952 -2.804968)'))) / (select extract(epoch from '2026-06-08 13:30:40'::timestamp) - extract(epoch from '2026-06-08 13:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395798 -2.804966)'), GeomFromEWKT('SRID=4674;POINT (-40.395952 -2.804968)'))) / (select extract(epoch from '2026-06-08 13:30:40'::timestamp) - extract(epoch from '2026-06-08 13:30: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'), 46728, 'SRID=4674;POINT (-40.396119 -2.804973)', '2026-06-08 13:30:48', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395952 -2.804968)'), GeomFromEWKT('SRID=4674;POINT (-40.396119 -2.804973)'))) / (select extract(epoch from '2026-06-08 13:30:48'::timestamp) - extract(epoch from '2026-06-08 13:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395952 -2.804968)'), GeomFromEWKT('SRID=4674;POINT (-40.396119 -2.804973)'))) / (select extract(epoch from '2026-06-08 13:30:48'::timestamp) - extract(epoch from '2026-06-08 13:30:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.396258 -2.804983)', '2026-06-08 13:30:54', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396119 -2.804973)'), GeomFromEWKT('SRID=4674;POINT (-40.396258 -2.804983)'))) / (select extract(epoch from '2026-06-08 13:30:54'::timestamp) - extract(epoch from '2026-06-08 13:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396119 -2.804973)'), GeomFromEWKT('SRID=4674;POINT (-40.396258 -2.804983)'))) / (select extract(epoch from '2026-06-08 13:30:54'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.396437 -2.804983)', '2026-06-08 13:31:02', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396258 -2.804983)'), GeomFromEWKT('SRID=4674;POINT (-40.396437 -2.804983)'))) / (select extract(epoch from '2026-06-08 13:31:02'::timestamp) - extract(epoch from '2026-06-08 13:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396258 -2.804983)'), GeomFromEWKT('SRID=4674;POINT (-40.396437 -2.804983)'))) / (select extract(epoch from '2026-06-08 13:31:02'::timestamp) - extract(epoch from '2026-06-08 13:30: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'), 46728, 'SRID=4674;POINT (-40.396587 -2.804989)', '2026-06-08 13:31:09', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396437 -2.804983)'), GeomFromEWKT('SRID=4674;POINT (-40.396587 -2.804989)'))) / (select extract(epoch from '2026-06-08 13:31:09'::timestamp) - extract(epoch from '2026-06-08 13:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396437 -2.804983)'), GeomFromEWKT('SRID=4674;POINT (-40.396587 -2.804989)'))) / (select extract(epoch from '2026-06-08 13:31:09'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.396752 -2.804996)', '2026-06-08 13:31:17', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396587 -2.804989)'), GeomFromEWKT('SRID=4674;POINT (-40.396752 -2.804996)'))) / (select extract(epoch from '2026-06-08 13:31:17'::timestamp) - extract(epoch from '2026-06-08 13:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396587 -2.804989)'), GeomFromEWKT('SRID=4674;POINT (-40.396752 -2.804996)'))) / (select extract(epoch from '2026-06-08 13:31:17'::timestamp) - extract(epoch from '2026-06-08 13:31:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.396903 -2.805009)', '2026-06-08 13:31:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396752 -2.804996)'), GeomFromEWKT('SRID=4674;POINT (-40.396903 -2.805009)'))) / (select extract(epoch from '2026-06-08 13:31:24'::timestamp) - extract(epoch from '2026-06-08 13:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396752 -2.804996)'), GeomFromEWKT('SRID=4674;POINT (-40.396903 -2.805009)'))) / (select extract(epoch from '2026-06-08 13:31:24'::timestamp) - extract(epoch from '2026-06-08 13:31: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'), 46728, 'SRID=4674;POINT (-40.397031 -2.805016)', '2026-06-08 13:31:30', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396903 -2.805009)'), GeomFromEWKT('SRID=4674;POINT (-40.397031 -2.805016)'))) / (select extract(epoch from '2026-06-08 13:31:30'::timestamp) - extract(epoch from '2026-06-08 13:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396903 -2.805009)'), GeomFromEWKT('SRID=4674;POINT (-40.397031 -2.805016)'))) / (select extract(epoch from '2026-06-08 13:31:30'::timestamp) - extract(epoch from '2026-06-08 13:31: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'), 46728, 'SRID=4674;POINT (-40.397226 -2.80503)', '2026-06-08 13:31:40', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397031 -2.805016)'), GeomFromEWKT('SRID=4674;POINT (-40.397226 -2.80503)'))) / (select extract(epoch from '2026-06-08 13:31:40'::timestamp) - extract(epoch from '2026-06-08 13:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397031 -2.805016)'), GeomFromEWKT('SRID=4674;POINT (-40.397226 -2.80503)'))) / (select extract(epoch from '2026-06-08 13:31:40'::timestamp) - extract(epoch from '2026-06-08 13:31: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'), 46728, 'SRID=4674;POINT (-40.397362 -2.80504)', '2026-06-08 13:31:47', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397226 -2.80503)'), GeomFromEWKT('SRID=4674;POINT (-40.397362 -2.80504)'))) / (select extract(epoch from '2026-06-08 13:31:47'::timestamp) - extract(epoch from '2026-06-08 13:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397226 -2.80503)'), GeomFromEWKT('SRID=4674;POINT (-40.397362 -2.80504)'))) / (select extract(epoch from '2026-06-08 13:31:47'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.397483 -2.80505)', '2026-06-08 13:31:53', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397362 -2.80504)'), GeomFromEWKT('SRID=4674;POINT (-40.397483 -2.80505)'))) / (select extract(epoch from '2026-06-08 13:31:53'::timestamp) - extract(epoch from '2026-06-08 13:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397362 -2.80504)'), GeomFromEWKT('SRID=4674;POINT (-40.397483 -2.80505)'))) / (select extract(epoch from '2026-06-08 13:31:53'::timestamp) - extract(epoch from '2026-06-08 13:31: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'), 46728, 'SRID=4674;POINT (-40.397607 -2.805056)', '2026-06-08 13:31:59', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397483 -2.80505)'), GeomFromEWKT('SRID=4674;POINT (-40.397607 -2.805056)'))) / (select extract(epoch from '2026-06-08 13:31:59'::timestamp) - extract(epoch from '2026-06-08 13:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397483 -2.80505)'), GeomFromEWKT('SRID=4674;POINT (-40.397607 -2.805056)'))) / (select extract(epoch from '2026-06-08 13:31:59'::timestamp) - extract(epoch from '2026-06-08 13:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.397753 -2.805056)', '2026-06-08 13:32:06', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397607 -2.805056)'), GeomFromEWKT('SRID=4674;POINT (-40.397753 -2.805056)'))) / (select extract(epoch from '2026-06-08 13:32:06'::timestamp) - extract(epoch from '2026-06-08 13:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397607 -2.805056)'), GeomFromEWKT('SRID=4674;POINT (-40.397753 -2.805056)'))) / (select extract(epoch from '2026-06-08 13:32:06'::timestamp) - extract(epoch from '2026-06-08 13:31:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.397916 -2.805034)', '2026-06-08 13:32:13', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397753 -2.805056)'), GeomFromEWKT('SRID=4674;POINT (-40.397916 -2.805034)'))) / (select extract(epoch from '2026-06-08 13:32:13'::timestamp) - extract(epoch from '2026-06-08 13:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397753 -2.805056)'), GeomFromEWKT('SRID=4674;POINT (-40.397916 -2.805034)'))) / (select extract(epoch from '2026-06-08 13:32:13'::timestamp) - extract(epoch from '2026-06-08 13:32: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'), 46728, 'SRID=4674;POINT (-40.398104 -2.805031)', '2026-06-08 13:32:22', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397916 -2.805034)'), GeomFromEWKT('SRID=4674;POINT (-40.398104 -2.805031)'))) / (select extract(epoch from '2026-06-08 13:32:22'::timestamp) - extract(epoch from '2026-06-08 13:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397916 -2.805034)'), GeomFromEWKT('SRID=4674;POINT (-40.398104 -2.805031)'))) / (select extract(epoch from '2026-06-08 13:32:22'::timestamp) - extract(epoch from '2026-06-08 13:32: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'), 46728, 'SRID=4674;POINT (-40.398255 -2.805037)', '2026-06-08 13:32:29', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398104 -2.805031)'), GeomFromEWKT('SRID=4674;POINT (-40.398255 -2.805037)'))) / (select extract(epoch from '2026-06-08 13:32:29'::timestamp) - extract(epoch from '2026-06-08 13:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398104 -2.805031)'), GeomFromEWKT('SRID=4674;POINT (-40.398255 -2.805037)'))) / (select extract(epoch from '2026-06-08 13:32:29'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.398395 -2.805044)', '2026-06-08 13:32:36', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398255 -2.805037)'), GeomFromEWKT('SRID=4674;POINT (-40.398395 -2.805044)'))) / (select extract(epoch from '2026-06-08 13:32:36'::timestamp) - extract(epoch from '2026-06-08 13:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398255 -2.805037)'), GeomFromEWKT('SRID=4674;POINT (-40.398395 -2.805044)'))) / (select extract(epoch from '2026-06-08 13:32:36'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.398506 -2.805045)', '2026-06-08 13:32:42', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398395 -2.805044)'), GeomFromEWKT('SRID=4674;POINT (-40.398506 -2.805045)'))) / (select extract(epoch from '2026-06-08 13:32:42'::timestamp) - extract(epoch from '2026-06-08 13:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398395 -2.805044)'), GeomFromEWKT('SRID=4674;POINT (-40.398506 -2.805045)'))) / (select extract(epoch from '2026-06-08 13:32:42'::timestamp) - extract(epoch from '2026-06-08 13:32: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'), 46728, 'SRID=4674;POINT (-40.39867 -2.80504)', '2026-06-08 13:32:50', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398506 -2.805045)'), GeomFromEWKT('SRID=4674;POINT (-40.39867 -2.80504)'))) / (select extract(epoch from '2026-06-08 13:32:50'::timestamp) - extract(epoch from '2026-06-08 13:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398506 -2.805045)'), GeomFromEWKT('SRID=4674;POINT (-40.39867 -2.80504)'))) / (select extract(epoch from '2026-06-08 13:32:50'::timestamp) - extract(epoch from '2026-06-08 13:32: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'), 46728, 'SRID=4674;POINT (-40.398774 -2.805038)', '2026-06-08 13:32:55', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39867 -2.80504)'), GeomFromEWKT('SRID=4674;POINT (-40.398774 -2.805038)'))) / (select extract(epoch from '2026-06-08 13:32:55'::timestamp) - extract(epoch from '2026-06-08 13:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39867 -2.80504)'), GeomFromEWKT('SRID=4674;POINT (-40.398774 -2.805038)'))) / (select extract(epoch from '2026-06-08 13:32:55'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.398907 -2.805033)', '2026-06-08 13:33:01', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398774 -2.805038)'), GeomFromEWKT('SRID=4674;POINT (-40.398907 -2.805033)'))) / (select extract(epoch from '2026-06-08 13:33:01'::timestamp) - extract(epoch from '2026-06-08 13:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398774 -2.805038)'), GeomFromEWKT('SRID=4674;POINT (-40.398907 -2.805033)'))) / (select extract(epoch from '2026-06-08 13:33:01'::timestamp) - extract(epoch from '2026-06-08 13:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.399045 -2.805021)', '2026-06-08 13:33:08', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398907 -2.805033)'), GeomFromEWKT('SRID=4674;POINT (-40.399045 -2.805021)'))) / (select extract(epoch from '2026-06-08 13:33:08'::timestamp) - extract(epoch from '2026-06-08 13:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398907 -2.805033)'), GeomFromEWKT('SRID=4674;POINT (-40.399045 -2.805021)'))) / (select extract(epoch from '2026-06-08 13:33:08'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.39916 -2.80502)', '2026-06-08 13:33:14', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399045 -2.805021)'), GeomFromEWKT('SRID=4674;POINT (-40.39916 -2.80502)'))) / (select extract(epoch from '2026-06-08 13:33:14'::timestamp) - extract(epoch from '2026-06-08 13:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399045 -2.805021)'), GeomFromEWKT('SRID=4674;POINT (-40.39916 -2.80502)'))) / (select extract(epoch from '2026-06-08 13:33:14'::timestamp) - extract(epoch from '2026-06-08 13:33: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'), 46728, 'SRID=4674;POINT (-40.399277 -2.805013)', '2026-06-08 13:33:20', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39916 -2.80502)'), GeomFromEWKT('SRID=4674;POINT (-40.399277 -2.805013)'))) / (select extract(epoch from '2026-06-08 13:33:20'::timestamp) - extract(epoch from '2026-06-08 13:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39916 -2.80502)'), GeomFromEWKT('SRID=4674;POINT (-40.399277 -2.805013)'))) / (select extract(epoch from '2026-06-08 13:33:20'::timestamp) - extract(epoch from '2026-06-08 13:33: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'), 46728, 'SRID=4674;POINT (-40.399398 -2.805006)', '2026-06-08 13:33:26', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399277 -2.805013)'), GeomFromEWKT('SRID=4674;POINT (-40.399398 -2.805006)'))) / (select extract(epoch from '2026-06-08 13:33:26'::timestamp) - extract(epoch from '2026-06-08 13:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399277 -2.805013)'), GeomFromEWKT('SRID=4674;POINT (-40.399398 -2.805006)'))) / (select extract(epoch from '2026-06-08 13:33:26'::timestamp) - extract(epoch from '2026-06-08 13:33: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'), 46728, 'SRID=4674;POINT (-40.39952 -2.805008)', '2026-06-08 13:33:32', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399398 -2.805006)'), GeomFromEWKT('SRID=4674;POINT (-40.39952 -2.805008)'))) / (select extract(epoch from '2026-06-08 13:33:32'::timestamp) - extract(epoch from '2026-06-08 13:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399398 -2.805006)'), GeomFromEWKT('SRID=4674;POINT (-40.39952 -2.805008)'))) / (select extract(epoch from '2026-06-08 13:33:32'::timestamp) - extract(epoch from '2026-06-08 13:33:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.399636 -2.804998)', '2026-06-08 13:33:38', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39952 -2.805008)'), GeomFromEWKT('SRID=4674;POINT (-40.399636 -2.804998)'))) / (select extract(epoch from '2026-06-08 13:33:38'::timestamp) - extract(epoch from '2026-06-08 13:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39952 -2.805008)'), GeomFromEWKT('SRID=4674;POINT (-40.399636 -2.804998)'))) / (select extract(epoch from '2026-06-08 13:33:38'::timestamp) - extract(epoch from '2026-06-08 13:33:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.399772 -2.804999)', '2026-06-08 13:33:45', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399636 -2.804998)'), GeomFromEWKT('SRID=4674;POINT (-40.399772 -2.804999)'))) / (select extract(epoch from '2026-06-08 13:33:45'::timestamp) - extract(epoch from '2026-06-08 13:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399636 -2.804998)'), GeomFromEWKT('SRID=4674;POINT (-40.399772 -2.804999)'))) / (select extract(epoch from '2026-06-08 13:33:45'::timestamp) - extract(epoch from '2026-06-08 13:33: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'), 46728, 'SRID=4674;POINT (-40.399945 -2.805001)', '2026-06-08 13:33:54', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399772 -2.804999)'), GeomFromEWKT('SRID=4674;POINT (-40.399945 -2.805001)'))) / (select extract(epoch from '2026-06-08 13:33:54'::timestamp) - extract(epoch from '2026-06-08 13:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399772 -2.804999)'), GeomFromEWKT('SRID=4674;POINT (-40.399945 -2.805001)'))) / (select extract(epoch from '2026-06-08 13:33:54'::timestamp) - extract(epoch from '2026-06-08 13:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.400055 -2.804996)', '2026-06-08 13:34:00', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399945 -2.805001)'), GeomFromEWKT('SRID=4674;POINT (-40.400055 -2.804996)'))) / (select extract(epoch from '2026-06-08 13:34:00'::timestamp) - extract(epoch from '2026-06-08 13:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399945 -2.805001)'), GeomFromEWKT('SRID=4674;POINT (-40.400055 -2.804996)'))) / (select extract(epoch from '2026-06-08 13:34:00'::timestamp) - extract(epoch from '2026-06-08 13:33:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.400157 -2.804993)', '2026-06-08 13:34:05', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400055 -2.804996)'), GeomFromEWKT('SRID=4674;POINT (-40.400157 -2.804993)'))) / (select extract(epoch from '2026-06-08 13:34:05'::timestamp) - extract(epoch from '2026-06-08 13:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400055 -2.804996)'), GeomFromEWKT('SRID=4674;POINT (-40.400157 -2.804993)'))) / (select extract(epoch from '2026-06-08 13:34:05'::timestamp) - extract(epoch from '2026-06-08 13:34:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.400295 -2.804991)', '2026-06-08 13:34:12', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400157 -2.804993)'), GeomFromEWKT('SRID=4674;POINT (-40.400295 -2.804991)'))) / (select extract(epoch from '2026-06-08 13:34:12'::timestamp) - extract(epoch from '2026-06-08 13:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400157 -2.804993)'), GeomFromEWKT('SRID=4674;POINT (-40.400295 -2.804991)'))) / (select extract(epoch from '2026-06-08 13:34:12'::timestamp) - extract(epoch from '2026-06-08 13:34:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.400403 -2.805002)', '2026-06-08 13:34:18', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400295 -2.804991)'), GeomFromEWKT('SRID=4674;POINT (-40.400403 -2.805002)'))) / (select extract(epoch from '2026-06-08 13:34:18'::timestamp) - extract(epoch from '2026-06-08 13:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400295 -2.804991)'), GeomFromEWKT('SRID=4674;POINT (-40.400403 -2.805002)'))) / (select extract(epoch from '2026-06-08 13:34:18'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.400541 -2.804997)', '2026-06-08 13:34:25', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400403 -2.805002)'), GeomFromEWKT('SRID=4674;POINT (-40.400541 -2.804997)'))) / (select extract(epoch from '2026-06-08 13:34:25'::timestamp) - extract(epoch from '2026-06-08 13:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400403 -2.805002)'), GeomFromEWKT('SRID=4674;POINT (-40.400541 -2.804997)'))) / (select extract(epoch from '2026-06-08 13:34:25'::timestamp) - extract(epoch from '2026-06-08 13:34:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.400691 -2.804991)', '2026-06-08 13:34:32', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400541 -2.804997)'), GeomFromEWKT('SRID=4674;POINT (-40.400691 -2.804991)'))) / (select extract(epoch from '2026-06-08 13:34:32'::timestamp) - extract(epoch from '2026-06-08 13:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400541 -2.804997)'), GeomFromEWKT('SRID=4674;POINT (-40.400691 -2.804991)'))) / (select extract(epoch from '2026-06-08 13:34:32'::timestamp) - extract(epoch from '2026-06-08 13:34: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'), 46728, 'SRID=4674;POINT (-40.400818 -2.80499)', '2026-06-08 13:34:38', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400691 -2.804991)'), GeomFromEWKT('SRID=4674;POINT (-40.400818 -2.80499)'))) / (select extract(epoch from '2026-06-08 13:34:38'::timestamp) - extract(epoch from '2026-06-08 13:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400691 -2.804991)'), GeomFromEWKT('SRID=4674;POINT (-40.400818 -2.80499)'))) / (select extract(epoch from '2026-06-08 13:34:38'::timestamp) - extract(epoch from '2026-06-08 13:34: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'), 46728, 'SRID=4674;POINT (-40.400955 -2.804989)', '2026-06-08 13:34:44', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400818 -2.80499)'), GeomFromEWKT('SRID=4674;POINT (-40.400955 -2.804989)'))) / (select extract(epoch from '2026-06-08 13:34:44'::timestamp) - extract(epoch from '2026-06-08 13:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400818 -2.80499)'), GeomFromEWKT('SRID=4674;POINT (-40.400955 -2.804989)'))) / (select extract(epoch from '2026-06-08 13:34:44'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.401108 -2.804993)', '2026-06-08 13:34:51', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400955 -2.804989)'), GeomFromEWKT('SRID=4674;POINT (-40.401108 -2.804993)'))) / (select extract(epoch from '2026-06-08 13:34:51'::timestamp) - extract(epoch from '2026-06-08 13:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400955 -2.804989)'), GeomFromEWKT('SRID=4674;POINT (-40.401108 -2.804993)'))) / (select extract(epoch from '2026-06-08 13:34:51'::timestamp) - extract(epoch from '2026-06-08 13:34: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'), 46728, 'SRID=4674;POINT (-40.401239 -2.805005)', '2026-06-08 13:34:57', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401108 -2.804993)'), GeomFromEWKT('SRID=4674;POINT (-40.401239 -2.805005)'))) / (select extract(epoch from '2026-06-08 13:34:57'::timestamp) - extract(epoch from '2026-06-08 13:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401108 -2.804993)'), GeomFromEWKT('SRID=4674;POINT (-40.401239 -2.805005)'))) / (select extract(epoch from '2026-06-08 13:34:57'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.401372 -2.805008)', '2026-06-08 13:35:03', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401239 -2.805005)'), GeomFromEWKT('SRID=4674;POINT (-40.401372 -2.805008)'))) / (select extract(epoch from '2026-06-08 13:35:03'::timestamp) - extract(epoch from '2026-06-08 13:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401239 -2.805005)'), GeomFromEWKT('SRID=4674;POINT (-40.401372 -2.805008)'))) / (select extract(epoch from '2026-06-08 13:35:03'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.401504 -2.805004)', '2026-06-08 13:35:09', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401372 -2.805008)'), GeomFromEWKT('SRID=4674;POINT (-40.401504 -2.805004)'))) / (select extract(epoch from '2026-06-08 13:35:09'::timestamp) - extract(epoch from '2026-06-08 13:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401372 -2.805008)'), GeomFromEWKT('SRID=4674;POINT (-40.401504 -2.805004)'))) / (select extract(epoch from '2026-06-08 13:35:09'::timestamp) - extract(epoch from '2026-06-08 13:35:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.401621 -2.805004)', '2026-06-08 13:35:14', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401504 -2.805004)'), GeomFromEWKT('SRID=4674;POINT (-40.401621 -2.805004)'))) / (select extract(epoch from '2026-06-08 13:35:14'::timestamp) - extract(epoch from '2026-06-08 13:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401504 -2.805004)'), GeomFromEWKT('SRID=4674;POINT (-40.401621 -2.805004)'))) / (select extract(epoch from '2026-06-08 13:35:14'::timestamp) - extract(epoch from '2026-06-08 13:35:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.401729 -2.804995)', '2026-06-08 13:35:19', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401621 -2.805004)'), GeomFromEWKT('SRID=4674;POINT (-40.401729 -2.804995)'))) / (select extract(epoch from '2026-06-08 13:35:19'::timestamp) - extract(epoch from '2026-06-08 13:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401621 -2.805004)'), GeomFromEWKT('SRID=4674;POINT (-40.401729 -2.804995)'))) / (select extract(epoch from '2026-06-08 13:35:19'::timestamp) - extract(epoch from '2026-06-08 13:35: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'), 46728, 'SRID=4674;POINT (-40.401862 -2.804982)', '2026-06-08 13:35:25', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401729 -2.804995)'), GeomFromEWKT('SRID=4674;POINT (-40.401862 -2.804982)'))) / (select extract(epoch from '2026-06-08 13:35:25'::timestamp) - extract(epoch from '2026-06-08 13:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401729 -2.804995)'), GeomFromEWKT('SRID=4674;POINT (-40.401862 -2.804982)'))) / (select extract(epoch from '2026-06-08 13:35:25'::timestamp) - extract(epoch from '2026-06-08 13:35:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.402037 -2.804981)', '2026-06-08 13:35:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401862 -2.804982)'), GeomFromEWKT('SRID=4674;POINT (-40.402037 -2.804981)'))) / (select extract(epoch from '2026-06-08 13:35:34'::timestamp) - extract(epoch from '2026-06-08 13:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401862 -2.804982)'), GeomFromEWKT('SRID=4674;POINT (-40.402037 -2.804981)'))) / (select extract(epoch from '2026-06-08 13:35:34'::timestamp) - extract(epoch from '2026-06-08 13:35: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'), 46728, 'SRID=4674;POINT (-40.402199 -2.804968)', '2026-06-08 13:35:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402037 -2.804981)'), GeomFromEWKT('SRID=4674;POINT (-40.402199 -2.804968)'))) / (select extract(epoch from '2026-06-08 13:35:42'::timestamp) - extract(epoch from '2026-06-08 13:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402037 -2.804981)'), GeomFromEWKT('SRID=4674;POINT (-40.402199 -2.804968)'))) / (select extract(epoch from '2026-06-08 13:35:42'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.402351 -2.804962)', '2026-06-08 13:35:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402199 -2.804968)'), GeomFromEWKT('SRID=4674;POINT (-40.402351 -2.804962)'))) / (select extract(epoch from '2026-06-08 13:35:49'::timestamp) - extract(epoch from '2026-06-08 13:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402199 -2.804968)'), GeomFromEWKT('SRID=4674;POINT (-40.402351 -2.804962)'))) / (select extract(epoch from '2026-06-08 13:35:49'::timestamp) - extract(epoch from '2026-06-08 13:35:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.402538 -2.804954)', '2026-06-08 13:35:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402351 -2.804962)'), GeomFromEWKT('SRID=4674;POINT (-40.402538 -2.804954)'))) / (select extract(epoch from '2026-06-08 13:35:57'::timestamp) - extract(epoch from '2026-06-08 13:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402351 -2.804962)'), GeomFromEWKT('SRID=4674;POINT (-40.402538 -2.804954)'))) / (select extract(epoch from '2026-06-08 13:35:57'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.402683 -2.804957)', '2026-06-08 13:36:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402538 -2.804954)'), GeomFromEWKT('SRID=4674;POINT (-40.402683 -2.804957)'))) / (select extract(epoch from '2026-06-08 13:36:03'::timestamp) - extract(epoch from '2026-06-08 13:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402538 -2.804954)'), GeomFromEWKT('SRID=4674;POINT (-40.402683 -2.804957)'))) / (select extract(epoch from '2026-06-08 13:36:03'::timestamp) - extract(epoch from '2026-06-08 13:35: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'), 46728, 'SRID=4674;POINT (-40.402799 -2.80495)', '2026-06-08 13:36:08', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402683 -2.804957)'), GeomFromEWKT('SRID=4674;POINT (-40.402799 -2.80495)'))) / (select extract(epoch from '2026-06-08 13:36:08'::timestamp) - extract(epoch from '2026-06-08 13:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402683 -2.804957)'), GeomFromEWKT('SRID=4674;POINT (-40.402799 -2.80495)'))) / (select extract(epoch from '2026-06-08 13:36:08'::timestamp) - extract(epoch from '2026-06-08 13:36:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.402963 -2.804929)', '2026-06-08 13:36:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402799 -2.80495)'), GeomFromEWKT('SRID=4674;POINT (-40.402963 -2.804929)'))) / (select extract(epoch from '2026-06-08 13:36:15'::timestamp) - extract(epoch from '2026-06-08 13:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402799 -2.80495)'), GeomFromEWKT('SRID=4674;POINT (-40.402963 -2.804929)'))) / (select extract(epoch from '2026-06-08 13:36:15'::timestamp) - extract(epoch from '2026-06-08 13:36: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'), 46728, 'SRID=4674;POINT (-40.403047 -2.804926)', '2026-06-08 13:36:19', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402963 -2.804929)'), GeomFromEWKT('SRID=4674;POINT (-40.403047 -2.804926)'))) / (select extract(epoch from '2026-06-08 13:36:19'::timestamp) - extract(epoch from '2026-06-08 13:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402963 -2.804929)'), GeomFromEWKT('SRID=4674;POINT (-40.403047 -2.804926)'))) / (select extract(epoch from '2026-06-08 13:36:19'::timestamp) - extract(epoch from '2026-06-08 13:36: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'), 46728, 'SRID=4674;POINT (-40.403071 -2.804929)', '2026-06-08 13:36:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403047 -2.804926)'), GeomFromEWKT('SRID=4674;POINT (-40.403071 -2.804929)'))) / (select extract(epoch from '2026-06-08 13:36:20'::timestamp) - extract(epoch from '2026-06-08 13:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403047 -2.804926)'), GeomFromEWKT('SRID=4674;POINT (-40.403071 -2.804929)'))) / (select extract(epoch from '2026-06-08 13:36:20'::timestamp) - extract(epoch from '2026-06-08 13:36:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.403176 -2.804943)', '2026-06-08 13:36:25', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403071 -2.804929)'), GeomFromEWKT('SRID=4674;POINT (-40.403176 -2.804943)'))) / (select extract(epoch from '2026-06-08 13:36:25'::timestamp) - extract(epoch from '2026-06-08 13:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403071 -2.804929)'), GeomFromEWKT('SRID=4674;POINT (-40.403176 -2.804943)'))) / (select extract(epoch from '2026-06-08 13:36:25'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.403308 -2.804943)', '2026-06-08 13:36:31', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403176 -2.804943)'), GeomFromEWKT('SRID=4674;POINT (-40.403308 -2.804943)'))) / (select extract(epoch from '2026-06-08 13:36:31'::timestamp) - extract(epoch from '2026-06-08 13:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403176 -2.804943)'), GeomFromEWKT('SRID=4674;POINT (-40.403308 -2.804943)'))) / (select extract(epoch from '2026-06-08 13:36:31'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.403487 -2.804931)', '2026-06-08 13:36:39', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403308 -2.804943)'), GeomFromEWKT('SRID=4674;POINT (-40.403487 -2.804931)'))) / (select extract(epoch from '2026-06-08 13:36:39'::timestamp) - extract(epoch from '2026-06-08 13:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403308 -2.804943)'), GeomFromEWKT('SRID=4674;POINT (-40.403487 -2.804931)'))) / (select extract(epoch from '2026-06-08 13:36:39'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.403649 -2.804935)', '2026-06-08 13:36:46', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403487 -2.804931)'), GeomFromEWKT('SRID=4674;POINT (-40.403649 -2.804935)'))) / (select extract(epoch from '2026-06-08 13:36:46'::timestamp) - extract(epoch from '2026-06-08 13:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403487 -2.804931)'), GeomFromEWKT('SRID=4674;POINT (-40.403649 -2.804935)'))) / (select extract(epoch from '2026-06-08 13:36:46'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.403812 -2.804945)', '2026-06-08 13:36:53', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403649 -2.804935)'), GeomFromEWKT('SRID=4674;POINT (-40.403812 -2.804945)'))) / (select extract(epoch from '2026-06-08 13:36:53'::timestamp) - extract(epoch from '2026-06-08 13:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403649 -2.804935)'), GeomFromEWKT('SRID=4674;POINT (-40.403812 -2.804945)'))) / (select extract(epoch from '2026-06-08 13:36:53'::timestamp) - extract(epoch from '2026-06-08 13:36: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'), 46728, 'SRID=4674;POINT (-40.404008 -2.804934)', '2026-06-08 13:37:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403812 -2.804945)'), GeomFromEWKT('SRID=4674;POINT (-40.404008 -2.804934)'))) / (select extract(epoch from '2026-06-08 13:37:01'::timestamp) - extract(epoch from '2026-06-08 13:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403812 -2.804945)'), GeomFromEWKT('SRID=4674;POINT (-40.404008 -2.804934)'))) / (select extract(epoch from '2026-06-08 13:37:01'::timestamp) - extract(epoch from '2026-06-08 13:36: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'), 46728, 'SRID=4674;POINT (-40.404145 -2.804896)', '2026-06-08 13:37:07', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404008 -2.804934)'), GeomFromEWKT('SRID=4674;POINT (-40.404145 -2.804896)'))) / (select extract(epoch from '2026-06-08 13:37:07'::timestamp) - extract(epoch from '2026-06-08 13:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404008 -2.804934)'), GeomFromEWKT('SRID=4674;POINT (-40.404145 -2.804896)'))) / (select extract(epoch from '2026-06-08 13:37:07'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.404304 -2.804875)', '2026-06-08 13:37:13', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404145 -2.804896)'), GeomFromEWKT('SRID=4674;POINT (-40.404304 -2.804875)'))) / (select extract(epoch from '2026-06-08 13:37:13'::timestamp) - extract(epoch from '2026-06-08 13:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404145 -2.804896)'), GeomFromEWKT('SRID=4674;POINT (-40.404304 -2.804875)'))) / (select extract(epoch from '2026-06-08 13:37:13'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.404451 -2.804875)', '2026-06-08 13:37:19', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404304 -2.804875)'), GeomFromEWKT('SRID=4674;POINT (-40.404451 -2.804875)'))) / (select extract(epoch from '2026-06-08 13:37:19'::timestamp) - extract(epoch from '2026-06-08 13:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404304 -2.804875)'), GeomFromEWKT('SRID=4674;POINT (-40.404451 -2.804875)'))) / (select extract(epoch from '2026-06-08 13:37:19'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.404608 -2.804887)', '2026-06-08 13:37:26', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404451 -2.804875)'), GeomFromEWKT('SRID=4674;POINT (-40.404608 -2.804887)'))) / (select extract(epoch from '2026-06-08 13:37:26'::timestamp) - extract(epoch from '2026-06-08 13:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404451 -2.804875)'), GeomFromEWKT('SRID=4674;POINT (-40.404608 -2.804887)'))) / (select extract(epoch from '2026-06-08 13:37:26'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.404788 -2.804898)', '2026-06-08 13:37:34', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404608 -2.804887)'), GeomFromEWKT('SRID=4674;POINT (-40.404788 -2.804898)'))) / (select extract(epoch from '2026-06-08 13:37:34'::timestamp) - extract(epoch from '2026-06-08 13:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404608 -2.804887)'), GeomFromEWKT('SRID=4674;POINT (-40.404788 -2.804898)'))) / (select extract(epoch from '2026-06-08 13:37:34'::timestamp) - extract(epoch from '2026-06-08 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'), 46728, 'SRID=4674;POINT (-40.40501 -2.804906)', '2026-06-08 13:37:43', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404788 -2.804898)'), GeomFromEWKT('SRID=4674;POINT (-40.40501 -2.804906)'))) / (select extract(epoch from '2026-06-08 13:37:43'::timestamp) - extract(epoch from '2026-06-08 13:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404788 -2.804898)'), GeomFromEWKT('SRID=4674;POINT (-40.40501 -2.804906)'))) / (select extract(epoch from '2026-06-08 13:37:43'::timestamp) - extract(epoch from '2026-06-08 13:37: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'), 46728, 'SRID=4674;POINT (-40.405224 -2.804889)', '2026-06-08 13:37:52', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40501 -2.804906)'), GeomFromEWKT('SRID=4674;POINT (-40.405224 -2.804889)'))) / (select extract(epoch from '2026-06-08 13:37:52'::timestamp) - extract(epoch from '2026-06-08 13:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40501 -2.804906)'), GeomFromEWKT('SRID=4674;POINT (-40.405224 -2.804889)'))) / (select extract(epoch from '2026-06-08 13:37:52'::timestamp) - extract(epoch from '2026-06-08 13:37: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'), 46728, 'SRID=4674;POINT (-40.405388 -2.804906)', '2026-06-08 13:37:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405224 -2.804889)'), GeomFromEWKT('SRID=4674;POINT (-40.405388 -2.804906)'))) / (select extract(epoch from '2026-06-08 13:37:59'::timestamp) - extract(epoch from '2026-06-08 13:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405224 -2.804889)'), GeomFromEWKT('SRID=4674;POINT (-40.405388 -2.804906)'))) / (select extract(epoch from '2026-06-08 13:37:59'::timestamp) - extract(epoch from '2026-06-08 13:37:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.405557 -2.804913)', '2026-06-08 13:38:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405388 -2.804906)'), GeomFromEWKT('SRID=4674;POINT (-40.405557 -2.804913)'))) / (select extract(epoch from '2026-06-08 13:38:06'::timestamp) - extract(epoch from '2026-06-08 13:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405388 -2.804906)'), GeomFromEWKT('SRID=4674;POINT (-40.405557 -2.804913)'))) / (select extract(epoch from '2026-06-08 13:38:06'::timestamp) - extract(epoch from '2026-06-08 13:37:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.4057 -2.804926)', '2026-06-08 13:38:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405557 -2.804913)'), GeomFromEWKT('SRID=4674;POINT (-40.4057 -2.804926)'))) / (select extract(epoch from '2026-06-08 13:38:12'::timestamp) - extract(epoch from '2026-06-08 13:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405557 -2.804913)'), GeomFromEWKT('SRID=4674;POINT (-40.4057 -2.804926)'))) / (select extract(epoch from '2026-06-08 13:38:12'::timestamp) - extract(epoch from '2026-06-08 13:38: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'), 46728, 'SRID=4674;POINT (-40.40583 -2.804939)', '2026-06-08 13:38:18', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4057 -2.804926)'), GeomFromEWKT('SRID=4674;POINT (-40.40583 -2.804939)'))) / (select extract(epoch from '2026-06-08 13:38:18'::timestamp) - extract(epoch from '2026-06-08 13:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4057 -2.804926)'), GeomFromEWKT('SRID=4674;POINT (-40.40583 -2.804939)'))) / (select extract(epoch from '2026-06-08 13:38:18'::timestamp) - extract(epoch from '2026-06-08 13:38:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.405962 -2.804941)', '2026-06-08 13:38:24', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40583 -2.804939)'), GeomFromEWKT('SRID=4674;POINT (-40.405962 -2.804941)'))) / (select extract(epoch from '2026-06-08 13:38:24'::timestamp) - extract(epoch from '2026-06-08 13:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40583 -2.804939)'), GeomFromEWKT('SRID=4674;POINT (-40.405962 -2.804941)'))) / (select extract(epoch from '2026-06-08 13:38:24'::timestamp) - extract(epoch from '2026-06-08 13:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.406099 -2.80496)', '2026-06-08 13:38:31', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405962 -2.804941)'), GeomFromEWKT('SRID=4674;POINT (-40.406099 -2.80496)'))) / (select extract(epoch from '2026-06-08 13:38:31'::timestamp) - extract(epoch from '2026-06-08 13:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405962 -2.804941)'), GeomFromEWKT('SRID=4674;POINT (-40.406099 -2.80496)'))) / (select extract(epoch from '2026-06-08 13:38:31'::timestamp) - extract(epoch from '2026-06-08 13:38: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'), 46728, 'SRID=4674;POINT (-40.406251 -2.804984)', '2026-06-08 13:38:38', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406099 -2.80496)'), GeomFromEWKT('SRID=4674;POINT (-40.406251 -2.804984)'))) / (select extract(epoch from '2026-06-08 13:38:38'::timestamp) - extract(epoch from '2026-06-08 13:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406099 -2.80496)'), GeomFromEWKT('SRID=4674;POINT (-40.406251 -2.804984)'))) / (select extract(epoch from '2026-06-08 13:38:38'::timestamp) - extract(epoch from '2026-06-08 13:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.406388 -2.805007)', '2026-06-08 13:38:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406251 -2.804984)'), GeomFromEWKT('SRID=4674;POINT (-40.406388 -2.805007)'))) / (select extract(epoch from '2026-06-08 13:38:44'::timestamp) - extract(epoch from '2026-06-08 13:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406251 -2.804984)'), GeomFromEWKT('SRID=4674;POINT (-40.406388 -2.805007)'))) / (select extract(epoch from '2026-06-08 13:38:44'::timestamp) - extract(epoch from '2026-06-08 13:38:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.406525 -2.805018)', '2026-06-08 13:38:50', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406388 -2.805007)'), GeomFromEWKT('SRID=4674;POINT (-40.406525 -2.805018)'))) / (select extract(epoch from '2026-06-08 13:38:50'::timestamp) - extract(epoch from '2026-06-08 13:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406388 -2.805007)'), GeomFromEWKT('SRID=4674;POINT (-40.406525 -2.805018)'))) / (select extract(epoch from '2026-06-08 13:38:50'::timestamp) - extract(epoch from '2026-06-08 13:38: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'), 46728, 'SRID=4674;POINT (-40.406714 -2.804984)', '2026-06-08 13:38:58', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406525 -2.805018)'), GeomFromEWKT('SRID=4674;POINT (-40.406714 -2.804984)'))) / (select extract(epoch from '2026-06-08 13:38:58'::timestamp) - extract(epoch from '2026-06-08 13:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406525 -2.805018)'), GeomFromEWKT('SRID=4674;POINT (-40.406714 -2.804984)'))) / (select extract(epoch from '2026-06-08 13:38:58'::timestamp) - extract(epoch from '2026-06-08 13:38: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'), 46728, 'SRID=4674;POINT (-40.406844 -2.804926)', '2026-06-08 13:39:04', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406714 -2.804984)'), GeomFromEWKT('SRID=4674;POINT (-40.406844 -2.804926)'))) / (select extract(epoch from '2026-06-08 13:39:04'::timestamp) - extract(epoch from '2026-06-08 13:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406714 -2.804984)'), GeomFromEWKT('SRID=4674;POINT (-40.406844 -2.804926)'))) / (select extract(epoch from '2026-06-08 13:39:04'::timestamp) - extract(epoch from '2026-06-08 13:38: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'), 46728, 'SRID=4674;POINT (-40.407011 -2.804926)', '2026-06-08 13:39:11', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406844 -2.804926)'), GeomFromEWKT('SRID=4674;POINT (-40.407011 -2.804926)'))) / (select extract(epoch from '2026-06-08 13:39:11'::timestamp) - extract(epoch from '2026-06-08 13:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406844 -2.804926)'), GeomFromEWKT('SRID=4674;POINT (-40.407011 -2.804926)'))) / (select extract(epoch from '2026-06-08 13:39:11'::timestamp) - extract(epoch from '2026-06-08 13:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.40722 -2.804929)', '2026-06-08 13:39:20', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407011 -2.804926)'), GeomFromEWKT('SRID=4674;POINT (-40.40722 -2.804929)'))) / (select extract(epoch from '2026-06-08 13:39:20'::timestamp) - extract(epoch from '2026-06-08 13:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407011 -2.804926)'), GeomFromEWKT('SRID=4674;POINT (-40.40722 -2.804929)'))) / (select extract(epoch from '2026-06-08 13:39:20'::timestamp) - extract(epoch from '2026-06-08 13:39: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'), 46728, 'SRID=4674;POINT (-40.407395 -2.804937)', '2026-06-08 13:39:28', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40722 -2.804929)'), GeomFromEWKT('SRID=4674;POINT (-40.407395 -2.804937)'))) / (select extract(epoch from '2026-06-08 13:39:28'::timestamp) - extract(epoch from '2026-06-08 13:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40722 -2.804929)'), GeomFromEWKT('SRID=4674;POINT (-40.407395 -2.804937)'))) / (select extract(epoch from '2026-06-08 13:39:28'::timestamp) - extract(epoch from '2026-06-08 13:39:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.40756 -2.804948)', '2026-06-08 13:39:36', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407395 -2.804937)'), GeomFromEWKT('SRID=4674;POINT (-40.40756 -2.804948)'))) / (select extract(epoch from '2026-06-08 13:39:36'::timestamp) - extract(epoch from '2026-06-08 13:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407395 -2.804937)'), GeomFromEWKT('SRID=4674;POINT (-40.40756 -2.804948)'))) / (select extract(epoch from '2026-06-08 13:39:36'::timestamp) - extract(epoch from '2026-06-08 13:39: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'), 46728, 'SRID=4674;POINT (-40.407743 -2.804948)', '2026-06-08 13:39:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40756 -2.804948)'), GeomFromEWKT('SRID=4674;POINT (-40.407743 -2.804948)'))) / (select extract(epoch from '2026-06-08 13:39:45'::timestamp) - extract(epoch from '2026-06-08 13:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40756 -2.804948)'), GeomFromEWKT('SRID=4674;POINT (-40.407743 -2.804948)'))) / (select extract(epoch from '2026-06-08 13:39:45'::timestamp) - extract(epoch from '2026-06-08 13:39:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.407896 -2.804953)', '2026-06-08 13:39:52', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407743 -2.804948)'), GeomFromEWKT('SRID=4674;POINT (-40.407896 -2.804953)'))) / (select extract(epoch from '2026-06-08 13:39:52'::timestamp) - extract(epoch from '2026-06-08 13:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407743 -2.804948)'), GeomFromEWKT('SRID=4674;POINT (-40.407896 -2.804953)'))) / (select extract(epoch from '2026-06-08 13:39:52'::timestamp) - extract(epoch from '2026-06-08 13:39: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'), 46728, 'SRID=4674;POINT (-40.408066 -2.804959)', '2026-06-08 13:40:00', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407896 -2.804953)'), GeomFromEWKT('SRID=4674;POINT (-40.408066 -2.804959)'))) / (select extract(epoch from '2026-06-08 13:40:00'::timestamp) - extract(epoch from '2026-06-08 13:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407896 -2.804953)'), GeomFromEWKT('SRID=4674;POINT (-40.408066 -2.804959)'))) / (select extract(epoch from '2026-06-08 13:40:00'::timestamp) - extract(epoch from '2026-06-08 13:39: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'), 46728, 'SRID=4674;POINT (-40.408192 -2.804974)', '2026-06-08 13:40:06', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408066 -2.804959)'), GeomFromEWKT('SRID=4674;POINT (-40.408192 -2.804974)'))) / (select extract(epoch from '2026-06-08 13:40:06'::timestamp) - extract(epoch from '2026-06-08 13:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408066 -2.804959)'), GeomFromEWKT('SRID=4674;POINT (-40.408192 -2.804974)'))) / (select extract(epoch from '2026-06-08 13:40:06'::timestamp) - extract(epoch from '2026-06-08 13:40: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'), 46728, 'SRID=4674;POINT (-40.408335 -2.804978)', '2026-06-08 13:40:13', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408192 -2.804974)'), GeomFromEWKT('SRID=4674;POINT (-40.408335 -2.804978)'))) / (select extract(epoch from '2026-06-08 13:40:13'::timestamp) - extract(epoch from '2026-06-08 13:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408192 -2.804974)'), GeomFromEWKT('SRID=4674;POINT (-40.408335 -2.804978)'))) / (select extract(epoch from '2026-06-08 13:40:13'::timestamp) - extract(epoch from '2026-06-08 13:40: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'), 46728, 'SRID=4674;POINT (-40.408458 -2.804993)', '2026-06-08 13:40:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408335 -2.804978)'), GeomFromEWKT('SRID=4674;POINT (-40.408458 -2.804993)'))) / (select extract(epoch from '2026-06-08 13:40:19'::timestamp) - extract(epoch from '2026-06-08 13:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408335 -2.804978)'), GeomFromEWKT('SRID=4674;POINT (-40.408458 -2.804993)'))) / (select extract(epoch from '2026-06-08 13:40:19'::timestamp) - extract(epoch from '2026-06-08 13:40: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'), 46728, 'SRID=4674;POINT (-40.408572 -2.805006)', '2026-06-08 13:40:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408458 -2.804993)'), GeomFromEWKT('SRID=4674;POINT (-40.408572 -2.805006)'))) / (select extract(epoch from '2026-06-08 13:40:24'::timestamp) - extract(epoch from '2026-06-08 13:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408458 -2.804993)'), GeomFromEWKT('SRID=4674;POINT (-40.408572 -2.805006)'))) / (select extract(epoch from '2026-06-08 13:40:24'::timestamp) - extract(epoch from '2026-06-08 13:40: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'), 46728, 'SRID=4674;POINT (-40.408746 -2.805029)', '2026-06-08 13:40:32', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408572 -2.805006)'), GeomFromEWKT('SRID=4674;POINT (-40.408746 -2.805029)'))) / (select extract(epoch from '2026-06-08 13:40:32'::timestamp) - extract(epoch from '2026-06-08 13:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408572 -2.805006)'), GeomFromEWKT('SRID=4674;POINT (-40.408746 -2.805029)'))) / (select extract(epoch from '2026-06-08 13:40:32'::timestamp) - extract(epoch from '2026-06-08 13:40: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'), 46728, 'SRID=4674;POINT (-40.408917 -2.80504)', '2026-06-08 13:40:40', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408746 -2.805029)'), GeomFromEWKT('SRID=4674;POINT (-40.408917 -2.80504)'))) / (select extract(epoch from '2026-06-08 13:40:40'::timestamp) - extract(epoch from '2026-06-08 13:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408746 -2.805029)'), GeomFromEWKT('SRID=4674;POINT (-40.408917 -2.80504)'))) / (select extract(epoch from '2026-06-08 13:40:40'::timestamp) - extract(epoch from '2026-06-08 13:40: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'), 46728, 'SRID=4674;POINT (-40.409105 -2.805041)', '2026-06-08 13:40:49', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408917 -2.80504)'), GeomFromEWKT('SRID=4674;POINT (-40.409105 -2.805041)'))) / (select extract(epoch from '2026-06-08 13:40:49'::timestamp) - extract(epoch from '2026-06-08 13:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408917 -2.80504)'), GeomFromEWKT('SRID=4674;POINT (-40.409105 -2.805041)'))) / (select extract(epoch from '2026-06-08 13:40:49'::timestamp) - extract(epoch from '2026-06-08 13:40: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'), 46728, 'SRID=4674;POINT (-40.409262 -2.805057)', '2026-06-08 13:40:57', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409105 -2.805041)'), GeomFromEWKT('SRID=4674;POINT (-40.409262 -2.805057)'))) / (select extract(epoch from '2026-06-08 13:40:57'::timestamp) - extract(epoch from '2026-06-08 13:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409105 -2.805041)'), GeomFromEWKT('SRID=4674;POINT (-40.409262 -2.805057)'))) / (select extract(epoch from '2026-06-08 13:40:57'::timestamp) - extract(epoch from '2026-06-08 13:40: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'), 46728, 'SRID=4674;POINT (-40.409373 -2.805078)', '2026-06-08 13:41:03', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409262 -2.805057)'), GeomFromEWKT('SRID=4674;POINT (-40.409373 -2.805078)'))) / (select extract(epoch from '2026-06-08 13:41:03'::timestamp) - extract(epoch from '2026-06-08 13:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409262 -2.805057)'), GeomFromEWKT('SRID=4674;POINT (-40.409373 -2.805078)'))) / (select extract(epoch from '2026-06-08 13:41:03'::timestamp) - extract(epoch from '2026-06-08 13:40: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'), 46728, 'SRID=4674;POINT (-40.409509 -2.805087)', '2026-06-08 13:41:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409373 -2.805078)'), GeomFromEWKT('SRID=4674;POINT (-40.409509 -2.805087)'))) / (select extract(epoch from '2026-06-08 13:41:10'::timestamp) - extract(epoch from '2026-06-08 13:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409373 -2.805078)'), GeomFromEWKT('SRID=4674;POINT (-40.409509 -2.805087)'))) / (select extract(epoch from '2026-06-08 13:41:10'::timestamp) - extract(epoch from '2026-06-08 13:41:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.409637 -2.805101)', '2026-06-08 13:41:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409509 -2.805087)'), GeomFromEWKT('SRID=4674;POINT (-40.409637 -2.805101)'))) / (select extract(epoch from '2026-06-08 13:41:17'::timestamp) - extract(epoch from '2026-06-08 13:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409509 -2.805087)'), GeomFromEWKT('SRID=4674;POINT (-40.409637 -2.805101)'))) / (select extract(epoch from '2026-06-08 13:41:17'::timestamp) - extract(epoch from '2026-06-08 13:41:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.40969 -2.8051)', '2026-06-08 13:41:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409637 -2.805101)'), GeomFromEWKT('SRID=4674;POINT (-40.40969 -2.8051)'))) / (select extract(epoch from '2026-06-08 13:41:20'::timestamp) - extract(epoch from '2026-06-08 13:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409637 -2.805101)'), GeomFromEWKT('SRID=4674;POINT (-40.40969 -2.8051)'))) / (select extract(epoch from '2026-06-08 13:41:20'::timestamp) - extract(epoch from '2026-06-08 13:41: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'), 46728, 'SRID=4674;POINT (-40.409734 -2.805109)', '2026-06-08 13:41:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40969 -2.8051)'), GeomFromEWKT('SRID=4674;POINT (-40.409734 -2.805109)'))) / (select extract(epoch from '2026-06-08 13:41:22'::timestamp) - extract(epoch from '2026-06-08 13:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40969 -2.8051)'), GeomFromEWKT('SRID=4674;POINT (-40.409734 -2.805109)'))) / (select extract(epoch from '2026-06-08 13:41:22'::timestamp) - extract(epoch from '2026-06-08 13:41: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'), 46728, 'SRID=4674;POINT (-40.409834 -2.805103)', '2026-06-08 13:41:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409734 -2.805109)'), GeomFromEWKT('SRID=4674;POINT (-40.409834 -2.805103)'))) / (select extract(epoch from '2026-06-08 13:41:27'::timestamp) - extract(epoch from '2026-06-08 13:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409734 -2.805109)'), GeomFromEWKT('SRID=4674;POINT (-40.409834 -2.805103)'))) / (select extract(epoch from '2026-06-08 13:41:27'::timestamp) - extract(epoch from '2026-06-08 13:41:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.409959 -2.805104)', '2026-06-08 13:41:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409834 -2.805103)'), GeomFromEWKT('SRID=4674;POINT (-40.409959 -2.805104)'))) / (select extract(epoch from '2026-06-08 13:41:34'::timestamp) - extract(epoch from '2026-06-08 13:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409834 -2.805103)'), GeomFromEWKT('SRID=4674;POINT (-40.409959 -2.805104)'))) / (select extract(epoch from '2026-06-08 13:41:34'::timestamp) - extract(epoch from '2026-06-08 13:41: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'), 46728, 'SRID=4674;POINT (-40.410091 -2.805117)', '2026-06-08 13:41:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409959 -2.805104)'), GeomFromEWKT('SRID=4674;POINT (-40.410091 -2.805117)'))) / (select extract(epoch from '2026-06-08 13:41:41'::timestamp) - extract(epoch from '2026-06-08 13:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409959 -2.805104)'), GeomFromEWKT('SRID=4674;POINT (-40.410091 -2.805117)'))) / (select extract(epoch from '2026-06-08 13:41:41'::timestamp) - extract(epoch from '2026-06-08 13:41:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.410253 -2.805138)', '2026-06-08 13:41:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410091 -2.805117)'), GeomFromEWKT('SRID=4674;POINT (-40.410253 -2.805138)'))) / (select extract(epoch from '2026-06-08 13:41:49'::timestamp) - extract(epoch from '2026-06-08 13:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410091 -2.805117)'), GeomFromEWKT('SRID=4674;POINT (-40.410253 -2.805138)'))) / (select extract(epoch from '2026-06-08 13:41:49'::timestamp) - extract(epoch from '2026-06-08 13:41:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.410388 -2.805161)', '2026-06-08 13:41:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410253 -2.805138)'), GeomFromEWKT('SRID=4674;POINT (-40.410388 -2.805161)'))) / (select extract(epoch from '2026-06-08 13:41:56'::timestamp) - extract(epoch from '2026-06-08 13:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410253 -2.805138)'), GeomFromEWKT('SRID=4674;POINT (-40.410388 -2.805161)'))) / (select extract(epoch from '2026-06-08 13:41:56'::timestamp) - extract(epoch from '2026-06-08 13:41: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'), 46728, 'SRID=4674;POINT (-40.41054 -2.805153)', '2026-06-08 13:42:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410388 -2.805161)'), GeomFromEWKT('SRID=4674;POINT (-40.41054 -2.805153)'))) / (select extract(epoch from '2026-06-08 13:42:03'::timestamp) - extract(epoch from '2026-06-08 13:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410388 -2.805161)'), GeomFromEWKT('SRID=4674;POINT (-40.41054 -2.805153)'))) / (select extract(epoch from '2026-06-08 13:42:03'::timestamp) - extract(epoch from '2026-06-08 13:41: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'), 46728, 'SRID=4674;POINT (-40.410666 -2.805115)', '2026-06-08 13:42:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41054 -2.805153)'), GeomFromEWKT('SRID=4674;POINT (-40.410666 -2.805115)'))) / (select extract(epoch from '2026-06-08 13:42:09'::timestamp) - extract(epoch from '2026-06-08 13:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41054 -2.805153)'), GeomFromEWKT('SRID=4674;POINT (-40.410666 -2.805115)'))) / (select extract(epoch from '2026-06-08 13:42:09'::timestamp) - extract(epoch from '2026-06-08 13:42: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'), 46728, 'SRID=4674;POINT (-40.410801 -2.805082)', '2026-06-08 13:42:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410666 -2.805115)'), GeomFromEWKT('SRID=4674;POINT (-40.410801 -2.805082)'))) / (select extract(epoch from '2026-06-08 13:42:15'::timestamp) - extract(epoch from '2026-06-08 13:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410666 -2.805115)'), GeomFromEWKT('SRID=4674;POINT (-40.410801 -2.805082)'))) / (select extract(epoch from '2026-06-08 13:42:15'::timestamp) - extract(epoch from '2026-06-08 13:42: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'), 46728, 'SRID=4674;POINT (-40.410986 -2.805049)', '2026-06-08 13:42:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410801 -2.805082)'), GeomFromEWKT('SRID=4674;POINT (-40.410986 -2.805049)'))) / (select extract(epoch from '2026-06-08 13:42:23'::timestamp) - extract(epoch from '2026-06-08 13:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410801 -2.805082)'), GeomFromEWKT('SRID=4674;POINT (-40.410986 -2.805049)'))) / (select extract(epoch from '2026-06-08 13:42:23'::timestamp) - extract(epoch from '2026-06-08 13:42: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'), 46728, 'SRID=4674;POINT (-40.41119 -2.805036)', '2026-06-08 13:42:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410986 -2.805049)'), GeomFromEWKT('SRID=4674;POINT (-40.41119 -2.805036)'))) / (select extract(epoch from '2026-06-08 13:42:32'::timestamp) - extract(epoch from '2026-06-08 13:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410986 -2.805049)'), GeomFromEWKT('SRID=4674;POINT (-40.41119 -2.805036)'))) / (select extract(epoch from '2026-06-08 13:42:32'::timestamp) - extract(epoch from '2026-06-08 13:42: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'), 46728, 'SRID=4674;POINT (-40.411363 -2.805028)', '2026-06-08 13:42:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41119 -2.805036)'), GeomFromEWKT('SRID=4674;POINT (-40.411363 -2.805028)'))) / (select extract(epoch from '2026-06-08 13:42:39'::timestamp) - extract(epoch from '2026-06-08 13:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41119 -2.805036)'), GeomFromEWKT('SRID=4674;POINT (-40.411363 -2.805028)'))) / (select extract(epoch from '2026-06-08 13:42:39'::timestamp) - extract(epoch from '2026-06-08 13:42:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.411503 -2.805036)', '2026-06-08 13:42:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411363 -2.805028)'), GeomFromEWKT('SRID=4674;POINT (-40.411503 -2.805036)'))) / (select extract(epoch from '2026-06-08 13:42:46'::timestamp) - extract(epoch from '2026-06-08 13:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411363 -2.805028)'), GeomFromEWKT('SRID=4674;POINT (-40.411503 -2.805036)'))) / (select extract(epoch from '2026-06-08 13:42:46'::timestamp) - extract(epoch from '2026-06-08 13:42: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'), 46728, 'SRID=4674;POINT (-40.411686 -2.805031)', '2026-06-08 13:42:55', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411503 -2.805036)'), GeomFromEWKT('SRID=4674;POINT (-40.411686 -2.805031)'))) / (select extract(epoch from '2026-06-08 13:42:55'::timestamp) - extract(epoch from '2026-06-08 13:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411503 -2.805036)'), GeomFromEWKT('SRID=4674;POINT (-40.411686 -2.805031)'))) / (select extract(epoch from '2026-06-08 13:42:55'::timestamp) - extract(epoch from '2026-06-08 13:42:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.411869 -2.805021)', '2026-06-08 13:43:04', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411686 -2.805031)'), GeomFromEWKT('SRID=4674;POINT (-40.411869 -2.805021)'))) / (select extract(epoch from '2026-06-08 13:43:04'::timestamp) - extract(epoch from '2026-06-08 13:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411686 -2.805031)'), GeomFromEWKT('SRID=4674;POINT (-40.411869 -2.805021)'))) / (select extract(epoch from '2026-06-08 13:43:04'::timestamp) - extract(epoch from '2026-06-08 13:42:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.411998 -2.80501)', '2026-06-08 13:43:10', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411869 -2.805021)'), GeomFromEWKT('SRID=4674;POINT (-40.411998 -2.80501)'))) / (select extract(epoch from '2026-06-08 13:43:10'::timestamp) - extract(epoch from '2026-06-08 13:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411869 -2.805021)'), GeomFromEWKT('SRID=4674;POINT (-40.411998 -2.80501)'))) / (select extract(epoch from '2026-06-08 13:43:10'::timestamp) - extract(epoch from '2026-06-08 13:43: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'), 46728, 'SRID=4674;POINT (-40.412159 -2.80499)', '2026-06-08 13:43:17', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411998 -2.80501)'), GeomFromEWKT('SRID=4674;POINT (-40.412159 -2.80499)'))) / (select extract(epoch from '2026-06-08 13:43:17'::timestamp) - extract(epoch from '2026-06-08 13:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411998 -2.80501)'), GeomFromEWKT('SRID=4674;POINT (-40.412159 -2.80499)'))) / (select extract(epoch from '2026-06-08 13:43:17'::timestamp) - extract(epoch from '2026-06-08 13:43: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'), 46728, 'SRID=4674;POINT (-40.412341 -2.804979)', '2026-06-08 13:43:25', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412159 -2.80499)'), GeomFromEWKT('SRID=4674;POINT (-40.412341 -2.804979)'))) / (select extract(epoch from '2026-06-08 13:43:25'::timestamp) - extract(epoch from '2026-06-08 13:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412159 -2.80499)'), GeomFromEWKT('SRID=4674;POINT (-40.412341 -2.804979)'))) / (select extract(epoch from '2026-06-08 13:43:25'::timestamp) - extract(epoch from '2026-06-08 13:43: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'), 46728, 'SRID=4674;POINT (-40.412498 -2.804969)', '2026-06-08 13:43:32', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412341 -2.804979)'), GeomFromEWKT('SRID=4674;POINT (-40.412498 -2.804969)'))) / (select extract(epoch from '2026-06-08 13:43:32'::timestamp) - extract(epoch from '2026-06-08 13:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412341 -2.804979)'), GeomFromEWKT('SRID=4674;POINT (-40.412498 -2.804969)'))) / (select extract(epoch from '2026-06-08 13:43:32'::timestamp) - extract(epoch from '2026-06-08 13:43: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'), 46728, 'SRID=4674;POINT (-40.412674 -2.804951)', '2026-06-08 13:43:40', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412498 -2.804969)'), GeomFromEWKT('SRID=4674;POINT (-40.412674 -2.804951)'))) / (select extract(epoch from '2026-06-08 13:43:40'::timestamp) - extract(epoch from '2026-06-08 13:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412498 -2.804969)'), GeomFromEWKT('SRID=4674;POINT (-40.412674 -2.804951)'))) / (select extract(epoch from '2026-06-08 13:43:40'::timestamp) - extract(epoch from '2026-06-08 13:43:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.412846 -2.80495)', '2026-06-08 13:43:48', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412674 -2.804951)'), GeomFromEWKT('SRID=4674;POINT (-40.412846 -2.80495)'))) / (select extract(epoch from '2026-06-08 13:43:48'::timestamp) - extract(epoch from '2026-06-08 13:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412674 -2.804951)'), GeomFromEWKT('SRID=4674;POINT (-40.412846 -2.80495)'))) / (select extract(epoch from '2026-06-08 13:43:48'::timestamp) - extract(epoch from '2026-06-08 13:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.413033 -2.804961)', '2026-06-08 13:43:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412846 -2.80495)'), GeomFromEWKT('SRID=4674;POINT (-40.413033 -2.804961)'))) / (select extract(epoch from '2026-06-08 13:43:57'::timestamp) - extract(epoch from '2026-06-08 13:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412846 -2.80495)'), GeomFromEWKT('SRID=4674;POINT (-40.413033 -2.804961)'))) / (select extract(epoch from '2026-06-08 13:43:57'::timestamp) - extract(epoch from '2026-06-08 13:43: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'), 46728, 'SRID=4674;POINT (-40.413148 -2.804967)', '2026-06-08 13:44:03', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413033 -2.804961)'), GeomFromEWKT('SRID=4674;POINT (-40.413148 -2.804967)'))) / (select extract(epoch from '2026-06-08 13:44:03'::timestamp) - extract(epoch from '2026-06-08 13:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413033 -2.804961)'), GeomFromEWKT('SRID=4674;POINT (-40.413148 -2.804967)'))) / (select extract(epoch from '2026-06-08 13:44:03'::timestamp) - extract(epoch from '2026-06-08 13:43: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'), 46728, 'SRID=4674;POINT (-40.413262 -2.804953)', '2026-06-08 13:44:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413148 -2.804967)'), GeomFromEWKT('SRID=4674;POINT (-40.413262 -2.804953)'))) / (select extract(epoch from '2026-06-08 13:44:09'::timestamp) - extract(epoch from '2026-06-08 13:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413148 -2.804967)'), GeomFromEWKT('SRID=4674;POINT (-40.413262 -2.804953)'))) / (select extract(epoch from '2026-06-08 13:44:09'::timestamp) - extract(epoch from '2026-06-08 13:44:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.413402 -2.804913)', '2026-06-08 13:44:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413262 -2.804953)'), GeomFromEWKT('SRID=4674;POINT (-40.413402 -2.804913)'))) / (select extract(epoch from '2026-06-08 13:44:16'::timestamp) - extract(epoch from '2026-06-08 13:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413262 -2.804953)'), GeomFromEWKT('SRID=4674;POINT (-40.413402 -2.804913)'))) / (select extract(epoch from '2026-06-08 13:44:16'::timestamp) - extract(epoch from '2026-06-08 13:44: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'), 46728, 'SRID=4674;POINT (-40.413546 -2.804876)', '2026-06-08 13:44:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413402 -2.804913)'), GeomFromEWKT('SRID=4674;POINT (-40.413546 -2.804876)'))) / (select extract(epoch from '2026-06-08 13:44:23'::timestamp) - extract(epoch from '2026-06-08 13:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413402 -2.804913)'), GeomFromEWKT('SRID=4674;POINT (-40.413546 -2.804876)'))) / (select extract(epoch from '2026-06-08 13:44:23'::timestamp) - extract(epoch from '2026-06-08 13:44: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'), 46728, 'SRID=4674;POINT (-40.413736 -2.804836)', '2026-06-08 13:44:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413546 -2.804876)'), GeomFromEWKT('SRID=4674;POINT (-40.413736 -2.804836)'))) / (select extract(epoch from '2026-06-08 13:44:32'::timestamp) - extract(epoch from '2026-06-08 13:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413546 -2.804876)'), GeomFromEWKT('SRID=4674;POINT (-40.413736 -2.804836)'))) / (select extract(epoch from '2026-06-08 13:44:32'::timestamp) - extract(epoch from '2026-06-08 13:44:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.41389 -2.804815)', '2026-06-08 13:44:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413736 -2.804836)'), GeomFromEWKT('SRID=4674;POINT (-40.41389 -2.804815)'))) / (select extract(epoch from '2026-06-08 13:44:39'::timestamp) - extract(epoch from '2026-06-08 13:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413736 -2.804836)'), GeomFromEWKT('SRID=4674;POINT (-40.41389 -2.804815)'))) / (select extract(epoch from '2026-06-08 13:44:39'::timestamp) - extract(epoch from '2026-06-08 13:44:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.414035 -2.804809)', '2026-06-08 13:44:46', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41389 -2.804815)'), GeomFromEWKT('SRID=4674;POINT (-40.414035 -2.804809)'))) / (select extract(epoch from '2026-06-08 13:44:46'::timestamp) - extract(epoch from '2026-06-08 13:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41389 -2.804815)'), GeomFromEWKT('SRID=4674;POINT (-40.414035 -2.804809)'))) / (select extract(epoch from '2026-06-08 13:44:46'::timestamp) - extract(epoch from '2026-06-08 13:44: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'), 46728, 'SRID=4674;POINT (-40.414186 -2.804801)', '2026-06-08 13:44:53', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414035 -2.804809)'), GeomFromEWKT('SRID=4674;POINT (-40.414186 -2.804801)'))) / (select extract(epoch from '2026-06-08 13:44:53'::timestamp) - extract(epoch from '2026-06-08 13:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414035 -2.804809)'), GeomFromEWKT('SRID=4674;POINT (-40.414186 -2.804801)'))) / (select extract(epoch from '2026-06-08 13:44:53'::timestamp) - extract(epoch from '2026-06-08 13:44: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'), 46728, 'SRID=4674;POINT (-40.41432 -2.804788)', '2026-06-08 13:44:59', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414186 -2.804801)'), GeomFromEWKT('SRID=4674;POINT (-40.41432 -2.804788)'))) / (select extract(epoch from '2026-06-08 13:44:59'::timestamp) - extract(epoch from '2026-06-08 13:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414186 -2.804801)'), GeomFromEWKT('SRID=4674;POINT (-40.41432 -2.804788)'))) / (select extract(epoch from '2026-06-08 13:44:59'::timestamp) - extract(epoch from '2026-06-08 13:44: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'), 46728, 'SRID=4674;POINT (-40.414451 -2.804772)', '2026-06-08 13:45:05', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41432 -2.804788)'), GeomFromEWKT('SRID=4674;POINT (-40.414451 -2.804772)'))) / (select extract(epoch from '2026-06-08 13:45:05'::timestamp) - extract(epoch from '2026-06-08 13:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41432 -2.804788)'), GeomFromEWKT('SRID=4674;POINT (-40.414451 -2.804772)'))) / (select extract(epoch from '2026-06-08 13:45:05'::timestamp) - extract(epoch from '2026-06-08 13:44:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.414567 -2.804747)', '2026-06-08 13:45:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414451 -2.804772)'), GeomFromEWKT('SRID=4674;POINT (-40.414567 -2.804747)'))) / (select extract(epoch from '2026-06-08 13:45:10'::timestamp) - extract(epoch from '2026-06-08 13:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414451 -2.804772)'), GeomFromEWKT('SRID=4674;POINT (-40.414567 -2.804747)'))) / (select extract(epoch from '2026-06-08 13:45:10'::timestamp) - extract(epoch from '2026-06-08 13:45: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'), 46728, 'SRID=4674;POINT (-40.414681 -2.80473)', '2026-06-08 13:45:15', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414567 -2.804747)'), GeomFromEWKT('SRID=4674;POINT (-40.414681 -2.80473)'))) / (select extract(epoch from '2026-06-08 13:45:15'::timestamp) - extract(epoch from '2026-06-08 13:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414567 -2.804747)'), GeomFromEWKT('SRID=4674;POINT (-40.414681 -2.80473)'))) / (select extract(epoch from '2026-06-08 13:45:15'::timestamp) - extract(epoch from '2026-06-08 13:45:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.41486 -2.804667)', '2026-06-08 13:45:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414681 -2.80473)'), GeomFromEWKT('SRID=4674;POINT (-40.41486 -2.804667)'))) / (select extract(epoch from '2026-06-08 13:45:22'::timestamp) - extract(epoch from '2026-06-08 13:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414681 -2.80473)'), GeomFromEWKT('SRID=4674;POINT (-40.41486 -2.804667)'))) / (select extract(epoch from '2026-06-08 13:45:22'::timestamp) - extract(epoch from '2026-06-08 13:45: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'), 46728, 'SRID=4674;POINT (-40.415007 -2.804613)', '2026-06-08 13:45:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41486 -2.804667)'), GeomFromEWKT('SRID=4674;POINT (-40.415007 -2.804613)'))) / (select extract(epoch from '2026-06-08 13:45:28'::timestamp) - extract(epoch from '2026-06-08 13:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41486 -2.804667)'), GeomFromEWKT('SRID=4674;POINT (-40.415007 -2.804613)'))) / (select extract(epoch from '2026-06-08 13:45:28'::timestamp) - extract(epoch from '2026-06-08 13:45: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'), 46728, 'SRID=4674;POINT (-40.415135 -2.804579)', '2026-06-08 13:45:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415007 -2.804613)'), GeomFromEWKT('SRID=4674;POINT (-40.415135 -2.804579)'))) / (select extract(epoch from '2026-06-08 13:45:33'::timestamp) - extract(epoch from '2026-06-08 13:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415007 -2.804613)'), GeomFromEWKT('SRID=4674;POINT (-40.415135 -2.804579)'))) / (select extract(epoch from '2026-06-08 13:45:33'::timestamp) - extract(epoch from '2026-06-08 13:45: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'), 46728, 'SRID=4674;POINT (-40.41531 -2.804522)', '2026-06-08 13:45:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415135 -2.804579)'), GeomFromEWKT('SRID=4674;POINT (-40.41531 -2.804522)'))) / (select extract(epoch from '2026-06-08 13:45:40'::timestamp) - extract(epoch from '2026-06-08 13:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415135 -2.804579)'), GeomFromEWKT('SRID=4674;POINT (-40.41531 -2.804522)'))) / (select extract(epoch from '2026-06-08 13:45:40'::timestamp) - extract(epoch from '2026-06-08 13:45: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'), 46728, 'SRID=4674;POINT (-40.415462 -2.804459)', '2026-06-08 13:45:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41531 -2.804522)'), GeomFromEWKT('SRID=4674;POINT (-40.415462 -2.804459)'))) / (select extract(epoch from '2026-06-08 13:45:46'::timestamp) - extract(epoch from '2026-06-08 13:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41531 -2.804522)'), GeomFromEWKT('SRID=4674;POINT (-40.415462 -2.804459)'))) / (select extract(epoch from '2026-06-08 13:45:46'::timestamp) - extract(epoch from '2026-06-08 13:45: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'), 46728, 'SRID=4674;POINT (-40.415583 -2.804382)', '2026-06-08 13:45:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415462 -2.804459)'), GeomFromEWKT('SRID=4674;POINT (-40.415583 -2.804382)'))) / (select extract(epoch from '2026-06-08 13:45:52'::timestamp) - extract(epoch from '2026-06-08 13:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415462 -2.804459)'), GeomFromEWKT('SRID=4674;POINT (-40.415583 -2.804382)'))) / (select extract(epoch from '2026-06-08 13:45:52'::timestamp) - extract(epoch from '2026-06-08 13:45: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'), 46728, 'SRID=4674;POINT (-40.415737 -2.804327)', '2026-06-08 13:45:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415583 -2.804382)'), GeomFromEWKT('SRID=4674;POINT (-40.415737 -2.804327)'))) / (select extract(epoch from '2026-06-08 13:45:59'::timestamp) - extract(epoch from '2026-06-08 13:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415583 -2.804382)'), GeomFromEWKT('SRID=4674;POINT (-40.415737 -2.804327)'))) / (select extract(epoch from '2026-06-08 13:45:59'::timestamp) - extract(epoch from '2026-06-08 13:45:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.415926 -2.804306)', '2026-06-08 13:46:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415737 -2.804327)'), GeomFromEWKT('SRID=4674;POINT (-40.415926 -2.804306)'))) / (select extract(epoch from '2026-06-08 13:46:07'::timestamp) - extract(epoch from '2026-06-08 13:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415737 -2.804327)'), GeomFromEWKT('SRID=4674;POINT (-40.415926 -2.804306)'))) / (select extract(epoch from '2026-06-08 13:46:07'::timestamp) - extract(epoch from '2026-06-08 13:45: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'), 46728, 'SRID=4674;POINT (-40.416065 -2.804299)', '2026-06-08 13:46:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415926 -2.804306)'), GeomFromEWKT('SRID=4674;POINT (-40.416065 -2.804299)'))) / (select extract(epoch from '2026-06-08 13:46:13'::timestamp) - extract(epoch from '2026-06-08 13:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415926 -2.804306)'), GeomFromEWKT('SRID=4674;POINT (-40.416065 -2.804299)'))) / (select extract(epoch from '2026-06-08 13:46:13'::timestamp) - extract(epoch from '2026-06-08 13:46:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.416203 -2.804291)', '2026-06-08 13:46:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416065 -2.804299)'), GeomFromEWKT('SRID=4674;POINT (-40.416203 -2.804291)'))) / (select extract(epoch from '2026-06-08 13:46:19'::timestamp) - extract(epoch from '2026-06-08 13:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416065 -2.804299)'), GeomFromEWKT('SRID=4674;POINT (-40.416203 -2.804291)'))) / (select extract(epoch from '2026-06-08 13:46:19'::timestamp) - extract(epoch from '2026-06-08 13:46: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'), 46728, 'SRID=4674;POINT (-40.416338 -2.80429)', '2026-06-08 13:46:25', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416203 -2.804291)'), GeomFromEWKT('SRID=4674;POINT (-40.416338 -2.80429)'))) / (select extract(epoch from '2026-06-08 13:46:25'::timestamp) - extract(epoch from '2026-06-08 13:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416203 -2.804291)'), GeomFromEWKT('SRID=4674;POINT (-40.416338 -2.80429)'))) / (select extract(epoch from '2026-06-08 13:46:25'::timestamp) - extract(epoch from '2026-06-08 13:46:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.416512 -2.804263)', '2026-06-08 13:46:33', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416338 -2.80429)'), GeomFromEWKT('SRID=4674;POINT (-40.416512 -2.804263)'))) / (select extract(epoch from '2026-06-08 13:46:33'::timestamp) - extract(epoch from '2026-06-08 13:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416338 -2.80429)'), GeomFromEWKT('SRID=4674;POINT (-40.416512 -2.804263)'))) / (select extract(epoch from '2026-06-08 13:46:33'::timestamp) - extract(epoch from '2026-06-08 13:46: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'), 46728, 'SRID=4674;POINT (-40.416662 -2.80425)', '2026-06-08 13:46:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416512 -2.804263)'), GeomFromEWKT('SRID=4674;POINT (-40.416662 -2.80425)'))) / (select extract(epoch from '2026-06-08 13:46:40'::timestamp) - extract(epoch from '2026-06-08 13:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416512 -2.804263)'), GeomFromEWKT('SRID=4674;POINT (-40.416662 -2.80425)'))) / (select extract(epoch from '2026-06-08 13:46:40'::timestamp) - extract(epoch from '2026-06-08 13:46: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'), 46728, 'SRID=4674;POINT (-40.416828 -2.804243)', '2026-06-08 13:46:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416662 -2.80425)'), GeomFromEWKT('SRID=4674;POINT (-40.416828 -2.804243)'))) / (select extract(epoch from '2026-06-08 13:46:48'::timestamp) - extract(epoch from '2026-06-08 13:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416662 -2.80425)'), GeomFromEWKT('SRID=4674;POINT (-40.416828 -2.804243)'))) / (select extract(epoch from '2026-06-08 13:46:48'::timestamp) - extract(epoch from '2026-06-08 13:46: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'), 46728, 'SRID=4674;POINT (-40.416946 -2.804249)', '2026-06-08 13:46:54', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416828 -2.804243)'), GeomFromEWKT('SRID=4674;POINT (-40.416946 -2.804249)'))) / (select extract(epoch from '2026-06-08 13:46:54'::timestamp) - extract(epoch from '2026-06-08 13:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416828 -2.804243)'), GeomFromEWKT('SRID=4674;POINT (-40.416946 -2.804249)'))) / (select extract(epoch from '2026-06-08 13:46:54'::timestamp) - extract(epoch from '2026-06-08 13:46: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'), 46728, 'SRID=4674;POINT (-40.417082 -2.804251)', '2026-06-08 13:47:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416946 -2.804249)'), GeomFromEWKT('SRID=4674;POINT (-40.417082 -2.804251)'))) / (select extract(epoch from '2026-06-08 13:47:01'::timestamp) - extract(epoch from '2026-06-08 13:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416946 -2.804249)'), GeomFromEWKT('SRID=4674;POINT (-40.417082 -2.804251)'))) / (select extract(epoch from '2026-06-08 13:47:01'::timestamp) - extract(epoch from '2026-06-08 13:46: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'), 46728, 'SRID=4674;POINT (-40.417182 -2.804256)', '2026-06-08 13:47:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417082 -2.804251)'), GeomFromEWKT('SRID=4674;POINT (-40.417182 -2.804256)'))) / (select extract(epoch from '2026-06-08 13:47:07'::timestamp) - extract(epoch from '2026-06-08 13:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417082 -2.804251)'), GeomFromEWKT('SRID=4674;POINT (-40.417182 -2.804256)'))) / (select extract(epoch from '2026-06-08 13:47:07'::timestamp) - extract(epoch from '2026-06-08 13:47:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.417295 -2.80427)', '2026-06-08 13:47:14', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417182 -2.804256)'), GeomFromEWKT('SRID=4674;POINT (-40.417295 -2.80427)'))) / (select extract(epoch from '2026-06-08 13:47:14'::timestamp) - extract(epoch from '2026-06-08 13:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417182 -2.804256)'), GeomFromEWKT('SRID=4674;POINT (-40.417295 -2.80427)'))) / (select extract(epoch from '2026-06-08 13:47:14'::timestamp) - extract(epoch from '2026-06-08 13:47: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'), 46728, 'SRID=4674;POINT (-40.417426 -2.804282)', '2026-06-08 13:47:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417295 -2.80427)'), GeomFromEWKT('SRID=4674;POINT (-40.417426 -2.804282)'))) / (select extract(epoch from '2026-06-08 13:47:22'::timestamp) - extract(epoch from '2026-06-08 13:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417295 -2.80427)'), GeomFromEWKT('SRID=4674;POINT (-40.417426 -2.804282)'))) / (select extract(epoch from '2026-06-08 13:47:22'::timestamp) - extract(epoch from '2026-06-08 13:47: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'), 46728, 'SRID=4674;POINT (-40.417551 -2.804268)', '2026-06-08 13:47:29', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417426 -2.804282)'), GeomFromEWKT('SRID=4674;POINT (-40.417551 -2.804268)'))) / (select extract(epoch from '2026-06-08 13:47:29'::timestamp) - extract(epoch from '2026-06-08 13:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417426 -2.804282)'), GeomFromEWKT('SRID=4674;POINT (-40.417551 -2.804268)'))) / (select extract(epoch from '2026-06-08 13:47:29'::timestamp) - extract(epoch from '2026-06-08 13:47: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'), 46728, 'SRID=4674;POINT (-40.417665 -2.804264)', '2026-06-08 13:47:35', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417551 -2.804268)'), GeomFromEWKT('SRID=4674;POINT (-40.417665 -2.804264)'))) / (select extract(epoch from '2026-06-08 13:47:35'::timestamp) - extract(epoch from '2026-06-08 13:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417551 -2.804268)'), GeomFromEWKT('SRID=4674;POINT (-40.417665 -2.804264)'))) / (select extract(epoch from '2026-06-08 13:47:35'::timestamp) - extract(epoch from '2026-06-08 13:47: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'), 46728, 'SRID=4674;POINT (-40.417733 -2.804258)', '2026-06-08 13:47:39', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417665 -2.804264)'), GeomFromEWKT('SRID=4674;POINT (-40.417733 -2.804258)'))) / (select extract(epoch from '2026-06-08 13:47:39'::timestamp) - extract(epoch from '2026-06-08 13:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417665 -2.804264)'), GeomFromEWKT('SRID=4674;POINT (-40.417733 -2.804258)'))) / (select extract(epoch from '2026-06-08 13:47:39'::timestamp) - extract(epoch from '2026-06-08 13:47: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'), 46728, 'SRID=4674;POINT (-40.417754 -2.804259)', '2026-06-08 13:47:40', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417733 -2.804258)'), GeomFromEWKT('SRID=4674;POINT (-40.417754 -2.804259)'))) / (select extract(epoch from '2026-06-08 13:47:40'::timestamp) - extract(epoch from '2026-06-08 13:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417733 -2.804258)'), GeomFromEWKT('SRID=4674;POINT (-40.417754 -2.804259)'))) / (select extract(epoch from '2026-06-08 13:47:40'::timestamp) - extract(epoch from '2026-06-08 13:47: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'), 46728, 'SRID=4674;POINT (-40.417865 -2.804253)', '2026-06-08 13:47:46', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417754 -2.804259)'), GeomFromEWKT('SRID=4674;POINT (-40.417865 -2.804253)'))) / (select extract(epoch from '2026-06-08 13:47:46'::timestamp) - extract(epoch from '2026-06-08 13:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417754 -2.804259)'), GeomFromEWKT('SRID=4674;POINT (-40.417865 -2.804253)'))) / (select extract(epoch from '2026-06-08 13:47:46'::timestamp) - extract(epoch from '2026-06-08 13:47:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.418002 -2.804238)', '2026-06-08 13:47:53', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417865 -2.804253)'), GeomFromEWKT('SRID=4674;POINT (-40.418002 -2.804238)'))) / (select extract(epoch from '2026-06-08 13:47:53'::timestamp) - extract(epoch from '2026-06-08 13:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417865 -2.804253)'), GeomFromEWKT('SRID=4674;POINT (-40.418002 -2.804238)'))) / (select extract(epoch from '2026-06-08 13:47:53'::timestamp) - extract(epoch from '2026-06-08 13:47:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.41816 -2.804217)', '2026-06-08 13:48:00', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418002 -2.804238)'), GeomFromEWKT('SRID=4674;POINT (-40.41816 -2.804217)'))) / (select extract(epoch from '2026-06-08 13:48:00'::timestamp) - extract(epoch from '2026-06-08 13:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418002 -2.804238)'), GeomFromEWKT('SRID=4674;POINT (-40.41816 -2.804217)'))) / (select extract(epoch from '2026-06-08 13:48:00'::timestamp) - extract(epoch from '2026-06-08 13:47: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'), 46728, 'SRID=4674;POINT (-40.418321 -2.804222)', '2026-06-08 13:48:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41816 -2.804217)'), GeomFromEWKT('SRID=4674;POINT (-40.418321 -2.804222)'))) / (select extract(epoch from '2026-06-08 13:48:07'::timestamp) - extract(epoch from '2026-06-08 13:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41816 -2.804217)'), GeomFromEWKT('SRID=4674;POINT (-40.418321 -2.804222)'))) / (select extract(epoch from '2026-06-08 13:48:07'::timestamp) - extract(epoch from '2026-06-08 13:48: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'), 46728, 'SRID=4674;POINT (-40.418473 -2.804228)', '2026-06-08 13:48:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418321 -2.804222)'), GeomFromEWKT('SRID=4674;POINT (-40.418473 -2.804228)'))) / (select extract(epoch from '2026-06-08 13:48:13'::timestamp) - extract(epoch from '2026-06-08 13:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418321 -2.804222)'), GeomFromEWKT('SRID=4674;POINT (-40.418473 -2.804228)'))) / (select extract(epoch from '2026-06-08 13:48:13'::timestamp) - extract(epoch from '2026-06-08 13:48: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'), 46728, 'SRID=4674;POINT (-40.418608 -2.804201)', '2026-06-08 13:48:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418473 -2.804228)'), GeomFromEWKT('SRID=4674;POINT (-40.418608 -2.804201)'))) / (select extract(epoch from '2026-06-08 13:48:18'::timestamp) - extract(epoch from '2026-06-08 13:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418473 -2.804228)'), GeomFromEWKT('SRID=4674;POINT (-40.418608 -2.804201)'))) / (select extract(epoch from '2026-06-08 13:48:18'::timestamp) - extract(epoch from '2026-06-08 13:48: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'), 46728, 'SRID=4674;POINT (-40.418763 -2.804196)', '2026-06-08 13:48:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418608 -2.804201)'), GeomFromEWKT('SRID=4674;POINT (-40.418763 -2.804196)'))) / (select extract(epoch from '2026-06-08 13:48:23'::timestamp) - extract(epoch from '2026-06-08 13:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418608 -2.804201)'), GeomFromEWKT('SRID=4674;POINT (-40.418763 -2.804196)'))) / (select extract(epoch from '2026-06-08 13:48:23'::timestamp) - extract(epoch from '2026-06-08 13:48: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'), 46728, 'SRID=4674;POINT (-40.418964 -2.80417)', '2026-06-08 13:48:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418763 -2.804196)'), GeomFromEWKT('SRID=4674;POINT (-40.418964 -2.80417)'))) / (select extract(epoch from '2026-06-08 13:48:30'::timestamp) - extract(epoch from '2026-06-08 13:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418763 -2.804196)'), GeomFromEWKT('SRID=4674;POINT (-40.418964 -2.80417)'))) / (select extract(epoch from '2026-06-08 13:48:30'::timestamp) - extract(epoch from '2026-06-08 13:48: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'), 46728, 'SRID=4674;POINT (-40.419121 -2.80415)', '2026-06-08 13:48:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418964 -2.80417)'), GeomFromEWKT('SRID=4674;POINT (-40.419121 -2.80415)'))) / (select extract(epoch from '2026-06-08 13:48:36'::timestamp) - extract(epoch from '2026-06-08 13:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418964 -2.80417)'), GeomFromEWKT('SRID=4674;POINT (-40.419121 -2.80415)'))) / (select extract(epoch from '2026-06-08 13:48:36'::timestamp) - extract(epoch from '2026-06-08 13:48:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.419287 -2.804147)', '2026-06-08 13:48:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419121 -2.80415)'), GeomFromEWKT('SRID=4674;POINT (-40.419287 -2.804147)'))) / (select extract(epoch from '2026-06-08 13:48:42'::timestamp) - extract(epoch from '2026-06-08 13:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419121 -2.80415)'), GeomFromEWKT('SRID=4674;POINT (-40.419287 -2.804147)'))) / (select extract(epoch from '2026-06-08 13:48:42'::timestamp) - extract(epoch from '2026-06-08 13:48:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.419472 -2.804159)', '2026-06-08 13:48:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419287 -2.804147)'), GeomFromEWKT('SRID=4674;POINT (-40.419472 -2.804159)'))) / (select extract(epoch from '2026-06-08 13:48:49'::timestamp) - extract(epoch from '2026-06-08 13:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419287 -2.804147)'), GeomFromEWKT('SRID=4674;POINT (-40.419472 -2.804159)'))) / (select extract(epoch from '2026-06-08 13:48:49'::timestamp) - extract(epoch from '2026-06-08 13:48:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.419662 -2.804171)', '2026-06-08 13:48:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419472 -2.804159)'), GeomFromEWKT('SRID=4674;POINT (-40.419662 -2.804171)'))) / (select extract(epoch from '2026-06-08 13:48:55'::timestamp) - extract(epoch from '2026-06-08 13:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419472 -2.804159)'), GeomFromEWKT('SRID=4674;POINT (-40.419662 -2.804171)'))) / (select extract(epoch from '2026-06-08 13:48:55'::timestamp) - extract(epoch from '2026-06-08 13:48:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.419841 -2.804173)', '2026-06-08 13:49:02', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419662 -2.804171)'), GeomFromEWKT('SRID=4674;POINT (-40.419841 -2.804173)'))) / (select extract(epoch from '2026-06-08 13:49:02'::timestamp) - extract(epoch from '2026-06-08 13:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419662 -2.804171)'), GeomFromEWKT('SRID=4674;POINT (-40.419841 -2.804173)'))) / (select extract(epoch from '2026-06-08 13:49:02'::timestamp) - extract(epoch from '2026-06-08 13:48: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'), 46728, 'SRID=4674;POINT (-40.419987 -2.804189)', '2026-06-08 13:49:08', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419841 -2.804173)'), GeomFromEWKT('SRID=4674;POINT (-40.419987 -2.804189)'))) / (select extract(epoch from '2026-06-08 13:49:08'::timestamp) - extract(epoch from '2026-06-08 13:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419841 -2.804173)'), GeomFromEWKT('SRID=4674;POINT (-40.419987 -2.804189)'))) / (select extract(epoch from '2026-06-08 13:49:08'::timestamp) - extract(epoch from '2026-06-08 13:49: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'), 46728, 'SRID=4674;POINT (-40.420156 -2.804218)', '2026-06-08 13:49:14', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419987 -2.804189)'), GeomFromEWKT('SRID=4674;POINT (-40.420156 -2.804218)'))) / (select extract(epoch from '2026-06-08 13:49:14'::timestamp) - extract(epoch from '2026-06-08 13:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419987 -2.804189)'), GeomFromEWKT('SRID=4674;POINT (-40.420156 -2.804218)'))) / (select extract(epoch from '2026-06-08 13:49:14'::timestamp) - extract(epoch from '2026-06-08 13:49: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'), 46728, 'SRID=4674;POINT (-40.420326 -2.804243)', '2026-06-08 13:49:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420156 -2.804218)'), GeomFromEWKT('SRID=4674;POINT (-40.420326 -2.804243)'))) / (select extract(epoch from '2026-06-08 13:49:21'::timestamp) - extract(epoch from '2026-06-08 13:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420156 -2.804218)'), GeomFromEWKT('SRID=4674;POINT (-40.420326 -2.804243)'))) / (select extract(epoch from '2026-06-08 13:49:21'::timestamp) - extract(epoch from '2026-06-08 13:49: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'), 46728, 'SRID=4674;POINT (-40.420531 -2.80426)', '2026-06-08 13:49:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420326 -2.804243)'), GeomFromEWKT('SRID=4674;POINT (-40.420531 -2.80426)'))) / (select extract(epoch from '2026-06-08 13:49:29'::timestamp) - extract(epoch from '2026-06-08 13:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420326 -2.804243)'), GeomFromEWKT('SRID=4674;POINT (-40.420531 -2.80426)'))) / (select extract(epoch from '2026-06-08 13:49:29'::timestamp) - extract(epoch from '2026-06-08 13:49:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.42068 -2.80428)', '2026-06-08 13:49:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420531 -2.80426)'), GeomFromEWKT('SRID=4674;POINT (-40.42068 -2.80428)'))) / (select extract(epoch from '2026-06-08 13:49:35'::timestamp) - extract(epoch from '2026-06-08 13:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420531 -2.80426)'), GeomFromEWKT('SRID=4674;POINT (-40.42068 -2.80428)'))) / (select extract(epoch from '2026-06-08 13:49:35'::timestamp) - extract(epoch from '2026-06-08 13:49: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'), 46728, 'SRID=4674;POINT (-40.420799 -2.804289)', '2026-06-08 13:49:40', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42068 -2.80428)'), GeomFromEWKT('SRID=4674;POINT (-40.420799 -2.804289)'))) / (select extract(epoch from '2026-06-08 13:49:40'::timestamp) - extract(epoch from '2026-06-08 13:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42068 -2.80428)'), GeomFromEWKT('SRID=4674;POINT (-40.420799 -2.804289)'))) / (select extract(epoch from '2026-06-08 13:49:40'::timestamp) - extract(epoch from '2026-06-08 13:49: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'), 46728, 'SRID=4674;POINT (-40.42093 -2.804282)', '2026-06-08 13:49:45', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420799 -2.804289)'), GeomFromEWKT('SRID=4674;POINT (-40.42093 -2.804282)'))) / (select extract(epoch from '2026-06-08 13:49:45'::timestamp) - extract(epoch from '2026-06-08 13:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420799 -2.804289)'), GeomFromEWKT('SRID=4674;POINT (-40.42093 -2.804282)'))) / (select extract(epoch from '2026-06-08 13:49:45'::timestamp) - extract(epoch from '2026-06-08 13:49: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'), 46728, 'SRID=4674;POINT (-40.421099 -2.804275)', '2026-06-08 13:49:51', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42093 -2.804282)'), GeomFromEWKT('SRID=4674;POINT (-40.421099 -2.804275)'))) / (select extract(epoch from '2026-06-08 13:49:51'::timestamp) - extract(epoch from '2026-06-08 13:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42093 -2.804282)'), GeomFromEWKT('SRID=4674;POINT (-40.421099 -2.804275)'))) / (select extract(epoch from '2026-06-08 13:49:51'::timestamp) - extract(epoch from '2026-06-08 13:49: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'), 46728, 'SRID=4674;POINT (-40.421353 -2.804274)', '2026-06-08 13:50:00', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421099 -2.804275)'), GeomFromEWKT('SRID=4674;POINT (-40.421353 -2.804274)'))) / (select extract(epoch from '2026-06-08 13:50:00'::timestamp) - extract(epoch from '2026-06-08 13:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421099 -2.804275)'), GeomFromEWKT('SRID=4674;POINT (-40.421353 -2.804274)'))) / (select extract(epoch from '2026-06-08 13:50:00'::timestamp) - extract(epoch from '2026-06-08 13:49:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.421556 -2.804256)', '2026-06-08 13:50:08', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421353 -2.804274)'), GeomFromEWKT('SRID=4674;POINT (-40.421556 -2.804256)'))) / (select extract(epoch from '2026-06-08 13:50:08'::timestamp) - extract(epoch from '2026-06-08 13:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421353 -2.804274)'), GeomFromEWKT('SRID=4674;POINT (-40.421556 -2.804256)'))) / (select extract(epoch from '2026-06-08 13:50:08'::timestamp) - extract(epoch from '2026-06-08 13:50: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'), 46728, 'SRID=4674;POINT (-40.421717 -2.804236)', '2026-06-08 13:50:15', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421556 -2.804256)'), GeomFromEWKT('SRID=4674;POINT (-40.421717 -2.804236)'))) / (select extract(epoch from '2026-06-08 13:50:15'::timestamp) - extract(epoch from '2026-06-08 13:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421556 -2.804256)'), GeomFromEWKT('SRID=4674;POINT (-40.421717 -2.804236)'))) / (select extract(epoch from '2026-06-08 13:50:15'::timestamp) - extract(epoch from '2026-06-08 13:50:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.421854 -2.804243)', '2026-06-08 13:50:21', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421717 -2.804236)'), GeomFromEWKT('SRID=4674;POINT (-40.421854 -2.804243)'))) / (select extract(epoch from '2026-06-08 13:50:21'::timestamp) - extract(epoch from '2026-06-08 13:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421717 -2.804236)'), GeomFromEWKT('SRID=4674;POINT (-40.421854 -2.804243)'))) / (select extract(epoch from '2026-06-08 13:50:21'::timestamp) - extract(epoch from '2026-06-08 13:50: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'), 46728, 'SRID=4674;POINT (-40.422049 -2.804248)', '2026-06-08 13:50:29', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421854 -2.804243)'), GeomFromEWKT('SRID=4674;POINT (-40.422049 -2.804248)'))) / (select extract(epoch from '2026-06-08 13:50:29'::timestamp) - extract(epoch from '2026-06-08 13:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421854 -2.804243)'), GeomFromEWKT('SRID=4674;POINT (-40.422049 -2.804248)'))) / (select extract(epoch from '2026-06-08 13:50:29'::timestamp) - extract(epoch from '2026-06-08 13:50: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'), 46728, 'SRID=4674;POINT (-40.422222 -2.804255)', '2026-06-08 13:50:36', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422049 -2.804248)'), GeomFromEWKT('SRID=4674;POINT (-40.422222 -2.804255)'))) / (select extract(epoch from '2026-06-08 13:50:36'::timestamp) - extract(epoch from '2026-06-08 13:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422049 -2.804248)'), GeomFromEWKT('SRID=4674;POINT (-40.422222 -2.804255)'))) / (select extract(epoch from '2026-06-08 13:50:36'::timestamp) - extract(epoch from '2026-06-08 13:50: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'), 46728, 'SRID=4674;POINT (-40.422427 -2.804263)', '2026-06-08 13:50:44', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422222 -2.804255)'), GeomFromEWKT('SRID=4674;POINT (-40.422427 -2.804263)'))) / (select extract(epoch from '2026-06-08 13:50:44'::timestamp) - extract(epoch from '2026-06-08 13:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422222 -2.804255)'), GeomFromEWKT('SRID=4674;POINT (-40.422427 -2.804263)'))) / (select extract(epoch from '2026-06-08 13:50:44'::timestamp) - extract(epoch from '2026-06-08 13:50: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'), 46728, 'SRID=4674;POINT (-40.422646 -2.804281)', '2026-06-08 13:50:52', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422427 -2.804263)'), GeomFromEWKT('SRID=4674;POINT (-40.422646 -2.804281)'))) / (select extract(epoch from '2026-06-08 13:50:52'::timestamp) - extract(epoch from '2026-06-08 13:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422427 -2.804263)'), GeomFromEWKT('SRID=4674;POINT (-40.422646 -2.804281)'))) / (select extract(epoch from '2026-06-08 13:50:52'::timestamp) - extract(epoch from '2026-06-08 13:50: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'), 46728, 'SRID=4674;POINT (-40.422831 -2.8043)', '2026-06-08 13:50:59', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422646 -2.804281)'), GeomFromEWKT('SRID=4674;POINT (-40.422831 -2.8043)'))) / (select extract(epoch from '2026-06-08 13:50:59'::timestamp) - extract(epoch from '2026-06-08 13:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422646 -2.804281)'), GeomFromEWKT('SRID=4674;POINT (-40.422831 -2.8043)'))) / (select extract(epoch from '2026-06-08 13:50:59'::timestamp) - extract(epoch from '2026-06-08 13:50:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.42298 -2.804313)', '2026-06-08 13:51:05', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422831 -2.8043)'), GeomFromEWKT('SRID=4674;POINT (-40.42298 -2.804313)'))) / (select extract(epoch from '2026-06-08 13:51:05'::timestamp) - extract(epoch from '2026-06-08 13:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422831 -2.8043)'), GeomFromEWKT('SRID=4674;POINT (-40.42298 -2.804313)'))) / (select extract(epoch from '2026-06-08 13:51:05'::timestamp) - extract(epoch from '2026-06-08 13:50: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'), 46728, 'SRID=4674;POINT (-40.42318 -2.804344)', '2026-06-08 13:51:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42298 -2.804313)'), GeomFromEWKT('SRID=4674;POINT (-40.42318 -2.804344)'))) / (select extract(epoch from '2026-06-08 13:51:13'::timestamp) - extract(epoch from '2026-06-08 13:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42298 -2.804313)'), GeomFromEWKT('SRID=4674;POINT (-40.42318 -2.804344)'))) / (select extract(epoch from '2026-06-08 13:51:13'::timestamp) - extract(epoch from '2026-06-08 13:51: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'), 46728, 'SRID=4674;POINT (-40.423326 -2.804377)', '2026-06-08 13:51:19', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42318 -2.804344)'), GeomFromEWKT('SRID=4674;POINT (-40.423326 -2.804377)'))) / (select extract(epoch from '2026-06-08 13:51:19'::timestamp) - extract(epoch from '2026-06-08 13:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42318 -2.804344)'), GeomFromEWKT('SRID=4674;POINT (-40.423326 -2.804377)'))) / (select extract(epoch from '2026-06-08 13:51:19'::timestamp) - extract(epoch from '2026-06-08 13:51: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'), 46728, 'SRID=4674;POINT (-40.423442 -2.804402)', '2026-06-08 13:51:24', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423326 -2.804377)'), GeomFromEWKT('SRID=4674;POINT (-40.423442 -2.804402)'))) / (select extract(epoch from '2026-06-08 13:51:24'::timestamp) - extract(epoch from '2026-06-08 13:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423326 -2.804377)'), GeomFromEWKT('SRID=4674;POINT (-40.423442 -2.804402)'))) / (select extract(epoch from '2026-06-08 13:51:24'::timestamp) - extract(epoch from '2026-06-08 13:51: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'), 46728, 'SRID=4674;POINT (-40.423617 -2.804402)', '2026-06-08 13:51:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423442 -2.804402)'), GeomFromEWKT('SRID=4674;POINT (-40.423617 -2.804402)'))) / (select extract(epoch from '2026-06-08 13:51:31'::timestamp) - extract(epoch from '2026-06-08 13:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423442 -2.804402)'), GeomFromEWKT('SRID=4674;POINT (-40.423617 -2.804402)'))) / (select extract(epoch from '2026-06-08 13:51:31'::timestamp) - extract(epoch from '2026-06-08 13:51: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'), 46728, 'SRID=4674;POINT (-40.423952 -2.804443)', '2026-06-08 13:51:43', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423617 -2.804402)'), GeomFromEWKT('SRID=4674;POINT (-40.423952 -2.804443)'))) / (select extract(epoch from '2026-06-08 13:51:43'::timestamp) - extract(epoch from '2026-06-08 13:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423617 -2.804402)'), GeomFromEWKT('SRID=4674;POINT (-40.423952 -2.804443)'))) / (select extract(epoch from '2026-06-08 13:51:43'::timestamp) - extract(epoch from '2026-06-08 13:51:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.42411 -2.804466)', '2026-06-08 13:51:49', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423952 -2.804443)'), GeomFromEWKT('SRID=4674;POINT (-40.42411 -2.804466)'))) / (select extract(epoch from '2026-06-08 13:51:49'::timestamp) - extract(epoch from '2026-06-08 13:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423952 -2.804443)'), GeomFromEWKT('SRID=4674;POINT (-40.42411 -2.804466)'))) / (select extract(epoch from '2026-06-08 13:51:49'::timestamp) - extract(epoch from '2026-06-08 13:51: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'), 46728, 'SRID=4674;POINT (-40.424309 -2.804486)', '2026-06-08 13:51:57', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42411 -2.804466)'), GeomFromEWKT('SRID=4674;POINT (-40.424309 -2.804486)'))) / (select extract(epoch from '2026-06-08 13:51:57'::timestamp) - extract(epoch from '2026-06-08 13:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42411 -2.804466)'), GeomFromEWKT('SRID=4674;POINT (-40.424309 -2.804486)'))) / (select extract(epoch from '2026-06-08 13:51:57'::timestamp) - extract(epoch from '2026-06-08 13:51: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'), 46728, 'SRID=4674;POINT (-40.42446 -2.804499)', '2026-06-08 13:52:03', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424309 -2.804486)'), GeomFromEWKT('SRID=4674;POINT (-40.42446 -2.804499)'))) / (select extract(epoch from '2026-06-08 13:52:03'::timestamp) - extract(epoch from '2026-06-08 13:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424309 -2.804486)'), GeomFromEWKT('SRID=4674;POINT (-40.42446 -2.804499)'))) / (select extract(epoch from '2026-06-08 13:52:03'::timestamp) - extract(epoch from '2026-06-08 13:51: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'), 46728, 'SRID=4674;POINT (-40.424647 -2.804525)', '2026-06-08 13:52:11', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42446 -2.804499)'), GeomFromEWKT('SRID=4674;POINT (-40.424647 -2.804525)'))) / (select extract(epoch from '2026-06-08 13:52:11'::timestamp) - extract(epoch from '2026-06-08 13:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42446 -2.804499)'), GeomFromEWKT('SRID=4674;POINT (-40.424647 -2.804525)'))) / (select extract(epoch from '2026-06-08 13:52:11'::timestamp) - extract(epoch from '2026-06-08 13:52:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.424808 -2.804546)', '2026-06-08 13:52:18', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424647 -2.804525)'), GeomFromEWKT('SRID=4674;POINT (-40.424808 -2.804546)'))) / (select extract(epoch from '2026-06-08 13:52:18'::timestamp) - extract(epoch from '2026-06-08 13:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424647 -2.804525)'), GeomFromEWKT('SRID=4674;POINT (-40.424808 -2.804546)'))) / (select extract(epoch from '2026-06-08 13:52:18'::timestamp) - extract(epoch from '2026-06-08 13:52: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'), 46728, 'SRID=4674;POINT (-40.424945 -2.804576)', '2026-06-08 13:52:24', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424808 -2.804546)'), GeomFromEWKT('SRID=4674;POINT (-40.424945 -2.804576)'))) / (select extract(epoch from '2026-06-08 13:52:24'::timestamp) - extract(epoch from '2026-06-08 13:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424808 -2.804546)'), GeomFromEWKT('SRID=4674;POINT (-40.424945 -2.804576)'))) / (select extract(epoch from '2026-06-08 13:52:24'::timestamp) - extract(epoch from '2026-06-08 13:52: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'), 46728, 'SRID=4674;POINT (-40.425139 -2.804596)', '2026-06-08 13:52:32', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424945 -2.804576)'), GeomFromEWKT('SRID=4674;POINT (-40.425139 -2.804596)'))) / (select extract(epoch from '2026-06-08 13:52:32'::timestamp) - extract(epoch from '2026-06-08 13:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424945 -2.804576)'), GeomFromEWKT('SRID=4674;POINT (-40.425139 -2.804596)'))) / (select extract(epoch from '2026-06-08 13:52:32'::timestamp) - extract(epoch from '2026-06-08 13:52:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.425255 -2.804596)', '2026-06-08 13:52:37', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425139 -2.804596)'), GeomFromEWKT('SRID=4674;POINT (-40.425255 -2.804596)'))) / (select extract(epoch from '2026-06-08 13:52:37'::timestamp) - extract(epoch from '2026-06-08 13:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425139 -2.804596)'), GeomFromEWKT('SRID=4674;POINT (-40.425255 -2.804596)'))) / (select extract(epoch from '2026-06-08 13:52:37'::timestamp) - extract(epoch from '2026-06-08 13:52:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.425405 -2.804609)', '2026-06-08 13:52:43', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425255 -2.804596)'), GeomFromEWKT('SRID=4674;POINT (-40.425405 -2.804609)'))) / (select extract(epoch from '2026-06-08 13:52:43'::timestamp) - extract(epoch from '2026-06-08 13:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425255 -2.804596)'), GeomFromEWKT('SRID=4674;POINT (-40.425405 -2.804609)'))) / (select extract(epoch from '2026-06-08 13:52:43'::timestamp) - extract(epoch from '2026-06-08 13:52: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'), 46728, 'SRID=4674;POINT (-40.425562 -2.804626)', '2026-06-08 13:52:49', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425405 -2.804609)'), GeomFromEWKT('SRID=4674;POINT (-40.425562 -2.804626)'))) / (select extract(epoch from '2026-06-08 13:52:49'::timestamp) - extract(epoch from '2026-06-08 13:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425405 -2.804609)'), GeomFromEWKT('SRID=4674;POINT (-40.425562 -2.804626)'))) / (select extract(epoch from '2026-06-08 13:52:49'::timestamp) - extract(epoch from '2026-06-08 13:52: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'), 46728, 'SRID=4674;POINT (-40.425703 -2.804628)', '2026-06-08 13:52:54', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425562 -2.804626)'), GeomFromEWKT('SRID=4674;POINT (-40.425703 -2.804628)'))) / (select extract(epoch from '2026-06-08 13:52:54'::timestamp) - extract(epoch from '2026-06-08 13:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425562 -2.804626)'), GeomFromEWKT('SRID=4674;POINT (-40.425703 -2.804628)'))) / (select extract(epoch from '2026-06-08 13:52:54'::timestamp) - extract(epoch from '2026-06-08 13:52: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'), 46728, 'SRID=4674;POINT (-40.425888 -2.80463)', '2026-06-08 13:53:01', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425703 -2.804628)'), GeomFromEWKT('SRID=4674;POINT (-40.425888 -2.80463)'))) / (select extract(epoch from '2026-06-08 13:53:01'::timestamp) - extract(epoch from '2026-06-08 13:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425703 -2.804628)'), GeomFromEWKT('SRID=4674;POINT (-40.425888 -2.80463)'))) / (select extract(epoch from '2026-06-08 13:53:01'::timestamp) - extract(epoch from '2026-06-08 13:52:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.426047 -2.804621)', '2026-06-08 13:53:07', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425888 -2.80463)'), GeomFromEWKT('SRID=4674;POINT (-40.426047 -2.804621)'))) / (select extract(epoch from '2026-06-08 13:53:07'::timestamp) - extract(epoch from '2026-06-08 13:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425888 -2.80463)'), GeomFromEWKT('SRID=4674;POINT (-40.426047 -2.804621)'))) / (select extract(epoch from '2026-06-08 13:53:07'::timestamp) - extract(epoch from '2026-06-08 13:53:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.42621 -2.804608)', '2026-06-08 13:53:13', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426047 -2.804621)'), GeomFromEWKT('SRID=4674;POINT (-40.42621 -2.804608)'))) / (select extract(epoch from '2026-06-08 13:53:13'::timestamp) - extract(epoch from '2026-06-08 13:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426047 -2.804621)'), GeomFromEWKT('SRID=4674;POINT (-40.42621 -2.804608)'))) / (select extract(epoch from '2026-06-08 13:53:13'::timestamp) - extract(epoch from '2026-06-08 13:53: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'), 46728, 'SRID=4674;POINT (-40.426365 -2.804621)', '2026-06-08 13:53:19', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42621 -2.804608)'), GeomFromEWKT('SRID=4674;POINT (-40.426365 -2.804621)'))) / (select extract(epoch from '2026-06-08 13:53:19'::timestamp) - extract(epoch from '2026-06-08 13:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42621 -2.804608)'), GeomFromEWKT('SRID=4674;POINT (-40.426365 -2.804621)'))) / (select extract(epoch from '2026-06-08 13:53:19'::timestamp) - extract(epoch from '2026-06-08 13:53:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.426546 -2.804655)', '2026-06-08 13:53:26', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426365 -2.804621)'), GeomFromEWKT('SRID=4674;POINT (-40.426546 -2.804655)'))) / (select extract(epoch from '2026-06-08 13:53:26'::timestamp) - extract(epoch from '2026-06-08 13:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426365 -2.804621)'), GeomFromEWKT('SRID=4674;POINT (-40.426546 -2.804655)'))) / (select extract(epoch from '2026-06-08 13:53:26'::timestamp) - extract(epoch from '2026-06-08 13:53: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'), 46728, 'SRID=4674;POINT (-40.426744 -2.804695)', '2026-06-08 13:53:34', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426546 -2.804655)'), GeomFromEWKT('SRID=4674;POINT (-40.426744 -2.804695)'))) / (select extract(epoch from '2026-06-08 13:53:34'::timestamp) - extract(epoch from '2026-06-08 13:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426546 -2.804655)'), GeomFromEWKT('SRID=4674;POINT (-40.426744 -2.804695)'))) / (select extract(epoch from '2026-06-08 13:53:34'::timestamp) - extract(epoch from '2026-06-08 13:53: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'), 46728, 'SRID=4674;POINT (-40.426858 -2.80472)', '2026-06-08 13:53:39', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426744 -2.804695)'), GeomFromEWKT('SRID=4674;POINT (-40.426858 -2.80472)'))) / (select extract(epoch from '2026-06-08 13:53:39'::timestamp) - extract(epoch from '2026-06-08 13:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426744 -2.804695)'), GeomFromEWKT('SRID=4674;POINT (-40.426858 -2.80472)'))) / (select extract(epoch from '2026-06-08 13:53:39'::timestamp) - extract(epoch from '2026-06-08 13:53: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'), 46728, 'SRID=4674;POINT (-40.427046 -2.804744)', '2026-06-08 13:53:46', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426858 -2.80472)'), GeomFromEWKT('SRID=4674;POINT (-40.427046 -2.804744)'))) / (select extract(epoch from '2026-06-08 13:53:46'::timestamp) - extract(epoch from '2026-06-08 13:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426858 -2.80472)'), GeomFromEWKT('SRID=4674;POINT (-40.427046 -2.804744)'))) / (select extract(epoch from '2026-06-08 13:53:46'::timestamp) - extract(epoch from '2026-06-08 13:53: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'), 46728, 'SRID=4674;POINT (-40.427272 -2.804761)', '2026-06-08 13:53:55', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427046 -2.804744)'), GeomFromEWKT('SRID=4674;POINT (-40.427272 -2.804761)'))) / (select extract(epoch from '2026-06-08 13:53:55'::timestamp) - extract(epoch from '2026-06-08 13:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427046 -2.804744)'), GeomFromEWKT('SRID=4674;POINT (-40.427272 -2.804761)'))) / (select extract(epoch from '2026-06-08 13:53:55'::timestamp) - extract(epoch from '2026-06-08 13:53: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'), 46728, 'SRID=4674;POINT (-40.427457 -2.804783)', '2026-06-08 13:54:02', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427272 -2.804761)'), GeomFromEWKT('SRID=4674;POINT (-40.427457 -2.804783)'))) / (select extract(epoch from '2026-06-08 13:54:02'::timestamp) - extract(epoch from '2026-06-08 13:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427272 -2.804761)'), GeomFromEWKT('SRID=4674;POINT (-40.427457 -2.804783)'))) / (select extract(epoch from '2026-06-08 13:54:02'::timestamp) - extract(epoch from '2026-06-08 13:53: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'), 46728, 'SRID=4674;POINT (-40.427602 -2.80478)', '2026-06-08 13:54:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427457 -2.804783)'), GeomFromEWKT('SRID=4674;POINT (-40.427602 -2.80478)'))) / (select extract(epoch from '2026-06-08 13:54:08'::timestamp) - extract(epoch from '2026-06-08 13:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427457 -2.804783)'), GeomFromEWKT('SRID=4674;POINT (-40.427602 -2.80478)'))) / (select extract(epoch from '2026-06-08 13:54:08'::timestamp) - extract(epoch from '2026-06-08 13:54:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.427785 -2.804787)', '2026-06-08 13:54:15', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427602 -2.80478)'), GeomFromEWKT('SRID=4674;POINT (-40.427785 -2.804787)'))) / (select extract(epoch from '2026-06-08 13:54:15'::timestamp) - extract(epoch from '2026-06-08 13:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427602 -2.80478)'), GeomFromEWKT('SRID=4674;POINT (-40.427785 -2.804787)'))) / (select extract(epoch from '2026-06-08 13:54:15'::timestamp) - extract(epoch from '2026-06-08 13:54: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'), 46728, 'SRID=4674;POINT (-40.427948 -2.804793)', '2026-06-08 13:54:21', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427785 -2.804787)'), GeomFromEWKT('SRID=4674;POINT (-40.427948 -2.804793)'))) / (select extract(epoch from '2026-06-08 13:54:21'::timestamp) - extract(epoch from '2026-06-08 13:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427785 -2.804787)'), GeomFromEWKT('SRID=4674;POINT (-40.427948 -2.804793)'))) / (select extract(epoch from '2026-06-08 13:54:21'::timestamp) - extract(epoch from '2026-06-08 13:54: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'), 46728, 'SRID=4674;POINT (-40.428103 -2.804812)', '2026-06-08 13:54:27', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427948 -2.804793)'), GeomFromEWKT('SRID=4674;POINT (-40.428103 -2.804812)'))) / (select extract(epoch from '2026-06-08 13:54:27'::timestamp) - extract(epoch from '2026-06-08 13:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427948 -2.804793)'), GeomFromEWKT('SRID=4674;POINT (-40.428103 -2.804812)'))) / (select extract(epoch from '2026-06-08 13:54:27'::timestamp) - extract(epoch from '2026-06-08 13:54:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.428258 -2.804812)', '2026-06-08 13:54:33', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428103 -2.804812)'), GeomFromEWKT('SRID=4674;POINT (-40.428258 -2.804812)'))) / (select extract(epoch from '2026-06-08 13:54:33'::timestamp) - extract(epoch from '2026-06-08 13:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428103 -2.804812)'), GeomFromEWKT('SRID=4674;POINT (-40.428258 -2.804812)'))) / (select extract(epoch from '2026-06-08 13:54:33'::timestamp) - extract(epoch from '2026-06-08 13:54: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'), 46728, 'SRID=4674;POINT (-40.428443 -2.804812)', '2026-06-08 13:54:40', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428258 -2.804812)'), GeomFromEWKT('SRID=4674;POINT (-40.428443 -2.804812)'))) / (select extract(epoch from '2026-06-08 13:54:40'::timestamp) - extract(epoch from '2026-06-08 13:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428258 -2.804812)'), GeomFromEWKT('SRID=4674;POINT (-40.428443 -2.804812)'))) / (select extract(epoch from '2026-06-08 13:54:40'::timestamp) - extract(epoch from '2026-06-08 13:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.428593 -2.804817)', '2026-06-08 13:54:46', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428443 -2.804812)'), GeomFromEWKT('SRID=4674;POINT (-40.428593 -2.804817)'))) / (select extract(epoch from '2026-06-08 13:54:46'::timestamp) - extract(epoch from '2026-06-08 13:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428443 -2.804812)'), GeomFromEWKT('SRID=4674;POINT (-40.428593 -2.804817)'))) / (select extract(epoch from '2026-06-08 13:54:46'::timestamp) - extract(epoch from '2026-06-08 13:54: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'), 46728, 'SRID=4674;POINT (-40.42875 -2.804827)', '2026-06-08 13:54:52', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428593 -2.804817)'), GeomFromEWKT('SRID=4674;POINT (-40.42875 -2.804827)'))) / (select extract(epoch from '2026-06-08 13:54:52'::timestamp) - extract(epoch from '2026-06-08 13:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428593 -2.804817)'), GeomFromEWKT('SRID=4674;POINT (-40.42875 -2.804827)'))) / (select extract(epoch from '2026-06-08 13:54:52'::timestamp) - extract(epoch from '2026-06-08 13:54:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.428929 -2.804837)', '2026-06-08 13:54:59', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42875 -2.804827)'), GeomFromEWKT('SRID=4674;POINT (-40.428929 -2.804837)'))) / (select extract(epoch from '2026-06-08 13:54:59'::timestamp) - extract(epoch from '2026-06-08 13:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42875 -2.804827)'), GeomFromEWKT('SRID=4674;POINT (-40.428929 -2.804837)'))) / (select extract(epoch from '2026-06-08 13:54:59'::timestamp) - extract(epoch from '2026-06-08 13:54: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'), 46728, 'SRID=4674;POINT (-40.429048 -2.80485)', '2026-06-08 13:55:04', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428929 -2.804837)'), GeomFromEWKT('SRID=4674;POINT (-40.429048 -2.80485)'))) / (select extract(epoch from '2026-06-08 13:55:04'::timestamp) - extract(epoch from '2026-06-08 13:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428929 -2.804837)'), GeomFromEWKT('SRID=4674;POINT (-40.429048 -2.80485)'))) / (select extract(epoch from '2026-06-08 13:55:04'::timestamp) - extract(epoch from '2026-06-08 13:54:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.429213 -2.804871)', '2026-06-08 13:55:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429048 -2.80485)'), GeomFromEWKT('SRID=4674;POINT (-40.429213 -2.804871)'))) / (select extract(epoch from '2026-06-08 13:55:11'::timestamp) - extract(epoch from '2026-06-08 13:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429048 -2.80485)'), GeomFromEWKT('SRID=4674;POINT (-40.429213 -2.804871)'))) / (select extract(epoch from '2026-06-08 13:55:11'::timestamp) - extract(epoch from '2026-06-08 13:55: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'), 46728, 'SRID=4674;POINT (-40.429397 -2.80489)', '2026-06-08 13:55:19', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429213 -2.804871)'), GeomFromEWKT('SRID=4674;POINT (-40.429397 -2.80489)'))) / (select extract(epoch from '2026-06-08 13:55:19'::timestamp) - extract(epoch from '2026-06-08 13:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429213 -2.804871)'), GeomFromEWKT('SRID=4674;POINT (-40.429397 -2.80489)'))) / (select extract(epoch from '2026-06-08 13:55:19'::timestamp) - extract(epoch from '2026-06-08 13:55: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'), 46728, 'SRID=4674;POINT (-40.429568 -2.804919)', '2026-06-08 13:55:27', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429397 -2.80489)'), GeomFromEWKT('SRID=4674;POINT (-40.429568 -2.804919)'))) / (select extract(epoch from '2026-06-08 13:55:27'::timestamp) - extract(epoch from '2026-06-08 13:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429397 -2.80489)'), GeomFromEWKT('SRID=4674;POINT (-40.429568 -2.804919)'))) / (select extract(epoch from '2026-06-08 13:55:27'::timestamp) - extract(epoch from '2026-06-08 13:55: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'), 46728, 'SRID=4674;POINT (-40.429718 -2.80495)', '2026-06-08 13:55:34', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429568 -2.804919)'), GeomFromEWKT('SRID=4674;POINT (-40.429718 -2.80495)'))) / (select extract(epoch from '2026-06-08 13:55:34'::timestamp) - extract(epoch from '2026-06-08 13:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429568 -2.804919)'), GeomFromEWKT('SRID=4674;POINT (-40.429718 -2.80495)'))) / (select extract(epoch from '2026-06-08 13:55:34'::timestamp) - extract(epoch from '2026-06-08 13:55:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.429899 -2.804964)', '2026-06-08 13:55:42', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429718 -2.80495)'), GeomFromEWKT('SRID=4674;POINT (-40.429899 -2.804964)'))) / (select extract(epoch from '2026-06-08 13:55:42'::timestamp) - extract(epoch from '2026-06-08 13:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429718 -2.80495)'), GeomFromEWKT('SRID=4674;POINT (-40.429899 -2.804964)'))) / (select extract(epoch from '2026-06-08 13:55:42'::timestamp) - extract(epoch from '2026-06-08 13:55:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.43008 -2.804985)', '2026-06-08 13:55:50', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429899 -2.804964)'), GeomFromEWKT('SRID=4674;POINT (-40.43008 -2.804985)'))) / (select extract(epoch from '2026-06-08 13:55:50'::timestamp) - extract(epoch from '2026-06-08 13:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429899 -2.804964)'), GeomFromEWKT('SRID=4674;POINT (-40.43008 -2.804985)'))) / (select extract(epoch from '2026-06-08 13:55:50'::timestamp) - extract(epoch from '2026-06-08 13:55:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.430264 -2.805008)', '2026-06-08 13:55:58', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43008 -2.804985)'), GeomFromEWKT('SRID=4674;POINT (-40.430264 -2.805008)'))) / (select extract(epoch from '2026-06-08 13:55:58'::timestamp) - extract(epoch from '2026-06-08 13:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43008 -2.804985)'), GeomFromEWKT('SRID=4674;POINT (-40.430264 -2.805008)'))) / (select extract(epoch from '2026-06-08 13:55:58'::timestamp) - extract(epoch from '2026-06-08 13:55:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.430438 -2.805019)', '2026-06-08 13:56:06', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430264 -2.805008)'), GeomFromEWKT('SRID=4674;POINT (-40.430438 -2.805019)'))) / (select extract(epoch from '2026-06-08 13:56:06'::timestamp) - extract(epoch from '2026-06-08 13:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430264 -2.805008)'), GeomFromEWKT('SRID=4674;POINT (-40.430438 -2.805019)'))) / (select extract(epoch from '2026-06-08 13:56:06'::timestamp) - extract(epoch from '2026-06-08 13:55: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'), 46728, 'SRID=4674;POINT (-40.430589 -2.805032)', '2026-06-08 13:56:12', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430438 -2.805019)'), GeomFromEWKT('SRID=4674;POINT (-40.430589 -2.805032)'))) / (select extract(epoch from '2026-06-08 13:56:12'::timestamp) - extract(epoch from '2026-06-08 13:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430438 -2.805019)'), GeomFromEWKT('SRID=4674;POINT (-40.430589 -2.805032)'))) / (select extract(epoch from '2026-06-08 13:56:12'::timestamp) - extract(epoch from '2026-06-08 13:56: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'), 46728, 'SRID=4674;POINT (-40.430734 -2.805054)', '2026-06-08 13:56:18', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430589 -2.805032)'), GeomFromEWKT('SRID=4674;POINT (-40.430734 -2.805054)'))) / (select extract(epoch from '2026-06-08 13:56:18'::timestamp) - extract(epoch from '2026-06-08 13:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430589 -2.805032)'), GeomFromEWKT('SRID=4674;POINT (-40.430734 -2.805054)'))) / (select extract(epoch from '2026-06-08 13:56:18'::timestamp) - extract(epoch from '2026-06-08 13:56: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'), 46728, 'SRID=4674;POINT (-40.430848 -2.805069)', '2026-06-08 13:56:23', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430734 -2.805054)'), GeomFromEWKT('SRID=4674;POINT (-40.430848 -2.805069)'))) / (select extract(epoch from '2026-06-08 13:56:23'::timestamp) - extract(epoch from '2026-06-08 13:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430734 -2.805054)'), GeomFromEWKT('SRID=4674;POINT (-40.430848 -2.805069)'))) / (select extract(epoch from '2026-06-08 13:56:23'::timestamp) - extract(epoch from '2026-06-08 13:56:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.430993 -2.805096)', '2026-06-08 13:56:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430848 -2.805069)'), GeomFromEWKT('SRID=4674;POINT (-40.430993 -2.805096)'))) / (select extract(epoch from '2026-06-08 13:56:29'::timestamp) - extract(epoch from '2026-06-08 13:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430848 -2.805069)'), GeomFromEWKT('SRID=4674;POINT (-40.430993 -2.805096)'))) / (select extract(epoch from '2026-06-08 13:56:29'::timestamp) - extract(epoch from '2026-06-08 13:56:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.431145 -2.805119)', '2026-06-08 13:56:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430993 -2.805096)'), GeomFromEWKT('SRID=4674;POINT (-40.431145 -2.805119)'))) / (select extract(epoch from '2026-06-08 13:56:35'::timestamp) - extract(epoch from '2026-06-08 13:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430993 -2.805096)'), GeomFromEWKT('SRID=4674;POINT (-40.431145 -2.805119)'))) / (select extract(epoch from '2026-06-08 13:56:35'::timestamp) - extract(epoch from '2026-06-08 13:56: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'), 46728, 'SRID=4674;POINT (-40.431304 -2.805124)', '2026-06-08 13:56:42', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431145 -2.805119)'), GeomFromEWKT('SRID=4674;POINT (-40.431304 -2.805124)'))) / (select extract(epoch from '2026-06-08 13:56:42'::timestamp) - extract(epoch from '2026-06-08 13:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431145 -2.805119)'), GeomFromEWKT('SRID=4674;POINT (-40.431304 -2.805124)'))) / (select extract(epoch from '2026-06-08 13:56:42'::timestamp) - extract(epoch from '2026-06-08 13:56:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.431477 -2.805114)', '2026-06-08 13:56:49', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431304 -2.805124)'), GeomFromEWKT('SRID=4674;POINT (-40.431477 -2.805114)'))) / (select extract(epoch from '2026-06-08 13:56:49'::timestamp) - extract(epoch from '2026-06-08 13:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431304 -2.805124)'), GeomFromEWKT('SRID=4674;POINT (-40.431477 -2.805114)'))) / (select extract(epoch from '2026-06-08 13:56:49'::timestamp) - extract(epoch from '2026-06-08 13:56: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'), 46728, 'SRID=4674;POINT (-40.431596 -2.805107)', '2026-06-08 13:56:54', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431477 -2.805114)'), GeomFromEWKT('SRID=4674;POINT (-40.431596 -2.805107)'))) / (select extract(epoch from '2026-06-08 13:56:54'::timestamp) - extract(epoch from '2026-06-08 13:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431477 -2.805114)'), GeomFromEWKT('SRID=4674;POINT (-40.431596 -2.805107)'))) / (select extract(epoch from '2026-06-08 13:56:54'::timestamp) - extract(epoch from '2026-06-08 13:56:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.431731 -2.805105)', '2026-06-08 13:57:00', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431596 -2.805107)'), GeomFromEWKT('SRID=4674;POINT (-40.431731 -2.805105)'))) / (select extract(epoch from '2026-06-08 13:57:00'::timestamp) - extract(epoch from '2026-06-08 13:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431596 -2.805107)'), GeomFromEWKT('SRID=4674;POINT (-40.431731 -2.805105)'))) / (select extract(epoch from '2026-06-08 13:57:00'::timestamp) - extract(epoch from '2026-06-08 13:56: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'), 46728, 'SRID=4674;POINT (-40.43188 -2.805119)', '2026-06-08 13:57:07', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431731 -2.805105)'), GeomFromEWKT('SRID=4674;POINT (-40.43188 -2.805119)'))) / (select extract(epoch from '2026-06-08 13:57:07'::timestamp) - extract(epoch from '2026-06-08 13:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431731 -2.805105)'), GeomFromEWKT('SRID=4674;POINT (-40.43188 -2.805119)'))) / (select extract(epoch from '2026-06-08 13:57:07'::timestamp) - extract(epoch from '2026-06-08 13:57: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'), 46728, 'SRID=4674;POINT (-40.432014 -2.805145)', '2026-06-08 13:57:14', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43188 -2.805119)'), GeomFromEWKT('SRID=4674;POINT (-40.432014 -2.805145)'))) / (select extract(epoch from '2026-06-08 13:57:14'::timestamp) - extract(epoch from '2026-06-08 13:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43188 -2.805119)'), GeomFromEWKT('SRID=4674;POINT (-40.432014 -2.805145)'))) / (select extract(epoch from '2026-06-08 13:57:14'::timestamp) - extract(epoch from '2026-06-08 13:57:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.432129 -2.805164)', '2026-06-08 13:57:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432014 -2.805145)'), GeomFromEWKT('SRID=4674;POINT (-40.432129 -2.805164)'))) / (select extract(epoch from '2026-06-08 13:57:20'::timestamp) - extract(epoch from '2026-06-08 13:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432014 -2.805145)'), GeomFromEWKT('SRID=4674;POINT (-40.432129 -2.805164)'))) / (select extract(epoch from '2026-06-08 13:57:20'::timestamp) - extract(epoch from '2026-06-08 13:57: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'), 46728, 'SRID=4674;POINT (-40.432295 -2.805176)', '2026-06-08 13:57:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432129 -2.805164)'), GeomFromEWKT('SRID=4674;POINT (-40.432295 -2.805176)'))) / (select extract(epoch from '2026-06-08 13:57:28'::timestamp) - extract(epoch from '2026-06-08 13:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432129 -2.805164)'), GeomFromEWKT('SRID=4674;POINT (-40.432295 -2.805176)'))) / (select extract(epoch from '2026-06-08 13:57:28'::timestamp) - extract(epoch from '2026-06-08 13:57: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'), 46728, 'SRID=4674;POINT (-40.432494 -2.805189)', '2026-06-08 13:57:37', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432295 -2.805176)'), GeomFromEWKT('SRID=4674;POINT (-40.432494 -2.805189)'))) / (select extract(epoch from '2026-06-08 13:57:37'::timestamp) - extract(epoch from '2026-06-08 13:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432295 -2.805176)'), GeomFromEWKT('SRID=4674;POINT (-40.432494 -2.805189)'))) / (select extract(epoch from '2026-06-08 13:57:37'::timestamp) - extract(epoch from '2026-06-08 13:57: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'), 46728, 'SRID=4674;POINT (-40.432633 -2.805196)', '2026-06-08 13:57:43', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432494 -2.805189)'), GeomFromEWKT('SRID=4674;POINT (-40.432633 -2.805196)'))) / (select extract(epoch from '2026-06-08 13:57:43'::timestamp) - extract(epoch from '2026-06-08 13:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432494 -2.805189)'), GeomFromEWKT('SRID=4674;POINT (-40.432633 -2.805196)'))) / (select extract(epoch from '2026-06-08 13:57:43'::timestamp) - extract(epoch from '2026-06-08 13:57: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'), 46728, 'SRID=4674;POINT (-40.432788 -2.805218)', '2026-06-08 13:57:49', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432633 -2.805196)'), GeomFromEWKT('SRID=4674;POINT (-40.432788 -2.805218)'))) / (select extract(epoch from '2026-06-08 13:57:49'::timestamp) - extract(epoch from '2026-06-08 13:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432633 -2.805196)'), GeomFromEWKT('SRID=4674;POINT (-40.432788 -2.805218)'))) / (select extract(epoch from '2026-06-08 13:57:49'::timestamp) - extract(epoch from '2026-06-08 13:57:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.432933 -2.805214)', '2026-06-08 13:57:55', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432788 -2.805218)'), GeomFromEWKT('SRID=4674;POINT (-40.432933 -2.805214)'))) / (select extract(epoch from '2026-06-08 13:57:55'::timestamp) - extract(epoch from '2026-06-08 13:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432788 -2.805218)'), GeomFromEWKT('SRID=4674;POINT (-40.432933 -2.805214)'))) / (select extract(epoch from '2026-06-08 13:57:55'::timestamp) - extract(epoch from '2026-06-08 13:57:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.433171 -2.805182)', '2026-06-08 13:58:04', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432933 -2.805214)'), GeomFromEWKT('SRID=4674;POINT (-40.433171 -2.805182)'))) / (select extract(epoch from '2026-06-08 13:58:04'::timestamp) - extract(epoch from '2026-06-08 13:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432933 -2.805214)'), GeomFromEWKT('SRID=4674;POINT (-40.433171 -2.805182)'))) / (select extract(epoch from '2026-06-08 13:58:04'::timestamp) - extract(epoch from '2026-06-08 13:57: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'), 46728, 'SRID=4674;POINT (-40.433363 -2.805153)', '2026-06-08 13:58:12', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433171 -2.805182)'), GeomFromEWKT('SRID=4674;POINT (-40.433363 -2.805153)'))) / (select extract(epoch from '2026-06-08 13:58:12'::timestamp) - extract(epoch from '2026-06-08 13:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433171 -2.805182)'), GeomFromEWKT('SRID=4674;POINT (-40.433363 -2.805153)'))) / (select extract(epoch from '2026-06-08 13:58:12'::timestamp) - extract(epoch from '2026-06-08 13:58:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.433535 -2.805139)', '2026-06-08 13:58:19', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433363 -2.805153)'), GeomFromEWKT('SRID=4674;POINT (-40.433535 -2.805139)'))) / (select extract(epoch from '2026-06-08 13:58:19'::timestamp) - extract(epoch from '2026-06-08 13:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433363 -2.805153)'), GeomFromEWKT('SRID=4674;POINT (-40.433535 -2.805139)'))) / (select extract(epoch from '2026-06-08 13:58:19'::timestamp) - extract(epoch from '2026-06-08 13:58:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.433686 -2.805085)', '2026-06-08 13:58:25', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433535 -2.805139)'), GeomFromEWKT('SRID=4674;POINT (-40.433686 -2.805085)'))) / (select extract(epoch from '2026-06-08 13:58:25'::timestamp) - extract(epoch from '2026-06-08 13:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433535 -2.805139)'), GeomFromEWKT('SRID=4674;POINT (-40.433686 -2.805085)'))) / (select extract(epoch from '2026-06-08 13:58:25'::timestamp) - extract(epoch from '2026-06-08 13:58:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.433869 -2.805031)', '2026-06-08 13:58:32', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433686 -2.805085)'), GeomFromEWKT('SRID=4674;POINT (-40.433869 -2.805031)'))) / (select extract(epoch from '2026-06-08 13:58:32'::timestamp) - extract(epoch from '2026-06-08 13:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433686 -2.805085)'), GeomFromEWKT('SRID=4674;POINT (-40.433869 -2.805031)'))) / (select extract(epoch from '2026-06-08 13:58:32'::timestamp) - extract(epoch from '2026-06-08 13:58:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.434107 -2.804996)', '2026-06-08 13:58:41', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433869 -2.805031)'), GeomFromEWKT('SRID=4674;POINT (-40.434107 -2.804996)'))) / (select extract(epoch from '2026-06-08 13:58:41'::timestamp) - extract(epoch from '2026-06-08 13:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433869 -2.805031)'), GeomFromEWKT('SRID=4674;POINT (-40.434107 -2.804996)'))) / (select extract(epoch from '2026-06-08 13:58:41'::timestamp) - extract(epoch from '2026-06-08 13:58:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.43428 -2.804988)', '2026-06-08 13:58:46', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434107 -2.804996)'), GeomFromEWKT('SRID=4674;POINT (-40.43428 -2.804988)'))) / (select extract(epoch from '2026-06-08 13:58:46'::timestamp) - extract(epoch from '2026-06-08 13:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434107 -2.804996)'), GeomFromEWKT('SRID=4674;POINT (-40.43428 -2.804988)'))) / (select extract(epoch from '2026-06-08 13:58:46'::timestamp) - extract(epoch from '2026-06-08 13:58:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.434409 -2.804976)', '2026-06-08 13:58:51', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43428 -2.804988)'), GeomFromEWKT('SRID=4674;POINT (-40.434409 -2.804976)'))) / (select extract(epoch from '2026-06-08 13:58:51'::timestamp) - extract(epoch from '2026-06-08 13:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43428 -2.804988)'), GeomFromEWKT('SRID=4674;POINT (-40.434409 -2.804976)'))) / (select extract(epoch from '2026-06-08 13:58:51'::timestamp) - extract(epoch from '2026-06-08 13:58: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'), 46728, 'SRID=4674;POINT (-40.434621 -2.804971)', '2026-06-08 13:58:59', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434409 -2.804976)'), GeomFromEWKT('SRID=4674;POINT (-40.434621 -2.804971)'))) / (select extract(epoch from '2026-06-08 13:58:59'::timestamp) - extract(epoch from '2026-06-08 13:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434409 -2.804976)'), GeomFromEWKT('SRID=4674;POINT (-40.434621 -2.804971)'))) / (select extract(epoch from '2026-06-08 13:58:59'::timestamp) - extract(epoch from '2026-06-08 13:58: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'), 46728, 'SRID=4674;POINT (-40.434791 -2.804977)', '2026-06-08 13:59:06', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434621 -2.804971)'), GeomFromEWKT('SRID=4674;POINT (-40.434791 -2.804977)'))) / (select extract(epoch from '2026-06-08 13:59:06'::timestamp) - extract(epoch from '2026-06-08 13:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434621 -2.804971)'), GeomFromEWKT('SRID=4674;POINT (-40.434791 -2.804977)'))) / (select extract(epoch from '2026-06-08 13:59:06'::timestamp) - extract(epoch from '2026-06-08 13:58: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'), 46728, 'SRID=4674;POINT (-40.434931 -2.804977)', '2026-06-08 13:59:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434791 -2.804977)'), GeomFromEWKT('SRID=4674;POINT (-40.434931 -2.804977)'))) / (select extract(epoch from '2026-06-08 13:59:11'::timestamp) - extract(epoch from '2026-06-08 13:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434791 -2.804977)'), GeomFromEWKT('SRID=4674;POINT (-40.434931 -2.804977)'))) / (select extract(epoch from '2026-06-08 13:59:11'::timestamp) - extract(epoch from '2026-06-08 13:59:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.435089 -2.804963)', '2026-06-08 13:59:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434931 -2.804977)'), GeomFromEWKT('SRID=4674;POINT (-40.435089 -2.804963)'))) / (select extract(epoch from '2026-06-08 13:59:17'::timestamp) - extract(epoch from '2026-06-08 13:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434931 -2.804977)'), GeomFromEWKT('SRID=4674;POINT (-40.435089 -2.804963)'))) / (select extract(epoch from '2026-06-08 13:59:17'::timestamp) - extract(epoch from '2026-06-08 13:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.435274 -2.804943)', '2026-06-08 13:59:24', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435089 -2.804963)'), GeomFromEWKT('SRID=4674;POINT (-40.435274 -2.804943)'))) / (select extract(epoch from '2026-06-08 13:59:24'::timestamp) - extract(epoch from '2026-06-08 13:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435089 -2.804963)'), GeomFromEWKT('SRID=4674;POINT (-40.435274 -2.804943)'))) / (select extract(epoch from '2026-06-08 13:59:24'::timestamp) - extract(epoch from '2026-06-08 13:59: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'), 46728, 'SRID=4674;POINT (-40.435454 -2.804941)', '2026-06-08 13:59:31', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435274 -2.804943)'), GeomFromEWKT('SRID=4674;POINT (-40.435454 -2.804941)'))) / (select extract(epoch from '2026-06-08 13:59:31'::timestamp) - extract(epoch from '2026-06-08 13:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435274 -2.804943)'), GeomFromEWKT('SRID=4674;POINT (-40.435454 -2.804941)'))) / (select extract(epoch from '2026-06-08 13:59:31'::timestamp) - extract(epoch from '2026-06-08 13:59: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'), 46728, 'SRID=4674;POINT (-40.435642 -2.804934)', '2026-06-08 13:59:38', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435454 -2.804941)'), GeomFromEWKT('SRID=4674;POINT (-40.435642 -2.804934)'))) / (select extract(epoch from '2026-06-08 13:59:38'::timestamp) - extract(epoch from '2026-06-08 13:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435454 -2.804941)'), GeomFromEWKT('SRID=4674;POINT (-40.435642 -2.804934)'))) / (select extract(epoch from '2026-06-08 13:59:38'::timestamp) - extract(epoch from '2026-06-08 13: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'), 46728, 'SRID=4674;POINT (-40.43579 -2.804937)', '2026-06-08 13:59:44', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435642 -2.804934)'), GeomFromEWKT('SRID=4674;POINT (-40.43579 -2.804937)'))) / (select extract(epoch from '2026-06-08 13:59:44'::timestamp) - extract(epoch from '2026-06-08 13:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435642 -2.804934)'), GeomFromEWKT('SRID=4674;POINT (-40.43579 -2.804937)'))) / (select extract(epoch from '2026-06-08 13:59:44'::timestamp) - extract(epoch from '2026-06-08 13: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'), 46728, 'SRID=4674;POINT (-40.435902 -2.804938)', '2026-06-08 13:59:49', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43579 -2.804937)'), GeomFromEWKT('SRID=4674;POINT (-40.435902 -2.804938)'))) / (select extract(epoch from '2026-06-08 13:59:49'::timestamp) - extract(epoch from '2026-06-08 13:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43579 -2.804937)'), GeomFromEWKT('SRID=4674;POINT (-40.435902 -2.804938)'))) / (select extract(epoch from '2026-06-08 13:59:49'::timestamp) - extract(epoch from '2026-06-08 13:59:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.436037 -2.804938)', '2026-06-08 13:59:55', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435902 -2.804938)'), GeomFromEWKT('SRID=4674;POINT (-40.436037 -2.804938)'))) / (select extract(epoch from '2026-06-08 13:59:55'::timestamp) - extract(epoch from '2026-06-08 13:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435902 -2.804938)'), GeomFromEWKT('SRID=4674;POINT (-40.436037 -2.804938)'))) / (select extract(epoch from '2026-06-08 13:59:55'::timestamp) - extract(epoch from '2026-06-08 13: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'), 46728, 'SRID=4674;POINT (-40.436173 -2.804932)', '2026-06-08 14:00:01', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.436037 -2.804938)'), GeomFromEWKT('SRID=4674;POINT (-40.436173 -2.804932)'))) / (select extract(epoch from '2026-06-08 14:00:01'::timestamp) - extract(epoch from '2026-06-08 13:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.436037 -2.804938)'), GeomFromEWKT('SRID=4674;POINT (-40.436173 -2.804932)'))) / (select extract(epoch from '2026-06-08 14:00:01'::timestamp) - extract(epoch from '2026-06-08 13: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'), 46728, 'SRID=4674;POINT (-40.436338 -2.804926)', '2026-06-08 14:00:08', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.436173 -2.804932)'), GeomFromEWKT('SRID=4674;POINT (-40.436338 -2.804926)'))) / (select extract(epoch from '2026-06-08 14:00:08'::timestamp) - extract(epoch from '2026-06-08 14:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.436173 -2.804932)'), GeomFromEWKT('SRID=4674;POINT (-40.436338 -2.804926)'))) / (select extract(epoch from '2026-06-08 14:00:08'::timestamp) - extract(epoch from '2026-06-08 14: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'), 46728, 'SRID=4674;POINT (-40.436513 -2.804926)', '2026-06-08 14:00:15', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.436338 -2.804926)'), GeomFromEWKT('SRID=4674;POINT (-40.436513 -2.804926)'))) / (select extract(epoch from '2026-06-08 14:00:15'::timestamp) - extract(epoch from '2026-06-08 14:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.436338 -2.804926)'), GeomFromEWKT('SRID=4674;POINT (-40.436513 -2.804926)'))) / (select extract(epoch from '2026-06-08 14:00:15'::timestamp) - extract(epoch from '2026-06-08 14:00: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'), 46728, 'SRID=4674;POINT (-40.436663 -2.804903)', '2026-06-08 14:00:21', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.436513 -2.804926)'), GeomFromEWKT('SRID=4674;POINT (-40.436663 -2.804903)'))) / (select extract(epoch from '2026-06-08 14:00:21'::timestamp) - extract(epoch from '2026-06-08 14:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.436513 -2.804926)'), GeomFromEWKT('SRID=4674;POINT (-40.436663 -2.804903)'))) / (select extract(epoch from '2026-06-08 14:00:21'::timestamp) - extract(epoch from '2026-06-08 14:00: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'), 46728, 'SRID=4674;POINT (-40.436835 -2.804835)', '2026-06-08 14:00:28', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.436663 -2.804903)'), GeomFromEWKT('SRID=4674;POINT (-40.436835 -2.804835)'))) / (select extract(epoch from '2026-06-08 14:00:28'::timestamp) - extract(epoch from '2026-06-08 14:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.436663 -2.804903)'), GeomFromEWKT('SRID=4674;POINT (-40.436835 -2.804835)'))) / (select extract(epoch from '2026-06-08 14:00:28'::timestamp) - extract(epoch from '2026-06-08 14:00:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.437022 -2.804782)', '2026-06-08 14:00:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.436835 -2.804835)'), GeomFromEWKT('SRID=4674;POINT (-40.437022 -2.804782)'))) / (select extract(epoch from '2026-06-08 14:00:35'::timestamp) - extract(epoch from '2026-06-08 14:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.436835 -2.804835)'), GeomFromEWKT('SRID=4674;POINT (-40.437022 -2.804782)'))) / (select extract(epoch from '2026-06-08 14:00:35'::timestamp) - extract(epoch from '2026-06-08 14:00: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'), 46728, 'SRID=4674;POINT (-40.437213 -2.804743)', '2026-06-08 14:00:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.437022 -2.804782)'), GeomFromEWKT('SRID=4674;POINT (-40.437213 -2.804743)'))) / (select extract(epoch from '2026-06-08 14:00:42'::timestamp) - extract(epoch from '2026-06-08 14:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.437022 -2.804782)'), GeomFromEWKT('SRID=4674;POINT (-40.437213 -2.804743)'))) / (select extract(epoch from '2026-06-08 14:00:42'::timestamp) - extract(epoch from '2026-06-08 14:00: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'), 46728, 'SRID=4674;POINT (-40.43737 -2.804723)', '2026-06-08 14:00:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.437213 -2.804743)'), GeomFromEWKT('SRID=4674;POINT (-40.43737 -2.804723)'))) / (select extract(epoch from '2026-06-08 14:00:48'::timestamp) - extract(epoch from '2026-06-08 14:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.437213 -2.804743)'), GeomFromEWKT('SRID=4674;POINT (-40.43737 -2.804723)'))) / (select extract(epoch from '2026-06-08 14:00:48'::timestamp) - extract(epoch from '2026-06-08 14:00:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.43754 -2.804706)', '2026-06-08 14:00:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43737 -2.804723)'), GeomFromEWKT('SRID=4674;POINT (-40.43754 -2.804706)'))) / (select extract(epoch from '2026-06-08 14:00:54'::timestamp) - extract(epoch from '2026-06-08 14:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43737 -2.804723)'), GeomFromEWKT('SRID=4674;POINT (-40.43754 -2.804706)'))) / (select extract(epoch from '2026-06-08 14:00:54'::timestamp) - extract(epoch from '2026-06-08 14:00: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'), 46728, 'SRID=4674;POINT (-40.437666 -2.804691)', '2026-06-08 14:00:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43754 -2.804706)'), GeomFromEWKT('SRID=4674;POINT (-40.437666 -2.804691)'))) / (select extract(epoch from '2026-06-08 14:00:59'::timestamp) - extract(epoch from '2026-06-08 14:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43754 -2.804706)'), GeomFromEWKT('SRID=4674;POINT (-40.437666 -2.804691)'))) / (select extract(epoch from '2026-06-08 14:00:59'::timestamp) - extract(epoch from '2026-06-08 14:00: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'), 46728, 'SRID=4674;POINT (-40.437794 -2.804679)', '2026-06-08 14:01:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.437666 -2.804691)'), GeomFromEWKT('SRID=4674;POINT (-40.437794 -2.804679)'))) / (select extract(epoch from '2026-06-08 14:01:04'::timestamp) - extract(epoch from '2026-06-08 14:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.437666 -2.804691)'), GeomFromEWKT('SRID=4674;POINT (-40.437794 -2.804679)'))) / (select extract(epoch from '2026-06-08 14:01:04'::timestamp) - extract(epoch from '2026-06-08 14:00:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.437986 -2.804664)', '2026-06-08 14:01:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.437794 -2.804679)'), GeomFromEWKT('SRID=4674;POINT (-40.437986 -2.804664)'))) / (select extract(epoch from '2026-06-08 14:01:11'::timestamp) - extract(epoch from '2026-06-08 14:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.437794 -2.804679)'), GeomFromEWKT('SRID=4674;POINT (-40.437986 -2.804664)'))) / (select extract(epoch from '2026-06-08 14:01:11'::timestamp) - extract(epoch from '2026-06-08 14:01: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'), 46728, 'SRID=4674;POINT (-40.438139 -2.804647)', '2026-06-08 14:01:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.437986 -2.804664)'), GeomFromEWKT('SRID=4674;POINT (-40.438139 -2.804647)'))) / (select extract(epoch from '2026-06-08 14:01:17'::timestamp) - extract(epoch from '2026-06-08 14:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.437986 -2.804664)'), GeomFromEWKT('SRID=4674;POINT (-40.438139 -2.804647)'))) / (select extract(epoch from '2026-06-08 14:01:17'::timestamp) - extract(epoch from '2026-06-08 14:01:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.438267 -2.804638)', '2026-06-08 14:01:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438139 -2.804647)'), GeomFromEWKT('SRID=4674;POINT (-40.438267 -2.804638)'))) / (select extract(epoch from '2026-06-08 14:01:22'::timestamp) - extract(epoch from '2026-06-08 14:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438139 -2.804647)'), GeomFromEWKT('SRID=4674;POINT (-40.438267 -2.804638)'))) / (select extract(epoch from '2026-06-08 14:01:22'::timestamp) - extract(epoch from '2026-06-08 14:01: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'), 46728, 'SRID=4674;POINT (-40.438431 -2.804601)', '2026-06-08 14:01:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438267 -2.804638)'), GeomFromEWKT('SRID=4674;POINT (-40.438431 -2.804601)'))) / (select extract(epoch from '2026-06-08 14:01:29'::timestamp) - extract(epoch from '2026-06-08 14:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438267 -2.804638)'), GeomFromEWKT('SRID=4674;POINT (-40.438431 -2.804601)'))) / (select extract(epoch from '2026-06-08 14:01:29'::timestamp) - extract(epoch from '2026-06-08 14:01: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'), 46728, 'SRID=4674;POINT (-40.438548 -2.804579)', '2026-06-08 14:01:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438431 -2.804601)'), GeomFromEWKT('SRID=4674;POINT (-40.438548 -2.804579)'))) / (select extract(epoch from '2026-06-08 14:01:34'::timestamp) - extract(epoch from '2026-06-08 14:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438431 -2.804601)'), GeomFromEWKT('SRID=4674;POINT (-40.438548 -2.804579)'))) / (select extract(epoch from '2026-06-08 14:01:34'::timestamp) - extract(epoch from '2026-06-08 14: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'), 46728, 'SRID=4674;POINT (-40.438728 -2.804536)', '2026-06-08 14:01:41', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438548 -2.804579)'), GeomFromEWKT('SRID=4674;POINT (-40.438728 -2.804536)'))) / (select extract(epoch from '2026-06-08 14:01:41'::timestamp) - extract(epoch from '2026-06-08 14:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438548 -2.804579)'), GeomFromEWKT('SRID=4674;POINT (-40.438728 -2.804536)'))) / (select extract(epoch from '2026-06-08 14:01:41'::timestamp) - extract(epoch from '2026-06-08 14: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'), 46728, 'SRID=4674;POINT (-40.438907 -2.804513)', '2026-06-08 14:01:48', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438728 -2.804536)'), GeomFromEWKT('SRID=4674;POINT (-40.438907 -2.804513)'))) / (select extract(epoch from '2026-06-08 14:01:48'::timestamp) - extract(epoch from '2026-06-08 14:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438728 -2.804536)'), GeomFromEWKT('SRID=4674;POINT (-40.438907 -2.804513)'))) / (select extract(epoch from '2026-06-08 14:01:48'::timestamp) - extract(epoch from '2026-06-08 14:01: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'), 46728, 'SRID=4674;POINT (-40.439102 -2.804483)', '2026-06-08 14:01:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438907 -2.804513)'), GeomFromEWKT('SRID=4674;POINT (-40.439102 -2.804483)'))) / (select extract(epoch from '2026-06-08 14:01:55'::timestamp) - extract(epoch from '2026-06-08 14:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438907 -2.804513)'), GeomFromEWKT('SRID=4674;POINT (-40.439102 -2.804483)'))) / (select extract(epoch from '2026-06-08 14:01:55'::timestamp) - extract(epoch from '2026-06-08 14:01: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'), 46728, 'SRID=4674;POINT (-40.439232 -2.804471)', '2026-06-08 14:02:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439102 -2.804483)'), GeomFromEWKT('SRID=4674;POINT (-40.439232 -2.804471)'))) / (select extract(epoch from '2026-06-08 14:02:00'::timestamp) - extract(epoch from '2026-06-08 14:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439102 -2.804483)'), GeomFromEWKT('SRID=4674;POINT (-40.439232 -2.804471)'))) / (select extract(epoch from '2026-06-08 14:02:00'::timestamp) - extract(epoch from '2026-06-08 14:01: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'), 46728, 'SRID=4674;POINT (-40.439369 -2.804438)', '2026-06-08 14:02:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439232 -2.804471)'), GeomFromEWKT('SRID=4674;POINT (-40.439369 -2.804438)'))) / (select extract(epoch from '2026-06-08 14:02:06'::timestamp) - extract(epoch from '2026-06-08 14:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439232 -2.804471)'), GeomFromEWKT('SRID=4674;POINT (-40.439369 -2.804438)'))) / (select extract(epoch from '2026-06-08 14:02:06'::timestamp) - extract(epoch from '2026-06-08 14:02:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.439523 -2.804409)', '2026-06-08 14:02:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439369 -2.804438)'), GeomFromEWKT('SRID=4674;POINT (-40.439523 -2.804409)'))) / (select extract(epoch from '2026-06-08 14:02:12'::timestamp) - extract(epoch from '2026-06-08 14:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439369 -2.804438)'), GeomFromEWKT('SRID=4674;POINT (-40.439523 -2.804409)'))) / (select extract(epoch from '2026-06-08 14:02:12'::timestamp) - extract(epoch from '2026-06-08 14:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.439751 -2.804365)', '2026-06-08 14:02:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439523 -2.804409)'), GeomFromEWKT('SRID=4674;POINT (-40.439751 -2.804365)'))) / (select extract(epoch from '2026-06-08 14:02:21'::timestamp) - extract(epoch from '2026-06-08 14:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439523 -2.804409)'), GeomFromEWKT('SRID=4674;POINT (-40.439751 -2.804365)'))) / (select extract(epoch from '2026-06-08 14:02:21'::timestamp) - extract(epoch from '2026-06-08 14:02: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'), 46728, 'SRID=4674;POINT (-40.439893 -2.804344)', '2026-06-08 14:02:27', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439751 -2.804365)'), GeomFromEWKT('SRID=4674;POINT (-40.439893 -2.804344)'))) / (select extract(epoch from '2026-06-08 14:02:27'::timestamp) - extract(epoch from '2026-06-08 14:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439751 -2.804365)'), GeomFromEWKT('SRID=4674;POINT (-40.439893 -2.804344)'))) / (select extract(epoch from '2026-06-08 14:02:27'::timestamp) - extract(epoch from '2026-06-08 14:02: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'), 46728, 'SRID=4674;POINT (-40.440052 -2.804315)', '2026-06-08 14:02:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439893 -2.804344)'), GeomFromEWKT('SRID=4674;POINT (-40.440052 -2.804315)'))) / (select extract(epoch from '2026-06-08 14:02:33'::timestamp) - extract(epoch from '2026-06-08 14:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439893 -2.804344)'), GeomFromEWKT('SRID=4674;POINT (-40.440052 -2.804315)'))) / (select extract(epoch from '2026-06-08 14:02:33'::timestamp) - extract(epoch from '2026-06-08 14:02:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.440195 -2.804288)', '2026-06-08 14:02:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.440052 -2.804315)'), GeomFromEWKT('SRID=4674;POINT (-40.440195 -2.804288)'))) / (select extract(epoch from '2026-06-08 14:02:39'::timestamp) - extract(epoch from '2026-06-08 14:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.440052 -2.804315)'), GeomFromEWKT('SRID=4674;POINT (-40.440195 -2.804288)'))) / (select extract(epoch from '2026-06-08 14:02:39'::timestamp) - extract(epoch from '2026-06-08 14:02:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.440384 -2.804231)', '2026-06-08 14:02:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.440195 -2.804288)'), GeomFromEWKT('SRID=4674;POINT (-40.440384 -2.804231)'))) / (select extract(epoch from '2026-06-08 14:02:46'::timestamp) - extract(epoch from '2026-06-08 14:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.440195 -2.804288)'), GeomFromEWKT('SRID=4674;POINT (-40.440384 -2.804231)'))) / (select extract(epoch from '2026-06-08 14:02:46'::timestamp) - extract(epoch from '2026-06-08 14:02: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'), 46728, 'SRID=4674;POINT (-40.440543 -2.8042)', '2026-06-08 14:02:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.440384 -2.804231)'), GeomFromEWKT('SRID=4674;POINT (-40.440543 -2.8042)'))) / (select extract(epoch from '2026-06-08 14:02:52'::timestamp) - extract(epoch from '2026-06-08 14:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.440384 -2.804231)'), GeomFromEWKT('SRID=4674;POINT (-40.440543 -2.8042)'))) / (select extract(epoch from '2026-06-08 14:02:52'::timestamp) - extract(epoch from '2026-06-08 14: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'), 46728, 'SRID=4674;POINT (-40.44069 -2.804173)', '2026-06-08 14:02:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.440543 -2.8042)'), GeomFromEWKT('SRID=4674;POINT (-40.44069 -2.804173)'))) / (select extract(epoch from '2026-06-08 14:02:58'::timestamp) - extract(epoch from '2026-06-08 14:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.440543 -2.8042)'), GeomFromEWKT('SRID=4674;POINT (-40.44069 -2.804173)'))) / (select extract(epoch from '2026-06-08 14:02:58'::timestamp) - extract(epoch from '2026-06-08 14: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'), 46728, 'SRID=4674;POINT (-40.440838 -2.804158)', '2026-06-08 14:03:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44069 -2.804173)'), GeomFromEWKT('SRID=4674;POINT (-40.440838 -2.804158)'))) / (select extract(epoch from '2026-06-08 14:03:04'::timestamp) - extract(epoch from '2026-06-08 14:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44069 -2.804173)'), GeomFromEWKT('SRID=4674;POINT (-40.440838 -2.804158)'))) / (select extract(epoch from '2026-06-08 14:03:04'::timestamp) - extract(epoch from '2026-06-08 14:02:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.440974 -2.804155)', '2026-06-08 14:03:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.440838 -2.804158)'), GeomFromEWKT('SRID=4674;POINT (-40.440974 -2.804155)'))) / (select extract(epoch from '2026-06-08 14:03:10'::timestamp) - extract(epoch from '2026-06-08 14:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.440838 -2.804158)'), GeomFromEWKT('SRID=4674;POINT (-40.440974 -2.804155)'))) / (select extract(epoch from '2026-06-08 14:03:10'::timestamp) - extract(epoch from '2026-06-08 14: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'), 46728, 'SRID=4674;POINT (-40.441109 -2.804136)', '2026-06-08 14:03:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.440974 -2.804155)'), GeomFromEWKT('SRID=4674;POINT (-40.441109 -2.804136)'))) / (select extract(epoch from '2026-06-08 14:03:16'::timestamp) - extract(epoch from '2026-06-08 14:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.440974 -2.804155)'), GeomFromEWKT('SRID=4674;POINT (-40.441109 -2.804136)'))) / (select extract(epoch from '2026-06-08 14:03:16'::timestamp) - extract(epoch from '2026-06-08 14:03:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.441232 -2.804104)', '2026-06-08 14:03:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.441109 -2.804136)'), GeomFromEWKT('SRID=4674;POINT (-40.441232 -2.804104)'))) / (select extract(epoch from '2026-06-08 14:03:21'::timestamp) - extract(epoch from '2026-06-08 14:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.441109 -2.804136)'), GeomFromEWKT('SRID=4674;POINT (-40.441232 -2.804104)'))) / (select extract(epoch from '2026-06-08 14:03:21'::timestamp) - extract(epoch from '2026-06-08 14:03:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.441357 -2.804077)', '2026-06-08 14:03:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.441232 -2.804104)'), GeomFromEWKT('SRID=4674;POINT (-40.441357 -2.804077)'))) / (select extract(epoch from '2026-06-08 14:03:26'::timestamp) - extract(epoch from '2026-06-08 14:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.441232 -2.804104)'), GeomFromEWKT('SRID=4674;POINT (-40.441357 -2.804077)'))) / (select extract(epoch from '2026-06-08 14:03:26'::timestamp) - extract(epoch from '2026-06-08 14:03:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.441528 -2.804028)', '2026-06-08 14:03:33', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.441357 -2.804077)'), GeomFromEWKT('SRID=4674;POINT (-40.441528 -2.804028)'))) / (select extract(epoch from '2026-06-08 14:03:33'::timestamp) - extract(epoch from '2026-06-08 14:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.441357 -2.804077)'), GeomFromEWKT('SRID=4674;POINT (-40.441528 -2.804028)'))) / (select extract(epoch from '2026-06-08 14:03:33'::timestamp) - extract(epoch from '2026-06-08 14:03:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
