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'), 46698, 'SRID=4674;POINT (-40.054576 -2.820494)', '2026-06-09 16:08:57', -38.8, 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'), 46698, 'SRID=4674;POINT (-40.054472 -2.82041)', '2026-06-09 16:09:07', -22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054576 -2.820494)'), GeomFromEWKT('SRID=4674;POINT (-40.054472 -2.82041)'))) / (select extract(epoch from '2026-06-09 16:09:07'::timestamp) - extract(epoch from '2026-06-09 16:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054576 -2.820494)'), GeomFromEWKT('SRID=4674;POINT (-40.054472 -2.82041)'))) / (select extract(epoch from '2026-06-09 16:09:07'::timestamp) - extract(epoch from '2026-06-09 16:08: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'), 46698, 'SRID=4674;POINT (-40.054255 -2.820382)', '2026-06-09 16:09:22', -12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054472 -2.82041)'), GeomFromEWKT('SRID=4674;POINT (-40.054255 -2.820382)'))) / (select extract(epoch from '2026-06-09 16:09:22'::timestamp) - extract(epoch from '2026-06-09 16:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054472 -2.82041)'), GeomFromEWKT('SRID=4674;POINT (-40.054255 -2.820382)'))) / (select extract(epoch from '2026-06-09 16:09:22'::timestamp) - extract(epoch from '2026-06-09 16:09: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'), 46698, 'SRID=4674;POINT (-40.054057 -2.820365)', '2026-06-09 16:09:37', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054255 -2.820382)'), GeomFromEWKT('SRID=4674;POINT (-40.054057 -2.820365)'))) / (select extract(epoch from '2026-06-09 16:09:37'::timestamp) - extract(epoch from '2026-06-09 16:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054255 -2.820382)'), GeomFromEWKT('SRID=4674;POINT (-40.054057 -2.820365)'))) / (select extract(epoch from '2026-06-09 16:09:37'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.053811 -2.820305)', '2026-06-09 16:09:54', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054057 -2.820365)'), GeomFromEWKT('SRID=4674;POINT (-40.053811 -2.820305)'))) / (select extract(epoch from '2026-06-09 16:09:54'::timestamp) - extract(epoch from '2026-06-09 16:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054057 -2.820365)'), GeomFromEWKT('SRID=4674;POINT (-40.053811 -2.820305)'))) / (select extract(epoch from '2026-06-09 16:09:54'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.053645 -2.820314)', '2026-06-09 16:10:05', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053811 -2.820305)'), GeomFromEWKT('SRID=4674;POINT (-40.053645 -2.820314)'))) / (select extract(epoch from '2026-06-09 16:10:05'::timestamp) - extract(epoch from '2026-06-09 16:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053811 -2.820305)'), GeomFromEWKT('SRID=4674;POINT (-40.053645 -2.820314)'))) / (select extract(epoch from '2026-06-09 16:10:05'::timestamp) - extract(epoch from '2026-06-09 16:09:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.05343 -2.820358)', '2026-06-09 16:10:19', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053645 -2.820314)'), GeomFromEWKT('SRID=4674;POINT (-40.05343 -2.820358)'))) / (select extract(epoch from '2026-06-09 16:10:19'::timestamp) - extract(epoch from '2026-06-09 16:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053645 -2.820314)'), GeomFromEWKT('SRID=4674;POINT (-40.05343 -2.820358)'))) / (select extract(epoch from '2026-06-09 16:10:19'::timestamp) - extract(epoch from '2026-06-09 16:10:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.053236 -2.820357)', '2026-06-09 16:10:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05343 -2.820358)'), GeomFromEWKT('SRID=4674;POINT (-40.053236 -2.820357)'))) / (select extract(epoch from '2026-06-09 16:10:31'::timestamp) - extract(epoch from '2026-06-09 16:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05343 -2.820358)'), GeomFromEWKT('SRID=4674;POINT (-40.053236 -2.820357)'))) / (select extract(epoch from '2026-06-09 16:10:31'::timestamp) - extract(epoch from '2026-06-09 16:10:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.053024 -2.820372)', '2026-06-09 16:10:44', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053236 -2.820357)'), GeomFromEWKT('SRID=4674;POINT (-40.053024 -2.820372)'))) / (select extract(epoch from '2026-06-09 16:10:44'::timestamp) - extract(epoch from '2026-06-09 16:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053236 -2.820357)'), GeomFromEWKT('SRID=4674;POINT (-40.053024 -2.820372)'))) / (select extract(epoch from '2026-06-09 16:10:44'::timestamp) - extract(epoch from '2026-06-09 16:10: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'), 46698, 'SRID=4674;POINT (-40.052796 -2.820435)', '2026-06-09 16:10:58', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053024 -2.820372)'), GeomFromEWKT('SRID=4674;POINT (-40.052796 -2.820435)'))) / (select extract(epoch from '2026-06-09 16:10:58'::timestamp) - extract(epoch from '2026-06-09 16:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053024 -2.820372)'), GeomFromEWKT('SRID=4674;POINT (-40.052796 -2.820435)'))) / (select extract(epoch from '2026-06-09 16:10:58'::timestamp) - extract(epoch from '2026-06-09 16:10:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.052589 -2.820421)', '2026-06-09 16:11:11', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052796 -2.820435)'), GeomFromEWKT('SRID=4674;POINT (-40.052589 -2.820421)'))) / (select extract(epoch from '2026-06-09 16:11:11'::timestamp) - extract(epoch from '2026-06-09 16:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052796 -2.820435)'), GeomFromEWKT('SRID=4674;POINT (-40.052589 -2.820421)'))) / (select extract(epoch from '2026-06-09 16:11:11'::timestamp) - extract(epoch from '2026-06-09 16:10: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'), 46698, 'SRID=4674;POINT (-40.052416 -2.820408)', '2026-06-09 16:11:22', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052589 -2.820421)'), GeomFromEWKT('SRID=4674;POINT (-40.052416 -2.820408)'))) / (select extract(epoch from '2026-06-09 16:11:22'::timestamp) - extract(epoch from '2026-06-09 16:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052589 -2.820421)'), GeomFromEWKT('SRID=4674;POINT (-40.052416 -2.820408)'))) / (select extract(epoch from '2026-06-09 16:11:22'::timestamp) - extract(epoch from '2026-06-09 16:11: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'), 46698, 'SRID=4674;POINT (-40.052259 -2.820428)', '2026-06-09 16:11:33', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052416 -2.820408)'), GeomFromEWKT('SRID=4674;POINT (-40.052259 -2.820428)'))) / (select extract(epoch from '2026-06-09 16:11:33'::timestamp) - extract(epoch from '2026-06-09 16:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052416 -2.820408)'), GeomFromEWKT('SRID=4674;POINT (-40.052259 -2.820428)'))) / (select extract(epoch from '2026-06-09 16:11:33'::timestamp) - extract(epoch from '2026-06-09 16:11: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'), 46698, 'SRID=4674;POINT (-40.052178 -2.820506)', '2026-06-09 16:11:41', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052259 -2.820428)'), GeomFromEWKT('SRID=4674;POINT (-40.052178 -2.820506)'))) / (select extract(epoch from '2026-06-09 16:11:41'::timestamp) - extract(epoch from '2026-06-09 16:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052259 -2.820428)'), GeomFromEWKT('SRID=4674;POINT (-40.052178 -2.820506)'))) / (select extract(epoch from '2026-06-09 16:11:41'::timestamp) - extract(epoch from '2026-06-09 16:11: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'), 46698, 'SRID=4674;POINT (-40.052099 -2.820588)', '2026-06-09 16:11:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052178 -2.820506)'), GeomFromEWKT('SRID=4674;POINT (-40.052099 -2.820588)'))) / (select extract(epoch from '2026-06-09 16:11:49'::timestamp) - extract(epoch from '2026-06-09 16:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052178 -2.820506)'), GeomFromEWKT('SRID=4674;POINT (-40.052099 -2.820588)'))) / (select extract(epoch from '2026-06-09 16:11:49'::timestamp) - extract(epoch from '2026-06-09 16:11:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.052001 -2.820651)', '2026-06-09 16:11:59', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052099 -2.820588)'), GeomFromEWKT('SRID=4674;POINT (-40.052001 -2.820651)'))) / (select extract(epoch from '2026-06-09 16:11:59'::timestamp) - extract(epoch from '2026-06-09 16:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052099 -2.820588)'), GeomFromEWKT('SRID=4674;POINT (-40.052001 -2.820651)'))) / (select extract(epoch from '2026-06-09 16:11:59'::timestamp) - extract(epoch from '2026-06-09 16:11:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.05184 -2.820703)', '2026-06-09 16:12:11', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052001 -2.820651)'), GeomFromEWKT('SRID=4674;POINT (-40.05184 -2.820703)'))) / (select extract(epoch from '2026-06-09 16:12:11'::timestamp) - extract(epoch from '2026-06-09 16:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052001 -2.820651)'), GeomFromEWKT('SRID=4674;POINT (-40.05184 -2.820703)'))) / (select extract(epoch from '2026-06-09 16:12:11'::timestamp) - extract(epoch from '2026-06-09 16:11:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.051686 -2.820711)', '2026-06-09 16:12:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05184 -2.820703)'), GeomFromEWKT('SRID=4674;POINT (-40.051686 -2.820711)'))) / (select extract(epoch from '2026-06-09 16:12:22'::timestamp) - extract(epoch from '2026-06-09 16:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05184 -2.820703)'), GeomFromEWKT('SRID=4674;POINT (-40.051686 -2.820711)'))) / (select extract(epoch from '2026-06-09 16:12:22'::timestamp) - extract(epoch from '2026-06-09 16:12:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.051539 -2.820725)', '2026-06-09 16:12:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051686 -2.820711)'), GeomFromEWKT('SRID=4674;POINT (-40.051539 -2.820725)'))) / (select extract(epoch from '2026-06-09 16:12:32'::timestamp) - extract(epoch from '2026-06-09 16:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051686 -2.820711)'), GeomFromEWKT('SRID=4674;POINT (-40.051539 -2.820725)'))) / (select extract(epoch from '2026-06-09 16:12:32'::timestamp) - extract(epoch from '2026-06-09 16:12:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.051382 -2.820691)', '2026-06-09 16:12:43', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051539 -2.820725)'), GeomFromEWKT('SRID=4674;POINT (-40.051382 -2.820691)'))) / (select extract(epoch from '2026-06-09 16:12:43'::timestamp) - extract(epoch from '2026-06-09 16:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051539 -2.820725)'), GeomFromEWKT('SRID=4674;POINT (-40.051382 -2.820691)'))) / (select extract(epoch from '2026-06-09 16:12:43'::timestamp) - extract(epoch from '2026-06-09 16:12: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'), 46698, 'SRID=4674;POINT (-40.051167 -2.820623)', '2026-06-09 16:12:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051382 -2.820691)'), GeomFromEWKT('SRID=4674;POINT (-40.051167 -2.820623)'))) / (select extract(epoch from '2026-06-09 16:12:57'::timestamp) - extract(epoch from '2026-06-09 16:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051382 -2.820691)'), GeomFromEWKT('SRID=4674;POINT (-40.051167 -2.820623)'))) / (select extract(epoch from '2026-06-09 16:12:57'::timestamp) - extract(epoch from '2026-06-09 16:12: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'), 46698, 'SRID=4674;POINT (-40.050981 -2.820589)', '2026-06-09 16:13:08', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051167 -2.820623)'), GeomFromEWKT('SRID=4674;POINT (-40.050981 -2.820589)'))) / (select extract(epoch from '2026-06-09 16:13:08'::timestamp) - extract(epoch from '2026-06-09 16:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051167 -2.820623)'), GeomFromEWKT('SRID=4674;POINT (-40.050981 -2.820589)'))) / (select extract(epoch from '2026-06-09 16:13:08'::timestamp) - extract(epoch from '2026-06-09 16:12:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.050787 -2.820514)', '2026-06-09 16:13:20', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050981 -2.820589)'), GeomFromEWKT('SRID=4674;POINT (-40.050787 -2.820514)'))) / (select extract(epoch from '2026-06-09 16:13:20'::timestamp) - extract(epoch from '2026-06-09 16:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050981 -2.820589)'), GeomFromEWKT('SRID=4674;POINT (-40.050787 -2.820514)'))) / (select extract(epoch from '2026-06-09 16:13:20'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.050538 -2.820424)', '2026-06-09 16:13:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050787 -2.820514)'), GeomFromEWKT('SRID=4674;POINT (-40.050538 -2.820424)'))) / (select extract(epoch from '2026-06-09 16:13:35'::timestamp) - extract(epoch from '2026-06-09 16:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050787 -2.820514)'), GeomFromEWKT('SRID=4674;POINT (-40.050538 -2.820424)'))) / (select extract(epoch from '2026-06-09 16:13:35'::timestamp) - extract(epoch from '2026-06-09 16:13: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'), 46698, 'SRID=4674;POINT (-40.050303 -2.820336)', '2026-06-09 16:13:49', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050538 -2.820424)'), GeomFromEWKT('SRID=4674;POINT (-40.050303 -2.820336)'))) / (select extract(epoch from '2026-06-09 16:13:49'::timestamp) - extract(epoch from '2026-06-09 16:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050538 -2.820424)'), GeomFromEWKT('SRID=4674;POINT (-40.050303 -2.820336)'))) / (select extract(epoch from '2026-06-09 16:13:49'::timestamp) - extract(epoch from '2026-06-09 16:13: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'), 46698, 'SRID=4674;POINT (-40.05006 -2.82027)', '2026-06-09 16:14:02', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050303 -2.820336)'), GeomFromEWKT('SRID=4674;POINT (-40.05006 -2.82027)'))) / (select extract(epoch from '2026-06-09 16:14:02'::timestamp) - extract(epoch from '2026-06-09 16:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050303 -2.820336)'), GeomFromEWKT('SRID=4674;POINT (-40.05006 -2.82027)'))) / (select extract(epoch from '2026-06-09 16:14:02'::timestamp) - extract(epoch from '2026-06-09 16:13: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'), 46698, 'SRID=4674;POINT (-40.049814 -2.820241)', '2026-06-09 16:14:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05006 -2.82027)'), GeomFromEWKT('SRID=4674;POINT (-40.049814 -2.820241)'))) / (select extract(epoch from '2026-06-09 16:14:15'::timestamp) - extract(epoch from '2026-06-09 16:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05006 -2.82027)'), GeomFromEWKT('SRID=4674;POINT (-40.049814 -2.820241)'))) / (select extract(epoch from '2026-06-09 16:14:15'::timestamp) - extract(epoch from '2026-06-09 16:14: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'), 46698, 'SRID=4674;POINT (-40.049588 -2.820197)', '2026-06-09 16:14:27', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049814 -2.820241)'), GeomFromEWKT('SRID=4674;POINT (-40.049588 -2.820197)'))) / (select extract(epoch from '2026-06-09 16:14:27'::timestamp) - extract(epoch from '2026-06-09 16:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049814 -2.820241)'), GeomFromEWKT('SRID=4674;POINT (-40.049588 -2.820197)'))) / (select extract(epoch from '2026-06-09 16:14:27'::timestamp) - extract(epoch from '2026-06-09 16:14: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'), 46698, 'SRID=4674;POINT (-40.049369 -2.820127)', '2026-06-09 16:14:39', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049588 -2.820197)'), GeomFromEWKT('SRID=4674;POINT (-40.049369 -2.820127)'))) / (select extract(epoch from '2026-06-09 16:14:39'::timestamp) - extract(epoch from '2026-06-09 16:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049588 -2.820197)'), GeomFromEWKT('SRID=4674;POINT (-40.049369 -2.820127)'))) / (select extract(epoch from '2026-06-09 16:14:39'::timestamp) - extract(epoch from '2026-06-09 16:14: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'), 46698, 'SRID=4674;POINT (-40.049179 -2.820012)', '2026-06-09 16:14:50', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049369 -2.820127)'), GeomFromEWKT('SRID=4674;POINT (-40.049179 -2.820012)'))) / (select extract(epoch from '2026-06-09 16:14:50'::timestamp) - extract(epoch from '2026-06-09 16:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049369 -2.820127)'), GeomFromEWKT('SRID=4674;POINT (-40.049179 -2.820012)'))) / (select extract(epoch from '2026-06-09 16:14:50'::timestamp) - extract(epoch from '2026-06-09 16:14: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'), 46698, 'SRID=4674;POINT (-40.048942 -2.819893)', '2026-06-09 16:15:04', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049179 -2.820012)'), GeomFromEWKT('SRID=4674;POINT (-40.048942 -2.819893)'))) / (select extract(epoch from '2026-06-09 16:15:04'::timestamp) - extract(epoch from '2026-06-09 16:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049179 -2.820012)'), GeomFromEWKT('SRID=4674;POINT (-40.048942 -2.819893)'))) / (select extract(epoch from '2026-06-09 16:15:04'::timestamp) - extract(epoch from '2026-06-09 16:14:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.048698 -2.819786)', '2026-06-09 16:15:18', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048942 -2.819893)'), GeomFromEWKT('SRID=4674;POINT (-40.048698 -2.819786)'))) / (select extract(epoch from '2026-06-09 16:15:18'::timestamp) - extract(epoch from '2026-06-09 16:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048942 -2.819893)'), GeomFromEWKT('SRID=4674;POINT (-40.048698 -2.819786)'))) / (select extract(epoch from '2026-06-09 16:15:18'::timestamp) - extract(epoch from '2026-06-09 16:15: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'), 46698, 'SRID=4674;POINT (-40.048475 -2.819724)', '2026-06-09 16:15:30', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048698 -2.819786)'), GeomFromEWKT('SRID=4674;POINT (-40.048475 -2.819724)'))) / (select extract(epoch from '2026-06-09 16:15:30'::timestamp) - extract(epoch from '2026-06-09 16:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048698 -2.819786)'), GeomFromEWKT('SRID=4674;POINT (-40.048475 -2.819724)'))) / (select extract(epoch from '2026-06-09 16:15:30'::timestamp) - extract(epoch from '2026-06-09 16:15:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.048146 -2.81962)', '2026-06-09 16:15:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048475 -2.819724)'), GeomFromEWKT('SRID=4674;POINT (-40.048146 -2.81962)'))) / (select extract(epoch from '2026-06-09 16:15:48'::timestamp) - extract(epoch from '2026-06-09 16:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048475 -2.819724)'), GeomFromEWKT('SRID=4674;POINT (-40.048146 -2.81962)'))) / (select extract(epoch from '2026-06-09 16:15:48'::timestamp) - extract(epoch from '2026-06-09 16:15:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.047861 -2.819514)', '2026-06-09 16:16:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048146 -2.81962)'), GeomFromEWKT('SRID=4674;POINT (-40.047861 -2.819514)'))) / (select extract(epoch from '2026-06-09 16:16:05'::timestamp) - extract(epoch from '2026-06-09 16:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048146 -2.81962)'), GeomFromEWKT('SRID=4674;POINT (-40.047861 -2.819514)'))) / (select extract(epoch from '2026-06-09 16:16:05'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.047597 -2.819443)', '2026-06-09 16:16:20', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047861 -2.819514)'), GeomFromEWKT('SRID=4674;POINT (-40.047597 -2.819443)'))) / (select extract(epoch from '2026-06-09 16:16:20'::timestamp) - extract(epoch from '2026-06-09 16:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047861 -2.819514)'), GeomFromEWKT('SRID=4674;POINT (-40.047597 -2.819443)'))) / (select extract(epoch from '2026-06-09 16:16:20'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.047334 -2.819387)', '2026-06-09 16:16:34', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047597 -2.819443)'), GeomFromEWKT('SRID=4674;POINT (-40.047334 -2.819387)'))) / (select extract(epoch from '2026-06-09 16:16:34'::timestamp) - extract(epoch from '2026-06-09 16:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047597 -2.819443)'), GeomFromEWKT('SRID=4674;POINT (-40.047334 -2.819387)'))) / (select extract(epoch from '2026-06-09 16:16:34'::timestamp) - extract(epoch from '2026-06-09 16:16:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.047103 -2.819324)', '2026-06-09 16:16:46', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047334 -2.819387)'), GeomFromEWKT('SRID=4674;POINT (-40.047103 -2.819324)'))) / (select extract(epoch from '2026-06-09 16:16:46'::timestamp) - extract(epoch from '2026-06-09 16:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047334 -2.819387)'), GeomFromEWKT('SRID=4674;POINT (-40.047103 -2.819324)'))) / (select extract(epoch from '2026-06-09 16:16:46'::timestamp) - extract(epoch from '2026-06-09 16:16:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.046849 -2.819268)', '2026-06-09 16:16:59', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047103 -2.819324)'), GeomFromEWKT('SRID=4674;POINT (-40.046849 -2.819268)'))) / (select extract(epoch from '2026-06-09 16:16:59'::timestamp) - extract(epoch from '2026-06-09 16:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047103 -2.819324)'), GeomFromEWKT('SRID=4674;POINT (-40.046849 -2.819268)'))) / (select extract(epoch from '2026-06-09 16:16:59'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.046633 -2.819238)', '2026-06-09 16:17:10', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046849 -2.819268)'), GeomFromEWKT('SRID=4674;POINT (-40.046633 -2.819238)'))) / (select extract(epoch from '2026-06-09 16:17:10'::timestamp) - extract(epoch from '2026-06-09 16:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046849 -2.819268)'), GeomFromEWKT('SRID=4674;POINT (-40.046633 -2.819238)'))) / (select extract(epoch from '2026-06-09 16:17:10'::timestamp) - extract(epoch from '2026-06-09 16:16:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.046395 -2.819213)', '2026-06-09 16:17:22', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046633 -2.819238)'), GeomFromEWKT('SRID=4674;POINT (-40.046395 -2.819213)'))) / (select extract(epoch from '2026-06-09 16:17:22'::timestamp) - extract(epoch from '2026-06-09 16:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046633 -2.819238)'), GeomFromEWKT('SRID=4674;POINT (-40.046395 -2.819213)'))) / (select extract(epoch from '2026-06-09 16:17:22'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.046164 -2.819183)', '2026-06-09 16:17:34', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046395 -2.819213)'), GeomFromEWKT('SRID=4674;POINT (-40.046164 -2.819183)'))) / (select extract(epoch from '2026-06-09 16:17:34'::timestamp) - extract(epoch from '2026-06-09 16:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046395 -2.819213)'), GeomFromEWKT('SRID=4674;POINT (-40.046164 -2.819183)'))) / (select extract(epoch from '2026-06-09 16:17:34'::timestamp) - extract(epoch from '2026-06-09 16:17: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'), 46698, 'SRID=4674;POINT (-40.045945 -2.819166)', '2026-06-09 16:17:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046164 -2.819183)'), GeomFromEWKT('SRID=4674;POINT (-40.045945 -2.819166)'))) / (select extract(epoch from '2026-06-09 16:17:46'::timestamp) - extract(epoch from '2026-06-09 16:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046164 -2.819183)'), GeomFromEWKT('SRID=4674;POINT (-40.045945 -2.819166)'))) / (select extract(epoch from '2026-06-09 16:17:46'::timestamp) - extract(epoch from '2026-06-09 16:17: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'), 46698, 'SRID=4674;POINT (-40.045757 -2.819174)', '2026-06-09 16:17:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045945 -2.819166)'), GeomFromEWKT('SRID=4674;POINT (-40.045757 -2.819174)'))) / (select extract(epoch from '2026-06-09 16:17:56'::timestamp) - extract(epoch from '2026-06-09 16:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045945 -2.819166)'), GeomFromEWKT('SRID=4674;POINT (-40.045757 -2.819174)'))) / (select extract(epoch from '2026-06-09 16:17:56'::timestamp) - extract(epoch from '2026-06-09 16:17: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'), 46698, 'SRID=4674;POINT (-40.045513 -2.819183)', '2026-06-09 16:18:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045757 -2.819174)'), GeomFromEWKT('SRID=4674;POINT (-40.045513 -2.819183)'))) / (select extract(epoch from '2026-06-09 16:18:09'::timestamp) - extract(epoch from '2026-06-09 16:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045757 -2.819174)'), GeomFromEWKT('SRID=4674;POINT (-40.045513 -2.819183)'))) / (select extract(epoch from '2026-06-09 16:18:09'::timestamp) - extract(epoch from '2026-06-09 16:17: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'), 46698, 'SRID=4674;POINT (-40.045297 -2.819206)', '2026-06-09 16:18:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045513 -2.819183)'), GeomFromEWKT('SRID=4674;POINT (-40.045297 -2.819206)'))) / (select extract(epoch from '2026-06-09 16:18:20'::timestamp) - extract(epoch from '2026-06-09 16:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045513 -2.819183)'), GeomFromEWKT('SRID=4674;POINT (-40.045297 -2.819206)'))) / (select extract(epoch from '2026-06-09 16:18:20'::timestamp) - extract(epoch from '2026-06-09 16:18:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.045079 -2.819214)', '2026-06-09 16:18:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045297 -2.819206)'), GeomFromEWKT('SRID=4674;POINT (-40.045079 -2.819214)'))) / (select extract(epoch from '2026-06-09 16:18:31'::timestamp) - extract(epoch from '2026-06-09 16:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045297 -2.819206)'), GeomFromEWKT('SRID=4674;POINT (-40.045079 -2.819214)'))) / (select extract(epoch from '2026-06-09 16:18:31'::timestamp) - extract(epoch from '2026-06-09 16:18: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'), 46698, 'SRID=4674;POINT (-40.044882 -2.819187)', '2026-06-09 16:18:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045079 -2.819214)'), GeomFromEWKT('SRID=4674;POINT (-40.044882 -2.819187)'))) / (select extract(epoch from '2026-06-09 16:18:41'::timestamp) - extract(epoch from '2026-06-09 16:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045079 -2.819214)'), GeomFromEWKT('SRID=4674;POINT (-40.044882 -2.819187)'))) / (select extract(epoch from '2026-06-09 16:18:41'::timestamp) - extract(epoch from '2026-06-09 16:18: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'), 46698, 'SRID=4674;POINT (-40.044693 -2.819148)', '2026-06-09 16:18:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044882 -2.819187)'), GeomFromEWKT('SRID=4674;POINT (-40.044693 -2.819148)'))) / (select extract(epoch from '2026-06-09 16:18:51'::timestamp) - extract(epoch from '2026-06-09 16:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044882 -2.819187)'), GeomFromEWKT('SRID=4674;POINT (-40.044693 -2.819148)'))) / (select extract(epoch from '2026-06-09 16:18:51'::timestamp) - extract(epoch from '2026-06-09 16:18: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'), 46698, 'SRID=4674;POINT (-40.044503 -2.819173)', '2026-06-09 16:19:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044693 -2.819148)'), GeomFromEWKT('SRID=4674;POINT (-40.044503 -2.819173)'))) / (select extract(epoch from '2026-06-09 16:19:01'::timestamp) - extract(epoch from '2026-06-09 16:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044693 -2.819148)'), GeomFromEWKT('SRID=4674;POINT (-40.044503 -2.819173)'))) / (select extract(epoch from '2026-06-09 16:19:01'::timestamp) - extract(epoch from '2026-06-09 16:18: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'), 46698, 'SRID=4674;POINT (-40.044303 -2.819189)', '2026-06-09 16:19:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044503 -2.819173)'), GeomFromEWKT('SRID=4674;POINT (-40.044303 -2.819189)'))) / (select extract(epoch from '2026-06-09 16:19:11'::timestamp) - extract(epoch from '2026-06-09 16:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044503 -2.819173)'), GeomFromEWKT('SRID=4674;POINT (-40.044303 -2.819189)'))) / (select extract(epoch from '2026-06-09 16:19:11'::timestamp) - extract(epoch from '2026-06-09 16:19: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'), 46698, 'SRID=4674;POINT (-40.044128 -2.819224)', '2026-06-09 16:19:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044303 -2.819189)'), GeomFromEWKT('SRID=4674;POINT (-40.044128 -2.819224)'))) / (select extract(epoch from '2026-06-09 16:19:20'::timestamp) - extract(epoch from '2026-06-09 16:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044303 -2.819189)'), GeomFromEWKT('SRID=4674;POINT (-40.044128 -2.819224)'))) / (select extract(epoch from '2026-06-09 16:19:20'::timestamp) - extract(epoch from '2026-06-09 16:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.043917 -2.81928)', '2026-06-09 16:19:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044128 -2.819224)'), GeomFromEWKT('SRID=4674;POINT (-40.043917 -2.81928)'))) / (select extract(epoch from '2026-06-09 16:19:31'::timestamp) - extract(epoch from '2026-06-09 16:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044128 -2.819224)'), GeomFromEWKT('SRID=4674;POINT (-40.043917 -2.81928)'))) / (select extract(epoch from '2026-06-09 16:19:31'::timestamp) - extract(epoch from '2026-06-09 16:19: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'), 46698, 'SRID=4674;POINT (-40.043728 -2.819309)', '2026-06-09 16:19:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043917 -2.81928)'), GeomFromEWKT('SRID=4674;POINT (-40.043728 -2.819309)'))) / (select extract(epoch from '2026-06-09 16:19:41'::timestamp) - extract(epoch from '2026-06-09 16:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043917 -2.81928)'), GeomFromEWKT('SRID=4674;POINT (-40.043728 -2.819309)'))) / (select extract(epoch from '2026-06-09 16:19:41'::timestamp) - extract(epoch from '2026-06-09 16:19: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'), 46698, 'SRID=4674;POINT (-40.04356 -2.819345)', '2026-06-09 16:19:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043728 -2.819309)'), GeomFromEWKT('SRID=4674;POINT (-40.04356 -2.819345)'))) / (select extract(epoch from '2026-06-09 16:19:50'::timestamp) - extract(epoch from '2026-06-09 16:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043728 -2.819309)'), GeomFromEWKT('SRID=4674;POINT (-40.04356 -2.819345)'))) / (select extract(epoch from '2026-06-09 16:19:50'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.043382 -2.819403)', '2026-06-09 16:20:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04356 -2.819345)'), GeomFromEWKT('SRID=4674;POINT (-40.043382 -2.819403)'))) / (select extract(epoch from '2026-06-09 16:20:00'::timestamp) - extract(epoch from '2026-06-09 16:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04356 -2.819345)'), GeomFromEWKT('SRID=4674;POINT (-40.043382 -2.819403)'))) / (select extract(epoch from '2026-06-09 16:20:00'::timestamp) - extract(epoch from '2026-06-09 16:19:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.04324 -2.819446)', '2026-06-09 16:20:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043382 -2.819403)'), GeomFromEWKT('SRID=4674;POINT (-40.04324 -2.819446)'))) / (select extract(epoch from '2026-06-09 16:20:08'::timestamp) - extract(epoch from '2026-06-09 16:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043382 -2.819403)'), GeomFromEWKT('SRID=4674;POINT (-40.04324 -2.819446)'))) / (select extract(epoch from '2026-06-09 16:20:08'::timestamp) - extract(epoch from '2026-06-09 16:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.043075 -2.819475)', '2026-06-09 16:20:18', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04324 -2.819446)'), GeomFromEWKT('SRID=4674;POINT (-40.043075 -2.819475)'))) / (select extract(epoch from '2026-06-09 16:20:18'::timestamp) - extract(epoch from '2026-06-09 16:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04324 -2.819446)'), GeomFromEWKT('SRID=4674;POINT (-40.043075 -2.819475)'))) / (select extract(epoch from '2026-06-09 16:20:18'::timestamp) - extract(epoch from '2026-06-09 16:20: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'), 46698, 'SRID=4674;POINT (-40.042862 -2.819479)', '2026-06-09 16:20:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043075 -2.819475)'), GeomFromEWKT('SRID=4674;POINT (-40.042862 -2.819479)'))) / (select extract(epoch from '2026-06-09 16:20:30'::timestamp) - extract(epoch from '2026-06-09 16:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043075 -2.819475)'), GeomFromEWKT('SRID=4674;POINT (-40.042862 -2.819479)'))) / (select extract(epoch from '2026-06-09 16:20:30'::timestamp) - extract(epoch from '2026-06-09 16:20:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.042609 -2.819433)', '2026-06-09 16:20:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042862 -2.819479)'), GeomFromEWKT('SRID=4674;POINT (-40.042609 -2.819433)'))) / (select extract(epoch from '2026-06-09 16:20:43'::timestamp) - extract(epoch from '2026-06-09 16:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042862 -2.819479)'), GeomFromEWKT('SRID=4674;POINT (-40.042609 -2.819433)'))) / (select extract(epoch from '2026-06-09 16:20:43'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.042359 -2.819356)', '2026-06-09 16:20:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042609 -2.819433)'), GeomFromEWKT('SRID=4674;POINT (-40.042359 -2.819356)'))) / (select extract(epoch from '2026-06-09 16:20:56'::timestamp) - extract(epoch from '2026-06-09 16:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042609 -2.819433)'), GeomFromEWKT('SRID=4674;POINT (-40.042359 -2.819356)'))) / (select extract(epoch from '2026-06-09 16:20:56'::timestamp) - extract(epoch from '2026-06-09 16:20: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'), 46698, 'SRID=4674;POINT (-40.042091 -2.819298)', '2026-06-09 16:21:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042359 -2.819356)'), GeomFromEWKT('SRID=4674;POINT (-40.042091 -2.819298)'))) / (select extract(epoch from '2026-06-09 16:21:09'::timestamp) - extract(epoch from '2026-06-09 16:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042359 -2.819356)'), GeomFromEWKT('SRID=4674;POINT (-40.042091 -2.819298)'))) / (select extract(epoch from '2026-06-09 16:21:09'::timestamp) - extract(epoch from '2026-06-09 16:20: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'), 46698, 'SRID=4674;POINT (-40.041825 -2.819221)', '2026-06-09 16:21:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042091 -2.819298)'), GeomFromEWKT('SRID=4674;POINT (-40.041825 -2.819221)'))) / (select extract(epoch from '2026-06-09 16:21:22'::timestamp) - extract(epoch from '2026-06-09 16:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042091 -2.819298)'), GeomFromEWKT('SRID=4674;POINT (-40.041825 -2.819221)'))) / (select extract(epoch from '2026-06-09 16:21:22'::timestamp) - extract(epoch from '2026-06-09 16:21:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.041575 -2.819163)', '2026-06-09 16:21:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041825 -2.819221)'), GeomFromEWKT('SRID=4674;POINT (-40.041575 -2.819163)'))) / (select extract(epoch from '2026-06-09 16:21:34'::timestamp) - extract(epoch from '2026-06-09 16:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041825 -2.819221)'), GeomFromEWKT('SRID=4674;POINT (-40.041575 -2.819163)'))) / (select extract(epoch from '2026-06-09 16:21:34'::timestamp) - extract(epoch from '2026-06-09 16:21:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.041369 -2.819105)', '2026-06-09 16:21:44', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041575 -2.819163)'), GeomFromEWKT('SRID=4674;POINT (-40.041369 -2.819105)'))) / (select extract(epoch from '2026-06-09 16:21:44'::timestamp) - extract(epoch from '2026-06-09 16:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041575 -2.819163)'), GeomFromEWKT('SRID=4674;POINT (-40.041369 -2.819105)'))) / (select extract(epoch from '2026-06-09 16:21:44'::timestamp) - extract(epoch from '2026-06-09 16:21:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.041132 -2.819014)', '2026-06-09 16:21:56', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041369 -2.819105)'), GeomFromEWKT('SRID=4674;POINT (-40.041132 -2.819014)'))) / (select extract(epoch from '2026-06-09 16:21:56'::timestamp) - extract(epoch from '2026-06-09 16:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041369 -2.819105)'), GeomFromEWKT('SRID=4674;POINT (-40.041132 -2.819014)'))) / (select extract(epoch from '2026-06-09 16:21:56'::timestamp) - extract(epoch from '2026-06-09 16:21: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'), 46698, 'SRID=4674;POINT (-40.040984 -2.818949)', '2026-06-09 16:22:04', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041132 -2.819014)'), GeomFromEWKT('SRID=4674;POINT (-40.040984 -2.818949)'))) / (select extract(epoch from '2026-06-09 16:22:04'::timestamp) - extract(epoch from '2026-06-09 16:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041132 -2.819014)'), GeomFromEWKT('SRID=4674;POINT (-40.040984 -2.818949)'))) / (select extract(epoch from '2026-06-09 16:22:04'::timestamp) - extract(epoch from '2026-06-09 16:21: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'), 46698, 'SRID=4674;POINT (-40.040851 -2.818858)', '2026-06-09 16:22:13', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040984 -2.818949)'), GeomFromEWKT('SRID=4674;POINT (-40.040851 -2.818858)'))) / (select extract(epoch from '2026-06-09 16:22:13'::timestamp) - extract(epoch from '2026-06-09 16:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040984 -2.818949)'), GeomFromEWKT('SRID=4674;POINT (-40.040851 -2.818858)'))) / (select extract(epoch from '2026-06-09 16:22:13'::timestamp) - extract(epoch from '2026-06-09 16:22: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'), 46698, 'SRID=4674;POINT (-40.040691 -2.81878)', '2026-06-09 16:22:23', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040851 -2.818858)'), GeomFromEWKT('SRID=4674;POINT (-40.040691 -2.81878)'))) / (select extract(epoch from '2026-06-09 16:22:23'::timestamp) - extract(epoch from '2026-06-09 16:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040851 -2.818858)'), GeomFromEWKT('SRID=4674;POINT (-40.040691 -2.81878)'))) / (select extract(epoch from '2026-06-09 16:22:23'::timestamp) - extract(epoch from '2026-06-09 16:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.040502 -2.818713)', '2026-06-09 16:22:33', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040691 -2.81878)'), GeomFromEWKT('SRID=4674;POINT (-40.040502 -2.818713)'))) / (select extract(epoch from '2026-06-09 16:22:33'::timestamp) - extract(epoch from '2026-06-09 16:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040691 -2.81878)'), GeomFromEWKT('SRID=4674;POINT (-40.040502 -2.818713)'))) / (select extract(epoch from '2026-06-09 16:22:33'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.040228 -2.818664)', '2026-06-09 16:22:46', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040502 -2.818713)'), GeomFromEWKT('SRID=4674;POINT (-40.040228 -2.818664)'))) / (select extract(epoch from '2026-06-09 16:22:46'::timestamp) - extract(epoch from '2026-06-09 16:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040502 -2.818713)'), GeomFromEWKT('SRID=4674;POINT (-40.040228 -2.818664)'))) / (select extract(epoch from '2026-06-09 16:22:46'::timestamp) - extract(epoch from '2026-06-09 16:22:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.04 -2.818583)', '2026-06-09 16:22:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040228 -2.818664)'), GeomFromEWKT('SRID=4674;POINT (-40.04 -2.818583)'))) / (select extract(epoch from '2026-06-09 16:22:57'::timestamp) - extract(epoch from '2026-06-09 16:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040228 -2.818664)'), GeomFromEWKT('SRID=4674;POINT (-40.04 -2.818583)'))) / (select extract(epoch from '2026-06-09 16:22:57'::timestamp) - extract(epoch from '2026-06-09 16:22: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'), 46698, 'SRID=4674;POINT (-40.039793 -2.818508)', '2026-06-09 16:23:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04 -2.818583)'), GeomFromEWKT('SRID=4674;POINT (-40.039793 -2.818508)'))) / (select extract(epoch from '2026-06-09 16:23:07'::timestamp) - extract(epoch from '2026-06-09 16:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04 -2.818583)'), GeomFromEWKT('SRID=4674;POINT (-40.039793 -2.818508)'))) / (select extract(epoch from '2026-06-09 16:23:07'::timestamp) - extract(epoch from '2026-06-09 16:22:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.039541 -2.818441)', '2026-06-09 16:23:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039793 -2.818508)'), GeomFromEWKT('SRID=4674;POINT (-40.039541 -2.818441)'))) / (select extract(epoch from '2026-06-09 16:23:19'::timestamp) - extract(epoch from '2026-06-09 16:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039793 -2.818508)'), GeomFromEWKT('SRID=4674;POINT (-40.039541 -2.818441)'))) / (select extract(epoch from '2026-06-09 16:23:19'::timestamp) - extract(epoch from '2026-06-09 16:23: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'), 46698, 'SRID=4674;POINT (-40.039352 -2.818391)', '2026-06-09 16:23:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039541 -2.818441)'), GeomFromEWKT('SRID=4674;POINT (-40.039352 -2.818391)'))) / (select extract(epoch from '2026-06-09 16:23:28'::timestamp) - extract(epoch from '2026-06-09 16:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039541 -2.818441)'), GeomFromEWKT('SRID=4674;POINT (-40.039352 -2.818391)'))) / (select extract(epoch from '2026-06-09 16:23:28'::timestamp) - extract(epoch from '2026-06-09 16:23:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.039121 -2.818333)', '2026-06-09 16:23:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039352 -2.818391)'), GeomFromEWKT('SRID=4674;POINT (-40.039121 -2.818333)'))) / (select extract(epoch from '2026-06-09 16:23:39'::timestamp) - extract(epoch from '2026-06-09 16:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039352 -2.818391)'), GeomFromEWKT('SRID=4674;POINT (-40.039121 -2.818333)'))) / (select extract(epoch from '2026-06-09 16:23:39'::timestamp) - extract(epoch from '2026-06-09 16:23: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'), 46698, 'SRID=4674;POINT (-40.038915 -2.818269)', '2026-06-09 16:23:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039121 -2.818333)'), GeomFromEWKT('SRID=4674;POINT (-40.038915 -2.818269)'))) / (select extract(epoch from '2026-06-09 16:23:49'::timestamp) - extract(epoch from '2026-06-09 16:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039121 -2.818333)'), GeomFromEWKT('SRID=4674;POINT (-40.038915 -2.818269)'))) / (select extract(epoch from '2026-06-09 16:23:49'::timestamp) - extract(epoch from '2026-06-09 16:23: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'), 46698, 'SRID=4674;POINT (-40.038838 -2.818237)', '2026-06-09 16:23:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038915 -2.818269)'), GeomFromEWKT('SRID=4674;POINT (-40.038838 -2.818237)'))) / (select extract(epoch from '2026-06-09 16:23:53'::timestamp) - extract(epoch from '2026-06-09 16:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038915 -2.818269)'), GeomFromEWKT('SRID=4674;POINT (-40.038838 -2.818237)'))) / (select extract(epoch from '2026-06-09 16:23:53'::timestamp) - extract(epoch from '2026-06-09 16:23:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.038798 -2.818217)', '2026-06-09 16:23:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038838 -2.818237)'), GeomFromEWKT('SRID=4674;POINT (-40.038798 -2.818217)'))) / (select extract(epoch from '2026-06-09 16:23:55'::timestamp) - extract(epoch from '2026-06-09 16:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038838 -2.818237)'), GeomFromEWKT('SRID=4674;POINT (-40.038798 -2.818217)'))) / (select extract(epoch from '2026-06-09 16:23:55'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.038503 -2.81812)', '2026-06-09 16:24:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038798 -2.818217)'), GeomFromEWKT('SRID=4674;POINT (-40.038503 -2.81812)'))) / (select extract(epoch from '2026-06-09 16:24:09'::timestamp) - extract(epoch from '2026-06-09 16:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038798 -2.818217)'), GeomFromEWKT('SRID=4674;POINT (-40.038503 -2.81812)'))) / (select extract(epoch from '2026-06-09 16:24:09'::timestamp) - extract(epoch from '2026-06-09 16:23: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'), 46698, 'SRID=4674;POINT (-40.038246 -2.818043)', '2026-06-09 16:24:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038503 -2.81812)'), GeomFromEWKT('SRID=4674;POINT (-40.038246 -2.818043)'))) / (select extract(epoch from '2026-06-09 16:24:22'::timestamp) - extract(epoch from '2026-06-09 16:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038503 -2.81812)'), GeomFromEWKT('SRID=4674;POINT (-40.038246 -2.818043)'))) / (select extract(epoch from '2026-06-09 16:24:22'::timestamp) - extract(epoch from '2026-06-09 16:24:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.038079 -2.818006)', '2026-06-09 16:24:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038246 -2.818043)'), GeomFromEWKT('SRID=4674;POINT (-40.038079 -2.818006)'))) / (select extract(epoch from '2026-06-09 16:24:30'::timestamp) - extract(epoch from '2026-06-09 16:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038246 -2.818043)'), GeomFromEWKT('SRID=4674;POINT (-40.038079 -2.818006)'))) / (select extract(epoch from '2026-06-09 16:24:30'::timestamp) - extract(epoch from '2026-06-09 16:24:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.037846 -2.81795)', '2026-06-09 16:24:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038079 -2.818006)'), GeomFromEWKT('SRID=4674;POINT (-40.037846 -2.81795)'))) / (select extract(epoch from '2026-06-09 16:24:41'::timestamp) - extract(epoch from '2026-06-09 16:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.038079 -2.818006)'), GeomFromEWKT('SRID=4674;POINT (-40.037846 -2.81795)'))) / (select extract(epoch from '2026-06-09 16:24:41'::timestamp) - extract(epoch from '2026-06-09 16:24:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.03761 -2.817911)', '2026-06-09 16:24:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037846 -2.81795)'), GeomFromEWKT('SRID=4674;POINT (-40.03761 -2.817911)'))) / (select extract(epoch from '2026-06-09 16:24:52'::timestamp) - extract(epoch from '2026-06-09 16:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037846 -2.81795)'), GeomFromEWKT('SRID=4674;POINT (-40.03761 -2.817911)'))) / (select extract(epoch from '2026-06-09 16:24:52'::timestamp) - extract(epoch from '2026-06-09 16:24: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'), 46698, 'SRID=4674;POINT (-40.037418 -2.81787)', '2026-06-09 16:25:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03761 -2.817911)'), GeomFromEWKT('SRID=4674;POINT (-40.037418 -2.81787)'))) / (select extract(epoch from '2026-06-09 16:25:01'::timestamp) - extract(epoch from '2026-06-09 16:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03761 -2.817911)'), GeomFromEWKT('SRID=4674;POINT (-40.037418 -2.81787)'))) / (select extract(epoch from '2026-06-09 16:25:01'::timestamp) - extract(epoch from '2026-06-09 16:24: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'), 46698, 'SRID=4674;POINT (-40.037181 -2.817836)', '2026-06-09 16:25:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037418 -2.81787)'), GeomFromEWKT('SRID=4674;POINT (-40.037181 -2.817836)'))) / (select extract(epoch from '2026-06-09 16:25:12'::timestamp) - extract(epoch from '2026-06-09 16:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037418 -2.81787)'), GeomFromEWKT('SRID=4674;POINT (-40.037181 -2.817836)'))) / (select extract(epoch from '2026-06-09 16:25:12'::timestamp) - extract(epoch from '2026-06-09 16:25: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'), 46698, 'SRID=4674;POINT (-40.037005 -2.817827)', '2026-06-09 16:25:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037181 -2.817836)'), GeomFromEWKT('SRID=4674;POINT (-40.037005 -2.817827)'))) / (select extract(epoch from '2026-06-09 16:25:21'::timestamp) - extract(epoch from '2026-06-09 16:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037181 -2.817836)'), GeomFromEWKT('SRID=4674;POINT (-40.037005 -2.817827)'))) / (select extract(epoch from '2026-06-09 16:25:21'::timestamp) - extract(epoch from '2026-06-09 16:25:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.036883 -2.817767)', '2026-06-09 16:25:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037005 -2.817827)'), GeomFromEWKT('SRID=4674;POINT (-40.036883 -2.817767)'))) / (select extract(epoch from '2026-06-09 16:25:29'::timestamp) - extract(epoch from '2026-06-09 16:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.037005 -2.817827)'), GeomFromEWKT('SRID=4674;POINT (-40.036883 -2.817767)'))) / (select extract(epoch from '2026-06-09 16:25:29'::timestamp) - extract(epoch from '2026-06-09 16:25: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'), 46698, 'SRID=4674;POINT (-40.036755 -2.817715)', '2026-06-09 16:25:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036883 -2.817767)'), GeomFromEWKT('SRID=4674;POINT (-40.036755 -2.817715)'))) / (select extract(epoch from '2026-06-09 16:25:37'::timestamp) - extract(epoch from '2026-06-09 16:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036883 -2.817767)'), GeomFromEWKT('SRID=4674;POINT (-40.036755 -2.817715)'))) / (select extract(epoch from '2026-06-09 16:25:37'::timestamp) - extract(epoch from '2026-06-09 16:25:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.036593 -2.817606)', '2026-06-09 16:25:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036755 -2.817715)'), GeomFromEWKT('SRID=4674;POINT (-40.036593 -2.817606)'))) / (select extract(epoch from '2026-06-09 16:25:47'::timestamp) - extract(epoch from '2026-06-09 16:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036755 -2.817715)'), GeomFromEWKT('SRID=4674;POINT (-40.036593 -2.817606)'))) / (select extract(epoch from '2026-06-09 16:25:47'::timestamp) - extract(epoch from '2026-06-09 16:25: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'), 46698, 'SRID=4674;POINT (-40.036415 -2.817527)', '2026-06-09 16:25:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036593 -2.817606)'), GeomFromEWKT('SRID=4674;POINT (-40.036415 -2.817527)'))) / (select extract(epoch from '2026-06-09 16:25:57'::timestamp) - extract(epoch from '2026-06-09 16:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036593 -2.817606)'), GeomFromEWKT('SRID=4674;POINT (-40.036415 -2.817527)'))) / (select extract(epoch from '2026-06-09 16:25:57'::timestamp) - extract(epoch from '2026-06-09 16:25:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.036185 -2.817495)', '2026-06-09 16:26:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036415 -2.817527)'), GeomFromEWKT('SRID=4674;POINT (-40.036185 -2.817495)'))) / (select extract(epoch from '2026-06-09 16:26:08'::timestamp) - extract(epoch from '2026-06-09 16:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036415 -2.817527)'), GeomFromEWKT('SRID=4674;POINT (-40.036185 -2.817495)'))) / (select extract(epoch from '2026-06-09 16:26:08'::timestamp) - extract(epoch from '2026-06-09 16:25: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'), 46698, 'SRID=4674;POINT (-40.035978 -2.817506)', '2026-06-09 16:26:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036185 -2.817495)'), GeomFromEWKT('SRID=4674;POINT (-40.035978 -2.817506)'))) / (select extract(epoch from '2026-06-09 16:26:18'::timestamp) - extract(epoch from '2026-06-09 16:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.036185 -2.817495)'), GeomFromEWKT('SRID=4674;POINT (-40.035978 -2.817506)'))) / (select extract(epoch from '2026-06-09 16:26:18'::timestamp) - extract(epoch from '2026-06-09 16:26: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'), 46698, 'SRID=4674;POINT (-40.035798 -2.817518)', '2026-06-09 16:26:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035978 -2.817506)'), GeomFromEWKT('SRID=4674;POINT (-40.035798 -2.817518)'))) / (select extract(epoch from '2026-06-09 16:26:27'::timestamp) - extract(epoch from '2026-06-09 16:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035978 -2.817506)'), GeomFromEWKT('SRID=4674;POINT (-40.035798 -2.817518)'))) / (select extract(epoch from '2026-06-09 16:26:27'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.035623 -2.817563)', '2026-06-09 16:26:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035798 -2.817518)'), GeomFromEWKT('SRID=4674;POINT (-40.035623 -2.817563)'))) / (select extract(epoch from '2026-06-09 16:26:36'::timestamp) - extract(epoch from '2026-06-09 16:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035798 -2.817518)'), GeomFromEWKT('SRID=4674;POINT (-40.035623 -2.817563)'))) / (select extract(epoch from '2026-06-09 16:26:36'::timestamp) - extract(epoch from '2026-06-09 16:26:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.035443 -2.817579)', '2026-06-09 16:26:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035623 -2.817563)'), GeomFromEWKT('SRID=4674;POINT (-40.035443 -2.817579)'))) / (select extract(epoch from '2026-06-09 16:26:45'::timestamp) - extract(epoch from '2026-06-09 16:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035623 -2.817563)'), GeomFromEWKT('SRID=4674;POINT (-40.035443 -2.817579)'))) / (select extract(epoch from '2026-06-09 16:26:45'::timestamp) - extract(epoch from '2026-06-09 16:26: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'), 46698, 'SRID=4674;POINT (-40.035233 -2.817579)', '2026-06-09 16:26:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035443 -2.817579)'), GeomFromEWKT('SRID=4674;POINT (-40.035233 -2.817579)'))) / (select extract(epoch from '2026-06-09 16:26:55'::timestamp) - extract(epoch from '2026-06-09 16:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035443 -2.817579)'), GeomFromEWKT('SRID=4674;POINT (-40.035233 -2.817579)'))) / (select extract(epoch from '2026-06-09 16:26:55'::timestamp) - extract(epoch from '2026-06-09 16:26: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'), 46698, 'SRID=4674;POINT (-40.035023 -2.817579)', '2026-06-09 16:27:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035233 -2.817579)'), GeomFromEWKT('SRID=4674;POINT (-40.035023 -2.817579)'))) / (select extract(epoch from '2026-06-09 16:27:05'::timestamp) - extract(epoch from '2026-06-09 16:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035233 -2.817579)'), GeomFromEWKT('SRID=4674;POINT (-40.035023 -2.817579)'))) / (select extract(epoch from '2026-06-09 16:27:05'::timestamp) - extract(epoch from '2026-06-09 16:26:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.034843 -2.817581)', '2026-06-09 16:27:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035023 -2.817579)'), GeomFromEWKT('SRID=4674;POINT (-40.034843 -2.817581)'))) / (select extract(epoch from '2026-06-09 16:27:14'::timestamp) - extract(epoch from '2026-06-09 16:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035023 -2.817579)'), GeomFromEWKT('SRID=4674;POINT (-40.034843 -2.817581)'))) / (select extract(epoch from '2026-06-09 16:27:14'::timestamp) - extract(epoch from '2026-06-09 16:27:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.034604 -2.817577)', '2026-06-09 16:27:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034843 -2.817581)'), GeomFromEWKT('SRID=4674;POINT (-40.034604 -2.817577)'))) / (select extract(epoch from '2026-06-09 16:27:26'::timestamp) - extract(epoch from '2026-06-09 16:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034843 -2.817581)'), GeomFromEWKT('SRID=4674;POINT (-40.034604 -2.817577)'))) / (select extract(epoch from '2026-06-09 16:27:26'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.034426 -2.81759)', '2026-06-09 16:27:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034604 -2.817577)'), GeomFromEWKT('SRID=4674;POINT (-40.034426 -2.81759)'))) / (select extract(epoch from '2026-06-09 16:27:36'::timestamp) - extract(epoch from '2026-06-09 16:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034604 -2.817577)'), GeomFromEWKT('SRID=4674;POINT (-40.034426 -2.81759)'))) / (select extract(epoch from '2026-06-09 16:27:36'::timestamp) - extract(epoch from '2026-06-09 16:27: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'), 46698, 'SRID=4674;POINT (-40.034278 -2.817606)', '2026-06-09 16:27:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034426 -2.81759)'), GeomFromEWKT('SRID=4674;POINT (-40.034278 -2.817606)'))) / (select extract(epoch from '2026-06-09 16:27:44'::timestamp) - extract(epoch from '2026-06-09 16:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034426 -2.81759)'), GeomFromEWKT('SRID=4674;POINT (-40.034278 -2.817606)'))) / (select extract(epoch from '2026-06-09 16:27:44'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.034051 -2.817602)', '2026-06-09 16:27:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034278 -2.817606)'), GeomFromEWKT('SRID=4674;POINT (-40.034051 -2.817602)'))) / (select extract(epoch from '2026-06-09 16:27:56'::timestamp) - extract(epoch from '2026-06-09 16:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034278 -2.817606)'), GeomFromEWKT('SRID=4674;POINT (-40.034051 -2.817602)'))) / (select extract(epoch from '2026-06-09 16:27:56'::timestamp) - extract(epoch from '2026-06-09 16:27: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'), 46698, 'SRID=4674;POINT (-40.033852 -2.817591)', '2026-06-09 16:28:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034051 -2.817602)'), GeomFromEWKT('SRID=4674;POINT (-40.033852 -2.817591)'))) / (select extract(epoch from '2026-06-09 16:28:06'::timestamp) - extract(epoch from '2026-06-09 16:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034051 -2.817602)'), GeomFromEWKT('SRID=4674;POINT (-40.033852 -2.817591)'))) / (select extract(epoch from '2026-06-09 16:28:06'::timestamp) - extract(epoch from '2026-06-09 16:27:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.033663 -2.817608)', '2026-06-09 16:28:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033852 -2.817591)'), GeomFromEWKT('SRID=4674;POINT (-40.033663 -2.817608)'))) / (select extract(epoch from '2026-06-09 16:28:16'::timestamp) - extract(epoch from '2026-06-09 16:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033852 -2.817591)'), GeomFromEWKT('SRID=4674;POINT (-40.033663 -2.817608)'))) / (select extract(epoch from '2026-06-09 16:28:16'::timestamp) - extract(epoch from '2026-06-09 16:28: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'), 46698, 'SRID=4674;POINT (-40.03343 -2.817637)', '2026-06-09 16:28:28', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033663 -2.817608)'), GeomFromEWKT('SRID=4674;POINT (-40.03343 -2.817637)'))) / (select extract(epoch from '2026-06-09 16:28:28'::timestamp) - extract(epoch from '2026-06-09 16:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033663 -2.817608)'), GeomFromEWKT('SRID=4674;POINT (-40.03343 -2.817637)'))) / (select extract(epoch from '2026-06-09 16:28:28'::timestamp) - extract(epoch from '2026-06-09 16:28:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.033219 -2.817646)', '2026-06-09 16:28:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03343 -2.817637)'), GeomFromEWKT('SRID=4674;POINT (-40.033219 -2.817646)'))) / (select extract(epoch from '2026-06-09 16:28:39'::timestamp) - extract(epoch from '2026-06-09 16:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03343 -2.817637)'), GeomFromEWKT('SRID=4674;POINT (-40.033219 -2.817646)'))) / (select extract(epoch from '2026-06-09 16:28:39'::timestamp) - extract(epoch from '2026-06-09 16:28:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.033064 -2.817695)', '2026-06-09 16:28:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033219 -2.817646)'), GeomFromEWKT('SRID=4674;POINT (-40.033064 -2.817695)'))) / (select extract(epoch from '2026-06-09 16:28:48'::timestamp) - extract(epoch from '2026-06-09 16:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033219 -2.817646)'), GeomFromEWKT('SRID=4674;POINT (-40.033064 -2.817695)'))) / (select extract(epoch from '2026-06-09 16:28:48'::timestamp) - extract(epoch from '2026-06-09 16:28: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'), 46698, 'SRID=4674;POINT (-40.032877 -2.817716)', '2026-06-09 16:28:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033064 -2.817695)'), GeomFromEWKT('SRID=4674;POINT (-40.032877 -2.817716)'))) / (select extract(epoch from '2026-06-09 16:28:59'::timestamp) - extract(epoch from '2026-06-09 16:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033064 -2.817695)'), GeomFromEWKT('SRID=4674;POINT (-40.032877 -2.817716)'))) / (select extract(epoch from '2026-06-09 16:28:59'::timestamp) - extract(epoch from '2026-06-09 16:28: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'), 46698, 'SRID=4674;POINT (-40.032734 -2.817718)', '2026-06-09 16:29:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032877 -2.817716)'), GeomFromEWKT('SRID=4674;POINT (-40.032734 -2.817718)'))) / (select extract(epoch from '2026-06-09 16:29:07'::timestamp) - extract(epoch from '2026-06-09 16:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032877 -2.817716)'), GeomFromEWKT('SRID=4674;POINT (-40.032734 -2.817718)'))) / (select extract(epoch from '2026-06-09 16:29:07'::timestamp) - extract(epoch from '2026-06-09 16:28: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'), 46698, 'SRID=4674;POINT (-40.032549 -2.817758)', '2026-06-09 16:29:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032734 -2.817718)'), GeomFromEWKT('SRID=4674;POINT (-40.032549 -2.817758)'))) / (select extract(epoch from '2026-06-09 16:29:17'::timestamp) - extract(epoch from '2026-06-09 16:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032734 -2.817718)'), GeomFromEWKT('SRID=4674;POINT (-40.032549 -2.817758)'))) / (select extract(epoch from '2026-06-09 16:29:17'::timestamp) - extract(epoch from '2026-06-09 16:29: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'), 46698, 'SRID=4674;POINT (-40.032364 -2.817806)', '2026-06-09 16:29:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032549 -2.817758)'), GeomFromEWKT('SRID=4674;POINT (-40.032364 -2.817806)'))) / (select extract(epoch from '2026-06-09 16:29:27'::timestamp) - extract(epoch from '2026-06-09 16:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032549 -2.817758)'), GeomFromEWKT('SRID=4674;POINT (-40.032364 -2.817806)'))) / (select extract(epoch from '2026-06-09 16:29:27'::timestamp) - extract(epoch from '2026-06-09 16:29: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'), 46698, 'SRID=4674;POINT (-40.032156 -2.817797)', '2026-06-09 16:29:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032364 -2.817806)'), GeomFromEWKT('SRID=4674;POINT (-40.032156 -2.817797)'))) / (select extract(epoch from '2026-06-09 16:29:37'::timestamp) - extract(epoch from '2026-06-09 16:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032364 -2.817806)'), GeomFromEWKT('SRID=4674;POINT (-40.032156 -2.817797)'))) / (select extract(epoch from '2026-06-09 16:29:37'::timestamp) - extract(epoch from '2026-06-09 16:29: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'), 46698, 'SRID=4674;POINT (-40.031948 -2.817811)', '2026-06-09 16:29:47', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032156 -2.817797)'), GeomFromEWKT('SRID=4674;POINT (-40.031948 -2.817811)'))) / (select extract(epoch from '2026-06-09 16:29:47'::timestamp) - extract(epoch from '2026-06-09 16:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032156 -2.817797)'), GeomFromEWKT('SRID=4674;POINT (-40.031948 -2.817811)'))) / (select extract(epoch from '2026-06-09 16:29:47'::timestamp) - extract(epoch from '2026-06-09 16:29: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'), 46698, 'SRID=4674;POINT (-40.031779 -2.817807)', '2026-06-09 16:29:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031948 -2.817811)'), GeomFromEWKT('SRID=4674;POINT (-40.031779 -2.817807)'))) / (select extract(epoch from '2026-06-09 16:29:55'::timestamp) - extract(epoch from '2026-06-09 16:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031948 -2.817811)'), GeomFromEWKT('SRID=4674;POINT (-40.031779 -2.817807)'))) / (select extract(epoch from '2026-06-09 16:29:55'::timestamp) - extract(epoch from '2026-06-09 16:29:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.031552 -2.817822)', '2026-06-09 16:30:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031779 -2.817807)'), GeomFromEWKT('SRID=4674;POINT (-40.031552 -2.817822)'))) / (select extract(epoch from '2026-06-09 16:30:06'::timestamp) - extract(epoch from '2026-06-09 16:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031779 -2.817807)'), GeomFromEWKT('SRID=4674;POINT (-40.031552 -2.817822)'))) / (select extract(epoch from '2026-06-09 16:30:06'::timestamp) - extract(epoch from '2026-06-09 16:29: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'), 46698, 'SRID=4674;POINT (-40.031335 -2.817846)', '2026-06-09 16:30:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031552 -2.817822)'), GeomFromEWKT('SRID=4674;POINT (-40.031335 -2.817846)'))) / (select extract(epoch from '2026-06-09 16:30:16'::timestamp) - extract(epoch from '2026-06-09 16:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031552 -2.817822)'), GeomFromEWKT('SRID=4674;POINT (-40.031335 -2.817846)'))) / (select extract(epoch from '2026-06-09 16:30:16'::timestamp) - extract(epoch from '2026-06-09 16:30: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'), 46698, 'SRID=4674;POINT (-40.031101 -2.817905)', '2026-06-09 16:30:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031335 -2.817846)'), GeomFromEWKT('SRID=4674;POINT (-40.031101 -2.817905)'))) / (select extract(epoch from '2026-06-09 16:30:28'::timestamp) - extract(epoch from '2026-06-09 16:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031335 -2.817846)'), GeomFromEWKT('SRID=4674;POINT (-40.031101 -2.817905)'))) / (select extract(epoch from '2026-06-09 16:30:28'::timestamp) - extract(epoch from '2026-06-09 16:30: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'), 46698, 'SRID=4674;POINT (-40.030873 -2.817948)', '2026-06-09 16:30:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031101 -2.817905)'), GeomFromEWKT('SRID=4674;POINT (-40.030873 -2.817948)'))) / (select extract(epoch from '2026-06-09 16:30:39'::timestamp) - extract(epoch from '2026-06-09 16:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031101 -2.817905)'), GeomFromEWKT('SRID=4674;POINT (-40.030873 -2.817948)'))) / (select extract(epoch from '2026-06-09 16:30:39'::timestamp) - extract(epoch from '2026-06-09 16:30: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'), 46698, 'SRID=4674;POINT (-40.030691 -2.817995)', '2026-06-09 16:30:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030873 -2.817948)'), GeomFromEWKT('SRID=4674;POINT (-40.030691 -2.817995)'))) / (select extract(epoch from '2026-06-09 16:30:48'::timestamp) - extract(epoch from '2026-06-09 16:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030873 -2.817948)'), GeomFromEWKT('SRID=4674;POINT (-40.030691 -2.817995)'))) / (select extract(epoch from '2026-06-09 16:30:48'::timestamp) - extract(epoch from '2026-06-09 16:30: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'), 46698, 'SRID=4674;POINT (-40.030516 -2.818062)', '2026-06-09 16:30:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030691 -2.817995)'), GeomFromEWKT('SRID=4674;POINT (-40.030516 -2.818062)'))) / (select extract(epoch from '2026-06-09 16:30:57'::timestamp) - extract(epoch from '2026-06-09 16:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030691 -2.817995)'), GeomFromEWKT('SRID=4674;POINT (-40.030516 -2.818062)'))) / (select extract(epoch from '2026-06-09 16:30:57'::timestamp) - extract(epoch from '2026-06-09 16:30:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.030291 -2.818099)', '2026-06-09 16:31:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030516 -2.818062)'), GeomFromEWKT('SRID=4674;POINT (-40.030291 -2.818099)'))) / (select extract(epoch from '2026-06-09 16:31:08'::timestamp) - extract(epoch from '2026-06-09 16:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030516 -2.818062)'), GeomFromEWKT('SRID=4674;POINT (-40.030291 -2.818099)'))) / (select extract(epoch from '2026-06-09 16:31:08'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.030145 -2.81816)', '2026-06-09 16:31:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030291 -2.818099)'), GeomFromEWKT('SRID=4674;POINT (-40.030145 -2.81816)'))) / (select extract(epoch from '2026-06-09 16:31:16'::timestamp) - extract(epoch from '2026-06-09 16:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030291 -2.818099)'), GeomFromEWKT('SRID=4674;POINT (-40.030145 -2.81816)'))) / (select extract(epoch from '2026-06-09 16:31:16'::timestamp) - extract(epoch from '2026-06-09 16:31: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'), 46698, 'SRID=4674;POINT (-40.029962 -2.818272)', '2026-06-09 16:31:27', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030145 -2.81816)'), GeomFromEWKT('SRID=4674;POINT (-40.029962 -2.818272)'))) / (select extract(epoch from '2026-06-09 16:31:27'::timestamp) - extract(epoch from '2026-06-09 16:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.030145 -2.81816)'), GeomFromEWKT('SRID=4674;POINT (-40.029962 -2.818272)'))) / (select extract(epoch from '2026-06-09 16:31:27'::timestamp) - extract(epoch from '2026-06-09 16:31: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'), 46698, 'SRID=4674;POINT (-40.029796 -2.818339)', '2026-06-09 16:31:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029962 -2.818272)'), GeomFromEWKT('SRID=4674;POINT (-40.029796 -2.818339)'))) / (select extract(epoch from '2026-06-09 16:31:37'::timestamp) - extract(epoch from '2026-06-09 16:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029962 -2.818272)'), GeomFromEWKT('SRID=4674;POINT (-40.029796 -2.818339)'))) / (select extract(epoch from '2026-06-09 16:31:37'::timestamp) - extract(epoch from '2026-06-09 16:31: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'), 46698, 'SRID=4674;POINT (-40.029703 -2.818382)', '2026-06-09 16:31:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029796 -2.818339)'), GeomFromEWKT('SRID=4674;POINT (-40.029703 -2.818382)'))) / (select extract(epoch from '2026-06-09 16:31:44'::timestamp) - extract(epoch from '2026-06-09 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029796 -2.818339)'), GeomFromEWKT('SRID=4674;POINT (-40.029703 -2.818382)'))) / (select extract(epoch from '2026-06-09 16:31:44'::timestamp) - extract(epoch from '2026-06-09 16:31: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'), 46698, 'SRID=4674;POINT (-40.029619 -2.818427)', '2026-06-09 16:31:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029703 -2.818382)'), GeomFromEWKT('SRID=4674;POINT (-40.029619 -2.818427)'))) / (select extract(epoch from '2026-06-09 16:31:51'::timestamp) - extract(epoch from '2026-06-09 16:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029703 -2.818382)'), GeomFromEWKT('SRID=4674;POINT (-40.029619 -2.818427)'))) / (select extract(epoch from '2026-06-09 16:31:51'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.029507 -2.818478)', '2026-06-09 16:32:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029619 -2.818427)'), GeomFromEWKT('SRID=4674;POINT (-40.029507 -2.818478)'))) / (select extract(epoch from '2026-06-09 16:32:00'::timestamp) - extract(epoch from '2026-06-09 16:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029619 -2.818427)'), GeomFromEWKT('SRID=4674;POINT (-40.029507 -2.818478)'))) / (select extract(epoch from '2026-06-09 16:32:00'::timestamp) - extract(epoch from '2026-06-09 16:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.029375 -2.818516)', '2026-06-09 16:32:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029507 -2.818478)'), GeomFromEWKT('SRID=4674;POINT (-40.029375 -2.818516)'))) / (select extract(epoch from '2026-06-09 16:32:08'::timestamp) - extract(epoch from '2026-06-09 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029507 -2.818478)'), GeomFromEWKT('SRID=4674;POINT (-40.029375 -2.818516)'))) / (select extract(epoch from '2026-06-09 16:32:08'::timestamp) - extract(epoch from '2026-06-09 16:32: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'), 46698, 'SRID=4674;POINT (-40.029125 -2.818559)', '2026-06-09 16:32:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029375 -2.818516)'), GeomFromEWKT('SRID=4674;POINT (-40.029125 -2.818559)'))) / (select extract(epoch from '2026-06-09 16:32:21'::timestamp) - extract(epoch from '2026-06-09 16:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029375 -2.818516)'), GeomFromEWKT('SRID=4674;POINT (-40.029125 -2.818559)'))) / (select extract(epoch from '2026-06-09 16:32:21'::timestamp) - extract(epoch from '2026-06-09 16:32: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'), 46698, 'SRID=4674;POINT (-40.028921 -2.818617)', '2026-06-09 16:32:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029125 -2.818559)'), GeomFromEWKT('SRID=4674;POINT (-40.028921 -2.818617)'))) / (select extract(epoch from '2026-06-09 16:32:32'::timestamp) - extract(epoch from '2026-06-09 16:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029125 -2.818559)'), GeomFromEWKT('SRID=4674;POINT (-40.028921 -2.818617)'))) / (select extract(epoch from '2026-06-09 16:32:32'::timestamp) - extract(epoch from '2026-06-09 16:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.028699 -2.818709)', '2026-06-09 16:32:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028921 -2.818617)'), GeomFromEWKT('SRID=4674;POINT (-40.028699 -2.818709)'))) / (select extract(epoch from '2026-06-09 16:32:44'::timestamp) - extract(epoch from '2026-06-09 16:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028921 -2.818617)'), GeomFromEWKT('SRID=4674;POINT (-40.028699 -2.818709)'))) / (select extract(epoch from '2026-06-09 16:32:44'::timestamp) - extract(epoch from '2026-06-09 16:32: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'), 46698, 'SRID=4674;POINT (-40.028478 -2.818749)', '2026-06-09 16:32:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028699 -2.818709)'), GeomFromEWKT('SRID=4674;POINT (-40.028478 -2.818749)'))) / (select extract(epoch from '2026-06-09 16:32:56'::timestamp) - extract(epoch from '2026-06-09 16:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028699 -2.818709)'), GeomFromEWKT('SRID=4674;POINT (-40.028478 -2.818749)'))) / (select extract(epoch from '2026-06-09 16:32:56'::timestamp) - extract(epoch from '2026-06-09 16:32: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'), 46698, 'SRID=4674;POINT (-40.02829 -2.818773)', '2026-06-09 16:33:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028478 -2.818749)'), GeomFromEWKT('SRID=4674;POINT (-40.02829 -2.818773)'))) / (select extract(epoch from '2026-06-09 16:33:07'::timestamp) - extract(epoch from '2026-06-09 16:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028478 -2.818749)'), GeomFromEWKT('SRID=4674;POINT (-40.02829 -2.818773)'))) / (select extract(epoch from '2026-06-09 16:33:07'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.028063 -2.818815)', '2026-06-09 16:33:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02829 -2.818773)'), GeomFromEWKT('SRID=4674;POINT (-40.028063 -2.818815)'))) / (select extract(epoch from '2026-06-09 16:33:20'::timestamp) - extract(epoch from '2026-06-09 16:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02829 -2.818773)'), GeomFromEWKT('SRID=4674;POINT (-40.028063 -2.818815)'))) / (select extract(epoch from '2026-06-09 16:33:20'::timestamp) - extract(epoch from '2026-06-09 16:33: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'), 46698, 'SRID=4674;POINT (-40.027901 -2.818829)', '2026-06-09 16:33:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028063 -2.818815)'), GeomFromEWKT('SRID=4674;POINT (-40.027901 -2.818829)'))) / (select extract(epoch from '2026-06-09 16:33:29'::timestamp) - extract(epoch from '2026-06-09 16:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028063 -2.818815)'), GeomFromEWKT('SRID=4674;POINT (-40.027901 -2.818829)'))) / (select extract(epoch from '2026-06-09 16:33:29'::timestamp) - extract(epoch from '2026-06-09 16:33:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.027733 -2.818864)', '2026-06-09 16:33:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027901 -2.818829)'), GeomFromEWKT('SRID=4674;POINT (-40.027733 -2.818864)'))) / (select extract(epoch from '2026-06-09 16:33:39'::timestamp) - extract(epoch from '2026-06-09 16:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027901 -2.818829)'), GeomFromEWKT('SRID=4674;POINT (-40.027733 -2.818864)'))) / (select extract(epoch from '2026-06-09 16:33:39'::timestamp) - extract(epoch from '2026-06-09 16:33: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'), 46698, 'SRID=4674;POINT (-40.027599 -2.818896)', '2026-06-09 16:33:47', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027733 -2.818864)'), GeomFromEWKT('SRID=4674;POINT (-40.027599 -2.818896)'))) / (select extract(epoch from '2026-06-09 16:33:47'::timestamp) - extract(epoch from '2026-06-09 16:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027733 -2.818864)'), GeomFromEWKT('SRID=4674;POINT (-40.027599 -2.818896)'))) / (select extract(epoch from '2026-06-09 16:33:47'::timestamp) - extract(epoch from '2026-06-09 16:33: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'), 46698, 'SRID=4674;POINT (-40.027388 -2.818917)', '2026-06-09 16:33:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027599 -2.818896)'), GeomFromEWKT('SRID=4674;POINT (-40.027388 -2.818917)'))) / (select extract(epoch from '2026-06-09 16:33:59'::timestamp) - extract(epoch from '2026-06-09 16:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027599 -2.818896)'), GeomFromEWKT('SRID=4674;POINT (-40.027388 -2.818917)'))) / (select extract(epoch from '2026-06-09 16:33:59'::timestamp) - extract(epoch from '2026-06-09 16:33: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'), 46698, 'SRID=4674;POINT (-40.027149 -2.818943)', '2026-06-09 16:34:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027388 -2.818917)'), GeomFromEWKT('SRID=4674;POINT (-40.027149 -2.818943)'))) / (select extract(epoch from '2026-06-09 16:34:12'::timestamp) - extract(epoch from '2026-06-09 16:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027388 -2.818917)'), GeomFromEWKT('SRID=4674;POINT (-40.027149 -2.818943)'))) / (select extract(epoch from '2026-06-09 16:34:12'::timestamp) - extract(epoch from '2026-06-09 16:33: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'), 46698, 'SRID=4674;POINT (-40.026959 -2.818972)', '2026-06-09 16:34:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027149 -2.818943)'), GeomFromEWKT('SRID=4674;POINT (-40.026959 -2.818972)'))) / (select extract(epoch from '2026-06-09 16:34:23'::timestamp) - extract(epoch from '2026-06-09 16:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027149 -2.818943)'), GeomFromEWKT('SRID=4674;POINT (-40.026959 -2.818972)'))) / (select extract(epoch from '2026-06-09 16:34:23'::timestamp) - extract(epoch from '2026-06-09 16:34:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.026704 -2.819011)', '2026-06-09 16:34:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026959 -2.818972)'), GeomFromEWKT('SRID=4674;POINT (-40.026704 -2.819011)'))) / (select extract(epoch from '2026-06-09 16:34:37'::timestamp) - extract(epoch from '2026-06-09 16:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026959 -2.818972)'), GeomFromEWKT('SRID=4674;POINT (-40.026704 -2.819011)'))) / (select extract(epoch from '2026-06-09 16:34:37'::timestamp) - extract(epoch from '2026-06-09 16:34: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'), 46698, 'SRID=4674;POINT (-40.026518 -2.819056)', '2026-06-09 16:34:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026704 -2.819011)'), GeomFromEWKT('SRID=4674;POINT (-40.026518 -2.819056)'))) / (select extract(epoch from '2026-06-09 16:34:48'::timestamp) - extract(epoch from '2026-06-09 16:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026704 -2.819011)'), GeomFromEWKT('SRID=4674;POINT (-40.026518 -2.819056)'))) / (select extract(epoch from '2026-06-09 16:34:48'::timestamp) - extract(epoch from '2026-06-09 16:34: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'), 46698, 'SRID=4674;POINT (-40.026383 -2.819094)', '2026-06-09 16:34:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026518 -2.819056)'), GeomFromEWKT('SRID=4674;POINT (-40.026383 -2.819094)'))) / (select extract(epoch from '2026-06-09 16:34:56'::timestamp) - extract(epoch from '2026-06-09 16:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026518 -2.819056)'), GeomFromEWKT('SRID=4674;POINT (-40.026383 -2.819094)'))) / (select extract(epoch from '2026-06-09 16:34:56'::timestamp) - extract(epoch from '2026-06-09 16:34: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'), 46698, 'SRID=4674;POINT (-40.026181 -2.81915)', '2026-06-09 16:35:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026383 -2.819094)'), GeomFromEWKT('SRID=4674;POINT (-40.026181 -2.81915)'))) / (select extract(epoch from '2026-06-09 16:35:08'::timestamp) - extract(epoch from '2026-06-09 16:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026383 -2.819094)'), GeomFromEWKT('SRID=4674;POINT (-40.026181 -2.81915)'))) / (select extract(epoch from '2026-06-09 16:35:08'::timestamp) - extract(epoch from '2026-06-09 16:34:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.025973 -2.819208)', '2026-06-09 16:35:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026181 -2.81915)'), GeomFromEWKT('SRID=4674;POINT (-40.025973 -2.819208)'))) / (select extract(epoch from '2026-06-09 16:35:20'::timestamp) - extract(epoch from '2026-06-09 16:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026181 -2.81915)'), GeomFromEWKT('SRID=4674;POINT (-40.025973 -2.819208)'))) / (select extract(epoch from '2026-06-09 16:35:20'::timestamp) - extract(epoch from '2026-06-09 16:35: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'), 46698, 'SRID=4674;POINT (-40.025817 -2.819264)', '2026-06-09 16:35:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025973 -2.819208)'), GeomFromEWKT('SRID=4674;POINT (-40.025817 -2.819264)'))) / (select extract(epoch from '2026-06-09 16:35:30'::timestamp) - extract(epoch from '2026-06-09 16:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025973 -2.819208)'), GeomFromEWKT('SRID=4674;POINT (-40.025817 -2.819264)'))) / (select extract(epoch from '2026-06-09 16:35:30'::timestamp) - extract(epoch from '2026-06-09 16:35: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'), 46698, 'SRID=4674;POINT (-40.025707 -2.819301)', '2026-06-09 16:35:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025817 -2.819264)'), GeomFromEWKT('SRID=4674;POINT (-40.025707 -2.819301)'))) / (select extract(epoch from '2026-06-09 16:35:40'::timestamp) - extract(epoch from '2026-06-09 16:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025817 -2.819264)'), GeomFromEWKT('SRID=4674;POINT (-40.025707 -2.819301)'))) / (select extract(epoch from '2026-06-09 16:35:40'::timestamp) - extract(epoch from '2026-06-09 16:35: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'), 46698, 'SRID=4674;POINT (-40.025632 -2.819322)', '2026-06-09 16:35:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025707 -2.819301)'), GeomFromEWKT('SRID=4674;POINT (-40.025632 -2.819322)'))) / (select extract(epoch from '2026-06-09 16:35:50'::timestamp) - extract(epoch from '2026-06-09 16:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025707 -2.819301)'), GeomFromEWKT('SRID=4674;POINT (-40.025632 -2.819322)'))) / (select extract(epoch from '2026-06-09 16:35:50'::timestamp) - extract(epoch from '2026-06-09 16:35:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.025495 -2.819366)', '2026-06-09 16:36:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025632 -2.819322)'), GeomFromEWKT('SRID=4674;POINT (-40.025495 -2.819366)'))) / (select extract(epoch from '2026-06-09 16:36:07'::timestamp) - extract(epoch from '2026-06-09 16:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025632 -2.819322)'), GeomFromEWKT('SRID=4674;POINT (-40.025495 -2.819366)'))) / (select extract(epoch from '2026-06-09 16:36:07'::timestamp) - extract(epoch from '2026-06-09 16:35:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.02534 -2.819379)', '2026-06-09 16:36:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025495 -2.819366)'), GeomFromEWKT('SRID=4674;POINT (-40.02534 -2.819379)'))) / (select extract(epoch from '2026-06-09 16:36:21'::timestamp) - extract(epoch from '2026-06-09 16:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025495 -2.819366)'), GeomFromEWKT('SRID=4674;POINT (-40.02534 -2.819379)'))) / (select extract(epoch from '2026-06-09 16:36:21'::timestamp) - extract(epoch from '2026-06-09 16:36:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.025259 -2.819385)', '2026-06-09 16:36:32', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02534 -2.819379)'), GeomFromEWKT('SRID=4674;POINT (-40.025259 -2.819385)'))) / (select extract(epoch from '2026-06-09 16:36:32'::timestamp) - extract(epoch from '2026-06-09 16:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02534 -2.819379)'), GeomFromEWKT('SRID=4674;POINT (-40.025259 -2.819385)'))) / (select extract(epoch from '2026-06-09 16:36:32'::timestamp) - extract(epoch from '2026-06-09 16:36: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'), 46698, 'SRID=4674;POINT (-40.025146 -2.819441)', '2026-06-09 16:36:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025259 -2.819385)'), GeomFromEWKT('SRID=4674;POINT (-40.025146 -2.819441)'))) / (select extract(epoch from '2026-06-09 16:36:43'::timestamp) - extract(epoch from '2026-06-09 16:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025259 -2.819385)'), GeomFromEWKT('SRID=4674;POINT (-40.025146 -2.819441)'))) / (select extract(epoch from '2026-06-09 16:36:43'::timestamp) - extract(epoch from '2026-06-09 16:36:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.025019 -2.819497)', '2026-06-09 16:36:53', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025146 -2.819441)'), GeomFromEWKT('SRID=4674;POINT (-40.025019 -2.819497)'))) / (select extract(epoch from '2026-06-09 16:36:53'::timestamp) - extract(epoch from '2026-06-09 16:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025146 -2.819441)'), GeomFromEWKT('SRID=4674;POINT (-40.025019 -2.819497)'))) / (select extract(epoch from '2026-06-09 16:36:53'::timestamp) - extract(epoch from '2026-06-09 16:36:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.024927 -2.819586)', '2026-06-09 16:37:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025019 -2.819497)'), GeomFromEWKT('SRID=4674;POINT (-40.024927 -2.819586)'))) / (select extract(epoch from '2026-06-09 16:37:02'::timestamp) - extract(epoch from '2026-06-09 16:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025019 -2.819497)'), GeomFromEWKT('SRID=4674;POINT (-40.024927 -2.819586)'))) / (select extract(epoch from '2026-06-09 16:37:02'::timestamp) - extract(epoch from '2026-06-09 16:36:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.024843 -2.819668)', '2026-06-09 16:37:11', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024927 -2.819586)'), GeomFromEWKT('SRID=4674;POINT (-40.024843 -2.819668)'))) / (select extract(epoch from '2026-06-09 16:37:11'::timestamp) - extract(epoch from '2026-06-09 16:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024927 -2.819586)'), GeomFromEWKT('SRID=4674;POINT (-40.024843 -2.819668)'))) / (select extract(epoch from '2026-06-09 16:37:11'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.024714 -2.819771)', '2026-06-09 16:37:22', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024843 -2.819668)'), GeomFromEWKT('SRID=4674;POINT (-40.024714 -2.819771)'))) / (select extract(epoch from '2026-06-09 16:37:22'::timestamp) - extract(epoch from '2026-06-09 16:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024843 -2.819668)'), GeomFromEWKT('SRID=4674;POINT (-40.024714 -2.819771)'))) / (select extract(epoch from '2026-06-09 16:37:22'::timestamp) - extract(epoch from '2026-06-09 16:37: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'), 46698, 'SRID=4674;POINT (-40.024605 -2.81984)', '2026-06-09 16:37:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024714 -2.819771)'), GeomFromEWKT('SRID=4674;POINT (-40.024605 -2.81984)'))) / (select extract(epoch from '2026-06-09 16:37:32'::timestamp) - extract(epoch from '2026-06-09 16:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024714 -2.819771)'), GeomFromEWKT('SRID=4674;POINT (-40.024605 -2.81984)'))) / (select extract(epoch from '2026-06-09 16:37:32'::timestamp) - extract(epoch from '2026-06-09 16:37: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'), 46698, 'SRID=4674;POINT (-40.024474 -2.819924)', '2026-06-09 16:37:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024605 -2.81984)'), GeomFromEWKT('SRID=4674;POINT (-40.024474 -2.819924)'))) / (select extract(epoch from '2026-06-09 16:37:43'::timestamp) - extract(epoch from '2026-06-09 16:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024605 -2.81984)'), GeomFromEWKT('SRID=4674;POINT (-40.024474 -2.819924)'))) / (select extract(epoch from '2026-06-09 16:37:43'::timestamp) - extract(epoch from '2026-06-09 16:37: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'), 46698, 'SRID=4674;POINT (-40.024343 -2.820022)', '2026-06-09 16:37:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024474 -2.819924)'), GeomFromEWKT('SRID=4674;POINT (-40.024343 -2.820022)'))) / (select extract(epoch from '2026-06-09 16:37:53'::timestamp) - extract(epoch from '2026-06-09 16:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024474 -2.819924)'), GeomFromEWKT('SRID=4674;POINT (-40.024343 -2.820022)'))) / (select extract(epoch from '2026-06-09 16:37:53'::timestamp) - extract(epoch from '2026-06-09 16:37:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.024207 -2.820115)', '2026-06-09 16:38:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024343 -2.820022)'), GeomFromEWKT('SRID=4674;POINT (-40.024207 -2.820115)'))) / (select extract(epoch from '2026-06-09 16:38:02'::timestamp) - extract(epoch from '2026-06-09 16:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024343 -2.820022)'), GeomFromEWKT('SRID=4674;POINT (-40.024207 -2.820115)'))) / (select extract(epoch from '2026-06-09 16:38:02'::timestamp) - extract(epoch from '2026-06-09 16:37: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'), 46698, 'SRID=4674;POINT (-40.024092 -2.820214)', '2026-06-09 16:38:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024207 -2.820115)'), GeomFromEWKT('SRID=4674;POINT (-40.024092 -2.820214)'))) / (select extract(epoch from '2026-06-09 16:38:10'::timestamp) - extract(epoch from '2026-06-09 16:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024207 -2.820115)'), GeomFromEWKT('SRID=4674;POINT (-40.024092 -2.820214)'))) / (select extract(epoch from '2026-06-09 16:38:10'::timestamp) - extract(epoch from '2026-06-09 16:38: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'), 46698, 'SRID=4674;POINT (-40.023934 -2.820333)', '2026-06-09 16:38:21', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024092 -2.820214)'), GeomFromEWKT('SRID=4674;POINT (-40.023934 -2.820333)'))) / (select extract(epoch from '2026-06-09 16:38:21'::timestamp) - extract(epoch from '2026-06-09 16:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024092 -2.820214)'), GeomFromEWKT('SRID=4674;POINT (-40.023934 -2.820333)'))) / (select extract(epoch from '2026-06-09 16:38:21'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.0238 -2.820435)', '2026-06-09 16:38:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023934 -2.820333)'), GeomFromEWKT('SRID=4674;POINT (-40.0238 -2.820435)'))) / (select extract(epoch from '2026-06-09 16:38:30'::timestamp) - extract(epoch from '2026-06-09 16:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023934 -2.820333)'), GeomFromEWKT('SRID=4674;POINT (-40.0238 -2.820435)'))) / (select extract(epoch from '2026-06-09 16:38:30'::timestamp) - extract(epoch from '2026-06-09 16:38:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.023641 -2.820543)', '2026-06-09 16:38:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0238 -2.820435)'), GeomFromEWKT('SRID=4674;POINT (-40.023641 -2.820543)'))) / (select extract(epoch from '2026-06-09 16:38:40'::timestamp) - extract(epoch from '2026-06-09 16:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0238 -2.820435)'), GeomFromEWKT('SRID=4674;POINT (-40.023641 -2.820543)'))) / (select extract(epoch from '2026-06-09 16:38:40'::timestamp) - extract(epoch from '2026-06-09 16:38:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.023509 -2.820643)', '2026-06-09 16:38:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023641 -2.820543)'), GeomFromEWKT('SRID=4674;POINT (-40.023509 -2.820643)'))) / (select extract(epoch from '2026-06-09 16:38:49'::timestamp) - extract(epoch from '2026-06-09 16:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023641 -2.820543)'), GeomFromEWKT('SRID=4674;POINT (-40.023509 -2.820643)'))) / (select extract(epoch from '2026-06-09 16:38:49'::timestamp) - extract(epoch from '2026-06-09 16:38: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'), 46698, 'SRID=4674;POINT (-40.02339 -2.820736)', '2026-06-09 16:38:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023509 -2.820643)'), GeomFromEWKT('SRID=4674;POINT (-40.02339 -2.820736)'))) / (select extract(epoch from '2026-06-09 16:38:57'::timestamp) - extract(epoch from '2026-06-09 16:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023509 -2.820643)'), GeomFromEWKT('SRID=4674;POINT (-40.02339 -2.820736)'))) / (select extract(epoch from '2026-06-09 16:38:57'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.023234 -2.820835)', '2026-06-09 16:39:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02339 -2.820736)'), GeomFromEWKT('SRID=4674;POINT (-40.023234 -2.820835)'))) / (select extract(epoch from '2026-06-09 16:39:06'::timestamp) - extract(epoch from '2026-06-09 16:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02339 -2.820736)'), GeomFromEWKT('SRID=4674;POINT (-40.023234 -2.820835)'))) / (select extract(epoch from '2026-06-09 16:39:06'::timestamp) - extract(epoch from '2026-06-09 16:38:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.023077 -2.82093)', '2026-06-09 16:39:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023234 -2.820835)'), GeomFromEWKT('SRID=4674;POINT (-40.023077 -2.82093)'))) / (select extract(epoch from '2026-06-09 16:39:15'::timestamp) - extract(epoch from '2026-06-09 16:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023234 -2.820835)'), GeomFromEWKT('SRID=4674;POINT (-40.023077 -2.82093)'))) / (select extract(epoch from '2026-06-09 16:39:15'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.022923 -2.82102)', '2026-06-09 16:39:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023077 -2.82093)'), GeomFromEWKT('SRID=4674;POINT (-40.022923 -2.82102)'))) / (select extract(epoch from '2026-06-09 16:39:24'::timestamp) - extract(epoch from '2026-06-09 16:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023077 -2.82093)'), GeomFromEWKT('SRID=4674;POINT (-40.022923 -2.82102)'))) / (select extract(epoch from '2026-06-09 16:39:24'::timestamp) - extract(epoch from '2026-06-09 16:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.022767 -2.82111)', '2026-06-09 16:39:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022923 -2.82102)'), GeomFromEWKT('SRID=4674;POINT (-40.022767 -2.82111)'))) / (select extract(epoch from '2026-06-09 16:39:33'::timestamp) - extract(epoch from '2026-06-09 16:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022923 -2.82102)'), GeomFromEWKT('SRID=4674;POINT (-40.022767 -2.82111)'))) / (select extract(epoch from '2026-06-09 16:39:33'::timestamp) - extract(epoch from '2026-06-09 16:39: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'), 46698, 'SRID=4674;POINT (-40.02261 -2.821206)', '2026-06-09 16:39:42', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022767 -2.82111)'), GeomFromEWKT('SRID=4674;POINT (-40.02261 -2.821206)'))) / (select extract(epoch from '2026-06-09 16:39:42'::timestamp) - extract(epoch from '2026-06-09 16:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022767 -2.82111)'), GeomFromEWKT('SRID=4674;POINT (-40.02261 -2.821206)'))) / (select extract(epoch from '2026-06-09 16:39:42'::timestamp) - extract(epoch from '2026-06-09 16:39: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'), 46698, 'SRID=4674;POINT (-40.02241 -2.821326)', '2026-06-09 16:39:53', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02261 -2.821206)'), GeomFromEWKT('SRID=4674;POINT (-40.02241 -2.821326)'))) / (select extract(epoch from '2026-06-09 16:39:53'::timestamp) - extract(epoch from '2026-06-09 16:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02261 -2.821206)'), GeomFromEWKT('SRID=4674;POINT (-40.02241 -2.821326)'))) / (select extract(epoch from '2026-06-09 16:39:53'::timestamp) - extract(epoch from '2026-06-09 16:39: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'), 46698, 'SRID=4674;POINT (-40.022234 -2.821437)', '2026-06-09 16:40:03', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02241 -2.821326)'), GeomFromEWKT('SRID=4674;POINT (-40.022234 -2.821437)'))) / (select extract(epoch from '2026-06-09 16:40:03'::timestamp) - extract(epoch from '2026-06-09 16:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02241 -2.821326)'), GeomFromEWKT('SRID=4674;POINT (-40.022234 -2.821437)'))) / (select extract(epoch from '2026-06-09 16:40:03'::timestamp) - extract(epoch from '2026-06-09 16:39:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.02205 -2.821557)', '2026-06-09 16:40:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022234 -2.821437)'), GeomFromEWKT('SRID=4674;POINT (-40.02205 -2.821557)'))) / (select extract(epoch from '2026-06-09 16:40:15'::timestamp) - extract(epoch from '2026-06-09 16:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022234 -2.821437)'), GeomFromEWKT('SRID=4674;POINT (-40.02205 -2.821557)'))) / (select extract(epoch from '2026-06-09 16:40:15'::timestamp) - extract(epoch from '2026-06-09 16:40:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.021878 -2.821701)', '2026-06-09 16:40:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02205 -2.821557)'), GeomFromEWKT('SRID=4674;POINT (-40.021878 -2.821701)'))) / (select extract(epoch from '2026-06-09 16:40:27'::timestamp) - extract(epoch from '2026-06-09 16:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02205 -2.821557)'), GeomFromEWKT('SRID=4674;POINT (-40.021878 -2.821701)'))) / (select extract(epoch from '2026-06-09 16:40:27'::timestamp) - extract(epoch from '2026-06-09 16:40: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'), 46698, 'SRID=4674;POINT (-40.021753 -2.821794)', '2026-06-09 16:40:35', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021878 -2.821701)'), GeomFromEWKT('SRID=4674;POINT (-40.021753 -2.821794)'))) / (select extract(epoch from '2026-06-09 16:40:35'::timestamp) - extract(epoch from '2026-06-09 16:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021878 -2.821701)'), GeomFromEWKT('SRID=4674;POINT (-40.021753 -2.821794)'))) / (select extract(epoch from '2026-06-09 16:40:35'::timestamp) - extract(epoch from '2026-06-09 16:40: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'), 46698, 'SRID=4674;POINT (-40.021631 -2.821871)', '2026-06-09 16:40:43', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021753 -2.821794)'), GeomFromEWKT('SRID=4674;POINT (-40.021631 -2.821871)'))) / (select extract(epoch from '2026-06-09 16:40:43'::timestamp) - extract(epoch from '2026-06-09 16:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021753 -2.821794)'), GeomFromEWKT('SRID=4674;POINT (-40.021631 -2.821871)'))) / (select extract(epoch from '2026-06-09 16:40:43'::timestamp) - extract(epoch from '2026-06-09 16:40: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'), 46698, 'SRID=4674;POINT (-40.021454 -2.82197)', '2026-06-09 16:40:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021631 -2.821871)'), GeomFromEWKT('SRID=4674;POINT (-40.021454 -2.82197)'))) / (select extract(epoch from '2026-06-09 16:40:54'::timestamp) - extract(epoch from '2026-06-09 16:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021631 -2.821871)'), GeomFromEWKT('SRID=4674;POINT (-40.021454 -2.82197)'))) / (select extract(epoch from '2026-06-09 16:40:54'::timestamp) - extract(epoch from '2026-06-09 16:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.02128 -2.822052)', '2026-06-09 16:41:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021454 -2.82197)'), GeomFromEWKT('SRID=4674;POINT (-40.02128 -2.822052)'))) / (select extract(epoch from '2026-06-09 16:41:04'::timestamp) - extract(epoch from '2026-06-09 16:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021454 -2.82197)'), GeomFromEWKT('SRID=4674;POINT (-40.02128 -2.822052)'))) / (select extract(epoch from '2026-06-09 16:41:04'::timestamp) - extract(epoch from '2026-06-09 16:40:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.02112 -2.822129)', '2026-06-09 16:41:14', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02128 -2.822052)'), GeomFromEWKT('SRID=4674;POINT (-40.02112 -2.822129)'))) / (select extract(epoch from '2026-06-09 16:41:14'::timestamp) - extract(epoch from '2026-06-09 16:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02128 -2.822052)'), GeomFromEWKT('SRID=4674;POINT (-40.02112 -2.822129)'))) / (select extract(epoch from '2026-06-09 16:41:14'::timestamp) - extract(epoch from '2026-06-09 16:41:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020948 -2.822234)', '2026-06-09 16:41:25', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02112 -2.822129)'), GeomFromEWKT('SRID=4674;POINT (-40.020948 -2.822234)'))) / (select extract(epoch from '2026-06-09 16:41:25'::timestamp) - extract(epoch from '2026-06-09 16:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02112 -2.822129)'), GeomFromEWKT('SRID=4674;POINT (-40.020948 -2.822234)'))) / (select extract(epoch from '2026-06-09 16:41:25'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.020784 -2.822321)', '2026-06-09 16:41:35', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020948 -2.822234)'), GeomFromEWKT('SRID=4674;POINT (-40.020784 -2.822321)'))) / (select extract(epoch from '2026-06-09 16:41:35'::timestamp) - extract(epoch from '2026-06-09 16:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020948 -2.822234)'), GeomFromEWKT('SRID=4674;POINT (-40.020784 -2.822321)'))) / (select extract(epoch from '2026-06-09 16:41:35'::timestamp) - extract(epoch from '2026-06-09 16:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020593 -2.822409)', '2026-06-09 16:41:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020784 -2.822321)'), GeomFromEWKT('SRID=4674;POINT (-40.020593 -2.822409)'))) / (select extract(epoch from '2026-06-09 16:41:46'::timestamp) - extract(epoch from '2026-06-09 16:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020784 -2.822321)'), GeomFromEWKT('SRID=4674;POINT (-40.020593 -2.822409)'))) / (select extract(epoch from '2026-06-09 16:41:46'::timestamp) - extract(epoch from '2026-06-09 16:41: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'), 46698, 'SRID=4674;POINT (-40.020432 -2.822466)', '2026-06-09 16:41:55', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020593 -2.822409)'), GeomFromEWKT('SRID=4674;POINT (-40.020432 -2.822466)'))) / (select extract(epoch from '2026-06-09 16:41:55'::timestamp) - extract(epoch from '2026-06-09 16:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020593 -2.822409)'), GeomFromEWKT('SRID=4674;POINT (-40.020432 -2.822466)'))) / (select extract(epoch from '2026-06-09 16:41:55'::timestamp) - extract(epoch from '2026-06-09 16:41: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'), 46698, 'SRID=4674;POINT (-40.020313 -2.822543)', '2026-06-09 16:42:03', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020432 -2.822466)'), GeomFromEWKT('SRID=4674;POINT (-40.020313 -2.822543)'))) / (select extract(epoch from '2026-06-09 16:42:03'::timestamp) - extract(epoch from '2026-06-09 16:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020432 -2.822466)'), GeomFromEWKT('SRID=4674;POINT (-40.020313 -2.822543)'))) / (select extract(epoch from '2026-06-09 16:42:03'::timestamp) - extract(epoch from '2026-06-09 16:41: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'), 46698, 'SRID=4674;POINT (-40.020187 -2.822598)', '2026-06-09 16:42:12', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020313 -2.822543)'), GeomFromEWKT('SRID=4674;POINT (-40.020187 -2.822598)'))) / (select extract(epoch from '2026-06-09 16:42:12'::timestamp) - extract(epoch from '2026-06-09 16:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020313 -2.822543)'), GeomFromEWKT('SRID=4674;POINT (-40.020187 -2.822598)'))) / (select extract(epoch from '2026-06-09 16:42:12'::timestamp) - extract(epoch from '2026-06-09 16:42:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.020057 -2.822661)', '2026-06-09 16:42:22', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020187 -2.822598)'), GeomFromEWKT('SRID=4674;POINT (-40.020057 -2.822661)'))) / (select extract(epoch from '2026-06-09 16:42:22'::timestamp) - extract(epoch from '2026-06-09 16:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020187 -2.822598)'), GeomFromEWKT('SRID=4674;POINT (-40.020057 -2.822661)'))) / (select extract(epoch from '2026-06-09 16:42:22'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.019929 -2.822731)', '2026-06-09 16:42:32', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020057 -2.822661)'), GeomFromEWKT('SRID=4674;POINT (-40.019929 -2.822731)'))) / (select extract(epoch from '2026-06-09 16:42:32'::timestamp) - extract(epoch from '2026-06-09 16:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.020057 -2.822661)'), GeomFromEWKT('SRID=4674;POINT (-40.019929 -2.822731)'))) / (select extract(epoch from '2026-06-09 16:42:32'::timestamp) - extract(epoch from '2026-06-09 16:42:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.019782 -2.822819)', '2026-06-09 16:42:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019929 -2.822731)'), GeomFromEWKT('SRID=4674;POINT (-40.019782 -2.822819)'))) / (select extract(epoch from '2026-06-09 16:42:43'::timestamp) - extract(epoch from '2026-06-09 16:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019929 -2.822731)'), GeomFromEWKT('SRID=4674;POINT (-40.019782 -2.822819)'))) / (select extract(epoch from '2026-06-09 16:42:43'::timestamp) - extract(epoch from '2026-06-09 16:42:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.019643 -2.822906)', '2026-06-09 16:42:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019782 -2.822819)'), GeomFromEWKT('SRID=4674;POINT (-40.019643 -2.822906)'))) / (select extract(epoch from '2026-06-09 16:42:54'::timestamp) - extract(epoch from '2026-06-09 16:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019782 -2.822819)'), GeomFromEWKT('SRID=4674;POINT (-40.019643 -2.822906)'))) / (select extract(epoch from '2026-06-09 16:42:54'::timestamp) - extract(epoch from '2026-06-09 16:42: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'), 46698, 'SRID=4674;POINT (-40.019512 -2.822973)', '2026-06-09 16:43:04', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019643 -2.822906)'), GeomFromEWKT('SRID=4674;POINT (-40.019512 -2.822973)'))) / (select extract(epoch from '2026-06-09 16:43:04'::timestamp) - extract(epoch from '2026-06-09 16:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019643 -2.822906)'), GeomFromEWKT('SRID=4674;POINT (-40.019512 -2.822973)'))) / (select extract(epoch from '2026-06-09 16:43:04'::timestamp) - extract(epoch from '2026-06-09 16:42:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.019345 -2.823028)', '2026-06-09 16:43:16', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019512 -2.822973)'), GeomFromEWKT('SRID=4674;POINT (-40.019345 -2.823028)'))) / (select extract(epoch from '2026-06-09 16:43:16'::timestamp) - extract(epoch from '2026-06-09 16:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019512 -2.822973)'), GeomFromEWKT('SRID=4674;POINT (-40.019345 -2.823028)'))) / (select extract(epoch from '2026-06-09 16:43:16'::timestamp) - extract(epoch from '2026-06-09 16:43:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.019203 -2.82309)', '2026-06-09 16:43:28', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019345 -2.823028)'), GeomFromEWKT('SRID=4674;POINT (-40.019203 -2.82309)'))) / (select extract(epoch from '2026-06-09 16:43:28'::timestamp) - extract(epoch from '2026-06-09 16:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019345 -2.823028)'), GeomFromEWKT('SRID=4674;POINT (-40.019203 -2.82309)'))) / (select extract(epoch from '2026-06-09 16:43:28'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.019072 -2.823185)', '2026-06-09 16:43:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019203 -2.82309)'), GeomFromEWKT('SRID=4674;POINT (-40.019072 -2.823185)'))) / (select extract(epoch from '2026-06-09 16:43:38'::timestamp) - extract(epoch from '2026-06-09 16:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019203 -2.82309)'), GeomFromEWKT('SRID=4674;POINT (-40.019072 -2.823185)'))) / (select extract(epoch from '2026-06-09 16:43:38'::timestamp) - extract(epoch from '2026-06-09 16:43: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'), 46698, 'SRID=4674;POINT (-40.018899 -2.823279)', '2026-06-09 16:43:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019072 -2.823185)'), GeomFromEWKT('SRID=4674;POINT (-40.018899 -2.823279)'))) / (select extract(epoch from '2026-06-09 16:43:50'::timestamp) - extract(epoch from '2026-06-09 16:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019072 -2.823185)'), GeomFromEWKT('SRID=4674;POINT (-40.018899 -2.823279)'))) / (select extract(epoch from '2026-06-09 16:43:50'::timestamp) - extract(epoch from '2026-06-09 16:43:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018763 -2.82334)', '2026-06-09 16:43:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018899 -2.823279)'), GeomFromEWKT('SRID=4674;POINT (-40.018763 -2.82334)'))) / (select extract(epoch from '2026-06-09 16:43:59'::timestamp) - extract(epoch from '2026-06-09 16:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018899 -2.823279)'), GeomFromEWKT('SRID=4674;POINT (-40.018763 -2.82334)'))) / (select extract(epoch from '2026-06-09 16:43:59'::timestamp) - extract(epoch from '2026-06-09 16:43:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018588 -2.823412)', '2026-06-09 16:44:10', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018763 -2.82334)'), GeomFromEWKT('SRID=4674;POINT (-40.018588 -2.823412)'))) / (select extract(epoch from '2026-06-09 16:44:10'::timestamp) - extract(epoch from '2026-06-09 16:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018763 -2.82334)'), GeomFromEWKT('SRID=4674;POINT (-40.018588 -2.823412)'))) / (select extract(epoch from '2026-06-09 16:44:10'::timestamp) - extract(epoch from '2026-06-09 16:43: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'), 46698, 'SRID=4674;POINT (-40.018424 -2.823476)', '2026-06-09 16:44:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018588 -2.823412)'), GeomFromEWKT('SRID=4674;POINT (-40.018424 -2.823476)'))) / (select extract(epoch from '2026-06-09 16:44:21'::timestamp) - extract(epoch from '2026-06-09 16:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018588 -2.823412)'), GeomFromEWKT('SRID=4674;POINT (-40.018424 -2.823476)'))) / (select extract(epoch from '2026-06-09 16:44:21'::timestamp) - extract(epoch from '2026-06-09 16:44: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'), 46698, 'SRID=4674;POINT (-40.018282 -2.823535)', '2026-06-09 16:44:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018424 -2.823476)'), GeomFromEWKT('SRID=4674;POINT (-40.018282 -2.823535)'))) / (select extract(epoch from '2026-06-09 16:44:33'::timestamp) - extract(epoch from '2026-06-09 16:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018424 -2.823476)'), GeomFromEWKT('SRID=4674;POINT (-40.018282 -2.823535)'))) / (select extract(epoch from '2026-06-09 16:44:33'::timestamp) - extract(epoch from '2026-06-09 16:44: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'), 46698, 'SRID=4674;POINT (-40.018157 -2.823605)', '2026-06-09 16:44:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018282 -2.823535)'), GeomFromEWKT('SRID=4674;POINT (-40.018157 -2.823605)'))) / (select extract(epoch from '2026-06-09 16:44:43'::timestamp) - extract(epoch from '2026-06-09 16:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018282 -2.823535)'), GeomFromEWKT('SRID=4674;POINT (-40.018157 -2.823605)'))) / (select extract(epoch from '2026-06-09 16:44:43'::timestamp) - extract(epoch from '2026-06-09 16:44: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'), 46698, 'SRID=4674;POINT (-40.018048 -2.823666)', '2026-06-09 16:44:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018157 -2.823605)'), GeomFromEWKT('SRID=4674;POINT (-40.018048 -2.823666)'))) / (select extract(epoch from '2026-06-09 16:44:54'::timestamp) - extract(epoch from '2026-06-09 16:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018157 -2.823605)'), GeomFromEWKT('SRID=4674;POINT (-40.018048 -2.823666)'))) / (select extract(epoch from '2026-06-09 16:44:54'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.017986 -2.823725)', '2026-06-09 16:45:09', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018048 -2.823666)'), GeomFromEWKT('SRID=4674;POINT (-40.017986 -2.823725)'))) / (select extract(epoch from '2026-06-09 16:45:09'::timestamp) - extract(epoch from '2026-06-09 16:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018048 -2.823666)'), GeomFromEWKT('SRID=4674;POINT (-40.017986 -2.823725)'))) / (select extract(epoch from '2026-06-09 16:45:09'::timestamp) - extract(epoch from '2026-06-09 16:44: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'), 46698, 'SRID=4674;POINT (-40.018001 -2.823747)', '2026-06-09 16:45:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017986 -2.823725)'), GeomFromEWKT('SRID=4674;POINT (-40.018001 -2.823747)'))) / (select extract(epoch from '2026-06-09 16:45:25'::timestamp) - extract(epoch from '2026-06-09 16:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017986 -2.823725)'), GeomFromEWKT('SRID=4674;POINT (-40.018001 -2.823747)'))) / (select extract(epoch from '2026-06-09 16:45:25'::timestamp) - extract(epoch from '2026-06-09 16: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'), 46698, 'SRID=4674;POINT (-40.018043 -2.82372)', '2026-06-09 16:45:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018001 -2.823747)'), GeomFromEWKT('SRID=4674;POINT (-40.018043 -2.82372)'))) / (select extract(epoch from '2026-06-09 16:45:42'::timestamp) - extract(epoch from '2026-06-09 16:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018001 -2.823747)'), GeomFromEWKT('SRID=4674;POINT (-40.018043 -2.82372)'))) / (select extract(epoch from '2026-06-09 16:45:42'::timestamp) - extract(epoch from '2026-06-09 16:45:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018101 -2.823698)', '2026-06-09 16:45:57', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018043 -2.82372)'), GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823698)'))) / (select extract(epoch from '2026-06-09 16:45:57'::timestamp) - extract(epoch from '2026-06-09 16:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018043 -2.82372)'), GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823698)'))) / (select extract(epoch from '2026-06-09 16:45:57'::timestamp) - extract(epoch from '2026-06-09 16:45: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'), 46698, 'SRID=4674;POINT (-40.018098 -2.823687)', '2026-06-09 16:46:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823698)'), GeomFromEWKT('SRID=4674;POINT (-40.018098 -2.823687)'))) / (select extract(epoch from '2026-06-09 16:46:17'::timestamp) - extract(epoch from '2026-06-09 16:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823698)'), GeomFromEWKT('SRID=4674;POINT (-40.018098 -2.823687)'))) / (select extract(epoch from '2026-06-09 16:46:17'::timestamp) - extract(epoch from '2026-06-09 16:45:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018098 -2.823696)', '2026-06-09 16:46:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018098 -2.823687)'), GeomFromEWKT('SRID=4674;POINT (-40.018098 -2.823696)'))) / (select extract(epoch from '2026-06-09 16:46:35'::timestamp) - extract(epoch from '2026-06-09 16:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018098 -2.823687)'), GeomFromEWKT('SRID=4674;POINT (-40.018098 -2.823696)'))) / (select extract(epoch from '2026-06-09 16:46:35'::timestamp) - extract(epoch from '2026-06-09 16:46: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'), 46698, 'SRID=4674;POINT (-40.018101 -2.823709)', '2026-06-09 16:46:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018098 -2.823696)'), GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823709)'))) / (select extract(epoch from '2026-06-09 16:46:58'::timestamp) - extract(epoch from '2026-06-09 16:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018098 -2.823696)'), GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823709)'))) / (select extract(epoch from '2026-06-09 16:46:58'::timestamp) - extract(epoch from '2026-06-09 16:46: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'), 46698, 'SRID=4674;POINT (-40.0181 -2.823708)', '2026-06-09 16:47:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823709)'), GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823708)'))) / (select extract(epoch from '2026-06-09 16:47:19'::timestamp) - extract(epoch from '2026-06-09 16:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823709)'), GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823708)'))) / (select extract(epoch from '2026-06-09 16:47:19'::timestamp) - extract(epoch from '2026-06-09 16:46: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'), 46698, 'SRID=4674;POINT (-40.018097 -2.823697)', '2026-06-09 16:47:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823708)'), GeomFromEWKT('SRID=4674;POINT (-40.018097 -2.823697)'))) / (select extract(epoch from '2026-06-09 16:47:33'::timestamp) - extract(epoch from '2026-06-09 16:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823708)'), GeomFromEWKT('SRID=4674;POINT (-40.018097 -2.823697)'))) / (select extract(epoch from '2026-06-09 16:47:33'::timestamp) - extract(epoch from '2026-06-09 16:47: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'), 46698, 'SRID=4674;POINT (-40.018093 -2.823688)', '2026-06-09 16:47:54', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018097 -2.823697)'), GeomFromEWKT('SRID=4674;POINT (-40.018093 -2.823688)'))) / (select extract(epoch from '2026-06-09 16:47:54'::timestamp) - extract(epoch from '2026-06-09 16:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018097 -2.823697)'), GeomFromEWKT('SRID=4674;POINT (-40.018093 -2.823688)'))) / (select extract(epoch from '2026-06-09 16:47:54'::timestamp) - extract(epoch from '2026-06-09 16:47: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'), 46698, 'SRID=4674;POINT (-40.018087 -2.823697)', '2026-06-09 16:48:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018093 -2.823688)'), GeomFromEWKT('SRID=4674;POINT (-40.018087 -2.823697)'))) / (select extract(epoch from '2026-06-09 16:48:13'::timestamp) - extract(epoch from '2026-06-09 16:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018093 -2.823688)'), GeomFromEWKT('SRID=4674;POINT (-40.018087 -2.823697)'))) / (select extract(epoch from '2026-06-09 16:48:13'::timestamp) - extract(epoch from '2026-06-09 16:47:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.01809 -2.8237)', '2026-06-09 16:48:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018087 -2.823697)'), GeomFromEWKT('SRID=4674;POINT (-40.01809 -2.8237)'))) / (select extract(epoch from '2026-06-09 16:48:28'::timestamp) - extract(epoch from '2026-06-09 16:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018087 -2.823697)'), GeomFromEWKT('SRID=4674;POINT (-40.01809 -2.8237)'))) / (select extract(epoch from '2026-06-09 16:48:28'::timestamp) - extract(epoch from '2026-06-09 16:48:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018095 -2.823696)', '2026-06-09 16:48:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01809 -2.8237)'), GeomFromEWKT('SRID=4674;POINT (-40.018095 -2.823696)'))) / (select extract(epoch from '2026-06-09 16:48:48'::timestamp) - extract(epoch from '2026-06-09 16:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01809 -2.8237)'), GeomFromEWKT('SRID=4674;POINT (-40.018095 -2.823696)'))) / (select extract(epoch from '2026-06-09 16:48:48'::timestamp) - extract(epoch from '2026-06-09 16:48: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'), 46698, 'SRID=4674;POINT (-40.018089 -2.823671)', '2026-06-09 16:49:03', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018095 -2.823696)'), GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.823671)'))) / (select extract(epoch from '2026-06-09 16:49:03'::timestamp) - extract(epoch from '2026-06-09 16:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018095 -2.823696)'), GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.823671)'))) / (select extract(epoch from '2026-06-09 16:49:03'::timestamp) - extract(epoch from '2026-06-09 16:48: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'), 46698, 'SRID=4674;POINT (-40.018092 -2.823666)', '2026-06-09 16:49:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.823671)'), GeomFromEWKT('SRID=4674;POINT (-40.018092 -2.823666)'))) / (select extract(epoch from '2026-06-09 16:49:36'::timestamp) - extract(epoch from '2026-06-09 16:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.823671)'), GeomFromEWKT('SRID=4674;POINT (-40.018092 -2.823666)'))) / (select extract(epoch from '2026-06-09 16:49:36'::timestamp) - extract(epoch from '2026-06-09 16:49: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'), 46698, 'SRID=4674;POINT (-40.01811 -2.823696)', '2026-06-09 16:50:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018092 -2.823666)'), GeomFromEWKT('SRID=4674;POINT (-40.01811 -2.823696)'))) / (select extract(epoch from '2026-06-09 16:50:13'::timestamp) - extract(epoch from '2026-06-09 16:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018092 -2.823666)'), GeomFromEWKT('SRID=4674;POINT (-40.01811 -2.823696)'))) / (select extract(epoch from '2026-06-09 16:50:13'::timestamp) - extract(epoch from '2026-06-09 16:49: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'), 46698, 'SRID=4674;POINT (-40.018116 -2.823695)', '2026-06-09 16:50:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01811 -2.823696)'), GeomFromEWKT('SRID=4674;POINT (-40.018116 -2.823695)'))) / (select extract(epoch from '2026-06-09 16:50:51'::timestamp) - extract(epoch from '2026-06-09 16:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01811 -2.823696)'), GeomFromEWKT('SRID=4674;POINT (-40.018116 -2.823695)'))) / (select extract(epoch from '2026-06-09 16:50:51'::timestamp) - extract(epoch from '2026-06-09 16:50: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'), 46698, 'SRID=4674;POINT (-40.018109 -2.823694)', '2026-06-09 16:51:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018116 -2.823695)'), GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823694)'))) / (select extract(epoch from '2026-06-09 16:51:37'::timestamp) - extract(epoch from '2026-06-09 16:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018116 -2.823695)'), GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823694)'))) / (select extract(epoch from '2026-06-09 16:51:37'::timestamp) - extract(epoch from '2026-06-09 16:50:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018107 -2.823698)', '2026-06-09 16:52:10', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823694)'), GeomFromEWKT('SRID=4674;POINT (-40.018107 -2.823698)'))) / (select extract(epoch from '2026-06-09 16:52:10'::timestamp) - extract(epoch from '2026-06-09 16:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823694)'), GeomFromEWKT('SRID=4674;POINT (-40.018107 -2.823698)'))) / (select extract(epoch from '2026-06-09 16:52:10'::timestamp) - extract(epoch from '2026-06-09 16:51: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'), 46698, 'SRID=4674;POINT (-40.018104 -2.823697)', '2026-06-09 16:52:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018107 -2.823698)'), GeomFromEWKT('SRID=4674;POINT (-40.018104 -2.823697)'))) / (select extract(epoch from '2026-06-09 16:52:30'::timestamp) - extract(epoch from '2026-06-09 16:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018107 -2.823698)'), GeomFromEWKT('SRID=4674;POINT (-40.018104 -2.823697)'))) / (select extract(epoch from '2026-06-09 16:52:30'::timestamp) - extract(epoch from '2026-06-09 16:52: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'), 46698, 'SRID=4674;POINT (-40.018105 -2.8237)', '2026-06-09 16:53:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018104 -2.823697)'), GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.8237)'))) / (select extract(epoch from '2026-06-09 16:53:16'::timestamp) - extract(epoch from '2026-06-09 16:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018104 -2.823697)'), GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.8237)'))) / (select extract(epoch from '2026-06-09 16:53:16'::timestamp) - extract(epoch from '2026-06-09 16:52: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'), 46698, 'SRID=4674;POINT (-40.018109 -2.823697)', '2026-06-09 16:53:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.8237)'), GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823697)'))) / (select extract(epoch from '2026-06-09 16:53:38'::timestamp) - extract(epoch from '2026-06-09 16:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.8237)'), GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823697)'))) / (select extract(epoch from '2026-06-09 16:53:38'::timestamp) - extract(epoch from '2026-06-09 16:53: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'), 46698, 'SRID=4674;POINT (-40.018105 -2.823689)', '2026-06-09 16:53:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823697)'), GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823689)'))) / (select extract(epoch from '2026-06-09 16:53:50'::timestamp) - extract(epoch from '2026-06-09 16:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823697)'), GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823689)'))) / (select extract(epoch from '2026-06-09 16:53:50'::timestamp) - extract(epoch from '2026-06-09 16:53: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'), 46698, 'SRID=4674;POINT (-40.018099 -2.82367)', '2026-06-09 16:54:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823689)'), GeomFromEWKT('SRID=4674;POINT (-40.018099 -2.82367)'))) / (select extract(epoch from '2026-06-09 16:54:07'::timestamp) - extract(epoch from '2026-06-09 16:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823689)'), GeomFromEWKT('SRID=4674;POINT (-40.018099 -2.82367)'))) / (select extract(epoch from '2026-06-09 16:54:07'::timestamp) - extract(epoch from '2026-06-09 16:53:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018101 -2.823664)', '2026-06-09 16:54:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018099 -2.82367)'), GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823664)'))) / (select extract(epoch from '2026-06-09 16:54:20'::timestamp) - extract(epoch from '2026-06-09 16:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018099 -2.82367)'), GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823664)'))) / (select extract(epoch from '2026-06-09 16:54:20'::timestamp) - extract(epoch from '2026-06-09 16:54:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.0181 -2.823676)', '2026-06-09 16:54:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823664)'), GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823676)'))) / (select extract(epoch from '2026-06-09 16:54:34'::timestamp) - extract(epoch from '2026-06-09 16:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823664)'), GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823676)'))) / (select extract(epoch from '2026-06-09 16:54:34'::timestamp) - extract(epoch from '2026-06-09 16:54:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018086 -2.823693)', '2026-06-09 16:54:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823676)'), GeomFromEWKT('SRID=4674;POINT (-40.018086 -2.823693)'))) / (select extract(epoch from '2026-06-09 16:54:50'::timestamp) - extract(epoch from '2026-06-09 16:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823676)'), GeomFromEWKT('SRID=4674;POINT (-40.018086 -2.823693)'))) / (select extract(epoch from '2026-06-09 16:54:50'::timestamp) - extract(epoch from '2026-06-09 16:54: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'), 46698, 'SRID=4674;POINT (-40.018118 -2.823699)', '2026-06-09 16:55:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018086 -2.823693)'), GeomFromEWKT('SRID=4674;POINT (-40.018118 -2.823699)'))) / (select extract(epoch from '2026-06-09 16:55:24'::timestamp) - extract(epoch from '2026-06-09 16:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018086 -2.823693)'), GeomFromEWKT('SRID=4674;POINT (-40.018118 -2.823699)'))) / (select extract(epoch from '2026-06-09 16:55:24'::timestamp) - extract(epoch from '2026-06-09 16:54:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018104 -2.823639)', '2026-06-09 16:56:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018118 -2.823699)'), GeomFromEWKT('SRID=4674;POINT (-40.018104 -2.823639)'))) / (select extract(epoch from '2026-06-09 16:56:00'::timestamp) - extract(epoch from '2026-06-09 16:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018118 -2.823699)'), GeomFromEWKT('SRID=4674;POINT (-40.018104 -2.823639)'))) / (select extract(epoch from '2026-06-09 16:56:00'::timestamp) - extract(epoch from '2026-06-09 16:55:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018103 -2.823678)', '2026-06-09 16:56:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018104 -2.823639)'), GeomFromEWKT('SRID=4674;POINT (-40.018103 -2.823678)'))) / (select extract(epoch from '2026-06-09 16:56:29'::timestamp) - extract(epoch from '2026-06-09 16:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018104 -2.823639)'), GeomFromEWKT('SRID=4674;POINT (-40.018103 -2.823678)'))) / (select extract(epoch from '2026-06-09 16:56:29'::timestamp) - extract(epoch from '2026-06-09 16:56: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'), 46698, 'SRID=4674;POINT (-40.018106 -2.823736)', '2026-06-09 16:57:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018103 -2.823678)'), GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.823736)'))) / (select extract(epoch from '2026-06-09 16:57:09'::timestamp) - extract(epoch from '2026-06-09 16:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018103 -2.823678)'), GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.823736)'))) / (select extract(epoch from '2026-06-09 16:57:09'::timestamp) - extract(epoch from '2026-06-09 16:56:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018105 -2.823688)', '2026-06-09 16:57:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.823736)'), GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823688)'))) / (select extract(epoch from '2026-06-09 16:57:40'::timestamp) - extract(epoch from '2026-06-09 16:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.823736)'), GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823688)'))) / (select extract(epoch from '2026-06-09 16:57:40'::timestamp) - extract(epoch from '2026-06-09 16:57:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.01811 -2.823655)', '2026-06-09 16:58:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823688)'), GeomFromEWKT('SRID=4674;POINT (-40.01811 -2.823655)'))) / (select extract(epoch from '2026-06-09 16:58:11'::timestamp) - extract(epoch from '2026-06-09 16:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823688)'), GeomFromEWKT('SRID=4674;POINT (-40.01811 -2.823655)'))) / (select extract(epoch from '2026-06-09 16:58:11'::timestamp) - extract(epoch from '2026-06-09 16:57: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'), 46698, 'SRID=4674;POINT (-40.018106 -2.823698)', '2026-06-09 16:58:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01811 -2.823655)'), GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.823698)'))) / (select extract(epoch from '2026-06-09 16:58:33'::timestamp) - extract(epoch from '2026-06-09 16:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01811 -2.823655)'), GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.823698)'))) / (select extract(epoch from '2026-06-09 16:58:33'::timestamp) - extract(epoch from '2026-06-09 16:58: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'), 46698, 'SRID=4674;POINT (-40.018089 -2.823705)', '2026-06-09 16:59:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.823698)'), GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.823705)'))) / (select extract(epoch from '2026-06-09 16:59:10'::timestamp) - extract(epoch from '2026-06-09 16:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.823698)'), GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.823705)'))) / (select extract(epoch from '2026-06-09 16:59:10'::timestamp) - extract(epoch from '2026-06-09 16:58: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'), 46698, 'SRID=4674;POINT (-40.018081 -2.823681)', '2026-06-09 16:59:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.823705)'), GeomFromEWKT('SRID=4674;POINT (-40.018081 -2.823681)'))) / (select extract(epoch from '2026-06-09 16:59:55'::timestamp) - extract(epoch from '2026-06-09 16:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.823705)'), GeomFromEWKT('SRID=4674;POINT (-40.018081 -2.823681)'))) / (select extract(epoch from '2026-06-09 16:59:55'::timestamp) - extract(epoch from '2026-06-09 16:59: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'), 46698, 'SRID=4674;POINT (-40.018078 -2.823633)', '2026-06-09 17:00:32', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018081 -2.823681)'), GeomFromEWKT('SRID=4674;POINT (-40.018078 -2.823633)'))) / (select extract(epoch from '2026-06-09 17:00:32'::timestamp) - extract(epoch from '2026-06-09 16:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018081 -2.823681)'), GeomFromEWKT('SRID=4674;POINT (-40.018078 -2.823633)'))) / (select extract(epoch from '2026-06-09 17:00:32'::timestamp) - extract(epoch from '2026-06-09 16:59:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018089 -2.823691)', '2026-06-09 17:00:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018078 -2.823633)'), GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.823691)'))) / (select extract(epoch from '2026-06-09 17:00:58'::timestamp) - extract(epoch from '2026-06-09 17:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018078 -2.823633)'), GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.823691)'))) / (select extract(epoch from '2026-06-09 17:00:58'::timestamp) - extract(epoch from '2026-06-09 17:00: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'), 46698, 'SRID=4674;POINT (-40.018095 -2.823699)', '2026-06-09 17:01:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.823691)'), GeomFromEWKT('SRID=4674;POINT (-40.018095 -2.823699)'))) / (select extract(epoch from '2026-06-09 17:01:36'::timestamp) - extract(epoch from '2026-06-09 17:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.823691)'), GeomFromEWKT('SRID=4674;POINT (-40.018095 -2.823699)'))) / (select extract(epoch from '2026-06-09 17:01:36'::timestamp) - extract(epoch from '2026-06-09 17:00:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.01809 -2.823696)', '2026-06-09 17:01:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018095 -2.823699)'), GeomFromEWKT('SRID=4674;POINT (-40.01809 -2.823696)'))) / (select extract(epoch from '2026-06-09 17:01:55'::timestamp) - extract(epoch from '2026-06-09 17:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018095 -2.823699)'), GeomFromEWKT('SRID=4674;POINT (-40.01809 -2.823696)'))) / (select extract(epoch from '2026-06-09 17:01:55'::timestamp) - extract(epoch from '2026-06-09 17:01: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'), 46698, 'SRID=4674;POINT (-40.018084 -2.823682)', '2026-06-09 17:02:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01809 -2.823696)'), GeomFromEWKT('SRID=4674;POINT (-40.018084 -2.823682)'))) / (select extract(epoch from '2026-06-09 17:02:06'::timestamp) - extract(epoch from '2026-06-09 17:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01809 -2.823696)'), GeomFromEWKT('SRID=4674;POINT (-40.018084 -2.823682)'))) / (select extract(epoch from '2026-06-09 17:02:06'::timestamp) - extract(epoch from '2026-06-09 17:01:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018083 -2.823638)', '2026-06-09 17:02:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018084 -2.823682)'), GeomFromEWKT('SRID=4674;POINT (-40.018083 -2.823638)'))) / (select extract(epoch from '2026-06-09 17:02:29'::timestamp) - extract(epoch from '2026-06-09 17:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018084 -2.823682)'), GeomFromEWKT('SRID=4674;POINT (-40.018083 -2.823638)'))) / (select extract(epoch from '2026-06-09 17:02:29'::timestamp) - extract(epoch from '2026-06-09 17:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018091 -2.823676)', '2026-06-09 17:02:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018083 -2.823638)'), GeomFromEWKT('SRID=4674;POINT (-40.018091 -2.823676)'))) / (select extract(epoch from '2026-06-09 17:02:52'::timestamp) - extract(epoch from '2026-06-09 17:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018083 -2.823638)'), GeomFromEWKT('SRID=4674;POINT (-40.018091 -2.823676)'))) / (select extract(epoch from '2026-06-09 17:02:52'::timestamp) - extract(epoch from '2026-06-09 17:02: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'), 46698, 'SRID=4674;POINT (-40.018112 -2.823713)', '2026-06-09 17:03:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018091 -2.823676)'), GeomFromEWKT('SRID=4674;POINT (-40.018112 -2.823713)'))) / (select extract(epoch from '2026-06-09 17:03:23'::timestamp) - extract(epoch from '2026-06-09 17:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018091 -2.823676)'), GeomFromEWKT('SRID=4674;POINT (-40.018112 -2.823713)'))) / (select extract(epoch from '2026-06-09 17:03:23'::timestamp) - extract(epoch from '2026-06-09 17:02:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018121 -2.823703)', '2026-06-09 17:03:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018112 -2.823713)'), GeomFromEWKT('SRID=4674;POINT (-40.018121 -2.823703)'))) / (select extract(epoch from '2026-06-09 17:03:46'::timestamp) - extract(epoch from '2026-06-09 17:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018112 -2.823713)'), GeomFromEWKT('SRID=4674;POINT (-40.018121 -2.823703)'))) / (select extract(epoch from '2026-06-09 17:03:46'::timestamp) - extract(epoch from '2026-06-09 17:03: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'), 46698, 'SRID=4674;POINT (-40.018117 -2.823687)', '2026-06-09 17:03:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018121 -2.823703)'), GeomFromEWKT('SRID=4674;POINT (-40.018117 -2.823687)'))) / (select extract(epoch from '2026-06-09 17:03:56'::timestamp) - extract(epoch from '2026-06-09 17:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018121 -2.823703)'), GeomFromEWKT('SRID=4674;POINT (-40.018117 -2.823687)'))) / (select extract(epoch from '2026-06-09 17:03:56'::timestamp) - extract(epoch from '2026-06-09 17:03: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'), 46698, 'SRID=4674;POINT (-40.018105 -2.823653)', '2026-06-09 17:04:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018117 -2.823687)'), GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823653)'))) / (select extract(epoch from '2026-06-09 17:04:26'::timestamp) - extract(epoch from '2026-06-09 17:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018117 -2.823687)'), GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823653)'))) / (select extract(epoch from '2026-06-09 17:04:26'::timestamp) - extract(epoch from '2026-06-09 17:03:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018093 -2.823695)', '2026-06-09 17:04:49', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823653)'), GeomFromEWKT('SRID=4674;POINT (-40.018093 -2.823695)'))) / (select extract(epoch from '2026-06-09 17:04:49'::timestamp) - extract(epoch from '2026-06-09 17:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823653)'), GeomFromEWKT('SRID=4674;POINT (-40.018093 -2.823695)'))) / (select extract(epoch from '2026-06-09 17:04:49'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.01809 -2.823754)', '2026-06-09 17:05:37', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018093 -2.823695)'), GeomFromEWKT('SRID=4674;POINT (-40.01809 -2.823754)'))) / (select extract(epoch from '2026-06-09 17:05:37'::timestamp) - extract(epoch from '2026-06-09 17:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018093 -2.823695)'), GeomFromEWKT('SRID=4674;POINT (-40.01809 -2.823754)'))) / (select extract(epoch from '2026-06-09 17:05:37'::timestamp) - extract(epoch from '2026-06-09 17:04:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.01812 -2.823686)', '2026-06-09 17:06:19', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01809 -2.823754)'), GeomFromEWKT('SRID=4674;POINT (-40.01812 -2.823686)'))) / (select extract(epoch from '2026-06-09 17:06:19'::timestamp) - extract(epoch from '2026-06-09 17:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01809 -2.823754)'), GeomFromEWKT('SRID=4674;POINT (-40.01812 -2.823686)'))) / (select extract(epoch from '2026-06-09 17:06:19'::timestamp) - extract(epoch from '2026-06-09 17:05:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018098 -2.823696)', '2026-06-09 17:07:01', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01812 -2.823686)'), GeomFromEWKT('SRID=4674;POINT (-40.018098 -2.823696)'))) / (select extract(epoch from '2026-06-09 17:07:01'::timestamp) - extract(epoch from '2026-06-09 17:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01812 -2.823686)'), GeomFromEWKT('SRID=4674;POINT (-40.018098 -2.823696)'))) / (select extract(epoch from '2026-06-09 17:07:01'::timestamp) - extract(epoch from '2026-06-09 17:06: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'), 46698, 'SRID=4674;POINT (-40.018116 -2.82374)', '2026-06-09 17:07:44', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018098 -2.823696)'), GeomFromEWKT('SRID=4674;POINT (-40.018116 -2.82374)'))) / (select extract(epoch from '2026-06-09 17:07:44'::timestamp) - extract(epoch from '2026-06-09 17:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018098 -2.823696)'), GeomFromEWKT('SRID=4674;POINT (-40.018116 -2.82374)'))) / (select extract(epoch from '2026-06-09 17:07:44'::timestamp) - extract(epoch from '2026-06-09 17:07: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'), 46698, 'SRID=4674;POINT (-40.018104 -2.823696)', '2026-06-09 17:08:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018116 -2.82374)'), GeomFromEWKT('SRID=4674;POINT (-40.018104 -2.823696)'))) / (select extract(epoch from '2026-06-09 17:08:22'::timestamp) - extract(epoch from '2026-06-09 17:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018116 -2.82374)'), GeomFromEWKT('SRID=4674;POINT (-40.018104 -2.823696)'))) / (select extract(epoch from '2026-06-09 17:08:22'::timestamp) - extract(epoch from '2026-06-09 17:07: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'), 46698, 'SRID=4674;POINT (-40.018083 -2.82367)', '2026-06-09 17:08:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018104 -2.823696)'), GeomFromEWKT('SRID=4674;POINT (-40.018083 -2.82367)'))) / (select extract(epoch from '2026-06-09 17:08:35'::timestamp) - extract(epoch from '2026-06-09 17:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018104 -2.823696)'), GeomFromEWKT('SRID=4674;POINT (-40.018083 -2.82367)'))) / (select extract(epoch from '2026-06-09 17:08:35'::timestamp) - extract(epoch from '2026-06-09 17:08:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.01808 -2.823679)', '2026-06-09 17:09:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018083 -2.82367)'), GeomFromEWKT('SRID=4674;POINT (-40.01808 -2.823679)'))) / (select extract(epoch from '2026-06-09 17:09:06'::timestamp) - extract(epoch from '2026-06-09 17:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018083 -2.82367)'), GeomFromEWKT('SRID=4674;POINT (-40.01808 -2.823679)'))) / (select extract(epoch from '2026-06-09 17:09:06'::timestamp) - extract(epoch from '2026-06-09 17:08: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'), 46698, 'SRID=4674;POINT (-40.018092 -2.823729)', '2026-06-09 17:09:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01808 -2.823679)'), GeomFromEWKT('SRID=4674;POINT (-40.018092 -2.823729)'))) / (select extract(epoch from '2026-06-09 17:09:41'::timestamp) - extract(epoch from '2026-06-09 17:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01808 -2.823679)'), GeomFromEWKT('SRID=4674;POINT (-40.018092 -2.823729)'))) / (select extract(epoch from '2026-06-09 17:09:41'::timestamp) - extract(epoch from '2026-06-09 17:09:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018088 -2.823739)', '2026-06-09 17:10:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018092 -2.823729)'), GeomFromEWKT('SRID=4674;POINT (-40.018088 -2.823739)'))) / (select extract(epoch from '2026-06-09 17:10:14'::timestamp) - extract(epoch from '2026-06-09 17:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018092 -2.823729)'), GeomFromEWKT('SRID=4674;POINT (-40.018088 -2.823739)'))) / (select extract(epoch from '2026-06-09 17:10:14'::timestamp) - extract(epoch from '2026-06-09 17:09:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018088 -2.823735)', '2026-06-09 17:10:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018088 -2.823739)'), GeomFromEWKT('SRID=4674;POINT (-40.018088 -2.823735)'))) / (select extract(epoch from '2026-06-09 17:10:33'::timestamp) - extract(epoch from '2026-06-09 17:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018088 -2.823739)'), GeomFromEWKT('SRID=4674;POINT (-40.018088 -2.823735)'))) / (select extract(epoch from '2026-06-09 17:10:33'::timestamp) - extract(epoch from '2026-06-09 17:10:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018081 -2.823721)', '2026-06-09 17:10:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018088 -2.823735)'), GeomFromEWKT('SRID=4674;POINT (-40.018081 -2.823721)'))) / (select extract(epoch from '2026-06-09 17:10:46'::timestamp) - extract(epoch from '2026-06-09 17:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018088 -2.823735)'), GeomFromEWKT('SRID=4674;POINT (-40.018081 -2.823721)'))) / (select extract(epoch from '2026-06-09 17:10:46'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.018083 -2.823668)', '2026-06-09 17:11:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018081 -2.823721)'), GeomFromEWKT('SRID=4674;POINT (-40.018083 -2.823668)'))) / (select extract(epoch from '2026-06-09 17:11:18'::timestamp) - extract(epoch from '2026-06-09 17:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018081 -2.823721)'), GeomFromEWKT('SRID=4674;POINT (-40.018083 -2.823668)'))) / (select extract(epoch from '2026-06-09 17:11:18'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.018087 -2.8237)', '2026-06-09 17:11:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018083 -2.823668)'), GeomFromEWKT('SRID=4674;POINT (-40.018087 -2.8237)'))) / (select extract(epoch from '2026-06-09 17:11:41'::timestamp) - extract(epoch from '2026-06-09 17:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018083 -2.823668)'), GeomFromEWKT('SRID=4674;POINT (-40.018087 -2.8237)'))) / (select extract(epoch from '2026-06-09 17:11:41'::timestamp) - extract(epoch from '2026-06-09 17:11: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'), 46698, 'SRID=4674;POINT (-40.018095 -2.823736)', '2026-06-09 17:12:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018087 -2.8237)'), GeomFromEWKT('SRID=4674;POINT (-40.018095 -2.823736)'))) / (select extract(epoch from '2026-06-09 17:12:14'::timestamp) - extract(epoch from '2026-06-09 17:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018087 -2.8237)'), GeomFromEWKT('SRID=4674;POINT (-40.018095 -2.823736)'))) / (select extract(epoch from '2026-06-09 17:12:14'::timestamp) - extract(epoch from '2026-06-09 17:11:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018094 -2.823733)', '2026-06-09 17:12:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018095 -2.823736)'), GeomFromEWKT('SRID=4674;POINT (-40.018094 -2.823733)'))) / (select extract(epoch from '2026-06-09 17:12:49'::timestamp) - extract(epoch from '2026-06-09 17:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018095 -2.823736)'), GeomFromEWKT('SRID=4674;POINT (-40.018094 -2.823733)'))) / (select extract(epoch from '2026-06-09 17:12:49'::timestamp) - extract(epoch from '2026-06-09 17:12: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'), 46698, 'SRID=4674;POINT (-40.018088 -2.823712)', '2026-06-09 17:12:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018094 -2.823733)'), GeomFromEWKT('SRID=4674;POINT (-40.018088 -2.823712)'))) / (select extract(epoch from '2026-06-09 17:12:57'::timestamp) - extract(epoch from '2026-06-09 17:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018094 -2.823733)'), GeomFromEWKT('SRID=4674;POINT (-40.018088 -2.823712)'))) / (select extract(epoch from '2026-06-09 17:12:57'::timestamp) - extract(epoch from '2026-06-09 17:12:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018081 -2.823648)', '2026-06-09 17:13:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018088 -2.823712)'), GeomFromEWKT('SRID=4674;POINT (-40.018081 -2.823648)'))) / (select extract(epoch from '2026-06-09 17:13:28'::timestamp) - extract(epoch from '2026-06-09 17:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018088 -2.823712)'), GeomFromEWKT('SRID=4674;POINT (-40.018081 -2.823648)'))) / (select extract(epoch from '2026-06-09 17:13:28'::timestamp) - extract(epoch from '2026-06-09 17:12:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018075 -2.823688)', '2026-06-09 17:13:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018081 -2.823648)'), GeomFromEWKT('SRID=4674;POINT (-40.018075 -2.823688)'))) / (select extract(epoch from '2026-06-09 17:13:48'::timestamp) - extract(epoch from '2026-06-09 17:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018081 -2.823648)'), GeomFromEWKT('SRID=4674;POINT (-40.018075 -2.823688)'))) / (select extract(epoch from '2026-06-09 17:13:48'::timestamp) - extract(epoch from '2026-06-09 17:13: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'), 46698, 'SRID=4674;POINT (-40.0181 -2.823743)', '2026-06-09 17:14:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018075 -2.823688)'), GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823743)'))) / (select extract(epoch from '2026-06-09 17:14:24'::timestamp) - extract(epoch from '2026-06-09 17:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018075 -2.823688)'), GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823743)'))) / (select extract(epoch from '2026-06-09 17:14:24'::timestamp) - extract(epoch from '2026-06-09 17:13:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018089 -2.82374)', '2026-06-09 17:14:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823743)'), GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.82374)'))) / (select extract(epoch from '2026-06-09 17:14:58'::timestamp) - extract(epoch from '2026-06-09 17:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823743)'), GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.82374)'))) / (select extract(epoch from '2026-06-09 17:14:58'::timestamp) - extract(epoch from '2026-06-09 17:14: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'), 46698, 'SRID=4674;POINT (-40.01808 -2.823722)', '2026-06-09 17:15:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.82374)'), GeomFromEWKT('SRID=4674;POINT (-40.01808 -2.823722)'))) / (select extract(epoch from '2026-06-09 17:15:19'::timestamp) - extract(epoch from '2026-06-09 17:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.82374)'), GeomFromEWKT('SRID=4674;POINT (-40.01808 -2.823722)'))) / (select extract(epoch from '2026-06-09 17:15:19'::timestamp) - extract(epoch from '2026-06-09 17:14: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'), 46698, 'SRID=4674;POINT (-40.018071 -2.823655)', '2026-06-09 17:15:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01808 -2.823722)'), GeomFromEWKT('SRID=4674;POINT (-40.018071 -2.823655)'))) / (select extract(epoch from '2026-06-09 17:15:45'::timestamp) - extract(epoch from '2026-06-09 17:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01808 -2.823722)'), GeomFromEWKT('SRID=4674;POINT (-40.018071 -2.823655)'))) / (select extract(epoch from '2026-06-09 17:15:45'::timestamp) - extract(epoch from '2026-06-09 17:15: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'), 46698, 'SRID=4674;POINT (-40.018085 -2.823671)', '2026-06-09 17:16:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018071 -2.823655)'), GeomFromEWKT('SRID=4674;POINT (-40.018085 -2.823671)'))) / (select extract(epoch from '2026-06-09 17:16:07'::timestamp) - extract(epoch from '2026-06-09 17:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018071 -2.823655)'), GeomFromEWKT('SRID=4674;POINT (-40.018085 -2.823671)'))) / (select extract(epoch from '2026-06-09 17:16:07'::timestamp) - extract(epoch from '2026-06-09 17:15: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'), 46698, 'SRID=4674;POINT (-40.0181 -2.823739)', '2026-06-09 17:16:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018085 -2.823671)'), GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823739)'))) / (select extract(epoch from '2026-06-09 17:16:40'::timestamp) - extract(epoch from '2026-06-09 17:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018085 -2.823671)'), GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823739)'))) / (select extract(epoch from '2026-06-09 17:16:40'::timestamp) - extract(epoch from '2026-06-09 17:16:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018099 -2.823733)', '2026-06-09 17:17:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823739)'), GeomFromEWKT('SRID=4674;POINT (-40.018099 -2.823733)'))) / (select extract(epoch from '2026-06-09 17:17:15'::timestamp) - extract(epoch from '2026-06-09 17:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823739)'), GeomFromEWKT('SRID=4674;POINT (-40.018099 -2.823733)'))) / (select extract(epoch from '2026-06-09 17:17:15'::timestamp) - extract(epoch from '2026-06-09 17:16: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'), 46698, 'SRID=4674;POINT (-40.018095 -2.823701)', '2026-06-09 17:17:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018099 -2.823733)'), GeomFromEWKT('SRID=4674;POINT (-40.018095 -2.823701)'))) / (select extract(epoch from '2026-06-09 17:17:28'::timestamp) - extract(epoch from '2026-06-09 17:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018099 -2.823733)'), GeomFromEWKT('SRID=4674;POINT (-40.018095 -2.823701)'))) / (select extract(epoch from '2026-06-09 17:17:28'::timestamp) - extract(epoch from '2026-06-09 17:17: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'), 46698, 'SRID=4674;POINT (-40.018079 -2.823646)', '2026-06-09 17:18:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018095 -2.823701)'), GeomFromEWKT('SRID=4674;POINT (-40.018079 -2.823646)'))) / (select extract(epoch from '2026-06-09 17:18:03'::timestamp) - extract(epoch from '2026-06-09 17:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018095 -2.823701)'), GeomFromEWKT('SRID=4674;POINT (-40.018079 -2.823646)'))) / (select extract(epoch from '2026-06-09 17:18:03'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.018077 -2.823676)', '2026-06-09 17:18:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018079 -2.823646)'), GeomFromEWKT('SRID=4674;POINT (-40.018077 -2.823676)'))) / (select extract(epoch from '2026-06-09 17:18:23'::timestamp) - extract(epoch from '2026-06-09 17:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018079 -2.823646)'), GeomFromEWKT('SRID=4674;POINT (-40.018077 -2.823676)'))) / (select extract(epoch from '2026-06-09 17:18:23'::timestamp) - extract(epoch from '2026-06-09 17:18: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'), 46698, 'SRID=4674;POINT (-40.018109 -2.82373)', '2026-06-09 17:19:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018077 -2.823676)'), GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.82373)'))) / (select extract(epoch from '2026-06-09 17:19:00'::timestamp) - extract(epoch from '2026-06-09 17:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018077 -2.823676)'), GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.82373)'))) / (select extract(epoch from '2026-06-09 17:19:00'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.018096 -2.823707)', '2026-06-09 17:19:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.82373)'), GeomFromEWKT('SRID=4674;POINT (-40.018096 -2.823707)'))) / (select extract(epoch from '2026-06-09 17:19:23'::timestamp) - extract(epoch from '2026-06-09 17:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.82373)'), GeomFromEWKT('SRID=4674;POINT (-40.018096 -2.823707)'))) / (select extract(epoch from '2026-06-09 17:19:23'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.018089 -2.823657)', '2026-06-09 17:19:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018096 -2.823707)'), GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.823657)'))) / (select extract(epoch from '2026-06-09 17:19:50'::timestamp) - extract(epoch from '2026-06-09 17:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018096 -2.823707)'), GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.823657)'))) / (select extract(epoch from '2026-06-09 17:19:50'::timestamp) - extract(epoch from '2026-06-09 17:19: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'), 46698, 'SRID=4674;POINT (-40.018078 -2.82368)', '2026-06-09 17:20:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.823657)'), GeomFromEWKT('SRID=4674;POINT (-40.018078 -2.82368)'))) / (select extract(epoch from '2026-06-09 17:20:16'::timestamp) - extract(epoch from '2026-06-09 17:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018089 -2.823657)'), GeomFromEWKT('SRID=4674;POINT (-40.018078 -2.82368)'))) / (select extract(epoch from '2026-06-09 17:20:16'::timestamp) - extract(epoch from '2026-06-09 17:19:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018105 -2.823733)', '2026-06-09 17:20:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018078 -2.82368)'), GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823733)'))) / (select extract(epoch from '2026-06-09 17:20:47'::timestamp) - extract(epoch from '2026-06-09 17:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018078 -2.82368)'), GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823733)'))) / (select extract(epoch from '2026-06-09 17:20:47'::timestamp) - extract(epoch from '2026-06-09 17:20:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018105 -2.823706)', '2026-06-09 17:21:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823733)'), GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823706)'))) / (select extract(epoch from '2026-06-09 17:21:18'::timestamp) - extract(epoch from '2026-06-09 17:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823733)'), GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823706)'))) / (select extract(epoch from '2026-06-09 17:21:18'::timestamp) - extract(epoch from '2026-06-09 17:20:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018099 -2.823661)', '2026-06-09 17:21:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823706)'), GeomFromEWKT('SRID=4674;POINT (-40.018099 -2.823661)'))) / (select extract(epoch from '2026-06-09 17:21:48'::timestamp) - extract(epoch from '2026-06-09 17:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823706)'), GeomFromEWKT('SRID=4674;POINT (-40.018099 -2.823661)'))) / (select extract(epoch from '2026-06-09 17:21:48'::timestamp) - extract(epoch from '2026-06-09 17:21:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018093 -2.823687)', '2026-06-09 17:22:02', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018099 -2.823661)'), GeomFromEWKT('SRID=4674;POINT (-40.018093 -2.823687)'))) / (select extract(epoch from '2026-06-09 17:22:02'::timestamp) - extract(epoch from '2026-06-09 17:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018099 -2.823661)'), GeomFromEWKT('SRID=4674;POINT (-40.018093 -2.823687)'))) / (select extract(epoch from '2026-06-09 17:22:02'::timestamp) - extract(epoch from '2026-06-09 17:21: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'), 46698, 'SRID=4674;POINT (-40.018106 -2.82372)', '2026-06-09 17:22:36', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018093 -2.823687)'), GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.82372)'))) / (select extract(epoch from '2026-06-09 17:22:36'::timestamp) - extract(epoch from '2026-06-09 17:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018093 -2.823687)'), GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.82372)'))) / (select extract(epoch from '2026-06-09 17:22:36'::timestamp) - extract(epoch from '2026-06-09 17:22: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'), 46698, 'SRID=4674;POINT (-40.018108 -2.823691)', '2026-06-09 17:22:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.82372)'), GeomFromEWKT('SRID=4674;POINT (-40.018108 -2.823691)'))) / (select extract(epoch from '2026-06-09 17:22:57'::timestamp) - extract(epoch from '2026-06-09 17:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.82372)'), GeomFromEWKT('SRID=4674;POINT (-40.018108 -2.823691)'))) / (select extract(epoch from '2026-06-09 17:22:57'::timestamp) - extract(epoch from '2026-06-09 17:22: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'), 46698, 'SRID=4674;POINT (-40.018106 -2.823647)', '2026-06-09 17:23:29', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018108 -2.823691)'), GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.823647)'))) / (select extract(epoch from '2026-06-09 17:23:29'::timestamp) - extract(epoch from '2026-06-09 17:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018108 -2.823691)'), GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.823647)'))) / (select extract(epoch from '2026-06-09 17:23:29'::timestamp) - extract(epoch from '2026-06-09 17:22:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018097 -2.823675)', '2026-06-09 17:23:43', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.823647)'), GeomFromEWKT('SRID=4674;POINT (-40.018097 -2.823675)'))) / (select extract(epoch from '2026-06-09 17:23:43'::timestamp) - extract(epoch from '2026-06-09 17:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.823647)'), GeomFromEWKT('SRID=4674;POINT (-40.018097 -2.823675)'))) / (select extract(epoch from '2026-06-09 17:23:43'::timestamp) - extract(epoch from '2026-06-09 17:23:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.01811 -2.823718)', '2026-06-09 17:24:21', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018097 -2.823675)'), GeomFromEWKT('SRID=4674;POINT (-40.01811 -2.823718)'))) / (select extract(epoch from '2026-06-09 17:24:21'::timestamp) - extract(epoch from '2026-06-09 17:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018097 -2.823675)'), GeomFromEWKT('SRID=4674;POINT (-40.01811 -2.823718)'))) / (select extract(epoch from '2026-06-09 17:24:21'::timestamp) - extract(epoch from '2026-06-09 17:23: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'), 46698, 'SRID=4674;POINT (-40.018109 -2.823697)', '2026-06-09 17:24:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01811 -2.823718)'), GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823697)'))) / (select extract(epoch from '2026-06-09 17:24:48'::timestamp) - extract(epoch from '2026-06-09 17:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01811 -2.823718)'), GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823697)'))) / (select extract(epoch from '2026-06-09 17:24:48'::timestamp) - extract(epoch from '2026-06-09 17:24: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'), 46698, 'SRID=4674;POINT (-40.018101 -2.823649)', '2026-06-09 17:25:12', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823697)'), GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823649)'))) / (select extract(epoch from '2026-06-09 17:25:12'::timestamp) - extract(epoch from '2026-06-09 17:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823697)'), GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823649)'))) / (select extract(epoch from '2026-06-09 17:25:12'::timestamp) - extract(epoch from '2026-06-09 17:24:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018101 -2.823667)', '2026-06-09 17:25:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823649)'), GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823667)'))) / (select extract(epoch from '2026-06-09 17:25:39'::timestamp) - extract(epoch from '2026-06-09 17:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823649)'), GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823667)'))) / (select extract(epoch from '2026-06-09 17:25:39'::timestamp) - extract(epoch from '2026-06-09 17:25:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018116 -2.823725)', '2026-06-09 17:26:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823667)'), GeomFromEWKT('SRID=4674;POINT (-40.018116 -2.823725)'))) / (select extract(epoch from '2026-06-09 17:26:17'::timestamp) - extract(epoch from '2026-06-09 17:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823667)'), GeomFromEWKT('SRID=4674;POINT (-40.018116 -2.823725)'))) / (select extract(epoch from '2026-06-09 17:26:17'::timestamp) - extract(epoch from '2026-06-09 17:25: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'), 46698, 'SRID=4674;POINT (-40.018116 -2.823705)', '2026-06-09 17:26:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018116 -2.823725)'), GeomFromEWKT('SRID=4674;POINT (-40.018116 -2.823705)'))) / (select extract(epoch from '2026-06-09 17:26:47'::timestamp) - extract(epoch from '2026-06-09 17:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018116 -2.823725)'), GeomFromEWKT('SRID=4674;POINT (-40.018116 -2.823705)'))) / (select extract(epoch from '2026-06-09 17:26:47'::timestamp) - extract(epoch from '2026-06-09 17:26: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'), 46698, 'SRID=4674;POINT (-40.018114 -2.823675)', '2026-06-09 17:27:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018116 -2.823705)'), GeomFromEWKT('SRID=4674;POINT (-40.018114 -2.823675)'))) / (select extract(epoch from '2026-06-09 17:27:05'::timestamp) - extract(epoch from '2026-06-09 17:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018116 -2.823705)'), GeomFromEWKT('SRID=4674;POINT (-40.018114 -2.823675)'))) / (select extract(epoch from '2026-06-09 17:27:05'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.018109 -2.823686)', '2026-06-09 17:27:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018114 -2.823675)'), GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823686)'))) / (select extract(epoch from '2026-06-09 17:27:33'::timestamp) - extract(epoch from '2026-06-09 17:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018114 -2.823675)'), GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823686)'))) / (select extract(epoch from '2026-06-09 17:27:33'::timestamp) - extract(epoch from '2026-06-09 17:27:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.01811 -2.823725)', '2026-06-09 17:28:05', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823686)'), GeomFromEWKT('SRID=4674;POINT (-40.01811 -2.823725)'))) / (select extract(epoch from '2026-06-09 17:28:05'::timestamp) - extract(epoch from '2026-06-09 17:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823686)'), GeomFromEWKT('SRID=4674;POINT (-40.01811 -2.823725)'))) / (select extract(epoch from '2026-06-09 17:28:05'::timestamp) - extract(epoch from '2026-06-09 17:27: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'), 46698, 'SRID=4674;POINT (-40.018114 -2.823688)', '2026-06-09 17:28:30', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01811 -2.823725)'), GeomFromEWKT('SRID=4674;POINT (-40.018114 -2.823688)'))) / (select extract(epoch from '2026-06-09 17:28:30'::timestamp) - extract(epoch from '2026-06-09 17:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01811 -2.823725)'), GeomFromEWKT('SRID=4674;POINT (-40.018114 -2.823688)'))) / (select extract(epoch from '2026-06-09 17:28:30'::timestamp) - extract(epoch from '2026-06-09 17:28:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018099 -2.823649)', '2026-06-09 17:29:00', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018114 -2.823688)'), GeomFromEWKT('SRID=4674;POINT (-40.018099 -2.823649)'))) / (select extract(epoch from '2026-06-09 17:29:00'::timestamp) - extract(epoch from '2026-06-09 17:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018114 -2.823688)'), GeomFromEWKT('SRID=4674;POINT (-40.018099 -2.823649)'))) / (select extract(epoch from '2026-06-09 17:29:00'::timestamp) - extract(epoch from '2026-06-09 17:28: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'), 46698, 'SRID=4674;POINT (-40.018117 -2.823678)', '2026-06-09 17:29:25', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018099 -2.823649)'), GeomFromEWKT('SRID=4674;POINT (-40.018117 -2.823678)'))) / (select extract(epoch from '2026-06-09 17:29:25'::timestamp) - extract(epoch from '2026-06-09 17:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018099 -2.823649)'), GeomFromEWKT('SRID=4674;POINT (-40.018117 -2.823678)'))) / (select extract(epoch from '2026-06-09 17:29:25'::timestamp) - extract(epoch from '2026-06-09 17:29:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018119 -2.823716)', '2026-06-09 17:30:00', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018117 -2.823678)'), GeomFromEWKT('SRID=4674;POINT (-40.018119 -2.823716)'))) / (select extract(epoch from '2026-06-09 17:30:00'::timestamp) - extract(epoch from '2026-06-09 17:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018117 -2.823678)'), GeomFromEWKT('SRID=4674;POINT (-40.018119 -2.823716)'))) / (select extract(epoch from '2026-06-09 17:30:00'::timestamp) - extract(epoch from '2026-06-09 17:29: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'), 46698, 'SRID=4674;POINT (-40.01811 -2.823686)', '2026-06-09 17:30:19', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018119 -2.823716)'), GeomFromEWKT('SRID=4674;POINT (-40.01811 -2.823686)'))) / (select extract(epoch from '2026-06-09 17:30:19'::timestamp) - extract(epoch from '2026-06-09 17:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018119 -2.823716)'), GeomFromEWKT('SRID=4674;POINT (-40.01811 -2.823686)'))) / (select extract(epoch from '2026-06-09 17:30:19'::timestamp) - extract(epoch from '2026-06-09 17:30: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'), 46698, 'SRID=4674;POINT (-40.018102 -2.823641)', '2026-06-09 17:30:51', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01811 -2.823686)'), GeomFromEWKT('SRID=4674;POINT (-40.018102 -2.823641)'))) / (select extract(epoch from '2026-06-09 17:30:51'::timestamp) - extract(epoch from '2026-06-09 17:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01811 -2.823686)'), GeomFromEWKT('SRID=4674;POINT (-40.018102 -2.823641)'))) / (select extract(epoch from '2026-06-09 17:30:51'::timestamp) - extract(epoch from '2026-06-09 17:30: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'), 46698, 'SRID=4674;POINT (-40.018109 -2.823687)', '2026-06-09 17:31:10', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018102 -2.823641)'), GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823687)'))) / (select extract(epoch from '2026-06-09 17:31:10'::timestamp) - extract(epoch from '2026-06-09 17:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018102 -2.823641)'), GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823687)'))) / (select extract(epoch from '2026-06-09 17:31:10'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.018119 -2.823704)', '2026-06-09 17:31:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823687)'), GeomFromEWKT('SRID=4674;POINT (-40.018119 -2.823704)'))) / (select extract(epoch from '2026-06-09 17:31:41'::timestamp) - extract(epoch from '2026-06-09 17:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823687)'), GeomFromEWKT('SRID=4674;POINT (-40.018119 -2.823704)'))) / (select extract(epoch from '2026-06-09 17:31:41'::timestamp) - extract(epoch from '2026-06-09 17:31: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'), 46698, 'SRID=4674;POINT (-40.018125 -2.823671)', '2026-06-09 17:31:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018119 -2.823704)'), GeomFromEWKT('SRID=4674;POINT (-40.018125 -2.823671)'))) / (select extract(epoch from '2026-06-09 17:31:59'::timestamp) - extract(epoch from '2026-06-09 17:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018119 -2.823704)'), GeomFromEWKT('SRID=4674;POINT (-40.018125 -2.823671)'))) / (select extract(epoch from '2026-06-09 17:31:59'::timestamp) - extract(epoch from '2026-06-09 17:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018115 -2.823639)', '2026-06-09 17:32:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018125 -2.823671)'), GeomFromEWKT('SRID=4674;POINT (-40.018115 -2.823639)'))) / (select extract(epoch from '2026-06-09 17:32:29'::timestamp) - extract(epoch from '2026-06-09 17:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018125 -2.823671)'), GeomFromEWKT('SRID=4674;POINT (-40.018115 -2.823639)'))) / (select extract(epoch from '2026-06-09 17:32:29'::timestamp) - extract(epoch from '2026-06-09 17:31:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018107 -2.823674)', '2026-06-09 17:32:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018115 -2.823639)'), GeomFromEWKT('SRID=4674;POINT (-40.018107 -2.823674)'))) / (select extract(epoch from '2026-06-09 17:32:47'::timestamp) - extract(epoch from '2026-06-09 17:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018115 -2.823639)'), GeomFromEWKT('SRID=4674;POINT (-40.018107 -2.823674)'))) / (select extract(epoch from '2026-06-09 17:32:47'::timestamp) - extract(epoch from '2026-06-09 17:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018133 -2.823724)', '2026-06-09 17:33:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018107 -2.823674)'), GeomFromEWKT('SRID=4674;POINT (-40.018133 -2.823724)'))) / (select extract(epoch from '2026-06-09 17:33:23'::timestamp) - extract(epoch from '2026-06-09 17:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018107 -2.823674)'), GeomFromEWKT('SRID=4674;POINT (-40.018133 -2.823724)'))) / (select extract(epoch from '2026-06-09 17:33:23'::timestamp) - extract(epoch from '2026-06-09 17:32:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018113 -2.823678)', '2026-06-09 17:33:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018133 -2.823724)'), GeomFromEWKT('SRID=4674;POINT (-40.018113 -2.823678)'))) / (select extract(epoch from '2026-06-09 17:33:42'::timestamp) - extract(epoch from '2026-06-09 17:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018133 -2.823724)'), GeomFromEWKT('SRID=4674;POINT (-40.018113 -2.823678)'))) / (select extract(epoch from '2026-06-09 17:33:42'::timestamp) - extract(epoch from '2026-06-09 17:33: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'), 46698, 'SRID=4674;POINT (-40.018122 -2.823639)', '2026-06-09 17:34:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018113 -2.823678)'), GeomFromEWKT('SRID=4674;POINT (-40.018122 -2.823639)'))) / (select extract(epoch from '2026-06-09 17:34:14'::timestamp) - extract(epoch from '2026-06-09 17:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018113 -2.823678)'), GeomFromEWKT('SRID=4674;POINT (-40.018122 -2.823639)'))) / (select extract(epoch from '2026-06-09 17:34:14'::timestamp) - extract(epoch from '2026-06-09 17:33: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'), 46698, 'SRID=4674;POINT (-40.018143 -2.823669)', '2026-06-09 17:34:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018122 -2.823639)'), GeomFromEWKT('SRID=4674;POINT (-40.018143 -2.823669)'))) / (select extract(epoch from '2026-06-09 17:34:35'::timestamp) - extract(epoch from '2026-06-09 17:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018122 -2.823639)'), GeomFromEWKT('SRID=4674;POINT (-40.018143 -2.823669)'))) / (select extract(epoch from '2026-06-09 17:34:35'::timestamp) - extract(epoch from '2026-06-09 17:34:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018142 -2.823691)', '2026-06-09 17:35:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018143 -2.823669)'), GeomFromEWKT('SRID=4674;POINT (-40.018142 -2.823691)'))) / (select extract(epoch from '2026-06-09 17:35:09'::timestamp) - extract(epoch from '2026-06-09 17:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018143 -2.823669)'), GeomFromEWKT('SRID=4674;POINT (-40.018142 -2.823691)'))) / (select extract(epoch from '2026-06-09 17:35:09'::timestamp) - extract(epoch from '2026-06-09 17:34:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018133 -2.823674)', '2026-06-09 17:35:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018142 -2.823691)'), GeomFromEWKT('SRID=4674;POINT (-40.018133 -2.823674)'))) / (select extract(epoch from '2026-06-09 17:35:28'::timestamp) - extract(epoch from '2026-06-09 17:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018142 -2.823691)'), GeomFromEWKT('SRID=4674;POINT (-40.018133 -2.823674)'))) / (select extract(epoch from '2026-06-09 17:35:28'::timestamp) - extract(epoch from '2026-06-09 17:35:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018122 -2.823648)', '2026-06-09 17:35:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018133 -2.823674)'), GeomFromEWKT('SRID=4674;POINT (-40.018122 -2.823648)'))) / (select extract(epoch from '2026-06-09 17:35:49'::timestamp) - extract(epoch from '2026-06-09 17:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018133 -2.823674)'), GeomFromEWKT('SRID=4674;POINT (-40.018122 -2.823648)'))) / (select extract(epoch from '2026-06-09 17:35:49'::timestamp) - extract(epoch from '2026-06-09 17:35:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.0181 -2.82366)', '2026-06-09 17:36:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018122 -2.823648)'), GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.82366)'))) / (select extract(epoch from '2026-06-09 17:36:15'::timestamp) - extract(epoch from '2026-06-09 17:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018122 -2.823648)'), GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.82366)'))) / (select extract(epoch from '2026-06-09 17:36:15'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.018096 -2.823709)', '2026-06-09 17:36:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.82366)'), GeomFromEWKT('SRID=4674;POINT (-40.018096 -2.823709)'))) / (select extract(epoch from '2026-06-09 17:36:45'::timestamp) - extract(epoch from '2026-06-09 17:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.82366)'), GeomFromEWKT('SRID=4674;POINT (-40.018096 -2.823709)'))) / (select extract(epoch from '2026-06-09 17:36:45'::timestamp) - extract(epoch from '2026-06-09 17:36:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018105 -2.823709)', '2026-06-09 17:37:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018096 -2.823709)'), GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823709)'))) / (select extract(epoch from '2026-06-09 17:37:20'::timestamp) - extract(epoch from '2026-06-09 17:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018096 -2.823709)'), GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823709)'))) / (select extract(epoch from '2026-06-09 17:37:20'::timestamp) - extract(epoch from '2026-06-09 17:36: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'), 46698, 'SRID=4674;POINT (-40.018091 -2.823645)', '2026-06-09 17:37:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823709)'), GeomFromEWKT('SRID=4674;POINT (-40.018091 -2.823645)'))) / (select extract(epoch from '2026-06-09 17:37:50'::timestamp) - extract(epoch from '2026-06-09 17:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.823709)'), GeomFromEWKT('SRID=4674;POINT (-40.018091 -2.823645)'))) / (select extract(epoch from '2026-06-09 17:37:50'::timestamp) - extract(epoch from '2026-06-09 17:37:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018096 -2.823642)', '2026-06-09 17:38:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018091 -2.823645)'), GeomFromEWKT('SRID=4674;POINT (-40.018096 -2.823642)'))) / (select extract(epoch from '2026-06-09 17:38:16'::timestamp) - extract(epoch from '2026-06-09 17:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018091 -2.823645)'), GeomFromEWKT('SRID=4674;POINT (-40.018096 -2.823642)'))) / (select extract(epoch from '2026-06-09 17:38:16'::timestamp) - extract(epoch from '2026-06-09 17:37: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'), 46698, 'SRID=4674;POINT (-40.018101 -2.823699)', '2026-06-09 17:38:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018096 -2.823642)'), GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823699)'))) / (select extract(epoch from '2026-06-09 17:38:49'::timestamp) - extract(epoch from '2026-06-09 17:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018096 -2.823642)'), GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823699)'))) / (select extract(epoch from '2026-06-09 17:38:49'::timestamp) - extract(epoch from '2026-06-09 17:38: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'), 46698, 'SRID=4674;POINT (-40.018107 -2.823693)', '2026-06-09 17:39:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823699)'), GeomFromEWKT('SRID=4674;POINT (-40.018107 -2.823693)'))) / (select extract(epoch from '2026-06-09 17:39:18'::timestamp) - extract(epoch from '2026-06-09 17:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018101 -2.823699)'), GeomFromEWKT('SRID=4674;POINT (-40.018107 -2.823693)'))) / (select extract(epoch from '2026-06-09 17:39:18'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.018108 -2.823636)', '2026-06-09 17:39:53', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018107 -2.823693)'), GeomFromEWKT('SRID=4674;POINT (-40.018108 -2.823636)'))) / (select extract(epoch from '2026-06-09 17:39:53'::timestamp) - extract(epoch from '2026-06-09 17:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018107 -2.823693)'), GeomFromEWKT('SRID=4674;POINT (-40.018108 -2.823636)'))) / (select extract(epoch from '2026-06-09 17:39:53'::timestamp) - extract(epoch from '2026-06-09 17:39: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'), 46698, 'SRID=4674;POINT (-40.018097 -2.823666)', '2026-06-09 17:40:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018108 -2.823636)'), GeomFromEWKT('SRID=4674;POINT (-40.018097 -2.823666)'))) / (select extract(epoch from '2026-06-09 17:40:09'::timestamp) - extract(epoch from '2026-06-09 17:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018108 -2.823636)'), GeomFromEWKT('SRID=4674;POINT (-40.018097 -2.823666)'))) / (select extract(epoch from '2026-06-09 17:40:09'::timestamp) - extract(epoch from '2026-06-09 17:39:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018096 -2.823714)', '2026-06-09 17:40:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018097 -2.823666)'), GeomFromEWKT('SRID=4674;POINT (-40.018096 -2.823714)'))) / (select extract(epoch from '2026-06-09 17:40:45'::timestamp) - extract(epoch from '2026-06-09 17:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018097 -2.823666)'), GeomFromEWKT('SRID=4674;POINT (-40.018096 -2.823714)'))) / (select extract(epoch from '2026-06-09 17:40:45'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.018108 -2.82372)', '2026-06-09 17:41:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018096 -2.823714)'), GeomFromEWKT('SRID=4674;POINT (-40.018108 -2.82372)'))) / (select extract(epoch from '2026-06-09 17:41:18'::timestamp) - extract(epoch from '2026-06-09 17:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018096 -2.823714)'), GeomFromEWKT('SRID=4674;POINT (-40.018108 -2.82372)'))) / (select extract(epoch from '2026-06-09 17:41:18'::timestamp) - extract(epoch from '2026-06-09 17:40: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'), 46698, 'SRID=4674;POINT (-40.018105 -2.8237)', '2026-06-09 17:41:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018108 -2.82372)'), GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.8237)'))) / (select extract(epoch from '2026-06-09 17:41:27'::timestamp) - extract(epoch from '2026-06-09 17:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018108 -2.82372)'), GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.8237)'))) / (select extract(epoch from '2026-06-09 17:41:27'::timestamp) - extract(epoch from '2026-06-09 17:41: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'), 46698, 'SRID=4674;POINT (-40.018103 -2.823678)', '2026-06-09 17:41:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.8237)'), GeomFromEWKT('SRID=4674;POINT (-40.018103 -2.823678)'))) / (select extract(epoch from '2026-06-09 17:41:47'::timestamp) - extract(epoch from '2026-06-09 17:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018105 -2.8237)'), GeomFromEWKT('SRID=4674;POINT (-40.018103 -2.823678)'))) / (select extract(epoch from '2026-06-09 17:41:47'::timestamp) - extract(epoch from '2026-06-09 17:41:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018096 -2.823689)', '2026-06-09 17:42:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018103 -2.823678)'), GeomFromEWKT('SRID=4674;POINT (-40.018096 -2.823689)'))) / (select extract(epoch from '2026-06-09 17:42:09'::timestamp) - extract(epoch from '2026-06-09 17:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018103 -2.823678)'), GeomFromEWKT('SRID=4674;POINT (-40.018096 -2.823689)'))) / (select extract(epoch from '2026-06-09 17:42:09'::timestamp) - extract(epoch from '2026-06-09 17:41: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'), 46698, 'SRID=4674;POINT (-40.018102 -2.82371)', '2026-06-09 17:42:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018096 -2.823689)'), GeomFromEWKT('SRID=4674;POINT (-40.018102 -2.82371)'))) / (select extract(epoch from '2026-06-09 17:42:45'::timestamp) - extract(epoch from '2026-06-09 17:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018096 -2.823689)'), GeomFromEWKT('SRID=4674;POINT (-40.018102 -2.82371)'))) / (select extract(epoch from '2026-06-09 17:42:45'::timestamp) - extract(epoch from '2026-06-09 17:42:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018097 -2.823707)', '2026-06-09 17:43:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018102 -2.82371)'), GeomFromEWKT('SRID=4674;POINT (-40.018097 -2.823707)'))) / (select extract(epoch from '2026-06-09 17:43:09'::timestamp) - extract(epoch from '2026-06-09 17:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018102 -2.82371)'), GeomFromEWKT('SRID=4674;POINT (-40.018097 -2.823707)'))) / (select extract(epoch from '2026-06-09 17:43:09'::timestamp) - extract(epoch from '2026-06-09 17:42:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018098 -2.823672)', '2026-06-09 17:43:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018097 -2.823707)'), GeomFromEWKT('SRID=4674;POINT (-40.018098 -2.823672)'))) / (select extract(epoch from '2026-06-09 17:43:29'::timestamp) - extract(epoch from '2026-06-09 17:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018097 -2.823707)'), GeomFromEWKT('SRID=4674;POINT (-40.018098 -2.823672)'))) / (select extract(epoch from '2026-06-09 17:43:29'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.018094 -2.823673)', '2026-06-09 17:43:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018098 -2.823672)'), GeomFromEWKT('SRID=4674;POINT (-40.018094 -2.823673)'))) / (select extract(epoch from '2026-06-09 17:43:56'::timestamp) - extract(epoch from '2026-06-09 17:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018098 -2.823672)'), GeomFromEWKT('SRID=4674;POINT (-40.018094 -2.823673)'))) / (select extract(epoch from '2026-06-09 17:43:56'::timestamp) - extract(epoch from '2026-06-09 17:43: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'), 46698, 'SRID=4674;POINT (-40.018084 -2.823724)', '2026-06-09 17:44:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018094 -2.823673)'), GeomFromEWKT('SRID=4674;POINT (-40.018084 -2.823724)'))) / (select extract(epoch from '2026-06-09 17:44:25'::timestamp) - extract(epoch from '2026-06-09 17:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018094 -2.823673)'), GeomFromEWKT('SRID=4674;POINT (-40.018084 -2.823724)'))) / (select extract(epoch from '2026-06-09 17:44:25'::timestamp) - extract(epoch from '2026-06-09 17:43: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'), 46698, 'SRID=4674;POINT (-40.018121 -2.823731)', '2026-06-09 17:44:55', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018084 -2.823724)'), GeomFromEWKT('SRID=4674;POINT (-40.018121 -2.823731)'))) / (select extract(epoch from '2026-06-09 17:44:55'::timestamp) - extract(epoch from '2026-06-09 17:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018084 -2.823724)'), GeomFromEWKT('SRID=4674;POINT (-40.018121 -2.823731)'))) / (select extract(epoch from '2026-06-09 17:44:55'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.018109 -2.823684)', '2026-06-09 17:45:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018121 -2.823731)'), GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823684)'))) / (select extract(epoch from '2026-06-09 17:45:16'::timestamp) - extract(epoch from '2026-06-09 17:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018121 -2.823731)'), GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823684)'))) / (select extract(epoch from '2026-06-09 17:45:16'::timestamp) - extract(epoch from '2026-06-09 17:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.0181 -2.823669)', '2026-06-09 17:45:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823684)'), GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823669)'))) / (select extract(epoch from '2026-06-09 17:45:46'::timestamp) - extract(epoch from '2026-06-09 17:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823684)'), GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823669)'))) / (select extract(epoch from '2026-06-09 17:45:46'::timestamp) - extract(epoch from '2026-06-09 17:45:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.0181 -2.823707)', '2026-06-09 17:46:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823669)'), GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823707)'))) / (select extract(epoch from '2026-06-09 17:46:11'::timestamp) - extract(epoch from '2026-06-09 17:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823669)'), GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823707)'))) / (select extract(epoch from '2026-06-09 17:46:11'::timestamp) - extract(epoch from '2026-06-09 17:45:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018122 -2.823726)', '2026-06-09 17:46:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823707)'), GeomFromEWKT('SRID=4674;POINT (-40.018122 -2.823726)'))) / (select extract(epoch from '2026-06-09 17:46:46'::timestamp) - extract(epoch from '2026-06-09 17:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0181 -2.823707)'), GeomFromEWKT('SRID=4674;POINT (-40.018122 -2.823726)'))) / (select extract(epoch from '2026-06-09 17:46:46'::timestamp) - extract(epoch from '2026-06-09 17:46:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018123 -2.823712)', '2026-06-09 17:46:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018122 -2.823726)'), GeomFromEWKT('SRID=4674;POINT (-40.018123 -2.823712)'))) / (select extract(epoch from '2026-06-09 17:46:54'::timestamp) - extract(epoch from '2026-06-09 17:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018122 -2.823726)'), GeomFromEWKT('SRID=4674;POINT (-40.018123 -2.823712)'))) / (select extract(epoch from '2026-06-09 17:46:54'::timestamp) - extract(epoch from '2026-06-09 17:46: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'), 46698, 'SRID=4674;POINT (-40.018126 -2.823672)', '2026-06-09 17:47:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018123 -2.823712)'), GeomFromEWKT('SRID=4674;POINT (-40.018126 -2.823672)'))) / (select extract(epoch from '2026-06-09 17:47:21'::timestamp) - extract(epoch from '2026-06-09 17:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018123 -2.823712)'), GeomFromEWKT('SRID=4674;POINT (-40.018126 -2.823672)'))) / (select extract(epoch from '2026-06-09 17:47:21'::timestamp) - extract(epoch from '2026-06-09 17:46:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018107 -2.823684)', '2026-06-09 17:47:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018126 -2.823672)'), GeomFromEWKT('SRID=4674;POINT (-40.018107 -2.823684)'))) / (select extract(epoch from '2026-06-09 17:47:43'::timestamp) - extract(epoch from '2026-06-09 17:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018126 -2.823672)'), GeomFromEWKT('SRID=4674;POINT (-40.018107 -2.823684)'))) / (select extract(epoch from '2026-06-09 17:47:43'::timestamp) - extract(epoch from '2026-06-09 17:47:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018106 -2.823709)', '2026-06-09 17:48:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018107 -2.823684)'), GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.823709)'))) / (select extract(epoch from '2026-06-09 17:48:18'::timestamp) - extract(epoch from '2026-06-09 17:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018107 -2.823684)'), GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.823709)'))) / (select extract(epoch from '2026-06-09 17:48:18'::timestamp) - extract(epoch from '2026-06-09 17:47:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018109 -2.823675)', '2026-06-09 17:48:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.823709)'), GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823675)'))) / (select extract(epoch from '2026-06-09 17:48:34'::timestamp) - extract(epoch from '2026-06-09 17:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018106 -2.823709)'), GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823675)'))) / (select extract(epoch from '2026-06-09 17:48:34'::timestamp) - extract(epoch from '2026-06-09 17:48:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018084 -2.823691)', '2026-06-09 17:49:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823675)'), GeomFromEWKT('SRID=4674;POINT (-40.018084 -2.823691)'))) / (select extract(epoch from '2026-06-09 17:49:00'::timestamp) - extract(epoch from '2026-06-09 17:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018109 -2.823675)'), GeomFromEWKT('SRID=4674;POINT (-40.018084 -2.823691)'))) / (select extract(epoch from '2026-06-09 17:49:00'::timestamp) - extract(epoch from '2026-06-09 17:48:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018 -2.823723)', '2026-06-09 17:49:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018084 -2.823691)'), GeomFromEWKT('SRID=4674;POINT (-40.018 -2.823723)'))) / (select extract(epoch from '2026-06-09 17:49:16'::timestamp) - extract(epoch from '2026-06-09 17:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018084 -2.823691)'), GeomFromEWKT('SRID=4674;POINT (-40.018 -2.823723)'))) / (select extract(epoch from '2026-06-09 17:49:16'::timestamp) - extract(epoch from '2026-06-09 17:49: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'), 46698, 'SRID=4674;POINT (-40.017929 -2.823684)', '2026-06-09 17:49:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018 -2.823723)'), GeomFromEWKT('SRID=4674;POINT (-40.017929 -2.823684)'))) / (select extract(epoch from '2026-06-09 17:49:28'::timestamp) - extract(epoch from '2026-06-09 17:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018 -2.823723)'), GeomFromEWKT('SRID=4674;POINT (-40.017929 -2.823684)'))) / (select extract(epoch from '2026-06-09 17:49:28'::timestamp) - extract(epoch from '2026-06-09 17:49:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017825 -2.823686)', '2026-06-09 17:49:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017929 -2.823684)'), GeomFromEWKT('SRID=4674;POINT (-40.017825 -2.823686)'))) / (select extract(epoch from '2026-06-09 17:49:44'::timestamp) - extract(epoch from '2026-06-09 17:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017929 -2.823684)'), GeomFromEWKT('SRID=4674;POINT (-40.017825 -2.823686)'))) / (select extract(epoch from '2026-06-09 17:49:44'::timestamp) - extract(epoch from '2026-06-09 17:49:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017636 -2.823696)', '2026-06-09 17:50:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017825 -2.823686)'), GeomFromEWKT('SRID=4674;POINT (-40.017636 -2.823696)'))) / (select extract(epoch from '2026-06-09 17:50:07'::timestamp) - extract(epoch from '2026-06-09 17:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017825 -2.823686)'), GeomFromEWKT('SRID=4674;POINT (-40.017636 -2.823696)'))) / (select extract(epoch from '2026-06-09 17:50:07'::timestamp) - extract(epoch from '2026-06-09 17:49: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'), 46698, 'SRID=4674;POINT (-40.017537 -2.823695)', '2026-06-09 17:50:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017636 -2.823696)'), GeomFromEWKT('SRID=4674;POINT (-40.017537 -2.823695)'))) / (select extract(epoch from '2026-06-09 17:50:27'::timestamp) - extract(epoch from '2026-06-09 17:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017636 -2.823696)'), GeomFromEWKT('SRID=4674;POINT (-40.017537 -2.823695)'))) / (select extract(epoch from '2026-06-09 17:50:27'::timestamp) - extract(epoch from '2026-06-09 17:50: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'), 46698, 'SRID=4674;POINT (-40.017478 -2.823669)', '2026-06-09 17:50:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017537 -2.823695)'), GeomFromEWKT('SRID=4674;POINT (-40.017478 -2.823669)'))) / (select extract(epoch from '2026-06-09 17:50:48'::timestamp) - extract(epoch from '2026-06-09 17:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017537 -2.823695)'), GeomFromEWKT('SRID=4674;POINT (-40.017478 -2.823669)'))) / (select extract(epoch from '2026-06-09 17:50:48'::timestamp) - extract(epoch from '2026-06-09 17:50:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017477 -2.823668)', '2026-06-09 17:51:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017478 -2.823669)'), GeomFromEWKT('SRID=4674;POINT (-40.017477 -2.823668)'))) / (select extract(epoch from '2026-06-09 17:51:17'::timestamp) - extract(epoch from '2026-06-09 17:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017478 -2.823669)'), GeomFromEWKT('SRID=4674;POINT (-40.017477 -2.823668)'))) / (select extract(epoch from '2026-06-09 17:51:17'::timestamp) - extract(epoch from '2026-06-09 17:50: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'), 46698, 'SRID=4674;POINT (-40.017518 -2.823638)', '2026-06-09 17:51:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017477 -2.823668)'), GeomFromEWKT('SRID=4674;POINT (-40.017518 -2.823638)'))) / (select extract(epoch from '2026-06-09 17:51:32'::timestamp) - extract(epoch from '2026-06-09 17:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017477 -2.823668)'), GeomFromEWKT('SRID=4674;POINT (-40.017518 -2.823638)'))) / (select extract(epoch from '2026-06-09 17:51:32'::timestamp) - extract(epoch from '2026-06-09 17:51: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'), 46698, 'SRID=4674;POINT (-40.01756 -2.823558)', '2026-06-09 17:51:41', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017518 -2.823638)'), GeomFromEWKT('SRID=4674;POINT (-40.01756 -2.823558)'))) / (select extract(epoch from '2026-06-09 17:51:41'::timestamp) - extract(epoch from '2026-06-09 17:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017518 -2.823638)'), GeomFromEWKT('SRID=4674;POINT (-40.01756 -2.823558)'))) / (select extract(epoch from '2026-06-09 17:51:41'::timestamp) - extract(epoch from '2026-06-09 17:51: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'), 46698, 'SRID=4674;POINT (-40.017541 -2.823443)', '2026-06-09 17:51:51', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01756 -2.823558)'), GeomFromEWKT('SRID=4674;POINT (-40.017541 -2.823443)'))) / (select extract(epoch from '2026-06-09 17:51:51'::timestamp) - extract(epoch from '2026-06-09 17:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01756 -2.823558)'), GeomFromEWKT('SRID=4674;POINT (-40.017541 -2.823443)'))) / (select extract(epoch from '2026-06-09 17:51:51'::timestamp) - extract(epoch from '2026-06-09 17:51:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017466 -2.823394)', '2026-06-09 17:52:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017541 -2.823443)'), GeomFromEWKT('SRID=4674;POINT (-40.017466 -2.823394)'))) / (select extract(epoch from '2026-06-09 17:52:01'::timestamp) - extract(epoch from '2026-06-09 17:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017541 -2.823443)'), GeomFromEWKT('SRID=4674;POINT (-40.017466 -2.823394)'))) / (select extract(epoch from '2026-06-09 17:52:01'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.017364 -2.823371)', '2026-06-09 17:52:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017466 -2.823394)'), GeomFromEWKT('SRID=4674;POINT (-40.017364 -2.823371)'))) / (select extract(epoch from '2026-06-09 17:52:13'::timestamp) - extract(epoch from '2026-06-09 17:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017466 -2.823394)'), GeomFromEWKT('SRID=4674;POINT (-40.017364 -2.823371)'))) / (select extract(epoch from '2026-06-09 17:52:13'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.017273 -2.823384)', '2026-06-09 17:52:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017364 -2.823371)'), GeomFromEWKT('SRID=4674;POINT (-40.017273 -2.823384)'))) / (select extract(epoch from '2026-06-09 17:52:26'::timestamp) - extract(epoch from '2026-06-09 17:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017364 -2.823371)'), GeomFromEWKT('SRID=4674;POINT (-40.017273 -2.823384)'))) / (select extract(epoch from '2026-06-09 17:52:26'::timestamp) - extract(epoch from '2026-06-09 17:52:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017164 -2.823427)', '2026-06-09 17:52:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017273 -2.823384)'), GeomFromEWKT('SRID=4674;POINT (-40.017164 -2.823427)'))) / (select extract(epoch from '2026-06-09 17:52:43'::timestamp) - extract(epoch from '2026-06-09 17:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017273 -2.823384)'), GeomFromEWKT('SRID=4674;POINT (-40.017164 -2.823427)'))) / (select extract(epoch from '2026-06-09 17:52:43'::timestamp) - extract(epoch from '2026-06-09 17:52: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'), 46698, 'SRID=4674;POINT (-40.017078 -2.823419)', '2026-06-09 17:53:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017164 -2.823427)'), GeomFromEWKT('SRID=4674;POINT (-40.017078 -2.823419)'))) / (select extract(epoch from '2026-06-09 17:53:00'::timestamp) - extract(epoch from '2026-06-09 17:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017164 -2.823427)'), GeomFromEWKT('SRID=4674;POINT (-40.017078 -2.823419)'))) / (select extract(epoch from '2026-06-09 17:53:00'::timestamp) - extract(epoch from '2026-06-09 17:52:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017032 -2.823406)', '2026-06-09 17:53:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017078 -2.823419)'), GeomFromEWKT('SRID=4674;POINT (-40.017032 -2.823406)'))) / (select extract(epoch from '2026-06-09 17:53:17'::timestamp) - extract(epoch from '2026-06-09 17:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017078 -2.823419)'), GeomFromEWKT('SRID=4674;POINT (-40.017032 -2.823406)'))) / (select extract(epoch from '2026-06-09 17:53:17'::timestamp) - extract(epoch from '2026-06-09 17:53: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'), 46698, 'SRID=4674;POINT (-40.017017 -2.823428)', '2026-06-09 17:53:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017032 -2.823406)'), GeomFromEWKT('SRID=4674;POINT (-40.017017 -2.823428)'))) / (select extract(epoch from '2026-06-09 17:53:32'::timestamp) - extract(epoch from '2026-06-09 17:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017032 -2.823406)'), GeomFromEWKT('SRID=4674;POINT (-40.017017 -2.823428)'))) / (select extract(epoch from '2026-06-09 17:53:32'::timestamp) - extract(epoch from '2026-06-09 17:53: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'), 46698, 'SRID=4674;POINT (-40.016996 -2.823441)', '2026-06-09 17:53:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017017 -2.823428)'), GeomFromEWKT('SRID=4674;POINT (-40.016996 -2.823441)'))) / (select extract(epoch from '2026-06-09 17:53:50'::timestamp) - extract(epoch from '2026-06-09 17:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017017 -2.823428)'), GeomFromEWKT('SRID=4674;POINT (-40.016996 -2.823441)'))) / (select extract(epoch from '2026-06-09 17:53:50'::timestamp) - extract(epoch from '2026-06-09 17:53:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.016977 -2.823422)', '2026-06-09 17:54:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016996 -2.823441)'), GeomFromEWKT('SRID=4674;POINT (-40.016977 -2.823422)'))) / (select extract(epoch from '2026-06-09 17:54:01'::timestamp) - extract(epoch from '2026-06-09 17:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016996 -2.823441)'), GeomFromEWKT('SRID=4674;POINT (-40.016977 -2.823422)'))) / (select extract(epoch from '2026-06-09 17:54:01'::timestamp) - extract(epoch from '2026-06-09 17:53:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017 -2.8234)', '2026-06-09 17:54:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016977 -2.823422)'), GeomFromEWKT('SRID=4674;POINT (-40.017 -2.8234)'))) / (select extract(epoch from '2026-06-09 17:54:16'::timestamp) - extract(epoch from '2026-06-09 17:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.016977 -2.823422)'), GeomFromEWKT('SRID=4674;POINT (-40.017 -2.8234)'))) / (select extract(epoch from '2026-06-09 17:54:16'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.017084 -2.823314)', '2026-06-09 17:54:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017 -2.8234)'), GeomFromEWKT('SRID=4674;POINT (-40.017084 -2.823314)'))) / (select extract(epoch from '2026-06-09 17:54:31'::timestamp) - extract(epoch from '2026-06-09 17:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017 -2.8234)'), GeomFromEWKT('SRID=4674;POINT (-40.017084 -2.823314)'))) / (select extract(epoch from '2026-06-09 17:54:31'::timestamp) - extract(epoch from '2026-06-09 17:54:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017213 -2.823254)', '2026-06-09 17:54:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017084 -2.823314)'), GeomFromEWKT('SRID=4674;POINT (-40.017213 -2.823254)'))) / (select extract(epoch from '2026-06-09 17:54:43'::timestamp) - extract(epoch from '2026-06-09 17:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017084 -2.823314)'), GeomFromEWKT('SRID=4674;POINT (-40.017213 -2.823254)'))) / (select extract(epoch from '2026-06-09 17:54:43'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.017376 -2.82319)', '2026-06-09 17:54:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017213 -2.823254)'), GeomFromEWKT('SRID=4674;POINT (-40.017376 -2.82319)'))) / (select extract(epoch from '2026-06-09 17:54:58'::timestamp) - extract(epoch from '2026-06-09 17:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017213 -2.823254)'), GeomFromEWKT('SRID=4674;POINT (-40.017376 -2.82319)'))) / (select extract(epoch from '2026-06-09 17:54:58'::timestamp) - extract(epoch from '2026-06-09 17:54: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'), 46698, 'SRID=4674;POINT (-40.017507 -2.823149)', '2026-06-09 17:55:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017376 -2.82319)'), GeomFromEWKT('SRID=4674;POINT (-40.017507 -2.823149)'))) / (select extract(epoch from '2026-06-09 17:55:10'::timestamp) - extract(epoch from '2026-06-09 17:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017376 -2.82319)'), GeomFromEWKT('SRID=4674;POINT (-40.017507 -2.823149)'))) / (select extract(epoch from '2026-06-09 17:55:10'::timestamp) - extract(epoch from '2026-06-09 17:54:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017624 -2.823159)', '2026-06-09 17:55:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017507 -2.823149)'), GeomFromEWKT('SRID=4674;POINT (-40.017624 -2.823159)'))) / (select extract(epoch from '2026-06-09 17:55:21'::timestamp) - extract(epoch from '2026-06-09 17:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017507 -2.823149)'), GeomFromEWKT('SRID=4674;POINT (-40.017624 -2.823159)'))) / (select extract(epoch from '2026-06-09 17:55:21'::timestamp) - extract(epoch from '2026-06-09 17:55:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017689 -2.823225)', '2026-06-09 17:55:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017624 -2.823159)'), GeomFromEWKT('SRID=4674;POINT (-40.017689 -2.823225)'))) / (select extract(epoch from '2026-06-09 17:55:29'::timestamp) - extract(epoch from '2026-06-09 17:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017624 -2.823159)'), GeomFromEWKT('SRID=4674;POINT (-40.017689 -2.823225)'))) / (select extract(epoch from '2026-06-09 17:55:29'::timestamp) - extract(epoch from '2026-06-09 17:55: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'), 46698, 'SRID=4674;POINT (-40.017676 -2.823307)', '2026-06-09 17:55:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017689 -2.823225)'), GeomFromEWKT('SRID=4674;POINT (-40.017676 -2.823307)'))) / (select extract(epoch from '2026-06-09 17:55:38'::timestamp) - extract(epoch from '2026-06-09 17:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017689 -2.823225)'), GeomFromEWKT('SRID=4674;POINT (-40.017676 -2.823307)'))) / (select extract(epoch from '2026-06-09 17:55:38'::timestamp) - extract(epoch from '2026-06-09 17:55:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017616 -2.823333)', '2026-06-09 17:55:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017676 -2.823307)'), GeomFromEWKT('SRID=4674;POINT (-40.017616 -2.823333)'))) / (select extract(epoch from '2026-06-09 17:55:49'::timestamp) - extract(epoch from '2026-06-09 17:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017676 -2.823307)'), GeomFromEWKT('SRID=4674;POINT (-40.017616 -2.823333)'))) / (select extract(epoch from '2026-06-09 17:55:49'::timestamp) - extract(epoch from '2026-06-09 17:55: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'), 46698, 'SRID=4674;POINT (-40.017495 -2.823328)', '2026-06-09 17:56:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017616 -2.823333)'), GeomFromEWKT('SRID=4674;POINT (-40.017495 -2.823328)'))) / (select extract(epoch from '2026-06-09 17:56:04'::timestamp) - extract(epoch from '2026-06-09 17:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017616 -2.823333)'), GeomFromEWKT('SRID=4674;POINT (-40.017495 -2.823328)'))) / (select extract(epoch from '2026-06-09 17:56:04'::timestamp) - extract(epoch from '2026-06-09 17:55: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'), 46698, 'SRID=4674;POINT (-40.017384 -2.823298)', '2026-06-09 17:56:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017495 -2.823328)'), GeomFromEWKT('SRID=4674;POINT (-40.017384 -2.823298)'))) / (select extract(epoch from '2026-06-09 17:56:22'::timestamp) - extract(epoch from '2026-06-09 17:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017495 -2.823328)'), GeomFromEWKT('SRID=4674;POINT (-40.017384 -2.823298)'))) / (select extract(epoch from '2026-06-09 17:56:22'::timestamp) - extract(epoch from '2026-06-09 17:56:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017258 -2.823225)', '2026-06-09 17:56:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017384 -2.823298)'), GeomFromEWKT('SRID=4674;POINT (-40.017258 -2.823225)'))) / (select extract(epoch from '2026-06-09 17:56:39'::timestamp) - extract(epoch from '2026-06-09 17:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017384 -2.823298)'), GeomFromEWKT('SRID=4674;POINT (-40.017258 -2.823225)'))) / (select extract(epoch from '2026-06-09 17:56:39'::timestamp) - extract(epoch from '2026-06-09 17:56:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017193 -2.823105)', '2026-06-09 17:56:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017258 -2.823225)'), GeomFromEWKT('SRID=4674;POINT (-40.017193 -2.823105)'))) / (select extract(epoch from '2026-06-09 17:56:52'::timestamp) - extract(epoch from '2026-06-09 17:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017258 -2.823225)'), GeomFromEWKT('SRID=4674;POINT (-40.017193 -2.823105)'))) / (select extract(epoch from '2026-06-09 17:56:52'::timestamp) - extract(epoch from '2026-06-09 17:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017167 -2.822976)', '2026-06-09 17:57:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017193 -2.823105)'), GeomFromEWKT('SRID=4674;POINT (-40.017167 -2.822976)'))) / (select extract(epoch from '2026-06-09 17:57:07'::timestamp) - extract(epoch from '2026-06-09 17:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017193 -2.823105)'), GeomFromEWKT('SRID=4674;POINT (-40.017167 -2.822976)'))) / (select extract(epoch from '2026-06-09 17:57:07'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.017174 -2.822883)', '2026-06-09 17:57:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017167 -2.822976)'), GeomFromEWKT('SRID=4674;POINT (-40.017174 -2.822883)'))) / (select extract(epoch from '2026-06-09 17:57:18'::timestamp) - extract(epoch from '2026-06-09 17:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017167 -2.822976)'), GeomFromEWKT('SRID=4674;POINT (-40.017174 -2.822883)'))) / (select extract(epoch from '2026-06-09 17:57:18'::timestamp) - extract(epoch from '2026-06-09 17:57:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017188 -2.822761)', '2026-06-09 17:57:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017174 -2.822883)'), GeomFromEWKT('SRID=4674;POINT (-40.017188 -2.822761)'))) / (select extract(epoch from '2026-06-09 17:57:32'::timestamp) - extract(epoch from '2026-06-09 17:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017174 -2.822883)'), GeomFromEWKT('SRID=4674;POINT (-40.017188 -2.822761)'))) / (select extract(epoch from '2026-06-09 17:57:32'::timestamp) - extract(epoch from '2026-06-09 17:57:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017243 -2.822691)', '2026-06-09 17:57:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017188 -2.822761)'), GeomFromEWKT('SRID=4674;POINT (-40.017243 -2.822691)'))) / (select extract(epoch from '2026-06-09 17:57:42'::timestamp) - extract(epoch from '2026-06-09 17:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017188 -2.822761)'), GeomFromEWKT('SRID=4674;POINT (-40.017243 -2.822691)'))) / (select extract(epoch from '2026-06-09 17:57:42'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.017372 -2.822629)', '2026-06-09 17:57:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017243 -2.822691)'), GeomFromEWKT('SRID=4674;POINT (-40.017372 -2.822629)'))) / (select extract(epoch from '2026-06-09 17:57:55'::timestamp) - extract(epoch from '2026-06-09 17:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017243 -2.822691)'), GeomFromEWKT('SRID=4674;POINT (-40.017372 -2.822629)'))) / (select extract(epoch from '2026-06-09 17:57:55'::timestamp) - extract(epoch from '2026-06-09 17:57:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017536 -2.822594)', '2026-06-09 17:58:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017372 -2.822629)'), GeomFromEWKT('SRID=4674;POINT (-40.017536 -2.822594)'))) / (select extract(epoch from '2026-06-09 17:58:09'::timestamp) - extract(epoch from '2026-06-09 17:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017372 -2.822629)'), GeomFromEWKT('SRID=4674;POINT (-40.017536 -2.822594)'))) / (select extract(epoch from '2026-06-09 17:58:09'::timestamp) - extract(epoch from '2026-06-09 17:57:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017676 -2.822566)', '2026-06-09 17:58:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017536 -2.822594)'), GeomFromEWKT('SRID=4674;POINT (-40.017676 -2.822566)'))) / (select extract(epoch from '2026-06-09 17:58:21'::timestamp) - extract(epoch from '2026-06-09 17:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017536 -2.822594)'), GeomFromEWKT('SRID=4674;POINT (-40.017676 -2.822566)'))) / (select extract(epoch from '2026-06-09 17:58:21'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.017807 -2.822534)', '2026-06-09 17:58:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017676 -2.822566)'), GeomFromEWKT('SRID=4674;POINT (-40.017807 -2.822534)'))) / (select extract(epoch from '2026-06-09 17:58:33'::timestamp) - extract(epoch from '2026-06-09 17:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017676 -2.822566)'), GeomFromEWKT('SRID=4674;POINT (-40.017807 -2.822534)'))) / (select extract(epoch from '2026-06-09 17:58:33'::timestamp) - extract(epoch from '2026-06-09 17:58:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.017968 -2.822502)', '2026-06-09 17:58:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017807 -2.822534)'), GeomFromEWKT('SRID=4674;POINT (-40.017968 -2.822502)'))) / (select extract(epoch from '2026-06-09 17:58:47'::timestamp) - extract(epoch from '2026-06-09 17:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017807 -2.822534)'), GeomFromEWKT('SRID=4674;POINT (-40.017968 -2.822502)'))) / (select extract(epoch from '2026-06-09 17:58:47'::timestamp) - extract(epoch from '2026-06-09 17:58: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'), 46698, 'SRID=4674;POINT (-40.01812 -2.822469)', '2026-06-09 17:59:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017968 -2.822502)'), GeomFromEWKT('SRID=4674;POINT (-40.01812 -2.822469)'))) / (select extract(epoch from '2026-06-09 17:59:01'::timestamp) - extract(epoch from '2026-06-09 17:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017968 -2.822502)'), GeomFromEWKT('SRID=4674;POINT (-40.01812 -2.822469)'))) / (select extract(epoch from '2026-06-09 17:59:01'::timestamp) - extract(epoch from '2026-06-09 17: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'), 46698, 'SRID=4674;POINT (-40.018227 -2.82245)', '2026-06-09 17:59:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01812 -2.822469)'), GeomFromEWKT('SRID=4674;POINT (-40.018227 -2.82245)'))) / (select extract(epoch from '2026-06-09 17:59:11'::timestamp) - extract(epoch from '2026-06-09 17:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01812 -2.822469)'), GeomFromEWKT('SRID=4674;POINT (-40.018227 -2.82245)'))) / (select extract(epoch from '2026-06-09 17:59:11'::timestamp) - extract(epoch from '2026-06-09 17:59: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'), 46698, 'SRID=4674;POINT (-40.018368 -2.822417)', '2026-06-09 17:59:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018227 -2.82245)'), GeomFromEWKT('SRID=4674;POINT (-40.018368 -2.822417)'))) / (select extract(epoch from '2026-06-09 17:59:24'::timestamp) - extract(epoch from '2026-06-09 17:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018227 -2.82245)'), GeomFromEWKT('SRID=4674;POINT (-40.018368 -2.822417)'))) / (select extract(epoch from '2026-06-09 17:59:24'::timestamp) - extract(epoch from '2026-06-09 17:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018471 -2.822402)', '2026-06-09 17:59:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018368 -2.822417)'), GeomFromEWKT('SRID=4674;POINT (-40.018471 -2.822402)'))) / (select extract(epoch from '2026-06-09 17:59:34'::timestamp) - extract(epoch from '2026-06-09 17:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018368 -2.822417)'), GeomFromEWKT('SRID=4674;POINT (-40.018471 -2.822402)'))) / (select extract(epoch from '2026-06-09 17:59:34'::timestamp) - extract(epoch from '2026-06-09 17:59:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018609 -2.822384)', '2026-06-09 17:59:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018471 -2.822402)'), GeomFromEWKT('SRID=4674;POINT (-40.018609 -2.822384)'))) / (select extract(epoch from '2026-06-09 17:59:46'::timestamp) - extract(epoch from '2026-06-09 17:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018471 -2.822402)'), GeomFromEWKT('SRID=4674;POINT (-40.018609 -2.822384)'))) / (select extract(epoch from '2026-06-09 17:59:46'::timestamp) - extract(epoch from '2026-06-09 17:59:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018716 -2.822368)', '2026-06-09 17:59:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018609 -2.822384)'), GeomFromEWKT('SRID=4674;POINT (-40.018716 -2.822368)'))) / (select extract(epoch from '2026-06-09 17:59:55'::timestamp) - extract(epoch from '2026-06-09 17:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018609 -2.822384)'), GeomFromEWKT('SRID=4674;POINT (-40.018716 -2.822368)'))) / (select extract(epoch from '2026-06-09 17:59:55'::timestamp) - extract(epoch from '2026-06-09 17:59:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018835 -2.822358)', '2026-06-09 18:00:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018716 -2.822368)'), GeomFromEWKT('SRID=4674;POINT (-40.018835 -2.822358)'))) / (select extract(epoch from '2026-06-09 18:00:05'::timestamp) - extract(epoch from '2026-06-09 17:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018716 -2.822368)'), GeomFromEWKT('SRID=4674;POINT (-40.018835 -2.822358)'))) / (select extract(epoch from '2026-06-09 18:00:05'::timestamp) - extract(epoch from '2026-06-09 17:59:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.01895 -2.822344)', '2026-06-09 18:00:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018835 -2.822358)'), GeomFromEWKT('SRID=4674;POINT (-40.01895 -2.822344)'))) / (select extract(epoch from '2026-06-09 18:00:15'::timestamp) - extract(epoch from '2026-06-09 18:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018835 -2.822358)'), GeomFromEWKT('SRID=4674;POINT (-40.01895 -2.822344)'))) / (select extract(epoch from '2026-06-09 18:00:15'::timestamp) - extract(epoch from '2026-06-09 18:00: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'), 46698, 'SRID=4674;POINT (-40.019066 -2.822317)', '2026-06-09 18:00:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01895 -2.822344)'), GeomFromEWKT('SRID=4674;POINT (-40.019066 -2.822317)'))) / (select extract(epoch from '2026-06-09 18:00:27'::timestamp) - extract(epoch from '2026-06-09 18:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01895 -2.822344)'), GeomFromEWKT('SRID=4674;POINT (-40.019066 -2.822317)'))) / (select extract(epoch from '2026-06-09 18:00:27'::timestamp) - extract(epoch from '2026-06-09 18:00:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.019198 -2.822298)', '2026-06-09 18:00:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019066 -2.822317)'), GeomFromEWKT('SRID=4674;POINT (-40.019198 -2.822298)'))) / (select extract(epoch from '2026-06-09 18:00:39'::timestamp) - extract(epoch from '2026-06-09 18:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019066 -2.822317)'), GeomFromEWKT('SRID=4674;POINT (-40.019198 -2.822298)'))) / (select extract(epoch from '2026-06-09 18:00:39'::timestamp) - extract(epoch from '2026-06-09 18:00:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.019225 -2.822295)', '2026-06-09 18:00:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019198 -2.822298)'), GeomFromEWKT('SRID=4674;POINT (-40.019225 -2.822295)'))) / (select extract(epoch from '2026-06-09 18:00:45'::timestamp) - extract(epoch from '2026-06-09 18:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019198 -2.822298)'), GeomFromEWKT('SRID=4674;POINT (-40.019225 -2.822295)'))) / (select extract(epoch from '2026-06-09 18:00:45'::timestamp) - extract(epoch from '2026-06-09 18:00: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'), 46698, 'SRID=4674;POINT (-40.019238 -2.822296)', '2026-06-09 18:01:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019225 -2.822295)'), GeomFromEWKT('SRID=4674;POINT (-40.019238 -2.822296)'))) / (select extract(epoch from '2026-06-09 18:01:12'::timestamp) - extract(epoch from '2026-06-09 18:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019225 -2.822295)'), GeomFromEWKT('SRID=4674;POINT (-40.019238 -2.822296)'))) / (select extract(epoch from '2026-06-09 18:01:12'::timestamp) - extract(epoch from '2026-06-09 18:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.019303 -2.822296)', '2026-06-09 18:01:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019238 -2.822296)'), GeomFromEWKT('SRID=4674;POINT (-40.019303 -2.822296)'))) / (select extract(epoch from '2026-06-09 18:01:33'::timestamp) - extract(epoch from '2026-06-09 18:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019238 -2.822296)'), GeomFromEWKT('SRID=4674;POINT (-40.019303 -2.822296)'))) / (select extract(epoch from '2026-06-09 18:01:33'::timestamp) - extract(epoch from '2026-06-09 18:01: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'), 46698, 'SRID=4674;POINT (-40.019415 -2.822341)', '2026-06-09 18:01:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019303 -2.822296)'), GeomFromEWKT('SRID=4674;POINT (-40.019415 -2.822341)'))) / (select extract(epoch from '2026-06-09 18:01:50'::timestamp) - extract(epoch from '2026-06-09 18:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019303 -2.822296)'), GeomFromEWKT('SRID=4674;POINT (-40.019415 -2.822341)'))) / (select extract(epoch from '2026-06-09 18:01:50'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.019457 -2.822355)', '2026-06-09 18:02:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019415 -2.822341)'), GeomFromEWKT('SRID=4674;POINT (-40.019457 -2.822355)'))) / (select extract(epoch from '2026-06-09 18:02:00'::timestamp) - extract(epoch from '2026-06-09 18:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019415 -2.822341)'), GeomFromEWKT('SRID=4674;POINT (-40.019457 -2.822355)'))) / (select extract(epoch from '2026-06-09 18:02:00'::timestamp) - extract(epoch from '2026-06-09 18:01: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'), 46698, 'SRID=4674;POINT (-40.019465 -2.822357)', '2026-06-09 18:02:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019457 -2.822355)'), GeomFromEWKT('SRID=4674;POINT (-40.019465 -2.822357)'))) / (select extract(epoch from '2026-06-09 18:02:23'::timestamp) - extract(epoch from '2026-06-09 18:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019457 -2.822355)'), GeomFromEWKT('SRID=4674;POINT (-40.019465 -2.822357)'))) / (select extract(epoch from '2026-06-09 18:02:23'::timestamp) - extract(epoch from '2026-06-09 18:02:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.019475 -2.822368)', '2026-06-09 18:02:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019465 -2.822357)'), GeomFromEWKT('SRID=4674;POINT (-40.019475 -2.822368)'))) / (select extract(epoch from '2026-06-09 18:02:41'::timestamp) - extract(epoch from '2026-06-09 18:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019465 -2.822357)'), GeomFromEWKT('SRID=4674;POINT (-40.019475 -2.822368)'))) / (select extract(epoch from '2026-06-09 18:02:41'::timestamp) - extract(epoch from '2026-06-09 18:02:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.019455 -2.822372)', '2026-06-09 18:03:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019475 -2.822368)'), GeomFromEWKT('SRID=4674;POINT (-40.019455 -2.822372)'))) / (select extract(epoch from '2026-06-09 18:03:47'::timestamp) - extract(epoch from '2026-06-09 18:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019475 -2.822368)'), GeomFromEWKT('SRID=4674;POINT (-40.019455 -2.822372)'))) / (select extract(epoch from '2026-06-09 18:03:47'::timestamp) - extract(epoch from '2026-06-09 18:02: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'), 46698, 'SRID=4674;POINT (-40.019338 -2.822352)', '2026-06-09 18:04:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019455 -2.822372)'), GeomFromEWKT('SRID=4674;POINT (-40.019338 -2.822352)'))) / (select extract(epoch from '2026-06-09 18:04:06'::timestamp) - extract(epoch from '2026-06-09 18:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019455 -2.822372)'), GeomFromEWKT('SRID=4674;POINT (-40.019338 -2.822352)'))) / (select extract(epoch from '2026-06-09 18:04:06'::timestamp) - extract(epoch from '2026-06-09 18:03: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'), 46698, 'SRID=4674;POINT (-40.019221 -2.822347)', '2026-06-09 18:04:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019338 -2.822352)'), GeomFromEWKT('SRID=4674;POINT (-40.019221 -2.822347)'))) / (select extract(epoch from '2026-06-09 18:04:26'::timestamp) - extract(epoch from '2026-06-09 18:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019338 -2.822352)'), GeomFromEWKT('SRID=4674;POINT (-40.019221 -2.822347)'))) / (select extract(epoch from '2026-06-09 18:04:26'::timestamp) - extract(epoch from '2026-06-09 18:04: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'), 46698, 'SRID=4674;POINT (-40.019128 -2.822347)', '2026-06-09 18:04:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019221 -2.822347)'), GeomFromEWKT('SRID=4674;POINT (-40.019128 -2.822347)'))) / (select extract(epoch from '2026-06-09 18:04:41'::timestamp) - extract(epoch from '2026-06-09 18:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019221 -2.822347)'), GeomFromEWKT('SRID=4674;POINT (-40.019128 -2.822347)'))) / (select extract(epoch from '2026-06-09 18:04:41'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.018993 -2.822358)', '2026-06-09 18:05:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019128 -2.822347)'), GeomFromEWKT('SRID=4674;POINT (-40.018993 -2.822358)'))) / (select extract(epoch from '2026-06-09 18:05:03'::timestamp) - extract(epoch from '2026-06-09 18:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.019128 -2.822347)'), GeomFromEWKT('SRID=4674;POINT (-40.018993 -2.822358)'))) / (select extract(epoch from '2026-06-09 18:05:03'::timestamp) - extract(epoch from '2026-06-09 18:04: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'), 46698, 'SRID=4674;POINT (-40.018913 -2.822362)', '2026-06-09 18:05:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018993 -2.822358)'), GeomFromEWKT('SRID=4674;POINT (-40.018913 -2.822362)'))) / (select extract(epoch from '2026-06-09 18:05:19'::timestamp) - extract(epoch from '2026-06-09 18:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018993 -2.822358)'), GeomFromEWKT('SRID=4674;POINT (-40.018913 -2.822362)'))) / (select extract(epoch from '2026-06-09 18:05:19'::timestamp) - extract(epoch from '2026-06-09 18:05:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018753 -2.822387)', '2026-06-09 18:05:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018913 -2.822362)'), GeomFromEWKT('SRID=4674;POINT (-40.018753 -2.822387)'))) / (select extract(epoch from '2026-06-09 18:05:53'::timestamp) - extract(epoch from '2026-06-09 18:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018913 -2.822362)'), GeomFromEWKT('SRID=4674;POINT (-40.018753 -2.822387)'))) / (select extract(epoch from '2026-06-09 18:05:53'::timestamp) - extract(epoch from '2026-06-09 18:05: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'), 46698, 'SRID=4674;POINT (-40.018592 -2.822444)', '2026-06-09 18:06:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018753 -2.822387)'), GeomFromEWKT('SRID=4674;POINT (-40.018592 -2.822444)'))) / (select extract(epoch from '2026-06-09 18:06:25'::timestamp) - extract(epoch from '2026-06-09 18:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018753 -2.822387)'), GeomFromEWKT('SRID=4674;POINT (-40.018592 -2.822444)'))) / (select extract(epoch from '2026-06-09 18:06:25'::timestamp) - extract(epoch from '2026-06-09 18:05:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018448 -2.822488)', '2026-06-09 18:06:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018592 -2.822444)'), GeomFromEWKT('SRID=4674;POINT (-40.018448 -2.822488)'))) / (select extract(epoch from '2026-06-09 18:06:54'::timestamp) - extract(epoch from '2026-06-09 18:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018592 -2.822444)'), GeomFromEWKT('SRID=4674;POINT (-40.018448 -2.822488)'))) / (select extract(epoch from '2026-06-09 18:06:54'::timestamp) - extract(epoch from '2026-06-09 18:06: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'), 46698, 'SRID=4674;POINT (-40.01835 -2.822532)', '2026-06-09 18:07:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018448 -2.822488)'), GeomFromEWKT('SRID=4674;POINT (-40.01835 -2.822532)'))) / (select extract(epoch from '2026-06-09 18:07:12'::timestamp) - extract(epoch from '2026-06-09 18:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018448 -2.822488)'), GeomFromEWKT('SRID=4674;POINT (-40.01835 -2.822532)'))) / (select extract(epoch from '2026-06-09 18:07:12'::timestamp) - extract(epoch from '2026-06-09 18:06: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'), 46698, 'SRID=4674;POINT (-40.018223 -2.822622)', '2026-06-09 18:07:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01835 -2.822532)'), GeomFromEWKT('SRID=4674;POINT (-40.018223 -2.822622)'))) / (select extract(epoch from '2026-06-09 18:07:41'::timestamp) - extract(epoch from '2026-06-09 18:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01835 -2.822532)'), GeomFromEWKT('SRID=4674;POINT (-40.018223 -2.822622)'))) / (select extract(epoch from '2026-06-09 18:07:41'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.018104 -2.822719)', '2026-06-09 18:08:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018223 -2.822622)'), GeomFromEWKT('SRID=4674;POINT (-40.018104 -2.822719)'))) / (select extract(epoch from '2026-06-09 18:08:12'::timestamp) - extract(epoch from '2026-06-09 18:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018223 -2.822622)'), GeomFromEWKT('SRID=4674;POINT (-40.018104 -2.822719)'))) / (select extract(epoch from '2026-06-09 18:08:12'::timestamp) - extract(epoch from '2026-06-09 18:07: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'), 46698, 'SRID=4674;POINT (-40.018005 -2.822842)', '2026-06-09 18:08:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018104 -2.822719)'), GeomFromEWKT('SRID=4674;POINT (-40.018005 -2.822842)'))) / (select extract(epoch from '2026-06-09 18:08:43'::timestamp) - extract(epoch from '2026-06-09 18:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018104 -2.822719)'), GeomFromEWKT('SRID=4674;POINT (-40.018005 -2.822842)'))) / (select extract(epoch from '2026-06-09 18:08:43'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.017975 -2.822982)', '2026-06-09 18:09:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018005 -2.822842)'), GeomFromEWKT('SRID=4674;POINT (-40.017975 -2.822982)'))) / (select extract(epoch from '2026-06-09 18:09:13'::timestamp) - extract(epoch from '2026-06-09 18:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018005 -2.822842)'), GeomFromEWKT('SRID=4674;POINT (-40.017975 -2.822982)'))) / (select extract(epoch from '2026-06-09 18:09:13'::timestamp) - extract(epoch from '2026-06-09 18:08:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018 -2.823156)', '2026-06-09 18:09:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017975 -2.822982)'), GeomFromEWKT('SRID=4674;POINT (-40.018 -2.823156)'))) / (select extract(epoch from '2026-06-09 18:09:51'::timestamp) - extract(epoch from '2026-06-09 18:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.017975 -2.822982)'), GeomFromEWKT('SRID=4674;POINT (-40.018 -2.823156)'))) / (select extract(epoch from '2026-06-09 18:09:51'::timestamp) - extract(epoch from '2026-06-09 18:09: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'), 46698, 'SRID=4674;POINT (-40.018078 -2.823177)', '2026-06-09 18:10:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018 -2.823156)'), GeomFromEWKT('SRID=4674;POINT (-40.018078 -2.823177)'))) / (select extract(epoch from '2026-06-09 18:10:11'::timestamp) - extract(epoch from '2026-06-09 18:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018 -2.823156)'), GeomFromEWKT('SRID=4674;POINT (-40.018078 -2.823177)'))) / (select extract(epoch from '2026-06-09 18:10:11'::timestamp) - extract(epoch from '2026-06-09 18:09:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018148 -2.823222)', '2026-06-09 18:10:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018078 -2.823177)'), GeomFromEWKT('SRID=4674;POINT (-40.018148 -2.823222)'))) / (select extract(epoch from '2026-06-09 18:10:38'::timestamp) - extract(epoch from '2026-06-09 18:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018078 -2.823177)'), GeomFromEWKT('SRID=4674;POINT (-40.018148 -2.823222)'))) / (select extract(epoch from '2026-06-09 18:10:38'::timestamp) - extract(epoch from '2026-06-09 18:10: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'), 46698, 'SRID=4674;POINT (-40.018187 -2.823228)', '2026-06-09 18:11:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018148 -2.823222)'), GeomFromEWKT('SRID=4674;POINT (-40.018187 -2.823228)'))) / (select extract(epoch from '2026-06-09 18:11:10'::timestamp) - extract(epoch from '2026-06-09 18:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018148 -2.823222)'), GeomFromEWKT('SRID=4674;POINT (-40.018187 -2.823228)'))) / (select extract(epoch from '2026-06-09 18:11:10'::timestamp) - extract(epoch from '2026-06-09 18:10:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018248 -2.823234)', '2026-06-09 18:11:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018187 -2.823228)'), GeomFromEWKT('SRID=4674;POINT (-40.018248 -2.823234)'))) / (select extract(epoch from '2026-06-09 18:11:32'::timestamp) - extract(epoch from '2026-06-09 18:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018187 -2.823228)'), GeomFromEWKT('SRID=4674;POINT (-40.018248 -2.823234)'))) / (select extract(epoch from '2026-06-09 18:11:32'::timestamp) - extract(epoch from '2026-06-09 18:11: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'), 46698, 'SRID=4674;POINT (-40.018245 -2.823215)', '2026-06-09 18:11:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018248 -2.823234)'), GeomFromEWKT('SRID=4674;POINT (-40.018245 -2.823215)'))) / (select extract(epoch from '2026-06-09 18:11:53'::timestamp) - extract(epoch from '2026-06-09 18:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018248 -2.823234)'), GeomFromEWKT('SRID=4674;POINT (-40.018245 -2.823215)'))) / (select extract(epoch from '2026-06-09 18:11:53'::timestamp) - extract(epoch from '2026-06-09 18:11: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'), 46698, 'SRID=4674;POINT (-40.018243 -2.82317)', '2026-06-09 18:12:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018245 -2.823215)'), GeomFromEWKT('SRID=4674;POINT (-40.018243 -2.82317)'))) / (select extract(epoch from '2026-06-09 18:12:26'::timestamp) - extract(epoch from '2026-06-09 18:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018245 -2.823215)'), GeomFromEWKT('SRID=4674;POINT (-40.018243 -2.82317)'))) / (select extract(epoch from '2026-06-09 18:12:26'::timestamp) - extract(epoch from '2026-06-09 18:11: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'), 46698, 'SRID=4674;POINT (-40.018243 -2.823206)', '2026-06-09 18:12:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018243 -2.82317)'), GeomFromEWKT('SRID=4674;POINT (-40.018243 -2.823206)'))) / (select extract(epoch from '2026-06-09 18:12:48'::timestamp) - extract(epoch from '2026-06-09 18:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018243 -2.82317)'), GeomFromEWKT('SRID=4674;POINT (-40.018243 -2.823206)'))) / (select extract(epoch from '2026-06-09 18:12:48'::timestamp) - extract(epoch from '2026-06-09 18:12:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018257 -2.823225)', '2026-06-09 18:13:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018243 -2.823206)'), GeomFromEWKT('SRID=4674;POINT (-40.018257 -2.823225)'))) / (select extract(epoch from '2026-06-09 18:13:26'::timestamp) - extract(epoch from '2026-06-09 18:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018243 -2.823206)'), GeomFromEWKT('SRID=4674;POINT (-40.018257 -2.823225)'))) / (select extract(epoch from '2026-06-09 18:13:26'::timestamp) - extract(epoch from '2026-06-09 18:12:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018265 -2.823182)', '2026-06-09 18:13:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018257 -2.823225)'), GeomFromEWKT('SRID=4674;POINT (-40.018265 -2.823182)'))) / (select extract(epoch from '2026-06-09 18:13:44'::timestamp) - extract(epoch from '2026-06-09 18:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018257 -2.823225)'), GeomFromEWKT('SRID=4674;POINT (-40.018265 -2.823182)'))) / (select extract(epoch from '2026-06-09 18:13:44'::timestamp) - extract(epoch from '2026-06-09 18:13: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'), 46698, 'SRID=4674;POINT (-40.018244 -2.823192)', '2026-06-09 18:14:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018265 -2.823182)'), GeomFromEWKT('SRID=4674;POINT (-40.018244 -2.823192)'))) / (select extract(epoch from '2026-06-09 18:14:12'::timestamp) - extract(epoch from '2026-06-09 18:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018265 -2.823182)'), GeomFromEWKT('SRID=4674;POINT (-40.018244 -2.823192)'))) / (select extract(epoch from '2026-06-09 18:14:12'::timestamp) - extract(epoch from '2026-06-09 18:13:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018259 -2.823222)', '2026-06-09 18:14:42', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018244 -2.823192)'), GeomFromEWKT('SRID=4674;POINT (-40.018259 -2.823222)'))) / (select extract(epoch from '2026-06-09 18:14:42'::timestamp) - extract(epoch from '2026-06-09 18:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018244 -2.823192)'), GeomFromEWKT('SRID=4674;POINT (-40.018259 -2.823222)'))) / (select extract(epoch from '2026-06-09 18:14:42'::timestamp) - extract(epoch from '2026-06-09 18:14:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018256 -2.823179)', '2026-06-09 18:15:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018259 -2.823222)'), GeomFromEWKT('SRID=4674;POINT (-40.018256 -2.823179)'))) / (select extract(epoch from '2026-06-09 18:15:03'::timestamp) - extract(epoch from '2026-06-09 18:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018259 -2.823222)'), GeomFromEWKT('SRID=4674;POINT (-40.018256 -2.823179)'))) / (select extract(epoch from '2026-06-09 18:15:03'::timestamp) - extract(epoch from '2026-06-09 18:14:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018255 -2.823181)', '2026-06-09 18:15:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018256 -2.823179)'), GeomFromEWKT('SRID=4674;POINT (-40.018255 -2.823181)'))) / (select extract(epoch from '2026-06-09 18:15:33'::timestamp) - extract(epoch from '2026-06-09 18:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018256 -2.823179)'), GeomFromEWKT('SRID=4674;POINT (-40.018255 -2.823181)'))) / (select extract(epoch from '2026-06-09 18:15:33'::timestamp) - extract(epoch from '2026-06-09 18:15:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018262 -2.82322)', '2026-06-09 18:15:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018255 -2.823181)'), GeomFromEWKT('SRID=4674;POINT (-40.018262 -2.82322)'))) / (select extract(epoch from '2026-06-09 18:15:58'::timestamp) - extract(epoch from '2026-06-09 18:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018255 -2.823181)'), GeomFromEWKT('SRID=4674;POINT (-40.018262 -2.82322)'))) / (select extract(epoch from '2026-06-09 18:15:58'::timestamp) - extract(epoch from '2026-06-09 18:15: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'), 46698, 'SRID=4674;POINT (-40.018288 -2.823208)', '2026-06-09 18:16:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018262 -2.82322)'), GeomFromEWKT('SRID=4674;POINT (-40.018288 -2.823208)'))) / (select extract(epoch from '2026-06-09 18:16:25'::timestamp) - extract(epoch from '2026-06-09 18:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018262 -2.82322)'), GeomFromEWKT('SRID=4674;POINT (-40.018288 -2.823208)'))) / (select extract(epoch from '2026-06-09 18:16:25'::timestamp) - extract(epoch from '2026-06-09 18:15: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'), 46698, 'SRID=4674;POINT (-40.018288 -2.823184)', '2026-06-09 18:16:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018288 -2.823208)'), GeomFromEWKT('SRID=4674;POINT (-40.018288 -2.823184)'))) / (select extract(epoch from '2026-06-09 18:16:43'::timestamp) - extract(epoch from '2026-06-09 18:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018288 -2.823208)'), GeomFromEWKT('SRID=4674;POINT (-40.018288 -2.823184)'))) / (select extract(epoch from '2026-06-09 18:16:43'::timestamp) - extract(epoch from '2026-06-09 18:16: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'), 46698, 'SRID=4674;POINT (-40.018295 -2.823176)', '2026-06-09 18:16:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018288 -2.823184)'), GeomFromEWKT('SRID=4674;POINT (-40.018295 -2.823176)'))) / (select extract(epoch from '2026-06-09 18:16:58'::timestamp) - extract(epoch from '2026-06-09 18:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018288 -2.823184)'), GeomFromEWKT('SRID=4674;POINT (-40.018295 -2.823176)'))) / (select extract(epoch from '2026-06-09 18:16:58'::timestamp) - extract(epoch from '2026-06-09 18:16: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'), 46698, 'SRID=4674;POINT (-40.018293 -2.823187)', '2026-06-09 18:17:11', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018295 -2.823176)'), GeomFromEWKT('SRID=4674;POINT (-40.018293 -2.823187)'))) / (select extract(epoch from '2026-06-09 18:17:11'::timestamp) - extract(epoch from '2026-06-09 18:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018295 -2.823176)'), GeomFromEWKT('SRID=4674;POINT (-40.018293 -2.823187)'))) / (select extract(epoch from '2026-06-09 18:17:11'::timestamp) - extract(epoch from '2026-06-09 18:16: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'), 46698, 'SRID=4674;POINT (-40.018293 -2.823208)', '2026-06-09 18:17:26', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018293 -2.823187)'), GeomFromEWKT('SRID=4674;POINT (-40.018293 -2.823208)'))) / (select extract(epoch from '2026-06-09 18:17:26'::timestamp) - extract(epoch from '2026-06-09 18:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018293 -2.823187)'), GeomFromEWKT('SRID=4674;POINT (-40.018293 -2.823208)'))) / (select extract(epoch from '2026-06-09 18:17:26'::timestamp) - extract(epoch from '2026-06-09 18:17: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'), 46698, 'SRID=4674;POINT (-40.018297 -2.823221)', '2026-06-09 18:17:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018293 -2.823208)'), GeomFromEWKT('SRID=4674;POINT (-40.018297 -2.823221)'))) / (select extract(epoch from '2026-06-09 18:17:48'::timestamp) - extract(epoch from '2026-06-09 18:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018293 -2.823208)'), GeomFromEWKT('SRID=4674;POINT (-40.018297 -2.823221)'))) / (select extract(epoch from '2026-06-09 18:17:48'::timestamp) - extract(epoch from '2026-06-09 18:17:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018294 -2.823212)', '2026-06-09 18:18:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018297 -2.823221)'), GeomFromEWKT('SRID=4674;POINT (-40.018294 -2.823212)'))) / (select extract(epoch from '2026-06-09 18:18:02'::timestamp) - extract(epoch from '2026-06-09 18:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018297 -2.823221)'), GeomFromEWKT('SRID=4674;POINT (-40.018294 -2.823212)'))) / (select extract(epoch from '2026-06-09 18:18:02'::timestamp) - extract(epoch from '2026-06-09 18:17:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.01827 -2.823166)', '2026-06-09 18:18:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018294 -2.823212)'), GeomFromEWKT('SRID=4674;POINT (-40.01827 -2.823166)'))) / (select extract(epoch from '2026-06-09 18:18:29'::timestamp) - extract(epoch from '2026-06-09 18:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018294 -2.823212)'), GeomFromEWKT('SRID=4674;POINT (-40.01827 -2.823166)'))) / (select extract(epoch from '2026-06-09 18:18:29'::timestamp) - extract(epoch from '2026-06-09 18:18: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'), 46698, 'SRID=4674;POINT (-40.01825 -2.823173)', '2026-06-09 18:18:59', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01827 -2.823166)'), GeomFromEWKT('SRID=4674;POINT (-40.01825 -2.823173)'))) / (select extract(epoch from '2026-06-09 18:18:59'::timestamp) - extract(epoch from '2026-06-09 18:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01827 -2.823166)'), GeomFromEWKT('SRID=4674;POINT (-40.01825 -2.823173)'))) / (select extract(epoch from '2026-06-09 18:18:59'::timestamp) - extract(epoch from '2026-06-09 18:18: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'), 46698, 'SRID=4674;POINT (-40.018257 -2.823184)', '2026-06-09 18:19:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01825 -2.823173)'), GeomFromEWKT('SRID=4674;POINT (-40.018257 -2.823184)'))) / (select extract(epoch from '2026-06-09 18:19:15'::timestamp) - extract(epoch from '2026-06-09 18:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01825 -2.823173)'), GeomFromEWKT('SRID=4674;POINT (-40.018257 -2.823184)'))) / (select extract(epoch from '2026-06-09 18:19:15'::timestamp) - extract(epoch from '2026-06-09 18:18: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'), 46698, 'SRID=4674;POINT (-40.018262 -2.823192)', '2026-06-09 18:19:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018257 -2.823184)'), GeomFromEWKT('SRID=4674;POINT (-40.018262 -2.823192)'))) / (select extract(epoch from '2026-06-09 18:19:29'::timestamp) - extract(epoch from '2026-06-09 18:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018257 -2.823184)'), GeomFromEWKT('SRID=4674;POINT (-40.018262 -2.823192)'))) / (select extract(epoch from '2026-06-09 18:19:29'::timestamp) - extract(epoch from '2026-06-09 18:19:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018257 -2.823174)', '2026-06-09 18:19:44', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018262 -2.823192)'), GeomFromEWKT('SRID=4674;POINT (-40.018257 -2.823174)'))) / (select extract(epoch from '2026-06-09 18:19:44'::timestamp) - extract(epoch from '2026-06-09 18:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018262 -2.823192)'), GeomFromEWKT('SRID=4674;POINT (-40.018257 -2.823174)'))) / (select extract(epoch from '2026-06-09 18:19:44'::timestamp) - extract(epoch from '2026-06-09 18:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.01825 -2.823166)', '2026-06-09 18:20:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018257 -2.823174)'), GeomFromEWKT('SRID=4674;POINT (-40.01825 -2.823166)'))) / (select extract(epoch from '2026-06-09 18:20:23'::timestamp) - extract(epoch from '2026-06-09 18:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018257 -2.823174)'), GeomFromEWKT('SRID=4674;POINT (-40.01825 -2.823166)'))) / (select extract(epoch from '2026-06-09 18:20:23'::timestamp) - extract(epoch from '2026-06-09 18:19:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018244 -2.823214)', '2026-06-09 18:20:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01825 -2.823166)'), GeomFromEWKT('SRID=4674;POINT (-40.018244 -2.823214)'))) / (select extract(epoch from '2026-06-09 18:20:42'::timestamp) - extract(epoch from '2026-06-09 18:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01825 -2.823166)'), GeomFromEWKT('SRID=4674;POINT (-40.018244 -2.823214)'))) / (select extract(epoch from '2026-06-09 18:20:42'::timestamp) - extract(epoch from '2026-06-09 18:20: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'), 46698, 'SRID=4674;POINT (-40.018259 -2.823223)', '2026-06-09 18:21:08', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018244 -2.823214)'), GeomFromEWKT('SRID=4674;POINT (-40.018259 -2.823223)'))) / (select extract(epoch from '2026-06-09 18:21:08'::timestamp) - extract(epoch from '2026-06-09 18:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018244 -2.823214)'), GeomFromEWKT('SRID=4674;POINT (-40.018259 -2.823223)'))) / (select extract(epoch from '2026-06-09 18:21:08'::timestamp) - extract(epoch from '2026-06-09 18:20: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'), 46698, 'SRID=4674;POINT (-40.018269 -2.82319)', '2026-06-09 18:21:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018259 -2.823223)'), GeomFromEWKT('SRID=4674;POINT (-40.018269 -2.82319)'))) / (select extract(epoch from '2026-06-09 18:21:29'::timestamp) - extract(epoch from '2026-06-09 18:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018259 -2.823223)'), GeomFromEWKT('SRID=4674;POINT (-40.018269 -2.82319)'))) / (select extract(epoch from '2026-06-09 18:21:29'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.01825 -2.823177)', '2026-06-09 18:22:05', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018269 -2.82319)'), GeomFromEWKT('SRID=4674;POINT (-40.01825 -2.823177)'))) / (select extract(epoch from '2026-06-09 18:22:05'::timestamp) - extract(epoch from '2026-06-09 18:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018269 -2.82319)'), GeomFromEWKT('SRID=4674;POINT (-40.01825 -2.823177)'))) / (select extract(epoch from '2026-06-09 18:22:05'::timestamp) - extract(epoch from '2026-06-09 18:21: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'), 46698, 'SRID=4674;POINT (-40.018257 -2.823228)', '2026-06-09 18:22:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01825 -2.823177)'), GeomFromEWKT('SRID=4674;POINT (-40.018257 -2.823228)'))) / (select extract(epoch from '2026-06-09 18:22:37'::timestamp) - extract(epoch from '2026-06-09 18:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01825 -2.823177)'), GeomFromEWKT('SRID=4674;POINT (-40.018257 -2.823228)'))) / (select extract(epoch from '2026-06-09 18:22:37'::timestamp) - extract(epoch from '2026-06-09 18:22: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'), 46698, 'SRID=4674;POINT (-40.018246 -2.823188)', '2026-06-09 18:23:01', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018257 -2.823228)'), GeomFromEWKT('SRID=4674;POINT (-40.018246 -2.823188)'))) / (select extract(epoch from '2026-06-09 18:23:01'::timestamp) - extract(epoch from '2026-06-09 18:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018257 -2.823228)'), GeomFromEWKT('SRID=4674;POINT (-40.018246 -2.823188)'))) / (select extract(epoch from '2026-06-09 18:23:01'::timestamp) - extract(epoch from '2026-06-09 18:22: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'), 46698, 'SRID=4674;POINT (-40.018245 -2.823205)', '2026-06-09 18:23:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018246 -2.823188)'), GeomFromEWKT('SRID=4674;POINT (-40.018245 -2.823205)'))) / (select extract(epoch from '2026-06-09 18:23:34'::timestamp) - extract(epoch from '2026-06-09 18:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018246 -2.823188)'), GeomFromEWKT('SRID=4674;POINT (-40.018245 -2.823205)'))) / (select extract(epoch from '2026-06-09 18:23:34'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.018239 -2.823236)', '2026-06-09 18:24:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018245 -2.823205)'), GeomFromEWKT('SRID=4674;POINT (-40.018239 -2.823236)'))) / (select extract(epoch from '2026-06-09 18:24:07'::timestamp) - extract(epoch from '2026-06-09 18:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018245 -2.823205)'), GeomFromEWKT('SRID=4674;POINT (-40.018239 -2.823236)'))) / (select extract(epoch from '2026-06-09 18:24:07'::timestamp) - extract(epoch from '2026-06-09 18:23:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018232 -2.823202)', '2026-06-09 18:24:19', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018239 -2.823236)'), GeomFromEWKT('SRID=4674;POINT (-40.018232 -2.823202)'))) / (select extract(epoch from '2026-06-09 18:24:19'::timestamp) - extract(epoch from '2026-06-09 18:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018239 -2.823236)'), GeomFromEWKT('SRID=4674;POINT (-40.018232 -2.823202)'))) / (select extract(epoch from '2026-06-09 18:24:19'::timestamp) - extract(epoch from '2026-06-09 18:24: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'), 46698, 'SRID=4674;POINT (-40.018235 -2.823172)', '2026-06-09 18:24:53', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018232 -2.823202)'), GeomFromEWKT('SRID=4674;POINT (-40.018235 -2.823172)'))) / (select extract(epoch from '2026-06-09 18:24:53'::timestamp) - extract(epoch from '2026-06-09 18:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018232 -2.823202)'), GeomFromEWKT('SRID=4674;POINT (-40.018235 -2.823172)'))) / (select extract(epoch from '2026-06-09 18:24:53'::timestamp) - extract(epoch from '2026-06-09 18:24: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'), 46698, 'SRID=4674;POINT (-40.01824 -2.823207)', '2026-06-09 18:25:09', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018235 -2.823172)'), GeomFromEWKT('SRID=4674;POINT (-40.01824 -2.823207)'))) / (select extract(epoch from '2026-06-09 18:25:09'::timestamp) - extract(epoch from '2026-06-09 18:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018235 -2.823172)'), GeomFromEWKT('SRID=4674;POINT (-40.01824 -2.823207)'))) / (select extract(epoch from '2026-06-09 18:25:09'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.018245 -2.823205)', '2026-06-09 18:25:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01824 -2.823207)'), GeomFromEWKT('SRID=4674;POINT (-40.018245 -2.823205)'))) / (select extract(epoch from '2026-06-09 18:25:40'::timestamp) - extract(epoch from '2026-06-09 18:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01824 -2.823207)'), GeomFromEWKT('SRID=4674;POINT (-40.018245 -2.823205)'))) / (select extract(epoch from '2026-06-09 18:25:40'::timestamp) - extract(epoch from '2026-06-09 18:25: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'), 46698, 'SRID=4674;POINT (-40.018252 -2.823168)', '2026-06-09 18:26:15', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018245 -2.823205)'), GeomFromEWKT('SRID=4674;POINT (-40.018252 -2.823168)'))) / (select extract(epoch from '2026-06-09 18:26:15'::timestamp) - extract(epoch from '2026-06-09 18:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018245 -2.823205)'), GeomFromEWKT('SRID=4674;POINT (-40.018252 -2.823168)'))) / (select extract(epoch from '2026-06-09 18:26:15'::timestamp) - extract(epoch from '2026-06-09 18:25:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018246 -2.823208)', '2026-06-09 18:26:39', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018252 -2.823168)'), GeomFromEWKT('SRID=4674;POINT (-40.018246 -2.823208)'))) / (select extract(epoch from '2026-06-09 18:26:39'::timestamp) - extract(epoch from '2026-06-09 18:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018252 -2.823168)'), GeomFromEWKT('SRID=4674;POINT (-40.018246 -2.823208)'))) / (select extract(epoch from '2026-06-09 18:26:39'::timestamp) - extract(epoch from '2026-06-09 18:26: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'), 46698, 'SRID=4674;POINT (-40.01826 -2.82323)', '2026-06-09 18:27:09', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018246 -2.823208)'), GeomFromEWKT('SRID=4674;POINT (-40.01826 -2.82323)'))) / (select extract(epoch from '2026-06-09 18:27:09'::timestamp) - extract(epoch from '2026-06-09 18:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018246 -2.823208)'), GeomFromEWKT('SRID=4674;POINT (-40.01826 -2.82323)'))) / (select extract(epoch from '2026-06-09 18:27:09'::timestamp) - extract(epoch from '2026-06-09 18:26:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018246 -2.823194)', '2026-06-09 18:27:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01826 -2.82323)'), GeomFromEWKT('SRID=4674;POINT (-40.018246 -2.823194)'))) / (select extract(epoch from '2026-06-09 18:27:42'::timestamp) - extract(epoch from '2026-06-09 18:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01826 -2.82323)'), GeomFromEWKT('SRID=4674;POINT (-40.018246 -2.823194)'))) / (select extract(epoch from '2026-06-09 18:27:42'::timestamp) - extract(epoch from '2026-06-09 18:27: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'), 46698, 'SRID=4674;POINT (-40.018255 -2.823238)', '2026-06-09 18:28:01', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018246 -2.823194)'), GeomFromEWKT('SRID=4674;POINT (-40.018255 -2.823238)'))) / (select extract(epoch from '2026-06-09 18:28:01'::timestamp) - extract(epoch from '2026-06-09 18:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018246 -2.823194)'), GeomFromEWKT('SRID=4674;POINT (-40.018255 -2.823238)'))) / (select extract(epoch from '2026-06-09 18:28:01'::timestamp) - extract(epoch from '2026-06-09 18:27:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018231 -2.823227)', '2026-06-09 18:28:31', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018255 -2.823238)'), GeomFromEWKT('SRID=4674;POINT (-40.018231 -2.823227)'))) / (select extract(epoch from '2026-06-09 18:28:31'::timestamp) - extract(epoch from '2026-06-09 18:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018255 -2.823238)'), GeomFromEWKT('SRID=4674;POINT (-40.018231 -2.823227)'))) / (select extract(epoch from '2026-06-09 18:28:31'::timestamp) - extract(epoch from '2026-06-09 18:28: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'), 46698, 'SRID=4674;POINT (-40.01824 -2.8232)', '2026-06-09 18:29:06', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018231 -2.823227)'), GeomFromEWKT('SRID=4674;POINT (-40.01824 -2.8232)'))) / (select extract(epoch from '2026-06-09 18:29:06'::timestamp) - extract(epoch from '2026-06-09 18:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018231 -2.823227)'), GeomFromEWKT('SRID=4674;POINT (-40.01824 -2.8232)'))) / (select extract(epoch from '2026-06-09 18:29:06'::timestamp) - extract(epoch from '2026-06-09 18:28:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.018247 -2.823231)', '2026-06-09 18:29:36', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01824 -2.8232)'), GeomFromEWKT('SRID=4674;POINT (-40.018247 -2.823231)'))) / (select extract(epoch from '2026-06-09 18:29:36'::timestamp) - extract(epoch from '2026-06-09 18:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01824 -2.8232)'), GeomFromEWKT('SRID=4674;POINT (-40.018247 -2.823231)'))) / (select extract(epoch from '2026-06-09 18:29:36'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46698, 'SRID=4674;POINT (-40.018245 -2.823194)', '2026-06-09 18:29:55', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018247 -2.823231)'), GeomFromEWKT('SRID=4674;POINT (-40.018245 -2.823194)'))) / (select extract(epoch from '2026-06-09 18:29:55'::timestamp) - extract(epoch from '2026-06-09 18:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018247 -2.823231)'), GeomFromEWKT('SRID=4674;POINT (-40.018245 -2.823194)'))) / (select extract(epoch from '2026-06-09 18:29:55'::timestamp) - extract(epoch from '2026-06-09 18:29: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'), 46698, 'SRID=4674;POINT (-40.018251 -2.823194)', '2026-06-09 18:30:22', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018245 -2.823194)'), GeomFromEWKT('SRID=4674;POINT (-40.018251 -2.823194)'))) / (select extract(epoch from '2026-06-09 18:30:22'::timestamp) - extract(epoch from '2026-06-09 18:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018245 -2.823194)'), GeomFromEWKT('SRID=4674;POINT (-40.018251 -2.823194)'))) / (select extract(epoch from '2026-06-09 18:30:22'::timestamp) - extract(epoch from '2026-06-09 18:29: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'), 46698, 'SRID=4674;POINT (-40.018258 -2.823223)', '2026-06-09 18:30:53', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018251 -2.823194)'), GeomFromEWKT('SRID=4674;POINT (-40.018258 -2.823223)'))) / (select extract(epoch from '2026-06-09 18:30:53'::timestamp) - extract(epoch from '2026-06-09 18:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018251 -2.823194)'), GeomFromEWKT('SRID=4674;POINT (-40.018258 -2.823223)'))) / (select extract(epoch from '2026-06-09 18:30:53'::timestamp) - extract(epoch from '2026-06-09 18:30: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'), 46698, 'SRID=4674;POINT (-40.018244 -2.823198)', '2026-06-09 18:31:16', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018258 -2.823223)'), GeomFromEWKT('SRID=4674;POINT (-40.018244 -2.823198)'))) / (select extract(epoch from '2026-06-09 18:31:16'::timestamp) - extract(epoch from '2026-06-09 18:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018258 -2.823223)'), GeomFromEWKT('SRID=4674;POINT (-40.018244 -2.823198)'))) / (select extract(epoch from '2026-06-09 18:31:16'::timestamp) - extract(epoch from '2026-06-09 18:30:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46698, 'SRID=4674;POINT (-40.01826 -2.823183)', '2026-06-09 18:31:49', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018244 -2.823198)'), GeomFromEWKT('SRID=4674;POINT (-40.01826 -2.823183)'))) / (select extract(epoch from '2026-06-09 18:31:49'::timestamp) - extract(epoch from '2026-06-09 18:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.018244 -2.823198)'), GeomFromEWKT('SRID=4674;POINT (-40.01826 -2.823183)'))) / (select extract(epoch from '2026-06-09 18:31:49'::timestamp) - extract(epoch from '2026-06-09 18:31: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'), 46698, 'SRID=4674;POINT (-40.018257 -2.823202)', '2026-06-09 18:32:01', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01826 -2.823183)'), GeomFromEWKT('SRID=4674;POINT (-40.018257 -2.823202)'))) / (select extract(epoch from '2026-06-09 18:32:01'::timestamp) - extract(epoch from '2026-06-09 18:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.01826 -2.823183)'), GeomFromEWKT('SRID=4674;POINT (-40.018257 -2.823202)'))) / (select extract(epoch from '2026-06-09 18:32:01'::timestamp) - extract(epoch from '2026-06-09 18:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
