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'), 47843, 'SRID=4674;POINT (-40.354287 -2.80712)', '2026-07-29 03:12:04', 5.6, 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'), 47843, 'SRID=4674;POINT (-40.354323 -2.80706)', '2026-07-29 03:12:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354287 -2.80712)'), GeomFromEWKT('SRID=4674;POINT (-40.354323 -2.80706)'))) / (select extract(epoch from '2026-07-29 03:12:17'::timestamp) - extract(epoch from '2026-07-29 03:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354287 -2.80712)'), GeomFromEWKT('SRID=4674;POINT (-40.354323 -2.80706)'))) / (select extract(epoch from '2026-07-29 03:12:17'::timestamp) - extract(epoch from '2026-07-29 03:12:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354359 -2.807008)', '2026-07-29 03:12:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354323 -2.80706)'), GeomFromEWKT('SRID=4674;POINT (-40.354359 -2.807008)'))) / (select extract(epoch from '2026-07-29 03:12:30'::timestamp) - extract(epoch from '2026-07-29 03:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354323 -2.80706)'), GeomFromEWKT('SRID=4674;POINT (-40.354359 -2.807008)'))) / (select extract(epoch from '2026-07-29 03:12:30'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.354399 -2.806972)', '2026-07-29 03:12:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354359 -2.807008)'), GeomFromEWKT('SRID=4674;POINT (-40.354399 -2.806972)'))) / (select extract(epoch from '2026-07-29 03:12:45'::timestamp) - extract(epoch from '2026-07-29 03:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354359 -2.807008)'), GeomFromEWKT('SRID=4674;POINT (-40.354399 -2.806972)'))) / (select extract(epoch from '2026-07-29 03:12:45'::timestamp) - extract(epoch from '2026-07-29 03:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354442 -2.806937)', '2026-07-29 03:12:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354399 -2.806972)'), GeomFromEWKT('SRID=4674;POINT (-40.354442 -2.806937)'))) / (select extract(epoch from '2026-07-29 03:12:58'::timestamp) - extract(epoch from '2026-07-29 03:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354399 -2.806972)'), GeomFromEWKT('SRID=4674;POINT (-40.354442 -2.806937)'))) / (select extract(epoch from '2026-07-29 03:12:58'::timestamp) - extract(epoch from '2026-07-29 03:12: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'), 47843, 'SRID=4674;POINT (-40.35447 -2.80689)', '2026-07-29 03:13:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354442 -2.806937)'), GeomFromEWKT('SRID=4674;POINT (-40.35447 -2.80689)'))) / (select extract(epoch from '2026-07-29 03:13:11'::timestamp) - extract(epoch from '2026-07-29 03:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354442 -2.806937)'), GeomFromEWKT('SRID=4674;POINT (-40.35447 -2.80689)'))) / (select extract(epoch from '2026-07-29 03:13:11'::timestamp) - extract(epoch from '2026-07-29 03:12:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354492 -2.806821)', '2026-07-29 03:13:29', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35447 -2.80689)'), GeomFromEWKT('SRID=4674;POINT (-40.354492 -2.806821)'))) / (select extract(epoch from '2026-07-29 03:13:29'::timestamp) - extract(epoch from '2026-07-29 03:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35447 -2.80689)'), GeomFromEWKT('SRID=4674;POINT (-40.354492 -2.806821)'))) / (select extract(epoch from '2026-07-29 03:13:29'::timestamp) - extract(epoch from '2026-07-29 03:13: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'), 47843, 'SRID=4674;POINT (-40.35448 -2.806799)', '2026-07-29 03:13:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354492 -2.806821)'), GeomFromEWKT('SRID=4674;POINT (-40.35448 -2.806799)'))) / (select extract(epoch from '2026-07-29 03:13:44'::timestamp) - extract(epoch from '2026-07-29 03:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354492 -2.806821)'), GeomFromEWKT('SRID=4674;POINT (-40.35448 -2.806799)'))) / (select extract(epoch from '2026-07-29 03:13:44'::timestamp) - extract(epoch from '2026-07-29 03:13: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'), 47843, 'SRID=4674;POINT (-40.354483 -2.806797)', '2026-07-29 03:14:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35448 -2.806799)'), GeomFromEWKT('SRID=4674;POINT (-40.354483 -2.806797)'))) / (select extract(epoch from '2026-07-29 03:14:01'::timestamp) - extract(epoch from '2026-07-29 03:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35448 -2.806799)'), GeomFromEWKT('SRID=4674;POINT (-40.354483 -2.806797)'))) / (select extract(epoch from '2026-07-29 03:14:01'::timestamp) - extract(epoch from '2026-07-29 03:13: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'), 47843, 'SRID=4674;POINT (-40.354498 -2.806796)', '2026-07-29 03:14:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354483 -2.806797)'), GeomFromEWKT('SRID=4674;POINT (-40.354498 -2.806796)'))) / (select extract(epoch from '2026-07-29 03:14:13'::timestamp) - extract(epoch from '2026-07-29 03:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354483 -2.806797)'), GeomFromEWKT('SRID=4674;POINT (-40.354498 -2.806796)'))) / (select extract(epoch from '2026-07-29 03:14:13'::timestamp) - extract(epoch from '2026-07-29 03:14: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'), 47843, 'SRID=4674;POINT (-40.354512 -2.8068)', '2026-07-29 03:14:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354498 -2.806796)'), GeomFromEWKT('SRID=4674;POINT (-40.354512 -2.8068)'))) / (select extract(epoch from '2026-07-29 03:14:23'::timestamp) - extract(epoch from '2026-07-29 03:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354498 -2.806796)'), GeomFromEWKT('SRID=4674;POINT (-40.354512 -2.8068)'))) / (select extract(epoch from '2026-07-29 03:14:23'::timestamp) - extract(epoch from '2026-07-29 03:14:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354529 -2.806796)', '2026-07-29 03:14:37', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354512 -2.8068)'), GeomFromEWKT('SRID=4674;POINT (-40.354529 -2.806796)'))) / (select extract(epoch from '2026-07-29 03:14:37'::timestamp) - extract(epoch from '2026-07-29 03:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354512 -2.8068)'), GeomFromEWKT('SRID=4674;POINT (-40.354529 -2.806796)'))) / (select extract(epoch from '2026-07-29 03:14:37'::timestamp) - extract(epoch from '2026-07-29 03:14:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354547 -2.80679)', '2026-07-29 03:14:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354529 -2.806796)'), GeomFromEWKT('SRID=4674;POINT (-40.354547 -2.80679)'))) / (select extract(epoch from '2026-07-29 03:14:50'::timestamp) - extract(epoch from '2026-07-29 03:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354529 -2.806796)'), GeomFromEWKT('SRID=4674;POINT (-40.354547 -2.80679)'))) / (select extract(epoch from '2026-07-29 03:14:50'::timestamp) - extract(epoch from '2026-07-29 03:14: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'), 47843, 'SRID=4674;POINT (-40.354555 -2.806783)', '2026-07-29 03:15:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354547 -2.80679)'), GeomFromEWKT('SRID=4674;POINT (-40.354555 -2.806783)'))) / (select extract(epoch from '2026-07-29 03:15:01'::timestamp) - extract(epoch from '2026-07-29 03:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354547 -2.80679)'), GeomFromEWKT('SRID=4674;POINT (-40.354555 -2.806783)'))) / (select extract(epoch from '2026-07-29 03:15:01'::timestamp) - extract(epoch from '2026-07-29 03:14: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'), 47843, 'SRID=4674;POINT (-40.354573 -2.806783)', '2026-07-29 03:15:16', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354555 -2.806783)'), GeomFromEWKT('SRID=4674;POINT (-40.354573 -2.806783)'))) / (select extract(epoch from '2026-07-29 03:15:16'::timestamp) - extract(epoch from '2026-07-29 03:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354555 -2.806783)'), GeomFromEWKT('SRID=4674;POINT (-40.354573 -2.806783)'))) / (select extract(epoch from '2026-07-29 03:15:16'::timestamp) - extract(epoch from '2026-07-29 03:15:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354585 -2.806781)', '2026-07-29 03:15:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354573 -2.806783)'), GeomFromEWKT('SRID=4674;POINT (-40.354585 -2.806781)'))) / (select extract(epoch from '2026-07-29 03:15:31'::timestamp) - extract(epoch from '2026-07-29 03:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354573 -2.806783)'), GeomFromEWKT('SRID=4674;POINT (-40.354585 -2.806781)'))) / (select extract(epoch from '2026-07-29 03:15:31'::timestamp) - extract(epoch from '2026-07-29 03:15: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'), 47843, 'SRID=4674;POINT (-40.354611 -2.806782)', '2026-07-29 03:15:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354585 -2.806781)'), GeomFromEWKT('SRID=4674;POINT (-40.354611 -2.806782)'))) / (select extract(epoch from '2026-07-29 03:15:40'::timestamp) - extract(epoch from '2026-07-29 03:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354585 -2.806781)'), GeomFromEWKT('SRID=4674;POINT (-40.354611 -2.806782)'))) / (select extract(epoch from '2026-07-29 03:15:40'::timestamp) - extract(epoch from '2026-07-29 03:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354675 -2.806798)', '2026-07-29 03:15:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354611 -2.806782)'), GeomFromEWKT('SRID=4674;POINT (-40.354675 -2.806798)'))) / (select extract(epoch from '2026-07-29 03:15:53'::timestamp) - extract(epoch from '2026-07-29 03:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354611 -2.806782)'), GeomFromEWKT('SRID=4674;POINT (-40.354675 -2.806798)'))) / (select extract(epoch from '2026-07-29 03:15:53'::timestamp) - extract(epoch from '2026-07-29 03:15: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'), 47843, 'SRID=4674;POINT (-40.354701 -2.806806)', '2026-07-29 03:16:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354675 -2.806798)'), GeomFromEWKT('SRID=4674;POINT (-40.354701 -2.806806)'))) / (select extract(epoch from '2026-07-29 03:16:04'::timestamp) - extract(epoch from '2026-07-29 03:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354675 -2.806798)'), GeomFromEWKT('SRID=4674;POINT (-40.354701 -2.806806)'))) / (select extract(epoch from '2026-07-29 03:16:04'::timestamp) - extract(epoch from '2026-07-29 03:15:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354723 -2.80681)', '2026-07-29 03:16:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354701 -2.806806)'), GeomFromEWKT('SRID=4674;POINT (-40.354723 -2.80681)'))) / (select extract(epoch from '2026-07-29 03:16:15'::timestamp) - extract(epoch from '2026-07-29 03:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354701 -2.806806)'), GeomFromEWKT('SRID=4674;POINT (-40.354723 -2.80681)'))) / (select extract(epoch from '2026-07-29 03:16:15'::timestamp) - extract(epoch from '2026-07-29 03:16:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354739 -2.806813)', '2026-07-29 03:16:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354723 -2.80681)'), GeomFromEWKT('SRID=4674;POINT (-40.354739 -2.806813)'))) / (select extract(epoch from '2026-07-29 03:16:32'::timestamp) - extract(epoch from '2026-07-29 03:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354723 -2.80681)'), GeomFromEWKT('SRID=4674;POINT (-40.354739 -2.806813)'))) / (select extract(epoch from '2026-07-29 03:16:32'::timestamp) - extract(epoch from '2026-07-29 03:16:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354744 -2.806814)', '2026-07-29 03:16:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354739 -2.806813)'), GeomFromEWKT('SRID=4674;POINT (-40.354744 -2.806814)'))) / (select extract(epoch from '2026-07-29 03:16:45'::timestamp) - extract(epoch from '2026-07-29 03:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354739 -2.806813)'), GeomFromEWKT('SRID=4674;POINT (-40.354744 -2.806814)'))) / (select extract(epoch from '2026-07-29 03:16:45'::timestamp) - extract(epoch from '2026-07-29 03:16:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354752 -2.806816)', '2026-07-29 03:16:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354744 -2.806814)'), GeomFromEWKT('SRID=4674;POINT (-40.354752 -2.806816)'))) / (select extract(epoch from '2026-07-29 03:16:57'::timestamp) - extract(epoch from '2026-07-29 03:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354744 -2.806814)'), GeomFromEWKT('SRID=4674;POINT (-40.354752 -2.806816)'))) / (select extract(epoch from '2026-07-29 03:16:57'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.354764 -2.80682)', '2026-07-29 03:17:05', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354752 -2.806816)'), GeomFromEWKT('SRID=4674;POINT (-40.354764 -2.80682)'))) / (select extract(epoch from '2026-07-29 03:17:05'::timestamp) - extract(epoch from '2026-07-29 03:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354752 -2.806816)'), GeomFromEWKT('SRID=4674;POINT (-40.354764 -2.80682)'))) / (select extract(epoch from '2026-07-29 03:17:05'::timestamp) - extract(epoch from '2026-07-29 03:16:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.35478 -2.806815)', '2026-07-29 03:17:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354764 -2.80682)'), GeomFromEWKT('SRID=4674;POINT (-40.35478 -2.806815)'))) / (select extract(epoch from '2026-07-29 03:17:21'::timestamp) - extract(epoch from '2026-07-29 03:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354764 -2.80682)'), GeomFromEWKT('SRID=4674;POINT (-40.35478 -2.806815)'))) / (select extract(epoch from '2026-07-29 03:17:21'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.354798 -2.806809)', '2026-07-29 03:17:33', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35478 -2.806815)'), GeomFromEWKT('SRID=4674;POINT (-40.354798 -2.806809)'))) / (select extract(epoch from '2026-07-29 03:17:33'::timestamp) - extract(epoch from '2026-07-29 03:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35478 -2.806815)'), GeomFromEWKT('SRID=4674;POINT (-40.354798 -2.806809)'))) / (select extract(epoch from '2026-07-29 03:17:33'::timestamp) - extract(epoch from '2026-07-29 03:17: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'), 47843, 'SRID=4674;POINT (-40.354832 -2.806798)', '2026-07-29 03:17:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354798 -2.806809)'), GeomFromEWKT('SRID=4674;POINT (-40.354832 -2.806798)'))) / (select extract(epoch from '2026-07-29 03:17:48'::timestamp) - extract(epoch from '2026-07-29 03:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354798 -2.806809)'), GeomFromEWKT('SRID=4674;POINT (-40.354832 -2.806798)'))) / (select extract(epoch from '2026-07-29 03:17:48'::timestamp) - extract(epoch from '2026-07-29 03:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354855 -2.806794)', '2026-07-29 03:18:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354832 -2.806798)'), GeomFromEWKT('SRID=4674;POINT (-40.354855 -2.806794)'))) / (select extract(epoch from '2026-07-29 03:18:00'::timestamp) - extract(epoch from '2026-07-29 03:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354832 -2.806798)'), GeomFromEWKT('SRID=4674;POINT (-40.354855 -2.806794)'))) / (select extract(epoch from '2026-07-29 03:18:00'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.354887 -2.806757)', '2026-07-29 03:18:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354855 -2.806794)'), GeomFromEWKT('SRID=4674;POINT (-40.354887 -2.806757)'))) / (select extract(epoch from '2026-07-29 03:18:09'::timestamp) - extract(epoch from '2026-07-29 03:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354855 -2.806794)'), GeomFromEWKT('SRID=4674;POINT (-40.354887 -2.806757)'))) / (select extract(epoch from '2026-07-29 03:18:09'::timestamp) - extract(epoch from '2026-07-29 03:18:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354895 -2.806652)', '2026-07-29 03:18:19', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354887 -2.806757)'), GeomFromEWKT('SRID=4674;POINT (-40.354895 -2.806652)'))) / (select extract(epoch from '2026-07-29 03:18:19'::timestamp) - extract(epoch from '2026-07-29 03:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354887 -2.806757)'), GeomFromEWKT('SRID=4674;POINT (-40.354895 -2.806652)'))) / (select extract(epoch from '2026-07-29 03:18:19'::timestamp) - extract(epoch from '2026-07-29 03:18:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354816 -2.806603)', '2026-07-29 03:18:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354895 -2.806652)'), GeomFromEWKT('SRID=4674;POINT (-40.354816 -2.806603)'))) / (select extract(epoch from '2026-07-29 03:18:27'::timestamp) - extract(epoch from '2026-07-29 03:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354895 -2.806652)'), GeomFromEWKT('SRID=4674;POINT (-40.354816 -2.806603)'))) / (select extract(epoch from '2026-07-29 03:18:27'::timestamp) - extract(epoch from '2026-07-29 03:18:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354685 -2.806521)', '2026-07-29 03:18:37', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354816 -2.806603)'), GeomFromEWKT('SRID=4674;POINT (-40.354685 -2.806521)'))) / (select extract(epoch from '2026-07-29 03:18:37'::timestamp) - extract(epoch from '2026-07-29 03:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354816 -2.806603)'), GeomFromEWKT('SRID=4674;POINT (-40.354685 -2.806521)'))) / (select extract(epoch from '2026-07-29 03:18:37'::timestamp) - extract(epoch from '2026-07-29 03:18: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'), 47843, 'SRID=4674;POINT (-40.354621 -2.806436)', '2026-07-29 03:18:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354685 -2.806521)'), GeomFromEWKT('SRID=4674;POINT (-40.354621 -2.806436)'))) / (select extract(epoch from '2026-07-29 03:18:44'::timestamp) - extract(epoch from '2026-07-29 03:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354685 -2.806521)'), GeomFromEWKT('SRID=4674;POINT (-40.354621 -2.806436)'))) / (select extract(epoch from '2026-07-29 03:18:44'::timestamp) - extract(epoch from '2026-07-29 03:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354576 -2.806292)', '2026-07-29 03:18:53', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354621 -2.806436)'), GeomFromEWKT('SRID=4674;POINT (-40.354576 -2.806292)'))) / (select extract(epoch from '2026-07-29 03:18:53'::timestamp) - extract(epoch from '2026-07-29 03:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354621 -2.806436)'), GeomFromEWKT('SRID=4674;POINT (-40.354576 -2.806292)'))) / (select extract(epoch from '2026-07-29 03:18:53'::timestamp) - extract(epoch from '2026-07-29 03:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354571 -2.806185)', '2026-07-29 03:19:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354576 -2.806292)'), GeomFromEWKT('SRID=4674;POINT (-40.354571 -2.806185)'))) / (select extract(epoch from '2026-07-29 03:19:00'::timestamp) - extract(epoch from '2026-07-29 03:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354576 -2.806292)'), GeomFromEWKT('SRID=4674;POINT (-40.354571 -2.806185)'))) / (select extract(epoch from '2026-07-29 03:19:00'::timestamp) - extract(epoch from '2026-07-29 03:18:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354569 -2.806061)', '2026-07-29 03:19:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354571 -2.806185)'), GeomFromEWKT('SRID=4674;POINT (-40.354569 -2.806061)'))) / (select extract(epoch from '2026-07-29 03:19:08'::timestamp) - extract(epoch from '2026-07-29 03:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354571 -2.806185)'), GeomFromEWKT('SRID=4674;POINT (-40.354569 -2.806061)'))) / (select extract(epoch from '2026-07-29 03:19:08'::timestamp) - extract(epoch from '2026-07-29 03:19: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'), 47843, 'SRID=4674;POINT (-40.354556 -2.80592)', '2026-07-29 03:19:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354569 -2.806061)'), GeomFromEWKT('SRID=4674;POINT (-40.354556 -2.80592)'))) / (select extract(epoch from '2026-07-29 03:19:16'::timestamp) - extract(epoch from '2026-07-29 03:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354569 -2.806061)'), GeomFromEWKT('SRID=4674;POINT (-40.354556 -2.80592)'))) / (select extract(epoch from '2026-07-29 03:19:16'::timestamp) - extract(epoch from '2026-07-29 03:19: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'), 47843, 'SRID=4674;POINT (-40.354551 -2.805727)', '2026-07-29 03:19:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354556 -2.80592)'), GeomFromEWKT('SRID=4674;POINT (-40.354551 -2.805727)'))) / (select extract(epoch from '2026-07-29 03:19:26'::timestamp) - extract(epoch from '2026-07-29 03:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354556 -2.80592)'), GeomFromEWKT('SRID=4674;POINT (-40.354551 -2.805727)'))) / (select extract(epoch from '2026-07-29 03:19:26'::timestamp) - extract(epoch from '2026-07-29 03:19: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'), 47843, 'SRID=4674;POINT (-40.354556 -2.805581)', '2026-07-29 03:19:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354551 -2.805727)'), GeomFromEWKT('SRID=4674;POINT (-40.354556 -2.805581)'))) / (select extract(epoch from '2026-07-29 03:19:34'::timestamp) - extract(epoch from '2026-07-29 03:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354551 -2.805727)'), GeomFromEWKT('SRID=4674;POINT (-40.354556 -2.805581)'))) / (select extract(epoch from '2026-07-29 03:19:34'::timestamp) - extract(epoch from '2026-07-29 03:19: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'), 47843, 'SRID=4674;POINT (-40.354561 -2.805394)', '2026-07-29 03:19:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354556 -2.805581)'), GeomFromEWKT('SRID=4674;POINT (-40.354561 -2.805394)'))) / (select extract(epoch from '2026-07-29 03:19:44'::timestamp) - extract(epoch from '2026-07-29 03:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354556 -2.805581)'), GeomFromEWKT('SRID=4674;POINT (-40.354561 -2.805394)'))) / (select extract(epoch from '2026-07-29 03:19:44'::timestamp) - extract(epoch from '2026-07-29 03:19:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354587 -2.805233)', '2026-07-29 03:19:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354561 -2.805394)'), GeomFromEWKT('SRID=4674;POINT (-40.354587 -2.805233)'))) / (select extract(epoch from '2026-07-29 03:19:53'::timestamp) - extract(epoch from '2026-07-29 03:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354561 -2.805394)'), GeomFromEWKT('SRID=4674;POINT (-40.354587 -2.805233)'))) / (select extract(epoch from '2026-07-29 03:19:53'::timestamp) - extract(epoch from '2026-07-29 03:19: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'), 47843, 'SRID=4674;POINT (-40.354616 -2.805121)', '2026-07-29 03:19:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354587 -2.805233)'), GeomFromEWKT('SRID=4674;POINT (-40.354616 -2.805121)'))) / (select extract(epoch from '2026-07-29 03:19:59'::timestamp) - extract(epoch from '2026-07-29 03:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354587 -2.805233)'), GeomFromEWKT('SRID=4674;POINT (-40.354616 -2.805121)'))) / (select extract(epoch from '2026-07-29 03:19:59'::timestamp) - extract(epoch from '2026-07-29 03:19:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354649 -2.804962)', '2026-07-29 03:20:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354616 -2.805121)'), GeomFromEWKT('SRID=4674;POINT (-40.354649 -2.804962)'))) / (select extract(epoch from '2026-07-29 03:20:07'::timestamp) - extract(epoch from '2026-07-29 03:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354616 -2.805121)'), GeomFromEWKT('SRID=4674;POINT (-40.354649 -2.804962)'))) / (select extract(epoch from '2026-07-29 03:20:07'::timestamp) - extract(epoch from '2026-07-29 03:19:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354701 -2.804827)', '2026-07-29 03:20:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354649 -2.804962)'), GeomFromEWKT('SRID=4674;POINT (-40.354701 -2.804827)'))) / (select extract(epoch from '2026-07-29 03:20:14'::timestamp) - extract(epoch from '2026-07-29 03:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354649 -2.804962)'), GeomFromEWKT('SRID=4674;POINT (-40.354701 -2.804827)'))) / (select extract(epoch from '2026-07-29 03:20:14'::timestamp) - extract(epoch from '2026-07-29 03:20: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'), 47843, 'SRID=4674;POINT (-40.354743 -2.804678)', '2026-07-29 03:20:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354701 -2.804827)'), GeomFromEWKT('SRID=4674;POINT (-40.354743 -2.804678)'))) / (select extract(epoch from '2026-07-29 03:20:22'::timestamp) - extract(epoch from '2026-07-29 03:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354701 -2.804827)'), GeomFromEWKT('SRID=4674;POINT (-40.354743 -2.804678)'))) / (select extract(epoch from '2026-07-29 03:20:22'::timestamp) - extract(epoch from '2026-07-29 03:20:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354764 -2.80454)', '2026-07-29 03:20:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354743 -2.804678)'), GeomFromEWKT('SRID=4674;POINT (-40.354764 -2.80454)'))) / (select extract(epoch from '2026-07-29 03:20:29'::timestamp) - extract(epoch from '2026-07-29 03:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354743 -2.804678)'), GeomFromEWKT('SRID=4674;POINT (-40.354764 -2.80454)'))) / (select extract(epoch from '2026-07-29 03:20:29'::timestamp) - extract(epoch from '2026-07-29 03:20:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354805 -2.804362)', '2026-07-29 03:20:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354764 -2.80454)'), GeomFromEWKT('SRID=4674;POINT (-40.354805 -2.804362)'))) / (select extract(epoch from '2026-07-29 03:20:38'::timestamp) - extract(epoch from '2026-07-29 03:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354764 -2.80454)'), GeomFromEWKT('SRID=4674;POINT (-40.354805 -2.804362)'))) / (select extract(epoch from '2026-07-29 03:20:38'::timestamp) - extract(epoch from '2026-07-29 03:20:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354831 -2.80419)', '2026-07-29 03:20:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354805 -2.804362)'), GeomFromEWKT('SRID=4674;POINT (-40.354831 -2.80419)'))) / (select extract(epoch from '2026-07-29 03:20:47'::timestamp) - extract(epoch from '2026-07-29 03:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354805 -2.804362)'), GeomFromEWKT('SRID=4674;POINT (-40.354831 -2.80419)'))) / (select extract(epoch from '2026-07-29 03:20:47'::timestamp) - extract(epoch from '2026-07-29 03:20:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354844 -2.804084)', '2026-07-29 03:20:53', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354831 -2.80419)'), GeomFromEWKT('SRID=4674;POINT (-40.354844 -2.804084)'))) / (select extract(epoch from '2026-07-29 03:20:53'::timestamp) - extract(epoch from '2026-07-29 03:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354831 -2.80419)'), GeomFromEWKT('SRID=4674;POINT (-40.354844 -2.804084)'))) / (select extract(epoch from '2026-07-29 03:20:53'::timestamp) - extract(epoch from '2026-07-29 03:20: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'), 47843, 'SRID=4674;POINT (-40.354855 -2.803928)', '2026-07-29 03:21:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354844 -2.804084)'), GeomFromEWKT('SRID=4674;POINT (-40.354855 -2.803928)'))) / (select extract(epoch from '2026-07-29 03:21:02'::timestamp) - extract(epoch from '2026-07-29 03:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354844 -2.804084)'), GeomFromEWKT('SRID=4674;POINT (-40.354855 -2.803928)'))) / (select extract(epoch from '2026-07-29 03:21:02'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.354896 -2.8038)', '2026-07-29 03:21:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354855 -2.803928)'), GeomFromEWKT('SRID=4674;POINT (-40.354896 -2.8038)'))) / (select extract(epoch from '2026-07-29 03:21:09'::timestamp) - extract(epoch from '2026-07-29 03:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354855 -2.803928)'), GeomFromEWKT('SRID=4674;POINT (-40.354896 -2.8038)'))) / (select extract(epoch from '2026-07-29 03:21:09'::timestamp) - extract(epoch from '2026-07-29 03:21: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'), 47843, 'SRID=4674;POINT (-40.354958 -2.803634)', '2026-07-29 03:21:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354896 -2.8038)'), GeomFromEWKT('SRID=4674;POINT (-40.354958 -2.803634)'))) / (select extract(epoch from '2026-07-29 03:21:18'::timestamp) - extract(epoch from '2026-07-29 03:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354896 -2.8038)'), GeomFromEWKT('SRID=4674;POINT (-40.354958 -2.803634)'))) / (select extract(epoch from '2026-07-29 03:21:18'::timestamp) - extract(epoch from '2026-07-29 03:21: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'), 47843, 'SRID=4674;POINT (-40.354991 -2.803496)', '2026-07-29 03:21:26', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354958 -2.803634)'), GeomFromEWKT('SRID=4674;POINT (-40.354991 -2.803496)'))) / (select extract(epoch from '2026-07-29 03:21:26'::timestamp) - extract(epoch from '2026-07-29 03:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354958 -2.803634)'), GeomFromEWKT('SRID=4674;POINT (-40.354991 -2.803496)'))) / (select extract(epoch from '2026-07-29 03:21:26'::timestamp) - extract(epoch from '2026-07-29 03:21:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355037 -2.803344)', '2026-07-29 03:21:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354991 -2.803496)'), GeomFromEWKT('SRID=4674;POINT (-40.355037 -2.803344)'))) / (select extract(epoch from '2026-07-29 03:21:34'::timestamp) - extract(epoch from '2026-07-29 03:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354991 -2.803496)'), GeomFromEWKT('SRID=4674;POINT (-40.355037 -2.803344)'))) / (select extract(epoch from '2026-07-29 03:21:34'::timestamp) - extract(epoch from '2026-07-29 03:21: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'), 47843, 'SRID=4674;POINT (-40.355075 -2.803202)', '2026-07-29 03:21:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355037 -2.803344)'), GeomFromEWKT('SRID=4674;POINT (-40.355075 -2.803202)'))) / (select extract(epoch from '2026-07-29 03:21:42'::timestamp) - extract(epoch from '2026-07-29 03:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355037 -2.803344)'), GeomFromEWKT('SRID=4674;POINT (-40.355075 -2.803202)'))) / (select extract(epoch from '2026-07-29 03:21:42'::timestamp) - extract(epoch from '2026-07-29 03:21:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355099 -2.803058)', '2026-07-29 03:21:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355075 -2.803202)'), GeomFromEWKT('SRID=4674;POINT (-40.355099 -2.803058)'))) / (select extract(epoch from '2026-07-29 03:21:50'::timestamp) - extract(epoch from '2026-07-29 03:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355075 -2.803202)'), GeomFromEWKT('SRID=4674;POINT (-40.355099 -2.803058)'))) / (select extract(epoch from '2026-07-29 03:21:50'::timestamp) - extract(epoch from '2026-07-29 03:21:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355108 -2.802913)', '2026-07-29 03:21:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355099 -2.803058)'), GeomFromEWKT('SRID=4674;POINT (-40.355108 -2.802913)'))) / (select extract(epoch from '2026-07-29 03:21:58'::timestamp) - extract(epoch from '2026-07-29 03:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355099 -2.803058)'), GeomFromEWKT('SRID=4674;POINT (-40.355108 -2.802913)'))) / (select extract(epoch from '2026-07-29 03:21:58'::timestamp) - extract(epoch from '2026-07-29 03:21: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'), 47843, 'SRID=4674;POINT (-40.355145 -2.802766)', '2026-07-29 03:22:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355108 -2.802913)'), GeomFromEWKT('SRID=4674;POINT (-40.355145 -2.802766)'))) / (select extract(epoch from '2026-07-29 03:22:06'::timestamp) - extract(epoch from '2026-07-29 03:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355108 -2.802913)'), GeomFromEWKT('SRID=4674;POINT (-40.355145 -2.802766)'))) / (select extract(epoch from '2026-07-29 03:22:06'::timestamp) - extract(epoch from '2026-07-29 03:21: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'), 47843, 'SRID=4674;POINT (-40.355171 -2.802635)', '2026-07-29 03:22:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355145 -2.802766)'), GeomFromEWKT('SRID=4674;POINT (-40.355171 -2.802635)'))) / (select extract(epoch from '2026-07-29 03:22:13'::timestamp) - extract(epoch from '2026-07-29 03:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355145 -2.802766)'), GeomFromEWKT('SRID=4674;POINT (-40.355171 -2.802635)'))) / (select extract(epoch from '2026-07-29 03:22:13'::timestamp) - extract(epoch from '2026-07-29 03:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355175 -2.802481)', '2026-07-29 03:22:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355171 -2.802635)'), GeomFromEWKT('SRID=4674;POINT (-40.355175 -2.802481)'))) / (select extract(epoch from '2026-07-29 03:22:21'::timestamp) - extract(epoch from '2026-07-29 03:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355171 -2.802635)'), GeomFromEWKT('SRID=4674;POINT (-40.355175 -2.802481)'))) / (select extract(epoch from '2026-07-29 03:22:21'::timestamp) - extract(epoch from '2026-07-29 03:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355205 -2.802342)', '2026-07-29 03:22:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355175 -2.802481)'), GeomFromEWKT('SRID=4674;POINT (-40.355205 -2.802342)'))) / (select extract(epoch from '2026-07-29 03:22:28'::timestamp) - extract(epoch from '2026-07-29 03:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355175 -2.802481)'), GeomFromEWKT('SRID=4674;POINT (-40.355205 -2.802342)'))) / (select extract(epoch from '2026-07-29 03:22:28'::timestamp) - extract(epoch from '2026-07-29 03:22:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355237 -2.802135)', '2026-07-29 03:22:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355205 -2.802342)'), GeomFromEWKT('SRID=4674;POINT (-40.355237 -2.802135)'))) / (select extract(epoch from '2026-07-29 03:22:39'::timestamp) - extract(epoch from '2026-07-29 03:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355205 -2.802342)'), GeomFromEWKT('SRID=4674;POINT (-40.355237 -2.802135)'))) / (select extract(epoch from '2026-07-29 03:22:39'::timestamp) - extract(epoch from '2026-07-29 03:22:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355248 -2.801993)', '2026-07-29 03:22:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355237 -2.802135)'), GeomFromEWKT('SRID=4674;POINT (-40.355248 -2.801993)'))) / (select extract(epoch from '2026-07-29 03:22:47'::timestamp) - extract(epoch from '2026-07-29 03:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355237 -2.802135)'), GeomFromEWKT('SRID=4674;POINT (-40.355248 -2.801993)'))) / (select extract(epoch from '2026-07-29 03:22:47'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.355235 -2.801803)', '2026-07-29 03:22:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355248 -2.801993)'), GeomFromEWKT('SRID=4674;POINT (-40.355235 -2.801803)'))) / (select extract(epoch from '2026-07-29 03:22:57'::timestamp) - extract(epoch from '2026-07-29 03:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355248 -2.801993)'), GeomFromEWKT('SRID=4674;POINT (-40.355235 -2.801803)'))) / (select extract(epoch from '2026-07-29 03:22:57'::timestamp) - extract(epoch from '2026-07-29 03:22:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355245 -2.801678)', '2026-07-29 03:23:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355235 -2.801803)'), GeomFromEWKT('SRID=4674;POINT (-40.355245 -2.801678)'))) / (select extract(epoch from '2026-07-29 03:23:04'::timestamp) - extract(epoch from '2026-07-29 03:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355235 -2.801803)'), GeomFromEWKT('SRID=4674;POINT (-40.355245 -2.801678)'))) / (select extract(epoch from '2026-07-29 03:23:04'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.355263 -2.801552)', '2026-07-29 03:23:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355245 -2.801678)'), GeomFromEWKT('SRID=4674;POINT (-40.355263 -2.801552)'))) / (select extract(epoch from '2026-07-29 03:23:11'::timestamp) - extract(epoch from '2026-07-29 03:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355245 -2.801678)'), GeomFromEWKT('SRID=4674;POINT (-40.355263 -2.801552)'))) / (select extract(epoch from '2026-07-29 03:23:11'::timestamp) - extract(epoch from '2026-07-29 03:23:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355245 -2.80136)', '2026-07-29 03:23:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355263 -2.801552)'), GeomFromEWKT('SRID=4674;POINT (-40.355245 -2.80136)'))) / (select extract(epoch from '2026-07-29 03:23:21'::timestamp) - extract(epoch from '2026-07-29 03:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355263 -2.801552)'), GeomFromEWKT('SRID=4674;POINT (-40.355245 -2.80136)'))) / (select extract(epoch from '2026-07-29 03:23:21'::timestamp) - extract(epoch from '2026-07-29 03:23:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.35523 -2.801209)', '2026-07-29 03:23:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355245 -2.80136)'), GeomFromEWKT('SRID=4674;POINT (-40.35523 -2.801209)'))) / (select extract(epoch from '2026-07-29 03:23:29'::timestamp) - extract(epoch from '2026-07-29 03:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355245 -2.80136)'), GeomFromEWKT('SRID=4674;POINT (-40.35523 -2.801209)'))) / (select extract(epoch from '2026-07-29 03:23:29'::timestamp) - extract(epoch from '2026-07-29 03:23: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'), 47843, 'SRID=4674;POINT (-40.355262 -2.801076)', '2026-07-29 03:23:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35523 -2.801209)'), GeomFromEWKT('SRID=4674;POINT (-40.355262 -2.801076)'))) / (select extract(epoch from '2026-07-29 03:23:36'::timestamp) - extract(epoch from '2026-07-29 03:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35523 -2.801209)'), GeomFromEWKT('SRID=4674;POINT (-40.355262 -2.801076)'))) / (select extract(epoch from '2026-07-29 03:23:36'::timestamp) - extract(epoch from '2026-07-29 03:23:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355287 -2.800933)', '2026-07-29 03:23:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355262 -2.801076)'), GeomFromEWKT('SRID=4674;POINT (-40.355287 -2.800933)'))) / (select extract(epoch from '2026-07-29 03:23:44'::timestamp) - extract(epoch from '2026-07-29 03:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355262 -2.801076)'), GeomFromEWKT('SRID=4674;POINT (-40.355287 -2.800933)'))) / (select extract(epoch from '2026-07-29 03:23:44'::timestamp) - extract(epoch from '2026-07-29 03:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355317 -2.800791)', '2026-07-29 03:23:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355287 -2.800933)'), GeomFromEWKT('SRID=4674;POINT (-40.355317 -2.800791)'))) / (select extract(epoch from '2026-07-29 03:23:53'::timestamp) - extract(epoch from '2026-07-29 03:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355287 -2.800933)'), GeomFromEWKT('SRID=4674;POINT (-40.355317 -2.800791)'))) / (select extract(epoch from '2026-07-29 03:23:53'::timestamp) - extract(epoch from '2026-07-29 03:23:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355334 -2.800684)', '2026-07-29 03:24:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355317 -2.800791)'), GeomFromEWKT('SRID=4674;POINT (-40.355334 -2.800684)'))) / (select extract(epoch from '2026-07-29 03:24:00'::timestamp) - extract(epoch from '2026-07-29 03:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355317 -2.800791)'), GeomFromEWKT('SRID=4674;POINT (-40.355334 -2.800684)'))) / (select extract(epoch from '2026-07-29 03:24:00'::timestamp) - extract(epoch from '2026-07-29 03:23:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.35529 -2.800582)', '2026-07-29 03:24:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355334 -2.800684)'), GeomFromEWKT('SRID=4674;POINT (-40.35529 -2.800582)'))) / (select extract(epoch from '2026-07-29 03:24:09'::timestamp) - extract(epoch from '2026-07-29 03:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355334 -2.800684)'), GeomFromEWKT('SRID=4674;POINT (-40.35529 -2.800582)'))) / (select extract(epoch from '2026-07-29 03:24:09'::timestamp) - extract(epoch from '2026-07-29 03:24: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'), 47843, 'SRID=4674;POINT (-40.355217 -2.800579)', '2026-07-29 03:24:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35529 -2.800582)'), GeomFromEWKT('SRID=4674;POINT (-40.355217 -2.800579)'))) / (select extract(epoch from '2026-07-29 03:24:18'::timestamp) - extract(epoch from '2026-07-29 03:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35529 -2.800582)'), GeomFromEWKT('SRID=4674;POINT (-40.355217 -2.800579)'))) / (select extract(epoch from '2026-07-29 03:24:18'::timestamp) - extract(epoch from '2026-07-29 03:24:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355171 -2.800637)', '2026-07-29 03:24:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355217 -2.800579)'), GeomFromEWKT('SRID=4674;POINT (-40.355171 -2.800637)'))) / (select extract(epoch from '2026-07-29 03:24:30'::timestamp) - extract(epoch from '2026-07-29 03:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355217 -2.800579)'), GeomFromEWKT('SRID=4674;POINT (-40.355171 -2.800637)'))) / (select extract(epoch from '2026-07-29 03:24:30'::timestamp) - extract(epoch from '2026-07-29 03:24:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355184 -2.800663)', '2026-07-29 03:24:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355171 -2.800637)'), GeomFromEWKT('SRID=4674;POINT (-40.355184 -2.800663)'))) / (select extract(epoch from '2026-07-29 03:24:40'::timestamp) - extract(epoch from '2026-07-29 03:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355171 -2.800637)'), GeomFromEWKT('SRID=4674;POINT (-40.355184 -2.800663)'))) / (select extract(epoch from '2026-07-29 03:24:40'::timestamp) - extract(epoch from '2026-07-29 03:24: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'), 47843, 'SRID=4674;POINT (-40.355241 -2.800696)', '2026-07-29 03:24:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355184 -2.800663)'), GeomFromEWKT('SRID=4674;POINT (-40.355241 -2.800696)'))) / (select extract(epoch from '2026-07-29 03:24:58'::timestamp) - extract(epoch from '2026-07-29 03:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355184 -2.800663)'), GeomFromEWKT('SRID=4674;POINT (-40.355241 -2.800696)'))) / (select extract(epoch from '2026-07-29 03:24:58'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.355283 -2.800702)', '2026-07-29 03:25:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355241 -2.800696)'), GeomFromEWKT('SRID=4674;POINT (-40.355283 -2.800702)'))) / (select extract(epoch from '2026-07-29 03:25:12'::timestamp) - extract(epoch from '2026-07-29 03:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355241 -2.800696)'), GeomFromEWKT('SRID=4674;POINT (-40.355283 -2.800702)'))) / (select extract(epoch from '2026-07-29 03:25:12'::timestamp) - extract(epoch from '2026-07-29 03:24:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355333 -2.800709)', '2026-07-29 03:25:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355283 -2.800702)'), GeomFromEWKT('SRID=4674;POINT (-40.355333 -2.800709)'))) / (select extract(epoch from '2026-07-29 03:25:26'::timestamp) - extract(epoch from '2026-07-29 03:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355283 -2.800702)'), GeomFromEWKT('SRID=4674;POINT (-40.355333 -2.800709)'))) / (select extract(epoch from '2026-07-29 03:25:26'::timestamp) - extract(epoch from '2026-07-29 03:25:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355391 -2.800715)', '2026-07-29 03:25:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355333 -2.800709)'), GeomFromEWKT('SRID=4674;POINT (-40.355391 -2.800715)'))) / (select extract(epoch from '2026-07-29 03:25:45'::timestamp) - extract(epoch from '2026-07-29 03:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355333 -2.800709)'), GeomFromEWKT('SRID=4674;POINT (-40.355391 -2.800715)'))) / (select extract(epoch from '2026-07-29 03:25:45'::timestamp) - extract(epoch from '2026-07-29 03:25: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'), 47843, 'SRID=4674;POINT (-40.355438 -2.800728)', '2026-07-29 03:26:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355391 -2.800715)'), GeomFromEWKT('SRID=4674;POINT (-40.355438 -2.800728)'))) / (select extract(epoch from '2026-07-29 03:26:03'::timestamp) - extract(epoch from '2026-07-29 03:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355391 -2.800715)'), GeomFromEWKT('SRID=4674;POINT (-40.355438 -2.800728)'))) / (select extract(epoch from '2026-07-29 03:26:03'::timestamp) - extract(epoch from '2026-07-29 03:25:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355468 -2.800724)', '2026-07-29 03:26:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355438 -2.800728)'), GeomFromEWKT('SRID=4674;POINT (-40.355468 -2.800724)'))) / (select extract(epoch from '2026-07-29 03:26:14'::timestamp) - extract(epoch from '2026-07-29 03:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355438 -2.800728)'), GeomFromEWKT('SRID=4674;POINT (-40.355468 -2.800724)'))) / (select extract(epoch from '2026-07-29 03:26:14'::timestamp) - extract(epoch from '2026-07-29 03:26:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355508 -2.800728)', '2026-07-29 03:26:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355468 -2.800724)'), GeomFromEWKT('SRID=4674;POINT (-40.355508 -2.800728)'))) / (select extract(epoch from '2026-07-29 03:26:27'::timestamp) - extract(epoch from '2026-07-29 03:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355468 -2.800724)'), GeomFromEWKT('SRID=4674;POINT (-40.355508 -2.800728)'))) / (select extract(epoch from '2026-07-29 03:26:27'::timestamp) - extract(epoch from '2026-07-29 03:26:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.35554 -2.800731)', '2026-07-29 03:26:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355508 -2.800728)'), GeomFromEWKT('SRID=4674;POINT (-40.35554 -2.800731)'))) / (select extract(epoch from '2026-07-29 03:26:39'::timestamp) - extract(epoch from '2026-07-29 03:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355508 -2.800728)'), GeomFromEWKT('SRID=4674;POINT (-40.35554 -2.800731)'))) / (select extract(epoch from '2026-07-29 03:26:39'::timestamp) - extract(epoch from '2026-07-29 03:26:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355566 -2.800734)', '2026-07-29 03:26:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35554 -2.800731)'), GeomFromEWKT('SRID=4674;POINT (-40.355566 -2.800734)'))) / (select extract(epoch from '2026-07-29 03:26:50'::timestamp) - extract(epoch from '2026-07-29 03:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35554 -2.800731)'), GeomFromEWKT('SRID=4674;POINT (-40.355566 -2.800734)'))) / (select extract(epoch from '2026-07-29 03:26:50'::timestamp) - extract(epoch from '2026-07-29 03:26: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'), 47843, 'SRID=4674;POINT (-40.355593 -2.800742)', '2026-07-29 03:27:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355566 -2.800734)'), GeomFromEWKT('SRID=4674;POINT (-40.355593 -2.800742)'))) / (select extract(epoch from '2026-07-29 03:27:06'::timestamp) - extract(epoch from '2026-07-29 03:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355566 -2.800734)'), GeomFromEWKT('SRID=4674;POINT (-40.355593 -2.800742)'))) / (select extract(epoch from '2026-07-29 03:27:06'::timestamp) - extract(epoch from '2026-07-29 03:26:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355601 -2.800739)', '2026-07-29 03:27:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355593 -2.800742)'), GeomFromEWKT('SRID=4674;POINT (-40.355601 -2.800739)'))) / (select extract(epoch from '2026-07-29 03:27:15'::timestamp) - extract(epoch from '2026-07-29 03:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355593 -2.800742)'), GeomFromEWKT('SRID=4674;POINT (-40.355601 -2.800739)'))) / (select extract(epoch from '2026-07-29 03:27:15'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.355627 -2.800741)', '2026-07-29 03:27:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355601 -2.800739)'), GeomFromEWKT('SRID=4674;POINT (-40.355627 -2.800741)'))) / (select extract(epoch from '2026-07-29 03:27:25'::timestamp) - extract(epoch from '2026-07-29 03:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355601 -2.800739)'), GeomFromEWKT('SRID=4674;POINT (-40.355627 -2.800741)'))) / (select extract(epoch from '2026-07-29 03:27:25'::timestamp) - extract(epoch from '2026-07-29 03:27: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'), 47843, 'SRID=4674;POINT (-40.355669 -2.800739)', '2026-07-29 03:27:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355627 -2.800741)'), GeomFromEWKT('SRID=4674;POINT (-40.355669 -2.800739)'))) / (select extract(epoch from '2026-07-29 03:27:42'::timestamp) - extract(epoch from '2026-07-29 03:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355627 -2.800741)'), GeomFromEWKT('SRID=4674;POINT (-40.355669 -2.800739)'))) / (select extract(epoch from '2026-07-29 03:27:42'::timestamp) - extract(epoch from '2026-07-29 03:27:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355703 -2.80074)', '2026-07-29 03:27:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355669 -2.800739)'), GeomFromEWKT('SRID=4674;POINT (-40.355703 -2.80074)'))) / (select extract(epoch from '2026-07-29 03:27:55'::timestamp) - extract(epoch from '2026-07-29 03:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355669 -2.800739)'), GeomFromEWKT('SRID=4674;POINT (-40.355703 -2.80074)'))) / (select extract(epoch from '2026-07-29 03:27:55'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.355752 -2.800747)', '2026-07-29 03:28:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355703 -2.80074)'), GeomFromEWKT('SRID=4674;POINT (-40.355752 -2.800747)'))) / (select extract(epoch from '2026-07-29 03:28:07'::timestamp) - extract(epoch from '2026-07-29 03:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355703 -2.80074)'), GeomFromEWKT('SRID=4674;POINT (-40.355752 -2.800747)'))) / (select extract(epoch from '2026-07-29 03:28:07'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.355781 -2.800747)', '2026-07-29 03:28:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355752 -2.800747)'), GeomFromEWKT('SRID=4674;POINT (-40.355781 -2.800747)'))) / (select extract(epoch from '2026-07-29 03:28:17'::timestamp) - extract(epoch from '2026-07-29 03:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355752 -2.800747)'), GeomFromEWKT('SRID=4674;POINT (-40.355781 -2.800747)'))) / (select extract(epoch from '2026-07-29 03:28:17'::timestamp) - extract(epoch from '2026-07-29 03:28: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'), 47843, 'SRID=4674;POINT (-40.355818 -2.800754)', '2026-07-29 03:28:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355781 -2.800747)'), GeomFromEWKT('SRID=4674;POINT (-40.355818 -2.800754)'))) / (select extract(epoch from '2026-07-29 03:28:28'::timestamp) - extract(epoch from '2026-07-29 03:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355781 -2.800747)'), GeomFromEWKT('SRID=4674;POINT (-40.355818 -2.800754)'))) / (select extract(epoch from '2026-07-29 03:28:28'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.355857 -2.80075)', '2026-07-29 03:28:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355818 -2.800754)'), GeomFromEWKT('SRID=4674;POINT (-40.355857 -2.80075)'))) / (select extract(epoch from '2026-07-29 03:28:41'::timestamp) - extract(epoch from '2026-07-29 03:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355818 -2.800754)'), GeomFromEWKT('SRID=4674;POINT (-40.355857 -2.80075)'))) / (select extract(epoch from '2026-07-29 03:28:41'::timestamp) - extract(epoch from '2026-07-29 03:28: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'), 47843, 'SRID=4674;POINT (-40.355885 -2.800757)', '2026-07-29 03:28:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355857 -2.80075)'), GeomFromEWKT('SRID=4674;POINT (-40.355885 -2.800757)'))) / (select extract(epoch from '2026-07-29 03:28:58'::timestamp) - extract(epoch from '2026-07-29 03:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355857 -2.80075)'), GeomFromEWKT('SRID=4674;POINT (-40.355885 -2.800757)'))) / (select extract(epoch from '2026-07-29 03:28:58'::timestamp) - extract(epoch from '2026-07-29 03:28: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'), 47843, 'SRID=4674;POINT (-40.35592 -2.800755)', '2026-07-29 03:29:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355885 -2.800757)'), GeomFromEWKT('SRID=4674;POINT (-40.35592 -2.800755)'))) / (select extract(epoch from '2026-07-29 03:29:13'::timestamp) - extract(epoch from '2026-07-29 03:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355885 -2.800757)'), GeomFromEWKT('SRID=4674;POINT (-40.35592 -2.800755)'))) / (select extract(epoch from '2026-07-29 03:29:13'::timestamp) - extract(epoch from '2026-07-29 03:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355949 -2.80076)', '2026-07-29 03:29:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35592 -2.800755)'), GeomFromEWKT('SRID=4674;POINT (-40.355949 -2.80076)'))) / (select extract(epoch from '2026-07-29 03:29:31'::timestamp) - extract(epoch from '2026-07-29 03:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35592 -2.800755)'), GeomFromEWKT('SRID=4674;POINT (-40.355949 -2.80076)'))) / (select extract(epoch from '2026-07-29 03:29:31'::timestamp) - extract(epoch from '2026-07-29 03:29: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'), 47843, 'SRID=4674;POINT (-40.35599 -2.800761)', '2026-07-29 03:29:47', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355949 -2.80076)'), GeomFromEWKT('SRID=4674;POINT (-40.35599 -2.800761)'))) / (select extract(epoch from '2026-07-29 03:29:47'::timestamp) - extract(epoch from '2026-07-29 03:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355949 -2.80076)'), GeomFromEWKT('SRID=4674;POINT (-40.35599 -2.800761)'))) / (select extract(epoch from '2026-07-29 03:29:47'::timestamp) - extract(epoch from '2026-07-29 03:29: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'), 47843, 'SRID=4674;POINT (-40.356029 -2.800763)', '2026-07-29 03:29:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35599 -2.800761)'), GeomFromEWKT('SRID=4674;POINT (-40.356029 -2.800763)'))) / (select extract(epoch from '2026-07-29 03:29:59'::timestamp) - extract(epoch from '2026-07-29 03:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35599 -2.800761)'), GeomFromEWKT('SRID=4674;POINT (-40.356029 -2.800763)'))) / (select extract(epoch from '2026-07-29 03:29:59'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.35606 -2.800764)', '2026-07-29 03:30:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356029 -2.800763)'), GeomFromEWKT('SRID=4674;POINT (-40.35606 -2.800764)'))) / (select extract(epoch from '2026-07-29 03:30:11'::timestamp) - extract(epoch from '2026-07-29 03:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356029 -2.800763)'), GeomFromEWKT('SRID=4674;POINT (-40.35606 -2.800764)'))) / (select extract(epoch from '2026-07-29 03:30:11'::timestamp) - extract(epoch from '2026-07-29 03:29:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.3561 -2.800771)', '2026-07-29 03:30:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35606 -2.800764)'), GeomFromEWKT('SRID=4674;POINT (-40.3561 -2.800771)'))) / (select extract(epoch from '2026-07-29 03:30:27'::timestamp) - extract(epoch from '2026-07-29 03:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35606 -2.800764)'), GeomFromEWKT('SRID=4674;POINT (-40.3561 -2.800771)'))) / (select extract(epoch from '2026-07-29 03:30:27'::timestamp) - extract(epoch from '2026-07-29 03:30: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'), 47843, 'SRID=4674;POINT (-40.356134 -2.800771)', '2026-07-29 03:30:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3561 -2.800771)'), GeomFromEWKT('SRID=4674;POINT (-40.356134 -2.800771)'))) / (select extract(epoch from '2026-07-29 03:30:38'::timestamp) - extract(epoch from '2026-07-29 03:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3561 -2.800771)'), GeomFromEWKT('SRID=4674;POINT (-40.356134 -2.800771)'))) / (select extract(epoch from '2026-07-29 03:30:38'::timestamp) - extract(epoch from '2026-07-29 03:30: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'), 47843, 'SRID=4674;POINT (-40.356169 -2.800768)', '2026-07-29 03:30:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356134 -2.800771)'), GeomFromEWKT('SRID=4674;POINT (-40.356169 -2.800768)'))) / (select extract(epoch from '2026-07-29 03:30:53'::timestamp) - extract(epoch from '2026-07-29 03:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356134 -2.800771)'), GeomFromEWKT('SRID=4674;POINT (-40.356169 -2.800768)'))) / (select extract(epoch from '2026-07-29 03:30:53'::timestamp) - extract(epoch from '2026-07-29 03:30: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'), 47843, 'SRID=4674;POINT (-40.356206 -2.800774)', '2026-07-29 03:31:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356169 -2.800768)'), GeomFromEWKT('SRID=4674;POINT (-40.356206 -2.800774)'))) / (select extract(epoch from '2026-07-29 03:31:11'::timestamp) - extract(epoch from '2026-07-29 03:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356169 -2.800768)'), GeomFromEWKT('SRID=4674;POINT (-40.356206 -2.800774)'))) / (select extract(epoch from '2026-07-29 03:31:11'::timestamp) - extract(epoch from '2026-07-29 03:30: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'), 47843, 'SRID=4674;POINT (-40.356283 -2.80079)', '2026-07-29 03:31:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356206 -2.800774)'), GeomFromEWKT('SRID=4674;POINT (-40.356283 -2.80079)'))) / (select extract(epoch from '2026-07-29 03:31:29'::timestamp) - extract(epoch from '2026-07-29 03:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356206 -2.800774)'), GeomFromEWKT('SRID=4674;POINT (-40.356283 -2.80079)'))) / (select extract(epoch from '2026-07-29 03:31:29'::timestamp) - extract(epoch from '2026-07-29 03:31: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'), 47843, 'SRID=4674;POINT (-40.356322 -2.80079)', '2026-07-29 03:31:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356283 -2.80079)'), GeomFromEWKT('SRID=4674;POINT (-40.356322 -2.80079)'))) / (select extract(epoch from '2026-07-29 03:31:43'::timestamp) - extract(epoch from '2026-07-29 03:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356283 -2.80079)'), GeomFromEWKT('SRID=4674;POINT (-40.356322 -2.80079)'))) / (select extract(epoch from '2026-07-29 03:31:43'::timestamp) - extract(epoch from '2026-07-29 03:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.356383 -2.800798)', '2026-07-29 03:31:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356322 -2.80079)'), GeomFromEWKT('SRID=4674;POINT (-40.356383 -2.800798)'))) / (select extract(epoch from '2026-07-29 03:31:57'::timestamp) - extract(epoch from '2026-07-29 03:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356322 -2.80079)'), GeomFromEWKT('SRID=4674;POINT (-40.356383 -2.800798)'))) / (select extract(epoch from '2026-07-29 03:31:57'::timestamp) - extract(epoch from '2026-07-29 03:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.356457 -2.800801)', '2026-07-29 03:32:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356383 -2.800798)'), GeomFromEWKT('SRID=4674;POINT (-40.356457 -2.800801)'))) / (select extract(epoch from '2026-07-29 03:32:12'::timestamp) - extract(epoch from '2026-07-29 03:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356383 -2.800798)'), GeomFromEWKT('SRID=4674;POINT (-40.356457 -2.800801)'))) / (select extract(epoch from '2026-07-29 03:32:12'::timestamp) - extract(epoch from '2026-07-29 03:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.356502 -2.800816)', '2026-07-29 03:32:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356457 -2.800801)'), GeomFromEWKT('SRID=4674;POINT (-40.356502 -2.800816)'))) / (select extract(epoch from '2026-07-29 03:32:25'::timestamp) - extract(epoch from '2026-07-29 03:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356457 -2.800801)'), GeomFromEWKT('SRID=4674;POINT (-40.356502 -2.800816)'))) / (select extract(epoch from '2026-07-29 03:32:25'::timestamp) - extract(epoch from '2026-07-29 03:32: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'), 47843, 'SRID=4674;POINT (-40.356506 -2.800818)', '2026-07-29 03:32:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356502 -2.800816)'), GeomFromEWKT('SRID=4674;POINT (-40.356506 -2.800818)'))) / (select extract(epoch from '2026-07-29 03:32:37'::timestamp) - extract(epoch from '2026-07-29 03:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356502 -2.800816)'), GeomFromEWKT('SRID=4674;POINT (-40.356506 -2.800818)'))) / (select extract(epoch from '2026-07-29 03:32:37'::timestamp) - extract(epoch from '2026-07-29 03:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.356541 -2.80083)', '2026-07-29 03:32:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356506 -2.800818)'), GeomFromEWKT('SRID=4674;POINT (-40.356541 -2.80083)'))) / (select extract(epoch from '2026-07-29 03:32:51'::timestamp) - extract(epoch from '2026-07-29 03:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356506 -2.800818)'), GeomFromEWKT('SRID=4674;POINT (-40.356541 -2.80083)'))) / (select extract(epoch from '2026-07-29 03:32:51'::timestamp) - extract(epoch from '2026-07-29 03:32: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'), 47843, 'SRID=4674;POINT (-40.356587 -2.800837)', '2026-07-29 03:33:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356541 -2.80083)'), GeomFromEWKT('SRID=4674;POINT (-40.356587 -2.800837)'))) / (select extract(epoch from '2026-07-29 03:33:03'::timestamp) - extract(epoch from '2026-07-29 03:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356541 -2.80083)'), GeomFromEWKT('SRID=4674;POINT (-40.356587 -2.800837)'))) / (select extract(epoch from '2026-07-29 03:33:03'::timestamp) - extract(epoch from '2026-07-29 03:32: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'), 47843, 'SRID=4674;POINT (-40.356632 -2.800838)', '2026-07-29 03:33:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356587 -2.800837)'), GeomFromEWKT('SRID=4674;POINT (-40.356632 -2.800838)'))) / (select extract(epoch from '2026-07-29 03:33:13'::timestamp) - extract(epoch from '2026-07-29 03:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356587 -2.800837)'), GeomFromEWKT('SRID=4674;POINT (-40.356632 -2.800838)'))) / (select extract(epoch from '2026-07-29 03:33:13'::timestamp) - extract(epoch from '2026-07-29 03:33:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.356657 -2.800835)', '2026-07-29 03:33:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356632 -2.800838)'), GeomFromEWKT('SRID=4674;POINT (-40.356657 -2.800835)'))) / (select extract(epoch from '2026-07-29 03:33:25'::timestamp) - extract(epoch from '2026-07-29 03:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356632 -2.800838)'), GeomFromEWKT('SRID=4674;POINT (-40.356657 -2.800835)'))) / (select extract(epoch from '2026-07-29 03:33:25'::timestamp) - extract(epoch from '2026-07-29 03:33:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.356693 -2.800842)', '2026-07-29 03:33:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356657 -2.800835)'), GeomFromEWKT('SRID=4674;POINT (-40.356693 -2.800842)'))) / (select extract(epoch from '2026-07-29 03:33:41'::timestamp) - extract(epoch from '2026-07-29 03:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356657 -2.800835)'), GeomFromEWKT('SRID=4674;POINT (-40.356693 -2.800842)'))) / (select extract(epoch from '2026-07-29 03:33:41'::timestamp) - extract(epoch from '2026-07-29 03:33:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.356746 -2.800842)', '2026-07-29 03:33:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356693 -2.800842)'), GeomFromEWKT('SRID=4674;POINT (-40.356746 -2.800842)'))) / (select extract(epoch from '2026-07-29 03:33:55'::timestamp) - extract(epoch from '2026-07-29 03:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356693 -2.800842)'), GeomFromEWKT('SRID=4674;POINT (-40.356746 -2.800842)'))) / (select extract(epoch from '2026-07-29 03:33:55'::timestamp) - extract(epoch from '2026-07-29 03:33:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.35682 -2.800841)', '2026-07-29 03:34:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356746 -2.800842)'), GeomFromEWKT('SRID=4674;POINT (-40.35682 -2.800841)'))) / (select extract(epoch from '2026-07-29 03:34:10'::timestamp) - extract(epoch from '2026-07-29 03:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356746 -2.800842)'), GeomFromEWKT('SRID=4674;POINT (-40.35682 -2.800841)'))) / (select extract(epoch from '2026-07-29 03:34:10'::timestamp) - extract(epoch from '2026-07-29 03:33: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'), 47843, 'SRID=4674;POINT (-40.356898 -2.800837)', '2026-07-29 03:34:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35682 -2.800841)'), GeomFromEWKT('SRID=4674;POINT (-40.356898 -2.800837)'))) / (select extract(epoch from '2026-07-29 03:34:24'::timestamp) - extract(epoch from '2026-07-29 03:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35682 -2.800841)'), GeomFromEWKT('SRID=4674;POINT (-40.356898 -2.800837)'))) / (select extract(epoch from '2026-07-29 03:34:24'::timestamp) - extract(epoch from '2026-07-29 03:34: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'), 47843, 'SRID=4674;POINT (-40.356965 -2.800834)', '2026-07-29 03:34:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356898 -2.800837)'), GeomFromEWKT('SRID=4674;POINT (-40.356965 -2.800834)'))) / (select extract(epoch from '2026-07-29 03:34:35'::timestamp) - extract(epoch from '2026-07-29 03:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356898 -2.800837)'), GeomFromEWKT('SRID=4674;POINT (-40.356965 -2.800834)'))) / (select extract(epoch from '2026-07-29 03:34:35'::timestamp) - extract(epoch from '2026-07-29 03:34:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.35706 -2.80083)', '2026-07-29 03:34:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356965 -2.800834)'), GeomFromEWKT('SRID=4674;POINT (-40.35706 -2.80083)'))) / (select extract(epoch from '2026-07-29 03:34:49'::timestamp) - extract(epoch from '2026-07-29 03:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356965 -2.800834)'), GeomFromEWKT('SRID=4674;POINT (-40.35706 -2.80083)'))) / (select extract(epoch from '2026-07-29 03:34:49'::timestamp) - extract(epoch from '2026-07-29 03:34:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.357147 -2.800835)', '2026-07-29 03:35:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35706 -2.80083)'), GeomFromEWKT('SRID=4674;POINT (-40.357147 -2.800835)'))) / (select extract(epoch from '2026-07-29 03:35:03'::timestamp) - extract(epoch from '2026-07-29 03:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35706 -2.80083)'), GeomFromEWKT('SRID=4674;POINT (-40.357147 -2.800835)'))) / (select extract(epoch from '2026-07-29 03:35:03'::timestamp) - extract(epoch from '2026-07-29 03:34:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.357235 -2.800831)', '2026-07-29 03:35:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357147 -2.800835)'), GeomFromEWKT('SRID=4674;POINT (-40.357235 -2.800831)'))) / (select extract(epoch from '2026-07-29 03:35:16'::timestamp) - extract(epoch from '2026-07-29 03:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357147 -2.800835)'), GeomFromEWKT('SRID=4674;POINT (-40.357235 -2.800831)'))) / (select extract(epoch from '2026-07-29 03:35:16'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.357291 -2.800826)', '2026-07-29 03:35:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357235 -2.800831)'), GeomFromEWKT('SRID=4674;POINT (-40.357291 -2.800826)'))) / (select extract(epoch from '2026-07-29 03:35:25'::timestamp) - extract(epoch from '2026-07-29 03:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357235 -2.800831)'), GeomFromEWKT('SRID=4674;POINT (-40.357291 -2.800826)'))) / (select extract(epoch from '2026-07-29 03:35:25'::timestamp) - extract(epoch from '2026-07-29 03:35:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.357383 -2.800825)', '2026-07-29 03:35:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357291 -2.800826)'), GeomFromEWKT('SRID=4674;POINT (-40.357383 -2.800825)'))) / (select extract(epoch from '2026-07-29 03:35:40'::timestamp) - extract(epoch from '2026-07-29 03:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357291 -2.800826)'), GeomFromEWKT('SRID=4674;POINT (-40.357383 -2.800825)'))) / (select extract(epoch from '2026-07-29 03:35:40'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.357442 -2.800828)', '2026-07-29 03:35:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357383 -2.800825)'), GeomFromEWKT('SRID=4674;POINT (-40.357442 -2.800828)'))) / (select extract(epoch from '2026-07-29 03:35:50'::timestamp) - extract(epoch from '2026-07-29 03:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357383 -2.800825)'), GeomFromEWKT('SRID=4674;POINT (-40.357442 -2.800828)'))) / (select extract(epoch from '2026-07-29 03:35:50'::timestamp) - extract(epoch from '2026-07-29 03:35: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'), 47843, 'SRID=4674;POINT (-40.357515 -2.800823)', '2026-07-29 03:36:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357442 -2.800828)'), GeomFromEWKT('SRID=4674;POINT (-40.357515 -2.800823)'))) / (select extract(epoch from '2026-07-29 03:36:01'::timestamp) - extract(epoch from '2026-07-29 03:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357442 -2.800828)'), GeomFromEWKT('SRID=4674;POINT (-40.357515 -2.800823)'))) / (select extract(epoch from '2026-07-29 03:36:01'::timestamp) - extract(epoch from '2026-07-29 03:35: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'), 47843, 'SRID=4674;POINT (-40.3576 -2.800825)', '2026-07-29 03:36:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357515 -2.800823)'), GeomFromEWKT('SRID=4674;POINT (-40.3576 -2.800825)'))) / (select extract(epoch from '2026-07-29 03:36:13'::timestamp) - extract(epoch from '2026-07-29 03:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357515 -2.800823)'), GeomFromEWKT('SRID=4674;POINT (-40.3576 -2.800825)'))) / (select extract(epoch from '2026-07-29 03:36:13'::timestamp) - extract(epoch from '2026-07-29 03:36: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'), 47843, 'SRID=4674;POINT (-40.357658 -2.800818)', '2026-07-29 03:36:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3576 -2.800825)'), GeomFromEWKT('SRID=4674;POINT (-40.357658 -2.800818)'))) / (select extract(epoch from '2026-07-29 03:36:23'::timestamp) - extract(epoch from '2026-07-29 03:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3576 -2.800825)'), GeomFromEWKT('SRID=4674;POINT (-40.357658 -2.800818)'))) / (select extract(epoch from '2026-07-29 03:36:23'::timestamp) - extract(epoch from '2026-07-29 03:36:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.357707 -2.800817)', '2026-07-29 03:36:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357658 -2.800818)'), GeomFromEWKT('SRID=4674;POINT (-40.357707 -2.800817)'))) / (select extract(epoch from '2026-07-29 03:36:32'::timestamp) - extract(epoch from '2026-07-29 03:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357658 -2.800818)'), GeomFromEWKT('SRID=4674;POINT (-40.357707 -2.800817)'))) / (select extract(epoch from '2026-07-29 03:36:32'::timestamp) - extract(epoch from '2026-07-29 03:36: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'), 47843, 'SRID=4674;POINT (-40.357779 -2.800827)', '2026-07-29 03:36:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357707 -2.800817)'), GeomFromEWKT('SRID=4674;POINT (-40.357779 -2.800827)'))) / (select extract(epoch from '2026-07-29 03:36:43'::timestamp) - extract(epoch from '2026-07-29 03:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357707 -2.800817)'), GeomFromEWKT('SRID=4674;POINT (-40.357779 -2.800827)'))) / (select extract(epoch from '2026-07-29 03:36:43'::timestamp) - extract(epoch from '2026-07-29 03:36: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'), 47843, 'SRID=4674;POINT (-40.357815 -2.800828)', '2026-07-29 03:36:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357779 -2.800827)'), GeomFromEWKT('SRID=4674;POINT (-40.357815 -2.800828)'))) / (select extract(epoch from '2026-07-29 03:36:49'::timestamp) - extract(epoch from '2026-07-29 03:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357779 -2.800827)'), GeomFromEWKT('SRID=4674;POINT (-40.357815 -2.800828)'))) / (select extract(epoch from '2026-07-29 03:36:49'::timestamp) - extract(epoch from '2026-07-29 03:36: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'), 47843, 'SRID=4674;POINT (-40.357863 -2.800828)', '2026-07-29 03:36:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357815 -2.800828)'), GeomFromEWKT('SRID=4674;POINT (-40.357863 -2.800828)'))) / (select extract(epoch from '2026-07-29 03:36:57'::timestamp) - extract(epoch from '2026-07-29 03:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357815 -2.800828)'), GeomFromEWKT('SRID=4674;POINT (-40.357863 -2.800828)'))) / (select extract(epoch from '2026-07-29 03:36:57'::timestamp) - extract(epoch from '2026-07-29 03:36:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.357931 -2.80083)', '2026-07-29 03:37:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357863 -2.800828)'), GeomFromEWKT('SRID=4674;POINT (-40.357931 -2.80083)'))) / (select extract(epoch from '2026-07-29 03:37:10'::timestamp) - extract(epoch from '2026-07-29 03:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357863 -2.800828)'), GeomFromEWKT('SRID=4674;POINT (-40.357931 -2.80083)'))) / (select extract(epoch from '2026-07-29 03:37:10'::timestamp) - extract(epoch from '2026-07-29 03:36: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'), 47843, 'SRID=4674;POINT (-40.358012 -2.800838)', '2026-07-29 03:37:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357931 -2.80083)'), GeomFromEWKT('SRID=4674;POINT (-40.358012 -2.800838)'))) / (select extract(epoch from '2026-07-29 03:37:20'::timestamp) - extract(epoch from '2026-07-29 03:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357931 -2.80083)'), GeomFromEWKT('SRID=4674;POINT (-40.358012 -2.800838)'))) / (select extract(epoch from '2026-07-29 03:37:20'::timestamp) - extract(epoch from '2026-07-29 03:37: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'), 47843, 'SRID=4674;POINT (-40.358061 -2.800835)', '2026-07-29 03:37:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358012 -2.800838)'), GeomFromEWKT('SRID=4674;POINT (-40.358061 -2.800835)'))) / (select extract(epoch from '2026-07-29 03:37:27'::timestamp) - extract(epoch from '2026-07-29 03:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358012 -2.800838)'), GeomFromEWKT('SRID=4674;POINT (-40.358061 -2.800835)'))) / (select extract(epoch from '2026-07-29 03:37:27'::timestamp) - extract(epoch from '2026-07-29 03:37: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'), 47843, 'SRID=4674;POINT (-40.358142 -2.800844)', '2026-07-29 03:37:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358061 -2.800835)'), GeomFromEWKT('SRID=4674;POINT (-40.358142 -2.800844)'))) / (select extract(epoch from '2026-07-29 03:37:43'::timestamp) - extract(epoch from '2026-07-29 03:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358061 -2.800835)'), GeomFromEWKT('SRID=4674;POINT (-40.358142 -2.800844)'))) / (select extract(epoch from '2026-07-29 03:37:43'::timestamp) - extract(epoch from '2026-07-29 03:37: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'), 47843, 'SRID=4674;POINT (-40.358219 -2.800855)', '2026-07-29 03:37:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358142 -2.800844)'), GeomFromEWKT('SRID=4674;POINT (-40.358219 -2.800855)'))) / (select extract(epoch from '2026-07-29 03:37:56'::timestamp) - extract(epoch from '2026-07-29 03:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358142 -2.800844)'), GeomFromEWKT('SRID=4674;POINT (-40.358219 -2.800855)'))) / (select extract(epoch from '2026-07-29 03:37:56'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.358226 -2.80086)', '2026-07-29 03:37:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358219 -2.800855)'), GeomFromEWKT('SRID=4674;POINT (-40.358226 -2.80086)'))) / (select extract(epoch from '2026-07-29 03:37:57'::timestamp) - extract(epoch from '2026-07-29 03:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358219 -2.800855)'), GeomFromEWKT('SRID=4674;POINT (-40.358226 -2.80086)'))) / (select extract(epoch from '2026-07-29 03:37:57'::timestamp) - extract(epoch from '2026-07-29 03:37: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'), 47843, 'SRID=4674;POINT (-40.358248 -2.800865)', '2026-07-29 03:38:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358226 -2.80086)'), GeomFromEWKT('SRID=4674;POINT (-40.358248 -2.800865)'))) / (select extract(epoch from '2026-07-29 03:38:01'::timestamp) - extract(epoch from '2026-07-29 03:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358226 -2.80086)'), GeomFromEWKT('SRID=4674;POINT (-40.358248 -2.800865)'))) / (select extract(epoch from '2026-07-29 03:38:01'::timestamp) - extract(epoch from '2026-07-29 03:37: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'), 47843, 'SRID=4674;POINT (-40.3583 -2.800876)', '2026-07-29 03:38:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358248 -2.800865)'), GeomFromEWKT('SRID=4674;POINT (-40.3583 -2.800876)'))) / (select extract(epoch from '2026-07-29 03:38:10'::timestamp) - extract(epoch from '2026-07-29 03:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358248 -2.800865)'), GeomFromEWKT('SRID=4674;POINT (-40.3583 -2.800876)'))) / (select extract(epoch from '2026-07-29 03:38:10'::timestamp) - extract(epoch from '2026-07-29 03:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.358363 -2.800877)', '2026-07-29 03:38:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3583 -2.800876)'), GeomFromEWKT('SRID=4674;POINT (-40.358363 -2.800877)'))) / (select extract(epoch from '2026-07-29 03:38:21'::timestamp) - extract(epoch from '2026-07-29 03:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3583 -2.800876)'), GeomFromEWKT('SRID=4674;POINT (-40.358363 -2.800877)'))) / (select extract(epoch from '2026-07-29 03:38:21'::timestamp) - extract(epoch from '2026-07-29 03:38:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.358416 -2.800872)', '2026-07-29 03:38:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358363 -2.800877)'), GeomFromEWKT('SRID=4674;POINT (-40.358416 -2.800872)'))) / (select extract(epoch from '2026-07-29 03:38:30'::timestamp) - extract(epoch from '2026-07-29 03:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358363 -2.800877)'), GeomFromEWKT('SRID=4674;POINT (-40.358416 -2.800872)'))) / (select extract(epoch from '2026-07-29 03:38:30'::timestamp) - extract(epoch from '2026-07-29 03:38:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.358512 -2.800865)', '2026-07-29 03:38:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358416 -2.800872)'), GeomFromEWKT('SRID=4674;POINT (-40.358512 -2.800865)'))) / (select extract(epoch from '2026-07-29 03:38:45'::timestamp) - extract(epoch from '2026-07-29 03:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358416 -2.800872)'), GeomFromEWKT('SRID=4674;POINT (-40.358512 -2.800865)'))) / (select extract(epoch from '2026-07-29 03:38:45'::timestamp) - extract(epoch from '2026-07-29 03:38: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'), 47843, 'SRID=4674;POINT (-40.35858 -2.800877)', '2026-07-29 03:38:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358512 -2.800865)'), GeomFromEWKT('SRID=4674;POINT (-40.35858 -2.800877)'))) / (select extract(epoch from '2026-07-29 03:38:57'::timestamp) - extract(epoch from '2026-07-29 03:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358512 -2.800865)'), GeomFromEWKT('SRID=4674;POINT (-40.35858 -2.800877)'))) / (select extract(epoch from '2026-07-29 03:38:57'::timestamp) - extract(epoch from '2026-07-29 03:38:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.358639 -2.800879)', '2026-07-29 03:39:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35858 -2.800877)'), GeomFromEWKT('SRID=4674;POINT (-40.358639 -2.800879)'))) / (select extract(epoch from '2026-07-29 03:39:09'::timestamp) - extract(epoch from '2026-07-29 03:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35858 -2.800877)'), GeomFromEWKT('SRID=4674;POINT (-40.358639 -2.800879)'))) / (select extract(epoch from '2026-07-29 03:39:09'::timestamp) - extract(epoch from '2026-07-29 03:38: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'), 47843, 'SRID=4674;POINT (-40.358708 -2.800882)', '2026-07-29 03:39:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358639 -2.800879)'), GeomFromEWKT('SRID=4674;POINT (-40.358708 -2.800882)'))) / (select extract(epoch from '2026-07-29 03:39:21'::timestamp) - extract(epoch from '2026-07-29 03:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358639 -2.800879)'), GeomFromEWKT('SRID=4674;POINT (-40.358708 -2.800882)'))) / (select extract(epoch from '2026-07-29 03:39:21'::timestamp) - extract(epoch from '2026-07-29 03:39:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.358779 -2.800887)', '2026-07-29 03:39:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358708 -2.800882)'), GeomFromEWKT('SRID=4674;POINT (-40.358779 -2.800887)'))) / (select extract(epoch from '2026-07-29 03:39:32'::timestamp) - extract(epoch from '2026-07-29 03:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358708 -2.800882)'), GeomFromEWKT('SRID=4674;POINT (-40.358779 -2.800887)'))) / (select extract(epoch from '2026-07-29 03:39:32'::timestamp) - extract(epoch from '2026-07-29 03:39: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'), 47843, 'SRID=4674;POINT (-40.358856 -2.800882)', '2026-07-29 03:39:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358779 -2.800887)'), GeomFromEWKT('SRID=4674;POINT (-40.358856 -2.800882)'))) / (select extract(epoch from '2026-07-29 03:39:46'::timestamp) - extract(epoch from '2026-07-29 03:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358779 -2.800887)'), GeomFromEWKT('SRID=4674;POINT (-40.358856 -2.800882)'))) / (select extract(epoch from '2026-07-29 03:39:46'::timestamp) - extract(epoch from '2026-07-29 03:39: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'), 47843, 'SRID=4674;POINT (-40.358921 -2.800892)', '2026-07-29 03:39:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358856 -2.800882)'), GeomFromEWKT('SRID=4674;POINT (-40.358921 -2.800892)'))) / (select extract(epoch from '2026-07-29 03:39:57'::timestamp) - extract(epoch from '2026-07-29 03:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358856 -2.800882)'), GeomFromEWKT('SRID=4674;POINT (-40.358921 -2.800892)'))) / (select extract(epoch from '2026-07-29 03:39:57'::timestamp) - extract(epoch from '2026-07-29 03:39: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'), 47843, 'SRID=4674;POINT (-40.359012 -2.800896)', '2026-07-29 03:40:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358921 -2.800892)'), GeomFromEWKT('SRID=4674;POINT (-40.359012 -2.800896)'))) / (select extract(epoch from '2026-07-29 03:40:13'::timestamp) - extract(epoch from '2026-07-29 03:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358921 -2.800892)'), GeomFromEWKT('SRID=4674;POINT (-40.359012 -2.800896)'))) / (select extract(epoch from '2026-07-29 03:40:13'::timestamp) - extract(epoch from '2026-07-29 03:39: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'), 47843, 'SRID=4674;POINT (-40.359101 -2.800894)', '2026-07-29 03:40:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359012 -2.800896)'), GeomFromEWKT('SRID=4674;POINT (-40.359101 -2.800894)'))) / (select extract(epoch from '2026-07-29 03:40:26'::timestamp) - extract(epoch from '2026-07-29 03:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359012 -2.800896)'), GeomFromEWKT('SRID=4674;POINT (-40.359101 -2.800894)'))) / (select extract(epoch from '2026-07-29 03:40:26'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.359211 -2.800909)', '2026-07-29 03:40:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359101 -2.800894)'), GeomFromEWKT('SRID=4674;POINT (-40.359211 -2.800909)'))) / (select extract(epoch from '2026-07-29 03:40:42'::timestamp) - extract(epoch from '2026-07-29 03:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359101 -2.800894)'), GeomFromEWKT('SRID=4674;POINT (-40.359211 -2.800909)'))) / (select extract(epoch from '2026-07-29 03:40:42'::timestamp) - extract(epoch from '2026-07-29 03:40: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'), 47843, 'SRID=4674;POINT (-40.35932 -2.800903)', '2026-07-29 03:40:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359211 -2.800909)'), GeomFromEWKT('SRID=4674;POINT (-40.35932 -2.800903)'))) / (select extract(epoch from '2026-07-29 03:40:58'::timestamp) - extract(epoch from '2026-07-29 03:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359211 -2.800909)'), GeomFromEWKT('SRID=4674;POINT (-40.35932 -2.800903)'))) / (select extract(epoch from '2026-07-29 03:40:58'::timestamp) - extract(epoch from '2026-07-29 03:40: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'), 47843, 'SRID=4674;POINT (-40.359417 -2.800904)', '2026-07-29 03:41:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35932 -2.800903)'), GeomFromEWKT('SRID=4674;POINT (-40.359417 -2.800904)'))) / (select extract(epoch from '2026-07-29 03:41:11'::timestamp) - extract(epoch from '2026-07-29 03:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35932 -2.800903)'), GeomFromEWKT('SRID=4674;POINT (-40.359417 -2.800904)'))) / (select extract(epoch from '2026-07-29 03:41:11'::timestamp) - extract(epoch from '2026-07-29 03:40: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'), 47843, 'SRID=4674;POINT (-40.359482 -2.800906)', '2026-07-29 03:41:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359417 -2.800904)'), GeomFromEWKT('SRID=4674;POINT (-40.359482 -2.800906)'))) / (select extract(epoch from '2026-07-29 03:41:25'::timestamp) - extract(epoch from '2026-07-29 03:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359417 -2.800904)'), GeomFromEWKT('SRID=4674;POINT (-40.359482 -2.800906)'))) / (select extract(epoch from '2026-07-29 03:41:25'::timestamp) - extract(epoch from '2026-07-29 03:41: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'), 47843, 'SRID=4674;POINT (-40.359555 -2.800907)', '2026-07-29 03:41:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359482 -2.800906)'), GeomFromEWKT('SRID=4674;POINT (-40.359555 -2.800907)'))) / (select extract(epoch from '2026-07-29 03:41:38'::timestamp) - extract(epoch from '2026-07-29 03:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359482 -2.800906)'), GeomFromEWKT('SRID=4674;POINT (-40.359555 -2.800907)'))) / (select extract(epoch from '2026-07-29 03:41:38'::timestamp) - extract(epoch from '2026-07-29 03:41: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'), 47843, 'SRID=4674;POINT (-40.359608 -2.800902)', '2026-07-29 03:41:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359555 -2.800907)'), GeomFromEWKT('SRID=4674;POINT (-40.359608 -2.800902)'))) / (select extract(epoch from '2026-07-29 03:41:48'::timestamp) - extract(epoch from '2026-07-29 03:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359555 -2.800907)'), GeomFromEWKT('SRID=4674;POINT (-40.359608 -2.800902)'))) / (select extract(epoch from '2026-07-29 03:41:48'::timestamp) - extract(epoch from '2026-07-29 03:41: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'), 47843, 'SRID=4674;POINT (-40.359673 -2.800892)', '2026-07-29 03:41:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359608 -2.800902)'), GeomFromEWKT('SRID=4674;POINT (-40.359673 -2.800892)'))) / (select extract(epoch from '2026-07-29 03:41:59'::timestamp) - extract(epoch from '2026-07-29 03:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359608 -2.800902)'), GeomFromEWKT('SRID=4674;POINT (-40.359673 -2.800892)'))) / (select extract(epoch from '2026-07-29 03:41:59'::timestamp) - extract(epoch from '2026-07-29 03:41:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.359739 -2.800891)', '2026-07-29 03:42:10', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359673 -2.800892)'), GeomFromEWKT('SRID=4674;POINT (-40.359739 -2.800891)'))) / (select extract(epoch from '2026-07-29 03:42:10'::timestamp) - extract(epoch from '2026-07-29 03:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359673 -2.800892)'), GeomFromEWKT('SRID=4674;POINT (-40.359739 -2.800891)'))) / (select extract(epoch from '2026-07-29 03:42:10'::timestamp) - extract(epoch from '2026-07-29 03:41:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.359822 -2.800888)', '2026-07-29 03:42:22', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359739 -2.800891)'), GeomFromEWKT('SRID=4674;POINT (-40.359822 -2.800888)'))) / (select extract(epoch from '2026-07-29 03:42:22'::timestamp) - extract(epoch from '2026-07-29 03:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359739 -2.800891)'), GeomFromEWKT('SRID=4674;POINT (-40.359822 -2.800888)'))) / (select extract(epoch from '2026-07-29 03:42:22'::timestamp) - extract(epoch from '2026-07-29 03:42: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'), 47843, 'SRID=4674;POINT (-40.359883 -2.800886)', '2026-07-29 03:42:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359822 -2.800888)'), GeomFromEWKT('SRID=4674;POINT (-40.359883 -2.800886)'))) / (select extract(epoch from '2026-07-29 03:42:32'::timestamp) - extract(epoch from '2026-07-29 03:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359822 -2.800888)'), GeomFromEWKT('SRID=4674;POINT (-40.359883 -2.800886)'))) / (select extract(epoch from '2026-07-29 03:42:32'::timestamp) - extract(epoch from '2026-07-29 03:42:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.35997 -2.800885)', '2026-07-29 03:42:45', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359883 -2.800886)'), GeomFromEWKT('SRID=4674;POINT (-40.35997 -2.800885)'))) / (select extract(epoch from '2026-07-29 03:42:45'::timestamp) - extract(epoch from '2026-07-29 03:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.359883 -2.800886)'), GeomFromEWKT('SRID=4674;POINT (-40.35997 -2.800885)'))) / (select extract(epoch from '2026-07-29 03:42:45'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.360038 -2.800881)', '2026-07-29 03:42:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35997 -2.800885)'), GeomFromEWKT('SRID=4674;POINT (-40.360038 -2.800881)'))) / (select extract(epoch from '2026-07-29 03:42:55'::timestamp) - extract(epoch from '2026-07-29 03:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35997 -2.800885)'), GeomFromEWKT('SRID=4674;POINT (-40.360038 -2.800881)'))) / (select extract(epoch from '2026-07-29 03:42:55'::timestamp) - extract(epoch from '2026-07-29 03:42: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'), 47843, 'SRID=4674;POINT (-40.360107 -2.800878)', '2026-07-29 03:43:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360038 -2.800881)'), GeomFromEWKT('SRID=4674;POINT (-40.360107 -2.800878)'))) / (select extract(epoch from '2026-07-29 03:43:07'::timestamp) - extract(epoch from '2026-07-29 03:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360038 -2.800881)'), GeomFromEWKT('SRID=4674;POINT (-40.360107 -2.800878)'))) / (select extract(epoch from '2026-07-29 03:43:07'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.360175 -2.800869)', '2026-07-29 03:43:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360107 -2.800878)'), GeomFromEWKT('SRID=4674;POINT (-40.360175 -2.800869)'))) / (select extract(epoch from '2026-07-29 03:43:17'::timestamp) - extract(epoch from '2026-07-29 03:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360107 -2.800878)'), GeomFromEWKT('SRID=4674;POINT (-40.360175 -2.800869)'))) / (select extract(epoch from '2026-07-29 03:43:17'::timestamp) - extract(epoch from '2026-07-29 03:43:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.360267 -2.800879)', '2026-07-29 03:43:31', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360175 -2.800869)'), GeomFromEWKT('SRID=4674;POINT (-40.360267 -2.800879)'))) / (select extract(epoch from '2026-07-29 03:43:31'::timestamp) - extract(epoch from '2026-07-29 03:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360175 -2.800869)'), GeomFromEWKT('SRID=4674;POINT (-40.360267 -2.800879)'))) / (select extract(epoch from '2026-07-29 03:43:31'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.360334 -2.800876)', '2026-07-29 03:43:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360267 -2.800879)'), GeomFromEWKT('SRID=4674;POINT (-40.360334 -2.800876)'))) / (select extract(epoch from '2026-07-29 03:43:43'::timestamp) - extract(epoch from '2026-07-29 03:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360267 -2.800879)'), GeomFromEWKT('SRID=4674;POINT (-40.360334 -2.800876)'))) / (select extract(epoch from '2026-07-29 03:43:43'::timestamp) - extract(epoch from '2026-07-29 03:43: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'), 47843, 'SRID=4674;POINT (-40.360408 -2.800865)', '2026-07-29 03:43:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360334 -2.800876)'), GeomFromEWKT('SRID=4674;POINT (-40.360408 -2.800865)'))) / (select extract(epoch from '2026-07-29 03:43:55'::timestamp) - extract(epoch from '2026-07-29 03:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360334 -2.800876)'), GeomFromEWKT('SRID=4674;POINT (-40.360408 -2.800865)'))) / (select extract(epoch from '2026-07-29 03:43:55'::timestamp) - extract(epoch from '2026-07-29 03:43: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'), 47843, 'SRID=4674;POINT (-40.360513 -2.800869)', '2026-07-29 03:44:13', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360408 -2.800865)'), GeomFromEWKT('SRID=4674;POINT (-40.360513 -2.800869)'))) / (select extract(epoch from '2026-07-29 03:44:13'::timestamp) - extract(epoch from '2026-07-29 03:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360408 -2.800865)'), GeomFromEWKT('SRID=4674;POINT (-40.360513 -2.800869)'))) / (select extract(epoch from '2026-07-29 03:44:13'::timestamp) - extract(epoch from '2026-07-29 03:43: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'), 47843, 'SRID=4674;POINT (-40.360628 -2.800883)', '2026-07-29 03:44:30', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360513 -2.800869)'), GeomFromEWKT('SRID=4674;POINT (-40.360628 -2.800883)'))) / (select extract(epoch from '2026-07-29 03:44:30'::timestamp) - extract(epoch from '2026-07-29 03:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360513 -2.800869)'), GeomFromEWKT('SRID=4674;POINT (-40.360628 -2.800883)'))) / (select extract(epoch from '2026-07-29 03:44:30'::timestamp) - extract(epoch from '2026-07-29 03:44: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'), 47843, 'SRID=4674;POINT (-40.360702 -2.800884)', '2026-07-29 03:44:43', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360628 -2.800883)'), GeomFromEWKT('SRID=4674;POINT (-40.360702 -2.800884)'))) / (select extract(epoch from '2026-07-29 03:44:43'::timestamp) - extract(epoch from '2026-07-29 03:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360628 -2.800883)'), GeomFromEWKT('SRID=4674;POINT (-40.360702 -2.800884)'))) / (select extract(epoch from '2026-07-29 03:44:43'::timestamp) - extract(epoch from '2026-07-29 03:44: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'), 47843, 'SRID=4674;POINT (-40.360775 -2.800893)', '2026-07-29 03:44:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360702 -2.800884)'), GeomFromEWKT('SRID=4674;POINT (-40.360775 -2.800893)'))) / (select extract(epoch from '2026-07-29 03:44:53'::timestamp) - extract(epoch from '2026-07-29 03:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360702 -2.800884)'), GeomFromEWKT('SRID=4674;POINT (-40.360775 -2.800893)'))) / (select extract(epoch from '2026-07-29 03:44:53'::timestamp) - extract(epoch from '2026-07-29 03:44:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.360847 -2.800883)', '2026-07-29 03:45:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360775 -2.800893)'), GeomFromEWKT('SRID=4674;POINT (-40.360847 -2.800883)'))) / (select extract(epoch from '2026-07-29 03:45:02'::timestamp) - extract(epoch from '2026-07-29 03:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360775 -2.800893)'), GeomFromEWKT('SRID=4674;POINT (-40.360847 -2.800883)'))) / (select extract(epoch from '2026-07-29 03:45:02'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.360942 -2.800886)', '2026-07-29 03:45:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360847 -2.800883)'), GeomFromEWKT('SRID=4674;POINT (-40.360942 -2.800886)'))) / (select extract(epoch from '2026-07-29 03:45:16'::timestamp) - extract(epoch from '2026-07-29 03:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360847 -2.800883)'), GeomFromEWKT('SRID=4674;POINT (-40.360942 -2.800886)'))) / (select extract(epoch from '2026-07-29 03:45:16'::timestamp) - extract(epoch from '2026-07-29 03:45: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'), 47843, 'SRID=4674;POINT (-40.361009 -2.800889)', '2026-07-29 03:45:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360942 -2.800886)'), GeomFromEWKT('SRID=4674;POINT (-40.361009 -2.800889)'))) / (select extract(epoch from '2026-07-29 03:45:27'::timestamp) - extract(epoch from '2026-07-29 03:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.360942 -2.800886)'), GeomFromEWKT('SRID=4674;POINT (-40.361009 -2.800889)'))) / (select extract(epoch from '2026-07-29 03:45:27'::timestamp) - extract(epoch from '2026-07-29 03:45: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'), 47843, 'SRID=4674;POINT (-40.361079 -2.800876)', '2026-07-29 03:45:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361009 -2.800889)'), GeomFromEWKT('SRID=4674;POINT (-40.361079 -2.800876)'))) / (select extract(epoch from '2026-07-29 03:45:37'::timestamp) - extract(epoch from '2026-07-29 03:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361009 -2.800889)'), GeomFromEWKT('SRID=4674;POINT (-40.361079 -2.800876)'))) / (select extract(epoch from '2026-07-29 03:45:37'::timestamp) - extract(epoch from '2026-07-29 03:45: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'), 47843, 'SRID=4674;POINT (-40.36117 -2.80088)', '2026-07-29 03:45:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361079 -2.800876)'), GeomFromEWKT('SRID=4674;POINT (-40.36117 -2.80088)'))) / (select extract(epoch from '2026-07-29 03:45:49'::timestamp) - extract(epoch from '2026-07-29 03:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361079 -2.800876)'), GeomFromEWKT('SRID=4674;POINT (-40.36117 -2.80088)'))) / (select extract(epoch from '2026-07-29 03:45:49'::timestamp) - extract(epoch from '2026-07-29 03:45:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.361283 -2.800889)', '2026-07-29 03:46:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36117 -2.80088)'), GeomFromEWKT('SRID=4674;POINT (-40.361283 -2.800889)'))) / (select extract(epoch from '2026-07-29 03:46:05'::timestamp) - extract(epoch from '2026-07-29 03:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36117 -2.80088)'), GeomFromEWKT('SRID=4674;POINT (-40.361283 -2.800889)'))) / (select extract(epoch from '2026-07-29 03:46:05'::timestamp) - extract(epoch from '2026-07-29 03:45: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'), 47843, 'SRID=4674;POINT (-40.361398 -2.800889)', '2026-07-29 03:46:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361283 -2.800889)'), GeomFromEWKT('SRID=4674;POINT (-40.361398 -2.800889)'))) / (select extract(epoch from '2026-07-29 03:46:22'::timestamp) - extract(epoch from '2026-07-29 03:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361283 -2.800889)'), GeomFromEWKT('SRID=4674;POINT (-40.361398 -2.800889)'))) / (select extract(epoch from '2026-07-29 03:46:22'::timestamp) - extract(epoch from '2026-07-29 03:46:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.361511 -2.800887)', '2026-07-29 03:46:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361398 -2.800889)'), GeomFromEWKT('SRID=4674;POINT (-40.361511 -2.800887)'))) / (select extract(epoch from '2026-07-29 03:46:37'::timestamp) - extract(epoch from '2026-07-29 03:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361398 -2.800889)'), GeomFromEWKT('SRID=4674;POINT (-40.361511 -2.800887)'))) / (select extract(epoch from '2026-07-29 03:46:37'::timestamp) - extract(epoch from '2026-07-29 03:46: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'), 47843, 'SRID=4674;POINT (-40.361621 -2.800884)', '2026-07-29 03:46:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361511 -2.800887)'), GeomFromEWKT('SRID=4674;POINT (-40.361621 -2.800884)'))) / (select extract(epoch from '2026-07-29 03:46:52'::timestamp) - extract(epoch from '2026-07-29 03:46:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361511 -2.800887)'), GeomFromEWKT('SRID=4674;POINT (-40.361621 -2.800884)'))) / (select extract(epoch from '2026-07-29 03:46:52'::timestamp) - extract(epoch from '2026-07-29 03:46:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.361717 -2.800884)', '2026-07-29 03:47:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361621 -2.800884)'), GeomFromEWKT('SRID=4674;POINT (-40.361717 -2.800884)'))) / (select extract(epoch from '2026-07-29 03:47:06'::timestamp) - extract(epoch from '2026-07-29 03:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361621 -2.800884)'), GeomFromEWKT('SRID=4674;POINT (-40.361717 -2.800884)'))) / (select extract(epoch from '2026-07-29 03:47:06'::timestamp) - extract(epoch from '2026-07-29 03:46: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'), 47843, 'SRID=4674;POINT (-40.361827 -2.800899)', '2026-07-29 03:47:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361717 -2.800884)'), GeomFromEWKT('SRID=4674;POINT (-40.361827 -2.800899)'))) / (select extract(epoch from '2026-07-29 03:47:22'::timestamp) - extract(epoch from '2026-07-29 03:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361717 -2.800884)'), GeomFromEWKT('SRID=4674;POINT (-40.361827 -2.800899)'))) / (select extract(epoch from '2026-07-29 03:47:22'::timestamp) - extract(epoch from '2026-07-29 03:47: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'), 47843, 'SRID=4674;POINT (-40.361945 -2.800908)', '2026-07-29 03:47:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361827 -2.800899)'), GeomFromEWKT('SRID=4674;POINT (-40.361945 -2.800908)'))) / (select extract(epoch from '2026-07-29 03:47:36'::timestamp) - extract(epoch from '2026-07-29 03:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361827 -2.800899)'), GeomFromEWKT('SRID=4674;POINT (-40.361945 -2.800908)'))) / (select extract(epoch from '2026-07-29 03:47:36'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.362049 -2.800913)', '2026-07-29 03:47:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361945 -2.800908)'), GeomFromEWKT('SRID=4674;POINT (-40.362049 -2.800913)'))) / (select extract(epoch from '2026-07-29 03:47:49'::timestamp) - extract(epoch from '2026-07-29 03:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.361945 -2.800908)'), GeomFromEWKT('SRID=4674;POINT (-40.362049 -2.800913)'))) / (select extract(epoch from '2026-07-29 03:47:49'::timestamp) - extract(epoch from '2026-07-29 03:47: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'), 47843, 'SRID=4674;POINT (-40.362121 -2.800922)', '2026-07-29 03:47:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362049 -2.800913)'), GeomFromEWKT('SRID=4674;POINT (-40.362121 -2.800922)'))) / (select extract(epoch from '2026-07-29 03:47:59'::timestamp) - extract(epoch from '2026-07-29 03:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362049 -2.800913)'), GeomFromEWKT('SRID=4674;POINT (-40.362121 -2.800922)'))) / (select extract(epoch from '2026-07-29 03:47:59'::timestamp) - extract(epoch from '2026-07-29 03:47:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.362182 -2.800922)', '2026-07-29 03:48:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362121 -2.800922)'), GeomFromEWKT('SRID=4674;POINT (-40.362182 -2.800922)'))) / (select extract(epoch from '2026-07-29 03:48:08'::timestamp) - extract(epoch from '2026-07-29 03:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362121 -2.800922)'), GeomFromEWKT('SRID=4674;POINT (-40.362182 -2.800922)'))) / (select extract(epoch from '2026-07-29 03:48:08'::timestamp) - extract(epoch from '2026-07-29 03:47: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'), 47843, 'SRID=4674;POINT (-40.362253 -2.800914)', '2026-07-29 03:48:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362182 -2.800922)'), GeomFromEWKT('SRID=4674;POINT (-40.362253 -2.800914)'))) / (select extract(epoch from '2026-07-29 03:48:19'::timestamp) - extract(epoch from '2026-07-29 03:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362182 -2.800922)'), GeomFromEWKT('SRID=4674;POINT (-40.362253 -2.800914)'))) / (select extract(epoch from '2026-07-29 03:48:19'::timestamp) - extract(epoch from '2026-07-29 03:48:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.362354 -2.80091)', '2026-07-29 03:48:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362253 -2.800914)'), GeomFromEWKT('SRID=4674;POINT (-40.362354 -2.80091)'))) / (select extract(epoch from '2026-07-29 03:48:33'::timestamp) - extract(epoch from '2026-07-29 03:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362253 -2.800914)'), GeomFromEWKT('SRID=4674;POINT (-40.362354 -2.80091)'))) / (select extract(epoch from '2026-07-29 03:48:33'::timestamp) - extract(epoch from '2026-07-29 03:48: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'), 47843, 'SRID=4674;POINT (-40.362404 -2.800912)', '2026-07-29 03:48:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362354 -2.80091)'), GeomFromEWKT('SRID=4674;POINT (-40.362404 -2.800912)'))) / (select extract(epoch from '2026-07-29 03:48:41'::timestamp) - extract(epoch from '2026-07-29 03:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362354 -2.80091)'), GeomFromEWKT('SRID=4674;POINT (-40.362404 -2.800912)'))) / (select extract(epoch from '2026-07-29 03:48:41'::timestamp) - extract(epoch from '2026-07-29 03:48: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'), 47843, 'SRID=4674;POINT (-40.362493 -2.800906)', '2026-07-29 03:48:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362404 -2.800912)'), GeomFromEWKT('SRID=4674;POINT (-40.362493 -2.800906)'))) / (select extract(epoch from '2026-07-29 03:48:54'::timestamp) - extract(epoch from '2026-07-29 03:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362404 -2.800912)'), GeomFromEWKT('SRID=4674;POINT (-40.362493 -2.800906)'))) / (select extract(epoch from '2026-07-29 03:48:54'::timestamp) - extract(epoch from '2026-07-29 03:48: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'), 47843, 'SRID=4674;POINT (-40.362574 -2.800906)', '2026-07-29 03:49:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362493 -2.800906)'), GeomFromEWKT('SRID=4674;POINT (-40.362574 -2.800906)'))) / (select extract(epoch from '2026-07-29 03:49:05'::timestamp) - extract(epoch from '2026-07-29 03:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362493 -2.800906)'), GeomFromEWKT('SRID=4674;POINT (-40.362574 -2.800906)'))) / (select extract(epoch from '2026-07-29 03:49:05'::timestamp) - extract(epoch from '2026-07-29 03:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.362658 -2.800905)', '2026-07-29 03:49:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362574 -2.800906)'), GeomFromEWKT('SRID=4674;POINT (-40.362658 -2.800905)'))) / (select extract(epoch from '2026-07-29 03:49:16'::timestamp) - extract(epoch from '2026-07-29 03:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362574 -2.800906)'), GeomFromEWKT('SRID=4674;POINT (-40.362658 -2.800905)'))) / (select extract(epoch from '2026-07-29 03:49:16'::timestamp) - extract(epoch from '2026-07-29 03:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.362757 -2.800904)', '2026-07-29 03:49:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362658 -2.800905)'), GeomFromEWKT('SRID=4674;POINT (-40.362757 -2.800904)'))) / (select extract(epoch from '2026-07-29 03:49:29'::timestamp) - extract(epoch from '2026-07-29 03:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362658 -2.800905)'), GeomFromEWKT('SRID=4674;POINT (-40.362757 -2.800904)'))) / (select extract(epoch from '2026-07-29 03:49:29'::timestamp) - extract(epoch from '2026-07-29 03:49: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'), 47843, 'SRID=4674;POINT (-40.362853 -2.8009)', '2026-07-29 03:49:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362757 -2.800904)'), GeomFromEWKT('SRID=4674;POINT (-40.362853 -2.8009)'))) / (select extract(epoch from '2026-07-29 03:49:42'::timestamp) - extract(epoch from '2026-07-29 03:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362757 -2.800904)'), GeomFromEWKT('SRID=4674;POINT (-40.362853 -2.8009)'))) / (select extract(epoch from '2026-07-29 03:49:42'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.362946 -2.800897)', '2026-07-29 03:49:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362853 -2.8009)'), GeomFromEWKT('SRID=4674;POINT (-40.362946 -2.800897)'))) / (select extract(epoch from '2026-07-29 03:49:52'::timestamp) - extract(epoch from '2026-07-29 03:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362853 -2.8009)'), GeomFromEWKT('SRID=4674;POINT (-40.362946 -2.800897)'))) / (select extract(epoch from '2026-07-29 03:49:52'::timestamp) - extract(epoch from '2026-07-29 03:49: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'), 47843, 'SRID=4674;POINT (-40.363007 -2.800892)', '2026-07-29 03:50:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362946 -2.800897)'), GeomFromEWKT('SRID=4674;POINT (-40.363007 -2.800892)'))) / (select extract(epoch from '2026-07-29 03:50:00'::timestamp) - extract(epoch from '2026-07-29 03:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362946 -2.800897)'), GeomFromEWKT('SRID=4674;POINT (-40.363007 -2.800892)'))) / (select extract(epoch from '2026-07-29 03:50:00'::timestamp) - extract(epoch from '2026-07-29 03:49: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'), 47843, 'SRID=4674;POINT (-40.363072 -2.800896)', '2026-07-29 03:50:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363007 -2.800892)'), GeomFromEWKT('SRID=4674;POINT (-40.363072 -2.800896)'))) / (select extract(epoch from '2026-07-29 03:50:10'::timestamp) - extract(epoch from '2026-07-29 03:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363007 -2.800892)'), GeomFromEWKT('SRID=4674;POINT (-40.363072 -2.800896)'))) / (select extract(epoch from '2026-07-29 03:50:10'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.363175 -2.800902)', '2026-07-29 03:50:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363072 -2.800896)'), GeomFromEWKT('SRID=4674;POINT (-40.363175 -2.800902)'))) / (select extract(epoch from '2026-07-29 03:50:23'::timestamp) - extract(epoch from '2026-07-29 03:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363072 -2.800896)'), GeomFromEWKT('SRID=4674;POINT (-40.363175 -2.800902)'))) / (select extract(epoch from '2026-07-29 03:50:23'::timestamp) - extract(epoch from '2026-07-29 03:50: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'), 47843, 'SRID=4674;POINT (-40.363228 -2.800897)', '2026-07-29 03:50:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363175 -2.800902)'), GeomFromEWKT('SRID=4674;POINT (-40.363228 -2.800897)'))) / (select extract(epoch from '2026-07-29 03:50:30'::timestamp) - extract(epoch from '2026-07-29 03:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363175 -2.800902)'), GeomFromEWKT('SRID=4674;POINT (-40.363228 -2.800897)'))) / (select extract(epoch from '2026-07-29 03:50:30'::timestamp) - extract(epoch from '2026-07-29 03:50: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'), 47843, 'SRID=4674;POINT (-40.363309 -2.800898)', '2026-07-29 03:50:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363228 -2.800897)'), GeomFromEWKT('SRID=4674;POINT (-40.363309 -2.800898)'))) / (select extract(epoch from '2026-07-29 03:50:40'::timestamp) - extract(epoch from '2026-07-29 03:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363228 -2.800897)'), GeomFromEWKT('SRID=4674;POINT (-40.363309 -2.800898)'))) / (select extract(epoch from '2026-07-29 03:50:40'::timestamp) - extract(epoch from '2026-07-29 03:50: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'), 47843, 'SRID=4674;POINT (-40.363426 -2.800887)', '2026-07-29 03:50:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363309 -2.800898)'), GeomFromEWKT('SRID=4674;POINT (-40.363426 -2.800887)'))) / (select extract(epoch from '2026-07-29 03:50:57'::timestamp) - extract(epoch from '2026-07-29 03:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363309 -2.800898)'), GeomFromEWKT('SRID=4674;POINT (-40.363426 -2.800887)'))) / (select extract(epoch from '2026-07-29 03:50:57'::timestamp) - extract(epoch from '2026-07-29 03:50: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'), 47843, 'SRID=4674;POINT (-40.363523 -2.800884)', '2026-07-29 03:51:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363426 -2.800887)'), GeomFromEWKT('SRID=4674;POINT (-40.363523 -2.800884)'))) / (select extract(epoch from '2026-07-29 03:51:10'::timestamp) - extract(epoch from '2026-07-29 03:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363426 -2.800887)'), GeomFromEWKT('SRID=4674;POINT (-40.363523 -2.800884)'))) / (select extract(epoch from '2026-07-29 03:51:10'::timestamp) - extract(epoch from '2026-07-29 03:50: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'), 47843, 'SRID=4674;POINT (-40.363601 -2.80087)', '2026-07-29 03:51:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363523 -2.800884)'), GeomFromEWKT('SRID=4674;POINT (-40.363601 -2.80087)'))) / (select extract(epoch from '2026-07-29 03:51:23'::timestamp) - extract(epoch from '2026-07-29 03:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363523 -2.800884)'), GeomFromEWKT('SRID=4674;POINT (-40.363601 -2.80087)'))) / (select extract(epoch from '2026-07-29 03:51:23'::timestamp) - extract(epoch from '2026-07-29 03:51: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'), 47843, 'SRID=4674;POINT (-40.363679 -2.800862)', '2026-07-29 03:51:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363601 -2.80087)'), GeomFromEWKT('SRID=4674;POINT (-40.363679 -2.800862)'))) / (select extract(epoch from '2026-07-29 03:51:34'::timestamp) - extract(epoch from '2026-07-29 03:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363601 -2.80087)'), GeomFromEWKT('SRID=4674;POINT (-40.363679 -2.800862)'))) / (select extract(epoch from '2026-07-29 03:51:34'::timestamp) - extract(epoch from '2026-07-29 03:51: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'), 47843, 'SRID=4674;POINT (-40.363775 -2.800864)', '2026-07-29 03:51:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363679 -2.800862)'), GeomFromEWKT('SRID=4674;POINT (-40.363775 -2.800864)'))) / (select extract(epoch from '2026-07-29 03:51:46'::timestamp) - extract(epoch from '2026-07-29 03:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363679 -2.800862)'), GeomFromEWKT('SRID=4674;POINT (-40.363775 -2.800864)'))) / (select extract(epoch from '2026-07-29 03:51:46'::timestamp) - extract(epoch from '2026-07-29 03:51: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'), 47843, 'SRID=4674;POINT (-40.36379 -2.800867)', '2026-07-29 03:51:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363775 -2.800864)'), GeomFromEWKT('SRID=4674;POINT (-40.36379 -2.800867)'))) / (select extract(epoch from '2026-07-29 03:51:48'::timestamp) - extract(epoch from '2026-07-29 03:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363775 -2.800864)'), GeomFromEWKT('SRID=4674;POINT (-40.36379 -2.800867)'))) / (select extract(epoch from '2026-07-29 03:51:48'::timestamp) - extract(epoch from '2026-07-29 03:51: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'), 47843, 'SRID=4674;POINT (-40.363822 -2.800871)', '2026-07-29 03:51:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36379 -2.800867)'), GeomFromEWKT('SRID=4674;POINT (-40.363822 -2.800871)'))) / (select extract(epoch from '2026-07-29 03:51:52'::timestamp) - extract(epoch from '2026-07-29 03:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36379 -2.800867)'), GeomFromEWKT('SRID=4674;POINT (-40.363822 -2.800871)'))) / (select extract(epoch from '2026-07-29 03:51:52'::timestamp) - extract(epoch from '2026-07-29 03:51: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'), 47843, 'SRID=4674;POINT (-40.363917 -2.800846)', '2026-07-29 03:52:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363822 -2.800871)'), GeomFromEWKT('SRID=4674;POINT (-40.363917 -2.800846)'))) / (select extract(epoch from '2026-07-29 03:52:05'::timestamp) - extract(epoch from '2026-07-29 03:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363822 -2.800871)'), GeomFromEWKT('SRID=4674;POINT (-40.363917 -2.800846)'))) / (select extract(epoch from '2026-07-29 03:52:05'::timestamp) - extract(epoch from '2026-07-29 03:51: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'), 47843, 'SRID=4674;POINT (-40.364025 -2.80084)', '2026-07-29 03:52:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363917 -2.800846)'), GeomFromEWKT('SRID=4674;POINT (-40.364025 -2.80084)'))) / (select extract(epoch from '2026-07-29 03:52:18'::timestamp) - extract(epoch from '2026-07-29 03:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363917 -2.800846)'), GeomFromEWKT('SRID=4674;POINT (-40.364025 -2.80084)'))) / (select extract(epoch from '2026-07-29 03:52:18'::timestamp) - extract(epoch from '2026-07-29 03:52: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'), 47843, 'SRID=4674;POINT (-40.364163 -2.800837)', '2026-07-29 03:52:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364025 -2.80084)'), GeomFromEWKT('SRID=4674;POINT (-40.364163 -2.800837)'))) / (select extract(epoch from '2026-07-29 03:52:33'::timestamp) - extract(epoch from '2026-07-29 03:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364025 -2.80084)'), GeomFromEWKT('SRID=4674;POINT (-40.364163 -2.800837)'))) / (select extract(epoch from '2026-07-29 03:52:33'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.364171 -2.800834)', '2026-07-29 03:52:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364163 -2.800837)'), GeomFromEWKT('SRID=4674;POINT (-40.364171 -2.800834)'))) / (select extract(epoch from '2026-07-29 03:52:34'::timestamp) - extract(epoch from '2026-07-29 03:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364163 -2.800837)'), GeomFromEWKT('SRID=4674;POINT (-40.364171 -2.800834)'))) / (select extract(epoch from '2026-07-29 03:52:34'::timestamp) - extract(epoch from '2026-07-29 03:52:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.364203 -2.800827)', '2026-07-29 03:52:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364171 -2.800834)'), GeomFromEWKT('SRID=4674;POINT (-40.364203 -2.800827)'))) / (select extract(epoch from '2026-07-29 03:52:39'::timestamp) - extract(epoch from '2026-07-29 03:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364171 -2.800834)'), GeomFromEWKT('SRID=4674;POINT (-40.364203 -2.800827)'))) / (select extract(epoch from '2026-07-29 03:52:39'::timestamp) - extract(epoch from '2026-07-29 03:52:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.364293 -2.800822)', '2026-07-29 03:52:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364203 -2.800827)'), GeomFromEWKT('SRID=4674;POINT (-40.364293 -2.800822)'))) / (select extract(epoch from '2026-07-29 03:52:51'::timestamp) - extract(epoch from '2026-07-29 03:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364203 -2.800827)'), GeomFromEWKT('SRID=4674;POINT (-40.364293 -2.800822)'))) / (select extract(epoch from '2026-07-29 03:52:51'::timestamp) - extract(epoch from '2026-07-29 03:52: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'), 47843, 'SRID=4674;POINT (-40.36436 -2.800823)', '2026-07-29 03:53:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364293 -2.800822)'), GeomFromEWKT('SRID=4674;POINT (-40.36436 -2.800823)'))) / (select extract(epoch from '2026-07-29 03:53:01'::timestamp) - extract(epoch from '2026-07-29 03:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364293 -2.800822)'), GeomFromEWKT('SRID=4674;POINT (-40.36436 -2.800823)'))) / (select extract(epoch from '2026-07-29 03:53:01'::timestamp) - extract(epoch from '2026-07-29 03:52: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'), 47843, 'SRID=4674;POINT (-40.364443 -2.800808)', '2026-07-29 03:53:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36436 -2.800823)'), GeomFromEWKT('SRID=4674;POINT (-40.364443 -2.800808)'))) / (select extract(epoch from '2026-07-29 03:53:15'::timestamp) - extract(epoch from '2026-07-29 03:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36436 -2.800823)'), GeomFromEWKT('SRID=4674;POINT (-40.364443 -2.800808)'))) / (select extract(epoch from '2026-07-29 03:53:15'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.364524 -2.800799)', '2026-07-29 03:53:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364443 -2.800808)'), GeomFromEWKT('SRID=4674;POINT (-40.364524 -2.800799)'))) / (select extract(epoch from '2026-07-29 03:53:29'::timestamp) - extract(epoch from '2026-07-29 03:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364443 -2.800808)'), GeomFromEWKT('SRID=4674;POINT (-40.364524 -2.800799)'))) / (select extract(epoch from '2026-07-29 03:53:29'::timestamp) - extract(epoch from '2026-07-29 03:53:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.364628 -2.800766)', '2026-07-29 03:53:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364524 -2.800799)'), GeomFromEWKT('SRID=4674;POINT (-40.364628 -2.800766)'))) / (select extract(epoch from '2026-07-29 03:53:45'::timestamp) - extract(epoch from '2026-07-29 03:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364524 -2.800799)'), GeomFromEWKT('SRID=4674;POINT (-40.364628 -2.800766)'))) / (select extract(epoch from '2026-07-29 03:53:45'::timestamp) - extract(epoch from '2026-07-29 03:53: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'), 47843, 'SRID=4674;POINT (-40.364702 -2.800759)', '2026-07-29 03:53:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364628 -2.800766)'), GeomFromEWKT('SRID=4674;POINT (-40.364702 -2.800759)'))) / (select extract(epoch from '2026-07-29 03:53:57'::timestamp) - extract(epoch from '2026-07-29 03:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364628 -2.800766)'), GeomFromEWKT('SRID=4674;POINT (-40.364702 -2.800759)'))) / (select extract(epoch from '2026-07-29 03:53:57'::timestamp) - extract(epoch from '2026-07-29 03:53: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'), 47843, 'SRID=4674;POINT (-40.364792 -2.800751)', '2026-07-29 03:54:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364702 -2.800759)'), GeomFromEWKT('SRID=4674;POINT (-40.364792 -2.800751)'))) / (select extract(epoch from '2026-07-29 03:54:09'::timestamp) - extract(epoch from '2026-07-29 03:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364702 -2.800759)'), GeomFromEWKT('SRID=4674;POINT (-40.364792 -2.800751)'))) / (select extract(epoch from '2026-07-29 03:54:09'::timestamp) - extract(epoch from '2026-07-29 03:53:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.364841 -2.800739)', '2026-07-29 03:54:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364792 -2.800751)'), GeomFromEWKT('SRID=4674;POINT (-40.364841 -2.800739)'))) / (select extract(epoch from '2026-07-29 03:54:16'::timestamp) - extract(epoch from '2026-07-29 03:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364792 -2.800751)'), GeomFromEWKT('SRID=4674;POINT (-40.364841 -2.800739)'))) / (select extract(epoch from '2026-07-29 03:54:16'::timestamp) - extract(epoch from '2026-07-29 03:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.364855 -2.800737)', '2026-07-29 03:54:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364841 -2.800739)'), GeomFromEWKT('SRID=4674;POINT (-40.364855 -2.800737)'))) / (select extract(epoch from '2026-07-29 03:54:19'::timestamp) - extract(epoch from '2026-07-29 03:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364841 -2.800739)'), GeomFromEWKT('SRID=4674;POINT (-40.364855 -2.800737)'))) / (select extract(epoch from '2026-07-29 03:54:19'::timestamp) - extract(epoch from '2026-07-29 03:54:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.364947 -2.800736)', '2026-07-29 03:54:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364855 -2.800737)'), GeomFromEWKT('SRID=4674;POINT (-40.364947 -2.800736)'))) / (select extract(epoch from '2026-07-29 03:54:31'::timestamp) - extract(epoch from '2026-07-29 03:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364855 -2.800737)'), GeomFromEWKT('SRID=4674;POINT (-40.364947 -2.800736)'))) / (select extract(epoch from '2026-07-29 03:54:31'::timestamp) - extract(epoch from '2026-07-29 03:54: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'), 47843, 'SRID=4674;POINT (-40.365067 -2.80074)', '2026-07-29 03:54:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364947 -2.800736)'), GeomFromEWKT('SRID=4674;POINT (-40.365067 -2.80074)'))) / (select extract(epoch from '2026-07-29 03:54:46'::timestamp) - extract(epoch from '2026-07-29 03:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364947 -2.800736)'), GeomFromEWKT('SRID=4674;POINT (-40.365067 -2.80074)'))) / (select extract(epoch from '2026-07-29 03:54:46'::timestamp) - extract(epoch from '2026-07-29 03:54: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'), 47843, 'SRID=4674;POINT (-40.365118 -2.800744)', '2026-07-29 03:54:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365067 -2.80074)'), GeomFromEWKT('SRID=4674;POINT (-40.365118 -2.800744)'))) / (select extract(epoch from '2026-07-29 03:54:56'::timestamp) - extract(epoch from '2026-07-29 03:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365067 -2.80074)'), GeomFromEWKT('SRID=4674;POINT (-40.365118 -2.800744)'))) / (select extract(epoch from '2026-07-29 03:54:56'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.365136 -2.800739)', '2026-07-29 03:55:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365118 -2.800744)'), GeomFromEWKT('SRID=4674;POINT (-40.365136 -2.800739)'))) / (select extract(epoch from '2026-07-29 03:55:12'::timestamp) - extract(epoch from '2026-07-29 03:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365118 -2.800744)'), GeomFromEWKT('SRID=4674;POINT (-40.365136 -2.800739)'))) / (select extract(epoch from '2026-07-29 03:55:12'::timestamp) - extract(epoch from '2026-07-29 03:54:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.365174 -2.800729)', '2026-07-29 03:55:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365136 -2.800739)'), GeomFromEWKT('SRID=4674;POINT (-40.365174 -2.800729)'))) / (select extract(epoch from '2026-07-29 03:55:29'::timestamp) - extract(epoch from '2026-07-29 03:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365136 -2.800739)'), GeomFromEWKT('SRID=4674;POINT (-40.365174 -2.800729)'))) / (select extract(epoch from '2026-07-29 03:55:29'::timestamp) - extract(epoch from '2026-07-29 03:55: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'), 47843, 'SRID=4674;POINT (-40.365223 -2.800726)', '2026-07-29 03:55:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365174 -2.800729)'), GeomFromEWKT('SRID=4674;POINT (-40.365223 -2.800726)'))) / (select extract(epoch from '2026-07-29 03:55:42'::timestamp) - extract(epoch from '2026-07-29 03:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365174 -2.800729)'), GeomFromEWKT('SRID=4674;POINT (-40.365223 -2.800726)'))) / (select extract(epoch from '2026-07-29 03:55:42'::timestamp) - extract(epoch from '2026-07-29 03:55: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'), 47843, 'SRID=4674;POINT (-40.365291 -2.800717)', '2026-07-29 03:55:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365223 -2.800726)'), GeomFromEWKT('SRID=4674;POINT (-40.365291 -2.800717)'))) / (select extract(epoch from '2026-07-29 03:55:55'::timestamp) - extract(epoch from '2026-07-29 03:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365223 -2.800726)'), GeomFromEWKT('SRID=4674;POINT (-40.365291 -2.800717)'))) / (select extract(epoch from '2026-07-29 03:55:55'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.365372 -2.800704)', '2026-07-29 03:56:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365291 -2.800717)'), GeomFromEWKT('SRID=4674;POINT (-40.365372 -2.800704)'))) / (select extract(epoch from '2026-07-29 03:56:09'::timestamp) - extract(epoch from '2026-07-29 03:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365291 -2.800717)'), GeomFromEWKT('SRID=4674;POINT (-40.365372 -2.800704)'))) / (select extract(epoch from '2026-07-29 03:56:09'::timestamp) - extract(epoch from '2026-07-29 03:55: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'), 47843, 'SRID=4674;POINT (-40.365455 -2.800716)', '2026-07-29 03:56:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365372 -2.800704)'), GeomFromEWKT('SRID=4674;POINT (-40.365455 -2.800716)'))) / (select extract(epoch from '2026-07-29 03:56:22'::timestamp) - extract(epoch from '2026-07-29 03:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365372 -2.800704)'), GeomFromEWKT('SRID=4674;POINT (-40.365455 -2.800716)'))) / (select extract(epoch from '2026-07-29 03:56:22'::timestamp) - extract(epoch from '2026-07-29 03:56:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.365497 -2.800713)', '2026-07-29 03:56:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365455 -2.800716)'), GeomFromEWKT('SRID=4674;POINT (-40.365497 -2.800713)'))) / (select extract(epoch from '2026-07-29 03:56:29'::timestamp) - extract(epoch from '2026-07-29 03:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365455 -2.800716)'), GeomFromEWKT('SRID=4674;POINT (-40.365497 -2.800713)'))) / (select extract(epoch from '2026-07-29 03:56:29'::timestamp) - extract(epoch from '2026-07-29 03:56: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'), 47843, 'SRID=4674;POINT (-40.365548 -2.800705)', '2026-07-29 03:56:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365497 -2.800713)'), GeomFromEWKT('SRID=4674;POINT (-40.365548 -2.800705)'))) / (select extract(epoch from '2026-07-29 03:56:39'::timestamp) - extract(epoch from '2026-07-29 03:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365497 -2.800713)'), GeomFromEWKT('SRID=4674;POINT (-40.365548 -2.800705)'))) / (select extract(epoch from '2026-07-29 03:56:39'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.365617 -2.800707)', '2026-07-29 03:56:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365548 -2.800705)'), GeomFromEWKT('SRID=4674;POINT (-40.365617 -2.800707)'))) / (select extract(epoch from '2026-07-29 03:56:50'::timestamp) - extract(epoch from '2026-07-29 03:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365548 -2.800705)'), GeomFromEWKT('SRID=4674;POINT (-40.365617 -2.800707)'))) / (select extract(epoch from '2026-07-29 03:56:50'::timestamp) - extract(epoch from '2026-07-29 03:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.365696 -2.800702)', '2026-07-29 03:57:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365617 -2.800707)'), GeomFromEWKT('SRID=4674;POINT (-40.365696 -2.800702)'))) / (select extract(epoch from '2026-07-29 03:57:05'::timestamp) - extract(epoch from '2026-07-29 03:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365617 -2.800707)'), GeomFromEWKT('SRID=4674;POINT (-40.365696 -2.800702)'))) / (select extract(epoch from '2026-07-29 03:57:05'::timestamp) - extract(epoch from '2026-07-29 03:56: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'), 47843, 'SRID=4674;POINT (-40.365764 -2.800682)', '2026-07-29 03:57:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365696 -2.800702)'), GeomFromEWKT('SRID=4674;POINT (-40.365764 -2.800682)'))) / (select extract(epoch from '2026-07-29 03:57:18'::timestamp) - extract(epoch from '2026-07-29 03:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365696 -2.800702)'), GeomFromEWKT('SRID=4674;POINT (-40.365764 -2.800682)'))) / (select extract(epoch from '2026-07-29 03:57:18'::timestamp) - extract(epoch from '2026-07-29 03:57: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'), 47843, 'SRID=4674;POINT (-40.36585 -2.800675)', '2026-07-29 03:57:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365764 -2.800682)'), GeomFromEWKT('SRID=4674;POINT (-40.36585 -2.800675)'))) / (select extract(epoch from '2026-07-29 03:57:32'::timestamp) - extract(epoch from '2026-07-29 03:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365764 -2.800682)'), GeomFromEWKT('SRID=4674;POINT (-40.36585 -2.800675)'))) / (select extract(epoch from '2026-07-29 03:57:32'::timestamp) - extract(epoch from '2026-07-29 03:57: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'), 47843, 'SRID=4674;POINT (-40.365941 -2.800666)', '2026-07-29 03:57:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36585 -2.800675)'), GeomFromEWKT('SRID=4674;POINT (-40.365941 -2.800666)'))) / (select extract(epoch from '2026-07-29 03:57:45'::timestamp) - extract(epoch from '2026-07-29 03:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36585 -2.800675)'), GeomFromEWKT('SRID=4674;POINT (-40.365941 -2.800666)'))) / (select extract(epoch from '2026-07-29 03:57:45'::timestamp) - extract(epoch from '2026-07-29 03:57: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'), 47843, 'SRID=4674;POINT (-40.366021 -2.80065)', '2026-07-29 03:57:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365941 -2.800666)'), GeomFromEWKT('SRID=4674;POINT (-40.366021 -2.80065)'))) / (select extract(epoch from '2026-07-29 03:57:55'::timestamp) - extract(epoch from '2026-07-29 03:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365941 -2.800666)'), GeomFromEWKT('SRID=4674;POINT (-40.366021 -2.80065)'))) / (select extract(epoch from '2026-07-29 03:57:55'::timestamp) - extract(epoch from '2026-07-29 03:57: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'), 47843, 'SRID=4674;POINT (-40.366119 -2.800647)', '2026-07-29 03:58:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366021 -2.80065)'), GeomFromEWKT('SRID=4674;POINT (-40.366119 -2.800647)'))) / (select extract(epoch from '2026-07-29 03:58:09'::timestamp) - extract(epoch from '2026-07-29 03:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366021 -2.80065)'), GeomFromEWKT('SRID=4674;POINT (-40.366119 -2.800647)'))) / (select extract(epoch from '2026-07-29 03:58:09'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.366153 -2.800643)', '2026-07-29 03:58:23', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366119 -2.800647)'), GeomFromEWKT('SRID=4674;POINT (-40.366153 -2.800643)'))) / (select extract(epoch from '2026-07-29 03:58:23'::timestamp) - extract(epoch from '2026-07-29 03:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366119 -2.800647)'), GeomFromEWKT('SRID=4674;POINT (-40.366153 -2.800643)'))) / (select extract(epoch from '2026-07-29 03:58:23'::timestamp) - extract(epoch from '2026-07-29 03:58:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.366196 -2.800642)', '2026-07-29 03:58:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366153 -2.800643)'), GeomFromEWKT('SRID=4674;POINT (-40.366196 -2.800642)'))) / (select extract(epoch from '2026-07-29 03:58:34'::timestamp) - extract(epoch from '2026-07-29 03:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366153 -2.800643)'), GeomFromEWKT('SRID=4674;POINT (-40.366196 -2.800642)'))) / (select extract(epoch from '2026-07-29 03:58:34'::timestamp) - extract(epoch from '2026-07-29 03:58: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'), 47843, 'SRID=4674;POINT (-40.366266 -2.800643)', '2026-07-29 03:58:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366196 -2.800642)'), GeomFromEWKT('SRID=4674;POINT (-40.366266 -2.800643)'))) / (select extract(epoch from '2026-07-29 03:58:46'::timestamp) - extract(epoch from '2026-07-29 03:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366196 -2.800642)'), GeomFromEWKT('SRID=4674;POINT (-40.366266 -2.800643)'))) / (select extract(epoch from '2026-07-29 03:58:46'::timestamp) - extract(epoch from '2026-07-29 03:58: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'), 47843, 'SRID=4674;POINT (-40.366325 -2.800627)', '2026-07-29 03:58:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366266 -2.800643)'), GeomFromEWKT('SRID=4674;POINT (-40.366325 -2.800627)'))) / (select extract(epoch from '2026-07-29 03:58:59'::timestamp) - extract(epoch from '2026-07-29 03:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366266 -2.800643)'), GeomFromEWKT('SRID=4674;POINT (-40.366325 -2.800627)'))) / (select extract(epoch from '2026-07-29 03:58:59'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.366411 -2.800612)', '2026-07-29 03:59:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366325 -2.800627)'), GeomFromEWKT('SRID=4674;POINT (-40.366411 -2.800612)'))) / (select extract(epoch from '2026-07-29 03:59:13'::timestamp) - extract(epoch from '2026-07-29 03:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366325 -2.800627)'), GeomFromEWKT('SRID=4674;POINT (-40.366411 -2.800612)'))) / (select extract(epoch from '2026-07-29 03:59:13'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.366463 -2.800607)', '2026-07-29 03:59:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366411 -2.800612)'), GeomFromEWKT('SRID=4674;POINT (-40.366463 -2.800607)'))) / (select extract(epoch from '2026-07-29 03:59:22'::timestamp) - extract(epoch from '2026-07-29 03:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366411 -2.800612)'), GeomFromEWKT('SRID=4674;POINT (-40.366463 -2.800607)'))) / (select extract(epoch from '2026-07-29 03:59:22'::timestamp) - extract(epoch from '2026-07-29 03:59: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'), 47843, 'SRID=4674;POINT (-40.366528 -2.800591)', '2026-07-29 03:59:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366463 -2.800607)'), GeomFromEWKT('SRID=4674;POINT (-40.366528 -2.800591)'))) / (select extract(epoch from '2026-07-29 03:59:34'::timestamp) - extract(epoch from '2026-07-29 03:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366463 -2.800607)'), GeomFromEWKT('SRID=4674;POINT (-40.366528 -2.800591)'))) / (select extract(epoch from '2026-07-29 03:59:34'::timestamp) - extract(epoch from '2026-07-29 03:59: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'), 47843, 'SRID=4674;POINT (-40.366582 -2.800582)', '2026-07-29 03:59:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366528 -2.800591)'), GeomFromEWKT('SRID=4674;POINT (-40.366582 -2.800582)'))) / (select extract(epoch from '2026-07-29 03:59:44'::timestamp) - extract(epoch from '2026-07-29 03:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366528 -2.800591)'), GeomFromEWKT('SRID=4674;POINT (-40.366582 -2.800582)'))) / (select extract(epoch from '2026-07-29 03:59:44'::timestamp) - extract(epoch from '2026-07-29 03:59: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'), 47843, 'SRID=4674;POINT (-40.36667 -2.800576)', '2026-07-29 03:59:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366582 -2.800582)'), GeomFromEWKT('SRID=4674;POINT (-40.36667 -2.800576)'))) / (select extract(epoch from '2026-07-29 03:59:56'::timestamp) - extract(epoch from '2026-07-29 03:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366582 -2.800582)'), GeomFromEWKT('SRID=4674;POINT (-40.36667 -2.800576)'))) / (select extract(epoch from '2026-07-29 03:59:56'::timestamp) - extract(epoch from '2026-07-29 03: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'), 47843, 'SRID=4674;POINT (-40.366752 -2.800568)', '2026-07-29 04:00:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36667 -2.800576)'), GeomFromEWKT('SRID=4674;POINT (-40.366752 -2.800568)'))) / (select extract(epoch from '2026-07-29 04:00:09'::timestamp) - extract(epoch from '2026-07-29 03:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36667 -2.800576)'), GeomFromEWKT('SRID=4674;POINT (-40.366752 -2.800568)'))) / (select extract(epoch from '2026-07-29 04:00:09'::timestamp) - extract(epoch from '2026-07-29 03:59: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'), 47843, 'SRID=4674;POINT (-40.366799 -2.800566)', '2026-07-29 04:00:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366752 -2.800568)'), GeomFromEWKT('SRID=4674;POINT (-40.366799 -2.800566)'))) / (select extract(epoch from '2026-07-29 04:00:18'::timestamp) - extract(epoch from '2026-07-29 04:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366752 -2.800568)'), GeomFromEWKT('SRID=4674;POINT (-40.366799 -2.800566)'))) / (select extract(epoch from '2026-07-29 04:00:18'::timestamp) - extract(epoch from '2026-07-29 04:00:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.366848 -2.800545)', '2026-07-29 04:00:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366799 -2.800566)'), GeomFromEWKT('SRID=4674;POINT (-40.366848 -2.800545)'))) / (select extract(epoch from '2026-07-29 04:00:27'::timestamp) - extract(epoch from '2026-07-29 04:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366799 -2.800566)'), GeomFromEWKT('SRID=4674;POINT (-40.366848 -2.800545)'))) / (select extract(epoch from '2026-07-29 04:00:27'::timestamp) - extract(epoch from '2026-07-29 04:00:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.366902 -2.800533)', '2026-07-29 04:00:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366848 -2.800545)'), GeomFromEWKT('SRID=4674;POINT (-40.366902 -2.800533)'))) / (select extract(epoch from '2026-07-29 04:00:37'::timestamp) - extract(epoch from '2026-07-29 04:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366848 -2.800545)'), GeomFromEWKT('SRID=4674;POINT (-40.366902 -2.800533)'))) / (select extract(epoch from '2026-07-29 04:00:37'::timestamp) - extract(epoch from '2026-07-29 04:00:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.366957 -2.800525)', '2026-07-29 04:00:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366902 -2.800533)'), GeomFromEWKT('SRID=4674;POINT (-40.366957 -2.800525)'))) / (select extract(epoch from '2026-07-29 04:00:46'::timestamp) - extract(epoch from '2026-07-29 04:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366902 -2.800533)'), GeomFromEWKT('SRID=4674;POINT (-40.366957 -2.800525)'))) / (select extract(epoch from '2026-07-29 04:00:46'::timestamp) - extract(epoch from '2026-07-29 04:00: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'), 47843, 'SRID=4674;POINT (-40.367027 -2.800516)', '2026-07-29 04:00:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366957 -2.800525)'), GeomFromEWKT('SRID=4674;POINT (-40.367027 -2.800516)'))) / (select extract(epoch from '2026-07-29 04:00:57'::timestamp) - extract(epoch from '2026-07-29 04:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366957 -2.800525)'), GeomFromEWKT('SRID=4674;POINT (-40.367027 -2.800516)'))) / (select extract(epoch from '2026-07-29 04:00:57'::timestamp) - extract(epoch from '2026-07-29 04:00:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.367104 -2.800509)', '2026-07-29 04:01:10', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367027 -2.800516)'), GeomFromEWKT('SRID=4674;POINT (-40.367104 -2.800509)'))) / (select extract(epoch from '2026-07-29 04:01:10'::timestamp) - extract(epoch from '2026-07-29 04:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367027 -2.800516)'), GeomFromEWKT('SRID=4674;POINT (-40.367104 -2.800509)'))) / (select extract(epoch from '2026-07-29 04:01:10'::timestamp) - extract(epoch from '2026-07-29 04:00: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'), 47843, 'SRID=4674;POINT (-40.36719 -2.800512)', '2026-07-29 04:01:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367104 -2.800509)'), GeomFromEWKT('SRID=4674;POINT (-40.36719 -2.800512)'))) / (select extract(epoch from '2026-07-29 04:01:23'::timestamp) - extract(epoch from '2026-07-29 04:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367104 -2.800509)'), GeomFromEWKT('SRID=4674;POINT (-40.36719 -2.800512)'))) / (select extract(epoch from '2026-07-29 04:01:23'::timestamp) - extract(epoch from '2026-07-29 04:01: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'), 47843, 'SRID=4674;POINT (-40.367282 -2.800495)', '2026-07-29 04:01:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36719 -2.800512)'), GeomFromEWKT('SRID=4674;POINT (-40.367282 -2.800495)'))) / (select extract(epoch from '2026-07-29 04:01:37'::timestamp) - extract(epoch from '2026-07-29 04:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36719 -2.800512)'), GeomFromEWKT('SRID=4674;POINT (-40.367282 -2.800495)'))) / (select extract(epoch from '2026-07-29 04:01:37'::timestamp) - extract(epoch from '2026-07-29 04:01:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.367424 -2.800493)', '2026-07-29 04:01:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367282 -2.800495)'), GeomFromEWKT('SRID=4674;POINT (-40.367424 -2.800493)'))) / (select extract(epoch from '2026-07-29 04:01:56'::timestamp) - extract(epoch from '2026-07-29 04:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367282 -2.800495)'), GeomFromEWKT('SRID=4674;POINT (-40.367424 -2.800493)'))) / (select extract(epoch from '2026-07-29 04:01:56'::timestamp) - extract(epoch from '2026-07-29 04:01: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'), 47843, 'SRID=4674;POINT (-40.367483 -2.800488)', '2026-07-29 04:02:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367424 -2.800493)'), GeomFromEWKT('SRID=4674;POINT (-40.367483 -2.800488)'))) / (select extract(epoch from '2026-07-29 04:02:05'::timestamp) - extract(epoch from '2026-07-29 04:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367424 -2.800493)'), GeomFromEWKT('SRID=4674;POINT (-40.367483 -2.800488)'))) / (select extract(epoch from '2026-07-29 04:02:05'::timestamp) - extract(epoch from '2026-07-29 04:01:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.367561 -2.800486)', '2026-07-29 04:02:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367483 -2.800488)'), GeomFromEWKT('SRID=4674;POINT (-40.367561 -2.800486)'))) / (select extract(epoch from '2026-07-29 04:02:16'::timestamp) - extract(epoch from '2026-07-29 04:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367483 -2.800488)'), GeomFromEWKT('SRID=4674;POINT (-40.367561 -2.800486)'))) / (select extract(epoch from '2026-07-29 04:02:16'::timestamp) - extract(epoch from '2026-07-29 04:02: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'), 47843, 'SRID=4674;POINT (-40.367628 -2.800481)', '2026-07-29 04:02:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367561 -2.800486)'), GeomFromEWKT('SRID=4674;POINT (-40.367628 -2.800481)'))) / (select extract(epoch from '2026-07-29 04:02:26'::timestamp) - extract(epoch from '2026-07-29 04:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367561 -2.800486)'), GeomFromEWKT('SRID=4674;POINT (-40.367628 -2.800481)'))) / (select extract(epoch from '2026-07-29 04:02:26'::timestamp) - extract(epoch from '2026-07-29 04:02: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'), 47843, 'SRID=4674;POINT (-40.367687 -2.800459)', '2026-07-29 04:02:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367628 -2.800481)'), GeomFromEWKT('SRID=4674;POINT (-40.367687 -2.800459)'))) / (select extract(epoch from '2026-07-29 04:02:35'::timestamp) - extract(epoch from '2026-07-29 04:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367628 -2.800481)'), GeomFromEWKT('SRID=4674;POINT (-40.367687 -2.800459)'))) / (select extract(epoch from '2026-07-29 04:02:35'::timestamp) - extract(epoch from '2026-07-29 04:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.367769 -2.800439)', '2026-07-29 04:02:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367687 -2.800459)'), GeomFromEWKT('SRID=4674;POINT (-40.367769 -2.800439)'))) / (select extract(epoch from '2026-07-29 04:02:48'::timestamp) - extract(epoch from '2026-07-29 04:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367687 -2.800459)'), GeomFromEWKT('SRID=4674;POINT (-40.367769 -2.800439)'))) / (select extract(epoch from '2026-07-29 04:02:48'::timestamp) - extract(epoch from '2026-07-29 04:02: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'), 47843, 'SRID=4674;POINT (-40.367852 -2.80042)', '2026-07-29 04:02:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367769 -2.800439)'), GeomFromEWKT('SRID=4674;POINT (-40.367852 -2.80042)'))) / (select extract(epoch from '2026-07-29 04:02:59'::timestamp) - extract(epoch from '2026-07-29 04:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367769 -2.800439)'), GeomFromEWKT('SRID=4674;POINT (-40.367852 -2.80042)'))) / (select extract(epoch from '2026-07-29 04:02:59'::timestamp) - extract(epoch from '2026-07-29 04:02:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.367954 -2.800423)', '2026-07-29 04:03:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367852 -2.80042)'), GeomFromEWKT('SRID=4674;POINT (-40.367954 -2.800423)'))) / (select extract(epoch from '2026-07-29 04:03:11'::timestamp) - extract(epoch from '2026-07-29 04:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367852 -2.80042)'), GeomFromEWKT('SRID=4674;POINT (-40.367954 -2.800423)'))) / (select extract(epoch from '2026-07-29 04:03:11'::timestamp) - extract(epoch from '2026-07-29 04:02: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'), 47843, 'SRID=4674;POINT (-40.368061 -2.800422)', '2026-07-29 04:03:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367954 -2.800423)'), GeomFromEWKT('SRID=4674;POINT (-40.368061 -2.800422)'))) / (select extract(epoch from '2026-07-29 04:03:27'::timestamp) - extract(epoch from '2026-07-29 04:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367954 -2.800423)'), GeomFromEWKT('SRID=4674;POINT (-40.368061 -2.800422)'))) / (select extract(epoch from '2026-07-29 04:03:27'::timestamp) - extract(epoch from '2026-07-29 04:03:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.368173 -2.800403)', '2026-07-29 04:03:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368061 -2.800422)'), GeomFromEWKT('SRID=4674;POINT (-40.368173 -2.800403)'))) / (select extract(epoch from '2026-07-29 04:03:43'::timestamp) - extract(epoch from '2026-07-29 04:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368061 -2.800422)'), GeomFromEWKT('SRID=4674;POINT (-40.368173 -2.800403)'))) / (select extract(epoch from '2026-07-29 04:03:43'::timestamp) - extract(epoch from '2026-07-29 04:03:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.36829 -2.800409)', '2026-07-29 04:03:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368173 -2.800403)'), GeomFromEWKT('SRID=4674;POINT (-40.36829 -2.800409)'))) / (select extract(epoch from '2026-07-29 04:03:57'::timestamp) - extract(epoch from '2026-07-29 04:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368173 -2.800403)'), GeomFromEWKT('SRID=4674;POINT (-40.36829 -2.800409)'))) / (select extract(epoch from '2026-07-29 04:03:57'::timestamp) - extract(epoch from '2026-07-29 04:03: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'), 47843, 'SRID=4674;POINT (-40.368368 -2.800399)', '2026-07-29 04:04:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36829 -2.800409)'), GeomFromEWKT('SRID=4674;POINT (-40.368368 -2.800399)'))) / (select extract(epoch from '2026-07-29 04:04:09'::timestamp) - extract(epoch from '2026-07-29 04:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36829 -2.800409)'), GeomFromEWKT('SRID=4674;POINT (-40.368368 -2.800399)'))) / (select extract(epoch from '2026-07-29 04:04:09'::timestamp) - extract(epoch from '2026-07-29 04:03: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'), 47843, 'SRID=4674;POINT (-40.36846 -2.800394)', '2026-07-29 04:04:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368368 -2.800399)'), GeomFromEWKT('SRID=4674;POINT (-40.36846 -2.800394)'))) / (select extract(epoch from '2026-07-29 04:04:23'::timestamp) - extract(epoch from '2026-07-29 04:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368368 -2.800399)'), GeomFromEWKT('SRID=4674;POINT (-40.36846 -2.800394)'))) / (select extract(epoch from '2026-07-29 04:04:23'::timestamp) - extract(epoch from '2026-07-29 04:04:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.368552 -2.800393)', '2026-07-29 04:04:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36846 -2.800394)'), GeomFromEWKT('SRID=4674;POINT (-40.368552 -2.800393)'))) / (select extract(epoch from '2026-07-29 04:04:36'::timestamp) - extract(epoch from '2026-07-29 04:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36846 -2.800394)'), GeomFromEWKT('SRID=4674;POINT (-40.368552 -2.800393)'))) / (select extract(epoch from '2026-07-29 04:04:36'::timestamp) - extract(epoch from '2026-07-29 04:04:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.368651 -2.800401)', '2026-07-29 04:04:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368552 -2.800393)'), GeomFromEWKT('SRID=4674;POINT (-40.368651 -2.800401)'))) / (select extract(epoch from '2026-07-29 04:04:49'::timestamp) - extract(epoch from '2026-07-29 04:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368552 -2.800393)'), GeomFromEWKT('SRID=4674;POINT (-40.368651 -2.800401)'))) / (select extract(epoch from '2026-07-29 04:04:49'::timestamp) - extract(epoch from '2026-07-29 04:04:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.368744 -2.800396)', '2026-07-29 04:05:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368651 -2.800401)'), GeomFromEWKT('SRID=4674;POINT (-40.368744 -2.800396)'))) / (select extract(epoch from '2026-07-29 04:05:03'::timestamp) - extract(epoch from '2026-07-29 04:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368651 -2.800401)'), GeomFromEWKT('SRID=4674;POINT (-40.368744 -2.800396)'))) / (select extract(epoch from '2026-07-29 04:05:03'::timestamp) - extract(epoch from '2026-07-29 04:04: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'), 47843, 'SRID=4674;POINT (-40.36881 -2.800402)', '2026-07-29 04:05:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368744 -2.800396)'), GeomFromEWKT('SRID=4674;POINT (-40.36881 -2.800402)'))) / (select extract(epoch from '2026-07-29 04:05:12'::timestamp) - extract(epoch from '2026-07-29 04:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368744 -2.800396)'), GeomFromEWKT('SRID=4674;POINT (-40.36881 -2.800402)'))) / (select extract(epoch from '2026-07-29 04:05:12'::timestamp) - extract(epoch from '2026-07-29 04:05:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.368907 -2.800389)', '2026-07-29 04:05:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36881 -2.800402)'), GeomFromEWKT('SRID=4674;POINT (-40.368907 -2.800389)'))) / (select extract(epoch from '2026-07-29 04:05:25'::timestamp) - extract(epoch from '2026-07-29 04:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36881 -2.800402)'), GeomFromEWKT('SRID=4674;POINT (-40.368907 -2.800389)'))) / (select extract(epoch from '2026-07-29 04:05:25'::timestamp) - extract(epoch from '2026-07-29 04:05:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.368977 -2.800386)', '2026-07-29 04:05:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368907 -2.800389)'), GeomFromEWKT('SRID=4674;POINT (-40.368977 -2.800386)'))) / (select extract(epoch from '2026-07-29 04:05:37'::timestamp) - extract(epoch from '2026-07-29 04:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368907 -2.800389)'), GeomFromEWKT('SRID=4674;POINT (-40.368977 -2.800386)'))) / (select extract(epoch from '2026-07-29 04:05:37'::timestamp) - extract(epoch from '2026-07-29 04:05: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'), 47843, 'SRID=4674;POINT (-40.369072 -2.800377)', '2026-07-29 04:05:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368977 -2.800386)'), GeomFromEWKT('SRID=4674;POINT (-40.369072 -2.800377)'))) / (select extract(epoch from '2026-07-29 04:05:50'::timestamp) - extract(epoch from '2026-07-29 04:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368977 -2.800386)'), GeomFromEWKT('SRID=4674;POINT (-40.369072 -2.800377)'))) / (select extract(epoch from '2026-07-29 04:05:50'::timestamp) - extract(epoch from '2026-07-29 04:05: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'), 47843, 'SRID=4674;POINT (-40.369165 -2.800367)', '2026-07-29 04:06:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369072 -2.800377)'), GeomFromEWKT('SRID=4674;POINT (-40.369165 -2.800367)'))) / (select extract(epoch from '2026-07-29 04:06:01'::timestamp) - extract(epoch from '2026-07-29 04:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369072 -2.800377)'), GeomFromEWKT('SRID=4674;POINT (-40.369165 -2.800367)'))) / (select extract(epoch from '2026-07-29 04:06:01'::timestamp) - extract(epoch from '2026-07-29 04:05:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.369249 -2.800371)', '2026-07-29 04:06:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369165 -2.800367)'), GeomFromEWKT('SRID=4674;POINT (-40.369249 -2.800371)'))) / (select extract(epoch from '2026-07-29 04:06:13'::timestamp) - extract(epoch from '2026-07-29 04:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369165 -2.800367)'), GeomFromEWKT('SRID=4674;POINT (-40.369249 -2.800371)'))) / (select extract(epoch from '2026-07-29 04:06:13'::timestamp) - extract(epoch from '2026-07-29 04:06:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.369333 -2.800374)', '2026-07-29 04:06:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369249 -2.800371)'), GeomFromEWKT('SRID=4674;POINT (-40.369333 -2.800374)'))) / (select extract(epoch from '2026-07-29 04:06:24'::timestamp) - extract(epoch from '2026-07-29 04:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369249 -2.800371)'), GeomFromEWKT('SRID=4674;POINT (-40.369333 -2.800374)'))) / (select extract(epoch from '2026-07-29 04:06:24'::timestamp) - extract(epoch from '2026-07-29 04:06:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.369412 -2.800358)', '2026-07-29 04:06:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369333 -2.800374)'), GeomFromEWKT('SRID=4674;POINT (-40.369412 -2.800358)'))) / (select extract(epoch from '2026-07-29 04:06:34'::timestamp) - extract(epoch from '2026-07-29 04:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369333 -2.800374)'), GeomFromEWKT('SRID=4674;POINT (-40.369412 -2.800358)'))) / (select extract(epoch from '2026-07-29 04:06:34'::timestamp) - extract(epoch from '2026-07-29 04:06: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'), 47843, 'SRID=4674;POINT (-40.36951 -2.800351)', '2026-07-29 04:06:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369412 -2.800358)'), GeomFromEWKT('SRID=4674;POINT (-40.36951 -2.800351)'))) / (select extract(epoch from '2026-07-29 04:06:46'::timestamp) - extract(epoch from '2026-07-29 04:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369412 -2.800358)'), GeomFromEWKT('SRID=4674;POINT (-40.36951 -2.800351)'))) / (select extract(epoch from '2026-07-29 04:06:46'::timestamp) - extract(epoch from '2026-07-29 04:06:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.369573 -2.800351)', '2026-07-29 04:06:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36951 -2.800351)'), GeomFromEWKT('SRID=4674;POINT (-40.369573 -2.800351)'))) / (select extract(epoch from '2026-07-29 04:06:57'::timestamp) - extract(epoch from '2026-07-29 04:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36951 -2.800351)'), GeomFromEWKT('SRID=4674;POINT (-40.369573 -2.800351)'))) / (select extract(epoch from '2026-07-29 04:06:57'::timestamp) - extract(epoch from '2026-07-29 04:06: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'), 47843, 'SRID=4674;POINT (-40.369617 -2.800339)', '2026-07-29 04:07:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369573 -2.800351)'), GeomFromEWKT('SRID=4674;POINT (-40.369617 -2.800339)'))) / (select extract(epoch from '2026-07-29 04:07:09'::timestamp) - extract(epoch from '2026-07-29 04:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369573 -2.800351)'), GeomFromEWKT('SRID=4674;POINT (-40.369617 -2.800339)'))) / (select extract(epoch from '2026-07-29 04:07:09'::timestamp) - extract(epoch from '2026-07-29 04:06:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.369702 -2.800323)', '2026-07-29 04:07:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369617 -2.800339)'), GeomFromEWKT('SRID=4674;POINT (-40.369702 -2.800323)'))) / (select extract(epoch from '2026-07-29 04:07:21'::timestamp) - extract(epoch from '2026-07-29 04:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369617 -2.800339)'), GeomFromEWKT('SRID=4674;POINT (-40.369702 -2.800323)'))) / (select extract(epoch from '2026-07-29 04:07:21'::timestamp) - extract(epoch from '2026-07-29 04:07:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.369801 -2.800337)', '2026-07-29 04:07:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369702 -2.800323)'), GeomFromEWKT('SRID=4674;POINT (-40.369801 -2.800337)'))) / (select extract(epoch from '2026-07-29 04:07:35'::timestamp) - extract(epoch from '2026-07-29 04:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369702 -2.800323)'), GeomFromEWKT('SRID=4674;POINT (-40.369801 -2.800337)'))) / (select extract(epoch from '2026-07-29 04:07:35'::timestamp) - extract(epoch from '2026-07-29 04:07:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.369891 -2.800326)', '2026-07-29 04:07:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369801 -2.800337)'), GeomFromEWKT('SRID=4674;POINT (-40.369891 -2.800326)'))) / (select extract(epoch from '2026-07-29 04:07:47'::timestamp) - extract(epoch from '2026-07-29 04:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369801 -2.800337)'), GeomFromEWKT('SRID=4674;POINT (-40.369891 -2.800326)'))) / (select extract(epoch from '2026-07-29 04:07:47'::timestamp) - extract(epoch from '2026-07-29 04:07:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.369981 -2.80031)', '2026-07-29 04:08:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369891 -2.800326)'), GeomFromEWKT('SRID=4674;POINT (-40.369981 -2.80031)'))) / (select extract(epoch from '2026-07-29 04:08:00'::timestamp) - extract(epoch from '2026-07-29 04:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369891 -2.800326)'), GeomFromEWKT('SRID=4674;POINT (-40.369981 -2.80031)'))) / (select extract(epoch from '2026-07-29 04:08:00'::timestamp) - extract(epoch from '2026-07-29 04:07:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.370103 -2.800299)', '2026-07-29 04:08:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369981 -2.80031)'), GeomFromEWKT('SRID=4674;POINT (-40.370103 -2.800299)'))) / (select extract(epoch from '2026-07-29 04:08:13'::timestamp) - extract(epoch from '2026-07-29 04:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369981 -2.80031)'), GeomFromEWKT('SRID=4674;POINT (-40.370103 -2.800299)'))) / (select extract(epoch from '2026-07-29 04:08:13'::timestamp) - extract(epoch from '2026-07-29 04:08: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'), 47843, 'SRID=4674;POINT (-40.370205 -2.800291)', '2026-07-29 04:08:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370103 -2.800299)'), GeomFromEWKT('SRID=4674;POINT (-40.370205 -2.800291)'))) / (select extract(epoch from '2026-07-29 04:08:27'::timestamp) - extract(epoch from '2026-07-29 04:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370103 -2.800299)'), GeomFromEWKT('SRID=4674;POINT (-40.370205 -2.800291)'))) / (select extract(epoch from '2026-07-29 04:08:27'::timestamp) - extract(epoch from '2026-07-29 04:08: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'), 47843, 'SRID=4674;POINT (-40.370281 -2.800292)', '2026-07-29 04:08:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370205 -2.800291)'), GeomFromEWKT('SRID=4674;POINT (-40.370281 -2.800292)'))) / (select extract(epoch from '2026-07-29 04:08:37'::timestamp) - extract(epoch from '2026-07-29 04:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370205 -2.800291)'), GeomFromEWKT('SRID=4674;POINT (-40.370281 -2.800292)'))) / (select extract(epoch from '2026-07-29 04:08:37'::timestamp) - extract(epoch from '2026-07-29 04:08: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'), 47843, 'SRID=4674;POINT (-40.370401 -2.800279)', '2026-07-29 04:08:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370281 -2.800292)'), GeomFromEWKT('SRID=4674;POINT (-40.370401 -2.800279)'))) / (select extract(epoch from '2026-07-29 04:08:52'::timestamp) - extract(epoch from '2026-07-29 04:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370281 -2.800292)'), GeomFromEWKT('SRID=4674;POINT (-40.370401 -2.800279)'))) / (select extract(epoch from '2026-07-29 04:08:52'::timestamp) - extract(epoch from '2026-07-29 04:08: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'), 47843, 'SRID=4674;POINT (-40.37049 -2.800271)', '2026-07-29 04:09:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370401 -2.800279)'), GeomFromEWKT('SRID=4674;POINT (-40.37049 -2.800271)'))) / (select extract(epoch from '2026-07-29 04:09:04'::timestamp) - extract(epoch from '2026-07-29 04:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370401 -2.800279)'), GeomFromEWKT('SRID=4674;POINT (-40.37049 -2.800271)'))) / (select extract(epoch from '2026-07-29 04:09:04'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.370583 -2.800272)', '2026-07-29 04:09:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37049 -2.800271)'), GeomFromEWKT('SRID=4674;POINT (-40.370583 -2.800272)'))) / (select extract(epoch from '2026-07-29 04:09:16'::timestamp) - extract(epoch from '2026-07-29 04:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37049 -2.800271)'), GeomFromEWKT('SRID=4674;POINT (-40.370583 -2.800272)'))) / (select extract(epoch from '2026-07-29 04:09:16'::timestamp) - extract(epoch from '2026-07-29 04:09: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'), 47843, 'SRID=4674;POINT (-40.37069 -2.800262)', '2026-07-29 04:09:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370583 -2.800272)'), GeomFromEWKT('SRID=4674;POINT (-40.37069 -2.800262)'))) / (select extract(epoch from '2026-07-29 04:09:29'::timestamp) - extract(epoch from '2026-07-29 04:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370583 -2.800272)'), GeomFromEWKT('SRID=4674;POINT (-40.37069 -2.800262)'))) / (select extract(epoch from '2026-07-29 04:09:29'::timestamp) - extract(epoch from '2026-07-29 04:09:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.370776 -2.800248)', '2026-07-29 04:09:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37069 -2.800262)'), GeomFromEWKT('SRID=4674;POINT (-40.370776 -2.800248)'))) / (select extract(epoch from '2026-07-29 04:09:40'::timestamp) - extract(epoch from '2026-07-29 04:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37069 -2.800262)'), GeomFromEWKT('SRID=4674;POINT (-40.370776 -2.800248)'))) / (select extract(epoch from '2026-07-29 04:09:40'::timestamp) - extract(epoch from '2026-07-29 04:09:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.370866 -2.800255)', '2026-07-29 04:09:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370776 -2.800248)'), GeomFromEWKT('SRID=4674;POINT (-40.370866 -2.800255)'))) / (select extract(epoch from '2026-07-29 04:09:51'::timestamp) - extract(epoch from '2026-07-29 04:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370776 -2.800248)'), GeomFromEWKT('SRID=4674;POINT (-40.370866 -2.800255)'))) / (select extract(epoch from '2026-07-29 04:09:51'::timestamp) - extract(epoch from '2026-07-29 04:09: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'), 47843, 'SRID=4674;POINT (-40.370928 -2.800256)', '2026-07-29 04:09:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370866 -2.800255)'), GeomFromEWKT('SRID=4674;POINT (-40.370928 -2.800256)'))) / (select extract(epoch from '2026-07-29 04:09:58'::timestamp) - extract(epoch from '2026-07-29 04:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370866 -2.800255)'), GeomFromEWKT('SRID=4674;POINT (-40.370928 -2.800256)'))) / (select extract(epoch from '2026-07-29 04:09:58'::timestamp) - extract(epoch from '2026-07-29 04:09: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'), 47843, 'SRID=4674;POINT (-40.371062 -2.800275)', '2026-07-29 04:10:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370928 -2.800256)'), GeomFromEWKT('SRID=4674;POINT (-40.371062 -2.800275)'))) / (select extract(epoch from '2026-07-29 04:10:15'::timestamp) - extract(epoch from '2026-07-29 04:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370928 -2.800256)'), GeomFromEWKT('SRID=4674;POINT (-40.371062 -2.800275)'))) / (select extract(epoch from '2026-07-29 04:10:15'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.371119 -2.800289)', '2026-07-29 04:10:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371062 -2.800275)'), GeomFromEWKT('SRID=4674;POINT (-40.371119 -2.800289)'))) / (select extract(epoch from '2026-07-29 04:10:23'::timestamp) - extract(epoch from '2026-07-29 04:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371062 -2.800275)'), GeomFromEWKT('SRID=4674;POINT (-40.371119 -2.800289)'))) / (select extract(epoch from '2026-07-29 04:10:23'::timestamp) - extract(epoch from '2026-07-29 04:10: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'), 47843, 'SRID=4674;POINT (-40.371171 -2.800292)', '2026-07-29 04:10:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371119 -2.800289)'), GeomFromEWKT('SRID=4674;POINT (-40.371171 -2.800292)'))) / (select extract(epoch from '2026-07-29 04:10:30'::timestamp) - extract(epoch from '2026-07-29 04:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371119 -2.800289)'), GeomFromEWKT('SRID=4674;POINT (-40.371171 -2.800292)'))) / (select extract(epoch from '2026-07-29 04:10:30'::timestamp) - extract(epoch from '2026-07-29 04:10: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'), 47843, 'SRID=4674;POINT (-40.371291 -2.80029)', '2026-07-29 04:10:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371171 -2.800292)'), GeomFromEWKT('SRID=4674;POINT (-40.371291 -2.80029)'))) / (select extract(epoch from '2026-07-29 04:10:44'::timestamp) - extract(epoch from '2026-07-29 04:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371171 -2.800292)'), GeomFromEWKT('SRID=4674;POINT (-40.371291 -2.80029)'))) / (select extract(epoch from '2026-07-29 04:10:44'::timestamp) - extract(epoch from '2026-07-29 04:10:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.371415 -2.800291)', '2026-07-29 04:11:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371291 -2.80029)'), GeomFromEWKT('SRID=4674;POINT (-40.371415 -2.800291)'))) / (select extract(epoch from '2026-07-29 04:11:00'::timestamp) - extract(epoch from '2026-07-29 04:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371291 -2.80029)'), GeomFromEWKT('SRID=4674;POINT (-40.371415 -2.800291)'))) / (select extract(epoch from '2026-07-29 04:11:00'::timestamp) - extract(epoch from '2026-07-29 04:10: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'), 47843, 'SRID=4674;POINT (-40.371523 -2.800297)', '2026-07-29 04:11:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371415 -2.800291)'), GeomFromEWKT('SRID=4674;POINT (-40.371523 -2.800297)'))) / (select extract(epoch from '2026-07-29 04:11:13'::timestamp) - extract(epoch from '2026-07-29 04:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371415 -2.800291)'), GeomFromEWKT('SRID=4674;POINT (-40.371523 -2.800297)'))) / (select extract(epoch from '2026-07-29 04:11:13'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.371613 -2.800299)', '2026-07-29 04:11:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371523 -2.800297)'), GeomFromEWKT('SRID=4674;POINT (-40.371613 -2.800299)'))) / (select extract(epoch from '2026-07-29 04:11:26'::timestamp) - extract(epoch from '2026-07-29 04:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371523 -2.800297)'), GeomFromEWKT('SRID=4674;POINT (-40.371613 -2.800299)'))) / (select extract(epoch from '2026-07-29 04:11:26'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.371722 -2.800307)', '2026-07-29 04:11:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371613 -2.800299)'), GeomFromEWKT('SRID=4674;POINT (-40.371722 -2.800307)'))) / (select extract(epoch from '2026-07-29 04:11:38'::timestamp) - extract(epoch from '2026-07-29 04:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371613 -2.800299)'), GeomFromEWKT('SRID=4674;POINT (-40.371722 -2.800307)'))) / (select extract(epoch from '2026-07-29 04:11:38'::timestamp) - extract(epoch from '2026-07-29 04:11: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'), 47843, 'SRID=4674;POINT (-40.371811 -2.800314)', '2026-07-29 04:11:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371722 -2.800307)'), GeomFromEWKT('SRID=4674;POINT (-40.371811 -2.800314)'))) / (select extract(epoch from '2026-07-29 04:11:49'::timestamp) - extract(epoch from '2026-07-29 04:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371722 -2.800307)'), GeomFromEWKT('SRID=4674;POINT (-40.371811 -2.800314)'))) / (select extract(epoch from '2026-07-29 04:11:49'::timestamp) - extract(epoch from '2026-07-29 04:11: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'), 47843, 'SRID=4674;POINT (-40.371903 -2.800312)', '2026-07-29 04:12:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371811 -2.800314)'), GeomFromEWKT('SRID=4674;POINT (-40.371903 -2.800312)'))) / (select extract(epoch from '2026-07-29 04:12:02'::timestamp) - extract(epoch from '2026-07-29 04:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371811 -2.800314)'), GeomFromEWKT('SRID=4674;POINT (-40.371903 -2.800312)'))) / (select extract(epoch from '2026-07-29 04:12:02'::timestamp) - extract(epoch from '2026-07-29 04:11: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'), 47843, 'SRID=4674;POINT (-40.371985 -2.800303)', '2026-07-29 04:12:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371903 -2.800312)'), GeomFromEWKT('SRID=4674;POINT (-40.371985 -2.800303)'))) / (select extract(epoch from '2026-07-29 04:12:12'::timestamp) - extract(epoch from '2026-07-29 04:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371903 -2.800312)'), GeomFromEWKT('SRID=4674;POINT (-40.371985 -2.800303)'))) / (select extract(epoch from '2026-07-29 04:12:12'::timestamp) - extract(epoch from '2026-07-29 04:12: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'), 47843, 'SRID=4674;POINT (-40.372035 -2.800305)', '2026-07-29 04:12:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371985 -2.800303)'), GeomFromEWKT('SRID=4674;POINT (-40.372035 -2.800305)'))) / (select extract(epoch from '2026-07-29 04:12:18'::timestamp) - extract(epoch from '2026-07-29 04:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371985 -2.800303)'), GeomFromEWKT('SRID=4674;POINT (-40.372035 -2.800305)'))) / (select extract(epoch from '2026-07-29 04:12:18'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.37206 -2.80031)', '2026-07-29 04:12:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372035 -2.800305)'), GeomFromEWKT('SRID=4674;POINT (-40.37206 -2.80031)'))) / (select extract(epoch from '2026-07-29 04:12:21'::timestamp) - extract(epoch from '2026-07-29 04:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372035 -2.800305)'), GeomFromEWKT('SRID=4674;POINT (-40.37206 -2.80031)'))) / (select extract(epoch from '2026-07-29 04:12:21'::timestamp) - extract(epoch from '2026-07-29 04:12:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.372071 -2.800311)', '2026-07-29 04:12:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37206 -2.80031)'), GeomFromEWKT('SRID=4674;POINT (-40.372071 -2.800311)'))) / (select extract(epoch from '2026-07-29 04:12:22'::timestamp) - extract(epoch from '2026-07-29 04:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37206 -2.80031)'), GeomFromEWKT('SRID=4674;POINT (-40.372071 -2.800311)'))) / (select extract(epoch from '2026-07-29 04:12:22'::timestamp) - extract(epoch from '2026-07-29 04:12: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'), 47843, 'SRID=4674;POINT (-40.372112 -2.800318)', '2026-07-29 04:12:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372071 -2.800311)'), GeomFromEWKT('SRID=4674;POINT (-40.372112 -2.800318)'))) / (select extract(epoch from '2026-07-29 04:12:27'::timestamp) - extract(epoch from '2026-07-29 04:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372071 -2.800311)'), GeomFromEWKT('SRID=4674;POINT (-40.372112 -2.800318)'))) / (select extract(epoch from '2026-07-29 04:12:27'::timestamp) - extract(epoch from '2026-07-29 04:12: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'), 47843, 'SRID=4674;POINT (-40.372171 -2.800321)', '2026-07-29 04:12:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372112 -2.800318)'), GeomFromEWKT('SRID=4674;POINT (-40.372171 -2.800321)'))) / (select extract(epoch from '2026-07-29 04:12:35'::timestamp) - extract(epoch from '2026-07-29 04:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372112 -2.800318)'), GeomFromEWKT('SRID=4674;POINT (-40.372171 -2.800321)'))) / (select extract(epoch from '2026-07-29 04:12:35'::timestamp) - extract(epoch from '2026-07-29 04:12: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'), 47843, 'SRID=4674;POINT (-40.372276 -2.800327)', '2026-07-29 04:12:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372171 -2.800321)'), GeomFromEWKT('SRID=4674;POINT (-40.372276 -2.800327)'))) / (select extract(epoch from '2026-07-29 04:12:48'::timestamp) - extract(epoch from '2026-07-29 04:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372171 -2.800321)'), GeomFromEWKT('SRID=4674;POINT (-40.372276 -2.800327)'))) / (select extract(epoch from '2026-07-29 04:12:48'::timestamp) - extract(epoch from '2026-07-29 04:12:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.372379 -2.800328)', '2026-07-29 04:13:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372276 -2.800327)'), GeomFromEWKT('SRID=4674;POINT (-40.372379 -2.800328)'))) / (select extract(epoch from '2026-07-29 04:13:02'::timestamp) - extract(epoch from '2026-07-29 04:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372276 -2.800327)'), GeomFromEWKT('SRID=4674;POINT (-40.372379 -2.800328)'))) / (select extract(epoch from '2026-07-29 04:13:02'::timestamp) - extract(epoch from '2026-07-29 04:12:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.372449 -2.800336)', '2026-07-29 04:13:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372379 -2.800328)'), GeomFromEWKT('SRID=4674;POINT (-40.372449 -2.800336)'))) / (select extract(epoch from '2026-07-29 04:13:12'::timestamp) - extract(epoch from '2026-07-29 04:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372379 -2.800328)'), GeomFromEWKT('SRID=4674;POINT (-40.372449 -2.800336)'))) / (select extract(epoch from '2026-07-29 04:13:12'::timestamp) - extract(epoch from '2026-07-29 04:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.372499 -2.800337)', '2026-07-29 04:13:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372449 -2.800336)'), GeomFromEWKT('SRID=4674;POINT (-40.372499 -2.800337)'))) / (select extract(epoch from '2026-07-29 04:13:19'::timestamp) - extract(epoch from '2026-07-29 04:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372449 -2.800336)'), GeomFromEWKT('SRID=4674;POINT (-40.372499 -2.800337)'))) / (select extract(epoch from '2026-07-29 04:13:19'::timestamp) - extract(epoch from '2026-07-29 04:13:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.372595 -2.80033)', '2026-07-29 04:13:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372499 -2.800337)'), GeomFromEWKT('SRID=4674;POINT (-40.372595 -2.80033)'))) / (select extract(epoch from '2026-07-29 04:13:34'::timestamp) - extract(epoch from '2026-07-29 04:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372499 -2.800337)'), GeomFromEWKT('SRID=4674;POINT (-40.372595 -2.80033)'))) / (select extract(epoch from '2026-07-29 04:13:34'::timestamp) - extract(epoch from '2026-07-29 04:13: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'), 47843, 'SRID=4674;POINT (-40.372673 -2.800338)', '2026-07-29 04:13:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372595 -2.80033)'), GeomFromEWKT('SRID=4674;POINT (-40.372673 -2.800338)'))) / (select extract(epoch from '2026-07-29 04:13:46'::timestamp) - extract(epoch from '2026-07-29 04:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372595 -2.80033)'), GeomFromEWKT('SRID=4674;POINT (-40.372673 -2.800338)'))) / (select extract(epoch from '2026-07-29 04:13:46'::timestamp) - extract(epoch from '2026-07-29 04:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.372756 -2.800342)', '2026-07-29 04:13:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372673 -2.800338)'), GeomFromEWKT('SRID=4674;POINT (-40.372756 -2.800342)'))) / (select extract(epoch from '2026-07-29 04:13:58'::timestamp) - extract(epoch from '2026-07-29 04:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372673 -2.800338)'), GeomFromEWKT('SRID=4674;POINT (-40.372756 -2.800342)'))) / (select extract(epoch from '2026-07-29 04:13:58'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.372844 -2.800351)', '2026-07-29 04:14:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372756 -2.800342)'), GeomFromEWKT('SRID=4674;POINT (-40.372844 -2.800351)'))) / (select extract(epoch from '2026-07-29 04:14:10'::timestamp) - extract(epoch from '2026-07-29 04:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372756 -2.800342)'), GeomFromEWKT('SRID=4674;POINT (-40.372844 -2.800351)'))) / (select extract(epoch from '2026-07-29 04:14:10'::timestamp) - extract(epoch from '2026-07-29 04:13: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'), 47843, 'SRID=4674;POINT (-40.372947 -2.800353)', '2026-07-29 04:14:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372844 -2.800351)'), GeomFromEWKT('SRID=4674;POINT (-40.372947 -2.800353)'))) / (select extract(epoch from '2026-07-29 04:14:25'::timestamp) - extract(epoch from '2026-07-29 04:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372844 -2.800351)'), GeomFromEWKT('SRID=4674;POINT (-40.372947 -2.800353)'))) / (select extract(epoch from '2026-07-29 04:14:25'::timestamp) - extract(epoch from '2026-07-29 04:14:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.373016 -2.800349)', '2026-07-29 04:14:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372947 -2.800353)'), GeomFromEWKT('SRID=4674;POINT (-40.373016 -2.800349)'))) / (select extract(epoch from '2026-07-29 04:14:35'::timestamp) - extract(epoch from '2026-07-29 04:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372947 -2.800353)'), GeomFromEWKT('SRID=4674;POINT (-40.373016 -2.800349)'))) / (select extract(epoch from '2026-07-29 04:14:35'::timestamp) - extract(epoch from '2026-07-29 04:14:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.373119 -2.800369)', '2026-07-29 04:14:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373016 -2.800349)'), GeomFromEWKT('SRID=4674;POINT (-40.373119 -2.800369)'))) / (select extract(epoch from '2026-07-29 04:14:49'::timestamp) - extract(epoch from '2026-07-29 04:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373016 -2.800349)'), GeomFromEWKT('SRID=4674;POINT (-40.373119 -2.800369)'))) / (select extract(epoch from '2026-07-29 04:14:49'::timestamp) - extract(epoch from '2026-07-29 04:14:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.373181 -2.800375)', '2026-07-29 04:15:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373119 -2.800369)'), GeomFromEWKT('SRID=4674;POINT (-40.373181 -2.800375)'))) / (select extract(epoch from '2026-07-29 04:15:02'::timestamp) - extract(epoch from '2026-07-29 04:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373119 -2.800369)'), GeomFromEWKT('SRID=4674;POINT (-40.373181 -2.800375)'))) / (select extract(epoch from '2026-07-29 04:15:02'::timestamp) - extract(epoch from '2026-07-29 04:14: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'), 47843, 'SRID=4674;POINT (-40.373221 -2.800361)', '2026-07-29 04:15:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373181 -2.800375)'), GeomFromEWKT('SRID=4674;POINT (-40.373221 -2.800361)'))) / (select extract(epoch from '2026-07-29 04:15:13'::timestamp) - extract(epoch from '2026-07-29 04:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373181 -2.800375)'), GeomFromEWKT('SRID=4674;POINT (-40.373221 -2.800361)'))) / (select extract(epoch from '2026-07-29 04:15:13'::timestamp) - extract(epoch from '2026-07-29 04:15: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'), 47843, 'SRID=4674;POINT (-40.37329 -2.800358)', '2026-07-29 04:15:26', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373221 -2.800361)'), GeomFromEWKT('SRID=4674;POINT (-40.37329 -2.800358)'))) / (select extract(epoch from '2026-07-29 04:15:26'::timestamp) - extract(epoch from '2026-07-29 04:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373221 -2.800361)'), GeomFromEWKT('SRID=4674;POINT (-40.37329 -2.800358)'))) / (select extract(epoch from '2026-07-29 04:15:26'::timestamp) - extract(epoch from '2026-07-29 04:15: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'), 47843, 'SRID=4674;POINT (-40.373349 -2.800363)', '2026-07-29 04:15:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37329 -2.800358)'), GeomFromEWKT('SRID=4674;POINT (-40.373349 -2.800363)'))) / (select extract(epoch from '2026-07-29 04:15:41'::timestamp) - extract(epoch from '2026-07-29 04:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37329 -2.800358)'), GeomFromEWKT('SRID=4674;POINT (-40.373349 -2.800363)'))) / (select extract(epoch from '2026-07-29 04:15:41'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.373357 -2.800357)', '2026-07-29 04:15:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373349 -2.800363)'), GeomFromEWKT('SRID=4674;POINT (-40.373357 -2.800357)'))) / (select extract(epoch from '2026-07-29 04:15:51'::timestamp) - extract(epoch from '2026-07-29 04:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373349 -2.800363)'), GeomFromEWKT('SRID=4674;POINT (-40.373357 -2.800357)'))) / (select extract(epoch from '2026-07-29 04:15:51'::timestamp) - extract(epoch from '2026-07-29 04:15: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'), 47843, 'SRID=4674;POINT (-40.373386 -2.800338)', '2026-07-29 04:16:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373357 -2.800357)'), GeomFromEWKT('SRID=4674;POINT (-40.373386 -2.800338)'))) / (select extract(epoch from '2026-07-29 04:16:00'::timestamp) - extract(epoch from '2026-07-29 04:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373357 -2.800357)'), GeomFromEWKT('SRID=4674;POINT (-40.373386 -2.800338)'))) / (select extract(epoch from '2026-07-29 04:16:00'::timestamp) - extract(epoch from '2026-07-29 04:15: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'), 47843, 'SRID=4674;POINT (-40.373462 -2.80033)', '2026-07-29 04:16:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373386 -2.800338)'), GeomFromEWKT('SRID=4674;POINT (-40.373462 -2.80033)'))) / (select extract(epoch from '2026-07-29 04:16:15'::timestamp) - extract(epoch from '2026-07-29 04:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373386 -2.800338)'), GeomFromEWKT('SRID=4674;POINT (-40.373462 -2.80033)'))) / (select extract(epoch from '2026-07-29 04:16:15'::timestamp) - extract(epoch from '2026-07-29 04:16: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'), 47843, 'SRID=4674;POINT (-40.373543 -2.800338)', '2026-07-29 04:16:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373462 -2.80033)'), GeomFromEWKT('SRID=4674;POINT (-40.373543 -2.800338)'))) / (select extract(epoch from '2026-07-29 04:16:29'::timestamp) - extract(epoch from '2026-07-29 04:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373462 -2.80033)'), GeomFromEWKT('SRID=4674;POINT (-40.373543 -2.800338)'))) / (select extract(epoch from '2026-07-29 04:16:29'::timestamp) - extract(epoch from '2026-07-29 04:16:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.373613 -2.80035)', '2026-07-29 04:16:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373543 -2.800338)'), GeomFromEWKT('SRID=4674;POINT (-40.373613 -2.80035)'))) / (select extract(epoch from '2026-07-29 04:16:41'::timestamp) - extract(epoch from '2026-07-29 04:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373543 -2.800338)'), GeomFromEWKT('SRID=4674;POINT (-40.373613 -2.80035)'))) / (select extract(epoch from '2026-07-29 04:16:41'::timestamp) - extract(epoch from '2026-07-29 04:16: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'), 47843, 'SRID=4674;POINT (-40.373671 -2.800344)', '2026-07-29 04:16:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373613 -2.80035)'), GeomFromEWKT('SRID=4674;POINT (-40.373671 -2.800344)'))) / (select extract(epoch from '2026-07-29 04:16:51'::timestamp) - extract(epoch from '2026-07-29 04:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373613 -2.80035)'), GeomFromEWKT('SRID=4674;POINT (-40.373671 -2.800344)'))) / (select extract(epoch from '2026-07-29 04:16:51'::timestamp) - extract(epoch from '2026-07-29 04:16:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.373738 -2.80034)', '2026-07-29 04:17:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373671 -2.800344)'), GeomFromEWKT('SRID=4674;POINT (-40.373738 -2.80034)'))) / (select extract(epoch from '2026-07-29 04:17:02'::timestamp) - extract(epoch from '2026-07-29 04:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373671 -2.800344)'), GeomFromEWKT('SRID=4674;POINT (-40.373738 -2.80034)'))) / (select extract(epoch from '2026-07-29 04:17:02'::timestamp) - extract(epoch from '2026-07-29 04:16: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'), 47843, 'SRID=4674;POINT (-40.373804 -2.800346)', '2026-07-29 04:17:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373738 -2.80034)'), GeomFromEWKT('SRID=4674;POINT (-40.373804 -2.800346)'))) / (select extract(epoch from '2026-07-29 04:17:13'::timestamp) - extract(epoch from '2026-07-29 04:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373738 -2.80034)'), GeomFromEWKT('SRID=4674;POINT (-40.373804 -2.800346)'))) / (select extract(epoch from '2026-07-29 04:17:13'::timestamp) - extract(epoch from '2026-07-29 04:17: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'), 47843, 'SRID=4674;POINT (-40.373852 -2.800347)', '2026-07-29 04:17:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373804 -2.800346)'), GeomFromEWKT('SRID=4674;POINT (-40.373852 -2.800347)'))) / (select extract(epoch from '2026-07-29 04:17:20'::timestamp) - extract(epoch from '2026-07-29 04:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373804 -2.800346)'), GeomFromEWKT('SRID=4674;POINT (-40.373852 -2.800347)'))) / (select extract(epoch from '2026-07-29 04:17:20'::timestamp) - extract(epoch from '2026-07-29 04:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.373876 -2.800347)', '2026-07-29 04:17:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373852 -2.800347)'), GeomFromEWKT('SRID=4674;POINT (-40.373876 -2.800347)'))) / (select extract(epoch from '2026-07-29 04:17:24'::timestamp) - extract(epoch from '2026-07-29 04:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373852 -2.800347)'), GeomFromEWKT('SRID=4674;POINT (-40.373876 -2.800347)'))) / (select extract(epoch from '2026-07-29 04:17:24'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.373982 -2.800365)', '2026-07-29 04:17:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373876 -2.800347)'), GeomFromEWKT('SRID=4674;POINT (-40.373982 -2.800365)'))) / (select extract(epoch from '2026-07-29 04:17:38'::timestamp) - extract(epoch from '2026-07-29 04:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373876 -2.800347)'), GeomFromEWKT('SRID=4674;POINT (-40.373982 -2.800365)'))) / (select extract(epoch from '2026-07-29 04:17:38'::timestamp) - extract(epoch from '2026-07-29 04:17:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.37408 -2.800366)', '2026-07-29 04:17:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373982 -2.800365)'), GeomFromEWKT('SRID=4674;POINT (-40.37408 -2.800366)'))) / (select extract(epoch from '2026-07-29 04:17:52'::timestamp) - extract(epoch from '2026-07-29 04:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373982 -2.800365)'), GeomFromEWKT('SRID=4674;POINT (-40.37408 -2.800366)'))) / (select extract(epoch from '2026-07-29 04:17:52'::timestamp) - extract(epoch from '2026-07-29 04:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.374177 -2.800367)', '2026-07-29 04:18:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37408 -2.800366)'), GeomFromEWKT('SRID=4674;POINT (-40.374177 -2.800367)'))) / (select extract(epoch from '2026-07-29 04:18:04'::timestamp) - extract(epoch from '2026-07-29 04:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37408 -2.800366)'), GeomFromEWKT('SRID=4674;POINT (-40.374177 -2.800367)'))) / (select extract(epoch from '2026-07-29 04:18:04'::timestamp) - extract(epoch from '2026-07-29 04:17:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.37428 -2.800377)', '2026-07-29 04:18:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374177 -2.800367)'), GeomFromEWKT('SRID=4674;POINT (-40.37428 -2.800377)'))) / (select extract(epoch from '2026-07-29 04:18:16'::timestamp) - extract(epoch from '2026-07-29 04:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374177 -2.800367)'), GeomFromEWKT('SRID=4674;POINT (-40.37428 -2.800377)'))) / (select extract(epoch from '2026-07-29 04:18:16'::timestamp) - extract(epoch from '2026-07-29 04:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.374403 -2.800383)', '2026-07-29 04:18:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37428 -2.800377)'), GeomFromEWKT('SRID=4674;POINT (-40.374403 -2.800383)'))) / (select extract(epoch from '2026-07-29 04:18:34'::timestamp) - extract(epoch from '2026-07-29 04:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37428 -2.800377)'), GeomFromEWKT('SRID=4674;POINT (-40.374403 -2.800383)'))) / (select extract(epoch from '2026-07-29 04:18:34'::timestamp) - extract(epoch from '2026-07-29 04:18: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'), 47843, 'SRID=4674;POINT (-40.37446 -2.8004)', '2026-07-29 04:18:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374403 -2.800383)'), GeomFromEWKT('SRID=4674;POINT (-40.37446 -2.8004)'))) / (select extract(epoch from '2026-07-29 04:18:45'::timestamp) - extract(epoch from '2026-07-29 04:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374403 -2.800383)'), GeomFromEWKT('SRID=4674;POINT (-40.37446 -2.8004)'))) / (select extract(epoch from '2026-07-29 04:18:45'::timestamp) - extract(epoch from '2026-07-29 04:18:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.374563 -2.800407)', '2026-07-29 04:19:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37446 -2.8004)'), GeomFromEWKT('SRID=4674;POINT (-40.374563 -2.800407)'))) / (select extract(epoch from '2026-07-29 04:19:00'::timestamp) - extract(epoch from '2026-07-29 04:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37446 -2.8004)'), GeomFromEWKT('SRID=4674;POINT (-40.374563 -2.800407)'))) / (select extract(epoch from '2026-07-29 04:19:00'::timestamp) - extract(epoch from '2026-07-29 04:18: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'), 47843, 'SRID=4674;POINT (-40.374655 -2.800405)', '2026-07-29 04:19:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374563 -2.800407)'), GeomFromEWKT('SRID=4674;POINT (-40.374655 -2.800405)'))) / (select extract(epoch from '2026-07-29 04:19:13'::timestamp) - extract(epoch from '2026-07-29 04:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374563 -2.800407)'), GeomFromEWKT('SRID=4674;POINT (-40.374655 -2.800405)'))) / (select extract(epoch from '2026-07-29 04:19:13'::timestamp) - extract(epoch from '2026-07-29 04:19: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'), 47843, 'SRID=4674;POINT (-40.374738 -2.800404)', '2026-07-29 04:19:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374655 -2.800405)'), GeomFromEWKT('SRID=4674;POINT (-40.374738 -2.800404)'))) / (select extract(epoch from '2026-07-29 04:19:24'::timestamp) - extract(epoch from '2026-07-29 04:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374655 -2.800405)'), GeomFromEWKT('SRID=4674;POINT (-40.374738 -2.800404)'))) / (select extract(epoch from '2026-07-29 04:19:24'::timestamp) - extract(epoch from '2026-07-29 04:19:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.374806 -2.800397)', '2026-07-29 04:19:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374738 -2.800404)'), GeomFromEWKT('SRID=4674;POINT (-40.374806 -2.800397)'))) / (select extract(epoch from '2026-07-29 04:19:36'::timestamp) - extract(epoch from '2026-07-29 04:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374738 -2.800404)'), GeomFromEWKT('SRID=4674;POINT (-40.374806 -2.800397)'))) / (select extract(epoch from '2026-07-29 04:19:36'::timestamp) - extract(epoch from '2026-07-29 04:19: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'), 47843, 'SRID=4674;POINT (-40.374886 -2.800399)', '2026-07-29 04:19:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374806 -2.800397)'), GeomFromEWKT('SRID=4674;POINT (-40.374886 -2.800399)'))) / (select extract(epoch from '2026-07-29 04:19:49'::timestamp) - extract(epoch from '2026-07-29 04:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374806 -2.800397)'), GeomFromEWKT('SRID=4674;POINT (-40.374886 -2.800399)'))) / (select extract(epoch from '2026-07-29 04:19:49'::timestamp) - extract(epoch from '2026-07-29 04:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.37493 -2.800395)', '2026-07-29 04:20:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374886 -2.800399)'), GeomFromEWKT('SRID=4674;POINT (-40.37493 -2.800395)'))) / (select extract(epoch from '2026-07-29 04:20:00'::timestamp) - extract(epoch from '2026-07-29 04:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374886 -2.800399)'), GeomFromEWKT('SRID=4674;POINT (-40.37493 -2.800395)'))) / (select extract(epoch from '2026-07-29 04:20:00'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.375 -2.800378)', '2026-07-29 04:20:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37493 -2.800395)'), GeomFromEWKT('SRID=4674;POINT (-40.375 -2.800378)'))) / (select extract(epoch from '2026-07-29 04:20:11'::timestamp) - extract(epoch from '2026-07-29 04:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37493 -2.800395)'), GeomFromEWKT('SRID=4674;POINT (-40.375 -2.800378)'))) / (select extract(epoch from '2026-07-29 04:20:11'::timestamp) - extract(epoch from '2026-07-29 04:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.375087 -2.800377)', '2026-07-29 04:20:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375 -2.800378)'), GeomFromEWKT('SRID=4674;POINT (-40.375087 -2.800377)'))) / (select extract(epoch from '2026-07-29 04:20:25'::timestamp) - extract(epoch from '2026-07-29 04:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375 -2.800378)'), GeomFromEWKT('SRID=4674;POINT (-40.375087 -2.800377)'))) / (select extract(epoch from '2026-07-29 04:20:25'::timestamp) - extract(epoch from '2026-07-29 04:20:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.375146 -2.800365)', '2026-07-29 04:20:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375087 -2.800377)'), GeomFromEWKT('SRID=4674;POINT (-40.375146 -2.800365)'))) / (select extract(epoch from '2026-07-29 04:20:36'::timestamp) - extract(epoch from '2026-07-29 04:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375087 -2.800377)'), GeomFromEWKT('SRID=4674;POINT (-40.375146 -2.800365)'))) / (select extract(epoch from '2026-07-29 04:20:36'::timestamp) - extract(epoch from '2026-07-29 04:20: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'), 47843, 'SRID=4674;POINT (-40.375206 -2.800346)', '2026-07-29 04:20:48', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375146 -2.800365)'), GeomFromEWKT('SRID=4674;POINT (-40.375206 -2.800346)'))) / (select extract(epoch from '2026-07-29 04:20:48'::timestamp) - extract(epoch from '2026-07-29 04:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375146 -2.800365)'), GeomFromEWKT('SRID=4674;POINT (-40.375206 -2.800346)'))) / (select extract(epoch from '2026-07-29 04:20:48'::timestamp) - extract(epoch from '2026-07-29 04:20:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.375268 -2.800346)', '2026-07-29 04:20:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375206 -2.800346)'), GeomFromEWKT('SRID=4674;POINT (-40.375268 -2.800346)'))) / (select extract(epoch from '2026-07-29 04:20:58'::timestamp) - extract(epoch from '2026-07-29 04:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375206 -2.800346)'), GeomFromEWKT('SRID=4674;POINT (-40.375268 -2.800346)'))) / (select extract(epoch from '2026-07-29 04:20:58'::timestamp) - extract(epoch from '2026-07-29 04:20:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.375355 -2.800343)', '2026-07-29 04:21:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375268 -2.800346)'), GeomFromEWKT('SRID=4674;POINT (-40.375355 -2.800343)'))) / (select extract(epoch from '2026-07-29 04:21:12'::timestamp) - extract(epoch from '2026-07-29 04:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375268 -2.800346)'), GeomFromEWKT('SRID=4674;POINT (-40.375355 -2.800343)'))) / (select extract(epoch from '2026-07-29 04:21:12'::timestamp) - extract(epoch from '2026-07-29 04:20:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.375414 -2.800339)', '2026-07-29 04:21:23', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375355 -2.800343)'), GeomFromEWKT('SRID=4674;POINT (-40.375414 -2.800339)'))) / (select extract(epoch from '2026-07-29 04:21:23'::timestamp) - extract(epoch from '2026-07-29 04:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375355 -2.800343)'), GeomFromEWKT('SRID=4674;POINT (-40.375414 -2.800339)'))) / (select extract(epoch from '2026-07-29 04:21:23'::timestamp) - extract(epoch from '2026-07-29 04:21:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.375496 -2.800341)', '2026-07-29 04:21:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375414 -2.800339)'), GeomFromEWKT('SRID=4674;POINT (-40.375496 -2.800341)'))) / (select extract(epoch from '2026-07-29 04:21:35'::timestamp) - extract(epoch from '2026-07-29 04:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375414 -2.800339)'), GeomFromEWKT('SRID=4674;POINT (-40.375496 -2.800341)'))) / (select extract(epoch from '2026-07-29 04:21:35'::timestamp) - extract(epoch from '2026-07-29 04:21: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'), 47843, 'SRID=4674;POINT (-40.375571 -2.80035)', '2026-07-29 04:21:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375496 -2.800341)'), GeomFromEWKT('SRID=4674;POINT (-40.375571 -2.80035)'))) / (select extract(epoch from '2026-07-29 04:21:47'::timestamp) - extract(epoch from '2026-07-29 04:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375496 -2.800341)'), GeomFromEWKT('SRID=4674;POINT (-40.375571 -2.80035)'))) / (select extract(epoch from '2026-07-29 04:21:47'::timestamp) - extract(epoch from '2026-07-29 04:21: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'), 47843, 'SRID=4674;POINT (-40.375651 -2.80035)', '2026-07-29 04:21:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375571 -2.80035)'), GeomFromEWKT('SRID=4674;POINT (-40.375651 -2.80035)'))) / (select extract(epoch from '2026-07-29 04:21:59'::timestamp) - extract(epoch from '2026-07-29 04:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375571 -2.80035)'), GeomFromEWKT('SRID=4674;POINT (-40.375651 -2.80035)'))) / (select extract(epoch from '2026-07-29 04:21:59'::timestamp) - extract(epoch from '2026-07-29 04:21:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.375705 -2.800343)', '2026-07-29 04:22:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375651 -2.80035)'), GeomFromEWKT('SRID=4674;POINT (-40.375705 -2.800343)'))) / (select extract(epoch from '2026-07-29 04:22:09'::timestamp) - extract(epoch from '2026-07-29 04:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375651 -2.80035)'), GeomFromEWKT('SRID=4674;POINT (-40.375705 -2.800343)'))) / (select extract(epoch from '2026-07-29 04:22:09'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.375759 -2.800328)', '2026-07-29 04:22:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375705 -2.800343)'), GeomFromEWKT('SRID=4674;POINT (-40.375759 -2.800328)'))) / (select extract(epoch from '2026-07-29 04:22:22'::timestamp) - extract(epoch from '2026-07-29 04:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375705 -2.800343)'), GeomFromEWKT('SRID=4674;POINT (-40.375759 -2.800328)'))) / (select extract(epoch from '2026-07-29 04:22:22'::timestamp) - extract(epoch from '2026-07-29 04:22:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.375808 -2.800319)', '2026-07-29 04:22:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375759 -2.800328)'), GeomFromEWKT('SRID=4674;POINT (-40.375808 -2.800319)'))) / (select extract(epoch from '2026-07-29 04:22:32'::timestamp) - extract(epoch from '2026-07-29 04:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375759 -2.800328)'), GeomFromEWKT('SRID=4674;POINT (-40.375808 -2.800319)'))) / (select extract(epoch from '2026-07-29 04:22:32'::timestamp) - extract(epoch from '2026-07-29 04:22:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.375849 -2.800324)', '2026-07-29 04:22:39', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375808 -2.800319)'), GeomFromEWKT('SRID=4674;POINT (-40.375849 -2.800324)'))) / (select extract(epoch from '2026-07-29 04:22:39'::timestamp) - extract(epoch from '2026-07-29 04:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375808 -2.800319)'), GeomFromEWKT('SRID=4674;POINT (-40.375849 -2.800324)'))) / (select extract(epoch from '2026-07-29 04:22:39'::timestamp) - extract(epoch from '2026-07-29 04:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.375884 -2.800325)', '2026-07-29 04:22:48', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375849 -2.800324)'), GeomFromEWKT('SRID=4674;POINT (-40.375884 -2.800325)'))) / (select extract(epoch from '2026-07-29 04:22:48'::timestamp) - extract(epoch from '2026-07-29 04:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375849 -2.800324)'), GeomFromEWKT('SRID=4674;POINT (-40.375884 -2.800325)'))) / (select extract(epoch from '2026-07-29 04:22:48'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.375963 -2.800319)', '2026-07-29 04:23:01', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375884 -2.800325)'), GeomFromEWKT('SRID=4674;POINT (-40.375963 -2.800319)'))) / (select extract(epoch from '2026-07-29 04:23:01'::timestamp) - extract(epoch from '2026-07-29 04:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375884 -2.800325)'), GeomFromEWKT('SRID=4674;POINT (-40.375963 -2.800319)'))) / (select extract(epoch from '2026-07-29 04:23:01'::timestamp) - extract(epoch from '2026-07-29 04:22: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'), 47843, 'SRID=4674;POINT (-40.376054 -2.800319)', '2026-07-29 04:23:16', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375963 -2.800319)'), GeomFromEWKT('SRID=4674;POINT (-40.376054 -2.800319)'))) / (select extract(epoch from '2026-07-29 04:23:16'::timestamp) - extract(epoch from '2026-07-29 04:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375963 -2.800319)'), GeomFromEWKT('SRID=4674;POINT (-40.376054 -2.800319)'))) / (select extract(epoch from '2026-07-29 04:23:16'::timestamp) - extract(epoch from '2026-07-29 04:23:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.376101 -2.800319)', '2026-07-29 04:23:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376054 -2.800319)'), GeomFromEWKT('SRID=4674;POINT (-40.376101 -2.800319)'))) / (select extract(epoch from '2026-07-29 04:23:25'::timestamp) - extract(epoch from '2026-07-29 04:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376054 -2.800319)'), GeomFromEWKT('SRID=4674;POINT (-40.376101 -2.800319)'))) / (select extract(epoch from '2026-07-29 04:23:25'::timestamp) - extract(epoch from '2026-07-29 04:23: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'), 47843, 'SRID=4674;POINT (-40.376187 -2.800295)', '2026-07-29 04:23:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376101 -2.800319)'), GeomFromEWKT('SRID=4674;POINT (-40.376187 -2.800295)'))) / (select extract(epoch from '2026-07-29 04:23:42'::timestamp) - extract(epoch from '2026-07-29 04:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376101 -2.800319)'), GeomFromEWKT('SRID=4674;POINT (-40.376187 -2.800295)'))) / (select extract(epoch from '2026-07-29 04:23:42'::timestamp) - extract(epoch from '2026-07-29 04:23:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.376255 -2.800271)', '2026-07-29 04:23:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376187 -2.800295)'), GeomFromEWKT('SRID=4674;POINT (-40.376255 -2.800271)'))) / (select extract(epoch from '2026-07-29 04:23:57'::timestamp) - extract(epoch from '2026-07-29 04:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376187 -2.800295)'), GeomFromEWKT('SRID=4674;POINT (-40.376255 -2.800271)'))) / (select extract(epoch from '2026-07-29 04:23:57'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.376323 -2.800253)', '2026-07-29 04:24:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376255 -2.800271)'), GeomFromEWKT('SRID=4674;POINT (-40.376323 -2.800253)'))) / (select extract(epoch from '2026-07-29 04:24:08'::timestamp) - extract(epoch from '2026-07-29 04:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376255 -2.800271)'), GeomFromEWKT('SRID=4674;POINT (-40.376323 -2.800253)'))) / (select extract(epoch from '2026-07-29 04:24:08'::timestamp) - extract(epoch from '2026-07-29 04:23:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.37641 -2.800246)', '2026-07-29 04:24:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376323 -2.800253)'), GeomFromEWKT('SRID=4674;POINT (-40.37641 -2.800246)'))) / (select extract(epoch from '2026-07-29 04:24:22'::timestamp) - extract(epoch from '2026-07-29 04:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376323 -2.800253)'), GeomFromEWKT('SRID=4674;POINT (-40.37641 -2.800246)'))) / (select extract(epoch from '2026-07-29 04:24:22'::timestamp) - extract(epoch from '2026-07-29 04:24:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.376469 -2.800239)', '2026-07-29 04:24:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37641 -2.800246)'), GeomFromEWKT('SRID=4674;POINT (-40.376469 -2.800239)'))) / (select extract(epoch from '2026-07-29 04:24:34'::timestamp) - extract(epoch from '2026-07-29 04:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37641 -2.800246)'), GeomFromEWKT('SRID=4674;POINT (-40.376469 -2.800239)'))) / (select extract(epoch from '2026-07-29 04:24:34'::timestamp) - extract(epoch from '2026-07-29 04:24:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.376536 -2.800237)', '2026-07-29 04:24:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376469 -2.800239)'), GeomFromEWKT('SRID=4674;POINT (-40.376536 -2.800237)'))) / (select extract(epoch from '2026-07-29 04:24:45'::timestamp) - extract(epoch from '2026-07-29 04:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376469 -2.800239)'), GeomFromEWKT('SRID=4674;POINT (-40.376536 -2.800237)'))) / (select extract(epoch from '2026-07-29 04:24:45'::timestamp) - extract(epoch from '2026-07-29 04:24: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'), 47843, 'SRID=4674;POINT (-40.3766 -2.800231)', '2026-07-29 04:24:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376536 -2.800237)'), GeomFromEWKT('SRID=4674;POINT (-40.3766 -2.800231)'))) / (select extract(epoch from '2026-07-29 04:24:55'::timestamp) - extract(epoch from '2026-07-29 04:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376536 -2.800237)'), GeomFromEWKT('SRID=4674;POINT (-40.3766 -2.800231)'))) / (select extract(epoch from '2026-07-29 04:24:55'::timestamp) - extract(epoch from '2026-07-29 04:24: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'), 47843, 'SRID=4674;POINT (-40.376664 -2.800229)', '2026-07-29 04:25:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3766 -2.800231)'), GeomFromEWKT('SRID=4674;POINT (-40.376664 -2.800229)'))) / (select extract(epoch from '2026-07-29 04:25:06'::timestamp) - extract(epoch from '2026-07-29 04:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3766 -2.800231)'), GeomFromEWKT('SRID=4674;POINT (-40.376664 -2.800229)'))) / (select extract(epoch from '2026-07-29 04:25:06'::timestamp) - extract(epoch from '2026-07-29 04:24:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.376724 -2.80022)', '2026-07-29 04:25:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376664 -2.800229)'), GeomFromEWKT('SRID=4674;POINT (-40.376724 -2.80022)'))) / (select extract(epoch from '2026-07-29 04:25:17'::timestamp) - extract(epoch from '2026-07-29 04:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376664 -2.800229)'), GeomFromEWKT('SRID=4674;POINT (-40.376724 -2.80022)'))) / (select extract(epoch from '2026-07-29 04:25:17'::timestamp) - extract(epoch from '2026-07-29 04:25:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.376803 -2.800215)', '2026-07-29 04:25:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376724 -2.80022)'), GeomFromEWKT('SRID=4674;POINT (-40.376803 -2.800215)'))) / (select extract(epoch from '2026-07-29 04:25:29'::timestamp) - extract(epoch from '2026-07-29 04:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376724 -2.80022)'), GeomFromEWKT('SRID=4674;POINT (-40.376803 -2.800215)'))) / (select extract(epoch from '2026-07-29 04:25:29'::timestamp) - extract(epoch from '2026-07-29 04:25: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'), 47843, 'SRID=4674;POINT (-40.376872 -2.800218)', '2026-07-29 04:25:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376803 -2.800215)'), GeomFromEWKT('SRID=4674;POINT (-40.376872 -2.800218)'))) / (select extract(epoch from '2026-07-29 04:25:41'::timestamp) - extract(epoch from '2026-07-29 04:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376803 -2.800215)'), GeomFromEWKT('SRID=4674;POINT (-40.376872 -2.800218)'))) / (select extract(epoch from '2026-07-29 04:25:41'::timestamp) - extract(epoch from '2026-07-29 04:25: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'), 47843, 'SRID=4674;POINT (-40.376942 -2.800222)', '2026-07-29 04:25:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376872 -2.800218)'), GeomFromEWKT('SRID=4674;POINT (-40.376942 -2.800222)'))) / (select extract(epoch from '2026-07-29 04:25:52'::timestamp) - extract(epoch from '2026-07-29 04:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376872 -2.800218)'), GeomFromEWKT('SRID=4674;POINT (-40.376942 -2.800222)'))) / (select extract(epoch from '2026-07-29 04:25:52'::timestamp) - extract(epoch from '2026-07-29 04:25:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.377017 -2.800217)', '2026-07-29 04:26:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376942 -2.800222)'), GeomFromEWKT('SRID=4674;POINT (-40.377017 -2.800217)'))) / (select extract(epoch from '2026-07-29 04:26:04'::timestamp) - extract(epoch from '2026-07-29 04:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376942 -2.800222)'), GeomFromEWKT('SRID=4674;POINT (-40.377017 -2.800217)'))) / (select extract(epoch from '2026-07-29 04:26:04'::timestamp) - extract(epoch from '2026-07-29 04:25: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'), 47843, 'SRID=4674;POINT (-40.377081 -2.800215)', '2026-07-29 04:26:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377017 -2.800217)'), GeomFromEWKT('SRID=4674;POINT (-40.377081 -2.800215)'))) / (select extract(epoch from '2026-07-29 04:26:14'::timestamp) - extract(epoch from '2026-07-29 04:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377017 -2.800217)'), GeomFromEWKT('SRID=4674;POINT (-40.377081 -2.800215)'))) / (select extract(epoch from '2026-07-29 04:26:14'::timestamp) - extract(epoch from '2026-07-29 04:26:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.377176 -2.800208)', '2026-07-29 04:26:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377081 -2.800215)'), GeomFromEWKT('SRID=4674;POINT (-40.377176 -2.800208)'))) / (select extract(epoch from '2026-07-29 04:26:30'::timestamp) - extract(epoch from '2026-07-29 04:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377081 -2.800215)'), GeomFromEWKT('SRID=4674;POINT (-40.377176 -2.800208)'))) / (select extract(epoch from '2026-07-29 04:26:30'::timestamp) - extract(epoch from '2026-07-29 04:26:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.377244 -2.800188)', '2026-07-29 04:26:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377176 -2.800208)'), GeomFromEWKT('SRID=4674;POINT (-40.377244 -2.800188)'))) / (select extract(epoch from '2026-07-29 04:26:42'::timestamp) - extract(epoch from '2026-07-29 04:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377176 -2.800208)'), GeomFromEWKT('SRID=4674;POINT (-40.377244 -2.800188)'))) / (select extract(epoch from '2026-07-29 04:26:42'::timestamp) - extract(epoch from '2026-07-29 04:26: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'), 47843, 'SRID=4674;POINT (-40.377303 -2.800178)', '2026-07-29 04:26:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377244 -2.800188)'), GeomFromEWKT('SRID=4674;POINT (-40.377303 -2.800178)'))) / (select extract(epoch from '2026-07-29 04:26:50'::timestamp) - extract(epoch from '2026-07-29 04:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377244 -2.800188)'), GeomFromEWKT('SRID=4674;POINT (-40.377303 -2.800178)'))) / (select extract(epoch from '2026-07-29 04:26:50'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.377408 -2.800183)', '2026-07-29 04:27:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377303 -2.800178)'), GeomFromEWKT('SRID=4674;POINT (-40.377408 -2.800183)'))) / (select extract(epoch from '2026-07-29 04:27:04'::timestamp) - extract(epoch from '2026-07-29 04:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377303 -2.800178)'), GeomFromEWKT('SRID=4674;POINT (-40.377408 -2.800183)'))) / (select extract(epoch from '2026-07-29 04:27:04'::timestamp) - extract(epoch from '2026-07-29 04:26:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.377479 -2.80019)', '2026-07-29 04:27:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377408 -2.800183)'), GeomFromEWKT('SRID=4674;POINT (-40.377479 -2.80019)'))) / (select extract(epoch from '2026-07-29 04:27:13'::timestamp) - extract(epoch from '2026-07-29 04:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377408 -2.800183)'), GeomFromEWKT('SRID=4674;POINT (-40.377479 -2.80019)'))) / (select extract(epoch from '2026-07-29 04:27:13'::timestamp) - extract(epoch from '2026-07-29 04:27:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.377574 -2.800184)', '2026-07-29 04:27:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377479 -2.80019)'), GeomFromEWKT('SRID=4674;POINT (-40.377574 -2.800184)'))) / (select extract(epoch from '2026-07-29 04:27:27'::timestamp) - extract(epoch from '2026-07-29 04:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377479 -2.80019)'), GeomFromEWKT('SRID=4674;POINT (-40.377574 -2.800184)'))) / (select extract(epoch from '2026-07-29 04:27:27'::timestamp) - extract(epoch from '2026-07-29 04:27: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'), 47843, 'SRID=4674;POINT (-40.377677 -2.800182)', '2026-07-29 04:27:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377574 -2.800184)'), GeomFromEWKT('SRID=4674;POINT (-40.377677 -2.800182)'))) / (select extract(epoch from '2026-07-29 04:27:41'::timestamp) - extract(epoch from '2026-07-29 04:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377574 -2.800184)'), GeomFromEWKT('SRID=4674;POINT (-40.377677 -2.800182)'))) / (select extract(epoch from '2026-07-29 04:27:41'::timestamp) - extract(epoch from '2026-07-29 04:27: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'), 47843, 'SRID=4674;POINT (-40.377745 -2.800181)', '2026-07-29 04:27:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377677 -2.800182)'), GeomFromEWKT('SRID=4674;POINT (-40.377745 -2.800181)'))) / (select extract(epoch from '2026-07-29 04:27:55'::timestamp) - extract(epoch from '2026-07-29 04:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377677 -2.800182)'), GeomFromEWKT('SRID=4674;POINT (-40.377745 -2.800181)'))) / (select extract(epoch from '2026-07-29 04:27:55'::timestamp) - extract(epoch from '2026-07-29 04:27: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'), 47843, 'SRID=4674;POINT (-40.377815 -2.800188)', '2026-07-29 04:28:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377745 -2.800181)'), GeomFromEWKT('SRID=4674;POINT (-40.377815 -2.800188)'))) / (select extract(epoch from '2026-07-29 04:28:05'::timestamp) - extract(epoch from '2026-07-29 04:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377745 -2.800181)'), GeomFromEWKT('SRID=4674;POINT (-40.377815 -2.800188)'))) / (select extract(epoch from '2026-07-29 04:28:05'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.377876 -2.80019)', '2026-07-29 04:28:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377815 -2.800188)'), GeomFromEWKT('SRID=4674;POINT (-40.377876 -2.80019)'))) / (select extract(epoch from '2026-07-29 04:28:16'::timestamp) - extract(epoch from '2026-07-29 04:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377815 -2.800188)'), GeomFromEWKT('SRID=4674;POINT (-40.377876 -2.80019)'))) / (select extract(epoch from '2026-07-29 04:28:16'::timestamp) - extract(epoch from '2026-07-29 04:28:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.377943 -2.800184)', '2026-07-29 04:28:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377876 -2.80019)'), GeomFromEWKT('SRID=4674;POINT (-40.377943 -2.800184)'))) / (select extract(epoch from '2026-07-29 04:28:27'::timestamp) - extract(epoch from '2026-07-29 04:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377876 -2.80019)'), GeomFromEWKT('SRID=4674;POINT (-40.377943 -2.800184)'))) / (select extract(epoch from '2026-07-29 04:28:27'::timestamp) - extract(epoch from '2026-07-29 04:28:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.37801 -2.800178)', '2026-07-29 04:28:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377943 -2.800184)'), GeomFromEWKT('SRID=4674;POINT (-40.37801 -2.800178)'))) / (select extract(epoch from '2026-07-29 04:28:40'::timestamp) - extract(epoch from '2026-07-29 04:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377943 -2.800184)'), GeomFromEWKT('SRID=4674;POINT (-40.37801 -2.800178)'))) / (select extract(epoch from '2026-07-29 04:28:40'::timestamp) - extract(epoch from '2026-07-29 04:28:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.378078 -2.800191)', '2026-07-29 04:28:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37801 -2.800178)'), GeomFromEWKT('SRID=4674;POINT (-40.378078 -2.800191)'))) / (select extract(epoch from '2026-07-29 04:28:49'::timestamp) - extract(epoch from '2026-07-29 04:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37801 -2.800178)'), GeomFromEWKT('SRID=4674;POINT (-40.378078 -2.800191)'))) / (select extract(epoch from '2026-07-29 04:28:49'::timestamp) - extract(epoch from '2026-07-29 04:28:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.378144 -2.800187)', '2026-07-29 04:29:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378078 -2.800191)'), GeomFromEWKT('SRID=4674;POINT (-40.378144 -2.800187)'))) / (select extract(epoch from '2026-07-29 04:29:00'::timestamp) - extract(epoch from '2026-07-29 04:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378078 -2.800191)'), GeomFromEWKT('SRID=4674;POINT (-40.378144 -2.800187)'))) / (select extract(epoch from '2026-07-29 04:29:00'::timestamp) - extract(epoch from '2026-07-29 04:28: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'), 47843, 'SRID=4674;POINT (-40.37823 -2.800176)', '2026-07-29 04:29:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378144 -2.800187)'), GeomFromEWKT('SRID=4674;POINT (-40.37823 -2.800176)'))) / (select extract(epoch from '2026-07-29 04:29:12'::timestamp) - extract(epoch from '2026-07-29 04:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378144 -2.800187)'), GeomFromEWKT('SRID=4674;POINT (-40.37823 -2.800176)'))) / (select extract(epoch from '2026-07-29 04:29:12'::timestamp) - extract(epoch from '2026-07-29 04:29:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.3783 -2.800181)', '2026-07-29 04:29:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37823 -2.800176)'), GeomFromEWKT('SRID=4674;POINT (-40.3783 -2.800181)'))) / (select extract(epoch from '2026-07-29 04:29:24'::timestamp) - extract(epoch from '2026-07-29 04:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37823 -2.800176)'), GeomFromEWKT('SRID=4674;POINT (-40.3783 -2.800181)'))) / (select extract(epoch from '2026-07-29 04:29:24'::timestamp) - extract(epoch from '2026-07-29 04:29:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.378395 -2.80018)', '2026-07-29 04:29:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3783 -2.800181)'), GeomFromEWKT('SRID=4674;POINT (-40.378395 -2.80018)'))) / (select extract(epoch from '2026-07-29 04:29:38'::timestamp) - extract(epoch from '2026-07-29 04:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3783 -2.800181)'), GeomFromEWKT('SRID=4674;POINT (-40.378395 -2.80018)'))) / (select extract(epoch from '2026-07-29 04:29:38'::timestamp) - extract(epoch from '2026-07-29 04:29: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'), 47843, 'SRID=4674;POINT (-40.378471 -2.800173)', '2026-07-29 04:29:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378395 -2.80018)'), GeomFromEWKT('SRID=4674;POINT (-40.378471 -2.800173)'))) / (select extract(epoch from '2026-07-29 04:29:51'::timestamp) - extract(epoch from '2026-07-29 04:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378395 -2.80018)'), GeomFromEWKT('SRID=4674;POINT (-40.378471 -2.800173)'))) / (select extract(epoch from '2026-07-29 04:29:51'::timestamp) - extract(epoch from '2026-07-29 04:29:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.378531 -2.800159)', '2026-07-29 04:30:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378471 -2.800173)'), GeomFromEWKT('SRID=4674;POINT (-40.378531 -2.800159)'))) / (select extract(epoch from '2026-07-29 04:30:01'::timestamp) - extract(epoch from '2026-07-29 04:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378471 -2.800173)'), GeomFromEWKT('SRID=4674;POINT (-40.378531 -2.800159)'))) / (select extract(epoch from '2026-07-29 04:30:01'::timestamp) - extract(epoch from '2026-07-29 04:29: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'), 47843, 'SRID=4674;POINT (-40.378589 -2.800155)', '2026-07-29 04:30:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378531 -2.800159)'), GeomFromEWKT('SRID=4674;POINT (-40.378589 -2.800155)'))) / (select extract(epoch from '2026-07-29 04:30:09'::timestamp) - extract(epoch from '2026-07-29 04:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378531 -2.800159)'), GeomFromEWKT('SRID=4674;POINT (-40.378589 -2.800155)'))) / (select extract(epoch from '2026-07-29 04:30:09'::timestamp) - extract(epoch from '2026-07-29 04:30: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'), 47843, 'SRID=4674;POINT (-40.378653 -2.800156)', '2026-07-29 04:30:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378589 -2.800155)'), GeomFromEWKT('SRID=4674;POINT (-40.378653 -2.800156)'))) / (select extract(epoch from '2026-07-29 04:30:17'::timestamp) - extract(epoch from '2026-07-29 04:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378589 -2.800155)'), GeomFromEWKT('SRID=4674;POINT (-40.378653 -2.800156)'))) / (select extract(epoch from '2026-07-29 04:30:17'::timestamp) - extract(epoch from '2026-07-29 04:30:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.378739 -2.800152)', '2026-07-29 04:30:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378653 -2.800156)'), GeomFromEWKT('SRID=4674;POINT (-40.378739 -2.800152)'))) / (select extract(epoch from '2026-07-29 04:30:29'::timestamp) - extract(epoch from '2026-07-29 04:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378653 -2.800156)'), GeomFromEWKT('SRID=4674;POINT (-40.378739 -2.800152)'))) / (select extract(epoch from '2026-07-29 04:30:29'::timestamp) - extract(epoch from '2026-07-29 04:30:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.378814 -2.800148)', '2026-07-29 04:30:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378739 -2.800152)'), GeomFromEWKT('SRID=4674;POINT (-40.378814 -2.800148)'))) / (select extract(epoch from '2026-07-29 04:30:40'::timestamp) - extract(epoch from '2026-07-29 04:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378739 -2.800152)'), GeomFromEWKT('SRID=4674;POINT (-40.378814 -2.800148)'))) / (select extract(epoch from '2026-07-29 04:30:40'::timestamp) - extract(epoch from '2026-07-29 04:30: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'), 47843, 'SRID=4674;POINT (-40.378886 -2.800145)', '2026-07-29 04:30:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378814 -2.800148)'), GeomFromEWKT('SRID=4674;POINT (-40.378886 -2.800145)'))) / (select extract(epoch from '2026-07-29 04:30:51'::timestamp) - extract(epoch from '2026-07-29 04:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378814 -2.800148)'), GeomFromEWKT('SRID=4674;POINT (-40.378886 -2.800145)'))) / (select extract(epoch from '2026-07-29 04:30:51'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.378945 -2.800138)', '2026-07-29 04:31:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378886 -2.800145)'), GeomFromEWKT('SRID=4674;POINT (-40.378945 -2.800138)'))) / (select extract(epoch from '2026-07-29 04:31:00'::timestamp) - extract(epoch from '2026-07-29 04:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378886 -2.800145)'), GeomFromEWKT('SRID=4674;POINT (-40.378945 -2.800138)'))) / (select extract(epoch from '2026-07-29 04:31:00'::timestamp) - extract(epoch from '2026-07-29 04:30:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.378991 -2.800125)', '2026-07-29 04:31:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378945 -2.800138)'), GeomFromEWKT('SRID=4674;POINT (-40.378991 -2.800125)'))) / (select extract(epoch from '2026-07-29 04:31:07'::timestamp) - extract(epoch from '2026-07-29 04:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378945 -2.800138)'), GeomFromEWKT('SRID=4674;POINT (-40.378991 -2.800125)'))) / (select extract(epoch from '2026-07-29 04:31:07'::timestamp) - extract(epoch from '2026-07-29 04:31: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'), 47843, 'SRID=4674;POINT (-40.37906 -2.800119)', '2026-07-29 04:31:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378991 -2.800125)'), GeomFromEWKT('SRID=4674;POINT (-40.37906 -2.800119)'))) / (select extract(epoch from '2026-07-29 04:31:15'::timestamp) - extract(epoch from '2026-07-29 04:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378991 -2.800125)'), GeomFromEWKT('SRID=4674;POINT (-40.37906 -2.800119)'))) / (select extract(epoch from '2026-07-29 04:31:15'::timestamp) - extract(epoch from '2026-07-29 04:31: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'), 47843, 'SRID=4674;POINT (-40.379112 -2.800092)', '2026-07-29 04:31:23', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37906 -2.800119)'), GeomFromEWKT('SRID=4674;POINT (-40.379112 -2.800092)'))) / (select extract(epoch from '2026-07-29 04:31:23'::timestamp) - extract(epoch from '2026-07-29 04:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37906 -2.800119)'), GeomFromEWKT('SRID=4674;POINT (-40.379112 -2.800092)'))) / (select extract(epoch from '2026-07-29 04:31:23'::timestamp) - extract(epoch from '2026-07-29 04:31: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'), 47843, 'SRID=4674;POINT (-40.379187 -2.800072)', '2026-07-29 04:31:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379112 -2.800092)'), GeomFromEWKT('SRID=4674;POINT (-40.379187 -2.800072)'))) / (select extract(epoch from '2026-07-29 04:31:34'::timestamp) - extract(epoch from '2026-07-29 04:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379112 -2.800092)'), GeomFromEWKT('SRID=4674;POINT (-40.379187 -2.800072)'))) / (select extract(epoch from '2026-07-29 04:31:34'::timestamp) - extract(epoch from '2026-07-29 04:31: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'), 47843, 'SRID=4674;POINT (-40.379274 -2.80004)', '2026-07-29 04:31:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379187 -2.800072)'), GeomFromEWKT('SRID=4674;POINT (-40.379274 -2.80004)'))) / (select extract(epoch from '2026-07-29 04:31:47'::timestamp) - extract(epoch from '2026-07-29 04:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379187 -2.800072)'), GeomFromEWKT('SRID=4674;POINT (-40.379274 -2.80004)'))) / (select extract(epoch from '2026-07-29 04:31:47'::timestamp) - extract(epoch from '2026-07-29 04:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.379336 -2.800007)', '2026-07-29 04:31:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379274 -2.80004)'), GeomFromEWKT('SRID=4674;POINT (-40.379336 -2.800007)'))) / (select extract(epoch from '2026-07-29 04:31:59'::timestamp) - extract(epoch from '2026-07-29 04:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379274 -2.80004)'), GeomFromEWKT('SRID=4674;POINT (-40.379336 -2.800007)'))) / (select extract(epoch from '2026-07-29 04:31:59'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.379425 -2.799975)', '2026-07-29 04:32:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379336 -2.800007)'), GeomFromEWKT('SRID=4674;POINT (-40.379425 -2.799975)'))) / (select extract(epoch from '2026-07-29 04:32:14'::timestamp) - extract(epoch from '2026-07-29 04:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379336 -2.800007)'), GeomFromEWKT('SRID=4674;POINT (-40.379425 -2.799975)'))) / (select extract(epoch from '2026-07-29 04:32:14'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.379477 -2.799966)', '2026-07-29 04:32:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379425 -2.799975)'), GeomFromEWKT('SRID=4674;POINT (-40.379477 -2.799966)'))) / (select extract(epoch from '2026-07-29 04:32:23'::timestamp) - extract(epoch from '2026-07-29 04:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379425 -2.799975)'), GeomFromEWKT('SRID=4674;POINT (-40.379477 -2.799966)'))) / (select extract(epoch from '2026-07-29 04:32:23'::timestamp) - extract(epoch from '2026-07-29 04:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.379531 -2.799951)', '2026-07-29 04:32:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379477 -2.799966)'), GeomFromEWKT('SRID=4674;POINT (-40.379531 -2.799951)'))) / (select extract(epoch from '2026-07-29 04:32:36'::timestamp) - extract(epoch from '2026-07-29 04:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379477 -2.799966)'), GeomFromEWKT('SRID=4674;POINT (-40.379531 -2.799951)'))) / (select extract(epoch from '2026-07-29 04:32:36'::timestamp) - extract(epoch from '2026-07-29 04:32: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'), 47843, 'SRID=4674;POINT (-40.379587 -2.799924)', '2026-07-29 04:32:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379531 -2.799951)'), GeomFromEWKT('SRID=4674;POINT (-40.379587 -2.799924)'))) / (select extract(epoch from '2026-07-29 04:32:49'::timestamp) - extract(epoch from '2026-07-29 04:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379531 -2.799951)'), GeomFromEWKT('SRID=4674;POINT (-40.379587 -2.799924)'))) / (select extract(epoch from '2026-07-29 04:32:49'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.379645 -2.799898)', '2026-07-29 04:32:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379587 -2.799924)'), GeomFromEWKT('SRID=4674;POINT (-40.379645 -2.799898)'))) / (select extract(epoch from '2026-07-29 04:32:58'::timestamp) - extract(epoch from '2026-07-29 04:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379587 -2.799924)'), GeomFromEWKT('SRID=4674;POINT (-40.379645 -2.799898)'))) / (select extract(epoch from '2026-07-29 04:32:58'::timestamp) - extract(epoch from '2026-07-29 04:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.379729 -2.799872)', '2026-07-29 04:33:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379645 -2.799898)'), GeomFromEWKT('SRID=4674;POINT (-40.379729 -2.799872)'))) / (select extract(epoch from '2026-07-29 04:33:11'::timestamp) - extract(epoch from '2026-07-29 04:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379645 -2.799898)'), GeomFromEWKT('SRID=4674;POINT (-40.379729 -2.799872)'))) / (select extract(epoch from '2026-07-29 04:33:11'::timestamp) - extract(epoch from '2026-07-29 04:32: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'), 47843, 'SRID=4674;POINT (-40.37976 -2.799847)', '2026-07-29 04:33:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379729 -2.799872)'), GeomFromEWKT('SRID=4674;POINT (-40.37976 -2.799847)'))) / (select extract(epoch from '2026-07-29 04:33:19'::timestamp) - extract(epoch from '2026-07-29 04:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379729 -2.799872)'), GeomFromEWKT('SRID=4674;POINT (-40.37976 -2.799847)'))) / (select extract(epoch from '2026-07-29 04:33:19'::timestamp) - extract(epoch from '2026-07-29 04:33: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'), 47843, 'SRID=4674;POINT (-40.379853 -2.799817)', '2026-07-29 04:33:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37976 -2.799847)'), GeomFromEWKT('SRID=4674;POINT (-40.379853 -2.799817)'))) / (select extract(epoch from '2026-07-29 04:33:33'::timestamp) - extract(epoch from '2026-07-29 04:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37976 -2.799847)'), GeomFromEWKT('SRID=4674;POINT (-40.379853 -2.799817)'))) / (select extract(epoch from '2026-07-29 04:33:33'::timestamp) - extract(epoch from '2026-07-29 04:33:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.379932 -2.799804)', '2026-07-29 04:33:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379853 -2.799817)'), GeomFromEWKT('SRID=4674;POINT (-40.379932 -2.799804)'))) / (select extract(epoch from '2026-07-29 04:33:44'::timestamp) - extract(epoch from '2026-07-29 04:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379853 -2.799817)'), GeomFromEWKT('SRID=4674;POINT (-40.379932 -2.799804)'))) / (select extract(epoch from '2026-07-29 04:33:44'::timestamp) - extract(epoch from '2026-07-29 04:33: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'), 47843, 'SRID=4674;POINT (-40.380017 -2.799811)', '2026-07-29 04:33:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379932 -2.799804)'), GeomFromEWKT('SRID=4674;POINT (-40.380017 -2.799811)'))) / (select extract(epoch from '2026-07-29 04:33:58'::timestamp) - extract(epoch from '2026-07-29 04:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379932 -2.799804)'), GeomFromEWKT('SRID=4674;POINT (-40.380017 -2.799811)'))) / (select extract(epoch from '2026-07-29 04:33:58'::timestamp) - extract(epoch from '2026-07-29 04:33: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'), 47843, 'SRID=4674;POINT (-40.380054 -2.799812)', '2026-07-29 04:34:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380017 -2.799811)'), GeomFromEWKT('SRID=4674;POINT (-40.380054 -2.799812)'))) / (select extract(epoch from '2026-07-29 04:34:04'::timestamp) - extract(epoch from '2026-07-29 04:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380017 -2.799811)'), GeomFromEWKT('SRID=4674;POINT (-40.380054 -2.799812)'))) / (select extract(epoch from '2026-07-29 04:34:04'::timestamp) - extract(epoch from '2026-07-29 04:33:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.380084 -2.799816)', '2026-07-29 04:34:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380054 -2.799812)'), GeomFromEWKT('SRID=4674;POINT (-40.380084 -2.799816)'))) / (select extract(epoch from '2026-07-29 04:34:08'::timestamp) - extract(epoch from '2026-07-29 04:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380054 -2.799812)'), GeomFromEWKT('SRID=4674;POINT (-40.380084 -2.799816)'))) / (select extract(epoch from '2026-07-29 04:34:08'::timestamp) - extract(epoch from '2026-07-29 04:34:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.380152 -2.79981)', '2026-07-29 04:34:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380084 -2.799816)'), GeomFromEWKT('SRID=4674;POINT (-40.380152 -2.79981)'))) / (select extract(epoch from '2026-07-29 04:34:19'::timestamp) - extract(epoch from '2026-07-29 04:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380084 -2.799816)'), GeomFromEWKT('SRID=4674;POINT (-40.380152 -2.79981)'))) / (select extract(epoch from '2026-07-29 04:34:19'::timestamp) - extract(epoch from '2026-07-29 04:34: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'), 47843, 'SRID=4674;POINT (-40.38021 -2.799807)', '2026-07-29 04:34:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380152 -2.79981)'), GeomFromEWKT('SRID=4674;POINT (-40.38021 -2.799807)'))) / (select extract(epoch from '2026-07-29 04:34:28'::timestamp) - extract(epoch from '2026-07-29 04:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380152 -2.79981)'), GeomFromEWKT('SRID=4674;POINT (-40.38021 -2.799807)'))) / (select extract(epoch from '2026-07-29 04:34:28'::timestamp) - extract(epoch from '2026-07-29 04:34: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'), 47843, 'SRID=4674;POINT (-40.380309 -2.799805)', '2026-07-29 04:34:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38021 -2.799807)'), GeomFromEWKT('SRID=4674;POINT (-40.380309 -2.799805)'))) / (select extract(epoch from '2026-07-29 04:34:41'::timestamp) - extract(epoch from '2026-07-29 04:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38021 -2.799807)'), GeomFromEWKT('SRID=4674;POINT (-40.380309 -2.799805)'))) / (select extract(epoch from '2026-07-29 04:34:41'::timestamp) - extract(epoch from '2026-07-29 04:34:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.380416 -2.799803)', '2026-07-29 04:34:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380309 -2.799805)'), GeomFromEWKT('SRID=4674;POINT (-40.380416 -2.799803)'))) / (select extract(epoch from '2026-07-29 04:34:56'::timestamp) - extract(epoch from '2026-07-29 04:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380309 -2.799805)'), GeomFromEWKT('SRID=4674;POINT (-40.380416 -2.799803)'))) / (select extract(epoch from '2026-07-29 04:34:56'::timestamp) - extract(epoch from '2026-07-29 04:34: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'), 47843, 'SRID=4674;POINT (-40.380523 -2.799813)', '2026-07-29 04:35:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380416 -2.799803)'), GeomFromEWKT('SRID=4674;POINT (-40.380523 -2.799813)'))) / (select extract(epoch from '2026-07-29 04:35:11'::timestamp) - extract(epoch from '2026-07-29 04:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380416 -2.799803)'), GeomFromEWKT('SRID=4674;POINT (-40.380523 -2.799813)'))) / (select extract(epoch from '2026-07-29 04:35:11'::timestamp) - extract(epoch from '2026-07-29 04:34:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.380619 -2.799819)', '2026-07-29 04:35:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380523 -2.799813)'), GeomFromEWKT('SRID=4674;POINT (-40.380619 -2.799819)'))) / (select extract(epoch from '2026-07-29 04:35:24'::timestamp) - extract(epoch from '2026-07-29 04:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380523 -2.799813)'), GeomFromEWKT('SRID=4674;POINT (-40.380619 -2.799819)'))) / (select extract(epoch from '2026-07-29 04:35:24'::timestamp) - extract(epoch from '2026-07-29 04:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.380674 -2.799813)', '2026-07-29 04:35:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380619 -2.799819)'), GeomFromEWKT('SRID=4674;POINT (-40.380674 -2.799813)'))) / (select extract(epoch from '2026-07-29 04:35:35'::timestamp) - extract(epoch from '2026-07-29 04:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380619 -2.799819)'), GeomFromEWKT('SRID=4674;POINT (-40.380674 -2.799813)'))) / (select extract(epoch from '2026-07-29 04:35:35'::timestamp) - extract(epoch from '2026-07-29 04:35:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.380732 -2.7998)', '2026-07-29 04:35:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380674 -2.799813)'), GeomFromEWKT('SRID=4674;POINT (-40.380732 -2.7998)'))) / (select extract(epoch from '2026-07-29 04:35:47'::timestamp) - extract(epoch from '2026-07-29 04:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380674 -2.799813)'), GeomFromEWKT('SRID=4674;POINT (-40.380732 -2.7998)'))) / (select extract(epoch from '2026-07-29 04:35:47'::timestamp) - extract(epoch from '2026-07-29 04:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.380827 -2.799801)', '2026-07-29 04:36:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380732 -2.7998)'), GeomFromEWKT('SRID=4674;POINT (-40.380827 -2.799801)'))) / (select extract(epoch from '2026-07-29 04:36:04'::timestamp) - extract(epoch from '2026-07-29 04:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380732 -2.7998)'), GeomFromEWKT('SRID=4674;POINT (-40.380827 -2.799801)'))) / (select extract(epoch from '2026-07-29 04:36:04'::timestamp) - extract(epoch from '2026-07-29 04:35:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.380908 -2.799793)', '2026-07-29 04:36:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380827 -2.799801)'), GeomFromEWKT('SRID=4674;POINT (-40.380908 -2.799793)'))) / (select extract(epoch from '2026-07-29 04:36:20'::timestamp) - extract(epoch from '2026-07-29 04:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380827 -2.799801)'), GeomFromEWKT('SRID=4674;POINT (-40.380908 -2.799793)'))) / (select extract(epoch from '2026-07-29 04:36:20'::timestamp) - extract(epoch from '2026-07-29 04:36: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'), 47843, 'SRID=4674;POINT (-40.380976 -2.799784)', '2026-07-29 04:36:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380908 -2.799793)'), GeomFromEWKT('SRID=4674;POINT (-40.380976 -2.799784)'))) / (select extract(epoch from '2026-07-29 04:36:32'::timestamp) - extract(epoch from '2026-07-29 04:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380908 -2.799793)'), GeomFromEWKT('SRID=4674;POINT (-40.380976 -2.799784)'))) / (select extract(epoch from '2026-07-29 04:36:32'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.381042 -2.799771)', '2026-07-29 04:36:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380976 -2.799784)'), GeomFromEWKT('SRID=4674;POINT (-40.381042 -2.799771)'))) / (select extract(epoch from '2026-07-29 04:36:44'::timestamp) - extract(epoch from '2026-07-29 04:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380976 -2.799784)'), GeomFromEWKT('SRID=4674;POINT (-40.381042 -2.799771)'))) / (select extract(epoch from '2026-07-29 04:36:44'::timestamp) - extract(epoch from '2026-07-29 04:36: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'), 47843, 'SRID=4674;POINT (-40.381109 -2.79977)', '2026-07-29 04:36:55', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381042 -2.799771)'), GeomFromEWKT('SRID=4674;POINT (-40.381109 -2.79977)'))) / (select extract(epoch from '2026-07-29 04:36:55'::timestamp) - extract(epoch from '2026-07-29 04:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381042 -2.799771)'), GeomFromEWKT('SRID=4674;POINT (-40.381109 -2.79977)'))) / (select extract(epoch from '2026-07-29 04:36:55'::timestamp) - extract(epoch from '2026-07-29 04:36:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.381172 -2.799765)', '2026-07-29 04:37:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381109 -2.79977)'), GeomFromEWKT('SRID=4674;POINT (-40.381172 -2.799765)'))) / (select extract(epoch from '2026-07-29 04:37:08'::timestamp) - extract(epoch from '2026-07-29 04:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381109 -2.79977)'), GeomFromEWKT('SRID=4674;POINT (-40.381172 -2.799765)'))) / (select extract(epoch from '2026-07-29 04:37:08'::timestamp) - extract(epoch from '2026-07-29 04:36:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.381231 -2.799762)', '2026-07-29 04:37:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381172 -2.799765)'), GeomFromEWKT('SRID=4674;POINT (-40.381231 -2.799762)'))) / (select extract(epoch from '2026-07-29 04:37:19'::timestamp) - extract(epoch from '2026-07-29 04:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381172 -2.799765)'), GeomFromEWKT('SRID=4674;POINT (-40.381231 -2.799762)'))) / (select extract(epoch from '2026-07-29 04:37:19'::timestamp) - extract(epoch from '2026-07-29 04:37: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'), 47843, 'SRID=4674;POINT (-40.381308 -2.799767)', '2026-07-29 04:37:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381231 -2.799762)'), GeomFromEWKT('SRID=4674;POINT (-40.381308 -2.799767)'))) / (select extract(epoch from '2026-07-29 04:37:31'::timestamp) - extract(epoch from '2026-07-29 04:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381231 -2.799762)'), GeomFromEWKT('SRID=4674;POINT (-40.381308 -2.799767)'))) / (select extract(epoch from '2026-07-29 04:37:31'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.381383 -2.799763)', '2026-07-29 04:37:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381308 -2.799767)'), GeomFromEWKT('SRID=4674;POINT (-40.381383 -2.799763)'))) / (select extract(epoch from '2026-07-29 04:37:44'::timestamp) - extract(epoch from '2026-07-29 04:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381308 -2.799767)'), GeomFromEWKT('SRID=4674;POINT (-40.381383 -2.799763)'))) / (select extract(epoch from '2026-07-29 04:37:44'::timestamp) - extract(epoch from '2026-07-29 04:37:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.381447 -2.799764)', '2026-07-29 04:37:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381383 -2.799763)'), GeomFromEWKT('SRID=4674;POINT (-40.381447 -2.799764)'))) / (select extract(epoch from '2026-07-29 04:37:57'::timestamp) - extract(epoch from '2026-07-29 04:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381383 -2.799763)'), GeomFromEWKT('SRID=4674;POINT (-40.381447 -2.799764)'))) / (select extract(epoch from '2026-07-29 04:37:57'::timestamp) - extract(epoch from '2026-07-29 04:37: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'), 47843, 'SRID=4674;POINT (-40.381516 -2.799755)', '2026-07-29 04:38:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381447 -2.799764)'), GeomFromEWKT('SRID=4674;POINT (-40.381516 -2.799755)'))) / (select extract(epoch from '2026-07-29 04:38:10'::timestamp) - extract(epoch from '2026-07-29 04:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381447 -2.799764)'), GeomFromEWKT('SRID=4674;POINT (-40.381516 -2.799755)'))) / (select extract(epoch from '2026-07-29 04:38:10'::timestamp) - extract(epoch from '2026-07-29 04:37: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'), 47843, 'SRID=4674;POINT (-40.381578 -2.799739)', '2026-07-29 04:38:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381516 -2.799755)'), GeomFromEWKT('SRID=4674;POINT (-40.381578 -2.799739)'))) / (select extract(epoch from '2026-07-29 04:38:21'::timestamp) - extract(epoch from '2026-07-29 04:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381516 -2.799755)'), GeomFromEWKT('SRID=4674;POINT (-40.381578 -2.799739)'))) / (select extract(epoch from '2026-07-29 04:38:21'::timestamp) - extract(epoch from '2026-07-29 04:38:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.381638 -2.799727)', '2026-07-29 04:38:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381578 -2.799739)'), GeomFromEWKT('SRID=4674;POINT (-40.381638 -2.799727)'))) / (select extract(epoch from '2026-07-29 04:38:30'::timestamp) - extract(epoch from '2026-07-29 04:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381578 -2.799739)'), GeomFromEWKT('SRID=4674;POINT (-40.381638 -2.799727)'))) / (select extract(epoch from '2026-07-29 04:38:30'::timestamp) - extract(epoch from '2026-07-29 04:38:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.381721 -2.799721)', '2026-07-29 04:38:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381638 -2.799727)'), GeomFromEWKT('SRID=4674;POINT (-40.381721 -2.799721)'))) / (select extract(epoch from '2026-07-29 04:38:42'::timestamp) - extract(epoch from '2026-07-29 04:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381638 -2.799727)'), GeomFromEWKT('SRID=4674;POINT (-40.381721 -2.799721)'))) / (select extract(epoch from '2026-07-29 04:38:42'::timestamp) - extract(epoch from '2026-07-29 04:38: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'), 47843, 'SRID=4674;POINT (-40.381778 -2.79971)', '2026-07-29 04:38:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381721 -2.799721)'), GeomFromEWKT('SRID=4674;POINT (-40.381778 -2.79971)'))) / (select extract(epoch from '2026-07-29 04:38:52'::timestamp) - extract(epoch from '2026-07-29 04:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381721 -2.799721)'), GeomFromEWKT('SRID=4674;POINT (-40.381778 -2.79971)'))) / (select extract(epoch from '2026-07-29 04:38:52'::timestamp) - extract(epoch from '2026-07-29 04:38:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.38187 -2.7997)', '2026-07-29 04:39:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381778 -2.79971)'), GeomFromEWKT('SRID=4674;POINT (-40.38187 -2.7997)'))) / (select extract(epoch from '2026-07-29 04:39:04'::timestamp) - extract(epoch from '2026-07-29 04:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381778 -2.79971)'), GeomFromEWKT('SRID=4674;POINT (-40.38187 -2.7997)'))) / (select extract(epoch from '2026-07-29 04:39:04'::timestamp) - extract(epoch from '2026-07-29 04:38: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'), 47843, 'SRID=4674;POINT (-40.381968 -2.799691)', '2026-07-29 04:39:17', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38187 -2.7997)'), GeomFromEWKT('SRID=4674;POINT (-40.381968 -2.799691)'))) / (select extract(epoch from '2026-07-29 04:39:17'::timestamp) - extract(epoch from '2026-07-29 04:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38187 -2.7997)'), GeomFromEWKT('SRID=4674;POINT (-40.381968 -2.799691)'))) / (select extract(epoch from '2026-07-29 04:39:17'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.382045 -2.799683)', '2026-07-29 04:39:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381968 -2.799691)'), GeomFromEWKT('SRID=4674;POINT (-40.382045 -2.799683)'))) / (select extract(epoch from '2026-07-29 04:39:29'::timestamp) - extract(epoch from '2026-07-29 04:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381968 -2.799691)'), GeomFromEWKT('SRID=4674;POINT (-40.382045 -2.799683)'))) / (select extract(epoch from '2026-07-29 04:39:29'::timestamp) - extract(epoch from '2026-07-29 04:39:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.382117 -2.799669)', '2026-07-29 04:39:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382045 -2.799683)'), GeomFromEWKT('SRID=4674;POINT (-40.382117 -2.799669)'))) / (select extract(epoch from '2026-07-29 04:39:41'::timestamp) - extract(epoch from '2026-07-29 04:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382045 -2.799683)'), GeomFromEWKT('SRID=4674;POINT (-40.382117 -2.799669)'))) / (select extract(epoch from '2026-07-29 04:39:41'::timestamp) - extract(epoch from '2026-07-29 04:39:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.382178 -2.79967)', '2026-07-29 04:39:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382117 -2.799669)'), GeomFromEWKT('SRID=4674;POINT (-40.382178 -2.79967)'))) / (select extract(epoch from '2026-07-29 04:39:50'::timestamp) - extract(epoch from '2026-07-29 04:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382117 -2.799669)'), GeomFromEWKT('SRID=4674;POINT (-40.382178 -2.79967)'))) / (select extract(epoch from '2026-07-29 04:39:50'::timestamp) - extract(epoch from '2026-07-29 04:39: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'), 47843, 'SRID=4674;POINT (-40.382237 -2.79966)', '2026-07-29 04:40:03', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382178 -2.79967)'), GeomFromEWKT('SRID=4674;POINT (-40.382237 -2.79966)'))) / (select extract(epoch from '2026-07-29 04:40:03'::timestamp) - extract(epoch from '2026-07-29 04:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382178 -2.79967)'), GeomFromEWKT('SRID=4674;POINT (-40.382237 -2.79966)'))) / (select extract(epoch from '2026-07-29 04:40:03'::timestamp) - extract(epoch from '2026-07-29 04:39:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.382308 -2.799645)', '2026-07-29 04:40:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382237 -2.79966)'), GeomFromEWKT('SRID=4674;POINT (-40.382308 -2.799645)'))) / (select extract(epoch from '2026-07-29 04:40:14'::timestamp) - extract(epoch from '2026-07-29 04:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382237 -2.79966)'), GeomFromEWKT('SRID=4674;POINT (-40.382308 -2.799645)'))) / (select extract(epoch from '2026-07-29 04:40:14'::timestamp) - extract(epoch from '2026-07-29 04:40:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.382392 -2.799635)', '2026-07-29 04:40:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382308 -2.799645)'), GeomFromEWKT('SRID=4674;POINT (-40.382392 -2.799635)'))) / (select extract(epoch from '2026-07-29 04:40:29'::timestamp) - extract(epoch from '2026-07-29 04:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382308 -2.799645)'), GeomFromEWKT('SRID=4674;POINT (-40.382392 -2.799635)'))) / (select extract(epoch from '2026-07-29 04:40:29'::timestamp) - extract(epoch from '2026-07-29 04:40: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'), 47843, 'SRID=4674;POINT (-40.38247 -2.799619)', '2026-07-29 04:40:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382392 -2.799635)'), GeomFromEWKT('SRID=4674;POINT (-40.38247 -2.799619)'))) / (select extract(epoch from '2026-07-29 04:40:43'::timestamp) - extract(epoch from '2026-07-29 04:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382392 -2.799635)'), GeomFromEWKT('SRID=4674;POINT (-40.38247 -2.799619)'))) / (select extract(epoch from '2026-07-29 04:40:43'::timestamp) - extract(epoch from '2026-07-29 04:40:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.382536 -2.799618)', '2026-07-29 04:40:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38247 -2.799619)'), GeomFromEWKT('SRID=4674;POINT (-40.382536 -2.799618)'))) / (select extract(epoch from '2026-07-29 04:40:54'::timestamp) - extract(epoch from '2026-07-29 04:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38247 -2.799619)'), GeomFromEWKT('SRID=4674;POINT (-40.382536 -2.799618)'))) / (select extract(epoch from '2026-07-29 04:40:54'::timestamp) - extract(epoch from '2026-07-29 04:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.3826 -2.799612)', '2026-07-29 04:41:04', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382536 -2.799618)'), GeomFromEWKT('SRID=4674;POINT (-40.3826 -2.799612)'))) / (select extract(epoch from '2026-07-29 04:41:04'::timestamp) - extract(epoch from '2026-07-29 04:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382536 -2.799618)'), GeomFromEWKT('SRID=4674;POINT (-40.3826 -2.799612)'))) / (select extract(epoch from '2026-07-29 04:41:04'::timestamp) - extract(epoch from '2026-07-29 04:40:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.382668 -2.799605)', '2026-07-29 04:41:14', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3826 -2.799612)'), GeomFromEWKT('SRID=4674;POINT (-40.382668 -2.799605)'))) / (select extract(epoch from '2026-07-29 04:41:14'::timestamp) - extract(epoch from '2026-07-29 04:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3826 -2.799612)'), GeomFromEWKT('SRID=4674;POINT (-40.382668 -2.799605)'))) / (select extract(epoch from '2026-07-29 04:41:14'::timestamp) - extract(epoch from '2026-07-29 04:41: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'), 47843, 'SRID=4674;POINT (-40.382718 -2.79961)', '2026-07-29 04:41:22', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382668 -2.799605)'), GeomFromEWKT('SRID=4674;POINT (-40.382718 -2.79961)'))) / (select extract(epoch from '2026-07-29 04:41:22'::timestamp) - extract(epoch from '2026-07-29 04:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382668 -2.799605)'), GeomFromEWKT('SRID=4674;POINT (-40.382718 -2.79961)'))) / (select extract(epoch from '2026-07-29 04:41:22'::timestamp) - extract(epoch from '2026-07-29 04:41: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'), 47843, 'SRID=4674;POINT (-40.3828 -2.799594)', '2026-07-29 04:41:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382718 -2.79961)'), GeomFromEWKT('SRID=4674;POINT (-40.3828 -2.799594)'))) / (select extract(epoch from '2026-07-29 04:41:34'::timestamp) - extract(epoch from '2026-07-29 04:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382718 -2.79961)'), GeomFromEWKT('SRID=4674;POINT (-40.3828 -2.799594)'))) / (select extract(epoch from '2026-07-29 04:41:34'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.382862 -2.799589)', '2026-07-29 04:41:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3828 -2.799594)'), GeomFromEWKT('SRID=4674;POINT (-40.382862 -2.799589)'))) / (select extract(epoch from '2026-07-29 04:41:45'::timestamp) - extract(epoch from '2026-07-29 04:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3828 -2.799594)'), GeomFromEWKT('SRID=4674;POINT (-40.382862 -2.799589)'))) / (select extract(epoch from '2026-07-29 04:41:45'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.382937 -2.79959)', '2026-07-29 04:41:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382862 -2.799589)'), GeomFromEWKT('SRID=4674;POINT (-40.382937 -2.79959)'))) / (select extract(epoch from '2026-07-29 04:41:57'::timestamp) - extract(epoch from '2026-07-29 04:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382862 -2.799589)'), GeomFromEWKT('SRID=4674;POINT (-40.382937 -2.79959)'))) / (select extract(epoch from '2026-07-29 04:41:57'::timestamp) - extract(epoch from '2026-07-29 04:41: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'), 47843, 'SRID=4674;POINT (-40.383036 -2.799591)', '2026-07-29 04:42:10', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382937 -2.79959)'), GeomFromEWKT('SRID=4674;POINT (-40.383036 -2.799591)'))) / (select extract(epoch from '2026-07-29 04:42:10'::timestamp) - extract(epoch from '2026-07-29 04:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382937 -2.79959)'), GeomFromEWKT('SRID=4674;POINT (-40.383036 -2.799591)'))) / (select extract(epoch from '2026-07-29 04:42:10'::timestamp) - extract(epoch from '2026-07-29 04:41: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'), 47843, 'SRID=4674;POINT (-40.383085 -2.799585)', '2026-07-29 04:42:17', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383036 -2.799591)'), GeomFromEWKT('SRID=4674;POINT (-40.383085 -2.799585)'))) / (select extract(epoch from '2026-07-29 04:42:17'::timestamp) - extract(epoch from '2026-07-29 04:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383036 -2.799591)'), GeomFromEWKT('SRID=4674;POINT (-40.383085 -2.799585)'))) / (select extract(epoch from '2026-07-29 04:42:17'::timestamp) - extract(epoch from '2026-07-29 04:42: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'), 47843, 'SRID=4674;POINT (-40.383162 -2.79958)', '2026-07-29 04:42:28', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383085 -2.799585)'), GeomFromEWKT('SRID=4674;POINT (-40.383162 -2.79958)'))) / (select extract(epoch from '2026-07-29 04:42:28'::timestamp) - extract(epoch from '2026-07-29 04:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383085 -2.799585)'), GeomFromEWKT('SRID=4674;POINT (-40.383162 -2.79958)'))) / (select extract(epoch from '2026-07-29 04:42:28'::timestamp) - extract(epoch from '2026-07-29 04:42:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.383228 -2.799577)', '2026-07-29 04:42:39', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383162 -2.79958)'), GeomFromEWKT('SRID=4674;POINT (-40.383228 -2.799577)'))) / (select extract(epoch from '2026-07-29 04:42:39'::timestamp) - extract(epoch from '2026-07-29 04:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383162 -2.79958)'), GeomFromEWKT('SRID=4674;POINT (-40.383228 -2.799577)'))) / (select extract(epoch from '2026-07-29 04:42:39'::timestamp) - extract(epoch from '2026-07-29 04:42:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.383299 -2.799575)', '2026-07-29 04:42:51', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383228 -2.799577)'), GeomFromEWKT('SRID=4674;POINT (-40.383299 -2.799575)'))) / (select extract(epoch from '2026-07-29 04:42:51'::timestamp) - extract(epoch from '2026-07-29 04:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383228 -2.799577)'), GeomFromEWKT('SRID=4674;POINT (-40.383299 -2.799575)'))) / (select extract(epoch from '2026-07-29 04:42:51'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.383336 -2.799572)', '2026-07-29 04:43:01', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383299 -2.799575)'), GeomFromEWKT('SRID=4674;POINT (-40.383336 -2.799572)'))) / (select extract(epoch from '2026-07-29 04:43:01'::timestamp) - extract(epoch from '2026-07-29 04:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383299 -2.799575)'), GeomFromEWKT('SRID=4674;POINT (-40.383336 -2.799572)'))) / (select extract(epoch from '2026-07-29 04:43:01'::timestamp) - extract(epoch from '2026-07-29 04:42:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.383381 -2.799582)', '2026-07-29 04:43:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383336 -2.799572)'), GeomFromEWKT('SRID=4674;POINT (-40.383381 -2.799582)'))) / (select extract(epoch from '2026-07-29 04:43:12'::timestamp) - extract(epoch from '2026-07-29 04:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383336 -2.799572)'), GeomFromEWKT('SRID=4674;POINT (-40.383381 -2.799582)'))) / (select extract(epoch from '2026-07-29 04:43:12'::timestamp) - extract(epoch from '2026-07-29 04:43:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.383415 -2.799586)', '2026-07-29 04:43:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383381 -2.799582)'), GeomFromEWKT('SRID=4674;POINT (-40.383415 -2.799586)'))) / (select extract(epoch from '2026-07-29 04:43:22'::timestamp) - extract(epoch from '2026-07-29 04:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383381 -2.799582)'), GeomFromEWKT('SRID=4674;POINT (-40.383415 -2.799586)'))) / (select extract(epoch from '2026-07-29 04:43:22'::timestamp) - extract(epoch from '2026-07-29 04:43:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.383446 -2.799595)', '2026-07-29 04:43:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383415 -2.799586)'), GeomFromEWKT('SRID=4674;POINT (-40.383446 -2.799595)'))) / (select extract(epoch from '2026-07-29 04:43:38'::timestamp) - extract(epoch from '2026-07-29 04:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383415 -2.799586)'), GeomFromEWKT('SRID=4674;POINT (-40.383446 -2.799595)'))) / (select extract(epoch from '2026-07-29 04:43:38'::timestamp) - extract(epoch from '2026-07-29 04:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.38345 -2.799583)', '2026-07-29 04:43:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383446 -2.799595)'), GeomFromEWKT('SRID=4674;POINT (-40.38345 -2.799583)'))) / (select extract(epoch from '2026-07-29 04:43:50'::timestamp) - extract(epoch from '2026-07-29 04:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383446 -2.799595)'), GeomFromEWKT('SRID=4674;POINT (-40.38345 -2.799583)'))) / (select extract(epoch from '2026-07-29 04:43:50'::timestamp) - extract(epoch from '2026-07-29 04:43: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'), 47843, 'SRID=4674;POINT (-40.383446 -2.79957)', '2026-07-29 04:44:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38345 -2.799583)'), GeomFromEWKT('SRID=4674;POINT (-40.383446 -2.79957)'))) / (select extract(epoch from '2026-07-29 04:44:02'::timestamp) - extract(epoch from '2026-07-29 04:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38345 -2.799583)'), GeomFromEWKT('SRID=4674;POINT (-40.383446 -2.79957)'))) / (select extract(epoch from '2026-07-29 04:44:02'::timestamp) - extract(epoch from '2026-07-29 04:43: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'), 47843, 'SRID=4674;POINT (-40.383445 -2.799545)', '2026-07-29 04:44:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383446 -2.79957)'), GeomFromEWKT('SRID=4674;POINT (-40.383445 -2.799545)'))) / (select extract(epoch from '2026-07-29 04:44:16'::timestamp) - extract(epoch from '2026-07-29 04:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383446 -2.79957)'), GeomFromEWKT('SRID=4674;POINT (-40.383445 -2.799545)'))) / (select extract(epoch from '2026-07-29 04:44:16'::timestamp) - extract(epoch from '2026-07-29 04:44: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'), 47843, 'SRID=4674;POINT (-40.38344 -2.799531)', '2026-07-29 04:44:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383445 -2.799545)'), GeomFromEWKT('SRID=4674;POINT (-40.38344 -2.799531)'))) / (select extract(epoch from '2026-07-29 04:44:25'::timestamp) - extract(epoch from '2026-07-29 04:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383445 -2.799545)'), GeomFromEWKT('SRID=4674;POINT (-40.38344 -2.799531)'))) / (select extract(epoch from '2026-07-29 04:44:25'::timestamp) - extract(epoch from '2026-07-29 04: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'), 47843, 'SRID=4674;POINT (-40.383435 -2.799517)', '2026-07-29 04:44:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38344 -2.799531)'), GeomFromEWKT('SRID=4674;POINT (-40.383435 -2.799517)'))) / (select extract(epoch from '2026-07-29 04:44:38'::timestamp) - extract(epoch from '2026-07-29 04:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38344 -2.799531)'), GeomFromEWKT('SRID=4674;POINT (-40.383435 -2.799517)'))) / (select extract(epoch from '2026-07-29 04:44:38'::timestamp) - extract(epoch from '2026-07-29 04:44: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'), 47843, 'SRID=4674;POINT (-40.383427 -2.799512)', '2026-07-29 04:44:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383435 -2.799517)'), GeomFromEWKT('SRID=4674;POINT (-40.383427 -2.799512)'))) / (select extract(epoch from '2026-07-29 04:44:55'::timestamp) - extract(epoch from '2026-07-29 04:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383435 -2.799517)'), GeomFromEWKT('SRID=4674;POINT (-40.383427 -2.799512)'))) / (select extract(epoch from '2026-07-29 04:44:55'::timestamp) - extract(epoch from '2026-07-29 04:44:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.383433 -2.799513)', '2026-07-29 04:45:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383427 -2.799512)'), GeomFromEWKT('SRID=4674;POINT (-40.383433 -2.799513)'))) / (select extract(epoch from '2026-07-29 04:45:09'::timestamp) - extract(epoch from '2026-07-29 04:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383427 -2.799512)'), GeomFromEWKT('SRID=4674;POINT (-40.383433 -2.799513)'))) / (select extract(epoch from '2026-07-29 04:45:09'::timestamp) - extract(epoch from '2026-07-29 04:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.383436 -2.799517)', '2026-07-29 04:45:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383433 -2.799513)'), GeomFromEWKT('SRID=4674;POINT (-40.383436 -2.799517)'))) / (select extract(epoch from '2026-07-29 04:45:24'::timestamp) - extract(epoch from '2026-07-29 04:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383433 -2.799513)'), GeomFromEWKT('SRID=4674;POINT (-40.383436 -2.799517)'))) / (select extract(epoch from '2026-07-29 04:45:24'::timestamp) - extract(epoch from '2026-07-29 04:45:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.383435 -2.799513)', '2026-07-29 04:45:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383436 -2.799517)'), GeomFromEWKT('SRID=4674;POINT (-40.383435 -2.799513)'))) / (select extract(epoch from '2026-07-29 04:45:37'::timestamp) - extract(epoch from '2026-07-29 04:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383436 -2.799517)'), GeomFromEWKT('SRID=4674;POINT (-40.383435 -2.799513)'))) / (select extract(epoch from '2026-07-29 04:45:37'::timestamp) - extract(epoch from '2026-07-29 04:45:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.38343 -2.799502)', '2026-07-29 04:45:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383435 -2.799513)'), GeomFromEWKT('SRID=4674;POINT (-40.38343 -2.799502)'))) / (select extract(epoch from '2026-07-29 04:45:50'::timestamp) - extract(epoch from '2026-07-29 04:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383435 -2.799513)'), GeomFromEWKT('SRID=4674;POINT (-40.38343 -2.799502)'))) / (select extract(epoch from '2026-07-29 04:45:50'::timestamp) - extract(epoch from '2026-07-29 04:45:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.356521 -2.80087)', '2026-07-29 08:51:59', -16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38343 -2.799502)'), GeomFromEWKT('SRID=4674;POINT (-40.356521 -2.80087)'))) / (select extract(epoch from '2026-07-29 08:51:59'::timestamp) - extract(epoch from '2026-07-29 04:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38343 -2.799502)'), GeomFromEWKT('SRID=4674;POINT (-40.356521 -2.80087)'))) / (select extract(epoch from '2026-07-29 08:51:59'::timestamp) - extract(epoch from '2026-07-29 04:45:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.356465 -2.80102)', '2026-07-29 08:52:07', -17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356521 -2.80087)'), GeomFromEWKT('SRID=4674;POINT (-40.356465 -2.80102)'))) / (select extract(epoch from '2026-07-29 08:52:07'::timestamp) - extract(epoch from '2026-07-29 08:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356521 -2.80087)'), GeomFromEWKT('SRID=4674;POINT (-40.356465 -2.80102)'))) / (select extract(epoch from '2026-07-29 08:52:07'::timestamp) - extract(epoch from '2026-07-29 08:51: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'), 47843, 'SRID=4674;POINT (-40.356404 -2.801198)', '2026-07-29 08:52:15', -17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356465 -2.80102)'), GeomFromEWKT('SRID=4674;POINT (-40.356404 -2.801198)'))) / (select extract(epoch from '2026-07-29 08:52:15'::timestamp) - extract(epoch from '2026-07-29 08:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356465 -2.80102)'), GeomFromEWKT('SRID=4674;POINT (-40.356404 -2.801198)'))) / (select extract(epoch from '2026-07-29 08:52:15'::timestamp) - extract(epoch from '2026-07-29 08:52: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'), 47843, 'SRID=4674;POINT (-40.356362 -2.801347)', '2026-07-29 08:52:23', -22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356404 -2.801198)'), GeomFromEWKT('SRID=4674;POINT (-40.356362 -2.801347)'))) / (select extract(epoch from '2026-07-29 08:52:23'::timestamp) - extract(epoch from '2026-07-29 08:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356404 -2.801198)'), GeomFromEWKT('SRID=4674;POINT (-40.356362 -2.801347)'))) / (select extract(epoch from '2026-07-29 08:52:23'::timestamp) - extract(epoch from '2026-07-29 08:52:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.356327 -2.801508)', '2026-07-29 08:52:31', -22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356362 -2.801347)'), GeomFromEWKT('SRID=4674;POINT (-40.356327 -2.801508)'))) / (select extract(epoch from '2026-07-29 08:52:31'::timestamp) - extract(epoch from '2026-07-29 08:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356362 -2.801347)'), GeomFromEWKT('SRID=4674;POINT (-40.356327 -2.801508)'))) / (select extract(epoch from '2026-07-29 08:52:31'::timestamp) - extract(epoch from '2026-07-29 08:52:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.356291 -2.801683)', '2026-07-29 08:52:40', -23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356327 -2.801508)'), GeomFromEWKT('SRID=4674;POINT (-40.356291 -2.801683)'))) / (select extract(epoch from '2026-07-29 08:52:40'::timestamp) - extract(epoch from '2026-07-29 08:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356327 -2.801508)'), GeomFromEWKT('SRID=4674;POINT (-40.356291 -2.801683)'))) / (select extract(epoch from '2026-07-29 08:52:40'::timestamp) - extract(epoch from '2026-07-29 08:52: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'), 47843, 'SRID=4674;POINT (-40.356234 -2.801841)', '2026-07-29 08:52:48', -26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356291 -2.801683)'), GeomFromEWKT('SRID=4674;POINT (-40.356234 -2.801841)'))) / (select extract(epoch from '2026-07-29 08:52:48'::timestamp) - extract(epoch from '2026-07-29 08:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356291 -2.801683)'), GeomFromEWKT('SRID=4674;POINT (-40.356234 -2.801841)'))) / (select extract(epoch from '2026-07-29 08:52:48'::timestamp) - extract(epoch from '2026-07-29 08:52:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.356167 -2.801987)', '2026-07-29 08:52:56', -26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356234 -2.801841)'), GeomFromEWKT('SRID=4674;POINT (-40.356167 -2.801987)'))) / (select extract(epoch from '2026-07-29 08:52:56'::timestamp) - extract(epoch from '2026-07-29 08:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356234 -2.801841)'), GeomFromEWKT('SRID=4674;POINT (-40.356167 -2.801987)'))) / (select extract(epoch from '2026-07-29 08:52:56'::timestamp) - extract(epoch from '2026-07-29 08:52:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.356093 -2.802151)', '2026-07-29 08:53:05', -24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356167 -2.801987)'), GeomFromEWKT('SRID=4674;POINT (-40.356093 -2.802151)'))) / (select extract(epoch from '2026-07-29 08:53:05'::timestamp) - extract(epoch from '2026-07-29 08:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356167 -2.801987)'), GeomFromEWKT('SRID=4674;POINT (-40.356093 -2.802151)'))) / (select extract(epoch from '2026-07-29 08:53:05'::timestamp) - extract(epoch from '2026-07-29 08:52: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'), 47843, 'SRID=4674;POINT (-40.356032 -2.802323)', '2026-07-29 08:53:14', -24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356093 -2.802151)'), GeomFromEWKT('SRID=4674;POINT (-40.356032 -2.802323)'))) / (select extract(epoch from '2026-07-29 08:53:14'::timestamp) - extract(epoch from '2026-07-29 08:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356093 -2.802151)'), GeomFromEWKT('SRID=4674;POINT (-40.356032 -2.802323)'))) / (select extract(epoch from '2026-07-29 08:53:14'::timestamp) - extract(epoch from '2026-07-29 08:53:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355943 -2.802487)', '2026-07-29 08:53:23', -25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356032 -2.802323)'), GeomFromEWKT('SRID=4674;POINT (-40.355943 -2.802487)'))) / (select extract(epoch from '2026-07-29 08:53:23'::timestamp) - extract(epoch from '2026-07-29 08:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356032 -2.802323)'), GeomFromEWKT('SRID=4674;POINT (-40.355943 -2.802487)'))) / (select extract(epoch from '2026-07-29 08:53:23'::timestamp) - extract(epoch from '2026-07-29 08:53: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'), 47843, 'SRID=4674;POINT (-40.355894 -2.802611)', '2026-07-29 08:53:30', -27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355943 -2.802487)'), GeomFromEWKT('SRID=4674;POINT (-40.355894 -2.802611)'))) / (select extract(epoch from '2026-07-29 08:53:30'::timestamp) - extract(epoch from '2026-07-29 08:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355943 -2.802487)'), GeomFromEWKT('SRID=4674;POINT (-40.355894 -2.802611)'))) / (select extract(epoch from '2026-07-29 08:53:30'::timestamp) - extract(epoch from '2026-07-29 08:53: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'), 47843, 'SRID=4674;POINT (-40.355832 -2.80279)', '2026-07-29 08:53:39', -28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355894 -2.802611)'), GeomFromEWKT('SRID=4674;POINT (-40.355832 -2.80279)'))) / (select extract(epoch from '2026-07-29 08:53:39'::timestamp) - extract(epoch from '2026-07-29 08:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355894 -2.802611)'), GeomFromEWKT('SRID=4674;POINT (-40.355832 -2.80279)'))) / (select extract(epoch from '2026-07-29 08:53:39'::timestamp) - extract(epoch from '2026-07-29 08:53:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355756 -2.802941)', '2026-07-29 08:53:48', -28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355832 -2.80279)'), GeomFromEWKT('SRID=4674;POINT (-40.355756 -2.802941)'))) / (select extract(epoch from '2026-07-29 08:53:48'::timestamp) - extract(epoch from '2026-07-29 08:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355832 -2.80279)'), GeomFromEWKT('SRID=4674;POINT (-40.355756 -2.802941)'))) / (select extract(epoch from '2026-07-29 08:53:48'::timestamp) - extract(epoch from '2026-07-29 08: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'), 47843, 'SRID=4674;POINT (-40.355693 -2.803122)', '2026-07-29 08:53:58', -28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355756 -2.802941)'), GeomFromEWKT('SRID=4674;POINT (-40.355693 -2.803122)'))) / (select extract(epoch from '2026-07-29 08:53:58'::timestamp) - extract(epoch from '2026-07-29 08:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355756 -2.802941)'), GeomFromEWKT('SRID=4674;POINT (-40.355693 -2.803122)'))) / (select extract(epoch from '2026-07-29 08:53:58'::timestamp) - extract(epoch from '2026-07-29 08:53: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'), 47843, 'SRID=4674;POINT (-40.355621 -2.803284)', '2026-07-29 08:54:07', -28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355693 -2.803122)'), GeomFromEWKT('SRID=4674;POINT (-40.355621 -2.803284)'))) / (select extract(epoch from '2026-07-29 08:54:07'::timestamp) - extract(epoch from '2026-07-29 08:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355693 -2.803122)'), GeomFromEWKT('SRID=4674;POINT (-40.355621 -2.803284)'))) / (select extract(epoch from '2026-07-29 08:54:07'::timestamp) - extract(epoch from '2026-07-29 08:53:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355548 -2.803442)', '2026-07-29 08:54:16', -27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355621 -2.803284)'), GeomFromEWKT('SRID=4674;POINT (-40.355548 -2.803442)'))) / (select extract(epoch from '2026-07-29 08:54:16'::timestamp) - extract(epoch from '2026-07-29 08:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355621 -2.803284)'), GeomFromEWKT('SRID=4674;POINT (-40.355548 -2.803442)'))) / (select extract(epoch from '2026-07-29 08:54:16'::timestamp) - extract(epoch from '2026-07-29 08:54: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'), 47843, 'SRID=4674;POINT (-40.355454 -2.803596)', '2026-07-29 08:54:25', -24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355548 -2.803442)'), GeomFromEWKT('SRID=4674;POINT (-40.355454 -2.803596)'))) / (select extract(epoch from '2026-07-29 08:54:25'::timestamp) - extract(epoch from '2026-07-29 08:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355548 -2.803442)'), GeomFromEWKT('SRID=4674;POINT (-40.355454 -2.803596)'))) / (select extract(epoch from '2026-07-29 08:54:25'::timestamp) - extract(epoch from '2026-07-29 08:54:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.355379 -2.803722)', '2026-07-29 08:54:33', -22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355454 -2.803596)'), GeomFromEWKT('SRID=4674;POINT (-40.355379 -2.803722)'))) / (select extract(epoch from '2026-07-29 08:54:33'::timestamp) - extract(epoch from '2026-07-29 08:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355454 -2.803596)'), GeomFromEWKT('SRID=4674;POINT (-40.355379 -2.803722)'))) / (select extract(epoch from '2026-07-29 08:54:33'::timestamp) - extract(epoch from '2026-07-29 08:54: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'), 47843, 'SRID=4674;POINT (-40.355314 -2.803827)', '2026-07-29 08:54:40', -20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355379 -2.803722)'), GeomFromEWKT('SRID=4674;POINT (-40.355314 -2.803827)'))) / (select extract(epoch from '2026-07-29 08:54:40'::timestamp) - extract(epoch from '2026-07-29 08:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355379 -2.803722)'), GeomFromEWKT('SRID=4674;POINT (-40.355314 -2.803827)'))) / (select extract(epoch from '2026-07-29 08:54:40'::timestamp) - extract(epoch from '2026-07-29 08: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'), 47843, 'SRID=4674;POINT (-40.355256 -2.80395)', '2026-07-29 08:54:48', -18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355314 -2.803827)'), GeomFromEWKT('SRID=4674;POINT (-40.355256 -2.80395)'))) / (select extract(epoch from '2026-07-29 08:54:48'::timestamp) - extract(epoch from '2026-07-29 08:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355314 -2.803827)'), GeomFromEWKT('SRID=4674;POINT (-40.355256 -2.80395)'))) / (select extract(epoch from '2026-07-29 08:54:48'::timestamp) - extract(epoch from '2026-07-29 08: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'), 47843, 'SRID=4674;POINT (-40.355187 -2.804067)', '2026-07-29 08:54:55', -15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355256 -2.80395)'), GeomFromEWKT('SRID=4674;POINT (-40.355187 -2.804067)'))) / (select extract(epoch from '2026-07-29 08:54:55'::timestamp) - extract(epoch from '2026-07-29 08:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355256 -2.80395)'), GeomFromEWKT('SRID=4674;POINT (-40.355187 -2.804067)'))) / (select extract(epoch from '2026-07-29 08:54:55'::timestamp) - extract(epoch from '2026-07-29 08:54: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'), 47843, 'SRID=4674;POINT (-40.355107 -2.804228)', '2026-07-29 08:55:05', -11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355187 -2.804067)'), GeomFromEWKT('SRID=4674;POINT (-40.355107 -2.804228)'))) / (select extract(epoch from '2026-07-29 08:55:05'::timestamp) - extract(epoch from '2026-07-29 08:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355187 -2.804067)'), GeomFromEWKT('SRID=4674;POINT (-40.355107 -2.804228)'))) / (select extract(epoch from '2026-07-29 08:55:05'::timestamp) - extract(epoch from '2026-07-29 08:54: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'), 47843, 'SRID=4674;POINT (-40.355047 -2.804361)', '2026-07-29 08:55:12', -9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355107 -2.804228)'), GeomFromEWKT('SRID=4674;POINT (-40.355047 -2.804361)'))) / (select extract(epoch from '2026-07-29 08:55:12'::timestamp) - extract(epoch from '2026-07-29 08:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355107 -2.804228)'), GeomFromEWKT('SRID=4674;POINT (-40.355047 -2.804361)'))) / (select extract(epoch from '2026-07-29 08:55:12'::timestamp) - extract(epoch from '2026-07-29 08:55: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'), 47843, 'SRID=4674;POINT (-40.354979 -2.804502)', '2026-07-29 08:55:20', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355047 -2.804361)'), GeomFromEWKT('SRID=4674;POINT (-40.354979 -2.804502)'))) / (select extract(epoch from '2026-07-29 08:55:20'::timestamp) - extract(epoch from '2026-07-29 08:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355047 -2.804361)'), GeomFromEWKT('SRID=4674;POINT (-40.354979 -2.804502)'))) / (select extract(epoch from '2026-07-29 08:55:20'::timestamp) - extract(epoch from '2026-07-29 08:55: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'), 47843, 'SRID=4674;POINT (-40.354898 -2.804655)', '2026-07-29 08:55:29', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354979 -2.804502)'), GeomFromEWKT('SRID=4674;POINT (-40.354898 -2.804655)'))) / (select extract(epoch from '2026-07-29 08:55:29'::timestamp) - extract(epoch from '2026-07-29 08:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354979 -2.804502)'), GeomFromEWKT('SRID=4674;POINT (-40.354898 -2.804655)'))) / (select extract(epoch from '2026-07-29 08:55:29'::timestamp) - extract(epoch from '2026-07-29 08:55:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354796 -2.804763)', '2026-07-29 08:55:37', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354898 -2.804655)'), GeomFromEWKT('SRID=4674;POINT (-40.354796 -2.804763)'))) / (select extract(epoch from '2026-07-29 08:55:37'::timestamp) - extract(epoch from '2026-07-29 08:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354898 -2.804655)'), GeomFromEWKT('SRID=4674;POINT (-40.354796 -2.804763)'))) / (select extract(epoch from '2026-07-29 08:55:37'::timestamp) - extract(epoch from '2026-07-29 08:55: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'), 47843, 'SRID=4674;POINT (-40.354699 -2.804927)', '2026-07-29 08:55:46', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354796 -2.804763)'), GeomFromEWKT('SRID=4674;POINT (-40.354699 -2.804927)'))) / (select extract(epoch from '2026-07-29 08:55:46'::timestamp) - extract(epoch from '2026-07-29 08:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354796 -2.804763)'), GeomFromEWKT('SRID=4674;POINT (-40.354699 -2.804927)'))) / (select extract(epoch from '2026-07-29 08:55:46'::timestamp) - extract(epoch from '2026-07-29 08:55: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'), 47843, 'SRID=4674;POINT (-40.354645 -2.80507)', '2026-07-29 08:55:54', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354699 -2.804927)'), GeomFromEWKT('SRID=4674;POINT (-40.354645 -2.80507)'))) / (select extract(epoch from '2026-07-29 08:55:54'::timestamp) - extract(epoch from '2026-07-29 08:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354699 -2.804927)'), GeomFromEWKT('SRID=4674;POINT (-40.354645 -2.80507)'))) / (select extract(epoch from '2026-07-29 08:55:54'::timestamp) - extract(epoch from '2026-07-29 08:55:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354588 -2.805213)', '2026-07-29 08:56:02', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354645 -2.80507)'), GeomFromEWKT('SRID=4674;POINT (-40.354588 -2.805213)'))) / (select extract(epoch from '2026-07-29 08:56:02'::timestamp) - extract(epoch from '2026-07-29 08:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354645 -2.80507)'), GeomFromEWKT('SRID=4674;POINT (-40.354588 -2.805213)'))) / (select extract(epoch from '2026-07-29 08:56:02'::timestamp) - extract(epoch from '2026-07-29 08:55:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354514 -2.805387)', '2026-07-29 08:56:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354588 -2.805213)'), GeomFromEWKT('SRID=4674;POINT (-40.354514 -2.805387)'))) / (select extract(epoch from '2026-07-29 08:56:11'::timestamp) - extract(epoch from '2026-07-29 08:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354588 -2.805213)'), GeomFromEWKT('SRID=4674;POINT (-40.354514 -2.805387)'))) / (select extract(epoch from '2026-07-29 08:56:11'::timestamp) - extract(epoch from '2026-07-29 08:56:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.354454 -2.80558)', '2026-07-29 08:56:22', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354514 -2.805387)'), GeomFromEWKT('SRID=4674;POINT (-40.354454 -2.80558)'))) / (select extract(epoch from '2026-07-29 08:56:22'::timestamp) - extract(epoch from '2026-07-29 08:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354514 -2.805387)'), GeomFromEWKT('SRID=4674;POINT (-40.354454 -2.80558)'))) / (select extract(epoch from '2026-07-29 08:56:22'::timestamp) - extract(epoch from '2026-07-29 08:56:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47843, 'SRID=4674;POINT (-40.35442 -2.805726)', '2026-07-29 08:56:30', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354454 -2.80558)'), GeomFromEWKT('SRID=4674;POINT (-40.35442 -2.805726)'))) / (select extract(epoch from '2026-07-29 08:56:30'::timestamp) - extract(epoch from '2026-07-29 08:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354454 -2.80558)'), GeomFromEWKT('SRID=4674;POINT (-40.35442 -2.805726)'))) / (select extract(epoch from '2026-07-29 08:56:30'::timestamp) - extract(epoch from '2026-07-29 08:56: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'), 47843, 'SRID=4674;POINT (-40.354371 -2.805861)', '2026-07-29 08:56:36', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35442 -2.805726)'), GeomFromEWKT('SRID=4674;POINT (-40.354371 -2.805861)'))) / (select extract(epoch from '2026-07-29 08:56:36'::timestamp) - extract(epoch from '2026-07-29 08:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35442 -2.805726)'), GeomFromEWKT('SRID=4674;POINT (-40.354371 -2.805861)'))) / (select extract(epoch from '2026-07-29 08:56:36'::timestamp) - extract(epoch from '2026-07-29 08:56: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'), 47843, 'SRID=4674;POINT (-40.354319 -2.805977)', '2026-07-29 08:56:43', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354371 -2.805861)'), GeomFromEWKT('SRID=4674;POINT (-40.354319 -2.805977)'))) / (select extract(epoch from '2026-07-29 08:56:43'::timestamp) - extract(epoch from '2026-07-29 08:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354371 -2.805861)'), GeomFromEWKT('SRID=4674;POINT (-40.354319 -2.805977)'))) / (select extract(epoch from '2026-07-29 08:56:43'::timestamp) - extract(epoch from '2026-07-29 08:56: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'), 47843, 'SRID=4674;POINT (-40.354279 -2.806129)', '2026-07-29 08:56:51', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354319 -2.805977)'), GeomFromEWKT('SRID=4674;POINT (-40.354279 -2.806129)'))) / (select extract(epoch from '2026-07-29 08:56:51'::timestamp) - extract(epoch from '2026-07-29 08:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354319 -2.805977)'), GeomFromEWKT('SRID=4674;POINT (-40.354279 -2.806129)'))) / (select extract(epoch from '2026-07-29 08:56:51'::timestamp) - extract(epoch from '2026-07-29 08:56: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'), 47843, 'SRID=4674;POINT (-40.354225 -2.806313)', '2026-07-29 08:57:00', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354279 -2.806129)'), GeomFromEWKT('SRID=4674;POINT (-40.354225 -2.806313)'))) / (select extract(epoch from '2026-07-29 08:57:00'::timestamp) - extract(epoch from '2026-07-29 08:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354279 -2.806129)'), GeomFromEWKT('SRID=4674;POINT (-40.354225 -2.806313)'))) / (select extract(epoch from '2026-07-29 08:57:00'::timestamp) - extract(epoch from '2026-07-29 08:56: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'), 47843, 'SRID=4674;POINT (-40.354201 -2.806468)', '2026-07-29 08:57:07', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354225 -2.806313)'), GeomFromEWKT('SRID=4674;POINT (-40.354201 -2.806468)'))) / (select extract(epoch from '2026-07-29 08:57:07'::timestamp) - extract(epoch from '2026-07-29 08:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354225 -2.806313)'), GeomFromEWKT('SRID=4674;POINT (-40.354201 -2.806468)'))) / (select extract(epoch from '2026-07-29 08:57:07'::timestamp) - extract(epoch from '2026-07-29 08: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'), 47843, 'SRID=4674;POINT (-40.354165 -2.806684)', '2026-07-29 08:57:18', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354201 -2.806468)'), GeomFromEWKT('SRID=4674;POINT (-40.354165 -2.806684)'))) / (select extract(epoch from '2026-07-29 08:57:18'::timestamp) - extract(epoch from '2026-07-29 08:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354201 -2.806468)'), GeomFromEWKT('SRID=4674;POINT (-40.354165 -2.806684)'))) / (select extract(epoch from '2026-07-29 08:57:18'::timestamp) - extract(epoch from '2026-07-29 08: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'), 47843, 'SRID=4674;POINT (-40.354108 -2.806857)', '2026-07-29 08:57:26', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354165 -2.806684)'), GeomFromEWKT('SRID=4674;POINT (-40.354108 -2.806857)'))) / (select extract(epoch from '2026-07-29 08:57:26'::timestamp) - extract(epoch from '2026-07-29 08:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354165 -2.806684)'), GeomFromEWKT('SRID=4674;POINT (-40.354108 -2.806857)'))) / (select extract(epoch from '2026-07-29 08:57:26'::timestamp) - extract(epoch from '2026-07-29 08:57: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'), 47843, 'SRID=4674;POINT (-40.35411 -2.806981)', '2026-07-29 08:57:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354108 -2.806857)'), GeomFromEWKT('SRID=4674;POINT (-40.35411 -2.806981)'))) / (select extract(epoch from '2026-07-29 08:57:34'::timestamp) - extract(epoch from '2026-07-29 08:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354108 -2.806857)'), GeomFromEWKT('SRID=4674;POINT (-40.35411 -2.806981)'))) / (select extract(epoch from '2026-07-29 08:57:34'::timestamp) - extract(epoch from '2026-07-29 08:57: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'), 47843, 'SRID=4674;POINT (-40.354074 -2.807092)', '2026-07-29 08:57:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35411 -2.806981)'), GeomFromEWKT('SRID=4674;POINT (-40.354074 -2.807092)'))) / (select extract(epoch from '2026-07-29 08:57:41'::timestamp) - extract(epoch from '2026-07-29 08:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35411 -2.806981)'), GeomFromEWKT('SRID=4674;POINT (-40.354074 -2.807092)'))) / (select extract(epoch from '2026-07-29 08:57:41'::timestamp) - extract(epoch from '2026-07-29 08:57:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
