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'), 47812, 'SRID=4674;POINT (-40.356831 -2.807225)', '2026-07-11 05:01:44', 5, 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'), 47812, 'SRID=4674;POINT (-40.356631 -2.807152)', '2026-07-11 05:01:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356831 -2.807225)'), GeomFromEWKT('SRID=4674;POINT (-40.356631 -2.807152)'))) / (select extract(epoch from '2026-07-11 05:01:55'::timestamp) - extract(epoch from '2026-07-11 05:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356831 -2.807225)'), GeomFromEWKT('SRID=4674;POINT (-40.356631 -2.807152)'))) / (select extract(epoch from '2026-07-11 05:01:55'::timestamp) - extract(epoch from '2026-07-11 05:01:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.356462 -2.807074)', '2026-07-11 05:02:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356631 -2.807152)'), GeomFromEWKT('SRID=4674;POINT (-40.356462 -2.807074)'))) / (select extract(epoch from '2026-07-11 05:02:04'::timestamp) - extract(epoch from '2026-07-11 05:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356631 -2.807152)'), GeomFromEWKT('SRID=4674;POINT (-40.356462 -2.807074)'))) / (select extract(epoch from '2026-07-11 05:02:04'::timestamp) - extract(epoch from '2026-07-11 05:01:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.356305 -2.806982)', '2026-07-11 05:02:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356462 -2.807074)'), GeomFromEWKT('SRID=4674;POINT (-40.356305 -2.806982)'))) / (select extract(epoch from '2026-07-11 05:02:13'::timestamp) - extract(epoch from '2026-07-11 05:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356462 -2.807074)'), GeomFromEWKT('SRID=4674;POINT (-40.356305 -2.806982)'))) / (select extract(epoch from '2026-07-11 05:02:13'::timestamp) - extract(epoch from '2026-07-11 05:02:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.356137 -2.806861)', '2026-07-11 05:02:23', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356305 -2.806982)'), GeomFromEWKT('SRID=4674;POINT (-40.356137 -2.806861)'))) / (select extract(epoch from '2026-07-11 05:02:23'::timestamp) - extract(epoch from '2026-07-11 05:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356305 -2.806982)'), GeomFromEWKT('SRID=4674;POINT (-40.356137 -2.806861)'))) / (select extract(epoch from '2026-07-11 05:02:23'::timestamp) - extract(epoch from '2026-07-11 05:02:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.356013 -2.806764)', '2026-07-11 05:02:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356137 -2.806861)'), GeomFromEWKT('SRID=4674;POINT (-40.356013 -2.806764)'))) / (select extract(epoch from '2026-07-11 05:02:31'::timestamp) - extract(epoch from '2026-07-11 05:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356137 -2.806861)'), GeomFromEWKT('SRID=4674;POINT (-40.356013 -2.806764)'))) / (select extract(epoch from '2026-07-11 05:02:31'::timestamp) - extract(epoch from '2026-07-11 05:02: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'), 47812, 'SRID=4674;POINT (-40.355891 -2.806637)', '2026-07-11 05:02:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356013 -2.806764)'), GeomFromEWKT('SRID=4674;POINT (-40.355891 -2.806637)'))) / (select extract(epoch from '2026-07-11 05:02:40'::timestamp) - extract(epoch from '2026-07-11 05:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356013 -2.806764)'), GeomFromEWKT('SRID=4674;POINT (-40.355891 -2.806637)'))) / (select extract(epoch from '2026-07-11 05:02:40'::timestamp) - extract(epoch from '2026-07-11 05:02: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'), 47812, 'SRID=4674;POINT (-40.355772 -2.806504)', '2026-07-11 05:02:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355891 -2.806637)'), GeomFromEWKT('SRID=4674;POINT (-40.355772 -2.806504)'))) / (select extract(epoch from '2026-07-11 05:02:49'::timestamp) - extract(epoch from '2026-07-11 05:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355891 -2.806637)'), GeomFromEWKT('SRID=4674;POINT (-40.355772 -2.806504)'))) / (select extract(epoch from '2026-07-11 05:02:49'::timestamp) - extract(epoch from '2026-07-11 05:02: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'), 47812, 'SRID=4674;POINT (-40.355619 -2.806362)', '2026-07-11 05:02:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355772 -2.806504)'), GeomFromEWKT('SRID=4674;POINT (-40.355619 -2.806362)'))) / (select extract(epoch from '2026-07-11 05:02:59'::timestamp) - extract(epoch from '2026-07-11 05:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355772 -2.806504)'), GeomFromEWKT('SRID=4674;POINT (-40.355619 -2.806362)'))) / (select extract(epoch from '2026-07-11 05:02:59'::timestamp) - extract(epoch from '2026-07-11 05:02: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'), 47812, 'SRID=4674;POINT (-40.355478 -2.806285)', '2026-07-11 05:03:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355619 -2.806362)'), GeomFromEWKT('SRID=4674;POINT (-40.355478 -2.806285)'))) / (select extract(epoch from '2026-07-11 05:03:07'::timestamp) - extract(epoch from '2026-07-11 05:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355619 -2.806362)'), GeomFromEWKT('SRID=4674;POINT (-40.355478 -2.806285)'))) / (select extract(epoch from '2026-07-11 05:03:07'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.355311 -2.806224)', '2026-07-11 05:03:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355478 -2.806285)'), GeomFromEWKT('SRID=4674;POINT (-40.355311 -2.806224)'))) / (select extract(epoch from '2026-07-11 05:03:16'::timestamp) - extract(epoch from '2026-07-11 05:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355478 -2.806285)'), GeomFromEWKT('SRID=4674;POINT (-40.355311 -2.806224)'))) / (select extract(epoch from '2026-07-11 05:03:16'::timestamp) - extract(epoch from '2026-07-11 05:03: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'), 47812, 'SRID=4674;POINT (-40.355143 -2.806169)', '2026-07-11 05:03:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355311 -2.806224)'), GeomFromEWKT('SRID=4674;POINT (-40.355143 -2.806169)'))) / (select extract(epoch from '2026-07-11 05:03:25'::timestamp) - extract(epoch from '2026-07-11 05:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355311 -2.806224)'), GeomFromEWKT('SRID=4674;POINT (-40.355143 -2.806169)'))) / (select extract(epoch from '2026-07-11 05:03:25'::timestamp) - extract(epoch from '2026-07-11 05:03:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.35501 -2.806127)', '2026-07-11 05:03:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355143 -2.806169)'), GeomFromEWKT('SRID=4674;POINT (-40.35501 -2.806127)'))) / (select extract(epoch from '2026-07-11 05:03:32'::timestamp) - extract(epoch from '2026-07-11 05:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355143 -2.806169)'), GeomFromEWKT('SRID=4674;POINT (-40.35501 -2.806127)'))) / (select extract(epoch from '2026-07-11 05:03:32'::timestamp) - extract(epoch from '2026-07-11 05:03: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'), 47812, 'SRID=4674;POINT (-40.354834 -2.806077)', '2026-07-11 05:03:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35501 -2.806127)'), GeomFromEWKT('SRID=4674;POINT (-40.354834 -2.806077)'))) / (select extract(epoch from '2026-07-11 05:03:41'::timestamp) - extract(epoch from '2026-07-11 05:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35501 -2.806127)'), GeomFromEWKT('SRID=4674;POINT (-40.354834 -2.806077)'))) / (select extract(epoch from '2026-07-11 05:03:41'::timestamp) - extract(epoch from '2026-07-11 05:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.35464 -2.806027)', '2026-07-11 05:03:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354834 -2.806077)'), GeomFromEWKT('SRID=4674;POINT (-40.35464 -2.806027)'))) / (select extract(epoch from '2026-07-11 05:03:51'::timestamp) - extract(epoch from '2026-07-11 05:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354834 -2.806077)'), GeomFromEWKT('SRID=4674;POINT (-40.35464 -2.806027)'))) / (select extract(epoch from '2026-07-11 05:03:51'::timestamp) - extract(epoch from '2026-07-11 05:03:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.354485 -2.805982)', '2026-07-11 05:03:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35464 -2.806027)'), GeomFromEWKT('SRID=4674;POINT (-40.354485 -2.805982)'))) / (select extract(epoch from '2026-07-11 05:03:59'::timestamp) - extract(epoch from '2026-07-11 05:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35464 -2.806027)'), GeomFromEWKT('SRID=4674;POINT (-40.354485 -2.805982)'))) / (select extract(epoch from '2026-07-11 05:03:59'::timestamp) - extract(epoch from '2026-07-11 05:03:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.354311 -2.805931)', '2026-07-11 05:04:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354485 -2.805982)'), GeomFromEWKT('SRID=4674;POINT (-40.354311 -2.805931)'))) / (select extract(epoch from '2026-07-11 05:04:08'::timestamp) - extract(epoch from '2026-07-11 05:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354485 -2.805982)'), GeomFromEWKT('SRID=4674;POINT (-40.354311 -2.805931)'))) / (select extract(epoch from '2026-07-11 05:04:08'::timestamp) - extract(epoch from '2026-07-11 05:03: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'), 47812, 'SRID=4674;POINT (-40.354178 -2.805887)', '2026-07-11 05:04:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354311 -2.805931)'), GeomFromEWKT('SRID=4674;POINT (-40.354178 -2.805887)'))) / (select extract(epoch from '2026-07-11 05:04:15'::timestamp) - extract(epoch from '2026-07-11 05:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354311 -2.805931)'), GeomFromEWKT('SRID=4674;POINT (-40.354178 -2.805887)'))) / (select extract(epoch from '2026-07-11 05:04:15'::timestamp) - extract(epoch from '2026-07-11 05:04: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'), 47812, 'SRID=4674;POINT (-40.35397 -2.805815)', '2026-07-11 05:04:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354178 -2.805887)'), GeomFromEWKT('SRID=4674;POINT (-40.35397 -2.805815)'))) / (select extract(epoch from '2026-07-11 05:04:26'::timestamp) - extract(epoch from '2026-07-11 05:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354178 -2.805887)'), GeomFromEWKT('SRID=4674;POINT (-40.35397 -2.805815)'))) / (select extract(epoch from '2026-07-11 05:04:26'::timestamp) - extract(epoch from '2026-07-11 05:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.353807 -2.805739)', '2026-07-11 05:04:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35397 -2.805815)'), GeomFromEWKT('SRID=4674;POINT (-40.353807 -2.805739)'))) / (select extract(epoch from '2026-07-11 05:04:35'::timestamp) - extract(epoch from '2026-07-11 05:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35397 -2.805815)'), GeomFromEWKT('SRID=4674;POINT (-40.353807 -2.805739)'))) / (select extract(epoch from '2026-07-11 05:04:35'::timestamp) - extract(epoch from '2026-07-11 05:04:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.353678 -2.805682)', '2026-07-11 05:04:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353807 -2.805739)'), GeomFromEWKT('SRID=4674;POINT (-40.353678 -2.805682)'))) / (select extract(epoch from '2026-07-11 05:04:42'::timestamp) - extract(epoch from '2026-07-11 05:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353807 -2.805739)'), GeomFromEWKT('SRID=4674;POINT (-40.353678 -2.805682)'))) / (select extract(epoch from '2026-07-11 05:04:42'::timestamp) - extract(epoch from '2026-07-11 05:04: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'), 47812, 'SRID=4674;POINT (-40.353512 -2.805603)', '2026-07-11 05:04:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353678 -2.805682)'), GeomFromEWKT('SRID=4674;POINT (-40.353512 -2.805603)'))) / (select extract(epoch from '2026-07-11 05:04:51'::timestamp) - extract(epoch from '2026-07-11 05:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353678 -2.805682)'), GeomFromEWKT('SRID=4674;POINT (-40.353512 -2.805603)'))) / (select extract(epoch from '2026-07-11 05:04:51'::timestamp) - extract(epoch from '2026-07-11 05:04: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'), 47812, 'SRID=4674;POINT (-40.353325 -2.80552)', '2026-07-11 05:05:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353512 -2.805603)'), GeomFromEWKT('SRID=4674;POINT (-40.353325 -2.80552)'))) / (select extract(epoch from '2026-07-11 05:05:01'::timestamp) - extract(epoch from '2026-07-11 05:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353512 -2.805603)'), GeomFromEWKT('SRID=4674;POINT (-40.353325 -2.80552)'))) / (select extract(epoch from '2026-07-11 05:05:01'::timestamp) - extract(epoch from '2026-07-11 05:04:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.353175 -2.80546)', '2026-07-11 05:05:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353325 -2.80552)'), GeomFromEWKT('SRID=4674;POINT (-40.353175 -2.80546)'))) / (select extract(epoch from '2026-07-11 05:05:09'::timestamp) - extract(epoch from '2026-07-11 05:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353325 -2.80552)'), GeomFromEWKT('SRID=4674;POINT (-40.353175 -2.80546)'))) / (select extract(epoch from '2026-07-11 05:05:09'::timestamp) - extract(epoch from '2026-07-11 05:05: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'), 47812, 'SRID=4674;POINT (-40.353046 -2.805367)', '2026-07-11 05:05:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353175 -2.80546)'), GeomFromEWKT('SRID=4674;POINT (-40.353046 -2.805367)'))) / (select extract(epoch from '2026-07-11 05:05:17'::timestamp) - extract(epoch from '2026-07-11 05:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353175 -2.80546)'), GeomFromEWKT('SRID=4674;POINT (-40.353046 -2.805367)'))) / (select extract(epoch from '2026-07-11 05:05:17'::timestamp) - extract(epoch from '2026-07-11 05:05: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'), 47812, 'SRID=4674;POINT (-40.352873 -2.805263)', '2026-07-11 05:05:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353046 -2.805367)'), GeomFromEWKT('SRID=4674;POINT (-40.352873 -2.805263)'))) / (select extract(epoch from '2026-07-11 05:05:27'::timestamp) - extract(epoch from '2026-07-11 05:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353046 -2.805367)'), GeomFromEWKT('SRID=4674;POINT (-40.352873 -2.805263)'))) / (select extract(epoch from '2026-07-11 05:05:27'::timestamp) - extract(epoch from '2026-07-11 05:05:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.352736 -2.805176)', '2026-07-11 05:05:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352873 -2.805263)'), GeomFromEWKT('SRID=4674;POINT (-40.352736 -2.805176)'))) / (select extract(epoch from '2026-07-11 05:05:35'::timestamp) - extract(epoch from '2026-07-11 05:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352873 -2.805263)'), GeomFromEWKT('SRID=4674;POINT (-40.352736 -2.805176)'))) / (select extract(epoch from '2026-07-11 05:05:35'::timestamp) - extract(epoch from '2026-07-11 05:05: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'), 47812, 'SRID=4674;POINT (-40.352572 -2.805082)', '2026-07-11 05:05:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352736 -2.805176)'), GeomFromEWKT('SRID=4674;POINT (-40.352572 -2.805082)'))) / (select extract(epoch from '2026-07-11 05:05:44'::timestamp) - extract(epoch from '2026-07-11 05:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352736 -2.805176)'), GeomFromEWKT('SRID=4674;POINT (-40.352572 -2.805082)'))) / (select extract(epoch from '2026-07-11 05:05:44'::timestamp) - extract(epoch from '2026-07-11 05:05: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'), 47812, 'SRID=4674;POINT (-40.352377 -2.805008)', '2026-07-11 05:05:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352572 -2.805082)'), GeomFromEWKT('SRID=4674;POINT (-40.352377 -2.805008)'))) / (select extract(epoch from '2026-07-11 05:05:55'::timestamp) - extract(epoch from '2026-07-11 05:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352572 -2.805082)'), GeomFromEWKT('SRID=4674;POINT (-40.352377 -2.805008)'))) / (select extract(epoch from '2026-07-11 05:05:55'::timestamp) - extract(epoch from '2026-07-11 05:05:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.352192 -2.804958)', '2026-07-11 05:06:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352377 -2.805008)'), GeomFromEWKT('SRID=4674;POINT (-40.352192 -2.804958)'))) / (select extract(epoch from '2026-07-11 05:06:05'::timestamp) - extract(epoch from '2026-07-11 05:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352377 -2.805008)'), GeomFromEWKT('SRID=4674;POINT (-40.352192 -2.804958)'))) / (select extract(epoch from '2026-07-11 05:06:05'::timestamp) - extract(epoch from '2026-07-11 05:05: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'), 47812, 'SRID=4674;POINT (-40.352024 -2.804908)', '2026-07-11 05:06:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352192 -2.804958)'), GeomFromEWKT('SRID=4674;POINT (-40.352024 -2.804908)'))) / (select extract(epoch from '2026-07-11 05:06:14'::timestamp) - extract(epoch from '2026-07-11 05:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352192 -2.804958)'), GeomFromEWKT('SRID=4674;POINT (-40.352024 -2.804908)'))) / (select extract(epoch from '2026-07-11 05:06:14'::timestamp) - extract(epoch from '2026-07-11 05:06: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'), 47812, 'SRID=4674;POINT (-40.351833 -2.804838)', '2026-07-11 05:06:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352024 -2.804908)'), GeomFromEWKT('SRID=4674;POINT (-40.351833 -2.804838)'))) / (select extract(epoch from '2026-07-11 05:06:24'::timestamp) - extract(epoch from '2026-07-11 05:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352024 -2.804908)'), GeomFromEWKT('SRID=4674;POINT (-40.351833 -2.804838)'))) / (select extract(epoch from '2026-07-11 05:06:24'::timestamp) - extract(epoch from '2026-07-11 05:06: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'), 47812, 'SRID=4674;POINT (-40.35169 -2.804769)', '2026-07-11 05:06:32', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351833 -2.804838)'), GeomFromEWKT('SRID=4674;POINT (-40.35169 -2.804769)'))) / (select extract(epoch from '2026-07-11 05:06:32'::timestamp) - extract(epoch from '2026-07-11 05:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351833 -2.804838)'), GeomFromEWKT('SRID=4674;POINT (-40.35169 -2.804769)'))) / (select extract(epoch from '2026-07-11 05:06:32'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.351552 -2.804698)', '2026-07-11 05:06:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35169 -2.804769)'), GeomFromEWKT('SRID=4674;POINT (-40.351552 -2.804698)'))) / (select extract(epoch from '2026-07-11 05:06:40'::timestamp) - extract(epoch from '2026-07-11 05:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35169 -2.804769)'), GeomFromEWKT('SRID=4674;POINT (-40.351552 -2.804698)'))) / (select extract(epoch from '2026-07-11 05:06:40'::timestamp) - extract(epoch from '2026-07-11 05:06: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'), 47812, 'SRID=4674;POINT (-40.351367 -2.804581)', '2026-07-11 05:06:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351552 -2.804698)'), GeomFromEWKT('SRID=4674;POINT (-40.351367 -2.804581)'))) / (select extract(epoch from '2026-07-11 05:06:51'::timestamp) - extract(epoch from '2026-07-11 05:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351552 -2.804698)'), GeomFromEWKT('SRID=4674;POINT (-40.351367 -2.804581)'))) / (select extract(epoch from '2026-07-11 05:06:51'::timestamp) - extract(epoch from '2026-07-11 05:06: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'), 47812, 'SRID=4674;POINT (-40.351231 -2.804491)', '2026-07-11 05:06:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351367 -2.804581)'), GeomFromEWKT('SRID=4674;POINT (-40.351231 -2.804491)'))) / (select extract(epoch from '2026-07-11 05:06:59'::timestamp) - extract(epoch from '2026-07-11 05:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351367 -2.804581)'), GeomFromEWKT('SRID=4674;POINT (-40.351231 -2.804491)'))) / (select extract(epoch from '2026-07-11 05:06:59'::timestamp) - extract(epoch from '2026-07-11 05:06: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'), 47812, 'SRID=4674;POINT (-40.351075 -2.804389)', '2026-07-11 05:07:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351231 -2.804491)'), GeomFromEWKT('SRID=4674;POINT (-40.351075 -2.804389)'))) / (select extract(epoch from '2026-07-11 05:07:08'::timestamp) - extract(epoch from '2026-07-11 05:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351231 -2.804491)'), GeomFromEWKT('SRID=4674;POINT (-40.351075 -2.804389)'))) / (select extract(epoch from '2026-07-11 05:07:08'::timestamp) - extract(epoch from '2026-07-11 05:06:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.350892 -2.804299)', '2026-07-11 05:07:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351075 -2.804389)'), GeomFromEWKT('SRID=4674;POINT (-40.350892 -2.804299)'))) / (select extract(epoch from '2026-07-11 05:07:18'::timestamp) - extract(epoch from '2026-07-11 05:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351075 -2.804389)'), GeomFromEWKT('SRID=4674;POINT (-40.350892 -2.804299)'))) / (select extract(epoch from '2026-07-11 05:07:18'::timestamp) - extract(epoch from '2026-07-11 05:07:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.350763 -2.804247)', '2026-07-11 05:07:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350892 -2.804299)'), GeomFromEWKT('SRID=4674;POINT (-40.350763 -2.804247)'))) / (select extract(epoch from '2026-07-11 05:07:25'::timestamp) - extract(epoch from '2026-07-11 05:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350892 -2.804299)'), GeomFromEWKT('SRID=4674;POINT (-40.350763 -2.804247)'))) / (select extract(epoch from '2026-07-11 05:07:25'::timestamp) - extract(epoch from '2026-07-11 05:07:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.35056 -2.804155)', '2026-07-11 05:07:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350763 -2.804247)'), GeomFromEWKT('SRID=4674;POINT (-40.35056 -2.804155)'))) / (select extract(epoch from '2026-07-11 05:07:36'::timestamp) - extract(epoch from '2026-07-11 05:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350763 -2.804247)'), GeomFromEWKT('SRID=4674;POINT (-40.35056 -2.804155)'))) / (select extract(epoch from '2026-07-11 05:07:36'::timestamp) - extract(epoch from '2026-07-11 05:07: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'), 47812, 'SRID=4674;POINT (-40.350353 -2.804061)', '2026-07-11 05:07:47', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35056 -2.804155)'), GeomFromEWKT('SRID=4674;POINT (-40.350353 -2.804061)'))) / (select extract(epoch from '2026-07-11 05:07:47'::timestamp) - extract(epoch from '2026-07-11 05:07:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35056 -2.804155)'), GeomFromEWKT('SRID=4674;POINT (-40.350353 -2.804061)'))) / (select extract(epoch from '2026-07-11 05:07:47'::timestamp) - extract(epoch from '2026-07-11 05:07: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'), 47812, 'SRID=4674;POINT (-40.350168 -2.803973)', '2026-07-11 05:07:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350353 -2.804061)'), GeomFromEWKT('SRID=4674;POINT (-40.350168 -2.803973)'))) / (select extract(epoch from '2026-07-11 05:07:58'::timestamp) - extract(epoch from '2026-07-11 05:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350353 -2.804061)'), GeomFromEWKT('SRID=4674;POINT (-40.350168 -2.803973)'))) / (select extract(epoch from '2026-07-11 05:07:58'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.349991 -2.803885)', '2026-07-11 05:08:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350168 -2.803973)'), GeomFromEWKT('SRID=4674;POINT (-40.349991 -2.803885)'))) / (select extract(epoch from '2026-07-11 05:08:08'::timestamp) - extract(epoch from '2026-07-11 05:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350168 -2.803973)'), GeomFromEWKT('SRID=4674;POINT (-40.349991 -2.803885)'))) / (select extract(epoch from '2026-07-11 05:08:08'::timestamp) - extract(epoch from '2026-07-11 05:07: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'), 47812, 'SRID=4674;POINT (-40.349834 -2.803803)', '2026-07-11 05:08:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349991 -2.803885)'), GeomFromEWKT('SRID=4674;POINT (-40.349834 -2.803803)'))) / (select extract(epoch from '2026-07-11 05:08:17'::timestamp) - extract(epoch from '2026-07-11 05:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349991 -2.803885)'), GeomFromEWKT('SRID=4674;POINT (-40.349834 -2.803803)'))) / (select extract(epoch from '2026-07-11 05:08:17'::timestamp) - extract(epoch from '2026-07-11 05:08: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'), 47812, 'SRID=4674;POINT (-40.349681 -2.803707)', '2026-07-11 05:08:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349834 -2.803803)'), GeomFromEWKT('SRID=4674;POINT (-40.349681 -2.803707)'))) / (select extract(epoch from '2026-07-11 05:08:26'::timestamp) - extract(epoch from '2026-07-11 05:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349834 -2.803803)'), GeomFromEWKT('SRID=4674;POINT (-40.349681 -2.803707)'))) / (select extract(epoch from '2026-07-11 05:08:26'::timestamp) - extract(epoch from '2026-07-11 05:08:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.349549 -2.803609)', '2026-07-11 05:08:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349681 -2.803707)'), GeomFromEWKT('SRID=4674;POINT (-40.349549 -2.803609)'))) / (select extract(epoch from '2026-07-11 05:08:34'::timestamp) - extract(epoch from '2026-07-11 05:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349681 -2.803707)'), GeomFromEWKT('SRID=4674;POINT (-40.349549 -2.803609)'))) / (select extract(epoch from '2026-07-11 05:08:34'::timestamp) - extract(epoch from '2026-07-11 05:08: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'), 47812, 'SRID=4674;POINT (-40.349424 -2.803532)', '2026-07-11 05:08:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349549 -2.803609)'), GeomFromEWKT('SRID=4674;POINT (-40.349424 -2.803532)'))) / (select extract(epoch from '2026-07-11 05:08:41'::timestamp) - extract(epoch from '2026-07-11 05:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349549 -2.803609)'), GeomFromEWKT('SRID=4674;POINT (-40.349424 -2.803532)'))) / (select extract(epoch from '2026-07-11 05:08:41'::timestamp) - extract(epoch from '2026-07-11 05:08:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.349246 -2.803422)', '2026-07-11 05:08:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349424 -2.803532)'), GeomFromEWKT('SRID=4674;POINT (-40.349246 -2.803422)'))) / (select extract(epoch from '2026-07-11 05:08:51'::timestamp) - extract(epoch from '2026-07-11 05:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349424 -2.803532)'), GeomFromEWKT('SRID=4674;POINT (-40.349246 -2.803422)'))) / (select extract(epoch from '2026-07-11 05:08:51'::timestamp) - extract(epoch from '2026-07-11 05:08: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'), 47812, 'SRID=4674;POINT (-40.349062 -2.803334)', '2026-07-11 05:09:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349246 -2.803422)'), GeomFromEWKT('SRID=4674;POINT (-40.349062 -2.803334)'))) / (select extract(epoch from '2026-07-11 05:09:01'::timestamp) - extract(epoch from '2026-07-11 05:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349246 -2.803422)'), GeomFromEWKT('SRID=4674;POINT (-40.349062 -2.803334)'))) / (select extract(epoch from '2026-07-11 05:09:01'::timestamp) - extract(epoch from '2026-07-11 05:08: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'), 47812, 'SRID=4674;POINT (-40.348906 -2.803253)', '2026-07-11 05:09:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349062 -2.803334)'), GeomFromEWKT('SRID=4674;POINT (-40.348906 -2.803253)'))) / (select extract(epoch from '2026-07-11 05:09:10'::timestamp) - extract(epoch from '2026-07-11 05:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349062 -2.803334)'), GeomFromEWKT('SRID=4674;POINT (-40.348906 -2.803253)'))) / (select extract(epoch from '2026-07-11 05:09:10'::timestamp) - extract(epoch from '2026-07-11 05:09: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'), 47812, 'SRID=4674;POINT (-40.348744 -2.803164)', '2026-07-11 05:09:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348906 -2.803253)'), GeomFromEWKT('SRID=4674;POINT (-40.348744 -2.803164)'))) / (select extract(epoch from '2026-07-11 05:09:19'::timestamp) - extract(epoch from '2026-07-11 05:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348906 -2.803253)'), GeomFromEWKT('SRID=4674;POINT (-40.348744 -2.803164)'))) / (select extract(epoch from '2026-07-11 05:09:19'::timestamp) - extract(epoch from '2026-07-11 05:09: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'), 47812, 'SRID=4674;POINT (-40.348568 -2.80307)', '2026-07-11 05:09:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348744 -2.803164)'), GeomFromEWKT('SRID=4674;POINT (-40.348568 -2.80307)'))) / (select extract(epoch from '2026-07-11 05:09:29'::timestamp) - extract(epoch from '2026-07-11 05:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348744 -2.803164)'), GeomFromEWKT('SRID=4674;POINT (-40.348568 -2.80307)'))) / (select extract(epoch from '2026-07-11 05:09:29'::timestamp) - extract(epoch from '2026-07-11 05:09: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'), 47812, 'SRID=4674;POINT (-40.348416 -2.802992)', '2026-07-11 05:09:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348568 -2.80307)'), GeomFromEWKT('SRID=4674;POINT (-40.348416 -2.802992)'))) / (select extract(epoch from '2026-07-11 05:09:38'::timestamp) - extract(epoch from '2026-07-11 05:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348568 -2.80307)'), GeomFromEWKT('SRID=4674;POINT (-40.348416 -2.802992)'))) / (select extract(epoch from '2026-07-11 05:09:38'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.348229 -2.802906)', '2026-07-11 05:09:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348416 -2.802992)'), GeomFromEWKT('SRID=4674;POINT (-40.348229 -2.802906)'))) / (select extract(epoch from '2026-07-11 05:09:48'::timestamp) - extract(epoch from '2026-07-11 05:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348416 -2.802992)'), GeomFromEWKT('SRID=4674;POINT (-40.348229 -2.802906)'))) / (select extract(epoch from '2026-07-11 05:09:48'::timestamp) - extract(epoch from '2026-07-11 05:09: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'), 47812, 'SRID=4674;POINT (-40.348083 -2.802828)', '2026-07-11 05:09:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348229 -2.802906)'), GeomFromEWKT('SRID=4674;POINT (-40.348083 -2.802828)'))) / (select extract(epoch from '2026-07-11 05:09:56'::timestamp) - extract(epoch from '2026-07-11 05:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348229 -2.802906)'), GeomFromEWKT('SRID=4674;POINT (-40.348083 -2.802828)'))) / (select extract(epoch from '2026-07-11 05:09:56'::timestamp) - extract(epoch from '2026-07-11 05:09: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'), 47812, 'SRID=4674;POINT (-40.347919 -2.802743)', '2026-07-11 05:10:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348083 -2.802828)'), GeomFromEWKT('SRID=4674;POINT (-40.347919 -2.802743)'))) / (select extract(epoch from '2026-07-11 05:10:05'::timestamp) - extract(epoch from '2026-07-11 05:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348083 -2.802828)'), GeomFromEWKT('SRID=4674;POINT (-40.347919 -2.802743)'))) / (select extract(epoch from '2026-07-11 05:10:05'::timestamp) - extract(epoch from '2026-07-11 05:09: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'), 47812, 'SRID=4674;POINT (-40.347774 -2.80265)', '2026-07-11 05:10:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347919 -2.802743)'), GeomFromEWKT('SRID=4674;POINT (-40.347774 -2.80265)'))) / (select extract(epoch from '2026-07-11 05:10:14'::timestamp) - extract(epoch from '2026-07-11 05:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347919 -2.802743)'), GeomFromEWKT('SRID=4674;POINT (-40.347774 -2.80265)'))) / (select extract(epoch from '2026-07-11 05:10:14'::timestamp) - extract(epoch from '2026-07-11 05:10: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'), 47812, 'SRID=4674;POINT (-40.347646 -2.802589)', '2026-07-11 05:10:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347774 -2.80265)'), GeomFromEWKT('SRID=4674;POINT (-40.347646 -2.802589)'))) / (select extract(epoch from '2026-07-11 05:10:21'::timestamp) - extract(epoch from '2026-07-11 05:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347774 -2.80265)'), GeomFromEWKT('SRID=4674;POINT (-40.347646 -2.802589)'))) / (select extract(epoch from '2026-07-11 05:10:21'::timestamp) - extract(epoch from '2026-07-11 05:10: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'), 47812, 'SRID=4674;POINT (-40.347503 -2.802532)', '2026-07-11 05:10:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347646 -2.802589)'), GeomFromEWKT('SRID=4674;POINT (-40.347503 -2.802532)'))) / (select extract(epoch from '2026-07-11 05:10:29'::timestamp) - extract(epoch from '2026-07-11 05:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347646 -2.802589)'), GeomFromEWKT('SRID=4674;POINT (-40.347503 -2.802532)'))) / (select extract(epoch from '2026-07-11 05:10:29'::timestamp) - extract(epoch from '2026-07-11 05:10: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'), 47812, 'SRID=4674;POINT (-40.347366 -2.80247)', '2026-07-11 05:10:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347503 -2.802532)'), GeomFromEWKT('SRID=4674;POINT (-40.347366 -2.80247)'))) / (select extract(epoch from '2026-07-11 05:10:37'::timestamp) - extract(epoch from '2026-07-11 05:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347503 -2.802532)'), GeomFromEWKT('SRID=4674;POINT (-40.347366 -2.80247)'))) / (select extract(epoch from '2026-07-11 05:10:37'::timestamp) - extract(epoch from '2026-07-11 05:10: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'), 47812, 'SRID=4674;POINT (-40.347234 -2.802384)', '2026-07-11 05:10:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347366 -2.80247)'), GeomFromEWKT('SRID=4674;POINT (-40.347234 -2.802384)'))) / (select extract(epoch from '2026-07-11 05:10:45'::timestamp) - extract(epoch from '2026-07-11 05:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347366 -2.80247)'), GeomFromEWKT('SRID=4674;POINT (-40.347234 -2.802384)'))) / (select extract(epoch from '2026-07-11 05:10:45'::timestamp) - extract(epoch from '2026-07-11 05:10: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'), 47812, 'SRID=4674;POINT (-40.347086 -2.802296)', '2026-07-11 05:10:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347234 -2.802384)'), GeomFromEWKT('SRID=4674;POINT (-40.347086 -2.802296)'))) / (select extract(epoch from '2026-07-11 05:10:54'::timestamp) - extract(epoch from '2026-07-11 05:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347234 -2.802384)'), GeomFromEWKT('SRID=4674;POINT (-40.347086 -2.802296)'))) / (select extract(epoch from '2026-07-11 05:10:54'::timestamp) - extract(epoch from '2026-07-11 05:10:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.346935 -2.802204)', '2026-07-11 05:11:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347086 -2.802296)'), GeomFromEWKT('SRID=4674;POINT (-40.346935 -2.802204)'))) / (select extract(epoch from '2026-07-11 05:11:03'::timestamp) - extract(epoch from '2026-07-11 05:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347086 -2.802296)'), GeomFromEWKT('SRID=4674;POINT (-40.346935 -2.802204)'))) / (select extract(epoch from '2026-07-11 05:11:03'::timestamp) - extract(epoch from '2026-07-11 05:10: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'), 47812, 'SRID=4674;POINT (-40.346787 -2.802125)', '2026-07-11 05:11:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346935 -2.802204)'), GeomFromEWKT('SRID=4674;POINT (-40.346787 -2.802125)'))) / (select extract(epoch from '2026-07-11 05:11:12'::timestamp) - extract(epoch from '2026-07-11 05:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346935 -2.802204)'), GeomFromEWKT('SRID=4674;POINT (-40.346787 -2.802125)'))) / (select extract(epoch from '2026-07-11 05:11:12'::timestamp) - extract(epoch from '2026-07-11 05:11: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'), 47812, 'SRID=4674;POINT (-40.346616 -2.802071)', '2026-07-11 05:11:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346787 -2.802125)'), GeomFromEWKT('SRID=4674;POINT (-40.346616 -2.802071)'))) / (select extract(epoch from '2026-07-11 05:11:21'::timestamp) - extract(epoch from '2026-07-11 05:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346787 -2.802125)'), GeomFromEWKT('SRID=4674;POINT (-40.346616 -2.802071)'))) / (select extract(epoch from '2026-07-11 05:11:21'::timestamp) - extract(epoch from '2026-07-11 05:11: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'), 47812, 'SRID=4674;POINT (-40.346474 -2.802004)', '2026-07-11 05:11:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346616 -2.802071)'), GeomFromEWKT('SRID=4674;POINT (-40.346474 -2.802004)'))) / (select extract(epoch from '2026-07-11 05:11:29'::timestamp) - extract(epoch from '2026-07-11 05:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346616 -2.802071)'), GeomFromEWKT('SRID=4674;POINT (-40.346474 -2.802004)'))) / (select extract(epoch from '2026-07-11 05:11:29'::timestamp) - extract(epoch from '2026-07-11 05:11: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'), 47812, 'SRID=4674;POINT (-40.346317 -2.801906)', '2026-07-11 05:11:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346474 -2.802004)'), GeomFromEWKT('SRID=4674;POINT (-40.346317 -2.801906)'))) / (select extract(epoch from '2026-07-11 05:11:38'::timestamp) - extract(epoch from '2026-07-11 05:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346474 -2.802004)'), GeomFromEWKT('SRID=4674;POINT (-40.346317 -2.801906)'))) / (select extract(epoch from '2026-07-11 05:11:38'::timestamp) - extract(epoch from '2026-07-11 05:11: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'), 47812, 'SRID=4674;POINT (-40.346134 -2.801774)', '2026-07-11 05:11:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346317 -2.801906)'), GeomFromEWKT('SRID=4674;POINT (-40.346134 -2.801774)'))) / (select extract(epoch from '2026-07-11 05:11:49'::timestamp) - extract(epoch from '2026-07-11 05:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346317 -2.801906)'), GeomFromEWKT('SRID=4674;POINT (-40.346134 -2.801774)'))) / (select extract(epoch from '2026-07-11 05:11:49'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.345977 -2.801643)', '2026-07-11 05:11:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346134 -2.801774)'), GeomFromEWKT('SRID=4674;POINT (-40.345977 -2.801643)'))) / (select extract(epoch from '2026-07-11 05:11:59'::timestamp) - extract(epoch from '2026-07-11 05:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346134 -2.801774)'), GeomFromEWKT('SRID=4674;POINT (-40.345977 -2.801643)'))) / (select extract(epoch from '2026-07-11 05:11:59'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.345872 -2.801529)', '2026-07-11 05:12:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345977 -2.801643)'), GeomFromEWKT('SRID=4674;POINT (-40.345872 -2.801529)'))) / (select extract(epoch from '2026-07-11 05:12:07'::timestamp) - extract(epoch from '2026-07-11 05:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345977 -2.801643)'), GeomFromEWKT('SRID=4674;POINT (-40.345872 -2.801529)'))) / (select extract(epoch from '2026-07-11 05:12:07'::timestamp) - extract(epoch from '2026-07-11 05:11: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'), 47812, 'SRID=4674;POINT (-40.345739 -2.801356)', '2026-07-11 05:12:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345872 -2.801529)'), GeomFromEWKT('SRID=4674;POINT (-40.345739 -2.801356)'))) / (select extract(epoch from '2026-07-11 05:12:18'::timestamp) - extract(epoch from '2026-07-11 05:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345872 -2.801529)'), GeomFromEWKT('SRID=4674;POINT (-40.345739 -2.801356)'))) / (select extract(epoch from '2026-07-11 05:12:18'::timestamp) - extract(epoch from '2026-07-11 05:12: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'), 47812, 'SRID=4674;POINT (-40.345644 -2.801227)', '2026-07-11 05:12:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345739 -2.801356)'), GeomFromEWKT('SRID=4674;POINT (-40.345644 -2.801227)'))) / (select extract(epoch from '2026-07-11 05:12:26'::timestamp) - extract(epoch from '2026-07-11 05:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345739 -2.801356)'), GeomFromEWKT('SRID=4674;POINT (-40.345644 -2.801227)'))) / (select extract(epoch from '2026-07-11 05:12:26'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.345522 -2.801088)', '2026-07-11 05:12:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345644 -2.801227)'), GeomFromEWKT('SRID=4674;POINT (-40.345522 -2.801088)'))) / (select extract(epoch from '2026-07-11 05:12:35'::timestamp) - extract(epoch from '2026-07-11 05:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345644 -2.801227)'), GeomFromEWKT('SRID=4674;POINT (-40.345522 -2.801088)'))) / (select extract(epoch from '2026-07-11 05:12:35'::timestamp) - extract(epoch from '2026-07-11 05:12: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'), 47812, 'SRID=4674;POINT (-40.34542 -2.800993)', '2026-07-11 05:12:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345522 -2.801088)'), GeomFromEWKT('SRID=4674;POINT (-40.34542 -2.800993)'))) / (select extract(epoch from '2026-07-11 05:12:42'::timestamp) - extract(epoch from '2026-07-11 05:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345522 -2.801088)'), GeomFromEWKT('SRID=4674;POINT (-40.34542 -2.800993)'))) / (select extract(epoch from '2026-07-11 05:12:42'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.34529 -2.800861)', '2026-07-11 05:12:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34542 -2.800993)'), GeomFromEWKT('SRID=4674;POINT (-40.34529 -2.800861)'))) / (select extract(epoch from '2026-07-11 05:12:51'::timestamp) - extract(epoch from '2026-07-11 05:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34542 -2.800993)'), GeomFromEWKT('SRID=4674;POINT (-40.34529 -2.800861)'))) / (select extract(epoch from '2026-07-11 05:12:51'::timestamp) - extract(epoch from '2026-07-11 05:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.345168 -2.800726)', '2026-07-11 05:13:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34529 -2.800861)'), GeomFromEWKT('SRID=4674;POINT (-40.345168 -2.800726)'))) / (select extract(epoch from '2026-07-11 05:13:00'::timestamp) - extract(epoch from '2026-07-11 05:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34529 -2.800861)'), GeomFromEWKT('SRID=4674;POINT (-40.345168 -2.800726)'))) / (select extract(epoch from '2026-07-11 05:13:00'::timestamp) - extract(epoch from '2026-07-11 05:12: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'), 47812, 'SRID=4674;POINT (-40.345038 -2.800588)', '2026-07-11 05:13:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345168 -2.800726)'), GeomFromEWKT('SRID=4674;POINT (-40.345038 -2.800588)'))) / (select extract(epoch from '2026-07-11 05:13:10'::timestamp) - extract(epoch from '2026-07-11 05:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345168 -2.800726)'), GeomFromEWKT('SRID=4674;POINT (-40.345038 -2.800588)'))) / (select extract(epoch from '2026-07-11 05:13:10'::timestamp) - extract(epoch from '2026-07-11 05:13:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.344906 -2.800472)', '2026-07-11 05:13:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345038 -2.800588)'), GeomFromEWKT('SRID=4674;POINT (-40.344906 -2.800472)'))) / (select extract(epoch from '2026-07-11 05:13:19'::timestamp) - extract(epoch from '2026-07-11 05:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345038 -2.800588)'), GeomFromEWKT('SRID=4674;POINT (-40.344906 -2.800472)'))) / (select extract(epoch from '2026-07-11 05:13:19'::timestamp) - extract(epoch from '2026-07-11 05:13:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.344761 -2.800341)', '2026-07-11 05:13:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344906 -2.800472)'), GeomFromEWKT('SRID=4674;POINT (-40.344761 -2.800341)'))) / (select extract(epoch from '2026-07-11 05:13:29'::timestamp) - extract(epoch from '2026-07-11 05:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344906 -2.800472)'), GeomFromEWKT('SRID=4674;POINT (-40.344761 -2.800341)'))) / (select extract(epoch from '2026-07-11 05:13:29'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.34463 -2.80021)', '2026-07-11 05:13:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344761 -2.800341)'), GeomFromEWKT('SRID=4674;POINT (-40.34463 -2.80021)'))) / (select extract(epoch from '2026-07-11 05:13:38'::timestamp) - extract(epoch from '2026-07-11 05:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344761 -2.800341)'), GeomFromEWKT('SRID=4674;POINT (-40.34463 -2.80021)'))) / (select extract(epoch from '2026-07-11 05:13:38'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.344486 -2.800087)', '2026-07-11 05:13:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34463 -2.80021)'), GeomFromEWKT('SRID=4674;POINT (-40.344486 -2.800087)'))) / (select extract(epoch from '2026-07-11 05:13:48'::timestamp) - extract(epoch from '2026-07-11 05:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34463 -2.80021)'), GeomFromEWKT('SRID=4674;POINT (-40.344486 -2.800087)'))) / (select extract(epoch from '2026-07-11 05:13:48'::timestamp) - extract(epoch from '2026-07-11 05:13:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.344339 -2.799968)', '2026-07-11 05:13:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344486 -2.800087)'), GeomFromEWKT('SRID=4674;POINT (-40.344339 -2.799968)'))) / (select extract(epoch from '2026-07-11 05:13:58'::timestamp) - extract(epoch from '2026-07-11 05:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344486 -2.800087)'), GeomFromEWKT('SRID=4674;POINT (-40.344339 -2.799968)'))) / (select extract(epoch from '2026-07-11 05:13:58'::timestamp) - extract(epoch from '2026-07-11 05:13: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'), 47812, 'SRID=4674;POINT (-40.3442 -2.799881)', '2026-07-11 05:14:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344339 -2.799968)'), GeomFromEWKT('SRID=4674;POINT (-40.3442 -2.799881)'))) / (select extract(epoch from '2026-07-11 05:14:07'::timestamp) - extract(epoch from '2026-07-11 05:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344339 -2.799968)'), GeomFromEWKT('SRID=4674;POINT (-40.3442 -2.799881)'))) / (select extract(epoch from '2026-07-11 05:14:07'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.344016 -2.799733)', '2026-07-11 05:14:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3442 -2.799881)'), GeomFromEWKT('SRID=4674;POINT (-40.344016 -2.799733)'))) / (select extract(epoch from '2026-07-11 05:14:19'::timestamp) - extract(epoch from '2026-07-11 05:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3442 -2.799881)'), GeomFromEWKT('SRID=4674;POINT (-40.344016 -2.799733)'))) / (select extract(epoch from '2026-07-11 05:14:19'::timestamp) - extract(epoch from '2026-07-11 05:14:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.343884 -2.799606)', '2026-07-11 05:14:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344016 -2.799733)'), GeomFromEWKT('SRID=4674;POINT (-40.343884 -2.799606)'))) / (select extract(epoch from '2026-07-11 05:14:28'::timestamp) - extract(epoch from '2026-07-11 05:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344016 -2.799733)'), GeomFromEWKT('SRID=4674;POINT (-40.343884 -2.799606)'))) / (select extract(epoch from '2026-07-11 05:14:28'::timestamp) - extract(epoch from '2026-07-11 05:14: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'), 47812, 'SRID=4674;POINT (-40.343744 -2.799455)', '2026-07-11 05:14:38', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343884 -2.799606)'), GeomFromEWKT('SRID=4674;POINT (-40.343744 -2.799455)'))) / (select extract(epoch from '2026-07-11 05:14:38'::timestamp) - extract(epoch from '2026-07-11 05:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343884 -2.799606)'), GeomFromEWKT('SRID=4674;POINT (-40.343744 -2.799455)'))) / (select extract(epoch from '2026-07-11 05:14:38'::timestamp) - extract(epoch from '2026-07-11 05:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.34361 -2.799322)', '2026-07-11 05:14:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343744 -2.799455)'), GeomFromEWKT('SRID=4674;POINT (-40.34361 -2.799322)'))) / (select extract(epoch from '2026-07-11 05:14:48'::timestamp) - extract(epoch from '2026-07-11 05:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343744 -2.799455)'), GeomFromEWKT('SRID=4674;POINT (-40.34361 -2.799322)'))) / (select extract(epoch from '2026-07-11 05:14:48'::timestamp) - extract(epoch from '2026-07-11 05:14: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'), 47812, 'SRID=4674;POINT (-40.343488 -2.799224)', '2026-07-11 05:14:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34361 -2.799322)'), GeomFromEWKT('SRID=4674;POINT (-40.343488 -2.799224)'))) / (select extract(epoch from '2026-07-11 05:14:56'::timestamp) - extract(epoch from '2026-07-11 05:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34361 -2.799322)'), GeomFromEWKT('SRID=4674;POINT (-40.343488 -2.799224)'))) / (select extract(epoch from '2026-07-11 05:14:56'::timestamp) - extract(epoch from '2026-07-11 05:14:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.343332 -2.799086)', '2026-07-11 05:15:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343488 -2.799224)'), GeomFromEWKT('SRID=4674;POINT (-40.343332 -2.799086)'))) / (select extract(epoch from '2026-07-11 05:15:07'::timestamp) - extract(epoch from '2026-07-11 05:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343488 -2.799224)'), GeomFromEWKT('SRID=4674;POINT (-40.343332 -2.799086)'))) / (select extract(epoch from '2026-07-11 05:15:07'::timestamp) - extract(epoch from '2026-07-11 05:14:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.34323 -2.798999)', '2026-07-11 05:15:14', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343332 -2.799086)'), GeomFromEWKT('SRID=4674;POINT (-40.34323 -2.798999)'))) / (select extract(epoch from '2026-07-11 05:15:14'::timestamp) - extract(epoch from '2026-07-11 05:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343332 -2.799086)'), GeomFromEWKT('SRID=4674;POINT (-40.34323 -2.798999)'))) / (select extract(epoch from '2026-07-11 05:15:14'::timestamp) - extract(epoch from '2026-07-11 05:15:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.34307 -2.798904)', '2026-07-11 05:15:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34323 -2.798999)'), GeomFromEWKT('SRID=4674;POINT (-40.34307 -2.798904)'))) / (select extract(epoch from '2026-07-11 05:15:24'::timestamp) - extract(epoch from '2026-07-11 05:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34323 -2.798999)'), GeomFromEWKT('SRID=4674;POINT (-40.34307 -2.798904)'))) / (select extract(epoch from '2026-07-11 05:15:24'::timestamp) - extract(epoch from '2026-07-11 05:15: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'), 47812, 'SRID=4674;POINT (-40.342902 -2.798812)', '2026-07-11 05:15:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34307 -2.798904)'), GeomFromEWKT('SRID=4674;POINT (-40.342902 -2.798812)'))) / (select extract(epoch from '2026-07-11 05:15:34'::timestamp) - extract(epoch from '2026-07-11 05:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34307 -2.798904)'), GeomFromEWKT('SRID=4674;POINT (-40.342902 -2.798812)'))) / (select extract(epoch from '2026-07-11 05:15:34'::timestamp) - extract(epoch from '2026-07-11 05:15:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.342743 -2.798725)', '2026-07-11 05:15:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342902 -2.798812)'), GeomFromEWKT('SRID=4674;POINT (-40.342743 -2.798725)'))) / (select extract(epoch from '2026-07-11 05:15:43'::timestamp) - extract(epoch from '2026-07-11 05:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342902 -2.798812)'), GeomFromEWKT('SRID=4674;POINT (-40.342743 -2.798725)'))) / (select extract(epoch from '2026-07-11 05:15:43'::timestamp) - extract(epoch from '2026-07-11 05:15:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.342554 -2.798612)', '2026-07-11 05:15:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342743 -2.798725)'), GeomFromEWKT('SRID=4674;POINT (-40.342554 -2.798612)'))) / (select extract(epoch from '2026-07-11 05:15:54'::timestamp) - extract(epoch from '2026-07-11 05:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342743 -2.798725)'), GeomFromEWKT('SRID=4674;POINT (-40.342554 -2.798612)'))) / (select extract(epoch from '2026-07-11 05:15:54'::timestamp) - extract(epoch from '2026-07-11 05:15: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'), 47812, 'SRID=4674;POINT (-40.342354 -2.798484)', '2026-07-11 05:16:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342554 -2.798612)'), GeomFromEWKT('SRID=4674;POINT (-40.342354 -2.798484)'))) / (select extract(epoch from '2026-07-11 05:16:06'::timestamp) - extract(epoch from '2026-07-11 05:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342554 -2.798612)'), GeomFromEWKT('SRID=4674;POINT (-40.342354 -2.798484)'))) / (select extract(epoch from '2026-07-11 05:16:06'::timestamp) - extract(epoch from '2026-07-11 05:15: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'), 47812, 'SRID=4674;POINT (-40.342217 -2.798409)', '2026-07-11 05:16:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342354 -2.798484)'), GeomFromEWKT('SRID=4674;POINT (-40.342217 -2.798409)'))) / (select extract(epoch from '2026-07-11 05:16:14'::timestamp) - extract(epoch from '2026-07-11 05:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342354 -2.798484)'), GeomFromEWKT('SRID=4674;POINT (-40.342217 -2.798409)'))) / (select extract(epoch from '2026-07-11 05:16:14'::timestamp) - extract(epoch from '2026-07-11 05:16:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.342086 -2.798358)', '2026-07-11 05:16:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342217 -2.798409)'), GeomFromEWKT('SRID=4674;POINT (-40.342086 -2.798358)'))) / (select extract(epoch from '2026-07-11 05:16:22'::timestamp) - extract(epoch from '2026-07-11 05:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342217 -2.798409)'), GeomFromEWKT('SRID=4674;POINT (-40.342086 -2.798358)'))) / (select extract(epoch from '2026-07-11 05:16:22'::timestamp) - extract(epoch from '2026-07-11 05:16:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.341965 -2.798312)', '2026-07-11 05:16:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342086 -2.798358)'), GeomFromEWKT('SRID=4674;POINT (-40.341965 -2.798312)'))) / (select extract(epoch from '2026-07-11 05:16:29'::timestamp) - extract(epoch from '2026-07-11 05:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342086 -2.798358)'), GeomFromEWKT('SRID=4674;POINT (-40.341965 -2.798312)'))) / (select extract(epoch from '2026-07-11 05:16:29'::timestamp) - extract(epoch from '2026-07-11 05:16:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.341805 -2.79824)', '2026-07-11 05:16:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341965 -2.798312)'), GeomFromEWKT('SRID=4674;POINT (-40.341805 -2.79824)'))) / (select extract(epoch from '2026-07-11 05:16:38'::timestamp) - extract(epoch from '2026-07-11 05:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341965 -2.798312)'), GeomFromEWKT('SRID=4674;POINT (-40.341805 -2.79824)'))) / (select extract(epoch from '2026-07-11 05:16:38'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.341662 -2.798187)', '2026-07-11 05:16:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341805 -2.79824)'), GeomFromEWKT('SRID=4674;POINT (-40.341662 -2.798187)'))) / (select extract(epoch from '2026-07-11 05:16:46'::timestamp) - extract(epoch from '2026-07-11 05:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341805 -2.79824)'), GeomFromEWKT('SRID=4674;POINT (-40.341662 -2.798187)'))) / (select extract(epoch from '2026-07-11 05:16:46'::timestamp) - extract(epoch from '2026-07-11 05:16:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.341472 -2.798121)', '2026-07-11 05:16:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341662 -2.798187)'), GeomFromEWKT('SRID=4674;POINT (-40.341472 -2.798121)'))) / (select extract(epoch from '2026-07-11 05:16:56'::timestamp) - extract(epoch from '2026-07-11 05:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341662 -2.798187)'), GeomFromEWKT('SRID=4674;POINT (-40.341472 -2.798121)'))) / (select extract(epoch from '2026-07-11 05:16:56'::timestamp) - extract(epoch from '2026-07-11 05:16: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'), 47812, 'SRID=4674;POINT (-40.341325 -2.798085)', '2026-07-11 05:17:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341472 -2.798121)'), GeomFromEWKT('SRID=4674;POINT (-40.341325 -2.798085)'))) / (select extract(epoch from '2026-07-11 05:17:04'::timestamp) - extract(epoch from '2026-07-11 05:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341472 -2.798121)'), GeomFromEWKT('SRID=4674;POINT (-40.341325 -2.798085)'))) / (select extract(epoch from '2026-07-11 05:17:04'::timestamp) - extract(epoch from '2026-07-11 05:16:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.341147 -2.798014)', '2026-07-11 05:17:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341325 -2.798085)'), GeomFromEWKT('SRID=4674;POINT (-40.341147 -2.798014)'))) / (select extract(epoch from '2026-07-11 05:17:14'::timestamp) - extract(epoch from '2026-07-11 05:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341325 -2.798085)'), GeomFromEWKT('SRID=4674;POINT (-40.341147 -2.798014)'))) / (select extract(epoch from '2026-07-11 05:17:14'::timestamp) - extract(epoch from '2026-07-11 05:17: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'), 47812, 'SRID=4674;POINT (-40.340975 -2.797971)', '2026-07-11 05:17:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341147 -2.798014)'), GeomFromEWKT('SRID=4674;POINT (-40.340975 -2.797971)'))) / (select extract(epoch from '2026-07-11 05:17:23'::timestamp) - extract(epoch from '2026-07-11 05:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341147 -2.798014)'), GeomFromEWKT('SRID=4674;POINT (-40.340975 -2.797971)'))) / (select extract(epoch from '2026-07-11 05:17:23'::timestamp) - extract(epoch from '2026-07-11 05:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.340794 -2.797931)', '2026-07-11 05:17:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340975 -2.797971)'), GeomFromEWKT('SRID=4674;POINT (-40.340794 -2.797931)'))) / (select extract(epoch from '2026-07-11 05:17:33'::timestamp) - extract(epoch from '2026-07-11 05:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340975 -2.797971)'), GeomFromEWKT('SRID=4674;POINT (-40.340794 -2.797931)'))) / (select extract(epoch from '2026-07-11 05:17:33'::timestamp) - extract(epoch from '2026-07-11 05:17: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'), 47812, 'SRID=4674;POINT (-40.340663 -2.797915)', '2026-07-11 05:17:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340794 -2.797931)'), GeomFromEWKT('SRID=4674;POINT (-40.340663 -2.797915)'))) / (select extract(epoch from '2026-07-11 05:17:40'::timestamp) - extract(epoch from '2026-07-11 05:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340794 -2.797931)'), GeomFromEWKT('SRID=4674;POINT (-40.340663 -2.797915)'))) / (select extract(epoch from '2026-07-11 05:17:40'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.34046 -2.79788)', '2026-07-11 05:17:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340663 -2.797915)'), GeomFromEWKT('SRID=4674;POINT (-40.34046 -2.79788)'))) / (select extract(epoch from '2026-07-11 05:17:51'::timestamp) - extract(epoch from '2026-07-11 05:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340663 -2.797915)'), GeomFromEWKT('SRID=4674;POINT (-40.34046 -2.79788)'))) / (select extract(epoch from '2026-07-11 05:17:51'::timestamp) - extract(epoch from '2026-07-11 05:17:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.340266 -2.797839)', '2026-07-11 05:18:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34046 -2.79788)'), GeomFromEWKT('SRID=4674;POINT (-40.340266 -2.797839)'))) / (select extract(epoch from '2026-07-11 05:18:01'::timestamp) - extract(epoch from '2026-07-11 05:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34046 -2.79788)'), GeomFromEWKT('SRID=4674;POINT (-40.340266 -2.797839)'))) / (select extract(epoch from '2026-07-11 05:18:01'::timestamp) - extract(epoch from '2026-07-11 05:17: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'), 47812, 'SRID=4674;POINT (-40.340108 -2.797811)', '2026-07-11 05:18:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340266 -2.797839)'), GeomFromEWKT('SRID=4674;POINT (-40.340108 -2.797811)'))) / (select extract(epoch from '2026-07-11 05:18:09'::timestamp) - extract(epoch from '2026-07-11 05:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340266 -2.797839)'), GeomFromEWKT('SRID=4674;POINT (-40.340108 -2.797811)'))) / (select extract(epoch from '2026-07-11 05:18:09'::timestamp) - extract(epoch from '2026-07-11 05:18:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.339932 -2.79776)', '2026-07-11 05:18:18', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340108 -2.797811)'), GeomFromEWKT('SRID=4674;POINT (-40.339932 -2.79776)'))) / (select extract(epoch from '2026-07-11 05:18:18'::timestamp) - extract(epoch from '2026-07-11 05:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340108 -2.797811)'), GeomFromEWKT('SRID=4674;POINT (-40.339932 -2.79776)'))) / (select extract(epoch from '2026-07-11 05:18:18'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.339783 -2.797716)', '2026-07-11 05:18:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339932 -2.79776)'), GeomFromEWKT('SRID=4674;POINT (-40.339783 -2.797716)'))) / (select extract(epoch from '2026-07-11 05:18:26'::timestamp) - extract(epoch from '2026-07-11 05:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339932 -2.79776)'), GeomFromEWKT('SRID=4674;POINT (-40.339783 -2.797716)'))) / (select extract(epoch from '2026-07-11 05:18:26'::timestamp) - extract(epoch from '2026-07-11 05:18: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'), 47812, 'SRID=4674;POINT (-40.339637 -2.797678)', '2026-07-11 05:18:34', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339783 -2.797716)'), GeomFromEWKT('SRID=4674;POINT (-40.339637 -2.797678)'))) / (select extract(epoch from '2026-07-11 05:18:34'::timestamp) - extract(epoch from '2026-07-11 05:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339783 -2.797716)'), GeomFromEWKT('SRID=4674;POINT (-40.339637 -2.797678)'))) / (select extract(epoch from '2026-07-11 05:18:34'::timestamp) - extract(epoch from '2026-07-11 05:18: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'), 47812, 'SRID=4674;POINT (-40.339471 -2.797624)', '2026-07-11 05:18:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339637 -2.797678)'), GeomFromEWKT('SRID=4674;POINT (-40.339471 -2.797624)'))) / (select extract(epoch from '2026-07-11 05:18:43'::timestamp) - extract(epoch from '2026-07-11 05:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339637 -2.797678)'), GeomFromEWKT('SRID=4674;POINT (-40.339471 -2.797624)'))) / (select extract(epoch from '2026-07-11 05:18:43'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.339318 -2.797558)', '2026-07-11 05:18:52', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339471 -2.797624)'), GeomFromEWKT('SRID=4674;POINT (-40.339318 -2.797558)'))) / (select extract(epoch from '2026-07-11 05:18:52'::timestamp) - extract(epoch from '2026-07-11 05:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339471 -2.797624)'), GeomFromEWKT('SRID=4674;POINT (-40.339318 -2.797558)'))) / (select extract(epoch from '2026-07-11 05:18:52'::timestamp) - extract(epoch from '2026-07-11 05:18:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.339128 -2.797434)', '2026-07-11 05:19:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339318 -2.797558)'), GeomFromEWKT('SRID=4674;POINT (-40.339128 -2.797434)'))) / (select extract(epoch from '2026-07-11 05:19:04'::timestamp) - extract(epoch from '2026-07-11 05:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339318 -2.797558)'), GeomFromEWKT('SRID=4674;POINT (-40.339128 -2.797434)'))) / (select extract(epoch from '2026-07-11 05:19:04'::timestamp) - extract(epoch from '2026-07-11 05:18:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.338961 -2.797314)', '2026-07-11 05:19:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339128 -2.797434)'), GeomFromEWKT('SRID=4674;POINT (-40.338961 -2.797314)'))) / (select extract(epoch from '2026-07-11 05:19:15'::timestamp) - extract(epoch from '2026-07-11 05:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339128 -2.797434)'), GeomFromEWKT('SRID=4674;POINT (-40.338961 -2.797314)'))) / (select extract(epoch from '2026-07-11 05:19:15'::timestamp) - extract(epoch from '2026-07-11 05:19: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'), 47812, 'SRID=4674;POINT (-40.33882 -2.797201)', '2026-07-11 05:19:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338961 -2.797314)'), GeomFromEWKT('SRID=4674;POINT (-40.33882 -2.797201)'))) / (select extract(epoch from '2026-07-11 05:19:24'::timestamp) - extract(epoch from '2026-07-11 05:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338961 -2.797314)'), GeomFromEWKT('SRID=4674;POINT (-40.33882 -2.797201)'))) / (select extract(epoch from '2026-07-11 05:19:24'::timestamp) - extract(epoch from '2026-07-11 05:19:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.338705 -2.79709)', '2026-07-11 05:19:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33882 -2.797201)'), GeomFromEWKT('SRID=4674;POINT (-40.338705 -2.79709)'))) / (select extract(epoch from '2026-07-11 05:19:32'::timestamp) - extract(epoch from '2026-07-11 05:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33882 -2.797201)'), GeomFromEWKT('SRID=4674;POINT (-40.338705 -2.79709)'))) / (select extract(epoch from '2026-07-11 05:19:32'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.338618 -2.797001)', '2026-07-11 05:19:38', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338705 -2.79709)'), GeomFromEWKT('SRID=4674;POINT (-40.338618 -2.797001)'))) / (select extract(epoch from '2026-07-11 05:19:38'::timestamp) - extract(epoch from '2026-07-11 05:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338705 -2.79709)'), GeomFromEWKT('SRID=4674;POINT (-40.338618 -2.797001)'))) / (select extract(epoch from '2026-07-11 05:19:38'::timestamp) - extract(epoch from '2026-07-11 05:19: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'), 47812, 'SRID=4674;POINT (-40.338496 -2.796907)', '2026-07-11 05:19:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338618 -2.797001)'), GeomFromEWKT('SRID=4674;POINT (-40.338496 -2.796907)'))) / (select extract(epoch from '2026-07-11 05:19:46'::timestamp) - extract(epoch from '2026-07-11 05:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338618 -2.797001)'), GeomFromEWKT('SRID=4674;POINT (-40.338496 -2.796907)'))) / (select extract(epoch from '2026-07-11 05:19:46'::timestamp) - extract(epoch from '2026-07-11 05:19: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'), 47812, 'SRID=4674;POINT (-40.338372 -2.796786)', '2026-07-11 05:19:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338496 -2.796907)'), GeomFromEWKT('SRID=4674;POINT (-40.338372 -2.796786)'))) / (select extract(epoch from '2026-07-11 05:19:55'::timestamp) - extract(epoch from '2026-07-11 05:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338496 -2.796907)'), GeomFromEWKT('SRID=4674;POINT (-40.338372 -2.796786)'))) / (select extract(epoch from '2026-07-11 05:19:55'::timestamp) - extract(epoch from '2026-07-11 05:19: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'), 47812, 'SRID=4674;POINT (-40.338252 -2.796635)', '2026-07-11 05:20:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338372 -2.796786)'), GeomFromEWKT('SRID=4674;POINT (-40.338252 -2.796635)'))) / (select extract(epoch from '2026-07-11 05:20:05'::timestamp) - extract(epoch from '2026-07-11 05:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338372 -2.796786)'), GeomFromEWKT('SRID=4674;POINT (-40.338252 -2.796635)'))) / (select extract(epoch from '2026-07-11 05:20:05'::timestamp) - extract(epoch from '2026-07-11 05:19: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'), 47812, 'SRID=4674;POINT (-40.338125 -2.796486)', '2026-07-11 05:20:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338252 -2.796635)'), GeomFromEWKT('SRID=4674;POINT (-40.338125 -2.796486)'))) / (select extract(epoch from '2026-07-11 05:20:15'::timestamp) - extract(epoch from '2026-07-11 05:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338252 -2.796635)'), GeomFromEWKT('SRID=4674;POINT (-40.338125 -2.796486)'))) / (select extract(epoch from '2026-07-11 05:20:15'::timestamp) - extract(epoch from '2026-07-11 05:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.338002 -2.796354)', '2026-07-11 05:20:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338125 -2.796486)'), GeomFromEWKT('SRID=4674;POINT (-40.338002 -2.796354)'))) / (select extract(epoch from '2026-07-11 05:20:24'::timestamp) - extract(epoch from '2026-07-11 05:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338125 -2.796486)'), GeomFromEWKT('SRID=4674;POINT (-40.338002 -2.796354)'))) / (select extract(epoch from '2026-07-11 05:20:24'::timestamp) - extract(epoch from '2026-07-11 05:20:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.337883 -2.796222)', '2026-07-11 05:20:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338002 -2.796354)'), GeomFromEWKT('SRID=4674;POINT (-40.337883 -2.796222)'))) / (select extract(epoch from '2026-07-11 05:20:33'::timestamp) - extract(epoch from '2026-07-11 05:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338002 -2.796354)'), GeomFromEWKT('SRID=4674;POINT (-40.337883 -2.796222)'))) / (select extract(epoch from '2026-07-11 05:20:33'::timestamp) - extract(epoch from '2026-07-11 05:20: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'), 47812, 'SRID=4674;POINT (-40.337779 -2.796101)', '2026-07-11 05:20:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337883 -2.796222)'), GeomFromEWKT('SRID=4674;POINT (-40.337779 -2.796101)'))) / (select extract(epoch from '2026-07-11 05:20:41'::timestamp) - extract(epoch from '2026-07-11 05:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337883 -2.796222)'), GeomFromEWKT('SRID=4674;POINT (-40.337779 -2.796101)'))) / (select extract(epoch from '2026-07-11 05:20:41'::timestamp) - extract(epoch from '2026-07-11 05:20:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.337653 -2.795951)', '2026-07-11 05:20:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337779 -2.796101)'), GeomFromEWKT('SRID=4674;POINT (-40.337653 -2.795951)'))) / (select extract(epoch from '2026-07-11 05:20:51'::timestamp) - extract(epoch from '2026-07-11 05:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337779 -2.796101)'), GeomFromEWKT('SRID=4674;POINT (-40.337653 -2.795951)'))) / (select extract(epoch from '2026-07-11 05:20:51'::timestamp) - extract(epoch from '2026-07-11 05:20: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'), 47812, 'SRID=4674;POINT (-40.337536 -2.795788)', '2026-07-11 05:21:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337653 -2.795951)'), GeomFromEWKT('SRID=4674;POINT (-40.337536 -2.795788)'))) / (select extract(epoch from '2026-07-11 05:21:01'::timestamp) - extract(epoch from '2026-07-11 05:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337653 -2.795951)'), GeomFromEWKT('SRID=4674;POINT (-40.337536 -2.795788)'))) / (select extract(epoch from '2026-07-11 05:21:01'::timestamp) - extract(epoch from '2026-07-11 05:20: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'), 47812, 'SRID=4674;POINT (-40.337443 -2.795637)', '2026-07-11 05:21:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337536 -2.795788)'), GeomFromEWKT('SRID=4674;POINT (-40.337443 -2.795637)'))) / (select extract(epoch from '2026-07-11 05:21:10'::timestamp) - extract(epoch from '2026-07-11 05:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337536 -2.795788)'), GeomFromEWKT('SRID=4674;POINT (-40.337443 -2.795637)'))) / (select extract(epoch from '2026-07-11 05:21:10'::timestamp) - extract(epoch from '2026-07-11 05:21:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.337338 -2.795466)', '2026-07-11 05:21:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337443 -2.795637)'), GeomFromEWKT('SRID=4674;POINT (-40.337338 -2.795466)'))) / (select extract(epoch from '2026-07-11 05:21:20'::timestamp) - extract(epoch from '2026-07-11 05:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337443 -2.795637)'), GeomFromEWKT('SRID=4674;POINT (-40.337338 -2.795466)'))) / (select extract(epoch from '2026-07-11 05:21:20'::timestamp) - extract(epoch from '2026-07-11 05:21:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.33728 -2.795357)', '2026-07-11 05:21:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337338 -2.795466)'), GeomFromEWKT('SRID=4674;POINT (-40.33728 -2.795357)'))) / (select extract(epoch from '2026-07-11 05:21:27'::timestamp) - extract(epoch from '2026-07-11 05:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337338 -2.795466)'), GeomFromEWKT('SRID=4674;POINT (-40.33728 -2.795357)'))) / (select extract(epoch from '2026-07-11 05:21:27'::timestamp) - extract(epoch from '2026-07-11 05:21:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.337204 -2.795188)', '2026-07-11 05:21:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33728 -2.795357)'), GeomFromEWKT('SRID=4674;POINT (-40.337204 -2.795188)'))) / (select extract(epoch from '2026-07-11 05:21:37'::timestamp) - extract(epoch from '2026-07-11 05:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33728 -2.795357)'), GeomFromEWKT('SRID=4674;POINT (-40.337204 -2.795188)'))) / (select extract(epoch from '2026-07-11 05:21:37'::timestamp) - extract(epoch from '2026-07-11 05:21:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.337123 -2.795031)', '2026-07-11 05:21:46', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337204 -2.795188)'), GeomFromEWKT('SRID=4674;POINT (-40.337123 -2.795031)'))) / (select extract(epoch from '2026-07-11 05:21:46'::timestamp) - extract(epoch from '2026-07-11 05:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337204 -2.795188)'), GeomFromEWKT('SRID=4674;POINT (-40.337123 -2.795031)'))) / (select extract(epoch from '2026-07-11 05:21:46'::timestamp) - extract(epoch from '2026-07-11 05:21: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'), 47812, 'SRID=4674;POINT (-40.337035 -2.794833)', '2026-07-11 05:21:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337123 -2.795031)'), GeomFromEWKT('SRID=4674;POINT (-40.337035 -2.794833)'))) / (select extract(epoch from '2026-07-11 05:21:57'::timestamp) - extract(epoch from '2026-07-11 05:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337123 -2.795031)'), GeomFromEWKT('SRID=4674;POINT (-40.337035 -2.794833)'))) / (select extract(epoch from '2026-07-11 05:21:57'::timestamp) - extract(epoch from '2026-07-11 05:21:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.336966 -2.794661)', '2026-07-11 05:22:06', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337035 -2.794833)'), GeomFromEWKT('SRID=4674;POINT (-40.336966 -2.794661)'))) / (select extract(epoch from '2026-07-11 05:22:06'::timestamp) - extract(epoch from '2026-07-11 05:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337035 -2.794833)'), GeomFromEWKT('SRID=4674;POINT (-40.336966 -2.794661)'))) / (select extract(epoch from '2026-07-11 05:22:06'::timestamp) - extract(epoch from '2026-07-11 05:21: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'), 47812, 'SRID=4674;POINT (-40.336855 -2.794477)', '2026-07-11 05:22:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336966 -2.794661)'), GeomFromEWKT('SRID=4674;POINT (-40.336855 -2.794477)'))) / (select extract(epoch from '2026-07-11 05:22:17'::timestamp) - extract(epoch from '2026-07-11 05:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336966 -2.794661)'), GeomFromEWKT('SRID=4674;POINT (-40.336855 -2.794477)'))) / (select extract(epoch from '2026-07-11 05:22:17'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.336774 -2.794349)', '2026-07-11 05:22:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336855 -2.794477)'), GeomFromEWKT('SRID=4674;POINT (-40.336774 -2.794349)'))) / (select extract(epoch from '2026-07-11 05:22:25'::timestamp) - extract(epoch from '2026-07-11 05:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336855 -2.794477)'), GeomFromEWKT('SRID=4674;POINT (-40.336774 -2.794349)'))) / (select extract(epoch from '2026-07-11 05:22:25'::timestamp) - extract(epoch from '2026-07-11 05:22:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.336691 -2.794242)', '2026-07-11 05:22:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336774 -2.794349)'), GeomFromEWKT('SRID=4674;POINT (-40.336691 -2.794242)'))) / (select extract(epoch from '2026-07-11 05:22:32'::timestamp) - extract(epoch from '2026-07-11 05:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336774 -2.794349)'), GeomFromEWKT('SRID=4674;POINT (-40.336691 -2.794242)'))) / (select extract(epoch from '2026-07-11 05:22:32'::timestamp) - extract(epoch from '2026-07-11 05:22:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.336565 -2.794082)', '2026-07-11 05:22:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336691 -2.794242)'), GeomFromEWKT('SRID=4674;POINT (-40.336565 -2.794082)'))) / (select extract(epoch from '2026-07-11 05:22:42'::timestamp) - extract(epoch from '2026-07-11 05:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336691 -2.794242)'), GeomFromEWKT('SRID=4674;POINT (-40.336565 -2.794082)'))) / (select extract(epoch from '2026-07-11 05:22:42'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.336451 -2.793947)', '2026-07-11 05:22:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336565 -2.794082)'), GeomFromEWKT('SRID=4674;POINT (-40.336451 -2.793947)'))) / (select extract(epoch from '2026-07-11 05:22:51'::timestamp) - extract(epoch from '2026-07-11 05:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336565 -2.794082)'), GeomFromEWKT('SRID=4674;POINT (-40.336451 -2.793947)'))) / (select extract(epoch from '2026-07-11 05:22:51'::timestamp) - extract(epoch from '2026-07-11 05:22:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.336332 -2.79379)', '2026-07-11 05:23:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336451 -2.793947)'), GeomFromEWKT('SRID=4674;POINT (-40.336332 -2.79379)'))) / (select extract(epoch from '2026-07-11 05:23:01'::timestamp) - extract(epoch from '2026-07-11 05:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336451 -2.793947)'), GeomFromEWKT('SRID=4674;POINT (-40.336332 -2.79379)'))) / (select extract(epoch from '2026-07-11 05:23:01'::timestamp) - extract(epoch from '2026-07-11 05:22: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'), 47812, 'SRID=4674;POINT (-40.336226 -2.793642)', '2026-07-11 05:23:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336332 -2.79379)'), GeomFromEWKT('SRID=4674;POINT (-40.336226 -2.793642)'))) / (select extract(epoch from '2026-07-11 05:23:10'::timestamp) - extract(epoch from '2026-07-11 05:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336332 -2.79379)'), GeomFromEWKT('SRID=4674;POINT (-40.336226 -2.793642)'))) / (select extract(epoch from '2026-07-11 05:23:10'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.336112 -2.793499)', '2026-07-11 05:23:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336226 -2.793642)'), GeomFromEWKT('SRID=4674;POINT (-40.336112 -2.793499)'))) / (select extract(epoch from '2026-07-11 05:23:19'::timestamp) - extract(epoch from '2026-07-11 05:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336226 -2.793642)'), GeomFromEWKT('SRID=4674;POINT (-40.336112 -2.793499)'))) / (select extract(epoch from '2026-07-11 05:23:19'::timestamp) - extract(epoch from '2026-07-11 05:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.335976 -2.793328)', '2026-07-11 05:23:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336112 -2.793499)'), GeomFromEWKT('SRID=4674;POINT (-40.335976 -2.793328)'))) / (select extract(epoch from '2026-07-11 05:23:30'::timestamp) - extract(epoch from '2026-07-11 05:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336112 -2.793499)'), GeomFromEWKT('SRID=4674;POINT (-40.335976 -2.793328)'))) / (select extract(epoch from '2026-07-11 05:23:30'::timestamp) - extract(epoch from '2026-07-11 05:23:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.335868 -2.793208)', '2026-07-11 05:23:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335976 -2.793328)'), GeomFromEWKT('SRID=4674;POINT (-40.335868 -2.793208)'))) / (select extract(epoch from '2026-07-11 05:23:38'::timestamp) - extract(epoch from '2026-07-11 05:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335976 -2.793328)'), GeomFromEWKT('SRID=4674;POINT (-40.335868 -2.793208)'))) / (select extract(epoch from '2026-07-11 05:23:38'::timestamp) - extract(epoch from '2026-07-11 05:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.335718 -2.793068)', '2026-07-11 05:23:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335868 -2.793208)'), GeomFromEWKT('SRID=4674;POINT (-40.335718 -2.793068)'))) / (select extract(epoch from '2026-07-11 05:23:49'::timestamp) - extract(epoch from '2026-07-11 05:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335868 -2.793208)'), GeomFromEWKT('SRID=4674;POINT (-40.335718 -2.793068)'))) / (select extract(epoch from '2026-07-11 05:23:49'::timestamp) - extract(epoch from '2026-07-11 05:23:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.335601 -2.792965)', '2026-07-11 05:23:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335718 -2.793068)'), GeomFromEWKT('SRID=4674;POINT (-40.335601 -2.792965)'))) / (select extract(epoch from '2026-07-11 05:23:57'::timestamp) - extract(epoch from '2026-07-11 05:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335718 -2.793068)'), GeomFromEWKT('SRID=4674;POINT (-40.335601 -2.792965)'))) / (select extract(epoch from '2026-07-11 05:23:57'::timestamp) - extract(epoch from '2026-07-11 05:23:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.335478 -2.79288)', '2026-07-11 05:24:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335601 -2.792965)'), GeomFromEWKT('SRID=4674;POINT (-40.335478 -2.79288)'))) / (select extract(epoch from '2026-07-11 05:24:05'::timestamp) - extract(epoch from '2026-07-11 05:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335601 -2.792965)'), GeomFromEWKT('SRID=4674;POINT (-40.335478 -2.79288)'))) / (select extract(epoch from '2026-07-11 05:24:05'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.335359 -2.792802)', '2026-07-11 05:24:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335478 -2.79288)'), GeomFromEWKT('SRID=4674;POINT (-40.335359 -2.792802)'))) / (select extract(epoch from '2026-07-11 05:24:13'::timestamp) - extract(epoch from '2026-07-11 05:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335478 -2.79288)'), GeomFromEWKT('SRID=4674;POINT (-40.335359 -2.792802)'))) / (select extract(epoch from '2026-07-11 05:24:13'::timestamp) - extract(epoch from '2026-07-11 05:24:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.335169 -2.792699)', '2026-07-11 05:24:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335359 -2.792802)'), GeomFromEWKT('SRID=4674;POINT (-40.335169 -2.792699)'))) / (select extract(epoch from '2026-07-11 05:24:25'::timestamp) - extract(epoch from '2026-07-11 05:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335359 -2.792802)'), GeomFromEWKT('SRID=4674;POINT (-40.335169 -2.792699)'))) / (select extract(epoch from '2026-07-11 05:24:25'::timestamp) - extract(epoch from '2026-07-11 05:24:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.335043 -2.792649)', '2026-07-11 05:24:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335169 -2.792699)'), GeomFromEWKT('SRID=4674;POINT (-40.335043 -2.792649)'))) / (select extract(epoch from '2026-07-11 05:24:32'::timestamp) - extract(epoch from '2026-07-11 05:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335169 -2.792699)'), GeomFromEWKT('SRID=4674;POINT (-40.335043 -2.792649)'))) / (select extract(epoch from '2026-07-11 05:24:32'::timestamp) - extract(epoch from '2026-07-11 05:24:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.334907 -2.792573)', '2026-07-11 05:24:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335043 -2.792649)'), GeomFromEWKT('SRID=4674;POINT (-40.334907 -2.792573)'))) / (select extract(epoch from '2026-07-11 05:24:40'::timestamp) - extract(epoch from '2026-07-11 05:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335043 -2.792649)'), GeomFromEWKT('SRID=4674;POINT (-40.334907 -2.792573)'))) / (select extract(epoch from '2026-07-11 05:24:40'::timestamp) - extract(epoch from '2026-07-11 05:24:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.334738 -2.792481)', '2026-07-11 05:24:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334907 -2.792573)'), GeomFromEWKT('SRID=4674;POINT (-40.334738 -2.792481)'))) / (select extract(epoch from '2026-07-11 05:24:50'::timestamp) - extract(epoch from '2026-07-11 05:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334907 -2.792573)'), GeomFromEWKT('SRID=4674;POINT (-40.334738 -2.792481)'))) / (select extract(epoch from '2026-07-11 05:24:50'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.334596 -2.792401)', '2026-07-11 05:24:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334738 -2.792481)'), GeomFromEWKT('SRID=4674;POINT (-40.334596 -2.792401)'))) / (select extract(epoch from '2026-07-11 05:24:59'::timestamp) - extract(epoch from '2026-07-11 05:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334738 -2.792481)'), GeomFromEWKT('SRID=4674;POINT (-40.334596 -2.792401)'))) / (select extract(epoch from '2026-07-11 05:24:59'::timestamp) - extract(epoch from '2026-07-11 05:24:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.33447 -2.792341)', '2026-07-11 05:25:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334596 -2.792401)'), GeomFromEWKT('SRID=4674;POINT (-40.33447 -2.792341)'))) / (select extract(epoch from '2026-07-11 05:25:07'::timestamp) - extract(epoch from '2026-07-11 05:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334596 -2.792401)'), GeomFromEWKT('SRID=4674;POINT (-40.33447 -2.792341)'))) / (select extract(epoch from '2026-07-11 05:25:07'::timestamp) - extract(epoch from '2026-07-11 05:24: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'), 47812, 'SRID=4674;POINT (-40.334322 -2.792269)', '2026-07-11 05:25:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33447 -2.792341)'), GeomFromEWKT('SRID=4674;POINT (-40.334322 -2.792269)'))) / (select extract(epoch from '2026-07-11 05:25:16'::timestamp) - extract(epoch from '2026-07-11 05:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33447 -2.792341)'), GeomFromEWKT('SRID=4674;POINT (-40.334322 -2.792269)'))) / (select extract(epoch from '2026-07-11 05:25:16'::timestamp) - extract(epoch from '2026-07-11 05:25:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.334192 -2.792195)', '2026-07-11 05:25:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334322 -2.792269)'), GeomFromEWKT('SRID=4674;POINT (-40.334192 -2.792195)'))) / (select extract(epoch from '2026-07-11 05:25:24'::timestamp) - extract(epoch from '2026-07-11 05:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334322 -2.792269)'), GeomFromEWKT('SRID=4674;POINT (-40.334192 -2.792195)'))) / (select extract(epoch from '2026-07-11 05:25:24'::timestamp) - extract(epoch from '2026-07-11 05:25: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'), 47812, 'SRID=4674;POINT (-40.334096 -2.792137)', '2026-07-11 05:25:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334192 -2.792195)'), GeomFromEWKT('SRID=4674;POINT (-40.334096 -2.792137)'))) / (select extract(epoch from '2026-07-11 05:25:31'::timestamp) - extract(epoch from '2026-07-11 05:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334192 -2.792195)'), GeomFromEWKT('SRID=4674;POINT (-40.334096 -2.792137)'))) / (select extract(epoch from '2026-07-11 05:25:31'::timestamp) - extract(epoch from '2026-07-11 05:25:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.333953 -2.792043)', '2026-07-11 05:25:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334096 -2.792137)'), GeomFromEWKT('SRID=4674;POINT (-40.333953 -2.792043)'))) / (select extract(epoch from '2026-07-11 05:25:40'::timestamp) - extract(epoch from '2026-07-11 05:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334096 -2.792137)'), GeomFromEWKT('SRID=4674;POINT (-40.333953 -2.792043)'))) / (select extract(epoch from '2026-07-11 05:25:40'::timestamp) - extract(epoch from '2026-07-11 05:25:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.333854 -2.791985)', '2026-07-11 05:25:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333953 -2.792043)'), GeomFromEWKT('SRID=4674;POINT (-40.333854 -2.791985)'))) / (select extract(epoch from '2026-07-11 05:25:46'::timestamp) - extract(epoch from '2026-07-11 05:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333953 -2.792043)'), GeomFromEWKT('SRID=4674;POINT (-40.333854 -2.791985)'))) / (select extract(epoch from '2026-07-11 05:25:46'::timestamp) - extract(epoch from '2026-07-11 05:25:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.333694 -2.791883)', '2026-07-11 05:25:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333854 -2.791985)'), GeomFromEWKT('SRID=4674;POINT (-40.333694 -2.791883)'))) / (select extract(epoch from '2026-07-11 05:25:56'::timestamp) - extract(epoch from '2026-07-11 05:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333854 -2.791985)'), GeomFromEWKT('SRID=4674;POINT (-40.333694 -2.791883)'))) / (select extract(epoch from '2026-07-11 05:25:56'::timestamp) - extract(epoch from '2026-07-11 05:25:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.333547 -2.791793)', '2026-07-11 05:26:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333694 -2.791883)'), GeomFromEWKT('SRID=4674;POINT (-40.333547 -2.791793)'))) / (select extract(epoch from '2026-07-11 05:26:05'::timestamp) - extract(epoch from '2026-07-11 05:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333694 -2.791883)'), GeomFromEWKT('SRID=4674;POINT (-40.333547 -2.791793)'))) / (select extract(epoch from '2026-07-11 05:26:05'::timestamp) - extract(epoch from '2026-07-11 05:25: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'), 47812, 'SRID=4674;POINT (-40.333402 -2.791702)', '2026-07-11 05:26:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333547 -2.791793)'), GeomFromEWKT('SRID=4674;POINT (-40.333402 -2.791702)'))) / (select extract(epoch from '2026-07-11 05:26:14'::timestamp) - extract(epoch from '2026-07-11 05:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333547 -2.791793)'), GeomFromEWKT('SRID=4674;POINT (-40.333402 -2.791702)'))) / (select extract(epoch from '2026-07-11 05:26:14'::timestamp) - extract(epoch from '2026-07-11 05:26:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.333284 -2.791619)', '2026-07-11 05:26:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333402 -2.791702)'), GeomFromEWKT('SRID=4674;POINT (-40.333284 -2.791619)'))) / (select extract(epoch from '2026-07-11 05:26:22'::timestamp) - extract(epoch from '2026-07-11 05:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333402 -2.791702)'), GeomFromEWKT('SRID=4674;POINT (-40.333284 -2.791619)'))) / (select extract(epoch from '2026-07-11 05:26:22'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.333171 -2.79155)', '2026-07-11 05:26:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333284 -2.791619)'), GeomFromEWKT('SRID=4674;POINT (-40.333171 -2.79155)'))) / (select extract(epoch from '2026-07-11 05:26:30'::timestamp) - extract(epoch from '2026-07-11 05:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333284 -2.791619)'), GeomFromEWKT('SRID=4674;POINT (-40.333171 -2.79155)'))) / (select extract(epoch from '2026-07-11 05:26:30'::timestamp) - extract(epoch from '2026-07-11 05:26: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'), 47812, 'SRID=4674;POINT (-40.333048 -2.791468)', '2026-07-11 05:26:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333171 -2.79155)'), GeomFromEWKT('SRID=4674;POINT (-40.333048 -2.791468)'))) / (select extract(epoch from '2026-07-11 05:26:38'::timestamp) - extract(epoch from '2026-07-11 05:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333171 -2.79155)'), GeomFromEWKT('SRID=4674;POINT (-40.333048 -2.791468)'))) / (select extract(epoch from '2026-07-11 05:26:38'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.332882 -2.791351)', '2026-07-11 05:26:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333048 -2.791468)'), GeomFromEWKT('SRID=4674;POINT (-40.332882 -2.791351)'))) / (select extract(epoch from '2026-07-11 05:26:48'::timestamp) - extract(epoch from '2026-07-11 05:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333048 -2.791468)'), GeomFromEWKT('SRID=4674;POINT (-40.332882 -2.791351)'))) / (select extract(epoch from '2026-07-11 05:26:48'::timestamp) - extract(epoch from '2026-07-11 05:26: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'), 47812, 'SRID=4674;POINT (-40.332772 -2.791278)', '2026-07-11 05:26:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332882 -2.791351)'), GeomFromEWKT('SRID=4674;POINT (-40.332772 -2.791278)'))) / (select extract(epoch from '2026-07-11 05:26:55'::timestamp) - extract(epoch from '2026-07-11 05:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332882 -2.791351)'), GeomFromEWKT('SRID=4674;POINT (-40.332772 -2.791278)'))) / (select extract(epoch from '2026-07-11 05:26:55'::timestamp) - extract(epoch from '2026-07-11 05:26: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'), 47812, 'SRID=4674;POINT (-40.332643 -2.791187)', '2026-07-11 05:27:03', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332772 -2.791278)'), GeomFromEWKT('SRID=4674;POINT (-40.332643 -2.791187)'))) / (select extract(epoch from '2026-07-11 05:27:03'::timestamp) - extract(epoch from '2026-07-11 05:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332772 -2.791278)'), GeomFromEWKT('SRID=4674;POINT (-40.332643 -2.791187)'))) / (select extract(epoch from '2026-07-11 05:27:03'::timestamp) - extract(epoch from '2026-07-11 05:26:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.332497 -2.791097)', '2026-07-11 05:27:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332643 -2.791187)'), GeomFromEWKT('SRID=4674;POINT (-40.332497 -2.791097)'))) / (select extract(epoch from '2026-07-11 05:27:12'::timestamp) - extract(epoch from '2026-07-11 05:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332643 -2.791187)'), GeomFromEWKT('SRID=4674;POINT (-40.332497 -2.791097)'))) / (select extract(epoch from '2026-07-11 05:27:12'::timestamp) - extract(epoch from '2026-07-11 05:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.332343 -2.791027)', '2026-07-11 05:27:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332497 -2.791097)'), GeomFromEWKT('SRID=4674;POINT (-40.332343 -2.791027)'))) / (select extract(epoch from '2026-07-11 05:27:21'::timestamp) - extract(epoch from '2026-07-11 05:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332497 -2.791097)'), GeomFromEWKT('SRID=4674;POINT (-40.332343 -2.791027)'))) / (select extract(epoch from '2026-07-11 05:27:21'::timestamp) - extract(epoch from '2026-07-11 05:27:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.33218 -2.790976)', '2026-07-11 05:27:30', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332343 -2.791027)'), GeomFromEWKT('SRID=4674;POINT (-40.33218 -2.790976)'))) / (select extract(epoch from '2026-07-11 05:27:30'::timestamp) - extract(epoch from '2026-07-11 05:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332343 -2.791027)'), GeomFromEWKT('SRID=4674;POINT (-40.33218 -2.790976)'))) / (select extract(epoch from '2026-07-11 05:27:30'::timestamp) - extract(epoch from '2026-07-11 05:27: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'), 47812, 'SRID=4674;POINT (-40.332004 -2.790936)', '2026-07-11 05:27:40', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33218 -2.790976)'), GeomFromEWKT('SRID=4674;POINT (-40.332004 -2.790936)'))) / (select extract(epoch from '2026-07-11 05:27:40'::timestamp) - extract(epoch from '2026-07-11 05:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33218 -2.790976)'), GeomFromEWKT('SRID=4674;POINT (-40.332004 -2.790936)'))) / (select extract(epoch from '2026-07-11 05:27:40'::timestamp) - extract(epoch from '2026-07-11 05:27:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.331867 -2.790907)', '2026-07-11 05:27:48', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332004 -2.790936)'), GeomFromEWKT('SRID=4674;POINT (-40.331867 -2.790907)'))) / (select extract(epoch from '2026-07-11 05:27:48'::timestamp) - extract(epoch from '2026-07-11 05:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332004 -2.790936)'), GeomFromEWKT('SRID=4674;POINT (-40.331867 -2.790907)'))) / (select extract(epoch from '2026-07-11 05:27:48'::timestamp) - extract(epoch from '2026-07-11 05:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.331729 -2.79086)', '2026-07-11 05:27:56', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331867 -2.790907)'), GeomFromEWKT('SRID=4674;POINT (-40.331729 -2.79086)'))) / (select extract(epoch from '2026-07-11 05:27:56'::timestamp) - extract(epoch from '2026-07-11 05:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331867 -2.790907)'), GeomFromEWKT('SRID=4674;POINT (-40.331729 -2.79086)'))) / (select extract(epoch from '2026-07-11 05:27:56'::timestamp) - extract(epoch from '2026-07-11 05:27: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'), 47812, 'SRID=4674;POINT (-40.331593 -2.790799)', '2026-07-11 05:28:04', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331729 -2.79086)'), GeomFromEWKT('SRID=4674;POINT (-40.331593 -2.790799)'))) / (select extract(epoch from '2026-07-11 05:28:04'::timestamp) - extract(epoch from '2026-07-11 05:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331729 -2.79086)'), GeomFromEWKT('SRID=4674;POINT (-40.331593 -2.790799)'))) / (select extract(epoch from '2026-07-11 05:28:04'::timestamp) - extract(epoch from '2026-07-11 05:27: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'), 47812, 'SRID=4674;POINT (-40.331488 -2.790736)', '2026-07-11 05:28:11', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331593 -2.790799)'), GeomFromEWKT('SRID=4674;POINT (-40.331488 -2.790736)'))) / (select extract(epoch from '2026-07-11 05:28:11'::timestamp) - extract(epoch from '2026-07-11 05:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331593 -2.790799)'), GeomFromEWKT('SRID=4674;POINT (-40.331488 -2.790736)'))) / (select extract(epoch from '2026-07-11 05:28:11'::timestamp) - extract(epoch from '2026-07-11 05:28: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'), 47812, 'SRID=4674;POINT (-40.331361 -2.790656)', '2026-07-11 05:28:19', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331488 -2.790736)'), GeomFromEWKT('SRID=4674;POINT (-40.331361 -2.790656)'))) / (select extract(epoch from '2026-07-11 05:28:19'::timestamp) - extract(epoch from '2026-07-11 05:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331488 -2.790736)'), GeomFromEWKT('SRID=4674;POINT (-40.331361 -2.790656)'))) / (select extract(epoch from '2026-07-11 05:28:19'::timestamp) - extract(epoch from '2026-07-11 05:28: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'), 47812, 'SRID=4674;POINT (-40.331206 -2.790582)', '2026-07-11 05:28:28', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331361 -2.790656)'), GeomFromEWKT('SRID=4674;POINT (-40.331206 -2.790582)'))) / (select extract(epoch from '2026-07-11 05:28:28'::timestamp) - extract(epoch from '2026-07-11 05:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331361 -2.790656)'), GeomFromEWKT('SRID=4674;POINT (-40.331206 -2.790582)'))) / (select extract(epoch from '2026-07-11 05:28:28'::timestamp) - extract(epoch from '2026-07-11 05:28: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'), 47812, 'SRID=4674;POINT (-40.331097 -2.790527)', '2026-07-11 05:28:35', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331206 -2.790582)'), GeomFromEWKT('SRID=4674;POINT (-40.331097 -2.790527)'))) / (select extract(epoch from '2026-07-11 05:28:35'::timestamp) - extract(epoch from '2026-07-11 05:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331206 -2.790582)'), GeomFromEWKT('SRID=4674;POINT (-40.331097 -2.790527)'))) / (select extract(epoch from '2026-07-11 05:28:35'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.330952 -2.790475)', '2026-07-11 05:28:44', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331097 -2.790527)'), GeomFromEWKT('SRID=4674;POINT (-40.330952 -2.790475)'))) / (select extract(epoch from '2026-07-11 05:28:44'::timestamp) - extract(epoch from '2026-07-11 05:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331097 -2.790527)'), GeomFromEWKT('SRID=4674;POINT (-40.330952 -2.790475)'))) / (select extract(epoch from '2026-07-11 05:28:44'::timestamp) - extract(epoch from '2026-07-11 05:28: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'), 47812, 'SRID=4674;POINT (-40.330801 -2.790412)', '2026-07-11 05:28:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330952 -2.790475)'), GeomFromEWKT('SRID=4674;POINT (-40.330801 -2.790412)'))) / (select extract(epoch from '2026-07-11 05:28:53'::timestamp) - extract(epoch from '2026-07-11 05:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330952 -2.790475)'), GeomFromEWKT('SRID=4674;POINT (-40.330801 -2.790412)'))) / (select extract(epoch from '2026-07-11 05:28:53'::timestamp) - extract(epoch from '2026-07-11 05:28:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.330666 -2.790343)', '2026-07-11 05:29:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330801 -2.790412)'), GeomFromEWKT('SRID=4674;POINT (-40.330666 -2.790343)'))) / (select extract(epoch from '2026-07-11 05:29:01'::timestamp) - extract(epoch from '2026-07-11 05:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330801 -2.790412)'), GeomFromEWKT('SRID=4674;POINT (-40.330666 -2.790343)'))) / (select extract(epoch from '2026-07-11 05:29:01'::timestamp) - extract(epoch from '2026-07-11 05:28:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.330518 -2.790252)', '2026-07-11 05:29:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330666 -2.790343)'), GeomFromEWKT('SRID=4674;POINT (-40.330518 -2.790252)'))) / (select extract(epoch from '2026-07-11 05:29:10'::timestamp) - extract(epoch from '2026-07-11 05:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330666 -2.790343)'), GeomFromEWKT('SRID=4674;POINT (-40.330518 -2.790252)'))) / (select extract(epoch from '2026-07-11 05:29:10'::timestamp) - extract(epoch from '2026-07-11 05:29: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'), 47812, 'SRID=4674;POINT (-40.330361 -2.79016)', '2026-07-11 05:29:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330518 -2.790252)'), GeomFromEWKT('SRID=4674;POINT (-40.330361 -2.79016)'))) / (select extract(epoch from '2026-07-11 05:29:19'::timestamp) - extract(epoch from '2026-07-11 05:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330518 -2.790252)'), GeomFromEWKT('SRID=4674;POINT (-40.330361 -2.79016)'))) / (select extract(epoch from '2026-07-11 05:29:19'::timestamp) - extract(epoch from '2026-07-11 05:29: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'), 47812, 'SRID=4674;POINT (-40.330251 -2.790093)', '2026-07-11 05:29:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330361 -2.79016)'), GeomFromEWKT('SRID=4674;POINT (-40.330251 -2.790093)'))) / (select extract(epoch from '2026-07-11 05:29:26'::timestamp) - extract(epoch from '2026-07-11 05:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330361 -2.79016)'), GeomFromEWKT('SRID=4674;POINT (-40.330251 -2.790093)'))) / (select extract(epoch from '2026-07-11 05:29:26'::timestamp) - extract(epoch from '2026-07-11 05:29: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'), 47812, 'SRID=4674;POINT (-40.330146 -2.790018)', '2026-07-11 05:29:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330251 -2.790093)'), GeomFromEWKT('SRID=4674;POINT (-40.330146 -2.790018)'))) / (select extract(epoch from '2026-07-11 05:29:34'::timestamp) - extract(epoch from '2026-07-11 05:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330251 -2.790093)'), GeomFromEWKT('SRID=4674;POINT (-40.330146 -2.790018)'))) / (select extract(epoch from '2026-07-11 05:29:34'::timestamp) - extract(epoch from '2026-07-11 05:29: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'), 47812, 'SRID=4674;POINT (-40.330035 -2.789948)', '2026-07-11 05:29:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330146 -2.790018)'), GeomFromEWKT('SRID=4674;POINT (-40.330035 -2.789948)'))) / (select extract(epoch from '2026-07-11 05:29:41'::timestamp) - extract(epoch from '2026-07-11 05:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330146 -2.790018)'), GeomFromEWKT('SRID=4674;POINT (-40.330035 -2.789948)'))) / (select extract(epoch from '2026-07-11 05:29:41'::timestamp) - extract(epoch from '2026-07-11 05:29:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.329881 -2.789825)', '2026-07-11 05:29:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330035 -2.789948)'), GeomFromEWKT('SRID=4674;POINT (-40.329881 -2.789825)'))) / (select extract(epoch from '2026-07-11 05:29:52'::timestamp) - extract(epoch from '2026-07-11 05:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330035 -2.789948)'), GeomFromEWKT('SRID=4674;POINT (-40.329881 -2.789825)'))) / (select extract(epoch from '2026-07-11 05:29:52'::timestamp) - extract(epoch from '2026-07-11 05:29: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'), 47812, 'SRID=4674;POINT (-40.329732 -2.789726)', '2026-07-11 05:30:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329881 -2.789825)'), GeomFromEWKT('SRID=4674;POINT (-40.329732 -2.789726)'))) / (select extract(epoch from '2026-07-11 05:30:02'::timestamp) - extract(epoch from '2026-07-11 05:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329881 -2.789825)'), GeomFromEWKT('SRID=4674;POINT (-40.329732 -2.789726)'))) / (select extract(epoch from '2026-07-11 05:30:02'::timestamp) - extract(epoch from '2026-07-11 05:29: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'), 47812, 'SRID=4674;POINT (-40.329623 -2.789603)', '2026-07-11 05:30:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329732 -2.789726)'), GeomFromEWKT('SRID=4674;POINT (-40.329623 -2.789603)'))) / (select extract(epoch from '2026-07-11 05:30:11'::timestamp) - extract(epoch from '2026-07-11 05:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329732 -2.789726)'), GeomFromEWKT('SRID=4674;POINT (-40.329623 -2.789603)'))) / (select extract(epoch from '2026-07-11 05:30:11'::timestamp) - extract(epoch from '2026-07-11 05:30:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.329523 -2.789471)', '2026-07-11 05:30:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329623 -2.789603)'), GeomFromEWKT('SRID=4674;POINT (-40.329523 -2.789471)'))) / (select extract(epoch from '2026-07-11 05:30:20'::timestamp) - extract(epoch from '2026-07-11 05:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329623 -2.789603)'), GeomFromEWKT('SRID=4674;POINT (-40.329523 -2.789471)'))) / (select extract(epoch from '2026-07-11 05:30:20'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.329395 -2.789301)', '2026-07-11 05:30:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329523 -2.789471)'), GeomFromEWKT('SRID=4674;POINT (-40.329395 -2.789301)'))) / (select extract(epoch from '2026-07-11 05:30:32'::timestamp) - extract(epoch from '2026-07-11 05:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329523 -2.789471)'), GeomFromEWKT('SRID=4674;POINT (-40.329395 -2.789301)'))) / (select extract(epoch from '2026-07-11 05:30:32'::timestamp) - extract(epoch from '2026-07-11 05:30:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.329312 -2.789183)', '2026-07-11 05:30:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329395 -2.789301)'), GeomFromEWKT('SRID=4674;POINT (-40.329312 -2.789183)'))) / (select extract(epoch from '2026-07-11 05:30:40'::timestamp) - extract(epoch from '2026-07-11 05:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329395 -2.789301)'), GeomFromEWKT('SRID=4674;POINT (-40.329312 -2.789183)'))) / (select extract(epoch from '2026-07-11 05:30:40'::timestamp) - extract(epoch from '2026-07-11 05:30: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'), 47812, 'SRID=4674;POINT (-40.329217 -2.789072)', '2026-07-11 05:30:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329312 -2.789183)'), GeomFromEWKT('SRID=4674;POINT (-40.329217 -2.789072)'))) / (select extract(epoch from '2026-07-11 05:30:48'::timestamp) - extract(epoch from '2026-07-11 05:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329312 -2.789183)'), GeomFromEWKT('SRID=4674;POINT (-40.329217 -2.789072)'))) / (select extract(epoch from '2026-07-11 05:30:48'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.329137 -2.788977)', '2026-07-11 05:30:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329217 -2.789072)'), GeomFromEWKT('SRID=4674;POINT (-40.329137 -2.788977)'))) / (select extract(epoch from '2026-07-11 05:30:55'::timestamp) - extract(epoch from '2026-07-11 05:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329217 -2.789072)'), GeomFromEWKT('SRID=4674;POINT (-40.329137 -2.788977)'))) / (select extract(epoch from '2026-07-11 05:30:55'::timestamp) - extract(epoch from '2026-07-11 05:30:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.329028 -2.788814)', '2026-07-11 05:31:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329137 -2.788977)'), GeomFromEWKT('SRID=4674;POINT (-40.329028 -2.788814)'))) / (select extract(epoch from '2026-07-11 05:31:05'::timestamp) - extract(epoch from '2026-07-11 05:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329137 -2.788977)'), GeomFromEWKT('SRID=4674;POINT (-40.329028 -2.788814)'))) / (select extract(epoch from '2026-07-11 05:31:05'::timestamp) - extract(epoch from '2026-07-11 05:30:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.328947 -2.788676)', '2026-07-11 05:31:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329028 -2.788814)'), GeomFromEWKT('SRID=4674;POINT (-40.328947 -2.788676)'))) / (select extract(epoch from '2026-07-11 05:31:13'::timestamp) - extract(epoch from '2026-07-11 05:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329028 -2.788814)'), GeomFromEWKT('SRID=4674;POINT (-40.328947 -2.788676)'))) / (select extract(epoch from '2026-07-11 05:31:13'::timestamp) - extract(epoch from '2026-07-11 05:31: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'), 47812, 'SRID=4674;POINT (-40.328867 -2.788545)', '2026-07-11 05:31:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328947 -2.788676)'), GeomFromEWKT('SRID=4674;POINT (-40.328867 -2.788545)'))) / (select extract(epoch from '2026-07-11 05:31:21'::timestamp) - extract(epoch from '2026-07-11 05:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328947 -2.788676)'), GeomFromEWKT('SRID=4674;POINT (-40.328867 -2.788545)'))) / (select extract(epoch from '2026-07-11 05:31:21'::timestamp) - extract(epoch from '2026-07-11 05:31:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.328762 -2.788381)', '2026-07-11 05:31:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328867 -2.788545)'), GeomFromEWKT('SRID=4674;POINT (-40.328762 -2.788381)'))) / (select extract(epoch from '2026-07-11 05:31:31'::timestamp) - extract(epoch from '2026-07-11 05:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328867 -2.788545)'), GeomFromEWKT('SRID=4674;POINT (-40.328762 -2.788381)'))) / (select extract(epoch from '2026-07-11 05:31:31'::timestamp) - extract(epoch from '2026-07-11 05:31:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.328626 -2.788235)', '2026-07-11 05:31:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328762 -2.788381)'), GeomFromEWKT('SRID=4674;POINT (-40.328626 -2.788235)'))) / (select extract(epoch from '2026-07-11 05:31:41'::timestamp) - extract(epoch from '2026-07-11 05:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328762 -2.788381)'), GeomFromEWKT('SRID=4674;POINT (-40.328626 -2.788235)'))) / (select extract(epoch from '2026-07-11 05:31:41'::timestamp) - extract(epoch from '2026-07-11 05:31: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'), 47812, 'SRID=4674;POINT (-40.328534 -2.788162)', '2026-07-11 05:31:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328626 -2.788235)'), GeomFromEWKT('SRID=4674;POINT (-40.328534 -2.788162)'))) / (select extract(epoch from '2026-07-11 05:31:47'::timestamp) - extract(epoch from '2026-07-11 05:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328626 -2.788235)'), GeomFromEWKT('SRID=4674;POINT (-40.328534 -2.788162)'))) / (select extract(epoch from '2026-07-11 05:31:47'::timestamp) - extract(epoch from '2026-07-11 05:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.328429 -2.788071)', '2026-07-11 05:31:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328534 -2.788162)'), GeomFromEWKT('SRID=4674;POINT (-40.328429 -2.788071)'))) / (select extract(epoch from '2026-07-11 05:31:55'::timestamp) - extract(epoch from '2026-07-11 05:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328534 -2.788162)'), GeomFromEWKT('SRID=4674;POINT (-40.328429 -2.788071)'))) / (select extract(epoch from '2026-07-11 05:31:55'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.328322 -2.787969)', '2026-07-11 05:32:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328429 -2.788071)'), GeomFromEWKT('SRID=4674;POINT (-40.328322 -2.787969)'))) / (select extract(epoch from '2026-07-11 05:32:03'::timestamp) - extract(epoch from '2026-07-11 05:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328429 -2.788071)'), GeomFromEWKT('SRID=4674;POINT (-40.328322 -2.787969)'))) / (select extract(epoch from '2026-07-11 05:32:03'::timestamp) - extract(epoch from '2026-07-11 05:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.328188 -2.787825)', '2026-07-11 05:32:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328322 -2.787969)'), GeomFromEWKT('SRID=4674;POINT (-40.328188 -2.787825)'))) / (select extract(epoch from '2026-07-11 05:32:13'::timestamp) - extract(epoch from '2026-07-11 05:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328322 -2.787969)'), GeomFromEWKT('SRID=4674;POINT (-40.328188 -2.787825)'))) / (select extract(epoch from '2026-07-11 05:32:13'::timestamp) - extract(epoch from '2026-07-11 05:32: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'), 47812, 'SRID=4674;POINT (-40.328091 -2.787719)', '2026-07-11 05:32:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328188 -2.787825)'), GeomFromEWKT('SRID=4674;POINT (-40.328091 -2.787719)'))) / (select extract(epoch from '2026-07-11 05:32:21'::timestamp) - extract(epoch from '2026-07-11 05:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328188 -2.787825)'), GeomFromEWKT('SRID=4674;POINT (-40.328091 -2.787719)'))) / (select extract(epoch from '2026-07-11 05:32:21'::timestamp) - extract(epoch from '2026-07-11 05:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.327986 -2.7876)', '2026-07-11 05:32:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328091 -2.787719)'), GeomFromEWKT('SRID=4674;POINT (-40.327986 -2.7876)'))) / (select extract(epoch from '2026-07-11 05:32:29'::timestamp) - extract(epoch from '2026-07-11 05:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328091 -2.787719)'), GeomFromEWKT('SRID=4674;POINT (-40.327986 -2.7876)'))) / (select extract(epoch from '2026-07-11 05:32:29'::timestamp) - extract(epoch from '2026-07-11 05:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.327876 -2.78746)', '2026-07-11 05:32:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327986 -2.7876)'), GeomFromEWKT('SRID=4674;POINT (-40.327876 -2.78746)'))) / (select extract(epoch from '2026-07-11 05:32:38'::timestamp) - extract(epoch from '2026-07-11 05:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327986 -2.7876)'), GeomFromEWKT('SRID=4674;POINT (-40.327876 -2.78746)'))) / (select extract(epoch from '2026-07-11 05:32:38'::timestamp) - extract(epoch from '2026-07-11 05:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.327793 -2.787304)', '2026-07-11 05:32:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327876 -2.78746)'), GeomFromEWKT('SRID=4674;POINT (-40.327793 -2.787304)'))) / (select extract(epoch from '2026-07-11 05:32:47'::timestamp) - extract(epoch from '2026-07-11 05:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327876 -2.78746)'), GeomFromEWKT('SRID=4674;POINT (-40.327793 -2.787304)'))) / (select extract(epoch from '2026-07-11 05:32:47'::timestamp) - extract(epoch from '2026-07-11 05:32: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'), 47812, 'SRID=4674;POINT (-40.32771 -2.787147)', '2026-07-11 05:32:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327793 -2.787304)'), GeomFromEWKT('SRID=4674;POINT (-40.32771 -2.787147)'))) / (select extract(epoch from '2026-07-11 05:32:56'::timestamp) - extract(epoch from '2026-07-11 05:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327793 -2.787304)'), GeomFromEWKT('SRID=4674;POINT (-40.32771 -2.787147)'))) / (select extract(epoch from '2026-07-11 05:32:56'::timestamp) - extract(epoch from '2026-07-11 05:32:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.327681 -2.787024)', '2026-07-11 05:33:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32771 -2.787147)'), GeomFromEWKT('SRID=4674;POINT (-40.327681 -2.787024)'))) / (select extract(epoch from '2026-07-11 05:33:02'::timestamp) - extract(epoch from '2026-07-11 05:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32771 -2.787147)'), GeomFromEWKT('SRID=4674;POINT (-40.327681 -2.787024)'))) / (select extract(epoch from '2026-07-11 05:33:02'::timestamp) - extract(epoch from '2026-07-11 05:32:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.327648 -2.786895)', '2026-07-11 05:33:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327681 -2.787024)'), GeomFromEWKT('SRID=4674;POINT (-40.327648 -2.786895)'))) / (select extract(epoch from '2026-07-11 05:33:09'::timestamp) - extract(epoch from '2026-07-11 05:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327681 -2.787024)'), GeomFromEWKT('SRID=4674;POINT (-40.327648 -2.786895)'))) / (select extract(epoch from '2026-07-11 05:33:09'::timestamp) - extract(epoch from '2026-07-11 05:33: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'), 47812, 'SRID=4674;POINT (-40.327622 -2.786783)', '2026-07-11 05:33:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327648 -2.786895)'), GeomFromEWKT('SRID=4674;POINT (-40.327622 -2.786783)'))) / (select extract(epoch from '2026-07-11 05:33:15'::timestamp) - extract(epoch from '2026-07-11 05:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327648 -2.786895)'), GeomFromEWKT('SRID=4674;POINT (-40.327622 -2.786783)'))) / (select extract(epoch from '2026-07-11 05:33:15'::timestamp) - extract(epoch from '2026-07-11 05:33: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'), 47812, 'SRID=4674;POINT (-40.327574 -2.786664)', '2026-07-11 05:33:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327622 -2.786783)'), GeomFromEWKT('SRID=4674;POINT (-40.327574 -2.786664)'))) / (select extract(epoch from '2026-07-11 05:33:22'::timestamp) - extract(epoch from '2026-07-11 05:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327622 -2.786783)'), GeomFromEWKT('SRID=4674;POINT (-40.327574 -2.786664)'))) / (select extract(epoch from '2026-07-11 05:33:22'::timestamp) - extract(epoch from '2026-07-11 05:33: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'), 47812, 'SRID=4674;POINT (-40.327498 -2.786507)', '2026-07-11 05:33:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327574 -2.786664)'), GeomFromEWKT('SRID=4674;POINT (-40.327498 -2.786507)'))) / (select extract(epoch from '2026-07-11 05:33:31'::timestamp) - extract(epoch from '2026-07-11 05:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327574 -2.786664)'), GeomFromEWKT('SRID=4674;POINT (-40.327498 -2.786507)'))) / (select extract(epoch from '2026-07-11 05:33:31'::timestamp) - extract(epoch from '2026-07-11 05:33: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'), 47812, 'SRID=4674;POINT (-40.327419 -2.786345)', '2026-07-11 05:33:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327498 -2.786507)'), GeomFromEWKT('SRID=4674;POINT (-40.327419 -2.786345)'))) / (select extract(epoch from '2026-07-11 05:33:40'::timestamp) - extract(epoch from '2026-07-11 05:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327498 -2.786507)'), GeomFromEWKT('SRID=4674;POINT (-40.327419 -2.786345)'))) / (select extract(epoch from '2026-07-11 05:33:40'::timestamp) - extract(epoch from '2026-07-11 05:33: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'), 47812, 'SRID=4674;POINT (-40.327321 -2.786196)', '2026-07-11 05:33:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327419 -2.786345)'), GeomFromEWKT('SRID=4674;POINT (-40.327321 -2.786196)'))) / (select extract(epoch from '2026-07-11 05:33:49'::timestamp) - extract(epoch from '2026-07-11 05:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327419 -2.786345)'), GeomFromEWKT('SRID=4674;POINT (-40.327321 -2.786196)'))) / (select extract(epoch from '2026-07-11 05:33:49'::timestamp) - extract(epoch from '2026-07-11 05:33:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.327264 -2.786056)', '2026-07-11 05:33:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327321 -2.786196)'), GeomFromEWKT('SRID=4674;POINT (-40.327264 -2.786056)'))) / (select extract(epoch from '2026-07-11 05:33:57'::timestamp) - extract(epoch from '2026-07-11 05:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327321 -2.786196)'), GeomFromEWKT('SRID=4674;POINT (-40.327264 -2.786056)'))) / (select extract(epoch from '2026-07-11 05:33:57'::timestamp) - extract(epoch from '2026-07-11 05:33: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'), 47812, 'SRID=4674;POINT (-40.327171 -2.785903)', '2026-07-11 05:34:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327264 -2.786056)'), GeomFromEWKT('SRID=4674;POINT (-40.327171 -2.785903)'))) / (select extract(epoch from '2026-07-11 05:34:06'::timestamp) - extract(epoch from '2026-07-11 05:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327264 -2.786056)'), GeomFromEWKT('SRID=4674;POINT (-40.327171 -2.785903)'))) / (select extract(epoch from '2026-07-11 05:34:06'::timestamp) - extract(epoch from '2026-07-11 05:33:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.327071 -2.785775)', '2026-07-11 05:34:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327171 -2.785903)'), GeomFromEWKT('SRID=4674;POINT (-40.327071 -2.785775)'))) / (select extract(epoch from '2026-07-11 05:34:14'::timestamp) - extract(epoch from '2026-07-11 05:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327171 -2.785903)'), GeomFromEWKT('SRID=4674;POINT (-40.327071 -2.785775)'))) / (select extract(epoch from '2026-07-11 05:34:14'::timestamp) - extract(epoch from '2026-07-11 05:34:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.326939 -2.785628)', '2026-07-11 05:34:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327071 -2.785775)'), GeomFromEWKT('SRID=4674;POINT (-40.326939 -2.785628)'))) / (select extract(epoch from '2026-07-11 05:34:24'::timestamp) - extract(epoch from '2026-07-11 05:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327071 -2.785775)'), GeomFromEWKT('SRID=4674;POINT (-40.326939 -2.785628)'))) / (select extract(epoch from '2026-07-11 05:34:24'::timestamp) - extract(epoch from '2026-07-11 05:34: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'), 47812, 'SRID=4674;POINT (-40.326844 -2.78551)', '2026-07-11 05:34:32', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326939 -2.785628)'), GeomFromEWKT('SRID=4674;POINT (-40.326844 -2.78551)'))) / (select extract(epoch from '2026-07-11 05:34:32'::timestamp) - extract(epoch from '2026-07-11 05:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326939 -2.785628)'), GeomFromEWKT('SRID=4674;POINT (-40.326844 -2.78551)'))) / (select extract(epoch from '2026-07-11 05:34:32'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.32674 -2.785392)', '2026-07-11 05:34:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326844 -2.78551)'), GeomFromEWKT('SRID=4674;POINT (-40.32674 -2.785392)'))) / (select extract(epoch from '2026-07-11 05:34:40'::timestamp) - extract(epoch from '2026-07-11 05:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326844 -2.78551)'), GeomFromEWKT('SRID=4674;POINT (-40.32674 -2.785392)'))) / (select extract(epoch from '2026-07-11 05:34:40'::timestamp) - extract(epoch from '2026-07-11 05:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.326599 -2.785229)', '2026-07-11 05:34:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32674 -2.785392)'), GeomFromEWKT('SRID=4674;POINT (-40.326599 -2.785229)'))) / (select extract(epoch from '2026-07-11 05:34:51'::timestamp) - extract(epoch from '2026-07-11 05:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32674 -2.785392)'), GeomFromEWKT('SRID=4674;POINT (-40.326599 -2.785229)'))) / (select extract(epoch from '2026-07-11 05:34:51'::timestamp) - extract(epoch from '2026-07-11 05:34:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.326503 -2.785106)', '2026-07-11 05:35:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326599 -2.785229)'), GeomFromEWKT('SRID=4674;POINT (-40.326503 -2.785106)'))) / (select extract(epoch from '2026-07-11 05:35:00'::timestamp) - extract(epoch from '2026-07-11 05:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326599 -2.785229)'), GeomFromEWKT('SRID=4674;POINT (-40.326503 -2.785106)'))) / (select extract(epoch from '2026-07-11 05:35:00'::timestamp) - extract(epoch from '2026-07-11 05:34:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.326436 -2.784997)', '2026-07-11 05:35:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326503 -2.785106)'), GeomFromEWKT('SRID=4674;POINT (-40.326436 -2.784997)'))) / (select extract(epoch from '2026-07-11 05:35:07'::timestamp) - extract(epoch from '2026-07-11 05:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326503 -2.785106)'), GeomFromEWKT('SRID=4674;POINT (-40.326436 -2.784997)'))) / (select extract(epoch from '2026-07-11 05:35:07'::timestamp) - extract(epoch from '2026-07-11 05:35: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'), 47812, 'SRID=4674;POINT (-40.326351 -2.784866)', '2026-07-11 05:35:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326436 -2.784997)'), GeomFromEWKT('SRID=4674;POINT (-40.326351 -2.784866)'))) / (select extract(epoch from '2026-07-11 05:35:15'::timestamp) - extract(epoch from '2026-07-11 05:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326436 -2.784997)'), GeomFromEWKT('SRID=4674;POINT (-40.326351 -2.784866)'))) / (select extract(epoch from '2026-07-11 05:35:15'::timestamp) - extract(epoch from '2026-07-11 05:35: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'), 47812, 'SRID=4674;POINT (-40.326294 -2.78477)', '2026-07-11 05:35:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326351 -2.784866)'), GeomFromEWKT('SRID=4674;POINT (-40.326294 -2.78477)'))) / (select extract(epoch from '2026-07-11 05:35:21'::timestamp) - extract(epoch from '2026-07-11 05:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326351 -2.784866)'), GeomFromEWKT('SRID=4674;POINT (-40.326294 -2.78477)'))) / (select extract(epoch from '2026-07-11 05:35:21'::timestamp) - extract(epoch from '2026-07-11 05:35: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'), 47812, 'SRID=4674;POINT (-40.326232 -2.784659)', '2026-07-11 05:35:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326294 -2.78477)'), GeomFromEWKT('SRID=4674;POINT (-40.326232 -2.784659)'))) / (select extract(epoch from '2026-07-11 05:35:28'::timestamp) - extract(epoch from '2026-07-11 05:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326294 -2.78477)'), GeomFromEWKT('SRID=4674;POINT (-40.326232 -2.784659)'))) / (select extract(epoch from '2026-07-11 05:35:28'::timestamp) - extract(epoch from '2026-07-11 05:35: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'), 47812, 'SRID=4674;POINT (-40.326124 -2.784498)', '2026-07-11 05:35:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326232 -2.784659)'), GeomFromEWKT('SRID=4674;POINT (-40.326124 -2.784498)'))) / (select extract(epoch from '2026-07-11 05:35:38'::timestamp) - extract(epoch from '2026-07-11 05:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326232 -2.784659)'), GeomFromEWKT('SRID=4674;POINT (-40.326124 -2.784498)'))) / (select extract(epoch from '2026-07-11 05:35:38'::timestamp) - extract(epoch from '2026-07-11 05:35: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'), 47812, 'SRID=4674;POINT (-40.325979 -2.784333)', '2026-07-11 05:35:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326124 -2.784498)'), GeomFromEWKT('SRID=4674;POINT (-40.325979 -2.784333)'))) / (select extract(epoch from '2026-07-11 05:35:49'::timestamp) - extract(epoch from '2026-07-11 05:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326124 -2.784498)'), GeomFromEWKT('SRID=4674;POINT (-40.325979 -2.784333)'))) / (select extract(epoch from '2026-07-11 05:35:49'::timestamp) - extract(epoch from '2026-07-11 05:35:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.325845 -2.784189)', '2026-07-11 05:36:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325979 -2.784333)'), GeomFromEWKT('SRID=4674;POINT (-40.325845 -2.784189)'))) / (select extract(epoch from '2026-07-11 05:36:00'::timestamp) - extract(epoch from '2026-07-11 05:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325979 -2.784333)'), GeomFromEWKT('SRID=4674;POINT (-40.325845 -2.784189)'))) / (select extract(epoch from '2026-07-11 05:36:00'::timestamp) - extract(epoch from '2026-07-11 05:35:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.325751 -2.784089)', '2026-07-11 05:36:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325845 -2.784189)'), GeomFromEWKT('SRID=4674;POINT (-40.325751 -2.784089)'))) / (select extract(epoch from '2026-07-11 05:36:07'::timestamp) - extract(epoch from '2026-07-11 05:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325845 -2.784189)'), GeomFromEWKT('SRID=4674;POINT (-40.325751 -2.784089)'))) / (select extract(epoch from '2026-07-11 05:36:07'::timestamp) - extract(epoch from '2026-07-11 05:36: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'), 47812, 'SRID=4674;POINT (-40.325639 -2.783945)', '2026-07-11 05:36:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325751 -2.784089)'), GeomFromEWKT('SRID=4674;POINT (-40.325639 -2.783945)'))) / (select extract(epoch from '2026-07-11 05:36:16'::timestamp) - extract(epoch from '2026-07-11 05:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325751 -2.784089)'), GeomFromEWKT('SRID=4674;POINT (-40.325639 -2.783945)'))) / (select extract(epoch from '2026-07-11 05:36:16'::timestamp) - extract(epoch from '2026-07-11 05:36: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'), 47812, 'SRID=4674;POINT (-40.325539 -2.783791)', '2026-07-11 05:36:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325639 -2.783945)'), GeomFromEWKT('SRID=4674;POINT (-40.325539 -2.783791)'))) / (select extract(epoch from '2026-07-11 05:36:25'::timestamp) - extract(epoch from '2026-07-11 05:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325639 -2.783945)'), GeomFromEWKT('SRID=4674;POINT (-40.325539 -2.783791)'))) / (select extract(epoch from '2026-07-11 05:36:25'::timestamp) - extract(epoch from '2026-07-11 05:36: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'), 47812, 'SRID=4674;POINT (-40.325479 -2.783687)', '2026-07-11 05:36:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325539 -2.783791)'), GeomFromEWKT('SRID=4674;POINT (-40.325479 -2.783687)'))) / (select extract(epoch from '2026-07-11 05:36:31'::timestamp) - extract(epoch from '2026-07-11 05:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325539 -2.783791)'), GeomFromEWKT('SRID=4674;POINT (-40.325479 -2.783687)'))) / (select extract(epoch from '2026-07-11 05:36:31'::timestamp) - extract(epoch from '2026-07-11 05:36:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.325447 -2.78353)', '2026-07-11 05:36:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325479 -2.783687)'), GeomFromEWKT('SRID=4674;POINT (-40.325447 -2.78353)'))) / (select extract(epoch from '2026-07-11 05:36:39'::timestamp) - extract(epoch from '2026-07-11 05:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325479 -2.783687)'), GeomFromEWKT('SRID=4674;POINT (-40.325447 -2.78353)'))) / (select extract(epoch from '2026-07-11 05:36:39'::timestamp) - extract(epoch from '2026-07-11 05:36:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.325463 -2.783307)', '2026-07-11 05:36:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325447 -2.78353)'), GeomFromEWKT('SRID=4674;POINT (-40.325463 -2.783307)'))) / (select extract(epoch from '2026-07-11 05:36:49'::timestamp) - extract(epoch from '2026-07-11 05:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325447 -2.78353)'), GeomFromEWKT('SRID=4674;POINT (-40.325463 -2.783307)'))) / (select extract(epoch from '2026-07-11 05:36:49'::timestamp) - extract(epoch from '2026-07-11 05:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.325487 -2.783112)', '2026-07-11 05:36:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325463 -2.783307)'), GeomFromEWKT('SRID=4674;POINT (-40.325487 -2.783112)'))) / (select extract(epoch from '2026-07-11 05:36:58'::timestamp) - extract(epoch from '2026-07-11 05:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325463 -2.783307)'), GeomFromEWKT('SRID=4674;POINT (-40.325487 -2.783112)'))) / (select extract(epoch from '2026-07-11 05:36:58'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.325532 -2.782902)', '2026-07-11 05:37:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325487 -2.783112)'), GeomFromEWKT('SRID=4674;POINT (-40.325532 -2.782902)'))) / (select extract(epoch from '2026-07-11 05:37:08'::timestamp) - extract(epoch from '2026-07-11 05:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325487 -2.783112)'), GeomFromEWKT('SRID=4674;POINT (-40.325532 -2.782902)'))) / (select extract(epoch from '2026-07-11 05:37:08'::timestamp) - extract(epoch from '2026-07-11 05:36: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'), 47812, 'SRID=4674;POINT (-40.325544 -2.782694)', '2026-07-11 05:37:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325532 -2.782902)'), GeomFromEWKT('SRID=4674;POINT (-40.325544 -2.782694)'))) / (select extract(epoch from '2026-07-11 05:37:18'::timestamp) - extract(epoch from '2026-07-11 05:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325532 -2.782902)'), GeomFromEWKT('SRID=4674;POINT (-40.325544 -2.782694)'))) / (select extract(epoch from '2026-07-11 05:37:18'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.325556 -2.782542)', '2026-07-11 05:37:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325544 -2.782694)'), GeomFromEWKT('SRID=4674;POINT (-40.325556 -2.782542)'))) / (select extract(epoch from '2026-07-11 05:37:25'::timestamp) - extract(epoch from '2026-07-11 05:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325544 -2.782694)'), GeomFromEWKT('SRID=4674;POINT (-40.325556 -2.782542)'))) / (select extract(epoch from '2026-07-11 05:37:25'::timestamp) - extract(epoch from '2026-07-11 05:37:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.325554 -2.782346)', '2026-07-11 05:37:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325556 -2.782542)'), GeomFromEWKT('SRID=4674;POINT (-40.325554 -2.782346)'))) / (select extract(epoch from '2026-07-11 05:37:34'::timestamp) - extract(epoch from '2026-07-11 05:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325556 -2.782542)'), GeomFromEWKT('SRID=4674;POINT (-40.325554 -2.782346)'))) / (select extract(epoch from '2026-07-11 05:37:34'::timestamp) - extract(epoch from '2026-07-11 05:37:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.325573 -2.782164)', '2026-07-11 05:37:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325554 -2.782346)'), GeomFromEWKT('SRID=4674;POINT (-40.325573 -2.782164)'))) / (select extract(epoch from '2026-07-11 05:37:42'::timestamp) - extract(epoch from '2026-07-11 05:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325554 -2.782346)'), GeomFromEWKT('SRID=4674;POINT (-40.325573 -2.782164)'))) / (select extract(epoch from '2026-07-11 05:37:42'::timestamp) - extract(epoch from '2026-07-11 05:37:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.325606 -2.781953)', '2026-07-11 05:37:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325573 -2.782164)'), GeomFromEWKT('SRID=4674;POINT (-40.325606 -2.781953)'))) / (select extract(epoch from '2026-07-11 05:37:51'::timestamp) - extract(epoch from '2026-07-11 05:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325573 -2.782164)'), GeomFromEWKT('SRID=4674;POINT (-40.325606 -2.781953)'))) / (select extract(epoch from '2026-07-11 05:37:51'::timestamp) - extract(epoch from '2026-07-11 05:37:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.325636 -2.781728)', '2026-07-11 05:38:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325606 -2.781953)'), GeomFromEWKT('SRID=4674;POINT (-40.325636 -2.781728)'))) / (select extract(epoch from '2026-07-11 05:38:01'::timestamp) - extract(epoch from '2026-07-11 05:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325606 -2.781953)'), GeomFromEWKT('SRID=4674;POINT (-40.325636 -2.781728)'))) / (select extract(epoch from '2026-07-11 05:38:01'::timestamp) - extract(epoch from '2026-07-11 05:37: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'), 47812, 'SRID=4674;POINT (-40.325656 -2.781536)', '2026-07-11 05:38:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325636 -2.781728)'), GeomFromEWKT('SRID=4674;POINT (-40.325656 -2.781536)'))) / (select extract(epoch from '2026-07-11 05:38:10'::timestamp) - extract(epoch from '2026-07-11 05:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325636 -2.781728)'), GeomFromEWKT('SRID=4674;POINT (-40.325656 -2.781536)'))) / (select extract(epoch from '2026-07-11 05:38:10'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.325671 -2.781368)', '2026-07-11 05:38:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325656 -2.781536)'), GeomFromEWKT('SRID=4674;POINT (-40.325671 -2.781368)'))) / (select extract(epoch from '2026-07-11 05:38:18'::timestamp) - extract(epoch from '2026-07-11 05:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325656 -2.781536)'), GeomFromEWKT('SRID=4674;POINT (-40.325671 -2.781368)'))) / (select extract(epoch from '2026-07-11 05:38:18'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.325672 -2.781244)', '2026-07-11 05:38:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325671 -2.781368)'), GeomFromEWKT('SRID=4674;POINT (-40.325672 -2.781244)'))) / (select extract(epoch from '2026-07-11 05:38:24'::timestamp) - extract(epoch from '2026-07-11 05:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325671 -2.781368)'), GeomFromEWKT('SRID=4674;POINT (-40.325672 -2.781244)'))) / (select extract(epoch from '2026-07-11 05:38:24'::timestamp) - extract(epoch from '2026-07-11 05:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.325666 -2.781082)', '2026-07-11 05:38:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325672 -2.781244)'), GeomFromEWKT('SRID=4674;POINT (-40.325666 -2.781082)'))) / (select extract(epoch from '2026-07-11 05:38:32'::timestamp) - extract(epoch from '2026-07-11 05:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325672 -2.781244)'), GeomFromEWKT('SRID=4674;POINT (-40.325666 -2.781082)'))) / (select extract(epoch from '2026-07-11 05:38:32'::timestamp) - extract(epoch from '2026-07-11 05:38:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.325653 -2.780855)', '2026-07-11 05:38:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325666 -2.781082)'), GeomFromEWKT('SRID=4674;POINT (-40.325653 -2.780855)'))) / (select extract(epoch from '2026-07-11 05:38:43'::timestamp) - extract(epoch from '2026-07-11 05:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325666 -2.781082)'), GeomFromEWKT('SRID=4674;POINT (-40.325653 -2.780855)'))) / (select extract(epoch from '2026-07-11 05:38:43'::timestamp) - extract(epoch from '2026-07-11 05:38:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.325592 -2.780702)', '2026-07-11 05:38:51', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325653 -2.780855)'), GeomFromEWKT('SRID=4674;POINT (-40.325592 -2.780702)'))) / (select extract(epoch from '2026-07-11 05:38:51'::timestamp) - extract(epoch from '2026-07-11 05:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325653 -2.780855)'), GeomFromEWKT('SRID=4674;POINT (-40.325592 -2.780702)'))) / (select extract(epoch from '2026-07-11 05:38:51'::timestamp) - extract(epoch from '2026-07-11 05:38: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'), 47812, 'SRID=4674;POINT (-40.32553 -2.780545)', '2026-07-11 05:38:59', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325592 -2.780702)'), GeomFromEWKT('SRID=4674;POINT (-40.32553 -2.780545)'))) / (select extract(epoch from '2026-07-11 05:38:59'::timestamp) - extract(epoch from '2026-07-11 05:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325592 -2.780702)'), GeomFromEWKT('SRID=4674;POINT (-40.32553 -2.780545)'))) / (select extract(epoch from '2026-07-11 05:38:59'::timestamp) - extract(epoch from '2026-07-11 05:38:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.325464 -2.78038)', '2026-07-11 05:39:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32553 -2.780545)'), GeomFromEWKT('SRID=4674;POINT (-40.325464 -2.78038)'))) / (select extract(epoch from '2026-07-11 05:39:08'::timestamp) - extract(epoch from '2026-07-11 05:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32553 -2.780545)'), GeomFromEWKT('SRID=4674;POINT (-40.325464 -2.78038)'))) / (select extract(epoch from '2026-07-11 05:39:08'::timestamp) - extract(epoch from '2026-07-11 05:38: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'), 47812, 'SRID=4674;POINT (-40.325414 -2.78026)', '2026-07-11 05:39:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325464 -2.78038)'), GeomFromEWKT('SRID=4674;POINT (-40.325414 -2.78026)'))) / (select extract(epoch from '2026-07-11 05:39:15'::timestamp) - extract(epoch from '2026-07-11 05:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325464 -2.78038)'), GeomFromEWKT('SRID=4674;POINT (-40.325414 -2.78026)'))) / (select extract(epoch from '2026-07-11 05:39:15'::timestamp) - extract(epoch from '2026-07-11 05:39: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'), 47812, 'SRID=4674;POINT (-40.32541 -2.780131)', '2026-07-11 05:39:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325414 -2.78026)'), GeomFromEWKT('SRID=4674;POINT (-40.32541 -2.780131)'))) / (select extract(epoch from '2026-07-11 05:39:22'::timestamp) - extract(epoch from '2026-07-11 05:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325414 -2.78026)'), GeomFromEWKT('SRID=4674;POINT (-40.32541 -2.780131)'))) / (select extract(epoch from '2026-07-11 05:39:22'::timestamp) - extract(epoch from '2026-07-11 05:39: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'), 47812, 'SRID=4674;POINT (-40.325384 -2.779976)', '2026-07-11 05:39:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32541 -2.780131)'), GeomFromEWKT('SRID=4674;POINT (-40.325384 -2.779976)'))) / (select extract(epoch from '2026-07-11 05:39:30'::timestamp) - extract(epoch from '2026-07-11 05:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32541 -2.780131)'), GeomFromEWKT('SRID=4674;POINT (-40.325384 -2.779976)'))) / (select extract(epoch from '2026-07-11 05:39:30'::timestamp) - extract(epoch from '2026-07-11 05:39: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'), 47812, 'SRID=4674;POINT (-40.325331 -2.77982)', '2026-07-11 05:39:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325384 -2.779976)'), GeomFromEWKT('SRID=4674;POINT (-40.325331 -2.77982)'))) / (select extract(epoch from '2026-07-11 05:39:38'::timestamp) - extract(epoch from '2026-07-11 05:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325384 -2.779976)'), GeomFromEWKT('SRID=4674;POINT (-40.325331 -2.77982)'))) / (select extract(epoch from '2026-07-11 05:39:38'::timestamp) - extract(epoch from '2026-07-11 05:39: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'), 47812, 'SRID=4674;POINT (-40.325294 -2.779676)', '2026-07-11 05:39:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325331 -2.77982)'), GeomFromEWKT('SRID=4674;POINT (-40.325294 -2.779676)'))) / (select extract(epoch from '2026-07-11 05:39:45'::timestamp) - extract(epoch from '2026-07-11 05:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325331 -2.77982)'), GeomFromEWKT('SRID=4674;POINT (-40.325294 -2.779676)'))) / (select extract(epoch from '2026-07-11 05:39:45'::timestamp) - extract(epoch from '2026-07-11 05:39: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'), 47812, 'SRID=4674;POINT (-40.325233 -2.779529)', '2026-07-11 05:39:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325294 -2.779676)'), GeomFromEWKT('SRID=4674;POINT (-40.325233 -2.779529)'))) / (select extract(epoch from '2026-07-11 05:39:53'::timestamp) - extract(epoch from '2026-07-11 05:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325294 -2.779676)'), GeomFromEWKT('SRID=4674;POINT (-40.325233 -2.779529)'))) / (select extract(epoch from '2026-07-11 05:39:53'::timestamp) - extract(epoch from '2026-07-11 05:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.325166 -2.779421)', '2026-07-11 05:40:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325233 -2.779529)'), GeomFromEWKT('SRID=4674;POINT (-40.325166 -2.779421)'))) / (select extract(epoch from '2026-07-11 05:40:00'::timestamp) - extract(epoch from '2026-07-11 05:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325233 -2.779529)'), GeomFromEWKT('SRID=4674;POINT (-40.325166 -2.779421)'))) / (select extract(epoch from '2026-07-11 05:40:00'::timestamp) - extract(epoch from '2026-07-11 05:39:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.325063 -2.779288)', '2026-07-11 05:40:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325166 -2.779421)'), GeomFromEWKT('SRID=4674;POINT (-40.325063 -2.779288)'))) / (select extract(epoch from '2026-07-11 05:40:09'::timestamp) - extract(epoch from '2026-07-11 05:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325166 -2.779421)'), GeomFromEWKT('SRID=4674;POINT (-40.325063 -2.779288)'))) / (select extract(epoch from '2026-07-11 05:40:09'::timestamp) - extract(epoch from '2026-07-11 05:40:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.324999 -2.77915)', '2026-07-11 05:40:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325063 -2.779288)'), GeomFromEWKT('SRID=4674;POINT (-40.324999 -2.77915)'))) / (select extract(epoch from '2026-07-11 05:40:17'::timestamp) - extract(epoch from '2026-07-11 05:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325063 -2.779288)'), GeomFromEWKT('SRID=4674;POINT (-40.324999 -2.77915)'))) / (select extract(epoch from '2026-07-11 05:40:17'::timestamp) - extract(epoch from '2026-07-11 05:40: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'), 47812, 'SRID=4674;POINT (-40.324913 -2.779018)', '2026-07-11 05:40:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324999 -2.77915)'), GeomFromEWKT('SRID=4674;POINT (-40.324913 -2.779018)'))) / (select extract(epoch from '2026-07-11 05:40:25'::timestamp) - extract(epoch from '2026-07-11 05:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324999 -2.77915)'), GeomFromEWKT('SRID=4674;POINT (-40.324913 -2.779018)'))) / (select extract(epoch from '2026-07-11 05:40:25'::timestamp) - extract(epoch from '2026-07-11 05:40: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'), 47812, 'SRID=4674;POINT (-40.324815 -2.778875)', '2026-07-11 05:40:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324913 -2.779018)'), GeomFromEWKT('SRID=4674;POINT (-40.324815 -2.778875)'))) / (select extract(epoch from '2026-07-11 05:40:34'::timestamp) - extract(epoch from '2026-07-11 05:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324913 -2.779018)'), GeomFromEWKT('SRID=4674;POINT (-40.324815 -2.778875)'))) / (select extract(epoch from '2026-07-11 05:40:34'::timestamp) - extract(epoch from '2026-07-11 05:40: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'), 47812, 'SRID=4674;POINT (-40.324742 -2.778748)', '2026-07-11 05:40:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324815 -2.778875)'), GeomFromEWKT('SRID=4674;POINT (-40.324742 -2.778748)'))) / (select extract(epoch from '2026-07-11 05:40:42'::timestamp) - extract(epoch from '2026-07-11 05:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324815 -2.778875)'), GeomFromEWKT('SRID=4674;POINT (-40.324742 -2.778748)'))) / (select extract(epoch from '2026-07-11 05:40:42'::timestamp) - extract(epoch from '2026-07-11 05:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.324656 -2.778563)', '2026-07-11 05:40:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324742 -2.778748)'), GeomFromEWKT('SRID=4674;POINT (-40.324656 -2.778563)'))) / (select extract(epoch from '2026-07-11 05:40:52'::timestamp) - extract(epoch from '2026-07-11 05:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324742 -2.778748)'), GeomFromEWKT('SRID=4674;POINT (-40.324656 -2.778563)'))) / (select extract(epoch from '2026-07-11 05:40:52'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.324588 -2.778416)', '2026-07-11 05:41:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324656 -2.778563)'), GeomFromEWKT('SRID=4674;POINT (-40.324588 -2.778416)'))) / (select extract(epoch from '2026-07-11 05:41:00'::timestamp) - extract(epoch from '2026-07-11 05:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324656 -2.778563)'), GeomFromEWKT('SRID=4674;POINT (-40.324588 -2.778416)'))) / (select extract(epoch from '2026-07-11 05:41:00'::timestamp) - extract(epoch from '2026-07-11 05:40: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'), 47812, 'SRID=4674;POINT (-40.324532 -2.778261)', '2026-07-11 05:41:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324588 -2.778416)'), GeomFromEWKT('SRID=4674;POINT (-40.324532 -2.778261)'))) / (select extract(epoch from '2026-07-11 05:41:09'::timestamp) - extract(epoch from '2026-07-11 05:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324588 -2.778416)'), GeomFromEWKT('SRID=4674;POINT (-40.324532 -2.778261)'))) / (select extract(epoch from '2026-07-11 05:41:09'::timestamp) - extract(epoch from '2026-07-11 05:41: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'), 47812, 'SRID=4674;POINT (-40.324479 -2.778067)', '2026-07-11 05:41:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324532 -2.778261)'), GeomFromEWKT('SRID=4674;POINT (-40.324479 -2.778067)'))) / (select extract(epoch from '2026-07-11 05:41:19'::timestamp) - extract(epoch from '2026-07-11 05:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324532 -2.778261)'), GeomFromEWKT('SRID=4674;POINT (-40.324479 -2.778067)'))) / (select extract(epoch from '2026-07-11 05:41:19'::timestamp) - extract(epoch from '2026-07-11 05:41: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'), 47812, 'SRID=4674;POINT (-40.324461 -2.777932)', '2026-07-11 05:41:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324479 -2.778067)'), GeomFromEWKT('SRID=4674;POINT (-40.324461 -2.777932)'))) / (select extract(epoch from '2026-07-11 05:41:26'::timestamp) - extract(epoch from '2026-07-11 05:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324479 -2.778067)'), GeomFromEWKT('SRID=4674;POINT (-40.324461 -2.777932)'))) / (select extract(epoch from '2026-07-11 05:41:26'::timestamp) - extract(epoch from '2026-07-11 05:41: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'), 47812, 'SRID=4674;POINT (-40.324411 -2.777732)', '2026-07-11 05:41:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324461 -2.777932)'), GeomFromEWKT('SRID=4674;POINT (-40.324411 -2.777732)'))) / (select extract(epoch from '2026-07-11 05:41:36'::timestamp) - extract(epoch from '2026-07-11 05:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324461 -2.777932)'), GeomFromEWKT('SRID=4674;POINT (-40.324411 -2.777732)'))) / (select extract(epoch from '2026-07-11 05:41:36'::timestamp) - extract(epoch from '2026-07-11 05:41: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'), 47812, 'SRID=4674;POINT (-40.324359 -2.777595)', '2026-07-11 05:41:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324411 -2.777732)'), GeomFromEWKT('SRID=4674;POINT (-40.324359 -2.777595)'))) / (select extract(epoch from '2026-07-11 05:41:44'::timestamp) - extract(epoch from '2026-07-11 05:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324411 -2.777732)'), GeomFromEWKT('SRID=4674;POINT (-40.324359 -2.777595)'))) / (select extract(epoch from '2026-07-11 05:41:44'::timestamp) - extract(epoch from '2026-07-11 05:41:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.324296 -2.777426)', '2026-07-11 05:41:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324359 -2.777595)'), GeomFromEWKT('SRID=4674;POINT (-40.324296 -2.777426)'))) / (select extract(epoch from '2026-07-11 05:41:53'::timestamp) - extract(epoch from '2026-07-11 05:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324359 -2.777595)'), GeomFromEWKT('SRID=4674;POINT (-40.324296 -2.777426)'))) / (select extract(epoch from '2026-07-11 05:41:53'::timestamp) - extract(epoch from '2026-07-11 05:41: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'), 47812, 'SRID=4674;POINT (-40.324262 -2.777298)', '2026-07-11 05:42:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324296 -2.777426)'), GeomFromEWKT('SRID=4674;POINT (-40.324262 -2.777298)'))) / (select extract(epoch from '2026-07-11 05:42:00'::timestamp) - extract(epoch from '2026-07-11 05:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324296 -2.777426)'), GeomFromEWKT('SRID=4674;POINT (-40.324262 -2.777298)'))) / (select extract(epoch from '2026-07-11 05:42:00'::timestamp) - extract(epoch from '2026-07-11 05:41: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'), 47812, 'SRID=4674;POINT (-40.324224 -2.777143)', '2026-07-11 05:42:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324262 -2.777298)'), GeomFromEWKT('SRID=4674;POINT (-40.324224 -2.777143)'))) / (select extract(epoch from '2026-07-11 05:42:08'::timestamp) - extract(epoch from '2026-07-11 05:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324262 -2.777298)'), GeomFromEWKT('SRID=4674;POINT (-40.324224 -2.777143)'))) / (select extract(epoch from '2026-07-11 05:42:08'::timestamp) - extract(epoch from '2026-07-11 05:42:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.324168 -2.777008)', '2026-07-11 05:42:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324224 -2.777143)'), GeomFromEWKT('SRID=4674;POINT (-40.324168 -2.777008)'))) / (select extract(epoch from '2026-07-11 05:42:16'::timestamp) - extract(epoch from '2026-07-11 05:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324224 -2.777143)'), GeomFromEWKT('SRID=4674;POINT (-40.324168 -2.777008)'))) / (select extract(epoch from '2026-07-11 05:42:16'::timestamp) - extract(epoch from '2026-07-11 05:42: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'), 47812, 'SRID=4674;POINT (-40.324117 -2.776902)', '2026-07-11 05:42:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324168 -2.777008)'), GeomFromEWKT('SRID=4674;POINT (-40.324117 -2.776902)'))) / (select extract(epoch from '2026-07-11 05:42:22'::timestamp) - extract(epoch from '2026-07-11 05:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324168 -2.777008)'), GeomFromEWKT('SRID=4674;POINT (-40.324117 -2.776902)'))) / (select extract(epoch from '2026-07-11 05:42:22'::timestamp) - extract(epoch from '2026-07-11 05:42: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'), 47812, 'SRID=4674;POINT (-40.32404 -2.776771)', '2026-07-11 05:42:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324117 -2.776902)'), GeomFromEWKT('SRID=4674;POINT (-40.32404 -2.776771)'))) / (select extract(epoch from '2026-07-11 05:42:30'::timestamp) - extract(epoch from '2026-07-11 05:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324117 -2.776902)'), GeomFromEWKT('SRID=4674;POINT (-40.32404 -2.776771)'))) / (select extract(epoch from '2026-07-11 05:42:30'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.323971 -2.776597)', '2026-07-11 05:42:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32404 -2.776771)'), GeomFromEWKT('SRID=4674;POINT (-40.323971 -2.776597)'))) / (select extract(epoch from '2026-07-11 05:42:39'::timestamp) - extract(epoch from '2026-07-11 05:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32404 -2.776771)'), GeomFromEWKT('SRID=4674;POINT (-40.323971 -2.776597)'))) / (select extract(epoch from '2026-07-11 05:42:39'::timestamp) - extract(epoch from '2026-07-11 05:42: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'), 47812, 'SRID=4674;POINT (-40.323914 -2.77646)', '2026-07-11 05:42:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323971 -2.776597)'), GeomFromEWKT('SRID=4674;POINT (-40.323914 -2.77646)'))) / (select extract(epoch from '2026-07-11 05:42:47'::timestamp) - extract(epoch from '2026-07-11 05:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323971 -2.776597)'), GeomFromEWKT('SRID=4674;POINT (-40.323914 -2.77646)'))) / (select extract(epoch from '2026-07-11 05:42:47'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.323888 -2.776321)', '2026-07-11 05:42:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323914 -2.77646)'), GeomFromEWKT('SRID=4674;POINT (-40.323888 -2.776321)'))) / (select extract(epoch from '2026-07-11 05:42:54'::timestamp) - extract(epoch from '2026-07-11 05:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323914 -2.77646)'), GeomFromEWKT('SRID=4674;POINT (-40.323888 -2.776321)'))) / (select extract(epoch from '2026-07-11 05:42:54'::timestamp) - extract(epoch from '2026-07-11 05:42: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'), 47812, 'SRID=4674;POINT (-40.323868 -2.776138)', '2026-07-11 05:43:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323888 -2.776321)'), GeomFromEWKT('SRID=4674;POINT (-40.323868 -2.776138)'))) / (select extract(epoch from '2026-07-11 05:43:03'::timestamp) - extract(epoch from '2026-07-11 05:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323888 -2.776321)'), GeomFromEWKT('SRID=4674;POINT (-40.323868 -2.776138)'))) / (select extract(epoch from '2026-07-11 05:43:03'::timestamp) - extract(epoch from '2026-07-11 05:42: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'), 47812, 'SRID=4674;POINT (-40.323854 -2.775976)', '2026-07-11 05:43:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323868 -2.776138)'), GeomFromEWKT('SRID=4674;POINT (-40.323854 -2.775976)'))) / (select extract(epoch from '2026-07-11 05:43:11'::timestamp) - extract(epoch from '2026-07-11 05:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323868 -2.776138)'), GeomFromEWKT('SRID=4674;POINT (-40.323854 -2.775976)'))) / (select extract(epoch from '2026-07-11 05:43:11'::timestamp) - extract(epoch from '2026-07-11 05:43: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'), 47812, 'SRID=4674;POINT (-40.323838 -2.775819)', '2026-07-11 05:43:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323854 -2.775976)'), GeomFromEWKT('SRID=4674;POINT (-40.323838 -2.775819)'))) / (select extract(epoch from '2026-07-11 05:43:19'::timestamp) - extract(epoch from '2026-07-11 05:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323854 -2.775976)'), GeomFromEWKT('SRID=4674;POINT (-40.323838 -2.775819)'))) / (select extract(epoch from '2026-07-11 05:43:19'::timestamp) - extract(epoch from '2026-07-11 05:43: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'), 47812, 'SRID=4674;POINT (-40.32384 -2.775687)', '2026-07-11 05:43:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323838 -2.775819)'), GeomFromEWKT('SRID=4674;POINT (-40.32384 -2.775687)'))) / (select extract(epoch from '2026-07-11 05:43:26'::timestamp) - extract(epoch from '2026-07-11 05:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323838 -2.775819)'), GeomFromEWKT('SRID=4674;POINT (-40.32384 -2.775687)'))) / (select extract(epoch from '2026-07-11 05:43:26'::timestamp) - extract(epoch from '2026-07-11 05:43: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'), 47812, 'SRID=4674;POINT (-40.323851 -2.775483)', '2026-07-11 05:43:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32384 -2.775687)'), GeomFromEWKT('SRID=4674;POINT (-40.323851 -2.775483)'))) / (select extract(epoch from '2026-07-11 05:43:36'::timestamp) - extract(epoch from '2026-07-11 05:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32384 -2.775687)'), GeomFromEWKT('SRID=4674;POINT (-40.323851 -2.775483)'))) / (select extract(epoch from '2026-07-11 05:43:36'::timestamp) - extract(epoch from '2026-07-11 05:43: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'), 47812, 'SRID=4674;POINT (-40.323846 -2.775296)', '2026-07-11 05:43:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323851 -2.775483)'), GeomFromEWKT('SRID=4674;POINT (-40.323846 -2.775296)'))) / (select extract(epoch from '2026-07-11 05:43:45'::timestamp) - extract(epoch from '2026-07-11 05:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323851 -2.775483)'), GeomFromEWKT('SRID=4674;POINT (-40.323846 -2.775296)'))) / (select extract(epoch from '2026-07-11 05:43:45'::timestamp) - extract(epoch from '2026-07-11 05:43: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'), 47812, 'SRID=4674;POINT (-40.323848 -2.775141)', '2026-07-11 05:43:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323846 -2.775296)'), GeomFromEWKT('SRID=4674;POINT (-40.323848 -2.775141)'))) / (select extract(epoch from '2026-07-11 05:43:53'::timestamp) - extract(epoch from '2026-07-11 05:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323846 -2.775296)'), GeomFromEWKT('SRID=4674;POINT (-40.323848 -2.775141)'))) / (select extract(epoch from '2026-07-11 05:43:53'::timestamp) - extract(epoch from '2026-07-11 05:43:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.323836 -2.774967)', '2026-07-11 05:44:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323848 -2.775141)'), GeomFromEWKT('SRID=4674;POINT (-40.323836 -2.774967)'))) / (select extract(epoch from '2026-07-11 05:44:02'::timestamp) - extract(epoch from '2026-07-11 05:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323848 -2.775141)'), GeomFromEWKT('SRID=4674;POINT (-40.323836 -2.774967)'))) / (select extract(epoch from '2026-07-11 05:44:02'::timestamp) - extract(epoch from '2026-07-11 05:43: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'), 47812, 'SRID=4674;POINT (-40.323834 -2.774786)', '2026-07-11 05:44:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323836 -2.774967)'), GeomFromEWKT('SRID=4674;POINT (-40.323834 -2.774786)'))) / (select extract(epoch from '2026-07-11 05:44:11'::timestamp) - extract(epoch from '2026-07-11 05:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323836 -2.774967)'), GeomFromEWKT('SRID=4674;POINT (-40.323834 -2.774786)'))) / (select extract(epoch from '2026-07-11 05:44:11'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.323834 -2.774641)', '2026-07-11 05:44:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323834 -2.774786)'), GeomFromEWKT('SRID=4674;POINT (-40.323834 -2.774641)'))) / (select extract(epoch from '2026-07-11 05:44:18'::timestamp) - extract(epoch from '2026-07-11 05:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323834 -2.774786)'), GeomFromEWKT('SRID=4674;POINT (-40.323834 -2.774641)'))) / (select extract(epoch from '2026-07-11 05:44:18'::timestamp) - extract(epoch from '2026-07-11 05:44: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'), 47812, 'SRID=4674;POINT (-40.323819 -2.774432)', '2026-07-11 05:44:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323834 -2.774641)'), GeomFromEWKT('SRID=4674;POINT (-40.323819 -2.774432)'))) / (select extract(epoch from '2026-07-11 05:44:28'::timestamp) - extract(epoch from '2026-07-11 05:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323834 -2.774641)'), GeomFromEWKT('SRID=4674;POINT (-40.323819 -2.774432)'))) / (select extract(epoch from '2026-07-11 05:44:28'::timestamp) - extract(epoch from '2026-07-11 05:44: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'), 47812, 'SRID=4674;POINT (-40.323804 -2.77427)', '2026-07-11 05:44:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323819 -2.774432)'), GeomFromEWKT('SRID=4674;POINT (-40.323804 -2.77427)'))) / (select extract(epoch from '2026-07-11 05:44:36'::timestamp) - extract(epoch from '2026-07-11 05:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323819 -2.774432)'), GeomFromEWKT('SRID=4674;POINT (-40.323804 -2.77427)'))) / (select extract(epoch from '2026-07-11 05:44:36'::timestamp) - extract(epoch from '2026-07-11 05:44: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'), 47812, 'SRID=4674;POINT (-40.32379 -2.774136)', '2026-07-11 05:44:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323804 -2.77427)'), GeomFromEWKT('SRID=4674;POINT (-40.32379 -2.774136)'))) / (select extract(epoch from '2026-07-11 05:44:44'::timestamp) - extract(epoch from '2026-07-11 05:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323804 -2.77427)'), GeomFromEWKT('SRID=4674;POINT (-40.32379 -2.774136)'))) / (select extract(epoch from '2026-07-11 05:44:44'::timestamp) - extract(epoch from '2026-07-11 05:44: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'), 47812, 'SRID=4674;POINT (-40.323735 -2.773983)', '2026-07-11 05:44:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32379 -2.774136)'), GeomFromEWKT('SRID=4674;POINT (-40.323735 -2.773983)'))) / (select extract(epoch from '2026-07-11 05:44:53'::timestamp) - extract(epoch from '2026-07-11 05:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32379 -2.774136)'), GeomFromEWKT('SRID=4674;POINT (-40.323735 -2.773983)'))) / (select extract(epoch from '2026-07-11 05:44:53'::timestamp) - extract(epoch from '2026-07-11 05:44:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.32368 -2.773844)', '2026-07-11 05:45:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323735 -2.773983)'), GeomFromEWKT('SRID=4674;POINT (-40.32368 -2.773844)'))) / (select extract(epoch from '2026-07-11 05:45:01'::timestamp) - extract(epoch from '2026-07-11 05:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323735 -2.773983)'), GeomFromEWKT('SRID=4674;POINT (-40.32368 -2.773844)'))) / (select extract(epoch from '2026-07-11 05:45:01'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.323641 -2.773705)', '2026-07-11 05:45:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32368 -2.773844)'), GeomFromEWKT('SRID=4674;POINT (-40.323641 -2.773705)'))) / (select extract(epoch from '2026-07-11 05:45:09'::timestamp) - extract(epoch from '2026-07-11 05:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32368 -2.773844)'), GeomFromEWKT('SRID=4674;POINT (-40.323641 -2.773705)'))) / (select extract(epoch from '2026-07-11 05:45:09'::timestamp) - extract(epoch from '2026-07-11 05:45: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'), 47812, 'SRID=4674;POINT (-40.323601 -2.773554)', '2026-07-11 05:45:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323641 -2.773705)'), GeomFromEWKT('SRID=4674;POINT (-40.323601 -2.773554)'))) / (select extract(epoch from '2026-07-11 05:45:18'::timestamp) - extract(epoch from '2026-07-11 05:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323641 -2.773705)'), GeomFromEWKT('SRID=4674;POINT (-40.323601 -2.773554)'))) / (select extract(epoch from '2026-07-11 05:45:18'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.323532 -2.773445)', '2026-07-11 05:45:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323601 -2.773554)'), GeomFromEWKT('SRID=4674;POINT (-40.323532 -2.773445)'))) / (select extract(epoch from '2026-07-11 05:45:26'::timestamp) - extract(epoch from '2026-07-11 05:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323601 -2.773554)'), GeomFromEWKT('SRID=4674;POINT (-40.323532 -2.773445)'))) / (select extract(epoch from '2026-07-11 05:45:26'::timestamp) - extract(epoch from '2026-07-11 05:45: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'), 47812, 'SRID=4674;POINT (-40.323439 -2.773373)', '2026-07-11 05:45:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323532 -2.773445)'), GeomFromEWKT('SRID=4674;POINT (-40.323439 -2.773373)'))) / (select extract(epoch from '2026-07-11 05:45:34'::timestamp) - extract(epoch from '2026-07-11 05:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323532 -2.773445)'), GeomFromEWKT('SRID=4674;POINT (-40.323439 -2.773373)'))) / (select extract(epoch from '2026-07-11 05:45:34'::timestamp) - extract(epoch from '2026-07-11 05:45: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'), 47812, 'SRID=4674;POINT (-40.323332 -2.77327)', '2026-07-11 05:45:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323439 -2.773373)'), GeomFromEWKT('SRID=4674;POINT (-40.323332 -2.77327)'))) / (select extract(epoch from '2026-07-11 05:45:44'::timestamp) - extract(epoch from '2026-07-11 05:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323439 -2.773373)'), GeomFromEWKT('SRID=4674;POINT (-40.323332 -2.77327)'))) / (select extract(epoch from '2026-07-11 05:45:44'::timestamp) - extract(epoch from '2026-07-11 05:45: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'), 47812, 'SRID=4674;POINT (-40.323259 -2.773189)', '2026-07-11 05:45:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323332 -2.77327)'), GeomFromEWKT('SRID=4674;POINT (-40.323259 -2.773189)'))) / (select extract(epoch from '2026-07-11 05:45:51'::timestamp) - extract(epoch from '2026-07-11 05:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323332 -2.77327)'), GeomFromEWKT('SRID=4674;POINT (-40.323259 -2.773189)'))) / (select extract(epoch from '2026-07-11 05:45:51'::timestamp) - extract(epoch from '2026-07-11 05:45:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.323196 -2.773119)', '2026-07-11 05:45:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323259 -2.773189)'), GeomFromEWKT('SRID=4674;POINT (-40.323196 -2.773119)'))) / (select extract(epoch from '2026-07-11 05:45:57'::timestamp) - extract(epoch from '2026-07-11 05:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323259 -2.773189)'), GeomFromEWKT('SRID=4674;POINT (-40.323196 -2.773119)'))) / (select extract(epoch from '2026-07-11 05:45:57'::timestamp) - extract(epoch from '2026-07-11 05:45: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'), 47812, 'SRID=4674;POINT (-40.32313 -2.773032)', '2026-07-11 05:46:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323196 -2.773119)'), GeomFromEWKT('SRID=4674;POINT (-40.32313 -2.773032)'))) / (select extract(epoch from '2026-07-11 05:46:04'::timestamp) - extract(epoch from '2026-07-11 05:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323196 -2.773119)'), GeomFromEWKT('SRID=4674;POINT (-40.32313 -2.773032)'))) / (select extract(epoch from '2026-07-11 05:46:04'::timestamp) - extract(epoch from '2026-07-11 05:45:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.32302 -2.772928)', '2026-07-11 05:46:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32313 -2.773032)'), GeomFromEWKT('SRID=4674;POINT (-40.32302 -2.772928)'))) / (select extract(epoch from '2026-07-11 05:46:13'::timestamp) - extract(epoch from '2026-07-11 05:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32313 -2.773032)'), GeomFromEWKT('SRID=4674;POINT (-40.32302 -2.772928)'))) / (select extract(epoch from '2026-07-11 05:46:13'::timestamp) - extract(epoch from '2026-07-11 05:46: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'), 47812, 'SRID=4674;POINT (-40.322954 -2.772843)', '2026-07-11 05:46:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32302 -2.772928)'), GeomFromEWKT('SRID=4674;POINT (-40.322954 -2.772843)'))) / (select extract(epoch from '2026-07-11 05:46:19'::timestamp) - extract(epoch from '2026-07-11 05:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32302 -2.772928)'), GeomFromEWKT('SRID=4674;POINT (-40.322954 -2.772843)'))) / (select extract(epoch from '2026-07-11 05:46:19'::timestamp) - extract(epoch from '2026-07-11 05:46:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.322879 -2.772731)', '2026-07-11 05:46:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322954 -2.772843)'), GeomFromEWKT('SRID=4674;POINT (-40.322879 -2.772731)'))) / (select extract(epoch from '2026-07-11 05:46:27'::timestamp) - extract(epoch from '2026-07-11 05:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322954 -2.772843)'), GeomFromEWKT('SRID=4674;POINT (-40.322879 -2.772731)'))) / (select extract(epoch from '2026-07-11 05:46:27'::timestamp) - extract(epoch from '2026-07-11 05:46:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.322786 -2.7726)', '2026-07-11 05:46:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322879 -2.772731)'), GeomFromEWKT('SRID=4674;POINT (-40.322786 -2.7726)'))) / (select extract(epoch from '2026-07-11 05:46:36'::timestamp) - extract(epoch from '2026-07-11 05:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322879 -2.772731)'), GeomFromEWKT('SRID=4674;POINT (-40.322786 -2.7726)'))) / (select extract(epoch from '2026-07-11 05:46:36'::timestamp) - extract(epoch from '2026-07-11 05:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.322693 -2.772502)', '2026-07-11 05:46:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322786 -2.7726)'), GeomFromEWKT('SRID=4674;POINT (-40.322693 -2.772502)'))) / (select extract(epoch from '2026-07-11 05:46:44'::timestamp) - extract(epoch from '2026-07-11 05:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322786 -2.7726)'), GeomFromEWKT('SRID=4674;POINT (-40.322693 -2.772502)'))) / (select extract(epoch from '2026-07-11 05:46:44'::timestamp) - extract(epoch from '2026-07-11 05:46: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'), 47812, 'SRID=4674;POINT (-40.322615 -2.772365)', '2026-07-11 05:46:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322693 -2.772502)'), GeomFromEWKT('SRID=4674;POINT (-40.322615 -2.772365)'))) / (select extract(epoch from '2026-07-11 05:46:53'::timestamp) - extract(epoch from '2026-07-11 05:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322693 -2.772502)'), GeomFromEWKT('SRID=4674;POINT (-40.322615 -2.772365)'))) / (select extract(epoch from '2026-07-11 05:46:53'::timestamp) - extract(epoch from '2026-07-11 05:46:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.322581 -2.772192)', '2026-07-11 05:47:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322615 -2.772365)'), GeomFromEWKT('SRID=4674;POINT (-40.322581 -2.772192)'))) / (select extract(epoch from '2026-07-11 05:47:03'::timestamp) - extract(epoch from '2026-07-11 05:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322615 -2.772365)'), GeomFromEWKT('SRID=4674;POINT (-40.322581 -2.772192)'))) / (select extract(epoch from '2026-07-11 05:47:03'::timestamp) - extract(epoch from '2026-07-11 05:46: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'), 47812, 'SRID=4674;POINT (-40.322581 -2.772084)', '2026-07-11 05:47:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322581 -2.772192)'), GeomFromEWKT('SRID=4674;POINT (-40.322581 -2.772084)'))) / (select extract(epoch from '2026-07-11 05:47:09'::timestamp) - extract(epoch from '2026-07-11 05:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322581 -2.772192)'), GeomFromEWKT('SRID=4674;POINT (-40.322581 -2.772084)'))) / (select extract(epoch from '2026-07-11 05:47:09'::timestamp) - extract(epoch from '2026-07-11 05:47: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'), 47812, 'SRID=4674;POINT (-40.322572 -2.771946)', '2026-07-11 05:47:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322581 -2.772084)'), GeomFromEWKT('SRID=4674;POINT (-40.322572 -2.771946)'))) / (select extract(epoch from '2026-07-11 05:47:17'::timestamp) - extract(epoch from '2026-07-11 05:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322581 -2.772084)'), GeomFromEWKT('SRID=4674;POINT (-40.322572 -2.771946)'))) / (select extract(epoch from '2026-07-11 05:47:17'::timestamp) - extract(epoch from '2026-07-11 05:47: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'), 47812, 'SRID=4674;POINT (-40.32257 -2.77181)', '2026-07-11 05:47:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322572 -2.771946)'), GeomFromEWKT('SRID=4674;POINT (-40.32257 -2.77181)'))) / (select extract(epoch from '2026-07-11 05:47:24'::timestamp) - extract(epoch from '2026-07-11 05:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322572 -2.771946)'), GeomFromEWKT('SRID=4674;POINT (-40.32257 -2.77181)'))) / (select extract(epoch from '2026-07-11 05:47:24'::timestamp) - extract(epoch from '2026-07-11 05:47: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'), 47812, 'SRID=4674;POINT (-40.322559 -2.771677)', '2026-07-11 05:47:31', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32257 -2.77181)'), GeomFromEWKT('SRID=4674;POINT (-40.322559 -2.771677)'))) / (select extract(epoch from '2026-07-11 05:47:31'::timestamp) - extract(epoch from '2026-07-11 05:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32257 -2.77181)'), GeomFromEWKT('SRID=4674;POINT (-40.322559 -2.771677)'))) / (select extract(epoch from '2026-07-11 05:47:31'::timestamp) - extract(epoch from '2026-07-11 05:47: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'), 47812, 'SRID=4674;POINT (-40.322552 -2.771495)', '2026-07-11 05:47:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322559 -2.771677)'), GeomFromEWKT('SRID=4674;POINT (-40.322552 -2.771495)'))) / (select extract(epoch from '2026-07-11 05:47:40'::timestamp) - extract(epoch from '2026-07-11 05:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322559 -2.771677)'), GeomFromEWKT('SRID=4674;POINT (-40.322552 -2.771495)'))) / (select extract(epoch from '2026-07-11 05:47:40'::timestamp) - extract(epoch from '2026-07-11 05:47: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'), 47812, 'SRID=4674;POINT (-40.322553 -2.771356)', '2026-07-11 05:47:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322552 -2.771495)'), GeomFromEWKT('SRID=4674;POINT (-40.322553 -2.771356)'))) / (select extract(epoch from '2026-07-11 05:47:48'::timestamp) - extract(epoch from '2026-07-11 05:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322552 -2.771495)'), GeomFromEWKT('SRID=4674;POINT (-40.322553 -2.771356)'))) / (select extract(epoch from '2026-07-11 05:47:48'::timestamp) - extract(epoch from '2026-07-11 05:47:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.322526 -2.771241)', '2026-07-11 05:47:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322553 -2.771356)'), GeomFromEWKT('SRID=4674;POINT (-40.322526 -2.771241)'))) / (select extract(epoch from '2026-07-11 05:47:55'::timestamp) - extract(epoch from '2026-07-11 05:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322553 -2.771356)'), GeomFromEWKT('SRID=4674;POINT (-40.322526 -2.771241)'))) / (select extract(epoch from '2026-07-11 05:47:55'::timestamp) - extract(epoch from '2026-07-11 05:47: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'), 47812, 'SRID=4674;POINT (-40.322477 -2.771112)', '2026-07-11 05:48:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322526 -2.771241)'), GeomFromEWKT('SRID=4674;POINT (-40.322477 -2.771112)'))) / (select extract(epoch from '2026-07-11 05:48:03'::timestamp) - extract(epoch from '2026-07-11 05:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322526 -2.771241)'), GeomFromEWKT('SRID=4674;POINT (-40.322477 -2.771112)'))) / (select extract(epoch from '2026-07-11 05:48:03'::timestamp) - extract(epoch from '2026-07-11 05:47: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'), 47812, 'SRID=4674;POINT (-40.322419 -2.77101)', '2026-07-11 05:48:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322477 -2.771112)'), GeomFromEWKT('SRID=4674;POINT (-40.322419 -2.77101)'))) / (select extract(epoch from '2026-07-11 05:48:10'::timestamp) - extract(epoch from '2026-07-11 05:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322477 -2.771112)'), GeomFromEWKT('SRID=4674;POINT (-40.322419 -2.77101)'))) / (select extract(epoch from '2026-07-11 05:48:10'::timestamp) - extract(epoch from '2026-07-11 05:48: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'), 47812, 'SRID=4674;POINT (-40.322352 -2.770849)', '2026-07-11 05:48:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322419 -2.77101)'), GeomFromEWKT('SRID=4674;POINT (-40.322352 -2.770849)'))) / (select extract(epoch from '2026-07-11 05:48:19'::timestamp) - extract(epoch from '2026-07-11 05:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322419 -2.77101)'), GeomFromEWKT('SRID=4674;POINT (-40.322352 -2.770849)'))) / (select extract(epoch from '2026-07-11 05:48:19'::timestamp) - extract(epoch from '2026-07-11 05:48: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'), 47812, 'SRID=4674;POINT (-40.322293 -2.770711)', '2026-07-11 05:48:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322352 -2.770849)'), GeomFromEWKT('SRID=4674;POINT (-40.322293 -2.770711)'))) / (select extract(epoch from '2026-07-11 05:48:27'::timestamp) - extract(epoch from '2026-07-11 05:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322352 -2.770849)'), GeomFromEWKT('SRID=4674;POINT (-40.322293 -2.770711)'))) / (select extract(epoch from '2026-07-11 05:48:27'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.322229 -2.770594)', '2026-07-11 05:48:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322293 -2.770711)'), GeomFromEWKT('SRID=4674;POINT (-40.322229 -2.770594)'))) / (select extract(epoch from '2026-07-11 05:48:34'::timestamp) - extract(epoch from '2026-07-11 05:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322293 -2.770711)'), GeomFromEWKT('SRID=4674;POINT (-40.322229 -2.770594)'))) / (select extract(epoch from '2026-07-11 05:48:34'::timestamp) - extract(epoch from '2026-07-11 05:48: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'), 47812, 'SRID=4674;POINT (-40.322182 -2.770441)', '2026-07-11 05:48:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322229 -2.770594)'), GeomFromEWKT('SRID=4674;POINT (-40.322182 -2.770441)'))) / (select extract(epoch from '2026-07-11 05:48:42'::timestamp) - extract(epoch from '2026-07-11 05:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322229 -2.770594)'), GeomFromEWKT('SRID=4674;POINT (-40.322182 -2.770441)'))) / (select extract(epoch from '2026-07-11 05:48:42'::timestamp) - extract(epoch from '2026-07-11 05:48:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.322152 -2.770292)', '2026-07-11 05:48:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322182 -2.770441)'), GeomFromEWKT('SRID=4674;POINT (-40.322152 -2.770292)'))) / (select extract(epoch from '2026-07-11 05:48:50'::timestamp) - extract(epoch from '2026-07-11 05:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322182 -2.770441)'), GeomFromEWKT('SRID=4674;POINT (-40.322152 -2.770292)'))) / (select extract(epoch from '2026-07-11 05:48:50'::timestamp) - extract(epoch from '2026-07-11 05:48:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.322122 -2.770137)', '2026-07-11 05:48:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322152 -2.770292)'), GeomFromEWKT('SRID=4674;POINT (-40.322122 -2.770137)'))) / (select extract(epoch from '2026-07-11 05:48:59'::timestamp) - extract(epoch from '2026-07-11 05:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322152 -2.770292)'), GeomFromEWKT('SRID=4674;POINT (-40.322122 -2.770137)'))) / (select extract(epoch from '2026-07-11 05:48:59'::timestamp) - extract(epoch from '2026-07-11 05:48:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.32209 -2.770007)', '2026-07-11 05:49:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322122 -2.770137)'), GeomFromEWKT('SRID=4674;POINT (-40.32209 -2.770007)'))) / (select extract(epoch from '2026-07-11 05:49:06'::timestamp) - extract(epoch from '2026-07-11 05:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322122 -2.770137)'), GeomFromEWKT('SRID=4674;POINT (-40.32209 -2.770007)'))) / (select extract(epoch from '2026-07-11 05:49:06'::timestamp) - extract(epoch from '2026-07-11 05:48: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'), 47812, 'SRID=4674;POINT (-40.322046 -2.769841)', '2026-07-11 05:49:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32209 -2.770007)'), GeomFromEWKT('SRID=4674;POINT (-40.322046 -2.769841)'))) / (select extract(epoch from '2026-07-11 05:49:16'::timestamp) - extract(epoch from '2026-07-11 05:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32209 -2.770007)'), GeomFromEWKT('SRID=4674;POINT (-40.322046 -2.769841)'))) / (select extract(epoch from '2026-07-11 05:49:16'::timestamp) - extract(epoch from '2026-07-11 05:49: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'), 47812, 'SRID=4674;POINT (-40.322007 -2.769677)', '2026-07-11 05:49:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322046 -2.769841)'), GeomFromEWKT('SRID=4674;POINT (-40.322007 -2.769677)'))) / (select extract(epoch from '2026-07-11 05:49:26'::timestamp) - extract(epoch from '2026-07-11 05:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322046 -2.769841)'), GeomFromEWKT('SRID=4674;POINT (-40.322007 -2.769677)'))) / (select extract(epoch from '2026-07-11 05:49:26'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.321985 -2.769517)', '2026-07-11 05:49:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322007 -2.769677)'), GeomFromEWKT('SRID=4674;POINT (-40.321985 -2.769517)'))) / (select extract(epoch from '2026-07-11 05:49:35'::timestamp) - extract(epoch from '2026-07-11 05:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322007 -2.769677)'), GeomFromEWKT('SRID=4674;POINT (-40.321985 -2.769517)'))) / (select extract(epoch from '2026-07-11 05:49:35'::timestamp) - extract(epoch from '2026-07-11 05:49:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.321984 -2.769385)', '2026-07-11 05:49:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321985 -2.769517)'), GeomFromEWKT('SRID=4674;POINT (-40.321984 -2.769385)'))) / (select extract(epoch from '2026-07-11 05:49:43'::timestamp) - extract(epoch from '2026-07-11 05:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321985 -2.769517)'), GeomFromEWKT('SRID=4674;POINT (-40.321984 -2.769385)'))) / (select extract(epoch from '2026-07-11 05:49:43'::timestamp) - extract(epoch from '2026-07-11 05:49:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.321968 -2.769229)', '2026-07-11 05:49:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321984 -2.769385)'), GeomFromEWKT('SRID=4674;POINT (-40.321968 -2.769229)'))) / (select extract(epoch from '2026-07-11 05:49:51'::timestamp) - extract(epoch from '2026-07-11 05:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321984 -2.769385)'), GeomFromEWKT('SRID=4674;POINT (-40.321968 -2.769229)'))) / (select extract(epoch from '2026-07-11 05:49:51'::timestamp) - extract(epoch from '2026-07-11 05:49:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.32197 -2.769107)', '2026-07-11 05:49:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321968 -2.769229)'), GeomFromEWKT('SRID=4674;POINT (-40.32197 -2.769107)'))) / (select extract(epoch from '2026-07-11 05:49:57'::timestamp) - extract(epoch from '2026-07-11 05:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321968 -2.769229)'), GeomFromEWKT('SRID=4674;POINT (-40.32197 -2.769107)'))) / (select extract(epoch from '2026-07-11 05:49:57'::timestamp) - extract(epoch from '2026-07-11 05:49:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.321958 -2.769012)', '2026-07-11 05:50:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32197 -2.769107)'), GeomFromEWKT('SRID=4674;POINT (-40.321958 -2.769012)'))) / (select extract(epoch from '2026-07-11 05:50:03'::timestamp) - extract(epoch from '2026-07-11 05:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32197 -2.769107)'), GeomFromEWKT('SRID=4674;POINT (-40.321958 -2.769012)'))) / (select extract(epoch from '2026-07-11 05:50:03'::timestamp) - extract(epoch from '2026-07-11 05:49: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'), 47812, 'SRID=4674;POINT (-40.321905 -2.768899)', '2026-07-11 05:50:10', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321958 -2.769012)'), GeomFromEWKT('SRID=4674;POINT (-40.321905 -2.768899)'))) / (select extract(epoch from '2026-07-11 05:50:10'::timestamp) - extract(epoch from '2026-07-11 05:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321958 -2.769012)'), GeomFromEWKT('SRID=4674;POINT (-40.321905 -2.768899)'))) / (select extract(epoch from '2026-07-11 05:50:10'::timestamp) - extract(epoch from '2026-07-11 05:50: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'), 47812, 'SRID=4674;POINT (-40.321841 -2.768714)', '2026-07-11 05:50:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321905 -2.768899)'), GeomFromEWKT('SRID=4674;POINT (-40.321841 -2.768714)'))) / (select extract(epoch from '2026-07-11 05:50:20'::timestamp) - extract(epoch from '2026-07-11 05:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321905 -2.768899)'), GeomFromEWKT('SRID=4674;POINT (-40.321841 -2.768714)'))) / (select extract(epoch from '2026-07-11 05:50:20'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.321779 -2.768595)', '2026-07-11 05:50:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321841 -2.768714)'), GeomFromEWKT('SRID=4674;POINT (-40.321779 -2.768595)'))) / (select extract(epoch from '2026-07-11 05:50:27'::timestamp) - extract(epoch from '2026-07-11 05:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321841 -2.768714)'), GeomFromEWKT('SRID=4674;POINT (-40.321779 -2.768595)'))) / (select extract(epoch from '2026-07-11 05:50:27'::timestamp) - extract(epoch from '2026-07-11 05:50: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'), 47812, 'SRID=4674;POINT (-40.321685 -2.7685)', '2026-07-11 05:50:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321779 -2.768595)'), GeomFromEWKT('SRID=4674;POINT (-40.321685 -2.7685)'))) / (select extract(epoch from '2026-07-11 05:50:35'::timestamp) - extract(epoch from '2026-07-11 05:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321779 -2.768595)'), GeomFromEWKT('SRID=4674;POINT (-40.321685 -2.7685)'))) / (select extract(epoch from '2026-07-11 05:50:35'::timestamp) - extract(epoch from '2026-07-11 05:50: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'), 47812, 'SRID=4674;POINT (-40.321618 -2.768428)', '2026-07-11 05:50:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321685 -2.7685)'), GeomFromEWKT('SRID=4674;POINT (-40.321618 -2.768428)'))) / (select extract(epoch from '2026-07-11 05:50:41'::timestamp) - extract(epoch from '2026-07-11 05:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321685 -2.7685)'), GeomFromEWKT('SRID=4674;POINT (-40.321618 -2.768428)'))) / (select extract(epoch from '2026-07-11 05:50:41'::timestamp) - extract(epoch from '2026-07-11 05:50: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'), 47812, 'SRID=4674;POINT (-40.321554 -2.768361)', '2026-07-11 05:50:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321618 -2.768428)'), GeomFromEWKT('SRID=4674;POINT (-40.321554 -2.768361)'))) / (select extract(epoch from '2026-07-11 05:50:47'::timestamp) - extract(epoch from '2026-07-11 05:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321618 -2.768428)'), GeomFromEWKT('SRID=4674;POINT (-40.321554 -2.768361)'))) / (select extract(epoch from '2026-07-11 05:50:47'::timestamp) - extract(epoch from '2026-07-11 05:50: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'), 47812, 'SRID=4674;POINT (-40.321499 -2.768254)', '2026-07-11 05:50:54', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321554 -2.768361)'), GeomFromEWKT('SRID=4674;POINT (-40.321499 -2.768254)'))) / (select extract(epoch from '2026-07-11 05:50:54'::timestamp) - extract(epoch from '2026-07-11 05:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321554 -2.768361)'), GeomFromEWKT('SRID=4674;POINT (-40.321499 -2.768254)'))) / (select extract(epoch from '2026-07-11 05:50:54'::timestamp) - extract(epoch from '2026-07-11 05:50: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'), 47812, 'SRID=4674;POINT (-40.321499 -2.768105)', '2026-07-11 05:51:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321499 -2.768254)'), GeomFromEWKT('SRID=4674;POINT (-40.321499 -2.768105)'))) / (select extract(epoch from '2026-07-11 05:51:02'::timestamp) - extract(epoch from '2026-07-11 05:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321499 -2.768254)'), GeomFromEWKT('SRID=4674;POINT (-40.321499 -2.768105)'))) / (select extract(epoch from '2026-07-11 05:51:02'::timestamp) - extract(epoch from '2026-07-11 05:50: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'), 47812, 'SRID=4674;POINT (-40.321494 -2.767993)', '2026-07-11 05:51:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321499 -2.768105)'), GeomFromEWKT('SRID=4674;POINT (-40.321494 -2.767993)'))) / (select extract(epoch from '2026-07-11 05:51:08'::timestamp) - extract(epoch from '2026-07-11 05:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321499 -2.768105)'), GeomFromEWKT('SRID=4674;POINT (-40.321494 -2.767993)'))) / (select extract(epoch from '2026-07-11 05:51:08'::timestamp) - extract(epoch from '2026-07-11 05:51: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'), 47812, 'SRID=4674;POINT (-40.3215 -2.767875)', '2026-07-11 05:51:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321494 -2.767993)'), GeomFromEWKT('SRID=4674;POINT (-40.3215 -2.767875)'))) / (select extract(epoch from '2026-07-11 05:51:14'::timestamp) - extract(epoch from '2026-07-11 05:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321494 -2.767993)'), GeomFromEWKT('SRID=4674;POINT (-40.3215 -2.767875)'))) / (select extract(epoch from '2026-07-11 05:51:14'::timestamp) - extract(epoch from '2026-07-11 05:51: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'), 47812, 'SRID=4674;POINT (-40.321482 -2.767721)', '2026-07-11 05:51:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3215 -2.767875)'), GeomFromEWKT('SRID=4674;POINT (-40.321482 -2.767721)'))) / (select extract(epoch from '2026-07-11 05:51:22'::timestamp) - extract(epoch from '2026-07-11 05:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3215 -2.767875)'), GeomFromEWKT('SRID=4674;POINT (-40.321482 -2.767721)'))) / (select extract(epoch from '2026-07-11 05:51:22'::timestamp) - extract(epoch from '2026-07-11 05:51:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.321447 -2.767561)', '2026-07-11 05:51:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321482 -2.767721)'), GeomFromEWKT('SRID=4674;POINT (-40.321447 -2.767561)'))) / (select extract(epoch from '2026-07-11 05:51:30'::timestamp) - extract(epoch from '2026-07-11 05:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321482 -2.767721)'), GeomFromEWKT('SRID=4674;POINT (-40.321447 -2.767561)'))) / (select extract(epoch from '2026-07-11 05:51:30'::timestamp) - extract(epoch from '2026-07-11 05:51: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'), 47812, 'SRID=4674;POINT (-40.321426 -2.76745)', '2026-07-11 05:51:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321447 -2.767561)'), GeomFromEWKT('SRID=4674;POINT (-40.321426 -2.76745)'))) / (select extract(epoch from '2026-07-11 05:51:36'::timestamp) - extract(epoch from '2026-07-11 05:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321447 -2.767561)'), GeomFromEWKT('SRID=4674;POINT (-40.321426 -2.76745)'))) / (select extract(epoch from '2026-07-11 05:51:36'::timestamp) - extract(epoch from '2026-07-11 05:51: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'), 47812, 'SRID=4674;POINT (-40.32142 -2.767291)', '2026-07-11 05:51:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321426 -2.76745)'), GeomFromEWKT('SRID=4674;POINT (-40.32142 -2.767291)'))) / (select extract(epoch from '2026-07-11 05:51:44'::timestamp) - extract(epoch from '2026-07-11 05:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321426 -2.76745)'), GeomFromEWKT('SRID=4674;POINT (-40.32142 -2.767291)'))) / (select extract(epoch from '2026-07-11 05:51:44'::timestamp) - extract(epoch from '2026-07-11 05:51: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'), 47812, 'SRID=4674;POINT (-40.32139 -2.767176)', '2026-07-11 05:51:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32142 -2.767291)'), GeomFromEWKT('SRID=4674;POINT (-40.32139 -2.767176)'))) / (select extract(epoch from '2026-07-11 05:51:51'::timestamp) - extract(epoch from '2026-07-11 05:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32142 -2.767291)'), GeomFromEWKT('SRID=4674;POINT (-40.32139 -2.767176)'))) / (select extract(epoch from '2026-07-11 05:51:51'::timestamp) - extract(epoch from '2026-07-11 05:51:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.321355 -2.767051)', '2026-07-11 05:51:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32139 -2.767176)'), GeomFromEWKT('SRID=4674;POINT (-40.321355 -2.767051)'))) / (select extract(epoch from '2026-07-11 05:51:58'::timestamp) - extract(epoch from '2026-07-11 05:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32139 -2.767176)'), GeomFromEWKT('SRID=4674;POINT (-40.321355 -2.767051)'))) / (select extract(epoch from '2026-07-11 05:51:58'::timestamp) - extract(epoch from '2026-07-11 05:51:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.321312 -2.766921)', '2026-07-11 05:52:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321355 -2.767051)'), GeomFromEWKT('SRID=4674;POINT (-40.321312 -2.766921)'))) / (select extract(epoch from '2026-07-11 05:52:06'::timestamp) - extract(epoch from '2026-07-11 05:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321355 -2.767051)'), GeomFromEWKT('SRID=4674;POINT (-40.321312 -2.766921)'))) / (select extract(epoch from '2026-07-11 05:52:06'::timestamp) - extract(epoch from '2026-07-11 05:51:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.321254 -2.766812)', '2026-07-11 05:52:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321312 -2.766921)'), GeomFromEWKT('SRID=4674;POINT (-40.321254 -2.766812)'))) / (select extract(epoch from '2026-07-11 05:52:13'::timestamp) - extract(epoch from '2026-07-11 05:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321312 -2.766921)'), GeomFromEWKT('SRID=4674;POINT (-40.321254 -2.766812)'))) / (select extract(epoch from '2026-07-11 05:52:13'::timestamp) - extract(epoch from '2026-07-11 05:52: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'), 47812, 'SRID=4674;POINT (-40.321201 -2.766706)', '2026-07-11 05:52:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321254 -2.766812)'), GeomFromEWKT('SRID=4674;POINT (-40.321201 -2.766706)'))) / (select extract(epoch from '2026-07-11 05:52:20'::timestamp) - extract(epoch from '2026-07-11 05:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321254 -2.766812)'), GeomFromEWKT('SRID=4674;POINT (-40.321201 -2.766706)'))) / (select extract(epoch from '2026-07-11 05:52:20'::timestamp) - extract(epoch from '2026-07-11 05:52: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'), 47812, 'SRID=4674;POINT (-40.321152 -2.766586)', '2026-07-11 05:52:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321201 -2.766706)'), GeomFromEWKT('SRID=4674;POINT (-40.321152 -2.766586)'))) / (select extract(epoch from '2026-07-11 05:52:28'::timestamp) - extract(epoch from '2026-07-11 05:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321201 -2.766706)'), GeomFromEWKT('SRID=4674;POINT (-40.321152 -2.766586)'))) / (select extract(epoch from '2026-07-11 05:52:28'::timestamp) - extract(epoch from '2026-07-11 05:52: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'), 47812, 'SRID=4674;POINT (-40.321126 -2.76645)', '2026-07-11 05:52:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321152 -2.766586)'), GeomFromEWKT('SRID=4674;POINT (-40.321126 -2.76645)'))) / (select extract(epoch from '2026-07-11 05:52:36'::timestamp) - extract(epoch from '2026-07-11 05:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321152 -2.766586)'), GeomFromEWKT('SRID=4674;POINT (-40.321126 -2.76645)'))) / (select extract(epoch from '2026-07-11 05:52:36'::timestamp) - extract(epoch from '2026-07-11 05:52: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'), 47812, 'SRID=4674;POINT (-40.321114 -2.766328)', '2026-07-11 05:52:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321126 -2.76645)'), GeomFromEWKT('SRID=4674;POINT (-40.321114 -2.766328)'))) / (select extract(epoch from '2026-07-11 05:52:43'::timestamp) - extract(epoch from '2026-07-11 05:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321126 -2.76645)'), GeomFromEWKT('SRID=4674;POINT (-40.321114 -2.766328)'))) / (select extract(epoch from '2026-07-11 05:52:43'::timestamp) - extract(epoch from '2026-07-11 05:52: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'), 47812, 'SRID=4674;POINT (-40.321099 -2.766189)', '2026-07-11 05:52:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321114 -2.766328)'), GeomFromEWKT('SRID=4674;POINT (-40.321099 -2.766189)'))) / (select extract(epoch from '2026-07-11 05:52:51'::timestamp) - extract(epoch from '2026-07-11 05:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321114 -2.766328)'), GeomFromEWKT('SRID=4674;POINT (-40.321099 -2.766189)'))) / (select extract(epoch from '2026-07-11 05:52:51'::timestamp) - extract(epoch from '2026-07-11 05:52:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.321098 -2.766056)', '2026-07-11 05:52:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321099 -2.766189)'), GeomFromEWKT('SRID=4674;POINT (-40.321098 -2.766056)'))) / (select extract(epoch from '2026-07-11 05:52:58'::timestamp) - extract(epoch from '2026-07-11 05:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321099 -2.766189)'), GeomFromEWKT('SRID=4674;POINT (-40.321098 -2.766056)'))) / (select extract(epoch from '2026-07-11 05:52:58'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.321096 -2.765957)', '2026-07-11 05:53:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321098 -2.766056)'), GeomFromEWKT('SRID=4674;POINT (-40.321096 -2.765957)'))) / (select extract(epoch from '2026-07-11 05:53:03'::timestamp) - extract(epoch from '2026-07-11 05:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321098 -2.766056)'), GeomFromEWKT('SRID=4674;POINT (-40.321096 -2.765957)'))) / (select extract(epoch from '2026-07-11 05:53:03'::timestamp) - extract(epoch from '2026-07-11 05:52: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'), 47812, 'SRID=4674;POINT (-40.321084 -2.765818)', '2026-07-11 05:53:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321096 -2.765957)'), GeomFromEWKT('SRID=4674;POINT (-40.321084 -2.765818)'))) / (select extract(epoch from '2026-07-11 05:53:10'::timestamp) - extract(epoch from '2026-07-11 05:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321096 -2.765957)'), GeomFromEWKT('SRID=4674;POINT (-40.321084 -2.765818)'))) / (select extract(epoch from '2026-07-11 05:53:10'::timestamp) - extract(epoch from '2026-07-11 05:53: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'), 47812, 'SRID=4674;POINT (-40.321062 -2.765666)', '2026-07-11 05:53:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321084 -2.765818)'), GeomFromEWKT('SRID=4674;POINT (-40.321062 -2.765666)'))) / (select extract(epoch from '2026-07-11 05:53:18'::timestamp) - extract(epoch from '2026-07-11 05:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321084 -2.765818)'), GeomFromEWKT('SRID=4674;POINT (-40.321062 -2.765666)'))) / (select extract(epoch from '2026-07-11 05:53:18'::timestamp) - extract(epoch from '2026-07-11 05:53:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.321008 -2.76558)', '2026-07-11 05:53:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321062 -2.765666)'), GeomFromEWKT('SRID=4674;POINT (-40.321008 -2.76558)'))) / (select extract(epoch from '2026-07-11 05:53:24'::timestamp) - extract(epoch from '2026-07-11 05:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321062 -2.765666)'), GeomFromEWKT('SRID=4674;POINT (-40.321008 -2.76558)'))) / (select extract(epoch from '2026-07-11 05:53:24'::timestamp) - extract(epoch from '2026-07-11 05:53: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'), 47812, 'SRID=4674;POINT (-40.320933 -2.765461)', '2026-07-11 05:53:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321008 -2.76558)'), GeomFromEWKT('SRID=4674;POINT (-40.320933 -2.765461)'))) / (select extract(epoch from '2026-07-11 05:53:32'::timestamp) - extract(epoch from '2026-07-11 05:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321008 -2.76558)'), GeomFromEWKT('SRID=4674;POINT (-40.320933 -2.765461)'))) / (select extract(epoch from '2026-07-11 05:53:32'::timestamp) - extract(epoch from '2026-07-11 05:53: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'), 47812, 'SRID=4674;POINT (-40.320832 -2.765357)', '2026-07-11 05:53:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320933 -2.765461)'), GeomFromEWKT('SRID=4674;POINT (-40.320832 -2.765357)'))) / (select extract(epoch from '2026-07-11 05:53:40'::timestamp) - extract(epoch from '2026-07-11 05:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320933 -2.765461)'), GeomFromEWKT('SRID=4674;POINT (-40.320832 -2.765357)'))) / (select extract(epoch from '2026-07-11 05:53:40'::timestamp) - extract(epoch from '2026-07-11 05:53: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'), 47812, 'SRID=4674;POINT (-40.320764 -2.765225)', '2026-07-11 05:53:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320832 -2.765357)'), GeomFromEWKT('SRID=4674;POINT (-40.320764 -2.765225)'))) / (select extract(epoch from '2026-07-11 05:53:48'::timestamp) - extract(epoch from '2026-07-11 05:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320832 -2.765357)'), GeomFromEWKT('SRID=4674;POINT (-40.320764 -2.765225)'))) / (select extract(epoch from '2026-07-11 05:53:48'::timestamp) - extract(epoch from '2026-07-11 05:53: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'), 47812, 'SRID=4674;POINT (-40.320724 -2.765072)', '2026-07-11 05:53:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320764 -2.765225)'), GeomFromEWKT('SRID=4674;POINT (-40.320724 -2.765072)'))) / (select extract(epoch from '2026-07-11 05:53:56'::timestamp) - extract(epoch from '2026-07-11 05:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320764 -2.765225)'), GeomFromEWKT('SRID=4674;POINT (-40.320724 -2.765072)'))) / (select extract(epoch from '2026-07-11 05:53:56'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.320756 -2.764929)', '2026-07-11 05:54:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320724 -2.765072)'), GeomFromEWKT('SRID=4674;POINT (-40.320756 -2.764929)'))) / (select extract(epoch from '2026-07-11 05:54:04'::timestamp) - extract(epoch from '2026-07-11 05:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320724 -2.765072)'), GeomFromEWKT('SRID=4674;POINT (-40.320756 -2.764929)'))) / (select extract(epoch from '2026-07-11 05:54:04'::timestamp) - extract(epoch from '2026-07-11 05:53: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'), 47812, 'SRID=4674;POINT (-40.320841 -2.76488)', '2026-07-11 05:54:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320756 -2.764929)'), GeomFromEWKT('SRID=4674;POINT (-40.320841 -2.76488)'))) / (select extract(epoch from '2026-07-11 05:54:09'::timestamp) - extract(epoch from '2026-07-11 05:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320756 -2.764929)'), GeomFromEWKT('SRID=4674;POINT (-40.320841 -2.76488)'))) / (select extract(epoch from '2026-07-11 05:54:09'::timestamp) - extract(epoch from '2026-07-11 05:54:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320951 -2.764891)', '2026-07-11 05:54:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320841 -2.76488)'), GeomFromEWKT('SRID=4674;POINT (-40.320951 -2.764891)'))) / (select extract(epoch from '2026-07-11 05:54:15'::timestamp) - extract(epoch from '2026-07-11 05:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320841 -2.76488)'), GeomFromEWKT('SRID=4674;POINT (-40.320951 -2.764891)'))) / (select extract(epoch from '2026-07-11 05:54:15'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.320993 -2.764955)', '2026-07-11 05:54:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320951 -2.764891)'), GeomFromEWKT('SRID=4674;POINT (-40.320993 -2.764955)'))) / (select extract(epoch from '2026-07-11 05:54:20'::timestamp) - extract(epoch from '2026-07-11 05:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320951 -2.764891)'), GeomFromEWKT('SRID=4674;POINT (-40.320993 -2.764955)'))) / (select extract(epoch from '2026-07-11 05:54:20'::timestamp) - extract(epoch from '2026-07-11 05:54:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320995 -2.764966)', '2026-07-11 05:54:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320993 -2.764955)'), GeomFromEWKT('SRID=4674;POINT (-40.320995 -2.764966)'))) / (select extract(epoch from '2026-07-11 05:54:21'::timestamp) - extract(epoch from '2026-07-11 05:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320993 -2.764955)'), GeomFromEWKT('SRID=4674;POINT (-40.320995 -2.764966)'))) / (select extract(epoch from '2026-07-11 05:54:21'::timestamp) - extract(epoch from '2026-07-11 05:54: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'), 47812, 'SRID=4674;POINT (-40.320973 -2.765028)', '2026-07-11 05:54:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320995 -2.764966)'), GeomFromEWKT('SRID=4674;POINT (-40.320973 -2.765028)'))) / (select extract(epoch from '2026-07-11 05:54:26'::timestamp) - extract(epoch from '2026-07-11 05:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320995 -2.764966)'), GeomFromEWKT('SRID=4674;POINT (-40.320973 -2.765028)'))) / (select extract(epoch from '2026-07-11 05:54:26'::timestamp) - extract(epoch from '2026-07-11 05:54:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320955 -2.765043)', '2026-07-11 05:54:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320973 -2.765028)'), GeomFromEWKT('SRID=4674;POINT (-40.320955 -2.765043)'))) / (select extract(epoch from '2026-07-11 05:54:28'::timestamp) - extract(epoch from '2026-07-11 05:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320973 -2.765028)'), GeomFromEWKT('SRID=4674;POINT (-40.320955 -2.765043)'))) / (select extract(epoch from '2026-07-11 05:54:28'::timestamp) - extract(epoch from '2026-07-11 05:54:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320913 -2.765064)', '2026-07-11 05:54:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320955 -2.765043)'), GeomFromEWKT('SRID=4674;POINT (-40.320913 -2.765064)'))) / (select extract(epoch from '2026-07-11 05:54:32'::timestamp) - extract(epoch from '2026-07-11 05:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320955 -2.765043)'), GeomFromEWKT('SRID=4674;POINT (-40.320913 -2.765064)'))) / (select extract(epoch from '2026-07-11 05:54:32'::timestamp) - extract(epoch from '2026-07-11 05:54: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'), 47812, 'SRID=4674;POINT (-40.320857 -2.765093)', '2026-07-11 05:54:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320913 -2.765064)'), GeomFromEWKT('SRID=4674;POINT (-40.320857 -2.765093)'))) / (select extract(epoch from '2026-07-11 05:54:38'::timestamp) - extract(epoch from '2026-07-11 05:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320913 -2.765064)'), GeomFromEWKT('SRID=4674;POINT (-40.320857 -2.765093)'))) / (select extract(epoch from '2026-07-11 05:54:38'::timestamp) - extract(epoch from '2026-07-11 05:54:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.32082 -2.765112)', '2026-07-11 05:54:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320857 -2.765093)'), GeomFromEWKT('SRID=4674;POINT (-40.32082 -2.765112)'))) / (select extract(epoch from '2026-07-11 05:54:45'::timestamp) - extract(epoch from '2026-07-11 05:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320857 -2.765093)'), GeomFromEWKT('SRID=4674;POINT (-40.32082 -2.765112)'))) / (select extract(epoch from '2026-07-11 05:54:45'::timestamp) - extract(epoch from '2026-07-11 05:54: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'), 47812, 'SRID=4674;POINT (-40.32078 -2.765125)', '2026-07-11 05:54:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32082 -2.765112)'), GeomFromEWKT('SRID=4674;POINT (-40.32078 -2.765125)'))) / (select extract(epoch from '2026-07-11 05:54:55'::timestamp) - extract(epoch from '2026-07-11 05:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32082 -2.765112)'), GeomFromEWKT('SRID=4674;POINT (-40.32078 -2.765125)'))) / (select extract(epoch from '2026-07-11 05:54:55'::timestamp) - extract(epoch from '2026-07-11 05:54:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320783 -2.76516)', '2026-07-11 05:55:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32078 -2.765125)'), GeomFromEWKT('SRID=4674;POINT (-40.320783 -2.76516)'))) / (select extract(epoch from '2026-07-11 05:55:03'::timestamp) - extract(epoch from '2026-07-11 05:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32078 -2.765125)'), GeomFromEWKT('SRID=4674;POINT (-40.320783 -2.76516)'))) / (select extract(epoch from '2026-07-11 05:55:03'::timestamp) - extract(epoch from '2026-07-11 05: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'), 47812, 'SRID=4674;POINT (-40.320803 -2.765176)', '2026-07-11 05:55:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320783 -2.76516)'), GeomFromEWKT('SRID=4674;POINT (-40.320803 -2.765176)'))) / (select extract(epoch from '2026-07-11 05:55:18'::timestamp) - extract(epoch from '2026-07-11 05:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320783 -2.76516)'), GeomFromEWKT('SRID=4674;POINT (-40.320803 -2.765176)'))) / (select extract(epoch from '2026-07-11 05:55:18'::timestamp) - extract(epoch from '2026-07-11 05:55:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320803 -2.765162)', '2026-07-11 05:55:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320803 -2.765176)'), GeomFromEWKT('SRID=4674;POINT (-40.320803 -2.765162)'))) / (select extract(epoch from '2026-07-11 05:55:28'::timestamp) - extract(epoch from '2026-07-11 05:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320803 -2.765176)'), GeomFromEWKT('SRID=4674;POINT (-40.320803 -2.765162)'))) / (select extract(epoch from '2026-07-11 05:55:28'::timestamp) - extract(epoch from '2026-07-11 05:55: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'), 47812, 'SRID=4674;POINT (-40.320799 -2.765131)', '2026-07-11 05:55:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320803 -2.765162)'), GeomFromEWKT('SRID=4674;POINT (-40.320799 -2.765131)'))) / (select extract(epoch from '2026-07-11 05:55:43'::timestamp) - extract(epoch from '2026-07-11 05:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320803 -2.765162)'), GeomFromEWKT('SRID=4674;POINT (-40.320799 -2.765131)'))) / (select extract(epoch from '2026-07-11 05:55:43'::timestamp) - extract(epoch from '2026-07-11 05:55: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'), 47812, 'SRID=4674;POINT (-40.320802 -2.765126)', '2026-07-11 05:55:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320799 -2.765131)'), GeomFromEWKT('SRID=4674;POINT (-40.320802 -2.765126)'))) / (select extract(epoch from '2026-07-11 05:55:57'::timestamp) - extract(epoch from '2026-07-11 05:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320799 -2.765131)'), GeomFromEWKT('SRID=4674;POINT (-40.320802 -2.765126)'))) / (select extract(epoch from '2026-07-11 05:55:57'::timestamp) - extract(epoch from '2026-07-11 05:55: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'), 47812, 'SRID=4674;POINT (-40.320803 -2.765115)', '2026-07-11 05:56:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320802 -2.765126)'), GeomFromEWKT('SRID=4674;POINT (-40.320803 -2.765115)'))) / (select extract(epoch from '2026-07-11 05:56:12'::timestamp) - extract(epoch from '2026-07-11 05:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320802 -2.765126)'), GeomFromEWKT('SRID=4674;POINT (-40.320803 -2.765115)'))) / (select extract(epoch from '2026-07-11 05:56:12'::timestamp) - extract(epoch from '2026-07-11 05:55: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'), 47812, 'SRID=4674;POINT (-40.320808 -2.765116)', '2026-07-11 05:56:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320803 -2.765115)'), GeomFromEWKT('SRID=4674;POINT (-40.320808 -2.765116)'))) / (select extract(epoch from '2026-07-11 05:56:23'::timestamp) - extract(epoch from '2026-07-11 05:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320803 -2.765115)'), GeomFromEWKT('SRID=4674;POINT (-40.320808 -2.765116)'))) / (select extract(epoch from '2026-07-11 05:56:23'::timestamp) - extract(epoch from '2026-07-11 05:56:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320785 -2.765116)', '2026-07-11 05:56:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320808 -2.765116)'), GeomFromEWKT('SRID=4674;POINT (-40.320785 -2.765116)'))) / (select extract(epoch from '2026-07-11 05:56:37'::timestamp) - extract(epoch from '2026-07-11 05:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320808 -2.765116)'), GeomFromEWKT('SRID=4674;POINT (-40.320785 -2.765116)'))) / (select extract(epoch from '2026-07-11 05:56:37'::timestamp) - extract(epoch from '2026-07-11 05:56:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320743 -2.765108)', '2026-07-11 05:56:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320785 -2.765116)'), GeomFromEWKT('SRID=4674;POINT (-40.320743 -2.765108)'))) / (select extract(epoch from '2026-07-11 05:56:52'::timestamp) - extract(epoch from '2026-07-11 05:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320785 -2.765116)'), GeomFromEWKT('SRID=4674;POINT (-40.320743 -2.765108)'))) / (select extract(epoch from '2026-07-11 05:56:52'::timestamp) - extract(epoch from '2026-07-11 05:56: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'), 47812, 'SRID=4674;POINT (-40.320703 -2.7651)', '2026-07-11 05:57:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320743 -2.765108)'), GeomFromEWKT('SRID=4674;POINT (-40.320703 -2.7651)'))) / (select extract(epoch from '2026-07-11 05:57:09'::timestamp) - extract(epoch from '2026-07-11 05:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320743 -2.765108)'), GeomFromEWKT('SRID=4674;POINT (-40.320703 -2.7651)'))) / (select extract(epoch from '2026-07-11 05:57:09'::timestamp) - extract(epoch from '2026-07-11 05:56: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'), 47812, 'SRID=4674;POINT (-40.320709 -2.765111)', '2026-07-11 05:57:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320703 -2.7651)'), GeomFromEWKT('SRID=4674;POINT (-40.320709 -2.765111)'))) / (select extract(epoch from '2026-07-11 05:57:20'::timestamp) - extract(epoch from '2026-07-11 05:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320703 -2.7651)'), GeomFromEWKT('SRID=4674;POINT (-40.320709 -2.765111)'))) / (select extract(epoch from '2026-07-11 05:57:20'::timestamp) - extract(epoch from '2026-07-11 05:57: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'), 47812, 'SRID=4674;POINT (-40.320717 -2.765121)', '2026-07-11 05:57:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320709 -2.765111)'), GeomFromEWKT('SRID=4674;POINT (-40.320717 -2.765121)'))) / (select extract(epoch from '2026-07-11 05:57:35'::timestamp) - extract(epoch from '2026-07-11 05:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320709 -2.765111)'), GeomFromEWKT('SRID=4674;POINT (-40.320717 -2.765121)'))) / (select extract(epoch from '2026-07-11 05:57:35'::timestamp) - extract(epoch from '2026-07-11 05:57:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320713 -2.765131)', '2026-07-11 05:57:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320717 -2.765121)'), GeomFromEWKT('SRID=4674;POINT (-40.320713 -2.765131)'))) / (select extract(epoch from '2026-07-11 05:57:50'::timestamp) - extract(epoch from '2026-07-11 05:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320717 -2.765121)'), GeomFromEWKT('SRID=4674;POINT (-40.320713 -2.765131)'))) / (select extract(epoch from '2026-07-11 05:57:50'::timestamp) - extract(epoch from '2026-07-11 05:57: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'), 47812, 'SRID=4674;POINT (-40.320707 -2.765143)', '2026-07-11 05:58:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320713 -2.765131)'), GeomFromEWKT('SRID=4674;POINT (-40.320707 -2.765143)'))) / (select extract(epoch from '2026-07-11 05:58:07'::timestamp) - extract(epoch from '2026-07-11 05:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320713 -2.765131)'), GeomFromEWKT('SRID=4674;POINT (-40.320707 -2.765143)'))) / (select extract(epoch from '2026-07-11 05:58:07'::timestamp) - extract(epoch from '2026-07-11 05:57: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'), 47812, 'SRID=4674;POINT (-40.320713 -2.765139)', '2026-07-11 05:58:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320707 -2.765143)'), GeomFromEWKT('SRID=4674;POINT (-40.320713 -2.765139)'))) / (select extract(epoch from '2026-07-11 05:58:17'::timestamp) - extract(epoch from '2026-07-11 05:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320707 -2.765143)'), GeomFromEWKT('SRID=4674;POINT (-40.320713 -2.765139)'))) / (select extract(epoch from '2026-07-11 05:58:17'::timestamp) - extract(epoch from '2026-07-11 05:58: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'), 47812, 'SRID=4674;POINT (-40.320706 -2.765146)', '2026-07-11 05:58:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320713 -2.765139)'), GeomFromEWKT('SRID=4674;POINT (-40.320706 -2.765146)'))) / (select extract(epoch from '2026-07-11 05:58:32'::timestamp) - extract(epoch from '2026-07-11 05:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320713 -2.765139)'), GeomFromEWKT('SRID=4674;POINT (-40.320706 -2.765146)'))) / (select extract(epoch from '2026-07-11 05:58:32'::timestamp) - extract(epoch from '2026-07-11 05:58: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'), 47812, 'SRID=4674;POINT (-40.320711 -2.765153)', '2026-07-11 05:58:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320706 -2.765146)'), GeomFromEWKT('SRID=4674;POINT (-40.320711 -2.765153)'))) / (select extract(epoch from '2026-07-11 05:58:48'::timestamp) - extract(epoch from '2026-07-11 05:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320706 -2.765146)'), GeomFromEWKT('SRID=4674;POINT (-40.320711 -2.765153)'))) / (select extract(epoch from '2026-07-11 05:58:48'::timestamp) - extract(epoch from '2026-07-11 05:58:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320718 -2.765157)', '2026-07-11 05:59:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320711 -2.765153)'), GeomFromEWKT('SRID=4674;POINT (-40.320718 -2.765157)'))) / (select extract(epoch from '2026-07-11 05:59:07'::timestamp) - extract(epoch from '2026-07-11 05:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320711 -2.765153)'), GeomFromEWKT('SRID=4674;POINT (-40.320718 -2.765157)'))) / (select extract(epoch from '2026-07-11 05:59:07'::timestamp) - extract(epoch from '2026-07-11 05:58: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'), 47812, 'SRID=4674;POINT (-40.320719 -2.765168)', '2026-07-11 05:59:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320718 -2.765157)'), GeomFromEWKT('SRID=4674;POINT (-40.320719 -2.765168)'))) / (select extract(epoch from '2026-07-11 05:59:23'::timestamp) - extract(epoch from '2026-07-11 05:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320718 -2.765157)'), GeomFromEWKT('SRID=4674;POINT (-40.320719 -2.765168)'))) / (select extract(epoch from '2026-07-11 05:59:23'::timestamp) - extract(epoch from '2026-07-11 05:59: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'), 47812, 'SRID=4674;POINT (-40.320707 -2.765159)', '2026-07-11 05:59:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320719 -2.765168)'), GeomFromEWKT('SRID=4674;POINT (-40.320707 -2.765159)'))) / (select extract(epoch from '2026-07-11 05:59:36'::timestamp) - extract(epoch from '2026-07-11 05:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320719 -2.765168)'), GeomFromEWKT('SRID=4674;POINT (-40.320707 -2.765159)'))) / (select extract(epoch from '2026-07-11 05:59:36'::timestamp) - extract(epoch from '2026-07-11 05:59: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'), 47812, 'SRID=4674;POINT (-40.320675 -2.765148)', '2026-07-11 05:59:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320707 -2.765159)'), GeomFromEWKT('SRID=4674;POINT (-40.320675 -2.765148)'))) / (select extract(epoch from '2026-07-11 05:59:48'::timestamp) - extract(epoch from '2026-07-11 05:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320707 -2.765159)'), GeomFromEWKT('SRID=4674;POINT (-40.320675 -2.765148)'))) / (select extract(epoch from '2026-07-11 05:59:48'::timestamp) - extract(epoch from '2026-07-11 05:59: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'), 47812, 'SRID=4674;POINT (-40.320599 -2.765146)', '2026-07-11 06:00:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320675 -2.765148)'), GeomFromEWKT('SRID=4674;POINT (-40.320599 -2.765146)'))) / (select extract(epoch from '2026-07-11 06:00:03'::timestamp) - extract(epoch from '2026-07-11 05:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320675 -2.765148)'), GeomFromEWKT('SRID=4674;POINT (-40.320599 -2.765146)'))) / (select extract(epoch from '2026-07-11 06:00:03'::timestamp) - extract(epoch from '2026-07-11 05:59: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'), 47812, 'SRID=4674;POINT (-40.320563 -2.765144)', '2026-07-11 06:00:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320599 -2.765146)'), GeomFromEWKT('SRID=4674;POINT (-40.320563 -2.765144)'))) / (select extract(epoch from '2026-07-11 06:00:14'::timestamp) - extract(epoch from '2026-07-11 06:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320599 -2.765146)'), GeomFromEWKT('SRID=4674;POINT (-40.320563 -2.765144)'))) / (select extract(epoch from '2026-07-11 06:00:14'::timestamp) - extract(epoch from '2026-07-11 06:00:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320549 -2.765157)', '2026-07-11 06:00:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320563 -2.765144)'), GeomFromEWKT('SRID=4674;POINT (-40.320549 -2.765157)'))) / (select extract(epoch from '2026-07-11 06:00:25'::timestamp) - extract(epoch from '2026-07-11 06:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320563 -2.765144)'), GeomFromEWKT('SRID=4674;POINT (-40.320549 -2.765157)'))) / (select extract(epoch from '2026-07-11 06:00:25'::timestamp) - extract(epoch from '2026-07-11 06:00: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'), 47812, 'SRID=4674;POINT (-40.320527 -2.765163)', '2026-07-11 06:00:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320549 -2.765157)'), GeomFromEWKT('SRID=4674;POINT (-40.320527 -2.765163)'))) / (select extract(epoch from '2026-07-11 06:00:36'::timestamp) - extract(epoch from '2026-07-11 06:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320549 -2.765157)'), GeomFromEWKT('SRID=4674;POINT (-40.320527 -2.765163)'))) / (select extract(epoch from '2026-07-11 06:00:36'::timestamp) - extract(epoch from '2026-07-11 06:00: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'), 47812, 'SRID=4674;POINT (-40.320492 -2.765167)', '2026-07-11 06:00:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320527 -2.765163)'), GeomFromEWKT('SRID=4674;POINT (-40.320492 -2.765167)'))) / (select extract(epoch from '2026-07-11 06:00:45'::timestamp) - extract(epoch from '2026-07-11 06:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320527 -2.765163)'), GeomFromEWKT('SRID=4674;POINT (-40.320492 -2.765167)'))) / (select extract(epoch from '2026-07-11 06:00:45'::timestamp) - extract(epoch from '2026-07-11 06:00: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'), 47812, 'SRID=4674;POINT (-40.320481 -2.765151)', '2026-07-11 06:00:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320492 -2.765167)'), GeomFromEWKT('SRID=4674;POINT (-40.320481 -2.765151)'))) / (select extract(epoch from '2026-07-11 06:00:56'::timestamp) - extract(epoch from '2026-07-11 06:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320492 -2.765167)'), GeomFromEWKT('SRID=4674;POINT (-40.320481 -2.765151)'))) / (select extract(epoch from '2026-07-11 06:00:56'::timestamp) - extract(epoch from '2026-07-11 06:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320452 -2.765159)', '2026-07-11 06:01:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320481 -2.765151)'), GeomFromEWKT('SRID=4674;POINT (-40.320452 -2.765159)'))) / (select extract(epoch from '2026-07-11 06:01:10'::timestamp) - extract(epoch from '2026-07-11 06:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320481 -2.765151)'), GeomFromEWKT('SRID=4674;POINT (-40.320452 -2.765159)'))) / (select extract(epoch from '2026-07-11 06:01:10'::timestamp) - extract(epoch from '2026-07-11 06:00:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320427 -2.765153)', '2026-07-11 06:01:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320452 -2.765159)'), GeomFromEWKT('SRID=4674;POINT (-40.320427 -2.765153)'))) / (select extract(epoch from '2026-07-11 06:01:21'::timestamp) - extract(epoch from '2026-07-11 06:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320452 -2.765159)'), GeomFromEWKT('SRID=4674;POINT (-40.320427 -2.765153)'))) / (select extract(epoch from '2026-07-11 06:01:21'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47812, 'SRID=4674;POINT (-40.320434 -2.765166)', '2026-07-11 06:01:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320427 -2.765153)'), GeomFromEWKT('SRID=4674;POINT (-40.320434 -2.765166)'))) / (select extract(epoch from '2026-07-11 06:01:35'::timestamp) - extract(epoch from '2026-07-11 06:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320427 -2.765153)'), GeomFromEWKT('SRID=4674;POINT (-40.320434 -2.765166)'))) / (select extract(epoch from '2026-07-11 06:01:35'::timestamp) - extract(epoch from '2026-07-11 06:01: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'), 47812, 'SRID=4674;POINT (-40.320441 -2.765166)', '2026-07-11 06:01:46', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320434 -2.765166)'), GeomFromEWKT('SRID=4674;POINT (-40.320441 -2.765166)'))) / (select extract(epoch from '2026-07-11 06:01:46'::timestamp) - extract(epoch from '2026-07-11 06:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320434 -2.765166)'), GeomFromEWKT('SRID=4674;POINT (-40.320441 -2.765166)'))) / (select extract(epoch from '2026-07-11 06:01:46'::timestamp) - extract(epoch from '2026-07-11 06:01:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.32042 -2.765172)', '2026-07-11 06:01:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320441 -2.765166)'), GeomFromEWKT('SRID=4674;POINT (-40.32042 -2.765172)'))) / (select extract(epoch from '2026-07-11 06:01:58'::timestamp) - extract(epoch from '2026-07-11 06:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320441 -2.765166)'), GeomFromEWKT('SRID=4674;POINT (-40.32042 -2.765172)'))) / (select extract(epoch from '2026-07-11 06:01:58'::timestamp) - extract(epoch from '2026-07-11 06:01: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'), 47812, 'SRID=4674;POINT (-40.320431 -2.765172)', '2026-07-11 06:02:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32042 -2.765172)'), GeomFromEWKT('SRID=4674;POINT (-40.320431 -2.765172)'))) / (select extract(epoch from '2026-07-11 06:02:10'::timestamp) - extract(epoch from '2026-07-11 06:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32042 -2.765172)'), GeomFromEWKT('SRID=4674;POINT (-40.320431 -2.765172)'))) / (select extract(epoch from '2026-07-11 06:02:10'::timestamp) - extract(epoch from '2026-07-11 06:01: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'), 47812, 'SRID=4674;POINT (-40.320414 -2.765159)', '2026-07-11 06:02:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320431 -2.765172)'), GeomFromEWKT('SRID=4674;POINT (-40.320414 -2.765159)'))) / (select extract(epoch from '2026-07-11 06:02:20'::timestamp) - extract(epoch from '2026-07-11 06:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320431 -2.765172)'), GeomFromEWKT('SRID=4674;POINT (-40.320414 -2.765159)'))) / (select extract(epoch from '2026-07-11 06:02:20'::timestamp) - extract(epoch from '2026-07-11 06:02: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'), 47812, 'SRID=4674;POINT (-40.320422 -2.765165)', '2026-07-11 06:02:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320414 -2.765159)'), GeomFromEWKT('SRID=4674;POINT (-40.320422 -2.765165)'))) / (select extract(epoch from '2026-07-11 06:02:30'::timestamp) - extract(epoch from '2026-07-11 06:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320414 -2.765159)'), GeomFromEWKT('SRID=4674;POINT (-40.320422 -2.765165)'))) / (select extract(epoch from '2026-07-11 06:02:30'::timestamp) - extract(epoch from '2026-07-11 06:02:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320423 -2.76518)', '2026-07-11 06:02:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320422 -2.765165)'), GeomFromEWKT('SRID=4674;POINT (-40.320423 -2.76518)'))) / (select extract(epoch from '2026-07-11 06:02:38'::timestamp) - extract(epoch from '2026-07-11 06:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320422 -2.765165)'), GeomFromEWKT('SRID=4674;POINT (-40.320423 -2.76518)'))) / (select extract(epoch from '2026-07-11 06:02:38'::timestamp) - extract(epoch from '2026-07-11 06:02: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'), 47812, 'SRID=4674;POINT (-40.320432 -2.765161)', '2026-07-11 06:02:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320423 -2.76518)'), GeomFromEWKT('SRID=4674;POINT (-40.320432 -2.765161)'))) / (select extract(epoch from '2026-07-11 06:02:53'::timestamp) - extract(epoch from '2026-07-11 06:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320423 -2.76518)'), GeomFromEWKT('SRID=4674;POINT (-40.320432 -2.765161)'))) / (select extract(epoch from '2026-07-11 06:02:53'::timestamp) - extract(epoch from '2026-07-11 06:02: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'), 47812, 'SRID=4674;POINT (-40.32043 -2.765167)', '2026-07-11 06:03:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320432 -2.765161)'), GeomFromEWKT('SRID=4674;POINT (-40.32043 -2.765167)'))) / (select extract(epoch from '2026-07-11 06:03:06'::timestamp) - extract(epoch from '2026-07-11 06:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320432 -2.765161)'), GeomFromEWKT('SRID=4674;POINT (-40.32043 -2.765167)'))) / (select extract(epoch from '2026-07-11 06:03:06'::timestamp) - extract(epoch from '2026-07-11 06:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320438 -2.765166)', '2026-07-11 06:03:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32043 -2.765167)'), GeomFromEWKT('SRID=4674;POINT (-40.320438 -2.765166)'))) / (select extract(epoch from '2026-07-11 06:03:21'::timestamp) - extract(epoch from '2026-07-11 06:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32043 -2.765167)'), GeomFromEWKT('SRID=4674;POINT (-40.320438 -2.765166)'))) / (select extract(epoch from '2026-07-11 06:03:21'::timestamp) - extract(epoch from '2026-07-11 06:03:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320444 -2.765175)', '2026-07-11 06:03:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320438 -2.765166)'), GeomFromEWKT('SRID=4674;POINT (-40.320444 -2.765175)'))) / (select extract(epoch from '2026-07-11 06:03:38'::timestamp) - extract(epoch from '2026-07-11 06:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320438 -2.765166)'), GeomFromEWKT('SRID=4674;POINT (-40.320444 -2.765175)'))) / (select extract(epoch from '2026-07-11 06:03:38'::timestamp) - extract(epoch from '2026-07-11 06:03:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320453 -2.765175)', '2026-07-11 06:03:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320444 -2.765175)'), GeomFromEWKT('SRID=4674;POINT (-40.320453 -2.765175)'))) / (select extract(epoch from '2026-07-11 06:03:48'::timestamp) - extract(epoch from '2026-07-11 06:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320444 -2.765175)'), GeomFromEWKT('SRID=4674;POINT (-40.320453 -2.765175)'))) / (select extract(epoch from '2026-07-11 06:03:48'::timestamp) - extract(epoch from '2026-07-11 06:03: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'), 47812, 'SRID=4674;POINT (-40.320474 -2.765165)', '2026-07-11 06:04:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320453 -2.765175)'), GeomFromEWKT('SRID=4674;POINT (-40.320474 -2.765165)'))) / (select extract(epoch from '2026-07-11 06:04:00'::timestamp) - extract(epoch from '2026-07-11 06:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320453 -2.765175)'), GeomFromEWKT('SRID=4674;POINT (-40.320474 -2.765165)'))) / (select extract(epoch from '2026-07-11 06:04:00'::timestamp) - extract(epoch from '2026-07-11 06:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320516 -2.76514)', '2026-07-11 06:04:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320474 -2.765165)'), GeomFromEWKT('SRID=4674;POINT (-40.320516 -2.76514)'))) / (select extract(epoch from '2026-07-11 06:04:12'::timestamp) - extract(epoch from '2026-07-11 06:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320474 -2.765165)'), GeomFromEWKT('SRID=4674;POINT (-40.320516 -2.76514)'))) / (select extract(epoch from '2026-07-11 06:04:12'::timestamp) - extract(epoch from '2026-07-11 06:04: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'), 47812, 'SRID=4674;POINT (-40.320576 -2.765112)', '2026-07-11 06:04:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320516 -2.76514)'), GeomFromEWKT('SRID=4674;POINT (-40.320576 -2.765112)'))) / (select extract(epoch from '2026-07-11 06:04:22'::timestamp) - extract(epoch from '2026-07-11 06:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320516 -2.76514)'), GeomFromEWKT('SRID=4674;POINT (-40.320576 -2.765112)'))) / (select extract(epoch from '2026-07-11 06:04:22'::timestamp) - extract(epoch from '2026-07-11 06:04: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'), 47812, 'SRID=4674;POINT (-40.320624 -2.765098)', '2026-07-11 06:04:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320576 -2.765112)'), GeomFromEWKT('SRID=4674;POINT (-40.320624 -2.765098)'))) / (select extract(epoch from '2026-07-11 06:04:31'::timestamp) - extract(epoch from '2026-07-11 06:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320576 -2.765112)'), GeomFromEWKT('SRID=4674;POINT (-40.320624 -2.765098)'))) / (select extract(epoch from '2026-07-11 06:04:31'::timestamp) - extract(epoch from '2026-07-11 06:04: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'), 47812, 'SRID=4674;POINT (-40.320645 -2.765112)', '2026-07-11 06:04:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320624 -2.765098)'), GeomFromEWKT('SRID=4674;POINT (-40.320645 -2.765112)'))) / (select extract(epoch from '2026-07-11 06:04:39'::timestamp) - extract(epoch from '2026-07-11 06:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320624 -2.765098)'), GeomFromEWKT('SRID=4674;POINT (-40.320645 -2.765112)'))) / (select extract(epoch from '2026-07-11 06:04:39'::timestamp) - extract(epoch from '2026-07-11 06:04: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'), 47812, 'SRID=4674;POINT (-40.320691 -2.7651)', '2026-07-11 06:04:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320645 -2.765112)'), GeomFromEWKT('SRID=4674;POINT (-40.320691 -2.7651)'))) / (select extract(epoch from '2026-07-11 06:04:51'::timestamp) - extract(epoch from '2026-07-11 06:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320645 -2.765112)'), GeomFromEWKT('SRID=4674;POINT (-40.320691 -2.7651)'))) / (select extract(epoch from '2026-07-11 06:04:51'::timestamp) - extract(epoch from '2026-07-11 06:04:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320754 -2.765103)', '2026-07-11 06:05:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320691 -2.7651)'), GeomFromEWKT('SRID=4674;POINT (-40.320754 -2.765103)'))) / (select extract(epoch from '2026-07-11 06:05:01'::timestamp) - extract(epoch from '2026-07-11 06:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320691 -2.7651)'), GeomFromEWKT('SRID=4674;POINT (-40.320754 -2.765103)'))) / (select extract(epoch from '2026-07-11 06:05:01'::timestamp) - extract(epoch from '2026-07-11 06:04:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320785 -2.765117)', '2026-07-11 06:05:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320754 -2.765103)'), GeomFromEWKT('SRID=4674;POINT (-40.320785 -2.765117)'))) / (select extract(epoch from '2026-07-11 06:05:10'::timestamp) - extract(epoch from '2026-07-11 06:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320754 -2.765103)'), GeomFromEWKT('SRID=4674;POINT (-40.320785 -2.765117)'))) / (select extract(epoch from '2026-07-11 06:05:10'::timestamp) - extract(epoch from '2026-07-11 06:05: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'), 47812, 'SRID=4674;POINT (-40.320822 -2.765109)', '2026-07-11 06:05:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320785 -2.765117)'), GeomFromEWKT('SRID=4674;POINT (-40.320822 -2.765109)'))) / (select extract(epoch from '2026-07-11 06:05:21'::timestamp) - extract(epoch from '2026-07-11 06:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320785 -2.765117)'), GeomFromEWKT('SRID=4674;POINT (-40.320822 -2.765109)'))) / (select extract(epoch from '2026-07-11 06:05:21'::timestamp) - extract(epoch from '2026-07-11 06:05: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'), 47812, 'SRID=4674;POINT (-40.320852 -2.765114)', '2026-07-11 06:05:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320822 -2.765109)'), GeomFromEWKT('SRID=4674;POINT (-40.320852 -2.765114)'))) / (select extract(epoch from '2026-07-11 06:05:29'::timestamp) - extract(epoch from '2026-07-11 06:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320822 -2.765109)'), GeomFromEWKT('SRID=4674;POINT (-40.320852 -2.765114)'))) / (select extract(epoch from '2026-07-11 06:05:29'::timestamp) - extract(epoch from '2026-07-11 06:05: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'), 47812, 'SRID=4674;POINT (-40.320913 -2.765103)', '2026-07-11 06:05:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320852 -2.765114)'), GeomFromEWKT('SRID=4674;POINT (-40.320913 -2.765103)'))) / (select extract(epoch from '2026-07-11 06:05:40'::timestamp) - extract(epoch from '2026-07-11 06:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320852 -2.765114)'), GeomFromEWKT('SRID=4674;POINT (-40.320913 -2.765103)'))) / (select extract(epoch from '2026-07-11 06:05:40'::timestamp) - extract(epoch from '2026-07-11 06:05:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320919 -2.765087)', '2026-07-11 06:05:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320913 -2.765103)'), GeomFromEWKT('SRID=4674;POINT (-40.320919 -2.765087)'))) / (select extract(epoch from '2026-07-11 06:05:41'::timestamp) - extract(epoch from '2026-07-11 06:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320913 -2.765103)'), GeomFromEWKT('SRID=4674;POINT (-40.320919 -2.765087)'))) / (select extract(epoch from '2026-07-11 06:05:41'::timestamp) - extract(epoch from '2026-07-11 06:05: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'), 47812, 'SRID=4674;POINT (-40.320932 -2.765026)', '2026-07-11 06:05:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320919 -2.765087)'), GeomFromEWKT('SRID=4674;POINT (-40.320932 -2.765026)'))) / (select extract(epoch from '2026-07-11 06:05:46'::timestamp) - extract(epoch from '2026-07-11 06:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320919 -2.765087)'), GeomFromEWKT('SRID=4674;POINT (-40.320932 -2.765026)'))) / (select extract(epoch from '2026-07-11 06:05:46'::timestamp) - extract(epoch from '2026-07-11 06:05: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'), 47812, 'SRID=4674;POINT (-40.320909 -2.764935)', '2026-07-11 06:05:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320932 -2.765026)'), GeomFromEWKT('SRID=4674;POINT (-40.320909 -2.764935)'))) / (select extract(epoch from '2026-07-11 06:05:53'::timestamp) - extract(epoch from '2026-07-11 06:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320932 -2.765026)'), GeomFromEWKT('SRID=4674;POINT (-40.320909 -2.764935)'))) / (select extract(epoch from '2026-07-11 06:05:53'::timestamp) - extract(epoch from '2026-07-11 06:05: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'), 47812, 'SRID=4674;POINT (-40.320868 -2.76485)', '2026-07-11 06:06:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320909 -2.764935)'), GeomFromEWKT('SRID=4674;POINT (-40.320868 -2.76485)'))) / (select extract(epoch from '2026-07-11 06:06:00'::timestamp) - extract(epoch from '2026-07-11 06:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320909 -2.764935)'), GeomFromEWKT('SRID=4674;POINT (-40.320868 -2.76485)'))) / (select extract(epoch from '2026-07-11 06:06:00'::timestamp) - extract(epoch from '2026-07-11 06:05: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'), 47812, 'SRID=4674;POINT (-40.3208 -2.764734)', '2026-07-11 06:06:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320868 -2.76485)'), GeomFromEWKT('SRID=4674;POINT (-40.3208 -2.764734)'))) / (select extract(epoch from '2026-07-11 06:06:08'::timestamp) - extract(epoch from '2026-07-11 06:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320868 -2.76485)'), GeomFromEWKT('SRID=4674;POINT (-40.3208 -2.764734)'))) / (select extract(epoch from '2026-07-11 06:06:08'::timestamp) - extract(epoch from '2026-07-11 06:06: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'), 47812, 'SRID=4674;POINT (-40.320762 -2.76462)', '2026-07-11 06:06:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3208 -2.764734)'), GeomFromEWKT('SRID=4674;POINT (-40.320762 -2.76462)'))) / (select extract(epoch from '2026-07-11 06:06:15'::timestamp) - extract(epoch from '2026-07-11 06:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3208 -2.764734)'), GeomFromEWKT('SRID=4674;POINT (-40.320762 -2.76462)'))) / (select extract(epoch from '2026-07-11 06:06:15'::timestamp) - extract(epoch from '2026-07-11 06:06: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'), 47812, 'SRID=4674;POINT (-40.320741 -2.764514)', '2026-07-11 06:06:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320762 -2.76462)'), GeomFromEWKT('SRID=4674;POINT (-40.320741 -2.764514)'))) / (select extract(epoch from '2026-07-11 06:06:21'::timestamp) - extract(epoch from '2026-07-11 06:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320762 -2.76462)'), GeomFromEWKT('SRID=4674;POINT (-40.320741 -2.764514)'))) / (select extract(epoch from '2026-07-11 06:06:21'::timestamp) - extract(epoch from '2026-07-11 06:06: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'), 47812, 'SRID=4674;POINT (-40.32072 -2.764395)', '2026-07-11 06:06:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320741 -2.764514)'), GeomFromEWKT('SRID=4674;POINT (-40.32072 -2.764395)'))) / (select extract(epoch from '2026-07-11 06:06:28'::timestamp) - extract(epoch from '2026-07-11 06:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320741 -2.764514)'), GeomFromEWKT('SRID=4674;POINT (-40.32072 -2.764395)'))) / (select extract(epoch from '2026-07-11 06:06:28'::timestamp) - extract(epoch from '2026-07-11 06:06: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'), 47812, 'SRID=4674;POINT (-40.32069 -2.76425)', '2026-07-11 06:06:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32072 -2.764395)'), GeomFromEWKT('SRID=4674;POINT (-40.32069 -2.76425)'))) / (select extract(epoch from '2026-07-11 06:06:36'::timestamp) - extract(epoch from '2026-07-11 06:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32072 -2.764395)'), GeomFromEWKT('SRID=4674;POINT (-40.32069 -2.76425)'))) / (select extract(epoch from '2026-07-11 06:06:36'::timestamp) - extract(epoch from '2026-07-11 06:06: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'), 47812, 'SRID=4674;POINT (-40.320659 -2.764108)', '2026-07-11 06:06:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32069 -2.76425)'), GeomFromEWKT('SRID=4674;POINT (-40.320659 -2.764108)'))) / (select extract(epoch from '2026-07-11 06:06:44'::timestamp) - extract(epoch from '2026-07-11 06:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32069 -2.76425)'), GeomFromEWKT('SRID=4674;POINT (-40.320659 -2.764108)'))) / (select extract(epoch from '2026-07-11 06:06:44'::timestamp) - extract(epoch from '2026-07-11 06:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320674 -2.763954)', '2026-07-11 06:06:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320659 -2.764108)'), GeomFromEWKT('SRID=4674;POINT (-40.320674 -2.763954)'))) / (select extract(epoch from '2026-07-11 06:06:52'::timestamp) - extract(epoch from '2026-07-11 06:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320659 -2.764108)'), GeomFromEWKT('SRID=4674;POINT (-40.320674 -2.763954)'))) / (select extract(epoch from '2026-07-11 06:06:52'::timestamp) - extract(epoch from '2026-07-11 06:06: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'), 47812, 'SRID=4674;POINT (-40.320656 -2.763864)', '2026-07-11 06:06:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320674 -2.763954)'), GeomFromEWKT('SRID=4674;POINT (-40.320656 -2.763864)'))) / (select extract(epoch from '2026-07-11 06:06:58'::timestamp) - extract(epoch from '2026-07-11 06:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320674 -2.763954)'), GeomFromEWKT('SRID=4674;POINT (-40.320656 -2.763864)'))) / (select extract(epoch from '2026-07-11 06:06:58'::timestamp) - extract(epoch from '2026-07-11 06:06:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320618 -2.763753)', '2026-07-11 06:07:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320656 -2.763864)'), GeomFromEWKT('SRID=4674;POINT (-40.320618 -2.763753)'))) / (select extract(epoch from '2026-07-11 06:07:05'::timestamp) - extract(epoch from '2026-07-11 06:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320656 -2.763864)'), GeomFromEWKT('SRID=4674;POINT (-40.320618 -2.763753)'))) / (select extract(epoch from '2026-07-11 06:07:05'::timestamp) - extract(epoch from '2026-07-11 06:06: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'), 47812, 'SRID=4674;POINT (-40.320577 -2.763632)', '2026-07-11 06:07:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320618 -2.763753)'), GeomFromEWKT('SRID=4674;POINT (-40.320577 -2.763632)'))) / (select extract(epoch from '2026-07-11 06:07:12'::timestamp) - extract(epoch from '2026-07-11 06:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320618 -2.763753)'), GeomFromEWKT('SRID=4674;POINT (-40.320577 -2.763632)'))) / (select extract(epoch from '2026-07-11 06:07:12'::timestamp) - extract(epoch from '2026-07-11 06:07:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320625 -2.763536)', '2026-07-11 06:07:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320577 -2.763632)'), GeomFromEWKT('SRID=4674;POINT (-40.320625 -2.763536)'))) / (select extract(epoch from '2026-07-11 06:07:17'::timestamp) - extract(epoch from '2026-07-11 06:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320577 -2.763632)'), GeomFromEWKT('SRID=4674;POINT (-40.320625 -2.763536)'))) / (select extract(epoch from '2026-07-11 06:07:17'::timestamp) - extract(epoch from '2026-07-11 06:07: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'), 47812, 'SRID=4674;POINT (-40.320731 -2.763497)', '2026-07-11 06:07:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320625 -2.763536)'), GeomFromEWKT('SRID=4674;POINT (-40.320731 -2.763497)'))) / (select extract(epoch from '2026-07-11 06:07:22'::timestamp) - extract(epoch from '2026-07-11 06:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320625 -2.763536)'), GeomFromEWKT('SRID=4674;POINT (-40.320731 -2.763497)'))) / (select extract(epoch from '2026-07-11 06:07:22'::timestamp) - extract(epoch from '2026-07-11 06:07:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.32077 -2.763505)', '2026-07-11 06:07:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320731 -2.763497)'), GeomFromEWKT('SRID=4674;POINT (-40.32077 -2.763505)'))) / (select extract(epoch from '2026-07-11 06:07:24'::timestamp) - extract(epoch from '2026-07-11 06:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320731 -2.763497)'), GeomFromEWKT('SRID=4674;POINT (-40.32077 -2.763505)'))) / (select extract(epoch from '2026-07-11 06:07:24'::timestamp) - extract(epoch from '2026-07-11 06:07: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'), 47812, 'SRID=4674;POINT (-40.320808 -2.763524)', '2026-07-11 06:07:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32077 -2.763505)'), GeomFromEWKT('SRID=4674;POINT (-40.320808 -2.763524)'))) / (select extract(epoch from '2026-07-11 06:07:26'::timestamp) - extract(epoch from '2026-07-11 06:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32077 -2.763505)'), GeomFromEWKT('SRID=4674;POINT (-40.320808 -2.763524)'))) / (select extract(epoch from '2026-07-11 06:07:26'::timestamp) - extract(epoch from '2026-07-11 06:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320936 -2.763527)', '2026-07-11 06:07:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320808 -2.763524)'), GeomFromEWKT('SRID=4674;POINT (-40.320936 -2.763527)'))) / (select extract(epoch from '2026-07-11 06:07:32'::timestamp) - extract(epoch from '2026-07-11 06:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320808 -2.763524)'), GeomFromEWKT('SRID=4674;POINT (-40.320936 -2.763527)'))) / (select extract(epoch from '2026-07-11 06:07:32'::timestamp) - extract(epoch from '2026-07-11 06:07: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'), 47812, 'SRID=4674;POINT (-40.320998 -2.763457)', '2026-07-11 06:07:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320936 -2.763527)'), GeomFromEWKT('SRID=4674;POINT (-40.320998 -2.763457)'))) / (select extract(epoch from '2026-07-11 06:07:37'::timestamp) - extract(epoch from '2026-07-11 06:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320936 -2.763527)'), GeomFromEWKT('SRID=4674;POINT (-40.320998 -2.763457)'))) / (select extract(epoch from '2026-07-11 06:07:37'::timestamp) - extract(epoch from '2026-07-11 06:07: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'), 47812, 'SRID=4674;POINT (-40.321012 -2.763366)', '2026-07-11 06:07:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320998 -2.763457)'), GeomFromEWKT('SRID=4674;POINT (-40.321012 -2.763366)'))) / (select extract(epoch from '2026-07-11 06:07:43'::timestamp) - extract(epoch from '2026-07-11 06:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320998 -2.763457)'), GeomFromEWKT('SRID=4674;POINT (-40.321012 -2.763366)'))) / (select extract(epoch from '2026-07-11 06:07:43'::timestamp) - extract(epoch from '2026-07-11 06:07:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320962 -2.763294)', '2026-07-11 06:07:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321012 -2.763366)'), GeomFromEWKT('SRID=4674;POINT (-40.320962 -2.763294)'))) / (select extract(epoch from '2026-07-11 06:07:49'::timestamp) - extract(epoch from '2026-07-11 06:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321012 -2.763366)'), GeomFromEWKT('SRID=4674;POINT (-40.320962 -2.763294)'))) / (select extract(epoch from '2026-07-11 06:07:49'::timestamp) - extract(epoch from '2026-07-11 06:07: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'), 47812, 'SRID=4674;POINT (-40.320941 -2.763283)', '2026-07-11 06:07:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320962 -2.763294)'), GeomFromEWKT('SRID=4674;POINT (-40.320941 -2.763283)'))) / (select extract(epoch from '2026-07-11 06:07:51'::timestamp) - extract(epoch from '2026-07-11 06:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320962 -2.763294)'), GeomFromEWKT('SRID=4674;POINT (-40.320941 -2.763283)'))) / (select extract(epoch from '2026-07-11 06:07:51'::timestamp) - extract(epoch from '2026-07-11 06:07: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'), 47812, 'SRID=4674;POINT (-40.32089 -2.763288)', '2026-07-11 06:07:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320941 -2.763283)'), GeomFromEWKT('SRID=4674;POINT (-40.32089 -2.763288)'))) / (select extract(epoch from '2026-07-11 06:07:56'::timestamp) - extract(epoch from '2026-07-11 06:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320941 -2.763283)'), GeomFromEWKT('SRID=4674;POINT (-40.32089 -2.763288)'))) / (select extract(epoch from '2026-07-11 06:07:56'::timestamp) - extract(epoch from '2026-07-11 06:07: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'), 47812, 'SRID=4674;POINT (-40.320855 -2.763327)', '2026-07-11 06:08:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32089 -2.763288)'), GeomFromEWKT('SRID=4674;POINT (-40.320855 -2.763327)'))) / (select extract(epoch from '2026-07-11 06:08:00'::timestamp) - extract(epoch from '2026-07-11 06:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32089 -2.763288)'), GeomFromEWKT('SRID=4674;POINT (-40.320855 -2.763327)'))) / (select extract(epoch from '2026-07-11 06:08:00'::timestamp) - extract(epoch from '2026-07-11 06:07: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'), 47812, 'SRID=4674;POINT (-40.320841 -2.763343)', '2026-07-11 06:08:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320855 -2.763327)'), GeomFromEWKT('SRID=4674;POINT (-40.320841 -2.763343)'))) / (select extract(epoch from '2026-07-11 06:08:02'::timestamp) - extract(epoch from '2026-07-11 06:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320855 -2.763327)'), GeomFromEWKT('SRID=4674;POINT (-40.320841 -2.763343)'))) / (select extract(epoch from '2026-07-11 06:08:02'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47812, 'SRID=4674;POINT (-40.320835 -2.763364)', '2026-07-11 06:08:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320841 -2.763343)'), GeomFromEWKT('SRID=4674;POINT (-40.320835 -2.763364)'))) / (select extract(epoch from '2026-07-11 06:08:04'::timestamp) - extract(epoch from '2026-07-11 06:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320841 -2.763343)'), GeomFromEWKT('SRID=4674;POINT (-40.320835 -2.763364)'))) / (select extract(epoch from '2026-07-11 06:08:04'::timestamp) - extract(epoch from '2026-07-11 06:08: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'), 47812, 'SRID=4674;POINT (-40.320802 -2.763391)', '2026-07-11 06:08:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320835 -2.763364)'), GeomFromEWKT('SRID=4674;POINT (-40.320802 -2.763391)'))) / (select extract(epoch from '2026-07-11 06:08:08'::timestamp) - extract(epoch from '2026-07-11 06:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320835 -2.763364)'), GeomFromEWKT('SRID=4674;POINT (-40.320802 -2.763391)'))) / (select extract(epoch from '2026-07-11 06:08:08'::timestamp) - extract(epoch from '2026-07-11 06:08: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'), 47812, 'SRID=4674;POINT (-40.320765 -2.763402)', '2026-07-11 06:08:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320802 -2.763391)'), GeomFromEWKT('SRID=4674;POINT (-40.320765 -2.763402)'))) / (select extract(epoch from '2026-07-11 06:08:15'::timestamp) - extract(epoch from '2026-07-11 06:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320802 -2.763391)'), GeomFromEWKT('SRID=4674;POINT (-40.320765 -2.763402)'))) / (select extract(epoch from '2026-07-11 06:08:15'::timestamp) - extract(epoch from '2026-07-11 06:08: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'), 47812, 'SRID=4674;POINT (-40.320765 -2.763394)', '2026-07-11 06:08:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320765 -2.763402)'), GeomFromEWKT('SRID=4674;POINT (-40.320765 -2.763394)'))) / (select extract(epoch from '2026-07-11 06:08:25'::timestamp) - extract(epoch from '2026-07-11 06:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320765 -2.763402)'), GeomFromEWKT('SRID=4674;POINT (-40.320765 -2.763394)'))) / (select extract(epoch from '2026-07-11 06:08:25'::timestamp) - extract(epoch from '2026-07-11 06:08: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'), 47812, 'SRID=4674;POINT (-40.320753 -2.763417)', '2026-07-11 06:08:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320765 -2.763394)'), GeomFromEWKT('SRID=4674;POINT (-40.320753 -2.763417)'))) / (select extract(epoch from '2026-07-11 06:08:33'::timestamp) - extract(epoch from '2026-07-11 06:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320765 -2.763394)'), GeomFromEWKT('SRID=4674;POINT (-40.320753 -2.763417)'))) / (select extract(epoch from '2026-07-11 06:08:33'::timestamp) - extract(epoch from '2026-07-11 06:08:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320766 -2.763424)', '2026-07-11 06:08:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320753 -2.763417)'), GeomFromEWKT('SRID=4674;POINT (-40.320766 -2.763424)'))) / (select extract(epoch from '2026-07-11 06:08:43'::timestamp) - extract(epoch from '2026-07-11 06:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320753 -2.763417)'), GeomFromEWKT('SRID=4674;POINT (-40.320766 -2.763424)'))) / (select extract(epoch from '2026-07-11 06:08:43'::timestamp) - extract(epoch from '2026-07-11 06:08: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'), 47812, 'SRID=4674;POINT (-40.320748 -2.763385)', '2026-07-11 06:08:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320766 -2.763424)'), GeomFromEWKT('SRID=4674;POINT (-40.320748 -2.763385)'))) / (select extract(epoch from '2026-07-11 06:08:55'::timestamp) - extract(epoch from '2026-07-11 06:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320766 -2.763424)'), GeomFromEWKT('SRID=4674;POINT (-40.320748 -2.763385)'))) / (select extract(epoch from '2026-07-11 06:08:55'::timestamp) - extract(epoch from '2026-07-11 06:08: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'), 47812, 'SRID=4674;POINT (-40.320709 -2.763363)', '2026-07-11 06:09:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320748 -2.763385)'), GeomFromEWKT('SRID=4674;POINT (-40.320709 -2.763363)'))) / (select extract(epoch from '2026-07-11 06:09:06'::timestamp) - extract(epoch from '2026-07-11 06:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320748 -2.763385)'), GeomFromEWKT('SRID=4674;POINT (-40.320709 -2.763363)'))) / (select extract(epoch from '2026-07-11 06:09:06'::timestamp) - extract(epoch from '2026-07-11 06:08:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320704 -2.763374)', '2026-07-11 06:09:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320709 -2.763363)'), GeomFromEWKT('SRID=4674;POINT (-40.320704 -2.763374)'))) / (select extract(epoch from '2026-07-11 06:09:18'::timestamp) - extract(epoch from '2026-07-11 06:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320709 -2.763363)'), GeomFromEWKT('SRID=4674;POINT (-40.320704 -2.763374)'))) / (select extract(epoch from '2026-07-11 06:09:18'::timestamp) - extract(epoch from '2026-07-11 06:09: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'), 47812, 'SRID=4674;POINT (-40.320714 -2.763389)', '2026-07-11 06:09:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320704 -2.763374)'), GeomFromEWKT('SRID=4674;POINT (-40.320714 -2.763389)'))) / (select extract(epoch from '2026-07-11 06:09:32'::timestamp) - extract(epoch from '2026-07-11 06:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320704 -2.763374)'), GeomFromEWKT('SRID=4674;POINT (-40.320714 -2.763389)'))) / (select extract(epoch from '2026-07-11 06:09:32'::timestamp) - extract(epoch from '2026-07-11 06:09: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'), 47812, 'SRID=4674;POINT (-40.320708 -2.763392)', '2026-07-11 06:09:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320714 -2.763389)'), GeomFromEWKT('SRID=4674;POINT (-40.320708 -2.763392)'))) / (select extract(epoch from '2026-07-11 06:09:44'::timestamp) - extract(epoch from '2026-07-11 06:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320714 -2.763389)'), GeomFromEWKT('SRID=4674;POINT (-40.320708 -2.763392)'))) / (select extract(epoch from '2026-07-11 06:09:44'::timestamp) - extract(epoch from '2026-07-11 06:09:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320708 -2.763398)', '2026-07-11 06:09:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320708 -2.763392)'), GeomFromEWKT('SRID=4674;POINT (-40.320708 -2.763398)'))) / (select extract(epoch from '2026-07-11 06:09:56'::timestamp) - extract(epoch from '2026-07-11 06:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320708 -2.763392)'), GeomFromEWKT('SRID=4674;POINT (-40.320708 -2.763398)'))) / (select extract(epoch from '2026-07-11 06:09:56'::timestamp) - extract(epoch from '2026-07-11 06:09:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320708 -2.763399)', '2026-07-11 06:10:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320708 -2.763398)'), GeomFromEWKT('SRID=4674;POINT (-40.320708 -2.763399)'))) / (select extract(epoch from '2026-07-11 06:10:06'::timestamp) - extract(epoch from '2026-07-11 06:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320708 -2.763398)'), GeomFromEWKT('SRID=4674;POINT (-40.320708 -2.763399)'))) / (select extract(epoch from '2026-07-11 06:10:06'::timestamp) - extract(epoch from '2026-07-11 06:09: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'), 47812, 'SRID=4674;POINT (-40.320702 -2.763398)', '2026-07-11 06:10:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320708 -2.763399)'), GeomFromEWKT('SRID=4674;POINT (-40.320702 -2.763398)'))) / (select extract(epoch from '2026-07-11 06:10:22'::timestamp) - extract(epoch from '2026-07-11 06:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320708 -2.763399)'), GeomFromEWKT('SRID=4674;POINT (-40.320702 -2.763398)'))) / (select extract(epoch from '2026-07-11 06:10:22'::timestamp) - extract(epoch from '2026-07-11 06:10: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'), 47812, 'SRID=4674;POINT (-40.320702 -2.763401)', '2026-07-11 06:10:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320702 -2.763398)'), GeomFromEWKT('SRID=4674;POINT (-40.320702 -2.763401)'))) / (select extract(epoch from '2026-07-11 06:10:33'::timestamp) - extract(epoch from '2026-07-11 06:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320702 -2.763398)'), GeomFromEWKT('SRID=4674;POINT (-40.320702 -2.763401)'))) / (select extract(epoch from '2026-07-11 06:10:33'::timestamp) - extract(epoch from '2026-07-11 06:10:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47812, 'SRID=4674;POINT (-40.320695 -2.763405)', '2026-07-11 06:10:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320702 -2.763401)'), GeomFromEWKT('SRID=4674;POINT (-40.320695 -2.763405)'))) / (select extract(epoch from '2026-07-11 06:10:50'::timestamp) - extract(epoch from '2026-07-11 06:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320702 -2.763401)'), GeomFromEWKT('SRID=4674;POINT (-40.320695 -2.763405)'))) / (select extract(epoch from '2026-07-11 06:10:50'::timestamp) - extract(epoch from '2026-07-11 06:10: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'), 47812, 'SRID=4674;POINT (-40.320701 -2.763411)', '2026-07-11 06:11:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320695 -2.763405)'), GeomFromEWKT('SRID=4674;POINT (-40.320701 -2.763411)'))) / (select extract(epoch from '2026-07-11 06:11:03'::timestamp) - extract(epoch from '2026-07-11 06:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320695 -2.763405)'), GeomFromEWKT('SRID=4674;POINT (-40.320701 -2.763411)'))) / (select extract(epoch from '2026-07-11 06:11:03'::timestamp) - extract(epoch from '2026-07-11 06:10:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
