BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.136193 -2.824465)', '2026-06-18 22:42:47', 1.4, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.136051 -2.82433)', '2026-06-18 22:42:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136193 -2.824465)'), GeomFromEWKT('SRID=4674;POINT (-40.136051 -2.82433)'))) / (select extract(epoch from '2026-06-18 22:42:59'::timestamp) - extract(epoch from '2026-06-18 22:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136193 -2.824465)'), GeomFromEWKT('SRID=4674;POINT (-40.136051 -2.82433)'))) / (select extract(epoch from '2026-06-18 22:42:59'::timestamp) - extract(epoch from '2026-06-18 22:42:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.1359 -2.824194)', '2026-06-18 22:43:11', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136051 -2.82433)'), GeomFromEWKT('SRID=4674;POINT (-40.1359 -2.824194)'))) / (select extract(epoch from '2026-06-18 22:43:11'::timestamp) - extract(epoch from '2026-06-18 22:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136051 -2.82433)'), GeomFromEWKT('SRID=4674;POINT (-40.1359 -2.824194)'))) / (select extract(epoch from '2026-06-18 22:43:11'::timestamp) - extract(epoch from '2026-06-18 22:42: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'), 46708, 'SRID=4674;POINT (-40.135704 -2.824021)', '2026-06-18 22:43:25', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1359 -2.824194)'), GeomFromEWKT('SRID=4674;POINT (-40.135704 -2.824021)'))) / (select extract(epoch from '2026-06-18 22:43:25'::timestamp) - extract(epoch from '2026-06-18 22:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1359 -2.824194)'), GeomFromEWKT('SRID=4674;POINT (-40.135704 -2.824021)'))) / (select extract(epoch from '2026-06-18 22:43:25'::timestamp) - extract(epoch from '2026-06-18 22:43:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.135567 -2.823846)', '2026-06-18 22:43:37', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135704 -2.824021)'), GeomFromEWKT('SRID=4674;POINT (-40.135567 -2.823846)'))) / (select extract(epoch from '2026-06-18 22:43:37'::timestamp) - extract(epoch from '2026-06-18 22:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135704 -2.824021)'), GeomFromEWKT('SRID=4674;POINT (-40.135567 -2.823846)'))) / (select extract(epoch from '2026-06-18 22:43:37'::timestamp) - extract(epoch from '2026-06-18 22:43:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.135391 -2.823689)', '2026-06-18 22:43:51', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135567 -2.823846)'), GeomFromEWKT('SRID=4674;POINT (-40.135391 -2.823689)'))) / (select extract(epoch from '2026-06-18 22:43:51'::timestamp) - extract(epoch from '2026-06-18 22:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135567 -2.823846)'), GeomFromEWKT('SRID=4674;POINT (-40.135391 -2.823689)'))) / (select extract(epoch from '2026-06-18 22:43:51'::timestamp) - extract(epoch from '2026-06-18 22:43: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'), 46708, 'SRID=4674;POINT (-40.135239 -2.823571)', '2026-06-18 22:44:02', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135391 -2.823689)'), GeomFromEWKT('SRID=4674;POINT (-40.135239 -2.823571)'))) / (select extract(epoch from '2026-06-18 22:44:02'::timestamp) - extract(epoch from '2026-06-18 22:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135391 -2.823689)'), GeomFromEWKT('SRID=4674;POINT (-40.135239 -2.823571)'))) / (select extract(epoch from '2026-06-18 22:44:02'::timestamp) - extract(epoch from '2026-06-18 22:43: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'), 46708, 'SRID=4674;POINT (-40.135118 -2.82342)', '2026-06-18 22:44:13', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135239 -2.823571)'), GeomFromEWKT('SRID=4674;POINT (-40.135118 -2.82342)'))) / (select extract(epoch from '2026-06-18 22:44:13'::timestamp) - extract(epoch from '2026-06-18 22:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135239 -2.823571)'), GeomFromEWKT('SRID=4674;POINT (-40.135118 -2.82342)'))) / (select extract(epoch from '2026-06-18 22:44:13'::timestamp) - extract(epoch from '2026-06-18 22:44:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.135002 -2.823251)', '2026-06-18 22:44:25', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135118 -2.82342)'), GeomFromEWKT('SRID=4674;POINT (-40.135002 -2.823251)'))) / (select extract(epoch from '2026-06-18 22:44:25'::timestamp) - extract(epoch from '2026-06-18 22:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135118 -2.82342)'), GeomFromEWKT('SRID=4674;POINT (-40.135002 -2.823251)'))) / (select extract(epoch from '2026-06-18 22:44:25'::timestamp) - extract(epoch from '2026-06-18 22:44:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.134894 -2.823115)', '2026-06-18 22:44:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135002 -2.823251)'), GeomFromEWKT('SRID=4674;POINT (-40.134894 -2.823115)'))) / (select extract(epoch from '2026-06-18 22:44:35'::timestamp) - extract(epoch from '2026-06-18 22:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135002 -2.823251)'), GeomFromEWKT('SRID=4674;POINT (-40.134894 -2.823115)'))) / (select extract(epoch from '2026-06-18 22:44:35'::timestamp) - extract(epoch from '2026-06-18 22:44:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.134763 -2.822952)', '2026-06-18 22:44:47', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134894 -2.823115)'), GeomFromEWKT('SRID=4674;POINT (-40.134763 -2.822952)'))) / (select extract(epoch from '2026-06-18 22:44:47'::timestamp) - extract(epoch from '2026-06-18 22:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134894 -2.823115)'), GeomFromEWKT('SRID=4674;POINT (-40.134763 -2.822952)'))) / (select extract(epoch from '2026-06-18 22:44:47'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.134651 -2.822761)', '2026-06-18 22:45:00', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134763 -2.822952)'), GeomFromEWKT('SRID=4674;POINT (-40.134651 -2.822761)'))) / (select extract(epoch from '2026-06-18 22:45:00'::timestamp) - extract(epoch from '2026-06-18 22:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134763 -2.822952)'), GeomFromEWKT('SRID=4674;POINT (-40.134651 -2.822761)'))) / (select extract(epoch from '2026-06-18 22:45:00'::timestamp) - extract(epoch from '2026-06-18 22:44: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'), 46708, 'SRID=4674;POINT (-40.134571 -2.822612)', '2026-06-18 22:45:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134651 -2.822761)'), GeomFromEWKT('SRID=4674;POINT (-40.134571 -2.822612)'))) / (select extract(epoch from '2026-06-18 22:45:09'::timestamp) - extract(epoch from '2026-06-18 22:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134651 -2.822761)'), GeomFromEWKT('SRID=4674;POINT (-40.134571 -2.822612)'))) / (select extract(epoch from '2026-06-18 22:45:09'::timestamp) - extract(epoch from '2026-06-18 22:45: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'), 46708, 'SRID=4674;POINT (-40.134532 -2.822412)', '2026-06-18 22:45:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134571 -2.822612)'), GeomFromEWKT('SRID=4674;POINT (-40.134532 -2.822412)'))) / (select extract(epoch from '2026-06-18 22:45:20'::timestamp) - extract(epoch from '2026-06-18 22:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134571 -2.822612)'), GeomFromEWKT('SRID=4674;POINT (-40.134532 -2.822412)'))) / (select extract(epoch from '2026-06-18 22:45:20'::timestamp) - extract(epoch from '2026-06-18 22:45:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.13448 -2.822191)', '2026-06-18 22:45:32', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134532 -2.822412)'), GeomFromEWKT('SRID=4674;POINT (-40.13448 -2.822191)'))) / (select extract(epoch from '2026-06-18 22:45:32'::timestamp) - extract(epoch from '2026-06-18 22:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134532 -2.822412)'), GeomFromEWKT('SRID=4674;POINT (-40.13448 -2.822191)'))) / (select extract(epoch from '2026-06-18 22:45:32'::timestamp) - extract(epoch from '2026-06-18 22:45: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'), 46708, 'SRID=4674;POINT (-40.134396 -2.821969)', '2026-06-18 22:45:45', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13448 -2.822191)'), GeomFromEWKT('SRID=4674;POINT (-40.134396 -2.821969)'))) / (select extract(epoch from '2026-06-18 22:45:45'::timestamp) - extract(epoch from '2026-06-18 22:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13448 -2.822191)'), GeomFromEWKT('SRID=4674;POINT (-40.134396 -2.821969)'))) / (select extract(epoch from '2026-06-18 22:45:45'::timestamp) - extract(epoch from '2026-06-18 22:45: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'), 46708, 'SRID=4674;POINT (-40.134319 -2.821803)', '2026-06-18 22:45:55', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134396 -2.821969)'), GeomFromEWKT('SRID=4674;POINT (-40.134319 -2.821803)'))) / (select extract(epoch from '2026-06-18 22:45:55'::timestamp) - extract(epoch from '2026-06-18 22:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134396 -2.821969)'), GeomFromEWKT('SRID=4674;POINT (-40.134319 -2.821803)'))) / (select extract(epoch from '2026-06-18 22:45:55'::timestamp) - extract(epoch from '2026-06-18 22:45: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'), 46708, 'SRID=4674;POINT (-40.134214 -2.82164)', '2026-06-18 22:46:06', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134319 -2.821803)'), GeomFromEWKT('SRID=4674;POINT (-40.134214 -2.82164)'))) / (select extract(epoch from '2026-06-18 22:46:06'::timestamp) - extract(epoch from '2026-06-18 22:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134319 -2.821803)'), GeomFromEWKT('SRID=4674;POINT (-40.134214 -2.82164)'))) / (select extract(epoch from '2026-06-18 22:46:06'::timestamp) - extract(epoch from '2026-06-18 22:45: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'), 46708, 'SRID=4674;POINT (-40.134072 -2.821488)', '2026-06-18 22:46:18', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134214 -2.82164)'), GeomFromEWKT('SRID=4674;POINT (-40.134072 -2.821488)'))) / (select extract(epoch from '2026-06-18 22:46:18'::timestamp) - extract(epoch from '2026-06-18 22:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134214 -2.82164)'), GeomFromEWKT('SRID=4674;POINT (-40.134072 -2.821488)'))) / (select extract(epoch from '2026-06-18 22:46:18'::timestamp) - extract(epoch from '2026-06-18 22:46: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'), 46708, 'SRID=4674;POINT (-40.134015 -2.821308)', '2026-06-18 22:46:28', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134072 -2.821488)'), GeomFromEWKT('SRID=4674;POINT (-40.134015 -2.821308)'))) / (select extract(epoch from '2026-06-18 22:46:28'::timestamp) - extract(epoch from '2026-06-18 22:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134072 -2.821488)'), GeomFromEWKT('SRID=4674;POINT (-40.134015 -2.821308)'))) / (select extract(epoch from '2026-06-18 22:46:28'::timestamp) - extract(epoch from '2026-06-18 22:46: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'), 46708, 'SRID=4674;POINT (-40.133938 -2.821079)', '2026-06-18 22:46:41', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134015 -2.821308)'), GeomFromEWKT('SRID=4674;POINT (-40.133938 -2.821079)'))) / (select extract(epoch from '2026-06-18 22:46:41'::timestamp) - extract(epoch from '2026-06-18 22:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134015 -2.821308)'), GeomFromEWKT('SRID=4674;POINT (-40.133938 -2.821079)'))) / (select extract(epoch from '2026-06-18 22:46:41'::timestamp) - extract(epoch from '2026-06-18 22:46: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'), 46708, 'SRID=4674;POINT (-40.133887 -2.820889)', '2026-06-18 22:46:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133938 -2.821079)'), GeomFromEWKT('SRID=4674;POINT (-40.133887 -2.820889)'))) / (select extract(epoch from '2026-06-18 22:46:51'::timestamp) - extract(epoch from '2026-06-18 22:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133938 -2.821079)'), GeomFromEWKT('SRID=4674;POINT (-40.133887 -2.820889)'))) / (select extract(epoch from '2026-06-18 22:46:51'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.133824 -2.820706)', '2026-06-18 22:47:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133887 -2.820889)'), GeomFromEWKT('SRID=4674;POINT (-40.133824 -2.820706)'))) / (select extract(epoch from '2026-06-18 22:47:01'::timestamp) - extract(epoch from '2026-06-18 22:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133887 -2.820889)'), GeomFromEWKT('SRID=4674;POINT (-40.133824 -2.820706)'))) / (select extract(epoch from '2026-06-18 22:47:01'::timestamp) - extract(epoch from '2026-06-18 22:46: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'), 46708, 'SRID=4674;POINT (-40.133746 -2.820496)', '2026-06-18 22:47:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133824 -2.820706)'), GeomFromEWKT('SRID=4674;POINT (-40.133746 -2.820496)'))) / (select extract(epoch from '2026-06-18 22:47:13'::timestamp) - extract(epoch from '2026-06-18 22:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133824 -2.820706)'), GeomFromEWKT('SRID=4674;POINT (-40.133746 -2.820496)'))) / (select extract(epoch from '2026-06-18 22:47:13'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.133684 -2.820285)', '2026-06-18 22:47:25', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133746 -2.820496)'), GeomFromEWKT('SRID=4674;POINT (-40.133684 -2.820285)'))) / (select extract(epoch from '2026-06-18 22:47:25'::timestamp) - extract(epoch from '2026-06-18 22:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133746 -2.820496)'), GeomFromEWKT('SRID=4674;POINT (-40.133684 -2.820285)'))) / (select extract(epoch from '2026-06-18 22:47:25'::timestamp) - extract(epoch from '2026-06-18 22:47: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'), 46708, 'SRID=4674;POINT (-40.133683 -2.820071)', '2026-06-18 22:47:37', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133684 -2.820285)'), GeomFromEWKT('SRID=4674;POINT (-40.133683 -2.820071)'))) / (select extract(epoch from '2026-06-18 22:47:37'::timestamp) - extract(epoch from '2026-06-18 22:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133684 -2.820285)'), GeomFromEWKT('SRID=4674;POINT (-40.133683 -2.820071)'))) / (select extract(epoch from '2026-06-18 22:47:37'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.133633 -2.819853)', '2026-06-18 22:47:50', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133683 -2.820071)'), GeomFromEWKT('SRID=4674;POINT (-40.133633 -2.819853)'))) / (select extract(epoch from '2026-06-18 22:47:50'::timestamp) - extract(epoch from '2026-06-18 22:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133683 -2.820071)'), GeomFromEWKT('SRID=4674;POINT (-40.133633 -2.819853)'))) / (select extract(epoch from '2026-06-18 22:47:50'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.133586 -2.819681)', '2026-06-18 22:48:00', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133633 -2.819853)'), GeomFromEWKT('SRID=4674;POINT (-40.133586 -2.819681)'))) / (select extract(epoch from '2026-06-18 22:48:00'::timestamp) - extract(epoch from '2026-06-18 22:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133633 -2.819853)'), GeomFromEWKT('SRID=4674;POINT (-40.133586 -2.819681)'))) / (select extract(epoch from '2026-06-18 22:48:00'::timestamp) - extract(epoch from '2026-06-18 22:47: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'), 46708, 'SRID=4674;POINT (-40.133545 -2.819519)', '2026-06-18 22:48:09', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133586 -2.819681)'), GeomFromEWKT('SRID=4674;POINT (-40.133545 -2.819519)'))) / (select extract(epoch from '2026-06-18 22:48:09'::timestamp) - extract(epoch from '2026-06-18 22:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133586 -2.819681)'), GeomFromEWKT('SRID=4674;POINT (-40.133545 -2.819519)'))) / (select extract(epoch from '2026-06-18 22:48:09'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.133529 -2.819337)', '2026-06-18 22:48:19', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133545 -2.819519)'), GeomFromEWKT('SRID=4674;POINT (-40.133529 -2.819337)'))) / (select extract(epoch from '2026-06-18 22:48:19'::timestamp) - extract(epoch from '2026-06-18 22:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133545 -2.819519)'), GeomFromEWKT('SRID=4674;POINT (-40.133529 -2.819337)'))) / (select extract(epoch from '2026-06-18 22:48:19'::timestamp) - extract(epoch from '2026-06-18 22:48: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'), 46708, 'SRID=4674;POINT (-40.133481 -2.819172)', '2026-06-18 22:48:29', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133529 -2.819337)'), GeomFromEWKT('SRID=4674;POINT (-40.133481 -2.819172)'))) / (select extract(epoch from '2026-06-18 22:48:29'::timestamp) - extract(epoch from '2026-06-18 22:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133529 -2.819337)'), GeomFromEWKT('SRID=4674;POINT (-40.133481 -2.819172)'))) / (select extract(epoch from '2026-06-18 22:48:29'::timestamp) - extract(epoch from '2026-06-18 22:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.133421 -2.819012)', '2026-06-18 22:48:39', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133481 -2.819172)'), GeomFromEWKT('SRID=4674;POINT (-40.133421 -2.819012)'))) / (select extract(epoch from '2026-06-18 22:48:39'::timestamp) - extract(epoch from '2026-06-18 22:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133481 -2.819172)'), GeomFromEWKT('SRID=4674;POINT (-40.133421 -2.819012)'))) / (select extract(epoch from '2026-06-18 22:48:39'::timestamp) - extract(epoch from '2026-06-18 22:48: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'), 46708, 'SRID=4674;POINT (-40.133354 -2.818812)', '2026-06-18 22:48:51', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133421 -2.819012)'), GeomFromEWKT('SRID=4674;POINT (-40.133354 -2.818812)'))) / (select extract(epoch from '2026-06-18 22:48:51'::timestamp) - extract(epoch from '2026-06-18 22:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133421 -2.819012)'), GeomFromEWKT('SRID=4674;POINT (-40.133354 -2.818812)'))) / (select extract(epoch from '2026-06-18 22:48:51'::timestamp) - extract(epoch from '2026-06-18 22:48: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'), 46708, 'SRID=4674;POINT (-40.133271 -2.818636)', '2026-06-18 22:49:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133354 -2.818812)'), GeomFromEWKT('SRID=4674;POINT (-40.133271 -2.818636)'))) / (select extract(epoch from '2026-06-18 22:49:02'::timestamp) - extract(epoch from '2026-06-18 22:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133354 -2.818812)'), GeomFromEWKT('SRID=4674;POINT (-40.133271 -2.818636)'))) / (select extract(epoch from '2026-06-18 22:49:02'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.13316 -2.818462)', '2026-06-18 22:49:14', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133271 -2.818636)'), GeomFromEWKT('SRID=4674;POINT (-40.13316 -2.818462)'))) / (select extract(epoch from '2026-06-18 22:49:14'::timestamp) - extract(epoch from '2026-06-18 22:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133271 -2.818636)'), GeomFromEWKT('SRID=4674;POINT (-40.13316 -2.818462)'))) / (select extract(epoch from '2026-06-18 22:49:14'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.1331 -2.8183)', '2026-06-18 22:49:24', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13316 -2.818462)'), GeomFromEWKT('SRID=4674;POINT (-40.1331 -2.8183)'))) / (select extract(epoch from '2026-06-18 22:49:24'::timestamp) - extract(epoch from '2026-06-18 22:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13316 -2.818462)'), GeomFromEWKT('SRID=4674;POINT (-40.1331 -2.8183)'))) / (select extract(epoch from '2026-06-18 22:49:24'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.133078 -2.818131)', '2026-06-18 22:49:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1331 -2.8183)'), GeomFromEWKT('SRID=4674;POINT (-40.133078 -2.818131)'))) / (select extract(epoch from '2026-06-18 22:49:34'::timestamp) - extract(epoch from '2026-06-18 22:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1331 -2.8183)'), GeomFromEWKT('SRID=4674;POINT (-40.133078 -2.818131)'))) / (select extract(epoch from '2026-06-18 22:49:34'::timestamp) - extract(epoch from '2026-06-18 22:49: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'), 46708, 'SRID=4674;POINT (-40.133061 -2.817939)', '2026-06-18 22:49:45', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133078 -2.818131)'), GeomFromEWKT('SRID=4674;POINT (-40.133061 -2.817939)'))) / (select extract(epoch from '2026-06-18 22:49:45'::timestamp) - extract(epoch from '2026-06-18 22:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133078 -2.818131)'), GeomFromEWKT('SRID=4674;POINT (-40.133061 -2.817939)'))) / (select extract(epoch from '2026-06-18 22:49:45'::timestamp) - extract(epoch from '2026-06-18 22:49: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'), 46708, 'SRID=4674;POINT (-40.133025 -2.817816)', '2026-06-18 22:49:53', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133061 -2.817939)'), GeomFromEWKT('SRID=4674;POINT (-40.133025 -2.817816)'))) / (select extract(epoch from '2026-06-18 22:49:53'::timestamp) - extract(epoch from '2026-06-18 22:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133061 -2.817939)'), GeomFromEWKT('SRID=4674;POINT (-40.133025 -2.817816)'))) / (select extract(epoch from '2026-06-18 22:49:53'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.132947 -2.817651)', '2026-06-18 22:50:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133025 -2.817816)'), GeomFromEWKT('SRID=4674;POINT (-40.132947 -2.817651)'))) / (select extract(epoch from '2026-06-18 22:50:05'::timestamp) - extract(epoch from '2026-06-18 22:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133025 -2.817816)'), GeomFromEWKT('SRID=4674;POINT (-40.132947 -2.817651)'))) / (select extract(epoch from '2026-06-18 22:50:05'::timestamp) - extract(epoch from '2026-06-18 22:49: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'), 46708, 'SRID=4674;POINT (-40.132879 -2.817519)', '2026-06-18 22:50:16', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132947 -2.817651)'), GeomFromEWKT('SRID=4674;POINT (-40.132879 -2.817519)'))) / (select extract(epoch from '2026-06-18 22:50:16'::timestamp) - extract(epoch from '2026-06-18 22:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132947 -2.817651)'), GeomFromEWKT('SRID=4674;POINT (-40.132879 -2.817519)'))) / (select extract(epoch from '2026-06-18 22:50:16'::timestamp) - extract(epoch from '2026-06-18 22:50: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'), 46708, 'SRID=4674;POINT (-40.132834 -2.817377)', '2026-06-18 22:50:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132879 -2.817519)'), GeomFromEWKT('SRID=4674;POINT (-40.132834 -2.817377)'))) / (select extract(epoch from '2026-06-18 22:50:26'::timestamp) - extract(epoch from '2026-06-18 22:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132879 -2.817519)'), GeomFromEWKT('SRID=4674;POINT (-40.132834 -2.817377)'))) / (select extract(epoch from '2026-06-18 22:50:26'::timestamp) - extract(epoch from '2026-06-18 22:50: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'), 46708, 'SRID=4674;POINT (-40.13278 -2.817217)', '2026-06-18 22:50:37', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132834 -2.817377)'), GeomFromEWKT('SRID=4674;POINT (-40.13278 -2.817217)'))) / (select extract(epoch from '2026-06-18 22:50:37'::timestamp) - extract(epoch from '2026-06-18 22:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132834 -2.817377)'), GeomFromEWKT('SRID=4674;POINT (-40.13278 -2.817217)'))) / (select extract(epoch from '2026-06-18 22:50:37'::timestamp) - extract(epoch from '2026-06-18 22:50: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'), 46708, 'SRID=4674;POINT (-40.132717 -2.817074)', '2026-06-18 22:50:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13278 -2.817217)'), GeomFromEWKT('SRID=4674;POINT (-40.132717 -2.817074)'))) / (select extract(epoch from '2026-06-18 22:50:46'::timestamp) - extract(epoch from '2026-06-18 22:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13278 -2.817217)'), GeomFromEWKT('SRID=4674;POINT (-40.132717 -2.817074)'))) / (select extract(epoch from '2026-06-18 22:50:46'::timestamp) - extract(epoch from '2026-06-18 22:50: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'), 46708, 'SRID=4674;POINT (-40.132648 -2.816939)', '2026-06-18 22:50:55', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132717 -2.817074)'), GeomFromEWKT('SRID=4674;POINT (-40.132648 -2.816939)'))) / (select extract(epoch from '2026-06-18 22:50:55'::timestamp) - extract(epoch from '2026-06-18 22:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132717 -2.817074)'), GeomFromEWKT('SRID=4674;POINT (-40.132648 -2.816939)'))) / (select extract(epoch from '2026-06-18 22:50:55'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.13259 -2.816781)', '2026-06-18 22:51:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132648 -2.816939)'), GeomFromEWKT('SRID=4674;POINT (-40.13259 -2.816781)'))) / (select extract(epoch from '2026-06-18 22:51:05'::timestamp) - extract(epoch from '2026-06-18 22:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132648 -2.816939)'), GeomFromEWKT('SRID=4674;POINT (-40.13259 -2.816781)'))) / (select extract(epoch from '2026-06-18 22:51:05'::timestamp) - extract(epoch from '2026-06-18 22:50: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'), 46708, 'SRID=4674;POINT (-40.132536 -2.816637)', '2026-06-18 22:51:14', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13259 -2.816781)'), GeomFromEWKT('SRID=4674;POINT (-40.132536 -2.816637)'))) / (select extract(epoch from '2026-06-18 22:51:14'::timestamp) - extract(epoch from '2026-06-18 22:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13259 -2.816781)'), GeomFromEWKT('SRID=4674;POINT (-40.132536 -2.816637)'))) / (select extract(epoch from '2026-06-18 22:51:14'::timestamp) - extract(epoch from '2026-06-18 22:51:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.132527 -2.816492)', '2026-06-18 22:51:23', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132536 -2.816637)'), GeomFromEWKT('SRID=4674;POINT (-40.132527 -2.816492)'))) / (select extract(epoch from '2026-06-18 22:51:23'::timestamp) - extract(epoch from '2026-06-18 22:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132536 -2.816637)'), GeomFromEWKT('SRID=4674;POINT (-40.132527 -2.816492)'))) / (select extract(epoch from '2026-06-18 22:51:23'::timestamp) - extract(epoch from '2026-06-18 22:51:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.132518 -2.81633)', '2026-06-18 22:51:33', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132527 -2.816492)'), GeomFromEWKT('SRID=4674;POINT (-40.132518 -2.81633)'))) / (select extract(epoch from '2026-06-18 22:51:33'::timestamp) - extract(epoch from '2026-06-18 22:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132527 -2.816492)'), GeomFromEWKT('SRID=4674;POINT (-40.132518 -2.81633)'))) / (select extract(epoch from '2026-06-18 22:51:33'::timestamp) - extract(epoch from '2026-06-18 22:51:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.13249 -2.816182)', '2026-06-18 22:51:42', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132518 -2.81633)'), GeomFromEWKT('SRID=4674;POINT (-40.13249 -2.816182)'))) / (select extract(epoch from '2026-06-18 22:51:42'::timestamp) - extract(epoch from '2026-06-18 22:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132518 -2.81633)'), GeomFromEWKT('SRID=4674;POINT (-40.13249 -2.816182)'))) / (select extract(epoch from '2026-06-18 22:51:42'::timestamp) - extract(epoch from '2026-06-18 22:51: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'), 46708, 'SRID=4674;POINT (-40.13245 -2.816043)', '2026-06-18 22:51:51', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13249 -2.816182)'), GeomFromEWKT('SRID=4674;POINT (-40.13245 -2.816043)'))) / (select extract(epoch from '2026-06-18 22:51:51'::timestamp) - extract(epoch from '2026-06-18 22:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13249 -2.816182)'), GeomFromEWKT('SRID=4674;POINT (-40.13245 -2.816043)'))) / (select extract(epoch from '2026-06-18 22:51:51'::timestamp) - extract(epoch from '2026-06-18 22:51: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'), 46708, 'SRID=4674;POINT (-40.132392 -2.815886)', '2026-06-18 22:52:01', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13245 -2.816043)'), GeomFromEWKT('SRID=4674;POINT (-40.132392 -2.815886)'))) / (select extract(epoch from '2026-06-18 22:52:01'::timestamp) - extract(epoch from '2026-06-18 22:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13245 -2.816043)'), GeomFromEWKT('SRID=4674;POINT (-40.132392 -2.815886)'))) / (select extract(epoch from '2026-06-18 22:52:01'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.132368 -2.815727)', '2026-06-18 22:52:11', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132392 -2.815886)'), GeomFromEWKT('SRID=4674;POINT (-40.132368 -2.815727)'))) / (select extract(epoch from '2026-06-18 22:52:11'::timestamp) - extract(epoch from '2026-06-18 22:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132392 -2.815886)'), GeomFromEWKT('SRID=4674;POINT (-40.132368 -2.815727)'))) / (select extract(epoch from '2026-06-18 22:52:11'::timestamp) - extract(epoch from '2026-06-18 22:52: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'), 46708, 'SRID=4674;POINT (-40.132377 -2.8156)', '2026-06-18 22:52:19', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132368 -2.815727)'), GeomFromEWKT('SRID=4674;POINT (-40.132377 -2.8156)'))) / (select extract(epoch from '2026-06-18 22:52:19'::timestamp) - extract(epoch from '2026-06-18 22:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132368 -2.815727)'), GeomFromEWKT('SRID=4674;POINT (-40.132377 -2.8156)'))) / (select extract(epoch from '2026-06-18 22:52:19'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.132372 -2.815474)', '2026-06-18 22:52:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132377 -2.8156)'), GeomFromEWKT('SRID=4674;POINT (-40.132372 -2.815474)'))) / (select extract(epoch from '2026-06-18 22:52:27'::timestamp) - extract(epoch from '2026-06-18 22:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132377 -2.8156)'), GeomFromEWKT('SRID=4674;POINT (-40.132372 -2.815474)'))) / (select extract(epoch from '2026-06-18 22:52:27'::timestamp) - extract(epoch from '2026-06-18 22:52: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'), 46708, 'SRID=4674;POINT (-40.13235 -2.815366)', '2026-06-18 22:52:35', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132372 -2.815474)'), GeomFromEWKT('SRID=4674;POINT (-40.13235 -2.815366)'))) / (select extract(epoch from '2026-06-18 22:52:35'::timestamp) - extract(epoch from '2026-06-18 22:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132372 -2.815474)'), GeomFromEWKT('SRID=4674;POINT (-40.13235 -2.815366)'))) / (select extract(epoch from '2026-06-18 22:52:35'::timestamp) - extract(epoch from '2026-06-18 22:52: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'), 46708, 'SRID=4674;POINT (-40.132351 -2.815207)', '2026-06-18 22:52:45', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13235 -2.815366)'), GeomFromEWKT('SRID=4674;POINT (-40.132351 -2.815207)'))) / (select extract(epoch from '2026-06-18 22:52:45'::timestamp) - extract(epoch from '2026-06-18 22:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13235 -2.815366)'), GeomFromEWKT('SRID=4674;POINT (-40.132351 -2.815207)'))) / (select extract(epoch from '2026-06-18 22:52:45'::timestamp) - extract(epoch from '2026-06-18 22:52: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'), 46708, 'SRID=4674;POINT (-40.132321 -2.815022)', '2026-06-18 22:52:56', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132351 -2.815207)'), GeomFromEWKT('SRID=4674;POINT (-40.132321 -2.815022)'))) / (select extract(epoch from '2026-06-18 22:52:56'::timestamp) - extract(epoch from '2026-06-18 22:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132351 -2.815207)'), GeomFromEWKT('SRID=4674;POINT (-40.132321 -2.815022)'))) / (select extract(epoch from '2026-06-18 22:52:56'::timestamp) - extract(epoch from '2026-06-18 22:52: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'), 46708, 'SRID=4674;POINT (-40.132306 -2.814887)', '2026-06-18 22:53:04', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132321 -2.815022)'), GeomFromEWKT('SRID=4674;POINT (-40.132306 -2.814887)'))) / (select extract(epoch from '2026-06-18 22:53:04'::timestamp) - extract(epoch from '2026-06-18 22:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132321 -2.815022)'), GeomFromEWKT('SRID=4674;POINT (-40.132306 -2.814887)'))) / (select extract(epoch from '2026-06-18 22:53:04'::timestamp) - extract(epoch from '2026-06-18 22:52:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.132328 -2.814693)', '2026-06-18 22:53:14', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132306 -2.814887)'), GeomFromEWKT('SRID=4674;POINT (-40.132328 -2.814693)'))) / (select extract(epoch from '2026-06-18 22:53:14'::timestamp) - extract(epoch from '2026-06-18 22:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132306 -2.814887)'), GeomFromEWKT('SRID=4674;POINT (-40.132328 -2.814693)'))) / (select extract(epoch from '2026-06-18 22:53:14'::timestamp) - extract(epoch from '2026-06-18 22:53: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'), 46708, 'SRID=4674;POINT (-40.132332 -2.814485)', '2026-06-18 22:53:25', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132328 -2.814693)'), GeomFromEWKT('SRID=4674;POINT (-40.132332 -2.814485)'))) / (select extract(epoch from '2026-06-18 22:53:25'::timestamp) - extract(epoch from '2026-06-18 22:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132328 -2.814693)'), GeomFromEWKT('SRID=4674;POINT (-40.132332 -2.814485)'))) / (select extract(epoch from '2026-06-18 22:53:25'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.132325 -2.81428)', '2026-06-18 22:53:36', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132332 -2.814485)'), GeomFromEWKT('SRID=4674;POINT (-40.132325 -2.81428)'))) / (select extract(epoch from '2026-06-18 22:53:36'::timestamp) - extract(epoch from '2026-06-18 22:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132332 -2.814485)'), GeomFromEWKT('SRID=4674;POINT (-40.132325 -2.81428)'))) / (select extract(epoch from '2026-06-18 22:53:36'::timestamp) - extract(epoch from '2026-06-18 22:53: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'), 46708, 'SRID=4674;POINT (-40.132311 -2.814131)', '2026-06-18 22:53:44', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132325 -2.81428)'), GeomFromEWKT('SRID=4674;POINT (-40.132311 -2.814131)'))) / (select extract(epoch from '2026-06-18 22:53:44'::timestamp) - extract(epoch from '2026-06-18 22:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132325 -2.81428)'), GeomFromEWKT('SRID=4674;POINT (-40.132311 -2.814131)'))) / (select extract(epoch from '2026-06-18 22:53:44'::timestamp) - extract(epoch from '2026-06-18 22:53: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'), 46708, 'SRID=4674;POINT (-40.132342 -2.813979)', '2026-06-18 22:53:52', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132311 -2.814131)'), GeomFromEWKT('SRID=4674;POINT (-40.132342 -2.813979)'))) / (select extract(epoch from '2026-06-18 22:53:52'::timestamp) - extract(epoch from '2026-06-18 22:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132311 -2.814131)'), GeomFromEWKT('SRID=4674;POINT (-40.132342 -2.813979)'))) / (select extract(epoch from '2026-06-18 22:53:52'::timestamp) - extract(epoch from '2026-06-18 22:53: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'), 46708, 'SRID=4674;POINT (-40.132322 -2.813825)', '2026-06-18 22:54:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132342 -2.813979)'), GeomFromEWKT('SRID=4674;POINT (-40.132322 -2.813825)'))) / (select extract(epoch from '2026-06-18 22:54:01'::timestamp) - extract(epoch from '2026-06-18 22:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132342 -2.813979)'), GeomFromEWKT('SRID=4674;POINT (-40.132322 -2.813825)'))) / (select extract(epoch from '2026-06-18 22:54:01'::timestamp) - extract(epoch from '2026-06-18 22:53: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'), 46708, 'SRID=4674;POINT (-40.132298 -2.813703)', '2026-06-18 22:54:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132322 -2.813825)'), GeomFromEWKT('SRID=4674;POINT (-40.132298 -2.813703)'))) / (select extract(epoch from '2026-06-18 22:54:09'::timestamp) - extract(epoch from '2026-06-18 22:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132322 -2.813825)'), GeomFromEWKT('SRID=4674;POINT (-40.132298 -2.813703)'))) / (select extract(epoch from '2026-06-18 22:54:09'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.132293 -2.813581)', '2026-06-18 22:54:17', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132298 -2.813703)'), GeomFromEWKT('SRID=4674;POINT (-40.132293 -2.813581)'))) / (select extract(epoch from '2026-06-18 22:54:17'::timestamp) - extract(epoch from '2026-06-18 22:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132298 -2.813703)'), GeomFromEWKT('SRID=4674;POINT (-40.132293 -2.813581)'))) / (select extract(epoch from '2026-06-18 22:54:17'::timestamp) - extract(epoch from '2026-06-18 22:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.132337 -2.813433)', '2026-06-18 22:54:25', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132293 -2.813581)'), GeomFromEWKT('SRID=4674;POINT (-40.132337 -2.813433)'))) / (select extract(epoch from '2026-06-18 22:54:25'::timestamp) - extract(epoch from '2026-06-18 22:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132293 -2.813581)'), GeomFromEWKT('SRID=4674;POINT (-40.132337 -2.813433)'))) / (select extract(epoch from '2026-06-18 22:54:25'::timestamp) - extract(epoch from '2026-06-18 22:54: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'), 46708, 'SRID=4674;POINT (-40.132397 -2.81332)', '2026-06-18 22:54:31', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132337 -2.813433)'), GeomFromEWKT('SRID=4674;POINT (-40.132397 -2.81332)'))) / (select extract(epoch from '2026-06-18 22:54:31'::timestamp) - extract(epoch from '2026-06-18 22:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132337 -2.813433)'), GeomFromEWKT('SRID=4674;POINT (-40.132397 -2.81332)'))) / (select extract(epoch from '2026-06-18 22:54:31'::timestamp) - extract(epoch from '2026-06-18 22:54:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.132486 -2.813153)', '2026-06-18 22:54:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132397 -2.81332)'), GeomFromEWKT('SRID=4674;POINT (-40.132486 -2.813153)'))) / (select extract(epoch from '2026-06-18 22:54:40'::timestamp) - extract(epoch from '2026-06-18 22:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132397 -2.81332)'), GeomFromEWKT('SRID=4674;POINT (-40.132486 -2.813153)'))) / (select extract(epoch from '2026-06-18 22:54:40'::timestamp) - extract(epoch from '2026-06-18 22:54:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.132533 -2.813087)', '2026-06-18 22:54:44', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132486 -2.813153)'), GeomFromEWKT('SRID=4674;POINT (-40.132533 -2.813087)'))) / (select extract(epoch from '2026-06-18 22:54:44'::timestamp) - extract(epoch from '2026-06-18 22:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132486 -2.813153)'), GeomFromEWKT('SRID=4674;POINT (-40.132533 -2.813087)'))) / (select extract(epoch from '2026-06-18 22:54:44'::timestamp) - extract(epoch from '2026-06-18 22:54:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.132609 -2.812992)', '2026-06-18 22:54:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132533 -2.813087)'), GeomFromEWKT('SRID=4674;POINT (-40.132609 -2.812992)'))) / (select extract(epoch from '2026-06-18 22:54:50'::timestamp) - extract(epoch from '2026-06-18 22:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132533 -2.813087)'), GeomFromEWKT('SRID=4674;POINT (-40.132609 -2.812992)'))) / (select extract(epoch from '2026-06-18 22:54:50'::timestamp) - extract(epoch from '2026-06-18 22:54: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'), 46708, 'SRID=4674;POINT (-40.132672 -2.812866)', '2026-06-18 22:54:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132609 -2.812992)'), GeomFromEWKT('SRID=4674;POINT (-40.132672 -2.812866)'))) / (select extract(epoch from '2026-06-18 22:54:57'::timestamp) - extract(epoch from '2026-06-18 22:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132609 -2.812992)'), GeomFromEWKT('SRID=4674;POINT (-40.132672 -2.812866)'))) / (select extract(epoch from '2026-06-18 22:54:57'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.132698 -2.812725)', '2026-06-18 22:55:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132672 -2.812866)'), GeomFromEWKT('SRID=4674;POINT (-40.132698 -2.812725)'))) / (select extract(epoch from '2026-06-18 22:55:05'::timestamp) - extract(epoch from '2026-06-18 22:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132672 -2.812866)'), GeomFromEWKT('SRID=4674;POINT (-40.132698 -2.812725)'))) / (select extract(epoch from '2026-06-18 22:55:05'::timestamp) - extract(epoch from '2026-06-18 22:54: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'), 46708, 'SRID=4674;POINT (-40.132701 -2.812552)', '2026-06-18 22:55:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132698 -2.812725)'), GeomFromEWKT('SRID=4674;POINT (-40.132701 -2.812552)'))) / (select extract(epoch from '2026-06-18 22:55:15'::timestamp) - extract(epoch from '2026-06-18 22:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132698 -2.812725)'), GeomFromEWKT('SRID=4674;POINT (-40.132701 -2.812552)'))) / (select extract(epoch from '2026-06-18 22:55:15'::timestamp) - extract(epoch from '2026-06-18 22:55:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.132699 -2.812384)', '2026-06-18 22:55:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132701 -2.812552)'), GeomFromEWKT('SRID=4674;POINT (-40.132699 -2.812384)'))) / (select extract(epoch from '2026-06-18 22:55:25'::timestamp) - extract(epoch from '2026-06-18 22:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132701 -2.812552)'), GeomFromEWKT('SRID=4674;POINT (-40.132699 -2.812384)'))) / (select extract(epoch from '2026-06-18 22:55:25'::timestamp) - extract(epoch from '2026-06-18 22:55: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'), 46708, 'SRID=4674;POINT (-40.132684 -2.812241)', '2026-06-18 22:55:33', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132699 -2.812384)'), GeomFromEWKT('SRID=4674;POINT (-40.132684 -2.812241)'))) / (select extract(epoch from '2026-06-18 22:55:33'::timestamp) - extract(epoch from '2026-06-18 22:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132699 -2.812384)'), GeomFromEWKT('SRID=4674;POINT (-40.132684 -2.812241)'))) / (select extract(epoch from '2026-06-18 22:55:33'::timestamp) - extract(epoch from '2026-06-18 22:55: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'), 46708, 'SRID=4674;POINT (-40.132702 -2.812088)', '2026-06-18 22:55:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132684 -2.812241)'), GeomFromEWKT('SRID=4674;POINT (-40.132702 -2.812088)'))) / (select extract(epoch from '2026-06-18 22:55:41'::timestamp) - extract(epoch from '2026-06-18 22:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132684 -2.812241)'), GeomFromEWKT('SRID=4674;POINT (-40.132702 -2.812088)'))) / (select extract(epoch from '2026-06-18 22:55:41'::timestamp) - extract(epoch from '2026-06-18 22:55: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'), 46708, 'SRID=4674;POINT (-40.132718 -2.811947)', '2026-06-18 22:55:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132702 -2.812088)'), GeomFromEWKT('SRID=4674;POINT (-40.132718 -2.811947)'))) / (select extract(epoch from '2026-06-18 22:55:48'::timestamp) - extract(epoch from '2026-06-18 22:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132702 -2.812088)'), GeomFromEWKT('SRID=4674;POINT (-40.132718 -2.811947)'))) / (select extract(epoch from '2026-06-18 22:55:48'::timestamp) - extract(epoch from '2026-06-18 22:55: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'), 46708, 'SRID=4674;POINT (-40.132728 -2.811815)', '2026-06-18 22:55:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132718 -2.811947)'), GeomFromEWKT('SRID=4674;POINT (-40.132728 -2.811815)'))) / (select extract(epoch from '2026-06-18 22:55:55'::timestamp) - extract(epoch from '2026-06-18 22:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132718 -2.811947)'), GeomFromEWKT('SRID=4674;POINT (-40.132728 -2.811815)'))) / (select extract(epoch from '2026-06-18 22:55:55'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.132729 -2.811666)', '2026-06-18 22:56:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132728 -2.811815)'), GeomFromEWKT('SRID=4674;POINT (-40.132729 -2.811666)'))) / (select extract(epoch from '2026-06-18 22:56:03'::timestamp) - extract(epoch from '2026-06-18 22:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132728 -2.811815)'), GeomFromEWKT('SRID=4674;POINT (-40.132729 -2.811666)'))) / (select extract(epoch from '2026-06-18 22:56:03'::timestamp) - extract(epoch from '2026-06-18 22:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.132721 -2.811489)', '2026-06-18 22:56:12', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132729 -2.811666)'), GeomFromEWKT('SRID=4674;POINT (-40.132721 -2.811489)'))) / (select extract(epoch from '2026-06-18 22:56:12'::timestamp) - extract(epoch from '2026-06-18 22:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132729 -2.811666)'), GeomFromEWKT('SRID=4674;POINT (-40.132721 -2.811489)'))) / (select extract(epoch from '2026-06-18 22:56:12'::timestamp) - extract(epoch from '2026-06-18 22:56: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'), 46708, 'SRID=4674;POINT (-40.132771 -2.811355)', '2026-06-18 22:56:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132721 -2.811489)'), GeomFromEWKT('SRID=4674;POINT (-40.132771 -2.811355)'))) / (select extract(epoch from '2026-06-18 22:56:19'::timestamp) - extract(epoch from '2026-06-18 22:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132721 -2.811489)'), GeomFromEWKT('SRID=4674;POINT (-40.132771 -2.811355)'))) / (select extract(epoch from '2026-06-18 22:56:19'::timestamp) - extract(epoch from '2026-06-18 22:56:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.132891 -2.811205)', '2026-06-18 22:56:28', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132771 -2.811355)'), GeomFromEWKT('SRID=4674;POINT (-40.132891 -2.811205)'))) / (select extract(epoch from '2026-06-18 22:56:28'::timestamp) - extract(epoch from '2026-06-18 22:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132771 -2.811355)'), GeomFromEWKT('SRID=4674;POINT (-40.132891 -2.811205)'))) / (select extract(epoch from '2026-06-18 22:56:28'::timestamp) - extract(epoch from '2026-06-18 22:56: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'), 46708, 'SRID=4674;POINT (-40.132933 -2.81105)', '2026-06-18 22:56:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132891 -2.811205)'), GeomFromEWKT('SRID=4674;POINT (-40.132933 -2.81105)'))) / (select extract(epoch from '2026-06-18 22:56:36'::timestamp) - extract(epoch from '2026-06-18 22:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132891 -2.811205)'), GeomFromEWKT('SRID=4674;POINT (-40.132933 -2.81105)'))) / (select extract(epoch from '2026-06-18 22:56:36'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.132952 -2.810862)', '2026-06-18 22:56:45', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132933 -2.81105)'), GeomFromEWKT('SRID=4674;POINT (-40.132952 -2.810862)'))) / (select extract(epoch from '2026-06-18 22:56:45'::timestamp) - extract(epoch from '2026-06-18 22:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132933 -2.81105)'), GeomFromEWKT('SRID=4674;POINT (-40.132952 -2.810862)'))) / (select extract(epoch from '2026-06-18 22:56:45'::timestamp) - extract(epoch from '2026-06-18 22:56:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.132966 -2.810734)', '2026-06-18 22:56:52', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132952 -2.810862)'), GeomFromEWKT('SRID=4674;POINT (-40.132966 -2.810734)'))) / (select extract(epoch from '2026-06-18 22:56:52'::timestamp) - extract(epoch from '2026-06-18 22:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132952 -2.810862)'), GeomFromEWKT('SRID=4674;POINT (-40.132966 -2.810734)'))) / (select extract(epoch from '2026-06-18 22:56:52'::timestamp) - extract(epoch from '2026-06-18 22:56: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'), 46708, 'SRID=4674;POINT (-40.13296 -2.810569)', '2026-06-18 22:57:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132966 -2.810734)'), GeomFromEWKT('SRID=4674;POINT (-40.13296 -2.810569)'))) / (select extract(epoch from '2026-06-18 22:57:01'::timestamp) - extract(epoch from '2026-06-18 22:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132966 -2.810734)'), GeomFromEWKT('SRID=4674;POINT (-40.13296 -2.810569)'))) / (select extract(epoch from '2026-06-18 22:57:01'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.132957 -2.810388)', '2026-06-18 22:57:10', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13296 -2.810569)'), GeomFromEWKT('SRID=4674;POINT (-40.132957 -2.810388)'))) / (select extract(epoch from '2026-06-18 22:57:10'::timestamp) - extract(epoch from '2026-06-18 22:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13296 -2.810569)'), GeomFromEWKT('SRID=4674;POINT (-40.132957 -2.810388)'))) / (select extract(epoch from '2026-06-18 22:57:10'::timestamp) - extract(epoch from '2026-06-18 22:57: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'), 46708, 'SRID=4674;POINT (-40.132957 -2.81026)', '2026-06-18 22:57:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132957 -2.810388)'), GeomFromEWKT('SRID=4674;POINT (-40.132957 -2.81026)'))) / (select extract(epoch from '2026-06-18 22:57:17'::timestamp) - extract(epoch from '2026-06-18 22:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132957 -2.810388)'), GeomFromEWKT('SRID=4674;POINT (-40.132957 -2.81026)'))) / (select extract(epoch from '2026-06-18 22:57:17'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.13294 -2.810114)', '2026-06-18 22:57:25', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132957 -2.81026)'), GeomFromEWKT('SRID=4674;POINT (-40.13294 -2.810114)'))) / (select extract(epoch from '2026-06-18 22:57:25'::timestamp) - extract(epoch from '2026-06-18 22:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132957 -2.81026)'), GeomFromEWKT('SRID=4674;POINT (-40.13294 -2.810114)'))) / (select extract(epoch from '2026-06-18 22:57:25'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.132921 -2.809999)', '2026-06-18 22:57:32', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13294 -2.810114)'), GeomFromEWKT('SRID=4674;POINT (-40.132921 -2.809999)'))) / (select extract(epoch from '2026-06-18 22:57:32'::timestamp) - extract(epoch from '2026-06-18 22:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13294 -2.810114)'), GeomFromEWKT('SRID=4674;POINT (-40.132921 -2.809999)'))) / (select extract(epoch from '2026-06-18 22:57:32'::timestamp) - extract(epoch from '2026-06-18 22:57: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'), 46708, 'SRID=4674;POINT (-40.13293 -2.809893)', '2026-06-18 22:57:38', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132921 -2.809999)'), GeomFromEWKT('SRID=4674;POINT (-40.13293 -2.809893)'))) / (select extract(epoch from '2026-06-18 22:57:38'::timestamp) - extract(epoch from '2026-06-18 22:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132921 -2.809999)'), GeomFromEWKT('SRID=4674;POINT (-40.13293 -2.809893)'))) / (select extract(epoch from '2026-06-18 22:57:38'::timestamp) - extract(epoch from '2026-06-18 22:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.132945 -2.809786)', '2026-06-18 22:57:44', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13293 -2.809893)'), GeomFromEWKT('SRID=4674;POINT (-40.132945 -2.809786)'))) / (select extract(epoch from '2026-06-18 22:57:44'::timestamp) - extract(epoch from '2026-06-18 22:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13293 -2.809893)'), GeomFromEWKT('SRID=4674;POINT (-40.132945 -2.809786)'))) / (select extract(epoch from '2026-06-18 22:57:44'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.132942 -2.809609)', '2026-06-18 22:57:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132945 -2.809786)'), GeomFromEWKT('SRID=4674;POINT (-40.132942 -2.809609)'))) / (select extract(epoch from '2026-06-18 22:57:54'::timestamp) - extract(epoch from '2026-06-18 22:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132945 -2.809786)'), GeomFromEWKT('SRID=4674;POINT (-40.132942 -2.809609)'))) / (select extract(epoch from '2026-06-18 22:57:54'::timestamp) - extract(epoch from '2026-06-18 22:57: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'), 46708, 'SRID=4674;POINT (-40.132933 -2.80946)', '2026-06-18 22:58:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132942 -2.809609)'), GeomFromEWKT('SRID=4674;POINT (-40.132933 -2.80946)'))) / (select extract(epoch from '2026-06-18 22:58:02'::timestamp) - extract(epoch from '2026-06-18 22:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132942 -2.809609)'), GeomFromEWKT('SRID=4674;POINT (-40.132933 -2.80946)'))) / (select extract(epoch from '2026-06-18 22:58:02'::timestamp) - extract(epoch from '2026-06-18 22:57: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'), 46708, 'SRID=4674;POINT (-40.132973 -2.809334)', '2026-06-18 22:58:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132933 -2.80946)'), GeomFromEWKT('SRID=4674;POINT (-40.132973 -2.809334)'))) / (select extract(epoch from '2026-06-18 22:58:09'::timestamp) - extract(epoch from '2026-06-18 22:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132933 -2.80946)'), GeomFromEWKT('SRID=4674;POINT (-40.132973 -2.809334)'))) / (select extract(epoch from '2026-06-18 22:58:09'::timestamp) - extract(epoch from '2026-06-18 22:58: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'), 46708, 'SRID=4674;POINT (-40.13306 -2.809188)', '2026-06-18 22:58:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132973 -2.809334)'), GeomFromEWKT('SRID=4674;POINT (-40.13306 -2.809188)'))) / (select extract(epoch from '2026-06-18 22:58:17'::timestamp) - extract(epoch from '2026-06-18 22:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132973 -2.809334)'), GeomFromEWKT('SRID=4674;POINT (-40.13306 -2.809188)'))) / (select extract(epoch from '2026-06-18 22:58:17'::timestamp) - extract(epoch from '2026-06-18 22:58:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.133092 -2.809031)', '2026-06-18 22:58:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13306 -2.809188)'), GeomFromEWKT('SRID=4674;POINT (-40.133092 -2.809031)'))) / (select extract(epoch from '2026-06-18 22:58:25'::timestamp) - extract(epoch from '2026-06-18 22:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13306 -2.809188)'), GeomFromEWKT('SRID=4674;POINT (-40.133092 -2.809031)'))) / (select extract(epoch from '2026-06-18 22:58:25'::timestamp) - extract(epoch from '2026-06-18 22:58:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.13309 -2.808911)', '2026-06-18 22:58:32', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133092 -2.809031)'), GeomFromEWKT('SRID=4674;POINT (-40.13309 -2.808911)'))) / (select extract(epoch from '2026-06-18 22:58:32'::timestamp) - extract(epoch from '2026-06-18 22:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133092 -2.809031)'), GeomFromEWKT('SRID=4674;POINT (-40.13309 -2.808911)'))) / (select extract(epoch from '2026-06-18 22:58:32'::timestamp) - extract(epoch from '2026-06-18 22:58:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.133089 -2.808814)', '2026-06-18 22:58:38', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13309 -2.808911)'), GeomFromEWKT('SRID=4674;POINT (-40.133089 -2.808814)'))) / (select extract(epoch from '2026-06-18 22:58:38'::timestamp) - extract(epoch from '2026-06-18 22:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13309 -2.808911)'), GeomFromEWKT('SRID=4674;POINT (-40.133089 -2.808814)'))) / (select extract(epoch from '2026-06-18 22:58:38'::timestamp) - extract(epoch from '2026-06-18 22:58:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.133078 -2.808675)', '2026-06-18 22:58:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133089 -2.808814)'), GeomFromEWKT('SRID=4674;POINT (-40.133078 -2.808675)'))) / (select extract(epoch from '2026-06-18 22:58:47'::timestamp) - extract(epoch from '2026-06-18 22:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133089 -2.808814)'), GeomFromEWKT('SRID=4674;POINT (-40.133078 -2.808675)'))) / (select extract(epoch from '2026-06-18 22:58:47'::timestamp) - extract(epoch from '2026-06-18 22:58: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'), 46708, 'SRID=4674;POINT (-40.133043 -2.808579)', '2026-06-18 22:58:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133078 -2.808675)'), GeomFromEWKT('SRID=4674;POINT (-40.133043 -2.808579)'))) / (select extract(epoch from '2026-06-18 22:58:55'::timestamp) - extract(epoch from '2026-06-18 22:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133078 -2.808675)'), GeomFromEWKT('SRID=4674;POINT (-40.133043 -2.808579)'))) / (select extract(epoch from '2026-06-18 22:58:55'::timestamp) - extract(epoch from '2026-06-18 22:58: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'), 46708, 'SRID=4674;POINT (-40.13303 -2.808481)', '2026-06-18 22:59:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133043 -2.808579)'), GeomFromEWKT('SRID=4674;POINT (-40.13303 -2.808481)'))) / (select extract(epoch from '2026-06-18 22:59:02'::timestamp) - extract(epoch from '2026-06-18 22:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133043 -2.808579)'), GeomFromEWKT('SRID=4674;POINT (-40.13303 -2.808481)'))) / (select extract(epoch from '2026-06-18 22:59:02'::timestamp) - extract(epoch from '2026-06-18 22:58: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'), 46708, 'SRID=4674;POINT (-40.133089 -2.808376)', '2026-06-18 22:59:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13303 -2.808481)'), GeomFromEWKT('SRID=4674;POINT (-40.133089 -2.808376)'))) / (select extract(epoch from '2026-06-18 22:59:09'::timestamp) - extract(epoch from '2026-06-18 22:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13303 -2.808481)'), GeomFromEWKT('SRID=4674;POINT (-40.133089 -2.808376)'))) / (select extract(epoch from '2026-06-18 22:59:09'::timestamp) - extract(epoch from '2026-06-18 22:59: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'), 46708, 'SRID=4674;POINT (-40.133168 -2.808227)', '2026-06-18 22:59:17', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133089 -2.808376)'), GeomFromEWKT('SRID=4674;POINT (-40.133168 -2.808227)'))) / (select extract(epoch from '2026-06-18 22:59:17'::timestamp) - extract(epoch from '2026-06-18 22:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133089 -2.808376)'), GeomFromEWKT('SRID=4674;POINT (-40.133168 -2.808227)'))) / (select extract(epoch from '2026-06-18 22:59:17'::timestamp) - extract(epoch from '2026-06-18 22:59: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'), 46708, 'SRID=4674;POINT (-40.133235 -2.808067)', '2026-06-18 22:59:25', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133168 -2.808227)'), GeomFromEWKT('SRID=4674;POINT (-40.133235 -2.808067)'))) / (select extract(epoch from '2026-06-18 22:59:25'::timestamp) - extract(epoch from '2026-06-18 22:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133168 -2.808227)'), GeomFromEWKT('SRID=4674;POINT (-40.133235 -2.808067)'))) / (select extract(epoch from '2026-06-18 22:59:25'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.133273 -2.807901)', '2026-06-18 22:59:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133235 -2.808067)'), GeomFromEWKT('SRID=4674;POINT (-40.133273 -2.807901)'))) / (select extract(epoch from '2026-06-18 22:59:33'::timestamp) - extract(epoch from '2026-06-18 22:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133235 -2.808067)'), GeomFromEWKT('SRID=4674;POINT (-40.133273 -2.807901)'))) / (select extract(epoch from '2026-06-18 22:59:33'::timestamp) - extract(epoch from '2026-06-18 22:59: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'), 46708, 'SRID=4674;POINT (-40.1333 -2.80773)', '2026-06-18 22:59:41', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133273 -2.807901)'), GeomFromEWKT('SRID=4674;POINT (-40.1333 -2.80773)'))) / (select extract(epoch from '2026-06-18 22:59:41'::timestamp) - extract(epoch from '2026-06-18 22:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133273 -2.807901)'), GeomFromEWKT('SRID=4674;POINT (-40.1333 -2.80773)'))) / (select extract(epoch from '2026-06-18 22:59:41'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.133325 -2.807604)', '2026-06-18 22:59:47', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1333 -2.80773)'), GeomFromEWKT('SRID=4674;POINT (-40.133325 -2.807604)'))) / (select extract(epoch from '2026-06-18 22:59:47'::timestamp) - extract(epoch from '2026-06-18 22:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1333 -2.80773)'), GeomFromEWKT('SRID=4674;POINT (-40.133325 -2.807604)'))) / (select extract(epoch from '2026-06-18 22:59:47'::timestamp) - extract(epoch from '2026-06-18 22:59: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'), 46708, 'SRID=4674;POINT (-40.133377 -2.807484)', '2026-06-18 22:59:53', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133325 -2.807604)'), GeomFromEWKT('SRID=4674;POINT (-40.133377 -2.807484)'))) / (select extract(epoch from '2026-06-18 22:59:53'::timestamp) - extract(epoch from '2026-06-18 22:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133325 -2.807604)'), GeomFromEWKT('SRID=4674;POINT (-40.133377 -2.807484)'))) / (select extract(epoch from '2026-06-18 22:59:53'::timestamp) - extract(epoch from '2026-06-18 22:59: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'), 46708, 'SRID=4674;POINT (-40.133447 -2.807329)', '2026-06-18 23:00:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133377 -2.807484)'), GeomFromEWKT('SRID=4674;POINT (-40.133447 -2.807329)'))) / (select extract(epoch from '2026-06-18 23:00:01'::timestamp) - extract(epoch from '2026-06-18 22:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133377 -2.807484)'), GeomFromEWKT('SRID=4674;POINT (-40.133447 -2.807329)'))) / (select extract(epoch from '2026-06-18 23:00:01'::timestamp) - extract(epoch from '2026-06-18 22: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'), 46708, 'SRID=4674;POINT (-40.133486 -2.807174)', '2026-06-18 23:00:09', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133447 -2.807329)'), GeomFromEWKT('SRID=4674;POINT (-40.133486 -2.807174)'))) / (select extract(epoch from '2026-06-18 23:00:09'::timestamp) - extract(epoch from '2026-06-18 23:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133447 -2.807329)'), GeomFromEWKT('SRID=4674;POINT (-40.133486 -2.807174)'))) / (select extract(epoch from '2026-06-18 23:00:09'::timestamp) - extract(epoch from '2026-06-18 23:00:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.133529 -2.80702)', '2026-06-18 23:00:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133486 -2.807174)'), GeomFromEWKT('SRID=4674;POINT (-40.133529 -2.80702)'))) / (select extract(epoch from '2026-06-18 23:00:17'::timestamp) - extract(epoch from '2026-06-18 23:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133486 -2.807174)'), GeomFromEWKT('SRID=4674;POINT (-40.133529 -2.80702)'))) / (select extract(epoch from '2026-06-18 23:00:17'::timestamp) - extract(epoch from '2026-06-18 23:00:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.133582 -2.806903)', '2026-06-18 23:00:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133529 -2.80702)'), GeomFromEWKT('SRID=4674;POINT (-40.133582 -2.806903)'))) / (select extract(epoch from '2026-06-18 23:00:23'::timestamp) - extract(epoch from '2026-06-18 23:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133529 -2.80702)'), GeomFromEWKT('SRID=4674;POINT (-40.133582 -2.806903)'))) / (select extract(epoch from '2026-06-18 23:00:23'::timestamp) - extract(epoch from '2026-06-18 23:00: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'), 46708, 'SRID=4674;POINT (-40.133619 -2.806788)', '2026-06-18 23:00:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133582 -2.806903)'), GeomFromEWKT('SRID=4674;POINT (-40.133619 -2.806788)'))) / (select extract(epoch from '2026-06-18 23:00:29'::timestamp) - extract(epoch from '2026-06-18 23:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133582 -2.806903)'), GeomFromEWKT('SRID=4674;POINT (-40.133619 -2.806788)'))) / (select extract(epoch from '2026-06-18 23:00:29'::timestamp) - extract(epoch from '2026-06-18 23:00: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'), 46708, 'SRID=4674;POINT (-40.133627 -2.806644)', '2026-06-18 23:00:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133619 -2.806788)'), GeomFromEWKT('SRID=4674;POINT (-40.133627 -2.806644)'))) / (select extract(epoch from '2026-06-18 23:00:37'::timestamp) - extract(epoch from '2026-06-18 23:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133619 -2.806788)'), GeomFromEWKT('SRID=4674;POINT (-40.133627 -2.806644)'))) / (select extract(epoch from '2026-06-18 23:00:37'::timestamp) - extract(epoch from '2026-06-18 23:00: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'), 46708, 'SRID=4674;POINT (-40.133638 -2.806479)', '2026-06-18 23:00:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133627 -2.806644)'), GeomFromEWKT('SRID=4674;POINT (-40.133638 -2.806479)'))) / (select extract(epoch from '2026-06-18 23:00:46'::timestamp) - extract(epoch from '2026-06-18 23:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133627 -2.806644)'), GeomFromEWKT('SRID=4674;POINT (-40.133638 -2.806479)'))) / (select extract(epoch from '2026-06-18 23:00:46'::timestamp) - extract(epoch from '2026-06-18 23:00:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.133693 -2.806364)', '2026-06-18 23:00:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133638 -2.806479)'), GeomFromEWKT('SRID=4674;POINT (-40.133693 -2.806364)'))) / (select extract(epoch from '2026-06-18 23:00:52'::timestamp) - extract(epoch from '2026-06-18 23:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133638 -2.806479)'), GeomFromEWKT('SRID=4674;POINT (-40.133693 -2.806364)'))) / (select extract(epoch from '2026-06-18 23:00:52'::timestamp) - extract(epoch from '2026-06-18 23:00:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.133781 -2.80622)', '2026-06-18 23:01:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133693 -2.806364)'), GeomFromEWKT('SRID=4674;POINT (-40.133781 -2.80622)'))) / (select extract(epoch from '2026-06-18 23:01:00'::timestamp) - extract(epoch from '2026-06-18 23:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133693 -2.806364)'), GeomFromEWKT('SRID=4674;POINT (-40.133781 -2.80622)'))) / (select extract(epoch from '2026-06-18 23:01:00'::timestamp) - extract(epoch from '2026-06-18 23:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.133799 -2.806094)', '2026-06-18 23:01:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133781 -2.80622)'), GeomFromEWKT('SRID=4674;POINT (-40.133799 -2.806094)'))) / (select extract(epoch from '2026-06-18 23:01:07'::timestamp) - extract(epoch from '2026-06-18 23:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133781 -2.80622)'), GeomFromEWKT('SRID=4674;POINT (-40.133799 -2.806094)'))) / (select extract(epoch from '2026-06-18 23:01:07'::timestamp) - extract(epoch from '2026-06-18 23:01: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'), 46708, 'SRID=4674;POINT (-40.133798 -2.805956)', '2026-06-18 23:01:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133799 -2.806094)'), GeomFromEWKT('SRID=4674;POINT (-40.133798 -2.805956)'))) / (select extract(epoch from '2026-06-18 23:01:15'::timestamp) - extract(epoch from '2026-06-18 23:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133799 -2.806094)'), GeomFromEWKT('SRID=4674;POINT (-40.133798 -2.805956)'))) / (select extract(epoch from '2026-06-18 23:01:15'::timestamp) - extract(epoch from '2026-06-18 23:01:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.133804 -2.805789)', '2026-06-18 23:01:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133798 -2.805956)'), GeomFromEWKT('SRID=4674;POINT (-40.133804 -2.805789)'))) / (select extract(epoch from '2026-06-18 23:01:24'::timestamp) - extract(epoch from '2026-06-18 23:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133798 -2.805956)'), GeomFromEWKT('SRID=4674;POINT (-40.133804 -2.805789)'))) / (select extract(epoch from '2026-06-18 23:01:24'::timestamp) - extract(epoch from '2026-06-18 23:01: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'), 46708, 'SRID=4674;POINT (-40.133831 -2.805609)', '2026-06-18 23:01:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133804 -2.805789)'), GeomFromEWKT('SRID=4674;POINT (-40.133831 -2.805609)'))) / (select extract(epoch from '2026-06-18 23:01:33'::timestamp) - extract(epoch from '2026-06-18 23:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133804 -2.805789)'), GeomFromEWKT('SRID=4674;POINT (-40.133831 -2.805609)'))) / (select extract(epoch from '2026-06-18 23:01:33'::timestamp) - extract(epoch from '2026-06-18 23:01: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'), 46708, 'SRID=4674;POINT (-40.13384 -2.805433)', '2026-06-18 23:01:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133831 -2.805609)'), GeomFromEWKT('SRID=4674;POINT (-40.13384 -2.805433)'))) / (select extract(epoch from '2026-06-18 23:01:42'::timestamp) - extract(epoch from '2026-06-18 23:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133831 -2.805609)'), GeomFromEWKT('SRID=4674;POINT (-40.13384 -2.805433)'))) / (select extract(epoch from '2026-06-18 23:01:42'::timestamp) - extract(epoch from '2026-06-18 23:01: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'), 46708, 'SRID=4674;POINT (-40.13385 -2.805259)', '2026-06-18 23:01:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13384 -2.805433)'), GeomFromEWKT('SRID=4674;POINT (-40.13385 -2.805259)'))) / (select extract(epoch from '2026-06-18 23:01:51'::timestamp) - extract(epoch from '2026-06-18 23:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13384 -2.805433)'), GeomFromEWKT('SRID=4674;POINT (-40.13385 -2.805259)'))) / (select extract(epoch from '2026-06-18 23:01:51'::timestamp) - extract(epoch from '2026-06-18 23:01: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'), 46708, 'SRID=4674;POINT (-40.133861 -2.805062)', '2026-06-18 23:02:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13385 -2.805259)'), GeomFromEWKT('SRID=4674;POINT (-40.133861 -2.805062)'))) / (select extract(epoch from '2026-06-18 23:02:01'::timestamp) - extract(epoch from '2026-06-18 23:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13385 -2.805259)'), GeomFromEWKT('SRID=4674;POINT (-40.133861 -2.805062)'))) / (select extract(epoch from '2026-06-18 23:02:01'::timestamp) - extract(epoch from '2026-06-18 23:01: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'), 46708, 'SRID=4674;POINT (-40.133854 -2.804884)', '2026-06-18 23:02:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133861 -2.805062)'), GeomFromEWKT('SRID=4674;POINT (-40.133854 -2.804884)'))) / (select extract(epoch from '2026-06-18 23:02:10'::timestamp) - extract(epoch from '2026-06-18 23:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133861 -2.805062)'), GeomFromEWKT('SRID=4674;POINT (-40.133854 -2.804884)'))) / (select extract(epoch from '2026-06-18 23:02:10'::timestamp) - extract(epoch from '2026-06-18 23:02: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'), 46708, 'SRID=4674;POINT (-40.133864 -2.804716)', '2026-06-18 23:02:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133854 -2.804884)'), GeomFromEWKT('SRID=4674;POINT (-40.133864 -2.804716)'))) / (select extract(epoch from '2026-06-18 23:02:18'::timestamp) - extract(epoch from '2026-06-18 23:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133854 -2.804884)'), GeomFromEWKT('SRID=4674;POINT (-40.133864 -2.804716)'))) / (select extract(epoch from '2026-06-18 23:02:18'::timestamp) - extract(epoch from '2026-06-18 23:02:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.133902 -2.804517)', '2026-06-18 23:02:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133864 -2.804716)'), GeomFromEWKT('SRID=4674;POINT (-40.133902 -2.804517)'))) / (select extract(epoch from '2026-06-18 23:02:28'::timestamp) - extract(epoch from '2026-06-18 23:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133864 -2.804716)'), GeomFromEWKT('SRID=4674;POINT (-40.133902 -2.804517)'))) / (select extract(epoch from '2026-06-18 23:02:28'::timestamp) - extract(epoch from '2026-06-18 23:02: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'), 46708, 'SRID=4674;POINT (-40.133954 -2.804378)', '2026-06-18 23:02:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133902 -2.804517)'), GeomFromEWKT('SRID=4674;POINT (-40.133954 -2.804378)'))) / (select extract(epoch from '2026-06-18 23:02:35'::timestamp) - extract(epoch from '2026-06-18 23:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133902 -2.804517)'), GeomFromEWKT('SRID=4674;POINT (-40.133954 -2.804378)'))) / (select extract(epoch from '2026-06-18 23:02:35'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.134029 -2.804242)', '2026-06-18 23:02:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133954 -2.804378)'), GeomFromEWKT('SRID=4674;POINT (-40.134029 -2.804242)'))) / (select extract(epoch from '2026-06-18 23:02:42'::timestamp) - extract(epoch from '2026-06-18 23:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133954 -2.804378)'), GeomFromEWKT('SRID=4674;POINT (-40.134029 -2.804242)'))) / (select extract(epoch from '2026-06-18 23:02:42'::timestamp) - extract(epoch from '2026-06-18 23:02:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.134129 -2.804069)', '2026-06-18 23:02:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134029 -2.804242)'), GeomFromEWKT('SRID=4674;POINT (-40.134129 -2.804069)'))) / (select extract(epoch from '2026-06-18 23:02:51'::timestamp) - extract(epoch from '2026-06-18 23:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134029 -2.804242)'), GeomFromEWKT('SRID=4674;POINT (-40.134129 -2.804069)'))) / (select extract(epoch from '2026-06-18 23:02:51'::timestamp) - extract(epoch from '2026-06-18 23:02: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'), 46708, 'SRID=4674;POINT (-40.134165 -2.803913)', '2026-06-18 23:02:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134129 -2.804069)'), GeomFromEWKT('SRID=4674;POINT (-40.134165 -2.803913)'))) / (select extract(epoch from '2026-06-18 23:02:59'::timestamp) - extract(epoch from '2026-06-18 23:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134129 -2.804069)'), GeomFromEWKT('SRID=4674;POINT (-40.134165 -2.803913)'))) / (select extract(epoch from '2026-06-18 23:02:59'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.134163 -2.803783)', '2026-06-18 23:03:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134165 -2.803913)'), GeomFromEWKT('SRID=4674;POINT (-40.134163 -2.803783)'))) / (select extract(epoch from '2026-06-18 23:03:06'::timestamp) - extract(epoch from '2026-06-18 23:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134165 -2.803913)'), GeomFromEWKT('SRID=4674;POINT (-40.134163 -2.803783)'))) / (select extract(epoch from '2026-06-18 23:03:06'::timestamp) - extract(epoch from '2026-06-18 23:02:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.134163 -2.803562)', '2026-06-18 23:03:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134163 -2.803783)'), GeomFromEWKT('SRID=4674;POINT (-40.134163 -2.803562)'))) / (select extract(epoch from '2026-06-18 23:03:17'::timestamp) - extract(epoch from '2026-06-18 23:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134163 -2.803783)'), GeomFromEWKT('SRID=4674;POINT (-40.134163 -2.803562)'))) / (select extract(epoch from '2026-06-18 23:03:17'::timestamp) - extract(epoch from '2026-06-18 23:03:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.134204 -2.803422)', '2026-06-18 23:03:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134163 -2.803562)'), GeomFromEWKT('SRID=4674;POINT (-40.134204 -2.803422)'))) / (select extract(epoch from '2026-06-18 23:03:24'::timestamp) - extract(epoch from '2026-06-18 23:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134163 -2.803562)'), GeomFromEWKT('SRID=4674;POINT (-40.134204 -2.803422)'))) / (select extract(epoch from '2026-06-18 23:03:24'::timestamp) - extract(epoch from '2026-06-18 23:03: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'), 46708, 'SRID=4674;POINT (-40.134277 -2.803269)', '2026-06-18 23:03:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134204 -2.803422)'), GeomFromEWKT('SRID=4674;POINT (-40.134277 -2.803269)'))) / (select extract(epoch from '2026-06-18 23:03:32'::timestamp) - extract(epoch from '2026-06-18 23:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134204 -2.803422)'), GeomFromEWKT('SRID=4674;POINT (-40.134277 -2.803269)'))) / (select extract(epoch from '2026-06-18 23:03:32'::timestamp) - extract(epoch from '2026-06-18 23:03:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.134366 -2.803122)', '2026-06-18 23:03:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134277 -2.803269)'), GeomFromEWKT('SRID=4674;POINT (-40.134366 -2.803122)'))) / (select extract(epoch from '2026-06-18 23:03:40'::timestamp) - extract(epoch from '2026-06-18 23:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134277 -2.803269)'), GeomFromEWKT('SRID=4674;POINT (-40.134366 -2.803122)'))) / (select extract(epoch from '2026-06-18 23:03:40'::timestamp) - extract(epoch from '2026-06-18 23:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.134433 -2.802968)', '2026-06-18 23:03:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134366 -2.803122)'), GeomFromEWKT('SRID=4674;POINT (-40.134433 -2.802968)'))) / (select extract(epoch from '2026-06-18 23:03:48'::timestamp) - extract(epoch from '2026-06-18 23:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134366 -2.803122)'), GeomFromEWKT('SRID=4674;POINT (-40.134433 -2.802968)'))) / (select extract(epoch from '2026-06-18 23:03:48'::timestamp) - extract(epoch from '2026-06-18 23:03: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'), 46708, 'SRID=4674;POINT (-40.134458 -2.802838)', '2026-06-18 23:03:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134433 -2.802968)'), GeomFromEWKT('SRID=4674;POINT (-40.134458 -2.802838)'))) / (select extract(epoch from '2026-06-18 23:03:55'::timestamp) - extract(epoch from '2026-06-18 23:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134433 -2.802968)'), GeomFromEWKT('SRID=4674;POINT (-40.134458 -2.802838)'))) / (select extract(epoch from '2026-06-18 23:03:55'::timestamp) - extract(epoch from '2026-06-18 23:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.134479 -2.802653)', '2026-06-18 23:04:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134458 -2.802838)'), GeomFromEWKT('SRID=4674;POINT (-40.134479 -2.802653)'))) / (select extract(epoch from '2026-06-18 23:04:05'::timestamp) - extract(epoch from '2026-06-18 23:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134458 -2.802838)'), GeomFromEWKT('SRID=4674;POINT (-40.134479 -2.802653)'))) / (select extract(epoch from '2026-06-18 23:04:05'::timestamp) - extract(epoch from '2026-06-18 23:03: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'), 46708, 'SRID=4674;POINT (-40.13451 -2.802494)', '2026-06-18 23:04:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134479 -2.802653)'), GeomFromEWKT('SRID=4674;POINT (-40.13451 -2.802494)'))) / (select extract(epoch from '2026-06-18 23:04:13'::timestamp) - extract(epoch from '2026-06-18 23:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134479 -2.802653)'), GeomFromEWKT('SRID=4674;POINT (-40.13451 -2.802494)'))) / (select extract(epoch from '2026-06-18 23:04:13'::timestamp) - extract(epoch from '2026-06-18 23:04: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'), 46708, 'SRID=4674;POINT (-40.134567 -2.802358)', '2026-06-18 23:04:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13451 -2.802494)'), GeomFromEWKT('SRID=4674;POINT (-40.134567 -2.802358)'))) / (select extract(epoch from '2026-06-18 23:04:20'::timestamp) - extract(epoch from '2026-06-18 23:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13451 -2.802494)'), GeomFromEWKT('SRID=4674;POINT (-40.134567 -2.802358)'))) / (select extract(epoch from '2026-06-18 23:04:20'::timestamp) - extract(epoch from '2026-06-18 23:04: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'), 46708, 'SRID=4674;POINT (-40.134629 -2.802243)', '2026-06-18 23:04:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134567 -2.802358)'), GeomFromEWKT('SRID=4674;POINT (-40.134629 -2.802243)'))) / (select extract(epoch from '2026-06-18 23:04:26'::timestamp) - extract(epoch from '2026-06-18 23:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134567 -2.802358)'), GeomFromEWKT('SRID=4674;POINT (-40.134629 -2.802243)'))) / (select extract(epoch from '2026-06-18 23:04:26'::timestamp) - extract(epoch from '2026-06-18 23:04:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.134717 -2.802122)', '2026-06-18 23:04:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134629 -2.802243)'), GeomFromEWKT('SRID=4674;POINT (-40.134717 -2.802122)'))) / (select extract(epoch from '2026-06-18 23:04:33'::timestamp) - extract(epoch from '2026-06-18 23:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134629 -2.802243)'), GeomFromEWKT('SRID=4674;POINT (-40.134717 -2.802122)'))) / (select extract(epoch from '2026-06-18 23:04:33'::timestamp) - extract(epoch from '2026-06-18 23:04:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.134798 -2.802015)', '2026-06-18 23:04:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134717 -2.802122)'), GeomFromEWKT('SRID=4674;POINT (-40.134798 -2.802015)'))) / (select extract(epoch from '2026-06-18 23:04:39'::timestamp) - extract(epoch from '2026-06-18 23:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134717 -2.802122)'), GeomFromEWKT('SRID=4674;POINT (-40.134798 -2.802015)'))) / (select extract(epoch from '2026-06-18 23:04:39'::timestamp) - extract(epoch from '2026-06-18 23:04:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.134857 -2.801862)', '2026-06-18 23:04:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134798 -2.802015)'), GeomFromEWKT('SRID=4674;POINT (-40.134857 -2.801862)'))) / (select extract(epoch from '2026-06-18 23:04:47'::timestamp) - extract(epoch from '2026-06-18 23:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134798 -2.802015)'), GeomFromEWKT('SRID=4674;POINT (-40.134857 -2.801862)'))) / (select extract(epoch from '2026-06-18 23:04:47'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.134861 -2.801747)', '2026-06-18 23:04:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134857 -2.801862)'), GeomFromEWKT('SRID=4674;POINT (-40.134861 -2.801747)'))) / (select extract(epoch from '2026-06-18 23:04:53'::timestamp) - extract(epoch from '2026-06-18 23:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134857 -2.801862)'), GeomFromEWKT('SRID=4674;POINT (-40.134861 -2.801747)'))) / (select extract(epoch from '2026-06-18 23:04:53'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.134853 -2.801599)', '2026-06-18 23:05:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134861 -2.801747)'), GeomFromEWKT('SRID=4674;POINT (-40.134853 -2.801599)'))) / (select extract(epoch from '2026-06-18 23:05:02'::timestamp) - extract(epoch from '2026-06-18 23:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134861 -2.801747)'), GeomFromEWKT('SRID=4674;POINT (-40.134853 -2.801599)'))) / (select extract(epoch from '2026-06-18 23:05:02'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.134862 -2.80148)', '2026-06-18 23:05:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134853 -2.801599)'), GeomFromEWKT('SRID=4674;POINT (-40.134862 -2.80148)'))) / (select extract(epoch from '2026-06-18 23:05:10'::timestamp) - extract(epoch from '2026-06-18 23:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134853 -2.801599)'), GeomFromEWKT('SRID=4674;POINT (-40.134862 -2.80148)'))) / (select extract(epoch from '2026-06-18 23:05:10'::timestamp) - extract(epoch from '2026-06-18 23:05: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'), 46708, 'SRID=4674;POINT (-40.13485 -2.801285)', '2026-06-18 23:05:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134862 -2.80148)'), GeomFromEWKT('SRID=4674;POINT (-40.13485 -2.801285)'))) / (select extract(epoch from '2026-06-18 23:05:21'::timestamp) - extract(epoch from '2026-06-18 23:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134862 -2.80148)'), GeomFromEWKT('SRID=4674;POINT (-40.13485 -2.801285)'))) / (select extract(epoch from '2026-06-18 23:05:21'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.134872 -2.801116)', '2026-06-18 23:05:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13485 -2.801285)'), GeomFromEWKT('SRID=4674;POINT (-40.134872 -2.801116)'))) / (select extract(epoch from '2026-06-18 23:05:29'::timestamp) - extract(epoch from '2026-06-18 23:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13485 -2.801285)'), GeomFromEWKT('SRID=4674;POINT (-40.134872 -2.801116)'))) / (select extract(epoch from '2026-06-18 23:05:29'::timestamp) - extract(epoch from '2026-06-18 23:05:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.13491 -2.800929)', '2026-06-18 23:05:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134872 -2.801116)'), GeomFromEWKT('SRID=4674;POINT (-40.13491 -2.800929)'))) / (select extract(epoch from '2026-06-18 23:05:38'::timestamp) - extract(epoch from '2026-06-18 23:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134872 -2.801116)'), GeomFromEWKT('SRID=4674;POINT (-40.13491 -2.800929)'))) / (select extract(epoch from '2026-06-18 23:05:38'::timestamp) - extract(epoch from '2026-06-18 23:05:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.134937 -2.800852)', '2026-06-18 23:05:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13491 -2.800929)'), GeomFromEWKT('SRID=4674;POINT (-40.134937 -2.800852)'))) / (select extract(epoch from '2026-06-18 23:05:42'::timestamp) - extract(epoch from '2026-06-18 23:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13491 -2.800929)'), GeomFromEWKT('SRID=4674;POINT (-40.134937 -2.800852)'))) / (select extract(epoch from '2026-06-18 23:05:42'::timestamp) - extract(epoch from '2026-06-18 23:05:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.134977 -2.800713)', '2026-06-18 23:05:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134937 -2.800852)'), GeomFromEWKT('SRID=4674;POINT (-40.134977 -2.800713)'))) / (select extract(epoch from '2026-06-18 23:05:49'::timestamp) - extract(epoch from '2026-06-18 23:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134937 -2.800852)'), GeomFromEWKT('SRID=4674;POINT (-40.134977 -2.800713)'))) / (select extract(epoch from '2026-06-18 23:05:49'::timestamp) - extract(epoch from '2026-06-18 23:05:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.135011 -2.800579)', '2026-06-18 23:05:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134977 -2.800713)'), GeomFromEWKT('SRID=4674;POINT (-40.135011 -2.800579)'))) / (select extract(epoch from '2026-06-18 23:05:56'::timestamp) - extract(epoch from '2026-06-18 23:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134977 -2.800713)'), GeomFromEWKT('SRID=4674;POINT (-40.135011 -2.800579)'))) / (select extract(epoch from '2026-06-18 23:05:56'::timestamp) - extract(epoch from '2026-06-18 23:05: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'), 46708, 'SRID=4674;POINT (-40.135039 -2.800444)', '2026-06-18 23:06:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135011 -2.800579)'), GeomFromEWKT('SRID=4674;POINT (-40.135039 -2.800444)'))) / (select extract(epoch from '2026-06-18 23:06:03'::timestamp) - extract(epoch from '2026-06-18 23:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135011 -2.800579)'), GeomFromEWKT('SRID=4674;POINT (-40.135039 -2.800444)'))) / (select extract(epoch from '2026-06-18 23:06:03'::timestamp) - extract(epoch from '2026-06-18 23:05: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'), 46708, 'SRID=4674;POINT (-40.135056 -2.800238)', '2026-06-18 23:06:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135039 -2.800444)'), GeomFromEWKT('SRID=4674;POINT (-40.135056 -2.800238)'))) / (select extract(epoch from '2026-06-18 23:06:13'::timestamp) - extract(epoch from '2026-06-18 23:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135039 -2.800444)'), GeomFromEWKT('SRID=4674;POINT (-40.135056 -2.800238)'))) / (select extract(epoch from '2026-06-18 23:06:13'::timestamp) - extract(epoch from '2026-06-18 23:06: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'), 46708, 'SRID=4674;POINT (-40.135091 -2.800058)', '2026-06-18 23:06:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135056 -2.800238)'), GeomFromEWKT('SRID=4674;POINT (-40.135091 -2.800058)'))) / (select extract(epoch from '2026-06-18 23:06:22'::timestamp) - extract(epoch from '2026-06-18 23:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135056 -2.800238)'), GeomFromEWKT('SRID=4674;POINT (-40.135091 -2.800058)'))) / (select extract(epoch from '2026-06-18 23:06:22'::timestamp) - extract(epoch from '2026-06-18 23:06:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.135145 -2.799973)', '2026-06-18 23:06:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135091 -2.800058)'), GeomFromEWKT('SRID=4674;POINT (-40.135145 -2.799973)'))) / (select extract(epoch from '2026-06-18 23:06:27'::timestamp) - extract(epoch from '2026-06-18 23:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135091 -2.800058)'), GeomFromEWKT('SRID=4674;POINT (-40.135145 -2.799973)'))) / (select extract(epoch from '2026-06-18 23:06:27'::timestamp) - extract(epoch from '2026-06-18 23:06:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.135218 -2.799867)', '2026-06-18 23:06:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135145 -2.799973)'), GeomFromEWKT('SRID=4674;POINT (-40.135218 -2.799867)'))) / (select extract(epoch from '2026-06-18 23:06:33'::timestamp) - extract(epoch from '2026-06-18 23:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135145 -2.799973)'), GeomFromEWKT('SRID=4674;POINT (-40.135218 -2.799867)'))) / (select extract(epoch from '2026-06-18 23:06:33'::timestamp) - extract(epoch from '2026-06-18 23:06:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.135279 -2.799756)', '2026-06-18 23:06:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135218 -2.799867)'), GeomFromEWKT('SRID=4674;POINT (-40.135279 -2.799756)'))) / (select extract(epoch from '2026-06-18 23:06:39'::timestamp) - extract(epoch from '2026-06-18 23:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135218 -2.799867)'), GeomFromEWKT('SRID=4674;POINT (-40.135279 -2.799756)'))) / (select extract(epoch from '2026-06-18 23:06:39'::timestamp) - extract(epoch from '2026-06-18 23:06: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'), 46708, 'SRID=4674;POINT (-40.135326 -2.799641)', '2026-06-18 23:06:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135279 -2.799756)'), GeomFromEWKT('SRID=4674;POINT (-40.135326 -2.799641)'))) / (select extract(epoch from '2026-06-18 23:06:45'::timestamp) - extract(epoch from '2026-06-18 23:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135279 -2.799756)'), GeomFromEWKT('SRID=4674;POINT (-40.135326 -2.799641)'))) / (select extract(epoch from '2026-06-18 23:06:45'::timestamp) - extract(epoch from '2026-06-18 23:06: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'), 46708, 'SRID=4674;POINT (-40.135349 -2.799521)', '2026-06-18 23:06:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135326 -2.799641)'), GeomFromEWKT('SRID=4674;POINT (-40.135349 -2.799521)'))) / (select extract(epoch from '2026-06-18 23:06:51'::timestamp) - extract(epoch from '2026-06-18 23:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135326 -2.799641)'), GeomFromEWKT('SRID=4674;POINT (-40.135349 -2.799521)'))) / (select extract(epoch from '2026-06-18 23:06:51'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.135378 -2.799363)', '2026-06-18 23:06:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135349 -2.799521)'), GeomFromEWKT('SRID=4674;POINT (-40.135378 -2.799363)'))) / (select extract(epoch from '2026-06-18 23:06:59'::timestamp) - extract(epoch from '2026-06-18 23:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135349 -2.799521)'), GeomFromEWKT('SRID=4674;POINT (-40.135378 -2.799363)'))) / (select extract(epoch from '2026-06-18 23:06:59'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.135384 -2.799238)', '2026-06-18 23:07:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135378 -2.799363)'), GeomFromEWKT('SRID=4674;POINT (-40.135384 -2.799238)'))) / (select extract(epoch from '2026-06-18 23:07:06'::timestamp) - extract(epoch from '2026-06-18 23:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135378 -2.799363)'), GeomFromEWKT('SRID=4674;POINT (-40.135384 -2.799238)'))) / (select extract(epoch from '2026-06-18 23:07:06'::timestamp) - extract(epoch from '2026-06-18 23:06:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.13541 -2.799124)', '2026-06-18 23:07:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135384 -2.799238)'), GeomFromEWKT('SRID=4674;POINT (-40.13541 -2.799124)'))) / (select extract(epoch from '2026-06-18 23:07:12'::timestamp) - extract(epoch from '2026-06-18 23:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135384 -2.799238)'), GeomFromEWKT('SRID=4674;POINT (-40.13541 -2.799124)'))) / (select extract(epoch from '2026-06-18 23:07:12'::timestamp) - extract(epoch from '2026-06-18 23:07: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'), 46708, 'SRID=4674;POINT (-40.135492 -2.799005)', '2026-06-18 23:07:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13541 -2.799124)'), GeomFromEWKT('SRID=4674;POINT (-40.135492 -2.799005)'))) / (select extract(epoch from '2026-06-18 23:07:19'::timestamp) - extract(epoch from '2026-06-18 23:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13541 -2.799124)'), GeomFromEWKT('SRID=4674;POINT (-40.135492 -2.799005)'))) / (select extract(epoch from '2026-06-18 23:07:19'::timestamp) - extract(epoch from '2026-06-18 23:07:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.135604 -2.798901)', '2026-06-18 23:07:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135492 -2.799005)'), GeomFromEWKT('SRID=4674;POINT (-40.135604 -2.798901)'))) / (select extract(epoch from '2026-06-18 23:07:26'::timestamp) - extract(epoch from '2026-06-18 23:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135492 -2.799005)'), GeomFromEWKT('SRID=4674;POINT (-40.135604 -2.798901)'))) / (select extract(epoch from '2026-06-18 23:07:26'::timestamp) - extract(epoch from '2026-06-18 23:07: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'), 46708, 'SRID=4674;POINT (-40.135693 -2.798754)', '2026-06-18 23:07:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135604 -2.798901)'), GeomFromEWKT('SRID=4674;POINT (-40.135693 -2.798754)'))) / (select extract(epoch from '2026-06-18 23:07:34'::timestamp) - extract(epoch from '2026-06-18 23:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135604 -2.798901)'), GeomFromEWKT('SRID=4674;POINT (-40.135693 -2.798754)'))) / (select extract(epoch from '2026-06-18 23:07:34'::timestamp) - extract(epoch from '2026-06-18 23:07:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.13572 -2.798605)', '2026-06-18 23:07:42', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135693 -2.798754)'), GeomFromEWKT('SRID=4674;POINT (-40.13572 -2.798605)'))) / (select extract(epoch from '2026-06-18 23:07:42'::timestamp) - extract(epoch from '2026-06-18 23:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135693 -2.798754)'), GeomFromEWKT('SRID=4674;POINT (-40.13572 -2.798605)'))) / (select extract(epoch from '2026-06-18 23:07:42'::timestamp) - extract(epoch from '2026-06-18 23:07: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'), 46708, 'SRID=4674;POINT (-40.135737 -2.79848)', '2026-06-18 23:07:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13572 -2.798605)'), GeomFromEWKT('SRID=4674;POINT (-40.135737 -2.79848)'))) / (select extract(epoch from '2026-06-18 23:07:49'::timestamp) - extract(epoch from '2026-06-18 23:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13572 -2.798605)'), GeomFromEWKT('SRID=4674;POINT (-40.135737 -2.79848)'))) / (select extract(epoch from '2026-06-18 23:07:49'::timestamp) - extract(epoch from '2026-06-18 23:07: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'), 46708, 'SRID=4674;POINT (-40.135737 -2.798295)', '2026-06-18 23:07:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135737 -2.79848)'), GeomFromEWKT('SRID=4674;POINT (-40.135737 -2.798295)'))) / (select extract(epoch from '2026-06-18 23:07:59'::timestamp) - extract(epoch from '2026-06-18 23:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135737 -2.79848)'), GeomFromEWKT('SRID=4674;POINT (-40.135737 -2.798295)'))) / (select extract(epoch from '2026-06-18 23:07:59'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.135739 -2.798159)', '2026-06-18 23:08:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135737 -2.798295)'), GeomFromEWKT('SRID=4674;POINT (-40.135739 -2.798159)'))) / (select extract(epoch from '2026-06-18 23:08:06'::timestamp) - extract(epoch from '2026-06-18 23:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135737 -2.798295)'), GeomFromEWKT('SRID=4674;POINT (-40.135739 -2.798159)'))) / (select extract(epoch from '2026-06-18 23:08:06'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.135747 -2.798042)', '2026-06-18 23:08:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135739 -2.798159)'), GeomFromEWKT('SRID=4674;POINT (-40.135747 -2.798042)'))) / (select extract(epoch from '2026-06-18 23:08:12'::timestamp) - extract(epoch from '2026-06-18 23:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135739 -2.798159)'), GeomFromEWKT('SRID=4674;POINT (-40.135747 -2.798042)'))) / (select extract(epoch from '2026-06-18 23:08:12'::timestamp) - extract(epoch from '2026-06-18 23:08: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'), 46708, 'SRID=4674;POINT (-40.135758 -2.79793)', '2026-06-18 23:08:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135747 -2.798042)'), GeomFromEWKT('SRID=4674;POINT (-40.135758 -2.79793)'))) / (select extract(epoch from '2026-06-18 23:08:18'::timestamp) - extract(epoch from '2026-06-18 23:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135747 -2.798042)'), GeomFromEWKT('SRID=4674;POINT (-40.135758 -2.79793)'))) / (select extract(epoch from '2026-06-18 23:08:18'::timestamp) - extract(epoch from '2026-06-18 23:08: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'), 46708, 'SRID=4674;POINT (-40.135756 -2.79775)', '2026-06-18 23:08:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135758 -2.79793)'), GeomFromEWKT('SRID=4674;POINT (-40.135756 -2.79775)'))) / (select extract(epoch from '2026-06-18 23:08:28'::timestamp) - extract(epoch from '2026-06-18 23:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135758 -2.79793)'), GeomFromEWKT('SRID=4674;POINT (-40.135756 -2.79775)'))) / (select extract(epoch from '2026-06-18 23:08:28'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.135741 -2.797609)', '2026-06-18 23:08:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135756 -2.79775)'), GeomFromEWKT('SRID=4674;POINT (-40.135741 -2.797609)'))) / (select extract(epoch from '2026-06-18 23:08:36'::timestamp) - extract(epoch from '2026-06-18 23:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135756 -2.79775)'), GeomFromEWKT('SRID=4674;POINT (-40.135741 -2.797609)'))) / (select extract(epoch from '2026-06-18 23:08:36'::timestamp) - extract(epoch from '2026-06-18 23:08: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'), 46708, 'SRID=4674;POINT (-40.13574 -2.797412)', '2026-06-18 23:08:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135741 -2.797609)'), GeomFromEWKT('SRID=4674;POINT (-40.13574 -2.797412)'))) / (select extract(epoch from '2026-06-18 23:08:46'::timestamp) - extract(epoch from '2026-06-18 23:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135741 -2.797609)'), GeomFromEWKT('SRID=4674;POINT (-40.13574 -2.797412)'))) / (select extract(epoch from '2026-06-18 23:08:46'::timestamp) - extract(epoch from '2026-06-18 23:08:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.13572 -2.797283)', '2026-06-18 23:08:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13574 -2.797412)'), GeomFromEWKT('SRID=4674;POINT (-40.13572 -2.797283)'))) / (select extract(epoch from '2026-06-18 23:08:54'::timestamp) - extract(epoch from '2026-06-18 23:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13574 -2.797412)'), GeomFromEWKT('SRID=4674;POINT (-40.13572 -2.797283)'))) / (select extract(epoch from '2026-06-18 23:08:54'::timestamp) - extract(epoch from '2026-06-18 23:08: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'), 46708, 'SRID=4674;POINT (-40.1357 -2.797167)', '2026-06-18 23:09:03', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13572 -2.797283)'), GeomFromEWKT('SRID=4674;POINT (-40.1357 -2.797167)'))) / (select extract(epoch from '2026-06-18 23:09:03'::timestamp) - extract(epoch from '2026-06-18 23:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13572 -2.797283)'), GeomFromEWKT('SRID=4674;POINT (-40.1357 -2.797167)'))) / (select extract(epoch from '2026-06-18 23:09:03'::timestamp) - extract(epoch from '2026-06-18 23:08: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'), 46708, 'SRID=4674;POINT (-40.135676 -2.797072)', '2026-06-18 23:09:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1357 -2.797167)'), GeomFromEWKT('SRID=4674;POINT (-40.135676 -2.797072)'))) / (select extract(epoch from '2026-06-18 23:09:11'::timestamp) - extract(epoch from '2026-06-18 23:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1357 -2.797167)'), GeomFromEWKT('SRID=4674;POINT (-40.135676 -2.797072)'))) / (select extract(epoch from '2026-06-18 23:09:11'::timestamp) - extract(epoch from '2026-06-18 23:09: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'), 46708, 'SRID=4674;POINT (-40.135627 -2.796929)', '2026-06-18 23:09:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135676 -2.797072)'), GeomFromEWKT('SRID=4674;POINT (-40.135627 -2.796929)'))) / (select extract(epoch from '2026-06-18 23:09:22'::timestamp) - extract(epoch from '2026-06-18 23:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135676 -2.797072)'), GeomFromEWKT('SRID=4674;POINT (-40.135627 -2.796929)'))) / (select extract(epoch from '2026-06-18 23:09:22'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.1356 -2.796825)', '2026-06-18 23:09:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135627 -2.796929)'), GeomFromEWKT('SRID=4674;POINT (-40.1356 -2.796825)'))) / (select extract(epoch from '2026-06-18 23:09:29'::timestamp) - extract(epoch from '2026-06-18 23:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135627 -2.796929)'), GeomFromEWKT('SRID=4674;POINT (-40.1356 -2.796825)'))) / (select extract(epoch from '2026-06-18 23:09:29'::timestamp) - extract(epoch from '2026-06-18 23:09: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'), 46708, 'SRID=4674;POINT (-40.135562 -2.796706)', '2026-06-18 23:09:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1356 -2.796825)'), GeomFromEWKT('SRID=4674;POINT (-40.135562 -2.796706)'))) / (select extract(epoch from '2026-06-18 23:09:37'::timestamp) - extract(epoch from '2026-06-18 23:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1356 -2.796825)'), GeomFromEWKT('SRID=4674;POINT (-40.135562 -2.796706)'))) / (select extract(epoch from '2026-06-18 23:09:37'::timestamp) - extract(epoch from '2026-06-18 23:09:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.135499 -2.796572)', '2026-06-18 23:09:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135562 -2.796706)'), GeomFromEWKT('SRID=4674;POINT (-40.135499 -2.796572)'))) / (select extract(epoch from '2026-06-18 23:09:47'::timestamp) - extract(epoch from '2026-06-18 23:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135562 -2.796706)'), GeomFromEWKT('SRID=4674;POINT (-40.135499 -2.796572)'))) / (select extract(epoch from '2026-06-18 23:09:47'::timestamp) - extract(epoch from '2026-06-18 23:09: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'), 46708, 'SRID=4674;POINT (-40.135473 -2.7965)', '2026-06-18 23:09:53', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135499 -2.796572)'), GeomFromEWKT('SRID=4674;POINT (-40.135473 -2.7965)'))) / (select extract(epoch from '2026-06-18 23:09:53'::timestamp) - extract(epoch from '2026-06-18 23:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135499 -2.796572)'), GeomFromEWKT('SRID=4674;POINT (-40.135473 -2.7965)'))) / (select extract(epoch from '2026-06-18 23:09:53'::timestamp) - extract(epoch from '2026-06-18 23:09: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'), 46708, 'SRID=4674;POINT (-40.135427 -2.796388)', '2026-06-18 23:10:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135473 -2.7965)'), GeomFromEWKT('SRID=4674;POINT (-40.135427 -2.796388)'))) / (select extract(epoch from '2026-06-18 23:10:02'::timestamp) - extract(epoch from '2026-06-18 23:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135473 -2.7965)'), GeomFromEWKT('SRID=4674;POINT (-40.135427 -2.796388)'))) / (select extract(epoch from '2026-06-18 23:10:02'::timestamp) - extract(epoch from '2026-06-18 23:09: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'), 46708, 'SRID=4674;POINT (-40.135387 -2.796293)', '2026-06-18 23:10:10', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135427 -2.796388)'), GeomFromEWKT('SRID=4674;POINT (-40.135387 -2.796293)'))) / (select extract(epoch from '2026-06-18 23:10:10'::timestamp) - extract(epoch from '2026-06-18 23:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135427 -2.796388)'), GeomFromEWKT('SRID=4674;POINT (-40.135387 -2.796293)'))) / (select extract(epoch from '2026-06-18 23:10:10'::timestamp) - extract(epoch from '2026-06-18 23:10: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'), 46708, 'SRID=4674;POINT (-40.135366 -2.79619)', '2026-06-18 23:10:18', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135387 -2.796293)'), GeomFromEWKT('SRID=4674;POINT (-40.135366 -2.79619)'))) / (select extract(epoch from '2026-06-18 23:10:18'::timestamp) - extract(epoch from '2026-06-18 23:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135387 -2.796293)'), GeomFromEWKT('SRID=4674;POINT (-40.135366 -2.79619)'))) / (select extract(epoch from '2026-06-18 23:10:18'::timestamp) - extract(epoch from '2026-06-18 23:10:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.13534 -2.79609)', '2026-06-18 23:10:25', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135366 -2.79619)'), GeomFromEWKT('SRID=4674;POINT (-40.13534 -2.79609)'))) / (select extract(epoch from '2026-06-18 23:10:25'::timestamp) - extract(epoch from '2026-06-18 23:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135366 -2.79619)'), GeomFromEWKT('SRID=4674;POINT (-40.13534 -2.79609)'))) / (select extract(epoch from '2026-06-18 23:10:25'::timestamp) - extract(epoch from '2026-06-18 23:10: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'), 46708, 'SRID=4674;POINT (-40.135298 -2.795992)', '2026-06-18 23:10:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13534 -2.79609)'), GeomFromEWKT('SRID=4674;POINT (-40.135298 -2.795992)'))) / (select extract(epoch from '2026-06-18 23:10:33'::timestamp) - extract(epoch from '2026-06-18 23:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13534 -2.79609)'), GeomFromEWKT('SRID=4674;POINT (-40.135298 -2.795992)'))) / (select extract(epoch from '2026-06-18 23:10:33'::timestamp) - extract(epoch from '2026-06-18 23:10:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.135257 -2.795909)', '2026-06-18 23:10:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135298 -2.795992)'), GeomFromEWKT('SRID=4674;POINT (-40.135257 -2.795909)'))) / (select extract(epoch from '2026-06-18 23:10:40'::timestamp) - extract(epoch from '2026-06-18 23:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135298 -2.795992)'), GeomFromEWKT('SRID=4674;POINT (-40.135257 -2.795909)'))) / (select extract(epoch from '2026-06-18 23:10:40'::timestamp) - extract(epoch from '2026-06-18 23:10:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.13523 -2.795838)', '2026-06-18 23:10:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135257 -2.795909)'), GeomFromEWKT('SRID=4674;POINT (-40.13523 -2.795838)'))) / (select extract(epoch from '2026-06-18 23:10:46'::timestamp) - extract(epoch from '2026-06-18 23:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135257 -2.795909)'), GeomFromEWKT('SRID=4674;POINT (-40.13523 -2.795838)'))) / (select extract(epoch from '2026-06-18 23:10:46'::timestamp) - extract(epoch from '2026-06-18 23:10: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'), 46708, 'SRID=4674;POINT (-40.135213 -2.795739)', '2026-06-18 23:10:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13523 -2.795838)'), GeomFromEWKT('SRID=4674;POINT (-40.135213 -2.795739)'))) / (select extract(epoch from '2026-06-18 23:10:54'::timestamp) - extract(epoch from '2026-06-18 23:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13523 -2.795838)'), GeomFromEWKT('SRID=4674;POINT (-40.135213 -2.795739)'))) / (select extract(epoch from '2026-06-18 23:10:54'::timestamp) - extract(epoch from '2026-06-18 23:10: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'), 46708, 'SRID=4674;POINT (-40.135188 -2.795598)', '2026-06-18 23:11:03', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135213 -2.795739)'), GeomFromEWKT('SRID=4674;POINT (-40.135188 -2.795598)'))) / (select extract(epoch from '2026-06-18 23:11:03'::timestamp) - extract(epoch from '2026-06-18 23:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135213 -2.795739)'), GeomFromEWKT('SRID=4674;POINT (-40.135188 -2.795598)'))) / (select extract(epoch from '2026-06-18 23:11:03'::timestamp) - extract(epoch from '2026-06-18 23:10:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.135158 -2.795457)', '2026-06-18 23:11:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135188 -2.795598)'), GeomFromEWKT('SRID=4674;POINT (-40.135158 -2.795457)'))) / (select extract(epoch from '2026-06-18 23:11:12'::timestamp) - extract(epoch from '2026-06-18 23:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135188 -2.795598)'), GeomFromEWKT('SRID=4674;POINT (-40.135158 -2.795457)'))) / (select extract(epoch from '2026-06-18 23:11:12'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.135115 -2.795335)', '2026-06-18 23:11:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135158 -2.795457)'), GeomFromEWKT('SRID=4674;POINT (-40.135115 -2.795335)'))) / (select extract(epoch from '2026-06-18 23:11:20'::timestamp) - extract(epoch from '2026-06-18 23:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135158 -2.795457)'), GeomFromEWKT('SRID=4674;POINT (-40.135115 -2.795335)'))) / (select extract(epoch from '2026-06-18 23:11:20'::timestamp) - extract(epoch from '2026-06-18 23:11:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.135064 -2.795224)', '2026-06-18 23:11:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135115 -2.795335)'), GeomFromEWKT('SRID=4674;POINT (-40.135064 -2.795224)'))) / (select extract(epoch from '2026-06-18 23:11:28'::timestamp) - extract(epoch from '2026-06-18 23:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135115 -2.795335)'), GeomFromEWKT('SRID=4674;POINT (-40.135064 -2.795224)'))) / (select extract(epoch from '2026-06-18 23:11:28'::timestamp) - extract(epoch from '2026-06-18 23:11:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.135043 -2.795142)', '2026-06-18 23:11:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135064 -2.795224)'), GeomFromEWKT('SRID=4674;POINT (-40.135043 -2.795142)'))) / (select extract(epoch from '2026-06-18 23:11:35'::timestamp) - extract(epoch from '2026-06-18 23:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135064 -2.795224)'), GeomFromEWKT('SRID=4674;POINT (-40.135043 -2.795142)'))) / (select extract(epoch from '2026-06-18 23:11:35'::timestamp) - extract(epoch from '2026-06-18 23:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.134991 -2.795044)', '2026-06-18 23:11:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135043 -2.795142)'), GeomFromEWKT('SRID=4674;POINT (-40.134991 -2.795044)'))) / (select extract(epoch from '2026-06-18 23:11:43'::timestamp) - extract(epoch from '2026-06-18 23:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135043 -2.795142)'), GeomFromEWKT('SRID=4674;POINT (-40.134991 -2.795044)'))) / (select extract(epoch from '2026-06-18 23:11:43'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.134925 -2.794949)', '2026-06-18 23:11:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134991 -2.795044)'), GeomFromEWKT('SRID=4674;POINT (-40.134925 -2.794949)'))) / (select extract(epoch from '2026-06-18 23:11:52'::timestamp) - extract(epoch from '2026-06-18 23:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134991 -2.795044)'), GeomFromEWKT('SRID=4674;POINT (-40.134925 -2.794949)'))) / (select extract(epoch from '2026-06-18 23:11:52'::timestamp) - extract(epoch from '2026-06-18 23:11:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.134864 -2.794863)', '2026-06-18 23:12:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134925 -2.794949)'), GeomFromEWKT('SRID=4674;POINT (-40.134864 -2.794863)'))) / (select extract(epoch from '2026-06-18 23:12:00'::timestamp) - extract(epoch from '2026-06-18 23:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134925 -2.794949)'), GeomFromEWKT('SRID=4674;POINT (-40.134864 -2.794863)'))) / (select extract(epoch from '2026-06-18 23:12:00'::timestamp) - extract(epoch from '2026-06-18 23:11: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'), 46708, 'SRID=4674;POINT (-40.134796 -2.794743)', '2026-06-18 23:12:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134864 -2.794863)'), GeomFromEWKT('SRID=4674;POINT (-40.134796 -2.794743)'))) / (select extract(epoch from '2026-06-18 23:12:09'::timestamp) - extract(epoch from '2026-06-18 23:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134864 -2.794863)'), GeomFromEWKT('SRID=4674;POINT (-40.134796 -2.794743)'))) / (select extract(epoch from '2026-06-18 23:12:09'::timestamp) - extract(epoch from '2026-06-18 23:12:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.134741 -2.794663)', '2026-06-18 23:12:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134796 -2.794743)'), GeomFromEWKT('SRID=4674;POINT (-40.134741 -2.794663)'))) / (select extract(epoch from '2026-06-18 23:12:16'::timestamp) - extract(epoch from '2026-06-18 23:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134796 -2.794743)'), GeomFromEWKT('SRID=4674;POINT (-40.134741 -2.794663)'))) / (select extract(epoch from '2026-06-18 23:12:16'::timestamp) - extract(epoch from '2026-06-18 23:12: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'), 46708, 'SRID=4674;POINT (-40.134681 -2.794561)', '2026-06-18 23:12:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134741 -2.794663)'), GeomFromEWKT('SRID=4674;POINT (-40.134681 -2.794561)'))) / (select extract(epoch from '2026-06-18 23:12:25'::timestamp) - extract(epoch from '2026-06-18 23:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134741 -2.794663)'), GeomFromEWKT('SRID=4674;POINT (-40.134681 -2.794561)'))) / (select extract(epoch from '2026-06-18 23:12:25'::timestamp) - extract(epoch from '2026-06-18 23:12: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'), 46708, 'SRID=4674;POINT (-40.134626 -2.79446)', '2026-06-18 23:12:34', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134681 -2.794561)'), GeomFromEWKT('SRID=4674;POINT (-40.134626 -2.79446)'))) / (select extract(epoch from '2026-06-18 23:12:34'::timestamp) - extract(epoch from '2026-06-18 23:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134681 -2.794561)'), GeomFromEWKT('SRID=4674;POINT (-40.134626 -2.79446)'))) / (select extract(epoch from '2026-06-18 23:12:34'::timestamp) - extract(epoch from '2026-06-18 23:12: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'), 46708, 'SRID=4674;POINT (-40.134597 -2.794381)', '2026-06-18 23:12:41', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134626 -2.79446)'), GeomFromEWKT('SRID=4674;POINT (-40.134597 -2.794381)'))) / (select extract(epoch from '2026-06-18 23:12:41'::timestamp) - extract(epoch from '2026-06-18 23:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134626 -2.79446)'), GeomFromEWKT('SRID=4674;POINT (-40.134597 -2.794381)'))) / (select extract(epoch from '2026-06-18 23:12:41'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.134525 -2.794276)', '2026-06-18 23:12:50', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134597 -2.794381)'), GeomFromEWKT('SRID=4674;POINT (-40.134525 -2.794276)'))) / (select extract(epoch from '2026-06-18 23:12:50'::timestamp) - extract(epoch from '2026-06-18 23:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134597 -2.794381)'), GeomFromEWKT('SRID=4674;POINT (-40.134525 -2.794276)'))) / (select extract(epoch from '2026-06-18 23:12:50'::timestamp) - extract(epoch from '2026-06-18 23:12: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'), 46708, 'SRID=4674;POINT (-40.134424 -2.794185)', '2026-06-18 23:12:59', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134525 -2.794276)'), GeomFromEWKT('SRID=4674;POINT (-40.134424 -2.794185)'))) / (select extract(epoch from '2026-06-18 23:12:59'::timestamp) - extract(epoch from '2026-06-18 23:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134525 -2.794276)'), GeomFromEWKT('SRID=4674;POINT (-40.134424 -2.794185)'))) / (select extract(epoch from '2026-06-18 23:12:59'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.13431 -2.794123)', '2026-06-18 23:13:08', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134424 -2.794185)'), GeomFromEWKT('SRID=4674;POINT (-40.13431 -2.794123)'))) / (select extract(epoch from '2026-06-18 23:13:08'::timestamp) - extract(epoch from '2026-06-18 23:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134424 -2.794185)'), GeomFromEWKT('SRID=4674;POINT (-40.13431 -2.794123)'))) / (select extract(epoch from '2026-06-18 23:13:08'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.13425 -2.794033)', '2026-06-18 23:13:15', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13431 -2.794123)'), GeomFromEWKT('SRID=4674;POINT (-40.13425 -2.794033)'))) / (select extract(epoch from '2026-06-18 23:13:15'::timestamp) - extract(epoch from '2026-06-18 23:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13431 -2.794123)'), GeomFromEWKT('SRID=4674;POINT (-40.13425 -2.794033)'))) / (select extract(epoch from '2026-06-18 23:13:15'::timestamp) - extract(epoch from '2026-06-18 23:13: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'), 46708, 'SRID=4674;POINT (-40.134213 -2.793864)', '2026-06-18 23:13:25', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13425 -2.794033)'), GeomFromEWKT('SRID=4674;POINT (-40.134213 -2.793864)'))) / (select extract(epoch from '2026-06-18 23:13:25'::timestamp) - extract(epoch from '2026-06-18 23:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13425 -2.794033)'), GeomFromEWKT('SRID=4674;POINT (-40.134213 -2.793864)'))) / (select extract(epoch from '2026-06-18 23:13:25'::timestamp) - extract(epoch from '2026-06-18 23:13:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.134153 -2.793774)', '2026-06-18 23:13:32', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134213 -2.793864)'), GeomFromEWKT('SRID=4674;POINT (-40.134153 -2.793774)'))) / (select extract(epoch from '2026-06-18 23:13:32'::timestamp) - extract(epoch from '2026-06-18 23:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134213 -2.793864)'), GeomFromEWKT('SRID=4674;POINT (-40.134153 -2.793774)'))) / (select extract(epoch from '2026-06-18 23:13:32'::timestamp) - extract(epoch from '2026-06-18 23:13: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'), 46708, 'SRID=4674;POINT (-40.134055 -2.793654)', '2026-06-18 23:13:42', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134153 -2.793774)'), GeomFromEWKT('SRID=4674;POINT (-40.134055 -2.793654)'))) / (select extract(epoch from '2026-06-18 23:13:42'::timestamp) - extract(epoch from '2026-06-18 23:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134153 -2.793774)'), GeomFromEWKT('SRID=4674;POINT (-40.134055 -2.793654)'))) / (select extract(epoch from '2026-06-18 23:13:42'::timestamp) - extract(epoch from '2026-06-18 23:13:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.133991 -2.793559)', '2026-06-18 23:13:50', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134055 -2.793654)'), GeomFromEWKT('SRID=4674;POINT (-40.133991 -2.793559)'))) / (select extract(epoch from '2026-06-18 23:13:50'::timestamp) - extract(epoch from '2026-06-18 23:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134055 -2.793654)'), GeomFromEWKT('SRID=4674;POINT (-40.133991 -2.793559)'))) / (select extract(epoch from '2026-06-18 23:13:50'::timestamp) - extract(epoch from '2026-06-18 23:13: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'), 46708, 'SRID=4674;POINT (-40.13395 -2.793499)', '2026-06-18 23:13:56', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133991 -2.793559)'), GeomFromEWKT('SRID=4674;POINT (-40.13395 -2.793499)'))) / (select extract(epoch from '2026-06-18 23:13:56'::timestamp) - extract(epoch from '2026-06-18 23:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133991 -2.793559)'), GeomFromEWKT('SRID=4674;POINT (-40.13395 -2.793499)'))) / (select extract(epoch from '2026-06-18 23:13:56'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.133891 -2.79341)', '2026-06-18 23:14:07', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13395 -2.793499)'), GeomFromEWKT('SRID=4674;POINT (-40.133891 -2.79341)'))) / (select extract(epoch from '2026-06-18 23:14:07'::timestamp) - extract(epoch from '2026-06-18 23:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13395 -2.793499)'), GeomFromEWKT('SRID=4674;POINT (-40.133891 -2.79341)'))) / (select extract(epoch from '2026-06-18 23:14:07'::timestamp) - extract(epoch from '2026-06-18 23:13: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'), 46708, 'SRID=4674;POINT (-40.133869 -2.793305)', '2026-06-18 23:14:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133891 -2.79341)'), GeomFromEWKT('SRID=4674;POINT (-40.133869 -2.793305)'))) / (select extract(epoch from '2026-06-18 23:14:16'::timestamp) - extract(epoch from '2026-06-18 23:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133891 -2.79341)'), GeomFromEWKT('SRID=4674;POINT (-40.133869 -2.793305)'))) / (select extract(epoch from '2026-06-18 23:14:16'::timestamp) - extract(epoch from '2026-06-18 23:14:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.133831 -2.793207)', '2026-06-18 23:14:23', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133869 -2.793305)'), GeomFromEWKT('SRID=4674;POINT (-40.133831 -2.793207)'))) / (select extract(epoch from '2026-06-18 23:14:23'::timestamp) - extract(epoch from '2026-06-18 23:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133869 -2.793305)'), GeomFromEWKT('SRID=4674;POINT (-40.133831 -2.793207)'))) / (select extract(epoch from '2026-06-18 23:14:23'::timestamp) - extract(epoch from '2026-06-18 23:14:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.133724 -2.793096)', '2026-06-18 23:14:32', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133831 -2.793207)'), GeomFromEWKT('SRID=4674;POINT (-40.133724 -2.793096)'))) / (select extract(epoch from '2026-06-18 23:14:32'::timestamp) - extract(epoch from '2026-06-18 23:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133831 -2.793207)'), GeomFromEWKT('SRID=4674;POINT (-40.133724 -2.793096)'))) / (select extract(epoch from '2026-06-18 23:14:32'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.133616 -2.793003)', '2026-06-18 23:14:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133724 -2.793096)'), GeomFromEWKT('SRID=4674;POINT (-40.133616 -2.793003)'))) / (select extract(epoch from '2026-06-18 23:14:41'::timestamp) - extract(epoch from '2026-06-18 23:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133724 -2.793096)'), GeomFromEWKT('SRID=4674;POINT (-40.133616 -2.793003)'))) / (select extract(epoch from '2026-06-18 23:14:41'::timestamp) - extract(epoch from '2026-06-18 23:14: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'), 46708, 'SRID=4674;POINT (-40.133588 -2.792919)', '2026-06-18 23:14:48', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133616 -2.793003)'), GeomFromEWKT('SRID=4674;POINT (-40.133588 -2.792919)'))) / (select extract(epoch from '2026-06-18 23:14:48'::timestamp) - extract(epoch from '2026-06-18 23:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133616 -2.793003)'), GeomFromEWKT('SRID=4674;POINT (-40.133588 -2.792919)'))) / (select extract(epoch from '2026-06-18 23:14:48'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.133585 -2.792895)', '2026-06-18 23:14:50', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133588 -2.792919)'), GeomFromEWKT('SRID=4674;POINT (-40.133585 -2.792895)'))) / (select extract(epoch from '2026-06-18 23:14:50'::timestamp) - extract(epoch from '2026-06-18 23:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133588 -2.792919)'), GeomFromEWKT('SRID=4674;POINT (-40.133585 -2.792895)'))) / (select extract(epoch from '2026-06-18 23:14:50'::timestamp) - extract(epoch from '2026-06-18 23:14:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.133573 -2.792849)', '2026-06-18 23:14:54', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133585 -2.792895)'), GeomFromEWKT('SRID=4674;POINT (-40.133573 -2.792849)'))) / (select extract(epoch from '2026-06-18 23:14:54'::timestamp) - extract(epoch from '2026-06-18 23:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133585 -2.792895)'), GeomFromEWKT('SRID=4674;POINT (-40.133573 -2.792849)'))) / (select extract(epoch from '2026-06-18 23:14:54'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.133548 -2.792786)', '2026-06-18 23:15:00', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133573 -2.792849)'), GeomFromEWKT('SRID=4674;POINT (-40.133548 -2.792786)'))) / (select extract(epoch from '2026-06-18 23:15:00'::timestamp) - extract(epoch from '2026-06-18 23:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133573 -2.792849)'), GeomFromEWKT('SRID=4674;POINT (-40.133548 -2.792786)'))) / (select extract(epoch from '2026-06-18 23:15:00'::timestamp) - extract(epoch from '2026-06-18 23:14:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.133483 -2.792679)', '2026-06-18 23:15:08', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133548 -2.792786)'), GeomFromEWKT('SRID=4674;POINT (-40.133483 -2.792679)'))) / (select extract(epoch from '2026-06-18 23:15:08'::timestamp) - extract(epoch from '2026-06-18 23:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133548 -2.792786)'), GeomFromEWKT('SRID=4674;POINT (-40.133483 -2.792679)'))) / (select extract(epoch from '2026-06-18 23:15:08'::timestamp) - extract(epoch from '2026-06-18 23:15: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'), 46708, 'SRID=4674;POINT (-40.133403 -2.792589)', '2026-06-18 23:15:15', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133483 -2.792679)'), GeomFromEWKT('SRID=4674;POINT (-40.133403 -2.792589)'))) / (select extract(epoch from '2026-06-18 23:15:15'::timestamp) - extract(epoch from '2026-06-18 23:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133483 -2.792679)'), GeomFromEWKT('SRID=4674;POINT (-40.133403 -2.792589)'))) / (select extract(epoch from '2026-06-18 23:15:15'::timestamp) - extract(epoch from '2026-06-18 23:15: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'), 46708, 'SRID=4674;POINT (-40.133318 -2.792479)', '2026-06-18 23:15:24', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133403 -2.792589)'), GeomFromEWKT('SRID=4674;POINT (-40.133318 -2.792479)'))) / (select extract(epoch from '2026-06-18 23:15:24'::timestamp) - extract(epoch from '2026-06-18 23:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133403 -2.792589)'), GeomFromEWKT('SRID=4674;POINT (-40.133318 -2.792479)'))) / (select extract(epoch from '2026-06-18 23:15:24'::timestamp) - extract(epoch from '2026-06-18 23:15: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'), 46708, 'SRID=4674;POINT (-40.133252 -2.792354)', '2026-06-18 23:15:32', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133318 -2.792479)'), GeomFromEWKT('SRID=4674;POINT (-40.133252 -2.792354)'))) / (select extract(epoch from '2026-06-18 23:15:32'::timestamp) - extract(epoch from '2026-06-18 23:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133318 -2.792479)'), GeomFromEWKT('SRID=4674;POINT (-40.133252 -2.792354)'))) / (select extract(epoch from '2026-06-18 23:15:32'::timestamp) - extract(epoch from '2026-06-18 23:15:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.133201 -2.792249)', '2026-06-18 23:15:39', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133252 -2.792354)'), GeomFromEWKT('SRID=4674;POINT (-40.133201 -2.792249)'))) / (select extract(epoch from '2026-06-18 23:15:39'::timestamp) - extract(epoch from '2026-06-18 23:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133252 -2.792354)'), GeomFromEWKT('SRID=4674;POINT (-40.133201 -2.792249)'))) / (select extract(epoch from '2026-06-18 23:15:39'::timestamp) - extract(epoch from '2026-06-18 23:15: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'), 46708, 'SRID=4674;POINT (-40.133113 -2.792122)', '2026-06-18 23:15:48', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133201 -2.792249)'), GeomFromEWKT('SRID=4674;POINT (-40.133113 -2.792122)'))) / (select extract(epoch from '2026-06-18 23:15:48'::timestamp) - extract(epoch from '2026-06-18 23:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133201 -2.792249)'), GeomFromEWKT('SRID=4674;POINT (-40.133113 -2.792122)'))) / (select extract(epoch from '2026-06-18 23:15:48'::timestamp) - extract(epoch from '2026-06-18 23:15: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'), 46708, 'SRID=4674;POINT (-40.132985 -2.792015)', '2026-06-18 23:15:57', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133113 -2.792122)'), GeomFromEWKT('SRID=4674;POINT (-40.132985 -2.792015)'))) / (select extract(epoch from '2026-06-18 23:15:57'::timestamp) - extract(epoch from '2026-06-18 23:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133113 -2.792122)'), GeomFromEWKT('SRID=4674;POINT (-40.132985 -2.792015)'))) / (select extract(epoch from '2026-06-18 23:15:57'::timestamp) - extract(epoch from '2026-06-18 23:15:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.132879 -2.791901)', '2026-06-18 23:16:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132985 -2.792015)'), GeomFromEWKT('SRID=4674;POINT (-40.132879 -2.791901)'))) / (select extract(epoch from '2026-06-18 23:16:05'::timestamp) - extract(epoch from '2026-06-18 23:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132985 -2.792015)'), GeomFromEWKT('SRID=4674;POINT (-40.132879 -2.791901)'))) / (select extract(epoch from '2026-06-18 23:16:05'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.132803 -2.791778)', '2026-06-18 23:16:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132879 -2.791901)'), GeomFromEWKT('SRID=4674;POINT (-40.132803 -2.791778)'))) / (select extract(epoch from '2026-06-18 23:16:12'::timestamp) - extract(epoch from '2026-06-18 23:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132879 -2.791901)'), GeomFromEWKT('SRID=4674;POINT (-40.132803 -2.791778)'))) / (select extract(epoch from '2026-06-18 23:16:12'::timestamp) - extract(epoch from '2026-06-18 23:16: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'), 46708, 'SRID=4674;POINT (-40.132707 -2.791663)', '2026-06-18 23:16:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132803 -2.791778)'), GeomFromEWKT('SRID=4674;POINT (-40.132707 -2.791663)'))) / (select extract(epoch from '2026-06-18 23:16:20'::timestamp) - extract(epoch from '2026-06-18 23:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132803 -2.791778)'), GeomFromEWKT('SRID=4674;POINT (-40.132707 -2.791663)'))) / (select extract(epoch from '2026-06-18 23:16:20'::timestamp) - extract(epoch from '2026-06-18 23:16: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'), 46708, 'SRID=4674;POINT (-40.132607 -2.791528)', '2026-06-18 23:16:29', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132707 -2.791663)'), GeomFromEWKT('SRID=4674;POINT (-40.132607 -2.791528)'))) / (select extract(epoch from '2026-06-18 23:16:29'::timestamp) - extract(epoch from '2026-06-18 23:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132707 -2.791663)'), GeomFromEWKT('SRID=4674;POINT (-40.132607 -2.791528)'))) / (select extract(epoch from '2026-06-18 23:16:29'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.132544 -2.791397)', '2026-06-18 23:16:38', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132607 -2.791528)'), GeomFromEWKT('SRID=4674;POINT (-40.132544 -2.791397)'))) / (select extract(epoch from '2026-06-18 23:16:38'::timestamp) - extract(epoch from '2026-06-18 23:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132607 -2.791528)'), GeomFromEWKT('SRID=4674;POINT (-40.132544 -2.791397)'))) / (select extract(epoch from '2026-06-18 23:16:38'::timestamp) - extract(epoch from '2026-06-18 23:16:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.132482 -2.791273)', '2026-06-18 23:16:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132544 -2.791397)'), GeomFromEWKT('SRID=4674;POINT (-40.132482 -2.791273)'))) / (select extract(epoch from '2026-06-18 23:16:46'::timestamp) - extract(epoch from '2026-06-18 23:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132544 -2.791397)'), GeomFromEWKT('SRID=4674;POINT (-40.132482 -2.791273)'))) / (select extract(epoch from '2026-06-18 23:16:46'::timestamp) - extract(epoch from '2026-06-18 23:16:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.132412 -2.79117)', '2026-06-18 23:16:54', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132482 -2.791273)'), GeomFromEWKT('SRID=4674;POINT (-40.132412 -2.79117)'))) / (select extract(epoch from '2026-06-18 23:16:54'::timestamp) - extract(epoch from '2026-06-18 23:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132482 -2.791273)'), GeomFromEWKT('SRID=4674;POINT (-40.132412 -2.79117)'))) / (select extract(epoch from '2026-06-18 23:16:54'::timestamp) - extract(epoch from '2026-06-18 23:16:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.132315 -2.791054)', '2026-06-18 23:17:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132412 -2.79117)'), GeomFromEWKT('SRID=4674;POINT (-40.132315 -2.791054)'))) / (select extract(epoch from '2026-06-18 23:17:03'::timestamp) - extract(epoch from '2026-06-18 23:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132412 -2.79117)'), GeomFromEWKT('SRID=4674;POINT (-40.132315 -2.791054)'))) / (select extract(epoch from '2026-06-18 23:17:03'::timestamp) - extract(epoch from '2026-06-18 23:16:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.132258 -2.790944)', '2026-06-18 23:17:10', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132315 -2.791054)'), GeomFromEWKT('SRID=4674;POINT (-40.132258 -2.790944)'))) / (select extract(epoch from '2026-06-18 23:17:10'::timestamp) - extract(epoch from '2026-06-18 23:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132315 -2.791054)'), GeomFromEWKT('SRID=4674;POINT (-40.132258 -2.790944)'))) / (select extract(epoch from '2026-06-18 23:17:10'::timestamp) - extract(epoch from '2026-06-18 23:17: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'), 46708, 'SRID=4674;POINT (-40.132191 -2.790774)', '2026-06-18 23:17:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132258 -2.790944)'), GeomFromEWKT('SRID=4674;POINT (-40.132191 -2.790774)'))) / (select extract(epoch from '2026-06-18 23:17:19'::timestamp) - extract(epoch from '2026-06-18 23:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132258 -2.790944)'), GeomFromEWKT('SRID=4674;POINT (-40.132191 -2.790774)'))) / (select extract(epoch from '2026-06-18 23:17:19'::timestamp) - extract(epoch from '2026-06-18 23:17: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'), 46708, 'SRID=4674;POINT (-40.1321 -2.790622)', '2026-06-18 23:17:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132191 -2.790774)'), GeomFromEWKT('SRID=4674;POINT (-40.1321 -2.790622)'))) / (select extract(epoch from '2026-06-18 23:17:28'::timestamp) - extract(epoch from '2026-06-18 23:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132191 -2.790774)'), GeomFromEWKT('SRID=4674;POINT (-40.1321 -2.790622)'))) / (select extract(epoch from '2026-06-18 23:17:28'::timestamp) - extract(epoch from '2026-06-18 23:17: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'), 46708, 'SRID=4674;POINT (-40.132026 -2.790489)', '2026-06-18 23:17:36', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1321 -2.790622)'), GeomFromEWKT('SRID=4674;POINT (-40.132026 -2.790489)'))) / (select extract(epoch from '2026-06-18 23:17:36'::timestamp) - extract(epoch from '2026-06-18 23:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1321 -2.790622)'), GeomFromEWKT('SRID=4674;POINT (-40.132026 -2.790489)'))) / (select extract(epoch from '2026-06-18 23:17:36'::timestamp) - extract(epoch from '2026-06-18 23:17: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'), 46708, 'SRID=4674;POINT (-40.131965 -2.790354)', '2026-06-18 23:17:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132026 -2.790489)'), GeomFromEWKT('SRID=4674;POINT (-40.131965 -2.790354)'))) / (select extract(epoch from '2026-06-18 23:17:44'::timestamp) - extract(epoch from '2026-06-18 23:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132026 -2.790489)'), GeomFromEWKT('SRID=4674;POINT (-40.131965 -2.790354)'))) / (select extract(epoch from '2026-06-18 23:17:44'::timestamp) - extract(epoch from '2026-06-18 23:17: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'), 46708, 'SRID=4674;POINT (-40.131903 -2.79025)', '2026-06-18 23:17:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131965 -2.790354)'), GeomFromEWKT('SRID=4674;POINT (-40.131903 -2.79025)'))) / (select extract(epoch from '2026-06-18 23:17:51'::timestamp) - extract(epoch from '2026-06-18 23:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131965 -2.790354)'), GeomFromEWKT('SRID=4674;POINT (-40.131903 -2.79025)'))) / (select extract(epoch from '2026-06-18 23:17:51'::timestamp) - extract(epoch from '2026-06-18 23:17: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'), 46708, 'SRID=4674;POINT (-40.131867 -2.790144)', '2026-06-18 23:17:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131903 -2.79025)'), GeomFromEWKT('SRID=4674;POINT (-40.131867 -2.790144)'))) / (select extract(epoch from '2026-06-18 23:17:58'::timestamp) - extract(epoch from '2026-06-18 23:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131903 -2.79025)'), GeomFromEWKT('SRID=4674;POINT (-40.131867 -2.790144)'))) / (select extract(epoch from '2026-06-18 23:17:58'::timestamp) - extract(epoch from '2026-06-18 23:17:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.13182 -2.790035)', '2026-06-18 23:18:04', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131867 -2.790144)'), GeomFromEWKT('SRID=4674;POINT (-40.13182 -2.790035)'))) / (select extract(epoch from '2026-06-18 23:18:04'::timestamp) - extract(epoch from '2026-06-18 23:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131867 -2.790144)'), GeomFromEWKT('SRID=4674;POINT (-40.13182 -2.790035)'))) / (select extract(epoch from '2026-06-18 23:18:04'::timestamp) - extract(epoch from '2026-06-18 23:17: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'), 46708, 'SRID=4674;POINT (-40.13174 -2.789876)', '2026-06-18 23:18:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13182 -2.790035)'), GeomFromEWKT('SRID=4674;POINT (-40.13174 -2.789876)'))) / (select extract(epoch from '2026-06-18 23:18:14'::timestamp) - extract(epoch from '2026-06-18 23:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13182 -2.790035)'), GeomFromEWKT('SRID=4674;POINT (-40.13174 -2.789876)'))) / (select extract(epoch from '2026-06-18 23:18:14'::timestamp) - extract(epoch from '2026-06-18 23:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.131671 -2.789704)', '2026-06-18 23:18:23', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13174 -2.789876)'), GeomFromEWKT('SRID=4674;POINT (-40.131671 -2.789704)'))) / (select extract(epoch from '2026-06-18 23:18:23'::timestamp) - extract(epoch from '2026-06-18 23:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13174 -2.789876)'), GeomFromEWKT('SRID=4674;POINT (-40.131671 -2.789704)'))) / (select extract(epoch from '2026-06-18 23:18:23'::timestamp) - extract(epoch from '2026-06-18 23:18: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'), 46708, 'SRID=4674;POINT (-40.131601 -2.789571)', '2026-06-18 23:18:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131671 -2.789704)'), GeomFromEWKT('SRID=4674;POINT (-40.131601 -2.789571)'))) / (select extract(epoch from '2026-06-18 23:18:32'::timestamp) - extract(epoch from '2026-06-18 23:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131671 -2.789704)'), GeomFromEWKT('SRID=4674;POINT (-40.131601 -2.789571)'))) / (select extract(epoch from '2026-06-18 23:18:32'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.131548 -2.789455)', '2026-06-18 23:18:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131601 -2.789571)'), GeomFromEWKT('SRID=4674;POINT (-40.131548 -2.789455)'))) / (select extract(epoch from '2026-06-18 23:18:39'::timestamp) - extract(epoch from '2026-06-18 23:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131601 -2.789571)'), GeomFromEWKT('SRID=4674;POINT (-40.131548 -2.789455)'))) / (select extract(epoch from '2026-06-18 23:18:39'::timestamp) - extract(epoch from '2026-06-18 23:18: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'), 46708, 'SRID=4674;POINT (-40.13151 -2.789351)', '2026-06-18 23:18:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131548 -2.789455)'), GeomFromEWKT('SRID=4674;POINT (-40.13151 -2.789351)'))) / (select extract(epoch from '2026-06-18 23:18:46'::timestamp) - extract(epoch from '2026-06-18 23:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131548 -2.789455)'), GeomFromEWKT('SRID=4674;POINT (-40.13151 -2.789351)'))) / (select extract(epoch from '2026-06-18 23:18:46'::timestamp) - extract(epoch from '2026-06-18 23:18: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'), 46708, 'SRID=4674;POINT (-40.131466 -2.789284)', '2026-06-18 23:18:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13151 -2.789351)'), GeomFromEWKT('SRID=4674;POINT (-40.131466 -2.789284)'))) / (select extract(epoch from '2026-06-18 23:18:53'::timestamp) - extract(epoch from '2026-06-18 23:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13151 -2.789351)'), GeomFromEWKT('SRID=4674;POINT (-40.131466 -2.789284)'))) / (select extract(epoch from '2026-06-18 23:18:53'::timestamp) - extract(epoch from '2026-06-18 23:18: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'), 46708, 'SRID=4674;POINT (-40.131432 -2.789196)', '2026-06-18 23:19:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131466 -2.789284)'), GeomFromEWKT('SRID=4674;POINT (-40.131432 -2.789196)'))) / (select extract(epoch from '2026-06-18 23:19:00'::timestamp) - extract(epoch from '2026-06-18 23:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131466 -2.789284)'), GeomFromEWKT('SRID=4674;POINT (-40.131432 -2.789196)'))) / (select extract(epoch from '2026-06-18 23:19:00'::timestamp) - extract(epoch from '2026-06-18 23:18:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.131381 -2.789059)', '2026-06-18 23:19:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131432 -2.789196)'), GeomFromEWKT('SRID=4674;POINT (-40.131381 -2.789059)'))) / (select extract(epoch from '2026-06-18 23:19:09'::timestamp) - extract(epoch from '2026-06-18 23:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131432 -2.789196)'), GeomFromEWKT('SRID=4674;POINT (-40.131381 -2.789059)'))) / (select extract(epoch from '2026-06-18 23:19:09'::timestamp) - extract(epoch from '2026-06-18 23:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.131305 -2.788926)', '2026-06-18 23:19:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131381 -2.789059)'), GeomFromEWKT('SRID=4674;POINT (-40.131305 -2.788926)'))) / (select extract(epoch from '2026-06-18 23:19:18'::timestamp) - extract(epoch from '2026-06-18 23:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131381 -2.789059)'), GeomFromEWKT('SRID=4674;POINT (-40.131305 -2.788926)'))) / (select extract(epoch from '2026-06-18 23:19:18'::timestamp) - extract(epoch from '2026-06-18 23:19:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.131262 -2.788824)', '2026-06-18 23:19:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131305 -2.788926)'), GeomFromEWKT('SRID=4674;POINT (-40.131262 -2.788824)'))) / (select extract(epoch from '2026-06-18 23:19:24'::timestamp) - extract(epoch from '2026-06-18 23:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131305 -2.788926)'), GeomFromEWKT('SRID=4674;POINT (-40.131262 -2.788824)'))) / (select extract(epoch from '2026-06-18 23:19:24'::timestamp) - extract(epoch from '2026-06-18 23:19: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'), 46708, 'SRID=4674;POINT (-40.131211 -2.788683)', '2026-06-18 23:19:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131262 -2.788824)'), GeomFromEWKT('SRID=4674;POINT (-40.131211 -2.788683)'))) / (select extract(epoch from '2026-06-18 23:19:32'::timestamp) - extract(epoch from '2026-06-18 23:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131262 -2.788824)'), GeomFromEWKT('SRID=4674;POINT (-40.131211 -2.788683)'))) / (select extract(epoch from '2026-06-18 23:19:32'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.131159 -2.788526)', '2026-06-18 23:19:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131211 -2.788683)'), GeomFromEWKT('SRID=4674;POINT (-40.131159 -2.788526)'))) / (select extract(epoch from '2026-06-18 23:19:41'::timestamp) - extract(epoch from '2026-06-18 23:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131211 -2.788683)'), GeomFromEWKT('SRID=4674;POINT (-40.131159 -2.788526)'))) / (select extract(epoch from '2026-06-18 23:19:41'::timestamp) - extract(epoch from '2026-06-18 23:19:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.131132 -2.788422)', '2026-06-18 23:19:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131159 -2.788526)'), GeomFromEWKT('SRID=4674;POINT (-40.131132 -2.788422)'))) / (select extract(epoch from '2026-06-18 23:19:48'::timestamp) - extract(epoch from '2026-06-18 23:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131159 -2.788526)'), GeomFromEWKT('SRID=4674;POINT (-40.131132 -2.788422)'))) / (select extract(epoch from '2026-06-18 23:19:48'::timestamp) - extract(epoch from '2026-06-18 23:19: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'), 46708, 'SRID=4674;POINT (-40.131073 -2.788324)', '2026-06-18 23:19:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131132 -2.788422)'), GeomFromEWKT('SRID=4674;POINT (-40.131073 -2.788324)'))) / (select extract(epoch from '2026-06-18 23:19:55'::timestamp) - extract(epoch from '2026-06-18 23:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131132 -2.788422)'), GeomFromEWKT('SRID=4674;POINT (-40.131073 -2.788324)'))) / (select extract(epoch from '2026-06-18 23:19:55'::timestamp) - extract(epoch from '2026-06-18 23:19:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.131034 -2.788223)', '2026-06-18 23:20:02', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131073 -2.788324)'), GeomFromEWKT('SRID=4674;POINT (-40.131034 -2.788223)'))) / (select extract(epoch from '2026-06-18 23:20:02'::timestamp) - extract(epoch from '2026-06-18 23:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131073 -2.788324)'), GeomFromEWKT('SRID=4674;POINT (-40.131034 -2.788223)'))) / (select extract(epoch from '2026-06-18 23:20:02'::timestamp) - extract(epoch from '2026-06-18 23:19:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.130995 -2.78811)', '2026-06-18 23:20:09', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131034 -2.788223)'), GeomFromEWKT('SRID=4674;POINT (-40.130995 -2.78811)'))) / (select extract(epoch from '2026-06-18 23:20:09'::timestamp) - extract(epoch from '2026-06-18 23:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131034 -2.788223)'), GeomFromEWKT('SRID=4674;POINT (-40.130995 -2.78811)'))) / (select extract(epoch from '2026-06-18 23:20:09'::timestamp) - extract(epoch from '2026-06-18 23:20: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'), 46708, 'SRID=4674;POINT (-40.130942 -2.788007)', '2026-06-18 23:20:15', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130995 -2.78811)'), GeomFromEWKT('SRID=4674;POINT (-40.130942 -2.788007)'))) / (select extract(epoch from '2026-06-18 23:20:15'::timestamp) - extract(epoch from '2026-06-18 23:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130995 -2.78811)'), GeomFromEWKT('SRID=4674;POINT (-40.130942 -2.788007)'))) / (select extract(epoch from '2026-06-18 23:20:15'::timestamp) - extract(epoch from '2026-06-18 23:20: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'), 46708, 'SRID=4674;POINT (-40.130894 -2.787836)', '2026-06-18 23:20:24', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130942 -2.788007)'), GeomFromEWKT('SRID=4674;POINT (-40.130894 -2.787836)'))) / (select extract(epoch from '2026-06-18 23:20:24'::timestamp) - extract(epoch from '2026-06-18 23:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130942 -2.788007)'), GeomFromEWKT('SRID=4674;POINT (-40.130894 -2.787836)'))) / (select extract(epoch from '2026-06-18 23:20:24'::timestamp) - extract(epoch from '2026-06-18 23:20:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.130902 -2.787714)', '2026-06-18 23:20:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130894 -2.787836)'), GeomFromEWKT('SRID=4674;POINT (-40.130902 -2.787714)'))) / (select extract(epoch from '2026-06-18 23:20:30'::timestamp) - extract(epoch from '2026-06-18 23:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130894 -2.787836)'), GeomFromEWKT('SRID=4674;POINT (-40.130902 -2.787714)'))) / (select extract(epoch from '2026-06-18 23:20:30'::timestamp) - extract(epoch from '2026-06-18 23:20:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.130883 -2.787601)', '2026-06-18 23:20:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130902 -2.787714)'), GeomFromEWKT('SRID=4674;POINT (-40.130883 -2.787601)'))) / (select extract(epoch from '2026-06-18 23:20:36'::timestamp) - extract(epoch from '2026-06-18 23:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130902 -2.787714)'), GeomFromEWKT('SRID=4674;POINT (-40.130883 -2.787601)'))) / (select extract(epoch from '2026-06-18 23:20:36'::timestamp) - extract(epoch from '2026-06-18 23:20: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'), 46708, 'SRID=4674;POINT (-40.130818 -2.78747)', '2026-06-18 23:20:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130883 -2.787601)'), GeomFromEWKT('SRID=4674;POINT (-40.130818 -2.78747)'))) / (select extract(epoch from '2026-06-18 23:20:44'::timestamp) - extract(epoch from '2026-06-18 23:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130883 -2.787601)'), GeomFromEWKT('SRID=4674;POINT (-40.130818 -2.78747)'))) / (select extract(epoch from '2026-06-18 23:20:44'::timestamp) - extract(epoch from '2026-06-18 23:20:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.130744 -2.787293)', '2026-06-18 23:20:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130818 -2.78747)'), GeomFromEWKT('SRID=4674;POINT (-40.130744 -2.787293)'))) / (select extract(epoch from '2026-06-18 23:20:53'::timestamp) - extract(epoch from '2026-06-18 23:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130818 -2.78747)'), GeomFromEWKT('SRID=4674;POINT (-40.130744 -2.787293)'))) / (select extract(epoch from '2026-06-18 23:20:53'::timestamp) - extract(epoch from '2026-06-18 23:20:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.130738 -2.787093)', '2026-06-18 23:21:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130744 -2.787293)'), GeomFromEWKT('SRID=4674;POINT (-40.130738 -2.787093)'))) / (select extract(epoch from '2026-06-18 23:21:02'::timestamp) - extract(epoch from '2026-06-18 23:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130744 -2.787293)'), GeomFromEWKT('SRID=4674;POINT (-40.130738 -2.787093)'))) / (select extract(epoch from '2026-06-18 23:21:02'::timestamp) - extract(epoch from '2026-06-18 23:20:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.130717 -2.786972)', '2026-06-18 23:21:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130738 -2.787093)'), GeomFromEWKT('SRID=4674;POINT (-40.130717 -2.786972)'))) / (select extract(epoch from '2026-06-18 23:21:08'::timestamp) - extract(epoch from '2026-06-18 23:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130738 -2.787093)'), GeomFromEWKT('SRID=4674;POINT (-40.130717 -2.786972)'))) / (select extract(epoch from '2026-06-18 23:21:08'::timestamp) - extract(epoch from '2026-06-18 23:21:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.130688 -2.786875)', '2026-06-18 23:21:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130717 -2.786972)'), GeomFromEWKT('SRID=4674;POINT (-40.130688 -2.786875)'))) / (select extract(epoch from '2026-06-18 23:21:15'::timestamp) - extract(epoch from '2026-06-18 23:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130717 -2.786972)'), GeomFromEWKT('SRID=4674;POINT (-40.130688 -2.786875)'))) / (select extract(epoch from '2026-06-18 23:21:15'::timestamp) - extract(epoch from '2026-06-18 23:21: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'), 46708, 'SRID=4674;POINT (-40.130622 -2.786756)', '2026-06-18 23:21:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130688 -2.786875)'), GeomFromEWKT('SRID=4674;POINT (-40.130622 -2.786756)'))) / (select extract(epoch from '2026-06-18 23:21:23'::timestamp) - extract(epoch from '2026-06-18 23:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130688 -2.786875)'), GeomFromEWKT('SRID=4674;POINT (-40.130622 -2.786756)'))) / (select extract(epoch from '2026-06-18 23:21:23'::timestamp) - extract(epoch from '2026-06-18 23:21:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.130537 -2.786628)', '2026-06-18 23:21:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130622 -2.786756)'), GeomFromEWKT('SRID=4674;POINT (-40.130537 -2.786628)'))) / (select extract(epoch from '2026-06-18 23:21:31'::timestamp) - extract(epoch from '2026-06-18 23:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130622 -2.786756)'), GeomFromEWKT('SRID=4674;POINT (-40.130537 -2.786628)'))) / (select extract(epoch from '2026-06-18 23:21:31'::timestamp) - extract(epoch from '2026-06-18 23:21:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.1305 -2.786492)', '2026-06-18 23:21:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130537 -2.786628)'), GeomFromEWKT('SRID=4674;POINT (-40.1305 -2.786492)'))) / (select extract(epoch from '2026-06-18 23:21:38'::timestamp) - extract(epoch from '2026-06-18 23:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130537 -2.786628)'), GeomFromEWKT('SRID=4674;POINT (-40.1305 -2.786492)'))) / (select extract(epoch from '2026-06-18 23:21:38'::timestamp) - extract(epoch from '2026-06-18 23:21:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.130456 -2.786354)', '2026-06-18 23:21:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1305 -2.786492)'), GeomFromEWKT('SRID=4674;POINT (-40.130456 -2.786354)'))) / (select extract(epoch from '2026-06-18 23:21:46'::timestamp) - extract(epoch from '2026-06-18 23:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1305 -2.786492)'), GeomFromEWKT('SRID=4674;POINT (-40.130456 -2.786354)'))) / (select extract(epoch from '2026-06-18 23:21:46'::timestamp) - extract(epoch from '2026-06-18 23:21:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.130395 -2.786269)', '2026-06-18 23:21:52', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130456 -2.786354)'), GeomFromEWKT('SRID=4674;POINT (-40.130395 -2.786269)'))) / (select extract(epoch from '2026-06-18 23:21:52'::timestamp) - extract(epoch from '2026-06-18 23:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130456 -2.786354)'), GeomFromEWKT('SRID=4674;POINT (-40.130395 -2.786269)'))) / (select extract(epoch from '2026-06-18 23:21:52'::timestamp) - extract(epoch from '2026-06-18 23:21:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.130308 -2.78614)', '2026-06-18 23:22:01', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130395 -2.786269)'), GeomFromEWKT('SRID=4674;POINT (-40.130308 -2.78614)'))) / (select extract(epoch from '2026-06-18 23:22:01'::timestamp) - extract(epoch from '2026-06-18 23:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130395 -2.786269)'), GeomFromEWKT('SRID=4674;POINT (-40.130308 -2.78614)'))) / (select extract(epoch from '2026-06-18 23:22:01'::timestamp) - extract(epoch from '2026-06-18 23:21:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.130263 -2.786067)', '2026-06-18 23:22:07', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130308 -2.78614)'), GeomFromEWKT('SRID=4674;POINT (-40.130263 -2.786067)'))) / (select extract(epoch from '2026-06-18 23:22:07'::timestamp) - extract(epoch from '2026-06-18 23:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130308 -2.78614)'), GeomFromEWKT('SRID=4674;POINT (-40.130263 -2.786067)'))) / (select extract(epoch from '2026-06-18 23:22:07'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.130214 -2.785931)', '2026-06-18 23:22:15', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130263 -2.786067)'), GeomFromEWKT('SRID=4674;POINT (-40.130214 -2.785931)'))) / (select extract(epoch from '2026-06-18 23:22:15'::timestamp) - extract(epoch from '2026-06-18 23:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130263 -2.786067)'), GeomFromEWKT('SRID=4674;POINT (-40.130214 -2.785931)'))) / (select extract(epoch from '2026-06-18 23:22:15'::timestamp) - extract(epoch from '2026-06-18 23:22: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'), 46708, 'SRID=4674;POINT (-40.13017 -2.785792)', '2026-06-18 23:22:23', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130214 -2.785931)'), GeomFromEWKT('SRID=4674;POINT (-40.13017 -2.785792)'))) / (select extract(epoch from '2026-06-18 23:22:23'::timestamp) - extract(epoch from '2026-06-18 23:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130214 -2.785931)'), GeomFromEWKT('SRID=4674;POINT (-40.13017 -2.785792)'))) / (select extract(epoch from '2026-06-18 23:22:23'::timestamp) - extract(epoch from '2026-06-18 23:22: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'), 46708, 'SRID=4674;POINT (-40.13011 -2.785644)', '2026-06-18 23:22:31', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13017 -2.785792)'), GeomFromEWKT('SRID=4674;POINT (-40.13011 -2.785644)'))) / (select extract(epoch from '2026-06-18 23:22:31'::timestamp) - extract(epoch from '2026-06-18 23:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13017 -2.785792)'), GeomFromEWKT('SRID=4674;POINT (-40.13011 -2.785644)'))) / (select extract(epoch from '2026-06-18 23:22:31'::timestamp) - extract(epoch from '2026-06-18 23:22: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'), 46708, 'SRID=4674;POINT (-40.130047 -2.785476)', '2026-06-18 23:22:40', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13011 -2.785644)'), GeomFromEWKT('SRID=4674;POINT (-40.130047 -2.785476)'))) / (select extract(epoch from '2026-06-18 23:22:40'::timestamp) - extract(epoch from '2026-06-18 23:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13011 -2.785644)'), GeomFromEWKT('SRID=4674;POINT (-40.130047 -2.785476)'))) / (select extract(epoch from '2026-06-18 23:22:40'::timestamp) - extract(epoch from '2026-06-18 23:22: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'), 46708, 'SRID=4674;POINT (-40.130013 -2.785335)', '2026-06-18 23:22:48', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130047 -2.785476)'), GeomFromEWKT('SRID=4674;POINT (-40.130013 -2.785335)'))) / (select extract(epoch from '2026-06-18 23:22:48'::timestamp) - extract(epoch from '2026-06-18 23:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130047 -2.785476)'), GeomFromEWKT('SRID=4674;POINT (-40.130013 -2.785335)'))) / (select extract(epoch from '2026-06-18 23:22:48'::timestamp) - extract(epoch from '2026-06-18 23:22:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.129983 -2.785195)', '2026-06-18 23:22:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130013 -2.785335)'), GeomFromEWKT('SRID=4674;POINT (-40.129983 -2.785195)'))) / (select extract(epoch from '2026-06-18 23:22:55'::timestamp) - extract(epoch from '2026-06-18 23:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130013 -2.785335)'), GeomFromEWKT('SRID=4674;POINT (-40.129983 -2.785195)'))) / (select extract(epoch from '2026-06-18 23:22:55'::timestamp) - extract(epoch from '2026-06-18 23:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.129947 -2.785077)', '2026-06-18 23:23:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129983 -2.785195)'), GeomFromEWKT('SRID=4674;POINT (-40.129947 -2.785077)'))) / (select extract(epoch from '2026-06-18 23:23:01'::timestamp) - extract(epoch from '2026-06-18 23:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129983 -2.785195)'), GeomFromEWKT('SRID=4674;POINT (-40.129947 -2.785077)'))) / (select extract(epoch from '2026-06-18 23:23:01'::timestamp) - extract(epoch from '2026-06-18 23:22: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'), 46708, 'SRID=4674;POINT (-40.129894 -2.784925)', '2026-06-18 23:23:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129947 -2.785077)'), GeomFromEWKT('SRID=4674;POINT (-40.129894 -2.784925)'))) / (select extract(epoch from '2026-06-18 23:23:09'::timestamp) - extract(epoch from '2026-06-18 23:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129947 -2.785077)'), GeomFromEWKT('SRID=4674;POINT (-40.129894 -2.784925)'))) / (select extract(epoch from '2026-06-18 23:23:09'::timestamp) - extract(epoch from '2026-06-18 23:23:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.129847 -2.784805)', '2026-06-18 23:23:16', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129894 -2.784925)'), GeomFromEWKT('SRID=4674;POINT (-40.129847 -2.784805)'))) / (select extract(epoch from '2026-06-18 23:23:16'::timestamp) - extract(epoch from '2026-06-18 23:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129894 -2.784925)'), GeomFromEWKT('SRID=4674;POINT (-40.129847 -2.784805)'))) / (select extract(epoch from '2026-06-18 23:23:16'::timestamp) - extract(epoch from '2026-06-18 23:23:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.129767 -2.784664)', '2026-06-18 23:23:24', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129847 -2.784805)'), GeomFromEWKT('SRID=4674;POINT (-40.129767 -2.784664)'))) / (select extract(epoch from '2026-06-18 23:23:24'::timestamp) - extract(epoch from '2026-06-18 23:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129847 -2.784805)'), GeomFromEWKT('SRID=4674;POINT (-40.129767 -2.784664)'))) / (select extract(epoch from '2026-06-18 23:23:24'::timestamp) - extract(epoch from '2026-06-18 23:23:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.129722 -2.784565)', '2026-06-18 23:23:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129767 -2.784664)'), GeomFromEWKT('SRID=4674;POINT (-40.129722 -2.784565)'))) / (select extract(epoch from '2026-06-18 23:23:30'::timestamp) - extract(epoch from '2026-06-18 23:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129767 -2.784664)'), GeomFromEWKT('SRID=4674;POINT (-40.129722 -2.784565)'))) / (select extract(epoch from '2026-06-18 23:23:30'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.129672 -2.78444)', '2026-06-18 23:23:37', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129722 -2.784565)'), GeomFromEWKT('SRID=4674;POINT (-40.129672 -2.78444)'))) / (select extract(epoch from '2026-06-18 23:23:37'::timestamp) - extract(epoch from '2026-06-18 23:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129722 -2.784565)'), GeomFromEWKT('SRID=4674;POINT (-40.129672 -2.78444)'))) / (select extract(epoch from '2026-06-18 23:23:37'::timestamp) - extract(epoch from '2026-06-18 23:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.129632 -2.784271)', '2026-06-18 23:23:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129672 -2.78444)'), GeomFromEWKT('SRID=4674;POINT (-40.129632 -2.784271)'))) / (select extract(epoch from '2026-06-18 23:23:45'::timestamp) - extract(epoch from '2026-06-18 23:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129672 -2.78444)'), GeomFromEWKT('SRID=4674;POINT (-40.129632 -2.784271)'))) / (select extract(epoch from '2026-06-18 23:23:45'::timestamp) - extract(epoch from '2026-06-18 23:23: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'), 46708, 'SRID=4674;POINT (-40.129599 -2.784123)', '2026-06-18 23:23:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129632 -2.784271)'), GeomFromEWKT('SRID=4674;POINT (-40.129599 -2.784123)'))) / (select extract(epoch from '2026-06-18 23:23:53'::timestamp) - extract(epoch from '2026-06-18 23:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129632 -2.784271)'), GeomFromEWKT('SRID=4674;POINT (-40.129599 -2.784123)'))) / (select extract(epoch from '2026-06-18 23:23:53'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.129539 -2.783924)', '2026-06-18 23:24:03', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129599 -2.784123)'), GeomFromEWKT('SRID=4674;POINT (-40.129539 -2.783924)'))) / (select extract(epoch from '2026-06-18 23:24:03'::timestamp) - extract(epoch from '2026-06-18 23:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129599 -2.784123)'), GeomFromEWKT('SRID=4674;POINT (-40.129539 -2.783924)'))) / (select extract(epoch from '2026-06-18 23:24:03'::timestamp) - extract(epoch from '2026-06-18 23:23:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.129482 -2.78375)', '2026-06-18 23:24:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129539 -2.783924)'), GeomFromEWKT('SRID=4674;POINT (-40.129482 -2.78375)'))) / (select extract(epoch from '2026-06-18 23:24:12'::timestamp) - extract(epoch from '2026-06-18 23:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129539 -2.783924)'), GeomFromEWKT('SRID=4674;POINT (-40.129482 -2.78375)'))) / (select extract(epoch from '2026-06-18 23:24:12'::timestamp) - extract(epoch from '2026-06-18 23:24: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'), 46708, 'SRID=4674;POINT (-40.129428 -2.783593)', '2026-06-18 23:24:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129482 -2.78375)'), GeomFromEWKT('SRID=4674;POINT (-40.129428 -2.783593)'))) / (select extract(epoch from '2026-06-18 23:24:20'::timestamp) - extract(epoch from '2026-06-18 23:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129482 -2.78375)'), GeomFromEWKT('SRID=4674;POINT (-40.129428 -2.783593)'))) / (select extract(epoch from '2026-06-18 23:24:20'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.129386 -2.783439)', '2026-06-18 23:24:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129428 -2.783593)'), GeomFromEWKT('SRID=4674;POINT (-40.129386 -2.783439)'))) / (select extract(epoch from '2026-06-18 23:24:28'::timestamp) - extract(epoch from '2026-06-18 23:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129428 -2.783593)'), GeomFromEWKT('SRID=4674;POINT (-40.129386 -2.783439)'))) / (select extract(epoch from '2026-06-18 23:24:28'::timestamp) - extract(epoch from '2026-06-18 23:24: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'), 46708, 'SRID=4674;POINT (-40.129344 -2.783277)', '2026-06-18 23:24:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129386 -2.783439)'), GeomFromEWKT('SRID=4674;POINT (-40.129344 -2.783277)'))) / (select extract(epoch from '2026-06-18 23:24:36'::timestamp) - extract(epoch from '2026-06-18 23:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129386 -2.783439)'), GeomFromEWKT('SRID=4674;POINT (-40.129344 -2.783277)'))) / (select extract(epoch from '2026-06-18 23:24:36'::timestamp) - extract(epoch from '2026-06-18 23:24: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'), 46708, 'SRID=4674;POINT (-40.129299 -2.783085)', '2026-06-18 23:24:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129344 -2.783277)'), GeomFromEWKT('SRID=4674;POINT (-40.129299 -2.783085)'))) / (select extract(epoch from '2026-06-18 23:24:46'::timestamp) - extract(epoch from '2026-06-18 23:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129344 -2.783277)'), GeomFromEWKT('SRID=4674;POINT (-40.129299 -2.783085)'))) / (select extract(epoch from '2026-06-18 23:24:46'::timestamp) - extract(epoch from '2026-06-18 23:24: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'), 46708, 'SRID=4674;POINT (-40.129278 -2.78294)', '2026-06-18 23:24:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129299 -2.783085)'), GeomFromEWKT('SRID=4674;POINT (-40.129278 -2.78294)'))) / (select extract(epoch from '2026-06-18 23:24:53'::timestamp) - extract(epoch from '2026-06-18 23:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129299 -2.783085)'), GeomFromEWKT('SRID=4674;POINT (-40.129278 -2.78294)'))) / (select extract(epoch from '2026-06-18 23:24:53'::timestamp) - extract(epoch from '2026-06-18 23:24: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'), 46708, 'SRID=4674;POINT (-40.129256 -2.782812)', '2026-06-18 23:25:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129278 -2.78294)'), GeomFromEWKT('SRID=4674;POINT (-40.129256 -2.782812)'))) / (select extract(epoch from '2026-06-18 23:25:00'::timestamp) - extract(epoch from '2026-06-18 23:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129278 -2.78294)'), GeomFromEWKT('SRID=4674;POINT (-40.129256 -2.782812)'))) / (select extract(epoch from '2026-06-18 23:25:00'::timestamp) - extract(epoch from '2026-06-18 23:24: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'), 46708, 'SRID=4674;POINT (-40.129189 -2.782672)', '2026-06-18 23:25:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129256 -2.782812)'), GeomFromEWKT('SRID=4674;POINT (-40.129189 -2.782672)'))) / (select extract(epoch from '2026-06-18 23:25:08'::timestamp) - extract(epoch from '2026-06-18 23:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129256 -2.782812)'), GeomFromEWKT('SRID=4674;POINT (-40.129189 -2.782672)'))) / (select extract(epoch from '2026-06-18 23:25:08'::timestamp) - extract(epoch from '2026-06-18 23:25: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'), 46708, 'SRID=4674;POINT (-40.129125 -2.782565)', '2026-06-18 23:25:16', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129189 -2.782672)'), GeomFromEWKT('SRID=4674;POINT (-40.129125 -2.782565)'))) / (select extract(epoch from '2026-06-18 23:25:16'::timestamp) - extract(epoch from '2026-06-18 23:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129189 -2.782672)'), GeomFromEWKT('SRID=4674;POINT (-40.129125 -2.782565)'))) / (select extract(epoch from '2026-06-18 23:25:16'::timestamp) - extract(epoch from '2026-06-18 23:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.129068 -2.782435)', '2026-06-18 23:25:24', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129125 -2.782565)'), GeomFromEWKT('SRID=4674;POINT (-40.129068 -2.782435)'))) / (select extract(epoch from '2026-06-18 23:25:24'::timestamp) - extract(epoch from '2026-06-18 23:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129125 -2.782565)'), GeomFromEWKT('SRID=4674;POINT (-40.129068 -2.782435)'))) / (select extract(epoch from '2026-06-18 23:25:24'::timestamp) - extract(epoch from '2026-06-18 23:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.129009 -2.782303)', '2026-06-18 23:25:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129068 -2.782435)'), GeomFromEWKT('SRID=4674;POINT (-40.129009 -2.782303)'))) / (select extract(epoch from '2026-06-18 23:25:32'::timestamp) - extract(epoch from '2026-06-18 23:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129068 -2.782435)'), GeomFromEWKT('SRID=4674;POINT (-40.129009 -2.782303)'))) / (select extract(epoch from '2026-06-18 23:25:32'::timestamp) - extract(epoch from '2026-06-18 23:25:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.12894 -2.782144)', '2026-06-18 23:25:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129009 -2.782303)'), GeomFromEWKT('SRID=4674;POINT (-40.12894 -2.782144)'))) / (select extract(epoch from '2026-06-18 23:25:41'::timestamp) - extract(epoch from '2026-06-18 23:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129009 -2.782303)'), GeomFromEWKT('SRID=4674;POINT (-40.12894 -2.782144)'))) / (select extract(epoch from '2026-06-18 23:25:41'::timestamp) - extract(epoch from '2026-06-18 23:25: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'), 46708, 'SRID=4674;POINT (-40.128919 -2.782004)', '2026-06-18 23:25:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12894 -2.782144)'), GeomFromEWKT('SRID=4674;POINT (-40.128919 -2.782004)'))) / (select extract(epoch from '2026-06-18 23:25:48'::timestamp) - extract(epoch from '2026-06-18 23:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12894 -2.782144)'), GeomFromEWKT('SRID=4674;POINT (-40.128919 -2.782004)'))) / (select extract(epoch from '2026-06-18 23:25:48'::timestamp) - extract(epoch from '2026-06-18 23:25:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.128891 -2.781829)', '2026-06-18 23:25:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128919 -2.782004)'), GeomFromEWKT('SRID=4674;POINT (-40.128891 -2.781829)'))) / (select extract(epoch from '2026-06-18 23:25:56'::timestamp) - extract(epoch from '2026-06-18 23:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128919 -2.782004)'), GeomFromEWKT('SRID=4674;POINT (-40.128891 -2.781829)'))) / (select extract(epoch from '2026-06-18 23:25:56'::timestamp) - extract(epoch from '2026-06-18 23:25: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'), 46708, 'SRID=4674;POINT (-40.128855 -2.781691)', '2026-06-18 23:26:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128891 -2.781829)'), GeomFromEWKT('SRID=4674;POINT (-40.128855 -2.781691)'))) / (select extract(epoch from '2026-06-18 23:26:03'::timestamp) - extract(epoch from '2026-06-18 23:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128891 -2.781829)'), GeomFromEWKT('SRID=4674;POINT (-40.128855 -2.781691)'))) / (select extract(epoch from '2026-06-18 23:26:03'::timestamp) - extract(epoch from '2026-06-18 23:25:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.128813 -2.78155)', '2026-06-18 23:26:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128855 -2.781691)'), GeomFromEWKT('SRID=4674;POINT (-40.128813 -2.78155)'))) / (select extract(epoch from '2026-06-18 23:26:11'::timestamp) - extract(epoch from '2026-06-18 23:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128855 -2.781691)'), GeomFromEWKT('SRID=4674;POINT (-40.128813 -2.78155)'))) / (select extract(epoch from '2026-06-18 23:26:11'::timestamp) - extract(epoch from '2026-06-18 23:26:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.12876 -2.781431)', '2026-06-18 23:26:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128813 -2.78155)'), GeomFromEWKT('SRID=4674;POINT (-40.12876 -2.781431)'))) / (select extract(epoch from '2026-06-18 23:26:18'::timestamp) - extract(epoch from '2026-06-18 23:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128813 -2.78155)'), GeomFromEWKT('SRID=4674;POINT (-40.12876 -2.781431)'))) / (select extract(epoch from '2026-06-18 23:26:18'::timestamp) - extract(epoch from '2026-06-18 23:26: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'), 46708, 'SRID=4674;POINT (-40.128703 -2.781307)', '2026-06-18 23:26:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12876 -2.781431)'), GeomFromEWKT('SRID=4674;POINT (-40.128703 -2.781307)'))) / (select extract(epoch from '2026-06-18 23:26:26'::timestamp) - extract(epoch from '2026-06-18 23:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12876 -2.781431)'), GeomFromEWKT('SRID=4674;POINT (-40.128703 -2.781307)'))) / (select extract(epoch from '2026-06-18 23:26:26'::timestamp) - extract(epoch from '2026-06-18 23:26:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.128668 -2.781201)', '2026-06-18 23:26:32', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128703 -2.781307)'), GeomFromEWKT('SRID=4674;POINT (-40.128668 -2.781201)'))) / (select extract(epoch from '2026-06-18 23:26:32'::timestamp) - extract(epoch from '2026-06-18 23:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128703 -2.781307)'), GeomFromEWKT('SRID=4674;POINT (-40.128668 -2.781201)'))) / (select extract(epoch from '2026-06-18 23:26:32'::timestamp) - extract(epoch from '2026-06-18 23:26:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.128601 -2.781046)', '2026-06-18 23:26:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128668 -2.781201)'), GeomFromEWKT('SRID=4674;POINT (-40.128601 -2.781046)'))) / (select extract(epoch from '2026-06-18 23:26:40'::timestamp) - extract(epoch from '2026-06-18 23:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128668 -2.781201)'), GeomFromEWKT('SRID=4674;POINT (-40.128601 -2.781046)'))) / (select extract(epoch from '2026-06-18 23:26:40'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.128545 -2.78094)', '2026-06-18 23:26:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128601 -2.781046)'), GeomFromEWKT('SRID=4674;POINT (-40.128545 -2.78094)'))) / (select extract(epoch from '2026-06-18 23:26:47'::timestamp) - extract(epoch from '2026-06-18 23:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128601 -2.781046)'), GeomFromEWKT('SRID=4674;POINT (-40.128545 -2.78094)'))) / (select extract(epoch from '2026-06-18 23:26:47'::timestamp) - extract(epoch from '2026-06-18 23:26:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.128488 -2.780834)', '2026-06-18 23:26:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128545 -2.78094)'), GeomFromEWKT('SRID=4674;POINT (-40.128488 -2.780834)'))) / (select extract(epoch from '2026-06-18 23:26:54'::timestamp) - extract(epoch from '2026-06-18 23:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128545 -2.78094)'), GeomFromEWKT('SRID=4674;POINT (-40.128488 -2.780834)'))) / (select extract(epoch from '2026-06-18 23:26:54'::timestamp) - extract(epoch from '2026-06-18 23:26: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'), 46708, 'SRID=4674;POINT (-40.128432 -2.780721)', '2026-06-18 23:27:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128488 -2.780834)'), GeomFromEWKT('SRID=4674;POINT (-40.128432 -2.780721)'))) / (select extract(epoch from '2026-06-18 23:27:01'::timestamp) - extract(epoch from '2026-06-18 23:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128488 -2.780834)'), GeomFromEWKT('SRID=4674;POINT (-40.128432 -2.780721)'))) / (select extract(epoch from '2026-06-18 23:27:01'::timestamp) - extract(epoch from '2026-06-18 23:26:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.128392 -2.780585)', '2026-06-18 23:27:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128432 -2.780721)'), GeomFromEWKT('SRID=4674;POINT (-40.128392 -2.780585)'))) / (select extract(epoch from '2026-06-18 23:27:08'::timestamp) - extract(epoch from '2026-06-18 23:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128432 -2.780721)'), GeomFromEWKT('SRID=4674;POINT (-40.128392 -2.780585)'))) / (select extract(epoch from '2026-06-18 23:27:08'::timestamp) - extract(epoch from '2026-06-18 23:27: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'), 46708, 'SRID=4674;POINT (-40.128392 -2.780466)', '2026-06-18 23:27:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128392 -2.780585)'), GeomFromEWKT('SRID=4674;POINT (-40.128392 -2.780466)'))) / (select extract(epoch from '2026-06-18 23:27:14'::timestamp) - extract(epoch from '2026-06-18 23:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128392 -2.780585)'), GeomFromEWKT('SRID=4674;POINT (-40.128392 -2.780466)'))) / (select extract(epoch from '2026-06-18 23:27:14'::timestamp) - extract(epoch from '2026-06-18 23:27: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'), 46708, 'SRID=4674;POINT (-40.128377 -2.780354)', '2026-06-18 23:27:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128392 -2.780466)'), GeomFromEWKT('SRID=4674;POINT (-40.128377 -2.780354)'))) / (select extract(epoch from '2026-06-18 23:27:20'::timestamp) - extract(epoch from '2026-06-18 23:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128392 -2.780466)'), GeomFromEWKT('SRID=4674;POINT (-40.128377 -2.780354)'))) / (select extract(epoch from '2026-06-18 23:27:20'::timestamp) - extract(epoch from '2026-06-18 23:27: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'), 46708, 'SRID=4674;POINT (-40.128322 -2.780221)', '2026-06-18 23:27:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128377 -2.780354)'), GeomFromEWKT('SRID=4674;POINT (-40.128322 -2.780221)'))) / (select extract(epoch from '2026-06-18 23:27:28'::timestamp) - extract(epoch from '2026-06-18 23:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128377 -2.780354)'), GeomFromEWKT('SRID=4674;POINT (-40.128322 -2.780221)'))) / (select extract(epoch from '2026-06-18 23:27:28'::timestamp) - extract(epoch from '2026-06-18 23:27: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'), 46708, 'SRID=4674;POINT (-40.128261 -2.780091)', '2026-06-18 23:27:36', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128322 -2.780221)'), GeomFromEWKT('SRID=4674;POINT (-40.128261 -2.780091)'))) / (select extract(epoch from '2026-06-18 23:27:36'::timestamp) - extract(epoch from '2026-06-18 23:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128322 -2.780221)'), GeomFromEWKT('SRID=4674;POINT (-40.128261 -2.780091)'))) / (select extract(epoch from '2026-06-18 23:27:36'::timestamp) - extract(epoch from '2026-06-18 23:27: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'), 46708, 'SRID=4674;POINT (-40.128208 -2.779992)', '2026-06-18 23:27:43', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128261 -2.780091)'), GeomFromEWKT('SRID=4674;POINT (-40.128208 -2.779992)'))) / (select extract(epoch from '2026-06-18 23:27:43'::timestamp) - extract(epoch from '2026-06-18 23:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128261 -2.780091)'), GeomFromEWKT('SRID=4674;POINT (-40.128208 -2.779992)'))) / (select extract(epoch from '2026-06-18 23:27:43'::timestamp) - extract(epoch from '2026-06-18 23:27:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.12818 -2.779897)', '2026-06-18 23:27:50', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128208 -2.779992)'), GeomFromEWKT('SRID=4674;POINT (-40.12818 -2.779897)'))) / (select extract(epoch from '2026-06-18 23:27:50'::timestamp) - extract(epoch from '2026-06-18 23:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128208 -2.779992)'), GeomFromEWKT('SRID=4674;POINT (-40.12818 -2.779897)'))) / (select extract(epoch from '2026-06-18 23:27:50'::timestamp) - extract(epoch from '2026-06-18 23:27: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'), 46708, 'SRID=4674;POINT (-40.128136 -2.779767)', '2026-06-18 23:27:58', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12818 -2.779897)'), GeomFromEWKT('SRID=4674;POINT (-40.128136 -2.779767)'))) / (select extract(epoch from '2026-06-18 23:27:58'::timestamp) - extract(epoch from '2026-06-18 23:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12818 -2.779897)'), GeomFromEWKT('SRID=4674;POINT (-40.128136 -2.779767)'))) / (select extract(epoch from '2026-06-18 23:27:58'::timestamp) - extract(epoch from '2026-06-18 23:27: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'), 46708, 'SRID=4674;POINT (-40.128103 -2.779608)', '2026-06-18 23:28:07', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128136 -2.779767)'), GeomFromEWKT('SRID=4674;POINT (-40.128103 -2.779608)'))) / (select extract(epoch from '2026-06-18 23:28:07'::timestamp) - extract(epoch from '2026-06-18 23:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128136 -2.779767)'), GeomFromEWKT('SRID=4674;POINT (-40.128103 -2.779608)'))) / (select extract(epoch from '2026-06-18 23:28:07'::timestamp) - extract(epoch from '2026-06-18 23:27: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'), 46708, 'SRID=4674;POINT (-40.128068 -2.779463)', '2026-06-18 23:28:15', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128103 -2.779608)'), GeomFromEWKT('SRID=4674;POINT (-40.128068 -2.779463)'))) / (select extract(epoch from '2026-06-18 23:28:15'::timestamp) - extract(epoch from '2026-06-18 23:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128103 -2.779608)'), GeomFromEWKT('SRID=4674;POINT (-40.128068 -2.779463)'))) / (select extract(epoch from '2026-06-18 23:28:15'::timestamp) - extract(epoch from '2026-06-18 23:28:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.12804 -2.779336)', '2026-06-18 23:28:22', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128068 -2.779463)'), GeomFromEWKT('SRID=4674;POINT (-40.12804 -2.779336)'))) / (select extract(epoch from '2026-06-18 23:28:22'::timestamp) - extract(epoch from '2026-06-18 23:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128068 -2.779463)'), GeomFromEWKT('SRID=4674;POINT (-40.12804 -2.779336)'))) / (select extract(epoch from '2026-06-18 23:28:22'::timestamp) - extract(epoch from '2026-06-18 23:28: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'), 46708, 'SRID=4674;POINT (-40.127997 -2.77922)', '2026-06-18 23:28:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12804 -2.779336)'), GeomFromEWKT('SRID=4674;POINT (-40.127997 -2.77922)'))) / (select extract(epoch from '2026-06-18 23:28:29'::timestamp) - extract(epoch from '2026-06-18 23:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12804 -2.779336)'), GeomFromEWKT('SRID=4674;POINT (-40.127997 -2.77922)'))) / (select extract(epoch from '2026-06-18 23:28:29'::timestamp) - extract(epoch from '2026-06-18 23:28:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.127928 -2.779096)', '2026-06-18 23:28:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127997 -2.77922)'), GeomFromEWKT('SRID=4674;POINT (-40.127928 -2.779096)'))) / (select extract(epoch from '2026-06-18 23:28:37'::timestamp) - extract(epoch from '2026-06-18 23:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127997 -2.77922)'), GeomFromEWKT('SRID=4674;POINT (-40.127928 -2.779096)'))) / (select extract(epoch from '2026-06-18 23:28:37'::timestamp) - extract(epoch from '2026-06-18 23:28: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'), 46708, 'SRID=4674;POINT (-40.127883 -2.778968)', '2026-06-18 23:28:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127928 -2.779096)'), GeomFromEWKT('SRID=4674;POINT (-40.127883 -2.778968)'))) / (select extract(epoch from '2026-06-18 23:28:44'::timestamp) - extract(epoch from '2026-06-18 23:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127928 -2.779096)'), GeomFromEWKT('SRID=4674;POINT (-40.127883 -2.778968)'))) / (select extract(epoch from '2026-06-18 23:28:44'::timestamp) - extract(epoch from '2026-06-18 23:28: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'), 46708, 'SRID=4674;POINT (-40.127872 -2.778823)', '2026-06-18 23:28:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127883 -2.778968)'), GeomFromEWKT('SRID=4674;POINT (-40.127872 -2.778823)'))) / (select extract(epoch from '2026-06-18 23:28:51'::timestamp) - extract(epoch from '2026-06-18 23:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127883 -2.778968)'), GeomFromEWKT('SRID=4674;POINT (-40.127872 -2.778823)'))) / (select extract(epoch from '2026-06-18 23:28:51'::timestamp) - extract(epoch from '2026-06-18 23:28:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.127823 -2.7787)', '2026-06-18 23:28:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127872 -2.778823)'), GeomFromEWKT('SRID=4674;POINT (-40.127823 -2.7787)'))) / (select extract(epoch from '2026-06-18 23:28:58'::timestamp) - extract(epoch from '2026-06-18 23:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127872 -2.778823)'), GeomFromEWKT('SRID=4674;POINT (-40.127823 -2.7787)'))) / (select extract(epoch from '2026-06-18 23:28:58'::timestamp) - extract(epoch from '2026-06-18 23:28: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'), 46708, 'SRID=4674;POINT (-40.127759 -2.778572)', '2026-06-18 23:29:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127823 -2.7787)'), GeomFromEWKT('SRID=4674;POINT (-40.127759 -2.778572)'))) / (select extract(epoch from '2026-06-18 23:29:06'::timestamp) - extract(epoch from '2026-06-18 23:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127823 -2.7787)'), GeomFromEWKT('SRID=4674;POINT (-40.127759 -2.778572)'))) / (select extract(epoch from '2026-06-18 23:29:06'::timestamp) - extract(epoch from '2026-06-18 23:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.127695 -2.778465)', '2026-06-18 23:29:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127759 -2.778572)'), GeomFromEWKT('SRID=4674;POINT (-40.127695 -2.778465)'))) / (select extract(epoch from '2026-06-18 23:29:13'::timestamp) - extract(epoch from '2026-06-18 23:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127759 -2.778572)'), GeomFromEWKT('SRID=4674;POINT (-40.127695 -2.778465)'))) / (select extract(epoch from '2026-06-18 23:29:13'::timestamp) - extract(epoch from '2026-06-18 23:29: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'), 46708, 'SRID=4674;POINT (-40.127587 -2.778325)', '2026-06-18 23:29:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127695 -2.778465)'), GeomFromEWKT('SRID=4674;POINT (-40.127587 -2.778325)'))) / (select extract(epoch from '2026-06-18 23:29:22'::timestamp) - extract(epoch from '2026-06-18 23:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127695 -2.778465)'), GeomFromEWKT('SRID=4674;POINT (-40.127587 -2.778325)'))) / (select extract(epoch from '2026-06-18 23:29:22'::timestamp) - extract(epoch from '2026-06-18 23:29:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.127488 -2.77821)', '2026-06-18 23:29:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127587 -2.778325)'), GeomFromEWKT('SRID=4674;POINT (-40.127488 -2.77821)'))) / (select extract(epoch from '2026-06-18 23:29:30'::timestamp) - extract(epoch from '2026-06-18 23:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127587 -2.778325)'), GeomFromEWKT('SRID=4674;POINT (-40.127488 -2.77821)'))) / (select extract(epoch from '2026-06-18 23:29:30'::timestamp) - extract(epoch from '2026-06-18 23:29: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'), 46708, 'SRID=4674;POINT (-40.127416 -2.77806)', '2026-06-18 23:29:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127488 -2.77821)'), GeomFromEWKT('SRID=4674;POINT (-40.127416 -2.77806)'))) / (select extract(epoch from '2026-06-18 23:29:39'::timestamp) - extract(epoch from '2026-06-18 23:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127488 -2.77821)'), GeomFromEWKT('SRID=4674;POINT (-40.127416 -2.77806)'))) / (select extract(epoch from '2026-06-18 23:29:39'::timestamp) - extract(epoch from '2026-06-18 23:29:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.127362 -2.777898)', '2026-06-18 23:29:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127416 -2.77806)'), GeomFromEWKT('SRID=4674;POINT (-40.127362 -2.777898)'))) / (select extract(epoch from '2026-06-18 23:29:48'::timestamp) - extract(epoch from '2026-06-18 23:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127416 -2.77806)'), GeomFromEWKT('SRID=4674;POINT (-40.127362 -2.777898)'))) / (select extract(epoch from '2026-06-18 23:29:48'::timestamp) - extract(epoch from '2026-06-18 23:29: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'), 46708, 'SRID=4674;POINT (-40.127289 -2.777766)', '2026-06-18 23:29:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127362 -2.777898)'), GeomFromEWKT('SRID=4674;POINT (-40.127289 -2.777766)'))) / (select extract(epoch from '2026-06-18 23:29:56'::timestamp) - extract(epoch from '2026-06-18 23:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127362 -2.777898)'), GeomFromEWKT('SRID=4674;POINT (-40.127289 -2.777766)'))) / (select extract(epoch from '2026-06-18 23:29:56'::timestamp) - extract(epoch from '2026-06-18 23:29: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'), 46708, 'SRID=4674;POINT (-40.127212 -2.777627)', '2026-06-18 23:30:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127289 -2.777766)'), GeomFromEWKT('SRID=4674;POINT (-40.127212 -2.777627)'))) / (select extract(epoch from '2026-06-18 23:30:04'::timestamp) - extract(epoch from '2026-06-18 23:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127289 -2.777766)'), GeomFromEWKT('SRID=4674;POINT (-40.127212 -2.777627)'))) / (select extract(epoch from '2026-06-18 23:30:04'::timestamp) - extract(epoch from '2026-06-18 23:29: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'), 46708, 'SRID=4674;POINT (-40.127157 -2.777451)', '2026-06-18 23:30:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127212 -2.777627)'), GeomFromEWKT('SRID=4674;POINT (-40.127157 -2.777451)'))) / (select extract(epoch from '2026-06-18 23:30:13'::timestamp) - extract(epoch from '2026-06-18 23:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127212 -2.777627)'), GeomFromEWKT('SRID=4674;POINT (-40.127157 -2.777451)'))) / (select extract(epoch from '2026-06-18 23:30:13'::timestamp) - extract(epoch from '2026-06-18 23:30: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'), 46708, 'SRID=4674;POINT (-40.127088 -2.777336)', '2026-06-18 23:30:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127157 -2.777451)'), GeomFromEWKT('SRID=4674;POINT (-40.127088 -2.777336)'))) / (select extract(epoch from '2026-06-18 23:30:20'::timestamp) - extract(epoch from '2026-06-18 23:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127157 -2.777451)'), GeomFromEWKT('SRID=4674;POINT (-40.127088 -2.777336)'))) / (select extract(epoch from '2026-06-18 23:30:20'::timestamp) - extract(epoch from '2026-06-18 23:30:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.126982 -2.777206)', '2026-06-18 23:30:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127088 -2.777336)'), GeomFromEWKT('SRID=4674;POINT (-40.126982 -2.777206)'))) / (select extract(epoch from '2026-06-18 23:30:29'::timestamp) - extract(epoch from '2026-06-18 23:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127088 -2.777336)'), GeomFromEWKT('SRID=4674;POINT (-40.126982 -2.777206)'))) / (select extract(epoch from '2026-06-18 23:30:29'::timestamp) - extract(epoch from '2026-06-18 23:30:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.126946 -2.777117)', '2026-06-18 23:30:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126982 -2.777206)'), GeomFromEWKT('SRID=4674;POINT (-40.126946 -2.777117)'))) / (select extract(epoch from '2026-06-18 23:30:36'::timestamp) - extract(epoch from '2026-06-18 23:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126982 -2.777206)'), GeomFromEWKT('SRID=4674;POINT (-40.126946 -2.777117)'))) / (select extract(epoch from '2026-06-18 23:30:36'::timestamp) - extract(epoch from '2026-06-18 23:30:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.126913 -2.777)', '2026-06-18 23:30:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126946 -2.777117)'), GeomFromEWKT('SRID=4674;POINT (-40.126913 -2.777)'))) / (select extract(epoch from '2026-06-18 23:30:43'::timestamp) - extract(epoch from '2026-06-18 23:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126946 -2.777117)'), GeomFromEWKT('SRID=4674;POINT (-40.126913 -2.777)'))) / (select extract(epoch from '2026-06-18 23:30:43'::timestamp) - extract(epoch from '2026-06-18 23:30: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'), 46708, 'SRID=4674;POINT (-40.126844 -2.77686)', '2026-06-18 23:30:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126913 -2.777)'), GeomFromEWKT('SRID=4674;POINT (-40.126844 -2.77686)'))) / (select extract(epoch from '2026-06-18 23:30:51'::timestamp) - extract(epoch from '2026-06-18 23:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126913 -2.777)'), GeomFromEWKT('SRID=4674;POINT (-40.126844 -2.77686)'))) / (select extract(epoch from '2026-06-18 23:30:51'::timestamp) - extract(epoch from '2026-06-18 23:30: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'), 46708, 'SRID=4674;POINT (-40.126801 -2.776766)', '2026-06-18 23:30:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126844 -2.77686)'), GeomFromEWKT('SRID=4674;POINT (-40.126801 -2.776766)'))) / (select extract(epoch from '2026-06-18 23:30:57'::timestamp) - extract(epoch from '2026-06-18 23:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126844 -2.77686)'), GeomFromEWKT('SRID=4674;POINT (-40.126801 -2.776766)'))) / (select extract(epoch from '2026-06-18 23:30:57'::timestamp) - extract(epoch from '2026-06-18 23:30:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.126736 -2.776651)', '2026-06-18 23:31:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126801 -2.776766)'), GeomFromEWKT('SRID=4674;POINT (-40.126736 -2.776651)'))) / (select extract(epoch from '2026-06-18 23:31:05'::timestamp) - extract(epoch from '2026-06-18 23:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126801 -2.776766)'), GeomFromEWKT('SRID=4674;POINT (-40.126736 -2.776651)'))) / (select extract(epoch from '2026-06-18 23:31:05'::timestamp) - extract(epoch from '2026-06-18 23:30:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.126647 -2.776533)', '2026-06-18 23:31:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126736 -2.776651)'), GeomFromEWKT('SRID=4674;POINT (-40.126647 -2.776533)'))) / (select extract(epoch from '2026-06-18 23:31:13'::timestamp) - extract(epoch from '2026-06-18 23:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126736 -2.776651)'), GeomFromEWKT('SRID=4674;POINT (-40.126647 -2.776533)'))) / (select extract(epoch from '2026-06-18 23:31:13'::timestamp) - extract(epoch from '2026-06-18 23:31:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.12661 -2.776392)', '2026-06-18 23:31:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126647 -2.776533)'), GeomFromEWKT('SRID=4674;POINT (-40.12661 -2.776392)'))) / (select extract(epoch from '2026-06-18 23:31:20'::timestamp) - extract(epoch from '2026-06-18 23:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126647 -2.776533)'), GeomFromEWKT('SRID=4674;POINT (-40.12661 -2.776392)'))) / (select extract(epoch from '2026-06-18 23:31:20'::timestamp) - extract(epoch from '2026-06-18 23:31:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.126606 -2.776233)', '2026-06-18 23:31:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12661 -2.776392)'), GeomFromEWKT('SRID=4674;POINT (-40.126606 -2.776233)'))) / (select extract(epoch from '2026-06-18 23:31:28'::timestamp) - extract(epoch from '2026-06-18 23:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12661 -2.776392)'), GeomFromEWKT('SRID=4674;POINT (-40.126606 -2.776233)'))) / (select extract(epoch from '2026-06-18 23:31:28'::timestamp) - extract(epoch from '2026-06-18 23:31:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.12655 -2.776083)', '2026-06-18 23:31:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126606 -2.776233)'), GeomFromEWKT('SRID=4674;POINT (-40.12655 -2.776083)'))) / (select extract(epoch from '2026-06-18 23:31:36'::timestamp) - extract(epoch from '2026-06-18 23:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126606 -2.776233)'), GeomFromEWKT('SRID=4674;POINT (-40.12655 -2.776083)'))) / (select extract(epoch from '2026-06-18 23:31:36'::timestamp) - extract(epoch from '2026-06-18 23:31: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'), 46708, 'SRID=4674;POINT (-40.126496 -2.775939)', '2026-06-18 23:31:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12655 -2.776083)'), GeomFromEWKT('SRID=4674;POINT (-40.126496 -2.775939)'))) / (select extract(epoch from '2026-06-18 23:31:44'::timestamp) - extract(epoch from '2026-06-18 23:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12655 -2.776083)'), GeomFromEWKT('SRID=4674;POINT (-40.126496 -2.775939)'))) / (select extract(epoch from '2026-06-18 23:31:44'::timestamp) - extract(epoch from '2026-06-18 23:31: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'), 46708, 'SRID=4674;POINT (-40.126428 -2.775747)', '2026-06-18 23:31:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126496 -2.775939)'), GeomFromEWKT('SRID=4674;POINT (-40.126428 -2.775747)'))) / (select extract(epoch from '2026-06-18 23:31:54'::timestamp) - extract(epoch from '2026-06-18 23:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126496 -2.775939)'), GeomFromEWKT('SRID=4674;POINT (-40.126428 -2.775747)'))) / (select extract(epoch from '2026-06-18 23:31:54'::timestamp) - extract(epoch from '2026-06-18 23:31: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'), 46708, 'SRID=4674;POINT (-40.12637 -2.775592)', '2026-06-18 23:32:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126428 -2.775747)'), GeomFromEWKT('SRID=4674;POINT (-40.12637 -2.775592)'))) / (select extract(epoch from '2026-06-18 23:32:02'::timestamp) - extract(epoch from '2026-06-18 23:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126428 -2.775747)'), GeomFromEWKT('SRID=4674;POINT (-40.12637 -2.775592)'))) / (select extract(epoch from '2026-06-18 23:32:02'::timestamp) - extract(epoch from '2026-06-18 23:31: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'), 46708, 'SRID=4674;POINT (-40.126313 -2.775413)', '2026-06-18 23:32:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12637 -2.775592)'), GeomFromEWKT('SRID=4674;POINT (-40.126313 -2.775413)'))) / (select extract(epoch from '2026-06-18 23:32:11'::timestamp) - extract(epoch from '2026-06-18 23:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12637 -2.775592)'), GeomFromEWKT('SRID=4674;POINT (-40.126313 -2.775413)'))) / (select extract(epoch from '2026-06-18 23:32:11'::timestamp) - extract(epoch from '2026-06-18 23:32: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'), 46708, 'SRID=4674;POINT (-40.126264 -2.775284)', '2026-06-18 23:32:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126313 -2.775413)'), GeomFromEWKT('SRID=4674;POINT (-40.126264 -2.775284)'))) / (select extract(epoch from '2026-06-18 23:32:19'::timestamp) - extract(epoch from '2026-06-18 23:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126313 -2.775413)'), GeomFromEWKT('SRID=4674;POINT (-40.126264 -2.775284)'))) / (select extract(epoch from '2026-06-18 23:32:19'::timestamp) - extract(epoch from '2026-06-18 23:32: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'), 46708, 'SRID=4674;POINT (-40.126231 -2.775203)', '2026-06-18 23:32:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126264 -2.775284)'), GeomFromEWKT('SRID=4674;POINT (-40.126231 -2.775203)'))) / (select extract(epoch from '2026-06-18 23:32:25'::timestamp) - extract(epoch from '2026-06-18 23:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126264 -2.775284)'), GeomFromEWKT('SRID=4674;POINT (-40.126231 -2.775203)'))) / (select extract(epoch from '2026-06-18 23:32:25'::timestamp) - extract(epoch from '2026-06-18 23:32: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'), 46708, 'SRID=4674;POINT (-40.126172 -2.775066)', '2026-06-18 23:32:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126231 -2.775203)'), GeomFromEWKT('SRID=4674;POINT (-40.126172 -2.775066)'))) / (select extract(epoch from '2026-06-18 23:32:33'::timestamp) - extract(epoch from '2026-06-18 23:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126231 -2.775203)'), GeomFromEWKT('SRID=4674;POINT (-40.126172 -2.775066)'))) / (select extract(epoch from '2026-06-18 23:32:33'::timestamp) - extract(epoch from '2026-06-18 23:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.126131 -2.774901)', '2026-06-18 23:32:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126172 -2.775066)'), GeomFromEWKT('SRID=4674;POINT (-40.126131 -2.774901)'))) / (select extract(epoch from '2026-06-18 23:32:41'::timestamp) - extract(epoch from '2026-06-18 23:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126172 -2.775066)'), GeomFromEWKT('SRID=4674;POINT (-40.126131 -2.774901)'))) / (select extract(epoch from '2026-06-18 23:32:41'::timestamp) - extract(epoch from '2026-06-18 23:32: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'), 46708, 'SRID=4674;POINT (-40.126085 -2.774785)', '2026-06-18 23:32:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126131 -2.774901)'), GeomFromEWKT('SRID=4674;POINT (-40.126085 -2.774785)'))) / (select extract(epoch from '2026-06-18 23:32:48'::timestamp) - extract(epoch from '2026-06-18 23:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126131 -2.774901)'), GeomFromEWKT('SRID=4674;POINT (-40.126085 -2.774785)'))) / (select extract(epoch from '2026-06-18 23:32:48'::timestamp) - extract(epoch from '2026-06-18 23:32: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'), 46708, 'SRID=4674;POINT (-40.126026 -2.774654)', '2026-06-18 23:32:56', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126085 -2.774785)'), GeomFromEWKT('SRID=4674;POINT (-40.126026 -2.774654)'))) / (select extract(epoch from '2026-06-18 23:32:56'::timestamp) - extract(epoch from '2026-06-18 23:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126085 -2.774785)'), GeomFromEWKT('SRID=4674;POINT (-40.126026 -2.774654)'))) / (select extract(epoch from '2026-06-18 23:32:56'::timestamp) - extract(epoch from '2026-06-18 23:32: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'), 46708, 'SRID=4674;POINT (-40.125939 -2.774492)', '2026-06-18 23:33:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126026 -2.774654)'), GeomFromEWKT('SRID=4674;POINT (-40.125939 -2.774492)'))) / (select extract(epoch from '2026-06-18 23:33:05'::timestamp) - extract(epoch from '2026-06-18 23:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126026 -2.774654)'), GeomFromEWKT('SRID=4674;POINT (-40.125939 -2.774492)'))) / (select extract(epoch from '2026-06-18 23:33:05'::timestamp) - extract(epoch from '2026-06-18 23:32:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.125834 -2.774384)', '2026-06-18 23:33:13', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125939 -2.774492)'), GeomFromEWKT('SRID=4674;POINT (-40.125834 -2.774384)'))) / (select extract(epoch from '2026-06-18 23:33:13'::timestamp) - extract(epoch from '2026-06-18 23:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125939 -2.774492)'), GeomFromEWKT('SRID=4674;POINT (-40.125834 -2.774384)'))) / (select extract(epoch from '2026-06-18 23:33:13'::timestamp) - extract(epoch from '2026-06-18 23:33: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'), 46708, 'SRID=4674;POINT (-40.125787 -2.77428)', '2026-06-18 23:33:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125834 -2.774384)'), GeomFromEWKT('SRID=4674;POINT (-40.125787 -2.77428)'))) / (select extract(epoch from '2026-06-18 23:33:19'::timestamp) - extract(epoch from '2026-06-18 23:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125834 -2.774384)'), GeomFromEWKT('SRID=4674;POINT (-40.125787 -2.77428)'))) / (select extract(epoch from '2026-06-18 23:33:19'::timestamp) - extract(epoch from '2026-06-18 23:33:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.125752 -2.774111)', '2026-06-18 23:33:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125787 -2.77428)'), GeomFromEWKT('SRID=4674;POINT (-40.125752 -2.774111)'))) / (select extract(epoch from '2026-06-18 23:33:27'::timestamp) - extract(epoch from '2026-06-18 23:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125787 -2.77428)'), GeomFromEWKT('SRID=4674;POINT (-40.125752 -2.774111)'))) / (select extract(epoch from '2026-06-18 23:33:27'::timestamp) - extract(epoch from '2026-06-18 23:33:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.125704 -2.77398)', '2026-06-18 23:33:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125752 -2.774111)'), GeomFromEWKT('SRID=4674;POINT (-40.125704 -2.77398)'))) / (select extract(epoch from '2026-06-18 23:33:34'::timestamp) - extract(epoch from '2026-06-18 23:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125752 -2.774111)'), GeomFromEWKT('SRID=4674;POINT (-40.125704 -2.77398)'))) / (select extract(epoch from '2026-06-18 23:33:34'::timestamp) - extract(epoch from '2026-06-18 23:33: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'), 46708, 'SRID=4674;POINT (-40.125615 -2.773818)', '2026-06-18 23:33:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125704 -2.77398)'), GeomFromEWKT('SRID=4674;POINT (-40.125615 -2.773818)'))) / (select extract(epoch from '2026-06-18 23:33:43'::timestamp) - extract(epoch from '2026-06-18 23:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125704 -2.77398)'), GeomFromEWKT('SRID=4674;POINT (-40.125615 -2.773818)'))) / (select extract(epoch from '2026-06-18 23:33:43'::timestamp) - extract(epoch from '2026-06-18 23:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.125582 -2.773678)', '2026-06-18 23:33:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125615 -2.773818)'), GeomFromEWKT('SRID=4674;POINT (-40.125582 -2.773678)'))) / (select extract(epoch from '2026-06-18 23:33:50'::timestamp) - extract(epoch from '2026-06-18 23:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125615 -2.773818)'), GeomFromEWKT('SRID=4674;POINT (-40.125582 -2.773678)'))) / (select extract(epoch from '2026-06-18 23:33:50'::timestamp) - extract(epoch from '2026-06-18 23:33: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'), 46708, 'SRID=4674;POINT (-40.125561 -2.773561)', '2026-06-18 23:33:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125582 -2.773678)'), GeomFromEWKT('SRID=4674;POINT (-40.125561 -2.773561)'))) / (select extract(epoch from '2026-06-18 23:33:56'::timestamp) - extract(epoch from '2026-06-18 23:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125582 -2.773678)'), GeomFromEWKT('SRID=4674;POINT (-40.125561 -2.773561)'))) / (select extract(epoch from '2026-06-18 23:33:56'::timestamp) - extract(epoch from '2026-06-18 23:33: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'), 46708, 'SRID=4674;POINT (-40.125524 -2.773459)', '2026-06-18 23:34:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125561 -2.773561)'), GeomFromEWKT('SRID=4674;POINT (-40.125524 -2.773459)'))) / (select extract(epoch from '2026-06-18 23:34:02'::timestamp) - extract(epoch from '2026-06-18 23:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125561 -2.773561)'), GeomFromEWKT('SRID=4674;POINT (-40.125524 -2.773459)'))) / (select extract(epoch from '2026-06-18 23:34:02'::timestamp) - extract(epoch from '2026-06-18 23:33: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'), 46708, 'SRID=4674;POINT (-40.125454 -2.773315)', '2026-06-18 23:34:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125524 -2.773459)'), GeomFromEWKT('SRID=4674;POINT (-40.125454 -2.773315)'))) / (select extract(epoch from '2026-06-18 23:34:10'::timestamp) - extract(epoch from '2026-06-18 23:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125524 -2.773459)'), GeomFromEWKT('SRID=4674;POINT (-40.125454 -2.773315)'))) / (select extract(epoch from '2026-06-18 23:34:10'::timestamp) - extract(epoch from '2026-06-18 23:34: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'), 46708, 'SRID=4674;POINT (-40.125379 -2.773177)', '2026-06-18 23:34:18', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125454 -2.773315)'), GeomFromEWKT('SRID=4674;POINT (-40.125379 -2.773177)'))) / (select extract(epoch from '2026-06-18 23:34:18'::timestamp) - extract(epoch from '2026-06-18 23:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125454 -2.773315)'), GeomFromEWKT('SRID=4674;POINT (-40.125379 -2.773177)'))) / (select extract(epoch from '2026-06-18 23:34:18'::timestamp) - extract(epoch from '2026-06-18 23:34:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.125325 -2.773026)', '2026-06-18 23:34:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125379 -2.773177)'), GeomFromEWKT('SRID=4674;POINT (-40.125325 -2.773026)'))) / (select extract(epoch from '2026-06-18 23:34:26'::timestamp) - extract(epoch from '2026-06-18 23:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125379 -2.773177)'), GeomFromEWKT('SRID=4674;POINT (-40.125325 -2.773026)'))) / (select extract(epoch from '2026-06-18 23:34:26'::timestamp) - extract(epoch from '2026-06-18 23:34:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.125237 -2.772911)', '2026-06-18 23:34:34', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125325 -2.773026)'), GeomFromEWKT('SRID=4674;POINT (-40.125237 -2.772911)'))) / (select extract(epoch from '2026-06-18 23:34:34'::timestamp) - extract(epoch from '2026-06-18 23:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125325 -2.773026)'), GeomFromEWKT('SRID=4674;POINT (-40.125237 -2.772911)'))) / (select extract(epoch from '2026-06-18 23:34:34'::timestamp) - extract(epoch from '2026-06-18 23:34: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'), 46708, 'SRID=4674;POINT (-40.125172 -2.772782)', '2026-06-18 23:34:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125237 -2.772911)'), GeomFromEWKT('SRID=4674;POINT (-40.125172 -2.772782)'))) / (select extract(epoch from '2026-06-18 23:34:42'::timestamp) - extract(epoch from '2026-06-18 23:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125237 -2.772911)'), GeomFromEWKT('SRID=4674;POINT (-40.125172 -2.772782)'))) / (select extract(epoch from '2026-06-18 23:34:42'::timestamp) - extract(epoch from '2026-06-18 23:34: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'), 46708, 'SRID=4674;POINT (-40.125129 -2.772636)', '2026-06-18 23:34:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125172 -2.772782)'), GeomFromEWKT('SRID=4674;POINT (-40.125129 -2.772636)'))) / (select extract(epoch from '2026-06-18 23:34:49'::timestamp) - extract(epoch from '2026-06-18 23:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125172 -2.772782)'), GeomFromEWKT('SRID=4674;POINT (-40.125129 -2.772636)'))) / (select extract(epoch from '2026-06-18 23:34:49'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.125059 -2.772507)', '2026-06-18 23:34:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125129 -2.772636)'), GeomFromEWKT('SRID=4674;POINT (-40.125059 -2.772507)'))) / (select extract(epoch from '2026-06-18 23:34:57'::timestamp) - extract(epoch from '2026-06-18 23:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125129 -2.772636)'), GeomFromEWKT('SRID=4674;POINT (-40.125059 -2.772507)'))) / (select extract(epoch from '2026-06-18 23:34:57'::timestamp) - extract(epoch from '2026-06-18 23:34:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.124994 -2.772412)', '2026-06-18 23:35:03', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125059 -2.772507)'), GeomFromEWKT('SRID=4674;POINT (-40.124994 -2.772412)'))) / (select extract(epoch from '2026-06-18 23:35:03'::timestamp) - extract(epoch from '2026-06-18 23:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125059 -2.772507)'), GeomFromEWKT('SRID=4674;POINT (-40.124994 -2.772412)'))) / (select extract(epoch from '2026-06-18 23:35:03'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.124923 -2.772282)', '2026-06-18 23:35:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124994 -2.772412)'), GeomFromEWKT('SRID=4674;POINT (-40.124923 -2.772282)'))) / (select extract(epoch from '2026-06-18 23:35:11'::timestamp) - extract(epoch from '2026-06-18 23:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124994 -2.772412)'), GeomFromEWKT('SRID=4674;POINT (-40.124923 -2.772282)'))) / (select extract(epoch from '2026-06-18 23:35:11'::timestamp) - extract(epoch from '2026-06-18 23:35:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.124882 -2.772147)', '2026-06-18 23:35:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124923 -2.772282)'), GeomFromEWKT('SRID=4674;POINT (-40.124882 -2.772147)'))) / (select extract(epoch from '2026-06-18 23:35:18'::timestamp) - extract(epoch from '2026-06-18 23:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124923 -2.772282)'), GeomFromEWKT('SRID=4674;POINT (-40.124882 -2.772147)'))) / (select extract(epoch from '2026-06-18 23:35:18'::timestamp) - extract(epoch from '2026-06-18 23:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.124839 -2.772024)', '2026-06-18 23:35:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124882 -2.772147)'), GeomFromEWKT('SRID=4674;POINT (-40.124839 -2.772024)'))) / (select extract(epoch from '2026-06-18 23:35:25'::timestamp) - extract(epoch from '2026-06-18 23:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124882 -2.772147)'), GeomFromEWKT('SRID=4674;POINT (-40.124839 -2.772024)'))) / (select extract(epoch from '2026-06-18 23:35:25'::timestamp) - extract(epoch from '2026-06-18 23:35: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'), 46708, 'SRID=4674;POINT (-40.124767 -2.771859)', '2026-06-18 23:35:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124839 -2.772024)'), GeomFromEWKT('SRID=4674;POINT (-40.124767 -2.771859)'))) / (select extract(epoch from '2026-06-18 23:35:34'::timestamp) - extract(epoch from '2026-06-18 23:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124839 -2.772024)'), GeomFromEWKT('SRID=4674;POINT (-40.124767 -2.771859)'))) / (select extract(epoch from '2026-06-18 23:35:34'::timestamp) - extract(epoch from '2026-06-18 23:35:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.12467 -2.77173)', '2026-06-18 23:35:42', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124767 -2.771859)'), GeomFromEWKT('SRID=4674;POINT (-40.12467 -2.77173)'))) / (select extract(epoch from '2026-06-18 23:35:42'::timestamp) - extract(epoch from '2026-06-18 23:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124767 -2.771859)'), GeomFromEWKT('SRID=4674;POINT (-40.12467 -2.77173)'))) / (select extract(epoch from '2026-06-18 23:35:42'::timestamp) - extract(epoch from '2026-06-18 23:35:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.124586 -2.771658)', '2026-06-18 23:35:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12467 -2.77173)'), GeomFromEWKT('SRID=4674;POINT (-40.124586 -2.771658)'))) / (select extract(epoch from '2026-06-18 23:35:49'::timestamp) - extract(epoch from '2026-06-18 23:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12467 -2.77173)'), GeomFromEWKT('SRID=4674;POINT (-40.124586 -2.771658)'))) / (select extract(epoch from '2026-06-18 23:35:49'::timestamp) - extract(epoch from '2026-06-18 23:35:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.124553 -2.771579)', '2026-06-18 23:35:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124586 -2.771658)'), GeomFromEWKT('SRID=4674;POINT (-40.124553 -2.771579)'))) / (select extract(epoch from '2026-06-18 23:35:56'::timestamp) - extract(epoch from '2026-06-18 23:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124586 -2.771658)'), GeomFromEWKT('SRID=4674;POINT (-40.124553 -2.771579)'))) / (select extract(epoch from '2026-06-18 23:35:56'::timestamp) - extract(epoch from '2026-06-18 23:35:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.124531 -2.771456)', '2026-06-18 23:36:03', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124553 -2.771579)'), GeomFromEWKT('SRID=4674;POINT (-40.124531 -2.771456)'))) / (select extract(epoch from '2026-06-18 23:36:03'::timestamp) - extract(epoch from '2026-06-18 23:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124553 -2.771579)'), GeomFromEWKT('SRID=4674;POINT (-40.124531 -2.771456)'))) / (select extract(epoch from '2026-06-18 23:36:03'::timestamp) - extract(epoch from '2026-06-18 23:35:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.124485 -2.771322)', '2026-06-18 23:36:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124531 -2.771456)'), GeomFromEWKT('SRID=4674;POINT (-40.124485 -2.771322)'))) / (select extract(epoch from '2026-06-18 23:36:11'::timestamp) - extract(epoch from '2026-06-18 23:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124531 -2.771456)'), GeomFromEWKT('SRID=4674;POINT (-40.124485 -2.771322)'))) / (select extract(epoch from '2026-06-18 23:36:11'::timestamp) - extract(epoch from '2026-06-18 23:36:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.124425 -2.771222)', '2026-06-18 23:36:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124485 -2.771322)'), GeomFromEWKT('SRID=4674;POINT (-40.124425 -2.771222)'))) / (select extract(epoch from '2026-06-18 23:36:18'::timestamp) - extract(epoch from '2026-06-18 23:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124485 -2.771322)'), GeomFromEWKT('SRID=4674;POINT (-40.124425 -2.771222)'))) / (select extract(epoch from '2026-06-18 23:36:18'::timestamp) - extract(epoch from '2026-06-18 23:36: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'), 46708, 'SRID=4674;POINT (-40.124394 -2.771133)', '2026-06-18 23:36:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124425 -2.771222)'), GeomFromEWKT('SRID=4674;POINT (-40.124394 -2.771133)'))) / (select extract(epoch from '2026-06-18 23:36:24'::timestamp) - extract(epoch from '2026-06-18 23:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124425 -2.771222)'), GeomFromEWKT('SRID=4674;POINT (-40.124394 -2.771133)'))) / (select extract(epoch from '2026-06-18 23:36:24'::timestamp) - extract(epoch from '2026-06-18 23:36: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'), 46708, 'SRID=4674;POINT (-40.124379 -2.771002)', '2026-06-18 23:36:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124394 -2.771133)'), GeomFromEWKT('SRID=4674;POINT (-40.124379 -2.771002)'))) / (select extract(epoch from '2026-06-18 23:36:31'::timestamp) - extract(epoch from '2026-06-18 23:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124394 -2.771133)'), GeomFromEWKT('SRID=4674;POINT (-40.124379 -2.771002)'))) / (select extract(epoch from '2026-06-18 23:36:31'::timestamp) - extract(epoch from '2026-06-18 23:36: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'), 46708, 'SRID=4674;POINT (-40.12436 -2.77081)', '2026-06-18 23:36:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124379 -2.771002)'), GeomFromEWKT('SRID=4674;POINT (-40.12436 -2.77081)'))) / (select extract(epoch from '2026-06-18 23:36:40'::timestamp) - extract(epoch from '2026-06-18 23:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124379 -2.771002)'), GeomFromEWKT('SRID=4674;POINT (-40.12436 -2.77081)'))) / (select extract(epoch from '2026-06-18 23:36:40'::timestamp) - extract(epoch from '2026-06-18 23:36:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.124318 -2.770704)', '2026-06-18 23:36:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12436 -2.77081)'), GeomFromEWKT('SRID=4674;POINT (-40.124318 -2.770704)'))) / (select extract(epoch from '2026-06-18 23:36:46'::timestamp) - extract(epoch from '2026-06-18 23:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12436 -2.77081)'), GeomFromEWKT('SRID=4674;POINT (-40.124318 -2.770704)'))) / (select extract(epoch from '2026-06-18 23:36:46'::timestamp) - extract(epoch from '2026-06-18 23:36: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'), 46708, 'SRID=4674;POINT (-40.124259 -2.770544)', '2026-06-18 23:36:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124318 -2.770704)'), GeomFromEWKT('SRID=4674;POINT (-40.124259 -2.770544)'))) / (select extract(epoch from '2026-06-18 23:36:55'::timestamp) - extract(epoch from '2026-06-18 23:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124318 -2.770704)'), GeomFromEWKT('SRID=4674;POINT (-40.124259 -2.770544)'))) / (select extract(epoch from '2026-06-18 23:36:55'::timestamp) - extract(epoch from '2026-06-18 23:36:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.124209 -2.770444)', '2026-06-18 23:37:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124259 -2.770544)'), GeomFromEWKT('SRID=4674;POINT (-40.124209 -2.770444)'))) / (select extract(epoch from '2026-06-18 23:37:02'::timestamp) - extract(epoch from '2026-06-18 23:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124259 -2.770544)'), GeomFromEWKT('SRID=4674;POINT (-40.124209 -2.770444)'))) / (select extract(epoch from '2026-06-18 23:37:02'::timestamp) - extract(epoch from '2026-06-18 23:36:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.124157 -2.77035)', '2026-06-18 23:37:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124209 -2.770444)'), GeomFromEWKT('SRID=4674;POINT (-40.124157 -2.77035)'))) / (select extract(epoch from '2026-06-18 23:37:09'::timestamp) - extract(epoch from '2026-06-18 23:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124209 -2.770444)'), GeomFromEWKT('SRID=4674;POINT (-40.124157 -2.77035)'))) / (select extract(epoch from '2026-06-18 23:37:09'::timestamp) - extract(epoch from '2026-06-18 23:37: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'), 46708, 'SRID=4674;POINT (-40.12408 -2.770237)', '2026-06-18 23:37:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124157 -2.77035)'), GeomFromEWKT('SRID=4674;POINT (-40.12408 -2.770237)'))) / (select extract(epoch from '2026-06-18 23:37:17'::timestamp) - extract(epoch from '2026-06-18 23:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124157 -2.77035)'), GeomFromEWKT('SRID=4674;POINT (-40.12408 -2.770237)'))) / (select extract(epoch from '2026-06-18 23:37:17'::timestamp) - extract(epoch from '2026-06-18 23:37: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'), 46708, 'SRID=4674;POINT (-40.124023 -2.770107)', '2026-06-18 23:37:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12408 -2.770237)'), GeomFromEWKT('SRID=4674;POINT (-40.124023 -2.770107)'))) / (select extract(epoch from '2026-06-18 23:37:25'::timestamp) - extract(epoch from '2026-06-18 23:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12408 -2.770237)'), GeomFromEWKT('SRID=4674;POINT (-40.124023 -2.770107)'))) / (select extract(epoch from '2026-06-18 23:37:25'::timestamp) - extract(epoch from '2026-06-18 23:37: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'), 46708, 'SRID=4674;POINT (-40.123968 -2.769959)', '2026-06-18 23:37:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124023 -2.770107)'), GeomFromEWKT('SRID=4674;POINT (-40.123968 -2.769959)'))) / (select extract(epoch from '2026-06-18 23:37:33'::timestamp) - extract(epoch from '2026-06-18 23:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124023 -2.770107)'), GeomFromEWKT('SRID=4674;POINT (-40.123968 -2.769959)'))) / (select extract(epoch from '2026-06-18 23:37:33'::timestamp) - extract(epoch from '2026-06-18 23:37:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.123891 -2.769841)', '2026-06-18 23:37:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123968 -2.769959)'), GeomFromEWKT('SRID=4674;POINT (-40.123891 -2.769841)'))) / (select extract(epoch from '2026-06-18 23:37:40'::timestamp) - extract(epoch from '2026-06-18 23:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123968 -2.769959)'), GeomFromEWKT('SRID=4674;POINT (-40.123891 -2.769841)'))) / (select extract(epoch from '2026-06-18 23:37:40'::timestamp) - extract(epoch from '2026-06-18 23:37: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'), 46708, 'SRID=4674;POINT (-40.123831 -2.769744)', '2026-06-18 23:37:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123891 -2.769841)'), GeomFromEWKT('SRID=4674;POINT (-40.123831 -2.769744)'))) / (select extract(epoch from '2026-06-18 23:37:47'::timestamp) - extract(epoch from '2026-06-18 23:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123891 -2.769841)'), GeomFromEWKT('SRID=4674;POINT (-40.123831 -2.769744)'))) / (select extract(epoch from '2026-06-18 23:37:47'::timestamp) - extract(epoch from '2026-06-18 23:37: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'), 46708, 'SRID=4674;POINT (-40.123777 -2.769602)', '2026-06-18 23:37:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123831 -2.769744)'), GeomFromEWKT('SRID=4674;POINT (-40.123777 -2.769602)'))) / (select extract(epoch from '2026-06-18 23:37:55'::timestamp) - extract(epoch from '2026-06-18 23:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123831 -2.769744)'), GeomFromEWKT('SRID=4674;POINT (-40.123777 -2.769602)'))) / (select extract(epoch from '2026-06-18 23:37:55'::timestamp) - extract(epoch from '2026-06-18 23:37: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'), 46708, 'SRID=4674;POINT (-40.123725 -2.769459)', '2026-06-18 23:38:03', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123777 -2.769602)'), GeomFromEWKT('SRID=4674;POINT (-40.123725 -2.769459)'))) / (select extract(epoch from '2026-06-18 23:38:03'::timestamp) - extract(epoch from '2026-06-18 23:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123777 -2.769602)'), GeomFromEWKT('SRID=4674;POINT (-40.123725 -2.769459)'))) / (select extract(epoch from '2026-06-18 23:38:03'::timestamp) - extract(epoch from '2026-06-18 23:37: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'), 46708, 'SRID=4674;POINT (-40.123672 -2.76935)', '2026-06-18 23:38:10', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123725 -2.769459)'), GeomFromEWKT('SRID=4674;POINT (-40.123672 -2.76935)'))) / (select extract(epoch from '2026-06-18 23:38:10'::timestamp) - extract(epoch from '2026-06-18 23:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123725 -2.769459)'), GeomFromEWKT('SRID=4674;POINT (-40.123672 -2.76935)'))) / (select extract(epoch from '2026-06-18 23:38:10'::timestamp) - extract(epoch from '2026-06-18 23:38: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'), 46708, 'SRID=4674;POINT (-40.123613 -2.769244)', '2026-06-18 23:38:17', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123672 -2.76935)'), GeomFromEWKT('SRID=4674;POINT (-40.123613 -2.769244)'))) / (select extract(epoch from '2026-06-18 23:38:17'::timestamp) - extract(epoch from '2026-06-18 23:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123672 -2.76935)'), GeomFromEWKT('SRID=4674;POINT (-40.123613 -2.769244)'))) / (select extract(epoch from '2026-06-18 23:38:17'::timestamp) - extract(epoch from '2026-06-18 23:38:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.123535 -2.769123)', '2026-06-18 23:38:25', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123613 -2.769244)'), GeomFromEWKT('SRID=4674;POINT (-40.123535 -2.769123)'))) / (select extract(epoch from '2026-06-18 23:38:25'::timestamp) - extract(epoch from '2026-06-18 23:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123613 -2.769244)'), GeomFromEWKT('SRID=4674;POINT (-40.123535 -2.769123)'))) / (select extract(epoch from '2026-06-18 23:38:25'::timestamp) - extract(epoch from '2026-06-18 23:38: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'), 46708, 'SRID=4674;POINT (-40.12347 -2.769005)', '2026-06-18 23:38:33', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123535 -2.769123)'), GeomFromEWKT('SRID=4674;POINT (-40.12347 -2.769005)'))) / (select extract(epoch from '2026-06-18 23:38:33'::timestamp) - extract(epoch from '2026-06-18 23:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123535 -2.769123)'), GeomFromEWKT('SRID=4674;POINT (-40.12347 -2.769005)'))) / (select extract(epoch from '2026-06-18 23:38:33'::timestamp) - extract(epoch from '2026-06-18 23:38: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'), 46708, 'SRID=4674;POINT (-40.123389 -2.768844)', '2026-06-18 23:38:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12347 -2.769005)'), GeomFromEWKT('SRID=4674;POINT (-40.123389 -2.768844)'))) / (select extract(epoch from '2026-06-18 23:38:41'::timestamp) - extract(epoch from '2026-06-18 23:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12347 -2.769005)'), GeomFromEWKT('SRID=4674;POINT (-40.123389 -2.768844)'))) / (select extract(epoch from '2026-06-18 23:38:41'::timestamp) - extract(epoch from '2026-06-18 23:38: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'), 46708, 'SRID=4674;POINT (-40.123323 -2.768704)', '2026-06-18 23:38:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123389 -2.768844)'), GeomFromEWKT('SRID=4674;POINT (-40.123323 -2.768704)'))) / (select extract(epoch from '2026-06-18 23:38:49'::timestamp) - extract(epoch from '2026-06-18 23:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123389 -2.768844)'), GeomFromEWKT('SRID=4674;POINT (-40.123323 -2.768704)'))) / (select extract(epoch from '2026-06-18 23:38:49'::timestamp) - extract(epoch from '2026-06-18 23:38: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'), 46708, 'SRID=4674;POINT (-40.123254 -2.768556)', '2026-06-18 23:38:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123323 -2.768704)'), GeomFromEWKT('SRID=4674;POINT (-40.123254 -2.768556)'))) / (select extract(epoch from '2026-06-18 23:38:58'::timestamp) - extract(epoch from '2026-06-18 23:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123323 -2.768704)'), GeomFromEWKT('SRID=4674;POINT (-40.123254 -2.768556)'))) / (select extract(epoch from '2026-06-18 23:38:58'::timestamp) - extract(epoch from '2026-06-18 23:38: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'), 46708, 'SRID=4674;POINT (-40.123193 -2.768427)', '2026-06-18 23:39:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123254 -2.768556)'), GeomFromEWKT('SRID=4674;POINT (-40.123193 -2.768427)'))) / (select extract(epoch from '2026-06-18 23:39:06'::timestamp) - extract(epoch from '2026-06-18 23:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123254 -2.768556)'), GeomFromEWKT('SRID=4674;POINT (-40.123193 -2.768427)'))) / (select extract(epoch from '2026-06-18 23:39:06'::timestamp) - extract(epoch from '2026-06-18 23:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.123173 -2.768288)', '2026-06-18 23:39:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123193 -2.768427)'), GeomFromEWKT('SRID=4674;POINT (-40.123173 -2.768288)'))) / (select extract(epoch from '2026-06-18 23:39:13'::timestamp) - extract(epoch from '2026-06-18 23:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123193 -2.768427)'), GeomFromEWKT('SRID=4674;POINT (-40.123173 -2.768288)'))) / (select extract(epoch from '2026-06-18 23:39:13'::timestamp) - extract(epoch from '2026-06-18 23:39: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'), 46708, 'SRID=4674;POINT (-40.123152 -2.768095)', '2026-06-18 23:39:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123173 -2.768288)'), GeomFromEWKT('SRID=4674;POINT (-40.123152 -2.768095)'))) / (select extract(epoch from '2026-06-18 23:39:23'::timestamp) - extract(epoch from '2026-06-18 23:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123173 -2.768288)'), GeomFromEWKT('SRID=4674;POINT (-40.123152 -2.768095)'))) / (select extract(epoch from '2026-06-18 23:39:23'::timestamp) - extract(epoch from '2026-06-18 23:39: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'), 46708, 'SRID=4674;POINT (-40.123109 -2.767965)', '2026-06-18 23:39:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123152 -2.768095)'), GeomFromEWKT('SRID=4674;POINT (-40.123109 -2.767965)'))) / (select extract(epoch from '2026-06-18 23:39:30'::timestamp) - extract(epoch from '2026-06-18 23:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123152 -2.768095)'), GeomFromEWKT('SRID=4674;POINT (-40.123109 -2.767965)'))) / (select extract(epoch from '2026-06-18 23:39:30'::timestamp) - extract(epoch from '2026-06-18 23:39: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'), 46708, 'SRID=4674;POINT (-40.123045 -2.7678)', '2026-06-18 23:39:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123109 -2.767965)'), GeomFromEWKT('SRID=4674;POINT (-40.123045 -2.7678)'))) / (select extract(epoch from '2026-06-18 23:39:39'::timestamp) - extract(epoch from '2026-06-18 23:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123109 -2.767965)'), GeomFromEWKT('SRID=4674;POINT (-40.123045 -2.7678)'))) / (select extract(epoch from '2026-06-18 23:39:39'::timestamp) - extract(epoch from '2026-06-18 23:39:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.123015 -2.767689)', '2026-06-18 23:39:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123045 -2.7678)'), GeomFromEWKT('SRID=4674;POINT (-40.123015 -2.767689)'))) / (select extract(epoch from '2026-06-18 23:39:45'::timestamp) - extract(epoch from '2026-06-18 23:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123045 -2.7678)'), GeomFromEWKT('SRID=4674;POINT (-40.123015 -2.767689)'))) / (select extract(epoch from '2026-06-18 23:39:45'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.12296 -2.767553)', '2026-06-18 23:39:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123015 -2.767689)'), GeomFromEWKT('SRID=4674;POINT (-40.12296 -2.767553)'))) / (select extract(epoch from '2026-06-18 23:39:52'::timestamp) - extract(epoch from '2026-06-18 23:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123015 -2.767689)'), GeomFromEWKT('SRID=4674;POINT (-40.12296 -2.767553)'))) / (select extract(epoch from '2026-06-18 23:39:52'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.122891 -2.767406)', '2026-06-18 23:40:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12296 -2.767553)'), GeomFromEWKT('SRID=4674;POINT (-40.122891 -2.767406)'))) / (select extract(epoch from '2026-06-18 23:40:01'::timestamp) - extract(epoch from '2026-06-18 23:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12296 -2.767553)'), GeomFromEWKT('SRID=4674;POINT (-40.122891 -2.767406)'))) / (select extract(epoch from '2026-06-18 23:40:01'::timestamp) - extract(epoch from '2026-06-18 23:39:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.122821 -2.76726)', '2026-06-18 23:40:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122891 -2.767406)'), GeomFromEWKT('SRID=4674;POINT (-40.122821 -2.76726)'))) / (select extract(epoch from '2026-06-18 23:40:09'::timestamp) - extract(epoch from '2026-06-18 23:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122891 -2.767406)'), GeomFromEWKT('SRID=4674;POINT (-40.122821 -2.76726)'))) / (select extract(epoch from '2026-06-18 23:40:09'::timestamp) - extract(epoch from '2026-06-18 23:40: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'), 46708, 'SRID=4674;POINT (-40.12279 -2.767099)', '2026-06-18 23:40:17', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122821 -2.76726)'), GeomFromEWKT('SRID=4674;POINT (-40.12279 -2.767099)'))) / (select extract(epoch from '2026-06-18 23:40:17'::timestamp) - extract(epoch from '2026-06-18 23:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122821 -2.76726)'), GeomFromEWKT('SRID=4674;POINT (-40.12279 -2.767099)'))) / (select extract(epoch from '2026-06-18 23:40:17'::timestamp) - extract(epoch from '2026-06-18 23:40:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.122734 -2.76693)', '2026-06-18 23:40:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12279 -2.767099)'), GeomFromEWKT('SRID=4674;POINT (-40.122734 -2.76693)'))) / (select extract(epoch from '2026-06-18 23:40:26'::timestamp) - extract(epoch from '2026-06-18 23:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12279 -2.767099)'), GeomFromEWKT('SRID=4674;POINT (-40.122734 -2.76693)'))) / (select extract(epoch from '2026-06-18 23:40:26'::timestamp) - extract(epoch from '2026-06-18 23:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.122653 -2.766808)', '2026-06-18 23:40:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122734 -2.76693)'), GeomFromEWKT('SRID=4674;POINT (-40.122653 -2.766808)'))) / (select extract(epoch from '2026-06-18 23:40:34'::timestamp) - extract(epoch from '2026-06-18 23:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122734 -2.76693)'), GeomFromEWKT('SRID=4674;POINT (-40.122653 -2.766808)'))) / (select extract(epoch from '2026-06-18 23:40:34'::timestamp) - extract(epoch from '2026-06-18 23:40:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.122598 -2.766689)', '2026-06-18 23:40:42', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122653 -2.766808)'), GeomFromEWKT('SRID=4674;POINT (-40.122598 -2.766689)'))) / (select extract(epoch from '2026-06-18 23:40:42'::timestamp) - extract(epoch from '2026-06-18 23:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122653 -2.766808)'), GeomFromEWKT('SRID=4674;POINT (-40.122598 -2.766689)'))) / (select extract(epoch from '2026-06-18 23:40:42'::timestamp) - extract(epoch from '2026-06-18 23:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.122581 -2.766565)', '2026-06-18 23:40:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122598 -2.766689)'), GeomFromEWKT('SRID=4674;POINT (-40.122581 -2.766565)'))) / (select extract(epoch from '2026-06-18 23:40:49'::timestamp) - extract(epoch from '2026-06-18 23:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122598 -2.766689)'), GeomFromEWKT('SRID=4674;POINT (-40.122581 -2.766565)'))) / (select extract(epoch from '2026-06-18 23:40:49'::timestamp) - extract(epoch from '2026-06-18 23:40:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.122505 -2.766406)', '2026-06-18 23:40:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122581 -2.766565)'), GeomFromEWKT('SRID=4674;POINT (-40.122505 -2.766406)'))) / (select extract(epoch from '2026-06-18 23:40:58'::timestamp) - extract(epoch from '2026-06-18 23:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122581 -2.766565)'), GeomFromEWKT('SRID=4674;POINT (-40.122505 -2.766406)'))) / (select extract(epoch from '2026-06-18 23:40:58'::timestamp) - extract(epoch from '2026-06-18 23:40:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.122448 -2.766272)', '2026-06-18 23:41:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122505 -2.766406)'), GeomFromEWKT('SRID=4674;POINT (-40.122448 -2.766272)'))) / (select extract(epoch from '2026-06-18 23:41:06'::timestamp) - extract(epoch from '2026-06-18 23:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122505 -2.766406)'), GeomFromEWKT('SRID=4674;POINT (-40.122448 -2.766272)'))) / (select extract(epoch from '2026-06-18 23:41:06'::timestamp) - extract(epoch from '2026-06-18 23:40:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.122406 -2.766123)', '2026-06-18 23:41:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122448 -2.766272)'), GeomFromEWKT('SRID=4674;POINT (-40.122406 -2.766123)'))) / (select extract(epoch from '2026-06-18 23:41:14'::timestamp) - extract(epoch from '2026-06-18 23:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122448 -2.766272)'), GeomFromEWKT('SRID=4674;POINT (-40.122406 -2.766123)'))) / (select extract(epoch from '2026-06-18 23:41:14'::timestamp) - extract(epoch from '2026-06-18 23:41: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'), 46708, 'SRID=4674;POINT (-40.122345 -2.76601)', '2026-06-18 23:41:21', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122406 -2.766123)'), GeomFromEWKT('SRID=4674;POINT (-40.122345 -2.76601)'))) / (select extract(epoch from '2026-06-18 23:41:21'::timestamp) - extract(epoch from '2026-06-18 23:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122406 -2.766123)'), GeomFromEWKT('SRID=4674;POINT (-40.122345 -2.76601)'))) / (select extract(epoch from '2026-06-18 23:41:21'::timestamp) - extract(epoch from '2026-06-18 23:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.122281 -2.765866)', '2026-06-18 23:41:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122345 -2.76601)'), GeomFromEWKT('SRID=4674;POINT (-40.122281 -2.765866)'))) / (select extract(epoch from '2026-06-18 23:41:29'::timestamp) - extract(epoch from '2026-06-18 23:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122345 -2.76601)'), GeomFromEWKT('SRID=4674;POINT (-40.122281 -2.765866)'))) / (select extract(epoch from '2026-06-18 23:41:29'::timestamp) - extract(epoch from '2026-06-18 23:41: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'), 46708, 'SRID=4674;POINT (-40.122224 -2.76577)', '2026-06-18 23:41:36', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122281 -2.765866)'), GeomFromEWKT('SRID=4674;POINT (-40.122224 -2.76577)'))) / (select extract(epoch from '2026-06-18 23:41:36'::timestamp) - extract(epoch from '2026-06-18 23:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122281 -2.765866)'), GeomFromEWKT('SRID=4674;POINT (-40.122224 -2.76577)'))) / (select extract(epoch from '2026-06-18 23:41:36'::timestamp) - extract(epoch from '2026-06-18 23:41: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'), 46708, 'SRID=4674;POINT (-40.12217 -2.765664)', '2026-06-18 23:41:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122224 -2.76577)'), GeomFromEWKT('SRID=4674;POINT (-40.12217 -2.765664)'))) / (select extract(epoch from '2026-06-18 23:41:43'::timestamp) - extract(epoch from '2026-06-18 23:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122224 -2.76577)'), GeomFromEWKT('SRID=4674;POINT (-40.12217 -2.765664)'))) / (select extract(epoch from '2026-06-18 23:41:43'::timestamp) - extract(epoch from '2026-06-18 23:41:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.122125 -2.765581)', '2026-06-18 23:41:50', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12217 -2.765664)'), GeomFromEWKT('SRID=4674;POINT (-40.122125 -2.765581)'))) / (select extract(epoch from '2026-06-18 23:41:50'::timestamp) - extract(epoch from '2026-06-18 23:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12217 -2.765664)'), GeomFromEWKT('SRID=4674;POINT (-40.122125 -2.765581)'))) / (select extract(epoch from '2026-06-18 23:41:50'::timestamp) - extract(epoch from '2026-06-18 23:41: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'), 46708, 'SRID=4674;POINT (-40.122065 -2.765489)', '2026-06-18 23:41:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122125 -2.765581)'), GeomFromEWKT('SRID=4674;POINT (-40.122065 -2.765489)'))) / (select extract(epoch from '2026-06-18 23:41:57'::timestamp) - extract(epoch from '2026-06-18 23:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122125 -2.765581)'), GeomFromEWKT('SRID=4674;POINT (-40.122065 -2.765489)'))) / (select extract(epoch from '2026-06-18 23:41:57'::timestamp) - extract(epoch from '2026-06-18 23:41: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'), 46708, 'SRID=4674;POINT (-40.122052 -2.765356)', '2026-06-18 23:42:05', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122065 -2.765489)'), GeomFromEWKT('SRID=4674;POINT (-40.122052 -2.765356)'))) / (select extract(epoch from '2026-06-18 23:42:05'::timestamp) - extract(epoch from '2026-06-18 23:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122065 -2.765489)'), GeomFromEWKT('SRID=4674;POINT (-40.122052 -2.765356)'))) / (select extract(epoch from '2026-06-18 23:42:05'::timestamp) - extract(epoch from '2026-06-18 23:41:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.122013 -2.765237)', '2026-06-18 23:42:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122052 -2.765356)'), GeomFromEWKT('SRID=4674;POINT (-40.122013 -2.765237)'))) / (select extract(epoch from '2026-06-18 23:42:12'::timestamp) - extract(epoch from '2026-06-18 23:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122052 -2.765356)'), GeomFromEWKT('SRID=4674;POINT (-40.122013 -2.765237)'))) / (select extract(epoch from '2026-06-18 23:42:12'::timestamp) - extract(epoch from '2026-06-18 23:42: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'), 46708, 'SRID=4674;POINT (-40.121933 -2.765118)', '2026-06-18 23:42:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122013 -2.765237)'), GeomFromEWKT('SRID=4674;POINT (-40.121933 -2.765118)'))) / (select extract(epoch from '2026-06-18 23:42:20'::timestamp) - extract(epoch from '2026-06-18 23:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122013 -2.765237)'), GeomFromEWKT('SRID=4674;POINT (-40.121933 -2.765118)'))) / (select extract(epoch from '2026-06-18 23:42:20'::timestamp) - extract(epoch from '2026-06-18 23:42: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'), 46708, 'SRID=4674;POINT (-40.121854 -2.76499)', '2026-06-18 23:42:29', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121933 -2.765118)'), GeomFromEWKT('SRID=4674;POINT (-40.121854 -2.76499)'))) / (select extract(epoch from '2026-06-18 23:42:29'::timestamp) - extract(epoch from '2026-06-18 23:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121933 -2.765118)'), GeomFromEWKT('SRID=4674;POINT (-40.121854 -2.76499)'))) / (select extract(epoch from '2026-06-18 23:42:29'::timestamp) - extract(epoch from '2026-06-18 23:42: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'), 46708, 'SRID=4674;POINT (-40.121807 -2.764891)', '2026-06-18 23:42:36', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121854 -2.76499)'), GeomFromEWKT('SRID=4674;POINT (-40.121807 -2.764891)'))) / (select extract(epoch from '2026-06-18 23:42:36'::timestamp) - extract(epoch from '2026-06-18 23:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121854 -2.76499)'), GeomFromEWKT('SRID=4674;POINT (-40.121807 -2.764891)'))) / (select extract(epoch from '2026-06-18 23:42:36'::timestamp) - extract(epoch from '2026-06-18 23:42: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'), 46708, 'SRID=4674;POINT (-40.121753 -2.764746)', '2026-06-18 23:42:44', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121807 -2.764891)'), GeomFromEWKT('SRID=4674;POINT (-40.121753 -2.764746)'))) / (select extract(epoch from '2026-06-18 23:42:44'::timestamp) - extract(epoch from '2026-06-18 23:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121807 -2.764891)'), GeomFromEWKT('SRID=4674;POINT (-40.121753 -2.764746)'))) / (select extract(epoch from '2026-06-18 23:42:44'::timestamp) - extract(epoch from '2026-06-18 23:42: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'), 46708, 'SRID=4674;POINT (-40.121669 -2.764605)', '2026-06-18 23:42:53', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121753 -2.764746)'), GeomFromEWKT('SRID=4674;POINT (-40.121669 -2.764605)'))) / (select extract(epoch from '2026-06-18 23:42:53'::timestamp) - extract(epoch from '2026-06-18 23:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121753 -2.764746)'), GeomFromEWKT('SRID=4674;POINT (-40.121669 -2.764605)'))) / (select extract(epoch from '2026-06-18 23:42:53'::timestamp) - extract(epoch from '2026-06-18 23:42: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'), 46708, 'SRID=4674;POINT (-40.121559 -2.764482)', '2026-06-18 23:43:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121669 -2.764605)'), GeomFromEWKT('SRID=4674;POINT (-40.121559 -2.764482)'))) / (select extract(epoch from '2026-06-18 23:43:03'::timestamp) - extract(epoch from '2026-06-18 23:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121669 -2.764605)'), GeomFromEWKT('SRID=4674;POINT (-40.121559 -2.764482)'))) / (select extract(epoch from '2026-06-18 23:43:03'::timestamp) - extract(epoch from '2026-06-18 23:42: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'), 46708, 'SRID=4674;POINT (-40.121521 -2.764391)', '2026-06-18 23:43:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121559 -2.764482)'), GeomFromEWKT('SRID=4674;POINT (-40.121521 -2.764391)'))) / (select extract(epoch from '2026-06-18 23:43:09'::timestamp) - extract(epoch from '2026-06-18 23:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121559 -2.764482)'), GeomFromEWKT('SRID=4674;POINT (-40.121521 -2.764391)'))) / (select extract(epoch from '2026-06-18 23:43:09'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.121474 -2.764285)', '2026-06-18 23:43:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121521 -2.764391)'), GeomFromEWKT('SRID=4674;POINT (-40.121474 -2.764285)'))) / (select extract(epoch from '2026-06-18 23:43:16'::timestamp) - extract(epoch from '2026-06-18 23:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121521 -2.764391)'), GeomFromEWKT('SRID=4674;POINT (-40.121474 -2.764285)'))) / (select extract(epoch from '2026-06-18 23:43:16'::timestamp) - extract(epoch from '2026-06-18 23:43: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'), 46708, 'SRID=4674;POINT (-40.121444 -2.764189)', '2026-06-18 23:43:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121474 -2.764285)'), GeomFromEWKT('SRID=4674;POINT (-40.121444 -2.764189)'))) / (select extract(epoch from '2026-06-18 23:43:22'::timestamp) - extract(epoch from '2026-06-18 23:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121474 -2.764285)'), GeomFromEWKT('SRID=4674;POINT (-40.121444 -2.764189)'))) / (select extract(epoch from '2026-06-18 23:43:22'::timestamp) - extract(epoch from '2026-06-18 23:43: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'), 46708, 'SRID=4674;POINT (-40.121406 -2.764049)', '2026-06-18 23:43:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121444 -2.764189)'), GeomFromEWKT('SRID=4674;POINT (-40.121406 -2.764049)'))) / (select extract(epoch from '2026-06-18 23:43:30'::timestamp) - extract(epoch from '2026-06-18 23:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121444 -2.764189)'), GeomFromEWKT('SRID=4674;POINT (-40.121406 -2.764049)'))) / (select extract(epoch from '2026-06-18 23:43:30'::timestamp) - extract(epoch from '2026-06-18 23:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.121331 -2.763901)', '2026-06-18 23:43:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121406 -2.764049)'), GeomFromEWKT('SRID=4674;POINT (-40.121331 -2.763901)'))) / (select extract(epoch from '2026-06-18 23:43:39'::timestamp) - extract(epoch from '2026-06-18 23:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121406 -2.764049)'), GeomFromEWKT('SRID=4674;POINT (-40.121331 -2.763901)'))) / (select extract(epoch from '2026-06-18 23:43:39'::timestamp) - extract(epoch from '2026-06-18 23:43: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'), 46708, 'SRID=4674;POINT (-40.12126 -2.763792)', '2026-06-18 23:43:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121331 -2.763901)'), GeomFromEWKT('SRID=4674;POINT (-40.12126 -2.763792)'))) / (select extract(epoch from '2026-06-18 23:43:48'::timestamp) - extract(epoch from '2026-06-18 23:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121331 -2.763901)'), GeomFromEWKT('SRID=4674;POINT (-40.12126 -2.763792)'))) / (select extract(epoch from '2026-06-18 23:43:48'::timestamp) - extract(epoch from '2026-06-18 23:43: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'), 46708, 'SRID=4674;POINT (-40.121215 -2.763615)', '2026-06-18 23:43:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12126 -2.763792)'), GeomFromEWKT('SRID=4674;POINT (-40.121215 -2.763615)'))) / (select extract(epoch from '2026-06-18 23:43:57'::timestamp) - extract(epoch from '2026-06-18 23:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12126 -2.763792)'), GeomFromEWKT('SRID=4674;POINT (-40.121215 -2.763615)'))) / (select extract(epoch from '2026-06-18 23:43:57'::timestamp) - extract(epoch from '2026-06-18 23:43:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.121153 -2.763472)', '2026-06-18 23:44:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121215 -2.763615)'), GeomFromEWKT('SRID=4674;POINT (-40.121153 -2.763472)'))) / (select extract(epoch from '2026-06-18 23:44:05'::timestamp) - extract(epoch from '2026-06-18 23:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121215 -2.763615)'), GeomFromEWKT('SRID=4674;POINT (-40.121153 -2.763472)'))) / (select extract(epoch from '2026-06-18 23:44:05'::timestamp) - extract(epoch from '2026-06-18 23:43:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.121089 -2.763351)', '2026-06-18 23:44:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121153 -2.763472)'), GeomFromEWKT('SRID=4674;POINT (-40.121089 -2.763351)'))) / (select extract(epoch from '2026-06-18 23:44:13'::timestamp) - extract(epoch from '2026-06-18 23:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121153 -2.763472)'), GeomFromEWKT('SRID=4674;POINT (-40.121089 -2.763351)'))) / (select extract(epoch from '2026-06-18 23:44:13'::timestamp) - extract(epoch from '2026-06-18 23:44: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'), 46708, 'SRID=4674;POINT (-40.121054 -2.76323)', '2026-06-18 23:44:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121089 -2.763351)'), GeomFromEWKT('SRID=4674;POINT (-40.121054 -2.76323)'))) / (select extract(epoch from '2026-06-18 23:44:20'::timestamp) - extract(epoch from '2026-06-18 23:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121089 -2.763351)'), GeomFromEWKT('SRID=4674;POINT (-40.121054 -2.76323)'))) / (select extract(epoch from '2026-06-18 23:44:20'::timestamp) - extract(epoch from '2026-06-18 23:44:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.120998 -2.763131)', '2026-06-18 23:44:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121054 -2.76323)'), GeomFromEWKT('SRID=4674;POINT (-40.120998 -2.763131)'))) / (select extract(epoch from '2026-06-18 23:44:27'::timestamp) - extract(epoch from '2026-06-18 23:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121054 -2.76323)'), GeomFromEWKT('SRID=4674;POINT (-40.120998 -2.763131)'))) / (select extract(epoch from '2026-06-18 23:44:27'::timestamp) - extract(epoch from '2026-06-18 23:44: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'), 46708, 'SRID=4674;POINT (-40.120918 -2.763005)', '2026-06-18 23:44:35', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120998 -2.763131)'), GeomFromEWKT('SRID=4674;POINT (-40.120918 -2.763005)'))) / (select extract(epoch from '2026-06-18 23:44:35'::timestamp) - extract(epoch from '2026-06-18 23:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120998 -2.763131)'), GeomFromEWKT('SRID=4674;POINT (-40.120918 -2.763005)'))) / (select extract(epoch from '2026-06-18 23:44:35'::timestamp) - extract(epoch from '2026-06-18 23:44: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'), 46708, 'SRID=4674;POINT (-40.120854 -2.762887)', '2026-06-18 23:44:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120918 -2.763005)'), GeomFromEWKT('SRID=4674;POINT (-40.120854 -2.762887)'))) / (select extract(epoch from '2026-06-18 23:44:43'::timestamp) - extract(epoch from '2026-06-18 23:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120918 -2.763005)'), GeomFromEWKT('SRID=4674;POINT (-40.120854 -2.762887)'))) / (select extract(epoch from '2026-06-18 23:44:43'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.120791 -2.762769)', '2026-06-18 23:44:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120854 -2.762887)'), GeomFromEWKT('SRID=4674;POINT (-40.120791 -2.762769)'))) / (select extract(epoch from '2026-06-18 23:44:50'::timestamp) - extract(epoch from '2026-06-18 23:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120854 -2.762887)'), GeomFromEWKT('SRID=4674;POINT (-40.120791 -2.762769)'))) / (select extract(epoch from '2026-06-18 23:44:50'::timestamp) - extract(epoch from '2026-06-18 23:44:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.120822 -2.762628)', '2026-06-18 23:44:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120791 -2.762769)'), GeomFromEWKT('SRID=4674;POINT (-40.120822 -2.762628)'))) / (select extract(epoch from '2026-06-18 23:44:57'::timestamp) - extract(epoch from '2026-06-18 23:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120791 -2.762769)'), GeomFromEWKT('SRID=4674;POINT (-40.120822 -2.762628)'))) / (select extract(epoch from '2026-06-18 23:44:57'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.12082 -2.762525)', '2026-06-18 23:45:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120822 -2.762628)'), GeomFromEWKT('SRID=4674;POINT (-40.12082 -2.762525)'))) / (select extract(epoch from '2026-06-18 23:45:02'::timestamp) - extract(epoch from '2026-06-18 23:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120822 -2.762628)'), GeomFromEWKT('SRID=4674;POINT (-40.12082 -2.762525)'))) / (select extract(epoch from '2026-06-18 23:45:02'::timestamp) - extract(epoch from '2026-06-18 23:44: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'), 46708, 'SRID=4674;POINT (-40.12082 -2.762504)', '2026-06-18 23:45:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12082 -2.762525)'), GeomFromEWKT('SRID=4674;POINT (-40.12082 -2.762504)'))) / (select extract(epoch from '2026-06-18 23:45:03'::timestamp) - extract(epoch from '2026-06-18 23:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12082 -2.762525)'), GeomFromEWKT('SRID=4674;POINT (-40.12082 -2.762504)'))) / (select extract(epoch from '2026-06-18 23:45:03'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.120783 -2.762399)', '2026-06-18 23:45:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12082 -2.762504)'), GeomFromEWKT('SRID=4674;POINT (-40.120783 -2.762399)'))) / (select extract(epoch from '2026-06-18 23:45:09'::timestamp) - extract(epoch from '2026-06-18 23:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12082 -2.762504)'), GeomFromEWKT('SRID=4674;POINT (-40.120783 -2.762399)'))) / (select extract(epoch from '2026-06-18 23:45:09'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.120758 -2.762334)', '2026-06-18 23:45:14', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120783 -2.762399)'), GeomFromEWKT('SRID=4674;POINT (-40.120758 -2.762334)'))) / (select extract(epoch from '2026-06-18 23:45:14'::timestamp) - extract(epoch from '2026-06-18 23:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120783 -2.762399)'), GeomFromEWKT('SRID=4674;POINT (-40.120758 -2.762334)'))) / (select extract(epoch from '2026-06-18 23:45:14'::timestamp) - extract(epoch from '2026-06-18 23:45:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.120705 -2.762251)', '2026-06-18 23:45:21', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120758 -2.762334)'), GeomFromEWKT('SRID=4674;POINT (-40.120705 -2.762251)'))) / (select extract(epoch from '2026-06-18 23:45:21'::timestamp) - extract(epoch from '2026-06-18 23:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120758 -2.762334)'), GeomFromEWKT('SRID=4674;POINT (-40.120705 -2.762251)'))) / (select extract(epoch from '2026-06-18 23:45:21'::timestamp) - extract(epoch from '2026-06-18 23:45: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'), 46708, 'SRID=4674;POINT (-40.120627 -2.762143)', '2026-06-18 23:45:29', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120705 -2.762251)'), GeomFromEWKT('SRID=4674;POINT (-40.120627 -2.762143)'))) / (select extract(epoch from '2026-06-18 23:45:29'::timestamp) - extract(epoch from '2026-06-18 23:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120705 -2.762251)'), GeomFromEWKT('SRID=4674;POINT (-40.120627 -2.762143)'))) / (select extract(epoch from '2026-06-18 23:45:29'::timestamp) - extract(epoch from '2026-06-18 23:45: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'), 46708, 'SRID=4674;POINT (-40.120556 -2.762032)', '2026-06-18 23:45:36', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120627 -2.762143)'), GeomFromEWKT('SRID=4674;POINT (-40.120556 -2.762032)'))) / (select extract(epoch from '2026-06-18 23:45:36'::timestamp) - extract(epoch from '2026-06-18 23:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120627 -2.762143)'), GeomFromEWKT('SRID=4674;POINT (-40.120556 -2.762032)'))) / (select extract(epoch from '2026-06-18 23:45:36'::timestamp) - extract(epoch from '2026-06-18 23:45: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'), 46708, 'SRID=4674;POINT (-40.12052 -2.76186)', '2026-06-18 23:45:45', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120556 -2.762032)'), GeomFromEWKT('SRID=4674;POINT (-40.12052 -2.76186)'))) / (select extract(epoch from '2026-06-18 23:45:45'::timestamp) - extract(epoch from '2026-06-18 23:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120556 -2.762032)'), GeomFromEWKT('SRID=4674;POINT (-40.12052 -2.76186)'))) / (select extract(epoch from '2026-06-18 23:45:45'::timestamp) - extract(epoch from '2026-06-18 23: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'), 46708, 'SRID=4674;POINT (-40.120474 -2.761698)', '2026-06-18 23:45:54', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12052 -2.76186)'), GeomFromEWKT('SRID=4674;POINT (-40.120474 -2.761698)'))) / (select extract(epoch from '2026-06-18 23:45:54'::timestamp) - extract(epoch from '2026-06-18 23:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12052 -2.76186)'), GeomFromEWKT('SRID=4674;POINT (-40.120474 -2.761698)'))) / (select extract(epoch from '2026-06-18 23:45:54'::timestamp) - extract(epoch from '2026-06-18 23:45: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'), 46708, 'SRID=4674;POINT (-40.120391 -2.761525)', '2026-06-18 23:46:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120474 -2.761698)'), GeomFromEWKT('SRID=4674;POINT (-40.120391 -2.761525)'))) / (select extract(epoch from '2026-06-18 23:46:04'::timestamp) - extract(epoch from '2026-06-18 23:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120474 -2.761698)'), GeomFromEWKT('SRID=4674;POINT (-40.120391 -2.761525)'))) / (select extract(epoch from '2026-06-18 23:46:04'::timestamp) - extract(epoch from '2026-06-18 23:45: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'), 46708, 'SRID=4674;POINT (-40.120324 -2.761404)', '2026-06-18 23:46:12', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120391 -2.761525)'), GeomFromEWKT('SRID=4674;POINT (-40.120324 -2.761404)'))) / (select extract(epoch from '2026-06-18 23:46:12'::timestamp) - extract(epoch from '2026-06-18 23:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120391 -2.761525)'), GeomFromEWKT('SRID=4674;POINT (-40.120324 -2.761404)'))) / (select extract(epoch from '2026-06-18 23:46:12'::timestamp) - extract(epoch from '2026-06-18 23:46:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.120284 -2.761312)', '2026-06-18 23:46:18', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120324 -2.761404)'), GeomFromEWKT('SRID=4674;POINT (-40.120284 -2.761312)'))) / (select extract(epoch from '2026-06-18 23:46:18'::timestamp) - extract(epoch from '2026-06-18 23:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120324 -2.761404)'), GeomFromEWKT('SRID=4674;POINT (-40.120284 -2.761312)'))) / (select extract(epoch from '2026-06-18 23:46:18'::timestamp) - extract(epoch from '2026-06-18 23:46: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'), 46708, 'SRID=4674;POINT (-40.120208 -2.76119)', '2026-06-18 23:46:25', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120284 -2.761312)'), GeomFromEWKT('SRID=4674;POINT (-40.120208 -2.76119)'))) / (select extract(epoch from '2026-06-18 23:46:25'::timestamp) - extract(epoch from '2026-06-18 23:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120284 -2.761312)'), GeomFromEWKT('SRID=4674;POINT (-40.120208 -2.76119)'))) / (select extract(epoch from '2026-06-18 23:46:25'::timestamp) - extract(epoch from '2026-06-18 23:46:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
