 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.327464 -2.802038)', '2026-07-08 08:00:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327277 -2.802042)'), GeomFromEWKT('SRID=4674;POINT (-40.327464 -2.802038)'))) / (select extract(epoch from '2026-07-08 08:00:15'::timestamp) - extract(epoch from '2026-07-08 08:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327277 -2.802042)'), GeomFromEWKT('SRID=4674;POINT (-40.327464 -2.802038)'))) / (select extract(epoch from '2026-07-08 08:00:15'::timestamp) - extract(epoch from '2026-07-08 08:00:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.327715 -2.80204)', '2026-07-08 08:00:27', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327464 -2.802038)'), GeomFromEWKT('SRID=4674;POINT (-40.327715 -2.80204)'))) / (select extract(epoch from '2026-07-08 08:00:27'::timestamp) - extract(epoch from '2026-07-08 08:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327464 -2.802038)'), GeomFromEWKT('SRID=4674;POINT (-40.327715 -2.80204)'))) / (select extract(epoch from '2026-07-08 08:00:27'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.327862 -2.802037)', '2026-07-08 08:00:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327715 -2.80204)'), GeomFromEWKT('SRID=4674;POINT (-40.327862 -2.802037)'))) / (select extract(epoch from '2026-07-08 08:00:34'::timestamp) - extract(epoch from '2026-07-08 08:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327715 -2.80204)'), GeomFromEWKT('SRID=4674;POINT (-40.327862 -2.802037)'))) / (select extract(epoch from '2026-07-08 08:00:34'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.328063 -2.802027)', '2026-07-08 08:00:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327862 -2.802037)'), GeomFromEWKT('SRID=4674;POINT (-40.328063 -2.802027)'))) / (select extract(epoch from '2026-07-08 08:00:44'::timestamp) - extract(epoch from '2026-07-08 08:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327862 -2.802037)'), GeomFromEWKT('SRID=4674;POINT (-40.328063 -2.802027)'))) / (select extract(epoch from '2026-07-08 08:00:44'::timestamp) - extract(epoch from '2026-07-08 08:00: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'), 47637, 'SRID=4674;POINT (-40.328251 -2.802023)', '2026-07-08 08:00:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328063 -2.802027)'), GeomFromEWKT('SRID=4674;POINT (-40.328251 -2.802023)'))) / (select extract(epoch from '2026-07-08 08:00:53'::timestamp) - extract(epoch from '2026-07-08 08:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328063 -2.802027)'), GeomFromEWKT('SRID=4674;POINT (-40.328251 -2.802023)'))) / (select extract(epoch from '2026-07-08 08:00:53'::timestamp) - extract(epoch from '2026-07-08 08:00: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'), 47637, 'SRID=4674;POINT (-40.328419 -2.802036)', '2026-07-08 08:01:01', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328251 -2.802023)'), GeomFromEWKT('SRID=4674;POINT (-40.328419 -2.802036)'))) / (select extract(epoch from '2026-07-08 08:01:01'::timestamp) - extract(epoch from '2026-07-08 08:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328251 -2.802023)'), GeomFromEWKT('SRID=4674;POINT (-40.328419 -2.802036)'))) / (select extract(epoch from '2026-07-08 08:01:01'::timestamp) - extract(epoch from '2026-07-08 08:00: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'), 47637, 'SRID=4674;POINT (-40.328609 -2.802063)', '2026-07-08 08:01:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328419 -2.802036)'), GeomFromEWKT('SRID=4674;POINT (-40.328609 -2.802063)'))) / (select extract(epoch from '2026-07-08 08:01:10'::timestamp) - extract(epoch from '2026-07-08 08:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328419 -2.802036)'), GeomFromEWKT('SRID=4674;POINT (-40.328609 -2.802063)'))) / (select extract(epoch from '2026-07-08 08:01:10'::timestamp) - extract(epoch from '2026-07-08 08:01: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'), 47637, 'SRID=4674;POINT (-40.328763 -2.802073)', '2026-07-08 08:01:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328609 -2.802063)'), GeomFromEWKT('SRID=4674;POINT (-40.328763 -2.802073)'))) / (select extract(epoch from '2026-07-08 08:01:18'::timestamp) - extract(epoch from '2026-07-08 08:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328609 -2.802063)'), GeomFromEWKT('SRID=4674;POINT (-40.328763 -2.802073)'))) / (select extract(epoch from '2026-07-08 08:01:18'::timestamp) - extract(epoch from '2026-07-08 08:01:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.328898 -2.802078)', '2026-07-08 08:01:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328763 -2.802073)'), GeomFromEWKT('SRID=4674;POINT (-40.328898 -2.802078)'))) / (select extract(epoch from '2026-07-08 08:01:25'::timestamp) - extract(epoch from '2026-07-08 08:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328763 -2.802073)'), GeomFromEWKT('SRID=4674;POINT (-40.328898 -2.802078)'))) / (select extract(epoch from '2026-07-08 08:01:25'::timestamp) - extract(epoch from '2026-07-08 08:01: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'), 47637, 'SRID=4674;POINT (-40.329007 -2.802064)', '2026-07-08 08:01:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328898 -2.802078)'), GeomFromEWKT('SRID=4674;POINT (-40.329007 -2.802064)'))) / (select extract(epoch from '2026-07-08 08:01:31'::timestamp) - extract(epoch from '2026-07-08 08:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328898 -2.802078)'), GeomFromEWKT('SRID=4674;POINT (-40.329007 -2.802064)'))) / (select extract(epoch from '2026-07-08 08:01:31'::timestamp) - extract(epoch from '2026-07-08 08:01: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'), 47637, 'SRID=4674;POINT (-40.329135 -2.802047)', '2026-07-08 08:01:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329007 -2.802064)'), GeomFromEWKT('SRID=4674;POINT (-40.329135 -2.802047)'))) / (select extract(epoch from '2026-07-08 08:01:38'::timestamp) - extract(epoch from '2026-07-08 08:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329007 -2.802064)'), GeomFromEWKT('SRID=4674;POINT (-40.329135 -2.802047)'))) / (select extract(epoch from '2026-07-08 08:01:38'::timestamp) - extract(epoch from '2026-07-08 08:01: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'), 47637, 'SRID=4674;POINT (-40.329262 -2.802041)', '2026-07-08 08:01:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329135 -2.802047)'), GeomFromEWKT('SRID=4674;POINT (-40.329262 -2.802041)'))) / (select extract(epoch from '2026-07-08 08:01:45'::timestamp) - extract(epoch from '2026-07-08 08:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329135 -2.802047)'), GeomFromEWKT('SRID=4674;POINT (-40.329262 -2.802041)'))) / (select extract(epoch from '2026-07-08 08:01:45'::timestamp) - extract(epoch from '2026-07-08 08:01:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.329431 -2.802057)', '2026-07-08 08:01:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329262 -2.802041)'), GeomFromEWKT('SRID=4674;POINT (-40.329431 -2.802057)'))) / (select extract(epoch from '2026-07-08 08:01:54'::timestamp) - extract(epoch from '2026-07-08 08:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329262 -2.802041)'), GeomFromEWKT('SRID=4674;POINT (-40.329431 -2.802057)'))) / (select extract(epoch from '2026-07-08 08:01:54'::timestamp) - extract(epoch from '2026-07-08 08:01: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'), 47637, 'SRID=4674;POINT (-40.329589 -2.802079)', '2026-07-08 08:02:02', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329431 -2.802057)'), GeomFromEWKT('SRID=4674;POINT (-40.329589 -2.802079)'))) / (select extract(epoch from '2026-07-08 08:02:02'::timestamp) - extract(epoch from '2026-07-08 08:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329431 -2.802057)'), GeomFromEWKT('SRID=4674;POINT (-40.329589 -2.802079)'))) / (select extract(epoch from '2026-07-08 08:02:02'::timestamp) - extract(epoch from '2026-07-08 08:01: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'), 47637, 'SRID=4674;POINT (-40.329771 -2.802107)', '2026-07-08 08:02:11', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329589 -2.802079)'), GeomFromEWKT('SRID=4674;POINT (-40.329771 -2.802107)'))) / (select extract(epoch from '2026-07-08 08:02:11'::timestamp) - extract(epoch from '2026-07-08 08:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329589 -2.802079)'), GeomFromEWKT('SRID=4674;POINT (-40.329771 -2.802107)'))) / (select extract(epoch from '2026-07-08 08:02:11'::timestamp) - extract(epoch from '2026-07-08 08:02:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.329917 -2.802125)', '2026-07-08 08:02:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329771 -2.802107)'), GeomFromEWKT('SRID=4674;POINT (-40.329917 -2.802125)'))) / (select extract(epoch from '2026-07-08 08:02:18'::timestamp) - extract(epoch from '2026-07-08 08:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329771 -2.802107)'), GeomFromEWKT('SRID=4674;POINT (-40.329917 -2.802125)'))) / (select extract(epoch from '2026-07-08 08:02:18'::timestamp) - extract(epoch from '2026-07-08 08:02: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'), 47637, 'SRID=4674;POINT (-40.330078 -2.802146)', '2026-07-08 08:02:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329917 -2.802125)'), GeomFromEWKT('SRID=4674;POINT (-40.330078 -2.802146)'))) / (select extract(epoch from '2026-07-08 08:02:26'::timestamp) - extract(epoch from '2026-07-08 08:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329917 -2.802125)'), GeomFromEWKT('SRID=4674;POINT (-40.330078 -2.802146)'))) / (select extract(epoch from '2026-07-08 08:02:26'::timestamp) - extract(epoch from '2026-07-08 08:02:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.33023 -2.802161)', '2026-07-08 08:02:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330078 -2.802146)'), GeomFromEWKT('SRID=4674;POINT (-40.33023 -2.802161)'))) / (select extract(epoch from '2026-07-08 08:02:34'::timestamp) - extract(epoch from '2026-07-08 08:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330078 -2.802146)'), GeomFromEWKT('SRID=4674;POINT (-40.33023 -2.802161)'))) / (select extract(epoch from '2026-07-08 08:02:34'::timestamp) - extract(epoch from '2026-07-08 08:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.33037 -2.80217)', '2026-07-08 08:02:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33023 -2.802161)'), GeomFromEWKT('SRID=4674;POINT (-40.33037 -2.80217)'))) / (select extract(epoch from '2026-07-08 08:02:42'::timestamp) - extract(epoch from '2026-07-08 08:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33023 -2.802161)'), GeomFromEWKT('SRID=4674;POINT (-40.33037 -2.80217)'))) / (select extract(epoch from '2026-07-08 08:02:42'::timestamp) - extract(epoch from '2026-07-08 08:02:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.330533 -2.802176)', '2026-07-08 08:02:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33037 -2.80217)'), GeomFromEWKT('SRID=4674;POINT (-40.330533 -2.802176)'))) / (select extract(epoch from '2026-07-08 08:02:51'::timestamp) - extract(epoch from '2026-07-08 08:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33037 -2.80217)'), GeomFromEWKT('SRID=4674;POINT (-40.330533 -2.802176)'))) / (select extract(epoch from '2026-07-08 08:02:51'::timestamp) - extract(epoch from '2026-07-08 08:02:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.330715 -2.802198)', '2026-07-08 08:03:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330533 -2.802176)'), GeomFromEWKT('SRID=4674;POINT (-40.330715 -2.802198)'))) / (select extract(epoch from '2026-07-08 08:03:01'::timestamp) - extract(epoch from '2026-07-08 08:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330533 -2.802176)'), GeomFromEWKT('SRID=4674;POINT (-40.330715 -2.802198)'))) / (select extract(epoch from '2026-07-08 08:03:01'::timestamp) - extract(epoch from '2026-07-08 08:02:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.330876 -2.802203)', '2026-07-08 08:03:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330715 -2.802198)'), GeomFromEWKT('SRID=4674;POINT (-40.330876 -2.802203)'))) / (select extract(epoch from '2026-07-08 08:03:10'::timestamp) - extract(epoch from '2026-07-08 08:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330715 -2.802198)'), GeomFromEWKT('SRID=4674;POINT (-40.330876 -2.802203)'))) / (select extract(epoch from '2026-07-08 08:03:10'::timestamp) - extract(epoch from '2026-07-08 08:03: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'), 47637, 'SRID=4674;POINT (-40.331037 -2.802205)', '2026-07-08 08:03:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330876 -2.802203)'), GeomFromEWKT('SRID=4674;POINT (-40.331037 -2.802205)'))) / (select extract(epoch from '2026-07-08 08:03:19'::timestamp) - extract(epoch from '2026-07-08 08:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330876 -2.802203)'), GeomFromEWKT('SRID=4674;POINT (-40.331037 -2.802205)'))) / (select extract(epoch from '2026-07-08 08:03:19'::timestamp) - extract(epoch from '2026-07-08 08:03: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'), 47637, 'SRID=4674;POINT (-40.331176 -2.802216)', '2026-07-08 08:03:26', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331037 -2.802205)'), GeomFromEWKT('SRID=4674;POINT (-40.331176 -2.802216)'))) / (select extract(epoch from '2026-07-08 08:03:26'::timestamp) - extract(epoch from '2026-07-08 08:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331037 -2.802205)'), GeomFromEWKT('SRID=4674;POINT (-40.331176 -2.802216)'))) / (select extract(epoch from '2026-07-08 08:03:26'::timestamp) - extract(epoch from '2026-07-08 08:03: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'), 47637, 'SRID=4674;POINT (-40.331317 -2.802225)', '2026-07-08 08:03:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331176 -2.802216)'), GeomFromEWKT('SRID=4674;POINT (-40.331317 -2.802225)'))) / (select extract(epoch from '2026-07-08 08:03:33'::timestamp) - extract(epoch from '2026-07-08 08:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331176 -2.802216)'), GeomFromEWKT('SRID=4674;POINT (-40.331317 -2.802225)'))) / (select extract(epoch from '2026-07-08 08:03:33'::timestamp) - extract(epoch from '2026-07-08 08:03: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'), 47637, 'SRID=4674;POINT (-40.331456 -2.802236)', '2026-07-08 08:03:40', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331317 -2.802225)'), GeomFromEWKT('SRID=4674;POINT (-40.331456 -2.802236)'))) / (select extract(epoch from '2026-07-08 08:03:40'::timestamp) - extract(epoch from '2026-07-08 08:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331317 -2.802225)'), GeomFromEWKT('SRID=4674;POINT (-40.331456 -2.802236)'))) / (select extract(epoch from '2026-07-08 08:03:40'::timestamp) - extract(epoch from '2026-07-08 08:03:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.331621 -2.802247)', '2026-07-08 08:03:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331456 -2.802236)'), GeomFromEWKT('SRID=4674;POINT (-40.331621 -2.802247)'))) / (select extract(epoch from '2026-07-08 08:03:48'::timestamp) - extract(epoch from '2026-07-08 08:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331456 -2.802236)'), GeomFromEWKT('SRID=4674;POINT (-40.331621 -2.802247)'))) / (select extract(epoch from '2026-07-08 08:03:48'::timestamp) - extract(epoch from '2026-07-08 08:03:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.331772 -2.802267)', '2026-07-08 08:03:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331621 -2.802247)'), GeomFromEWKT('SRID=4674;POINT (-40.331772 -2.802267)'))) / (select extract(epoch from '2026-07-08 08:03:55'::timestamp) - extract(epoch from '2026-07-08 08:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331621 -2.802247)'), GeomFromEWKT('SRID=4674;POINT (-40.331772 -2.802267)'))) / (select extract(epoch from '2026-07-08 08:03:55'::timestamp) - extract(epoch from '2026-07-08 08:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.331939 -2.802298)', '2026-07-08 08:04:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331772 -2.802267)'), GeomFromEWKT('SRID=4674;POINT (-40.331939 -2.802298)'))) / (select extract(epoch from '2026-07-08 08:04:03'::timestamp) - extract(epoch from '2026-07-08 08:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331772 -2.802267)'), GeomFromEWKT('SRID=4674;POINT (-40.331939 -2.802298)'))) / (select extract(epoch from '2026-07-08 08:04:03'::timestamp) - extract(epoch from '2026-07-08 08:03:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.332078 -2.802325)', '2026-07-08 08:04:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331939 -2.802298)'), GeomFromEWKT('SRID=4674;POINT (-40.332078 -2.802325)'))) / (select extract(epoch from '2026-07-08 08:04:10'::timestamp) - extract(epoch from '2026-07-08 08:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331939 -2.802298)'), GeomFromEWKT('SRID=4674;POINT (-40.332078 -2.802325)'))) / (select extract(epoch from '2026-07-08 08:04:10'::timestamp) - extract(epoch from '2026-07-08 08:04:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.332188 -2.802341)', '2026-07-08 08:04:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332078 -2.802325)'), GeomFromEWKT('SRID=4674;POINT (-40.332188 -2.802341)'))) / (select extract(epoch from '2026-07-08 08:04:16'::timestamp) - extract(epoch from '2026-07-08 08:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332078 -2.802325)'), GeomFromEWKT('SRID=4674;POINT (-40.332188 -2.802341)'))) / (select extract(epoch from '2026-07-08 08:04:16'::timestamp) - extract(epoch from '2026-07-08 08:04: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'), 47637, 'SRID=4674;POINT (-40.33233 -2.802352)', '2026-07-08 08:04:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332188 -2.802341)'), GeomFromEWKT('SRID=4674;POINT (-40.33233 -2.802352)'))) / (select extract(epoch from '2026-07-08 08:04:24'::timestamp) - extract(epoch from '2026-07-08 08:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332188 -2.802341)'), GeomFromEWKT('SRID=4674;POINT (-40.33233 -2.802352)'))) / (select extract(epoch from '2026-07-08 08:04:24'::timestamp) - extract(epoch from '2026-07-08 08:04: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'), 47637, 'SRID=4674;POINT (-40.332436 -2.802351)', '2026-07-08 08:04:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33233 -2.802352)'), GeomFromEWKT('SRID=4674;POINT (-40.332436 -2.802351)'))) / (select extract(epoch from '2026-07-08 08:04:30'::timestamp) - extract(epoch from '2026-07-08 08:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33233 -2.802352)'), GeomFromEWKT('SRID=4674;POINT (-40.332436 -2.802351)'))) / (select extract(epoch from '2026-07-08 08:04:30'::timestamp) - extract(epoch from '2026-07-08 08:04: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'), 47637, 'SRID=4674;POINT (-40.332512 -2.802384)', '2026-07-08 08:04:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332436 -2.802351)'), GeomFromEWKT('SRID=4674;POINT (-40.332512 -2.802384)'))) / (select extract(epoch from '2026-07-08 08:04:35'::timestamp) - extract(epoch from '2026-07-08 08:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332436 -2.802351)'), GeomFromEWKT('SRID=4674;POINT (-40.332512 -2.802384)'))) / (select extract(epoch from '2026-07-08 08:04:35'::timestamp) - extract(epoch from '2026-07-08 08:04: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'), 47637, 'SRID=4674;POINT (-40.332614 -2.802415)', '2026-07-08 08:04:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332512 -2.802384)'), GeomFromEWKT('SRID=4674;POINT (-40.332614 -2.802415)'))) / (select extract(epoch from '2026-07-08 08:04:42'::timestamp) - extract(epoch from '2026-07-08 08:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332512 -2.802384)'), GeomFromEWKT('SRID=4674;POINT (-40.332614 -2.802415)'))) / (select extract(epoch from '2026-07-08 08:04:42'::timestamp) - extract(epoch from '2026-07-08 08:04:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.332719 -2.802435)', '2026-07-08 08:04:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332614 -2.802415)'), GeomFromEWKT('SRID=4674;POINT (-40.332719 -2.802435)'))) / (select extract(epoch from '2026-07-08 08:04:49'::timestamp) - extract(epoch from '2026-07-08 08:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332614 -2.802415)'), GeomFromEWKT('SRID=4674;POINT (-40.332719 -2.802435)'))) / (select extract(epoch from '2026-07-08 08:04:49'::timestamp) - extract(epoch from '2026-07-08 08:04:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.332732 -2.80244)', '2026-07-08 08:04:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332719 -2.802435)'), GeomFromEWKT('SRID=4674;POINT (-40.332732 -2.80244)'))) / (select extract(epoch from '2026-07-08 08:04:50'::timestamp) - extract(epoch from '2026-07-08 08:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332719 -2.802435)'), GeomFromEWKT('SRID=4674;POINT (-40.332732 -2.80244)'))) / (select extract(epoch from '2026-07-08 08:04:50'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.332784 -2.802463)', '2026-07-08 08:04:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332732 -2.80244)'), GeomFromEWKT('SRID=4674;POINT (-40.332784 -2.802463)'))) / (select extract(epoch from '2026-07-08 08:04:54'::timestamp) - extract(epoch from '2026-07-08 08:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332732 -2.80244)'), GeomFromEWKT('SRID=4674;POINT (-40.332784 -2.802463)'))) / (select extract(epoch from '2026-07-08 08:04:54'::timestamp) - extract(epoch from '2026-07-08 08:04: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'), 47637, 'SRID=4674;POINT (-40.332883 -2.802505)', '2026-07-08 08:05:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332784 -2.802463)'), GeomFromEWKT('SRID=4674;POINT (-40.332883 -2.802505)'))) / (select extract(epoch from '2026-07-08 08:05:01'::timestamp) - extract(epoch from '2026-07-08 08:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332784 -2.802463)'), GeomFromEWKT('SRID=4674;POINT (-40.332883 -2.802505)'))) / (select extract(epoch from '2026-07-08 08:05:01'::timestamp) - extract(epoch from '2026-07-08 08:04: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'), 47637, 'SRID=4674;POINT (-40.333004 -2.802543)', '2026-07-08 08:05:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332883 -2.802505)'), GeomFromEWKT('SRID=4674;POINT (-40.333004 -2.802543)'))) / (select extract(epoch from '2026-07-08 08:05:09'::timestamp) - extract(epoch from '2026-07-08 08:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332883 -2.802505)'), GeomFromEWKT('SRID=4674;POINT (-40.333004 -2.802543)'))) / (select extract(epoch from '2026-07-08 08:05:09'::timestamp) - extract(epoch from '2026-07-08 08:05:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.33313 -2.802576)', '2026-07-08 08:05:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333004 -2.802543)'), GeomFromEWKT('SRID=4674;POINT (-40.33313 -2.802576)'))) / (select extract(epoch from '2026-07-08 08:05:17'::timestamp) - extract(epoch from '2026-07-08 08:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333004 -2.802543)'), GeomFromEWKT('SRID=4674;POINT (-40.33313 -2.802576)'))) / (select extract(epoch from '2026-07-08 08:05:17'::timestamp) - extract(epoch from '2026-07-08 08:05:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.333275 -2.802621)', '2026-07-08 08:05:26', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33313 -2.802576)'), GeomFromEWKT('SRID=4674;POINT (-40.333275 -2.802621)'))) / (select extract(epoch from '2026-07-08 08:05:26'::timestamp) - extract(epoch from '2026-07-08 08:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33313 -2.802576)'), GeomFromEWKT('SRID=4674;POINT (-40.333275 -2.802621)'))) / (select extract(epoch from '2026-07-08 08:05:26'::timestamp) - extract(epoch from '2026-07-08 08:05:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.333404 -2.802673)', '2026-07-08 08:05:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333275 -2.802621)'), GeomFromEWKT('SRID=4674;POINT (-40.333404 -2.802673)'))) / (select extract(epoch from '2026-07-08 08:05:34'::timestamp) - extract(epoch from '2026-07-08 08:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333275 -2.802621)'), GeomFromEWKT('SRID=4674;POINT (-40.333404 -2.802673)'))) / (select extract(epoch from '2026-07-08 08:05:34'::timestamp) - extract(epoch from '2026-07-08 08:05: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'), 47637, 'SRID=4674;POINT (-40.333507 -2.802697)', '2026-07-08 08:05:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333404 -2.802673)'), GeomFromEWKT('SRID=4674;POINT (-40.333507 -2.802697)'))) / (select extract(epoch from '2026-07-08 08:05:40'::timestamp) - extract(epoch from '2026-07-08 08:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333404 -2.802673)'), GeomFromEWKT('SRID=4674;POINT (-40.333507 -2.802697)'))) / (select extract(epoch from '2026-07-08 08:05:40'::timestamp) - extract(epoch from '2026-07-08 08:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.333648 -2.802689)', '2026-07-08 08:05:48', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333507 -2.802697)'), GeomFromEWKT('SRID=4674;POINT (-40.333648 -2.802689)'))) / (select extract(epoch from '2026-07-08 08:05:48'::timestamp) - extract(epoch from '2026-07-08 08:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333507 -2.802697)'), GeomFromEWKT('SRID=4674;POINT (-40.333648 -2.802689)'))) / (select extract(epoch from '2026-07-08 08:05:48'::timestamp) - extract(epoch from '2026-07-08 08:05:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.333802 -2.802689)', '2026-07-08 08:05:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333648 -2.802689)'), GeomFromEWKT('SRID=4674;POINT (-40.333802 -2.802689)'))) / (select extract(epoch from '2026-07-08 08:05:56'::timestamp) - extract(epoch from '2026-07-08 08:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333648 -2.802689)'), GeomFromEWKT('SRID=4674;POINT (-40.333802 -2.802689)'))) / (select extract(epoch from '2026-07-08 08:05:56'::timestamp) - extract(epoch from '2026-07-08 08:05: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'), 47637, 'SRID=4674;POINT (-40.333995 -2.802719)', '2026-07-08 08:06:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333802 -2.802689)'), GeomFromEWKT('SRID=4674;POINT (-40.333995 -2.802719)'))) / (select extract(epoch from '2026-07-08 08:06:06'::timestamp) - extract(epoch from '2026-07-08 08:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333802 -2.802689)'), GeomFromEWKT('SRID=4674;POINT (-40.333995 -2.802719)'))) / (select extract(epoch from '2026-07-08 08:06:06'::timestamp) - extract(epoch from '2026-07-08 08:05:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.33416 -2.802753)', '2026-07-08 08:06:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333995 -2.802719)'), GeomFromEWKT('SRID=4674;POINT (-40.33416 -2.802753)'))) / (select extract(epoch from '2026-07-08 08:06:14'::timestamp) - extract(epoch from '2026-07-08 08:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333995 -2.802719)'), GeomFromEWKT('SRID=4674;POINT (-40.33416 -2.802753)'))) / (select extract(epoch from '2026-07-08 08:06:14'::timestamp) - extract(epoch from '2026-07-08 08:06: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'), 47637, 'SRID=4674;POINT (-40.334301 -2.80278)', '2026-07-08 08:06:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33416 -2.802753)'), GeomFromEWKT('SRID=4674;POINT (-40.334301 -2.80278)'))) / (select extract(epoch from '2026-07-08 08:06:21'::timestamp) - extract(epoch from '2026-07-08 08:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33416 -2.802753)'), GeomFromEWKT('SRID=4674;POINT (-40.334301 -2.80278)'))) / (select extract(epoch from '2026-07-08 08:06:21'::timestamp) - extract(epoch from '2026-07-08 08:06:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.334423 -2.80281)', '2026-07-08 08:06:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334301 -2.80278)'), GeomFromEWKT('SRID=4674;POINT (-40.334423 -2.80281)'))) / (select extract(epoch from '2026-07-08 08:06:27'::timestamp) - extract(epoch from '2026-07-08 08:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334301 -2.80278)'), GeomFromEWKT('SRID=4674;POINT (-40.334423 -2.80281)'))) / (select extract(epoch from '2026-07-08 08:06:27'::timestamp) - extract(epoch from '2026-07-08 08:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.33461 -2.802869)', '2026-07-08 08:06:36', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334423 -2.80281)'), GeomFromEWKT('SRID=4674;POINT (-40.33461 -2.802869)'))) / (select extract(epoch from '2026-07-08 08:06:36'::timestamp) - extract(epoch from '2026-07-08 08:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334423 -2.80281)'), GeomFromEWKT('SRID=4674;POINT (-40.33461 -2.802869)'))) / (select extract(epoch from '2026-07-08 08:06:36'::timestamp) - extract(epoch from '2026-07-08 08:06:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.334806 -2.802938)', '2026-07-08 08:06:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33461 -2.802869)'), GeomFromEWKT('SRID=4674;POINT (-40.334806 -2.802938)'))) / (select extract(epoch from '2026-07-08 08:06:46'::timestamp) - extract(epoch from '2026-07-08 08:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33461 -2.802869)'), GeomFromEWKT('SRID=4674;POINT (-40.334806 -2.802938)'))) / (select extract(epoch from '2026-07-08 08:06:46'::timestamp) - extract(epoch from '2026-07-08 08:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.334943 -2.802987)', '2026-07-08 08:06:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334806 -2.802938)'), GeomFromEWKT('SRID=4674;POINT (-40.334943 -2.802987)'))) / (select extract(epoch from '2026-07-08 08:06:53'::timestamp) - extract(epoch from '2026-07-08 08:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334806 -2.802938)'), GeomFromEWKT('SRID=4674;POINT (-40.334943 -2.802987)'))) / (select extract(epoch from '2026-07-08 08:06:53'::timestamp) - extract(epoch from '2026-07-08 08:06:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.335134 -2.803041)', '2026-07-08 08:07:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334943 -2.802987)'), GeomFromEWKT('SRID=4674;POINT (-40.335134 -2.803041)'))) / (select extract(epoch from '2026-07-08 08:07:03'::timestamp) - extract(epoch from '2026-07-08 08:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334943 -2.802987)'), GeomFromEWKT('SRID=4674;POINT (-40.335134 -2.803041)'))) / (select extract(epoch from '2026-07-08 08:07:03'::timestamp) - extract(epoch from '2026-07-08 08:06: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'), 47637, 'SRID=4674;POINT (-40.335296 -2.803085)', '2026-07-08 08:07:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335134 -2.803041)'), GeomFromEWKT('SRID=4674;POINT (-40.335296 -2.803085)'))) / (select extract(epoch from '2026-07-08 08:07:11'::timestamp) - extract(epoch from '2026-07-08 08:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335134 -2.803041)'), GeomFromEWKT('SRID=4674;POINT (-40.335296 -2.803085)'))) / (select extract(epoch from '2026-07-08 08:07:11'::timestamp) - extract(epoch from '2026-07-08 08:07:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.335487 -2.803127)', '2026-07-08 08:07:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335296 -2.803085)'), GeomFromEWKT('SRID=4674;POINT (-40.335487 -2.803127)'))) / (select extract(epoch from '2026-07-08 08:07:20'::timestamp) - extract(epoch from '2026-07-08 08:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335296 -2.803085)'), GeomFromEWKT('SRID=4674;POINT (-40.335487 -2.803127)'))) / (select extract(epoch from '2026-07-08 08:07:20'::timestamp) - extract(epoch from '2026-07-08 08:07:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.335612 -2.803141)', '2026-07-08 08:07:26', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335487 -2.803127)'), GeomFromEWKT('SRID=4674;POINT (-40.335612 -2.803141)'))) / (select extract(epoch from '2026-07-08 08:07:26'::timestamp) - extract(epoch from '2026-07-08 08:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335487 -2.803127)'), GeomFromEWKT('SRID=4674;POINT (-40.335612 -2.803141)'))) / (select extract(epoch from '2026-07-08 08:07:26'::timestamp) - extract(epoch from '2026-07-08 08:07: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'), 47637, 'SRID=4674;POINT (-40.335767 -2.803155)', '2026-07-08 08:07:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335612 -2.803141)'), GeomFromEWKT('SRID=4674;POINT (-40.335767 -2.803155)'))) / (select extract(epoch from '2026-07-08 08:07:34'::timestamp) - extract(epoch from '2026-07-08 08:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335612 -2.803141)'), GeomFromEWKT('SRID=4674;POINT (-40.335767 -2.803155)'))) / (select extract(epoch from '2026-07-08 08:07:34'::timestamp) - extract(epoch from '2026-07-08 08:07:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.335938 -2.803222)', '2026-07-08 08:07:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335767 -2.803155)'), GeomFromEWKT('SRID=4674;POINT (-40.335938 -2.803222)'))) / (select extract(epoch from '2026-07-08 08:07:44'::timestamp) - extract(epoch from '2026-07-08 08:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335767 -2.803155)'), GeomFromEWKT('SRID=4674;POINT (-40.335938 -2.803222)'))) / (select extract(epoch from '2026-07-08 08:07:44'::timestamp) - extract(epoch from '2026-07-08 08:07:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.336073 -2.803298)', '2026-07-08 08:07:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335938 -2.803222)'), GeomFromEWKT('SRID=4674;POINT (-40.336073 -2.803298)'))) / (select extract(epoch from '2026-07-08 08:07:52'::timestamp) - extract(epoch from '2026-07-08 08:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335938 -2.803222)'), GeomFromEWKT('SRID=4674;POINT (-40.336073 -2.803298)'))) / (select extract(epoch from '2026-07-08 08:07:52'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.336188 -2.803359)', '2026-07-08 08:07:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336073 -2.803298)'), GeomFromEWKT('SRID=4674;POINT (-40.336188 -2.803359)'))) / (select extract(epoch from '2026-07-08 08:07:59'::timestamp) - extract(epoch from '2026-07-08 08:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336073 -2.803298)'), GeomFromEWKT('SRID=4674;POINT (-40.336188 -2.803359)'))) / (select extract(epoch from '2026-07-08 08:07:59'::timestamp) - extract(epoch from '2026-07-08 08:07: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'), 47637, 'SRID=4674;POINT (-40.336306 -2.803406)', '2026-07-08 08:08:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336188 -2.803359)'), GeomFromEWKT('SRID=4674;POINT (-40.336306 -2.803406)'))) / (select extract(epoch from '2026-07-08 08:08:06'::timestamp) - extract(epoch from '2026-07-08 08:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336188 -2.803359)'), GeomFromEWKT('SRID=4674;POINT (-40.336306 -2.803406)'))) / (select extract(epoch from '2026-07-08 08:08:06'::timestamp) - extract(epoch from '2026-07-08 08:07:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.336453 -2.803458)', '2026-07-08 08:08:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336306 -2.803406)'), GeomFromEWKT('SRID=4674;POINT (-40.336453 -2.803458)'))) / (select extract(epoch from '2026-07-08 08:08:14'::timestamp) - extract(epoch from '2026-07-08 08:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336306 -2.803406)'), GeomFromEWKT('SRID=4674;POINT (-40.336453 -2.803458)'))) / (select extract(epoch from '2026-07-08 08:08:14'::timestamp) - extract(epoch from '2026-07-08 08:08:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.336659 -2.803526)', '2026-07-08 08:08:25', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336453 -2.803458)'), GeomFromEWKT('SRID=4674;POINT (-40.336659 -2.803526)'))) / (select extract(epoch from '2026-07-08 08:08:25'::timestamp) - extract(epoch from '2026-07-08 08:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336453 -2.803458)'), GeomFromEWKT('SRID=4674;POINT (-40.336659 -2.803526)'))) / (select extract(epoch from '2026-07-08 08:08:25'::timestamp) - extract(epoch from '2026-07-08 08:08:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.336855 -2.803588)', '2026-07-08 08:08:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336659 -2.803526)'), GeomFromEWKT('SRID=4674;POINT (-40.336855 -2.803588)'))) / (select extract(epoch from '2026-07-08 08:08:35'::timestamp) - extract(epoch from '2026-07-08 08:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336659 -2.803526)'), GeomFromEWKT('SRID=4674;POINT (-40.336855 -2.803588)'))) / (select extract(epoch from '2026-07-08 08:08:35'::timestamp) - extract(epoch from '2026-07-08 08:08:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.337063 -2.803642)', '2026-07-08 08:08:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336855 -2.803588)'), GeomFromEWKT('SRID=4674;POINT (-40.337063 -2.803642)'))) / (select extract(epoch from '2026-07-08 08:08:45'::timestamp) - extract(epoch from '2026-07-08 08:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336855 -2.803588)'), GeomFromEWKT('SRID=4674;POINT (-40.337063 -2.803642)'))) / (select extract(epoch from '2026-07-08 08:08:45'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.337247 -2.803708)', '2026-07-08 08:08:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337063 -2.803642)'), GeomFromEWKT('SRID=4674;POINT (-40.337247 -2.803708)'))) / (select extract(epoch from '2026-07-08 08:08:54'::timestamp) - extract(epoch from '2026-07-08 08:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337063 -2.803642)'), GeomFromEWKT('SRID=4674;POINT (-40.337247 -2.803708)'))) / (select extract(epoch from '2026-07-08 08:08:54'::timestamp) - extract(epoch from '2026-07-08 08:08: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'), 47637, 'SRID=4674;POINT (-40.337441 -2.803769)', '2026-07-08 08:09:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337247 -2.803708)'), GeomFromEWKT('SRID=4674;POINT (-40.337441 -2.803769)'))) / (select extract(epoch from '2026-07-08 08:09:04'::timestamp) - extract(epoch from '2026-07-08 08:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337247 -2.803708)'), GeomFromEWKT('SRID=4674;POINT (-40.337441 -2.803769)'))) / (select extract(epoch from '2026-07-08 08:09:04'::timestamp) - extract(epoch from '2026-07-08 08:08:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.33759 -2.803803)', '2026-07-08 08:09:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337441 -2.803769)'), GeomFromEWKT('SRID=4674;POINT (-40.33759 -2.803803)'))) / (select extract(epoch from '2026-07-08 08:09:11'::timestamp) - extract(epoch from '2026-07-08 08:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337441 -2.803769)'), GeomFromEWKT('SRID=4674;POINT (-40.33759 -2.803803)'))) / (select extract(epoch from '2026-07-08 08:09:11'::timestamp) - extract(epoch from '2026-07-08 08:09:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.33782 -2.803859)', '2026-07-08 08:09:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33759 -2.803803)'), GeomFromEWKT('SRID=4674;POINT (-40.33782 -2.803859)'))) / (select extract(epoch from '2026-07-08 08:09:22'::timestamp) - extract(epoch from '2026-07-08 08:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33759 -2.803803)'), GeomFromEWKT('SRID=4674;POINT (-40.33782 -2.803859)'))) / (select extract(epoch from '2026-07-08 08:09:22'::timestamp) - extract(epoch from '2026-07-08 08:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.337946 -2.80389)', '2026-07-08 08:09:28', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33782 -2.803859)'), GeomFromEWKT('SRID=4674;POINT (-40.337946 -2.80389)'))) / (select extract(epoch from '2026-07-08 08:09:28'::timestamp) - extract(epoch from '2026-07-08 08:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33782 -2.803859)'), GeomFromEWKT('SRID=4674;POINT (-40.337946 -2.80389)'))) / (select extract(epoch from '2026-07-08 08:09:28'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.338113 -2.80393)', '2026-07-08 08:09:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337946 -2.80389)'), GeomFromEWKT('SRID=4674;POINT (-40.338113 -2.80393)'))) / (select extract(epoch from '2026-07-08 08:09:36'::timestamp) - extract(epoch from '2026-07-08 08:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337946 -2.80389)'), GeomFromEWKT('SRID=4674;POINT (-40.338113 -2.80393)'))) / (select extract(epoch from '2026-07-08 08:09:36'::timestamp) - extract(epoch from '2026-07-08 08:09:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.338281 -2.803946)', '2026-07-08 08:09:44', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338113 -2.80393)'), GeomFromEWKT('SRID=4674;POINT (-40.338281 -2.803946)'))) / (select extract(epoch from '2026-07-08 08:09:44'::timestamp) - extract(epoch from '2026-07-08 08:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338113 -2.80393)'), GeomFromEWKT('SRID=4674;POINT (-40.338281 -2.803946)'))) / (select extract(epoch from '2026-07-08 08:09:44'::timestamp) - extract(epoch from '2026-07-08 08:09: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'), 47637, 'SRID=4674;POINT (-40.33845 -2.803973)', '2026-07-08 08:09:53', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338281 -2.803946)'), GeomFromEWKT('SRID=4674;POINT (-40.33845 -2.803973)'))) / (select extract(epoch from '2026-07-08 08:09:53'::timestamp) - extract(epoch from '2026-07-08 08:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338281 -2.803946)'), GeomFromEWKT('SRID=4674;POINT (-40.33845 -2.803973)'))) / (select extract(epoch from '2026-07-08 08:09:53'::timestamp) - extract(epoch from '2026-07-08 08:09:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.338556 -2.80399)', '2026-07-08 08:09:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33845 -2.803973)'), GeomFromEWKT('SRID=4674;POINT (-40.338556 -2.80399)'))) / (select extract(epoch from '2026-07-08 08:09:59'::timestamp) - extract(epoch from '2026-07-08 08:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33845 -2.803973)'), GeomFromEWKT('SRID=4674;POINT (-40.338556 -2.80399)'))) / (select extract(epoch from '2026-07-08 08:09:59'::timestamp) - extract(epoch from '2026-07-08 08:09:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.33873 -2.804033)', '2026-07-08 08:10:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338556 -2.80399)'), GeomFromEWKT('SRID=4674;POINT (-40.33873 -2.804033)'))) / (select extract(epoch from '2026-07-08 08:10:08'::timestamp) - extract(epoch from '2026-07-08 08:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338556 -2.80399)'), GeomFromEWKT('SRID=4674;POINT (-40.33873 -2.804033)'))) / (select extract(epoch from '2026-07-08 08:10:08'::timestamp) - extract(epoch from '2026-07-08 08:09: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'), 47637, 'SRID=4674;POINT (-40.338886 -2.804066)', '2026-07-08 08:10:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33873 -2.804033)'), GeomFromEWKT('SRID=4674;POINT (-40.338886 -2.804066)'))) / (select extract(epoch from '2026-07-08 08:10:16'::timestamp) - extract(epoch from '2026-07-08 08:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33873 -2.804033)'), GeomFromEWKT('SRID=4674;POINT (-40.338886 -2.804066)'))) / (select extract(epoch from '2026-07-08 08:10:16'::timestamp) - extract(epoch from '2026-07-08 08:10: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'), 47637, 'SRID=4674;POINT (-40.339057 -2.804102)', '2026-07-08 08:10:25', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338886 -2.804066)'), GeomFromEWKT('SRID=4674;POINT (-40.339057 -2.804102)'))) / (select extract(epoch from '2026-07-08 08:10:25'::timestamp) - extract(epoch from '2026-07-08 08:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338886 -2.804066)'), GeomFromEWKT('SRID=4674;POINT (-40.339057 -2.804102)'))) / (select extract(epoch from '2026-07-08 08:10:25'::timestamp) - extract(epoch from '2026-07-08 08:10: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'), 47637, 'SRID=4674;POINT (-40.339235 -2.804138)', '2026-07-08 08:10:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339057 -2.804102)'), GeomFromEWKT('SRID=4674;POINT (-40.339235 -2.804138)'))) / (select extract(epoch from '2026-07-08 08:10:34'::timestamp) - extract(epoch from '2026-07-08 08:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339057 -2.804102)'), GeomFromEWKT('SRID=4674;POINT (-40.339235 -2.804138)'))) / (select extract(epoch from '2026-07-08 08:10:34'::timestamp) - extract(epoch from '2026-07-08 08:10:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.33939 -2.804166)', '2026-07-08 08:10:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339235 -2.804138)'), GeomFromEWKT('SRID=4674;POINT (-40.33939 -2.804166)'))) / (select extract(epoch from '2026-07-08 08:10:42'::timestamp) - extract(epoch from '2026-07-08 08:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339235 -2.804138)'), GeomFromEWKT('SRID=4674;POINT (-40.33939 -2.804166)'))) / (select extract(epoch from '2026-07-08 08:10:42'::timestamp) - extract(epoch from '2026-07-08 08:10: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'), 47637, 'SRID=4674;POINT (-40.339527 -2.804196)', '2026-07-08 08:10:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33939 -2.804166)'), GeomFromEWKT('SRID=4674;POINT (-40.339527 -2.804196)'))) / (select extract(epoch from '2026-07-08 08:10:49'::timestamp) - extract(epoch from '2026-07-08 08:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33939 -2.804166)'), GeomFromEWKT('SRID=4674;POINT (-40.339527 -2.804196)'))) / (select extract(epoch from '2026-07-08 08:10:49'::timestamp) - extract(epoch from '2026-07-08 08:10: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'), 47637, 'SRID=4674;POINT (-40.339711 -2.804239)', '2026-07-08 08:10:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339527 -2.804196)'), GeomFromEWKT('SRID=4674;POINT (-40.339711 -2.804239)'))) / (select extract(epoch from '2026-07-08 08:10:58'::timestamp) - extract(epoch from '2026-07-08 08:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339527 -2.804196)'), GeomFromEWKT('SRID=4674;POINT (-40.339711 -2.804239)'))) / (select extract(epoch from '2026-07-08 08:10:58'::timestamp) - extract(epoch from '2026-07-08 08:10: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'), 47637, 'SRID=4674;POINT (-40.339912 -2.804293)', '2026-07-08 08:11:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339711 -2.804239)'), GeomFromEWKT('SRID=4674;POINT (-40.339912 -2.804293)'))) / (select extract(epoch from '2026-07-08 08:11:08'::timestamp) - extract(epoch from '2026-07-08 08:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339711 -2.804239)'), GeomFromEWKT('SRID=4674;POINT (-40.339912 -2.804293)'))) / (select extract(epoch from '2026-07-08 08:11:08'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.340083 -2.804337)', '2026-07-08 08:11:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339912 -2.804293)'), GeomFromEWKT('SRID=4674;POINT (-40.340083 -2.804337)'))) / (select extract(epoch from '2026-07-08 08:11:17'::timestamp) - extract(epoch from '2026-07-08 08:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339912 -2.804293)'), GeomFromEWKT('SRID=4674;POINT (-40.340083 -2.804337)'))) / (select extract(epoch from '2026-07-08 08:11:17'::timestamp) - extract(epoch from '2026-07-08 08:11: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'), 47637, 'SRID=4674;POINT (-40.340195 -2.804359)', '2026-07-08 08:11:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340083 -2.804337)'), GeomFromEWKT('SRID=4674;POINT (-40.340195 -2.804359)'))) / (select extract(epoch from '2026-07-08 08:11:23'::timestamp) - extract(epoch from '2026-07-08 08:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340083 -2.804337)'), GeomFromEWKT('SRID=4674;POINT (-40.340195 -2.804359)'))) / (select extract(epoch from '2026-07-08 08:11:23'::timestamp) - extract(epoch from '2026-07-08 08:11: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'), 47637, 'SRID=4674;POINT (-40.340365 -2.804387)', '2026-07-08 08:11:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340195 -2.804359)'), GeomFromEWKT('SRID=4674;POINT (-40.340365 -2.804387)'))) / (select extract(epoch from '2026-07-08 08:11:32'::timestamp) - extract(epoch from '2026-07-08 08:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340195 -2.804359)'), GeomFromEWKT('SRID=4674;POINT (-40.340365 -2.804387)'))) / (select extract(epoch from '2026-07-08 08:11:32'::timestamp) - extract(epoch from '2026-07-08 08:11:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.340521 -2.804426)', '2026-07-08 08:11:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340365 -2.804387)'), GeomFromEWKT('SRID=4674;POINT (-40.340521 -2.804426)'))) / (select extract(epoch from '2026-07-08 08:11:41'::timestamp) - extract(epoch from '2026-07-08 08:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340365 -2.804387)'), GeomFromEWKT('SRID=4674;POINT (-40.340521 -2.804426)'))) / (select extract(epoch from '2026-07-08 08:11:41'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.340653 -2.804453)', '2026-07-08 08:11:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340521 -2.804426)'), GeomFromEWKT('SRID=4674;POINT (-40.340653 -2.804453)'))) / (select extract(epoch from '2026-07-08 08:11:49'::timestamp) - extract(epoch from '2026-07-08 08:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340521 -2.804426)'), GeomFromEWKT('SRID=4674;POINT (-40.340653 -2.804453)'))) / (select extract(epoch from '2026-07-08 08:11:49'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.340818 -2.804482)', '2026-07-08 08:11:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340653 -2.804453)'), GeomFromEWKT('SRID=4674;POINT (-40.340818 -2.804482)'))) / (select extract(epoch from '2026-07-08 08:11:59'::timestamp) - extract(epoch from '2026-07-08 08:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340653 -2.804453)'), GeomFromEWKT('SRID=4674;POINT (-40.340818 -2.804482)'))) / (select extract(epoch from '2026-07-08 08:11:59'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.340975 -2.80452)', '2026-07-08 08:12:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340818 -2.804482)'), GeomFromEWKT('SRID=4674;POINT (-40.340975 -2.80452)'))) / (select extract(epoch from '2026-07-08 08:12:08'::timestamp) - extract(epoch from '2026-07-08 08:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340818 -2.804482)'), GeomFromEWKT('SRID=4674;POINT (-40.340975 -2.80452)'))) / (select extract(epoch from '2026-07-08 08:12:08'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.341131 -2.804551)', '2026-07-08 08:12:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340975 -2.80452)'), GeomFromEWKT('SRID=4674;POINT (-40.341131 -2.804551)'))) / (select extract(epoch from '2026-07-08 08:12:17'::timestamp) - extract(epoch from '2026-07-08 08:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340975 -2.80452)'), GeomFromEWKT('SRID=4674;POINT (-40.341131 -2.804551)'))) / (select extract(epoch from '2026-07-08 08:12:17'::timestamp) - extract(epoch from '2026-07-08 08:12: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'), 47637, 'SRID=4674;POINT (-40.341297 -2.804581)', '2026-07-08 08:12:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341131 -2.804551)'), GeomFromEWKT('SRID=4674;POINT (-40.341297 -2.804581)'))) / (select extract(epoch from '2026-07-08 08:12:26'::timestamp) - extract(epoch from '2026-07-08 08:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341131 -2.804551)'), GeomFromEWKT('SRID=4674;POINT (-40.341297 -2.804581)'))) / (select extract(epoch from '2026-07-08 08:12:26'::timestamp) - extract(epoch from '2026-07-08 08:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.341436 -2.804614)', '2026-07-08 08:12:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341297 -2.804581)'), GeomFromEWKT('SRID=4674;POINT (-40.341436 -2.804614)'))) / (select extract(epoch from '2026-07-08 08:12:34'::timestamp) - extract(epoch from '2026-07-08 08:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341297 -2.804581)'), GeomFromEWKT('SRID=4674;POINT (-40.341436 -2.804614)'))) / (select extract(epoch from '2026-07-08 08:12:34'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.341579 -2.804645)', '2026-07-08 08:12:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341436 -2.804614)'), GeomFromEWKT('SRID=4674;POINT (-40.341579 -2.804645)'))) / (select extract(epoch from '2026-07-08 08:12:42'::timestamp) - extract(epoch from '2026-07-08 08:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341436 -2.804614)'), GeomFromEWKT('SRID=4674;POINT (-40.341579 -2.804645)'))) / (select extract(epoch from '2026-07-08 08:12:42'::timestamp) - extract(epoch from '2026-07-08 08:12:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.341705 -2.804671)', '2026-07-08 08:12:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341579 -2.804645)'), GeomFromEWKT('SRID=4674;POINT (-40.341705 -2.804671)'))) / (select extract(epoch from '2026-07-08 08:12:49'::timestamp) - extract(epoch from '2026-07-08 08:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341579 -2.804645)'), GeomFromEWKT('SRID=4674;POINT (-40.341705 -2.804671)'))) / (select extract(epoch from '2026-07-08 08:12:49'::timestamp) - extract(epoch from '2026-07-08 08:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.341834 -2.804691)', '2026-07-08 08:12:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341705 -2.804671)'), GeomFromEWKT('SRID=4674;POINT (-40.341834 -2.804691)'))) / (select extract(epoch from '2026-07-08 08:12:57'::timestamp) - extract(epoch from '2026-07-08 08:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341705 -2.804671)'), GeomFromEWKT('SRID=4674;POINT (-40.341834 -2.804691)'))) / (select extract(epoch from '2026-07-08 08:12:57'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.341969 -2.804707)', '2026-07-08 08:13:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341834 -2.804691)'), GeomFromEWKT('SRID=4674;POINT (-40.341969 -2.804707)'))) / (select extract(epoch from '2026-07-08 08:13:05'::timestamp) - extract(epoch from '2026-07-08 08:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341834 -2.804691)'), GeomFromEWKT('SRID=4674;POINT (-40.341969 -2.804707)'))) / (select extract(epoch from '2026-07-08 08:13:05'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.342118 -2.804727)', '2026-07-08 08:13:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341969 -2.804707)'), GeomFromEWKT('SRID=4674;POINT (-40.342118 -2.804727)'))) / (select extract(epoch from '2026-07-08 08:13:14'::timestamp) - extract(epoch from '2026-07-08 08:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341969 -2.804707)'), GeomFromEWKT('SRID=4674;POINT (-40.342118 -2.804727)'))) / (select extract(epoch from '2026-07-08 08:13:14'::timestamp) - extract(epoch from '2026-07-08 08:13: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'), 47637, 'SRID=4674;POINT (-40.342251 -2.804747)', '2026-07-08 08:13:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342118 -2.804727)'), GeomFromEWKT('SRID=4674;POINT (-40.342251 -2.804747)'))) / (select extract(epoch from '2026-07-08 08:13:21'::timestamp) - extract(epoch from '2026-07-08 08:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342118 -2.804727)'), GeomFromEWKT('SRID=4674;POINT (-40.342251 -2.804747)'))) / (select extract(epoch from '2026-07-08 08:13:21'::timestamp) - extract(epoch from '2026-07-08 08:13: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'), 47637, 'SRID=4674;POINT (-40.342423 -2.804783)', '2026-07-08 08:13:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342251 -2.804747)'), GeomFromEWKT('SRID=4674;POINT (-40.342423 -2.804783)'))) / (select extract(epoch from '2026-07-08 08:13:29'::timestamp) - extract(epoch from '2026-07-08 08:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342251 -2.804747)'), GeomFromEWKT('SRID=4674;POINT (-40.342423 -2.804783)'))) / (select extract(epoch from '2026-07-08 08:13:29'::timestamp) - extract(epoch from '2026-07-08 08:13:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.342597 -2.804809)', '2026-07-08 08:13:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342423 -2.804783)'), GeomFromEWKT('SRID=4674;POINT (-40.342597 -2.804809)'))) / (select extract(epoch from '2026-07-08 08:13:38'::timestamp) - extract(epoch from '2026-07-08 08:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342423 -2.804783)'), GeomFromEWKT('SRID=4674;POINT (-40.342597 -2.804809)'))) / (select extract(epoch from '2026-07-08 08:13:38'::timestamp) - extract(epoch from '2026-07-08 08:13:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.342807 -2.804865)', '2026-07-08 08:13:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342597 -2.804809)'), GeomFromEWKT('SRID=4674;POINT (-40.342807 -2.804865)'))) / (select extract(epoch from '2026-07-08 08:13:47'::timestamp) - extract(epoch from '2026-07-08 08:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342597 -2.804809)'), GeomFromEWKT('SRID=4674;POINT (-40.342807 -2.804865)'))) / (select extract(epoch from '2026-07-08 08:13:47'::timestamp) - extract(epoch from '2026-07-08 08:13:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.343009 -2.804901)', '2026-07-08 08:13:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342807 -2.804865)'), GeomFromEWKT('SRID=4674;POINT (-40.343009 -2.804901)'))) / (select extract(epoch from '2026-07-08 08:13:56'::timestamp) - extract(epoch from '2026-07-08 08:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342807 -2.804865)'), GeomFromEWKT('SRID=4674;POINT (-40.343009 -2.804901)'))) / (select extract(epoch from '2026-07-08 08:13:56'::timestamp) - extract(epoch from '2026-07-08 08:13: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'), 47637, 'SRID=4674;POINT (-40.343194 -2.804916)', '2026-07-08 08:14:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343009 -2.804901)'), GeomFromEWKT('SRID=4674;POINT (-40.343194 -2.804916)'))) / (select extract(epoch from '2026-07-08 08:14:05'::timestamp) - extract(epoch from '2026-07-08 08:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343009 -2.804901)'), GeomFromEWKT('SRID=4674;POINT (-40.343194 -2.804916)'))) / (select extract(epoch from '2026-07-08 08:14:05'::timestamp) - extract(epoch from '2026-07-08 08:13:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.34337 -2.804931)', '2026-07-08 08:14:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343194 -2.804916)'), GeomFromEWKT('SRID=4674;POINT (-40.34337 -2.804931)'))) / (select extract(epoch from '2026-07-08 08:14:14'::timestamp) - extract(epoch from '2026-07-08 08:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343194 -2.804916)'), GeomFromEWKT('SRID=4674;POINT (-40.34337 -2.804931)'))) / (select extract(epoch from '2026-07-08 08:14:14'::timestamp) - extract(epoch from '2026-07-08 08:14: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'), 47637, 'SRID=4674;POINT (-40.343521 -2.804945)', '2026-07-08 08:14:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34337 -2.804931)'), GeomFromEWKT('SRID=4674;POINT (-40.343521 -2.804945)'))) / (select extract(epoch from '2026-07-08 08:14:22'::timestamp) - extract(epoch from '2026-07-08 08:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34337 -2.804931)'), GeomFromEWKT('SRID=4674;POINT (-40.343521 -2.804945)'))) / (select extract(epoch from '2026-07-08 08:14:22'::timestamp) - extract(epoch from '2026-07-08 08:14: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'), 47637, 'SRID=4674;POINT (-40.343698 -2.804966)', '2026-07-08 08:14:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343521 -2.804945)'), GeomFromEWKT('SRID=4674;POINT (-40.343698 -2.804966)'))) / (select extract(epoch from '2026-07-08 08:14:32'::timestamp) - extract(epoch from '2026-07-08 08:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343521 -2.804945)'), GeomFromEWKT('SRID=4674;POINT (-40.343698 -2.804966)'))) / (select extract(epoch from '2026-07-08 08:14:32'::timestamp) - extract(epoch from '2026-07-08 08:14: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'), 47637, 'SRID=4674;POINT (-40.343852 -2.804974)', '2026-07-08 08:14:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343698 -2.804966)'), GeomFromEWKT('SRID=4674;POINT (-40.343852 -2.804974)'))) / (select extract(epoch from '2026-07-08 08:14:41'::timestamp) - extract(epoch from '2026-07-08 08:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343698 -2.804966)'), GeomFromEWKT('SRID=4674;POINT (-40.343852 -2.804974)'))) / (select extract(epoch from '2026-07-08 08:14:41'::timestamp) - extract(epoch from '2026-07-08 08:14:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.343982 -2.804996)', '2026-07-08 08:14:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343852 -2.804974)'), GeomFromEWKT('SRID=4674;POINT (-40.343982 -2.804996)'))) / (select extract(epoch from '2026-07-08 08:14:48'::timestamp) - extract(epoch from '2026-07-08 08:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343852 -2.804974)'), GeomFromEWKT('SRID=4674;POINT (-40.343982 -2.804996)'))) / (select extract(epoch from '2026-07-08 08:14:48'::timestamp) - extract(epoch from '2026-07-08 08:14:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.344169 -2.805029)', '2026-07-08 08:14:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343982 -2.804996)'), GeomFromEWKT('SRID=4674;POINT (-40.344169 -2.805029)'))) / (select extract(epoch from '2026-07-08 08:14:58'::timestamp) - extract(epoch from '2026-07-08 08:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343982 -2.804996)'), GeomFromEWKT('SRID=4674;POINT (-40.344169 -2.805029)'))) / (select extract(epoch from '2026-07-08 08:14:58'::timestamp) - extract(epoch from '2026-07-08 08:14:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.344317 -2.805059)', '2026-07-08 08:15:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344169 -2.805029)'), GeomFromEWKT('SRID=4674;POINT (-40.344317 -2.805059)'))) / (select extract(epoch from '2026-07-08 08:15:06'::timestamp) - extract(epoch from '2026-07-08 08:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344169 -2.805029)'), GeomFromEWKT('SRID=4674;POINT (-40.344317 -2.805059)'))) / (select extract(epoch from '2026-07-08 08:15:06'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.344468 -2.805087)', '2026-07-08 08:15:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344317 -2.805059)'), GeomFromEWKT('SRID=4674;POINT (-40.344468 -2.805087)'))) / (select extract(epoch from '2026-07-08 08:15:14'::timestamp) - extract(epoch from '2026-07-08 08:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344317 -2.805059)'), GeomFromEWKT('SRID=4674;POINT (-40.344468 -2.805087)'))) / (select extract(epoch from '2026-07-08 08:15:14'::timestamp) - extract(epoch from '2026-07-08 08:15: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'), 47637, 'SRID=4674;POINT (-40.344597 -2.805123)', '2026-07-08 08:15:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344468 -2.805087)'), GeomFromEWKT('SRID=4674;POINT (-40.344597 -2.805123)'))) / (select extract(epoch from '2026-07-08 08:15:21'::timestamp) - extract(epoch from '2026-07-08 08:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344468 -2.805087)'), GeomFromEWKT('SRID=4674;POINT (-40.344597 -2.805123)'))) / (select extract(epoch from '2026-07-08 08:15:21'::timestamp) - extract(epoch from '2026-07-08 08:15:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.34472 -2.805153)', '2026-07-08 08:15:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344597 -2.805123)'), GeomFromEWKT('SRID=4674;POINT (-40.34472 -2.805153)'))) / (select extract(epoch from '2026-07-08 08:15:28'::timestamp) - extract(epoch from '2026-07-08 08:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344597 -2.805123)'), GeomFromEWKT('SRID=4674;POINT (-40.34472 -2.805153)'))) / (select extract(epoch from '2026-07-08 08:15:28'::timestamp) - extract(epoch from '2026-07-08 08:15: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'), 47637, 'SRID=4674;POINT (-40.344864 -2.805169)', '2026-07-08 08:15:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34472 -2.805153)'), GeomFromEWKT('SRID=4674;POINT (-40.344864 -2.805169)'))) / (select extract(epoch from '2026-07-08 08:15:37'::timestamp) - extract(epoch from '2026-07-08 08:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34472 -2.805153)'), GeomFromEWKT('SRID=4674;POINT (-40.344864 -2.805169)'))) / (select extract(epoch from '2026-07-08 08:15:37'::timestamp) - extract(epoch from '2026-07-08 08:15: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'), 47637, 'SRID=4674;POINT (-40.344992 -2.805179)', '2026-07-08 08:15:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344864 -2.805169)'), GeomFromEWKT('SRID=4674;POINT (-40.344992 -2.805179)'))) / (select extract(epoch from '2026-07-08 08:15:46'::timestamp) - extract(epoch from '2026-07-08 08:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344864 -2.805169)'), GeomFromEWKT('SRID=4674;POINT (-40.344992 -2.805179)'))) / (select extract(epoch from '2026-07-08 08:15:46'::timestamp) - extract(epoch from '2026-07-08 08:15: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'), 47637, 'SRID=4674;POINT (-40.345149 -2.805202)', '2026-07-08 08:15:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344992 -2.805179)'), GeomFromEWKT('SRID=4674;POINT (-40.345149 -2.805202)'))) / (select extract(epoch from '2026-07-08 08:15:55'::timestamp) - extract(epoch from '2026-07-08 08:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344992 -2.805179)'), GeomFromEWKT('SRID=4674;POINT (-40.345149 -2.805202)'))) / (select extract(epoch from '2026-07-08 08:15:55'::timestamp) - extract(epoch from '2026-07-08 08:15: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'), 47637, 'SRID=4674;POINT (-40.345285 -2.805237)', '2026-07-08 08:16:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345149 -2.805202)'), GeomFromEWKT('SRID=4674;POINT (-40.345285 -2.805237)'))) / (select extract(epoch from '2026-07-08 08:16:02'::timestamp) - extract(epoch from '2026-07-08 08:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345149 -2.805202)'), GeomFromEWKT('SRID=4674;POINT (-40.345285 -2.805237)'))) / (select extract(epoch from '2026-07-08 08:16:02'::timestamp) - extract(epoch from '2026-07-08 08:15: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'), 47637, 'SRID=4674;POINT (-40.345457 -2.805279)', '2026-07-08 08:16:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345285 -2.805237)'), GeomFromEWKT('SRID=4674;POINT (-40.345457 -2.805279)'))) / (select extract(epoch from '2026-07-08 08:16:10'::timestamp) - extract(epoch from '2026-07-08 08:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345285 -2.805237)'), GeomFromEWKT('SRID=4674;POINT (-40.345457 -2.805279)'))) / (select extract(epoch from '2026-07-08 08:16:10'::timestamp) - extract(epoch from '2026-07-08 08:16:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.345716 -2.805331)', '2026-07-08 08:16:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345457 -2.805279)'), GeomFromEWKT('SRID=4674;POINT (-40.345716 -2.805331)'))) / (select extract(epoch from '2026-07-08 08:16:21'::timestamp) - extract(epoch from '2026-07-08 08:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345457 -2.805279)'), GeomFromEWKT('SRID=4674;POINT (-40.345716 -2.805331)'))) / (select extract(epoch from '2026-07-08 08:16:21'::timestamp) - extract(epoch from '2026-07-08 08:16: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'), 47637, 'SRID=4674;POINT (-40.345898 -2.805383)', '2026-07-08 08:16:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345716 -2.805331)'), GeomFromEWKT('SRID=4674;POINT (-40.345898 -2.805383)'))) / (select extract(epoch from '2026-07-08 08:16:29'::timestamp) - extract(epoch from '2026-07-08 08:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345716 -2.805331)'), GeomFromEWKT('SRID=4674;POINT (-40.345898 -2.805383)'))) / (select extract(epoch from '2026-07-08 08:16:29'::timestamp) - extract(epoch from '2026-07-08 08:16: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'), 47637, 'SRID=4674;POINT (-40.346074 -2.80543)', '2026-07-08 08:16:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345898 -2.805383)'), GeomFromEWKT('SRID=4674;POINT (-40.346074 -2.80543)'))) / (select extract(epoch from '2026-07-08 08:16:37'::timestamp) - extract(epoch from '2026-07-08 08:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345898 -2.805383)'), GeomFromEWKT('SRID=4674;POINT (-40.346074 -2.80543)'))) / (select extract(epoch from '2026-07-08 08:16:37'::timestamp) - extract(epoch from '2026-07-08 08:16:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.346214 -2.805451)', '2026-07-08 08:16:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346074 -2.80543)'), GeomFromEWKT('SRID=4674;POINT (-40.346214 -2.805451)'))) / (select extract(epoch from '2026-07-08 08:16:43'::timestamp) - extract(epoch from '2026-07-08 08:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346074 -2.80543)'), GeomFromEWKT('SRID=4674;POINT (-40.346214 -2.805451)'))) / (select extract(epoch from '2026-07-08 08:16:43'::timestamp) - extract(epoch from '2026-07-08 08:16: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'), 47637, 'SRID=4674;POINT (-40.346397 -2.805476)', '2026-07-08 08:16:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346214 -2.805451)'), GeomFromEWKT('SRID=4674;POINT (-40.346397 -2.805476)'))) / (select extract(epoch from '2026-07-08 08:16:51'::timestamp) - extract(epoch from '2026-07-08 08:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346214 -2.805451)'), GeomFromEWKT('SRID=4674;POINT (-40.346397 -2.805476)'))) / (select extract(epoch from '2026-07-08 08:16:51'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.346593 -2.805503)', '2026-07-08 08:17:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346397 -2.805476)'), GeomFromEWKT('SRID=4674;POINT (-40.346593 -2.805503)'))) / (select extract(epoch from '2026-07-08 08:17:00'::timestamp) - extract(epoch from '2026-07-08 08:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346397 -2.805476)'), GeomFromEWKT('SRID=4674;POINT (-40.346593 -2.805503)'))) / (select extract(epoch from '2026-07-08 08:17:00'::timestamp) - extract(epoch from '2026-07-08 08:16:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.346745 -2.805536)', '2026-07-08 08:17:07', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346593 -2.805503)'), GeomFromEWKT('SRID=4674;POINT (-40.346745 -2.805536)'))) / (select extract(epoch from '2026-07-08 08:17:07'::timestamp) - extract(epoch from '2026-07-08 08:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346593 -2.805503)'), GeomFromEWKT('SRID=4674;POINT (-40.346745 -2.805536)'))) / (select extract(epoch from '2026-07-08 08:17:07'::timestamp) - extract(epoch from '2026-07-08 08:17:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.346935 -2.805568)', '2026-07-08 08:17:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346745 -2.805536)'), GeomFromEWKT('SRID=4674;POINT (-40.346935 -2.805568)'))) / (select extract(epoch from '2026-07-08 08:17:15'::timestamp) - extract(epoch from '2026-07-08 08:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346745 -2.805536)'), GeomFromEWKT('SRID=4674;POINT (-40.346935 -2.805568)'))) / (select extract(epoch from '2026-07-08 08:17:15'::timestamp) - extract(epoch from '2026-07-08 08:17: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'), 47637, 'SRID=4674;POINT (-40.347129 -2.805595)', '2026-07-08 08:17:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346935 -2.805568)'), GeomFromEWKT('SRID=4674;POINT (-40.347129 -2.805595)'))) / (select extract(epoch from '2026-07-08 08:17:24'::timestamp) - extract(epoch from '2026-07-08 08:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346935 -2.805568)'), GeomFromEWKT('SRID=4674;POINT (-40.347129 -2.805595)'))) / (select extract(epoch from '2026-07-08 08:17:24'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.347326 -2.805624)', '2026-07-08 08:17:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347129 -2.805595)'), GeomFromEWKT('SRID=4674;POINT (-40.347326 -2.805624)'))) / (select extract(epoch from '2026-07-08 08:17:33'::timestamp) - extract(epoch from '2026-07-08 08:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347129 -2.805595)'), GeomFromEWKT('SRID=4674;POINT (-40.347326 -2.805624)'))) / (select extract(epoch from '2026-07-08 08:17:33'::timestamp) - extract(epoch from '2026-07-08 08:17:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.347481 -2.805651)', '2026-07-08 08:17:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347326 -2.805624)'), GeomFromEWKT('SRID=4674;POINT (-40.347481 -2.805651)'))) / (select extract(epoch from '2026-07-08 08:17:40'::timestamp) - extract(epoch from '2026-07-08 08:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347326 -2.805624)'), GeomFromEWKT('SRID=4674;POINT (-40.347481 -2.805651)'))) / (select extract(epoch from '2026-07-08 08:17:40'::timestamp) - extract(epoch from '2026-07-08 08:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.347654 -2.805667)', '2026-07-08 08:17:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347481 -2.805651)'), GeomFromEWKT('SRID=4674;POINT (-40.347654 -2.805667)'))) / (select extract(epoch from '2026-07-08 08:17:48'::timestamp) - extract(epoch from '2026-07-08 08:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347481 -2.805651)'), GeomFromEWKT('SRID=4674;POINT (-40.347654 -2.805667)'))) / (select extract(epoch from '2026-07-08 08:17:48'::timestamp) - extract(epoch from '2026-07-08 08:17:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.347825 -2.805682)', '2026-07-08 08:17:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347654 -2.805667)'), GeomFromEWKT('SRID=4674;POINT (-40.347825 -2.805682)'))) / (select extract(epoch from '2026-07-08 08:17:56'::timestamp) - extract(epoch from '2026-07-08 08:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347654 -2.805667)'), GeomFromEWKT('SRID=4674;POINT (-40.347825 -2.805682)'))) / (select extract(epoch from '2026-07-08 08:17:56'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.347979 -2.8057)', '2026-07-08 08:18:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347825 -2.805682)'), GeomFromEWKT('SRID=4674;POINT (-40.347979 -2.8057)'))) / (select extract(epoch from '2026-07-08 08:18:04'::timestamp) - extract(epoch from '2026-07-08 08:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347825 -2.805682)'), GeomFromEWKT('SRID=4674;POINT (-40.347979 -2.8057)'))) / (select extract(epoch from '2026-07-08 08:18:04'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.348177 -2.805721)', '2026-07-08 08:18:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347979 -2.8057)'), GeomFromEWKT('SRID=4674;POINT (-40.348177 -2.805721)'))) / (select extract(epoch from '2026-07-08 08:18:13'::timestamp) - extract(epoch from '2026-07-08 08:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347979 -2.8057)'), GeomFromEWKT('SRID=4674;POINT (-40.348177 -2.805721)'))) / (select extract(epoch from '2026-07-08 08:18:13'::timestamp) - extract(epoch from '2026-07-08 08:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.348335 -2.80574)', '2026-07-08 08:18:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348177 -2.805721)'), GeomFromEWKT('SRID=4674;POINT (-40.348335 -2.80574)'))) / (select extract(epoch from '2026-07-08 08:18:20'::timestamp) - extract(epoch from '2026-07-08 08:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348177 -2.805721)'), GeomFromEWKT('SRID=4674;POINT (-40.348335 -2.80574)'))) / (select extract(epoch from '2026-07-08 08:18:20'::timestamp) - extract(epoch from '2026-07-08 08:18:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.348512 -2.805747)', '2026-07-08 08:18:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348335 -2.80574)'), GeomFromEWKT('SRID=4674;POINT (-40.348512 -2.805747)'))) / (select extract(epoch from '2026-07-08 08:18:29'::timestamp) - extract(epoch from '2026-07-08 08:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348335 -2.80574)'), GeomFromEWKT('SRID=4674;POINT (-40.348512 -2.805747)'))) / (select extract(epoch from '2026-07-08 08:18:29'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.348659 -2.805746)', '2026-07-08 08:18:37', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348512 -2.805747)'), GeomFromEWKT('SRID=4674;POINT (-40.348659 -2.805746)'))) / (select extract(epoch from '2026-07-08 08:18:37'::timestamp) - extract(epoch from '2026-07-08 08:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348512 -2.805747)'), GeomFromEWKT('SRID=4674;POINT (-40.348659 -2.805746)'))) / (select extract(epoch from '2026-07-08 08:18:37'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.348776 -2.805741)', '2026-07-08 08:18:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348659 -2.805746)'), GeomFromEWKT('SRID=4674;POINT (-40.348776 -2.805741)'))) / (select extract(epoch from '2026-07-08 08:18:44'::timestamp) - extract(epoch from '2026-07-08 08:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348659 -2.805746)'), GeomFromEWKT('SRID=4674;POINT (-40.348776 -2.805741)'))) / (select extract(epoch from '2026-07-08 08:18:44'::timestamp) - extract(epoch from '2026-07-08 08:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.348933 -2.805752)', '2026-07-08 08:18:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348776 -2.805741)'), GeomFromEWKT('SRID=4674;POINT (-40.348933 -2.805752)'))) / (select extract(epoch from '2026-07-08 08:18:53'::timestamp) - extract(epoch from '2026-07-08 08:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348776 -2.805741)'), GeomFromEWKT('SRID=4674;POINT (-40.348933 -2.805752)'))) / (select extract(epoch from '2026-07-08 08:18:53'::timestamp) - extract(epoch from '2026-07-08 08:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.349121 -2.805782)', '2026-07-08 08:19:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348933 -2.805752)'), GeomFromEWKT('SRID=4674;POINT (-40.349121 -2.805782)'))) / (select extract(epoch from '2026-07-08 08:19:04'::timestamp) - extract(epoch from '2026-07-08 08:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348933 -2.805752)'), GeomFromEWKT('SRID=4674;POINT (-40.349121 -2.805782)'))) / (select extract(epoch from '2026-07-08 08:19:04'::timestamp) - extract(epoch from '2026-07-08 08:18:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.349279 -2.805812)', '2026-07-08 08:19:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349121 -2.805782)'), GeomFromEWKT('SRID=4674;POINT (-40.349279 -2.805812)'))) / (select extract(epoch from '2026-07-08 08:19:13'::timestamp) - extract(epoch from '2026-07-08 08:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349121 -2.805782)'), GeomFromEWKT('SRID=4674;POINT (-40.349279 -2.805812)'))) / (select extract(epoch from '2026-07-08 08:19:13'::timestamp) - extract(epoch from '2026-07-08 08:19:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.349444 -2.805855)', '2026-07-08 08:19:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349279 -2.805812)'), GeomFromEWKT('SRID=4674;POINT (-40.349444 -2.805855)'))) / (select extract(epoch from '2026-07-08 08:19:22'::timestamp) - extract(epoch from '2026-07-08 08:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349279 -2.805812)'), GeomFromEWKT('SRID=4674;POINT (-40.349444 -2.805855)'))) / (select extract(epoch from '2026-07-08 08:19:22'::timestamp) - extract(epoch from '2026-07-08 08:19:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.349626 -2.805884)', '2026-07-08 08:19:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349444 -2.805855)'), GeomFromEWKT('SRID=4674;POINT (-40.349626 -2.805884)'))) / (select extract(epoch from '2026-07-08 08:19:32'::timestamp) - extract(epoch from '2026-07-08 08:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349444 -2.805855)'), GeomFromEWKT('SRID=4674;POINT (-40.349626 -2.805884)'))) / (select extract(epoch from '2026-07-08 08:19:32'::timestamp) - extract(epoch from '2026-07-08 08:19: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'), 47637, 'SRID=4674;POINT (-40.349788 -2.805904)', '2026-07-08 08:19:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349626 -2.805884)'), GeomFromEWKT('SRID=4674;POINT (-40.349788 -2.805904)'))) / (select extract(epoch from '2026-07-08 08:19:40'::timestamp) - extract(epoch from '2026-07-08 08:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349626 -2.805884)'), GeomFromEWKT('SRID=4674;POINT (-40.349788 -2.805904)'))) / (select extract(epoch from '2026-07-08 08:19:40'::timestamp) - extract(epoch from '2026-07-08 08:19:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.349924 -2.805923)', '2026-07-08 08:19:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349788 -2.805904)'), GeomFromEWKT('SRID=4674;POINT (-40.349924 -2.805923)'))) / (select extract(epoch from '2026-07-08 08:19:47'::timestamp) - extract(epoch from '2026-07-08 08:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349788 -2.805904)'), GeomFromEWKT('SRID=4674;POINT (-40.349924 -2.805923)'))) / (select extract(epoch from '2026-07-08 08:19:47'::timestamp) - extract(epoch from '2026-07-08 08:19: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'), 47637, 'SRID=4674;POINT (-40.350097 -2.805951)', '2026-07-08 08:19:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349924 -2.805923)'), GeomFromEWKT('SRID=4674;POINT (-40.350097 -2.805951)'))) / (select extract(epoch from '2026-07-08 08:19:56'::timestamp) - extract(epoch from '2026-07-08 08:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349924 -2.805923)'), GeomFromEWKT('SRID=4674;POINT (-40.350097 -2.805951)'))) / (select extract(epoch from '2026-07-08 08:19:56'::timestamp) - extract(epoch from '2026-07-08 08:19: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'), 47637, 'SRID=4674;POINT (-40.350247 -2.805961)', '2026-07-08 08:20:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350097 -2.805951)'), GeomFromEWKT('SRID=4674;POINT (-40.350247 -2.805961)'))) / (select extract(epoch from '2026-07-08 08:20:04'::timestamp) - extract(epoch from '2026-07-08 08:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350097 -2.805951)'), GeomFromEWKT('SRID=4674;POINT (-40.350247 -2.805961)'))) / (select extract(epoch from '2026-07-08 08:20:04'::timestamp) - extract(epoch from '2026-07-08 08:19: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'), 47637, 'SRID=4674;POINT (-40.350381 -2.805971)', '2026-07-08 08:20:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350247 -2.805961)'), GeomFromEWKT('SRID=4674;POINT (-40.350381 -2.805971)'))) / (select extract(epoch from '2026-07-08 08:20:12'::timestamp) - extract(epoch from '2026-07-08 08:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350247 -2.805961)'), GeomFromEWKT('SRID=4674;POINT (-40.350381 -2.805971)'))) / (select extract(epoch from '2026-07-08 08:20:12'::timestamp) - extract(epoch from '2026-07-08 08:20: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'), 47637, 'SRID=4674;POINT (-40.350502 -2.806003)', '2026-07-08 08:20:18', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350381 -2.805971)'), GeomFromEWKT('SRID=4674;POINT (-40.350502 -2.806003)'))) / (select extract(epoch from '2026-07-08 08:20:18'::timestamp) - extract(epoch from '2026-07-08 08:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350381 -2.805971)'), GeomFromEWKT('SRID=4674;POINT (-40.350502 -2.806003)'))) / (select extract(epoch from '2026-07-08 08:20:18'::timestamp) - extract(epoch from '2026-07-08 08:20: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'), 47637, 'SRID=4674;POINT (-40.350703 -2.806061)', '2026-07-08 08:20:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350502 -2.806003)'), GeomFromEWKT('SRID=4674;POINT (-40.350703 -2.806061)'))) / (select extract(epoch from '2026-07-08 08:20:27'::timestamp) - extract(epoch from '2026-07-08 08:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350502 -2.806003)'), GeomFromEWKT('SRID=4674;POINT (-40.350703 -2.806061)'))) / (select extract(epoch from '2026-07-08 08:20:27'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.350874 -2.80609)', '2026-07-08 08:20:35', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350703 -2.806061)'), GeomFromEWKT('SRID=4674;POINT (-40.350874 -2.80609)'))) / (select extract(epoch from '2026-07-08 08:20:35'::timestamp) - extract(epoch from '2026-07-08 08:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350703 -2.806061)'), GeomFromEWKT('SRID=4674;POINT (-40.350874 -2.80609)'))) / (select extract(epoch from '2026-07-08 08:20:35'::timestamp) - extract(epoch from '2026-07-08 08:20: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'), 47637, 'SRID=4674;POINT (-40.351007 -2.806106)', '2026-07-08 08:20:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350874 -2.80609)'), GeomFromEWKT('SRID=4674;POINT (-40.351007 -2.806106)'))) / (select extract(epoch from '2026-07-08 08:20:42'::timestamp) - extract(epoch from '2026-07-08 08:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350874 -2.80609)'), GeomFromEWKT('SRID=4674;POINT (-40.351007 -2.806106)'))) / (select extract(epoch from '2026-07-08 08:20:42'::timestamp) - extract(epoch from '2026-07-08 08:20: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'), 47637, 'SRID=4674;POINT (-40.351183 -2.806132)', '2026-07-08 08:20:51', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351007 -2.806106)'), GeomFromEWKT('SRID=4674;POINT (-40.351183 -2.806132)'))) / (select extract(epoch from '2026-07-08 08:20:51'::timestamp) - extract(epoch from '2026-07-08 08:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351007 -2.806106)'), GeomFromEWKT('SRID=4674;POINT (-40.351183 -2.806132)'))) / (select extract(epoch from '2026-07-08 08:20:51'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.351365 -2.806137)', '2026-07-08 08:21:00', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351183 -2.806132)'), GeomFromEWKT('SRID=4674;POINT (-40.351365 -2.806137)'))) / (select extract(epoch from '2026-07-08 08:21:00'::timestamp) - extract(epoch from '2026-07-08 08:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351183 -2.806132)'), GeomFromEWKT('SRID=4674;POINT (-40.351365 -2.806137)'))) / (select extract(epoch from '2026-07-08 08:21:00'::timestamp) - extract(epoch from '2026-07-08 08:20:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.351547 -2.806141)', '2026-07-08 08:21:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351365 -2.806137)'), GeomFromEWKT('SRID=4674;POINT (-40.351547 -2.806141)'))) / (select extract(epoch from '2026-07-08 08:21:08'::timestamp) - extract(epoch from '2026-07-08 08:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351365 -2.806137)'), GeomFromEWKT('SRID=4674;POINT (-40.351547 -2.806141)'))) / (select extract(epoch from '2026-07-08 08:21:08'::timestamp) - extract(epoch from '2026-07-08 08:21: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'), 47637, 'SRID=4674;POINT (-40.351738 -2.80618)', '2026-07-08 08:21:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351547 -2.806141)'), GeomFromEWKT('SRID=4674;POINT (-40.351738 -2.80618)'))) / (select extract(epoch from '2026-07-08 08:21:17'::timestamp) - extract(epoch from '2026-07-08 08:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351547 -2.806141)'), GeomFromEWKT('SRID=4674;POINT (-40.351738 -2.80618)'))) / (select extract(epoch from '2026-07-08 08:21:17'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.351936 -2.806233)', '2026-07-08 08:21:27', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351738 -2.80618)'), GeomFromEWKT('SRID=4674;POINT (-40.351936 -2.806233)'))) / (select extract(epoch from '2026-07-08 08:21:27'::timestamp) - extract(epoch from '2026-07-08 08:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351738 -2.80618)'), GeomFromEWKT('SRID=4674;POINT (-40.351936 -2.806233)'))) / (select extract(epoch from '2026-07-08 08:21:27'::timestamp) - extract(epoch from '2026-07-08 08:21: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'), 47637, 'SRID=4674;POINT (-40.352099 -2.806276)', '2026-07-08 08:21:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351936 -2.806233)'), GeomFromEWKT('SRID=4674;POINT (-40.352099 -2.806276)'))) / (select extract(epoch from '2026-07-08 08:21:35'::timestamp) - extract(epoch from '2026-07-08 08:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351936 -2.806233)'), GeomFromEWKT('SRID=4674;POINT (-40.352099 -2.806276)'))) / (select extract(epoch from '2026-07-08 08:21:35'::timestamp) - extract(epoch from '2026-07-08 08:21:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.352275 -2.806322)', '2026-07-08 08:21:44', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352099 -2.806276)'), GeomFromEWKT('SRID=4674;POINT (-40.352275 -2.806322)'))) / (select extract(epoch from '2026-07-08 08:21:44'::timestamp) - extract(epoch from '2026-07-08 08:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352099 -2.806276)'), GeomFromEWKT('SRID=4674;POINT (-40.352275 -2.806322)'))) / (select extract(epoch from '2026-07-08 08:21:44'::timestamp) - extract(epoch from '2026-07-08 08:21:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47637, 'SRID=4674;POINT (-40.352492 -2.806396)', '2026-07-08 08:21:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352275 -2.806322)'), GeomFromEWKT('SRID=4674;POINT (-40.352492 -2.806396)'))) / (select extract(epoch from '2026-07-08 08:21:55'::timestamp) - extract(epoch from '2026-07-08 08:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352275 -2.806322)'), GeomFromEWKT('SRID=4674;POINT (-40.352492 -2.806396)'))) / (select extract(epoch from '2026-07-08 08:21:55'::timestamp) - extract(epoch from '2026-07-08 08: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'), 47637, 'SRID=4674;POINT (-40.352649 -2.806461)', '2026-07-08 08:22:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352492 -2.806396)'), GeomFromEWKT('SRID=4674;POINT (-40.352649 -2.806461)'))) / (select extract(epoch from '2026-07-08 08:22:03'::timestamp) - extract(epoch from '2026-07-08 08:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352492 -2.806396)'), GeomFromEWKT('SRID=4674;POINT (-40.352649 -2.806461)'))) / (select extract(epoch from '2026-07-08 08:22:03'::timestamp) - extract(epoch from '2026-07-08 08:21: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'), 47637, 'SRID=4674;POINT (-40.352808 -2.806551)', '2026-07-08 08:22:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352649 -2.806461)'), GeomFromEWKT('SRID=4674;POINT (-40.352808 -2.806551)'))) / (select extract(epoch from '2026-07-08 08:22:12'::timestamp) - extract(epoch from '2026-07-08 08:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352649 -2.806461)'), GeomFromEWKT('SRID=4674;POINT (-40.352808 -2.806551)'))) / (select extract(epoch from '2026-07-08 08:22:12'::timestamp) - extract(epoch from '2026-07-08 08:22:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
