 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.439568 -2.756972)', '2026-06-05 15:44:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439425 -2.757097)'), GeomFromEWKT('SRID=4674;POINT (-40.439568 -2.756972)'))) / (select extract(epoch from '2026-06-05 15:44:01'::timestamp) - extract(epoch from '2026-06-05 15:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439425 -2.757097)'), GeomFromEWKT('SRID=4674;POINT (-40.439568 -2.756972)'))) / (select extract(epoch from '2026-06-05 15:44:01'::timestamp) - extract(epoch from '2026-06-05 15:43:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.439729 -2.756832)', '2026-06-05 15:44:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439568 -2.756972)'), GeomFromEWKT('SRID=4674;POINT (-40.439729 -2.756832)'))) / (select extract(epoch from '2026-06-05 15:44:08'::timestamp) - extract(epoch from '2026-06-05 15:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439568 -2.756972)'), GeomFromEWKT('SRID=4674;POINT (-40.439729 -2.756832)'))) / (select extract(epoch from '2026-06-05 15:44:08'::timestamp) - extract(epoch from '2026-06-05 15:44:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.439909 -2.756667)', '2026-06-05 15:44:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439729 -2.756832)'), GeomFromEWKT('SRID=4674;POINT (-40.439909 -2.756667)'))) / (select extract(epoch from '2026-06-05 15:44:16'::timestamp) - extract(epoch from '2026-06-05 15:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439729 -2.756832)'), GeomFromEWKT('SRID=4674;POINT (-40.439909 -2.756667)'))) / (select extract(epoch from '2026-06-05 15:44:16'::timestamp) - extract(epoch from '2026-06-05 15:44: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'), 46721, 'SRID=4674;POINT (-40.440059 -2.756558)', '2026-06-05 15:44:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439909 -2.756667)'), GeomFromEWKT('SRID=4674;POINT (-40.440059 -2.756558)'))) / (select extract(epoch from '2026-06-05 15:44:22'::timestamp) - extract(epoch from '2026-06-05 15:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439909 -2.756667)'), GeomFromEWKT('SRID=4674;POINT (-40.440059 -2.756558)'))) / (select extract(epoch from '2026-06-05 15:44:22'::timestamp) - extract(epoch from '2026-06-05 15:44:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.440206 -2.756449)', '2026-06-05 15:44:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.440059 -2.756558)'), GeomFromEWKT('SRID=4674;POINT (-40.440206 -2.756449)'))) / (select extract(epoch from '2026-06-05 15:44:28'::timestamp) - extract(epoch from '2026-06-05 15:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.440059 -2.756558)'), GeomFromEWKT('SRID=4674;POINT (-40.440206 -2.756449)'))) / (select extract(epoch from '2026-06-05 15:44:28'::timestamp) - extract(epoch from '2026-06-05 15:44: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'), 46721, 'SRID=4674;POINT (-40.44037 -2.756312)', '2026-06-05 15:44:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.440206 -2.756449)'), GeomFromEWKT('SRID=4674;POINT (-40.44037 -2.756312)'))) / (select extract(epoch from '2026-06-05 15:44:35'::timestamp) - extract(epoch from '2026-06-05 15:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.440206 -2.756449)'), GeomFromEWKT('SRID=4674;POINT (-40.44037 -2.756312)'))) / (select extract(epoch from '2026-06-05 15:44:35'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.440538 -2.756184)', '2026-06-05 15:44:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44037 -2.756312)'), GeomFromEWKT('SRID=4674;POINT (-40.440538 -2.756184)'))) / (select extract(epoch from '2026-06-05 15:44:42'::timestamp) - extract(epoch from '2026-06-05 15:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44037 -2.756312)'), GeomFromEWKT('SRID=4674;POINT (-40.440538 -2.756184)'))) / (select extract(epoch from '2026-06-05 15:44:42'::timestamp) - extract(epoch from '2026-06-05 15:44:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.440704 -2.756076)', '2026-06-05 15:44:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.440538 -2.756184)'), GeomFromEWKT('SRID=4674;POINT (-40.440704 -2.756076)'))) / (select extract(epoch from '2026-06-05 15:44:49'::timestamp) - extract(epoch from '2026-06-05 15:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.440538 -2.756184)'), GeomFromEWKT('SRID=4674;POINT (-40.440704 -2.756076)'))) / (select extract(epoch from '2026-06-05 15:44:49'::timestamp) - extract(epoch from '2026-06-05 15:44: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'), 46721, 'SRID=4674;POINT (-40.44095 -2.75595)', '2026-06-05 15:44:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.440704 -2.756076)'), GeomFromEWKT('SRID=4674;POINT (-40.44095 -2.75595)'))) / (select extract(epoch from '2026-06-05 15:44:58'::timestamp) - extract(epoch from '2026-06-05 15:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.440704 -2.756076)'), GeomFromEWKT('SRID=4674;POINT (-40.44095 -2.75595)'))) / (select extract(epoch from '2026-06-05 15:44:58'::timestamp) - extract(epoch from '2026-06-05 15:44:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.44105 -2.755892)', '2026-06-05 15:45:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44095 -2.75595)'), GeomFromEWKT('SRID=4674;POINT (-40.44105 -2.755892)'))) / (select extract(epoch from '2026-06-05 15:45:02'::timestamp) - extract(epoch from '2026-06-05 15:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44095 -2.75595)'), GeomFromEWKT('SRID=4674;POINT (-40.44105 -2.755892)'))) / (select extract(epoch from '2026-06-05 15:45:02'::timestamp) - extract(epoch from '2026-06-05 15:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.441079 -2.755883)', '2026-06-05 15:45:03', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44105 -2.755892)'), GeomFromEWKT('SRID=4674;POINT (-40.441079 -2.755883)'))) / (select extract(epoch from '2026-06-05 15:45:03'::timestamp) - extract(epoch from '2026-06-05 15:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44105 -2.755892)'), GeomFromEWKT('SRID=4674;POINT (-40.441079 -2.755883)'))) / (select extract(epoch from '2026-06-05 15:45:03'::timestamp) - extract(epoch from '2026-06-05 15:45:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.441184 -2.755812)', '2026-06-05 15:45:07', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.441079 -2.755883)'), GeomFromEWKT('SRID=4674;POINT (-40.441184 -2.755812)'))) / (select extract(epoch from '2026-06-05 15:45:07'::timestamp) - extract(epoch from '2026-06-05 15:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.441079 -2.755883)'), GeomFromEWKT('SRID=4674;POINT (-40.441184 -2.755812)'))) / (select extract(epoch from '2026-06-05 15:45:07'::timestamp) - extract(epoch from '2026-06-05 15:45: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'), 46721, 'SRID=4674;POINT (-40.441325 -2.755739)', '2026-06-05 15:45:12', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.441184 -2.755812)'), GeomFromEWKT('SRID=4674;POINT (-40.441325 -2.755739)'))) / (select extract(epoch from '2026-06-05 15:45:12'::timestamp) - extract(epoch from '2026-06-05 15:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.441184 -2.755812)'), GeomFromEWKT('SRID=4674;POINT (-40.441325 -2.755739)'))) / (select extract(epoch from '2026-06-05 15:45:12'::timestamp) - extract(epoch from '2026-06-05 15:45: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'), 46721, 'SRID=4674;POINT (-40.441485 -2.755632)', '2026-06-05 15:45:18', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.441325 -2.755739)'), GeomFromEWKT('SRID=4674;POINT (-40.441485 -2.755632)'))) / (select extract(epoch from '2026-06-05 15:45:18'::timestamp) - extract(epoch from '2026-06-05 15:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.441325 -2.755739)'), GeomFromEWKT('SRID=4674;POINT (-40.441485 -2.755632)'))) / (select extract(epoch from '2026-06-05 15:45:18'::timestamp) - extract(epoch from '2026-06-05 15:45: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'), 46721, 'SRID=4674;POINT (-40.441671 -2.755496)', '2026-06-05 15:45:25', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.441485 -2.755632)'), GeomFromEWKT('SRID=4674;POINT (-40.441671 -2.755496)'))) / (select extract(epoch from '2026-06-05 15:45:25'::timestamp) - extract(epoch from '2026-06-05 15:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.441485 -2.755632)'), GeomFromEWKT('SRID=4674;POINT (-40.441671 -2.755496)'))) / (select extract(epoch from '2026-06-05 15:45:25'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.44184 -2.75541)', '2026-06-05 15:45:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.441671 -2.755496)'), GeomFromEWKT('SRID=4674;POINT (-40.44184 -2.75541)'))) / (select extract(epoch from '2026-06-05 15:45:31'::timestamp) - extract(epoch from '2026-06-05 15:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.441671 -2.755496)'), GeomFromEWKT('SRID=4674;POINT (-40.44184 -2.75541)'))) / (select extract(epoch from '2026-06-05 15:45:31'::timestamp) - extract(epoch from '2026-06-05 15:45: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'), 46721, 'SRID=4674;POINT (-40.441983 -2.755348)', '2026-06-05 15:45:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44184 -2.75541)'), GeomFromEWKT('SRID=4674;POINT (-40.441983 -2.755348)'))) / (select extract(epoch from '2026-06-05 15:45:36'::timestamp) - extract(epoch from '2026-06-05 15:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44184 -2.75541)'), GeomFromEWKT('SRID=4674;POINT (-40.441983 -2.755348)'))) / (select extract(epoch from '2026-06-05 15:45:36'::timestamp) - extract(epoch from '2026-06-05 15:45:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.442138 -2.755293)', '2026-06-05 15:45:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.441983 -2.755348)'), GeomFromEWKT('SRID=4674;POINT (-40.442138 -2.755293)'))) / (select extract(epoch from '2026-06-05 15:45:41'::timestamp) - extract(epoch from '2026-06-05 15:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.441983 -2.755348)'), GeomFromEWKT('SRID=4674;POINT (-40.442138 -2.755293)'))) / (select extract(epoch from '2026-06-05 15:45:41'::timestamp) - extract(epoch from '2026-06-05 15:45: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'), 46721, 'SRID=4674;POINT (-40.44231 -2.755241)', '2026-06-05 15:45:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.442138 -2.755293)'), GeomFromEWKT('SRID=4674;POINT (-40.44231 -2.755241)'))) / (select extract(epoch from '2026-06-05 15:45:47'::timestamp) - extract(epoch from '2026-06-05 15:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.442138 -2.755293)'), GeomFromEWKT('SRID=4674;POINT (-40.44231 -2.755241)'))) / (select extract(epoch from '2026-06-05 15:45:47'::timestamp) - extract(epoch from '2026-06-05 15:45: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'), 46721, 'SRID=4674;POINT (-40.442446 -2.755194)', '2026-06-05 15:45:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44231 -2.755241)'), GeomFromEWKT('SRID=4674;POINT (-40.442446 -2.755194)'))) / (select extract(epoch from '2026-06-05 15:45:52'::timestamp) - extract(epoch from '2026-06-05 15:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44231 -2.755241)'), GeomFromEWKT('SRID=4674;POINT (-40.442446 -2.755194)'))) / (select extract(epoch from '2026-06-05 15:45:52'::timestamp) - extract(epoch from '2026-06-05 15:45: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'), 46721, 'SRID=4674;POINT (-40.442587 -2.755099)', '2026-06-05 15:45:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.442446 -2.755194)'), GeomFromEWKT('SRID=4674;POINT (-40.442587 -2.755099)'))) / (select extract(epoch from '2026-06-05 15:45:58'::timestamp) - extract(epoch from '2026-06-05 15:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.442446 -2.755194)'), GeomFromEWKT('SRID=4674;POINT (-40.442587 -2.755099)'))) / (select extract(epoch from '2026-06-05 15:45:58'::timestamp) - extract(epoch from '2026-06-05 15:45:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.442749 -2.754977)', '2026-06-05 15:46:05', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.442587 -2.755099)'), GeomFromEWKT('SRID=4674;POINT (-40.442749 -2.754977)'))) / (select extract(epoch from '2026-06-05 15:46:05'::timestamp) - extract(epoch from '2026-06-05 15:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.442587 -2.755099)'), GeomFromEWKT('SRID=4674;POINT (-40.442749 -2.754977)'))) / (select extract(epoch from '2026-06-05 15:46:05'::timestamp) - extract(epoch from '2026-06-05 15:45: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'), 46721, 'SRID=4674;POINT (-40.442886 -2.754861)', '2026-06-05 15:46:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.442749 -2.754977)'), GeomFromEWKT('SRID=4674;POINT (-40.442886 -2.754861)'))) / (select extract(epoch from '2026-06-05 15:46:11'::timestamp) - extract(epoch from '2026-06-05 15:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.442749 -2.754977)'), GeomFromEWKT('SRID=4674;POINT (-40.442886 -2.754861)'))) / (select extract(epoch from '2026-06-05 15:46:11'::timestamp) - extract(epoch from '2026-06-05 15:46:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.442993 -2.754759)', '2026-06-05 15:46:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.442886 -2.754861)'), GeomFromEWKT('SRID=4674;POINT (-40.442993 -2.754759)'))) / (select extract(epoch from '2026-06-05 15:46:16'::timestamp) - extract(epoch from '2026-06-05 15:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.442886 -2.754861)'), GeomFromEWKT('SRID=4674;POINT (-40.442993 -2.754759)'))) / (select extract(epoch from '2026-06-05 15:46:16'::timestamp) - extract(epoch from '2026-06-05 15:46: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'), 46721, 'SRID=4674;POINT (-40.443105 -2.754603)', '2026-06-05 15:46:23', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.442993 -2.754759)'), GeomFromEWKT('SRID=4674;POINT (-40.443105 -2.754603)'))) / (select extract(epoch from '2026-06-05 15:46:23'::timestamp) - extract(epoch from '2026-06-05 15:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.442993 -2.754759)'), GeomFromEWKT('SRID=4674;POINT (-40.443105 -2.754603)'))) / (select extract(epoch from '2026-06-05 15:46:23'::timestamp) - extract(epoch from '2026-06-05 15:46: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'), 46721, 'SRID=4674;POINT (-40.443208 -2.754485)', '2026-06-05 15:46:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.443105 -2.754603)'), GeomFromEWKT('SRID=4674;POINT (-40.443208 -2.754485)'))) / (select extract(epoch from '2026-06-05 15:46:29'::timestamp) - extract(epoch from '2026-06-05 15:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.443105 -2.754603)'), GeomFromEWKT('SRID=4674;POINT (-40.443208 -2.754485)'))) / (select extract(epoch from '2026-06-05 15:46:29'::timestamp) - extract(epoch from '2026-06-05 15:46: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'), 46721, 'SRID=4674;POINT (-40.443355 -2.754332)', '2026-06-05 15:46:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.443208 -2.754485)'), GeomFromEWKT('SRID=4674;POINT (-40.443355 -2.754332)'))) / (select extract(epoch from '2026-06-05 15:46:36'::timestamp) - extract(epoch from '2026-06-05 15:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.443208 -2.754485)'), GeomFromEWKT('SRID=4674;POINT (-40.443355 -2.754332)'))) / (select extract(epoch from '2026-06-05 15:46:36'::timestamp) - extract(epoch from '2026-06-05 15:46: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'), 46721, 'SRID=4674;POINT (-40.443455 -2.754228)', '2026-06-05 15:46:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.443355 -2.754332)'), GeomFromEWKT('SRID=4674;POINT (-40.443455 -2.754228)'))) / (select extract(epoch from '2026-06-05 15:46:41'::timestamp) - extract(epoch from '2026-06-05 15:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.443355 -2.754332)'), GeomFromEWKT('SRID=4674;POINT (-40.443455 -2.754228)'))) / (select extract(epoch from '2026-06-05 15:46:41'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.443602 -2.754053)', '2026-06-05 15:46:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.443455 -2.754228)'), GeomFromEWKT('SRID=4674;POINT (-40.443602 -2.754053)'))) / (select extract(epoch from '2026-06-05 15:46:49'::timestamp) - extract(epoch from '2026-06-05 15:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.443455 -2.754228)'), GeomFromEWKT('SRID=4674;POINT (-40.443602 -2.754053)'))) / (select extract(epoch from '2026-06-05 15:46:49'::timestamp) - extract(epoch from '2026-06-05 15:46: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'), 46721, 'SRID=4674;POINT (-40.443726 -2.753934)', '2026-06-05 15:46:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.443602 -2.754053)'), GeomFromEWKT('SRID=4674;POINT (-40.443726 -2.753934)'))) / (select extract(epoch from '2026-06-05 15:46:55'::timestamp) - extract(epoch from '2026-06-05 15:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.443602 -2.754053)'), GeomFromEWKT('SRID=4674;POINT (-40.443726 -2.753934)'))) / (select extract(epoch from '2026-06-05 15:46:55'::timestamp) - extract(epoch from '2026-06-05 15:46: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'), 46721, 'SRID=4674;POINT (-40.443849 -2.753809)', '2026-06-05 15:47:01', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.443726 -2.753934)'), GeomFromEWKT('SRID=4674;POINT (-40.443849 -2.753809)'))) / (select extract(epoch from '2026-06-05 15:47:01'::timestamp) - extract(epoch from '2026-06-05 15:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.443726 -2.753934)'), GeomFromEWKT('SRID=4674;POINT (-40.443849 -2.753809)'))) / (select extract(epoch from '2026-06-05 15:47:01'::timestamp) - extract(epoch from '2026-06-05 15:46: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'), 46721, 'SRID=4674;POINT (-40.444042 -2.753667)', '2026-06-05 15:47:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.443849 -2.753809)'), GeomFromEWKT('SRID=4674;POINT (-40.444042 -2.753667)'))) / (select extract(epoch from '2026-06-05 15:47:09'::timestamp) - extract(epoch from '2026-06-05 15:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.443849 -2.753809)'), GeomFromEWKT('SRID=4674;POINT (-40.444042 -2.753667)'))) / (select extract(epoch from '2026-06-05 15:47:09'::timestamp) - extract(epoch from '2026-06-05 15:47:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.444265 -2.753524)', '2026-06-05 15:47:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.444042 -2.753667)'), GeomFromEWKT('SRID=4674;POINT (-40.444265 -2.753524)'))) / (select extract(epoch from '2026-06-05 15:47:17'::timestamp) - extract(epoch from '2026-06-05 15:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.444042 -2.753667)'), GeomFromEWKT('SRID=4674;POINT (-40.444265 -2.753524)'))) / (select extract(epoch from '2026-06-05 15:47:17'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.444355 -2.75348)', '2026-06-05 15:47:21', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.444265 -2.753524)'), GeomFromEWKT('SRID=4674;POINT (-40.444355 -2.75348)'))) / (select extract(epoch from '2026-06-05 15:47:21'::timestamp) - extract(epoch from '2026-06-05 15:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.444265 -2.753524)'), GeomFromEWKT('SRID=4674;POINT (-40.444355 -2.75348)'))) / (select extract(epoch from '2026-06-05 15:47:21'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.444484 -2.753454)', '2026-06-05 15:47:25', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.444355 -2.75348)'), GeomFromEWKT('SRID=4674;POINT (-40.444484 -2.753454)'))) / (select extract(epoch from '2026-06-05 15:47:25'::timestamp) - extract(epoch from '2026-06-05 15:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.444355 -2.75348)'), GeomFromEWKT('SRID=4674;POINT (-40.444484 -2.753454)'))) / (select extract(epoch from '2026-06-05 15:47:25'::timestamp) - extract(epoch from '2026-06-05 15:47: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'), 46721, 'SRID=4674;POINT (-40.444653 -2.753428)', '2026-06-05 15:47:31', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.444484 -2.753454)'), GeomFromEWKT('SRID=4674;POINT (-40.444653 -2.753428)'))) / (select extract(epoch from '2026-06-05 15:47:31'::timestamp) - extract(epoch from '2026-06-05 15:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.444484 -2.753454)'), GeomFromEWKT('SRID=4674;POINT (-40.444653 -2.753428)'))) / (select extract(epoch from '2026-06-05 15:47:31'::timestamp) - extract(epoch from '2026-06-05 15:47:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.444823 -2.753418)', '2026-06-05 15:47:37', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.444653 -2.753428)'), GeomFromEWKT('SRID=4674;POINT (-40.444823 -2.753418)'))) / (select extract(epoch from '2026-06-05 15:47:37'::timestamp) - extract(epoch from '2026-06-05 15:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.444653 -2.753428)'), GeomFromEWKT('SRID=4674;POINT (-40.444823 -2.753418)'))) / (select extract(epoch from '2026-06-05 15:47:37'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.445004 -2.753403)', '2026-06-05 15:47:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.444823 -2.753418)'), GeomFromEWKT('SRID=4674;POINT (-40.445004 -2.753403)'))) / (select extract(epoch from '2026-06-05 15:47:43'::timestamp) - extract(epoch from '2026-06-05 15:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.444823 -2.753418)'), GeomFromEWKT('SRID=4674;POINT (-40.445004 -2.753403)'))) / (select extract(epoch from '2026-06-05 15:47:43'::timestamp) - extract(epoch from '2026-06-05 15:47:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.445149 -2.753378)', '2026-06-05 15:47:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.445004 -2.753403)'), GeomFromEWKT('SRID=4674;POINT (-40.445149 -2.753378)'))) / (select extract(epoch from '2026-06-05 15:47:48'::timestamp) - extract(epoch from '2026-06-05 15:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.445004 -2.753403)'), GeomFromEWKT('SRID=4674;POINT (-40.445149 -2.753378)'))) / (select extract(epoch from '2026-06-05 15:47:48'::timestamp) - extract(epoch from '2026-06-05 15:47: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'), 46721, 'SRID=4674;POINT (-40.445306 -2.753331)', '2026-06-05 15:47:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.445149 -2.753378)'), GeomFromEWKT('SRID=4674;POINT (-40.445306 -2.753331)'))) / (select extract(epoch from '2026-06-05 15:47:54'::timestamp) - extract(epoch from '2026-06-05 15:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.445149 -2.753378)'), GeomFromEWKT('SRID=4674;POINT (-40.445306 -2.753331)'))) / (select extract(epoch from '2026-06-05 15:47:54'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.445484 -2.753248)', '2026-06-05 15:48:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.445306 -2.753331)'), GeomFromEWKT('SRID=4674;POINT (-40.445484 -2.753248)'))) / (select extract(epoch from '2026-06-05 15:48:00'::timestamp) - extract(epoch from '2026-06-05 15:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.445306 -2.753331)'), GeomFromEWKT('SRID=4674;POINT (-40.445484 -2.753248)'))) / (select extract(epoch from '2026-06-05 15:48:00'::timestamp) - extract(epoch from '2026-06-05 15:47: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'), 46721, 'SRID=4674;POINT (-40.445624 -2.753192)', '2026-06-05 15:48:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.445484 -2.753248)'), GeomFromEWKT('SRID=4674;POINT (-40.445624 -2.753192)'))) / (select extract(epoch from '2026-06-05 15:48:05'::timestamp) - extract(epoch from '2026-06-05 15:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.445484 -2.753248)'), GeomFromEWKT('SRID=4674;POINT (-40.445624 -2.753192)'))) / (select extract(epoch from '2026-06-05 15:48:05'::timestamp) - extract(epoch from '2026-06-05 15:48:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.44576 -2.753111)', '2026-06-05 15:48:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.445624 -2.753192)'), GeomFromEWKT('SRID=4674;POINT (-40.44576 -2.753111)'))) / (select extract(epoch from '2026-06-05 15:48:10'::timestamp) - extract(epoch from '2026-06-05 15:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.445624 -2.753192)'), GeomFromEWKT('SRID=4674;POINT (-40.44576 -2.753111)'))) / (select extract(epoch from '2026-06-05 15:48:10'::timestamp) - extract(epoch from '2026-06-05 15:48: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'), 46721, 'SRID=4674;POINT (-40.445896 -2.753035)', '2026-06-05 15:48:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44576 -2.753111)'), GeomFromEWKT('SRID=4674;POINT (-40.445896 -2.753035)'))) / (select extract(epoch from '2026-06-05 15:48:15'::timestamp) - extract(epoch from '2026-06-05 15:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44576 -2.753111)'), GeomFromEWKT('SRID=4674;POINT (-40.445896 -2.753035)'))) / (select extract(epoch from '2026-06-05 15:48:15'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.446083 -2.752943)', '2026-06-05 15:48:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.445896 -2.753035)'), GeomFromEWKT('SRID=4674;POINT (-40.446083 -2.752943)'))) / (select extract(epoch from '2026-06-05 15:48:21'::timestamp) - extract(epoch from '2026-06-05 15:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.445896 -2.753035)'), GeomFromEWKT('SRID=4674;POINT (-40.446083 -2.752943)'))) / (select extract(epoch from '2026-06-05 15:48:21'::timestamp) - extract(epoch from '2026-06-05 15:48: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'), 46721, 'SRID=4674;POINT (-40.446251 -2.752879)', '2026-06-05 15:48:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.446083 -2.752943)'), GeomFromEWKT('SRID=4674;POINT (-40.446251 -2.752879)'))) / (select extract(epoch from '2026-06-05 15:48:27'::timestamp) - extract(epoch from '2026-06-05 15:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.446083 -2.752943)'), GeomFromEWKT('SRID=4674;POINT (-40.446251 -2.752879)'))) / (select extract(epoch from '2026-06-05 15:48:27'::timestamp) - extract(epoch from '2026-06-05 15:48: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'), 46721, 'SRID=4674;POINT (-40.446383 -2.752846)', '2026-06-05 15:48:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.446251 -2.752879)'), GeomFromEWKT('SRID=4674;POINT (-40.446383 -2.752846)'))) / (select extract(epoch from '2026-06-05 15:48:32'::timestamp) - extract(epoch from '2026-06-05 15:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.446251 -2.752879)'), GeomFromEWKT('SRID=4674;POINT (-40.446383 -2.752846)'))) / (select extract(epoch from '2026-06-05 15:48:32'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.446544 -2.752816)', '2026-06-05 15:48:37', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.446383 -2.752846)'), GeomFromEWKT('SRID=4674;POINT (-40.446544 -2.752816)'))) / (select extract(epoch from '2026-06-05 15:48:37'::timestamp) - extract(epoch from '2026-06-05 15:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.446383 -2.752846)'), GeomFromEWKT('SRID=4674;POINT (-40.446544 -2.752816)'))) / (select extract(epoch from '2026-06-05 15:48:37'::timestamp) - extract(epoch from '2026-06-05 15:48: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'), 46721, 'SRID=4674;POINT (-40.44672 -2.752785)', '2026-06-05 15:48:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.446544 -2.752816)'), GeomFromEWKT('SRID=4674;POINT (-40.44672 -2.752785)'))) / (select extract(epoch from '2026-06-05 15:48:43'::timestamp) - extract(epoch from '2026-06-05 15:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.446544 -2.752816)'), GeomFromEWKT('SRID=4674;POINT (-40.44672 -2.752785)'))) / (select extract(epoch from '2026-06-05 15:48:43'::timestamp) - extract(epoch from '2026-06-05 15:48: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'), 46721, 'SRID=4674;POINT (-40.446843 -2.75276)', '2026-06-05 15:48:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44672 -2.752785)'), GeomFromEWKT('SRID=4674;POINT (-40.446843 -2.75276)'))) / (select extract(epoch from '2026-06-05 15:48:47'::timestamp) - extract(epoch from '2026-06-05 15:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44672 -2.752785)'), GeomFromEWKT('SRID=4674;POINT (-40.446843 -2.75276)'))) / (select extract(epoch from '2026-06-05 15:48:47'::timestamp) - extract(epoch from '2026-06-05 15:48:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.446952 -2.752735)', '2026-06-05 15:48:51', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.446843 -2.75276)'), GeomFromEWKT('SRID=4674;POINT (-40.446952 -2.752735)'))) / (select extract(epoch from '2026-06-05 15:48:51'::timestamp) - extract(epoch from '2026-06-05 15:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.446843 -2.75276)'), GeomFromEWKT('SRID=4674;POINT (-40.446952 -2.752735)'))) / (select extract(epoch from '2026-06-05 15:48:51'::timestamp) - extract(epoch from '2026-06-05 15:48: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'), 46721, 'SRID=4674;POINT (-40.447065 -2.752677)', '2026-06-05 15:48:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.446952 -2.752735)'), GeomFromEWKT('SRID=4674;POINT (-40.447065 -2.752677)'))) / (select extract(epoch from '2026-06-05 15:48:56'::timestamp) - extract(epoch from '2026-06-05 15:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.446952 -2.752735)'), GeomFromEWKT('SRID=4674;POINT (-40.447065 -2.752677)'))) / (select extract(epoch from '2026-06-05 15:48:56'::timestamp) - extract(epoch from '2026-06-05 15:48: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'), 46721, 'SRID=4674;POINT (-40.447185 -2.752614)', '2026-06-05 15:49:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.447065 -2.752677)'), GeomFromEWKT('SRID=4674;POINT (-40.447185 -2.752614)'))) / (select extract(epoch from '2026-06-05 15:49:01'::timestamp) - extract(epoch from '2026-06-05 15:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.447065 -2.752677)'), GeomFromEWKT('SRID=4674;POINT (-40.447185 -2.752614)'))) / (select extract(epoch from '2026-06-05 15:49:01'::timestamp) - extract(epoch from '2026-06-05 15:48: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'), 46721, 'SRID=4674;POINT (-40.44735 -2.752531)', '2026-06-05 15:49:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.447185 -2.752614)'), GeomFromEWKT('SRID=4674;POINT (-40.44735 -2.752531)'))) / (select extract(epoch from '2026-06-05 15:49:08'::timestamp) - extract(epoch from '2026-06-05 15:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.447185 -2.752614)'), GeomFromEWKT('SRID=4674;POINT (-40.44735 -2.752531)'))) / (select extract(epoch from '2026-06-05 15:49:08'::timestamp) - extract(epoch from '2026-06-05 15:49:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.447496 -2.752462)', '2026-06-05 15:49:14', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44735 -2.752531)'), GeomFromEWKT('SRID=4674;POINT (-40.447496 -2.752462)'))) / (select extract(epoch from '2026-06-05 15:49:14'::timestamp) - extract(epoch from '2026-06-05 15:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44735 -2.752531)'), GeomFromEWKT('SRID=4674;POINT (-40.447496 -2.752462)'))) / (select extract(epoch from '2026-06-05 15:49:14'::timestamp) - extract(epoch from '2026-06-05 15:49:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.447676 -2.752358)', '2026-06-05 15:49:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.447496 -2.752462)'), GeomFromEWKT('SRID=4674;POINT (-40.447676 -2.752358)'))) / (select extract(epoch from '2026-06-05 15:49:22'::timestamp) - extract(epoch from '2026-06-05 15:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.447496 -2.752462)'), GeomFromEWKT('SRID=4674;POINT (-40.447676 -2.752358)'))) / (select extract(epoch from '2026-06-05 15:49:22'::timestamp) - extract(epoch from '2026-06-05 15:49:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.447819 -2.75229)', '2026-06-05 15:49:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.447676 -2.752358)'), GeomFromEWKT('SRID=4674;POINT (-40.447819 -2.75229)'))) / (select extract(epoch from '2026-06-05 15:49:28'::timestamp) - extract(epoch from '2026-06-05 15:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.447676 -2.752358)'), GeomFromEWKT('SRID=4674;POINT (-40.447819 -2.75229)'))) / (select extract(epoch from '2026-06-05 15:49:28'::timestamp) - extract(epoch from '2026-06-05 15:49: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'), 46721, 'SRID=4674;POINT (-40.447937 -2.752238)', '2026-06-05 15:49:33', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.447819 -2.75229)'), GeomFromEWKT('SRID=4674;POINT (-40.447937 -2.752238)'))) / (select extract(epoch from '2026-06-05 15:49:33'::timestamp) - extract(epoch from '2026-06-05 15:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.447819 -2.75229)'), GeomFromEWKT('SRID=4674;POINT (-40.447937 -2.752238)'))) / (select extract(epoch from '2026-06-05 15:49:33'::timestamp) - extract(epoch from '2026-06-05 15:49: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'), 46721, 'SRID=4674;POINT (-40.448103 -2.752137)', '2026-06-05 15:49:40', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.447937 -2.752238)'), GeomFromEWKT('SRID=4674;POINT (-40.448103 -2.752137)'))) / (select extract(epoch from '2026-06-05 15:49:40'::timestamp) - extract(epoch from '2026-06-05 15:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.447937 -2.752238)'), GeomFromEWKT('SRID=4674;POINT (-40.448103 -2.752137)'))) / (select extract(epoch from '2026-06-05 15:49:40'::timestamp) - extract(epoch from '2026-06-05 15:49: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'), 46721, 'SRID=4674;POINT (-40.448217 -2.752069)', '2026-06-05 15:49:45', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.448103 -2.752137)'), GeomFromEWKT('SRID=4674;POINT (-40.448217 -2.752069)'))) / (select extract(epoch from '2026-06-05 15:49:45'::timestamp) - extract(epoch from '2026-06-05 15:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.448103 -2.752137)'), GeomFromEWKT('SRID=4674;POINT (-40.448217 -2.752069)'))) / (select extract(epoch from '2026-06-05 15:49:45'::timestamp) - extract(epoch from '2026-06-05 15:49:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.448352 -2.752014)', '2026-06-05 15:49:50', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.448217 -2.752069)'), GeomFromEWKT('SRID=4674;POINT (-40.448352 -2.752014)'))) / (select extract(epoch from '2026-06-05 15:49:50'::timestamp) - extract(epoch from '2026-06-05 15:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.448217 -2.752069)'), GeomFromEWKT('SRID=4674;POINT (-40.448352 -2.752014)'))) / (select extract(epoch from '2026-06-05 15:49:50'::timestamp) - extract(epoch from '2026-06-05 15:49:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.448552 -2.751935)', '2026-06-05 15:49:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.448352 -2.752014)'), GeomFromEWKT('SRID=4674;POINT (-40.448552 -2.751935)'))) / (select extract(epoch from '2026-06-05 15:49:57'::timestamp) - extract(epoch from '2026-06-05 15:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.448352 -2.752014)'), GeomFromEWKT('SRID=4674;POINT (-40.448552 -2.751935)'))) / (select extract(epoch from '2026-06-05 15:49:57'::timestamp) - extract(epoch from '2026-06-05 15:49: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'), 46721, 'SRID=4674;POINT (-40.448713 -2.751864)', '2026-06-05 15:50:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.448552 -2.751935)'), GeomFromEWKT('SRID=4674;POINT (-40.448713 -2.751864)'))) / (select extract(epoch from '2026-06-05 15:50:03'::timestamp) - extract(epoch from '2026-06-05 15:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.448552 -2.751935)'), GeomFromEWKT('SRID=4674;POINT (-40.448713 -2.751864)'))) / (select extract(epoch from '2026-06-05 15:50:03'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.448873 -2.751792)', '2026-06-05 15:50:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.448713 -2.751864)'), GeomFromEWKT('SRID=4674;POINT (-40.448873 -2.751792)'))) / (select extract(epoch from '2026-06-05 15:50:09'::timestamp) - extract(epoch from '2026-06-05 15:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.448713 -2.751864)'), GeomFromEWKT('SRID=4674;POINT (-40.448873 -2.751792)'))) / (select extract(epoch from '2026-06-05 15:50:09'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.449011 -2.751743)', '2026-06-05 15:50:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.448873 -2.751792)'), GeomFromEWKT('SRID=4674;POINT (-40.449011 -2.751743)'))) / (select extract(epoch from '2026-06-05 15:50:14'::timestamp) - extract(epoch from '2026-06-05 15:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.448873 -2.751792)'), GeomFromEWKT('SRID=4674;POINT (-40.449011 -2.751743)'))) / (select extract(epoch from '2026-06-05 15:50:14'::timestamp) - extract(epoch from '2026-06-05 15:50: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'), 46721, 'SRID=4674;POINT (-40.449196 -2.751666)', '2026-06-05 15:50:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449011 -2.751743)'), GeomFromEWKT('SRID=4674;POINT (-40.449196 -2.751666)'))) / (select extract(epoch from '2026-06-05 15:50:21'::timestamp) - extract(epoch from '2026-06-05 15:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449011 -2.751743)'), GeomFromEWKT('SRID=4674;POINT (-40.449196 -2.751666)'))) / (select extract(epoch from '2026-06-05 15:50:21'::timestamp) - extract(epoch from '2026-06-05 15:50: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'), 46721, 'SRID=4674;POINT (-40.449354 -2.751575)', '2026-06-05 15:50:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449196 -2.751666)'), GeomFromEWKT('SRID=4674;POINT (-40.449354 -2.751575)'))) / (select extract(epoch from '2026-06-05 15:50:27'::timestamp) - extract(epoch from '2026-06-05 15:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449196 -2.751666)'), GeomFromEWKT('SRID=4674;POINT (-40.449354 -2.751575)'))) / (select extract(epoch from '2026-06-05 15:50:27'::timestamp) - extract(epoch from '2026-06-05 15:50:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.449518 -2.751482)', '2026-06-05 15:50:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449354 -2.751575)'), GeomFromEWKT('SRID=4674;POINT (-40.449518 -2.751482)'))) / (select extract(epoch from '2026-06-05 15:50:33'::timestamp) - extract(epoch from '2026-06-05 15:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449354 -2.751575)'), GeomFromEWKT('SRID=4674;POINT (-40.449518 -2.751482)'))) / (select extract(epoch from '2026-06-05 15:50:33'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.4497 -2.751364)', '2026-06-05 15:50:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449518 -2.751482)'), GeomFromEWKT('SRID=4674;POINT (-40.4497 -2.751364)'))) / (select extract(epoch from '2026-06-05 15:50:40'::timestamp) - extract(epoch from '2026-06-05 15:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449518 -2.751482)'), GeomFromEWKT('SRID=4674;POINT (-40.4497 -2.751364)'))) / (select extract(epoch from '2026-06-05 15:50:40'::timestamp) - extract(epoch from '2026-06-05 15:50: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'), 46721, 'SRID=4674;POINT (-40.449861 -2.751252)', '2026-06-05 15:50:46', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4497 -2.751364)'), GeomFromEWKT('SRID=4674;POINT (-40.449861 -2.751252)'))) / (select extract(epoch from '2026-06-05 15:50:46'::timestamp) - extract(epoch from '2026-06-05 15:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4497 -2.751364)'), GeomFromEWKT('SRID=4674;POINT (-40.449861 -2.751252)'))) / (select extract(epoch from '2026-06-05 15:50:46'::timestamp) - extract(epoch from '2026-06-05 15:50:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.449982 -2.751186)', '2026-06-05 15:50:51', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449861 -2.751252)'), GeomFromEWKT('SRID=4674;POINT (-40.449982 -2.751186)'))) / (select extract(epoch from '2026-06-05 15:50:51'::timestamp) - extract(epoch from '2026-06-05 15:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449861 -2.751252)'), GeomFromEWKT('SRID=4674;POINT (-40.449982 -2.751186)'))) / (select extract(epoch from '2026-06-05 15:50:51'::timestamp) - extract(epoch from '2026-06-05 15:50: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'), 46721, 'SRID=4674;POINT (-40.450126 -2.751125)', '2026-06-05 15:50:56', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449982 -2.751186)'), GeomFromEWKT('SRID=4674;POINT (-40.450126 -2.751125)'))) / (select extract(epoch from '2026-06-05 15:50:56'::timestamp) - extract(epoch from '2026-06-05 15:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449982 -2.751186)'), GeomFromEWKT('SRID=4674;POINT (-40.450126 -2.751125)'))) / (select extract(epoch from '2026-06-05 15:50:56'::timestamp) - extract(epoch from '2026-06-05 15:50: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'), 46721, 'SRID=4674;POINT (-40.450274 -2.751083)', '2026-06-05 15:51:01', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450126 -2.751125)'), GeomFromEWKT('SRID=4674;POINT (-40.450274 -2.751083)'))) / (select extract(epoch from '2026-06-05 15:51:01'::timestamp) - extract(epoch from '2026-06-05 15:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450126 -2.751125)'), GeomFromEWKT('SRID=4674;POINT (-40.450274 -2.751083)'))) / (select extract(epoch from '2026-06-05 15:51:01'::timestamp) - extract(epoch from '2026-06-05 15:50: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'), 46721, 'SRID=4674;POINT (-40.450407 -2.751019)', '2026-06-05 15:51:06', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450274 -2.751083)'), GeomFromEWKT('SRID=4674;POINT (-40.450407 -2.751019)'))) / (select extract(epoch from '2026-06-05 15:51:06'::timestamp) - extract(epoch from '2026-06-05 15:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450274 -2.751083)'), GeomFromEWKT('SRID=4674;POINT (-40.450407 -2.751019)'))) / (select extract(epoch from '2026-06-05 15:51:06'::timestamp) - extract(epoch from '2026-06-05 15:51: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'), 46721, 'SRID=4674;POINT (-40.450557 -2.750914)', '2026-06-05 15:51:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450407 -2.751019)'), GeomFromEWKT('SRID=4674;POINT (-40.450557 -2.750914)'))) / (select extract(epoch from '2026-06-05 15:51:12'::timestamp) - extract(epoch from '2026-06-05 15:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450407 -2.751019)'), GeomFromEWKT('SRID=4674;POINT (-40.450557 -2.750914)'))) / (select extract(epoch from '2026-06-05 15:51:12'::timestamp) - extract(epoch from '2026-06-05 15:51: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'), 46721, 'SRID=4674;POINT (-40.450716 -2.750795)', '2026-06-05 15:51:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450557 -2.750914)'), GeomFromEWKT('SRID=4674;POINT (-40.450716 -2.750795)'))) / (select extract(epoch from '2026-06-05 15:51:18'::timestamp) - extract(epoch from '2026-06-05 15:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450557 -2.750914)'), GeomFromEWKT('SRID=4674;POINT (-40.450716 -2.750795)'))) / (select extract(epoch from '2026-06-05 15:51:18'::timestamp) - extract(epoch from '2026-06-05 15:51: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'), 46721, 'SRID=4674;POINT (-40.4509 -2.750661)', '2026-06-05 15:51:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450716 -2.750795)'), GeomFromEWKT('SRID=4674;POINT (-40.4509 -2.750661)'))) / (select extract(epoch from '2026-06-05 15:51:26'::timestamp) - extract(epoch from '2026-06-05 15:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450716 -2.750795)'), GeomFromEWKT('SRID=4674;POINT (-40.4509 -2.750661)'))) / (select extract(epoch from '2026-06-05 15:51:26'::timestamp) - extract(epoch from '2026-06-05 15:51: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'), 46721, 'SRID=4674;POINT (-40.45101 -2.750584)', '2026-06-05 15:51:31', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4509 -2.750661)'), GeomFromEWKT('SRID=4674;POINT (-40.45101 -2.750584)'))) / (select extract(epoch from '2026-06-05 15:51:31'::timestamp) - extract(epoch from '2026-06-05 15:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4509 -2.750661)'), GeomFromEWKT('SRID=4674;POINT (-40.45101 -2.750584)'))) / (select extract(epoch from '2026-06-05 15:51:31'::timestamp) - extract(epoch from '2026-06-05 15:51: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'), 46721, 'SRID=4674;POINT (-40.451105 -2.750527)', '2026-06-05 15:51:35', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45101 -2.750584)'), GeomFromEWKT('SRID=4674;POINT (-40.451105 -2.750527)'))) / (select extract(epoch from '2026-06-05 15:51:35'::timestamp) - extract(epoch from '2026-06-05 15:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45101 -2.750584)'), GeomFromEWKT('SRID=4674;POINT (-40.451105 -2.750527)'))) / (select extract(epoch from '2026-06-05 15:51:35'::timestamp) - extract(epoch from '2026-06-05 15:51:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.451245 -2.750418)', '2026-06-05 15:51:41', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451105 -2.750527)'), GeomFromEWKT('SRID=4674;POINT (-40.451245 -2.750418)'))) / (select extract(epoch from '2026-06-05 15:51:41'::timestamp) - extract(epoch from '2026-06-05 15:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451105 -2.750527)'), GeomFromEWKT('SRID=4674;POINT (-40.451245 -2.750418)'))) / (select extract(epoch from '2026-06-05 15:51:41'::timestamp) - extract(epoch from '2026-06-05 15:51: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'), 46721, 'SRID=4674;POINT (-40.451382 -2.750291)', '2026-06-05 15:51:47', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451245 -2.750418)'), GeomFromEWKT('SRID=4674;POINT (-40.451382 -2.750291)'))) / (select extract(epoch from '2026-06-05 15:51:47'::timestamp) - extract(epoch from '2026-06-05 15:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451245 -2.750418)'), GeomFromEWKT('SRID=4674;POINT (-40.451382 -2.750291)'))) / (select extract(epoch from '2026-06-05 15:51:47'::timestamp) - extract(epoch from '2026-06-05 15:51: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'), 46721, 'SRID=4674;POINT (-40.451455 -2.7502)', '2026-06-05 15:51:51', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451382 -2.750291)'), GeomFromEWKT('SRID=4674;POINT (-40.451455 -2.7502)'))) / (select extract(epoch from '2026-06-05 15:51:51'::timestamp) - extract(epoch from '2026-06-05 15:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451382 -2.750291)'), GeomFromEWKT('SRID=4674;POINT (-40.451455 -2.7502)'))) / (select extract(epoch from '2026-06-05 15:51:51'::timestamp) - extract(epoch from '2026-06-05 15:51: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'), 46721, 'SRID=4674;POINT (-40.451553 -2.750091)', '2026-06-05 15:51:56', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451455 -2.7502)'), GeomFromEWKT('SRID=4674;POINT (-40.451553 -2.750091)'))) / (select extract(epoch from '2026-06-05 15:51:56'::timestamp) - extract(epoch from '2026-06-05 15:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451455 -2.7502)'), GeomFromEWKT('SRID=4674;POINT (-40.451553 -2.750091)'))) / (select extract(epoch from '2026-06-05 15:51:56'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.451708 -2.74992)', '2026-06-05 15:52:04', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451553 -2.750091)'), GeomFromEWKT('SRID=4674;POINT (-40.451708 -2.74992)'))) / (select extract(epoch from '2026-06-05 15:52:04'::timestamp) - extract(epoch from '2026-06-05 15:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451553 -2.750091)'), GeomFromEWKT('SRID=4674;POINT (-40.451708 -2.74992)'))) / (select extract(epoch from '2026-06-05 15:52:04'::timestamp) - extract(epoch from '2026-06-05 15:51: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'), 46721, 'SRID=4674;POINT (-40.451823 -2.749833)', '2026-06-05 15:52:09', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451708 -2.74992)'), GeomFromEWKT('SRID=4674;POINT (-40.451823 -2.749833)'))) / (select extract(epoch from '2026-06-05 15:52:09'::timestamp) - extract(epoch from '2026-06-05 15:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451708 -2.74992)'), GeomFromEWKT('SRID=4674;POINT (-40.451823 -2.749833)'))) / (select extract(epoch from '2026-06-05 15:52:09'::timestamp) - extract(epoch from '2026-06-05 15:52: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'), 46721, 'SRID=4674;POINT (-40.451979 -2.749698)', '2026-06-05 15:52:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451823 -2.749833)'), GeomFromEWKT('SRID=4674;POINT (-40.451979 -2.749698)'))) / (select extract(epoch from '2026-06-05 15:52:16'::timestamp) - extract(epoch from '2026-06-05 15:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451823 -2.749833)'), GeomFromEWKT('SRID=4674;POINT (-40.451979 -2.749698)'))) / (select extract(epoch from '2026-06-05 15:52:16'::timestamp) - extract(epoch from '2026-06-05 15:52: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'), 46721, 'SRID=4674;POINT (-40.452122 -2.749571)', '2026-06-05 15:52:22', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451979 -2.749698)'), GeomFromEWKT('SRID=4674;POINT (-40.452122 -2.749571)'))) / (select extract(epoch from '2026-06-05 15:52:22'::timestamp) - extract(epoch from '2026-06-05 15:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451979 -2.749698)'), GeomFromEWKT('SRID=4674;POINT (-40.452122 -2.749571)'))) / (select extract(epoch from '2026-06-05 15:52:22'::timestamp) - extract(epoch from '2026-06-05 15:52: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'), 46721, 'SRID=4674;POINT (-40.452297 -2.749442)', '2026-06-05 15:52:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452122 -2.749571)'), GeomFromEWKT('SRID=4674;POINT (-40.452297 -2.749442)'))) / (select extract(epoch from '2026-06-05 15:52:29'::timestamp) - extract(epoch from '2026-06-05 15:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452122 -2.749571)'), GeomFromEWKT('SRID=4674;POINT (-40.452297 -2.749442)'))) / (select extract(epoch from '2026-06-05 15:52:29'::timestamp) - extract(epoch from '2026-06-05 15:52: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'), 46721, 'SRID=4674;POINT (-40.452418 -2.749368)', '2026-06-05 15:52:34', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452297 -2.749442)'), GeomFromEWKT('SRID=4674;POINT (-40.452418 -2.749368)'))) / (select extract(epoch from '2026-06-05 15:52:34'::timestamp) - extract(epoch from '2026-06-05 15:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452297 -2.749442)'), GeomFromEWKT('SRID=4674;POINT (-40.452418 -2.749368)'))) / (select extract(epoch from '2026-06-05 15:52:34'::timestamp) - extract(epoch from '2026-06-05 15:52: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'), 46721, 'SRID=4674;POINT (-40.452544 -2.749324)', '2026-06-05 15:52:39', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452418 -2.749368)'), GeomFromEWKT('SRID=4674;POINT (-40.452544 -2.749324)'))) / (select extract(epoch from '2026-06-05 15:52:39'::timestamp) - extract(epoch from '2026-06-05 15:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452418 -2.749368)'), GeomFromEWKT('SRID=4674;POINT (-40.452544 -2.749324)'))) / (select extract(epoch from '2026-06-05 15:52:39'::timestamp) - extract(epoch from '2026-06-05 15:52:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.452684 -2.749274)', '2026-06-05 15:52:44', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452544 -2.749324)'), GeomFromEWKT('SRID=4674;POINT (-40.452684 -2.749274)'))) / (select extract(epoch from '2026-06-05 15:52:44'::timestamp) - extract(epoch from '2026-06-05 15:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452544 -2.749324)'), GeomFromEWKT('SRID=4674;POINT (-40.452684 -2.749274)'))) / (select extract(epoch from '2026-06-05 15:52:44'::timestamp) - extract(epoch from '2026-06-05 15:52:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.452837 -2.749204)', '2026-06-05 15:52:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452684 -2.749274)'), GeomFromEWKT('SRID=4674;POINT (-40.452837 -2.749204)'))) / (select extract(epoch from '2026-06-05 15:52:50'::timestamp) - extract(epoch from '2026-06-05 15:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452684 -2.749274)'), GeomFromEWKT('SRID=4674;POINT (-40.452837 -2.749204)'))) / (select extract(epoch from '2026-06-05 15:52:50'::timestamp) - extract(epoch from '2026-06-05 15:52: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'), 46721, 'SRID=4674;POINT (-40.452947 -2.749152)', '2026-06-05 15:52:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452837 -2.749204)'), GeomFromEWKT('SRID=4674;POINT (-40.452947 -2.749152)'))) / (select extract(epoch from '2026-06-05 15:52:55'::timestamp) - extract(epoch from '2026-06-05 15:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452837 -2.749204)'), GeomFromEWKT('SRID=4674;POINT (-40.452947 -2.749152)'))) / (select extract(epoch from '2026-06-05 15:52:55'::timestamp) - extract(epoch from '2026-06-05 15:52: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'), 46721, 'SRID=4674;POINT (-40.453092 -2.749072)', '2026-06-05 15:53:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452947 -2.749152)'), GeomFromEWKT('SRID=4674;POINT (-40.453092 -2.749072)'))) / (select extract(epoch from '2026-06-05 15:53:01'::timestamp) - extract(epoch from '2026-06-05 15:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452947 -2.749152)'), GeomFromEWKT('SRID=4674;POINT (-40.453092 -2.749072)'))) / (select extract(epoch from '2026-06-05 15:53:01'::timestamp) - extract(epoch from '2026-06-05 15:52: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'), 46721, 'SRID=4674;POINT (-40.453245 -2.748991)', '2026-06-05 15:53:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453092 -2.749072)'), GeomFromEWKT('SRID=4674;POINT (-40.453245 -2.748991)'))) / (select extract(epoch from '2026-06-05 15:53:07'::timestamp) - extract(epoch from '2026-06-05 15:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453092 -2.749072)'), GeomFromEWKT('SRID=4674;POINT (-40.453245 -2.748991)'))) / (select extract(epoch from '2026-06-05 15:53:07'::timestamp) - extract(epoch from '2026-06-05 15:53:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.453367 -2.748932)', '2026-06-05 15:53:11', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453245 -2.748991)'), GeomFromEWKT('SRID=4674;POINT (-40.453367 -2.748932)'))) / (select extract(epoch from '2026-06-05 15:53:11'::timestamp) - extract(epoch from '2026-06-05 15:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453245 -2.748991)'), GeomFromEWKT('SRID=4674;POINT (-40.453367 -2.748932)'))) / (select extract(epoch from '2026-06-05 15:53:11'::timestamp) - extract(epoch from '2026-06-05 15:53:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.453431 -2.748891)', '2026-06-05 15:53:14', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453367 -2.748932)'), GeomFromEWKT('SRID=4674;POINT (-40.453431 -2.748891)'))) / (select extract(epoch from '2026-06-05 15:53:14'::timestamp) - extract(epoch from '2026-06-05 15:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453367 -2.748932)'), GeomFromEWKT('SRID=4674;POINT (-40.453431 -2.748891)'))) / (select extract(epoch from '2026-06-05 15:53:14'::timestamp) - extract(epoch from '2026-06-05 15:53: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'), 46721, 'SRID=4674;POINT (-40.453459 -2.748882)', '2026-06-05 15:53:15', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453431 -2.748891)'), GeomFromEWKT('SRID=4674;POINT (-40.453459 -2.748882)'))) / (select extract(epoch from '2026-06-05 15:53:15'::timestamp) - extract(epoch from '2026-06-05 15:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453431 -2.748891)'), GeomFromEWKT('SRID=4674;POINT (-40.453459 -2.748882)'))) / (select extract(epoch from '2026-06-05 15:53:15'::timestamp) - extract(epoch from '2026-06-05 15:53:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.453561 -2.748803)', '2026-06-05 15:53:19', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453459 -2.748882)'), GeomFromEWKT('SRID=4674;POINT (-40.453561 -2.748803)'))) / (select extract(epoch from '2026-06-05 15:53:19'::timestamp) - extract(epoch from '2026-06-05 15:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453459 -2.748882)'), GeomFromEWKT('SRID=4674;POINT (-40.453561 -2.748803)'))) / (select extract(epoch from '2026-06-05 15:53:19'::timestamp) - extract(epoch from '2026-06-05 15:53:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.453726 -2.748696)', '2026-06-05 15:53:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453561 -2.748803)'), GeomFromEWKT('SRID=4674;POINT (-40.453726 -2.748696)'))) / (select extract(epoch from '2026-06-05 15:53:26'::timestamp) - extract(epoch from '2026-06-05 15:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453561 -2.748803)'), GeomFromEWKT('SRID=4674;POINT (-40.453726 -2.748696)'))) / (select extract(epoch from '2026-06-05 15:53:26'::timestamp) - extract(epoch from '2026-06-05 15:53:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.453879 -2.748615)', '2026-06-05 15:53:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453726 -2.748696)'), GeomFromEWKT('SRID=4674;POINT (-40.453879 -2.748615)'))) / (select extract(epoch from '2026-06-05 15:53:32'::timestamp) - extract(epoch from '2026-06-05 15:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453726 -2.748696)'), GeomFromEWKT('SRID=4674;POINT (-40.453879 -2.748615)'))) / (select extract(epoch from '2026-06-05 15:53:32'::timestamp) - extract(epoch from '2026-06-05 15:53:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.454016 -2.748551)', '2026-06-05 15:53:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453879 -2.748615)'), GeomFromEWKT('SRID=4674;POINT (-40.454016 -2.748551)'))) / (select extract(epoch from '2026-06-05 15:53:37'::timestamp) - extract(epoch from '2026-06-05 15:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453879 -2.748615)'), GeomFromEWKT('SRID=4674;POINT (-40.454016 -2.748551)'))) / (select extract(epoch from '2026-06-05 15:53:37'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.454178 -2.748479)', '2026-06-05 15:53:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454016 -2.748551)'), GeomFromEWKT('SRID=4674;POINT (-40.454178 -2.748479)'))) / (select extract(epoch from '2026-06-05 15:53:43'::timestamp) - extract(epoch from '2026-06-05 15:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454016 -2.748551)'), GeomFromEWKT('SRID=4674;POINT (-40.454178 -2.748479)'))) / (select extract(epoch from '2026-06-05 15:53:43'::timestamp) - extract(epoch from '2026-06-05 15:53: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'), 46721, 'SRID=4674;POINT (-40.454364 -2.748397)', '2026-06-05 15:53:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454178 -2.748479)'), GeomFromEWKT('SRID=4674;POINT (-40.454364 -2.748397)'))) / (select extract(epoch from '2026-06-05 15:53:50'::timestamp) - extract(epoch from '2026-06-05 15:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454178 -2.748479)'), GeomFromEWKT('SRID=4674;POINT (-40.454364 -2.748397)'))) / (select extract(epoch from '2026-06-05 15:53:50'::timestamp) - extract(epoch from '2026-06-05 15:53: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'), 46721, 'SRID=4674;POINT (-40.454519 -2.74833)', '2026-06-05 15:53:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454364 -2.748397)'), GeomFromEWKT('SRID=4674;POINT (-40.454519 -2.74833)'))) / (select extract(epoch from '2026-06-05 15:53:56'::timestamp) - extract(epoch from '2026-06-05 15:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454364 -2.748397)'), GeomFromEWKT('SRID=4674;POINT (-40.454519 -2.74833)'))) / (select extract(epoch from '2026-06-05 15:53:56'::timestamp) - extract(epoch from '2026-06-05 15:53: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'), 46721, 'SRID=4674;POINT (-40.454674 -2.748274)', '2026-06-05 15:54:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454519 -2.74833)'), GeomFromEWKT('SRID=4674;POINT (-40.454674 -2.748274)'))) / (select extract(epoch from '2026-06-05 15:54:01'::timestamp) - extract(epoch from '2026-06-05 15:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454519 -2.74833)'), GeomFromEWKT('SRID=4674;POINT (-40.454674 -2.748274)'))) / (select extract(epoch from '2026-06-05 15:54:01'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.454836 -2.748178)', '2026-06-05 15:54:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454674 -2.748274)'), GeomFromEWKT('SRID=4674;POINT (-40.454836 -2.748178)'))) / (select extract(epoch from '2026-06-05 15:54:07'::timestamp) - extract(epoch from '2026-06-05 15:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454674 -2.748274)'), GeomFromEWKT('SRID=4674;POINT (-40.454836 -2.748178)'))) / (select extract(epoch from '2026-06-05 15:54:07'::timestamp) - extract(epoch from '2026-06-05 15:54: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'), 46721, 'SRID=4674;POINT (-40.454971 -2.748105)', '2026-06-05 15:54:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454836 -2.748178)'), GeomFromEWKT('SRID=4674;POINT (-40.454971 -2.748105)'))) / (select extract(epoch from '2026-06-05 15:54:12'::timestamp) - extract(epoch from '2026-06-05 15:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454836 -2.748178)'), GeomFromEWKT('SRID=4674;POINT (-40.454971 -2.748105)'))) / (select extract(epoch from '2026-06-05 15:54:12'::timestamp) - extract(epoch from '2026-06-05 15:54:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.455161 -2.748049)', '2026-06-05 15:54:18', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454971 -2.748105)'), GeomFromEWKT('SRID=4674;POINT (-40.455161 -2.748049)'))) / (select extract(epoch from '2026-06-05 15:54:18'::timestamp) - extract(epoch from '2026-06-05 15:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454971 -2.748105)'), GeomFromEWKT('SRID=4674;POINT (-40.455161 -2.748049)'))) / (select extract(epoch from '2026-06-05 15:54:18'::timestamp) - extract(epoch from '2026-06-05 15:54: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'), 46721, 'SRID=4674;POINT (-40.455333 -2.74799)', '2026-06-05 15:54:24', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455161 -2.748049)'), GeomFromEWKT('SRID=4674;POINT (-40.455333 -2.74799)'))) / (select extract(epoch from '2026-06-05 15:54:24'::timestamp) - extract(epoch from '2026-06-05 15:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455161 -2.748049)'), GeomFromEWKT('SRID=4674;POINT (-40.455333 -2.74799)'))) / (select extract(epoch from '2026-06-05 15:54:24'::timestamp) - extract(epoch from '2026-06-05 15:54: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'), 46721, 'SRID=4674;POINT (-40.455496 -2.747887)', '2026-06-05 15:54:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455333 -2.74799)'), GeomFromEWKT('SRID=4674;POINT (-40.455496 -2.747887)'))) / (select extract(epoch from '2026-06-05 15:54:30'::timestamp) - extract(epoch from '2026-06-05 15:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455333 -2.74799)'), GeomFromEWKT('SRID=4674;POINT (-40.455496 -2.747887)'))) / (select extract(epoch from '2026-06-05 15:54:30'::timestamp) - extract(epoch from '2026-06-05 15:54: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'), 46721, 'SRID=4674;POINT (-40.455693 -2.747754)', '2026-06-05 15:54:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455496 -2.747887)'), GeomFromEWKT('SRID=4674;POINT (-40.455693 -2.747754)'))) / (select extract(epoch from '2026-06-05 15:54:38'::timestamp) - extract(epoch from '2026-06-05 15:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455496 -2.747887)'), GeomFromEWKT('SRID=4674;POINT (-40.455693 -2.747754)'))) / (select extract(epoch from '2026-06-05 15:54:38'::timestamp) - extract(epoch from '2026-06-05 15:54: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'), 46721, 'SRID=4674;POINT (-40.455872 -2.747642)', '2026-06-05 15:54:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455693 -2.747754)'), GeomFromEWKT('SRID=4674;POINT (-40.455872 -2.747642)'))) / (select extract(epoch from '2026-06-05 15:54:45'::timestamp) - extract(epoch from '2026-06-05 15:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455693 -2.747754)'), GeomFromEWKT('SRID=4674;POINT (-40.455872 -2.747642)'))) / (select extract(epoch from '2026-06-05 15:54:45'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.456065 -2.747557)', '2026-06-05 15:54:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455872 -2.747642)'), GeomFromEWKT('SRID=4674;POINT (-40.456065 -2.747557)'))) / (select extract(epoch from '2026-06-05 15:54:51'::timestamp) - extract(epoch from '2026-06-05 15:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455872 -2.747642)'), GeomFromEWKT('SRID=4674;POINT (-40.456065 -2.747557)'))) / (select extract(epoch from '2026-06-05 15:54:51'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.456273 -2.747486)', '2026-06-05 15:54:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456065 -2.747557)'), GeomFromEWKT('SRID=4674;POINT (-40.456273 -2.747486)'))) / (select extract(epoch from '2026-06-05 15:54:58'::timestamp) - extract(epoch from '2026-06-05 15:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456065 -2.747557)'), GeomFromEWKT('SRID=4674;POINT (-40.456273 -2.747486)'))) / (select extract(epoch from '2026-06-05 15:54:58'::timestamp) - extract(epoch from '2026-06-05 15:54: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'), 46721, 'SRID=4674;POINT (-40.456444 -2.747452)', '2026-06-05 15:55:04', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456273 -2.747486)'), GeomFromEWKT('SRID=4674;POINT (-40.456444 -2.747452)'))) / (select extract(epoch from '2026-06-05 15:55:04'::timestamp) - extract(epoch from '2026-06-05 15:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456273 -2.747486)'), GeomFromEWKT('SRID=4674;POINT (-40.456444 -2.747452)'))) / (select extract(epoch from '2026-06-05 15:55:04'::timestamp) - extract(epoch from '2026-06-05 15:54: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'), 46721, 'SRID=4674;POINT (-40.456601 -2.747439)', '2026-06-05 15:55:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456444 -2.747452)'), GeomFromEWKT('SRID=4674;POINT (-40.456601 -2.747439)'))) / (select extract(epoch from '2026-06-05 15:55:10'::timestamp) - extract(epoch from '2026-06-05 15:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456444 -2.747452)'), GeomFromEWKT('SRID=4674;POINT (-40.456601 -2.747439)'))) / (select extract(epoch from '2026-06-05 15:55:10'::timestamp) - extract(epoch from '2026-06-05 15:55:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.456785 -2.747421)', '2026-06-05 15:55:17', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456601 -2.747439)'), GeomFromEWKT('SRID=4674;POINT (-40.456785 -2.747421)'))) / (select extract(epoch from '2026-06-05 15:55:17'::timestamp) - extract(epoch from '2026-06-05 15:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456601 -2.747439)'), GeomFromEWKT('SRID=4674;POINT (-40.456785 -2.747421)'))) / (select extract(epoch from '2026-06-05 15:55:17'::timestamp) - extract(epoch from '2026-06-05 15:55: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'), 46721, 'SRID=4674;POINT (-40.456975 -2.747385)', '2026-06-05 15:55:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456785 -2.747421)'), GeomFromEWKT('SRID=4674;POINT (-40.456975 -2.747385)'))) / (select extract(epoch from '2026-06-05 15:55:24'::timestamp) - extract(epoch from '2026-06-05 15:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456785 -2.747421)'), GeomFromEWKT('SRID=4674;POINT (-40.456975 -2.747385)'))) / (select extract(epoch from '2026-06-05 15:55:24'::timestamp) - extract(epoch from '2026-06-05 15:55: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'), 46721, 'SRID=4674;POINT (-40.457199 -2.747334)', '2026-06-05 15:55:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456975 -2.747385)'), GeomFromEWKT('SRID=4674;POINT (-40.457199 -2.747334)'))) / (select extract(epoch from '2026-06-05 15:55:32'::timestamp) - extract(epoch from '2026-06-05 15:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456975 -2.747385)'), GeomFromEWKT('SRID=4674;POINT (-40.457199 -2.747334)'))) / (select extract(epoch from '2026-06-05 15:55:32'::timestamp) - extract(epoch from '2026-06-05 15:55: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'), 46721, 'SRID=4674;POINT (-40.457325 -2.747295)', '2026-06-05 15:55:37', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457199 -2.747334)'), GeomFromEWKT('SRID=4674;POINT (-40.457325 -2.747295)'))) / (select extract(epoch from '2026-06-05 15:55:37'::timestamp) - extract(epoch from '2026-06-05 15:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457199 -2.747334)'), GeomFromEWKT('SRID=4674;POINT (-40.457325 -2.747295)'))) / (select extract(epoch from '2026-06-05 15:55:37'::timestamp) - extract(epoch from '2026-06-05 15:55: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'), 46721, 'SRID=4674;POINT (-40.457455 -2.747252)', '2026-06-05 15:55:42', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457325 -2.747295)'), GeomFromEWKT('SRID=4674;POINT (-40.457455 -2.747252)'))) / (select extract(epoch from '2026-06-05 15:55:42'::timestamp) - extract(epoch from '2026-06-05 15:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457325 -2.747295)'), GeomFromEWKT('SRID=4674;POINT (-40.457455 -2.747252)'))) / (select extract(epoch from '2026-06-05 15:55:42'::timestamp) - extract(epoch from '2026-06-05 15:55:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.457609 -2.747203)', '2026-06-05 15:55:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457455 -2.747252)'), GeomFromEWKT('SRID=4674;POINT (-40.457609 -2.747203)'))) / (select extract(epoch from '2026-06-05 15:55:48'::timestamp) - extract(epoch from '2026-06-05 15:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457455 -2.747252)'), GeomFromEWKT('SRID=4674;POINT (-40.457609 -2.747203)'))) / (select extract(epoch from '2026-06-05 15:55:48'::timestamp) - extract(epoch from '2026-06-05 15:55:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.45777 -2.747174)', '2026-06-05 15:55:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457609 -2.747203)'), GeomFromEWKT('SRID=4674;POINT (-40.45777 -2.747174)'))) / (select extract(epoch from '2026-06-05 15:55:53'::timestamp) - extract(epoch from '2026-06-05 15:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457609 -2.747203)'), GeomFromEWKT('SRID=4674;POINT (-40.45777 -2.747174)'))) / (select extract(epoch from '2026-06-05 15:55:53'::timestamp) - extract(epoch from '2026-06-05 15:55: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'), 46721, 'SRID=4674;POINT (-40.457863 -2.747146)', '2026-06-05 15:55:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45777 -2.747174)'), GeomFromEWKT('SRID=4674;POINT (-40.457863 -2.747146)'))) / (select extract(epoch from '2026-06-05 15:55:57'::timestamp) - extract(epoch from '2026-06-05 15:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45777 -2.747174)'), GeomFromEWKT('SRID=4674;POINT (-40.457863 -2.747146)'))) / (select extract(epoch from '2026-06-05 15:55:57'::timestamp) - extract(epoch from '2026-06-05 15:55: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'), 46721, 'SRID=4674;POINT (-40.457954 -2.747105)', '2026-06-05 15:56:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457863 -2.747146)'), GeomFromEWKT('SRID=4674;POINT (-40.457954 -2.747105)'))) / (select extract(epoch from '2026-06-05 15:56:01'::timestamp) - extract(epoch from '2026-06-05 15:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457863 -2.747146)'), GeomFromEWKT('SRID=4674;POINT (-40.457954 -2.747105)'))) / (select extract(epoch from '2026-06-05 15:56:01'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.458045 -2.747072)', '2026-06-05 15:56:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457954 -2.747105)'), GeomFromEWKT('SRID=4674;POINT (-40.458045 -2.747072)'))) / (select extract(epoch from '2026-06-05 15:56:04'::timestamp) - extract(epoch from '2026-06-05 15:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457954 -2.747105)'), GeomFromEWKT('SRID=4674;POINT (-40.458045 -2.747072)'))) / (select extract(epoch from '2026-06-05 15:56:04'::timestamp) - extract(epoch from '2026-06-05 15:56: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'), 46721, 'SRID=4674;POINT (-40.458201 -2.746972)', '2026-06-05 15:56:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458045 -2.747072)'), GeomFromEWKT('SRID=4674;POINT (-40.458201 -2.746972)'))) / (select extract(epoch from '2026-06-05 15:56:10'::timestamp) - extract(epoch from '2026-06-05 15:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458045 -2.747072)'), GeomFromEWKT('SRID=4674;POINT (-40.458201 -2.746972)'))) / (select extract(epoch from '2026-06-05 15:56:10'::timestamp) - extract(epoch from '2026-06-05 15:56: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'), 46721, 'SRID=4674;POINT (-40.458353 -2.746892)', '2026-06-05 15:56:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458201 -2.746972)'), GeomFromEWKT('SRID=4674;POINT (-40.458353 -2.746892)'))) / (select extract(epoch from '2026-06-05 15:56:16'::timestamp) - extract(epoch from '2026-06-05 15:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458201 -2.746972)'), GeomFromEWKT('SRID=4674;POINT (-40.458353 -2.746892)'))) / (select extract(epoch from '2026-06-05 15:56:16'::timestamp) - extract(epoch from '2026-06-05 15:56: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'), 46721, 'SRID=4674;POINT (-40.458522 -2.746821)', '2026-06-05 15:56:22', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458353 -2.746892)'), GeomFromEWKT('SRID=4674;POINT (-40.458522 -2.746821)'))) / (select extract(epoch from '2026-06-05 15:56:22'::timestamp) - extract(epoch from '2026-06-05 15:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458353 -2.746892)'), GeomFromEWKT('SRID=4674;POINT (-40.458522 -2.746821)'))) / (select extract(epoch from '2026-06-05 15:56:22'::timestamp) - extract(epoch from '2026-06-05 15:56: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'), 46721, 'SRID=4674;POINT (-40.458684 -2.746729)', '2026-06-05 15:56:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458522 -2.746821)'), GeomFromEWKT('SRID=4674;POINT (-40.458684 -2.746729)'))) / (select extract(epoch from '2026-06-05 15:56:28'::timestamp) - extract(epoch from '2026-06-05 15:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458522 -2.746821)'), GeomFromEWKT('SRID=4674;POINT (-40.458684 -2.746729)'))) / (select extract(epoch from '2026-06-05 15:56:28'::timestamp) - extract(epoch from '2026-06-05 15:56:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.458838 -2.746625)', '2026-06-05 15:56:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458684 -2.746729)'), GeomFromEWKT('SRID=4674;POINT (-40.458838 -2.746625)'))) / (select extract(epoch from '2026-06-05 15:56:34'::timestamp) - extract(epoch from '2026-06-05 15:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458684 -2.746729)'), GeomFromEWKT('SRID=4674;POINT (-40.458838 -2.746625)'))) / (select extract(epoch from '2026-06-05 15:56:34'::timestamp) - extract(epoch from '2026-06-05 15:56: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'), 46721, 'SRID=4674;POINT (-40.45899 -2.746545)', '2026-06-05 15:56:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458838 -2.746625)'), GeomFromEWKT('SRID=4674;POINT (-40.45899 -2.746545)'))) / (select extract(epoch from '2026-06-05 15:56:40'::timestamp) - extract(epoch from '2026-06-05 15:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458838 -2.746625)'), GeomFromEWKT('SRID=4674;POINT (-40.45899 -2.746545)'))) / (select extract(epoch from '2026-06-05 15:56:40'::timestamp) - extract(epoch from '2026-06-05 15:56: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'), 46721, 'SRID=4674;POINT (-40.459141 -2.746459)', '2026-06-05 15:56:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45899 -2.746545)'), GeomFromEWKT('SRID=4674;POINT (-40.459141 -2.746459)'))) / (select extract(epoch from '2026-06-05 15:56:46'::timestamp) - extract(epoch from '2026-06-05 15:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45899 -2.746545)'), GeomFromEWKT('SRID=4674;POINT (-40.459141 -2.746459)'))) / (select extract(epoch from '2026-06-05 15:56:46'::timestamp) - extract(epoch from '2026-06-05 15:56: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'), 46721, 'SRID=4674;POINT (-40.459275 -2.746347)', '2026-06-05 15:56:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.459141 -2.746459)'), GeomFromEWKT('SRID=4674;POINT (-40.459275 -2.746347)'))) / (select extract(epoch from '2026-06-05 15:56:52'::timestamp) - extract(epoch from '2026-06-05 15:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.459141 -2.746459)'), GeomFromEWKT('SRID=4674;POINT (-40.459275 -2.746347)'))) / (select extract(epoch from '2026-06-05 15:56:52'::timestamp) - extract(epoch from '2026-06-05 15:56: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'), 46721, 'SRID=4674;POINT (-40.45943 -2.746211)', '2026-06-05 15:56:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.459275 -2.746347)'), GeomFromEWKT('SRID=4674;POINT (-40.45943 -2.746211)'))) / (select extract(epoch from '2026-06-05 15:56:59'::timestamp) - extract(epoch from '2026-06-05 15:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.459275 -2.746347)'), GeomFromEWKT('SRID=4674;POINT (-40.45943 -2.746211)'))) / (select extract(epoch from '2026-06-05 15:56:59'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.459566 -2.746098)', '2026-06-05 15:57:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45943 -2.746211)'), GeomFromEWKT('SRID=4674;POINT (-40.459566 -2.746098)'))) / (select extract(epoch from '2026-06-05 15:57:05'::timestamp) - extract(epoch from '2026-06-05 15:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45943 -2.746211)'), GeomFromEWKT('SRID=4674;POINT (-40.459566 -2.746098)'))) / (select extract(epoch from '2026-06-05 15:57:05'::timestamp) - extract(epoch from '2026-06-05 15:56: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'), 46721, 'SRID=4674;POINT (-40.459665 -2.746011)', '2026-06-05 15:57:10', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.459566 -2.746098)'), GeomFromEWKT('SRID=4674;POINT (-40.459665 -2.746011)'))) / (select extract(epoch from '2026-06-05 15:57:10'::timestamp) - extract(epoch from '2026-06-05 15:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.459566 -2.746098)'), GeomFromEWKT('SRID=4674;POINT (-40.459665 -2.746011)'))) / (select extract(epoch from '2026-06-05 15:57:10'::timestamp) - extract(epoch from '2026-06-05 15:57:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.459777 -2.745877)', '2026-06-05 15:57:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.459665 -2.746011)'), GeomFromEWKT('SRID=4674;POINT (-40.459777 -2.745877)'))) / (select extract(epoch from '2026-06-05 15:57:17'::timestamp) - extract(epoch from '2026-06-05 15:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.459665 -2.746011)'), GeomFromEWKT('SRID=4674;POINT (-40.459777 -2.745877)'))) / (select extract(epoch from '2026-06-05 15:57:17'::timestamp) - extract(epoch from '2026-06-05 15:57: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'), 46721, 'SRID=4674;POINT (-40.459894 -2.745737)', '2026-06-05 15:57:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.459777 -2.745877)'), GeomFromEWKT('SRID=4674;POINT (-40.459894 -2.745737)'))) / (select extract(epoch from '2026-06-05 15:57:24'::timestamp) - extract(epoch from '2026-06-05 15:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.459777 -2.745877)'), GeomFromEWKT('SRID=4674;POINT (-40.459894 -2.745737)'))) / (select extract(epoch from '2026-06-05 15:57:24'::timestamp) - extract(epoch from '2026-06-05 15:57: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'), 46721, 'SRID=4674;POINT (-40.460022 -2.745667)', '2026-06-05 15:57:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.459894 -2.745737)'), GeomFromEWKT('SRID=4674;POINT (-40.460022 -2.745667)'))) / (select extract(epoch from '2026-06-05 15:57:29'::timestamp) - extract(epoch from '2026-06-05 15:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.459894 -2.745737)'), GeomFromEWKT('SRID=4674;POINT (-40.460022 -2.745667)'))) / (select extract(epoch from '2026-06-05 15:57:29'::timestamp) - extract(epoch from '2026-06-05 15:57: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'), 46721, 'SRID=4674;POINT (-40.460133 -2.745591)', '2026-06-05 15:57:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.460022 -2.745667)'), GeomFromEWKT('SRID=4674;POINT (-40.460133 -2.745591)'))) / (select extract(epoch from '2026-06-05 15:57:34'::timestamp) - extract(epoch from '2026-06-05 15:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.460022 -2.745667)'), GeomFromEWKT('SRID=4674;POINT (-40.460133 -2.745591)'))) / (select extract(epoch from '2026-06-05 15:57:34'::timestamp) - extract(epoch from '2026-06-05 15:57: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'), 46721, 'SRID=4674;POINT (-40.460206 -2.745541)', '2026-06-05 15:57:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.460133 -2.745591)'), GeomFromEWKT('SRID=4674;POINT (-40.460206 -2.745541)'))) / (select extract(epoch from '2026-06-05 15:57:38'::timestamp) - extract(epoch from '2026-06-05 15:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.460133 -2.745591)'), GeomFromEWKT('SRID=4674;POINT (-40.460206 -2.745541)'))) / (select extract(epoch from '2026-06-05 15:57:38'::timestamp) - extract(epoch from '2026-06-05 15:57: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'), 46721, 'SRID=4674;POINT (-40.460309 -2.745483)', '2026-06-05 15:57:42', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.460206 -2.745541)'), GeomFromEWKT('SRID=4674;POINT (-40.460309 -2.745483)'))) / (select extract(epoch from '2026-06-05 15:57:42'::timestamp) - extract(epoch from '2026-06-05 15:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.460206 -2.745541)'), GeomFromEWKT('SRID=4674;POINT (-40.460309 -2.745483)'))) / (select extract(epoch from '2026-06-05 15:57:42'::timestamp) - extract(epoch from '2026-06-05 15:57: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'), 46721, 'SRID=4674;POINT (-40.46047 -2.745371)', '2026-06-05 15:57:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.460309 -2.745483)'), GeomFromEWKT('SRID=4674;POINT (-40.46047 -2.745371)'))) / (select extract(epoch from '2026-06-05 15:57:49'::timestamp) - extract(epoch from '2026-06-05 15:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.460309 -2.745483)'), GeomFromEWKT('SRID=4674;POINT (-40.46047 -2.745371)'))) / (select extract(epoch from '2026-06-05 15:57:49'::timestamp) - extract(epoch from '2026-06-05 15:57: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'), 46721, 'SRID=4674;POINT (-40.460615 -2.745229)', '2026-06-05 15:57:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.46047 -2.745371)'), GeomFromEWKT('SRID=4674;POINT (-40.460615 -2.745229)'))) / (select extract(epoch from '2026-06-05 15:57:57'::timestamp) - extract(epoch from '2026-06-05 15:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.46047 -2.745371)'), GeomFromEWKT('SRID=4674;POINT (-40.460615 -2.745229)'))) / (select extract(epoch from '2026-06-05 15:57:57'::timestamp) - extract(epoch from '2026-06-05 15:57:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.460741 -2.745102)', '2026-06-05 15:58:04', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.460615 -2.745229)'), GeomFromEWKT('SRID=4674;POINT (-40.460741 -2.745102)'))) / (select extract(epoch from '2026-06-05 15:58:04'::timestamp) - extract(epoch from '2026-06-05 15:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.460615 -2.745229)'), GeomFromEWKT('SRID=4674;POINT (-40.460741 -2.745102)'))) / (select extract(epoch from '2026-06-05 15:58:04'::timestamp) - extract(epoch from '2026-06-05 15:57: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'), 46721, 'SRID=4674;POINT (-40.46087 -2.745003)', '2026-06-05 15:58:10', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.460741 -2.745102)'), GeomFromEWKT('SRID=4674;POINT (-40.46087 -2.745003)'))) / (select extract(epoch from '2026-06-05 15:58:10'::timestamp) - extract(epoch from '2026-06-05 15:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.460741 -2.745102)'), GeomFromEWKT('SRID=4674;POINT (-40.46087 -2.745003)'))) / (select extract(epoch from '2026-06-05 15:58:10'::timestamp) - extract(epoch from '2026-06-05 15:58:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.461003 -2.744913)', '2026-06-05 15:58:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.46087 -2.745003)'), GeomFromEWKT('SRID=4674;POINT (-40.461003 -2.744913)'))) / (select extract(epoch from '2026-06-05 15:58:15'::timestamp) - extract(epoch from '2026-06-05 15:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.46087 -2.745003)'), GeomFromEWKT('SRID=4674;POINT (-40.461003 -2.744913)'))) / (select extract(epoch from '2026-06-05 15:58:15'::timestamp) - extract(epoch from '2026-06-05 15:58: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'), 46721, 'SRID=4674;POINT (-40.461129 -2.744804)', '2026-06-05 15:58:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.461003 -2.744913)'), GeomFromEWKT('SRID=4674;POINT (-40.461129 -2.744804)'))) / (select extract(epoch from '2026-06-05 15:58:21'::timestamp) - extract(epoch from '2026-06-05 15:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.461003 -2.744913)'), GeomFromEWKT('SRID=4674;POINT (-40.461129 -2.744804)'))) / (select extract(epoch from '2026-06-05 15:58:21'::timestamp) - extract(epoch from '2026-06-05 15:58: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'), 46721, 'SRID=4674;POINT (-40.461273 -2.744711)', '2026-06-05 15:58:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.461129 -2.744804)'), GeomFromEWKT('SRID=4674;POINT (-40.461273 -2.744711)'))) / (select extract(epoch from '2026-06-05 15:58:27'::timestamp) - extract(epoch from '2026-06-05 15:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.461129 -2.744804)'), GeomFromEWKT('SRID=4674;POINT (-40.461273 -2.744711)'))) / (select extract(epoch from '2026-06-05 15:58:27'::timestamp) - extract(epoch from '2026-06-05 15:58: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'), 46721, 'SRID=4674;POINT (-40.46137 -2.744656)', '2026-06-05 15:58:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.461273 -2.744711)'), GeomFromEWKT('SRID=4674;POINT (-40.46137 -2.744656)'))) / (select extract(epoch from '2026-06-05 15:58:31'::timestamp) - extract(epoch from '2026-06-05 15:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.461273 -2.744711)'), GeomFromEWKT('SRID=4674;POINT (-40.46137 -2.744656)'))) / (select extract(epoch from '2026-06-05 15:58:31'::timestamp) - extract(epoch from '2026-06-05 15:58: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'), 46721, 'SRID=4674;POINT (-40.461494 -2.744568)', '2026-06-05 15:58:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.46137 -2.744656)'), GeomFromEWKT('SRID=4674;POINT (-40.461494 -2.744568)'))) / (select extract(epoch from '2026-06-05 15:58:36'::timestamp) - extract(epoch from '2026-06-05 15:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.46137 -2.744656)'), GeomFromEWKT('SRID=4674;POINT (-40.461494 -2.744568)'))) / (select extract(epoch from '2026-06-05 15:58:36'::timestamp) - extract(epoch from '2026-06-05 15:58: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'), 46721, 'SRID=4674;POINT (-40.461641 -2.744434)', '2026-06-05 15:58:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.461494 -2.744568)'), GeomFromEWKT('SRID=4674;POINT (-40.461641 -2.744434)'))) / (select extract(epoch from '2026-06-05 15:58:43'::timestamp) - extract(epoch from '2026-06-05 15:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.461494 -2.744568)'), GeomFromEWKT('SRID=4674;POINT (-40.461641 -2.744434)'))) / (select extract(epoch from '2026-06-05 15:58:43'::timestamp) - extract(epoch from '2026-06-05 15:58: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'), 46721, 'SRID=4674;POINT (-40.461773 -2.744291)', '2026-06-05 15:58:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.461641 -2.744434)'), GeomFromEWKT('SRID=4674;POINT (-40.461773 -2.744291)'))) / (select extract(epoch from '2026-06-05 15:58:50'::timestamp) - extract(epoch from '2026-06-05 15:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.461641 -2.744434)'), GeomFromEWKT('SRID=4674;POINT (-40.461773 -2.744291)'))) / (select extract(epoch from '2026-06-05 15:58:50'::timestamp) - extract(epoch from '2026-06-05 15:58: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'), 46721, 'SRID=4674;POINT (-40.461864 -2.744179)', '2026-06-05 15:58:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.461773 -2.744291)'), GeomFromEWKT('SRID=4674;POINT (-40.461864 -2.744179)'))) / (select extract(epoch from '2026-06-05 15:58:56'::timestamp) - extract(epoch from '2026-06-05 15:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.461773 -2.744291)'), GeomFromEWKT('SRID=4674;POINT (-40.461864 -2.744179)'))) / (select extract(epoch from '2026-06-05 15:58:56'::timestamp) - extract(epoch from '2026-06-05 15:58: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'), 46721, 'SRID=4674;POINT (-40.46202 -2.744003)', '2026-06-05 15:59:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.461864 -2.744179)'), GeomFromEWKT('SRID=4674;POINT (-40.46202 -2.744003)'))) / (select extract(epoch from '2026-06-05 15:59:05'::timestamp) - extract(epoch from '2026-06-05 15:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.461864 -2.744179)'), GeomFromEWKT('SRID=4674;POINT (-40.46202 -2.744003)'))) / (select extract(epoch from '2026-06-05 15:59:05'::timestamp) - extract(epoch from '2026-06-05 15:58: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'), 46721, 'SRID=4674;POINT (-40.46215 -2.743855)', '2026-06-05 15:59:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.46202 -2.744003)'), GeomFromEWKT('SRID=4674;POINT (-40.46215 -2.743855)'))) / (select extract(epoch from '2026-06-05 15:59:12'::timestamp) - extract(epoch from '2026-06-05 15:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.46202 -2.744003)'), GeomFromEWKT('SRID=4674;POINT (-40.46215 -2.743855)'))) / (select extract(epoch from '2026-06-05 15:59:12'::timestamp) - extract(epoch from '2026-06-05 15:59: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'), 46721, 'SRID=4674;POINT (-40.462258 -2.743764)', '2026-06-05 15:59:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.46215 -2.743855)'), GeomFromEWKT('SRID=4674;POINT (-40.462258 -2.743764)'))) / (select extract(epoch from '2026-06-05 15:59:17'::timestamp) - extract(epoch from '2026-06-05 15:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.46215 -2.743855)'), GeomFromEWKT('SRID=4674;POINT (-40.462258 -2.743764)'))) / (select extract(epoch from '2026-06-05 15:59:17'::timestamp) - extract(epoch from '2026-06-05 15:59: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'), 46721, 'SRID=4674;POINT (-40.462372 -2.74367)', '2026-06-05 15:59:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.462258 -2.743764)'), GeomFromEWKT('SRID=4674;POINT (-40.462372 -2.74367)'))) / (select extract(epoch from '2026-06-05 15:59:22'::timestamp) - extract(epoch from '2026-06-05 15:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.462258 -2.743764)'), GeomFromEWKT('SRID=4674;POINT (-40.462372 -2.74367)'))) / (select extract(epoch from '2026-06-05 15:59:22'::timestamp) - extract(epoch from '2026-06-05 15:59:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.462479 -2.74358)', '2026-06-05 15:59:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.462372 -2.74367)'), GeomFromEWKT('SRID=4674;POINT (-40.462479 -2.74358)'))) / (select extract(epoch from '2026-06-05 15:59:27'::timestamp) - extract(epoch from '2026-06-05 15:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.462372 -2.74367)'), GeomFromEWKT('SRID=4674;POINT (-40.462479 -2.74358)'))) / (select extract(epoch from '2026-06-05 15:59:27'::timestamp) - extract(epoch from '2026-06-05 15:59:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.46262 -2.743464)', '2026-06-05 15:59:33', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.462479 -2.74358)'), GeomFromEWKT('SRID=4674;POINT (-40.46262 -2.743464)'))) / (select extract(epoch from '2026-06-05 15:59:33'::timestamp) - extract(epoch from '2026-06-05 15:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.462479 -2.74358)'), GeomFromEWKT('SRID=4674;POINT (-40.46262 -2.743464)'))) / (select extract(epoch from '2026-06-05 15:59:33'::timestamp) - extract(epoch from '2026-06-05 15:59: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'), 46721, 'SRID=4674;POINT (-40.462741 -2.743365)', '2026-06-05 15:59:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.46262 -2.743464)'), GeomFromEWKT('SRID=4674;POINT (-40.462741 -2.743365)'))) / (select extract(epoch from '2026-06-05 15:59:38'::timestamp) - extract(epoch from '2026-06-05 15:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.46262 -2.743464)'), GeomFromEWKT('SRID=4674;POINT (-40.462741 -2.743365)'))) / (select extract(epoch from '2026-06-05 15:59:38'::timestamp) - extract(epoch from '2026-06-05 15:59: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'), 46721, 'SRID=4674;POINT (-40.462902 -2.743203)', '2026-06-05 15:59:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.462741 -2.743365)'), GeomFromEWKT('SRID=4674;POINT (-40.462902 -2.743203)'))) / (select extract(epoch from '2026-06-05 15:59:46'::timestamp) - extract(epoch from '2026-06-05 15:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.462741 -2.743365)'), GeomFromEWKT('SRID=4674;POINT (-40.462902 -2.743203)'))) / (select extract(epoch from '2026-06-05 15:59:46'::timestamp) - extract(epoch from '2026-06-05 15:59:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.463022 -2.743056)', '2026-06-05 15:59:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.462902 -2.743203)'), GeomFromEWKT('SRID=4674;POINT (-40.463022 -2.743056)'))) / (select extract(epoch from '2026-06-05 15:59:53'::timestamp) - extract(epoch from '2026-06-05 15:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.462902 -2.743203)'), GeomFromEWKT('SRID=4674;POINT (-40.463022 -2.743056)'))) / (select extract(epoch from '2026-06-05 15:59:53'::timestamp) - extract(epoch from '2026-06-05 15:59: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'), 46721, 'SRID=4674;POINT (-40.463148 -2.742924)', '2026-06-05 16:00:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.463022 -2.743056)'), GeomFromEWKT('SRID=4674;POINT (-40.463148 -2.742924)'))) / (select extract(epoch from '2026-06-05 16:00:00'::timestamp) - extract(epoch from '2026-06-05 15:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.463022 -2.743056)'), GeomFromEWKT('SRID=4674;POINT (-40.463148 -2.742924)'))) / (select extract(epoch from '2026-06-05 16:00:00'::timestamp) - extract(epoch from '2026-06-05 15:59: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'), 46721, 'SRID=4674;POINT (-40.463261 -2.742832)', '2026-06-05 16:00:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.463148 -2.742924)'), GeomFromEWKT('SRID=4674;POINT (-40.463261 -2.742832)'))) / (select extract(epoch from '2026-06-05 16:00:06'::timestamp) - extract(epoch from '2026-06-05 16:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.463148 -2.742924)'), GeomFromEWKT('SRID=4674;POINT (-40.463261 -2.742832)'))) / (select extract(epoch from '2026-06-05 16:00:06'::timestamp) - extract(epoch from '2026-06-05 16:00: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'), 46721, 'SRID=4674;POINT (-40.463367 -2.742789)', '2026-06-05 16:00:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.463261 -2.742832)'), GeomFromEWKT('SRID=4674;POINT (-40.463367 -2.742789)'))) / (select extract(epoch from '2026-06-05 16:00:10'::timestamp) - extract(epoch from '2026-06-05 16:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.463261 -2.742832)'), GeomFromEWKT('SRID=4674;POINT (-40.463367 -2.742789)'))) / (select extract(epoch from '2026-06-05 16:00:10'::timestamp) - extract(epoch from '2026-06-05 16:00: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'), 46721, 'SRID=4674;POINT (-40.463493 -2.742731)', '2026-06-05 16:00:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.463367 -2.742789)'), GeomFromEWKT('SRID=4674;POINT (-40.463493 -2.742731)'))) / (select extract(epoch from '2026-06-05 16:00:15'::timestamp) - extract(epoch from '2026-06-05 16:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.463367 -2.742789)'), GeomFromEWKT('SRID=4674;POINT (-40.463493 -2.742731)'))) / (select extract(epoch from '2026-06-05 16:00:15'::timestamp) - extract(epoch from '2026-06-05 16:00: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'), 46721, 'SRID=4674;POINT (-40.463715 -2.742636)', '2026-06-05 16:00:22', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.463493 -2.742731)'), GeomFromEWKT('SRID=4674;POINT (-40.463715 -2.742636)'))) / (select extract(epoch from '2026-06-05 16:00:22'::timestamp) - extract(epoch from '2026-06-05 16:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.463493 -2.742731)'), GeomFromEWKT('SRID=4674;POINT (-40.463715 -2.742636)'))) / (select extract(epoch from '2026-06-05 16:00:22'::timestamp) - extract(epoch from '2026-06-05 16:00:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.463882 -2.742566)', '2026-06-05 16:00:28', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.463715 -2.742636)'), GeomFromEWKT('SRID=4674;POINT (-40.463882 -2.742566)'))) / (select extract(epoch from '2026-06-05 16:00:28'::timestamp) - extract(epoch from '2026-06-05 16:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.463715 -2.742636)'), GeomFromEWKT('SRID=4674;POINT (-40.463882 -2.742566)'))) / (select extract(epoch from '2026-06-05 16:00:28'::timestamp) - extract(epoch from '2026-06-05 16:00: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'), 46721, 'SRID=4674;POINT (-40.464065 -2.742479)', '2026-06-05 16:00:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.463882 -2.742566)'), GeomFromEWKT('SRID=4674;POINT (-40.464065 -2.742479)'))) / (select extract(epoch from '2026-06-05 16:00:35'::timestamp) - extract(epoch from '2026-06-05 16:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.463882 -2.742566)'), GeomFromEWKT('SRID=4674;POINT (-40.464065 -2.742479)'))) / (select extract(epoch from '2026-06-05 16:00:35'::timestamp) - extract(epoch from '2026-06-05 16:00:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.464226 -2.742421)', '2026-06-05 16:00:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.464065 -2.742479)'), GeomFromEWKT('SRID=4674;POINT (-40.464226 -2.742421)'))) / (select extract(epoch from '2026-06-05 16:00:40'::timestamp) - extract(epoch from '2026-06-05 16:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.464065 -2.742479)'), GeomFromEWKT('SRID=4674;POINT (-40.464226 -2.742421)'))) / (select extract(epoch from '2026-06-05 16:00:40'::timestamp) - extract(epoch from '2026-06-05 16:00:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.46436 -2.742368)', '2026-06-05 16:00:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.464226 -2.742421)'), GeomFromEWKT('SRID=4674;POINT (-40.46436 -2.742368)'))) / (select extract(epoch from '2026-06-05 16:00:45'::timestamp) - extract(epoch from '2026-06-05 16:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.464226 -2.742421)'), GeomFromEWKT('SRID=4674;POINT (-40.46436 -2.742368)'))) / (select extract(epoch from '2026-06-05 16:00:45'::timestamp) - extract(epoch from '2026-06-05 16:00: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'), 46721, 'SRID=4674;POINT (-40.464527 -2.742306)', '2026-06-05 16:00:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.46436 -2.742368)'), GeomFromEWKT('SRID=4674;POINT (-40.464527 -2.742306)'))) / (select extract(epoch from '2026-06-05 16:00:51'::timestamp) - extract(epoch from '2026-06-05 16:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.46436 -2.742368)'), GeomFromEWKT('SRID=4674;POINT (-40.464527 -2.742306)'))) / (select extract(epoch from '2026-06-05 16:00:51'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.464695 -2.742256)', '2026-06-05 16:00:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.464527 -2.742306)'), GeomFromEWKT('SRID=4674;POINT (-40.464695 -2.742256)'))) / (select extract(epoch from '2026-06-05 16:00:57'::timestamp) - extract(epoch from '2026-06-05 16:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.464527 -2.742306)'), GeomFromEWKT('SRID=4674;POINT (-40.464695 -2.742256)'))) / (select extract(epoch from '2026-06-05 16:00:57'::timestamp) - extract(epoch from '2026-06-05 16:00: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'), 46721, 'SRID=4674;POINT (-40.464883 -2.742182)', '2026-06-05 16:01:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.464695 -2.742256)'), GeomFromEWKT('SRID=4674;POINT (-40.464883 -2.742182)'))) / (select extract(epoch from '2026-06-05 16:01:04'::timestamp) - extract(epoch from '2026-06-05 16:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.464695 -2.742256)'), GeomFromEWKT('SRID=4674;POINT (-40.464883 -2.742182)'))) / (select extract(epoch from '2026-06-05 16:01:04'::timestamp) - extract(epoch from '2026-06-05 16:00:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.465054 -2.742096)', '2026-06-05 16:01:10', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.464883 -2.742182)'), GeomFromEWKT('SRID=4674;POINT (-40.465054 -2.742096)'))) / (select extract(epoch from '2026-06-05 16:01:10'::timestamp) - extract(epoch from '2026-06-05 16:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.464883 -2.742182)'), GeomFromEWKT('SRID=4674;POINT (-40.465054 -2.742096)'))) / (select extract(epoch from '2026-06-05 16:01:10'::timestamp) - extract(epoch from '2026-06-05 16:01:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.465211 -2.742007)', '2026-06-05 16:01:16', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.465054 -2.742096)'), GeomFromEWKT('SRID=4674;POINT (-40.465211 -2.742007)'))) / (select extract(epoch from '2026-06-05 16:01:16'::timestamp) - extract(epoch from '2026-06-05 16:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.465054 -2.742096)'), GeomFromEWKT('SRID=4674;POINT (-40.465211 -2.742007)'))) / (select extract(epoch from '2026-06-05 16:01:16'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.465346 -2.741914)', '2026-06-05 16:01:21', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.465211 -2.742007)'), GeomFromEWKT('SRID=4674;POINT (-40.465346 -2.741914)'))) / (select extract(epoch from '2026-06-05 16:01:21'::timestamp) - extract(epoch from '2026-06-05 16:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.465211 -2.742007)'), GeomFromEWKT('SRID=4674;POINT (-40.465346 -2.741914)'))) / (select extract(epoch from '2026-06-05 16:01:21'::timestamp) - extract(epoch from '2026-06-05 16:01: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'), 46721, 'SRID=4674;POINT (-40.465514 -2.741826)', '2026-06-05 16:01:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.465346 -2.741914)'), GeomFromEWKT('SRID=4674;POINT (-40.465514 -2.741826)'))) / (select extract(epoch from '2026-06-05 16:01:27'::timestamp) - extract(epoch from '2026-06-05 16:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.465346 -2.741914)'), GeomFromEWKT('SRID=4674;POINT (-40.465514 -2.741826)'))) / (select extract(epoch from '2026-06-05 16:01:27'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.465654 -2.741775)', '2026-06-05 16:01:32', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.465514 -2.741826)'), GeomFromEWKT('SRID=4674;POINT (-40.465654 -2.741775)'))) / (select extract(epoch from '2026-06-05 16:01:32'::timestamp) - extract(epoch from '2026-06-05 16:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.465514 -2.741826)'), GeomFromEWKT('SRID=4674;POINT (-40.465654 -2.741775)'))) / (select extract(epoch from '2026-06-05 16:01:32'::timestamp) - extract(epoch from '2026-06-05 16:01: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'), 46721, 'SRID=4674;POINT (-40.465825 -2.741746)', '2026-06-05 16:01:38', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.465654 -2.741775)'), GeomFromEWKT('SRID=4674;POINT (-40.465825 -2.741746)'))) / (select extract(epoch from '2026-06-05 16:01:38'::timestamp) - extract(epoch from '2026-06-05 16:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.465654 -2.741775)'), GeomFromEWKT('SRID=4674;POINT (-40.465825 -2.741746)'))) / (select extract(epoch from '2026-06-05 16:01:38'::timestamp) - extract(epoch from '2026-06-05 16:01: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'), 46721, 'SRID=4674;POINT (-40.465967 -2.74169)', '2026-06-05 16:01:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.465825 -2.741746)'), GeomFromEWKT('SRID=4674;POINT (-40.465967 -2.74169)'))) / (select extract(epoch from '2026-06-05 16:01:43'::timestamp) - extract(epoch from '2026-06-05 16:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.465825 -2.741746)'), GeomFromEWKT('SRID=4674;POINT (-40.465967 -2.74169)'))) / (select extract(epoch from '2026-06-05 16:01:43'::timestamp) - extract(epoch from '2026-06-05 16:01:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.466126 -2.741623)', '2026-06-05 16:01:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.465967 -2.74169)'), GeomFromEWKT('SRID=4674;POINT (-40.466126 -2.741623)'))) / (select extract(epoch from '2026-06-05 16:01:49'::timestamp) - extract(epoch from '2026-06-05 16:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.465967 -2.74169)'), GeomFromEWKT('SRID=4674;POINT (-40.466126 -2.741623)'))) / (select extract(epoch from '2026-06-05 16:01:49'::timestamp) - extract(epoch from '2026-06-05 16:01:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.466235 -2.741566)', '2026-06-05 16:01:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.466126 -2.741623)'), GeomFromEWKT('SRID=4674;POINT (-40.466235 -2.741566)'))) / (select extract(epoch from '2026-06-05 16:01:53'::timestamp) - extract(epoch from '2026-06-05 16:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.466126 -2.741623)'), GeomFromEWKT('SRID=4674;POINT (-40.466235 -2.741566)'))) / (select extract(epoch from '2026-06-05 16:01:53'::timestamp) - extract(epoch from '2026-06-05 16:01: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'), 46721, 'SRID=4674;POINT (-40.466367 -2.741505)', '2026-06-05 16:01:58', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.466235 -2.741566)'), GeomFromEWKT('SRID=4674;POINT (-40.466367 -2.741505)'))) / (select extract(epoch from '2026-06-05 16:01:58'::timestamp) - extract(epoch from '2026-06-05 16:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.466235 -2.741566)'), GeomFromEWKT('SRID=4674;POINT (-40.466367 -2.741505)'))) / (select extract(epoch from '2026-06-05 16:01:58'::timestamp) - extract(epoch from '2026-06-05 16:01: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'), 46721, 'SRID=4674;POINT (-40.466406 -2.741492)', '2026-06-05 16:01:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.466367 -2.741505)'), GeomFromEWKT('SRID=4674;POINT (-40.466406 -2.741492)'))) / (select extract(epoch from '2026-06-05 16:01:59'::timestamp) - extract(epoch from '2026-06-05 16:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.466367 -2.741505)'), GeomFromEWKT('SRID=4674;POINT (-40.466406 -2.741492)'))) / (select extract(epoch from '2026-06-05 16:01:59'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.466523 -2.741444)', '2026-06-05 16:02:03', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.466406 -2.741492)'), GeomFromEWKT('SRID=4674;POINT (-40.466523 -2.741444)'))) / (select extract(epoch from '2026-06-05 16:02:03'::timestamp) - extract(epoch from '2026-06-05 16:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.466406 -2.741492)'), GeomFromEWKT('SRID=4674;POINT (-40.466523 -2.741444)'))) / (select extract(epoch from '2026-06-05 16:02:03'::timestamp) - extract(epoch from '2026-06-05 16:01: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'), 46721, 'SRID=4674;POINT (-40.466678 -2.741406)', '2026-06-05 16:02:08', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.466523 -2.741444)'), GeomFromEWKT('SRID=4674;POINT (-40.466678 -2.741406)'))) / (select extract(epoch from '2026-06-05 16:02:08'::timestamp) - extract(epoch from '2026-06-05 16:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.466523 -2.741444)'), GeomFromEWKT('SRID=4674;POINT (-40.466678 -2.741406)'))) / (select extract(epoch from '2026-06-05 16:02:08'::timestamp) - extract(epoch from '2026-06-05 16:02:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.466797 -2.741334)', '2026-06-05 16:02:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.466678 -2.741406)'), GeomFromEWKT('SRID=4674;POINT (-40.466797 -2.741334)'))) / (select extract(epoch from '2026-06-05 16:02:13'::timestamp) - extract(epoch from '2026-06-05 16:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.466678 -2.741406)'), GeomFromEWKT('SRID=4674;POINT (-40.466797 -2.741334)'))) / (select extract(epoch from '2026-06-05 16:02:13'::timestamp) - extract(epoch from '2026-06-05 16:02: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'), 46721, 'SRID=4674;POINT (-40.467001 -2.741225)', '2026-06-05 16:02:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.466797 -2.741334)'), GeomFromEWKT('SRID=4674;POINT (-40.467001 -2.741225)'))) / (select extract(epoch from '2026-06-05 16:02:20'::timestamp) - extract(epoch from '2026-06-05 16:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.466797 -2.741334)'), GeomFromEWKT('SRID=4674;POINT (-40.467001 -2.741225)'))) / (select extract(epoch from '2026-06-05 16:02:20'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.467224 -2.741128)', '2026-06-05 16:02:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.467001 -2.741225)'), GeomFromEWKT('SRID=4674;POINT (-40.467224 -2.741128)'))) / (select extract(epoch from '2026-06-05 16:02:28'::timestamp) - extract(epoch from '2026-06-05 16:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.467001 -2.741225)'), GeomFromEWKT('SRID=4674;POINT (-40.467224 -2.741128)'))) / (select extract(epoch from '2026-06-05 16:02:28'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.467395 -2.741055)', '2026-06-05 16:02:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.467224 -2.741128)'), GeomFromEWKT('SRID=4674;POINT (-40.467395 -2.741055)'))) / (select extract(epoch from '2026-06-05 16:02:34'::timestamp) - extract(epoch from '2026-06-05 16:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.467224 -2.741128)'), GeomFromEWKT('SRID=4674;POINT (-40.467395 -2.741055)'))) / (select extract(epoch from '2026-06-05 16:02:34'::timestamp) - extract(epoch from '2026-06-05 16:02: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'), 46721, 'SRID=4674;POINT (-40.46758 -2.740968)', '2026-06-05 16:02:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.467395 -2.741055)'), GeomFromEWKT('SRID=4674;POINT (-40.46758 -2.740968)'))) / (select extract(epoch from '2026-06-05 16:02:40'::timestamp) - extract(epoch from '2026-06-05 16:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.467395 -2.741055)'), GeomFromEWKT('SRID=4674;POINT (-40.46758 -2.740968)'))) / (select extract(epoch from '2026-06-05 16:02:40'::timestamp) - extract(epoch from '2026-06-05 16:02: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'), 46721, 'SRID=4674;POINT (-40.467739 -2.740894)', '2026-06-05 16:02:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.46758 -2.740968)'), GeomFromEWKT('SRID=4674;POINT (-40.467739 -2.740894)'))) / (select extract(epoch from '2026-06-05 16:02:46'::timestamp) - extract(epoch from '2026-06-05 16:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.46758 -2.740968)'), GeomFromEWKT('SRID=4674;POINT (-40.467739 -2.740894)'))) / (select extract(epoch from '2026-06-05 16:02:46'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.467899 -2.74081)', '2026-06-05 16:02:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.467739 -2.740894)'), GeomFromEWKT('SRID=4674;POINT (-40.467899 -2.74081)'))) / (select extract(epoch from '2026-06-05 16:02:52'::timestamp) - extract(epoch from '2026-06-05 16:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.467739 -2.740894)'), GeomFromEWKT('SRID=4674;POINT (-40.467899 -2.74081)'))) / (select extract(epoch from '2026-06-05 16:02:52'::timestamp) - extract(epoch from '2026-06-05 16:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.468023 -2.740752)', '2026-06-05 16:02:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.467899 -2.74081)'), GeomFromEWKT('SRID=4674;POINT (-40.468023 -2.740752)'))) / (select extract(epoch from '2026-06-05 16:02:57'::timestamp) - extract(epoch from '2026-06-05 16:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.467899 -2.74081)'), GeomFromEWKT('SRID=4674;POINT (-40.468023 -2.740752)'))) / (select extract(epoch from '2026-06-05 16:02:57'::timestamp) - extract(epoch from '2026-06-05 16:02:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.468178 -2.740676)', '2026-06-05 16:03:02', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.468023 -2.740752)'), GeomFromEWKT('SRID=4674;POINT (-40.468178 -2.740676)'))) / (select extract(epoch from '2026-06-05 16:03:02'::timestamp) - extract(epoch from '2026-06-05 16:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.468023 -2.740752)'), GeomFromEWKT('SRID=4674;POINT (-40.468178 -2.740676)'))) / (select extract(epoch from '2026-06-05 16:03:02'::timestamp) - extract(epoch from '2026-06-05 16:02: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'), 46721, 'SRID=4674;POINT (-40.468354 -2.740568)', '2026-06-05 16:03:08', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.468178 -2.740676)'), GeomFromEWKT('SRID=4674;POINT (-40.468354 -2.740568)'))) / (select extract(epoch from '2026-06-05 16:03:08'::timestamp) - extract(epoch from '2026-06-05 16:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.468178 -2.740676)'), GeomFromEWKT('SRID=4674;POINT (-40.468354 -2.740568)'))) / (select extract(epoch from '2026-06-05 16:03:08'::timestamp) - extract(epoch from '2026-06-05 16:03: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'), 46721, 'SRID=4674;POINT (-40.468529 -2.740449)', '2026-06-05 16:03:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.468354 -2.740568)'), GeomFromEWKT('SRID=4674;POINT (-40.468529 -2.740449)'))) / (select extract(epoch from '2026-06-05 16:03:15'::timestamp) - extract(epoch from '2026-06-05 16:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.468354 -2.740568)'), GeomFromEWKT('SRID=4674;POINT (-40.468529 -2.740449)'))) / (select extract(epoch from '2026-06-05 16:03:15'::timestamp) - extract(epoch from '2026-06-05 16:03: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'), 46721, 'SRID=4674;POINT (-40.468699 -2.740338)', '2026-06-05 16:03:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.468529 -2.740449)'), GeomFromEWKT('SRID=4674;POINT (-40.468699 -2.740338)'))) / (select extract(epoch from '2026-06-05 16:03:21'::timestamp) - extract(epoch from '2026-06-05 16:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.468529 -2.740449)'), GeomFromEWKT('SRID=4674;POINT (-40.468699 -2.740338)'))) / (select extract(epoch from '2026-06-05 16:03:21'::timestamp) - extract(epoch from '2026-06-05 16:03: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'), 46721, 'SRID=4674;POINT (-40.468867 -2.740242)', '2026-06-05 16:03:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.468699 -2.740338)'), GeomFromEWKT('SRID=4674;POINT (-40.468867 -2.740242)'))) / (select extract(epoch from '2026-06-05 16:03:27'::timestamp) - extract(epoch from '2026-06-05 16:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.468699 -2.740338)'), GeomFromEWKT('SRID=4674;POINT (-40.468867 -2.740242)'))) / (select extract(epoch from '2026-06-05 16:03:27'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.469012 -2.740128)', '2026-06-05 16:03:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.468867 -2.740242)'), GeomFromEWKT('SRID=4674;POINT (-40.469012 -2.740128)'))) / (select extract(epoch from '2026-06-05 16:03:33'::timestamp) - extract(epoch from '2026-06-05 16:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.468867 -2.740242)'), GeomFromEWKT('SRID=4674;POINT (-40.469012 -2.740128)'))) / (select extract(epoch from '2026-06-05 16:03:33'::timestamp) - extract(epoch from '2026-06-05 16:03:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.469145 -2.74002)', '2026-06-05 16:03:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.469012 -2.740128)'), GeomFromEWKT('SRID=4674;POINT (-40.469145 -2.74002)'))) / (select extract(epoch from '2026-06-05 16:03:39'::timestamp) - extract(epoch from '2026-06-05 16:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.469012 -2.740128)'), GeomFromEWKT('SRID=4674;POINT (-40.469145 -2.74002)'))) / (select extract(epoch from '2026-06-05 16:03:39'::timestamp) - extract(epoch from '2026-06-05 16:03: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'), 46721, 'SRID=4674;POINT (-40.469287 -2.739946)', '2026-06-05 16:03:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.469145 -2.74002)'), GeomFromEWKT('SRID=4674;POINT (-40.469287 -2.739946)'))) / (select extract(epoch from '2026-06-05 16:03:44'::timestamp) - extract(epoch from '2026-06-05 16:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.469145 -2.74002)'), GeomFromEWKT('SRID=4674;POINT (-40.469287 -2.739946)'))) / (select extract(epoch from '2026-06-05 16:03:44'::timestamp) - extract(epoch from '2026-06-05 16:03: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'), 46721, 'SRID=4674;POINT (-40.469437 -2.739883)', '2026-06-05 16:03:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.469287 -2.739946)'), GeomFromEWKT('SRID=4674;POINT (-40.469437 -2.739883)'))) / (select extract(epoch from '2026-06-05 16:03:50'::timestamp) - extract(epoch from '2026-06-05 16:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.469287 -2.739946)'), GeomFromEWKT('SRID=4674;POINT (-40.469437 -2.739883)'))) / (select extract(epoch from '2026-06-05 16:03:50'::timestamp) - extract(epoch from '2026-06-05 16:03:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.469591 -2.739805)', '2026-06-05 16:03:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.469437 -2.739883)'), GeomFromEWKT('SRID=4674;POINT (-40.469591 -2.739805)'))) / (select extract(epoch from '2026-06-05 16:03:56'::timestamp) - extract(epoch from '2026-06-05 16:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.469437 -2.739883)'), GeomFromEWKT('SRID=4674;POINT (-40.469591 -2.739805)'))) / (select extract(epoch from '2026-06-05 16:03:56'::timestamp) - extract(epoch from '2026-06-05 16:03: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'), 46721, 'SRID=4674;POINT (-40.469755 -2.739734)', '2026-06-05 16:04:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.469591 -2.739805)'), GeomFromEWKT('SRID=4674;POINT (-40.469755 -2.739734)'))) / (select extract(epoch from '2026-06-05 16:04:02'::timestamp) - extract(epoch from '2026-06-05 16:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.469591 -2.739805)'), GeomFromEWKT('SRID=4674;POINT (-40.469755 -2.739734)'))) / (select extract(epoch from '2026-06-05 16:04:02'::timestamp) - extract(epoch from '2026-06-05 16:03: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'), 46721, 'SRID=4674;POINT (-40.469961 -2.739672)', '2026-06-05 16:04:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.469755 -2.739734)'), GeomFromEWKT('SRID=4674;POINT (-40.469961 -2.739672)'))) / (select extract(epoch from '2026-06-05 16:04:09'::timestamp) - extract(epoch from '2026-06-05 16:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.469755 -2.739734)'), GeomFromEWKT('SRID=4674;POINT (-40.469961 -2.739672)'))) / (select extract(epoch from '2026-06-05 16:04:09'::timestamp) - extract(epoch from '2026-06-05 16:04: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'), 46721, 'SRID=4674;POINT (-40.470134 -2.739633)', '2026-06-05 16:04:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.469961 -2.739672)'), GeomFromEWKT('SRID=4674;POINT (-40.470134 -2.739633)'))) / (select extract(epoch from '2026-06-05 16:04:15'::timestamp) - extract(epoch from '2026-06-05 16:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.469961 -2.739672)'), GeomFromEWKT('SRID=4674;POINT (-40.470134 -2.739633)'))) / (select extract(epoch from '2026-06-05 16:04:15'::timestamp) - extract(epoch from '2026-06-05 16:04:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.470335 -2.739559)', '2026-06-05 16:04:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.470134 -2.739633)'), GeomFromEWKT('SRID=4674;POINT (-40.470335 -2.739559)'))) / (select extract(epoch from '2026-06-05 16:04:22'::timestamp) - extract(epoch from '2026-06-05 16:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.470134 -2.739633)'), GeomFromEWKT('SRID=4674;POINT (-40.470335 -2.739559)'))) / (select extract(epoch from '2026-06-05 16:04:22'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.470616 -2.739435)', '2026-06-05 16:04:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.470335 -2.739559)'), GeomFromEWKT('SRID=4674;POINT (-40.470616 -2.739435)'))) / (select extract(epoch from '2026-06-05 16:04:32'::timestamp) - extract(epoch from '2026-06-05 16:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.470335 -2.739559)'), GeomFromEWKT('SRID=4674;POINT (-40.470616 -2.739435)'))) / (select extract(epoch from '2026-06-05 16:04:32'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.4708 -2.739358)', '2026-06-05 16:04:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.470616 -2.739435)'), GeomFromEWKT('SRID=4674;POINT (-40.4708 -2.739358)'))) / (select extract(epoch from '2026-06-05 16:04:39'::timestamp) - extract(epoch from '2026-06-05 16:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.470616 -2.739435)'), GeomFromEWKT('SRID=4674;POINT (-40.4708 -2.739358)'))) / (select extract(epoch from '2026-06-05 16:04:39'::timestamp) - extract(epoch from '2026-06-05 16:04: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'), 46721, 'SRID=4674;POINT (-40.471033 -2.739279)', '2026-06-05 16:04:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4708 -2.739358)'), GeomFromEWKT('SRID=4674;POINT (-40.471033 -2.739279)'))) / (select extract(epoch from '2026-06-05 16:04:47'::timestamp) - extract(epoch from '2026-06-05 16:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4708 -2.739358)'), GeomFromEWKT('SRID=4674;POINT (-40.471033 -2.739279)'))) / (select extract(epoch from '2026-06-05 16:04:47'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.471207 -2.73925)', '2026-06-05 16:04:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.471033 -2.739279)'), GeomFromEWKT('SRID=4674;POINT (-40.471207 -2.73925)'))) / (select extract(epoch from '2026-06-05 16:04:53'::timestamp) - extract(epoch from '2026-06-05 16:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.471033 -2.739279)'), GeomFromEWKT('SRID=4674;POINT (-40.471207 -2.73925)'))) / (select extract(epoch from '2026-06-05 16:04:53'::timestamp) - extract(epoch from '2026-06-05 16:04: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'), 46721, 'SRID=4674;POINT (-40.471377 -2.739218)', '2026-06-05 16:04:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.471207 -2.73925)'), GeomFromEWKT('SRID=4674;POINT (-40.471377 -2.739218)'))) / (select extract(epoch from '2026-06-05 16:04:59'::timestamp) - extract(epoch from '2026-06-05 16:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.471207 -2.73925)'), GeomFromEWKT('SRID=4674;POINT (-40.471377 -2.739218)'))) / (select extract(epoch from '2026-06-05 16:04:59'::timestamp) - extract(epoch from '2026-06-05 16:04: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'), 46721, 'SRID=4674;POINT (-40.47155 -2.739186)', '2026-06-05 16:05:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.471377 -2.739218)'), GeomFromEWKT('SRID=4674;POINT (-40.47155 -2.739186)'))) / (select extract(epoch from '2026-06-05 16:05:05'::timestamp) - extract(epoch from '2026-06-05 16:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.471377 -2.739218)'), GeomFromEWKT('SRID=4674;POINT (-40.47155 -2.739186)'))) / (select extract(epoch from '2026-06-05 16:05:05'::timestamp) - extract(epoch from '2026-06-05 16:04: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'), 46721, 'SRID=4674;POINT (-40.471686 -2.73915)', '2026-06-05 16:05:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.47155 -2.739186)'), GeomFromEWKT('SRID=4674;POINT (-40.471686 -2.73915)'))) / (select extract(epoch from '2026-06-05 16:05:10'::timestamp) - extract(epoch from '2026-06-05 16:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.47155 -2.739186)'), GeomFromEWKT('SRID=4674;POINT (-40.471686 -2.73915)'))) / (select extract(epoch from '2026-06-05 16:05:10'::timestamp) - extract(epoch from '2026-06-05 16:05: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'), 46721, 'SRID=4674;POINT (-40.47186 -2.739107)', '2026-06-05 16:05:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.471686 -2.73915)'), GeomFromEWKT('SRID=4674;POINT (-40.47186 -2.739107)'))) / (select extract(epoch from '2026-06-05 16:05:16'::timestamp) - extract(epoch from '2026-06-05 16:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.471686 -2.73915)'), GeomFromEWKT('SRID=4674;POINT (-40.47186 -2.739107)'))) / (select extract(epoch from '2026-06-05 16:05:16'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.472031 -2.739068)', '2026-06-05 16:05:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.47186 -2.739107)'), GeomFromEWKT('SRID=4674;POINT (-40.472031 -2.739068)'))) / (select extract(epoch from '2026-06-05 16:05:22'::timestamp) - extract(epoch from '2026-06-05 16:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.47186 -2.739107)'), GeomFromEWKT('SRID=4674;POINT (-40.472031 -2.739068)'))) / (select extract(epoch from '2026-06-05 16:05:22'::timestamp) - extract(epoch from '2026-06-05 16:05:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.472199 -2.739033)', '2026-06-05 16:05:28', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.472031 -2.739068)'), GeomFromEWKT('SRID=4674;POINT (-40.472199 -2.739033)'))) / (select extract(epoch from '2026-06-05 16:05:28'::timestamp) - extract(epoch from '2026-06-05 16:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.472031 -2.739068)'), GeomFromEWKT('SRID=4674;POINT (-40.472199 -2.739033)'))) / (select extract(epoch from '2026-06-05 16:05:28'::timestamp) - extract(epoch from '2026-06-05 16:05: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'), 46721, 'SRID=4674;POINT (-40.472358 -2.738991)', '2026-06-05 16:05:34', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.472199 -2.739033)'), GeomFromEWKT('SRID=4674;POINT (-40.472358 -2.738991)'))) / (select extract(epoch from '2026-06-05 16:05:34'::timestamp) - extract(epoch from '2026-06-05 16:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.472199 -2.739033)'), GeomFromEWKT('SRID=4674;POINT (-40.472358 -2.738991)'))) / (select extract(epoch from '2026-06-05 16:05:34'::timestamp) - extract(epoch from '2026-06-05 16:05: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'), 46721, 'SRID=4674;POINT (-40.472482 -2.73895)', '2026-06-05 16:05:39', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.472358 -2.738991)'), GeomFromEWKT('SRID=4674;POINT (-40.472482 -2.73895)'))) / (select extract(epoch from '2026-06-05 16:05:39'::timestamp) - extract(epoch from '2026-06-05 16:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.472358 -2.738991)'), GeomFromEWKT('SRID=4674;POINT (-40.472482 -2.73895)'))) / (select extract(epoch from '2026-06-05 16:05:39'::timestamp) - extract(epoch from '2026-06-05 16:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.472686 -2.738879)', '2026-06-05 16:05:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.472482 -2.73895)'), GeomFromEWKT('SRID=4674;POINT (-40.472686 -2.738879)'))) / (select extract(epoch from '2026-06-05 16:05:47'::timestamp) - extract(epoch from '2026-06-05 16:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.472482 -2.73895)'), GeomFromEWKT('SRID=4674;POINT (-40.472686 -2.738879)'))) / (select extract(epoch from '2026-06-05 16:05:47'::timestamp) - extract(epoch from '2026-06-05 16:05: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'), 46721, 'SRID=4674;POINT (-40.472851 -2.738827)', '2026-06-05 16:05:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.472686 -2.738879)'), GeomFromEWKT('SRID=4674;POINT (-40.472851 -2.738827)'))) / (select extract(epoch from '2026-06-05 16:05:53'::timestamp) - extract(epoch from '2026-06-05 16:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.472686 -2.738879)'), GeomFromEWKT('SRID=4674;POINT (-40.472851 -2.738827)'))) / (select extract(epoch from '2026-06-05 16:05:53'::timestamp) - extract(epoch from '2026-06-05 16:05: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'), 46721, 'SRID=4674;POINT (-40.473035 -2.738786)', '2026-06-05 16:06:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.472851 -2.738827)'), GeomFromEWKT('SRID=4674;POINT (-40.473035 -2.738786)'))) / (select extract(epoch from '2026-06-05 16:06:00'::timestamp) - extract(epoch from '2026-06-05 16:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.472851 -2.738827)'), GeomFromEWKT('SRID=4674;POINT (-40.473035 -2.738786)'))) / (select extract(epoch from '2026-06-05 16:06:00'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.473256 -2.738709)', '2026-06-05 16:06:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.473035 -2.738786)'), GeomFromEWKT('SRID=4674;POINT (-40.473256 -2.738709)'))) / (select extract(epoch from '2026-06-05 16:06:08'::timestamp) - extract(epoch from '2026-06-05 16:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.473035 -2.738786)'), GeomFromEWKT('SRID=4674;POINT (-40.473256 -2.738709)'))) / (select extract(epoch from '2026-06-05 16:06:08'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.473527 -2.738635)', '2026-06-05 16:06:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.473256 -2.738709)'), GeomFromEWKT('SRID=4674;POINT (-40.473527 -2.738635)'))) / (select extract(epoch from '2026-06-05 16:06:17'::timestamp) - extract(epoch from '2026-06-05 16:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.473256 -2.738709)'), GeomFromEWKT('SRID=4674;POINT (-40.473527 -2.738635)'))) / (select extract(epoch from '2026-06-05 16:06:17'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.473725 -2.738586)', '2026-06-05 16:06:24', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.473527 -2.738635)'), GeomFromEWKT('SRID=4674;POINT (-40.473725 -2.738586)'))) / (select extract(epoch from '2026-06-05 16:06:24'::timestamp) - extract(epoch from '2026-06-05 16:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.473527 -2.738635)'), GeomFromEWKT('SRID=4674;POINT (-40.473725 -2.738586)'))) / (select extract(epoch from '2026-06-05 16:06:24'::timestamp) - extract(epoch from '2026-06-05 16:06: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'), 46721, 'SRID=4674;POINT (-40.473894 -2.738559)', '2026-06-05 16:06:30', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.473725 -2.738586)'), GeomFromEWKT('SRID=4674;POINT (-40.473894 -2.738559)'))) / (select extract(epoch from '2026-06-05 16:06:30'::timestamp) - extract(epoch from '2026-06-05 16:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.473725 -2.738586)'), GeomFromEWKT('SRID=4674;POINT (-40.473894 -2.738559)'))) / (select extract(epoch from '2026-06-05 16:06:30'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.474082 -2.738518)', '2026-06-05 16:06:36', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.473894 -2.738559)'), GeomFromEWKT('SRID=4674;POINT (-40.474082 -2.738518)'))) / (select extract(epoch from '2026-06-05 16:06:36'::timestamp) - extract(epoch from '2026-06-05 16:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.473894 -2.738559)'), GeomFromEWKT('SRID=4674;POINT (-40.474082 -2.738518)'))) / (select extract(epoch from '2026-06-05 16:06:36'::timestamp) - extract(epoch from '2026-06-05 16:06: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'), 46721, 'SRID=4674;POINT (-40.474264 -2.738494)', '2026-06-05 16:06:41', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.474082 -2.738518)'), GeomFromEWKT('SRID=4674;POINT (-40.474264 -2.738494)'))) / (select extract(epoch from '2026-06-05 16:06:41'::timestamp) - extract(epoch from '2026-06-05 16:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.474082 -2.738518)'), GeomFromEWKT('SRID=4674;POINT (-40.474264 -2.738494)'))) / (select extract(epoch from '2026-06-05 16:06:41'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.474376 -2.738476)', '2026-06-05 16:06:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.474264 -2.738494)'), GeomFromEWKT('SRID=4674;POINT (-40.474376 -2.738476)'))) / (select extract(epoch from '2026-06-05 16:06:45'::timestamp) - extract(epoch from '2026-06-05 16:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.474264 -2.738494)'), GeomFromEWKT('SRID=4674;POINT (-40.474376 -2.738476)'))) / (select extract(epoch from '2026-06-05 16:06:45'::timestamp) - extract(epoch from '2026-06-05 16:06:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.474562 -2.738432)', '2026-06-05 16:06:51', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.474376 -2.738476)'), GeomFromEWKT('SRID=4674;POINT (-40.474562 -2.738432)'))) / (select extract(epoch from '2026-06-05 16:06:51'::timestamp) - extract(epoch from '2026-06-05 16:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.474376 -2.738476)'), GeomFromEWKT('SRID=4674;POINT (-40.474562 -2.738432)'))) / (select extract(epoch from '2026-06-05 16:06:51'::timestamp) - extract(epoch from '2026-06-05 16:06: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'), 46721, 'SRID=4674;POINT (-40.474762 -2.738386)', '2026-06-05 16:06:58', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.474562 -2.738432)'), GeomFromEWKT('SRID=4674;POINT (-40.474762 -2.738386)'))) / (select extract(epoch from '2026-06-05 16:06:58'::timestamp) - extract(epoch from '2026-06-05 16:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.474562 -2.738432)'), GeomFromEWKT('SRID=4674;POINT (-40.474762 -2.738386)'))) / (select extract(epoch from '2026-06-05 16:06:58'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.474915 -2.738366)', '2026-06-05 16:07:03', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.474762 -2.738386)'), GeomFromEWKT('SRID=4674;POINT (-40.474915 -2.738366)'))) / (select extract(epoch from '2026-06-05 16:07:03'::timestamp) - extract(epoch from '2026-06-05 16:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.474762 -2.738386)'), GeomFromEWKT('SRID=4674;POINT (-40.474915 -2.738366)'))) / (select extract(epoch from '2026-06-05 16:07:03'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.475041 -2.738349)', '2026-06-05 16:07:07', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.474915 -2.738366)'), GeomFromEWKT('SRID=4674;POINT (-40.475041 -2.738349)'))) / (select extract(epoch from '2026-06-05 16:07:07'::timestamp) - extract(epoch from '2026-06-05 16:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.474915 -2.738366)'), GeomFromEWKT('SRID=4674;POINT (-40.475041 -2.738349)'))) / (select extract(epoch from '2026-06-05 16:07:07'::timestamp) - extract(epoch from '2026-06-05 16:07: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'), 46721, 'SRID=4674;POINT (-40.475147 -2.738339)', '2026-06-05 16:07:11', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.475041 -2.738349)'), GeomFromEWKT('SRID=4674;POINT (-40.475147 -2.738339)'))) / (select extract(epoch from '2026-06-05 16:07:11'::timestamp) - extract(epoch from '2026-06-05 16:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.475041 -2.738349)'), GeomFromEWKT('SRID=4674;POINT (-40.475147 -2.738339)'))) / (select extract(epoch from '2026-06-05 16:07:11'::timestamp) - extract(epoch from '2026-06-05 16:07: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'), 46721, 'SRID=4674;POINT (-40.475291 -2.738318)', '2026-06-05 16:07:16', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.475147 -2.738339)'), GeomFromEWKT('SRID=4674;POINT (-40.475291 -2.738318)'))) / (select extract(epoch from '2026-06-05 16:07:16'::timestamp) - extract(epoch from '2026-06-05 16:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.475147 -2.738339)'), GeomFromEWKT('SRID=4674;POINT (-40.475291 -2.738318)'))) / (select extract(epoch from '2026-06-05 16:07:16'::timestamp) - extract(epoch from '2026-06-05 16:07: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'), 46721, 'SRID=4674;POINT (-40.475405 -2.738253)', '2026-06-05 16:07:21', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.475291 -2.738318)'), GeomFromEWKT('SRID=4674;POINT (-40.475405 -2.738253)'))) / (select extract(epoch from '2026-06-05 16:07:21'::timestamp) - extract(epoch from '2026-06-05 16:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.475291 -2.738318)'), GeomFromEWKT('SRID=4674;POINT (-40.475405 -2.738253)'))) / (select extract(epoch from '2026-06-05 16:07:21'::timestamp) - extract(epoch from '2026-06-05 16:07: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'), 46721, 'SRID=4674;POINT (-40.475574 -2.738161)', '2026-06-05 16:07:28', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.475405 -2.738253)'), GeomFromEWKT('SRID=4674;POINT (-40.475574 -2.738161)'))) / (select extract(epoch from '2026-06-05 16:07:28'::timestamp) - extract(epoch from '2026-06-05 16:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.475405 -2.738253)'), GeomFromEWKT('SRID=4674;POINT (-40.475574 -2.738161)'))) / (select extract(epoch from '2026-06-05 16:07:28'::timestamp) - extract(epoch from '2026-06-05 16:07:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.475701 -2.738134)', '2026-06-05 16:07:33', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.475574 -2.738161)'), GeomFromEWKT('SRID=4674;POINT (-40.475701 -2.738134)'))) / (select extract(epoch from '2026-06-05 16:07:33'::timestamp) - extract(epoch from '2026-06-05 16:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.475574 -2.738161)'), GeomFromEWKT('SRID=4674;POINT (-40.475701 -2.738134)'))) / (select extract(epoch from '2026-06-05 16:07:33'::timestamp) - extract(epoch from '2026-06-05 16:07: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'), 46721, 'SRID=4674;POINT (-40.47584 -2.738118)', '2026-06-05 16:07:38', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.475701 -2.738134)'), GeomFromEWKT('SRID=4674;POINT (-40.47584 -2.738118)'))) / (select extract(epoch from '2026-06-05 16:07:38'::timestamp) - extract(epoch from '2026-06-05 16:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.475701 -2.738134)'), GeomFromEWKT('SRID=4674;POINT (-40.47584 -2.738118)'))) / (select extract(epoch from '2026-06-05 16:07:38'::timestamp) - extract(epoch from '2026-06-05 16:07: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'), 46721, 'SRID=4674;POINT (-40.475976 -2.738091)', '2026-06-05 16:07:43', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.47584 -2.738118)'), GeomFromEWKT('SRID=4674;POINT (-40.475976 -2.738091)'))) / (select extract(epoch from '2026-06-05 16:07:43'::timestamp) - extract(epoch from '2026-06-05 16:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.47584 -2.738118)'), GeomFromEWKT('SRID=4674;POINT (-40.475976 -2.738091)'))) / (select extract(epoch from '2026-06-05 16:07:43'::timestamp) - extract(epoch from '2026-06-05 16:07: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'), 46721, 'SRID=4674;POINT (-40.476128 -2.738056)', '2026-06-05 16:07:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.475976 -2.738091)'), GeomFromEWKT('SRID=4674;POINT (-40.476128 -2.738056)'))) / (select extract(epoch from '2026-06-05 16:07:49'::timestamp) - extract(epoch from '2026-06-05 16:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.475976 -2.738091)'), GeomFromEWKT('SRID=4674;POINT (-40.476128 -2.738056)'))) / (select extract(epoch from '2026-06-05 16:07:49'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.476234 -2.73802)', '2026-06-05 16:07:54', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.476128 -2.738056)'), GeomFromEWKT('SRID=4674;POINT (-40.476234 -2.73802)'))) / (select extract(epoch from '2026-06-05 16:07:54'::timestamp) - extract(epoch from '2026-06-05 16:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.476128 -2.738056)'), GeomFromEWKT('SRID=4674;POINT (-40.476234 -2.73802)'))) / (select extract(epoch from '2026-06-05 16:07:54'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.476353 -2.737985)', '2026-06-05 16:07:59', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.476234 -2.73802)'), GeomFromEWKT('SRID=4674;POINT (-40.476353 -2.737985)'))) / (select extract(epoch from '2026-06-05 16:07:59'::timestamp) - extract(epoch from '2026-06-05 16:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.476234 -2.73802)'), GeomFromEWKT('SRID=4674;POINT (-40.476353 -2.737985)'))) / (select extract(epoch from '2026-06-05 16:07:59'::timestamp) - extract(epoch from '2026-06-05 16:07: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'), 46721, 'SRID=4674;POINT (-40.476472 -2.737958)', '2026-06-05 16:08:03', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.476353 -2.737985)'), GeomFromEWKT('SRID=4674;POINT (-40.476472 -2.737958)'))) / (select extract(epoch from '2026-06-05 16:08:03'::timestamp) - extract(epoch from '2026-06-05 16:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.476353 -2.737985)'), GeomFromEWKT('SRID=4674;POINT (-40.476472 -2.737958)'))) / (select extract(epoch from '2026-06-05 16:08:03'::timestamp) - extract(epoch from '2026-06-05 16:07:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.476591 -2.737927)', '2026-06-05 16:08:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.476472 -2.737958)'), GeomFromEWKT('SRID=4674;POINT (-40.476591 -2.737927)'))) / (select extract(epoch from '2026-06-05 16:08:08'::timestamp) - extract(epoch from '2026-06-05 16:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.476472 -2.737958)'), GeomFromEWKT('SRID=4674;POINT (-40.476591 -2.737927)'))) / (select extract(epoch from '2026-06-05 16:08:08'::timestamp) - extract(epoch from '2026-06-05 16:08: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'), 46721, 'SRID=4674;POINT (-40.476731 -2.737872)', '2026-06-05 16:08:14', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.476591 -2.737927)'), GeomFromEWKT('SRID=4674;POINT (-40.476731 -2.737872)'))) / (select extract(epoch from '2026-06-05 16:08:14'::timestamp) - extract(epoch from '2026-06-05 16:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.476591 -2.737927)'), GeomFromEWKT('SRID=4674;POINT (-40.476731 -2.737872)'))) / (select extract(epoch from '2026-06-05 16:08:14'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.476824 -2.737831)', '2026-06-05 16:08:18', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.476731 -2.737872)'), GeomFromEWKT('SRID=4674;POINT (-40.476824 -2.737831)'))) / (select extract(epoch from '2026-06-05 16:08:18'::timestamp) - extract(epoch from '2026-06-05 16:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.476731 -2.737872)'), GeomFromEWKT('SRID=4674;POINT (-40.476824 -2.737831)'))) / (select extract(epoch from '2026-06-05 16:08:18'::timestamp) - extract(epoch from '2026-06-05 16:08: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'), 46721, 'SRID=4674;POINT (-40.476951 -2.737791)', '2026-06-05 16:08:22', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.476824 -2.737831)'), GeomFromEWKT('SRID=4674;POINT (-40.476951 -2.737791)'))) / (select extract(epoch from '2026-06-05 16:08:22'::timestamp) - extract(epoch from '2026-06-05 16:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.476824 -2.737831)'), GeomFromEWKT('SRID=4674;POINT (-40.476951 -2.737791)'))) / (select extract(epoch from '2026-06-05 16:08:22'::timestamp) - extract(epoch from '2026-06-05 16:08:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.477047 -2.737745)', '2026-06-05 16:08:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.476951 -2.737791)'), GeomFromEWKT('SRID=4674;POINT (-40.477047 -2.737745)'))) / (select extract(epoch from '2026-06-05 16:08:26'::timestamp) - extract(epoch from '2026-06-05 16:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.476951 -2.737791)'), GeomFromEWKT('SRID=4674;POINT (-40.477047 -2.737745)'))) / (select extract(epoch from '2026-06-05 16:08:26'::timestamp) - extract(epoch from '2026-06-05 16:08: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'), 46721, 'SRID=4674;POINT (-40.477177 -2.737715)', '2026-06-05 16:08:30', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.477047 -2.737745)'), GeomFromEWKT('SRID=4674;POINT (-40.477177 -2.737715)'))) / (select extract(epoch from '2026-06-05 16:08:30'::timestamp) - extract(epoch from '2026-06-05 16:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.477047 -2.737745)'), GeomFromEWKT('SRID=4674;POINT (-40.477177 -2.737715)'))) / (select extract(epoch from '2026-06-05 16:08:30'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.477267 -2.737693)', '2026-06-05 16:08:34', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.477177 -2.737715)'), GeomFromEWKT('SRID=4674;POINT (-40.477267 -2.737693)'))) / (select extract(epoch from '2026-06-05 16:08:34'::timestamp) - extract(epoch from '2026-06-05 16:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.477177 -2.737715)'), GeomFromEWKT('SRID=4674;POINT (-40.477267 -2.737693)'))) / (select extract(epoch from '2026-06-05 16:08:34'::timestamp) - extract(epoch from '2026-06-05 16:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.477427 -2.737636)', '2026-06-05 16:08:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.477267 -2.737693)'), GeomFromEWKT('SRID=4674;POINT (-40.477427 -2.737636)'))) / (select extract(epoch from '2026-06-05 16:08:40'::timestamp) - extract(epoch from '2026-06-05 16:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.477267 -2.737693)'), GeomFromEWKT('SRID=4674;POINT (-40.477427 -2.737636)'))) / (select extract(epoch from '2026-06-05 16:08:40'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.477602 -2.737564)', '2026-06-05 16:08:47', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.477427 -2.737636)'), GeomFromEWKT('SRID=4674;POINT (-40.477602 -2.737564)'))) / (select extract(epoch from '2026-06-05 16:08:47'::timestamp) - extract(epoch from '2026-06-05 16:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.477427 -2.737636)'), GeomFromEWKT('SRID=4674;POINT (-40.477602 -2.737564)'))) / (select extract(epoch from '2026-06-05 16:08:47'::timestamp) - extract(epoch from '2026-06-05 16:08: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'), 46721, 'SRID=4674;POINT (-40.477726 -2.737533)', '2026-06-05 16:08:52', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.477602 -2.737564)'), GeomFromEWKT('SRID=4674;POINT (-40.477726 -2.737533)'))) / (select extract(epoch from '2026-06-05 16:08:52'::timestamp) - extract(epoch from '2026-06-05 16:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.477602 -2.737564)'), GeomFromEWKT('SRID=4674;POINT (-40.477726 -2.737533)'))) / (select extract(epoch from '2026-06-05 16:08:52'::timestamp) - extract(epoch from '2026-06-05 16:08: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'), 46721, 'SRID=4674;POINT (-40.477842 -2.737497)', '2026-06-05 16:08:56', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.477726 -2.737533)'), GeomFromEWKT('SRID=4674;POINT (-40.477842 -2.737497)'))) / (select extract(epoch from '2026-06-05 16:08:56'::timestamp) - extract(epoch from '2026-06-05 16:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.477726 -2.737533)'), GeomFromEWKT('SRID=4674;POINT (-40.477842 -2.737497)'))) / (select extract(epoch from '2026-06-05 16:08:56'::timestamp) - extract(epoch from '2026-06-05 16:08:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.477976 -2.737456)', '2026-06-05 16:09:01', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.477842 -2.737497)'), GeomFromEWKT('SRID=4674;POINT (-40.477976 -2.737456)'))) / (select extract(epoch from '2026-06-05 16:09:01'::timestamp) - extract(epoch from '2026-06-05 16:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.477842 -2.737497)'), GeomFromEWKT('SRID=4674;POINT (-40.477976 -2.737456)'))) / (select extract(epoch from '2026-06-05 16:09:01'::timestamp) - extract(epoch from '2026-06-05 16:08: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'), 46721, 'SRID=4674;POINT (-40.478105 -2.73738)', '2026-06-05 16:09:06', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.477976 -2.737456)'), GeomFromEWKT('SRID=4674;POINT (-40.478105 -2.73738)'))) / (select extract(epoch from '2026-06-05 16:09:06'::timestamp) - extract(epoch from '2026-06-05 16:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.477976 -2.737456)'), GeomFromEWKT('SRID=4674;POINT (-40.478105 -2.73738)'))) / (select extract(epoch from '2026-06-05 16:09:06'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.478224 -2.737294)', '2026-06-05 16:09:11', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.478105 -2.73738)'), GeomFromEWKT('SRID=4674;POINT (-40.478224 -2.737294)'))) / (select extract(epoch from '2026-06-05 16:09:11'::timestamp) - extract(epoch from '2026-06-05 16:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.478105 -2.73738)'), GeomFromEWKT('SRID=4674;POINT (-40.478224 -2.737294)'))) / (select extract(epoch from '2026-06-05 16:09:11'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.478351 -2.737214)', '2026-06-05 16:09:16', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.478224 -2.737294)'), GeomFromEWKT('SRID=4674;POINT (-40.478351 -2.737214)'))) / (select extract(epoch from '2026-06-05 16:09:16'::timestamp) - extract(epoch from '2026-06-05 16:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.478224 -2.737294)'), GeomFromEWKT('SRID=4674;POINT (-40.478351 -2.737214)'))) / (select extract(epoch from '2026-06-05 16:09:16'::timestamp) - extract(epoch from '2026-06-05 16:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.478524 -2.737117)', '2026-06-05 16:09:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.478351 -2.737214)'), GeomFromEWKT('SRID=4674;POINT (-40.478524 -2.737117)'))) / (select extract(epoch from '2026-06-05 16:09:23'::timestamp) - extract(epoch from '2026-06-05 16:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.478351 -2.737214)'), GeomFromEWKT('SRID=4674;POINT (-40.478524 -2.737117)'))) / (select extract(epoch from '2026-06-05 16:09:23'::timestamp) - extract(epoch from '2026-06-05 16:09:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.478656 -2.737044)', '2026-06-05 16:09:28', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.478524 -2.737117)'), GeomFromEWKT('SRID=4674;POINT (-40.478656 -2.737044)'))) / (select extract(epoch from '2026-06-05 16:09:28'::timestamp) - extract(epoch from '2026-06-05 16:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.478524 -2.737117)'), GeomFromEWKT('SRID=4674;POINT (-40.478656 -2.737044)'))) / (select extract(epoch from '2026-06-05 16:09:28'::timestamp) - extract(epoch from '2026-06-05 16:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.478763 -2.737001)', '2026-06-05 16:09:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.478656 -2.737044)'), GeomFromEWKT('SRID=4674;POINT (-40.478763 -2.737001)'))) / (select extract(epoch from '2026-06-05 16:09:32'::timestamp) - extract(epoch from '2026-06-05 16:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.478656 -2.737044)'), GeomFromEWKT('SRID=4674;POINT (-40.478763 -2.737001)'))) / (select extract(epoch from '2026-06-05 16:09:32'::timestamp) - extract(epoch from '2026-06-05 16:09:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.478923 -2.736962)', '2026-06-05 16:09:38', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.478763 -2.737001)'), GeomFromEWKT('SRID=4674;POINT (-40.478923 -2.736962)'))) / (select extract(epoch from '2026-06-05 16:09:38'::timestamp) - extract(epoch from '2026-06-05 16:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.478763 -2.737001)'), GeomFromEWKT('SRID=4674;POINT (-40.478923 -2.736962)'))) / (select extract(epoch from '2026-06-05 16:09:38'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.479089 -2.736907)', '2026-06-05 16:09:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.478923 -2.736962)'), GeomFromEWKT('SRID=4674;POINT (-40.479089 -2.736907)'))) / (select extract(epoch from '2026-06-05 16:09:44'::timestamp) - extract(epoch from '2026-06-05 16:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.478923 -2.736962)'), GeomFromEWKT('SRID=4674;POINT (-40.479089 -2.736907)'))) / (select extract(epoch from '2026-06-05 16:09:44'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.47923 -2.736873)', '2026-06-05 16:09:49', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.479089 -2.736907)'), GeomFromEWKT('SRID=4674;POINT (-40.47923 -2.736873)'))) / (select extract(epoch from '2026-06-05 16:09:49'::timestamp) - extract(epoch from '2026-06-05 16:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.479089 -2.736907)'), GeomFromEWKT('SRID=4674;POINT (-40.47923 -2.736873)'))) / (select extract(epoch from '2026-06-05 16:09:49'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.479382 -2.736834)', '2026-06-05 16:09:54', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.47923 -2.736873)'), GeomFromEWKT('SRID=4674;POINT (-40.479382 -2.736834)'))) / (select extract(epoch from '2026-06-05 16:09:54'::timestamp) - extract(epoch from '2026-06-05 16:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.47923 -2.736873)'), GeomFromEWKT('SRID=4674;POINT (-40.479382 -2.736834)'))) / (select extract(epoch from '2026-06-05 16:09:54'::timestamp) - extract(epoch from '2026-06-05 16:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.479546 -2.736792)', '2026-06-05 16:10:00', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.479382 -2.736834)'), GeomFromEWKT('SRID=4674;POINT (-40.479546 -2.736792)'))) / (select extract(epoch from '2026-06-05 16:10:00'::timestamp) - extract(epoch from '2026-06-05 16:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.479382 -2.736834)'), GeomFromEWKT('SRID=4674;POINT (-40.479546 -2.736792)'))) / (select extract(epoch from '2026-06-05 16:10:00'::timestamp) - extract(epoch from '2026-06-05 16:09: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'), 46721, 'SRID=4674;POINT (-40.479716 -2.736748)', '2026-06-05 16:10:06', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.479546 -2.736792)'), GeomFromEWKT('SRID=4674;POINT (-40.479716 -2.736748)'))) / (select extract(epoch from '2026-06-05 16:10:06'::timestamp) - extract(epoch from '2026-06-05 16:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.479546 -2.736792)'), GeomFromEWKT('SRID=4674;POINT (-40.479716 -2.736748)'))) / (select extract(epoch from '2026-06-05 16:10:06'::timestamp) - extract(epoch from '2026-06-05 16:10: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'), 46721, 'SRID=4674;POINT (-40.479917 -2.736696)', '2026-06-05 16:10:13', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.479716 -2.736748)'), GeomFromEWKT('SRID=4674;POINT (-40.479917 -2.736696)'))) / (select extract(epoch from '2026-06-05 16:10:13'::timestamp) - extract(epoch from '2026-06-05 16:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.479716 -2.736748)'), GeomFromEWKT('SRID=4674;POINT (-40.479917 -2.736696)'))) / (select extract(epoch from '2026-06-05 16:10:13'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.480103 -2.736624)', '2026-06-05 16:10:20', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.479917 -2.736696)'), GeomFromEWKT('SRID=4674;POINT (-40.480103 -2.736624)'))) / (select extract(epoch from '2026-06-05 16:10:20'::timestamp) - extract(epoch from '2026-06-05 16:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.479917 -2.736696)'), GeomFromEWKT('SRID=4674;POINT (-40.480103 -2.736624)'))) / (select extract(epoch from '2026-06-05 16:10:20'::timestamp) - extract(epoch from '2026-06-05 16:10: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'), 46721, 'SRID=4674;POINT (-40.480286 -2.736555)', '2026-06-05 16:10:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.480103 -2.736624)'), GeomFromEWKT('SRID=4674;POINT (-40.480286 -2.736555)'))) / (select extract(epoch from '2026-06-05 16:10:27'::timestamp) - extract(epoch from '2026-06-05 16:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.480103 -2.736624)'), GeomFromEWKT('SRID=4674;POINT (-40.480286 -2.736555)'))) / (select extract(epoch from '2026-06-05 16:10:27'::timestamp) - extract(epoch from '2026-06-05 16:10: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'), 46721, 'SRID=4674;POINT (-40.480419 -2.736495)', '2026-06-05 16:10:32', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.480286 -2.736555)'), GeomFromEWKT('SRID=4674;POINT (-40.480419 -2.736495)'))) / (select extract(epoch from '2026-06-05 16:10:32'::timestamp) - extract(epoch from '2026-06-05 16:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.480286 -2.736555)'), GeomFromEWKT('SRID=4674;POINT (-40.480419 -2.736495)'))) / (select extract(epoch from '2026-06-05 16:10:32'::timestamp) - extract(epoch from '2026-06-05 16:10: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'), 46721, 'SRID=4674;POINT (-40.480595 -2.73639)', '2026-06-05 16:10:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.480419 -2.736495)'), GeomFromEWKT('SRID=4674;POINT (-40.480595 -2.73639)'))) / (select extract(epoch from '2026-06-05 16:10:39'::timestamp) - extract(epoch from '2026-06-05 16:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.480419 -2.736495)'), GeomFromEWKT('SRID=4674;POINT (-40.480595 -2.73639)'))) / (select extract(epoch from '2026-06-05 16:10:39'::timestamp) - extract(epoch from '2026-06-05 16:10:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.480725 -2.736326)', '2026-06-05 16:10:44', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.480595 -2.73639)'), GeomFromEWKT('SRID=4674;POINT (-40.480725 -2.736326)'))) / (select extract(epoch from '2026-06-05 16:10:44'::timestamp) - extract(epoch from '2026-06-05 16:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.480595 -2.73639)'), GeomFromEWKT('SRID=4674;POINT (-40.480725 -2.736326)'))) / (select extract(epoch from '2026-06-05 16:10:44'::timestamp) - extract(epoch from '2026-06-05 16:10:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.480872 -2.73623)', '2026-06-05 16:10:50', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.480725 -2.736326)'), GeomFromEWKT('SRID=4674;POINT (-40.480872 -2.73623)'))) / (select extract(epoch from '2026-06-05 16:10:50'::timestamp) - extract(epoch from '2026-06-05 16:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.480725 -2.736326)'), GeomFromEWKT('SRID=4674;POINT (-40.480872 -2.73623)'))) / (select extract(epoch from '2026-06-05 16:10:50'::timestamp) - extract(epoch from '2026-06-05 16:10:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.481041 -2.736115)', '2026-06-05 16:10:57', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.480872 -2.73623)'), GeomFromEWKT('SRID=4674;POINT (-40.481041 -2.736115)'))) / (select extract(epoch from '2026-06-05 16:10:57'::timestamp) - extract(epoch from '2026-06-05 16:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.480872 -2.73623)'), GeomFromEWKT('SRID=4674;POINT (-40.481041 -2.736115)'))) / (select extract(epoch from '2026-06-05 16:10:57'::timestamp) - extract(epoch from '2026-06-05 16:10:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.481173 -2.736004)', '2026-06-05 16:11:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.481041 -2.736115)'), GeomFromEWKT('SRID=4674;POINT (-40.481173 -2.736004)'))) / (select extract(epoch from '2026-06-05 16:11:03'::timestamp) - extract(epoch from '2026-06-05 16:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.481041 -2.736115)'), GeomFromEWKT('SRID=4674;POINT (-40.481173 -2.736004)'))) / (select extract(epoch from '2026-06-05 16:11:03'::timestamp) - extract(epoch from '2026-06-05 16:10: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'), 46721, 'SRID=4674;POINT (-40.481295 -2.735887)', '2026-06-05 16:11:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.481173 -2.736004)'), GeomFromEWKT('SRID=4674;POINT (-40.481295 -2.735887)'))) / (select extract(epoch from '2026-06-05 16:11:09'::timestamp) - extract(epoch from '2026-06-05 16:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.481173 -2.736004)'), GeomFromEWKT('SRID=4674;POINT (-40.481295 -2.735887)'))) / (select extract(epoch from '2026-06-05 16:11:09'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.481422 -2.735772)', '2026-06-05 16:11:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.481295 -2.735887)'), GeomFromEWKT('SRID=4674;POINT (-40.481422 -2.735772)'))) / (select extract(epoch from '2026-06-05 16:11:15'::timestamp) - extract(epoch from '2026-06-05 16:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.481295 -2.735887)'), GeomFromEWKT('SRID=4674;POINT (-40.481422 -2.735772)'))) / (select extract(epoch from '2026-06-05 16:11:15'::timestamp) - extract(epoch from '2026-06-05 16:11: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'), 46721, 'SRID=4674;POINT (-40.481583 -2.735632)', '2026-06-05 16:11:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.481422 -2.735772)'), GeomFromEWKT('SRID=4674;POINT (-40.481583 -2.735632)'))) / (select extract(epoch from '2026-06-05 16:11:23'::timestamp) - extract(epoch from '2026-06-05 16:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.481422 -2.735772)'), GeomFromEWKT('SRID=4674;POINT (-40.481583 -2.735632)'))) / (select extract(epoch from '2026-06-05 16:11:23'::timestamp) - extract(epoch from '2026-06-05 16:11:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.481706 -2.735552)', '2026-06-05 16:11:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.481583 -2.735632)'), GeomFromEWKT('SRID=4674;POINT (-40.481706 -2.735552)'))) / (select extract(epoch from '2026-06-05 16:11:29'::timestamp) - extract(epoch from '2026-06-05 16:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.481583 -2.735632)'), GeomFromEWKT('SRID=4674;POINT (-40.481706 -2.735552)'))) / (select extract(epoch from '2026-06-05 16:11:29'::timestamp) - extract(epoch from '2026-06-05 16:11:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.481838 -2.735482)', '2026-06-05 16:11:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.481706 -2.735552)'), GeomFromEWKT('SRID=4674;POINT (-40.481838 -2.735482)'))) / (select extract(epoch from '2026-06-05 16:11:35'::timestamp) - extract(epoch from '2026-06-05 16:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.481706 -2.735552)'), GeomFromEWKT('SRID=4674;POINT (-40.481838 -2.735482)'))) / (select extract(epoch from '2026-06-05 16:11:35'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.481967 -2.73539)', '2026-06-05 16:11:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.481838 -2.735482)'), GeomFromEWKT('SRID=4674;POINT (-40.481967 -2.73539)'))) / (select extract(epoch from '2026-06-05 16:11:41'::timestamp) - extract(epoch from '2026-06-05 16:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.481838 -2.735482)'), GeomFromEWKT('SRID=4674;POINT (-40.481967 -2.73539)'))) / (select extract(epoch from '2026-06-05 16:11:41'::timestamp) - extract(epoch from '2026-06-05 16:11: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'), 46721, 'SRID=4674;POINT (-40.482131 -2.735281)', '2026-06-05 16:11:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.481967 -2.73539)'), GeomFromEWKT('SRID=4674;POINT (-40.482131 -2.735281)'))) / (select extract(epoch from '2026-06-05 16:11:48'::timestamp) - extract(epoch from '2026-06-05 16:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.481967 -2.73539)'), GeomFromEWKT('SRID=4674;POINT (-40.482131 -2.735281)'))) / (select extract(epoch from '2026-06-05 16:11:48'::timestamp) - extract(epoch from '2026-06-05 16:11: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'), 46721, 'SRID=4674;POINT (-40.482291 -2.735177)', '2026-06-05 16:11:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.482131 -2.735281)'), GeomFromEWKT('SRID=4674;POINT (-40.482291 -2.735177)'))) / (select extract(epoch from '2026-06-05 16:11:54'::timestamp) - extract(epoch from '2026-06-05 16:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.482131 -2.735281)'), GeomFromEWKT('SRID=4674;POINT (-40.482291 -2.735177)'))) / (select extract(epoch from '2026-06-05 16:11:54'::timestamp) - extract(epoch from '2026-06-05 16:11: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'), 46721, 'SRID=4674;POINT (-40.482416 -2.735111)', '2026-06-05 16:11:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.482291 -2.735177)'), GeomFromEWKT('SRID=4674;POINT (-40.482416 -2.735111)'))) / (select extract(epoch from '2026-06-05 16:11:59'::timestamp) - extract(epoch from '2026-06-05 16:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.482291 -2.735177)'), GeomFromEWKT('SRID=4674;POINT (-40.482416 -2.735111)'))) / (select extract(epoch from '2026-06-05 16:11:59'::timestamp) - extract(epoch from '2026-06-05 16:11:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.48256 -2.735028)', '2026-06-05 16:12:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.482416 -2.735111)'), GeomFromEWKT('SRID=4674;POINT (-40.48256 -2.735028)'))) / (select extract(epoch from '2026-06-05 16:12:04'::timestamp) - extract(epoch from '2026-06-05 16:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.482416 -2.735111)'), GeomFromEWKT('SRID=4674;POINT (-40.48256 -2.735028)'))) / (select extract(epoch from '2026-06-05 16:12:04'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.482757 -2.734912)', '2026-06-05 16:12:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.48256 -2.735028)'), GeomFromEWKT('SRID=4674;POINT (-40.482757 -2.734912)'))) / (select extract(epoch from '2026-06-05 16:12:11'::timestamp) - extract(epoch from '2026-06-05 16:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.48256 -2.735028)'), GeomFromEWKT('SRID=4674;POINT (-40.482757 -2.734912)'))) / (select extract(epoch from '2026-06-05 16:12:11'::timestamp) - extract(epoch from '2026-06-05 16:12:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.482897 -2.734825)', '2026-06-05 16:12:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.482757 -2.734912)'), GeomFromEWKT('SRID=4674;POINT (-40.482897 -2.734825)'))) / (select extract(epoch from '2026-06-05 16:12:17'::timestamp) - extract(epoch from '2026-06-05 16:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.482757 -2.734912)'), GeomFromEWKT('SRID=4674;POINT (-40.482897 -2.734825)'))) / (select extract(epoch from '2026-06-05 16:12:17'::timestamp) - extract(epoch from '2026-06-05 16:12: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'), 46721, 'SRID=4674;POINT (-40.483017 -2.734763)', '2026-06-05 16:12:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.482897 -2.734825)'), GeomFromEWKT('SRID=4674;POINT (-40.483017 -2.734763)'))) / (select extract(epoch from '2026-06-05 16:12:22'::timestamp) - extract(epoch from '2026-06-05 16:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.482897 -2.734825)'), GeomFromEWKT('SRID=4674;POINT (-40.483017 -2.734763)'))) / (select extract(epoch from '2026-06-05 16:12:22'::timestamp) - extract(epoch from '2026-06-05 16:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.483143 -2.734705)', '2026-06-05 16:12:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.483017 -2.734763)'), GeomFromEWKT('SRID=4674;POINT (-40.483143 -2.734705)'))) / (select extract(epoch from '2026-06-05 16:12:27'::timestamp) - extract(epoch from '2026-06-05 16:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.483017 -2.734763)'), GeomFromEWKT('SRID=4674;POINT (-40.483143 -2.734705)'))) / (select extract(epoch from '2026-06-05 16:12:27'::timestamp) - extract(epoch from '2026-06-05 16:12:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.483325 -2.734622)', '2026-06-05 16:12:34', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.483143 -2.734705)'), GeomFromEWKT('SRID=4674;POINT (-40.483325 -2.734622)'))) / (select extract(epoch from '2026-06-05 16:12:34'::timestamp) - extract(epoch from '2026-06-05 16:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.483143 -2.734705)'), GeomFromEWKT('SRID=4674;POINT (-40.483325 -2.734622)'))) / (select extract(epoch from '2026-06-05 16:12:34'::timestamp) - extract(epoch from '2026-06-05 16:12:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.483418 -2.734572)', '2026-06-05 16:12:38', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.483325 -2.734622)'), GeomFromEWKT('SRID=4674;POINT (-40.483418 -2.734572)'))) / (select extract(epoch from '2026-06-05 16:12:38'::timestamp) - extract(epoch from '2026-06-05 16:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.483325 -2.734622)'), GeomFromEWKT('SRID=4674;POINT (-40.483418 -2.734572)'))) / (select extract(epoch from '2026-06-05 16:12:38'::timestamp) - extract(epoch from '2026-06-05 16:12: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'), 46721, 'SRID=4674;POINT (-40.483616 -2.734488)', '2026-06-05 16:12:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.483418 -2.734572)'), GeomFromEWKT('SRID=4674;POINT (-40.483616 -2.734488)'))) / (select extract(epoch from '2026-06-05 16:12:45'::timestamp) - extract(epoch from '2026-06-05 16:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.483418 -2.734572)'), GeomFromEWKT('SRID=4674;POINT (-40.483616 -2.734488)'))) / (select extract(epoch from '2026-06-05 16:12:45'::timestamp) - extract(epoch from '2026-06-05 16:12: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'), 46721, 'SRID=4674;POINT (-40.483771 -2.734449)', '2026-06-05 16:12:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.483616 -2.734488)'), GeomFromEWKT('SRID=4674;POINT (-40.483771 -2.734449)'))) / (select extract(epoch from '2026-06-05 16:12:50'::timestamp) - extract(epoch from '2026-06-05 16:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.483616 -2.734488)'), GeomFromEWKT('SRID=4674;POINT (-40.483771 -2.734449)'))) / (select extract(epoch from '2026-06-05 16:12:50'::timestamp) - extract(epoch from '2026-06-05 16:12:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.483882 -2.734416)', '2026-06-05 16:12:54', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.483771 -2.734449)'), GeomFromEWKT('SRID=4674;POINT (-40.483882 -2.734416)'))) / (select extract(epoch from '2026-06-05 16:12:54'::timestamp) - extract(epoch from '2026-06-05 16:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.483771 -2.734449)'), GeomFromEWKT('SRID=4674;POINT (-40.483882 -2.734416)'))) / (select extract(epoch from '2026-06-05 16:12:54'::timestamp) - extract(epoch from '2026-06-05 16:12: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'), 46721, 'SRID=4674;POINT (-40.484044 -2.73437)', '2026-06-05 16:12:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.483882 -2.734416)'), GeomFromEWKT('SRID=4674;POINT (-40.484044 -2.73437)'))) / (select extract(epoch from '2026-06-05 16:12:59'::timestamp) - extract(epoch from '2026-06-05 16:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.483882 -2.734416)'), GeomFromEWKT('SRID=4674;POINT (-40.484044 -2.73437)'))) / (select extract(epoch from '2026-06-05 16:12:59'::timestamp) - extract(epoch from '2026-06-05 16:12:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.484226 -2.734289)', '2026-06-05 16:13:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.484044 -2.73437)'), GeomFromEWKT('SRID=4674;POINT (-40.484226 -2.734289)'))) / (select extract(epoch from '2026-06-05 16:13:06'::timestamp) - extract(epoch from '2026-06-05 16:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.484044 -2.73437)'), GeomFromEWKT('SRID=4674;POINT (-40.484226 -2.734289)'))) / (select extract(epoch from '2026-06-05 16:13:06'::timestamp) - extract(epoch from '2026-06-05 16:12: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'), 46721, 'SRID=4674;POINT (-40.484354 -2.734216)', '2026-06-05 16:13:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.484226 -2.734289)'), GeomFromEWKT('SRID=4674;POINT (-40.484354 -2.734216)'))) / (select extract(epoch from '2026-06-05 16:13:11'::timestamp) - extract(epoch from '2026-06-05 16:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.484226 -2.734289)'), GeomFromEWKT('SRID=4674;POINT (-40.484354 -2.734216)'))) / (select extract(epoch from '2026-06-05 16:13:11'::timestamp) - extract(epoch from '2026-06-05 16:13:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.484494 -2.734143)', '2026-06-05 16:13:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.484354 -2.734216)'), GeomFromEWKT('SRID=4674;POINT (-40.484494 -2.734143)'))) / (select extract(epoch from '2026-06-05 16:13:16'::timestamp) - extract(epoch from '2026-06-05 16:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.484354 -2.734216)'), GeomFromEWKT('SRID=4674;POINT (-40.484494 -2.734143)'))) / (select extract(epoch from '2026-06-05 16:13:16'::timestamp) - extract(epoch from '2026-06-05 16:13:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.484624 -2.734085)', '2026-06-05 16:13:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.484494 -2.734143)'), GeomFromEWKT('SRID=4674;POINT (-40.484624 -2.734085)'))) / (select extract(epoch from '2026-06-05 16:13:21'::timestamp) - extract(epoch from '2026-06-05 16:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.484494 -2.734143)'), GeomFromEWKT('SRID=4674;POINT (-40.484624 -2.734085)'))) / (select extract(epoch from '2026-06-05 16:13:21'::timestamp) - extract(epoch from '2026-06-05 16:13: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'), 46721, 'SRID=4674;POINT (-40.484779 -2.734021)', '2026-06-05 16:13:27', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.484624 -2.734085)'), GeomFromEWKT('SRID=4674;POINT (-40.484779 -2.734021)'))) / (select extract(epoch from '2026-06-05 16:13:27'::timestamp) - extract(epoch from '2026-06-05 16:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.484624 -2.734085)'), GeomFromEWKT('SRID=4674;POINT (-40.484779 -2.734021)'))) / (select extract(epoch from '2026-06-05 16:13:27'::timestamp) - extract(epoch from '2026-06-05 16:13: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'), 46721, 'SRID=4674;POINT (-40.484939 -2.73394)', '2026-06-05 16:13:33', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.484779 -2.734021)'), GeomFromEWKT('SRID=4674;POINT (-40.484939 -2.73394)'))) / (select extract(epoch from '2026-06-05 16:13:33'::timestamp) - extract(epoch from '2026-06-05 16:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.484779 -2.734021)'), GeomFromEWKT('SRID=4674;POINT (-40.484939 -2.73394)'))) / (select extract(epoch from '2026-06-05 16:13:33'::timestamp) - extract(epoch from '2026-06-05 16:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.48506 -2.733876)', '2026-06-05 16:13:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.484939 -2.73394)'), GeomFromEWKT('SRID=4674;POINT (-40.48506 -2.733876)'))) / (select extract(epoch from '2026-06-05 16:13:38'::timestamp) - extract(epoch from '2026-06-05 16:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.484939 -2.73394)'), GeomFromEWKT('SRID=4674;POINT (-40.48506 -2.733876)'))) / (select extract(epoch from '2026-06-05 16:13:38'::timestamp) - extract(epoch from '2026-06-05 16:13: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'), 46721, 'SRID=4674;POINT (-40.485213 -2.733795)', '2026-06-05 16:13:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.48506 -2.733876)'), GeomFromEWKT('SRID=4674;POINT (-40.485213 -2.733795)'))) / (select extract(epoch from '2026-06-05 16:13:44'::timestamp) - extract(epoch from '2026-06-05 16:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.48506 -2.733876)'), GeomFromEWKT('SRID=4674;POINT (-40.485213 -2.733795)'))) / (select extract(epoch from '2026-06-05 16:13:44'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.485375 -2.733726)', '2026-06-05 16:13:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.485213 -2.733795)'), GeomFromEWKT('SRID=4674;POINT (-40.485375 -2.733726)'))) / (select extract(epoch from '2026-06-05 16:13:50'::timestamp) - extract(epoch from '2026-06-05 16:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.485213 -2.733795)'), GeomFromEWKT('SRID=4674;POINT (-40.485375 -2.733726)'))) / (select extract(epoch from '2026-06-05 16:13:50'::timestamp) - extract(epoch from '2026-06-05 16:13:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.485549 -2.733655)', '2026-06-05 16:13:57', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.485375 -2.733726)'), GeomFromEWKT('SRID=4674;POINT (-40.485549 -2.733655)'))) / (select extract(epoch from '2026-06-05 16:13:57'::timestamp) - extract(epoch from '2026-06-05 16:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.485375 -2.733726)'), GeomFromEWKT('SRID=4674;POINT (-40.485549 -2.733655)'))) / (select extract(epoch from '2026-06-05 16:13:57'::timestamp) - extract(epoch from '2026-06-05 16:13: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'), 46721, 'SRID=4674;POINT (-40.485734 -2.733588)', '2026-06-05 16:14:03', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.485549 -2.733655)'), GeomFromEWKT('SRID=4674;POINT (-40.485734 -2.733588)'))) / (select extract(epoch from '2026-06-05 16:14:03'::timestamp) - extract(epoch from '2026-06-05 16:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.485549 -2.733655)'), GeomFromEWKT('SRID=4674;POINT (-40.485734 -2.733588)'))) / (select extract(epoch from '2026-06-05 16:14:03'::timestamp) - extract(epoch from '2026-06-05 16:13:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.485918 -2.733504)', '2026-06-05 16:14:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.485734 -2.733588)'), GeomFromEWKT('SRID=4674;POINT (-40.485918 -2.733504)'))) / (select extract(epoch from '2026-06-05 16:14:10'::timestamp) - extract(epoch from '2026-06-05 16:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.485734 -2.733588)'), GeomFromEWKT('SRID=4674;POINT (-40.485918 -2.733504)'))) / (select extract(epoch from '2026-06-05 16:14:10'::timestamp) - extract(epoch from '2026-06-05 16:14:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.486122 -2.73343)', '2026-06-05 16:14:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.485918 -2.733504)'), GeomFromEWKT('SRID=4674;POINT (-40.486122 -2.73343)'))) / (select extract(epoch from '2026-06-05 16:14:18'::timestamp) - extract(epoch from '2026-06-05 16:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.485918 -2.733504)'), GeomFromEWKT('SRID=4674;POINT (-40.486122 -2.73343)'))) / (select extract(epoch from '2026-06-05 16:14:18'::timestamp) - extract(epoch from '2026-06-05 16:14:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.486303 -2.733387)', '2026-06-05 16:14:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486122 -2.73343)'), GeomFromEWKT('SRID=4674;POINT (-40.486303 -2.733387)'))) / (select extract(epoch from '2026-06-05 16:14:25'::timestamp) - extract(epoch from '2026-06-05 16:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486122 -2.73343)'), GeomFromEWKT('SRID=4674;POINT (-40.486303 -2.733387)'))) / (select extract(epoch from '2026-06-05 16:14:25'::timestamp) - extract(epoch from '2026-06-05 16:14:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.486428 -2.733354)', '2026-06-05 16:14:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486303 -2.733387)'), GeomFromEWKT('SRID=4674;POINT (-40.486428 -2.733354)'))) / (select extract(epoch from '2026-06-05 16:14:30'::timestamp) - extract(epoch from '2026-06-05 16:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486303 -2.733387)'), GeomFromEWKT('SRID=4674;POINT (-40.486428 -2.733354)'))) / (select extract(epoch from '2026-06-05 16:14:30'::timestamp) - extract(epoch from '2026-06-05 16:14:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.486587 -2.733313)', '2026-06-05 16:14:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486428 -2.733354)'), GeomFromEWKT('SRID=4674;POINT (-40.486587 -2.733313)'))) / (select extract(epoch from '2026-06-05 16:14:36'::timestamp) - extract(epoch from '2026-06-05 16:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486428 -2.733354)'), GeomFromEWKT('SRID=4674;POINT (-40.486587 -2.733313)'))) / (select extract(epoch from '2026-06-05 16:14:36'::timestamp) - extract(epoch from '2026-06-05 16:14: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'), 46721, 'SRID=4674;POINT (-40.486711 -2.733243)', '2026-06-05 16:14:41', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486587 -2.733313)'), GeomFromEWKT('SRID=4674;POINT (-40.486711 -2.733243)'))) / (select extract(epoch from '2026-06-05 16:14:41'::timestamp) - extract(epoch from '2026-06-05 16:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486587 -2.733313)'), GeomFromEWKT('SRID=4674;POINT (-40.486711 -2.733243)'))) / (select extract(epoch from '2026-06-05 16:14:41'::timestamp) - extract(epoch from '2026-06-05 16:14: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'), 46721, 'SRID=4674;POINT (-40.486813 -2.733186)', '2026-06-05 16:14:45', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486711 -2.733243)'), GeomFromEWKT('SRID=4674;POINT (-40.486813 -2.733186)'))) / (select extract(epoch from '2026-06-05 16:14:45'::timestamp) - extract(epoch from '2026-06-05 16:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486711 -2.733243)'), GeomFromEWKT('SRID=4674;POINT (-40.486813 -2.733186)'))) / (select extract(epoch from '2026-06-05 16:14:45'::timestamp) - extract(epoch from '2026-06-05 16:14: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'), 46721, 'SRID=4674;POINT (-40.486961 -2.733103)', '2026-06-05 16:14:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486813 -2.733186)'), GeomFromEWKT('SRID=4674;POINT (-40.486961 -2.733103)'))) / (select extract(epoch from '2026-06-05 16:14:50'::timestamp) - extract(epoch from '2026-06-05 16:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486813 -2.733186)'), GeomFromEWKT('SRID=4674;POINT (-40.486961 -2.733103)'))) / (select extract(epoch from '2026-06-05 16:14:50'::timestamp) - extract(epoch from '2026-06-05 16:14: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'), 46721, 'SRID=4674;POINT (-40.487089 -2.733022)', '2026-06-05 16:14:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486961 -2.733103)'), GeomFromEWKT('SRID=4674;POINT (-40.487089 -2.733022)'))) / (select extract(epoch from '2026-06-05 16:14:55'::timestamp) - extract(epoch from '2026-06-05 16:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.486961 -2.733103)'), GeomFromEWKT('SRID=4674;POINT (-40.487089 -2.733022)'))) / (select extract(epoch from '2026-06-05 16:14:55'::timestamp) - extract(epoch from '2026-06-05 16:14:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.487245 -2.732912)', '2026-06-05 16:15:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487089 -2.733022)'), GeomFromEWKT('SRID=4674;POINT (-40.487245 -2.732912)'))) / (select extract(epoch from '2026-06-05 16:15:01'::timestamp) - extract(epoch from '2026-06-05 16:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487089 -2.733022)'), GeomFromEWKT('SRID=4674;POINT (-40.487245 -2.732912)'))) / (select extract(epoch from '2026-06-05 16:15:01'::timestamp) - extract(epoch from '2026-06-05 16:14: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'), 46721, 'SRID=4674;POINT (-40.487379 -2.732794)', '2026-06-05 16:15:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487245 -2.732912)'), GeomFromEWKT('SRID=4674;POINT (-40.487379 -2.732794)'))) / (select extract(epoch from '2026-06-05 16:15:07'::timestamp) - extract(epoch from '2026-06-05 16:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487245 -2.732912)'), GeomFromEWKT('SRID=4674;POINT (-40.487379 -2.732794)'))) / (select extract(epoch from '2026-06-05 16:15:07'::timestamp) - extract(epoch from '2026-06-05 16:15:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.487517 -2.732659)', '2026-06-05 16:15:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487379 -2.732794)'), GeomFromEWKT('SRID=4674;POINT (-40.487517 -2.732659)'))) / (select extract(epoch from '2026-06-05 16:15:14'::timestamp) - extract(epoch from '2026-06-05 16:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487379 -2.732794)'), GeomFromEWKT('SRID=4674;POINT (-40.487517 -2.732659)'))) / (select extract(epoch from '2026-06-05 16:15:14'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.487651 -2.732555)', '2026-06-05 16:15:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487517 -2.732659)'), GeomFromEWKT('SRID=4674;POINT (-40.487651 -2.732555)'))) / (select extract(epoch from '2026-06-05 16:15:20'::timestamp) - extract(epoch from '2026-06-05 16:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487517 -2.732659)'), GeomFromEWKT('SRID=4674;POINT (-40.487651 -2.732555)'))) / (select extract(epoch from '2026-06-05 16:15:20'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.487763 -2.732478)', '2026-06-05 16:15:25', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487651 -2.732555)'), GeomFromEWKT('SRID=4674;POINT (-40.487763 -2.732478)'))) / (select extract(epoch from '2026-06-05 16:15:25'::timestamp) - extract(epoch from '2026-06-05 16:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487651 -2.732555)'), GeomFromEWKT('SRID=4674;POINT (-40.487763 -2.732478)'))) / (select extract(epoch from '2026-06-05 16:15:25'::timestamp) - extract(epoch from '2026-06-05 16:15: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'), 46721, 'SRID=4674;POINT (-40.487906 -2.732399)', '2026-06-05 16:15:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487763 -2.732478)'), GeomFromEWKT('SRID=4674;POINT (-40.487906 -2.732399)'))) / (select extract(epoch from '2026-06-05 16:15:30'::timestamp) - extract(epoch from '2026-06-05 16:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487763 -2.732478)'), GeomFromEWKT('SRID=4674;POINT (-40.487906 -2.732399)'))) / (select extract(epoch from '2026-06-05 16:15:30'::timestamp) - extract(epoch from '2026-06-05 16:15: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'), 46721, 'SRID=4674;POINT (-40.488048 -2.732329)', '2026-06-05 16:15:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487906 -2.732399)'), GeomFromEWKT('SRID=4674;POINT (-40.488048 -2.732329)'))) / (select extract(epoch from '2026-06-05 16:15:36'::timestamp) - extract(epoch from '2026-06-05 16:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.487906 -2.732399)'), GeomFromEWKT('SRID=4674;POINT (-40.488048 -2.732329)'))) / (select extract(epoch from '2026-06-05 16:15:36'::timestamp) - extract(epoch from '2026-06-05 16:15: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'), 46721, 'SRID=4674;POINT (-40.48824 -2.732258)', '2026-06-05 16:15:44', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488048 -2.732329)'), GeomFromEWKT('SRID=4674;POINT (-40.48824 -2.732258)'))) / (select extract(epoch from '2026-06-05 16:15:44'::timestamp) - extract(epoch from '2026-06-05 16:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488048 -2.732329)'), GeomFromEWKT('SRID=4674;POINT (-40.48824 -2.732258)'))) / (select extract(epoch from '2026-06-05 16:15:44'::timestamp) - extract(epoch from '2026-06-05 16:15: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'), 46721, 'SRID=4674;POINT (-40.488428 -2.732179)', '2026-06-05 16:15:51', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.48824 -2.732258)'), GeomFromEWKT('SRID=4674;POINT (-40.488428 -2.732179)'))) / (select extract(epoch from '2026-06-05 16:15:51'::timestamp) - extract(epoch from '2026-06-05 16:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.48824 -2.732258)'), GeomFromEWKT('SRID=4674;POINT (-40.488428 -2.732179)'))) / (select extract(epoch from '2026-06-05 16:15:51'::timestamp) - extract(epoch from '2026-06-05 16:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.488587 -2.732094)', '2026-06-05 16:15:57', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488428 -2.732179)'), GeomFromEWKT('SRID=4674;POINT (-40.488587 -2.732094)'))) / (select extract(epoch from '2026-06-05 16:15:57'::timestamp) - extract(epoch from '2026-06-05 16:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488428 -2.732179)'), GeomFromEWKT('SRID=4674;POINT (-40.488587 -2.732094)'))) / (select extract(epoch from '2026-06-05 16:15:57'::timestamp) - extract(epoch from '2026-06-05 16:15:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.488727 -2.732049)', '2026-06-05 16:16:02', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488587 -2.732094)'), GeomFromEWKT('SRID=4674;POINT (-40.488727 -2.732049)'))) / (select extract(epoch from '2026-06-05 16:16:02'::timestamp) - extract(epoch from '2026-06-05 16:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488587 -2.732094)'), GeomFromEWKT('SRID=4674;POINT (-40.488727 -2.732049)'))) / (select extract(epoch from '2026-06-05 16:16:02'::timestamp) - extract(epoch from '2026-06-05 16:15:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.488868 -2.73201)', '2026-06-05 16:16:07', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488727 -2.732049)'), GeomFromEWKT('SRID=4674;POINT (-40.488868 -2.73201)'))) / (select extract(epoch from '2026-06-05 16:16:07'::timestamp) - extract(epoch from '2026-06-05 16:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488727 -2.732049)'), GeomFromEWKT('SRID=4674;POINT (-40.488868 -2.73201)'))) / (select extract(epoch from '2026-06-05 16:16:07'::timestamp) - extract(epoch from '2026-06-05 16:16:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.488964 -2.731953)', '2026-06-05 16:16:11', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488868 -2.73201)'), GeomFromEWKT('SRID=4674;POINT (-40.488964 -2.731953)'))) / (select extract(epoch from '2026-06-05 16:16:11'::timestamp) - extract(epoch from '2026-06-05 16:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488868 -2.73201)'), GeomFromEWKT('SRID=4674;POINT (-40.488964 -2.731953)'))) / (select extract(epoch from '2026-06-05 16:16:11'::timestamp) - extract(epoch from '2026-06-05 16:16:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.489078 -2.731882)', '2026-06-05 16:16:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488964 -2.731953)'), GeomFromEWKT('SRID=4674;POINT (-40.489078 -2.731882)'))) / (select extract(epoch from '2026-06-05 16:16:16'::timestamp) - extract(epoch from '2026-06-05 16:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.488964 -2.731953)'), GeomFromEWKT('SRID=4674;POINT (-40.489078 -2.731882)'))) / (select extract(epoch from '2026-06-05 16:16:16'::timestamp) - extract(epoch from '2026-06-05 16:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.489143 -2.731816)', '2026-06-05 16:16:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489078 -2.731882)'), GeomFromEWKT('SRID=4674;POINT (-40.489143 -2.731816)'))) / (select extract(epoch from '2026-06-05 16:16:20'::timestamp) - extract(epoch from '2026-06-05 16:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489078 -2.731882)'), GeomFromEWKT('SRID=4674;POINT (-40.489143 -2.731816)'))) / (select extract(epoch from '2026-06-05 16:16:20'::timestamp) - extract(epoch from '2026-06-05 16:16:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.489206 -2.731712)', '2026-06-05 16:16:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489143 -2.731816)'), GeomFromEWKT('SRID=4674;POINT (-40.489206 -2.731712)'))) / (select extract(epoch from '2026-06-05 16:16:27'::timestamp) - extract(epoch from '2026-06-05 16:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489143 -2.731816)'), GeomFromEWKT('SRID=4674;POINT (-40.489206 -2.731712)'))) / (select extract(epoch from '2026-06-05 16:16:27'::timestamp) - extract(epoch from '2026-06-05 16:16:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.489245 -2.731643)', '2026-06-05 16:16:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489206 -2.731712)'), GeomFromEWKT('SRID=4674;POINT (-40.489245 -2.731643)'))) / (select extract(epoch from '2026-06-05 16:16:34'::timestamp) - extract(epoch from '2026-06-05 16:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489206 -2.731712)'), GeomFromEWKT('SRID=4674;POINT (-40.489245 -2.731643)'))) / (select extract(epoch from '2026-06-05 16:16:34'::timestamp) - extract(epoch from '2026-06-05 16:16: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'), 46721, 'SRID=4674;POINT (-40.489287 -2.73159)', '2026-06-05 16:16:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489245 -2.731643)'), GeomFromEWKT('SRID=4674;POINT (-40.489287 -2.73159)'))) / (select extract(epoch from '2026-06-05 16:16:44'::timestamp) - extract(epoch from '2026-06-05 16:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489245 -2.731643)'), GeomFromEWKT('SRID=4674;POINT (-40.489287 -2.73159)'))) / (select extract(epoch from '2026-06-05 16:16:44'::timestamp) - extract(epoch from '2026-06-05 16:16:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.489305 -2.731573)', '2026-06-05 16:16:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489287 -2.73159)'), GeomFromEWKT('SRID=4674;POINT (-40.489305 -2.731573)'))) / (select extract(epoch from '2026-06-05 16:16:49'::timestamp) - extract(epoch from '2026-06-05 16:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489287 -2.73159)'), GeomFromEWKT('SRID=4674;POINT (-40.489305 -2.731573)'))) / (select extract(epoch from '2026-06-05 16:16:49'::timestamp) - extract(epoch from '2026-06-05 16:16: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'), 46721, 'SRID=4674;POINT (-40.489309 -2.731567)', '2026-06-05 16:16:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489305 -2.731573)'), GeomFromEWKT('SRID=4674;POINT (-40.489309 -2.731567)'))) / (select extract(epoch from '2026-06-05 16:16:50'::timestamp) - extract(epoch from '2026-06-05 16:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489305 -2.731573)'), GeomFromEWKT('SRID=4674;POINT (-40.489309 -2.731567)'))) / (select extract(epoch from '2026-06-05 16:16:50'::timestamp) - extract(epoch from '2026-06-05 16:16:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.489353 -2.731518)', '2026-06-05 16:17:00', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489309 -2.731567)'), GeomFromEWKT('SRID=4674;POINT (-40.489353 -2.731518)'))) / (select extract(epoch from '2026-06-05 16:17:00'::timestamp) - extract(epoch from '2026-06-05 16:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489309 -2.731567)'), GeomFromEWKT('SRID=4674;POINT (-40.489353 -2.731518)'))) / (select extract(epoch from '2026-06-05 16:17:00'::timestamp) - extract(epoch from '2026-06-05 16:16: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'), 46721, 'SRID=4674;POINT (-40.489389 -2.731496)', '2026-06-05 16:17:09', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489353 -2.731518)'), GeomFromEWKT('SRID=4674;POINT (-40.489389 -2.731496)'))) / (select extract(epoch from '2026-06-05 16:17:09'::timestamp) - extract(epoch from '2026-06-05 16:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489353 -2.731518)'), GeomFromEWKT('SRID=4674;POINT (-40.489389 -2.731496)'))) / (select extract(epoch from '2026-06-05 16:17:09'::timestamp) - extract(epoch from '2026-06-05 16:17: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'), 46721, 'SRID=4674;POINT (-40.489424 -2.73149)', '2026-06-05 16:17:17', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489389 -2.731496)'), GeomFromEWKT('SRID=4674;POINT (-40.489424 -2.73149)'))) / (select extract(epoch from '2026-06-05 16:17:17'::timestamp) - extract(epoch from '2026-06-05 16:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489389 -2.731496)'), GeomFromEWKT('SRID=4674;POINT (-40.489424 -2.73149)'))) / (select extract(epoch from '2026-06-05 16:17:17'::timestamp) - extract(epoch from '2026-06-05 16:17:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.489464 -2.731499)', '2026-06-05 16:17:26', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489424 -2.73149)'), GeomFromEWKT('SRID=4674;POINT (-40.489464 -2.731499)'))) / (select extract(epoch from '2026-06-05 16:17:26'::timestamp) - extract(epoch from '2026-06-05 16:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489424 -2.73149)'), GeomFromEWKT('SRID=4674;POINT (-40.489464 -2.731499)'))) / (select extract(epoch from '2026-06-05 16:17:26'::timestamp) - extract(epoch from '2026-06-05 16:17:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.489526 -2.731554)', '2026-06-05 16:17:39', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489464 -2.731499)'), GeomFromEWKT('SRID=4674;POINT (-40.489526 -2.731554)'))) / (select extract(epoch from '2026-06-05 16:17:39'::timestamp) - extract(epoch from '2026-06-05 16:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489464 -2.731499)'), GeomFromEWKT('SRID=4674;POINT (-40.489526 -2.731554)'))) / (select extract(epoch from '2026-06-05 16:17:39'::timestamp) - extract(epoch from '2026-06-05 16:17:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.489573 -2.731577)', '2026-06-05 16:17:48', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489526 -2.731554)'), GeomFromEWKT('SRID=4674;POINT (-40.489573 -2.731577)'))) / (select extract(epoch from '2026-06-05 16:17:48'::timestamp) - extract(epoch from '2026-06-05 16:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489526 -2.731554)'), GeomFromEWKT('SRID=4674;POINT (-40.489573 -2.731577)'))) / (select extract(epoch from '2026-06-05 16:17:48'::timestamp) - extract(epoch from '2026-06-05 16:17: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'), 46721, 'SRID=4674;POINT (-40.489637 -2.731588)', '2026-06-05 16:18:00', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489573 -2.731577)'), GeomFromEWKT('SRID=4674;POINT (-40.489637 -2.731588)'))) / (select extract(epoch from '2026-06-05 16:18:00'::timestamp) - extract(epoch from '2026-06-05 16:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489573 -2.731577)'), GeomFromEWKT('SRID=4674;POINT (-40.489637 -2.731588)'))) / (select extract(epoch from '2026-06-05 16:18:00'::timestamp) - extract(epoch from '2026-06-05 16:17:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.489696 -2.7316)', '2026-06-05 16:18:13', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489637 -2.731588)'), GeomFromEWKT('SRID=4674;POINT (-40.489696 -2.7316)'))) / (select extract(epoch from '2026-06-05 16:18:13'::timestamp) - extract(epoch from '2026-06-05 16:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489637 -2.731588)'), GeomFromEWKT('SRID=4674;POINT (-40.489696 -2.7316)'))) / (select extract(epoch from '2026-06-05 16:18:13'::timestamp) - extract(epoch from '2026-06-05 16:18:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.489752 -2.73161)', '2026-06-05 16:18:23', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489696 -2.7316)'), GeomFromEWKT('SRID=4674;POINT (-40.489752 -2.73161)'))) / (select extract(epoch from '2026-06-05 16:18:23'::timestamp) - extract(epoch from '2026-06-05 16:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489696 -2.7316)'), GeomFromEWKT('SRID=4674;POINT (-40.489752 -2.73161)'))) / (select extract(epoch from '2026-06-05 16:18:23'::timestamp) - extract(epoch from '2026-06-05 16:18:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.489827 -2.731598)', '2026-06-05 16:18:37', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489752 -2.73161)'), GeomFromEWKT('SRID=4674;POINT (-40.489827 -2.731598)'))) / (select extract(epoch from '2026-06-05 16:18:37'::timestamp) - extract(epoch from '2026-06-05 16:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489752 -2.73161)'), GeomFromEWKT('SRID=4674;POINT (-40.489827 -2.731598)'))) / (select extract(epoch from '2026-06-05 16:18:37'::timestamp) - extract(epoch from '2026-06-05 16:18: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'), 46721, 'SRID=4674;POINT (-40.489871 -2.73159)', '2026-06-05 16:18:45', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489827 -2.731598)'), GeomFromEWKT('SRID=4674;POINT (-40.489871 -2.73159)'))) / (select extract(epoch from '2026-06-05 16:18:45'::timestamp) - extract(epoch from '2026-06-05 16:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489827 -2.731598)'), GeomFromEWKT('SRID=4674;POINT (-40.489871 -2.73159)'))) / (select extract(epoch from '2026-06-05 16:18:45'::timestamp) - extract(epoch from '2026-06-05 16:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.489923 -2.731574)', '2026-06-05 16:18:56', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489871 -2.73159)'), GeomFromEWKT('SRID=4674;POINT (-40.489923 -2.731574)'))) / (select extract(epoch from '2026-06-05 16:18:56'::timestamp) - extract(epoch from '2026-06-05 16:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489871 -2.73159)'), GeomFromEWKT('SRID=4674;POINT (-40.489923 -2.731574)'))) / (select extract(epoch from '2026-06-05 16:18:56'::timestamp) - extract(epoch from '2026-06-05 16:18:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.489972 -2.731556)', '2026-06-05 16:19:04', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489923 -2.731574)'), GeomFromEWKT('SRID=4674;POINT (-40.489972 -2.731556)'))) / (select extract(epoch from '2026-06-05 16:19:04'::timestamp) - extract(epoch from '2026-06-05 16:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489923 -2.731574)'), GeomFromEWKT('SRID=4674;POINT (-40.489972 -2.731556)'))) / (select extract(epoch from '2026-06-05 16:19:04'::timestamp) - extract(epoch from '2026-06-05 16:18:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.490002 -2.731548)', '2026-06-05 16:19:11', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489972 -2.731556)'), GeomFromEWKT('SRID=4674;POINT (-40.490002 -2.731548)'))) / (select extract(epoch from '2026-06-05 16:19:11'::timestamp) - extract(epoch from '2026-06-05 16:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.489972 -2.731556)'), GeomFromEWKT('SRID=4674;POINT (-40.490002 -2.731548)'))) / (select extract(epoch from '2026-06-05 16:19:11'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.490073 -2.731543)', '2026-06-05 16:19:24', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490002 -2.731548)'), GeomFromEWKT('SRID=4674;POINT (-40.490073 -2.731543)'))) / (select extract(epoch from '2026-06-05 16:19:24'::timestamp) - extract(epoch from '2026-06-05 16:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490002 -2.731548)'), GeomFromEWKT('SRID=4674;POINT (-40.490073 -2.731543)'))) / (select extract(epoch from '2026-06-05 16:19:24'::timestamp) - extract(epoch from '2026-06-05 16:19: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'), 46721, 'SRID=4674;POINT (-40.49012 -2.731531)', '2026-06-05 16:19:33', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490073 -2.731543)'), GeomFromEWKT('SRID=4674;POINT (-40.49012 -2.731531)'))) / (select extract(epoch from '2026-06-05 16:19:33'::timestamp) - extract(epoch from '2026-06-05 16:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490073 -2.731543)'), GeomFromEWKT('SRID=4674;POINT (-40.49012 -2.731531)'))) / (select extract(epoch from '2026-06-05 16:19:33'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.490177 -2.731531)', '2026-06-05 16:19:44', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49012 -2.731531)'), GeomFromEWKT('SRID=4674;POINT (-40.490177 -2.731531)'))) / (select extract(epoch from '2026-06-05 16:19:44'::timestamp) - extract(epoch from '2026-06-05 16:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49012 -2.731531)'), GeomFromEWKT('SRID=4674;POINT (-40.490177 -2.731531)'))) / (select extract(epoch from '2026-06-05 16:19:44'::timestamp) - extract(epoch from '2026-06-05 16:19: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'), 46721, 'SRID=4674;POINT (-40.490196 -2.731536)', '2026-06-05 16:19:50', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490177 -2.731531)'), GeomFromEWKT('SRID=4674;POINT (-40.490196 -2.731536)'))) / (select extract(epoch from '2026-06-05 16:19:50'::timestamp) - extract(epoch from '2026-06-05 16:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490177 -2.731531)'), GeomFromEWKT('SRID=4674;POINT (-40.490196 -2.731536)'))) / (select extract(epoch from '2026-06-05 16:19:50'::timestamp) - extract(epoch from '2026-06-05 16:19:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.490224 -2.731535)', '2026-06-05 16:19:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490196 -2.731536)'), GeomFromEWKT('SRID=4674;POINT (-40.490224 -2.731535)'))) / (select extract(epoch from '2026-06-05 16:19:58'::timestamp) - extract(epoch from '2026-06-05 16:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490196 -2.731536)'), GeomFromEWKT('SRID=4674;POINT (-40.490224 -2.731535)'))) / (select extract(epoch from '2026-06-05 16:19:58'::timestamp) - extract(epoch from '2026-06-05 16:19: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'), 46721, 'SRID=4674;POINT (-40.49027 -2.731543)', '2026-06-05 16:20:07', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490224 -2.731535)'), GeomFromEWKT('SRID=4674;POINT (-40.49027 -2.731543)'))) / (select extract(epoch from '2026-06-05 16:20:07'::timestamp) - extract(epoch from '2026-06-05 16:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490224 -2.731535)'), GeomFromEWKT('SRID=4674;POINT (-40.49027 -2.731543)'))) / (select extract(epoch from '2026-06-05 16:20:07'::timestamp) - extract(epoch from '2026-06-05 16:19: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'), 46721, 'SRID=4674;POINT (-40.490322 -2.73156)', '2026-06-05 16:20:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49027 -2.731543)'), GeomFromEWKT('SRID=4674;POINT (-40.490322 -2.73156)'))) / (select extract(epoch from '2026-06-05 16:20:16'::timestamp) - extract(epoch from '2026-06-05 16:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49027 -2.731543)'), GeomFromEWKT('SRID=4674;POINT (-40.490322 -2.73156)'))) / (select extract(epoch from '2026-06-05 16:20:16'::timestamp) - extract(epoch from '2026-06-05 16:20:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.490383 -2.731561)', '2026-06-05 16:20:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490322 -2.73156)'), GeomFromEWKT('SRID=4674;POINT (-40.490383 -2.731561)'))) / (select extract(epoch from '2026-06-05 16:20:26'::timestamp) - extract(epoch from '2026-06-05 16:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490322 -2.73156)'), GeomFromEWKT('SRID=4674;POINT (-40.490383 -2.731561)'))) / (select extract(epoch from '2026-06-05 16:20:26'::timestamp) - extract(epoch from '2026-06-05 16:20: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'), 46721, 'SRID=4674;POINT (-40.490431 -2.731571)', '2026-06-05 16:20:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490383 -2.731561)'), GeomFromEWKT('SRID=4674;POINT (-40.490431 -2.731571)'))) / (select extract(epoch from '2026-06-05 16:20:38'::timestamp) - extract(epoch from '2026-06-05 16:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490383 -2.731561)'), GeomFromEWKT('SRID=4674;POINT (-40.490431 -2.731571)'))) / (select extract(epoch from '2026-06-05 16:20:38'::timestamp) - extract(epoch from '2026-06-05 16:20:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.490481 -2.731575)', '2026-06-05 16:20:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490431 -2.731571)'), GeomFromEWKT('SRID=4674;POINT (-40.490481 -2.731575)'))) / (select extract(epoch from '2026-06-05 16:20:50'::timestamp) - extract(epoch from '2026-06-05 16:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490431 -2.731571)'), GeomFromEWKT('SRID=4674;POINT (-40.490481 -2.731575)'))) / (select extract(epoch from '2026-06-05 16:20:50'::timestamp) - extract(epoch from '2026-06-05 16:20:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.490524 -2.731587)', '2026-06-05 16:20:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490481 -2.731575)'), GeomFromEWKT('SRID=4674;POINT (-40.490524 -2.731587)'))) / (select extract(epoch from '2026-06-05 16:20:57'::timestamp) - extract(epoch from '2026-06-05 16:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490481 -2.731575)'), GeomFromEWKT('SRID=4674;POINT (-40.490524 -2.731587)'))) / (select extract(epoch from '2026-06-05 16:20:57'::timestamp) - extract(epoch from '2026-06-05 16:20: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'), 46721, 'SRID=4674;POINT (-40.490557 -2.731598)', '2026-06-05 16:21:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490524 -2.731587)'), GeomFromEWKT('SRID=4674;POINT (-40.490557 -2.731598)'))) / (select extract(epoch from '2026-06-05 16:21:06'::timestamp) - extract(epoch from '2026-06-05 16:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490524 -2.731587)'), GeomFromEWKT('SRID=4674;POINT (-40.490557 -2.731598)'))) / (select extract(epoch from '2026-06-05 16:21:06'::timestamp) - extract(epoch from '2026-06-05 16:20:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.490579 -2.731609)', '2026-06-05 16:21:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490557 -2.731598)'), GeomFromEWKT('SRID=4674;POINT (-40.490579 -2.731609)'))) / (select extract(epoch from '2026-06-05 16:21:13'::timestamp) - extract(epoch from '2026-06-05 16:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490557 -2.731598)'), GeomFromEWKT('SRID=4674;POINT (-40.490579 -2.731609)'))) / (select extract(epoch from '2026-06-05 16:21:13'::timestamp) - extract(epoch from '2026-06-05 16:21: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'), 46721, 'SRID=4674;POINT (-40.490609 -2.731623)', '2026-06-05 16:21:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490579 -2.731609)'), GeomFromEWKT('SRID=4674;POINT (-40.490609 -2.731623)'))) / (select extract(epoch from '2026-06-05 16:21:22'::timestamp) - extract(epoch from '2026-06-05 16:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490579 -2.731609)'), GeomFromEWKT('SRID=4674;POINT (-40.490609 -2.731623)'))) / (select extract(epoch from '2026-06-05 16:21:22'::timestamp) - extract(epoch from '2026-06-05 16:21: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'), 46721, 'SRID=4674;POINT (-40.490645 -2.731645)', '2026-06-05 16:21:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490609 -2.731623)'), GeomFromEWKT('SRID=4674;POINT (-40.490645 -2.731645)'))) / (select extract(epoch from '2026-06-05 16:21:30'::timestamp) - extract(epoch from '2026-06-05 16:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490609 -2.731623)'), GeomFromEWKT('SRID=4674;POINT (-40.490645 -2.731645)'))) / (select extract(epoch from '2026-06-05 16:21:30'::timestamp) - extract(epoch from '2026-06-05 16:21:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.490708 -2.731666)', '2026-06-05 16:21:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490645 -2.731645)'), GeomFromEWKT('SRID=4674;POINT (-40.490708 -2.731666)'))) / (select extract(epoch from '2026-06-05 16:21:41'::timestamp) - extract(epoch from '2026-06-05 16:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490645 -2.731645)'), GeomFromEWKT('SRID=4674;POINT (-40.490708 -2.731666)'))) / (select extract(epoch from '2026-06-05 16:21:41'::timestamp) - extract(epoch from '2026-06-05 16:21: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'), 46721, 'SRID=4674;POINT (-40.490757 -2.731686)', '2026-06-05 16:21:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490708 -2.731666)'), GeomFromEWKT('SRID=4674;POINT (-40.490757 -2.731686)'))) / (select extract(epoch from '2026-06-05 16:21:54'::timestamp) - extract(epoch from '2026-06-05 16:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490708 -2.731666)'), GeomFromEWKT('SRID=4674;POINT (-40.490757 -2.731686)'))) / (select extract(epoch from '2026-06-05 16:21:54'::timestamp) - extract(epoch from '2026-06-05 16:21: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'), 46721, 'SRID=4674;POINT (-40.490791 -2.7317)', '2026-06-05 16:22:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490757 -2.731686)'), GeomFromEWKT('SRID=4674;POINT (-40.490791 -2.7317)'))) / (select extract(epoch from '2026-06-05 16:22:01'::timestamp) - extract(epoch from '2026-06-05 16:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490757 -2.731686)'), GeomFromEWKT('SRID=4674;POINT (-40.490791 -2.7317)'))) / (select extract(epoch from '2026-06-05 16:22:01'::timestamp) - extract(epoch from '2026-06-05 16:21: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'), 46721, 'SRID=4674;POINT (-40.490847 -2.731725)', '2026-06-05 16:22:14', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490791 -2.7317)'), GeomFromEWKT('SRID=4674;POINT (-40.490847 -2.731725)'))) / (select extract(epoch from '2026-06-05 16:22:14'::timestamp) - extract(epoch from '2026-06-05 16:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490791 -2.7317)'), GeomFromEWKT('SRID=4674;POINT (-40.490847 -2.731725)'))) / (select extract(epoch from '2026-06-05 16:22:14'::timestamp) - extract(epoch from '2026-06-05 16:22: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'), 46721, 'SRID=4674;POINT (-40.490878 -2.731738)', '2026-06-05 16:22:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490847 -2.731725)'), GeomFromEWKT('SRID=4674;POINT (-40.490878 -2.731738)'))) / (select extract(epoch from '2026-06-05 16:22:26'::timestamp) - extract(epoch from '2026-06-05 16:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490847 -2.731725)'), GeomFromEWKT('SRID=4674;POINT (-40.490878 -2.731738)'))) / (select extract(epoch from '2026-06-05 16:22:26'::timestamp) - extract(epoch from '2026-06-05 16:22:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.490906 -2.731766)', '2026-06-05 16:22:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490878 -2.731738)'), GeomFromEWKT('SRID=4674;POINT (-40.490906 -2.731766)'))) / (select extract(epoch from '2026-06-05 16:22:33'::timestamp) - extract(epoch from '2026-06-05 16:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490878 -2.731738)'), GeomFromEWKT('SRID=4674;POINT (-40.490906 -2.731766)'))) / (select extract(epoch from '2026-06-05 16:22:33'::timestamp) - extract(epoch from '2026-06-05 16:22: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'), 46721, 'SRID=4674;POINT (-40.490945 -2.731797)', '2026-06-05 16:22:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490906 -2.731766)'), GeomFromEWKT('SRID=4674;POINT (-40.490945 -2.731797)'))) / (select extract(epoch from '2026-06-05 16:22:42'::timestamp) - extract(epoch from '2026-06-05 16:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490906 -2.731766)'), GeomFromEWKT('SRID=4674;POINT (-40.490945 -2.731797)'))) / (select extract(epoch from '2026-06-05 16:22:42'::timestamp) - extract(epoch from '2026-06-05 16:22: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'), 46721, 'SRID=4674;POINT (-40.490977 -2.731829)', '2026-06-05 16:22:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490945 -2.731797)'), GeomFromEWKT('SRID=4674;POINT (-40.490977 -2.731829)'))) / (select extract(epoch from '2026-06-05 16:22:52'::timestamp) - extract(epoch from '2026-06-05 16:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490945 -2.731797)'), GeomFromEWKT('SRID=4674;POINT (-40.490977 -2.731829)'))) / (select extract(epoch from '2026-06-05 16:22:52'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.490997 -2.731841)', '2026-06-05 16:22:56', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490977 -2.731829)'), GeomFromEWKT('SRID=4674;POINT (-40.490997 -2.731841)'))) / (select extract(epoch from '2026-06-05 16:22:56'::timestamp) - extract(epoch from '2026-06-05 16:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490977 -2.731829)'), GeomFromEWKT('SRID=4674;POINT (-40.490997 -2.731841)'))) / (select extract(epoch from '2026-06-05 16:22:56'::timestamp) - extract(epoch from '2026-06-05 16:22: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'), 46721, 'SRID=4674;POINT (-40.491025 -2.731853)', '2026-06-05 16:23:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490997 -2.731841)'), GeomFromEWKT('SRID=4674;POINT (-40.491025 -2.731853)'))) / (select extract(epoch from '2026-06-05 16:23:03'::timestamp) - extract(epoch from '2026-06-05 16:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.490997 -2.731841)'), GeomFromEWKT('SRID=4674;POINT (-40.491025 -2.731853)'))) / (select extract(epoch from '2026-06-05 16:23:03'::timestamp) - extract(epoch from '2026-06-05 16:22: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'), 46721, 'SRID=4674;POINT (-40.491054 -2.731872)', '2026-06-05 16:23:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491025 -2.731853)'), GeomFromEWKT('SRID=4674;POINT (-40.491054 -2.731872)'))) / (select extract(epoch from '2026-06-05 16:23:12'::timestamp) - extract(epoch from '2026-06-05 16:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491025 -2.731853)'), GeomFromEWKT('SRID=4674;POINT (-40.491054 -2.731872)'))) / (select extract(epoch from '2026-06-05 16:23:12'::timestamp) - extract(epoch from '2026-06-05 16:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491086 -2.731891)', '2026-06-05 16:23:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491054 -2.731872)'), GeomFromEWKT('SRID=4674;POINT (-40.491086 -2.731891)'))) / (select extract(epoch from '2026-06-05 16:23:20'::timestamp) - extract(epoch from '2026-06-05 16:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491054 -2.731872)'), GeomFromEWKT('SRID=4674;POINT (-40.491086 -2.731891)'))) / (select extract(epoch from '2026-06-05 16:23:20'::timestamp) - extract(epoch from '2026-06-05 16:23: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'), 46721, 'SRID=4674;POINT (-40.491109 -2.731895)', '2026-06-05 16:23:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491086 -2.731891)'), GeomFromEWKT('SRID=4674;POINT (-40.491109 -2.731895)'))) / (select extract(epoch from '2026-06-05 16:23:24'::timestamp) - extract(epoch from '2026-06-05 16:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491086 -2.731891)'), GeomFromEWKT('SRID=4674;POINT (-40.491109 -2.731895)'))) / (select extract(epoch from '2026-06-05 16:23:24'::timestamp) - extract(epoch from '2026-06-05 16:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491145 -2.73192)', '2026-06-05 16:23:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491109 -2.731895)'), GeomFromEWKT('SRID=4674;POINT (-40.491145 -2.73192)'))) / (select extract(epoch from '2026-06-05 16:23:32'::timestamp) - extract(epoch from '2026-06-05 16:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491109 -2.731895)'), GeomFromEWKT('SRID=4674;POINT (-40.491145 -2.73192)'))) / (select extract(epoch from '2026-06-05 16:23:32'::timestamp) - extract(epoch from '2026-06-05 16:23:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491181 -2.73196)', '2026-06-05 16:23:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491145 -2.73192)'), GeomFromEWKT('SRID=4674;POINT (-40.491181 -2.73196)'))) / (select extract(epoch from '2026-06-05 16:23:45'::timestamp) - extract(epoch from '2026-06-05 16:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491145 -2.73192)'), GeomFromEWKT('SRID=4674;POINT (-40.491181 -2.73196)'))) / (select extract(epoch from '2026-06-05 16:23:45'::timestamp) - extract(epoch from '2026-06-05 16:23: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'), 46721, 'SRID=4674;POINT (-40.491202 -2.731972)', '2026-06-05 16:23:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491181 -2.73196)'), GeomFromEWKT('SRID=4674;POINT (-40.491202 -2.731972)'))) / (select extract(epoch from '2026-06-05 16:23:52'::timestamp) - extract(epoch from '2026-06-05 16:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491181 -2.73196)'), GeomFromEWKT('SRID=4674;POINT (-40.491202 -2.731972)'))) / (select extract(epoch from '2026-06-05 16:23:52'::timestamp) - extract(epoch from '2026-06-05 16:23: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'), 46721, 'SRID=4674;POINT (-40.491242 -2.732)', '2026-06-05 16:24:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491202 -2.731972)'), GeomFromEWKT('SRID=4674;POINT (-40.491242 -2.732)'))) / (select extract(epoch from '2026-06-05 16:24:01'::timestamp) - extract(epoch from '2026-06-05 16:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491202 -2.731972)'), GeomFromEWKT('SRID=4674;POINT (-40.491242 -2.732)'))) / (select extract(epoch from '2026-06-05 16:24:01'::timestamp) - extract(epoch from '2026-06-05 16:23:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491295 -2.732022)', '2026-06-05 16:24:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491242 -2.732)'), GeomFromEWKT('SRID=4674;POINT (-40.491295 -2.732022)'))) / (select extract(epoch from '2026-06-05 16:24:12'::timestamp) - extract(epoch from '2026-06-05 16:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491242 -2.732)'), GeomFromEWKT('SRID=4674;POINT (-40.491295 -2.732022)'))) / (select extract(epoch from '2026-06-05 16:24:12'::timestamp) - extract(epoch from '2026-06-05 16:24: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'), 46721, 'SRID=4674;POINT (-40.491303 -2.732028)', '2026-06-05 16:24:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491295 -2.732022)'), GeomFromEWKT('SRID=4674;POINT (-40.491303 -2.732028)'))) / (select extract(epoch from '2026-06-05 16:24:17'::timestamp) - extract(epoch from '2026-06-05 16:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491295 -2.732022)'), GeomFromEWKT('SRID=4674;POINT (-40.491303 -2.732028)'))) / (select extract(epoch from '2026-06-05 16:24:17'::timestamp) - extract(epoch from '2026-06-05 16:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491333 -2.732032)', '2026-06-05 16:24:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491303 -2.732028)'), GeomFromEWKT('SRID=4674;POINT (-40.491333 -2.732032)'))) / (select extract(epoch from '2026-06-05 16:24:22'::timestamp) - extract(epoch from '2026-06-05 16:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491303 -2.732028)'), GeomFromEWKT('SRID=4674;POINT (-40.491333 -2.732032)'))) / (select extract(epoch from '2026-06-05 16:24:22'::timestamp) - extract(epoch from '2026-06-05 16:24:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491366 -2.732055)', '2026-06-05 16:24:32', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491333 -2.732032)'), GeomFromEWKT('SRID=4674;POINT (-40.491366 -2.732055)'))) / (select extract(epoch from '2026-06-05 16:24:32'::timestamp) - extract(epoch from '2026-06-05 16:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491333 -2.732032)'), GeomFromEWKT('SRID=4674;POINT (-40.491366 -2.732055)'))) / (select extract(epoch from '2026-06-05 16:24:32'::timestamp) - extract(epoch from '2026-06-05 16:24:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.4914 -2.732072)', '2026-06-05 16:24:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491366 -2.732055)'), GeomFromEWKT('SRID=4674;POINT (-40.4914 -2.732072)'))) / (select extract(epoch from '2026-06-05 16:24:40'::timestamp) - extract(epoch from '2026-06-05 16:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491366 -2.732055)'), GeomFromEWKT('SRID=4674;POINT (-40.4914 -2.732072)'))) / (select extract(epoch from '2026-06-05 16:24:40'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.491439 -2.732091)', '2026-06-05 16:24:48', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4914 -2.732072)'), GeomFromEWKT('SRID=4674;POINT (-40.491439 -2.732091)'))) / (select extract(epoch from '2026-06-05 16:24:48'::timestamp) - extract(epoch from '2026-06-05 16:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4914 -2.732072)'), GeomFromEWKT('SRID=4674;POINT (-40.491439 -2.732091)'))) / (select extract(epoch from '2026-06-05 16:24:48'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.491468 -2.732092)', '2026-06-05 16:24:56', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491439 -2.732091)'), GeomFromEWKT('SRID=4674;POINT (-40.491468 -2.732092)'))) / (select extract(epoch from '2026-06-05 16:24:56'::timestamp) - extract(epoch from '2026-06-05 16:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491439 -2.732091)'), GeomFromEWKT('SRID=4674;POINT (-40.491468 -2.732092)'))) / (select extract(epoch from '2026-06-05 16:24:56'::timestamp) - extract(epoch from '2026-06-05 16:24: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'), 46721, 'SRID=4674;POINT (-40.491519 -2.732115)', '2026-06-05 16:25:06', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491468 -2.732092)'), GeomFromEWKT('SRID=4674;POINT (-40.491519 -2.732115)'))) / (select extract(epoch from '2026-06-05 16:25:06'::timestamp) - extract(epoch from '2026-06-05 16:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491468 -2.732092)'), GeomFromEWKT('SRID=4674;POINT (-40.491519 -2.732115)'))) / (select extract(epoch from '2026-06-05 16:25:06'::timestamp) - extract(epoch from '2026-06-05 16:24: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'), 46721, 'SRID=4674;POINT (-40.491549 -2.732111)', '2026-06-05 16:25:14', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491519 -2.732115)'), GeomFromEWKT('SRID=4674;POINT (-40.491549 -2.732111)'))) / (select extract(epoch from '2026-06-05 16:25:14'::timestamp) - extract(epoch from '2026-06-05 16:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491519 -2.732115)'), GeomFromEWKT('SRID=4674;POINT (-40.491549 -2.732111)'))) / (select extract(epoch from '2026-06-05 16:25:14'::timestamp) - extract(epoch from '2026-06-05 16:25:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491592 -2.732019)', '2026-06-05 16:27:18', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491549 -2.732111)'), GeomFromEWKT('SRID=4674;POINT (-40.491592 -2.732019)'))) / (select extract(epoch from '2026-06-05 16:27:18'::timestamp) - extract(epoch from '2026-06-05 16:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491549 -2.732111)'), GeomFromEWKT('SRID=4674;POINT (-40.491592 -2.732019)'))) / (select extract(epoch from '2026-06-05 16:27:18'::timestamp) - extract(epoch from '2026-06-05 16:25: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'), 46721, 'SRID=4674;POINT (-40.491608 -2.731954)', '2026-06-05 16:29:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491592 -2.732019)'), GeomFromEWKT('SRID=4674;POINT (-40.491608 -2.731954)'))) / (select extract(epoch from '2026-06-05 16:29:57'::timestamp) - extract(epoch from '2026-06-05 16:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491592 -2.732019)'), GeomFromEWKT('SRID=4674;POINT (-40.491608 -2.731954)'))) / (select extract(epoch from '2026-06-05 16:29:57'::timestamp) - extract(epoch from '2026-06-05 16:27: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'), 46721, 'SRID=4674;POINT (-40.491616 -2.731949)', '2026-06-05 16:31:15', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491608 -2.731954)'), GeomFromEWKT('SRID=4674;POINT (-40.491616 -2.731949)'))) / (select extract(epoch from '2026-06-05 16:31:15'::timestamp) - extract(epoch from '2026-06-05 16:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491608 -2.731954)'), GeomFromEWKT('SRID=4674;POINT (-40.491616 -2.731949)'))) / (select extract(epoch from '2026-06-05 16:31:15'::timestamp) - extract(epoch from '2026-06-05 16:29:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491622 -2.731944)', '2026-06-05 16:31:51', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491616 -2.731949)'), GeomFromEWKT('SRID=4674;POINT (-40.491622 -2.731944)'))) / (select extract(epoch from '2026-06-05 16:31:51'::timestamp) - extract(epoch from '2026-06-05 16:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491616 -2.731949)'), GeomFromEWKT('SRID=4674;POINT (-40.491622 -2.731944)'))) / (select extract(epoch from '2026-06-05 16:31:51'::timestamp) - extract(epoch from '2026-06-05 16:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491631 -2.731945)', '2026-06-05 16:31:55', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491622 -2.731944)'), GeomFromEWKT('SRID=4674;POINT (-40.491631 -2.731945)'))) / (select extract(epoch from '2026-06-05 16:31:55'::timestamp) - extract(epoch from '2026-06-05 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491622 -2.731944)'), GeomFromEWKT('SRID=4674;POINT (-40.491631 -2.731945)'))) / (select extract(epoch from '2026-06-05 16:31:55'::timestamp) - extract(epoch from '2026-06-05 16:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491612 -2.731981)', '2026-06-05 16:33:31', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491631 -2.731945)'), GeomFromEWKT('SRID=4674;POINT (-40.491612 -2.731981)'))) / (select extract(epoch from '2026-06-05 16:33:31'::timestamp) - extract(epoch from '2026-06-05 16:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491631 -2.731945)'), GeomFromEWKT('SRID=4674;POINT (-40.491612 -2.731981)'))) / (select extract(epoch from '2026-06-05 16:33:31'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.491622 -2.732004)', '2026-06-05 16:34:29', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491612 -2.731981)'), GeomFromEWKT('SRID=4674;POINT (-40.491622 -2.732004)'))) / (select extract(epoch from '2026-06-05 16:34:29'::timestamp) - extract(epoch from '2026-06-05 16:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491612 -2.731981)'), GeomFromEWKT('SRID=4674;POINT (-40.491622 -2.732004)'))) / (select extract(epoch from '2026-06-05 16:34:29'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.491617 -2.732)', '2026-06-05 16:34:42', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491622 -2.732004)'), GeomFromEWKT('SRID=4674;POINT (-40.491617 -2.732)'))) / (select extract(epoch from '2026-06-05 16:34:42'::timestamp) - extract(epoch from '2026-06-05 16:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491622 -2.732004)'), GeomFromEWKT('SRID=4674;POINT (-40.491617 -2.732)'))) / (select extract(epoch from '2026-06-05 16:34:42'::timestamp) - extract(epoch from '2026-06-05 16:34: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'), 46721, 'SRID=4674;POINT (-40.491599 -2.732006)', '2026-06-05 16:34:57', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491617 -2.732)'), GeomFromEWKT('SRID=4674;POINT (-40.491599 -2.732006)'))) / (select extract(epoch from '2026-06-05 16:34:57'::timestamp) - extract(epoch from '2026-06-05 16:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491617 -2.732)'), GeomFromEWKT('SRID=4674;POINT (-40.491599 -2.732006)'))) / (select extract(epoch from '2026-06-05 16:34:57'::timestamp) - extract(epoch from '2026-06-05 16:34: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'), 46721, 'SRID=4674;POINT (-40.491603 -2.732009)', '2026-06-05 16:35:15', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491599 -2.732006)'), GeomFromEWKT('SRID=4674;POINT (-40.491603 -2.732009)'))) / (select extract(epoch from '2026-06-05 16:35:15'::timestamp) - extract(epoch from '2026-06-05 16:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491599 -2.732006)'), GeomFromEWKT('SRID=4674;POINT (-40.491603 -2.732009)'))) / (select extract(epoch from '2026-06-05 16:35:15'::timestamp) - extract(epoch from '2026-06-05 16:34:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491596 -2.731956)', '2026-06-05 16:39:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491603 -2.732009)'), GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731956)'))) / (select extract(epoch from '2026-06-05 16:39:22'::timestamp) - extract(epoch from '2026-06-05 16:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491603 -2.732009)'), GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731956)'))) / (select extract(epoch from '2026-06-05 16:39:22'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.491588 -2.731959)', '2026-06-05 16:39:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731956)'), GeomFromEWKT('SRID=4674;POINT (-40.491588 -2.731959)'))) / (select extract(epoch from '2026-06-05 16:39:39'::timestamp) - extract(epoch from '2026-06-05 16:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731956)'), GeomFromEWKT('SRID=4674;POINT (-40.491588 -2.731959)'))) / (select extract(epoch from '2026-06-05 16:39:39'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.491585 -2.731956)', '2026-06-05 16:39:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491588 -2.731959)'), GeomFromEWKT('SRID=4674;POINT (-40.491585 -2.731956)'))) / (select extract(epoch from '2026-06-05 16:39:45'::timestamp) - extract(epoch from '2026-06-05 16:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491588 -2.731959)'), GeomFromEWKT('SRID=4674;POINT (-40.491585 -2.731956)'))) / (select extract(epoch from '2026-06-05 16:39:45'::timestamp) - extract(epoch from '2026-06-05 16:39: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'), 46721, 'SRID=4674;POINT (-40.491576 -2.731965)', '2026-06-05 16:40:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491585 -2.731956)'), GeomFromEWKT('SRID=4674;POINT (-40.491576 -2.731965)'))) / (select extract(epoch from '2026-06-05 16:40:12'::timestamp) - extract(epoch from '2026-06-05 16:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491585 -2.731956)'), GeomFromEWKT('SRID=4674;POINT (-40.491576 -2.731965)'))) / (select extract(epoch from '2026-06-05 16:40:12'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.491568 -2.731941)', '2026-06-05 16:41:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491576 -2.731965)'), GeomFromEWKT('SRID=4674;POINT (-40.491568 -2.731941)'))) / (select extract(epoch from '2026-06-05 16:41:04'::timestamp) - extract(epoch from '2026-06-05 16:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491576 -2.731965)'), GeomFromEWKT('SRID=4674;POINT (-40.491568 -2.731941)'))) / (select extract(epoch from '2026-06-05 16:41:04'::timestamp) - extract(epoch from '2026-06-05 16:40: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'), 46721, 'SRID=4674;POINT (-40.491594 -2.731936)', '2026-06-05 16:42:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491568 -2.731941)'), GeomFromEWKT('SRID=4674;POINT (-40.491594 -2.731936)'))) / (select extract(epoch from '2026-06-05 16:42:37'::timestamp) - extract(epoch from '2026-06-05 16:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491568 -2.731941)'), GeomFromEWKT('SRID=4674;POINT (-40.491594 -2.731936)'))) / (select extract(epoch from '2026-06-05 16:42:37'::timestamp) - extract(epoch from '2026-06-05 16:41:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491593 -2.731946)', '2026-06-05 16:43:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491594 -2.731936)'), GeomFromEWKT('SRID=4674;POINT (-40.491593 -2.731946)'))) / (select extract(epoch from '2026-06-05 16:43:03'::timestamp) - extract(epoch from '2026-06-05 16:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491594 -2.731936)'), GeomFromEWKT('SRID=4674;POINT (-40.491593 -2.731946)'))) / (select extract(epoch from '2026-06-05 16:43:03'::timestamp) - extract(epoch from '2026-06-05 16:42:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491567 -2.731952)', '2026-06-05 16:44:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491593 -2.731946)'), GeomFromEWKT('SRID=4674;POINT (-40.491567 -2.731952)'))) / (select extract(epoch from '2026-06-05 16:44:38'::timestamp) - extract(epoch from '2026-06-05 16:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491593 -2.731946)'), GeomFromEWKT('SRID=4674;POINT (-40.491567 -2.731952)'))) / (select extract(epoch from '2026-06-05 16:44:38'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.491568 -2.731963)', '2026-06-05 16:44:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491567 -2.731952)'), GeomFromEWKT('SRID=4674;POINT (-40.491568 -2.731963)'))) / (select extract(epoch from '2026-06-05 16:44:50'::timestamp) - extract(epoch from '2026-06-05 16:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491567 -2.731952)'), GeomFromEWKT('SRID=4674;POINT (-40.491568 -2.731963)'))) / (select extract(epoch from '2026-06-05 16:44:50'::timestamp) - extract(epoch from '2026-06-05 16:44:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491595 -2.731977)', '2026-06-05 16:45:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491568 -2.731963)'), GeomFromEWKT('SRID=4674;POINT (-40.491595 -2.731977)'))) / (select extract(epoch from '2026-06-05 16:45:40'::timestamp) - extract(epoch from '2026-06-05 16:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491568 -2.731963)'), GeomFromEWKT('SRID=4674;POINT (-40.491595 -2.731977)'))) / (select extract(epoch from '2026-06-05 16:45:40'::timestamp) - extract(epoch from '2026-06-05 16:44: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'), 46721, 'SRID=4674;POINT (-40.491582 -2.731992)', '2026-06-05 16:45:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491595 -2.731977)'), GeomFromEWKT('SRID=4674;POINT (-40.491582 -2.731992)'))) / (select extract(epoch from '2026-06-05 16:45:48'::timestamp) - extract(epoch from '2026-06-05 16:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491595 -2.731977)'), GeomFromEWKT('SRID=4674;POINT (-40.491582 -2.731992)'))) / (select extract(epoch from '2026-06-05 16:45:48'::timestamp) - extract(epoch from '2026-06-05 16:45:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491593 -2.731983)', '2026-06-05 16:46:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491582 -2.731992)'), GeomFromEWKT('SRID=4674;POINT (-40.491593 -2.731983)'))) / (select extract(epoch from '2026-06-05 16:46:36'::timestamp) - extract(epoch from '2026-06-05 16:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491582 -2.731992)'), GeomFromEWKT('SRID=4674;POINT (-40.491593 -2.731983)'))) / (select extract(epoch from '2026-06-05 16:46:36'::timestamp) - extract(epoch from '2026-06-05 16:45: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'), 46721, 'SRID=4674;POINT (-40.491585 -2.731995)', '2026-06-05 16:46:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491593 -2.731983)'), GeomFromEWKT('SRID=4674;POINT (-40.491585 -2.731995)'))) / (select extract(epoch from '2026-06-05 16:46:42'::timestamp) - extract(epoch from '2026-06-05 16:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491593 -2.731983)'), GeomFromEWKT('SRID=4674;POINT (-40.491585 -2.731995)'))) / (select extract(epoch from '2026-06-05 16:46:42'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.491587 -2.731995)', '2026-06-05 16:46:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491585 -2.731995)'), GeomFromEWKT('SRID=4674;POINT (-40.491587 -2.731995)'))) / (select extract(epoch from '2026-06-05 16:46:56'::timestamp) - extract(epoch from '2026-06-05 16:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491585 -2.731995)'), GeomFromEWKT('SRID=4674;POINT (-40.491587 -2.731995)'))) / (select extract(epoch from '2026-06-05 16:46:56'::timestamp) - extract(epoch from '2026-06-05 16:46: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'), 46721, 'SRID=4674;POINT (-40.491587 -2.731992)', '2026-06-05 16:47:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491587 -2.731995)'), GeomFromEWKT('SRID=4674;POINT (-40.491587 -2.731992)'))) / (select extract(epoch from '2026-06-05 16:47:08'::timestamp) - extract(epoch from '2026-06-05 16:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491587 -2.731995)'), GeomFromEWKT('SRID=4674;POINT (-40.491587 -2.731992)'))) / (select extract(epoch from '2026-06-05 16:47:08'::timestamp) - extract(epoch from '2026-06-05 16:46: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'), 46721, 'SRID=4674;POINT (-40.491596 -2.731986)', '2026-06-05 16:47:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491587 -2.731992)'), GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731986)'))) / (select extract(epoch from '2026-06-05 16:47:21'::timestamp) - extract(epoch from '2026-06-05 16:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491587 -2.731992)'), GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731986)'))) / (select extract(epoch from '2026-06-05 16:47:21'::timestamp) - extract(epoch from '2026-06-05 16:47:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491609 -2.731942)', '2026-06-05 16:49:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731986)'), GeomFromEWKT('SRID=4674;POINT (-40.491609 -2.731942)'))) / (select extract(epoch from '2026-06-05 16:49:02'::timestamp) - extract(epoch from '2026-06-05 16:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731986)'), GeomFromEWKT('SRID=4674;POINT (-40.491609 -2.731942)'))) / (select extract(epoch from '2026-06-05 16:49:02'::timestamp) - extract(epoch from '2026-06-05 16:47: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'), 46721, 'SRID=4674;POINT (-40.491612 -2.731953)', '2026-06-05 16:50:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491609 -2.731942)'), GeomFromEWKT('SRID=4674;POINT (-40.491612 -2.731953)'))) / (select extract(epoch from '2026-06-05 16:50:27'::timestamp) - extract(epoch from '2026-06-05 16:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491609 -2.731942)'), GeomFromEWKT('SRID=4674;POINT (-40.491612 -2.731953)'))) / (select extract(epoch from '2026-06-05 16:50:27'::timestamp) - extract(epoch from '2026-06-05 16:49:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491606 -2.731977)', '2026-06-05 16:52:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491612 -2.731953)'), GeomFromEWKT('SRID=4674;POINT (-40.491606 -2.731977)'))) / (select extract(epoch from '2026-06-05 16:52:11'::timestamp) - extract(epoch from '2026-06-05 16:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491612 -2.731953)'), GeomFromEWKT('SRID=4674;POINT (-40.491606 -2.731977)'))) / (select extract(epoch from '2026-06-05 16:52:11'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.491596 -2.731955)', '2026-06-05 16:52:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491606 -2.731977)'), GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731955)'))) / (select extract(epoch from '2026-06-05 16:52:52'::timestamp) - extract(epoch from '2026-06-05 16:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491606 -2.731977)'), GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731955)'))) / (select extract(epoch from '2026-06-05 16:52:52'::timestamp) - extract(epoch from '2026-06-05 16:52:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491591 -2.731943)', '2026-06-05 16:54:50', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731955)'), GeomFromEWKT('SRID=4674;POINT (-40.491591 -2.731943)'))) / (select extract(epoch from '2026-06-05 16:54:50'::timestamp) - extract(epoch from '2026-06-05 16:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731955)'), GeomFromEWKT('SRID=4674;POINT (-40.491591 -2.731943)'))) / (select extract(epoch from '2026-06-05 16:54:50'::timestamp) - extract(epoch from '2026-06-05 16:52: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'), 46721, 'SRID=4674;POINT (-40.491581 -2.731944)', '2026-06-05 16:55:08', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491591 -2.731943)'), GeomFromEWKT('SRID=4674;POINT (-40.491581 -2.731944)'))) / (select extract(epoch from '2026-06-05 16:55:08'::timestamp) - extract(epoch from '2026-06-05 16:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491591 -2.731943)'), GeomFromEWKT('SRID=4674;POINT (-40.491581 -2.731944)'))) / (select extract(epoch from '2026-06-05 16:55:08'::timestamp) - extract(epoch from '2026-06-05 16:54: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'), 46721, 'SRID=4674;POINT (-40.491597 -2.731925)', '2026-06-05 16:55:39', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491581 -2.731944)'), GeomFromEWKT('SRID=4674;POINT (-40.491597 -2.731925)'))) / (select extract(epoch from '2026-06-05 16:55:39'::timestamp) - extract(epoch from '2026-06-05 16:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491581 -2.731944)'), GeomFromEWKT('SRID=4674;POINT (-40.491597 -2.731925)'))) / (select extract(epoch from '2026-06-05 16:55:39'::timestamp) - extract(epoch from '2026-06-05 16:55: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'), 46721, 'SRID=4674;POINT (-40.491612 -2.731929)', '2026-06-05 16:56:52', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491597 -2.731925)'), GeomFromEWKT('SRID=4674;POINT (-40.491612 -2.731929)'))) / (select extract(epoch from '2026-06-05 16:56:52'::timestamp) - extract(epoch from '2026-06-05 16:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491597 -2.731925)'), GeomFromEWKT('SRID=4674;POINT (-40.491612 -2.731929)'))) / (select extract(epoch from '2026-06-05 16:56:52'::timestamp) - extract(epoch from '2026-06-05 16:55: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'), 46721, 'SRID=4674;POINT (-40.491616 -2.731924)', '2026-06-05 16:57:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491612 -2.731929)'), GeomFromEWKT('SRID=4674;POINT (-40.491616 -2.731924)'))) / (select extract(epoch from '2026-06-05 16:57:36'::timestamp) - extract(epoch from '2026-06-05 16:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491612 -2.731929)'), GeomFromEWKT('SRID=4674;POINT (-40.491616 -2.731924)'))) / (select extract(epoch from '2026-06-05 16:57:36'::timestamp) - extract(epoch from '2026-06-05 16: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'), 46721, 'SRID=4674;POINT (-40.491609 -2.731918)', '2026-06-05 16:57:42', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491616 -2.731924)'), GeomFromEWKT('SRID=4674;POINT (-40.491609 -2.731918)'))) / (select extract(epoch from '2026-06-05 16:57:42'::timestamp) - extract(epoch from '2026-06-05 16:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491616 -2.731924)'), GeomFromEWKT('SRID=4674;POINT (-40.491609 -2.731918)'))) / (select extract(epoch from '2026-06-05 16:57:42'::timestamp) - extract(epoch from '2026-06-05 16:57: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'), 46721, 'SRID=4674;POINT (-40.491619 -2.731933)', '2026-06-05 16:59:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491609 -2.731918)'), GeomFromEWKT('SRID=4674;POINT (-40.491619 -2.731933)'))) / (select extract(epoch from '2026-06-05 16:59:45'::timestamp) - extract(epoch from '2026-06-05 16:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491609 -2.731918)'), GeomFromEWKT('SRID=4674;POINT (-40.491619 -2.731933)'))) / (select extract(epoch from '2026-06-05 16:59:45'::timestamp) - extract(epoch from '2026-06-05 16:57: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'), 46721, 'SRID=4674;POINT (-40.491603 -2.73193)', '2026-06-05 17:00:07', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491619 -2.731933)'), GeomFromEWKT('SRID=4674;POINT (-40.491603 -2.73193)'))) / (select extract(epoch from '2026-06-05 17:00:07'::timestamp) - extract(epoch from '2026-06-05 16:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491619 -2.731933)'), GeomFromEWKT('SRID=4674;POINT (-40.491603 -2.73193)'))) / (select extract(epoch from '2026-06-05 17:00:07'::timestamp) - extract(epoch from '2026-06-05 16:59: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'), 46721, 'SRID=4674;POINT (-40.491605 -2.731919)', '2026-06-05 17:00:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491603 -2.73193)'), GeomFromEWKT('SRID=4674;POINT (-40.491605 -2.731919)'))) / (select extract(epoch from '2026-06-05 17:00:58'::timestamp) - extract(epoch from '2026-06-05 17:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491603 -2.73193)'), GeomFromEWKT('SRID=4674;POINT (-40.491605 -2.731919)'))) / (select extract(epoch from '2026-06-05 17:00:58'::timestamp) - extract(epoch from '2026-06-05 17:00:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491602 -2.731918)', '2026-06-05 17:01:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491605 -2.731919)'), GeomFromEWKT('SRID=4674;POINT (-40.491602 -2.731918)'))) / (select extract(epoch from '2026-06-05 17:01:04'::timestamp) - extract(epoch from '2026-06-05 17:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491605 -2.731919)'), GeomFromEWKT('SRID=4674;POINT (-40.491602 -2.731918)'))) / (select extract(epoch from '2026-06-05 17:01:04'::timestamp) - extract(epoch from '2026-06-05 17:00: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'), 46721, 'SRID=4674;POINT (-40.491582 -2.731928)', '2026-06-05 17:01:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491602 -2.731918)'), GeomFromEWKT('SRID=4674;POINT (-40.491582 -2.731928)'))) / (select extract(epoch from '2026-06-05 17:01:34'::timestamp) - extract(epoch from '2026-06-05 17:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491602 -2.731918)'), GeomFromEWKT('SRID=4674;POINT (-40.491582 -2.731928)'))) / (select extract(epoch from '2026-06-05 17:01:34'::timestamp) - extract(epoch from '2026-06-05 17:01:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491579 -2.731926)', '2026-06-05 17:02:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491582 -2.731928)'), GeomFromEWKT('SRID=4674;POINT (-40.491579 -2.731926)'))) / (select extract(epoch from '2026-06-05 17:02:02'::timestamp) - extract(epoch from '2026-06-05 17:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491582 -2.731928)'), GeomFromEWKT('SRID=4674;POINT (-40.491579 -2.731926)'))) / (select extract(epoch from '2026-06-05 17:02:02'::timestamp) - extract(epoch from '2026-06-05 17:01:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491588 -2.731922)', '2026-06-05 17:02:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491579 -2.731926)'), GeomFromEWKT('SRID=4674;POINT (-40.491588 -2.731922)'))) / (select extract(epoch from '2026-06-05 17:02:16'::timestamp) - extract(epoch from '2026-06-05 17:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491579 -2.731926)'), GeomFromEWKT('SRID=4674;POINT (-40.491588 -2.731922)'))) / (select extract(epoch from '2026-06-05 17:02:16'::timestamp) - extract(epoch from '2026-06-05 17:02: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'), 46721, 'SRID=4674;POINT (-40.491587 -2.731923)', '2026-06-05 17:02:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491588 -2.731922)'), GeomFromEWKT('SRID=4674;POINT (-40.491587 -2.731923)'))) / (select extract(epoch from '2026-06-05 17:02:51'::timestamp) - extract(epoch from '2026-06-05 17:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491588 -2.731922)'), GeomFromEWKT('SRID=4674;POINT (-40.491587 -2.731923)'))) / (select extract(epoch from '2026-06-05 17:02:51'::timestamp) - extract(epoch from '2026-06-05 17:02:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491585 -2.731929)', '2026-06-05 17:03:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491587 -2.731923)'), GeomFromEWKT('SRID=4674;POINT (-40.491585 -2.731929)'))) / (select extract(epoch from '2026-06-05 17:03:34'::timestamp) - extract(epoch from '2026-06-05 17:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491587 -2.731923)'), GeomFromEWKT('SRID=4674;POINT (-40.491585 -2.731929)'))) / (select extract(epoch from '2026-06-05 17:03:34'::timestamp) - extract(epoch from '2026-06-05 17:02:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.49158 -2.731929)', '2026-06-05 17:04:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491585 -2.731929)'), GeomFromEWKT('SRID=4674;POINT (-40.49158 -2.731929)'))) / (select extract(epoch from '2026-06-05 17:04:03'::timestamp) - extract(epoch from '2026-06-05 17:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491585 -2.731929)'), GeomFromEWKT('SRID=4674;POINT (-40.49158 -2.731929)'))) / (select extract(epoch from '2026-06-05 17:04:03'::timestamp) - extract(epoch from '2026-06-05 17:03: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'), 46721, 'SRID=4674;POINT (-40.49158 -2.731922)', '2026-06-05 17:04:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49158 -2.731929)'), GeomFromEWKT('SRID=4674;POINT (-40.49158 -2.731922)'))) / (select extract(epoch from '2026-06-05 17:04:23'::timestamp) - extract(epoch from '2026-06-05 17:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49158 -2.731929)'), GeomFromEWKT('SRID=4674;POINT (-40.49158 -2.731922)'))) / (select extract(epoch from '2026-06-05 17:04:23'::timestamp) - extract(epoch from '2026-06-05 17:04: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'), 46721, 'SRID=4674;POINT (-40.491596 -2.731902)', '2026-06-05 17:08:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49158 -2.731922)'), GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731902)'))) / (select extract(epoch from '2026-06-05 17:08:09'::timestamp) - extract(epoch from '2026-06-05 17:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49158 -2.731922)'), GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731902)'))) / (select extract(epoch from '2026-06-05 17:08:09'::timestamp) - extract(epoch from '2026-06-05 17:04:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491592 -2.731934)', '2026-06-05 17:10:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731902)'), GeomFromEWKT('SRID=4674;POINT (-40.491592 -2.731934)'))) / (select extract(epoch from '2026-06-05 17:10:45'::timestamp) - extract(epoch from '2026-06-05 17:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731902)'), GeomFromEWKT('SRID=4674;POINT (-40.491592 -2.731934)'))) / (select extract(epoch from '2026-06-05 17:10:45'::timestamp) - extract(epoch from '2026-06-05 17:08: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'), 46721, 'SRID=4674;POINT (-40.491593 -2.731954)', '2026-06-05 17:11:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491592 -2.731934)'), GeomFromEWKT('SRID=4674;POINT (-40.491593 -2.731954)'))) / (select extract(epoch from '2026-06-05 17:11:13'::timestamp) - extract(epoch from '2026-06-05 17:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491592 -2.731934)'), GeomFromEWKT('SRID=4674;POINT (-40.491593 -2.731954)'))) / (select extract(epoch from '2026-06-05 17:11:13'::timestamp) - extract(epoch from '2026-06-05 17: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'), 46721, 'SRID=4674;POINT (-40.491608 -2.731934)', '2026-06-05 17:13:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491593 -2.731954)'), GeomFromEWKT('SRID=4674;POINT (-40.491608 -2.731934)'))) / (select extract(epoch from '2026-06-05 17:13:41'::timestamp) - extract(epoch from '2026-06-05 17:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491593 -2.731954)'), GeomFromEWKT('SRID=4674;POINT (-40.491608 -2.731934)'))) / (select extract(epoch from '2026-06-05 17:13:41'::timestamp) - extract(epoch from '2026-06-05 17:11:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491603 -2.731949)', '2026-06-05 17:14:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491608 -2.731934)'), GeomFromEWKT('SRID=4674;POINT (-40.491603 -2.731949)'))) / (select extract(epoch from '2026-06-05 17:14:12'::timestamp) - extract(epoch from '2026-06-05 17:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491608 -2.731934)'), GeomFromEWKT('SRID=4674;POINT (-40.491603 -2.731949)'))) / (select extract(epoch from '2026-06-05 17:14:12'::timestamp) - extract(epoch from '2026-06-05 17:13: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'), 46721, 'SRID=4674;POINT (-40.491596 -2.731965)', '2026-06-05 17:14:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491603 -2.731949)'), GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731965)'))) / (select extract(epoch from '2026-06-05 17:14:23'::timestamp) - extract(epoch from '2026-06-05 17:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491603 -2.731949)'), GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731965)'))) / (select extract(epoch from '2026-06-05 17:14:23'::timestamp) - extract(epoch from '2026-06-05 17:14:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491601 -2.731951)', '2026-06-05 17:14:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731965)'), GeomFromEWKT('SRID=4674;POINT (-40.491601 -2.731951)'))) / (select extract(epoch from '2026-06-05 17:14:51'::timestamp) - extract(epoch from '2026-06-05 17:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731965)'), GeomFromEWKT('SRID=4674;POINT (-40.491601 -2.731951)'))) / (select extract(epoch from '2026-06-05 17:14:51'::timestamp) - extract(epoch from '2026-06-05 17:14:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491618 -2.731955)', '2026-06-05 17:18:35', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491601 -2.731951)'), GeomFromEWKT('SRID=4674;POINT (-40.491618 -2.731955)'))) / (select extract(epoch from '2026-06-05 17:18:35'::timestamp) - extract(epoch from '2026-06-05 17:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491601 -2.731951)'), GeomFromEWKT('SRID=4674;POINT (-40.491618 -2.731955)'))) / (select extract(epoch from '2026-06-05 17:18:35'::timestamp) - extract(epoch from '2026-06-05 17:14:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491607 -2.731964)', '2026-06-05 17:18:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491618 -2.731955)'), GeomFromEWKT('SRID=4674;POINT (-40.491607 -2.731964)'))) / (select extract(epoch from '2026-06-05 17:18:40'::timestamp) - extract(epoch from '2026-06-05 17:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491618 -2.731955)'), GeomFromEWKT('SRID=4674;POINT (-40.491607 -2.731964)'))) / (select extract(epoch from '2026-06-05 17:18:40'::timestamp) - extract(epoch from '2026-06-05 17:18:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491606 -2.731959)', '2026-06-05 17:18:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491607 -2.731964)'), GeomFromEWKT('SRID=4674;POINT (-40.491606 -2.731959)'))) / (select extract(epoch from '2026-06-05 17:18:56'::timestamp) - extract(epoch from '2026-06-05 17:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491607 -2.731964)'), GeomFromEWKT('SRID=4674;POINT (-40.491606 -2.731959)'))) / (select extract(epoch from '2026-06-05 17:18:56'::timestamp) - extract(epoch from '2026-06-05 17:18: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'), 46721, 'SRID=4674;POINT (-40.491599 -2.731971)', '2026-06-05 17:19:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491606 -2.731959)'), GeomFromEWKT('SRID=4674;POINT (-40.491599 -2.731971)'))) / (select extract(epoch from '2026-06-05 17:19:14'::timestamp) - extract(epoch from '2026-06-05 17:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491606 -2.731959)'), GeomFromEWKT('SRID=4674;POINT (-40.491599 -2.731971)'))) / (select extract(epoch from '2026-06-05 17:19:14'::timestamp) - extract(epoch from '2026-06-05 17:18:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491596 -2.731968)', '2026-06-05 17:19:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491599 -2.731971)'), GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731968)'))) / (select extract(epoch from '2026-06-05 17:19:29'::timestamp) - extract(epoch from '2026-06-05 17:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491599 -2.731971)'), GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731968)'))) / (select extract(epoch from '2026-06-05 17:19:29'::timestamp) - extract(epoch from '2026-06-05 17:19:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491605 -2.731953)', '2026-06-05 17:19:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731968)'), GeomFromEWKT('SRID=4674;POINT (-40.491605 -2.731953)'))) / (select extract(epoch from '2026-06-05 17:19:42'::timestamp) - extract(epoch from '2026-06-05 17:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491596 -2.731968)'), GeomFromEWKT('SRID=4674;POINT (-40.491605 -2.731953)'))) / (select extract(epoch from '2026-06-05 17:19:42'::timestamp) - extract(epoch from '2026-06-05 17:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491602 -2.731953)', '2026-06-05 17:20:06', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491605 -2.731953)'), GeomFromEWKT('SRID=4674;POINT (-40.491602 -2.731953)'))) / (select extract(epoch from '2026-06-05 17:20:06'::timestamp) - extract(epoch from '2026-06-05 17:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491605 -2.731953)'), GeomFromEWKT('SRID=4674;POINT (-40.491602 -2.731953)'))) / (select extract(epoch from '2026-06-05 17:20:06'::timestamp) - extract(epoch from '2026-06-05 17:19:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491603 -2.731953)', '2026-06-05 17:20:20', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491602 -2.731953)'), GeomFromEWKT('SRID=4674;POINT (-40.491603 -2.731953)'))) / (select extract(epoch from '2026-06-05 17:20:20'::timestamp) - extract(epoch from '2026-06-05 17:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491602 -2.731953)'), GeomFromEWKT('SRID=4674;POINT (-40.491603 -2.731953)'))) / (select extract(epoch from '2026-06-05 17:20:20'::timestamp) - extract(epoch from '2026-06-05 17:20:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491608 -2.731956)', '2026-06-05 17:20:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491603 -2.731953)'), GeomFromEWKT('SRID=4674;POINT (-40.491608 -2.731956)'))) / (select extract(epoch from '2026-06-05 17:20:58'::timestamp) - extract(epoch from '2026-06-05 17:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491603 -2.731953)'), GeomFromEWKT('SRID=4674;POINT (-40.491608 -2.731956)'))) / (select extract(epoch from '2026-06-05 17:20:58'::timestamp) - extract(epoch from '2026-06-05 17:20: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'), 46721, 'SRID=4674;POINT (-40.491622 -2.73192)', '2026-06-05 17:21:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491608 -2.731956)'), GeomFromEWKT('SRID=4674;POINT (-40.491622 -2.73192)'))) / (select extract(epoch from '2026-06-05 17:21:50'::timestamp) - extract(epoch from '2026-06-05 17:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491608 -2.731956)'), GeomFromEWKT('SRID=4674;POINT (-40.491622 -2.73192)'))) / (select extract(epoch from '2026-06-05 17:21:50'::timestamp) - extract(epoch from '2026-06-05 17:20:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.49162 -2.731921)', '2026-06-05 17:22:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491622 -2.73192)'), GeomFromEWKT('SRID=4674;POINT (-40.49162 -2.731921)'))) / (select extract(epoch from '2026-06-05 17:22:08'::timestamp) - extract(epoch from '2026-06-05 17:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491622 -2.73192)'), GeomFromEWKT('SRID=4674;POINT (-40.49162 -2.731921)'))) / (select extract(epoch from '2026-06-05 17:22:08'::timestamp) - extract(epoch from '2026-06-05 17:21:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491621 -2.731934)', '2026-06-05 17:23:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49162 -2.731921)'), GeomFromEWKT('SRID=4674;POINT (-40.491621 -2.731934)'))) / (select extract(epoch from '2026-06-05 17:23:12'::timestamp) - extract(epoch from '2026-06-05 17:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49162 -2.731921)'), GeomFromEWKT('SRID=4674;POINT (-40.491621 -2.731934)'))) / (select extract(epoch from '2026-06-05 17:23:12'::timestamp) - extract(epoch from '2026-06-05 17:22:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.49163 -2.731916)', '2026-06-05 17:26:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491621 -2.731934)'), GeomFromEWKT('SRID=4674;POINT (-40.49163 -2.731916)'))) / (select extract(epoch from '2026-06-05 17:26:32'::timestamp) - extract(epoch from '2026-06-05 17:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491621 -2.731934)'), GeomFromEWKT('SRID=4674;POINT (-40.49163 -2.731916)'))) / (select extract(epoch from '2026-06-05 17:26:32'::timestamp) - extract(epoch from '2026-06-05 17:23: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'), 46721, 'SRID=4674;POINT (-40.491636 -2.731909)', '2026-06-05 17:26:51', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49163 -2.731916)'), GeomFromEWKT('SRID=4674;POINT (-40.491636 -2.731909)'))) / (select extract(epoch from '2026-06-05 17:26:51'::timestamp) - extract(epoch from '2026-06-05 17:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49163 -2.731916)'), GeomFromEWKT('SRID=4674;POINT (-40.491636 -2.731909)'))) / (select extract(epoch from '2026-06-05 17:26:51'::timestamp) - extract(epoch from '2026-06-05 17:26: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'), 46721, 'SRID=4674;POINT (-40.49164 -2.731912)', '2026-06-05 17:26:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491636 -2.731909)'), GeomFromEWKT('SRID=4674;POINT (-40.49164 -2.731912)'))) / (select extract(epoch from '2026-06-05 17:26:59'::timestamp) - extract(epoch from '2026-06-05 17:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491636 -2.731909)'), GeomFromEWKT('SRID=4674;POINT (-40.49164 -2.731912)'))) / (select extract(epoch from '2026-06-05 17:26:59'::timestamp) - extract(epoch from '2026-06-05 17:26:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491588 -2.731887)', '2026-06-05 17:27:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49164 -2.731912)'), GeomFromEWKT('SRID=4674;POINT (-40.491588 -2.731887)'))) / (select extract(epoch from '2026-06-05 17:27:53'::timestamp) - extract(epoch from '2026-06-05 17:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49164 -2.731912)'), GeomFromEWKT('SRID=4674;POINT (-40.491588 -2.731887)'))) / (select extract(epoch from '2026-06-05 17:27:53'::timestamp) - extract(epoch from '2026-06-05 17:26:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491551 -2.731885)', '2026-06-05 17:27:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491588 -2.731887)'), GeomFromEWKT('SRID=4674;POINT (-40.491551 -2.731885)'))) / (select extract(epoch from '2026-06-05 17:27:59'::timestamp) - extract(epoch from '2026-06-05 17:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491588 -2.731887)'), GeomFromEWKT('SRID=4674;POINT (-40.491551 -2.731885)'))) / (select extract(epoch from '2026-06-05 17:27:59'::timestamp) - extract(epoch from '2026-06-05 17:27:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491468 -2.731897)', '2026-06-05 17:28:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491551 -2.731885)'), GeomFromEWKT('SRID=4674;POINT (-40.491468 -2.731897)'))) / (select extract(epoch from '2026-06-05 17:28:09'::timestamp) - extract(epoch from '2026-06-05 17:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491551 -2.731885)'), GeomFromEWKT('SRID=4674;POINT (-40.491468 -2.731897)'))) / (select extract(epoch from '2026-06-05 17:28:09'::timestamp) - extract(epoch from '2026-06-05 17:27:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491447 -2.731912)', '2026-06-05 17:28:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491468 -2.731897)'), GeomFromEWKT('SRID=4674;POINT (-40.491447 -2.731912)'))) / (select extract(epoch from '2026-06-05 17:28:17'::timestamp) - extract(epoch from '2026-06-05 17:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491468 -2.731897)'), GeomFromEWKT('SRID=4674;POINT (-40.491447 -2.731912)'))) / (select extract(epoch from '2026-06-05 17:28:17'::timestamp) - extract(epoch from '2026-06-05 17:28: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'), 46721, 'SRID=4674;POINT (-40.49141 -2.731899)', '2026-06-05 17:28:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491447 -2.731912)'), GeomFromEWKT('SRID=4674;POINT (-40.49141 -2.731899)'))) / (select extract(epoch from '2026-06-05 17:28:24'::timestamp) - extract(epoch from '2026-06-05 17:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.491447 -2.731912)'), GeomFromEWKT('SRID=4674;POINT (-40.49141 -2.731899)'))) / (select extract(epoch from '2026-06-05 17:28:24'::timestamp) - extract(epoch from '2026-06-05 17:28:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.491363 -2.731874)', '2026-06-05 17:28:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49141 -2.731899)'), GeomFromEWKT('SRID=4674;POINT (-40.491363 -2.731874)'))) / (select extract(epoch from '2026-06-05 17:28:30'::timestamp) - extract(epoch from '2026-06-05 17:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.49141 -2.731899)'), GeomFromEWKT('SRID=4674;POINT (-40.491363 -2.731874)'))) / (select extract(epoch from '2026-06-05 17:28:30'::timestamp) - extract(epoch from '2026-06-05 17:28:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
