 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.293605 -2.795326)', '2026-07-10 06:21:40', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293622 -2.795314)'), GeomFromEWKT('SRID=4674;POINT (-40.293605 -2.795326)'))) / (select extract(epoch from '2026-07-10 06:21:40'::timestamp) - extract(epoch from '2026-07-10 06:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293622 -2.795314)'), GeomFromEWKT('SRID=4674;POINT (-40.293605 -2.795326)'))) / (select extract(epoch from '2026-07-10 06:21:40'::timestamp) - extract(epoch from '2026-07-10 06: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'), 47638, 'SRID=4674;POINT (-40.293545 -2.795367)', '2026-07-10 06:21:57', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293605 -2.795326)'), GeomFromEWKT('SRID=4674;POINT (-40.293545 -2.795367)'))) / (select extract(epoch from '2026-07-10 06:21:57'::timestamp) - extract(epoch from '2026-07-10 06:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293605 -2.795326)'), GeomFromEWKT('SRID=4674;POINT (-40.293545 -2.795367)'))) / (select extract(epoch from '2026-07-10 06:21:57'::timestamp) - extract(epoch from '2026-07-10 06:21: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'), 47638, 'SRID=4674;POINT (-40.293458 -2.7954)', '2026-07-10 06:22:15', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293545 -2.795367)'), GeomFromEWKT('SRID=4674;POINT (-40.293458 -2.7954)'))) / (select extract(epoch from '2026-07-10 06:22:15'::timestamp) - extract(epoch from '2026-07-10 06:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293545 -2.795367)'), GeomFromEWKT('SRID=4674;POINT (-40.293458 -2.7954)'))) / (select extract(epoch from '2026-07-10 06:22:15'::timestamp) - extract(epoch from '2026-07-10 06:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.293427 -2.795404)', '2026-07-10 06:22:26', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293458 -2.7954)'), GeomFromEWKT('SRID=4674;POINT (-40.293427 -2.795404)'))) / (select extract(epoch from '2026-07-10 06:22:26'::timestamp) - extract(epoch from '2026-07-10 06:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293458 -2.7954)'), GeomFromEWKT('SRID=4674;POINT (-40.293427 -2.795404)'))) / (select extract(epoch from '2026-07-10 06:22:26'::timestamp) - extract(epoch from '2026-07-10 06:22:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.293362 -2.795458)', '2026-07-10 06:22:40', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293427 -2.795404)'), GeomFromEWKT('SRID=4674;POINT (-40.293362 -2.795458)'))) / (select extract(epoch from '2026-07-10 06:22:40'::timestamp) - extract(epoch from '2026-07-10 06:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293427 -2.795404)'), GeomFromEWKT('SRID=4674;POINT (-40.293362 -2.795458)'))) / (select extract(epoch from '2026-07-10 06:22:40'::timestamp) - extract(epoch from '2026-07-10 06:22:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.293278 -2.7955)', '2026-07-10 06:22:57', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293362 -2.795458)'), GeomFromEWKT('SRID=4674;POINT (-40.293278 -2.7955)'))) / (select extract(epoch from '2026-07-10 06:22:57'::timestamp) - extract(epoch from '2026-07-10 06:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293362 -2.795458)'), GeomFromEWKT('SRID=4674;POINT (-40.293278 -2.7955)'))) / (select extract(epoch from '2026-07-10 06:22:57'::timestamp) - extract(epoch from '2026-07-10 06:22:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.293218 -2.795506)', '2026-07-10 06:23:16', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293278 -2.7955)'), GeomFromEWKT('SRID=4674;POINT (-40.293218 -2.795506)'))) / (select extract(epoch from '2026-07-10 06:23:16'::timestamp) - extract(epoch from '2026-07-10 06:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293278 -2.7955)'), GeomFromEWKT('SRID=4674;POINT (-40.293218 -2.795506)'))) / (select extract(epoch from '2026-07-10 06:23:16'::timestamp) - extract(epoch from '2026-07-10 06:22:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.293203 -2.795519)', '2026-07-10 06:23:28', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293218 -2.795506)'), GeomFromEWKT('SRID=4674;POINT (-40.293203 -2.795519)'))) / (select extract(epoch from '2026-07-10 06:23:28'::timestamp) - extract(epoch from '2026-07-10 06:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293218 -2.795506)'), GeomFromEWKT('SRID=4674;POINT (-40.293203 -2.795519)'))) / (select extract(epoch from '2026-07-10 06:23:28'::timestamp) - extract(epoch from '2026-07-10 06:23:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.293134 -2.795562)', '2026-07-10 06:23:48', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293203 -2.795519)'), GeomFromEWKT('SRID=4674;POINT (-40.293134 -2.795562)'))) / (select extract(epoch from '2026-07-10 06:23:48'::timestamp) - extract(epoch from '2026-07-10 06:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293203 -2.795519)'), GeomFromEWKT('SRID=4674;POINT (-40.293134 -2.795562)'))) / (select extract(epoch from '2026-07-10 06:23:48'::timestamp) - extract(epoch from '2026-07-10 06:23:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.293072 -2.795568)', '2026-07-10 06:24:02', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293134 -2.795562)'), GeomFromEWKT('SRID=4674;POINT (-40.293072 -2.795568)'))) / (select extract(epoch from '2026-07-10 06:24:02'::timestamp) - extract(epoch from '2026-07-10 06:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293134 -2.795562)'), GeomFromEWKT('SRID=4674;POINT (-40.293072 -2.795568)'))) / (select extract(epoch from '2026-07-10 06:24:02'::timestamp) - extract(epoch from '2026-07-10 06:23: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'), 47638, 'SRID=4674;POINT (-40.29301 -2.795593)', '2026-07-10 06:24:19', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293072 -2.795568)'), GeomFromEWKT('SRID=4674;POINT (-40.29301 -2.795593)'))) / (select extract(epoch from '2026-07-10 06:24:19'::timestamp) - extract(epoch from '2026-07-10 06:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293072 -2.795568)'), GeomFromEWKT('SRID=4674;POINT (-40.29301 -2.795593)'))) / (select extract(epoch from '2026-07-10 06:24:19'::timestamp) - extract(epoch from '2026-07-10 06:24: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'), 47638, 'SRID=4674;POINT (-40.292949 -2.795638)', '2026-07-10 06:24:32', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29301 -2.795593)'), GeomFromEWKT('SRID=4674;POINT (-40.292949 -2.795638)'))) / (select extract(epoch from '2026-07-10 06:24:32'::timestamp) - extract(epoch from '2026-07-10 06:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29301 -2.795593)'), GeomFromEWKT('SRID=4674;POINT (-40.292949 -2.795638)'))) / (select extract(epoch from '2026-07-10 06:24:32'::timestamp) - extract(epoch from '2026-07-10 06:24:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.292896 -2.79565)', '2026-07-10 06:24:46', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292949 -2.795638)'), GeomFromEWKT('SRID=4674;POINT (-40.292896 -2.79565)'))) / (select extract(epoch from '2026-07-10 06:24:46'::timestamp) - extract(epoch from '2026-07-10 06:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292949 -2.795638)'), GeomFromEWKT('SRID=4674;POINT (-40.292896 -2.79565)'))) / (select extract(epoch from '2026-07-10 06:24:46'::timestamp) - extract(epoch from '2026-07-10 06:24:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.292809 -2.795692)', '2026-07-10 06:25:01', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292896 -2.79565)'), GeomFromEWKT('SRID=4674;POINT (-40.292809 -2.795692)'))) / (select extract(epoch from '2026-07-10 06:25:01'::timestamp) - extract(epoch from '2026-07-10 06:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292896 -2.79565)'), GeomFromEWKT('SRID=4674;POINT (-40.292809 -2.795692)'))) / (select extract(epoch from '2026-07-10 06:25:01'::timestamp) - extract(epoch from '2026-07-10 06:24:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.292724 -2.795758)', '2026-07-10 06:25:17', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292809 -2.795692)'), GeomFromEWKT('SRID=4674;POINT (-40.292724 -2.795758)'))) / (select extract(epoch from '2026-07-10 06:25:17'::timestamp) - extract(epoch from '2026-07-10 06:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292809 -2.795692)'), GeomFromEWKT('SRID=4674;POINT (-40.292724 -2.795758)'))) / (select extract(epoch from '2026-07-10 06:25:17'::timestamp) - extract(epoch from '2026-07-10 06:25:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.292673 -2.795798)', '2026-07-10 06:25:30', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292724 -2.795758)'), GeomFromEWKT('SRID=4674;POINT (-40.292673 -2.795798)'))) / (select extract(epoch from '2026-07-10 06:25:30'::timestamp) - extract(epoch from '2026-07-10 06:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292724 -2.795758)'), GeomFromEWKT('SRID=4674;POINT (-40.292673 -2.795798)'))) / (select extract(epoch from '2026-07-10 06:25:30'::timestamp) - extract(epoch from '2026-07-10 06:25: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'), 47638, 'SRID=4674;POINT (-40.292668 -2.795805)', '2026-07-10 06:25:43', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292673 -2.795798)'), GeomFromEWKT('SRID=4674;POINT (-40.292668 -2.795805)'))) / (select extract(epoch from '2026-07-10 06:25:43'::timestamp) - extract(epoch from '2026-07-10 06:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292673 -2.795798)'), GeomFromEWKT('SRID=4674;POINT (-40.292668 -2.795805)'))) / (select extract(epoch from '2026-07-10 06:25:43'::timestamp) - extract(epoch from '2026-07-10 06:25: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'), 47638, 'SRID=4674;POINT (-40.292581 -2.795847)', '2026-07-10 06:26:12', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292668 -2.795805)'), GeomFromEWKT('SRID=4674;POINT (-40.292581 -2.795847)'))) / (select extract(epoch from '2026-07-10 06:26:12'::timestamp) - extract(epoch from '2026-07-10 06:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292668 -2.795805)'), GeomFromEWKT('SRID=4674;POINT (-40.292581 -2.795847)'))) / (select extract(epoch from '2026-07-10 06:26:12'::timestamp) - extract(epoch from '2026-07-10 06:25: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'), 47638, 'SRID=4674;POINT (-40.292493 -2.795855)', '2026-07-10 06:26:32', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292581 -2.795847)'), GeomFromEWKT('SRID=4674;POINT (-40.292493 -2.795855)'))) / (select extract(epoch from '2026-07-10 06:26:32'::timestamp) - extract(epoch from '2026-07-10 06:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292581 -2.795847)'), GeomFromEWKT('SRID=4674;POINT (-40.292493 -2.795855)'))) / (select extract(epoch from '2026-07-10 06:26:32'::timestamp) - extract(epoch from '2026-07-10 06:26: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'), 47638, 'SRID=4674;POINT (-40.292402 -2.795891)', '2026-07-10 06:26:47', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292493 -2.795855)'), GeomFromEWKT('SRID=4674;POINT (-40.292402 -2.795891)'))) / (select extract(epoch from '2026-07-10 06:26:47'::timestamp) - extract(epoch from '2026-07-10 06:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292493 -2.795855)'), GeomFromEWKT('SRID=4674;POINT (-40.292402 -2.795891)'))) / (select extract(epoch from '2026-07-10 06:26:47'::timestamp) - extract(epoch from '2026-07-10 06:26:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.292323 -2.795921)', '2026-07-10 06:27:02', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292402 -2.795891)'), GeomFromEWKT('SRID=4674;POINT (-40.292323 -2.795921)'))) / (select extract(epoch from '2026-07-10 06:27:02'::timestamp) - extract(epoch from '2026-07-10 06:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292402 -2.795891)'), GeomFromEWKT('SRID=4674;POINT (-40.292323 -2.795921)'))) / (select extract(epoch from '2026-07-10 06:27:02'::timestamp) - extract(epoch from '2026-07-10 06:26:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.292283 -2.795927)', '2026-07-10 06:27:17', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292323 -2.795921)'), GeomFromEWKT('SRID=4674;POINT (-40.292283 -2.795927)'))) / (select extract(epoch from '2026-07-10 06:27:17'::timestamp) - extract(epoch from '2026-07-10 06:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292323 -2.795921)'), GeomFromEWKT('SRID=4674;POINT (-40.292283 -2.795927)'))) / (select extract(epoch from '2026-07-10 06:27:17'::timestamp) - extract(epoch from '2026-07-10 06:27: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'), 47638, 'SRID=4674;POINT (-40.2922 -2.795987)', '2026-07-10 06:27:51', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292283 -2.795927)'), GeomFromEWKT('SRID=4674;POINT (-40.2922 -2.795987)'))) / (select extract(epoch from '2026-07-10 06:27:51'::timestamp) - extract(epoch from '2026-07-10 06:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292283 -2.795927)'), GeomFromEWKT('SRID=4674;POINT (-40.2922 -2.795987)'))) / (select extract(epoch from '2026-07-10 06:27:51'::timestamp) - extract(epoch from '2026-07-10 06:27: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'), 47638, 'SRID=4674;POINT (-40.292095 -2.796001)', '2026-07-10 06:28:06', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2922 -2.795987)'), GeomFromEWKT('SRID=4674;POINT (-40.292095 -2.796001)'))) / (select extract(epoch from '2026-07-10 06:28:06'::timestamp) - extract(epoch from '2026-07-10 06:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2922 -2.795987)'), GeomFromEWKT('SRID=4674;POINT (-40.292095 -2.796001)'))) / (select extract(epoch from '2026-07-10 06:28:06'::timestamp) - extract(epoch from '2026-07-10 06:27: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'), 47638, 'SRID=4674;POINT (-40.292001 -2.796002)', '2026-07-10 06:28:23', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292095 -2.796001)'), GeomFromEWKT('SRID=4674;POINT (-40.292001 -2.796002)'))) / (select extract(epoch from '2026-07-10 06:28:23'::timestamp) - extract(epoch from '2026-07-10 06:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292095 -2.796001)'), GeomFromEWKT('SRID=4674;POINT (-40.292001 -2.796002)'))) / (select extract(epoch from '2026-07-10 06:28:23'::timestamp) - extract(epoch from '2026-07-10 06:28:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.291979 -2.796027)', '2026-07-10 06:28:34', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292001 -2.796002)'), GeomFromEWKT('SRID=4674;POINT (-40.291979 -2.796027)'))) / (select extract(epoch from '2026-07-10 06:28:34'::timestamp) - extract(epoch from '2026-07-10 06:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292001 -2.796002)'), GeomFromEWKT('SRID=4674;POINT (-40.291979 -2.796027)'))) / (select extract(epoch from '2026-07-10 06:28:34'::timestamp) - extract(epoch from '2026-07-10 06:28: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'), 47638, 'SRID=4674;POINT (-40.291932 -2.796072)', '2026-07-10 06:28:49', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291979 -2.796027)'), GeomFromEWKT('SRID=4674;POINT (-40.291932 -2.796072)'))) / (select extract(epoch from '2026-07-10 06:28:49'::timestamp) - extract(epoch from '2026-07-10 06:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291979 -2.796027)'), GeomFromEWKT('SRID=4674;POINT (-40.291932 -2.796072)'))) / (select extract(epoch from '2026-07-10 06:28:49'::timestamp) - extract(epoch from '2026-07-10 06:28: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'), 47638, 'SRID=4674;POINT (-40.291923 -2.796074)', '2026-07-10 06:29:02', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291932 -2.796072)'), GeomFromEWKT('SRID=4674;POINT (-40.291923 -2.796074)'))) / (select extract(epoch from '2026-07-10 06:29:02'::timestamp) - extract(epoch from '2026-07-10 06:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291932 -2.796072)'), GeomFromEWKT('SRID=4674;POINT (-40.291923 -2.796074)'))) / (select extract(epoch from '2026-07-10 06:29:02'::timestamp) - extract(epoch from '2026-07-10 06:28: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'), 47638, 'SRID=4674;POINT (-40.291807 -2.796118)', '2026-07-10 06:29:37', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291923 -2.796074)'), GeomFromEWKT('SRID=4674;POINT (-40.291807 -2.796118)'))) / (select extract(epoch from '2026-07-10 06:29:37'::timestamp) - extract(epoch from '2026-07-10 06:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291923 -2.796074)'), GeomFromEWKT('SRID=4674;POINT (-40.291807 -2.796118)'))) / (select extract(epoch from '2026-07-10 06:29:37'::timestamp) - extract(epoch from '2026-07-10 06:29: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'), 47638, 'SRID=4674;POINT (-40.291717 -2.79614)', '2026-07-10 06:29:50', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291807 -2.796118)'), GeomFromEWKT('SRID=4674;POINT (-40.291717 -2.79614)'))) / (select extract(epoch from '2026-07-10 06:29:50'::timestamp) - extract(epoch from '2026-07-10 06:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291807 -2.796118)'), GeomFromEWKT('SRID=4674;POINT (-40.291717 -2.79614)'))) / (select extract(epoch from '2026-07-10 06:29:50'::timestamp) - extract(epoch from '2026-07-10 06:29:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.291633 -2.796132)', '2026-07-10 06:30:05', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291717 -2.79614)'), GeomFromEWKT('SRID=4674;POINT (-40.291633 -2.796132)'))) / (select extract(epoch from '2026-07-10 06:30:05'::timestamp) - extract(epoch from '2026-07-10 06:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291717 -2.79614)'), GeomFromEWKT('SRID=4674;POINT (-40.291633 -2.796132)'))) / (select extract(epoch from '2026-07-10 06:30:05'::timestamp) - extract(epoch from '2026-07-10 06:29: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'), 47638, 'SRID=4674;POINT (-40.291616 -2.796143)', '2026-07-10 06:30:19', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291633 -2.796132)'), GeomFromEWKT('SRID=4674;POINT (-40.291616 -2.796143)'))) / (select extract(epoch from '2026-07-10 06:30:19'::timestamp) - extract(epoch from '2026-07-10 06:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291633 -2.796132)'), GeomFromEWKT('SRID=4674;POINT (-40.291616 -2.796143)'))) / (select extract(epoch from '2026-07-10 06:30:19'::timestamp) - extract(epoch from '2026-07-10 06:30: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'), 47638, 'SRID=4674;POINT (-40.291584 -2.796203)', '2026-07-10 06:30:39', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291616 -2.796143)'), GeomFromEWKT('SRID=4674;POINT (-40.291584 -2.796203)'))) / (select extract(epoch from '2026-07-10 06:30:39'::timestamp) - extract(epoch from '2026-07-10 06:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291616 -2.796143)'), GeomFromEWKT('SRID=4674;POINT (-40.291584 -2.796203)'))) / (select extract(epoch from '2026-07-10 06:30:39'::timestamp) - extract(epoch from '2026-07-10 06:30:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.291527 -2.796212)', '2026-07-10 06:30:54', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291584 -2.796203)'), GeomFromEWKT('SRID=4674;POINT (-40.291527 -2.796212)'))) / (select extract(epoch from '2026-07-10 06:30:54'::timestamp) - extract(epoch from '2026-07-10 06:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291584 -2.796203)'), GeomFromEWKT('SRID=4674;POINT (-40.291527 -2.796212)'))) / (select extract(epoch from '2026-07-10 06:30:54'::timestamp) - extract(epoch from '2026-07-10 06:30:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.291499 -2.796211)', '2026-07-10 06:31:07', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291527 -2.796212)'), GeomFromEWKT('SRID=4674;POINT (-40.291499 -2.796211)'))) / (select extract(epoch from '2026-07-10 06:31:07'::timestamp) - extract(epoch from '2026-07-10 06:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291527 -2.796212)'), GeomFromEWKT('SRID=4674;POINT (-40.291499 -2.796211)'))) / (select extract(epoch from '2026-07-10 06:31:07'::timestamp) - extract(epoch from '2026-07-10 06:30: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'), 47638, 'SRID=4674;POINT (-40.291443 -2.79625)', '2026-07-10 06:31:28', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291499 -2.796211)'), GeomFromEWKT('SRID=4674;POINT (-40.291443 -2.79625)'))) / (select extract(epoch from '2026-07-10 06:31:28'::timestamp) - extract(epoch from '2026-07-10 06:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291499 -2.796211)'), GeomFromEWKT('SRID=4674;POINT (-40.291443 -2.79625)'))) / (select extract(epoch from '2026-07-10 06:31:28'::timestamp) - extract(epoch from '2026-07-10 06:31: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'), 47638, 'SRID=4674;POINT (-40.291342 -2.796269)', '2026-07-10 06:31:46', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291443 -2.79625)'), GeomFromEWKT('SRID=4674;POINT (-40.291342 -2.796269)'))) / (select extract(epoch from '2026-07-10 06:31:46'::timestamp) - extract(epoch from '2026-07-10 06:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291443 -2.79625)'), GeomFromEWKT('SRID=4674;POINT (-40.291342 -2.796269)'))) / (select extract(epoch from '2026-07-10 06:31:46'::timestamp) - extract(epoch from '2026-07-10 06:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.291315 -2.796269)', '2026-07-10 06:31:58', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291342 -2.796269)'), GeomFromEWKT('SRID=4674;POINT (-40.291315 -2.796269)'))) / (select extract(epoch from '2026-07-10 06:31:58'::timestamp) - extract(epoch from '2026-07-10 06:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291342 -2.796269)'), GeomFromEWKT('SRID=4674;POINT (-40.291315 -2.796269)'))) / (select extract(epoch from '2026-07-10 06:31:58'::timestamp) - extract(epoch from '2026-07-10 06:31: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'), 47638, 'SRID=4674;POINT (-40.291245 -2.796301)', '2026-07-10 06:32:43', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291315 -2.796269)'), GeomFromEWKT('SRID=4674;POINT (-40.291245 -2.796301)'))) / (select extract(epoch from '2026-07-10 06:32:43'::timestamp) - extract(epoch from '2026-07-10 06:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291315 -2.796269)'), GeomFromEWKT('SRID=4674;POINT (-40.291245 -2.796301)'))) / (select extract(epoch from '2026-07-10 06:32:43'::timestamp) - extract(epoch from '2026-07-10 06:31: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'), 47638, 'SRID=4674;POINT (-40.291206 -2.796303)', '2026-07-10 06:32:55', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291245 -2.796301)'), GeomFromEWKT('SRID=4674;POINT (-40.291206 -2.796303)'))) / (select extract(epoch from '2026-07-10 06:32:55'::timestamp) - extract(epoch from '2026-07-10 06:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291245 -2.796301)'), GeomFromEWKT('SRID=4674;POINT (-40.291206 -2.796303)'))) / (select extract(epoch from '2026-07-10 06:32:55'::timestamp) - extract(epoch from '2026-07-10 06:32: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'), 47638, 'SRID=4674;POINT (-40.291152 -2.796314)', '2026-07-10 06:33:24', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291206 -2.796303)'), GeomFromEWKT('SRID=4674;POINT (-40.291152 -2.796314)'))) / (select extract(epoch from '2026-07-10 06:33:24'::timestamp) - extract(epoch from '2026-07-10 06:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291206 -2.796303)'), GeomFromEWKT('SRID=4674;POINT (-40.291152 -2.796314)'))) / (select extract(epoch from '2026-07-10 06:33:24'::timestamp) - extract(epoch from '2026-07-10 06:32: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'), 47638, 'SRID=4674;POINT (-40.291109 -2.796364)', '2026-07-10 06:33:39', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291152 -2.796314)'), GeomFromEWKT('SRID=4674;POINT (-40.291109 -2.796364)'))) / (select extract(epoch from '2026-07-10 06:33:39'::timestamp) - extract(epoch from '2026-07-10 06:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291152 -2.796314)'), GeomFromEWKT('SRID=4674;POINT (-40.291109 -2.796364)'))) / (select extract(epoch from '2026-07-10 06:33:39'::timestamp) - extract(epoch from '2026-07-10 06:33: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'), 47638, 'SRID=4674;POINT (-40.291039 -2.796395)', '2026-07-10 06:33:59', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291109 -2.796364)'), GeomFromEWKT('SRID=4674;POINT (-40.291039 -2.796395)'))) / (select extract(epoch from '2026-07-10 06:33:59'::timestamp) - extract(epoch from '2026-07-10 06:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291109 -2.796364)'), GeomFromEWKT('SRID=4674;POINT (-40.291039 -2.796395)'))) / (select extract(epoch from '2026-07-10 06:33:59'::timestamp) - extract(epoch from '2026-07-10 06:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.29099 -2.79642)', '2026-07-10 06:34:14', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291039 -2.796395)'), GeomFromEWKT('SRID=4674;POINT (-40.29099 -2.79642)'))) / (select extract(epoch from '2026-07-10 06:34:14'::timestamp) - extract(epoch from '2026-07-10 06:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291039 -2.796395)'), GeomFromEWKT('SRID=4674;POINT (-40.29099 -2.79642)'))) / (select extract(epoch from '2026-07-10 06:34:14'::timestamp) - extract(epoch from '2026-07-10 06:33:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.290924 -2.7964)', '2026-07-10 06:34:46', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29099 -2.79642)'), GeomFromEWKT('SRID=4674;POINT (-40.290924 -2.7964)'))) / (select extract(epoch from '2026-07-10 06:34:46'::timestamp) - extract(epoch from '2026-07-10 06:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29099 -2.79642)'), GeomFromEWKT('SRID=4674;POINT (-40.290924 -2.7964)'))) / (select extract(epoch from '2026-07-10 06:34:46'::timestamp) - extract(epoch from '2026-07-10 06:34:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.290817 -2.796391)', '2026-07-10 06:35:51', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290924 -2.7964)'), GeomFromEWKT('SRID=4674;POINT (-40.290817 -2.796391)'))) / (select extract(epoch from '2026-07-10 06:35:51'::timestamp) - extract(epoch from '2026-07-10 06:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290924 -2.7964)'), GeomFromEWKT('SRID=4674;POINT (-40.290817 -2.796391)'))) / (select extract(epoch from '2026-07-10 06:35:51'::timestamp) - extract(epoch from '2026-07-10 06:34: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'), 47638, 'SRID=4674;POINT (-40.290731 -2.796435)', '2026-07-10 06:36:07', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290817 -2.796391)'), GeomFromEWKT('SRID=4674;POINT (-40.290731 -2.796435)'))) / (select extract(epoch from '2026-07-10 06:36:07'::timestamp) - extract(epoch from '2026-07-10 06:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290817 -2.796391)'), GeomFromEWKT('SRID=4674;POINT (-40.290731 -2.796435)'))) / (select extract(epoch from '2026-07-10 06:36:07'::timestamp) - extract(epoch from '2026-07-10 06:35: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'), 47638, 'SRID=4674;POINT (-40.290636 -2.796483)', '2026-07-10 06:36:24', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290731 -2.796435)'), GeomFromEWKT('SRID=4674;POINT (-40.290636 -2.796483)'))) / (select extract(epoch from '2026-07-10 06:36:24'::timestamp) - extract(epoch from '2026-07-10 06:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290731 -2.796435)'), GeomFromEWKT('SRID=4674;POINT (-40.290636 -2.796483)'))) / (select extract(epoch from '2026-07-10 06:36:24'::timestamp) - extract(epoch from '2026-07-10 06:36:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.290546 -2.796499)', '2026-07-10 06:36:38', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290636 -2.796483)'), GeomFromEWKT('SRID=4674;POINT (-40.290546 -2.796499)'))) / (select extract(epoch from '2026-07-10 06:36:38'::timestamp) - extract(epoch from '2026-07-10 06:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290636 -2.796483)'), GeomFromEWKT('SRID=4674;POINT (-40.290546 -2.796499)'))) / (select extract(epoch from '2026-07-10 06:36:38'::timestamp) - extract(epoch from '2026-07-10 06:36:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.290506 -2.796507)', '2026-07-10 06:36:49', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290546 -2.796499)'), GeomFromEWKT('SRID=4674;POINT (-40.290506 -2.796507)'))) / (select extract(epoch from '2026-07-10 06:36:49'::timestamp) - extract(epoch from '2026-07-10 06:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290546 -2.796499)'), GeomFromEWKT('SRID=4674;POINT (-40.290506 -2.796507)'))) / (select extract(epoch from '2026-07-10 06:36:49'::timestamp) - extract(epoch from '2026-07-10 06:36: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'), 47638, 'SRID=4674;POINT (-40.290433 -2.796577)', '2026-07-10 06:37:28', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290506 -2.796507)'), GeomFromEWKT('SRID=4674;POINT (-40.290433 -2.796577)'))) / (select extract(epoch from '2026-07-10 06:37:28'::timestamp) - extract(epoch from '2026-07-10 06:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290506 -2.796507)'), GeomFromEWKT('SRID=4674;POINT (-40.290433 -2.796577)'))) / (select extract(epoch from '2026-07-10 06:37:28'::timestamp) - extract(epoch from '2026-07-10 06:36:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.290355 -2.796586)', '2026-07-10 06:37:43', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290433 -2.796577)'), GeomFromEWKT('SRID=4674;POINT (-40.290355 -2.796586)'))) / (select extract(epoch from '2026-07-10 06:37:43'::timestamp) - extract(epoch from '2026-07-10 06:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290433 -2.796577)'), GeomFromEWKT('SRID=4674;POINT (-40.290355 -2.796586)'))) / (select extract(epoch from '2026-07-10 06:37:43'::timestamp) - extract(epoch from '2026-07-10 06:37: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'), 47638, 'SRID=4674;POINT (-40.290294 -2.796587)', '2026-07-10 06:37:57', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290355 -2.796586)'), GeomFromEWKT('SRID=4674;POINT (-40.290294 -2.796587)'))) / (select extract(epoch from '2026-07-10 06:37:57'::timestamp) - extract(epoch from '2026-07-10 06:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290355 -2.796586)'), GeomFromEWKT('SRID=4674;POINT (-40.290294 -2.796587)'))) / (select extract(epoch from '2026-07-10 06:37:57'::timestamp) - extract(epoch from '2026-07-10 06:37:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.290286 -2.796588)', '2026-07-10 06:38:10', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290294 -2.796587)'), GeomFromEWKT('SRID=4674;POINT (-40.290286 -2.796588)'))) / (select extract(epoch from '2026-07-10 06:38:10'::timestamp) - extract(epoch from '2026-07-10 06:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290294 -2.796587)'), GeomFromEWKT('SRID=4674;POINT (-40.290286 -2.796588)'))) / (select extract(epoch from '2026-07-10 06:38:10'::timestamp) - extract(epoch from '2026-07-10 06:37: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'), 47638, 'SRID=4674;POINT (-40.290221 -2.796634)', '2026-07-10 06:38:34', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290286 -2.796588)'), GeomFromEWKT('SRID=4674;POINT (-40.290221 -2.796634)'))) / (select extract(epoch from '2026-07-10 06:38:34'::timestamp) - extract(epoch from '2026-07-10 06:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290286 -2.796588)'), GeomFromEWKT('SRID=4674;POINT (-40.290221 -2.796634)'))) / (select extract(epoch from '2026-07-10 06:38:34'::timestamp) - extract(epoch from '2026-07-10 06:38:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.290139 -2.796642)', '2026-07-10 06:38:52', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290221 -2.796634)'), GeomFromEWKT('SRID=4674;POINT (-40.290139 -2.796642)'))) / (select extract(epoch from '2026-07-10 06:38:52'::timestamp) - extract(epoch from '2026-07-10 06:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290221 -2.796634)'), GeomFromEWKT('SRID=4674;POINT (-40.290139 -2.796642)'))) / (select extract(epoch from '2026-07-10 06:38:52'::timestamp) - extract(epoch from '2026-07-10 06:38: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'), 47638, 'SRID=4674;POINT (-40.290122 -2.796648)', '2026-07-10 06:39:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290139 -2.796642)'), GeomFromEWKT('SRID=4674;POINT (-40.290122 -2.796648)'))) / (select extract(epoch from '2026-07-10 06:39:04'::timestamp) - extract(epoch from '2026-07-10 06:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290139 -2.796642)'), GeomFromEWKT('SRID=4674;POINT (-40.290122 -2.796648)'))) / (select extract(epoch from '2026-07-10 06:39:04'::timestamp) - extract(epoch from '2026-07-10 06:38: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'), 47638, 'SRID=4674;POINT (-40.290057 -2.796687)', '2026-07-10 06:39:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290122 -2.796648)'), GeomFromEWKT('SRID=4674;POINT (-40.290057 -2.796687)'))) / (select extract(epoch from '2026-07-10 06:39:24'::timestamp) - extract(epoch from '2026-07-10 06:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290122 -2.796648)'), GeomFromEWKT('SRID=4674;POINT (-40.290057 -2.796687)'))) / (select extract(epoch from '2026-07-10 06:39:24'::timestamp) - extract(epoch from '2026-07-10 06:39: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'), 47638, 'SRID=4674;POINT (-40.289972 -2.796715)', '2026-07-10 06:39:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290057 -2.796687)'), GeomFromEWKT('SRID=4674;POINT (-40.289972 -2.796715)'))) / (select extract(epoch from '2026-07-10 06:39:40'::timestamp) - extract(epoch from '2026-07-10 06:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290057 -2.796687)'), GeomFromEWKT('SRID=4674;POINT (-40.289972 -2.796715)'))) / (select extract(epoch from '2026-07-10 06:39:40'::timestamp) - extract(epoch from '2026-07-10 06:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.289896 -2.796747)', '2026-07-10 06:39:57', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289972 -2.796715)'), GeomFromEWKT('SRID=4674;POINT (-40.289896 -2.796747)'))) / (select extract(epoch from '2026-07-10 06:39:57'::timestamp) - extract(epoch from '2026-07-10 06:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289972 -2.796715)'), GeomFromEWKT('SRID=4674;POINT (-40.289896 -2.796747)'))) / (select extract(epoch from '2026-07-10 06:39:57'::timestamp) - extract(epoch from '2026-07-10 06:39: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'), 47638, 'SRID=4674;POINT (-40.289887 -2.796752)', '2026-07-10 06:40:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289896 -2.796747)'), GeomFromEWKT('SRID=4674;POINT (-40.289887 -2.796752)'))) / (select extract(epoch from '2026-07-10 06:40:09'::timestamp) - extract(epoch from '2026-07-10 06:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289896 -2.796747)'), GeomFromEWKT('SRID=4674;POINT (-40.289887 -2.796752)'))) / (select extract(epoch from '2026-07-10 06:40:09'::timestamp) - extract(epoch from '2026-07-10 06:39: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'), 47638, 'SRID=4674;POINT (-40.28981 -2.796784)', '2026-07-10 06:40:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289887 -2.796752)'), GeomFromEWKT('SRID=4674;POINT (-40.28981 -2.796784)'))) / (select extract(epoch from '2026-07-10 06:40:29'::timestamp) - extract(epoch from '2026-07-10 06:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289887 -2.796752)'), GeomFromEWKT('SRID=4674;POINT (-40.28981 -2.796784)'))) / (select extract(epoch from '2026-07-10 06:40:29'::timestamp) - extract(epoch from '2026-07-10 06:40:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.289773 -2.796783)', '2026-07-10 06:40:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28981 -2.796784)'), GeomFromEWKT('SRID=4674;POINT (-40.289773 -2.796783)'))) / (select extract(epoch from '2026-07-10 06:40:39'::timestamp) - extract(epoch from '2026-07-10 06:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28981 -2.796784)'), GeomFromEWKT('SRID=4674;POINT (-40.289773 -2.796783)'))) / (select extract(epoch from '2026-07-10 06:40:39'::timestamp) - extract(epoch from '2026-07-10 06:40: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'), 47638, 'SRID=4674;POINT (-40.289714 -2.796806)', '2026-07-10 06:40:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289773 -2.796783)'), GeomFromEWKT('SRID=4674;POINT (-40.289714 -2.796806)'))) / (select extract(epoch from '2026-07-10 06:40:51'::timestamp) - extract(epoch from '2026-07-10 06:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289773 -2.796783)'), GeomFromEWKT('SRID=4674;POINT (-40.289714 -2.796806)'))) / (select extract(epoch from '2026-07-10 06:40:51'::timestamp) - extract(epoch from '2026-07-10 06:40:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.289667 -2.796834)', '2026-07-10 06:41:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289714 -2.796806)'), GeomFromEWKT('SRID=4674;POINT (-40.289667 -2.796834)'))) / (select extract(epoch from '2026-07-10 06:41:06'::timestamp) - extract(epoch from '2026-07-10 06:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289714 -2.796806)'), GeomFromEWKT('SRID=4674;POINT (-40.289667 -2.796834)'))) / (select extract(epoch from '2026-07-10 06:41:06'::timestamp) - extract(epoch from '2026-07-10 06:40: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'), 47638, 'SRID=4674;POINT (-40.289601 -2.796871)', '2026-07-10 06:41:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289667 -2.796834)'), GeomFromEWKT('SRID=4674;POINT (-40.289601 -2.796871)'))) / (select extract(epoch from '2026-07-10 06:41:29'::timestamp) - extract(epoch from '2026-07-10 06:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289667 -2.796834)'), GeomFromEWKT('SRID=4674;POINT (-40.289601 -2.796871)'))) / (select extract(epoch from '2026-07-10 06:41:29'::timestamp) - extract(epoch from '2026-07-10 06:41:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.289501 -2.796889)', '2026-07-10 06:41:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289601 -2.796871)'), GeomFromEWKT('SRID=4674;POINT (-40.289501 -2.796889)'))) / (select extract(epoch from '2026-07-10 06:41:46'::timestamp) - extract(epoch from '2026-07-10 06:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289601 -2.796871)'), GeomFromEWKT('SRID=4674;POINT (-40.289501 -2.796889)'))) / (select extract(epoch from '2026-07-10 06:41:46'::timestamp) - extract(epoch from '2026-07-10 06:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.289397 -2.796935)', '2026-07-10 06:42:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289501 -2.796889)'), GeomFromEWKT('SRID=4674;POINT (-40.289397 -2.796935)'))) / (select extract(epoch from '2026-07-10 06:42:04'::timestamp) - extract(epoch from '2026-07-10 06:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289501 -2.796889)'), GeomFromEWKT('SRID=4674;POINT (-40.289397 -2.796935)'))) / (select extract(epoch from '2026-07-10 06:42:04'::timestamp) - extract(epoch from '2026-07-10 06:41:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.289313 -2.796995)', '2026-07-10 06:42:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289397 -2.796935)'), GeomFromEWKT('SRID=4674;POINT (-40.289313 -2.796995)'))) / (select extract(epoch from '2026-07-10 06:42:20'::timestamp) - extract(epoch from '2026-07-10 06:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289397 -2.796935)'), GeomFromEWKT('SRID=4674;POINT (-40.289313 -2.796995)'))) / (select extract(epoch from '2026-07-10 06:42:20'::timestamp) - extract(epoch from '2026-07-10 06:42: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'), 47638, 'SRID=4674;POINT (-40.289299 -2.797003)', '2026-07-10 06:42:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289313 -2.796995)'), GeomFromEWKT('SRID=4674;POINT (-40.289299 -2.797003)'))) / (select extract(epoch from '2026-07-10 06:42:31'::timestamp) - extract(epoch from '2026-07-10 06:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289313 -2.796995)'), GeomFromEWKT('SRID=4674;POINT (-40.289299 -2.797003)'))) / (select extract(epoch from '2026-07-10 06:42:31'::timestamp) - extract(epoch from '2026-07-10 06:42:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.289244 -2.796987)', '2026-07-10 06:42:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289299 -2.797003)'), GeomFromEWKT('SRID=4674;POINT (-40.289244 -2.796987)'))) / (select extract(epoch from '2026-07-10 06:42:46'::timestamp) - extract(epoch from '2026-07-10 06:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289299 -2.797003)'), GeomFromEWKT('SRID=4674;POINT (-40.289244 -2.796987)'))) / (select extract(epoch from '2026-07-10 06:42:46'::timestamp) - extract(epoch from '2026-07-10 06:42: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'), 47638, 'SRID=4674;POINT (-40.289221 -2.797008)', '2026-07-10 06:42:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289244 -2.796987)'), GeomFromEWKT('SRID=4674;POINT (-40.289221 -2.797008)'))) / (select extract(epoch from '2026-07-10 06:42:58'::timestamp) - extract(epoch from '2026-07-10 06:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289244 -2.796987)'), GeomFromEWKT('SRID=4674;POINT (-40.289221 -2.797008)'))) / (select extract(epoch from '2026-07-10 06:42:58'::timestamp) - extract(epoch from '2026-07-10 06:42: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'), 47638, 'SRID=4674;POINT (-40.289151 -2.797053)', '2026-07-10 06:43:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289221 -2.797008)'), GeomFromEWKT('SRID=4674;POINT (-40.289151 -2.797053)'))) / (select extract(epoch from '2026-07-10 06:43:28'::timestamp) - extract(epoch from '2026-07-10 06:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289221 -2.797008)'), GeomFromEWKT('SRID=4674;POINT (-40.289151 -2.797053)'))) / (select extract(epoch from '2026-07-10 06:43:28'::timestamp) - extract(epoch from '2026-07-10 06:42: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'), 47638, 'SRID=4674;POINT (-40.289046 -2.797076)', '2026-07-10 06:43:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289151 -2.797053)'), GeomFromEWKT('SRID=4674;POINT (-40.289046 -2.797076)'))) / (select extract(epoch from '2026-07-10 06:43:46'::timestamp) - extract(epoch from '2026-07-10 06:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289151 -2.797053)'), GeomFromEWKT('SRID=4674;POINT (-40.289046 -2.797076)'))) / (select extract(epoch from '2026-07-10 06:43:46'::timestamp) - extract(epoch from '2026-07-10 06:43:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.28897 -2.797106)', '2026-07-10 06:44:02', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289046 -2.797076)'), GeomFromEWKT('SRID=4674;POINT (-40.28897 -2.797106)'))) / (select extract(epoch from '2026-07-10 06:44:02'::timestamp) - extract(epoch from '2026-07-10 06:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289046 -2.797076)'), GeomFromEWKT('SRID=4674;POINT (-40.28897 -2.797106)'))) / (select extract(epoch from '2026-07-10 06:44:02'::timestamp) - extract(epoch from '2026-07-10 06:43: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'), 47638, 'SRID=4674;POINT (-40.288954 -2.797116)', '2026-07-10 06:44:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28897 -2.797106)'), GeomFromEWKT('SRID=4674;POINT (-40.288954 -2.797116)'))) / (select extract(epoch from '2026-07-10 06:44:15'::timestamp) - extract(epoch from '2026-07-10 06:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28897 -2.797106)'), GeomFromEWKT('SRID=4674;POINT (-40.288954 -2.797116)'))) / (select extract(epoch from '2026-07-10 06:44:15'::timestamp) - extract(epoch from '2026-07-10 06:44:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.288885 -2.797141)', '2026-07-10 06:44:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288954 -2.797116)'), GeomFromEWKT('SRID=4674;POINT (-40.288885 -2.797141)'))) / (select extract(epoch from '2026-07-10 06:44:38'::timestamp) - extract(epoch from '2026-07-10 06:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288954 -2.797116)'), GeomFromEWKT('SRID=4674;POINT (-40.288885 -2.797141)'))) / (select extract(epoch from '2026-07-10 06:44:38'::timestamp) - extract(epoch from '2026-07-10 06:44: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'), 47638, 'SRID=4674;POINT (-40.288825 -2.797158)', '2026-07-10 06:44:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288885 -2.797141)'), GeomFromEWKT('SRID=4674;POINT (-40.288825 -2.797158)'))) / (select extract(epoch from '2026-07-10 06:44:51'::timestamp) - extract(epoch from '2026-07-10 06:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288885 -2.797141)'), GeomFromEWKT('SRID=4674;POINT (-40.288825 -2.797158)'))) / (select extract(epoch from '2026-07-10 06:44:51'::timestamp) - extract(epoch from '2026-07-10 06:44:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.288796 -2.797181)', '2026-07-10 06:45:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288825 -2.797158)'), GeomFromEWKT('SRID=4674;POINT (-40.288796 -2.797181)'))) / (select extract(epoch from '2026-07-10 06:45:02'::timestamp) - extract(epoch from '2026-07-10 06:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288825 -2.797158)'), GeomFromEWKT('SRID=4674;POINT (-40.288796 -2.797181)'))) / (select extract(epoch from '2026-07-10 06:45:02'::timestamp) - extract(epoch from '2026-07-10 06:44: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'), 47638, 'SRID=4674;POINT (-40.288764 -2.797205)', '2026-07-10 06:45:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288796 -2.797181)'), GeomFromEWKT('SRID=4674;POINT (-40.288764 -2.797205)'))) / (select extract(epoch from '2026-07-10 06:45:17'::timestamp) - extract(epoch from '2026-07-10 06:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288796 -2.797181)'), GeomFromEWKT('SRID=4674;POINT (-40.288764 -2.797205)'))) / (select extract(epoch from '2026-07-10 06:45:17'::timestamp) - extract(epoch from '2026-07-10 06:45:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.28871 -2.797204)', '2026-07-10 06:45:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288764 -2.797205)'), GeomFromEWKT('SRID=4674;POINT (-40.28871 -2.797204)'))) / (select extract(epoch from '2026-07-10 06:45:32'::timestamp) - extract(epoch from '2026-07-10 06:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288764 -2.797205)'), GeomFromEWKT('SRID=4674;POINT (-40.28871 -2.797204)'))) / (select extract(epoch from '2026-07-10 06:45:32'::timestamp) - extract(epoch from '2026-07-10 06:45: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'), 47638, 'SRID=4674;POINT (-40.288652 -2.79721)', '2026-07-10 06:45:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28871 -2.797204)'), GeomFromEWKT('SRID=4674;POINT (-40.288652 -2.79721)'))) / (select extract(epoch from '2026-07-10 06:45:45'::timestamp) - extract(epoch from '2026-07-10 06:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28871 -2.797204)'), GeomFromEWKT('SRID=4674;POINT (-40.288652 -2.79721)'))) / (select extract(epoch from '2026-07-10 06:45:45'::timestamp) - extract(epoch from '2026-07-10 06:45:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.288628 -2.797225)', '2026-07-10 06:45:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288652 -2.79721)'), GeomFromEWKT('SRID=4674;POINT (-40.288628 -2.797225)'))) / (select extract(epoch from '2026-07-10 06:45:58'::timestamp) - extract(epoch from '2026-07-10 06:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288652 -2.79721)'), GeomFromEWKT('SRID=4674;POINT (-40.288628 -2.797225)'))) / (select extract(epoch from '2026-07-10 06:45:58'::timestamp) - extract(epoch from '2026-07-10 06:45:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.288513 -2.797264)', '2026-07-10 06:46:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288628 -2.797225)'), GeomFromEWKT('SRID=4674;POINT (-40.288513 -2.797264)'))) / (select extract(epoch from '2026-07-10 06:46:49'::timestamp) - extract(epoch from '2026-07-10 06:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288628 -2.797225)'), GeomFromEWKT('SRID=4674;POINT (-40.288513 -2.797264)'))) / (select extract(epoch from '2026-07-10 06:46:49'::timestamp) - extract(epoch from '2026-07-10 06:45:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.288441 -2.797304)', '2026-07-10 06:47:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288513 -2.797264)'), GeomFromEWKT('SRID=4674;POINT (-40.288441 -2.797304)'))) / (select extract(epoch from '2026-07-10 06:47:03'::timestamp) - extract(epoch from '2026-07-10 06:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288513 -2.797264)'), GeomFromEWKT('SRID=4674;POINT (-40.288441 -2.797304)'))) / (select extract(epoch from '2026-07-10 06:47:03'::timestamp) - extract(epoch from '2026-07-10 06:46:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.288359 -2.797331)', '2026-07-10 06:47:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288441 -2.797304)'), GeomFromEWKT('SRID=4674;POINT (-40.288359 -2.797331)'))) / (select extract(epoch from '2026-07-10 06:47:20'::timestamp) - extract(epoch from '2026-07-10 06:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288441 -2.797304)'), GeomFromEWKT('SRID=4674;POINT (-40.288359 -2.797331)'))) / (select extract(epoch from '2026-07-10 06:47:20'::timestamp) - extract(epoch from '2026-07-10 06:47:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.288295 -2.797342)', '2026-07-10 06:47:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288359 -2.797331)'), GeomFromEWKT('SRID=4674;POINT (-40.288295 -2.797342)'))) / (select extract(epoch from '2026-07-10 06:47:34'::timestamp) - extract(epoch from '2026-07-10 06:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288359 -2.797331)'), GeomFromEWKT('SRID=4674;POINT (-40.288295 -2.797342)'))) / (select extract(epoch from '2026-07-10 06:47:34'::timestamp) - extract(epoch from '2026-07-10 06:47: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'), 47638, 'SRID=4674;POINT (-40.288231 -2.797394)', '2026-07-10 06:47:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288295 -2.797342)'), GeomFromEWKT('SRID=4674;POINT (-40.288231 -2.797394)'))) / (select extract(epoch from '2026-07-10 06:47:50'::timestamp) - extract(epoch from '2026-07-10 06:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288295 -2.797342)'), GeomFromEWKT('SRID=4674;POINT (-40.288231 -2.797394)'))) / (select extract(epoch from '2026-07-10 06:47:50'::timestamp) - extract(epoch from '2026-07-10 06:47: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'), 47638, 'SRID=4674;POINT (-40.288205 -2.79741)', '2026-07-10 06:48:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288231 -2.797394)'), GeomFromEWKT('SRID=4674;POINT (-40.288205 -2.79741)'))) / (select extract(epoch from '2026-07-10 06:48:02'::timestamp) - extract(epoch from '2026-07-10 06:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288231 -2.797394)'), GeomFromEWKT('SRID=4674;POINT (-40.288205 -2.79741)'))) / (select extract(epoch from '2026-07-10 06:48:02'::timestamp) - extract(epoch from '2026-07-10 06:47:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.288153 -2.797403)', '2026-07-10 06:48:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288205 -2.79741)'), GeomFromEWKT('SRID=4674;POINT (-40.288153 -2.797403)'))) / (select extract(epoch from '2026-07-10 06:48:41'::timestamp) - extract(epoch from '2026-07-10 06:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288205 -2.79741)'), GeomFromEWKT('SRID=4674;POINT (-40.288153 -2.797403)'))) / (select extract(epoch from '2026-07-10 06:48:41'::timestamp) - extract(epoch from '2026-07-10 06:48: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'), 47638, 'SRID=4674;POINT (-40.28811 -2.79743)', '2026-07-10 06:48:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288153 -2.797403)'), GeomFromEWKT('SRID=4674;POINT (-40.28811 -2.79743)'))) / (select extract(epoch from '2026-07-10 06:48:54'::timestamp) - extract(epoch from '2026-07-10 06:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288153 -2.797403)'), GeomFromEWKT('SRID=4674;POINT (-40.28811 -2.79743)'))) / (select extract(epoch from '2026-07-10 06:48:54'::timestamp) - extract(epoch from '2026-07-10 06:48: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'), 47638, 'SRID=4674;POINT (-40.288107 -2.797433)', '2026-07-10 06:49:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28811 -2.79743)'), GeomFromEWKT('SRID=4674;POINT (-40.288107 -2.797433)'))) / (select extract(epoch from '2026-07-10 06:49:07'::timestamp) - extract(epoch from '2026-07-10 06:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28811 -2.79743)'), GeomFromEWKT('SRID=4674;POINT (-40.288107 -2.797433)'))) / (select extract(epoch from '2026-07-10 06:49:07'::timestamp) - extract(epoch from '2026-07-10 06:48: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'), 47638, 'SRID=4674;POINT (-40.288052 -2.797446)', '2026-07-10 06:49:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288107 -2.797433)'), GeomFromEWKT('SRID=4674;POINT (-40.288052 -2.797446)'))) / (select extract(epoch from '2026-07-10 06:49:18'::timestamp) - extract(epoch from '2026-07-10 06:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288107 -2.797433)'), GeomFromEWKT('SRID=4674;POINT (-40.288052 -2.797446)'))) / (select extract(epoch from '2026-07-10 06:49:18'::timestamp) - extract(epoch from '2026-07-10 06:49: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'), 47638, 'SRID=4674;POINT (-40.287956 -2.797482)', '2026-07-10 06:49:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288052 -2.797446)'), GeomFromEWKT('SRID=4674;POINT (-40.287956 -2.797482)'))) / (select extract(epoch from '2026-07-10 06:49:57'::timestamp) - extract(epoch from '2026-07-10 06:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288052 -2.797446)'), GeomFromEWKT('SRID=4674;POINT (-40.287956 -2.797482)'))) / (select extract(epoch from '2026-07-10 06:49:57'::timestamp) - extract(epoch from '2026-07-10 06:49: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'), 47638, 'SRID=4674;POINT (-40.287853 -2.797513)', '2026-07-10 06:50:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287956 -2.797482)'), GeomFromEWKT('SRID=4674;POINT (-40.287853 -2.797513)'))) / (select extract(epoch from '2026-07-10 06:50:40'::timestamp) - extract(epoch from '2026-07-10 06:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287956 -2.797482)'), GeomFromEWKT('SRID=4674;POINT (-40.287853 -2.797513)'))) / (select extract(epoch from '2026-07-10 06:50:40'::timestamp) - extract(epoch from '2026-07-10 06:49:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.287795 -2.797558)', '2026-07-10 06:50:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287853 -2.797513)'), GeomFromEWKT('SRID=4674;POINT (-40.287795 -2.797558)'))) / (select extract(epoch from '2026-07-10 06:50:54'::timestamp) - extract(epoch from '2026-07-10 06:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287853 -2.797513)'), GeomFromEWKT('SRID=4674;POINT (-40.287795 -2.797558)'))) / (select extract(epoch from '2026-07-10 06:50:54'::timestamp) - extract(epoch from '2026-07-10 06:50:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.287709 -2.797583)', '2026-07-10 06:51:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287795 -2.797558)'), GeomFromEWKT('SRID=4674;POINT (-40.287709 -2.797583)'))) / (select extract(epoch from '2026-07-10 06:51:10'::timestamp) - extract(epoch from '2026-07-10 06:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287795 -2.797558)'), GeomFromEWKT('SRID=4674;POINT (-40.287709 -2.797583)'))) / (select extract(epoch from '2026-07-10 06:51:10'::timestamp) - extract(epoch from '2026-07-10 06:50:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.287682 -2.797582)', '2026-07-10 06:51:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287709 -2.797583)'), GeomFromEWKT('SRID=4674;POINT (-40.287682 -2.797582)'))) / (select extract(epoch from '2026-07-10 06:51:21'::timestamp) - extract(epoch from '2026-07-10 06:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287709 -2.797583)'), GeomFromEWKT('SRID=4674;POINT (-40.287682 -2.797582)'))) / (select extract(epoch from '2026-07-10 06:51:21'::timestamp) - extract(epoch from '2026-07-10 06:51: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'), 47638, 'SRID=4674;POINT (-40.287657 -2.797632)', '2026-07-10 06:51:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287682 -2.797582)'), GeomFromEWKT('SRID=4674;POINT (-40.287657 -2.797632)'))) / (select extract(epoch from '2026-07-10 06:51:57'::timestamp) - extract(epoch from '2026-07-10 06:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287682 -2.797582)'), GeomFromEWKT('SRID=4674;POINT (-40.287657 -2.797632)'))) / (select extract(epoch from '2026-07-10 06:51:57'::timestamp) - extract(epoch from '2026-07-10 06:51: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'), 47638, 'SRID=4674;POINT (-40.287648 -2.797637)', '2026-07-10 06:52:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287657 -2.797632)'), GeomFromEWKT('SRID=4674;POINT (-40.287648 -2.797637)'))) / (select extract(epoch from '2026-07-10 06:52:10'::timestamp) - extract(epoch from '2026-07-10 06:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287657 -2.797632)'), GeomFromEWKT('SRID=4674;POINT (-40.287648 -2.797637)'))) / (select extract(epoch from '2026-07-10 06:52:10'::timestamp) - extract(epoch from '2026-07-10 06:51: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'), 47638, 'SRID=4674;POINT (-40.287563 -2.797647)', '2026-07-10 06:52:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287648 -2.797637)'), GeomFromEWKT('SRID=4674;POINT (-40.287563 -2.797647)'))) / (select extract(epoch from '2026-07-10 06:52:28'::timestamp) - extract(epoch from '2026-07-10 06:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287648 -2.797637)'), GeomFromEWKT('SRID=4674;POINT (-40.287563 -2.797647)'))) / (select extract(epoch from '2026-07-10 06:52:28'::timestamp) - extract(epoch from '2026-07-10 06:52:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.28749 -2.797695)', '2026-07-10 06:52:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287563 -2.797647)'), GeomFromEWKT('SRID=4674;POINT (-40.28749 -2.797695)'))) / (select extract(epoch from '2026-07-10 06:52:43'::timestamp) - extract(epoch from '2026-07-10 06:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287563 -2.797647)'), GeomFromEWKT('SRID=4674;POINT (-40.28749 -2.797695)'))) / (select extract(epoch from '2026-07-10 06:52:43'::timestamp) - extract(epoch from '2026-07-10 06:52:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.287407 -2.797717)', '2026-07-10 06:52:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28749 -2.797695)'), GeomFromEWKT('SRID=4674;POINT (-40.287407 -2.797717)'))) / (select extract(epoch from '2026-07-10 06:52:58'::timestamp) - extract(epoch from '2026-07-10 06:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28749 -2.797695)'), GeomFromEWKT('SRID=4674;POINT (-40.287407 -2.797717)'))) / (select extract(epoch from '2026-07-10 06:52:58'::timestamp) - extract(epoch from '2026-07-10 06:52:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.287375 -2.797711)', '2026-07-10 06:53:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287407 -2.797717)'), GeomFromEWKT('SRID=4674;POINT (-40.287375 -2.797711)'))) / (select extract(epoch from '2026-07-10 06:53:13'::timestamp) - extract(epoch from '2026-07-10 06:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287407 -2.797717)'), GeomFromEWKT('SRID=4674;POINT (-40.287375 -2.797711)'))) / (select extract(epoch from '2026-07-10 06:53:13'::timestamp) - extract(epoch from '2026-07-10 06:52:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.287344 -2.797756)', '2026-07-10 06:53:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287375 -2.797711)'), GeomFromEWKT('SRID=4674;POINT (-40.287344 -2.797756)'))) / (select extract(epoch from '2026-07-10 06:53:35'::timestamp) - extract(epoch from '2026-07-10 06:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287375 -2.797711)'), GeomFromEWKT('SRID=4674;POINT (-40.287344 -2.797756)'))) / (select extract(epoch from '2026-07-10 06:53:35'::timestamp) - extract(epoch from '2026-07-10 06:53: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'), 47638, 'SRID=4674;POINT (-40.287292 -2.797765)', '2026-07-10 06:53:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287344 -2.797756)'), GeomFromEWKT('SRID=4674;POINT (-40.287292 -2.797765)'))) / (select extract(epoch from '2026-07-10 06:53:48'::timestamp) - extract(epoch from '2026-07-10 06:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287344 -2.797756)'), GeomFromEWKT('SRID=4674;POINT (-40.287292 -2.797765)'))) / (select extract(epoch from '2026-07-10 06:53:48'::timestamp) - extract(epoch from '2026-07-10 06:53: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'), 47638, 'SRID=4674;POINT (-40.287228 -2.797796)', '2026-07-10 06:54:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287292 -2.797765)'), GeomFromEWKT('SRID=4674;POINT (-40.287228 -2.797796)'))) / (select extract(epoch from '2026-07-10 06:54:13'::timestamp) - extract(epoch from '2026-07-10 06:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287292 -2.797765)'), GeomFromEWKT('SRID=4674;POINT (-40.287228 -2.797796)'))) / (select extract(epoch from '2026-07-10 06:54:13'::timestamp) - extract(epoch from '2026-07-10 06:53:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.287172 -2.797827)', '2026-07-10 06:54:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287228 -2.797796)'), GeomFromEWKT('SRID=4674;POINT (-40.287172 -2.797827)'))) / (select extract(epoch from '2026-07-10 06:54:27'::timestamp) - extract(epoch from '2026-07-10 06:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287228 -2.797796)'), GeomFromEWKT('SRID=4674;POINT (-40.287172 -2.797827)'))) / (select extract(epoch from '2026-07-10 06:54:27'::timestamp) - extract(epoch from '2026-07-10 06:54: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'), 47638, 'SRID=4674;POINT (-40.287165 -2.79783)', '2026-07-10 06:54:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287172 -2.797827)'), GeomFromEWKT('SRID=4674;POINT (-40.287165 -2.79783)'))) / (select extract(epoch from '2026-07-10 06:54:39'::timestamp) - extract(epoch from '2026-07-10 06:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287172 -2.797827)'), GeomFromEWKT('SRID=4674;POINT (-40.287165 -2.79783)'))) / (select extract(epoch from '2026-07-10 06:54:39'::timestamp) - extract(epoch from '2026-07-10 06:54: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'), 47638, 'SRID=4674;POINT (-40.287079 -2.797875)', '2026-07-10 06:55:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287165 -2.79783)'), GeomFromEWKT('SRID=4674;POINT (-40.287079 -2.797875)'))) / (select extract(epoch from '2026-07-10 06:55:03'::timestamp) - extract(epoch from '2026-07-10 06:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287165 -2.79783)'), GeomFromEWKT('SRID=4674;POINT (-40.287079 -2.797875)'))) / (select extract(epoch from '2026-07-10 06:55:03'::timestamp) - extract(epoch from '2026-07-10 06:54:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.287027 -2.797908)', '2026-07-10 06:55:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287079 -2.797875)'), GeomFromEWKT('SRID=4674;POINT (-40.287027 -2.797908)'))) / (select extract(epoch from '2026-07-10 06:55:16'::timestamp) - extract(epoch from '2026-07-10 06:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287079 -2.797875)'), GeomFromEWKT('SRID=4674;POINT (-40.287027 -2.797908)'))) / (select extract(epoch from '2026-07-10 06:55:16'::timestamp) - extract(epoch from '2026-07-10 06:55:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.287 -2.797907)', '2026-07-10 06:55:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287027 -2.797908)'), GeomFromEWKT('SRID=4674;POINT (-40.287 -2.797907)'))) / (select extract(epoch from '2026-07-10 06:55:29'::timestamp) - extract(epoch from '2026-07-10 06:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287027 -2.797908)'), GeomFromEWKT('SRID=4674;POINT (-40.287 -2.797907)'))) / (select extract(epoch from '2026-07-10 06:55:29'::timestamp) - extract(epoch from '2026-07-10 06:55: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'), 47638, 'SRID=4674;POINT (-40.286943 -2.797935)', '2026-07-10 06:55:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287 -2.797907)'), GeomFromEWKT('SRID=4674;POINT (-40.286943 -2.797935)'))) / (select extract(epoch from '2026-07-10 06:55:48'::timestamp) - extract(epoch from '2026-07-10 06:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287 -2.797907)'), GeomFromEWKT('SRID=4674;POINT (-40.286943 -2.797935)'))) / (select extract(epoch from '2026-07-10 06:55:48'::timestamp) - extract(epoch from '2026-07-10 06:55:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.286881 -2.797969)', '2026-07-10 06:56:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286943 -2.797935)'), GeomFromEWKT('SRID=4674;POINT (-40.286881 -2.797969)'))) / (select extract(epoch from '2026-07-10 06:56:04'::timestamp) - extract(epoch from '2026-07-10 06:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286943 -2.797935)'), GeomFromEWKT('SRID=4674;POINT (-40.286881 -2.797969)'))) / (select extract(epoch from '2026-07-10 06:56:04'::timestamp) - extract(epoch from '2026-07-10 06:55:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.286847 -2.797968)', '2026-07-10 06:56:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286881 -2.797969)'), GeomFromEWKT('SRID=4674;POINT (-40.286847 -2.797968)'))) / (select extract(epoch from '2026-07-10 06:56:13'::timestamp) - extract(epoch from '2026-07-10 06:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286881 -2.797969)'), GeomFromEWKT('SRID=4674;POINT (-40.286847 -2.797968)'))) / (select extract(epoch from '2026-07-10 06:56:13'::timestamp) - extract(epoch from '2026-07-10 06:56:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.286778 -2.797996)', '2026-07-10 06:56:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286847 -2.797968)'), GeomFromEWKT('SRID=4674;POINT (-40.286778 -2.797996)'))) / (select extract(epoch from '2026-07-10 06:56:27'::timestamp) - extract(epoch from '2026-07-10 06:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286847 -2.797968)'), GeomFromEWKT('SRID=4674;POINT (-40.286778 -2.797996)'))) / (select extract(epoch from '2026-07-10 06:56:27'::timestamp) - extract(epoch from '2026-07-10 06:56: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'), 47638, 'SRID=4674;POINT (-40.286691 -2.798023)', '2026-07-10 06:56:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286778 -2.797996)'), GeomFromEWKT('SRID=4674;POINT (-40.286691 -2.798023)'))) / (select extract(epoch from '2026-07-10 06:56:44'::timestamp) - extract(epoch from '2026-07-10 06:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286778 -2.797996)'), GeomFromEWKT('SRID=4674;POINT (-40.286691 -2.798023)'))) / (select extract(epoch from '2026-07-10 06:56:44'::timestamp) - extract(epoch from '2026-07-10 06:56: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'), 47638, 'SRID=4674;POINT (-40.286635 -2.798056)', '2026-07-10 06:56:58', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286691 -2.798023)'), GeomFromEWKT('SRID=4674;POINT (-40.286635 -2.798056)'))) / (select extract(epoch from '2026-07-10 06:56:58'::timestamp) - extract(epoch from '2026-07-10 06:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286691 -2.798023)'), GeomFromEWKT('SRID=4674;POINT (-40.286635 -2.798056)'))) / (select extract(epoch from '2026-07-10 06:56:58'::timestamp) - extract(epoch from '2026-07-10 06:56: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'), 47638, 'SRID=4674;POINT (-40.286606 -2.798081)', '2026-07-10 06:57:12', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286635 -2.798056)'), GeomFromEWKT('SRID=4674;POINT (-40.286606 -2.798081)'))) / (select extract(epoch from '2026-07-10 06:57:12'::timestamp) - extract(epoch from '2026-07-10 06:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286635 -2.798056)'), GeomFromEWKT('SRID=4674;POINT (-40.286606 -2.798081)'))) / (select extract(epoch from '2026-07-10 06:57:12'::timestamp) - extract(epoch from '2026-07-10 06:56: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'), 47638, 'SRID=4674;POINT (-40.286539 -2.798102)', '2026-07-10 06:57:45', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286606 -2.798081)'), GeomFromEWKT('SRID=4674;POINT (-40.286539 -2.798102)'))) / (select extract(epoch from '2026-07-10 06:57:45'::timestamp) - extract(epoch from '2026-07-10 06:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286606 -2.798081)'), GeomFromEWKT('SRID=4674;POINT (-40.286539 -2.798102)'))) / (select extract(epoch from '2026-07-10 06:57:45'::timestamp) - extract(epoch from '2026-07-10 06:57: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'), 47638, 'SRID=4674;POINT (-40.286485 -2.798141)', '2026-07-10 06:57:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286539 -2.798102)'), GeomFromEWKT('SRID=4674;POINT (-40.286485 -2.798141)'))) / (select extract(epoch from '2026-07-10 06:57:59'::timestamp) - extract(epoch from '2026-07-10 06:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286539 -2.798102)'), GeomFromEWKT('SRID=4674;POINT (-40.286485 -2.798141)'))) / (select extract(epoch from '2026-07-10 06:57:59'::timestamp) - extract(epoch from '2026-07-10 06:57: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'), 47638, 'SRID=4674;POINT (-40.286404 -2.798158)', '2026-07-10 06:58:16', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286485 -2.798141)'), GeomFromEWKT('SRID=4674;POINT (-40.286404 -2.798158)'))) / (select extract(epoch from '2026-07-10 06:58:16'::timestamp) - extract(epoch from '2026-07-10 06:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286485 -2.798141)'), GeomFromEWKT('SRID=4674;POINT (-40.286404 -2.798158)'))) / (select extract(epoch from '2026-07-10 06:58:16'::timestamp) - extract(epoch from '2026-07-10 06:57: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'), 47638, 'SRID=4674;POINT (-40.286389 -2.798164)', '2026-07-10 06:58:27', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286404 -2.798158)'), GeomFromEWKT('SRID=4674;POINT (-40.286389 -2.798164)'))) / (select extract(epoch from '2026-07-10 06:58:27'::timestamp) - extract(epoch from '2026-07-10 06:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286404 -2.798158)'), GeomFromEWKT('SRID=4674;POINT (-40.286389 -2.798164)'))) / (select extract(epoch from '2026-07-10 06:58:27'::timestamp) - extract(epoch from '2026-07-10 06:58: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'), 47638, 'SRID=4674;POINT (-40.286334 -2.798212)', '2026-07-10 06:58:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286389 -2.798164)'), GeomFromEWKT('SRID=4674;POINT (-40.286334 -2.798212)'))) / (select extract(epoch from '2026-07-10 06:58:51'::timestamp) - extract(epoch from '2026-07-10 06:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286389 -2.798164)'), GeomFromEWKT('SRID=4674;POINT (-40.286334 -2.798212)'))) / (select extract(epoch from '2026-07-10 06:58:51'::timestamp) - extract(epoch from '2026-07-10 06:58:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.286264 -2.798239)', '2026-07-10 06:59:06', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286334 -2.798212)'), GeomFromEWKT('SRID=4674;POINT (-40.286264 -2.798239)'))) / (select extract(epoch from '2026-07-10 06:59:06'::timestamp) - extract(epoch from '2026-07-10 06:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286334 -2.798212)'), GeomFromEWKT('SRID=4674;POINT (-40.286264 -2.798239)'))) / (select extract(epoch from '2026-07-10 06:59:06'::timestamp) - extract(epoch from '2026-07-10 06:58: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'), 47638, 'SRID=4674;POINT (-40.286192 -2.798282)', '2026-07-10 06:59:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286264 -2.798239)'), GeomFromEWKT('SRID=4674;POINT (-40.286192 -2.798282)'))) / (select extract(epoch from '2026-07-10 06:59:21'::timestamp) - extract(epoch from '2026-07-10 06:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286264 -2.798239)'), GeomFromEWKT('SRID=4674;POINT (-40.286192 -2.798282)'))) / (select extract(epoch from '2026-07-10 06:59:21'::timestamp) - extract(epoch from '2026-07-10 06:59: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'), 47638, 'SRID=4674;POINT (-40.286109 -2.798314)', '2026-07-10 06:59:37', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286192 -2.798282)'), GeomFromEWKT('SRID=4674;POINT (-40.286109 -2.798314)'))) / (select extract(epoch from '2026-07-10 06:59:37'::timestamp) - extract(epoch from '2026-07-10 06:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286192 -2.798282)'), GeomFromEWKT('SRID=4674;POINT (-40.286109 -2.798314)'))) / (select extract(epoch from '2026-07-10 06:59:37'::timestamp) - extract(epoch from '2026-07-10 06:59: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'), 47638, 'SRID=4674;POINT (-40.286046 -2.798344)', '2026-07-10 06:59:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286109 -2.798314)'), GeomFromEWKT('SRID=4674;POINT (-40.286046 -2.798344)'))) / (select extract(epoch from '2026-07-10 06:59:51'::timestamp) - extract(epoch from '2026-07-10 06:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286109 -2.798314)'), GeomFromEWKT('SRID=4674;POINT (-40.286046 -2.798344)'))) / (select extract(epoch from '2026-07-10 06:59:51'::timestamp) - extract(epoch from '2026-07-10 06:59: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'), 47638, 'SRID=4674;POINT (-40.285992 -2.798366)', '2026-07-10 07:00:05', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286046 -2.798344)'), GeomFromEWKT('SRID=4674;POINT (-40.285992 -2.798366)'))) / (select extract(epoch from '2026-07-10 07:00:05'::timestamp) - extract(epoch from '2026-07-10 06:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286046 -2.798344)'), GeomFromEWKT('SRID=4674;POINT (-40.285992 -2.798366)'))) / (select extract(epoch from '2026-07-10 07:00:05'::timestamp) - extract(epoch from '2026-07-10 06:59: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'), 47638, 'SRID=4674;POINT (-40.285936 -2.798423)', '2026-07-10 07:00:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285992 -2.798366)'), GeomFromEWKT('SRID=4674;POINT (-40.285936 -2.798423)'))) / (select extract(epoch from '2026-07-10 07:00:21'::timestamp) - extract(epoch from '2026-07-10 07:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285992 -2.798366)'), GeomFromEWKT('SRID=4674;POINT (-40.285936 -2.798423)'))) / (select extract(epoch from '2026-07-10 07:00:21'::timestamp) - extract(epoch from '2026-07-10 07:00:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.285929 -2.798435)', '2026-07-10 07:00:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285936 -2.798423)'), GeomFromEWKT('SRID=4674;POINT (-40.285929 -2.798435)'))) / (select extract(epoch from '2026-07-10 07:00:32'::timestamp) - extract(epoch from '2026-07-10 07:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285936 -2.798423)'), GeomFromEWKT('SRID=4674;POINT (-40.285929 -2.798435)'))) / (select extract(epoch from '2026-07-10 07:00:32'::timestamp) - extract(epoch from '2026-07-10 07:00: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'), 47638, 'SRID=4674;POINT (-40.285857 -2.798461)', '2026-07-10 07:00:47', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285929 -2.798435)'), GeomFromEWKT('SRID=4674;POINT (-40.285857 -2.798461)'))) / (select extract(epoch from '2026-07-10 07:00:47'::timestamp) - extract(epoch from '2026-07-10 07:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285929 -2.798435)'), GeomFromEWKT('SRID=4674;POINT (-40.285857 -2.798461)'))) / (select extract(epoch from '2026-07-10 07:00:47'::timestamp) - extract(epoch from '2026-07-10 07:00:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.285777 -2.798489)', '2026-07-10 07:01:03', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285857 -2.798461)'), GeomFromEWKT('SRID=4674;POINT (-40.285777 -2.798489)'))) / (select extract(epoch from '2026-07-10 07:01:03'::timestamp) - extract(epoch from '2026-07-10 07:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285857 -2.798461)'), GeomFromEWKT('SRID=4674;POINT (-40.285777 -2.798489)'))) / (select extract(epoch from '2026-07-10 07:01:03'::timestamp) - extract(epoch from '2026-07-10 07:00: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'), 47638, 'SRID=4674;POINT (-40.285719 -2.798536)', '2026-07-10 07:01:18', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285777 -2.798489)'), GeomFromEWKT('SRID=4674;POINT (-40.285719 -2.798536)'))) / (select extract(epoch from '2026-07-10 07:01:18'::timestamp) - extract(epoch from '2026-07-10 07:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285777 -2.798489)'), GeomFromEWKT('SRID=4674;POINT (-40.285719 -2.798536)'))) / (select extract(epoch from '2026-07-10 07:01:18'::timestamp) - extract(epoch from '2026-07-10 07:01: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'), 47638, 'SRID=4674;POINT (-40.285648 -2.798559)', '2026-07-10 07:01:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285719 -2.798536)'), GeomFromEWKT('SRID=4674;POINT (-40.285648 -2.798559)'))) / (select extract(epoch from '2026-07-10 07:01:33'::timestamp) - extract(epoch from '2026-07-10 07:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285719 -2.798536)'), GeomFromEWKT('SRID=4674;POINT (-40.285648 -2.798559)'))) / (select extract(epoch from '2026-07-10 07:01:33'::timestamp) - extract(epoch from '2026-07-10 07: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'), 47638, 'SRID=4674;POINT (-40.285597 -2.798582)', '2026-07-10 07:01:48', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285648 -2.798559)'), GeomFromEWKT('SRID=4674;POINT (-40.285597 -2.798582)'))) / (select extract(epoch from '2026-07-10 07:01:48'::timestamp) - extract(epoch from '2026-07-10 07:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285648 -2.798559)'), GeomFromEWKT('SRID=4674;POINT (-40.285597 -2.798582)'))) / (select extract(epoch from '2026-07-10 07:01:48'::timestamp) - extract(epoch from '2026-07-10 07:01:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.285568 -2.798591)', '2026-07-10 07:01:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285597 -2.798582)'), GeomFromEWKT('SRID=4674;POINT (-40.285568 -2.798591)'))) / (select extract(epoch from '2026-07-10 07:01:58'::timestamp) - extract(epoch from '2026-07-10 07:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285597 -2.798582)'), GeomFromEWKT('SRID=4674;POINT (-40.285568 -2.798591)'))) / (select extract(epoch from '2026-07-10 07:01:58'::timestamp) - extract(epoch from '2026-07-10 07:01: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'), 47638, 'SRID=4674;POINT (-40.285557 -2.798596)', '2026-07-10 07:02:11', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285568 -2.798591)'), GeomFromEWKT('SRID=4674;POINT (-40.285557 -2.798596)'))) / (select extract(epoch from '2026-07-10 07:02:11'::timestamp) - extract(epoch from '2026-07-10 07:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285568 -2.798591)'), GeomFromEWKT('SRID=4674;POINT (-40.285557 -2.798596)'))) / (select extract(epoch from '2026-07-10 07:02:11'::timestamp) - extract(epoch from '2026-07-10 07:01:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.2855 -2.798637)', '2026-07-10 07:02:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285557 -2.798596)'), GeomFromEWKT('SRID=4674;POINT (-40.2855 -2.798637)'))) / (select extract(epoch from '2026-07-10 07:02:26'::timestamp) - extract(epoch from '2026-07-10 07:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285557 -2.798596)'), GeomFromEWKT('SRID=4674;POINT (-40.2855 -2.798637)'))) / (select extract(epoch from '2026-07-10 07:02:26'::timestamp) - extract(epoch from '2026-07-10 07: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'), 47638, 'SRID=4674;POINT (-40.285421 -2.798659)', '2026-07-10 07:02:42', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2855 -2.798637)'), GeomFromEWKT('SRID=4674;POINT (-40.285421 -2.798659)'))) / (select extract(epoch from '2026-07-10 07:02:42'::timestamp) - extract(epoch from '2026-07-10 07:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2855 -2.798637)'), GeomFromEWKT('SRID=4674;POINT (-40.285421 -2.798659)'))) / (select extract(epoch from '2026-07-10 07:02:42'::timestamp) - extract(epoch from '2026-07-10 07: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'), 47638, 'SRID=4674;POINT (-40.285405 -2.798658)', '2026-07-10 07:02:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285421 -2.798659)'), GeomFromEWKT('SRID=4674;POINT (-40.285405 -2.798658)'))) / (select extract(epoch from '2026-07-10 07:02:56'::timestamp) - extract(epoch from '2026-07-10 07:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285421 -2.798659)'), GeomFromEWKT('SRID=4674;POINT (-40.285405 -2.798658)'))) / (select extract(epoch from '2026-07-10 07:02:56'::timestamp) - extract(epoch from '2026-07-10 07: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'), 47638, 'SRID=4674;POINT (-40.285331 -2.798718)', '2026-07-10 07:03:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285405 -2.798658)'), GeomFromEWKT('SRID=4674;POINT (-40.285331 -2.798718)'))) / (select extract(epoch from '2026-07-10 07:03:43'::timestamp) - extract(epoch from '2026-07-10 07:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285405 -2.798658)'), GeomFromEWKT('SRID=4674;POINT (-40.285331 -2.798718)'))) / (select extract(epoch from '2026-07-10 07:03:43'::timestamp) - extract(epoch from '2026-07-10 07:02: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'), 47638, 'SRID=4674;POINT (-40.285277 -2.798736)', '2026-07-10 07:03:57', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285331 -2.798718)'), GeomFromEWKT('SRID=4674;POINT (-40.285277 -2.798736)'))) / (select extract(epoch from '2026-07-10 07:03:57'::timestamp) - extract(epoch from '2026-07-10 07:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285331 -2.798718)'), GeomFromEWKT('SRID=4674;POINT (-40.285277 -2.798736)'))) / (select extract(epoch from '2026-07-10 07:03:57'::timestamp) - extract(epoch from '2026-07-10 07:03: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'), 47638, 'SRID=4674;POINT (-40.285241 -2.798784)', '2026-07-10 07:04:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285277 -2.798736)'), GeomFromEWKT('SRID=4674;POINT (-40.285241 -2.798784)'))) / (select extract(epoch from '2026-07-10 07:04:09'::timestamp) - extract(epoch from '2026-07-10 07:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285277 -2.798736)'), GeomFromEWKT('SRID=4674;POINT (-40.285241 -2.798784)'))) / (select extract(epoch from '2026-07-10 07:04:09'::timestamp) - extract(epoch from '2026-07-10 07:03: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'), 47638, 'SRID=4674;POINT (-40.285173 -2.798808)', '2026-07-10 07:04:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285241 -2.798784)'), GeomFromEWKT('SRID=4674;POINT (-40.285173 -2.798808)'))) / (select extract(epoch from '2026-07-10 07:04:24'::timestamp) - extract(epoch from '2026-07-10 07:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285241 -2.798784)'), GeomFromEWKT('SRID=4674;POINT (-40.285173 -2.798808)'))) / (select extract(epoch from '2026-07-10 07:04:24'::timestamp) - extract(epoch from '2026-07-10 07:04:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.285161 -2.79881)', '2026-07-10 07:04:37', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285173 -2.798808)'), GeomFromEWKT('SRID=4674;POINT (-40.285161 -2.79881)'))) / (select extract(epoch from '2026-07-10 07:04:37'::timestamp) - extract(epoch from '2026-07-10 07:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285173 -2.798808)'), GeomFromEWKT('SRID=4674;POINT (-40.285161 -2.79881)'))) / (select extract(epoch from '2026-07-10 07:04:37'::timestamp) - extract(epoch from '2026-07-10 07: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'), 47638, 'SRID=4674;POINT (-40.285075 -2.79884)', '2026-07-10 07:05:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285161 -2.79881)'), GeomFromEWKT('SRID=4674;POINT (-40.285075 -2.79884)'))) / (select extract(epoch from '2026-07-10 07:05:06'::timestamp) - extract(epoch from '2026-07-10 07:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285161 -2.79881)'), GeomFromEWKT('SRID=4674;POINT (-40.285075 -2.79884)'))) / (select extract(epoch from '2026-07-10 07:05:06'::timestamp) - extract(epoch from '2026-07-10 07:04: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'), 47638, 'SRID=4674;POINT (-40.284983 -2.79888)', '2026-07-10 07:05:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285075 -2.79884)'), GeomFromEWKT('SRID=4674;POINT (-40.284983 -2.79888)'))) / (select extract(epoch from '2026-07-10 07:05:23'::timestamp) - extract(epoch from '2026-07-10 07:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285075 -2.79884)'), GeomFromEWKT('SRID=4674;POINT (-40.284983 -2.79888)'))) / (select extract(epoch from '2026-07-10 07:05:23'::timestamp) - extract(epoch from '2026-07-10 07:05: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'), 47638, 'SRID=4674;POINT (-40.284918 -2.798929)', '2026-07-10 07:05:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284983 -2.79888)'), GeomFromEWKT('SRID=4674;POINT (-40.284918 -2.798929)'))) / (select extract(epoch from '2026-07-10 07:05:39'::timestamp) - extract(epoch from '2026-07-10 07:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284983 -2.79888)'), GeomFromEWKT('SRID=4674;POINT (-40.284918 -2.798929)'))) / (select extract(epoch from '2026-07-10 07:05:39'::timestamp) - extract(epoch from '2026-07-10 07:05: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'), 47638, 'SRID=4674;POINT (-40.284896 -2.798946)', '2026-07-10 07:05:51', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284918 -2.798929)'), GeomFromEWKT('SRID=4674;POINT (-40.284896 -2.798946)'))) / (select extract(epoch from '2026-07-10 07:05:51'::timestamp) - extract(epoch from '2026-07-10 07:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284918 -2.798929)'), GeomFromEWKT('SRID=4674;POINT (-40.284896 -2.798946)'))) / (select extract(epoch from '2026-07-10 07:05:51'::timestamp) - extract(epoch from '2026-07-10 07:05:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.284823 -2.798976)', '2026-07-10 07:06:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284896 -2.798946)'), GeomFromEWKT('SRID=4674;POINT (-40.284823 -2.798976)'))) / (select extract(epoch from '2026-07-10 07:06:05'::timestamp) - extract(epoch from '2026-07-10 07:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284896 -2.798946)'), GeomFromEWKT('SRID=4674;POINT (-40.284823 -2.798976)'))) / (select extract(epoch from '2026-07-10 07:06:05'::timestamp) - extract(epoch from '2026-07-10 07:05: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'), 47638, 'SRID=4674;POINT (-40.284764 -2.799017)', '2026-07-10 07:06:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284823 -2.798976)'), GeomFromEWKT('SRID=4674;POINT (-40.284764 -2.799017)'))) / (select extract(epoch from '2026-07-10 07:06:21'::timestamp) - extract(epoch from '2026-07-10 07:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284823 -2.798976)'), GeomFromEWKT('SRID=4674;POINT (-40.284764 -2.799017)'))) / (select extract(epoch from '2026-07-10 07:06:21'::timestamp) - extract(epoch from '2026-07-10 07:06:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.284728 -2.799023)', '2026-07-10 07:06:33', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284764 -2.799017)'), GeomFromEWKT('SRID=4674;POINT (-40.284728 -2.799023)'))) / (select extract(epoch from '2026-07-10 07:06:33'::timestamp) - extract(epoch from '2026-07-10 07:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284764 -2.799017)'), GeomFromEWKT('SRID=4674;POINT (-40.284728 -2.799023)'))) / (select extract(epoch from '2026-07-10 07:06:33'::timestamp) - extract(epoch from '2026-07-10 07: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'), 47638, 'SRID=4674;POINT (-40.284686 -2.799044)', '2026-07-10 07:06:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284728 -2.799023)'), GeomFromEWKT('SRID=4674;POINT (-40.284686 -2.799044)'))) / (select extract(epoch from '2026-07-10 07:06:46'::timestamp) - extract(epoch from '2026-07-10 07:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284728 -2.799023)'), GeomFromEWKT('SRID=4674;POINT (-40.284686 -2.799044)'))) / (select extract(epoch from '2026-07-10 07:06:46'::timestamp) - extract(epoch from '2026-07-10 07:06:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.284637 -2.799068)', '2026-07-10 07:07:01', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284686 -2.799044)'), GeomFromEWKT('SRID=4674;POINT (-40.284637 -2.799068)'))) / (select extract(epoch from '2026-07-10 07:07:01'::timestamp) - extract(epoch from '2026-07-10 07:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284686 -2.799044)'), GeomFromEWKT('SRID=4674;POINT (-40.284637 -2.799068)'))) / (select extract(epoch from '2026-07-10 07:07:01'::timestamp) - extract(epoch from '2026-07-10 07: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'), 47638, 'SRID=4674;POINT (-40.284565 -2.799098)', '2026-07-10 07:07:22', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284637 -2.799068)'), GeomFromEWKT('SRID=4674;POINT (-40.284565 -2.799098)'))) / (select extract(epoch from '2026-07-10 07:07:22'::timestamp) - extract(epoch from '2026-07-10 07:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284637 -2.799068)'), GeomFromEWKT('SRID=4674;POINT (-40.284565 -2.799098)'))) / (select extract(epoch from '2026-07-10 07:07:22'::timestamp) - extract(epoch from '2026-07-10 07:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.284496 -2.799126)', '2026-07-10 07:07:38', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284565 -2.799098)'), GeomFromEWKT('SRID=4674;POINT (-40.284496 -2.799126)'))) / (select extract(epoch from '2026-07-10 07:07:38'::timestamp) - extract(epoch from '2026-07-10 07:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284565 -2.799098)'), GeomFromEWKT('SRID=4674;POINT (-40.284496 -2.799126)'))) / (select extract(epoch from '2026-07-10 07:07:38'::timestamp) - extract(epoch from '2026-07-10 07:07:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.28444 -2.79916)', '2026-07-10 07:07:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284496 -2.799126)'), GeomFromEWKT('SRID=4674;POINT (-40.28444 -2.79916)'))) / (select extract(epoch from '2026-07-10 07:07:52'::timestamp) - extract(epoch from '2026-07-10 07:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284496 -2.799126)'), GeomFromEWKT('SRID=4674;POINT (-40.28444 -2.79916)'))) / (select extract(epoch from '2026-07-10 07:07:52'::timestamp) - extract(epoch from '2026-07-10 07:07:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.284415 -2.799164)', '2026-07-10 07:08:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28444 -2.79916)'), GeomFromEWKT('SRID=4674;POINT (-40.284415 -2.799164)'))) / (select extract(epoch from '2026-07-10 07:08:03'::timestamp) - extract(epoch from '2026-07-10 07:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28444 -2.79916)'), GeomFromEWKT('SRID=4674;POINT (-40.284415 -2.799164)'))) / (select extract(epoch from '2026-07-10 07:08:03'::timestamp) - extract(epoch from '2026-07-10 07: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'), 47638, 'SRID=4674;POINT (-40.284343 -2.799188)', '2026-07-10 07:08:23', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284415 -2.799164)'), GeomFromEWKT('SRID=4674;POINT (-40.284343 -2.799188)'))) / (select extract(epoch from '2026-07-10 07:08:23'::timestamp) - extract(epoch from '2026-07-10 07:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284415 -2.799164)'), GeomFromEWKT('SRID=4674;POINT (-40.284343 -2.799188)'))) / (select extract(epoch from '2026-07-10 07:08:23'::timestamp) - extract(epoch from '2026-07-10 07:08:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.284304 -2.799231)', '2026-07-10 07:08:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284343 -2.799188)'), GeomFromEWKT('SRID=4674;POINT (-40.284304 -2.799231)'))) / (select extract(epoch from '2026-07-10 07:08:37'::timestamp) - extract(epoch from '2026-07-10 07:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284343 -2.799188)'), GeomFromEWKT('SRID=4674;POINT (-40.284304 -2.799231)'))) / (select extract(epoch from '2026-07-10 07:08:37'::timestamp) - extract(epoch from '2026-07-10 07:08: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'), 47638, 'SRID=4674;POINT (-40.284234 -2.799267)', '2026-07-10 07:09:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284304 -2.799231)'), GeomFromEWKT('SRID=4674;POINT (-40.284234 -2.799267)'))) / (select extract(epoch from '2026-07-10 07:09:02'::timestamp) - extract(epoch from '2026-07-10 07:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284304 -2.799231)'), GeomFromEWKT('SRID=4674;POINT (-40.284234 -2.799267)'))) / (select extract(epoch from '2026-07-10 07:09:02'::timestamp) - extract(epoch from '2026-07-10 07:08: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'), 47638, 'SRID=4674;POINT (-40.284165 -2.799281)', '2026-07-10 07:09:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284234 -2.799267)'), GeomFromEWKT('SRID=4674;POINT (-40.284165 -2.799281)'))) / (select extract(epoch from '2026-07-10 07:09:17'::timestamp) - extract(epoch from '2026-07-10 07:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284234 -2.799267)'), GeomFromEWKT('SRID=4674;POINT (-40.284165 -2.799281)'))) / (select extract(epoch from '2026-07-10 07:09:17'::timestamp) - extract(epoch from '2026-07-10 07:09: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'), 47638, 'SRID=4674;POINT (-40.284082 -2.799309)', '2026-07-10 07:09:33', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284165 -2.799281)'), GeomFromEWKT('SRID=4674;POINT (-40.284082 -2.799309)'))) / (select extract(epoch from '2026-07-10 07:09:33'::timestamp) - extract(epoch from '2026-07-10 07:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284165 -2.799281)'), GeomFromEWKT('SRID=4674;POINT (-40.284082 -2.799309)'))) / (select extract(epoch from '2026-07-10 07:09:33'::timestamp) - extract(epoch from '2026-07-10 07:09: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'), 47638, 'SRID=4674;POINT (-40.284009 -2.799347)', '2026-07-10 07:09:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284082 -2.799309)'), GeomFromEWKT('SRID=4674;POINT (-40.284009 -2.799347)'))) / (select extract(epoch from '2026-07-10 07:09:48'::timestamp) - extract(epoch from '2026-07-10 07:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284082 -2.799309)'), GeomFromEWKT('SRID=4674;POINT (-40.284009 -2.799347)'))) / (select extract(epoch from '2026-07-10 07:09:48'::timestamp) - extract(epoch from '2026-07-10 07:09: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'), 47638, 'SRID=4674;POINT (-40.283958 -2.799369)', '2026-07-10 07:10:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284009 -2.799347)'), GeomFromEWKT('SRID=4674;POINT (-40.283958 -2.799369)'))) / (select extract(epoch from '2026-07-10 07:10:02'::timestamp) - extract(epoch from '2026-07-10 07:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284009 -2.799347)'), GeomFromEWKT('SRID=4674;POINT (-40.283958 -2.799369)'))) / (select extract(epoch from '2026-07-10 07:10:02'::timestamp) - extract(epoch from '2026-07-10 07:09:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.283885 -2.799419)', '2026-07-10 07:10:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283958 -2.799369)'), GeomFromEWKT('SRID=4674;POINT (-40.283885 -2.799419)'))) / (select extract(epoch from '2026-07-10 07:10:28'::timestamp) - extract(epoch from '2026-07-10 07:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283958 -2.799369)'), GeomFromEWKT('SRID=4674;POINT (-40.283885 -2.799419)'))) / (select extract(epoch from '2026-07-10 07:10:28'::timestamp) - extract(epoch from '2026-07-10 07:10:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.283777 -2.799454)', '2026-07-10 07:10:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283885 -2.799419)'), GeomFromEWKT('SRID=4674;POINT (-40.283777 -2.799454)'))) / (select extract(epoch from '2026-07-10 07:10:47'::timestamp) - extract(epoch from '2026-07-10 07:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283885 -2.799419)'), GeomFromEWKT('SRID=4674;POINT (-40.283777 -2.799454)'))) / (select extract(epoch from '2026-07-10 07:10:47'::timestamp) - extract(epoch from '2026-07-10 07:10: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'), 47638, 'SRID=4674;POINT (-40.283715 -2.799466)', '2026-07-10 07:10:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283777 -2.799454)'), GeomFromEWKT('SRID=4674;POINT (-40.283715 -2.799466)'))) / (select extract(epoch from '2026-07-10 07:10:59'::timestamp) - extract(epoch from '2026-07-10 07:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283777 -2.799454)'), GeomFromEWKT('SRID=4674;POINT (-40.283715 -2.799466)'))) / (select extract(epoch from '2026-07-10 07:10:59'::timestamp) - extract(epoch from '2026-07-10 07:10: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'), 47638, 'SRID=4674;POINT (-40.283689 -2.799486)', '2026-07-10 07:11:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283715 -2.799466)'), GeomFromEWKT('SRID=4674;POINT (-40.283689 -2.799486)'))) / (select extract(epoch from '2026-07-10 07:11:11'::timestamp) - extract(epoch from '2026-07-10 07:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283715 -2.799466)'), GeomFromEWKT('SRID=4674;POINT (-40.283689 -2.799486)'))) / (select extract(epoch from '2026-07-10 07:11:11'::timestamp) - extract(epoch from '2026-07-10 07:10: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'), 47638, 'SRID=4674;POINT (-40.28358 -2.799545)', '2026-07-10 07:11:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283689 -2.799486)'), GeomFromEWKT('SRID=4674;POINT (-40.28358 -2.799545)'))) / (select extract(epoch from '2026-07-10 07:11:49'::timestamp) - extract(epoch from '2026-07-10 07:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283689 -2.799486)'), GeomFromEWKT('SRID=4674;POINT (-40.28358 -2.799545)'))) / (select extract(epoch from '2026-07-10 07:11:49'::timestamp) - extract(epoch from '2026-07-10 07:11:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.283523 -2.79958)', '2026-07-10 07:12:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28358 -2.799545)'), GeomFromEWKT('SRID=4674;POINT (-40.283523 -2.79958)'))) / (select extract(epoch from '2026-07-10 07:12:05'::timestamp) - extract(epoch from '2026-07-10 07:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28358 -2.799545)'), GeomFromEWKT('SRID=4674;POINT (-40.283523 -2.79958)'))) / (select extract(epoch from '2026-07-10 07:12:05'::timestamp) - extract(epoch from '2026-07-10 07: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'), 47638, 'SRID=4674;POINT (-40.283495 -2.799598)', '2026-07-10 07:12:16', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283523 -2.79958)'), GeomFromEWKT('SRID=4674;POINT (-40.283495 -2.799598)'))) / (select extract(epoch from '2026-07-10 07:12:16'::timestamp) - extract(epoch from '2026-07-10 07:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283523 -2.79958)'), GeomFromEWKT('SRID=4674;POINT (-40.283495 -2.799598)'))) / (select extract(epoch from '2026-07-10 07:12:16'::timestamp) - extract(epoch from '2026-07-10 07:12: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'), 47638, 'SRID=4674;POINT (-40.283407 -2.799618)', '2026-07-10 07:12:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283495 -2.799598)'), GeomFromEWKT('SRID=4674;POINT (-40.283407 -2.799618)'))) / (select extract(epoch from '2026-07-10 07:12:33'::timestamp) - extract(epoch from '2026-07-10 07:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283495 -2.799598)'), GeomFromEWKT('SRID=4674;POINT (-40.283407 -2.799618)'))) / (select extract(epoch from '2026-07-10 07:12:33'::timestamp) - extract(epoch from '2026-07-10 07:12:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.28335 -2.799646)', '2026-07-10 07:12:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283407 -2.799618)'), GeomFromEWKT('SRID=4674;POINT (-40.28335 -2.799646)'))) / (select extract(epoch from '2026-07-10 07:12:48'::timestamp) - extract(epoch from '2026-07-10 07:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283407 -2.799618)'), GeomFromEWKT('SRID=4674;POINT (-40.28335 -2.799646)'))) / (select extract(epoch from '2026-07-10 07:12:48'::timestamp) - extract(epoch from '2026-07-10 07:12: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'), 47638, 'SRID=4674;POINT (-40.283333 -2.799653)', '2026-07-10 07:13:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28335 -2.799646)'), GeomFromEWKT('SRID=4674;POINT (-40.283333 -2.799653)'))) / (select extract(epoch from '2026-07-10 07:13:01'::timestamp) - extract(epoch from '2026-07-10 07:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28335 -2.799646)'), GeomFromEWKT('SRID=4674;POINT (-40.283333 -2.799653)'))) / (select extract(epoch from '2026-07-10 07:13:01'::timestamp) - extract(epoch from '2026-07-10 07:12:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.283272 -2.799685)', '2026-07-10 07:13:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283333 -2.799653)'), GeomFromEWKT('SRID=4674;POINT (-40.283272 -2.799685)'))) / (select extract(epoch from '2026-07-10 07:13:14'::timestamp) - extract(epoch from '2026-07-10 07:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283333 -2.799653)'), GeomFromEWKT('SRID=4674;POINT (-40.283272 -2.799685)'))) / (select extract(epoch from '2026-07-10 07:13:14'::timestamp) - extract(epoch from '2026-07-10 07:13: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'), 47638, 'SRID=4674;POINT (-40.283183 -2.799696)', '2026-07-10 07:13:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283272 -2.799685)'), GeomFromEWKT('SRID=4674;POINT (-40.283183 -2.799696)'))) / (select extract(epoch from '2026-07-10 07:13:33'::timestamp) - extract(epoch from '2026-07-10 07:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283272 -2.799685)'), GeomFromEWKT('SRID=4674;POINT (-40.283183 -2.799696)'))) / (select extract(epoch from '2026-07-10 07:13:33'::timestamp) - extract(epoch from '2026-07-10 07: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'), 47638, 'SRID=4674;POINT (-40.283166 -2.799704)', '2026-07-10 07:13:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283183 -2.799696)'), GeomFromEWKT('SRID=4674;POINT (-40.283166 -2.799704)'))) / (select extract(epoch from '2026-07-10 07:13:45'::timestamp) - extract(epoch from '2026-07-10 07:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283183 -2.799696)'), GeomFromEWKT('SRID=4674;POINT (-40.283166 -2.799704)'))) / (select extract(epoch from '2026-07-10 07:13:45'::timestamp) - extract(epoch from '2026-07-10 07:13:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.283087 -2.799766)', '2026-07-10 07:14:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283166 -2.799704)'), GeomFromEWKT('SRID=4674;POINT (-40.283087 -2.799766)'))) / (select extract(epoch from '2026-07-10 07:14:50'::timestamp) - extract(epoch from '2026-07-10 07:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283166 -2.799704)'), GeomFromEWKT('SRID=4674;POINT (-40.283087 -2.799766)'))) / (select extract(epoch from '2026-07-10 07:14:50'::timestamp) - extract(epoch from '2026-07-10 07:13: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'), 47638, 'SRID=4674;POINT (-40.283034 -2.799803)', '2026-07-10 07:15:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283087 -2.799766)'), GeomFromEWKT('SRID=4674;POINT (-40.283034 -2.799803)'))) / (select extract(epoch from '2026-07-10 07:15:04'::timestamp) - extract(epoch from '2026-07-10 07:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283087 -2.799766)'), GeomFromEWKT('SRID=4674;POINT (-40.283034 -2.799803)'))) / (select extract(epoch from '2026-07-10 07:15:04'::timestamp) - extract(epoch from '2026-07-10 07:14:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.282945 -2.799856)', '2026-07-10 07:16:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283034 -2.799803)'), GeomFromEWKT('SRID=4674;POINT (-40.282945 -2.799856)'))) / (select extract(epoch from '2026-07-10 07:16:11'::timestamp) - extract(epoch from '2026-07-10 07:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283034 -2.799803)'), GeomFromEWKT('SRID=4674;POINT (-40.282945 -2.799856)'))) / (select extract(epoch from '2026-07-10 07:16:11'::timestamp) - extract(epoch from '2026-07-10 07:15:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.282888 -2.799858)', '2026-07-10 07:16:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282945 -2.799856)'), GeomFromEWKT('SRID=4674;POINT (-40.282888 -2.799858)'))) / (select extract(epoch from '2026-07-10 07:16:24'::timestamp) - extract(epoch from '2026-07-10 07:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282945 -2.799856)'), GeomFromEWKT('SRID=4674;POINT (-40.282888 -2.799858)'))) / (select extract(epoch from '2026-07-10 07:16:24'::timestamp) - extract(epoch from '2026-07-10 07:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.282857 -2.799869)', '2026-07-10 07:16:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282888 -2.799858)'), GeomFromEWKT('SRID=4674;POINT (-40.282857 -2.799869)'))) / (select extract(epoch from '2026-07-10 07:16:33'::timestamp) - extract(epoch from '2026-07-10 07:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282888 -2.799858)'), GeomFromEWKT('SRID=4674;POINT (-40.282857 -2.799869)'))) / (select extract(epoch from '2026-07-10 07:16:33'::timestamp) - extract(epoch from '2026-07-10 07:16: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'), 47638, 'SRID=4674;POINT (-40.282767 -2.799919)', '2026-07-10 07:17:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282857 -2.799869)'), GeomFromEWKT('SRID=4674;POINT (-40.282767 -2.799919)'))) / (select extract(epoch from '2026-07-10 07:17:07'::timestamp) - extract(epoch from '2026-07-10 07:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282857 -2.799869)'), GeomFromEWKT('SRID=4674;POINT (-40.282767 -2.799919)'))) / (select extract(epoch from '2026-07-10 07:17:07'::timestamp) - extract(epoch from '2026-07-10 07:16: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'), 47638, 'SRID=4674;POINT (-40.282687 -2.79993)', '2026-07-10 07:17:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282767 -2.799919)'), GeomFromEWKT('SRID=4674;POINT (-40.282687 -2.79993)'))) / (select extract(epoch from '2026-07-10 07:17:23'::timestamp) - extract(epoch from '2026-07-10 07:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282767 -2.799919)'), GeomFromEWKT('SRID=4674;POINT (-40.282687 -2.79993)'))) / (select extract(epoch from '2026-07-10 07:17:23'::timestamp) - extract(epoch from '2026-07-10 07: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'), 47638, 'SRID=4674;POINT (-40.282617 -2.799978)', '2026-07-10 07:17:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282687 -2.79993)'), GeomFromEWKT('SRID=4674;POINT (-40.282617 -2.799978)'))) / (select extract(epoch from '2026-07-10 07:17:38'::timestamp) - extract(epoch from '2026-07-10 07:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282687 -2.79993)'), GeomFromEWKT('SRID=4674;POINT (-40.282617 -2.799978)'))) / (select extract(epoch from '2026-07-10 07:17:38'::timestamp) - extract(epoch from '2026-07-10 07:17:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.282579 -2.800002)', '2026-07-10 07:17:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282617 -2.799978)'), GeomFromEWKT('SRID=4674;POINT (-40.282579 -2.800002)'))) / (select extract(epoch from '2026-07-10 07:17:51'::timestamp) - extract(epoch from '2026-07-10 07:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282617 -2.799978)'), GeomFromEWKT('SRID=4674;POINT (-40.282579 -2.800002)'))) / (select extract(epoch from '2026-07-10 07:17:51'::timestamp) - extract(epoch from '2026-07-10 07:17: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'), 47638, 'SRID=4674;POINT (-40.282504 -2.800025)', '2026-07-10 07:18:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282579 -2.800002)'), GeomFromEWKT('SRID=4674;POINT (-40.282504 -2.800025)'))) / (select extract(epoch from '2026-07-10 07:18:16'::timestamp) - extract(epoch from '2026-07-10 07:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282579 -2.800002)'), GeomFromEWKT('SRID=4674;POINT (-40.282504 -2.800025)'))) / (select extract(epoch from '2026-07-10 07:18:16'::timestamp) - extract(epoch from '2026-07-10 07:17:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.282405 -2.800073)', '2026-07-10 07:18:35', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282504 -2.800025)'), GeomFromEWKT('SRID=4674;POINT (-40.282405 -2.800073)'))) / (select extract(epoch from '2026-07-10 07:18:35'::timestamp) - extract(epoch from '2026-07-10 07:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282504 -2.800025)'), GeomFromEWKT('SRID=4674;POINT (-40.282405 -2.800073)'))) / (select extract(epoch from '2026-07-10 07:18:35'::timestamp) - extract(epoch from '2026-07-10 07:18: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'), 47638, 'SRID=4674;POINT (-40.282358 -2.800089)', '2026-07-10 07:18:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282405 -2.800073)'), GeomFromEWKT('SRID=4674;POINT (-40.282358 -2.800089)'))) / (select extract(epoch from '2026-07-10 07:18:47'::timestamp) - extract(epoch from '2026-07-10 07:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282405 -2.800073)'), GeomFromEWKT('SRID=4674;POINT (-40.282358 -2.800089)'))) / (select extract(epoch from '2026-07-10 07:18:47'::timestamp) - extract(epoch from '2026-07-10 07:18:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.282265 -2.800122)', '2026-07-10 07:19:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282358 -2.800089)'), GeomFromEWKT('SRID=4674;POINT (-40.282265 -2.800122)'))) / (select extract(epoch from '2026-07-10 07:19:18'::timestamp) - extract(epoch from '2026-07-10 07:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282358 -2.800089)'), GeomFromEWKT('SRID=4674;POINT (-40.282265 -2.800122)'))) / (select extract(epoch from '2026-07-10 07:19:18'::timestamp) - extract(epoch from '2026-07-10 07:18: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'), 47638, 'SRID=4674;POINT (-40.282163 -2.800163)', '2026-07-10 07:19:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282265 -2.800122)'), GeomFromEWKT('SRID=4674;POINT (-40.282163 -2.800163)'))) / (select extract(epoch from '2026-07-10 07:19:38'::timestamp) - extract(epoch from '2026-07-10 07:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282265 -2.800122)'), GeomFromEWKT('SRID=4674;POINT (-40.282163 -2.800163)'))) / (select extract(epoch from '2026-07-10 07:19:38'::timestamp) - extract(epoch from '2026-07-10 07:19:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.282076 -2.800197)', '2026-07-10 07:19:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282163 -2.800163)'), GeomFromEWKT('SRID=4674;POINT (-40.282076 -2.800197)'))) / (select extract(epoch from '2026-07-10 07:19:56'::timestamp) - extract(epoch from '2026-07-10 07:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282163 -2.800163)'), GeomFromEWKT('SRID=4674;POINT (-40.282076 -2.800197)'))) / (select extract(epoch from '2026-07-10 07:19:56'::timestamp) - extract(epoch from '2026-07-10 07:19:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.282038 -2.800224)', '2026-07-10 07:20:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282076 -2.800197)'), GeomFromEWKT('SRID=4674;POINT (-40.282038 -2.800224)'))) / (select extract(epoch from '2026-07-10 07:20:07'::timestamp) - extract(epoch from '2026-07-10 07:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282076 -2.800197)'), GeomFromEWKT('SRID=4674;POINT (-40.282038 -2.800224)'))) / (select extract(epoch from '2026-07-10 07:20:07'::timestamp) - extract(epoch from '2026-07-10 07: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'), 47638, 'SRID=4674;POINT (-40.281977 -2.800234)', '2026-07-10 07:20:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282038 -2.800224)'), GeomFromEWKT('SRID=4674;POINT (-40.281977 -2.800234)'))) / (select extract(epoch from '2026-07-10 07:20:26'::timestamp) - extract(epoch from '2026-07-10 07:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282038 -2.800224)'), GeomFromEWKT('SRID=4674;POINT (-40.281977 -2.800234)'))) / (select extract(epoch from '2026-07-10 07:20:26'::timestamp) - extract(epoch from '2026-07-10 07:20:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.281928 -2.800259)', '2026-07-10 07:20:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281977 -2.800234)'), GeomFromEWKT('SRID=4674;POINT (-40.281928 -2.800259)'))) / (select extract(epoch from '2026-07-10 07:20:41'::timestamp) - extract(epoch from '2026-07-10 07:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281977 -2.800234)'), GeomFromEWKT('SRID=4674;POINT (-40.281928 -2.800259)'))) / (select extract(epoch from '2026-07-10 07:20:41'::timestamp) - extract(epoch from '2026-07-10 07:20:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.28191 -2.80029)', '2026-07-10 07:20:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281928 -2.800259)'), GeomFromEWKT('SRID=4674;POINT (-40.28191 -2.80029)'))) / (select extract(epoch from '2026-07-10 07:20:53'::timestamp) - extract(epoch from '2026-07-10 07:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281928 -2.800259)'), GeomFromEWKT('SRID=4674;POINT (-40.28191 -2.80029)'))) / (select extract(epoch from '2026-07-10 07:20:53'::timestamp) - extract(epoch from '2026-07-10 07:20:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.281889 -2.800299)', '2026-07-10 07:21:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28191 -2.80029)'), GeomFromEWKT('SRID=4674;POINT (-40.281889 -2.800299)'))) / (select extract(epoch from '2026-07-10 07:21:04'::timestamp) - extract(epoch from '2026-07-10 07:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28191 -2.80029)'), GeomFromEWKT('SRID=4674;POINT (-40.281889 -2.800299)'))) / (select extract(epoch from '2026-07-10 07:21:04'::timestamp) - extract(epoch from '2026-07-10 07:20:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.281846 -2.800288)', '2026-07-10 07:21:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281889 -2.800299)'), GeomFromEWKT('SRID=4674;POINT (-40.281846 -2.800288)'))) / (select extract(epoch from '2026-07-10 07:21:19'::timestamp) - extract(epoch from '2026-07-10 07:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281889 -2.800299)'), GeomFromEWKT('SRID=4674;POINT (-40.281846 -2.800288)'))) / (select extract(epoch from '2026-07-10 07:21:19'::timestamp) - extract(epoch from '2026-07-10 07:21: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'), 47638, 'SRID=4674;POINT (-40.281777 -2.800306)', '2026-07-10 07:21:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281846 -2.800288)'), GeomFromEWKT('SRID=4674;POINT (-40.281777 -2.800306)'))) / (select extract(epoch from '2026-07-10 07:21:43'::timestamp) - extract(epoch from '2026-07-10 07:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281846 -2.800288)'), GeomFromEWKT('SRID=4674;POINT (-40.281777 -2.800306)'))) / (select extract(epoch from '2026-07-10 07:21:43'::timestamp) - extract(epoch from '2026-07-10 07:21: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'), 47638, 'SRID=4674;POINT (-40.281732 -2.800315)', '2026-07-10 07:21:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281777 -2.800306)'), GeomFromEWKT('SRID=4674;POINT (-40.281732 -2.800315)'))) / (select extract(epoch from '2026-07-10 07:21:54'::timestamp) - extract(epoch from '2026-07-10 07:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281777 -2.800306)'), GeomFromEWKT('SRID=4674;POINT (-40.281732 -2.800315)'))) / (select extract(epoch from '2026-07-10 07:21:54'::timestamp) - extract(epoch from '2026-07-10 07:21: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'), 47638, 'SRID=4674;POINT (-40.281724 -2.800321)', '2026-07-10 07:22:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281732 -2.800315)'), GeomFromEWKT('SRID=4674;POINT (-40.281724 -2.800321)'))) / (select extract(epoch from '2026-07-10 07:22:06'::timestamp) - extract(epoch from '2026-07-10 07:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281732 -2.800315)'), GeomFromEWKT('SRID=4674;POINT (-40.281724 -2.800321)'))) / (select extract(epoch from '2026-07-10 07:22:06'::timestamp) - extract(epoch from '2026-07-10 07:21:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.281662 -2.800355)', '2026-07-10 07:22:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281724 -2.800321)'), GeomFromEWKT('SRID=4674;POINT (-40.281662 -2.800355)'))) / (select extract(epoch from '2026-07-10 07:22:20'::timestamp) - extract(epoch from '2026-07-10 07:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281724 -2.800321)'), GeomFromEWKT('SRID=4674;POINT (-40.281662 -2.800355)'))) / (select extract(epoch from '2026-07-10 07:22:20'::timestamp) - extract(epoch from '2026-07-10 07:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.281606 -2.800405)', '2026-07-10 07:22:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281662 -2.800355)'), GeomFromEWKT('SRID=4674;POINT (-40.281606 -2.800405)'))) / (select extract(epoch from '2026-07-10 07:22:34'::timestamp) - extract(epoch from '2026-07-10 07:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281662 -2.800355)'), GeomFromEWKT('SRID=4674;POINT (-40.281606 -2.800405)'))) / (select extract(epoch from '2026-07-10 07:22:34'::timestamp) - extract(epoch from '2026-07-10 07:22: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'), 47638, 'SRID=4674;POINT (-40.281559 -2.800426)', '2026-07-10 07:22:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281606 -2.800405)'), GeomFromEWKT('SRID=4674;POINT (-40.281559 -2.800426)'))) / (select extract(epoch from '2026-07-10 07:22:48'::timestamp) - extract(epoch from '2026-07-10 07:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281606 -2.800405)'), GeomFromEWKT('SRID=4674;POINT (-40.281559 -2.800426)'))) / (select extract(epoch from '2026-07-10 07:22:48'::timestamp) - extract(epoch from '2026-07-10 07:22: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'), 47638, 'SRID=4674;POINT (-40.281625 -2.800421)', '2026-07-10 07:23:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281559 -2.800426)'), GeomFromEWKT('SRID=4674;POINT (-40.281625 -2.800421)'))) / (select extract(epoch from '2026-07-10 07:23:15'::timestamp) - extract(epoch from '2026-07-10 07:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281559 -2.800426)'), GeomFromEWKT('SRID=4674;POINT (-40.281625 -2.800421)'))) / (select extract(epoch from '2026-07-10 07:23:15'::timestamp) - extract(epoch from '2026-07-10 07:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.281673 -2.800432)', '2026-07-10 07:23:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281625 -2.800421)'), GeomFromEWKT('SRID=4674;POINT (-40.281673 -2.800432)'))) / (select extract(epoch from '2026-07-10 07:23:28'::timestamp) - extract(epoch from '2026-07-10 07:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281625 -2.800421)'), GeomFromEWKT('SRID=4674;POINT (-40.281673 -2.800432)'))) / (select extract(epoch from '2026-07-10 07:23:28'::timestamp) - extract(epoch from '2026-07-10 07:23: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'), 47638, 'SRID=4674;POINT (-40.281729 -2.800445)', '2026-07-10 07:23:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281673 -2.800432)'), GeomFromEWKT('SRID=4674;POINT (-40.281729 -2.800445)'))) / (select extract(epoch from '2026-07-10 07:23:44'::timestamp) - extract(epoch from '2026-07-10 07:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281673 -2.800432)'), GeomFromEWKT('SRID=4674;POINT (-40.281729 -2.800445)'))) / (select extract(epoch from '2026-07-10 07:23:44'::timestamp) - extract(epoch from '2026-07-10 07:23:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.281761 -2.800447)', '2026-07-10 07:23:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281729 -2.800445)'), GeomFromEWKT('SRID=4674;POINT (-40.281761 -2.800447)'))) / (select extract(epoch from '2026-07-10 07:23:55'::timestamp) - extract(epoch from '2026-07-10 07:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281729 -2.800445)'), GeomFromEWKT('SRID=4674;POINT (-40.281761 -2.800447)'))) / (select extract(epoch from '2026-07-10 07:23:55'::timestamp) - extract(epoch from '2026-07-10 07:23: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'), 47638, 'SRID=4674;POINT (-40.281783 -2.800459)', '2026-07-10 07:24:02', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281761 -2.800447)'), GeomFromEWKT('SRID=4674;POINT (-40.281783 -2.800459)'))) / (select extract(epoch from '2026-07-10 07:24:02'::timestamp) - extract(epoch from '2026-07-10 07:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281761 -2.800447)'), GeomFromEWKT('SRID=4674;POINT (-40.281783 -2.800459)'))) / (select extract(epoch from '2026-07-10 07:24:02'::timestamp) - extract(epoch from '2026-07-10 07:23:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.281816 -2.800461)', '2026-07-10 07:24:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281783 -2.800459)'), GeomFromEWKT('SRID=4674;POINT (-40.281816 -2.800461)'))) / (select extract(epoch from '2026-07-10 07:24:14'::timestamp) - extract(epoch from '2026-07-10 07:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281783 -2.800459)'), GeomFromEWKT('SRID=4674;POINT (-40.281816 -2.800461)'))) / (select extract(epoch from '2026-07-10 07:24:14'::timestamp) - extract(epoch from '2026-07-10 07:24: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'), 47638, 'SRID=4674;POINT (-40.281901 -2.800427)', '2026-07-10 07:24:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281816 -2.800461)'), GeomFromEWKT('SRID=4674;POINT (-40.281901 -2.800427)'))) / (select extract(epoch from '2026-07-10 07:24:45'::timestamp) - extract(epoch from '2026-07-10 07:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281816 -2.800461)'), GeomFromEWKT('SRID=4674;POINT (-40.281901 -2.800427)'))) / (select extract(epoch from '2026-07-10 07:24:45'::timestamp) - extract(epoch from '2026-07-10 07:24: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'), 47638, 'SRID=4674;POINT (-40.281995 -2.800402)', '2026-07-10 07:25:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281901 -2.800427)'), GeomFromEWKT('SRID=4674;POINT (-40.281995 -2.800402)'))) / (select extract(epoch from '2026-07-10 07:25:24'::timestamp) - extract(epoch from '2026-07-10 07:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281901 -2.800427)'), GeomFromEWKT('SRID=4674;POINT (-40.281995 -2.800402)'))) / (select extract(epoch from '2026-07-10 07:25:24'::timestamp) - extract(epoch from '2026-07-10 07:24: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'), 47638, 'SRID=4674;POINT (-40.282092 -2.800376)', '2026-07-10 07:26:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281995 -2.800402)'), GeomFromEWKT('SRID=4674;POINT (-40.282092 -2.800376)'))) / (select extract(epoch from '2026-07-10 07:26:01'::timestamp) - extract(epoch from '2026-07-10 07:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.281995 -2.800402)'), GeomFromEWKT('SRID=4674;POINT (-40.282092 -2.800376)'))) / (select extract(epoch from '2026-07-10 07:26:01'::timestamp) - extract(epoch from '2026-07-10 07:25:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.282182 -2.800334)', '2026-07-10 07:26:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282092 -2.800376)'), GeomFromEWKT('SRID=4674;POINT (-40.282182 -2.800334)'))) / (select extract(epoch from '2026-07-10 07:26:37'::timestamp) - extract(epoch from '2026-07-10 07:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282092 -2.800376)'), GeomFromEWKT('SRID=4674;POINT (-40.282182 -2.800334)'))) / (select extract(epoch from '2026-07-10 07:26:37'::timestamp) - extract(epoch from '2026-07-10 07:26: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'), 47638, 'SRID=4674;POINT (-40.282276 -2.800293)', '2026-07-10 07:27:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282182 -2.800334)'), GeomFromEWKT('SRID=4674;POINT (-40.282276 -2.800293)'))) / (select extract(epoch from '2026-07-10 07:27:19'::timestamp) - extract(epoch from '2026-07-10 07:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282182 -2.800334)'), GeomFromEWKT('SRID=4674;POINT (-40.282276 -2.800293)'))) / (select extract(epoch from '2026-07-10 07:27:19'::timestamp) - extract(epoch from '2026-07-10 07:26: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'), 47638, 'SRID=4674;POINT (-40.282333 -2.800231)', '2026-07-10 07:27:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282276 -2.800293)'), GeomFromEWKT('SRID=4674;POINT (-40.282333 -2.800231)'))) / (select extract(epoch from '2026-07-10 07:27:32'::timestamp) - extract(epoch from '2026-07-10 07:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282276 -2.800293)'), GeomFromEWKT('SRID=4674;POINT (-40.282333 -2.800231)'))) / (select extract(epoch from '2026-07-10 07:27:32'::timestamp) - extract(epoch from '2026-07-10 07:27: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'), 47638, 'SRID=4674;POINT (-40.282426 -2.800158)', '2026-07-10 07:27:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282333 -2.800231)'), GeomFromEWKT('SRID=4674;POINT (-40.282426 -2.800158)'))) / (select extract(epoch from '2026-07-10 07:27:47'::timestamp) - extract(epoch from '2026-07-10 07:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282333 -2.800231)'), GeomFromEWKT('SRID=4674;POINT (-40.282426 -2.800158)'))) / (select extract(epoch from '2026-07-10 07:27:47'::timestamp) - extract(epoch from '2026-07-10 07:27: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'), 47638, 'SRID=4674;POINT (-40.282537 -2.800122)', '2026-07-10 07:28:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282426 -2.800158)'), GeomFromEWKT('SRID=4674;POINT (-40.282537 -2.800122)'))) / (select extract(epoch from '2026-07-10 07:28:00'::timestamp) - extract(epoch from '2026-07-10 07:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282426 -2.800158)'), GeomFromEWKT('SRID=4674;POINT (-40.282537 -2.800122)'))) / (select extract(epoch from '2026-07-10 07:28:00'::timestamp) - extract(epoch from '2026-07-10 07:27: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'), 47638, 'SRID=4674;POINT (-40.282652 -2.800104)', '2026-07-10 07:28:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282537 -2.800122)'), GeomFromEWKT('SRID=4674;POINT (-40.282652 -2.800104)'))) / (select extract(epoch from '2026-07-10 07:28:13'::timestamp) - extract(epoch from '2026-07-10 07:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282537 -2.800122)'), GeomFromEWKT('SRID=4674;POINT (-40.282652 -2.800104)'))) / (select extract(epoch from '2026-07-10 07:28:13'::timestamp) - extract(epoch from '2026-07-10 07:28: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'), 47638, 'SRID=4674;POINT (-40.282736 -2.800103)', '2026-07-10 07:28:23', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282652 -2.800104)'), GeomFromEWKT('SRID=4674;POINT (-40.282736 -2.800103)'))) / (select extract(epoch from '2026-07-10 07:28:23'::timestamp) - extract(epoch from '2026-07-10 07:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282652 -2.800104)'), GeomFromEWKT('SRID=4674;POINT (-40.282736 -2.800103)'))) / (select extract(epoch from '2026-07-10 07:28:23'::timestamp) - extract(epoch from '2026-07-10 07:28: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'), 47638, 'SRID=4674;POINT (-40.282808 -2.800094)', '2026-07-10 07:28:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282736 -2.800103)'), GeomFromEWKT('SRID=4674;POINT (-40.282808 -2.800094)'))) / (select extract(epoch from '2026-07-10 07:28:31'::timestamp) - extract(epoch from '2026-07-10 07:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282736 -2.800103)'), GeomFromEWKT('SRID=4674;POINT (-40.282808 -2.800094)'))) / (select extract(epoch from '2026-07-10 07:28:31'::timestamp) - extract(epoch from '2026-07-10 07:28: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'), 47638, 'SRID=4674;POINT (-40.282871 -2.800096)', '2026-07-10 07:28:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282808 -2.800094)'), GeomFromEWKT('SRID=4674;POINT (-40.282871 -2.800096)'))) / (select extract(epoch from '2026-07-10 07:28:38'::timestamp) - extract(epoch from '2026-07-10 07:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282808 -2.800094)'), GeomFromEWKT('SRID=4674;POINT (-40.282871 -2.800096)'))) / (select extract(epoch from '2026-07-10 07:28:38'::timestamp) - extract(epoch from '2026-07-10 07:28:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.282946 -2.800108)', '2026-07-10 07:28:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282871 -2.800096)'), GeomFromEWKT('SRID=4674;POINT (-40.282946 -2.800108)'))) / (select extract(epoch from '2026-07-10 07:28:47'::timestamp) - extract(epoch from '2026-07-10 07:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282871 -2.800096)'), GeomFromEWKT('SRID=4674;POINT (-40.282946 -2.800108)'))) / (select extract(epoch from '2026-07-10 07:28:47'::timestamp) - extract(epoch from '2026-07-10 07:28: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'), 47638, 'SRID=4674;POINT (-40.283009 -2.800122)', '2026-07-10 07:28:58', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282946 -2.800108)'), GeomFromEWKT('SRID=4674;POINT (-40.283009 -2.800122)'))) / (select extract(epoch from '2026-07-10 07:28:58'::timestamp) - extract(epoch from '2026-07-10 07:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.282946 -2.800108)'), GeomFromEWKT('SRID=4674;POINT (-40.283009 -2.800122)'))) / (select extract(epoch from '2026-07-10 07:28:58'::timestamp) - extract(epoch from '2026-07-10 07:28: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'), 47638, 'SRID=4674;POINT (-40.283062 -2.800126)', '2026-07-10 07:29:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283009 -2.800122)'), GeomFromEWKT('SRID=4674;POINT (-40.283062 -2.800126)'))) / (select extract(epoch from '2026-07-10 07:29:12'::timestamp) - extract(epoch from '2026-07-10 07:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283009 -2.800122)'), GeomFromEWKT('SRID=4674;POINT (-40.283062 -2.800126)'))) / (select extract(epoch from '2026-07-10 07:29:12'::timestamp) - extract(epoch from '2026-07-10 07:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.283086 -2.80013)', '2026-07-10 07:29:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283062 -2.800126)'), GeomFromEWKT('SRID=4674;POINT (-40.283086 -2.80013)'))) / (select extract(epoch from '2026-07-10 07:29:20'::timestamp) - extract(epoch from '2026-07-10 07:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283062 -2.800126)'), GeomFromEWKT('SRID=4674;POINT (-40.283086 -2.80013)'))) / (select extract(epoch from '2026-07-10 07:29:20'::timestamp) - extract(epoch from '2026-07-10 07:29: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'), 47638, 'SRID=4674;POINT (-40.283129 -2.800147)', '2026-07-10 07:29:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283086 -2.80013)'), GeomFromEWKT('SRID=4674;POINT (-40.283129 -2.800147)'))) / (select extract(epoch from '2026-07-10 07:29:37'::timestamp) - extract(epoch from '2026-07-10 07:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283086 -2.80013)'), GeomFromEWKT('SRID=4674;POINT (-40.283129 -2.800147)'))) / (select extract(epoch from '2026-07-10 07:29:37'::timestamp) - extract(epoch from '2026-07-10 07:29: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'), 47638, 'SRID=4674;POINT (-40.28314 -2.800148)', '2026-07-10 07:29:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283129 -2.800147)'), GeomFromEWKT('SRID=4674;POINT (-40.28314 -2.800148)'))) / (select extract(epoch from '2026-07-10 07:29:39'::timestamp) - extract(epoch from '2026-07-10 07:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283129 -2.800147)'), GeomFromEWKT('SRID=4674;POINT (-40.28314 -2.800148)'))) / (select extract(epoch from '2026-07-10 07:29:39'::timestamp) - extract(epoch from '2026-07-10 07:29:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.283184 -2.80015)', '2026-07-10 07:29:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28314 -2.800148)'), GeomFromEWKT('SRID=4674;POINT (-40.283184 -2.80015)'))) / (select extract(epoch from '2026-07-10 07:29:48'::timestamp) - extract(epoch from '2026-07-10 07:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28314 -2.800148)'), GeomFromEWKT('SRID=4674;POINT (-40.283184 -2.80015)'))) / (select extract(epoch from '2026-07-10 07:29:48'::timestamp) - extract(epoch from '2026-07-10 07:29:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.283267 -2.800188)', '2026-07-10 07:30:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283184 -2.80015)'), GeomFromEWKT('SRID=4674;POINT (-40.283267 -2.800188)'))) / (select extract(epoch from '2026-07-10 07:30:04'::timestamp) - extract(epoch from '2026-07-10 07:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283184 -2.80015)'), GeomFromEWKT('SRID=4674;POINT (-40.283267 -2.800188)'))) / (select extract(epoch from '2026-07-10 07:30:04'::timestamp) - extract(epoch from '2026-07-10 07:29:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.283347 -2.800267)', '2026-07-10 07:30:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283267 -2.800188)'), GeomFromEWKT('SRID=4674;POINT (-40.283347 -2.800267)'))) / (select extract(epoch from '2026-07-10 07:30:19'::timestamp) - extract(epoch from '2026-07-10 07:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283267 -2.800188)'), GeomFromEWKT('SRID=4674;POINT (-40.283347 -2.800267)'))) / (select extract(epoch from '2026-07-10 07:30:19'::timestamp) - extract(epoch from '2026-07-10 07:30:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.283411 -2.800349)', '2026-07-10 07:30:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283347 -2.800267)'), GeomFromEWKT('SRID=4674;POINT (-40.283411 -2.800349)'))) / (select extract(epoch from '2026-07-10 07:30:27'::timestamp) - extract(epoch from '2026-07-10 07:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283347 -2.800267)'), GeomFromEWKT('SRID=4674;POINT (-40.283411 -2.800349)'))) / (select extract(epoch from '2026-07-10 07:30:27'::timestamp) - extract(epoch from '2026-07-10 07:30:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.283518 -2.800433)', '2026-07-10 07:30:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283411 -2.800349)'), GeomFromEWKT('SRID=4674;POINT (-40.283518 -2.800433)'))) / (select extract(epoch from '2026-07-10 07:30:35'::timestamp) - extract(epoch from '2026-07-10 07:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283411 -2.800349)'), GeomFromEWKT('SRID=4674;POINT (-40.283518 -2.800433)'))) / (select extract(epoch from '2026-07-10 07:30:35'::timestamp) - extract(epoch from '2026-07-10 07:30: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'), 47638, 'SRID=4674;POINT (-40.283664 -2.800494)', '2026-07-10 07:30:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283518 -2.800433)'), GeomFromEWKT('SRID=4674;POINT (-40.283664 -2.800494)'))) / (select extract(epoch from '2026-07-10 07:30:42'::timestamp) - extract(epoch from '2026-07-10 07:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283518 -2.800433)'), GeomFromEWKT('SRID=4674;POINT (-40.283664 -2.800494)'))) / (select extract(epoch from '2026-07-10 07:30:42'::timestamp) - extract(epoch from '2026-07-10 07:30: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'), 47638, 'SRID=4674;POINT (-40.283874 -2.800509)', '2026-07-10 07:30:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283664 -2.800494)'), GeomFromEWKT('SRID=4674;POINT (-40.283874 -2.800509)'))) / (select extract(epoch from '2026-07-10 07:30:50'::timestamp) - extract(epoch from '2026-07-10 07:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283664 -2.800494)'), GeomFromEWKT('SRID=4674;POINT (-40.283874 -2.800509)'))) / (select extract(epoch from '2026-07-10 07:30:50'::timestamp) - extract(epoch from '2026-07-10 07:30: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'), 47638, 'SRID=4674;POINT (-40.28405 -2.800466)', '2026-07-10 07:30:57', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283874 -2.800509)'), GeomFromEWKT('SRID=4674;POINT (-40.28405 -2.800466)'))) / (select extract(epoch from '2026-07-10 07:30:57'::timestamp) - extract(epoch from '2026-07-10 07:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.283874 -2.800509)'), GeomFromEWKT('SRID=4674;POINT (-40.28405 -2.800466)'))) / (select extract(epoch from '2026-07-10 07:30:57'::timestamp) - extract(epoch from '2026-07-10 07:30: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'), 47638, 'SRID=4674;POINT (-40.284244 -2.800406)', '2026-07-10 07:31:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28405 -2.800466)'), GeomFromEWKT('SRID=4674;POINT (-40.284244 -2.800406)'))) / (select extract(epoch from '2026-07-10 07:31:05'::timestamp) - extract(epoch from '2026-07-10 07:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28405 -2.800466)'), GeomFromEWKT('SRID=4674;POINT (-40.284244 -2.800406)'))) / (select extract(epoch from '2026-07-10 07:31:05'::timestamp) - extract(epoch from '2026-07-10 07:30:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.284403 -2.800359)', '2026-07-10 07:31:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284244 -2.800406)'), GeomFromEWKT('SRID=4674;POINT (-40.284403 -2.800359)'))) / (select extract(epoch from '2026-07-10 07:31:12'::timestamp) - extract(epoch from '2026-07-10 07:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284244 -2.800406)'), GeomFromEWKT('SRID=4674;POINT (-40.284403 -2.800359)'))) / (select extract(epoch from '2026-07-10 07:31:12'::timestamp) - extract(epoch from '2026-07-10 07:31:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.284582 -2.800303)', '2026-07-10 07:31:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284403 -2.800359)'), GeomFromEWKT('SRID=4674;POINT (-40.284582 -2.800303)'))) / (select extract(epoch from '2026-07-10 07:31:20'::timestamp) - extract(epoch from '2026-07-10 07:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284403 -2.800359)'), GeomFromEWKT('SRID=4674;POINT (-40.284582 -2.800303)'))) / (select extract(epoch from '2026-07-10 07:31:20'::timestamp) - extract(epoch from '2026-07-10 07:31: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'), 47638, 'SRID=4674;POINT (-40.284725 -2.800264)', '2026-07-10 07:31:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284582 -2.800303)'), GeomFromEWKT('SRID=4674;POINT (-40.284725 -2.800264)'))) / (select extract(epoch from '2026-07-10 07:31:26'::timestamp) - extract(epoch from '2026-07-10 07:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284582 -2.800303)'), GeomFromEWKT('SRID=4674;POINT (-40.284725 -2.800264)'))) / (select extract(epoch from '2026-07-10 07:31:26'::timestamp) - extract(epoch from '2026-07-10 07:31:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.284846 -2.80023)', '2026-07-10 07:31:31', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284725 -2.800264)'), GeomFromEWKT('SRID=4674;POINT (-40.284846 -2.80023)'))) / (select extract(epoch from '2026-07-10 07:31:31'::timestamp) - extract(epoch from '2026-07-10 07:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284725 -2.800264)'), GeomFromEWKT('SRID=4674;POINT (-40.284846 -2.80023)'))) / (select extract(epoch from '2026-07-10 07:31:31'::timestamp) - extract(epoch from '2026-07-10 07:31: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'), 47638, 'SRID=4674;POINT (-40.284986 -2.800183)', '2026-07-10 07:31:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284846 -2.80023)'), GeomFromEWKT('SRID=4674;POINT (-40.284986 -2.800183)'))) / (select extract(epoch from '2026-07-10 07:31:37'::timestamp) - extract(epoch from '2026-07-10 07:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284846 -2.80023)'), GeomFromEWKT('SRID=4674;POINT (-40.284986 -2.800183)'))) / (select extract(epoch from '2026-07-10 07:31:37'::timestamp) - extract(epoch from '2026-07-10 07:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.285229 -2.800128)', '2026-07-10 07:31:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284986 -2.800183)'), GeomFromEWKT('SRID=4674;POINT (-40.285229 -2.800128)'))) / (select extract(epoch from '2026-07-10 07:31:47'::timestamp) - extract(epoch from '2026-07-10 07:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.284986 -2.800183)'), GeomFromEWKT('SRID=4674;POINT (-40.285229 -2.800128)'))) / (select extract(epoch from '2026-07-10 07:31:47'::timestamp) - extract(epoch from '2026-07-10 07:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.285398 -2.800084)', '2026-07-10 07:31:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285229 -2.800128)'), GeomFromEWKT('SRID=4674;POINT (-40.285398 -2.800084)'))) / (select extract(epoch from '2026-07-10 07:31:54'::timestamp) - extract(epoch from '2026-07-10 07:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285229 -2.800128)'), GeomFromEWKT('SRID=4674;POINT (-40.285398 -2.800084)'))) / (select extract(epoch from '2026-07-10 07:31:54'::timestamp) - extract(epoch from '2026-07-10 07:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.285554 -2.800019)', '2026-07-10 07:32:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285398 -2.800084)'), GeomFromEWKT('SRID=4674;POINT (-40.285554 -2.800019)'))) / (select extract(epoch from '2026-07-10 07:32:01'::timestamp) - extract(epoch from '2026-07-10 07:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285398 -2.800084)'), GeomFromEWKT('SRID=4674;POINT (-40.285554 -2.800019)'))) / (select extract(epoch from '2026-07-10 07:32:01'::timestamp) - extract(epoch from '2026-07-10 07:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.285742 -2.799956)', '2026-07-10 07:32:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285554 -2.800019)'), GeomFromEWKT('SRID=4674;POINT (-40.285742 -2.799956)'))) / (select extract(epoch from '2026-07-10 07:32:09'::timestamp) - extract(epoch from '2026-07-10 07:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285554 -2.800019)'), GeomFromEWKT('SRID=4674;POINT (-40.285742 -2.799956)'))) / (select extract(epoch from '2026-07-10 07:32:09'::timestamp) - extract(epoch from '2026-07-10 07:32: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'), 47638, 'SRID=4674;POINT (-40.285949 -2.799892)', '2026-07-10 07:32:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285742 -2.799956)'), GeomFromEWKT('SRID=4674;POINT (-40.285949 -2.799892)'))) / (select extract(epoch from '2026-07-10 07:32:18'::timestamp) - extract(epoch from '2026-07-10 07:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285742 -2.799956)'), GeomFromEWKT('SRID=4674;POINT (-40.285949 -2.799892)'))) / (select extract(epoch from '2026-07-10 07:32:18'::timestamp) - extract(epoch from '2026-07-10 07:32: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'), 47638, 'SRID=4674;POINT (-40.286113 -2.799848)', '2026-07-10 07:32:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285949 -2.799892)'), GeomFromEWKT('SRID=4674;POINT (-40.286113 -2.799848)'))) / (select extract(epoch from '2026-07-10 07:32:25'::timestamp) - extract(epoch from '2026-07-10 07:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.285949 -2.799892)'), GeomFromEWKT('SRID=4674;POINT (-40.286113 -2.799848)'))) / (select extract(epoch from '2026-07-10 07:32:25'::timestamp) - extract(epoch from '2026-07-10 07:32: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'), 47638, 'SRID=4674;POINT (-40.28631 -2.799787)', '2026-07-10 07:32:34', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286113 -2.799848)'), GeomFromEWKT('SRID=4674;POINT (-40.28631 -2.799787)'))) / (select extract(epoch from '2026-07-10 07:32:34'::timestamp) - extract(epoch from '2026-07-10 07:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286113 -2.799848)'), GeomFromEWKT('SRID=4674;POINT (-40.28631 -2.799787)'))) / (select extract(epoch from '2026-07-10 07:32:34'::timestamp) - extract(epoch from '2026-07-10 07:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.286523 -2.799775)', '2026-07-10 07:32:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28631 -2.799787)'), GeomFromEWKT('SRID=4674;POINT (-40.286523 -2.799775)'))) / (select extract(epoch from '2026-07-10 07:32:43'::timestamp) - extract(epoch from '2026-07-10 07:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28631 -2.799787)'), GeomFromEWKT('SRID=4674;POINT (-40.286523 -2.799775)'))) / (select extract(epoch from '2026-07-10 07:32:43'::timestamp) - extract(epoch from '2026-07-10 07:32: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'), 47638, 'SRID=4674;POINT (-40.286659 -2.799737)', '2026-07-10 07:32:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286523 -2.799775)'), GeomFromEWKT('SRID=4674;POINT (-40.286659 -2.799737)'))) / (select extract(epoch from '2026-07-10 07:32:49'::timestamp) - extract(epoch from '2026-07-10 07:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286523 -2.799775)'), GeomFromEWKT('SRID=4674;POINT (-40.286659 -2.799737)'))) / (select extract(epoch from '2026-07-10 07:32:49'::timestamp) - extract(epoch from '2026-07-10 07:32: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'), 47638, 'SRID=4674;POINT (-40.286822 -2.799701)', '2026-07-10 07:32:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286659 -2.799737)'), GeomFromEWKT('SRID=4674;POINT (-40.286822 -2.799701)'))) / (select extract(epoch from '2026-07-10 07:32:57'::timestamp) - extract(epoch from '2026-07-10 07:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286659 -2.799737)'), GeomFromEWKT('SRID=4674;POINT (-40.286822 -2.799701)'))) / (select extract(epoch from '2026-07-10 07:32:57'::timestamp) - extract(epoch from '2026-07-10 07:32: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'), 47638, 'SRID=4674;POINT (-40.286978 -2.799654)', '2026-07-10 07:33:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286822 -2.799701)'), GeomFromEWKT('SRID=4674;POINT (-40.286978 -2.799654)'))) / (select extract(epoch from '2026-07-10 07:33:05'::timestamp) - extract(epoch from '2026-07-10 07:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286822 -2.799701)'), GeomFromEWKT('SRID=4674;POINT (-40.286978 -2.799654)'))) / (select extract(epoch from '2026-07-10 07:33:05'::timestamp) - extract(epoch from '2026-07-10 07:32: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'), 47638, 'SRID=4674;POINT (-40.287129 -2.799597)', '2026-07-10 07:33:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286978 -2.799654)'), GeomFromEWKT('SRID=4674;POINT (-40.287129 -2.799597)'))) / (select extract(epoch from '2026-07-10 07:33:13'::timestamp) - extract(epoch from '2026-07-10 07:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.286978 -2.799654)'), GeomFromEWKT('SRID=4674;POINT (-40.287129 -2.799597)'))) / (select extract(epoch from '2026-07-10 07:33:13'::timestamp) - extract(epoch from '2026-07-10 07:33:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.28724 -2.79956)', '2026-07-10 07:33:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287129 -2.799597)'), GeomFromEWKT('SRID=4674;POINT (-40.28724 -2.79956)'))) / (select extract(epoch from '2026-07-10 07:33:19'::timestamp) - extract(epoch from '2026-07-10 07:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287129 -2.799597)'), GeomFromEWKT('SRID=4674;POINT (-40.28724 -2.79956)'))) / (select extract(epoch from '2026-07-10 07:33:19'::timestamp) - extract(epoch from '2026-07-10 07:33:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.287363 -2.799518)', '2026-07-10 07:33:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28724 -2.79956)'), GeomFromEWKT('SRID=4674;POINT (-40.287363 -2.799518)'))) / (select extract(epoch from '2026-07-10 07:33:26'::timestamp) - extract(epoch from '2026-07-10 07:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28724 -2.79956)'), GeomFromEWKT('SRID=4674;POINT (-40.287363 -2.799518)'))) / (select extract(epoch from '2026-07-10 07:33:26'::timestamp) - extract(epoch from '2026-07-10 07:33:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.287512 -2.79945)', '2026-07-10 07:33:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287363 -2.799518)'), GeomFromEWKT('SRID=4674;POINT (-40.287512 -2.79945)'))) / (select extract(epoch from '2026-07-10 07:33:35'::timestamp) - extract(epoch from '2026-07-10 07:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287363 -2.799518)'), GeomFromEWKT('SRID=4674;POINT (-40.287512 -2.79945)'))) / (select extract(epoch from '2026-07-10 07:33:35'::timestamp) - extract(epoch from '2026-07-10 07:33: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'), 47638, 'SRID=4674;POINT (-40.287626 -2.799402)', '2026-07-10 07:33:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287512 -2.79945)'), GeomFromEWKT('SRID=4674;POINT (-40.287626 -2.799402)'))) / (select extract(epoch from '2026-07-10 07:33:42'::timestamp) - extract(epoch from '2026-07-10 07:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287512 -2.79945)'), GeomFromEWKT('SRID=4674;POINT (-40.287626 -2.799402)'))) / (select extract(epoch from '2026-07-10 07:33:42'::timestamp) - extract(epoch from '2026-07-10 07:33: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'), 47638, 'SRID=4674;POINT (-40.287752 -2.799344)', '2026-07-10 07:33:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287626 -2.799402)'), GeomFromEWKT('SRID=4674;POINT (-40.287752 -2.799344)'))) / (select extract(epoch from '2026-07-10 07:33:50'::timestamp) - extract(epoch from '2026-07-10 07:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287626 -2.799402)'), GeomFromEWKT('SRID=4674;POINT (-40.287752 -2.799344)'))) / (select extract(epoch from '2026-07-10 07:33:50'::timestamp) - extract(epoch from '2026-07-10 07:33:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.287886 -2.799293)', '2026-07-10 07:33:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287752 -2.799344)'), GeomFromEWKT('SRID=4674;POINT (-40.287886 -2.799293)'))) / (select extract(epoch from '2026-07-10 07:33:58'::timestamp) - extract(epoch from '2026-07-10 07:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287752 -2.799344)'), GeomFromEWKT('SRID=4674;POINT (-40.287886 -2.799293)'))) / (select extract(epoch from '2026-07-10 07:33:58'::timestamp) - extract(epoch from '2026-07-10 07:33:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.288008 -2.799247)', '2026-07-10 07:34:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287886 -2.799293)'), GeomFromEWKT('SRID=4674;POINT (-40.288008 -2.799247)'))) / (select extract(epoch from '2026-07-10 07:34:05'::timestamp) - extract(epoch from '2026-07-10 07:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.287886 -2.799293)'), GeomFromEWKT('SRID=4674;POINT (-40.288008 -2.799247)'))) / (select extract(epoch from '2026-07-10 07:34:05'::timestamp) - extract(epoch from '2026-07-10 07:33: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'), 47638, 'SRID=4674;POINT (-40.288131 -2.799192)', '2026-07-10 07:34:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288008 -2.799247)'), GeomFromEWKT('SRID=4674;POINT (-40.288131 -2.799192)'))) / (select extract(epoch from '2026-07-10 07:34:12'::timestamp) - extract(epoch from '2026-07-10 07:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288008 -2.799247)'), GeomFromEWKT('SRID=4674;POINT (-40.288131 -2.799192)'))) / (select extract(epoch from '2026-07-10 07:34:12'::timestamp) - extract(epoch from '2026-07-10 07:34: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'), 47638, 'SRID=4674;POINT (-40.288214 -2.799142)', '2026-07-10 07:34:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288131 -2.799192)'), GeomFromEWKT('SRID=4674;POINT (-40.288214 -2.799142)'))) / (select extract(epoch from '2026-07-10 07:34:17'::timestamp) - extract(epoch from '2026-07-10 07:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288131 -2.799192)'), GeomFromEWKT('SRID=4674;POINT (-40.288214 -2.799142)'))) / (select extract(epoch from '2026-07-10 07:34:17'::timestamp) - extract(epoch from '2026-07-10 07:34:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.288303 -2.799092)', '2026-07-10 07:34:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288214 -2.799142)'), GeomFromEWKT('SRID=4674;POINT (-40.288303 -2.799092)'))) / (select extract(epoch from '2026-07-10 07:34:22'::timestamp) - extract(epoch from '2026-07-10 07:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288214 -2.799142)'), GeomFromEWKT('SRID=4674;POINT (-40.288303 -2.799092)'))) / (select extract(epoch from '2026-07-10 07:34:22'::timestamp) - extract(epoch from '2026-07-10 07:34: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'), 47638, 'SRID=4674;POINT (-40.288426 -2.799011)', '2026-07-10 07:34:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288303 -2.799092)'), GeomFromEWKT('SRID=4674;POINT (-40.288426 -2.799011)'))) / (select extract(epoch from '2026-07-10 07:34:29'::timestamp) - extract(epoch from '2026-07-10 07:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288303 -2.799092)'), GeomFromEWKT('SRID=4674;POINT (-40.288426 -2.799011)'))) / (select extract(epoch from '2026-07-10 07:34:29'::timestamp) - extract(epoch from '2026-07-10 07:34: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'), 47638, 'SRID=4674;POINT (-40.288569 -2.798924)', '2026-07-10 07:34:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288426 -2.799011)'), GeomFromEWKT('SRID=4674;POINT (-40.288569 -2.798924)'))) / (select extract(epoch from '2026-07-10 07:34:37'::timestamp) - extract(epoch from '2026-07-10 07:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288426 -2.799011)'), GeomFromEWKT('SRID=4674;POINT (-40.288569 -2.798924)'))) / (select extract(epoch from '2026-07-10 07:34:37'::timestamp) - extract(epoch from '2026-07-10 07:34:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.288679 -2.798861)', '2026-07-10 07:34:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288569 -2.798924)'), GeomFromEWKT('SRID=4674;POINT (-40.288679 -2.798861)'))) / (select extract(epoch from '2026-07-10 07:34:43'::timestamp) - extract(epoch from '2026-07-10 07:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288569 -2.798924)'), GeomFromEWKT('SRID=4674;POINT (-40.288679 -2.798861)'))) / (select extract(epoch from '2026-07-10 07:34:43'::timestamp) - extract(epoch from '2026-07-10 07:34:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.288868 -2.79875)', '2026-07-10 07:34:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288679 -2.798861)'), GeomFromEWKT('SRID=4674;POINT (-40.288868 -2.79875)'))) / (select extract(epoch from '2026-07-10 07:34:53'::timestamp) - extract(epoch from '2026-07-10 07:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288679 -2.798861)'), GeomFromEWKT('SRID=4674;POINT (-40.288868 -2.79875)'))) / (select extract(epoch from '2026-07-10 07:34:53'::timestamp) - extract(epoch from '2026-07-10 07:34: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'), 47638, 'SRID=4674;POINT (-40.28901 -2.798685)', '2026-07-10 07:35:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288868 -2.79875)'), GeomFromEWKT('SRID=4674;POINT (-40.28901 -2.798685)'))) / (select extract(epoch from '2026-07-10 07:35:00'::timestamp) - extract(epoch from '2026-07-10 07:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.288868 -2.79875)'), GeomFromEWKT('SRID=4674;POINT (-40.28901 -2.798685)'))) / (select extract(epoch from '2026-07-10 07:35:00'::timestamp) - extract(epoch from '2026-07-10 07:34: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'), 47638, 'SRID=4674;POINT (-40.289164 -2.798594)', '2026-07-10 07:35:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28901 -2.798685)'), GeomFromEWKT('SRID=4674;POINT (-40.289164 -2.798594)'))) / (select extract(epoch from '2026-07-10 07:35:08'::timestamp) - extract(epoch from '2026-07-10 07:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.28901 -2.798685)'), GeomFromEWKT('SRID=4674;POINT (-40.289164 -2.798594)'))) / (select extract(epoch from '2026-07-10 07:35:08'::timestamp) - extract(epoch from '2026-07-10 07:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.289291 -2.79852)', '2026-07-10 07:35:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289164 -2.798594)'), GeomFromEWKT('SRID=4674;POINT (-40.289291 -2.79852)'))) / (select extract(epoch from '2026-07-10 07:35:15'::timestamp) - extract(epoch from '2026-07-10 07:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289164 -2.798594)'), GeomFromEWKT('SRID=4674;POINT (-40.289291 -2.79852)'))) / (select extract(epoch from '2026-07-10 07:35:15'::timestamp) - extract(epoch from '2026-07-10 07:35:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.289428 -2.798455)', '2026-07-10 07:35:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289291 -2.79852)'), GeomFromEWKT('SRID=4674;POINT (-40.289428 -2.798455)'))) / (select extract(epoch from '2026-07-10 07:35:22'::timestamp) - extract(epoch from '2026-07-10 07:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289291 -2.79852)'), GeomFromEWKT('SRID=4674;POINT (-40.289428 -2.798455)'))) / (select extract(epoch from '2026-07-10 07:35:22'::timestamp) - extract(epoch from '2026-07-10 07:35:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.289619 -2.798377)', '2026-07-10 07:35:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289428 -2.798455)'), GeomFromEWKT('SRID=4674;POINT (-40.289619 -2.798377)'))) / (select extract(epoch from '2026-07-10 07:35:31'::timestamp) - extract(epoch from '2026-07-10 07:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289428 -2.798455)'), GeomFromEWKT('SRID=4674;POINT (-40.289619 -2.798377)'))) / (select extract(epoch from '2026-07-10 07:35:31'::timestamp) - extract(epoch from '2026-07-10 07:35: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'), 47638, 'SRID=4674;POINT (-40.289748 -2.798309)', '2026-07-10 07:35:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289619 -2.798377)'), GeomFromEWKT('SRID=4674;POINT (-40.289748 -2.798309)'))) / (select extract(epoch from '2026-07-10 07:35:37'::timestamp) - extract(epoch from '2026-07-10 07:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289619 -2.798377)'), GeomFromEWKT('SRID=4674;POINT (-40.289748 -2.798309)'))) / (select extract(epoch from '2026-07-10 07:35:37'::timestamp) - extract(epoch from '2026-07-10 07:35: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'), 47638, 'SRID=4674;POINT (-40.289944 -2.798195)', '2026-07-10 07:35:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289748 -2.798309)'), GeomFromEWKT('SRID=4674;POINT (-40.289944 -2.798195)'))) / (select extract(epoch from '2026-07-10 07:35:46'::timestamp) - extract(epoch from '2026-07-10 07:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289748 -2.798309)'), GeomFromEWKT('SRID=4674;POINT (-40.289944 -2.798195)'))) / (select extract(epoch from '2026-07-10 07:35:46'::timestamp) - extract(epoch from '2026-07-10 07:35: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'), 47638, 'SRID=4674;POINT (-40.29011 -2.798111)', '2026-07-10 07:35:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289944 -2.798195)'), GeomFromEWKT('SRID=4674;POINT (-40.29011 -2.798111)'))) / (select extract(epoch from '2026-07-10 07:35:53'::timestamp) - extract(epoch from '2026-07-10 07:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.289944 -2.798195)'), GeomFromEWKT('SRID=4674;POINT (-40.29011 -2.798111)'))) / (select extract(epoch from '2026-07-10 07:35:53'::timestamp) - extract(epoch from '2026-07-10 07:35: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'), 47638, 'SRID=4674;POINT (-40.29025 -2.798023)', '2026-07-10 07:35:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29011 -2.798111)'), GeomFromEWKT('SRID=4674;POINT (-40.29025 -2.798023)'))) / (select extract(epoch from '2026-07-10 07:35:59'::timestamp) - extract(epoch from '2026-07-10 07:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29011 -2.798111)'), GeomFromEWKT('SRID=4674;POINT (-40.29025 -2.798023)'))) / (select extract(epoch from '2026-07-10 07:35:59'::timestamp) - extract(epoch from '2026-07-10 07:35: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'), 47638, 'SRID=4674;POINT (-40.290468 -2.797911)', '2026-07-10 07:36:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29025 -2.798023)'), GeomFromEWKT('SRID=4674;POINT (-40.290468 -2.797911)'))) / (select extract(epoch from '2026-07-10 07:36:08'::timestamp) - extract(epoch from '2026-07-10 07:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29025 -2.798023)'), GeomFromEWKT('SRID=4674;POINT (-40.290468 -2.797911)'))) / (select extract(epoch from '2026-07-10 07:36:08'::timestamp) - extract(epoch from '2026-07-10 07:35: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'), 47638, 'SRID=4674;POINT (-40.290665 -2.797813)', '2026-07-10 07:36:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290468 -2.797911)'), GeomFromEWKT('SRID=4674;POINT (-40.290665 -2.797813)'))) / (select extract(epoch from '2026-07-10 07:36:16'::timestamp) - extract(epoch from '2026-07-10 07:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290468 -2.797911)'), GeomFromEWKT('SRID=4674;POINT (-40.290665 -2.797813)'))) / (select extract(epoch from '2026-07-10 07:36:16'::timestamp) - extract(epoch from '2026-07-10 07:36: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'), 47638, 'SRID=4674;POINT (-40.290893 -2.797727)', '2026-07-10 07:36:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290665 -2.797813)'), GeomFromEWKT('SRID=4674;POINT (-40.290893 -2.797727)'))) / (select extract(epoch from '2026-07-10 07:36:25'::timestamp) - extract(epoch from '2026-07-10 07:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290665 -2.797813)'), GeomFromEWKT('SRID=4674;POINT (-40.290893 -2.797727)'))) / (select extract(epoch from '2026-07-10 07:36:25'::timestamp) - extract(epoch from '2026-07-10 07:36:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.291087 -2.797715)', '2026-07-10 07:36:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290893 -2.797727)'), GeomFromEWKT('SRID=4674;POINT (-40.291087 -2.797715)'))) / (select extract(epoch from '2026-07-10 07:36:33'::timestamp) - extract(epoch from '2026-07-10 07:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.290893 -2.797727)'), GeomFromEWKT('SRID=4674;POINT (-40.291087 -2.797715)'))) / (select extract(epoch from '2026-07-10 07:36:33'::timestamp) - extract(epoch from '2026-07-10 07:36:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.29121 -2.797756)', '2026-07-10 07:36:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291087 -2.797715)'), GeomFromEWKT('SRID=4674;POINT (-40.29121 -2.797756)'))) / (select extract(epoch from '2026-07-10 07:36:39'::timestamp) - extract(epoch from '2026-07-10 07:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291087 -2.797715)'), GeomFromEWKT('SRID=4674;POINT (-40.29121 -2.797756)'))) / (select extract(epoch from '2026-07-10 07:36:39'::timestamp) - extract(epoch from '2026-07-10 07:36: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'), 47638, 'SRID=4674;POINT (-40.291384 -2.797752)', '2026-07-10 07:36:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29121 -2.797756)'), GeomFromEWKT('SRID=4674;POINT (-40.291384 -2.797752)'))) / (select extract(epoch from '2026-07-10 07:36:47'::timestamp) - extract(epoch from '2026-07-10 07:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29121 -2.797756)'), GeomFromEWKT('SRID=4674;POINT (-40.291384 -2.797752)'))) / (select extract(epoch from '2026-07-10 07:36:47'::timestamp) - extract(epoch from '2026-07-10 07:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.291562 -2.797717)', '2026-07-10 07:36:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291384 -2.797752)'), GeomFromEWKT('SRID=4674;POINT (-40.291562 -2.797717)'))) / (select extract(epoch from '2026-07-10 07:36:55'::timestamp) - extract(epoch from '2026-07-10 07:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291384 -2.797752)'), GeomFromEWKT('SRID=4674;POINT (-40.291562 -2.797717)'))) / (select extract(epoch from '2026-07-10 07:36:55'::timestamp) - extract(epoch from '2026-07-10 07:36: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'), 47638, 'SRID=4674;POINT (-40.29167 -2.797695)', '2026-07-10 07:37:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291562 -2.797717)'), GeomFromEWKT('SRID=4674;POINT (-40.29167 -2.797695)'))) / (select extract(epoch from '2026-07-10 07:37:00'::timestamp) - extract(epoch from '2026-07-10 07:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291562 -2.797717)'), GeomFromEWKT('SRID=4674;POINT (-40.29167 -2.797695)'))) / (select extract(epoch from '2026-07-10 07:37:00'::timestamp) - extract(epoch from '2026-07-10 07:36:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.291793 -2.797679)', '2026-07-10 07:37:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29167 -2.797695)'), GeomFromEWKT('SRID=4674;POINT (-40.291793 -2.797679)'))) / (select extract(epoch from '2026-07-10 07:37:06'::timestamp) - extract(epoch from '2026-07-10 07:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29167 -2.797695)'), GeomFromEWKT('SRID=4674;POINT (-40.291793 -2.797679)'))) / (select extract(epoch from '2026-07-10 07:37:06'::timestamp) - extract(epoch from '2026-07-10 07:37: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'), 47638, 'SRID=4674;POINT (-40.291913 -2.797651)', '2026-07-10 07:37:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291793 -2.797679)'), GeomFromEWKT('SRID=4674;POINT (-40.291913 -2.797651)'))) / (select extract(epoch from '2026-07-10 07:37:12'::timestamp) - extract(epoch from '2026-07-10 07:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291793 -2.797679)'), GeomFromEWKT('SRID=4674;POINT (-40.291913 -2.797651)'))) / (select extract(epoch from '2026-07-10 07:37:12'::timestamp) - extract(epoch from '2026-07-10 07:37: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'), 47638, 'SRID=4674;POINT (-40.292079 -2.797657)', '2026-07-10 07:37:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291913 -2.797651)'), GeomFromEWKT('SRID=4674;POINT (-40.292079 -2.797657)'))) / (select extract(epoch from '2026-07-10 07:37:20'::timestamp) - extract(epoch from '2026-07-10 07:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.291913 -2.797651)'), GeomFromEWKT('SRID=4674;POINT (-40.292079 -2.797657)'))) / (select extract(epoch from '2026-07-10 07:37:20'::timestamp) - extract(epoch from '2026-07-10 07:37: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'), 47638, 'SRID=4674;POINT (-40.292261 -2.797674)', '2026-07-10 07:37:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292079 -2.797657)'), GeomFromEWKT('SRID=4674;POINT (-40.292261 -2.797674)'))) / (select extract(epoch from '2026-07-10 07:37:29'::timestamp) - extract(epoch from '2026-07-10 07:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292079 -2.797657)'), GeomFromEWKT('SRID=4674;POINT (-40.292261 -2.797674)'))) / (select extract(epoch from '2026-07-10 07:37:29'::timestamp) - extract(epoch from '2026-07-10 07:37:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.292417 -2.797704)', '2026-07-10 07:37:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292261 -2.797674)'), GeomFromEWKT('SRID=4674;POINT (-40.292417 -2.797704)'))) / (select extract(epoch from '2026-07-10 07:37:37'::timestamp) - extract(epoch from '2026-07-10 07:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292261 -2.797674)'), GeomFromEWKT('SRID=4674;POINT (-40.292417 -2.797704)'))) / (select extract(epoch from '2026-07-10 07:37:37'::timestamp) - extract(epoch from '2026-07-10 07:37: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'), 47638, 'SRID=4674;POINT (-40.29258 -2.797713)', '2026-07-10 07:37:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292417 -2.797704)'), GeomFromEWKT('SRID=4674;POINT (-40.29258 -2.797713)'))) / (select extract(epoch from '2026-07-10 07:37:45'::timestamp) - extract(epoch from '2026-07-10 07:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292417 -2.797704)'), GeomFromEWKT('SRID=4674;POINT (-40.29258 -2.797713)'))) / (select extract(epoch from '2026-07-10 07:37:45'::timestamp) - extract(epoch from '2026-07-10 07:37: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'), 47638, 'SRID=4674;POINT (-40.292753 -2.797708)', '2026-07-10 07:37:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29258 -2.797713)'), GeomFromEWKT('SRID=4674;POINT (-40.292753 -2.797708)'))) / (select extract(epoch from '2026-07-10 07:37:53'::timestamp) - extract(epoch from '2026-07-10 07:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29258 -2.797713)'), GeomFromEWKT('SRID=4674;POINT (-40.292753 -2.797708)'))) / (select extract(epoch from '2026-07-10 07:37:53'::timestamp) - extract(epoch from '2026-07-10 07:37: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'), 47638, 'SRID=4674;POINT (-40.292927 -2.797702)', '2026-07-10 07:38:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292753 -2.797708)'), GeomFromEWKT('SRID=4674;POINT (-40.292927 -2.797702)'))) / (select extract(epoch from '2026-07-10 07:38:01'::timestamp) - extract(epoch from '2026-07-10 07:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292753 -2.797708)'), GeomFromEWKT('SRID=4674;POINT (-40.292927 -2.797702)'))) / (select extract(epoch from '2026-07-10 07:38:01'::timestamp) - extract(epoch from '2026-07-10 07:37:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.293093 -2.797683)', '2026-07-10 07:38:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292927 -2.797702)'), GeomFromEWKT('SRID=4674;POINT (-40.293093 -2.797683)'))) / (select extract(epoch from '2026-07-10 07:38:09'::timestamp) - extract(epoch from '2026-07-10 07:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292927 -2.797702)'), GeomFromEWKT('SRID=4674;POINT (-40.293093 -2.797683)'))) / (select extract(epoch from '2026-07-10 07:38:09'::timestamp) - extract(epoch from '2026-07-10 07:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.293241 -2.797673)', '2026-07-10 07:38:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293093 -2.797683)'), GeomFromEWKT('SRID=4674;POINT (-40.293241 -2.797673)'))) / (select extract(epoch from '2026-07-10 07:38:16'::timestamp) - extract(epoch from '2026-07-10 07:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293093 -2.797683)'), GeomFromEWKT('SRID=4674;POINT (-40.293241 -2.797673)'))) / (select extract(epoch from '2026-07-10 07:38:16'::timestamp) - extract(epoch from '2026-07-10 07:38: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'), 47638, 'SRID=4674;POINT (-40.29343 -2.797658)', '2026-07-10 07:38:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293241 -2.797673)'), GeomFromEWKT('SRID=4674;POINT (-40.29343 -2.797658)'))) / (select extract(epoch from '2026-07-10 07:38:25'::timestamp) - extract(epoch from '2026-07-10 07:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293241 -2.797673)'), GeomFromEWKT('SRID=4674;POINT (-40.29343 -2.797658)'))) / (select extract(epoch from '2026-07-10 07:38:25'::timestamp) - extract(epoch from '2026-07-10 07:38:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.293606 -2.79766)', '2026-07-10 07:38:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29343 -2.797658)'), GeomFromEWKT('SRID=4674;POINT (-40.293606 -2.79766)'))) / (select extract(epoch from '2026-07-10 07:38:33'::timestamp) - extract(epoch from '2026-07-10 07:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29343 -2.797658)'), GeomFromEWKT('SRID=4674;POINT (-40.293606 -2.79766)'))) / (select extract(epoch from '2026-07-10 07:38:33'::timestamp) - extract(epoch from '2026-07-10 07:38:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.29381 -2.797664)', '2026-07-10 07:38:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293606 -2.79766)'), GeomFromEWKT('SRID=4674;POINT (-40.29381 -2.797664)'))) / (select extract(epoch from '2026-07-10 07:38:42'::timestamp) - extract(epoch from '2026-07-10 07:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293606 -2.79766)'), GeomFromEWKT('SRID=4674;POINT (-40.29381 -2.797664)'))) / (select extract(epoch from '2026-07-10 07:38:42'::timestamp) - extract(epoch from '2026-07-10 07:38:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.29397 -2.797664)', '2026-07-10 07:38:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29381 -2.797664)'), GeomFromEWKT('SRID=4674;POINT (-40.29397 -2.797664)'))) / (select extract(epoch from '2026-07-10 07:38:49'::timestamp) - extract(epoch from '2026-07-10 07:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29381 -2.797664)'), GeomFromEWKT('SRID=4674;POINT (-40.29397 -2.797664)'))) / (select extract(epoch from '2026-07-10 07:38:49'::timestamp) - extract(epoch from '2026-07-10 07:38: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'), 47638, 'SRID=4674;POINT (-40.294112 -2.797665)', '2026-07-10 07:38:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29397 -2.797664)'), GeomFromEWKT('SRID=4674;POINT (-40.294112 -2.797665)'))) / (select extract(epoch from '2026-07-10 07:38:55'::timestamp) - extract(epoch from '2026-07-10 07:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29397 -2.797664)'), GeomFromEWKT('SRID=4674;POINT (-40.294112 -2.797665)'))) / (select extract(epoch from '2026-07-10 07:38:55'::timestamp) - extract(epoch from '2026-07-10 07:38:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.294253 -2.797656)', '2026-07-10 07:39:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294112 -2.797665)'), GeomFromEWKT('SRID=4674;POINT (-40.294253 -2.797656)'))) / (select extract(epoch from '2026-07-10 07:39:01'::timestamp) - extract(epoch from '2026-07-10 07:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294112 -2.797665)'), GeomFromEWKT('SRID=4674;POINT (-40.294253 -2.797656)'))) / (select extract(epoch from '2026-07-10 07:39:01'::timestamp) - extract(epoch from '2026-07-10 07:38: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'), 47638, 'SRID=4674;POINT (-40.294406 -2.797654)', '2026-07-10 07:39:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294253 -2.797656)'), GeomFromEWKT('SRID=4674;POINT (-40.294406 -2.797654)'))) / (select extract(epoch from '2026-07-10 07:39:08'::timestamp) - extract(epoch from '2026-07-10 07:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294253 -2.797656)'), GeomFromEWKT('SRID=4674;POINT (-40.294406 -2.797654)'))) / (select extract(epoch from '2026-07-10 07:39:08'::timestamp) - extract(epoch from '2026-07-10 07:39: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'), 47638, 'SRID=4674;POINT (-40.2946 -2.797643)', '2026-07-10 07:39:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294406 -2.797654)'), GeomFromEWKT('SRID=4674;POINT (-40.2946 -2.797643)'))) / (select extract(epoch from '2026-07-10 07:39:17'::timestamp) - extract(epoch from '2026-07-10 07:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294406 -2.797654)'), GeomFromEWKT('SRID=4674;POINT (-40.2946 -2.797643)'))) / (select extract(epoch from '2026-07-10 07:39:17'::timestamp) - extract(epoch from '2026-07-10 07:39:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.294771 -2.797629)', '2026-07-10 07:39:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2946 -2.797643)'), GeomFromEWKT('SRID=4674;POINT (-40.294771 -2.797629)'))) / (select extract(epoch from '2026-07-10 07:39:24'::timestamp) - extract(epoch from '2026-07-10 07:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2946 -2.797643)'), GeomFromEWKT('SRID=4674;POINT (-40.294771 -2.797629)'))) / (select extract(epoch from '2026-07-10 07:39:24'::timestamp) - extract(epoch from '2026-07-10 07:39: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'), 47638, 'SRID=4674;POINT (-40.294978 -2.797619)', '2026-07-10 07:39:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294771 -2.797629)'), GeomFromEWKT('SRID=4674;POINT (-40.294978 -2.797619)'))) / (select extract(epoch from '2026-07-10 07:39:33'::timestamp) - extract(epoch from '2026-07-10 07:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294771 -2.797629)'), GeomFromEWKT('SRID=4674;POINT (-40.294978 -2.797619)'))) / (select extract(epoch from '2026-07-10 07:39:33'::timestamp) - extract(epoch from '2026-07-10 07:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.295166 -2.797611)', '2026-07-10 07:39:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294978 -2.797619)'), GeomFromEWKT('SRID=4674;POINT (-40.295166 -2.797611)'))) / (select extract(epoch from '2026-07-10 07:39:40'::timestamp) - extract(epoch from '2026-07-10 07:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294978 -2.797619)'), GeomFromEWKT('SRID=4674;POINT (-40.295166 -2.797611)'))) / (select extract(epoch from '2026-07-10 07:39:40'::timestamp) - extract(epoch from '2026-07-10 07:39:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.295352 -2.797646)', '2026-07-10 07:39:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295166 -2.797611)'), GeomFromEWKT('SRID=4674;POINT (-40.295352 -2.797646)'))) / (select extract(epoch from '2026-07-10 07:39:47'::timestamp) - extract(epoch from '2026-07-10 07:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295166 -2.797611)'), GeomFromEWKT('SRID=4674;POINT (-40.295352 -2.797646)'))) / (select extract(epoch from '2026-07-10 07:39:47'::timestamp) - extract(epoch from '2026-07-10 07:39: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'), 47638, 'SRID=4674;POINT (-40.295567 -2.797716)', '2026-07-10 07:39:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295352 -2.797646)'), GeomFromEWKT('SRID=4674;POINT (-40.295567 -2.797716)'))) / (select extract(epoch from '2026-07-10 07:39:56'::timestamp) - extract(epoch from '2026-07-10 07:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295352 -2.797646)'), GeomFromEWKT('SRID=4674;POINT (-40.295567 -2.797716)'))) / (select extract(epoch from '2026-07-10 07:39:56'::timestamp) - extract(epoch from '2026-07-10 07:39: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'), 47638, 'SRID=4674;POINT (-40.295804 -2.797728)', '2026-07-10 07:40:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295567 -2.797716)'), GeomFromEWKT('SRID=4674;POINT (-40.295804 -2.797728)'))) / (select extract(epoch from '2026-07-10 07:40:05'::timestamp) - extract(epoch from '2026-07-10 07:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295567 -2.797716)'), GeomFromEWKT('SRID=4674;POINT (-40.295804 -2.797728)'))) / (select extract(epoch from '2026-07-10 07:40:05'::timestamp) - extract(epoch from '2026-07-10 07:39: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'), 47638, 'SRID=4674;POINT (-40.295997 -2.797784)', '2026-07-10 07:40:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295804 -2.797728)'), GeomFromEWKT('SRID=4674;POINT (-40.295997 -2.797784)'))) / (select extract(epoch from '2026-07-10 07:40:13'::timestamp) - extract(epoch from '2026-07-10 07:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295804 -2.797728)'), GeomFromEWKT('SRID=4674;POINT (-40.295997 -2.797784)'))) / (select extract(epoch from '2026-07-10 07:40:13'::timestamp) - extract(epoch from '2026-07-10 07:40: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'), 47638, 'SRID=4674;POINT (-40.296281 -2.797874)', '2026-07-10 07:40:24', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295997 -2.797784)'), GeomFromEWKT('SRID=4674;POINT (-40.296281 -2.797874)'))) / (select extract(epoch from '2026-07-10 07:40:24'::timestamp) - extract(epoch from '2026-07-10 07:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295997 -2.797784)'), GeomFromEWKT('SRID=4674;POINT (-40.296281 -2.797874)'))) / (select extract(epoch from '2026-07-10 07:40:24'::timestamp) - extract(epoch from '2026-07-10 07:40: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'), 47638, 'SRID=4674;POINT (-40.296531 -2.797896)', '2026-07-10 07:40:34', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296281 -2.797874)'), GeomFromEWKT('SRID=4674;POINT (-40.296531 -2.797896)'))) / (select extract(epoch from '2026-07-10 07:40:34'::timestamp) - extract(epoch from '2026-07-10 07:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296281 -2.797874)'), GeomFromEWKT('SRID=4674;POINT (-40.296531 -2.797896)'))) / (select extract(epoch from '2026-07-10 07:40:34'::timestamp) - extract(epoch from '2026-07-10 07:40: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'), 47638, 'SRID=4674;POINT (-40.296762 -2.797893)', '2026-07-10 07:40:43', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296531 -2.797896)'), GeomFromEWKT('SRID=4674;POINT (-40.296762 -2.797893)'))) / (select extract(epoch from '2026-07-10 07:40:43'::timestamp) - extract(epoch from '2026-07-10 07:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296531 -2.797896)'), GeomFromEWKT('SRID=4674;POINT (-40.296762 -2.797893)'))) / (select extract(epoch from '2026-07-10 07:40:43'::timestamp) - extract(epoch from '2026-07-10 07:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.296995 -2.797892)', '2026-07-10 07:40:52', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296762 -2.797893)'), GeomFromEWKT('SRID=4674;POINT (-40.296995 -2.797892)'))) / (select extract(epoch from '2026-07-10 07:40:52'::timestamp) - extract(epoch from '2026-07-10 07:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296762 -2.797893)'), GeomFromEWKT('SRID=4674;POINT (-40.296995 -2.797892)'))) / (select extract(epoch from '2026-07-10 07:40:52'::timestamp) - extract(epoch from '2026-07-10 07:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.297286 -2.797871)', '2026-07-10 07:41:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296995 -2.797892)'), GeomFromEWKT('SRID=4674;POINT (-40.297286 -2.797871)'))) / (select extract(epoch from '2026-07-10 07:41:03'::timestamp) - extract(epoch from '2026-07-10 07:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296995 -2.797892)'), GeomFromEWKT('SRID=4674;POINT (-40.297286 -2.797871)'))) / (select extract(epoch from '2026-07-10 07:41:03'::timestamp) - extract(epoch from '2026-07-10 07:40:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.297492 -2.797858)', '2026-07-10 07:41:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297286 -2.797871)'), GeomFromEWKT('SRID=4674;POINT (-40.297492 -2.797858)'))) / (select extract(epoch from '2026-07-10 07:41:12'::timestamp) - extract(epoch from '2026-07-10 07:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297286 -2.797871)'), GeomFromEWKT('SRID=4674;POINT (-40.297492 -2.797858)'))) / (select extract(epoch from '2026-07-10 07:41:12'::timestamp) - extract(epoch from '2026-07-10 07:41: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'), 47638, 'SRID=4674;POINT (-40.297698 -2.797847)', '2026-07-10 07:41:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297492 -2.797858)'), GeomFromEWKT('SRID=4674;POINT (-40.297698 -2.797847)'))) / (select extract(epoch from '2026-07-10 07:41:20'::timestamp) - extract(epoch from '2026-07-10 07:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297492 -2.797858)'), GeomFromEWKT('SRID=4674;POINT (-40.297698 -2.797847)'))) / (select extract(epoch from '2026-07-10 07:41:20'::timestamp) - extract(epoch from '2026-07-10 07:41: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'), 47638, 'SRID=4674;POINT (-40.297923 -2.797839)', '2026-07-10 07:41:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297698 -2.797847)'), GeomFromEWKT('SRID=4674;POINT (-40.297923 -2.797839)'))) / (select extract(epoch from '2026-07-10 07:41:29'::timestamp) - extract(epoch from '2026-07-10 07:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297698 -2.797847)'), GeomFromEWKT('SRID=4674;POINT (-40.297923 -2.797839)'))) / (select extract(epoch from '2026-07-10 07:41:29'::timestamp) - extract(epoch from '2026-07-10 07:41: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'), 47638, 'SRID=4674;POINT (-40.29816 -2.797836)', '2026-07-10 07:41:39', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297923 -2.797839)'), GeomFromEWKT('SRID=4674;POINT (-40.29816 -2.797836)'))) / (select extract(epoch from '2026-07-10 07:41:39'::timestamp) - extract(epoch from '2026-07-10 07:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297923 -2.797839)'), GeomFromEWKT('SRID=4674;POINT (-40.29816 -2.797836)'))) / (select extract(epoch from '2026-07-10 07:41:39'::timestamp) - extract(epoch from '2026-07-10 07:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.298346 -2.797828)', '2026-07-10 07:41:47', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29816 -2.797836)'), GeomFromEWKT('SRID=4674;POINT (-40.298346 -2.797828)'))) / (select extract(epoch from '2026-07-10 07:41:47'::timestamp) - extract(epoch from '2026-07-10 07:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29816 -2.797836)'), GeomFromEWKT('SRID=4674;POINT (-40.298346 -2.797828)'))) / (select extract(epoch from '2026-07-10 07:41:47'::timestamp) - extract(epoch from '2026-07-10 07:41:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.29857 -2.797839)', '2026-07-10 07:41:57', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298346 -2.797828)'), GeomFromEWKT('SRID=4674;POINT (-40.29857 -2.797839)'))) / (select extract(epoch from '2026-07-10 07:41:57'::timestamp) - extract(epoch from '2026-07-10 07:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298346 -2.797828)'), GeomFromEWKT('SRID=4674;POINT (-40.29857 -2.797839)'))) / (select extract(epoch from '2026-07-10 07:41:57'::timestamp) - extract(epoch from '2026-07-10 07:41:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.298799 -2.797841)', '2026-07-10 07:42:07', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29857 -2.797839)'), GeomFromEWKT('SRID=4674;POINT (-40.298799 -2.797841)'))) / (select extract(epoch from '2026-07-10 07:42:07'::timestamp) - extract(epoch from '2026-07-10 07:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29857 -2.797839)'), GeomFromEWKT('SRID=4674;POINT (-40.298799 -2.797841)'))) / (select extract(epoch from '2026-07-10 07:42:07'::timestamp) - extract(epoch from '2026-07-10 07:41:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.299056 -2.797811)', '2026-07-10 07:42:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298799 -2.797841)'), GeomFromEWKT('SRID=4674;POINT (-40.299056 -2.797811)'))) / (select extract(epoch from '2026-07-10 07:42:18'::timestamp) - extract(epoch from '2026-07-10 07:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298799 -2.797841)'), GeomFromEWKT('SRID=4674;POINT (-40.299056 -2.797811)'))) / (select extract(epoch from '2026-07-10 07:42:18'::timestamp) - extract(epoch from '2026-07-10 07:42: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'), 47638, 'SRID=4674;POINT (-40.299284 -2.797759)', '2026-07-10 07:42:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299056 -2.797811)'), GeomFromEWKT('SRID=4674;POINT (-40.299284 -2.797759)'))) / (select extract(epoch from '2026-07-10 07:42:28'::timestamp) - extract(epoch from '2026-07-10 07:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299056 -2.797811)'), GeomFromEWKT('SRID=4674;POINT (-40.299284 -2.797759)'))) / (select extract(epoch from '2026-07-10 07:42:28'::timestamp) - extract(epoch from '2026-07-10 07:42: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'), 47638, 'SRID=4674;POINT (-40.299529 -2.797744)', '2026-07-10 07:42:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299284 -2.797759)'), GeomFromEWKT('SRID=4674;POINT (-40.299529 -2.797744)'))) / (select extract(epoch from '2026-07-10 07:42:38'::timestamp) - extract(epoch from '2026-07-10 07:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299284 -2.797759)'), GeomFromEWKT('SRID=4674;POINT (-40.299529 -2.797744)'))) / (select extract(epoch from '2026-07-10 07:42:38'::timestamp) - extract(epoch from '2026-07-10 07:42: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'), 47638, 'SRID=4674;POINT (-40.299762 -2.797741)', '2026-07-10 07:42:47', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299529 -2.797744)'), GeomFromEWKT('SRID=4674;POINT (-40.299762 -2.797741)'))) / (select extract(epoch from '2026-07-10 07:42:47'::timestamp) - extract(epoch from '2026-07-10 07:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299529 -2.797744)'), GeomFromEWKT('SRID=4674;POINT (-40.299762 -2.797741)'))) / (select extract(epoch from '2026-07-10 07:42:47'::timestamp) - extract(epoch from '2026-07-10 07:42: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'), 47638, 'SRID=4674;POINT (-40.299973 -2.797712)', '2026-07-10 07:42:56', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299762 -2.797741)'), GeomFromEWKT('SRID=4674;POINT (-40.299973 -2.797712)'))) / (select extract(epoch from '2026-07-10 07:42:56'::timestamp) - extract(epoch from '2026-07-10 07:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299762 -2.797741)'), GeomFromEWKT('SRID=4674;POINT (-40.299973 -2.797712)'))) / (select extract(epoch from '2026-07-10 07:42:56'::timestamp) - extract(epoch from '2026-07-10 07:42:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.300168 -2.797694)', '2026-07-10 07:43:04', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299973 -2.797712)'), GeomFromEWKT('SRID=4674;POINT (-40.300168 -2.797694)'))) / (select extract(epoch from '2026-07-10 07:43:04'::timestamp) - extract(epoch from '2026-07-10 07:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299973 -2.797712)'), GeomFromEWKT('SRID=4674;POINT (-40.300168 -2.797694)'))) / (select extract(epoch from '2026-07-10 07:43:04'::timestamp) - extract(epoch from '2026-07-10 07:42: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'), 47638, 'SRID=4674;POINT (-40.300382 -2.797681)', '2026-07-10 07:43:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300168 -2.797694)'), GeomFromEWKT('SRID=4674;POINT (-40.300382 -2.797681)'))) / (select extract(epoch from '2026-07-10 07:43:12'::timestamp) - extract(epoch from '2026-07-10 07:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300168 -2.797694)'), GeomFromEWKT('SRID=4674;POINT (-40.300382 -2.797681)'))) / (select extract(epoch from '2026-07-10 07:43:12'::timestamp) - extract(epoch from '2026-07-10 07:43:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.300584 -2.797662)', '2026-07-10 07:43:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300382 -2.797681)'), GeomFromEWKT('SRID=4674;POINT (-40.300584 -2.797662)'))) / (select extract(epoch from '2026-07-10 07:43:20'::timestamp) - extract(epoch from '2026-07-10 07:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300382 -2.797681)'), GeomFromEWKT('SRID=4674;POINT (-40.300584 -2.797662)'))) / (select extract(epoch from '2026-07-10 07:43:20'::timestamp) - extract(epoch from '2026-07-10 07:43: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'), 47638, 'SRID=4674;POINT (-40.300795 -2.797636)', '2026-07-10 07:43:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300584 -2.797662)'), GeomFromEWKT('SRID=4674;POINT (-40.300795 -2.797636)'))) / (select extract(epoch from '2026-07-10 07:43:28'::timestamp) - extract(epoch from '2026-07-10 07:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300584 -2.797662)'), GeomFromEWKT('SRID=4674;POINT (-40.300795 -2.797636)'))) / (select extract(epoch from '2026-07-10 07:43:28'::timestamp) - extract(epoch from '2026-07-10 07:43: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'), 47638, 'SRID=4674;POINT (-40.301002 -2.797619)', '2026-07-10 07:43:36', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300795 -2.797636)'), GeomFromEWKT('SRID=4674;POINT (-40.301002 -2.797619)'))) / (select extract(epoch from '2026-07-10 07:43:36'::timestamp) - extract(epoch from '2026-07-10 07:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300795 -2.797636)'), GeomFromEWKT('SRID=4674;POINT (-40.301002 -2.797619)'))) / (select extract(epoch from '2026-07-10 07:43:36'::timestamp) - extract(epoch from '2026-07-10 07:43:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.301249 -2.79758)', '2026-07-10 07:43:45', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301002 -2.797619)'), GeomFromEWKT('SRID=4674;POINT (-40.301249 -2.79758)'))) / (select extract(epoch from '2026-07-10 07:43:45'::timestamp) - extract(epoch from '2026-07-10 07:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301002 -2.797619)'), GeomFromEWKT('SRID=4674;POINT (-40.301249 -2.79758)'))) / (select extract(epoch from '2026-07-10 07:43:45'::timestamp) - extract(epoch from '2026-07-10 07:43:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.30146 -2.797554)', '2026-07-10 07:43:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301249 -2.79758)'), GeomFromEWKT('SRID=4674;POINT (-40.30146 -2.797554)'))) / (select extract(epoch from '2026-07-10 07:43:53'::timestamp) - extract(epoch from '2026-07-10 07:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301249 -2.79758)'), GeomFromEWKT('SRID=4674;POINT (-40.30146 -2.797554)'))) / (select extract(epoch from '2026-07-10 07:43:53'::timestamp) - extract(epoch from '2026-07-10 07:43:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.30169 -2.797523)', '2026-07-10 07:44:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30146 -2.797554)'), GeomFromEWKT('SRID=4674;POINT (-40.30169 -2.797523)'))) / (select extract(epoch from '2026-07-10 07:44:02'::timestamp) - extract(epoch from '2026-07-10 07:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30146 -2.797554)'), GeomFromEWKT('SRID=4674;POINT (-40.30169 -2.797523)'))) / (select extract(epoch from '2026-07-10 07:44:02'::timestamp) - extract(epoch from '2026-07-10 07:43:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.30196 -2.797474)', '2026-07-10 07:44:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30169 -2.797523)'), GeomFromEWKT('SRID=4674;POINT (-40.30196 -2.797474)'))) / (select extract(epoch from '2026-07-10 07:44:12'::timestamp) - extract(epoch from '2026-07-10 07:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30169 -2.797523)'), GeomFromEWKT('SRID=4674;POINT (-40.30196 -2.797474)'))) / (select extract(epoch from '2026-07-10 07:44:12'::timestamp) - extract(epoch from '2026-07-10 07:44:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.302149 -2.797421)', '2026-07-10 07:44:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30196 -2.797474)'), GeomFromEWKT('SRID=4674;POINT (-40.302149 -2.797421)'))) / (select extract(epoch from '2026-07-10 07:44:20'::timestamp) - extract(epoch from '2026-07-10 07:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30196 -2.797474)'), GeomFromEWKT('SRID=4674;POINT (-40.302149 -2.797421)'))) / (select extract(epoch from '2026-07-10 07:44:20'::timestamp) - extract(epoch from '2026-07-10 07:44: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'), 47638, 'SRID=4674;POINT (-40.30239 -2.797354)', '2026-07-10 07:44:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302149 -2.797421)'), GeomFromEWKT('SRID=4674;POINT (-40.30239 -2.797354)'))) / (select extract(epoch from '2026-07-10 07:44:30'::timestamp) - extract(epoch from '2026-07-10 07:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302149 -2.797421)'), GeomFromEWKT('SRID=4674;POINT (-40.30239 -2.797354)'))) / (select extract(epoch from '2026-07-10 07:44:30'::timestamp) - extract(epoch from '2026-07-10 07:44:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.30253 -2.797307)', '2026-07-10 07:44:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30239 -2.797354)'), GeomFromEWKT('SRID=4674;POINT (-40.30253 -2.797307)'))) / (select extract(epoch from '2026-07-10 07:44:37'::timestamp) - extract(epoch from '2026-07-10 07:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30239 -2.797354)'), GeomFromEWKT('SRID=4674;POINT (-40.30253 -2.797307)'))) / (select extract(epoch from '2026-07-10 07:44:37'::timestamp) - extract(epoch from '2026-07-10 07:44: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'), 47638, 'SRID=4674;POINT (-40.302678 -2.797264)', '2026-07-10 07:44:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30253 -2.797307)'), GeomFromEWKT('SRID=4674;POINT (-40.302678 -2.797264)'))) / (select extract(epoch from '2026-07-10 07:44:44'::timestamp) - extract(epoch from '2026-07-10 07:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30253 -2.797307)'), GeomFromEWKT('SRID=4674;POINT (-40.302678 -2.797264)'))) / (select extract(epoch from '2026-07-10 07:44:44'::timestamp) - extract(epoch from '2026-07-10 07:44: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'), 47638, 'SRID=4674;POINT (-40.302862 -2.797238)', '2026-07-10 07:44:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302678 -2.797264)'), GeomFromEWKT('SRID=4674;POINT (-40.302862 -2.797238)'))) / (select extract(epoch from '2026-07-10 07:44:52'::timestamp) - extract(epoch from '2026-07-10 07:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302678 -2.797264)'), GeomFromEWKT('SRID=4674;POINT (-40.302862 -2.797238)'))) / (select extract(epoch from '2026-07-10 07:44:52'::timestamp) - extract(epoch from '2026-07-10 07:44:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.303049 -2.797208)', '2026-07-10 07:45:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302862 -2.797238)'), GeomFromEWKT('SRID=4674;POINT (-40.303049 -2.797208)'))) / (select extract(epoch from '2026-07-10 07:45:00'::timestamp) - extract(epoch from '2026-07-10 07:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302862 -2.797238)'), GeomFromEWKT('SRID=4674;POINT (-40.303049 -2.797208)'))) / (select extract(epoch from '2026-07-10 07:45:00'::timestamp) - extract(epoch from '2026-07-10 07:44: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'), 47638, 'SRID=4674;POINT (-40.303249 -2.797202)', '2026-07-10 07:45:08', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303049 -2.797208)'), GeomFromEWKT('SRID=4674;POINT (-40.303249 -2.797202)'))) / (select extract(epoch from '2026-07-10 07:45:08'::timestamp) - extract(epoch from '2026-07-10 07:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303049 -2.797208)'), GeomFromEWKT('SRID=4674;POINT (-40.303249 -2.797202)'))) / (select extract(epoch from '2026-07-10 07:45:08'::timestamp) - extract(epoch from '2026-07-10 07:45:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.30346 -2.797183)', '2026-07-10 07:45:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303249 -2.797202)'), GeomFromEWKT('SRID=4674;POINT (-40.30346 -2.797183)'))) / (select extract(epoch from '2026-07-10 07:45:16'::timestamp) - extract(epoch from '2026-07-10 07:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303249 -2.797202)'), GeomFromEWKT('SRID=4674;POINT (-40.30346 -2.797183)'))) / (select extract(epoch from '2026-07-10 07:45:16'::timestamp) - extract(epoch from '2026-07-10 07:45: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'), 47638, 'SRID=4674;POINT (-40.303653 -2.797167)', '2026-07-10 07:45:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30346 -2.797183)'), GeomFromEWKT('SRID=4674;POINT (-40.303653 -2.797167)'))) / (select extract(epoch from '2026-07-10 07:45:23'::timestamp) - extract(epoch from '2026-07-10 07:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30346 -2.797183)'), GeomFromEWKT('SRID=4674;POINT (-40.303653 -2.797167)'))) / (select extract(epoch from '2026-07-10 07:45:23'::timestamp) - extract(epoch from '2026-07-10 07:45:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.30383 -2.797147)', '2026-07-10 07:45:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303653 -2.797167)'), GeomFromEWKT('SRID=4674;POINT (-40.30383 -2.797147)'))) / (select extract(epoch from '2026-07-10 07:45:30'::timestamp) - extract(epoch from '2026-07-10 07:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303653 -2.797167)'), GeomFromEWKT('SRID=4674;POINT (-40.30383 -2.797147)'))) / (select extract(epoch from '2026-07-10 07:45:30'::timestamp) - extract(epoch from '2026-07-10 07:45: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'), 47638, 'SRID=4674;POINT (-40.303977 -2.797116)', '2026-07-10 07:45:36', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30383 -2.797147)'), GeomFromEWKT('SRID=4674;POINT (-40.303977 -2.797116)'))) / (select extract(epoch from '2026-07-10 07:45:36'::timestamp) - extract(epoch from '2026-07-10 07:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30383 -2.797147)'), GeomFromEWKT('SRID=4674;POINT (-40.303977 -2.797116)'))) / (select extract(epoch from '2026-07-10 07:45:36'::timestamp) - extract(epoch from '2026-07-10 07:45: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'), 47638, 'SRID=4674;POINT (-40.30413 -2.7971)', '2026-07-10 07:45:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303977 -2.797116)'), GeomFromEWKT('SRID=4674;POINT (-40.30413 -2.7971)'))) / (select extract(epoch from '2026-07-10 07:45:43'::timestamp) - extract(epoch from '2026-07-10 07:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303977 -2.797116)'), GeomFromEWKT('SRID=4674;POINT (-40.30413 -2.7971)'))) / (select extract(epoch from '2026-07-10 07:45:43'::timestamp) - extract(epoch from '2026-07-10 07:45:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.304283 -2.797095)', '2026-07-10 07:45:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30413 -2.7971)'), GeomFromEWKT('SRID=4674;POINT (-40.304283 -2.797095)'))) / (select extract(epoch from '2026-07-10 07:45:50'::timestamp) - extract(epoch from '2026-07-10 07:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30413 -2.7971)'), GeomFromEWKT('SRID=4674;POINT (-40.304283 -2.797095)'))) / (select extract(epoch from '2026-07-10 07:45:50'::timestamp) - extract(epoch from '2026-07-10 07:45: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'), 47638, 'SRID=4674;POINT (-40.304476 -2.797093)', '2026-07-10 07:45:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304283 -2.797095)'), GeomFromEWKT('SRID=4674;POINT (-40.304476 -2.797093)'))) / (select extract(epoch from '2026-07-10 07:45:58'::timestamp) - extract(epoch from '2026-07-10 07:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304283 -2.797095)'), GeomFromEWKT('SRID=4674;POINT (-40.304476 -2.797093)'))) / (select extract(epoch from '2026-07-10 07:45:58'::timestamp) - extract(epoch from '2026-07-10 07:45: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'), 47638, 'SRID=4674;POINT (-40.304673 -2.797093)', '2026-07-10 07:46:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304476 -2.797093)'), GeomFromEWKT('SRID=4674;POINT (-40.304673 -2.797093)'))) / (select extract(epoch from '2026-07-10 07:46:06'::timestamp) - extract(epoch from '2026-07-10 07:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304476 -2.797093)'), GeomFromEWKT('SRID=4674;POINT (-40.304673 -2.797093)'))) / (select extract(epoch from '2026-07-10 07:46:06'::timestamp) - extract(epoch from '2026-07-10 07:45:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.304863 -2.797075)', '2026-07-10 07:46:14', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304673 -2.797093)'), GeomFromEWKT('SRID=4674;POINT (-40.304863 -2.797075)'))) / (select extract(epoch from '2026-07-10 07:46:14'::timestamp) - extract(epoch from '2026-07-10 07:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304673 -2.797093)'), GeomFromEWKT('SRID=4674;POINT (-40.304863 -2.797075)'))) / (select extract(epoch from '2026-07-10 07:46:14'::timestamp) - extract(epoch from '2026-07-10 07:46:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.305037 -2.797071)', '2026-07-10 07:46:22', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304863 -2.797075)'), GeomFromEWKT('SRID=4674;POINT (-40.305037 -2.797071)'))) / (select extract(epoch from '2026-07-10 07:46:22'::timestamp) - extract(epoch from '2026-07-10 07:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304863 -2.797075)'), GeomFromEWKT('SRID=4674;POINT (-40.305037 -2.797071)'))) / (select extract(epoch from '2026-07-10 07:46:22'::timestamp) - extract(epoch from '2026-07-10 07:46: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'), 47638, 'SRID=4674;POINT (-40.305206 -2.797072)', '2026-07-10 07:46:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305037 -2.797071)'), GeomFromEWKT('SRID=4674;POINT (-40.305206 -2.797072)'))) / (select extract(epoch from '2026-07-10 07:46:30'::timestamp) - extract(epoch from '2026-07-10 07:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305037 -2.797071)'), GeomFromEWKT('SRID=4674;POINT (-40.305206 -2.797072)'))) / (select extract(epoch from '2026-07-10 07:46:30'::timestamp) - extract(epoch from '2026-07-10 07:46: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'), 47638, 'SRID=4674;POINT (-40.305433 -2.797061)', '2026-07-10 07:46:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305206 -2.797072)'), GeomFromEWKT('SRID=4674;POINT (-40.305433 -2.797061)'))) / (select extract(epoch from '2026-07-10 07:46:39'::timestamp) - extract(epoch from '2026-07-10 07:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305206 -2.797072)'), GeomFromEWKT('SRID=4674;POINT (-40.305433 -2.797061)'))) / (select extract(epoch from '2026-07-10 07:46:39'::timestamp) - extract(epoch from '2026-07-10 07:46: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'), 47638, 'SRID=4674;POINT (-40.305629 -2.797021)', '2026-07-10 07:46:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305433 -2.797061)'), GeomFromEWKT('SRID=4674;POINT (-40.305629 -2.797021)'))) / (select extract(epoch from '2026-07-10 07:46:48'::timestamp) - extract(epoch from '2026-07-10 07:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305433 -2.797061)'), GeomFromEWKT('SRID=4674;POINT (-40.305629 -2.797021)'))) / (select extract(epoch from '2026-07-10 07:46:48'::timestamp) - extract(epoch from '2026-07-10 07:46:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.305813 -2.797026)', '2026-07-10 07:46:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305629 -2.797021)'), GeomFromEWKT('SRID=4674;POINT (-40.305813 -2.797026)'))) / (select extract(epoch from '2026-07-10 07:46:56'::timestamp) - extract(epoch from '2026-07-10 07:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305629 -2.797021)'), GeomFromEWKT('SRID=4674;POINT (-40.305813 -2.797026)'))) / (select extract(epoch from '2026-07-10 07:46:56'::timestamp) - extract(epoch from '2026-07-10 07:46: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'), 47638, 'SRID=4674;POINT (-40.306011 -2.797029)', '2026-07-10 07:47:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305813 -2.797026)'), GeomFromEWKT('SRID=4674;POINT (-40.306011 -2.797029)'))) / (select extract(epoch from '2026-07-10 07:47:04'::timestamp) - extract(epoch from '2026-07-10 07:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305813 -2.797026)'), GeomFromEWKT('SRID=4674;POINT (-40.306011 -2.797029)'))) / (select extract(epoch from '2026-07-10 07:47:04'::timestamp) - extract(epoch from '2026-07-10 07:46:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.306179 -2.797033)', '2026-07-10 07:47:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306011 -2.797029)'), GeomFromEWKT('SRID=4674;POINT (-40.306179 -2.797033)'))) / (select extract(epoch from '2026-07-10 07:47:11'::timestamp) - extract(epoch from '2026-07-10 07:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306011 -2.797029)'), GeomFromEWKT('SRID=4674;POINT (-40.306179 -2.797033)'))) / (select extract(epoch from '2026-07-10 07:47:11'::timestamp) - extract(epoch from '2026-07-10 07:47: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'), 47638, 'SRID=4674;POINT (-40.30634 -2.79703)', '2026-07-10 07:47:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306179 -2.797033)'), GeomFromEWKT('SRID=4674;POINT (-40.30634 -2.79703)'))) / (select extract(epoch from '2026-07-10 07:47:18'::timestamp) - extract(epoch from '2026-07-10 07:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306179 -2.797033)'), GeomFromEWKT('SRID=4674;POINT (-40.30634 -2.79703)'))) / (select extract(epoch from '2026-07-10 07:47:18'::timestamp) - extract(epoch from '2026-07-10 07:47: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'), 47638, 'SRID=4674;POINT (-40.306479 -2.797024)', '2026-07-10 07:47:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30634 -2.79703)'), GeomFromEWKT('SRID=4674;POINT (-40.306479 -2.797024)'))) / (select extract(epoch from '2026-07-10 07:47:24'::timestamp) - extract(epoch from '2026-07-10 07:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30634 -2.79703)'), GeomFromEWKT('SRID=4674;POINT (-40.306479 -2.797024)'))) / (select extract(epoch from '2026-07-10 07:47:24'::timestamp) - extract(epoch from '2026-07-10 07:47: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'), 47638, 'SRID=4674;POINT (-40.306662 -2.796998)', '2026-07-10 07:47:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306479 -2.797024)'), GeomFromEWKT('SRID=4674;POINT (-40.306662 -2.796998)'))) / (select extract(epoch from '2026-07-10 07:47:32'::timestamp) - extract(epoch from '2026-07-10 07:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306479 -2.797024)'), GeomFromEWKT('SRID=4674;POINT (-40.306662 -2.796998)'))) / (select extract(epoch from '2026-07-10 07:47:32'::timestamp) - extract(epoch from '2026-07-10 07:47:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.306833 -2.796983)', '2026-07-10 07:47:40', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306662 -2.796998)'), GeomFromEWKT('SRID=4674;POINT (-40.306833 -2.796983)'))) / (select extract(epoch from '2026-07-10 07:47:40'::timestamp) - extract(epoch from '2026-07-10 07:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306662 -2.796998)'), GeomFromEWKT('SRID=4674;POINT (-40.306833 -2.796983)'))) / (select extract(epoch from '2026-07-10 07:47:40'::timestamp) - extract(epoch from '2026-07-10 07:47: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'), 47638, 'SRID=4674;POINT (-40.307009 -2.796964)', '2026-07-10 07:47:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306833 -2.796983)'), GeomFromEWKT('SRID=4674;POINT (-40.307009 -2.796964)'))) / (select extract(epoch from '2026-07-10 07:47:48'::timestamp) - extract(epoch from '2026-07-10 07:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306833 -2.796983)'), GeomFromEWKT('SRID=4674;POINT (-40.307009 -2.796964)'))) / (select extract(epoch from '2026-07-10 07:47:48'::timestamp) - extract(epoch from '2026-07-10 07:47:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.307222 -2.796955)', '2026-07-10 07:47:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307009 -2.796964)'), GeomFromEWKT('SRID=4674;POINT (-40.307222 -2.796955)'))) / (select extract(epoch from '2026-07-10 07:47:57'::timestamp) - extract(epoch from '2026-07-10 07:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307009 -2.796964)'), GeomFromEWKT('SRID=4674;POINT (-40.307222 -2.796955)'))) / (select extract(epoch from '2026-07-10 07:47:57'::timestamp) - extract(epoch from '2026-07-10 07:47:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.307451 -2.796929)', '2026-07-10 07:48:06', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307222 -2.796955)'), GeomFromEWKT('SRID=4674;POINT (-40.307451 -2.796929)'))) / (select extract(epoch from '2026-07-10 07:48:06'::timestamp) - extract(epoch from '2026-07-10 07:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307222 -2.796955)'), GeomFromEWKT('SRID=4674;POINT (-40.307451 -2.796929)'))) / (select extract(epoch from '2026-07-10 07:48:06'::timestamp) - extract(epoch from '2026-07-10 07:47: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'), 47638, 'SRID=4674;POINT (-40.307655 -2.796904)', '2026-07-10 07:48:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307451 -2.796929)'), GeomFromEWKT('SRID=4674;POINT (-40.307655 -2.796904)'))) / (select extract(epoch from '2026-07-10 07:48:15'::timestamp) - extract(epoch from '2026-07-10 07:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307451 -2.796929)'), GeomFromEWKT('SRID=4674;POINT (-40.307655 -2.796904)'))) / (select extract(epoch from '2026-07-10 07:48:15'::timestamp) - extract(epoch from '2026-07-10 07:48: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'), 47638, 'SRID=4674;POINT (-40.307839 -2.796888)', '2026-07-10 07:48:23', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307655 -2.796904)'), GeomFromEWKT('SRID=4674;POINT (-40.307839 -2.796888)'))) / (select extract(epoch from '2026-07-10 07:48:23'::timestamp) - extract(epoch from '2026-07-10 07:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307655 -2.796904)'), GeomFromEWKT('SRID=4674;POINT (-40.307839 -2.796888)'))) / (select extract(epoch from '2026-07-10 07:48:23'::timestamp) - extract(epoch from '2026-07-10 07:48:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.308058 -2.796888)', '2026-07-10 07:48:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307839 -2.796888)'), GeomFromEWKT('SRID=4674;POINT (-40.308058 -2.796888)'))) / (select extract(epoch from '2026-07-10 07:48:32'::timestamp) - extract(epoch from '2026-07-10 07:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307839 -2.796888)'), GeomFromEWKT('SRID=4674;POINT (-40.308058 -2.796888)'))) / (select extract(epoch from '2026-07-10 07:48:32'::timestamp) - extract(epoch from '2026-07-10 07:48: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'), 47638, 'SRID=4674;POINT (-40.308299 -2.796878)', '2026-07-10 07:48:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308058 -2.796888)'), GeomFromEWKT('SRID=4674;POINT (-40.308299 -2.796878)'))) / (select extract(epoch from '2026-07-10 07:48:42'::timestamp) - extract(epoch from '2026-07-10 07:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308058 -2.796888)'), GeomFromEWKT('SRID=4674;POINT (-40.308299 -2.796878)'))) / (select extract(epoch from '2026-07-10 07:48:42'::timestamp) - extract(epoch from '2026-07-10 07:48:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.308509 -2.796881)', '2026-07-10 07:48:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308299 -2.796878)'), GeomFromEWKT('SRID=4674;POINT (-40.308509 -2.796881)'))) / (select extract(epoch from '2026-07-10 07:48:51'::timestamp) - extract(epoch from '2026-07-10 07:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308299 -2.796878)'), GeomFromEWKT('SRID=4674;POINT (-40.308509 -2.796881)'))) / (select extract(epoch from '2026-07-10 07:48:51'::timestamp) - extract(epoch from '2026-07-10 07:48:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.308694 -2.79688)', '2026-07-10 07:48:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308509 -2.796881)'), GeomFromEWKT('SRID=4674;POINT (-40.308694 -2.79688)'))) / (select extract(epoch from '2026-07-10 07:48:59'::timestamp) - extract(epoch from '2026-07-10 07:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308509 -2.796881)'), GeomFromEWKT('SRID=4674;POINT (-40.308694 -2.79688)'))) / (select extract(epoch from '2026-07-10 07:48:59'::timestamp) - extract(epoch from '2026-07-10 07:48:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.308858 -2.79687)', '2026-07-10 07:49:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308694 -2.79688)'), GeomFromEWKT('SRID=4674;POINT (-40.308858 -2.79687)'))) / (select extract(epoch from '2026-07-10 07:49:06'::timestamp) - extract(epoch from '2026-07-10 07:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308694 -2.79688)'), GeomFromEWKT('SRID=4674;POINT (-40.308858 -2.79687)'))) / (select extract(epoch from '2026-07-10 07:49:06'::timestamp) - extract(epoch from '2026-07-10 07:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.309041 -2.796883)', '2026-07-10 07:49:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308858 -2.79687)'), GeomFromEWKT('SRID=4674;POINT (-40.309041 -2.796883)'))) / (select extract(epoch from '2026-07-10 07:49:13'::timestamp) - extract(epoch from '2026-07-10 07:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308858 -2.79687)'), GeomFromEWKT('SRID=4674;POINT (-40.309041 -2.796883)'))) / (select extract(epoch from '2026-07-10 07:49:13'::timestamp) - extract(epoch from '2026-07-10 07:49:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.309249 -2.796879)', '2026-07-10 07:49:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309041 -2.796883)'), GeomFromEWKT('SRID=4674;POINT (-40.309249 -2.796879)'))) / (select extract(epoch from '2026-07-10 07:49:21'::timestamp) - extract(epoch from '2026-07-10 07:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309041 -2.796883)'), GeomFromEWKT('SRID=4674;POINT (-40.309249 -2.796879)'))) / (select extract(epoch from '2026-07-10 07:49:21'::timestamp) - extract(epoch from '2026-07-10 07:49: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'), 47638, 'SRID=4674;POINT (-40.309463 -2.796875)', '2026-07-10 07:49:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309249 -2.796879)'), GeomFromEWKT('SRID=4674;POINT (-40.309463 -2.796875)'))) / (select extract(epoch from '2026-07-10 07:49:30'::timestamp) - extract(epoch from '2026-07-10 07:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309249 -2.796879)'), GeomFromEWKT('SRID=4674;POINT (-40.309463 -2.796875)'))) / (select extract(epoch from '2026-07-10 07:49:30'::timestamp) - extract(epoch from '2026-07-10 07:49: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'), 47638, 'SRID=4674;POINT (-40.309746 -2.79686)', '2026-07-10 07:49:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309463 -2.796875)'), GeomFromEWKT('SRID=4674;POINT (-40.309746 -2.79686)'))) / (select extract(epoch from '2026-07-10 07:49:41'::timestamp) - extract(epoch from '2026-07-10 07:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309463 -2.796875)'), GeomFromEWKT('SRID=4674;POINT (-40.309746 -2.79686)'))) / (select extract(epoch from '2026-07-10 07:49:41'::timestamp) - extract(epoch from '2026-07-10 07:49: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'), 47638, 'SRID=4674;POINT (-40.310006 -2.796854)', '2026-07-10 07:49:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309746 -2.79686)'), GeomFromEWKT('SRID=4674;POINT (-40.310006 -2.796854)'))) / (select extract(epoch from '2026-07-10 07:49:51'::timestamp) - extract(epoch from '2026-07-10 07:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309746 -2.79686)'), GeomFromEWKT('SRID=4674;POINT (-40.310006 -2.796854)'))) / (select extract(epoch from '2026-07-10 07:49:51'::timestamp) - extract(epoch from '2026-07-10 07:49: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'), 47638, 'SRID=4674;POINT (-40.310229 -2.796862)', '2026-07-10 07:49:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310006 -2.796854)'), GeomFromEWKT('SRID=4674;POINT (-40.310229 -2.796862)'))) / (select extract(epoch from '2026-07-10 07:49:59'::timestamp) - extract(epoch from '2026-07-10 07:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310006 -2.796854)'), GeomFromEWKT('SRID=4674;POINT (-40.310229 -2.796862)'))) / (select extract(epoch from '2026-07-10 07:49:59'::timestamp) - extract(epoch from '2026-07-10 07:49:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.310395 -2.796848)', '2026-07-10 07:50:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310229 -2.796862)'), GeomFromEWKT('SRID=4674;POINT (-40.310395 -2.796848)'))) / (select extract(epoch from '2026-07-10 07:50:05'::timestamp) - extract(epoch from '2026-07-10 07:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310229 -2.796862)'), GeomFromEWKT('SRID=4674;POINT (-40.310395 -2.796848)'))) / (select extract(epoch from '2026-07-10 07:50:05'::timestamp) - extract(epoch from '2026-07-10 07:49: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'), 47638, 'SRID=4674;POINT (-40.310662 -2.79688)', '2026-07-10 07:50:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310395 -2.796848)'), GeomFromEWKT('SRID=4674;POINT (-40.310662 -2.79688)'))) / (select extract(epoch from '2026-07-10 07:50:15'::timestamp) - extract(epoch from '2026-07-10 07:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310395 -2.796848)'), GeomFromEWKT('SRID=4674;POINT (-40.310662 -2.79688)'))) / (select extract(epoch from '2026-07-10 07:50:15'::timestamp) - extract(epoch from '2026-07-10 07:50:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.310925 -2.796905)', '2026-07-10 07:50:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310662 -2.79688)'), GeomFromEWKT('SRID=4674;POINT (-40.310925 -2.796905)'))) / (select extract(epoch from '2026-07-10 07:50:24'::timestamp) - extract(epoch from '2026-07-10 07:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310662 -2.79688)'), GeomFromEWKT('SRID=4674;POINT (-40.310925 -2.796905)'))) / (select extract(epoch from '2026-07-10 07:50:24'::timestamp) - extract(epoch from '2026-07-10 07:50: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'), 47638, 'SRID=4674;POINT (-40.311143 -2.796919)', '2026-07-10 07:50:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310925 -2.796905)'), GeomFromEWKT('SRID=4674;POINT (-40.311143 -2.796919)'))) / (select extract(epoch from '2026-07-10 07:50:32'::timestamp) - extract(epoch from '2026-07-10 07:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310925 -2.796905)'), GeomFromEWKT('SRID=4674;POINT (-40.311143 -2.796919)'))) / (select extract(epoch from '2026-07-10 07:50:32'::timestamp) - extract(epoch from '2026-07-10 07:50: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'), 47638, 'SRID=4674;POINT (-40.311325 -2.79692)', '2026-07-10 07:50:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311143 -2.796919)'), GeomFromEWKT('SRID=4674;POINT (-40.311325 -2.79692)'))) / (select extract(epoch from '2026-07-10 07:50:39'::timestamp) - extract(epoch from '2026-07-10 07:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311143 -2.796919)'), GeomFromEWKT('SRID=4674;POINT (-40.311325 -2.79692)'))) / (select extract(epoch from '2026-07-10 07:50:39'::timestamp) - extract(epoch from '2026-07-10 07:50: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'), 47638, 'SRID=4674;POINT (-40.311514 -2.796895)', '2026-07-10 07:50:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311325 -2.79692)'), GeomFromEWKT('SRID=4674;POINT (-40.311514 -2.796895)'))) / (select extract(epoch from '2026-07-10 07:50:46'::timestamp) - extract(epoch from '2026-07-10 07:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311325 -2.79692)'), GeomFromEWKT('SRID=4674;POINT (-40.311514 -2.796895)'))) / (select extract(epoch from '2026-07-10 07:50:46'::timestamp) - extract(epoch from '2026-07-10 07:50:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.311701 -2.796832)', '2026-07-10 07:50:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311514 -2.796895)'), GeomFromEWKT('SRID=4674;POINT (-40.311701 -2.796832)'))) / (select extract(epoch from '2026-07-10 07:50:53'::timestamp) - extract(epoch from '2026-07-10 07:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311514 -2.796895)'), GeomFromEWKT('SRID=4674;POINT (-40.311701 -2.796832)'))) / (select extract(epoch from '2026-07-10 07:50:53'::timestamp) - extract(epoch from '2026-07-10 07:50:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.311887 -2.796797)', '2026-07-10 07:51:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311701 -2.796832)'), GeomFromEWKT('SRID=4674;POINT (-40.311887 -2.796797)'))) / (select extract(epoch from '2026-07-10 07:51:01'::timestamp) - extract(epoch from '2026-07-10 07:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311701 -2.796832)'), GeomFromEWKT('SRID=4674;POINT (-40.311887 -2.796797)'))) / (select extract(epoch from '2026-07-10 07:51:01'::timestamp) - extract(epoch from '2026-07-10 07:50: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'), 47638, 'SRID=4674;POINT (-40.312047 -2.796781)', '2026-07-10 07:51:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311887 -2.796797)'), GeomFromEWKT('SRID=4674;POINT (-40.312047 -2.796781)'))) / (select extract(epoch from '2026-07-10 07:51:08'::timestamp) - extract(epoch from '2026-07-10 07:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311887 -2.796797)'), GeomFromEWKT('SRID=4674;POINT (-40.312047 -2.796781)'))) / (select extract(epoch from '2026-07-10 07:51:08'::timestamp) - extract(epoch from '2026-07-10 07:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.312241 -2.796773)', '2026-07-10 07:51:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312047 -2.796781)'), GeomFromEWKT('SRID=4674;POINT (-40.312241 -2.796773)'))) / (select extract(epoch from '2026-07-10 07:51:16'::timestamp) - extract(epoch from '2026-07-10 07:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312047 -2.796781)'), GeomFromEWKT('SRID=4674;POINT (-40.312241 -2.796773)'))) / (select extract(epoch from '2026-07-10 07:51:16'::timestamp) - extract(epoch from '2026-07-10 07:51:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.312469 -2.796761)', '2026-07-10 07:51:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312241 -2.796773)'), GeomFromEWKT('SRID=4674;POINT (-40.312469 -2.796761)'))) / (select extract(epoch from '2026-07-10 07:51:25'::timestamp) - extract(epoch from '2026-07-10 07:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312241 -2.796773)'), GeomFromEWKT('SRID=4674;POINT (-40.312469 -2.796761)'))) / (select extract(epoch from '2026-07-10 07:51:25'::timestamp) - extract(epoch from '2026-07-10 07:51: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'), 47638, 'SRID=4674;POINT (-40.312613 -2.79672)', '2026-07-10 07:51:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312469 -2.796761)'), GeomFromEWKT('SRID=4674;POINT (-40.312613 -2.79672)'))) / (select extract(epoch from '2026-07-10 07:51:31'::timestamp) - extract(epoch from '2026-07-10 07:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312469 -2.796761)'), GeomFromEWKT('SRID=4674;POINT (-40.312613 -2.79672)'))) / (select extract(epoch from '2026-07-10 07:51:31'::timestamp) - extract(epoch from '2026-07-10 07:51: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'), 47638, 'SRID=4674;POINT (-40.312819 -2.796673)', '2026-07-10 07:51:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312613 -2.79672)'), GeomFromEWKT('SRID=4674;POINT (-40.312819 -2.796673)'))) / (select extract(epoch from '2026-07-10 07:51:40'::timestamp) - extract(epoch from '2026-07-10 07:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312613 -2.79672)'), GeomFromEWKT('SRID=4674;POINT (-40.312819 -2.796673)'))) / (select extract(epoch from '2026-07-10 07:51:40'::timestamp) - extract(epoch from '2026-07-10 07:51:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.312967 -2.796654)', '2026-07-10 07:51:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312819 -2.796673)'), GeomFromEWKT('SRID=4674;POINT (-40.312967 -2.796654)'))) / (select extract(epoch from '2026-07-10 07:51:47'::timestamp) - extract(epoch from '2026-07-10 07:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312819 -2.796673)'), GeomFromEWKT('SRID=4674;POINT (-40.312967 -2.796654)'))) / (select extract(epoch from '2026-07-10 07:51:47'::timestamp) - extract(epoch from '2026-07-10 07:51: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'), 47638, 'SRID=4674;POINT (-40.313182 -2.796628)', '2026-07-10 07:51:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312967 -2.796654)'), GeomFromEWKT('SRID=4674;POINT (-40.313182 -2.796628)'))) / (select extract(epoch from '2026-07-10 07:51:57'::timestamp) - extract(epoch from '2026-07-10 07:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312967 -2.796654)'), GeomFromEWKT('SRID=4674;POINT (-40.313182 -2.796628)'))) / (select extract(epoch from '2026-07-10 07:51:57'::timestamp) - extract(epoch from '2026-07-10 07:51:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.31337 -2.796585)', '2026-07-10 07:52:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313182 -2.796628)'), GeomFromEWKT('SRID=4674;POINT (-40.31337 -2.796585)'))) / (select extract(epoch from '2026-07-10 07:52:05'::timestamp) - extract(epoch from '2026-07-10 07:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313182 -2.796628)'), GeomFromEWKT('SRID=4674;POINT (-40.31337 -2.796585)'))) / (select extract(epoch from '2026-07-10 07:52:05'::timestamp) - extract(epoch from '2026-07-10 07:51: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'), 47638, 'SRID=4674;POINT (-40.313555 -2.796552)', '2026-07-10 07:52:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31337 -2.796585)'), GeomFromEWKT('SRID=4674;POINT (-40.313555 -2.796552)'))) / (select extract(epoch from '2026-07-10 07:52:13'::timestamp) - extract(epoch from '2026-07-10 07:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31337 -2.796585)'), GeomFromEWKT('SRID=4674;POINT (-40.313555 -2.796552)'))) / (select extract(epoch from '2026-07-10 07:52:13'::timestamp) - extract(epoch from '2026-07-10 07:52: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'), 47638, 'SRID=4674;POINT (-40.313737 -2.796526)', '2026-07-10 07:52:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313555 -2.796552)'), GeomFromEWKT('SRID=4674;POINT (-40.313737 -2.796526)'))) / (select extract(epoch from '2026-07-10 07:52:20'::timestamp) - extract(epoch from '2026-07-10 07:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313555 -2.796552)'), GeomFromEWKT('SRID=4674;POINT (-40.313737 -2.796526)'))) / (select extract(epoch from '2026-07-10 07:52:20'::timestamp) - extract(epoch from '2026-07-10 07:52:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.3139 -2.796523)', '2026-07-10 07:52:26', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313737 -2.796526)'), GeomFromEWKT('SRID=4674;POINT (-40.3139 -2.796523)'))) / (select extract(epoch from '2026-07-10 07:52:26'::timestamp) - extract(epoch from '2026-07-10 07:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313737 -2.796526)'), GeomFromEWKT('SRID=4674;POINT (-40.3139 -2.796523)'))) / (select extract(epoch from '2026-07-10 07:52:26'::timestamp) - extract(epoch from '2026-07-10 07:52:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.314092 -2.796494)', '2026-07-10 07:52:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3139 -2.796523)'), GeomFromEWKT('SRID=4674;POINT (-40.314092 -2.796494)'))) / (select extract(epoch from '2026-07-10 07:52:33'::timestamp) - extract(epoch from '2026-07-10 07:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3139 -2.796523)'), GeomFromEWKT('SRID=4674;POINT (-40.314092 -2.796494)'))) / (select extract(epoch from '2026-07-10 07:52:33'::timestamp) - extract(epoch from '2026-07-10 07:52:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.314273 -2.796444)', '2026-07-10 07:52:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314092 -2.796494)'), GeomFromEWKT('SRID=4674;POINT (-40.314273 -2.796444)'))) / (select extract(epoch from '2026-07-10 07:52:39'::timestamp) - extract(epoch from '2026-07-10 07:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314092 -2.796494)'), GeomFromEWKT('SRID=4674;POINT (-40.314273 -2.796444)'))) / (select extract(epoch from '2026-07-10 07:52:39'::timestamp) - extract(epoch from '2026-07-10 07:52: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'), 47638, 'SRID=4674;POINT (-40.314435 -2.796401)', '2026-07-10 07:52:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314273 -2.796444)'), GeomFromEWKT('SRID=4674;POINT (-40.314435 -2.796401)'))) / (select extract(epoch from '2026-07-10 07:52:46'::timestamp) - extract(epoch from '2026-07-10 07:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314273 -2.796444)'), GeomFromEWKT('SRID=4674;POINT (-40.314435 -2.796401)'))) / (select extract(epoch from '2026-07-10 07:52:46'::timestamp) - extract(epoch from '2026-07-10 07:52:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.314655 -2.796326)', '2026-07-10 07:52:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314435 -2.796401)'), GeomFromEWKT('SRID=4674;POINT (-40.314655 -2.796326)'))) / (select extract(epoch from '2026-07-10 07:52:55'::timestamp) - extract(epoch from '2026-07-10 07:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314435 -2.796401)'), GeomFromEWKT('SRID=4674;POINT (-40.314655 -2.796326)'))) / (select extract(epoch from '2026-07-10 07:52:55'::timestamp) - extract(epoch from '2026-07-10 07:52: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'), 47638, 'SRID=4674;POINT (-40.314844 -2.796291)', '2026-07-10 07:53:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314655 -2.796326)'), GeomFromEWKT('SRID=4674;POINT (-40.314844 -2.796291)'))) / (select extract(epoch from '2026-07-10 07:53:03'::timestamp) - extract(epoch from '2026-07-10 07:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314655 -2.796326)'), GeomFromEWKT('SRID=4674;POINT (-40.314844 -2.796291)'))) / (select extract(epoch from '2026-07-10 07:53:03'::timestamp) - extract(epoch from '2026-07-10 07:52:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.315104 -2.796287)', '2026-07-10 07:53:13', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314844 -2.796291)'), GeomFromEWKT('SRID=4674;POINT (-40.315104 -2.796287)'))) / (select extract(epoch from '2026-07-10 07:53:13'::timestamp) - extract(epoch from '2026-07-10 07:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314844 -2.796291)'), GeomFromEWKT('SRID=4674;POINT (-40.315104 -2.796287)'))) / (select extract(epoch from '2026-07-10 07:53:13'::timestamp) - extract(epoch from '2026-07-10 07:53:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.31532 -2.79627)', '2026-07-10 07:53:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315104 -2.796287)'), GeomFromEWKT('SRID=4674;POINT (-40.31532 -2.79627)'))) / (select extract(epoch from '2026-07-10 07:53:21'::timestamp) - extract(epoch from '2026-07-10 07:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315104 -2.796287)'), GeomFromEWKT('SRID=4674;POINT (-40.31532 -2.79627)'))) / (select extract(epoch from '2026-07-10 07:53:21'::timestamp) - extract(epoch from '2026-07-10 07:53: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'), 47638, 'SRID=4674;POINT (-40.315511 -2.796261)', '2026-07-10 07:53:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31532 -2.79627)'), GeomFromEWKT('SRID=4674;POINT (-40.315511 -2.796261)'))) / (select extract(epoch from '2026-07-10 07:53:28'::timestamp) - extract(epoch from '2026-07-10 07:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31532 -2.79627)'), GeomFromEWKT('SRID=4674;POINT (-40.315511 -2.796261)'))) / (select extract(epoch from '2026-07-10 07:53:28'::timestamp) - extract(epoch from '2026-07-10 07:53: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'), 47638, 'SRID=4674;POINT (-40.315757 -2.796213)', '2026-07-10 07:53:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315511 -2.796261)'), GeomFromEWKT('SRID=4674;POINT (-40.315757 -2.796213)'))) / (select extract(epoch from '2026-07-10 07:53:38'::timestamp) - extract(epoch from '2026-07-10 07:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315511 -2.796261)'), GeomFromEWKT('SRID=4674;POINT (-40.315757 -2.796213)'))) / (select extract(epoch from '2026-07-10 07:53:38'::timestamp) - extract(epoch from '2026-07-10 07:53: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'), 47638, 'SRID=4674;POINT (-40.315931 -2.796173)', '2026-07-10 07:53:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315757 -2.796213)'), GeomFromEWKT('SRID=4674;POINT (-40.315931 -2.796173)'))) / (select extract(epoch from '2026-07-10 07:53:46'::timestamp) - extract(epoch from '2026-07-10 07:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315757 -2.796213)'), GeomFromEWKT('SRID=4674;POINT (-40.315931 -2.796173)'))) / (select extract(epoch from '2026-07-10 07:53:46'::timestamp) - extract(epoch from '2026-07-10 07:53:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.316084 -2.79614)', '2026-07-10 07:53:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315931 -2.796173)'), GeomFromEWKT('SRID=4674;POINT (-40.316084 -2.79614)'))) / (select extract(epoch from '2026-07-10 07:53:53'::timestamp) - extract(epoch from '2026-07-10 07:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315931 -2.796173)'), GeomFromEWKT('SRID=4674;POINT (-40.316084 -2.79614)'))) / (select extract(epoch from '2026-07-10 07:53:53'::timestamp) - extract(epoch from '2026-07-10 07:53: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'), 47638, 'SRID=4674;POINT (-40.316283 -2.796116)', '2026-07-10 07:54:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316084 -2.79614)'), GeomFromEWKT('SRID=4674;POINT (-40.316283 -2.796116)'))) / (select extract(epoch from '2026-07-10 07:54:02'::timestamp) - extract(epoch from '2026-07-10 07:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316084 -2.79614)'), GeomFromEWKT('SRID=4674;POINT (-40.316283 -2.796116)'))) / (select extract(epoch from '2026-07-10 07:54:02'::timestamp) - extract(epoch from '2026-07-10 07:53: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'), 47638, 'SRID=4674;POINT (-40.316421 -2.796106)', '2026-07-10 07:54:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316283 -2.796116)'), GeomFromEWKT('SRID=4674;POINT (-40.316421 -2.796106)'))) / (select extract(epoch from '2026-07-10 07:54:08'::timestamp) - extract(epoch from '2026-07-10 07:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316283 -2.796116)'), GeomFromEWKT('SRID=4674;POINT (-40.316421 -2.796106)'))) / (select extract(epoch from '2026-07-10 07:54:08'::timestamp) - extract(epoch from '2026-07-10 07:54: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'), 47638, 'SRID=4674;POINT (-40.316628 -2.79612)', '2026-07-10 07:54:16', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316421 -2.796106)'), GeomFromEWKT('SRID=4674;POINT (-40.316628 -2.79612)'))) / (select extract(epoch from '2026-07-10 07:54:16'::timestamp) - extract(epoch from '2026-07-10 07:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316421 -2.796106)'), GeomFromEWKT('SRID=4674;POINT (-40.316628 -2.79612)'))) / (select extract(epoch from '2026-07-10 07:54:16'::timestamp) - extract(epoch from '2026-07-10 07:54: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'), 47638, 'SRID=4674;POINT (-40.3168 -2.796177)', '2026-07-10 07:54:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316628 -2.79612)'), GeomFromEWKT('SRID=4674;POINT (-40.3168 -2.796177)'))) / (select extract(epoch from '2026-07-10 07:54:23'::timestamp) - extract(epoch from '2026-07-10 07:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316628 -2.79612)'), GeomFromEWKT('SRID=4674;POINT (-40.3168 -2.796177)'))) / (select extract(epoch from '2026-07-10 07:54:23'::timestamp) - extract(epoch from '2026-07-10 07:54:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.317019 -2.796215)', '2026-07-10 07:54:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3168 -2.796177)'), GeomFromEWKT('SRID=4674;POINT (-40.317019 -2.796215)'))) / (select extract(epoch from '2026-07-10 07:54:31'::timestamp) - extract(epoch from '2026-07-10 07:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3168 -2.796177)'), GeomFromEWKT('SRID=4674;POINT (-40.317019 -2.796215)'))) / (select extract(epoch from '2026-07-10 07:54:31'::timestamp) - extract(epoch from '2026-07-10 07:54: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'), 47638, 'SRID=4674;POINT (-40.317225 -2.796183)', '2026-07-10 07:54:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317019 -2.796215)'), GeomFromEWKT('SRID=4674;POINT (-40.317225 -2.796183)'))) / (select extract(epoch from '2026-07-10 07:54:39'::timestamp) - extract(epoch from '2026-07-10 07:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317019 -2.796215)'), GeomFromEWKT('SRID=4674;POINT (-40.317225 -2.796183)'))) / (select extract(epoch from '2026-07-10 07:54:39'::timestamp) - extract(epoch from '2026-07-10 07:54:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.317447 -2.796156)', '2026-07-10 07:54:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317225 -2.796183)'), GeomFromEWKT('SRID=4674;POINT (-40.317447 -2.796156)'))) / (select extract(epoch from '2026-07-10 07:54:48'::timestamp) - extract(epoch from '2026-07-10 07:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317225 -2.796183)'), GeomFromEWKT('SRID=4674;POINT (-40.317447 -2.796156)'))) / (select extract(epoch from '2026-07-10 07:54:48'::timestamp) - extract(epoch from '2026-07-10 07:54:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.317624 -2.79612)', '2026-07-10 07:54:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317447 -2.796156)'), GeomFromEWKT('SRID=4674;POINT (-40.317624 -2.79612)'))) / (select extract(epoch from '2026-07-10 07:54:55'::timestamp) - extract(epoch from '2026-07-10 07:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317447 -2.796156)'), GeomFromEWKT('SRID=4674;POINT (-40.317624 -2.79612)'))) / (select extract(epoch from '2026-07-10 07:54:55'::timestamp) - extract(epoch from '2026-07-10 07:54: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'), 47638, 'SRID=4674;POINT (-40.317843 -2.796082)', '2026-07-10 07:55:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317624 -2.79612)'), GeomFromEWKT('SRID=4674;POINT (-40.317843 -2.796082)'))) / (select extract(epoch from '2026-07-10 07:55:04'::timestamp) - extract(epoch from '2026-07-10 07:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317624 -2.79612)'), GeomFromEWKT('SRID=4674;POINT (-40.317843 -2.796082)'))) / (select extract(epoch from '2026-07-10 07:55:04'::timestamp) - extract(epoch from '2026-07-10 07:54:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.317986 -2.79606)', '2026-07-10 07:55:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317843 -2.796082)'), GeomFromEWKT('SRID=4674;POINT (-40.317986 -2.79606)'))) / (select extract(epoch from '2026-07-10 07:55:10'::timestamp) - extract(epoch from '2026-07-10 07:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317843 -2.796082)'), GeomFromEWKT('SRID=4674;POINT (-40.317986 -2.79606)'))) / (select extract(epoch from '2026-07-10 07:55:10'::timestamp) - extract(epoch from '2026-07-10 07:55:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.318201 -2.796019)', '2026-07-10 07:55:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317986 -2.79606)'), GeomFromEWKT('SRID=4674;POINT (-40.318201 -2.796019)'))) / (select extract(epoch from '2026-07-10 07:55:18'::timestamp) - extract(epoch from '2026-07-10 07:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317986 -2.79606)'), GeomFromEWKT('SRID=4674;POINT (-40.318201 -2.796019)'))) / (select extract(epoch from '2026-07-10 07:55:18'::timestamp) - extract(epoch from '2026-07-10 07:55:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.318392 -2.795977)', '2026-07-10 07:55:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318201 -2.796019)'), GeomFromEWKT('SRID=4674;POINT (-40.318392 -2.795977)'))) / (select extract(epoch from '2026-07-10 07:55:25'::timestamp) - extract(epoch from '2026-07-10 07:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318201 -2.796019)'), GeomFromEWKT('SRID=4674;POINT (-40.318392 -2.795977)'))) / (select extract(epoch from '2026-07-10 07:55:25'::timestamp) - extract(epoch from '2026-07-10 07:55:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.318604 -2.795936)', '2026-07-10 07:55:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318392 -2.795977)'), GeomFromEWKT('SRID=4674;POINT (-40.318604 -2.795936)'))) / (select extract(epoch from '2026-07-10 07:55:33'::timestamp) - extract(epoch from '2026-07-10 07:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318392 -2.795977)'), GeomFromEWKT('SRID=4674;POINT (-40.318604 -2.795936)'))) / (select extract(epoch from '2026-07-10 07:55:33'::timestamp) - extract(epoch from '2026-07-10 07:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.31882 -2.79589)', '2026-07-10 07:55:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318604 -2.795936)'), GeomFromEWKT('SRID=4674;POINT (-40.31882 -2.79589)'))) / (select extract(epoch from '2026-07-10 07:55:41'::timestamp) - extract(epoch from '2026-07-10 07:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318604 -2.795936)'), GeomFromEWKT('SRID=4674;POINT (-40.31882 -2.79589)'))) / (select extract(epoch from '2026-07-10 07:55:41'::timestamp) - extract(epoch from '2026-07-10 07:55:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.318972 -2.79588)', '2026-07-10 07:55:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31882 -2.79589)'), GeomFromEWKT('SRID=4674;POINT (-40.318972 -2.79588)'))) / (select extract(epoch from '2026-07-10 07:55:47'::timestamp) - extract(epoch from '2026-07-10 07:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31882 -2.79589)'), GeomFromEWKT('SRID=4674;POINT (-40.318972 -2.79588)'))) / (select extract(epoch from '2026-07-10 07:55:47'::timestamp) - extract(epoch from '2026-07-10 07:55:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.319153 -2.795863)', '2026-07-10 07:55:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318972 -2.79588)'), GeomFromEWKT('SRID=4674;POINT (-40.319153 -2.795863)'))) / (select extract(epoch from '2026-07-10 07:55:54'::timestamp) - extract(epoch from '2026-07-10 07:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318972 -2.79588)'), GeomFromEWKT('SRID=4674;POINT (-40.319153 -2.795863)'))) / (select extract(epoch from '2026-07-10 07:55:54'::timestamp) - extract(epoch from '2026-07-10 07:55: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'), 47638, 'SRID=4674;POINT (-40.319333 -2.795841)', '2026-07-10 07:56:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319153 -2.795863)'), GeomFromEWKT('SRID=4674;POINT (-40.319333 -2.795841)'))) / (select extract(epoch from '2026-07-10 07:56:01'::timestamp) - extract(epoch from '2026-07-10 07:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319153 -2.795863)'), GeomFromEWKT('SRID=4674;POINT (-40.319333 -2.795841)'))) / (select extract(epoch from '2026-07-10 07:56:01'::timestamp) - extract(epoch from '2026-07-10 07:55: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'), 47638, 'SRID=4674;POINT (-40.319566 -2.795816)', '2026-07-10 07:56:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319333 -2.795841)'), GeomFromEWKT('SRID=4674;POINT (-40.319566 -2.795816)'))) / (select extract(epoch from '2026-07-10 07:56:10'::timestamp) - extract(epoch from '2026-07-10 07:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319333 -2.795841)'), GeomFromEWKT('SRID=4674;POINT (-40.319566 -2.795816)'))) / (select extract(epoch from '2026-07-10 07:56:10'::timestamp) - extract(epoch from '2026-07-10 07:56:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.31974 -2.795787)', '2026-07-10 07:56:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319566 -2.795816)'), GeomFromEWKT('SRID=4674;POINT (-40.31974 -2.795787)'))) / (select extract(epoch from '2026-07-10 07:56:17'::timestamp) - extract(epoch from '2026-07-10 07:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319566 -2.795816)'), GeomFromEWKT('SRID=4674;POINT (-40.31974 -2.795787)'))) / (select extract(epoch from '2026-07-10 07:56:17'::timestamp) - extract(epoch from '2026-07-10 07:56:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.3199 -2.795728)', '2026-07-10 07:56:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31974 -2.795787)'), GeomFromEWKT('SRID=4674;POINT (-40.3199 -2.795728)'))) / (select extract(epoch from '2026-07-10 07:56:25'::timestamp) - extract(epoch from '2026-07-10 07:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31974 -2.795787)'), GeomFromEWKT('SRID=4674;POINT (-40.3199 -2.795728)'))) / (select extract(epoch from '2026-07-10 07:56:25'::timestamp) - extract(epoch from '2026-07-10 07:56: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'), 47638, 'SRID=4674;POINT (-40.320033 -2.795693)', '2026-07-10 07:56:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3199 -2.795728)'), GeomFromEWKT('SRID=4674;POINT (-40.320033 -2.795693)'))) / (select extract(epoch from '2026-07-10 07:56:32'::timestamp) - extract(epoch from '2026-07-10 07:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3199 -2.795728)'), GeomFromEWKT('SRID=4674;POINT (-40.320033 -2.795693)'))) / (select extract(epoch from '2026-07-10 07:56:32'::timestamp) - extract(epoch from '2026-07-10 07:56: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'), 47638, 'SRID=4674;POINT (-40.320157 -2.795657)', '2026-07-10 07:56:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320033 -2.795693)'), GeomFromEWKT('SRID=4674;POINT (-40.320157 -2.795657)'))) / (select extract(epoch from '2026-07-10 07:56:39'::timestamp) - extract(epoch from '2026-07-10 07:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320033 -2.795693)'), GeomFromEWKT('SRID=4674;POINT (-40.320157 -2.795657)'))) / (select extract(epoch from '2026-07-10 07:56:39'::timestamp) - extract(epoch from '2026-07-10 07:56: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'), 47638, 'SRID=4674;POINT (-40.320308 -2.79562)', '2026-07-10 07:56:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320157 -2.795657)'), GeomFromEWKT('SRID=4674;POINT (-40.320308 -2.79562)'))) / (select extract(epoch from '2026-07-10 07:56:47'::timestamp) - extract(epoch from '2026-07-10 07:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320157 -2.795657)'), GeomFromEWKT('SRID=4674;POINT (-40.320308 -2.79562)'))) / (select extract(epoch from '2026-07-10 07:56:47'::timestamp) - extract(epoch from '2026-07-10 07:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.320416 -2.795599)', '2026-07-10 07:56:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320308 -2.79562)'), GeomFromEWKT('SRID=4674;POINT (-40.320416 -2.795599)'))) / (select extract(epoch from '2026-07-10 07:56:52'::timestamp) - extract(epoch from '2026-07-10 07:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320308 -2.79562)'), GeomFromEWKT('SRID=4674;POINT (-40.320416 -2.795599)'))) / (select extract(epoch from '2026-07-10 07:56:52'::timestamp) - extract(epoch from '2026-07-10 07:56: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'), 47638, 'SRID=4674;POINT (-40.320523 -2.795575)', '2026-07-10 07:56:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320416 -2.795599)'), GeomFromEWKT('SRID=4674;POINT (-40.320523 -2.795575)'))) / (select extract(epoch from '2026-07-10 07:56:57'::timestamp) - extract(epoch from '2026-07-10 07:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320416 -2.795599)'), GeomFromEWKT('SRID=4674;POINT (-40.320523 -2.795575)'))) / (select extract(epoch from '2026-07-10 07:56:57'::timestamp) - extract(epoch from '2026-07-10 07:56:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.320707 -2.795537)', '2026-07-10 07:57:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320523 -2.795575)'), GeomFromEWKT('SRID=4674;POINT (-40.320707 -2.795537)'))) / (select extract(epoch from '2026-07-10 07:57:05'::timestamp) - extract(epoch from '2026-07-10 07:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320523 -2.795575)'), GeomFromEWKT('SRID=4674;POINT (-40.320707 -2.795537)'))) / (select extract(epoch from '2026-07-10 07:57:05'::timestamp) - extract(epoch from '2026-07-10 07:56: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'), 47638, 'SRID=4674;POINT (-40.320927 -2.795525)', '2026-07-10 07:57:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320707 -2.795537)'), GeomFromEWKT('SRID=4674;POINT (-40.320927 -2.795525)'))) / (select extract(epoch from '2026-07-10 07:57:14'::timestamp) - extract(epoch from '2026-07-10 07:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320707 -2.795537)'), GeomFromEWKT('SRID=4674;POINT (-40.320927 -2.795525)'))) / (select extract(epoch from '2026-07-10 07:57:14'::timestamp) - extract(epoch from '2026-07-10 07:57:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.321123 -2.795512)', '2026-07-10 07:57:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320927 -2.795525)'), GeomFromEWKT('SRID=4674;POINT (-40.321123 -2.795512)'))) / (select extract(epoch from '2026-07-10 07:57:22'::timestamp) - extract(epoch from '2026-07-10 07:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320927 -2.795525)'), GeomFromEWKT('SRID=4674;POINT (-40.321123 -2.795512)'))) / (select extract(epoch from '2026-07-10 07:57:22'::timestamp) - extract(epoch from '2026-07-10 07:57: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'), 47638, 'SRID=4674;POINT (-40.321283 -2.795485)', '2026-07-10 07:57:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321123 -2.795512)'), GeomFromEWKT('SRID=4674;POINT (-40.321283 -2.795485)'))) / (select extract(epoch from '2026-07-10 07:57:29'::timestamp) - extract(epoch from '2026-07-10 07:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321123 -2.795512)'), GeomFromEWKT('SRID=4674;POINT (-40.321283 -2.795485)'))) / (select extract(epoch from '2026-07-10 07:57:29'::timestamp) - extract(epoch from '2026-07-10 07:57: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'), 47638, 'SRID=4674;POINT (-40.321418 -2.795467)', '2026-07-10 07:57:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321283 -2.795485)'), GeomFromEWKT('SRID=4674;POINT (-40.321418 -2.795467)'))) / (select extract(epoch from '2026-07-10 07:57:35'::timestamp) - extract(epoch from '2026-07-10 07:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321283 -2.795485)'), GeomFromEWKT('SRID=4674;POINT (-40.321418 -2.795467)'))) / (select extract(epoch from '2026-07-10 07:57:35'::timestamp) - extract(epoch from '2026-07-10 07:57:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.321599 -2.795461)', '2026-07-10 07:57:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321418 -2.795467)'), GeomFromEWKT('SRID=4674;POINT (-40.321599 -2.795461)'))) / (select extract(epoch from '2026-07-10 07:57:43'::timestamp) - extract(epoch from '2026-07-10 07:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321418 -2.795467)'), GeomFromEWKT('SRID=4674;POINT (-40.321599 -2.795461)'))) / (select extract(epoch from '2026-07-10 07:57:43'::timestamp) - extract(epoch from '2026-07-10 07:57:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.321763 -2.795461)', '2026-07-10 07:57:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321599 -2.795461)'), GeomFromEWKT('SRID=4674;POINT (-40.321763 -2.795461)'))) / (select extract(epoch from '2026-07-10 07:57:50'::timestamp) - extract(epoch from '2026-07-10 07:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321599 -2.795461)'), GeomFromEWKT('SRID=4674;POINT (-40.321763 -2.795461)'))) / (select extract(epoch from '2026-07-10 07:57:50'::timestamp) - extract(epoch from '2026-07-10 07:57: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'), 47638, 'SRID=4674;POINT (-40.321933 -2.795458)', '2026-07-10 07:57:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321763 -2.795461)'), GeomFromEWKT('SRID=4674;POINT (-40.321933 -2.795458)'))) / (select extract(epoch from '2026-07-10 07:57:57'::timestamp) - extract(epoch from '2026-07-10 07:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321763 -2.795461)'), GeomFromEWKT('SRID=4674;POINT (-40.321933 -2.795458)'))) / (select extract(epoch from '2026-07-10 07:57:57'::timestamp) - extract(epoch from '2026-07-10 07:57:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.322141 -2.795464)', '2026-07-10 07:58:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321933 -2.795458)'), GeomFromEWKT('SRID=4674;POINT (-40.322141 -2.795464)'))) / (select extract(epoch from '2026-07-10 07:58:06'::timestamp) - extract(epoch from '2026-07-10 07:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321933 -2.795458)'), GeomFromEWKT('SRID=4674;POINT (-40.322141 -2.795464)'))) / (select extract(epoch from '2026-07-10 07:58:06'::timestamp) - extract(epoch from '2026-07-10 07:57:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.322298 -2.795463)', '2026-07-10 07:58:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322141 -2.795464)'), GeomFromEWKT('SRID=4674;POINT (-40.322298 -2.795463)'))) / (select extract(epoch from '2026-07-10 07:58:13'::timestamp) - extract(epoch from '2026-07-10 07:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322141 -2.795464)'), GeomFromEWKT('SRID=4674;POINT (-40.322298 -2.795463)'))) / (select extract(epoch from '2026-07-10 07:58:13'::timestamp) - extract(epoch from '2026-07-10 07:58: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'), 47638, 'SRID=4674;POINT (-40.322478 -2.795467)', '2026-07-10 07:58:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322298 -2.795463)'), GeomFromEWKT('SRID=4674;POINT (-40.322478 -2.795467)'))) / (select extract(epoch from '2026-07-10 07:58:21'::timestamp) - extract(epoch from '2026-07-10 07:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322298 -2.795463)'), GeomFromEWKT('SRID=4674;POINT (-40.322478 -2.795467)'))) / (select extract(epoch from '2026-07-10 07:58:21'::timestamp) - extract(epoch from '2026-07-10 07:58: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'), 47638, 'SRID=4674;POINT (-40.3227 -2.795474)', '2026-07-10 07:58:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322478 -2.795467)'), GeomFromEWKT('SRID=4674;POINT (-40.3227 -2.795474)'))) / (select extract(epoch from '2026-07-10 07:58:30'::timestamp) - extract(epoch from '2026-07-10 07:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322478 -2.795467)'), GeomFromEWKT('SRID=4674;POINT (-40.3227 -2.795474)'))) / (select extract(epoch from '2026-07-10 07:58:30'::timestamp) - extract(epoch from '2026-07-10 07:58:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.322939 -2.795495)', '2026-07-10 07:58:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3227 -2.795474)'), GeomFromEWKT('SRID=4674;POINT (-40.322939 -2.795495)'))) / (select extract(epoch from '2026-07-10 07:58:40'::timestamp) - extract(epoch from '2026-07-10 07:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3227 -2.795474)'), GeomFromEWKT('SRID=4674;POINT (-40.322939 -2.795495)'))) / (select extract(epoch from '2026-07-10 07:58:40'::timestamp) - extract(epoch from '2026-07-10 07:58: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'), 47638, 'SRID=4674;POINT (-40.323206 -2.795509)', '2026-07-10 07:58:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322939 -2.795495)'), GeomFromEWKT('SRID=4674;POINT (-40.323206 -2.795509)'))) / (select extract(epoch from '2026-07-10 07:58:51'::timestamp) - extract(epoch from '2026-07-10 07:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322939 -2.795495)'), GeomFromEWKT('SRID=4674;POINT (-40.323206 -2.795509)'))) / (select extract(epoch from '2026-07-10 07:58:51'::timestamp) - extract(epoch from '2026-07-10 07:58: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'), 47638, 'SRID=4674;POINT (-40.323436 -2.795513)', '2026-07-10 07:59:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323206 -2.795509)'), GeomFromEWKT('SRID=4674;POINT (-40.323436 -2.795513)'))) / (select extract(epoch from '2026-07-10 07:59:00'::timestamp) - extract(epoch from '2026-07-10 07:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323206 -2.795509)'), GeomFromEWKT('SRID=4674;POINT (-40.323436 -2.795513)'))) / (select extract(epoch from '2026-07-10 07:59:00'::timestamp) - extract(epoch from '2026-07-10 07:58: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'), 47638, 'SRID=4674;POINT (-40.323697 -2.795502)', '2026-07-10 07:59:10', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323436 -2.795513)'), GeomFromEWKT('SRID=4674;POINT (-40.323697 -2.795502)'))) / (select extract(epoch from '2026-07-10 07:59:10'::timestamp) - extract(epoch from '2026-07-10 07:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323436 -2.795513)'), GeomFromEWKT('SRID=4674;POINT (-40.323697 -2.795502)'))) / (select extract(epoch from '2026-07-10 07:59:10'::timestamp) - extract(epoch from '2026-07-10 07:59: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'), 47638, 'SRID=4674;POINT (-40.323931 -2.795493)', '2026-07-10 07:59:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323697 -2.795502)'), GeomFromEWKT('SRID=4674;POINT (-40.323931 -2.795493)'))) / (select extract(epoch from '2026-07-10 07:59:19'::timestamp) - extract(epoch from '2026-07-10 07:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323697 -2.795502)'), GeomFromEWKT('SRID=4674;POINT (-40.323931 -2.795493)'))) / (select extract(epoch from '2026-07-10 07:59:19'::timestamp) - extract(epoch from '2026-07-10 07:59:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.324159 -2.795505)', '2026-07-10 07:59:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323931 -2.795493)'), GeomFromEWKT('SRID=4674;POINT (-40.324159 -2.795505)'))) / (select extract(epoch from '2026-07-10 07:59:28'::timestamp) - extract(epoch from '2026-07-10 07:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323931 -2.795493)'), GeomFromEWKT('SRID=4674;POINT (-40.324159 -2.795505)'))) / (select extract(epoch from '2026-07-10 07:59:28'::timestamp) - extract(epoch from '2026-07-10 07:59: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'), 47638, 'SRID=4674;POINT (-40.324347 -2.795505)', '2026-07-10 07:59:36', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324159 -2.795505)'), GeomFromEWKT('SRID=4674;POINT (-40.324347 -2.795505)'))) / (select extract(epoch from '2026-07-10 07:59:36'::timestamp) - extract(epoch from '2026-07-10 07:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324159 -2.795505)'), GeomFromEWKT('SRID=4674;POINT (-40.324347 -2.795505)'))) / (select extract(epoch from '2026-07-10 07:59:36'::timestamp) - extract(epoch from '2026-07-10 07:59: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'), 47638, 'SRID=4674;POINT (-40.324575 -2.795506)', '2026-07-10 07:59:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324347 -2.795505)'), GeomFromEWKT('SRID=4674;POINT (-40.324575 -2.795506)'))) / (select extract(epoch from '2026-07-10 07:59:46'::timestamp) - extract(epoch from '2026-07-10 07:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324347 -2.795505)'), GeomFromEWKT('SRID=4674;POINT (-40.324575 -2.795506)'))) / (select extract(epoch from '2026-07-10 07:59:46'::timestamp) - extract(epoch from '2026-07-10 07:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.324798 -2.795515)', '2026-07-10 07:59:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324575 -2.795506)'), GeomFromEWKT('SRID=4674;POINT (-40.324798 -2.795515)'))) / (select extract(epoch from '2026-07-10 07:59:55'::timestamp) - extract(epoch from '2026-07-10 07:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324575 -2.795506)'), GeomFromEWKT('SRID=4674;POINT (-40.324798 -2.795515)'))) / (select extract(epoch from '2026-07-10 07:59:55'::timestamp) - extract(epoch from '2026-07-10 07:59:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.325028 -2.795512)', '2026-07-10 08:00:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324798 -2.795515)'), GeomFromEWKT('SRID=4674;POINT (-40.325028 -2.795512)'))) / (select extract(epoch from '2026-07-10 08:00:04'::timestamp) - extract(epoch from '2026-07-10 07:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324798 -2.795515)'), GeomFromEWKT('SRID=4674;POINT (-40.325028 -2.795512)'))) / (select extract(epoch from '2026-07-10 08:00:04'::timestamp) - extract(epoch from '2026-07-10 07:59:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.325229 -2.795521)', '2026-07-10 08:00:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325028 -2.795512)'), GeomFromEWKT('SRID=4674;POINT (-40.325229 -2.795521)'))) / (select extract(epoch from '2026-07-10 08:00:12'::timestamp) - extract(epoch from '2026-07-10 08:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325028 -2.795512)'), GeomFromEWKT('SRID=4674;POINT (-40.325229 -2.795521)'))) / (select extract(epoch from '2026-07-10 08:00:12'::timestamp) - extract(epoch from '2026-07-10 08:00: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'), 47638, 'SRID=4674;POINT (-40.325443 -2.795523)', '2026-07-10 08:00:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325229 -2.795521)'), GeomFromEWKT('SRID=4674;POINT (-40.325443 -2.795523)'))) / (select extract(epoch from '2026-07-10 08:00:20'::timestamp) - extract(epoch from '2026-07-10 08:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325229 -2.795521)'), GeomFromEWKT('SRID=4674;POINT (-40.325443 -2.795523)'))) / (select extract(epoch from '2026-07-10 08:00:20'::timestamp) - extract(epoch from '2026-07-10 08:00: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'), 47638, 'SRID=4674;POINT (-40.325664 -2.795529)', '2026-07-10 08:00:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325443 -2.795523)'), GeomFromEWKT('SRID=4674;POINT (-40.325664 -2.795529)'))) / (select extract(epoch from '2026-07-10 08:00:28'::timestamp) - extract(epoch from '2026-07-10 08:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325443 -2.795523)'), GeomFromEWKT('SRID=4674;POINT (-40.325664 -2.795529)'))) / (select extract(epoch from '2026-07-10 08:00:28'::timestamp) - extract(epoch from '2026-07-10 08:00: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'), 47638, 'SRID=4674;POINT (-40.325899 -2.795534)', '2026-07-10 08:00:37', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325664 -2.795529)'), GeomFromEWKT('SRID=4674;POINT (-40.325899 -2.795534)'))) / (select extract(epoch from '2026-07-10 08:00:37'::timestamp) - extract(epoch from '2026-07-10 08:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325664 -2.795529)'), GeomFromEWKT('SRID=4674;POINT (-40.325899 -2.795534)'))) / (select extract(epoch from '2026-07-10 08:00:37'::timestamp) - extract(epoch from '2026-07-10 08:00:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.326075 -2.795534)', '2026-07-10 08:00:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325899 -2.795534)'), GeomFromEWKT('SRID=4674;POINT (-40.326075 -2.795534)'))) / (select extract(epoch from '2026-07-10 08:00:44'::timestamp) - extract(epoch from '2026-07-10 08:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325899 -2.795534)'), GeomFromEWKT('SRID=4674;POINT (-40.326075 -2.795534)'))) / (select extract(epoch from '2026-07-10 08:00:44'::timestamp) - extract(epoch from '2026-07-10 08:00:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.326261 -2.795547)', '2026-07-10 08:00:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326075 -2.795534)'), GeomFromEWKT('SRID=4674;POINT (-40.326261 -2.795547)'))) / (select extract(epoch from '2026-07-10 08:00:51'::timestamp) - extract(epoch from '2026-07-10 08:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326075 -2.795534)'), GeomFromEWKT('SRID=4674;POINT (-40.326261 -2.795547)'))) / (select extract(epoch from '2026-07-10 08:00:51'::timestamp) - extract(epoch from '2026-07-10 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'), 47638, 'SRID=4674;POINT (-40.32647 -2.795565)', '2026-07-10 08:00:59', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326261 -2.795547)'), GeomFromEWKT('SRID=4674;POINT (-40.32647 -2.795565)'))) / (select extract(epoch from '2026-07-10 08:00:59'::timestamp) - extract(epoch from '2026-07-10 08:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326261 -2.795547)'), GeomFromEWKT('SRID=4674;POINT (-40.32647 -2.795565)'))) / (select extract(epoch from '2026-07-10 08:00:59'::timestamp) - extract(epoch from '2026-07-10 08:00:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.3267 -2.795596)', '2026-07-10 08:01:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32647 -2.795565)'), GeomFromEWKT('SRID=4674;POINT (-40.3267 -2.795596)'))) / (select extract(epoch from '2026-07-10 08:01:07'::timestamp) - extract(epoch from '2026-07-10 08:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32647 -2.795565)'), GeomFromEWKT('SRID=4674;POINT (-40.3267 -2.795596)'))) / (select extract(epoch from '2026-07-10 08:01:07'::timestamp) - extract(epoch from '2026-07-10 08:00: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'), 47638, 'SRID=4674;POINT (-40.326928 -2.795644)', '2026-07-10 08:01:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3267 -2.795596)'), GeomFromEWKT('SRID=4674;POINT (-40.326928 -2.795644)'))) / (select extract(epoch from '2026-07-10 08:01:15'::timestamp) - extract(epoch from '2026-07-10 08:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3267 -2.795596)'), GeomFromEWKT('SRID=4674;POINT (-40.326928 -2.795644)'))) / (select extract(epoch from '2026-07-10 08:01:15'::timestamp) - extract(epoch from '2026-07-10 08:01:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.327197 -2.795672)', '2026-07-10 08:01:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326928 -2.795644)'), GeomFromEWKT('SRID=4674;POINT (-40.327197 -2.795672)'))) / (select extract(epoch from '2026-07-10 08:01:25'::timestamp) - extract(epoch from '2026-07-10 08:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326928 -2.795644)'), GeomFromEWKT('SRID=4674;POINT (-40.327197 -2.795672)'))) / (select extract(epoch from '2026-07-10 08:01:25'::timestamp) - extract(epoch from '2026-07-10 08:01:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.327401 -2.795665)', '2026-07-10 08:01:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327197 -2.795672)'), GeomFromEWKT('SRID=4674;POINT (-40.327401 -2.795665)'))) / (select extract(epoch from '2026-07-10 08:01:33'::timestamp) - extract(epoch from '2026-07-10 08:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327197 -2.795672)'), GeomFromEWKT('SRID=4674;POINT (-40.327401 -2.795665)'))) / (select extract(epoch from '2026-07-10 08:01:33'::timestamp) - extract(epoch from '2026-07-10 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'), 47638, 'SRID=4674;POINT (-40.327604 -2.795677)', '2026-07-10 08:01:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327401 -2.795665)'), GeomFromEWKT('SRID=4674;POINT (-40.327604 -2.795677)'))) / (select extract(epoch from '2026-07-10 08:01:41'::timestamp) - extract(epoch from '2026-07-10 08:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327401 -2.795665)'), GeomFromEWKT('SRID=4674;POINT (-40.327604 -2.795677)'))) / (select extract(epoch from '2026-07-10 08:01:41'::timestamp) - extract(epoch from '2026-07-10 08:01:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.327758 -2.795688)', '2026-07-10 08:01:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327604 -2.795677)'), GeomFromEWKT('SRID=4674;POINT (-40.327758 -2.795688)'))) / (select extract(epoch from '2026-07-10 08:01:47'::timestamp) - extract(epoch from '2026-07-10 08:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327604 -2.795677)'), GeomFromEWKT('SRID=4674;POINT (-40.327758 -2.795688)'))) / (select extract(epoch from '2026-07-10 08:01:47'::timestamp) - extract(epoch from '2026-07-10 08:01: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'), 47638, 'SRID=4674;POINT (-40.327966 -2.795695)', '2026-07-10 08:01:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327758 -2.795688)'), GeomFromEWKT('SRID=4674;POINT (-40.327966 -2.795695)'))) / (select extract(epoch from '2026-07-10 08:01:55'::timestamp) - extract(epoch from '2026-07-10 08:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327758 -2.795688)'), GeomFromEWKT('SRID=4674;POINT (-40.327966 -2.795695)'))) / (select extract(epoch from '2026-07-10 08:01:55'::timestamp) - extract(epoch from '2026-07-10 08:01: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'), 47638, 'SRID=4674;POINT (-40.328138 -2.795704)', '2026-07-10 08:02:02', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327966 -2.795695)'), GeomFromEWKT('SRID=4674;POINT (-40.328138 -2.795704)'))) / (select extract(epoch from '2026-07-10 08:02:02'::timestamp) - extract(epoch from '2026-07-10 08:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327966 -2.795695)'), GeomFromEWKT('SRID=4674;POINT (-40.328138 -2.795704)'))) / (select extract(epoch from '2026-07-10 08:02:02'::timestamp) - extract(epoch from '2026-07-10 08:01:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.328343 -2.795711)', '2026-07-10 08:02:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328138 -2.795704)'), GeomFromEWKT('SRID=4674;POINT (-40.328343 -2.795711)'))) / (select extract(epoch from '2026-07-10 08:02:10'::timestamp) - extract(epoch from '2026-07-10 08:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328138 -2.795704)'), GeomFromEWKT('SRID=4674;POINT (-40.328343 -2.795711)'))) / (select extract(epoch from '2026-07-10 08:02:10'::timestamp) - extract(epoch from '2026-07-10 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'), 47638, 'SRID=4674;POINT (-40.32856 -2.795733)', '2026-07-10 08:02:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328343 -2.795711)'), GeomFromEWKT('SRID=4674;POINT (-40.32856 -2.795733)'))) / (select extract(epoch from '2026-07-10 08:02:19'::timestamp) - extract(epoch from '2026-07-10 08:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328343 -2.795711)'), GeomFromEWKT('SRID=4674;POINT (-40.32856 -2.795733)'))) / (select extract(epoch from '2026-07-10 08:02:19'::timestamp) - extract(epoch from '2026-07-10 08:02:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.328757 -2.795755)', '2026-07-10 08:02:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32856 -2.795733)'), GeomFromEWKT('SRID=4674;POINT (-40.328757 -2.795755)'))) / (select extract(epoch from '2026-07-10 08:02:27'::timestamp) - extract(epoch from '2026-07-10 08:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32856 -2.795733)'), GeomFromEWKT('SRID=4674;POINT (-40.328757 -2.795755)'))) / (select extract(epoch from '2026-07-10 08:02:27'::timestamp) - extract(epoch from '2026-07-10 08:02: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'), 47638, 'SRID=4674;POINT (-40.328946 -2.795758)', '2026-07-10 08:02:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328757 -2.795755)'), GeomFromEWKT('SRID=4674;POINT (-40.328946 -2.795758)'))) / (select extract(epoch from '2026-07-10 08:02:35'::timestamp) - extract(epoch from '2026-07-10 08:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328757 -2.795755)'), GeomFromEWKT('SRID=4674;POINT (-40.328946 -2.795758)'))) / (select extract(epoch from '2026-07-10 08:02:35'::timestamp) - extract(epoch from '2026-07-10 08:02: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'), 47638, 'SRID=4674;POINT (-40.329088 -2.795772)', '2026-07-10 08:02:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328946 -2.795758)'), GeomFromEWKT('SRID=4674;POINT (-40.329088 -2.795772)'))) / (select extract(epoch from '2026-07-10 08:02:41'::timestamp) - extract(epoch from '2026-07-10 08:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328946 -2.795758)'), GeomFromEWKT('SRID=4674;POINT (-40.329088 -2.795772)'))) / (select extract(epoch from '2026-07-10 08:02:41'::timestamp) - extract(epoch from '2026-07-10 08:02:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.329247 -2.79578)', '2026-07-10 08:02:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329088 -2.795772)'), GeomFromEWKT('SRID=4674;POINT (-40.329247 -2.79578)'))) / (select extract(epoch from '2026-07-10 08:02:48'::timestamp) - extract(epoch from '2026-07-10 08:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329088 -2.795772)'), GeomFromEWKT('SRID=4674;POINT (-40.329247 -2.79578)'))) / (select extract(epoch from '2026-07-10 08:02:48'::timestamp) - extract(epoch from '2026-07-10 08:02:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.329494 -2.795794)', '2026-07-10 08:02:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329247 -2.79578)'), GeomFromEWKT('SRID=4674;POINT (-40.329494 -2.795794)'))) / (select extract(epoch from '2026-07-10 08:02:59'::timestamp) - extract(epoch from '2026-07-10 08:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329247 -2.79578)'), GeomFromEWKT('SRID=4674;POINT (-40.329494 -2.795794)'))) / (select extract(epoch from '2026-07-10 08:02:59'::timestamp) - extract(epoch from '2026-07-10 08:02: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'), 47638, 'SRID=4674;POINT (-40.32967 -2.795802)', '2026-07-10 08:03:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329494 -2.795794)'), GeomFromEWKT('SRID=4674;POINT (-40.32967 -2.795802)'))) / (select extract(epoch from '2026-07-10 08:03:07'::timestamp) - extract(epoch from '2026-07-10 08:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329494 -2.795794)'), GeomFromEWKT('SRID=4674;POINT (-40.32967 -2.795802)'))) / (select extract(epoch from '2026-07-10 08:03:07'::timestamp) - extract(epoch from '2026-07-10 08:02:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.329851 -2.795829)', '2026-07-10 08:03:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32967 -2.795802)'), GeomFromEWKT('SRID=4674;POINT (-40.329851 -2.795829)'))) / (select extract(epoch from '2026-07-10 08:03:15'::timestamp) - extract(epoch from '2026-07-10 08:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32967 -2.795802)'), GeomFromEWKT('SRID=4674;POINT (-40.329851 -2.795829)'))) / (select extract(epoch from '2026-07-10 08:03:15'::timestamp) - extract(epoch from '2026-07-10 08:03:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.330082 -2.795881)', '2026-07-10 08:03:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329851 -2.795829)'), GeomFromEWKT('SRID=4674;POINT (-40.330082 -2.795881)'))) / (select extract(epoch from '2026-07-10 08:03:25'::timestamp) - extract(epoch from '2026-07-10 08:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329851 -2.795829)'), GeomFromEWKT('SRID=4674;POINT (-40.330082 -2.795881)'))) / (select extract(epoch from '2026-07-10 08:03:25'::timestamp) - extract(epoch from '2026-07-10 08:03:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.330301 -2.795945)', '2026-07-10 08:03:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330082 -2.795881)'), GeomFromEWKT('SRID=4674;POINT (-40.330301 -2.795945)'))) / (select extract(epoch from '2026-07-10 08:03:34'::timestamp) - extract(epoch from '2026-07-10 08:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330082 -2.795881)'), GeomFromEWKT('SRID=4674;POINT (-40.330301 -2.795945)'))) / (select extract(epoch from '2026-07-10 08:03:34'::timestamp) - extract(epoch from '2026-07-10 08:03:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.330521 -2.796008)', '2026-07-10 08:03:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330301 -2.795945)'), GeomFromEWKT('SRID=4674;POINT (-40.330521 -2.796008)'))) / (select extract(epoch from '2026-07-10 08:03:43'::timestamp) - extract(epoch from '2026-07-10 08:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330301 -2.795945)'), GeomFromEWKT('SRID=4674;POINT (-40.330521 -2.796008)'))) / (select extract(epoch from '2026-07-10 08:03:43'::timestamp) - extract(epoch from '2026-07-10 08:03:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.33077 -2.79606)', '2026-07-10 08:03:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330521 -2.796008)'), GeomFromEWKT('SRID=4674;POINT (-40.33077 -2.79606)'))) / (select extract(epoch from '2026-07-10 08:03:53'::timestamp) - extract(epoch from '2026-07-10 08:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330521 -2.796008)'), GeomFromEWKT('SRID=4674;POINT (-40.33077 -2.79606)'))) / (select extract(epoch from '2026-07-10 08:03:53'::timestamp) - extract(epoch from '2026-07-10 08:03: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'), 47638, 'SRID=4674;POINT (-40.330986 -2.796083)', '2026-07-10 08:04:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33077 -2.79606)'), GeomFromEWKT('SRID=4674;POINT (-40.330986 -2.796083)'))) / (select extract(epoch from '2026-07-10 08:04:02'::timestamp) - extract(epoch from '2026-07-10 08:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33077 -2.79606)'), GeomFromEWKT('SRID=4674;POINT (-40.330986 -2.796083)'))) / (select extract(epoch from '2026-07-10 08:04:02'::timestamp) - extract(epoch from '2026-07-10 08:03: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'), 47638, 'SRID=4674;POINT (-40.33122 -2.796109)', '2026-07-10 08:04:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330986 -2.796083)'), GeomFromEWKT('SRID=4674;POINT (-40.33122 -2.796109)'))) / (select extract(epoch from '2026-07-10 08:04:12'::timestamp) - extract(epoch from '2026-07-10 08:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330986 -2.796083)'), GeomFromEWKT('SRID=4674;POINT (-40.33122 -2.796109)'))) / (select extract(epoch from '2026-07-10 08:04:12'::timestamp) - extract(epoch from '2026-07-10 08:04:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.331471 -2.796168)', '2026-07-10 08:04:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33122 -2.796109)'), GeomFromEWKT('SRID=4674;POINT (-40.331471 -2.796168)'))) / (select extract(epoch from '2026-07-10 08:04:22'::timestamp) - extract(epoch from '2026-07-10 08:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33122 -2.796109)'), GeomFromEWKT('SRID=4674;POINT (-40.331471 -2.796168)'))) / (select extract(epoch from '2026-07-10 08:04:22'::timestamp) - extract(epoch from '2026-07-10 08:04:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.331642 -2.796217)', '2026-07-10 08:04:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331471 -2.796168)'), GeomFromEWKT('SRID=4674;POINT (-40.331642 -2.796217)'))) / (select extract(epoch from '2026-07-10 08:04:29'::timestamp) - extract(epoch from '2026-07-10 08:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331471 -2.796168)'), GeomFromEWKT('SRID=4674;POINT (-40.331642 -2.796217)'))) / (select extract(epoch from '2026-07-10 08:04:29'::timestamp) - extract(epoch from '2026-07-10 08:04:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.331955 -2.796323)', '2026-07-10 08:04:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331642 -2.796217)'), GeomFromEWKT('SRID=4674;POINT (-40.331955 -2.796323)'))) / (select extract(epoch from '2026-07-10 08:04:41'::timestamp) - extract(epoch from '2026-07-10 08:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331642 -2.796217)'), GeomFromEWKT('SRID=4674;POINT (-40.331955 -2.796323)'))) / (select extract(epoch from '2026-07-10 08:04:41'::timestamp) - extract(epoch from '2026-07-10 08:04: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'), 47638, 'SRID=4674;POINT (-40.332124 -2.796358)', '2026-07-10 08:04:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331955 -2.796323)'), GeomFromEWKT('SRID=4674;POINT (-40.332124 -2.796358)'))) / (select extract(epoch from '2026-07-10 08:04:48'::timestamp) - extract(epoch from '2026-07-10 08:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331955 -2.796323)'), GeomFromEWKT('SRID=4674;POINT (-40.332124 -2.796358)'))) / (select extract(epoch from '2026-07-10 08:04:48'::timestamp) - extract(epoch from '2026-07-10 08:04:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.33231 -2.796404)', '2026-07-10 08:04:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332124 -2.796358)'), GeomFromEWKT('SRID=4674;POINT (-40.33231 -2.796404)'))) / (select extract(epoch from '2026-07-10 08:04:56'::timestamp) - extract(epoch from '2026-07-10 08:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332124 -2.796358)'), GeomFromEWKT('SRID=4674;POINT (-40.33231 -2.796404)'))) / (select extract(epoch from '2026-07-10 08:04:56'::timestamp) - extract(epoch from '2026-07-10 08:04: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'), 47638, 'SRID=4674;POINT (-40.332534 -2.796461)', '2026-07-10 08:05:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33231 -2.796404)'), GeomFromEWKT('SRID=4674;POINT (-40.332534 -2.796461)'))) / (select extract(epoch from '2026-07-10 08:05:05'::timestamp) - extract(epoch from '2026-07-10 08:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33231 -2.796404)'), GeomFromEWKT('SRID=4674;POINT (-40.332534 -2.796461)'))) / (select extract(epoch from '2026-07-10 08:05:05'::timestamp) - extract(epoch from '2026-07-10 08:04: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'), 47638, 'SRID=4674;POINT (-40.332721 -2.796517)', '2026-07-10 08:05:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332534 -2.796461)'), GeomFromEWKT('SRID=4674;POINT (-40.332721 -2.796517)'))) / (select extract(epoch from '2026-07-10 08:05:13'::timestamp) - extract(epoch from '2026-07-10 08:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332534 -2.796461)'), GeomFromEWKT('SRID=4674;POINT (-40.332721 -2.796517)'))) / (select extract(epoch from '2026-07-10 08:05:13'::timestamp) - extract(epoch from '2026-07-10 08:05:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.332837 -2.796563)', '2026-07-10 08:05:18', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332721 -2.796517)'), GeomFromEWKT('SRID=4674;POINT (-40.332837 -2.796563)'))) / (select extract(epoch from '2026-07-10 08:05:18'::timestamp) - extract(epoch from '2026-07-10 08:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332721 -2.796517)'), GeomFromEWKT('SRID=4674;POINT (-40.332837 -2.796563)'))) / (select extract(epoch from '2026-07-10 08:05:18'::timestamp) - extract(epoch from '2026-07-10 08:05: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'), 47638, 'SRID=4674;POINT (-40.33306 -2.796626)', '2026-07-10 08:05:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332837 -2.796563)'), GeomFromEWKT('SRID=4674;POINT (-40.33306 -2.796626)'))) / (select extract(epoch from '2026-07-10 08:05:27'::timestamp) - extract(epoch from '2026-07-10 08:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332837 -2.796563)'), GeomFromEWKT('SRID=4674;POINT (-40.33306 -2.796626)'))) / (select extract(epoch from '2026-07-10 08:05:27'::timestamp) - extract(epoch from '2026-07-10 08:05: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'), 47638, 'SRID=4674;POINT (-40.333259 -2.79667)', '2026-07-10 08:05:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33306 -2.796626)'), GeomFromEWKT('SRID=4674;POINT (-40.333259 -2.79667)'))) / (select extract(epoch from '2026-07-10 08:05:35'::timestamp) - extract(epoch from '2026-07-10 08:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33306 -2.796626)'), GeomFromEWKT('SRID=4674;POINT (-40.333259 -2.79667)'))) / (select extract(epoch from '2026-07-10 08:05:35'::timestamp) - extract(epoch from '2026-07-10 08:05:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.333502 -2.796719)', '2026-07-10 08:05:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333259 -2.79667)'), GeomFromEWKT('SRID=4674;POINT (-40.333502 -2.796719)'))) / (select extract(epoch from '2026-07-10 08:05:44'::timestamp) - extract(epoch from '2026-07-10 08:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333259 -2.79667)'), GeomFromEWKT('SRID=4674;POINT (-40.333502 -2.796719)'))) / (select extract(epoch from '2026-07-10 08:05:44'::timestamp) - extract(epoch from '2026-07-10 08:05:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.333732 -2.796785)', '2026-07-10 08:05:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333502 -2.796719)'), GeomFromEWKT('SRID=4674;POINT (-40.333732 -2.796785)'))) / (select extract(epoch from '2026-07-10 08:05:53'::timestamp) - extract(epoch from '2026-07-10 08:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333502 -2.796719)'), GeomFromEWKT('SRID=4674;POINT (-40.333732 -2.796785)'))) / (select extract(epoch from '2026-07-10 08:05:53'::timestamp) - extract(epoch from '2026-07-10 08:05:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.333975 -2.796855)', '2026-07-10 08:06:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333732 -2.796785)'), GeomFromEWKT('SRID=4674;POINT (-40.333975 -2.796855)'))) / (select extract(epoch from '2026-07-10 08:06:03'::timestamp) - extract(epoch from '2026-07-10 08:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333732 -2.796785)'), GeomFromEWKT('SRID=4674;POINT (-40.333975 -2.796855)'))) / (select extract(epoch from '2026-07-10 08:06:03'::timestamp) - extract(epoch from '2026-07-10 08:05:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.334173 -2.79689)', '2026-07-10 08:06:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333975 -2.796855)'), GeomFromEWKT('SRID=4674;POINT (-40.334173 -2.79689)'))) / (select extract(epoch from '2026-07-10 08:06:11'::timestamp) - extract(epoch from '2026-07-10 08:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333975 -2.796855)'), GeomFromEWKT('SRID=4674;POINT (-40.334173 -2.79689)'))) / (select extract(epoch from '2026-07-10 08:06:11'::timestamp) - extract(epoch from '2026-07-10 08:06:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.334355 -2.796924)', '2026-07-10 08:06:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334173 -2.79689)'), GeomFromEWKT('SRID=4674;POINT (-40.334355 -2.796924)'))) / (select extract(epoch from '2026-07-10 08:06:19'::timestamp) - extract(epoch from '2026-07-10 08:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334173 -2.79689)'), GeomFromEWKT('SRID=4674;POINT (-40.334355 -2.796924)'))) / (select extract(epoch from '2026-07-10 08:06:19'::timestamp) - extract(epoch from '2026-07-10 08:06: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'), 47638, 'SRID=4674;POINT (-40.334557 -2.796999)', '2026-07-10 08:06:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334355 -2.796924)'), GeomFromEWKT('SRID=4674;POINT (-40.334557 -2.796999)'))) / (select extract(epoch from '2026-07-10 08:06:28'::timestamp) - extract(epoch from '2026-07-10 08:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334355 -2.796924)'), GeomFromEWKT('SRID=4674;POINT (-40.334557 -2.796999)'))) / (select extract(epoch from '2026-07-10 08:06:28'::timestamp) - extract(epoch from '2026-07-10 08:06:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.334781 -2.797072)', '2026-07-10 08:06:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334557 -2.796999)'), GeomFromEWKT('SRID=4674;POINT (-40.334781 -2.797072)'))) / (select extract(epoch from '2026-07-10 08:06:37'::timestamp) - extract(epoch from '2026-07-10 08:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334557 -2.796999)'), GeomFromEWKT('SRID=4674;POINT (-40.334781 -2.797072)'))) / (select extract(epoch from '2026-07-10 08:06:37'::timestamp) - extract(epoch from '2026-07-10 08:06:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.334974 -2.797147)', '2026-07-10 08:06:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334781 -2.797072)'), GeomFromEWKT('SRID=4674;POINT (-40.334974 -2.797147)'))) / (select extract(epoch from '2026-07-10 08:06:45'::timestamp) - extract(epoch from '2026-07-10 08:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334781 -2.797072)'), GeomFromEWKT('SRID=4674;POINT (-40.334974 -2.797147)'))) / (select extract(epoch from '2026-07-10 08:06:45'::timestamp) - extract(epoch from '2026-07-10 08:06: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'), 47638, 'SRID=4674;POINT (-40.335163 -2.797204)', '2026-07-10 08:06:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334974 -2.797147)'), GeomFromEWKT('SRID=4674;POINT (-40.335163 -2.797204)'))) / (select extract(epoch from '2026-07-10 08:06:53'::timestamp) - extract(epoch from '2026-07-10 08:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334974 -2.797147)'), GeomFromEWKT('SRID=4674;POINT (-40.335163 -2.797204)'))) / (select extract(epoch from '2026-07-10 08:06:53'::timestamp) - extract(epoch from '2026-07-10 08:06:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.335374 -2.797264)', '2026-07-10 08:07:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335163 -2.797204)'), GeomFromEWKT('SRID=4674;POINT (-40.335374 -2.797264)'))) / (select extract(epoch from '2026-07-10 08:07:02'::timestamp) - extract(epoch from '2026-07-10 08:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335163 -2.797204)'), GeomFromEWKT('SRID=4674;POINT (-40.335374 -2.797264)'))) / (select extract(epoch from '2026-07-10 08:07:02'::timestamp) - extract(epoch from '2026-07-10 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'), 47638, 'SRID=4674;POINT (-40.335641 -2.797322)', '2026-07-10 08:07:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335374 -2.797264)'), GeomFromEWKT('SRID=4674;POINT (-40.335641 -2.797322)'))) / (select extract(epoch from '2026-07-10 08:07:13'::timestamp) - extract(epoch from '2026-07-10 08:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335374 -2.797264)'), GeomFromEWKT('SRID=4674;POINT (-40.335641 -2.797322)'))) / (select extract(epoch from '2026-07-10 08:07:13'::timestamp) - extract(epoch from '2026-07-10 08:07: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'), 47638, 'SRID=4674;POINT (-40.335842 -2.797372)', '2026-07-10 08:07:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335641 -2.797322)'), GeomFromEWKT('SRID=4674;POINT (-40.335842 -2.797372)'))) / (select extract(epoch from '2026-07-10 08:07:21'::timestamp) - extract(epoch from '2026-07-10 08:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335641 -2.797322)'), GeomFromEWKT('SRID=4674;POINT (-40.335842 -2.797372)'))) / (select extract(epoch from '2026-07-10 08:07:21'::timestamp) - extract(epoch from '2026-07-10 08:07: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'), 47638, 'SRID=4674;POINT (-40.33607 -2.797441)', '2026-07-10 08:07:30', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335842 -2.797372)'), GeomFromEWKT('SRID=4674;POINT (-40.33607 -2.797441)'))) / (select extract(epoch from '2026-07-10 08:07:30'::timestamp) - extract(epoch from '2026-07-10 08:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335842 -2.797372)'), GeomFromEWKT('SRID=4674;POINT (-40.33607 -2.797441)'))) / (select extract(epoch from '2026-07-10 08:07:30'::timestamp) - extract(epoch from '2026-07-10 08:07:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.33627 -2.797511)', '2026-07-10 08:07:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33607 -2.797441)'), GeomFromEWKT('SRID=4674;POINT (-40.33627 -2.797511)'))) / (select extract(epoch from '2026-07-10 08:07:38'::timestamp) - extract(epoch from '2026-07-10 08:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33607 -2.797441)'), GeomFromEWKT('SRID=4674;POINT (-40.33627 -2.797511)'))) / (select extract(epoch from '2026-07-10 08:07:38'::timestamp) - extract(epoch from '2026-07-10 08:07: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'), 47638, 'SRID=4674;POINT (-40.336512 -2.797607)', '2026-07-10 08:07:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33627 -2.797511)'), GeomFromEWKT('SRID=4674;POINT (-40.336512 -2.797607)'))) / (select extract(epoch from '2026-07-10 08:07:48'::timestamp) - extract(epoch from '2026-07-10 08:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33627 -2.797511)'), GeomFromEWKT('SRID=4674;POINT (-40.336512 -2.797607)'))) / (select extract(epoch from '2026-07-10 08:07:48'::timestamp) - extract(epoch from '2026-07-10 08:07:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.336745 -2.797673)', '2026-07-10 08:07:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336512 -2.797607)'), GeomFromEWKT('SRID=4674;POINT (-40.336745 -2.797673)'))) / (select extract(epoch from '2026-07-10 08:07:57'::timestamp) - extract(epoch from '2026-07-10 08:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336512 -2.797607)'), GeomFromEWKT('SRID=4674;POINT (-40.336745 -2.797673)'))) / (select extract(epoch from '2026-07-10 08:07:57'::timestamp) - extract(epoch from '2026-07-10 08:07: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'), 47638, 'SRID=4674;POINT (-40.337015 -2.797769)', '2026-07-10 08:08:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336745 -2.797673)'), GeomFromEWKT('SRID=4674;POINT (-40.337015 -2.797769)'))) / (select extract(epoch from '2026-07-10 08:08:08'::timestamp) - extract(epoch from '2026-07-10 08:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336745 -2.797673)'), GeomFromEWKT('SRID=4674;POINT (-40.337015 -2.797769)'))) / (select extract(epoch from '2026-07-10 08:08:08'::timestamp) - extract(epoch from '2026-07-10 08:07: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'), 47638, 'SRID=4674;POINT (-40.337258 -2.797858)', '2026-07-10 08:08:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337015 -2.797769)'), GeomFromEWKT('SRID=4674;POINT (-40.337258 -2.797858)'))) / (select extract(epoch from '2026-07-10 08:08:18'::timestamp) - extract(epoch from '2026-07-10 08:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337015 -2.797769)'), GeomFromEWKT('SRID=4674;POINT (-40.337258 -2.797858)'))) / (select extract(epoch from '2026-07-10 08:08:18'::timestamp) - extract(epoch from '2026-07-10 08:08:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.337466 -2.797921)', '2026-07-10 08:08:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337258 -2.797858)'), GeomFromEWKT('SRID=4674;POINT (-40.337466 -2.797921)'))) / (select extract(epoch from '2026-07-10 08:08:27'::timestamp) - extract(epoch from '2026-07-10 08:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337258 -2.797858)'), GeomFromEWKT('SRID=4674;POINT (-40.337466 -2.797921)'))) / (select extract(epoch from '2026-07-10 08:08:27'::timestamp) - extract(epoch from '2026-07-10 08:08:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.337683 -2.797977)', '2026-07-10 08:08:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337466 -2.797921)'), GeomFromEWKT('SRID=4674;POINT (-40.337683 -2.797977)'))) / (select extract(epoch from '2026-07-10 08:08:36'::timestamp) - extract(epoch from '2026-07-10 08:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337466 -2.797921)'), GeomFromEWKT('SRID=4674;POINT (-40.337683 -2.797977)'))) / (select extract(epoch from '2026-07-10 08:08:36'::timestamp) - extract(epoch from '2026-07-10 08:08: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'), 47638, 'SRID=4674;POINT (-40.337928 -2.79806)', '2026-07-10 08:08:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337683 -2.797977)'), GeomFromEWKT('SRID=4674;POINT (-40.337928 -2.79806)'))) / (select extract(epoch from '2026-07-10 08:08:46'::timestamp) - extract(epoch from '2026-07-10 08:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337683 -2.797977)'), GeomFromEWKT('SRID=4674;POINT (-40.337928 -2.79806)'))) / (select extract(epoch from '2026-07-10 08:08:46'::timestamp) - extract(epoch from '2026-07-10 08:08:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.338121 -2.798114)', '2026-07-10 08:08:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337928 -2.79806)'), GeomFromEWKT('SRID=4674;POINT (-40.338121 -2.798114)'))) / (select extract(epoch from '2026-07-10 08:08:54'::timestamp) - extract(epoch from '2026-07-10 08:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337928 -2.79806)'), GeomFromEWKT('SRID=4674;POINT (-40.338121 -2.798114)'))) / (select extract(epoch from '2026-07-10 08:08:54'::timestamp) - extract(epoch from '2026-07-10 08:08:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.338374 -2.798178)', '2026-07-10 08:09:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338121 -2.798114)'), GeomFromEWKT('SRID=4674;POINT (-40.338374 -2.798178)'))) / (select extract(epoch from '2026-07-10 08:09:05'::timestamp) - extract(epoch from '2026-07-10 08:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338121 -2.798114)'), GeomFromEWKT('SRID=4674;POINT (-40.338374 -2.798178)'))) / (select extract(epoch from '2026-07-10 08:09:05'::timestamp) - extract(epoch from '2026-07-10 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'), 47638, 'SRID=4674;POINT (-40.338553 -2.798216)', '2026-07-10 08:09:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338374 -2.798178)'), GeomFromEWKT('SRID=4674;POINT (-40.338553 -2.798216)'))) / (select extract(epoch from '2026-07-10 08:09:13'::timestamp) - extract(epoch from '2026-07-10 08:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338374 -2.798178)'), GeomFromEWKT('SRID=4674;POINT (-40.338553 -2.798216)'))) / (select extract(epoch from '2026-07-10 08:09:13'::timestamp) - extract(epoch from '2026-07-10 08:09: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'), 47638, 'SRID=4674;POINT (-40.338756 -2.798265)', '2026-07-10 08:09:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338553 -2.798216)'), GeomFromEWKT('SRID=4674;POINT (-40.338756 -2.798265)'))) / (select extract(epoch from '2026-07-10 08:09:22'::timestamp) - extract(epoch from '2026-07-10 08:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338553 -2.798216)'), GeomFromEWKT('SRID=4674;POINT (-40.338756 -2.798265)'))) / (select extract(epoch from '2026-07-10 08:09:22'::timestamp) - extract(epoch from '2026-07-10 08:09:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.338964 -2.798316)', '2026-07-10 08:09:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338756 -2.798265)'), GeomFromEWKT('SRID=4674;POINT (-40.338964 -2.798316)'))) / (select extract(epoch from '2026-07-10 08:09:31'::timestamp) - extract(epoch from '2026-07-10 08:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338756 -2.798265)'), GeomFromEWKT('SRID=4674;POINT (-40.338964 -2.798316)'))) / (select extract(epoch from '2026-07-10 08:09:31'::timestamp) - extract(epoch from '2026-07-10 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'), 47638, 'SRID=4674;POINT (-40.339206 -2.798383)', '2026-07-10 08:09:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338964 -2.798316)'), GeomFromEWKT('SRID=4674;POINT (-40.339206 -2.798383)'))) / (select extract(epoch from '2026-07-10 08:09:41'::timestamp) - extract(epoch from '2026-07-10 08:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338964 -2.798316)'), GeomFromEWKT('SRID=4674;POINT (-40.339206 -2.798383)'))) / (select extract(epoch from '2026-07-10 08:09:41'::timestamp) - extract(epoch from '2026-07-10 08:09: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'), 47638, 'SRID=4674;POINT (-40.339418 -2.798441)', '2026-07-10 08:09:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339206 -2.798383)'), GeomFromEWKT('SRID=4674;POINT (-40.339418 -2.798441)'))) / (select extract(epoch from '2026-07-10 08:09:50'::timestamp) - extract(epoch from '2026-07-10 08:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339206 -2.798383)'), GeomFromEWKT('SRID=4674;POINT (-40.339418 -2.798441)'))) / (select extract(epoch from '2026-07-10 08:09:50'::timestamp) - extract(epoch from '2026-07-10 08:09:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.33961 -2.798499)', '2026-07-10 08:09:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339418 -2.798441)'), GeomFromEWKT('SRID=4674;POINT (-40.33961 -2.798499)'))) / (select extract(epoch from '2026-07-10 08:09:58'::timestamp) - extract(epoch from '2026-07-10 08:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339418 -2.798441)'), GeomFromEWKT('SRID=4674;POINT (-40.33961 -2.798499)'))) / (select extract(epoch from '2026-07-10 08:09:58'::timestamp) - extract(epoch from '2026-07-10 08:09: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'), 47638, 'SRID=4674;POINT (-40.339784 -2.798567)', '2026-07-10 08:10:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33961 -2.798499)'), GeomFromEWKT('SRID=4674;POINT (-40.339784 -2.798567)'))) / (select extract(epoch from '2026-07-10 08:10:06'::timestamp) - extract(epoch from '2026-07-10 08:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33961 -2.798499)'), GeomFromEWKT('SRID=4674;POINT (-40.339784 -2.798567)'))) / (select extract(epoch from '2026-07-10 08:10:06'::timestamp) - extract(epoch from '2026-07-10 08:09: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'), 47638, 'SRID=4674;POINT (-40.339903 -2.798631)', '2026-07-10 08:10:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339784 -2.798567)'), GeomFromEWKT('SRID=4674;POINT (-40.339903 -2.798631)'))) / (select extract(epoch from '2026-07-10 08:10:12'::timestamp) - extract(epoch from '2026-07-10 08:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339784 -2.798567)'), GeomFromEWKT('SRID=4674;POINT (-40.339903 -2.798631)'))) / (select extract(epoch from '2026-07-10 08:10:12'::timestamp) - extract(epoch from '2026-07-10 08:10:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.34003 -2.798709)', '2026-07-10 08:10:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339903 -2.798631)'), GeomFromEWKT('SRID=4674;POINT (-40.34003 -2.798709)'))) / (select extract(epoch from '2026-07-10 08:10:19'::timestamp) - extract(epoch from '2026-07-10 08:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339903 -2.798631)'), GeomFromEWKT('SRID=4674;POINT (-40.34003 -2.798709)'))) / (select extract(epoch from '2026-07-10 08:10:19'::timestamp) - extract(epoch from '2026-07-10 08:10: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'), 47638, 'SRID=4674;POINT (-40.340168 -2.798788)', '2026-07-10 08:10:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34003 -2.798709)'), GeomFromEWKT('SRID=4674;POINT (-40.340168 -2.798788)'))) / (select extract(epoch from '2026-07-10 08:10:27'::timestamp) - extract(epoch from '2026-07-10 08:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34003 -2.798709)'), GeomFromEWKT('SRID=4674;POINT (-40.340168 -2.798788)'))) / (select extract(epoch from '2026-07-10 08:10:27'::timestamp) - extract(epoch from '2026-07-10 08:10:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.340276 -2.79886)', '2026-07-10 08:10:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340168 -2.798788)'), GeomFromEWKT('SRID=4674;POINT (-40.340276 -2.79886)'))) / (select extract(epoch from '2026-07-10 08:10:34'::timestamp) - extract(epoch from '2026-07-10 08:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340168 -2.798788)'), GeomFromEWKT('SRID=4674;POINT (-40.340276 -2.79886)'))) / (select extract(epoch from '2026-07-10 08:10:34'::timestamp) - extract(epoch from '2026-07-10 08:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.34038 -2.798941)', '2026-07-10 08:10:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340276 -2.79886)'), GeomFromEWKT('SRID=4674;POINT (-40.34038 -2.798941)'))) / (select extract(epoch from '2026-07-10 08:10:42'::timestamp) - extract(epoch from '2026-07-10 08:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340276 -2.79886)'), GeomFromEWKT('SRID=4674;POINT (-40.34038 -2.798941)'))) / (select extract(epoch from '2026-07-10 08:10:42'::timestamp) - extract(epoch from '2026-07-10 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'), 47638, 'SRID=4674;POINT (-40.340492 -2.79906)', '2026-07-10 08:10:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34038 -2.798941)'), GeomFromEWKT('SRID=4674;POINT (-40.340492 -2.79906)'))) / (select extract(epoch from '2026-07-10 08:10:51'::timestamp) - extract(epoch from '2026-07-10 08:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34038 -2.798941)'), GeomFromEWKT('SRID=4674;POINT (-40.340492 -2.79906)'))) / (select extract(epoch from '2026-07-10 08:10:51'::timestamp) - extract(epoch from '2026-07-10 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'), 47638, 'SRID=4674;POINT (-40.340639 -2.799174)', '2026-07-10 08:10:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340492 -2.79906)'), GeomFromEWKT('SRID=4674;POINT (-40.340639 -2.799174)'))) / (select extract(epoch from '2026-07-10 08:10:59'::timestamp) - extract(epoch from '2026-07-10 08:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340492 -2.79906)'), GeomFromEWKT('SRID=4674;POINT (-40.340639 -2.799174)'))) / (select extract(epoch from '2026-07-10 08:10:59'::timestamp) - extract(epoch from '2026-07-10 08:10: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'), 47638, 'SRID=4674;POINT (-40.340854 -2.799278)', '2026-07-10 08:11:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340639 -2.799174)'), GeomFromEWKT('SRID=4674;POINT (-40.340854 -2.799278)'))) / (select extract(epoch from '2026-07-10 08:11:08'::timestamp) - extract(epoch from '2026-07-10 08:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340639 -2.799174)'), GeomFromEWKT('SRID=4674;POINT (-40.340854 -2.799278)'))) / (select extract(epoch from '2026-07-10 08:11:08'::timestamp) - extract(epoch from '2026-07-10 08:10: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'), 47638, 'SRID=4674;POINT (-40.341087 -2.799367)', '2026-07-10 08:11:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340854 -2.799278)'), GeomFromEWKT('SRID=4674;POINT (-40.341087 -2.799367)'))) / (select extract(epoch from '2026-07-10 08:11:17'::timestamp) - extract(epoch from '2026-07-10 08:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340854 -2.799278)'), GeomFromEWKT('SRID=4674;POINT (-40.341087 -2.799367)'))) / (select extract(epoch from '2026-07-10 08:11:17'::timestamp) - extract(epoch from '2026-07-10 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'), 47638, 'SRID=4674;POINT (-40.341301 -2.799445)', '2026-07-10 08:11:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341087 -2.799367)'), GeomFromEWKT('SRID=4674;POINT (-40.341301 -2.799445)'))) / (select extract(epoch from '2026-07-10 08:11:26'::timestamp) - extract(epoch from '2026-07-10 08:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341087 -2.799367)'), GeomFromEWKT('SRID=4674;POINT (-40.341301 -2.799445)'))) / (select extract(epoch from '2026-07-10 08:11:26'::timestamp) - extract(epoch from '2026-07-10 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'), 47638, 'SRID=4674;POINT (-40.341484 -2.799511)', '2026-07-10 08:11:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341301 -2.799445)'), GeomFromEWKT('SRID=4674;POINT (-40.341484 -2.799511)'))) / (select extract(epoch from '2026-07-10 08:11:33'::timestamp) - extract(epoch from '2026-07-10 08:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341301 -2.799445)'), GeomFromEWKT('SRID=4674;POINT (-40.341484 -2.799511)'))) / (select extract(epoch from '2026-07-10 08:11:33'::timestamp) - extract(epoch from '2026-07-10 08:11: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'), 47638, 'SRID=4674;POINT (-40.341778 -2.799642)', '2026-07-10 08:11:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341484 -2.799511)'), GeomFromEWKT('SRID=4674;POINT (-40.341778 -2.799642)'))) / (select extract(epoch from '2026-07-10 08:11:45'::timestamp) - extract(epoch from '2026-07-10 08:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341484 -2.799511)'), GeomFromEWKT('SRID=4674;POINT (-40.341778 -2.799642)'))) / (select extract(epoch from '2026-07-10 08:11:45'::timestamp) - extract(epoch from '2026-07-10 08:11:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.342012 -2.799746)', '2026-07-10 08:11:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341778 -2.799642)'), GeomFromEWKT('SRID=4674;POINT (-40.342012 -2.799746)'))) / (select extract(epoch from '2026-07-10 08:11:55'::timestamp) - extract(epoch from '2026-07-10 08:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341778 -2.799642)'), GeomFromEWKT('SRID=4674;POINT (-40.342012 -2.799746)'))) / (select extract(epoch from '2026-07-10 08:11:55'::timestamp) - extract(epoch from '2026-07-10 08:11: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'), 47638, 'SRID=4674;POINT (-40.342245 -2.799858)', '2026-07-10 08:12:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342012 -2.799746)'), GeomFromEWKT('SRID=4674;POINT (-40.342245 -2.799858)'))) / (select extract(epoch from '2026-07-10 08:12:05'::timestamp) - extract(epoch from '2026-07-10 08:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342012 -2.799746)'), GeomFromEWKT('SRID=4674;POINT (-40.342245 -2.799858)'))) / (select extract(epoch from '2026-07-10 08:12:05'::timestamp) - extract(epoch from '2026-07-10 08:11: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'), 47638, 'SRID=4674;POINT (-40.342472 -2.799946)', '2026-07-10 08:12:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342245 -2.799858)'), GeomFromEWKT('SRID=4674;POINT (-40.342472 -2.799946)'))) / (select extract(epoch from '2026-07-10 08:12:14'::timestamp) - extract(epoch from '2026-07-10 08:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342245 -2.799858)'), GeomFromEWKT('SRID=4674;POINT (-40.342472 -2.799946)'))) / (select extract(epoch from '2026-07-10 08:12:14'::timestamp) - extract(epoch from '2026-07-10 08:12: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'), 47638, 'SRID=4674;POINT (-40.342682 -2.800028)', '2026-07-10 08:12:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342472 -2.799946)'), GeomFromEWKT('SRID=4674;POINT (-40.342682 -2.800028)'))) / (select extract(epoch from '2026-07-10 08:12:23'::timestamp) - extract(epoch from '2026-07-10 08:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342472 -2.799946)'), GeomFromEWKT('SRID=4674;POINT (-40.342682 -2.800028)'))) / (select extract(epoch from '2026-07-10 08:12:23'::timestamp) - extract(epoch from '2026-07-10 08:12:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.342917 -2.800113)', '2026-07-10 08:12:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342682 -2.800028)'), GeomFromEWKT('SRID=4674;POINT (-40.342917 -2.800113)'))) / (select extract(epoch from '2026-07-10 08:12:33'::timestamp) - extract(epoch from '2026-07-10 08:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342682 -2.800028)'), GeomFromEWKT('SRID=4674;POINT (-40.342917 -2.800113)'))) / (select extract(epoch from '2026-07-10 08:12:33'::timestamp) - extract(epoch from '2026-07-10 08:12: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'), 47638, 'SRID=4674;POINT (-40.343136 -2.800192)', '2026-07-10 08:12:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342917 -2.800113)'), GeomFromEWKT('SRID=4674;POINT (-40.343136 -2.800192)'))) / (select extract(epoch from '2026-07-10 08:12:42'::timestamp) - extract(epoch from '2026-07-10 08:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342917 -2.800113)'), GeomFromEWKT('SRID=4674;POINT (-40.343136 -2.800192)'))) / (select extract(epoch from '2026-07-10 08:12:42'::timestamp) - extract(epoch from '2026-07-10 08:12: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'), 47638, 'SRID=4674;POINT (-40.343335 -2.800268)', '2026-07-10 08:12:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343136 -2.800192)'), GeomFromEWKT('SRID=4674;POINT (-40.343335 -2.800268)'))) / (select extract(epoch from '2026-07-10 08:12:50'::timestamp) - extract(epoch from '2026-07-10 08:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343136 -2.800192)'), GeomFromEWKT('SRID=4674;POINT (-40.343335 -2.800268)'))) / (select extract(epoch from '2026-07-10 08:12:50'::timestamp) - extract(epoch from '2026-07-10 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'), 47638, 'SRID=4674;POINT (-40.343562 -2.800372)', '2026-07-10 08:12:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343335 -2.800268)'), GeomFromEWKT('SRID=4674;POINT (-40.343562 -2.800372)'))) / (select extract(epoch from '2026-07-10 08:12:59'::timestamp) - extract(epoch from '2026-07-10 08:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343335 -2.800268)'), GeomFromEWKT('SRID=4674;POINT (-40.343562 -2.800372)'))) / (select extract(epoch from '2026-07-10 08:12:59'::timestamp) - extract(epoch from '2026-07-10 08:12:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.343783 -2.80046)', '2026-07-10 08:13:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343562 -2.800372)'), GeomFromEWKT('SRID=4674;POINT (-40.343783 -2.80046)'))) / (select extract(epoch from '2026-07-10 08:13:08'::timestamp) - extract(epoch from '2026-07-10 08:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343562 -2.800372)'), GeomFromEWKT('SRID=4674;POINT (-40.343783 -2.80046)'))) / (select extract(epoch from '2026-07-10 08:13:08'::timestamp) - extract(epoch from '2026-07-10 08:12:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.343991 -2.800545)', '2026-07-10 08:13:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343783 -2.80046)'), GeomFromEWKT('SRID=4674;POINT (-40.343991 -2.800545)'))) / (select extract(epoch from '2026-07-10 08:13:16'::timestamp) - extract(epoch from '2026-07-10 08:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343783 -2.80046)'), GeomFromEWKT('SRID=4674;POINT (-40.343991 -2.800545)'))) / (select extract(epoch from '2026-07-10 08:13:16'::timestamp) - extract(epoch from '2026-07-10 08:13:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.344206 -2.800632)', '2026-07-10 08:13:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343991 -2.800545)'), GeomFromEWKT('SRID=4674;POINT (-40.344206 -2.800632)'))) / (select extract(epoch from '2026-07-10 08:13:25'::timestamp) - extract(epoch from '2026-07-10 08:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343991 -2.800545)'), GeomFromEWKT('SRID=4674;POINT (-40.344206 -2.800632)'))) / (select extract(epoch from '2026-07-10 08:13:25'::timestamp) - extract(epoch from '2026-07-10 08:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.344423 -2.800724)', '2026-07-10 08:13:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344206 -2.800632)'), GeomFromEWKT('SRID=4674;POINT (-40.344423 -2.800724)'))) / (select extract(epoch from '2026-07-10 08:13:34'::timestamp) - extract(epoch from '2026-07-10 08:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344206 -2.800632)'), GeomFromEWKT('SRID=4674;POINT (-40.344423 -2.800724)'))) / (select extract(epoch from '2026-07-10 08:13:34'::timestamp) - extract(epoch from '2026-07-10 08:13:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.344645 -2.800809)', '2026-07-10 08:13:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344423 -2.800724)'), GeomFromEWKT('SRID=4674;POINT (-40.344645 -2.800809)'))) / (select extract(epoch from '2026-07-10 08:13:44'::timestamp) - extract(epoch from '2026-07-10 08:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344423 -2.800724)'), GeomFromEWKT('SRID=4674;POINT (-40.344645 -2.800809)'))) / (select extract(epoch from '2026-07-10 08:13:44'::timestamp) - extract(epoch from '2026-07-10 08:13: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'), 47638, 'SRID=4674;POINT (-40.344837 -2.800885)', '2026-07-10 08:13:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344645 -2.800809)'), GeomFromEWKT('SRID=4674;POINT (-40.344837 -2.800885)'))) / (select extract(epoch from '2026-07-10 08:13:52'::timestamp) - extract(epoch from '2026-07-10 08:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344645 -2.800809)'), GeomFromEWKT('SRID=4674;POINT (-40.344837 -2.800885)'))) / (select extract(epoch from '2026-07-10 08:13:52'::timestamp) - extract(epoch from '2026-07-10 08:13:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.345036 -2.800984)', '2026-07-10 08:14:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344837 -2.800885)'), GeomFromEWKT('SRID=4674;POINT (-40.345036 -2.800984)'))) / (select extract(epoch from '2026-07-10 08:14:00'::timestamp) - extract(epoch from '2026-07-10 08:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344837 -2.800885)'), GeomFromEWKT('SRID=4674;POINT (-40.345036 -2.800984)'))) / (select extract(epoch from '2026-07-10 08:14:00'::timestamp) - extract(epoch from '2026-07-10 08:13: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'), 47638, 'SRID=4674;POINT (-40.345281 -2.801107)', '2026-07-10 08:14:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345036 -2.800984)'), GeomFromEWKT('SRID=4674;POINT (-40.345281 -2.801107)'))) / (select extract(epoch from '2026-07-10 08:14:10'::timestamp) - extract(epoch from '2026-07-10 08:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345036 -2.800984)'), GeomFromEWKT('SRID=4674;POINT (-40.345281 -2.801107)'))) / (select extract(epoch from '2026-07-10 08:14:10'::timestamp) - extract(epoch from '2026-07-10 08:14: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'), 47638, 'SRID=4674;POINT (-40.345542 -2.80123)', '2026-07-10 08:14:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345281 -2.801107)'), GeomFromEWKT('SRID=4674;POINT (-40.345542 -2.80123)'))) / (select extract(epoch from '2026-07-10 08:14:20'::timestamp) - extract(epoch from '2026-07-10 08:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345281 -2.801107)'), GeomFromEWKT('SRID=4674;POINT (-40.345542 -2.80123)'))) / (select extract(epoch from '2026-07-10 08:14:20'::timestamp) - extract(epoch from '2026-07-10 08:14:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.345776 -2.80133)', '2026-07-10 08:14:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345542 -2.80123)'), GeomFromEWKT('SRID=4674;POINT (-40.345776 -2.80133)'))) / (select extract(epoch from '2026-07-10 08:14:30'::timestamp) - extract(epoch from '2026-07-10 08:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345542 -2.80123)'), GeomFromEWKT('SRID=4674;POINT (-40.345776 -2.80133)'))) / (select extract(epoch from '2026-07-10 08:14:30'::timestamp) - extract(epoch from '2026-07-10 08:14: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'), 47638, 'SRID=4674;POINT (-40.346062 -2.801428)', '2026-07-10 08:14:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345776 -2.80133)'), GeomFromEWKT('SRID=4674;POINT (-40.346062 -2.801428)'))) / (select extract(epoch from '2026-07-10 08:14:42'::timestamp) - extract(epoch from '2026-07-10 08:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345776 -2.80133)'), GeomFromEWKT('SRID=4674;POINT (-40.346062 -2.801428)'))) / (select extract(epoch from '2026-07-10 08:14:42'::timestamp) - extract(epoch from '2026-07-10 08:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.346211 -2.801459)', '2026-07-10 08:14:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346062 -2.801428)'), GeomFromEWKT('SRID=4674;POINT (-40.346211 -2.801459)'))) / (select extract(epoch from '2026-07-10 08:14:49'::timestamp) - extract(epoch from '2026-07-10 08:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346062 -2.801428)'), GeomFromEWKT('SRID=4674;POINT (-40.346211 -2.801459)'))) / (select extract(epoch from '2026-07-10 08:14:49'::timestamp) - extract(epoch from '2026-07-10 08:14:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.346379 -2.801506)', '2026-07-10 08:14:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346211 -2.801459)'), GeomFromEWKT('SRID=4674;POINT (-40.346379 -2.801506)'))) / (select extract(epoch from '2026-07-10 08:14:57'::timestamp) - extract(epoch from '2026-07-10 08:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346211 -2.801459)'), GeomFromEWKT('SRID=4674;POINT (-40.346379 -2.801506)'))) / (select extract(epoch from '2026-07-10 08:14:57'::timestamp) - extract(epoch from '2026-07-10 08:14: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'), 47638, 'SRID=4674;POINT (-40.346549 -2.801565)', '2026-07-10 08:15:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346379 -2.801506)'), GeomFromEWKT('SRID=4674;POINT (-40.346549 -2.801565)'))) / (select extract(epoch from '2026-07-10 08:15:05'::timestamp) - extract(epoch from '2026-07-10 08:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346379 -2.801506)'), GeomFromEWKT('SRID=4674;POINT (-40.346549 -2.801565)'))) / (select extract(epoch from '2026-07-10 08:15:05'::timestamp) - extract(epoch from '2026-07-10 08:14: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'), 47638, 'SRID=4674;POINT (-40.346729 -2.801645)', '2026-07-10 08:15:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346549 -2.801565)'), GeomFromEWKT('SRID=4674;POINT (-40.346729 -2.801645)'))) / (select extract(epoch from '2026-07-10 08:15:13'::timestamp) - extract(epoch from '2026-07-10 08:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346549 -2.801565)'), GeomFromEWKT('SRID=4674;POINT (-40.346729 -2.801645)'))) / (select extract(epoch from '2026-07-10 08:15:13'::timestamp) - extract(epoch from '2026-07-10 08:15: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'), 47638, 'SRID=4674;POINT (-40.346941 -2.80173)', '2026-07-10 08:15:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346729 -2.801645)'), GeomFromEWKT('SRID=4674;POINT (-40.346941 -2.80173)'))) / (select extract(epoch from '2026-07-10 08:15:22'::timestamp) - extract(epoch from '2026-07-10 08:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346729 -2.801645)'), GeomFromEWKT('SRID=4674;POINT (-40.346941 -2.80173)'))) / (select extract(epoch from '2026-07-10 08:15:22'::timestamp) - extract(epoch from '2026-07-10 08:15: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'), 47638, 'SRID=4674;POINT (-40.347112 -2.801797)', '2026-07-10 08:15:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346941 -2.80173)'), GeomFromEWKT('SRID=4674;POINT (-40.347112 -2.801797)'))) / (select extract(epoch from '2026-07-10 08:15:30'::timestamp) - extract(epoch from '2026-07-10 08:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346941 -2.80173)'), GeomFromEWKT('SRID=4674;POINT (-40.347112 -2.801797)'))) / (select extract(epoch from '2026-07-10 08:15:30'::timestamp) - extract(epoch from '2026-07-10 08:15: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'), 47638, 'SRID=4674;POINT (-40.347304 -2.801872)', '2026-07-10 08:15:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347112 -2.801797)'), GeomFromEWKT('SRID=4674;POINT (-40.347304 -2.801872)'))) / (select extract(epoch from '2026-07-10 08:15:38'::timestamp) - extract(epoch from '2026-07-10 08:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347112 -2.801797)'), GeomFromEWKT('SRID=4674;POINT (-40.347304 -2.801872)'))) / (select extract(epoch from '2026-07-10 08:15:38'::timestamp) - extract(epoch from '2026-07-10 08:15:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.34749 -2.801945)', '2026-07-10 08:15:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347304 -2.801872)'), GeomFromEWKT('SRID=4674;POINT (-40.34749 -2.801945)'))) / (select extract(epoch from '2026-07-10 08:15:46'::timestamp) - extract(epoch from '2026-07-10 08:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347304 -2.801872)'), GeomFromEWKT('SRID=4674;POINT (-40.34749 -2.801945)'))) / (select extract(epoch from '2026-07-10 08:15:46'::timestamp) - extract(epoch from '2026-07-10 08:15: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'), 47638, 'SRID=4674;POINT (-40.347666 -2.802004)', '2026-07-10 08:15:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34749 -2.801945)'), GeomFromEWKT('SRID=4674;POINT (-40.347666 -2.802004)'))) / (select extract(epoch from '2026-07-10 08:15:53'::timestamp) - extract(epoch from '2026-07-10 08:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34749 -2.801945)'), GeomFromEWKT('SRID=4674;POINT (-40.347666 -2.802004)'))) / (select extract(epoch from '2026-07-10 08:15:53'::timestamp) - extract(epoch from '2026-07-10 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'), 47638, 'SRID=4674;POINT (-40.347918 -2.802099)', '2026-07-10 08:16:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347666 -2.802004)'), GeomFromEWKT('SRID=4674;POINT (-40.347918 -2.802099)'))) / (select extract(epoch from '2026-07-10 08:16:03'::timestamp) - extract(epoch from '2026-07-10 08:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347666 -2.802004)'), GeomFromEWKT('SRID=4674;POINT (-40.347918 -2.802099)'))) / (select extract(epoch from '2026-07-10 08:16:03'::timestamp) - extract(epoch from '2026-07-10 08:15: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'), 47638, 'SRID=4674;POINT (-40.348095 -2.802181)', '2026-07-10 08:16:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347918 -2.802099)'), GeomFromEWKT('SRID=4674;POINT (-40.348095 -2.802181)'))) / (select extract(epoch from '2026-07-10 08:16:10'::timestamp) - extract(epoch from '2026-07-10 08:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347918 -2.802099)'), GeomFromEWKT('SRID=4674;POINT (-40.348095 -2.802181)'))) / (select extract(epoch from '2026-07-10 08:16:10'::timestamp) - extract(epoch from '2026-07-10 08:16: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'), 47638, 'SRID=4674;POINT (-40.348282 -2.802262)', '2026-07-10 08:16:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348095 -2.802181)'), GeomFromEWKT('SRID=4674;POINT (-40.348282 -2.802262)'))) / (select extract(epoch from '2026-07-10 08:16:18'::timestamp) - extract(epoch from '2026-07-10 08:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348095 -2.802181)'), GeomFromEWKT('SRID=4674;POINT (-40.348282 -2.802262)'))) / (select extract(epoch from '2026-07-10 08:16:18'::timestamp) - extract(epoch from '2026-07-10 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'), 47638, 'SRID=4674;POINT (-40.348474 -2.802311)', '2026-07-10 08:16:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348282 -2.802262)'), GeomFromEWKT('SRID=4674;POINT (-40.348474 -2.802311)'))) / (select extract(epoch from '2026-07-10 08:16:26'::timestamp) - extract(epoch from '2026-07-10 08:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348282 -2.802262)'), GeomFromEWKT('SRID=4674;POINT (-40.348474 -2.802311)'))) / (select extract(epoch from '2026-07-10 08:16:26'::timestamp) - extract(epoch from '2026-07-10 08:16: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'), 47638, 'SRID=4674;POINT (-40.348683 -2.802374)', '2026-07-10 08:16:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348474 -2.802311)'), GeomFromEWKT('SRID=4674;POINT (-40.348683 -2.802374)'))) / (select extract(epoch from '2026-07-10 08:16:35'::timestamp) - extract(epoch from '2026-07-10 08:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348474 -2.802311)'), GeomFromEWKT('SRID=4674;POINT (-40.348683 -2.802374)'))) / (select extract(epoch from '2026-07-10 08:16:35'::timestamp) - extract(epoch from '2026-07-10 08:16: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'), 47638, 'SRID=4674;POINT (-40.348864 -2.802431)', '2026-07-10 08:16:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348683 -2.802374)'), GeomFromEWKT('SRID=4674;POINT (-40.348864 -2.802431)'))) / (select extract(epoch from '2026-07-10 08:16:43'::timestamp) - extract(epoch from '2026-07-10 08:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348683 -2.802374)'), GeomFromEWKT('SRID=4674;POINT (-40.348864 -2.802431)'))) / (select extract(epoch from '2026-07-10 08:16:43'::timestamp) - extract(epoch from '2026-07-10 08:16: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'), 47638, 'SRID=4674;POINT (-40.349063 -2.802501)', '2026-07-10 08:16:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348864 -2.802431)'), GeomFromEWKT('SRID=4674;POINT (-40.349063 -2.802501)'))) / (select extract(epoch from '2026-07-10 08:16:52'::timestamp) - extract(epoch from '2026-07-10 08:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348864 -2.802431)'), GeomFromEWKT('SRID=4674;POINT (-40.349063 -2.802501)'))) / (select extract(epoch from '2026-07-10 08:16:52'::timestamp) - extract(epoch from '2026-07-10 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'), 47638, 'SRID=4674;POINT (-40.349238 -2.802564)', '2026-07-10 08:17:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349063 -2.802501)'), GeomFromEWKT('SRID=4674;POINT (-40.349238 -2.802564)'))) / (select extract(epoch from '2026-07-10 08:17:00'::timestamp) - extract(epoch from '2026-07-10 08:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349063 -2.802501)'), GeomFromEWKT('SRID=4674;POINT (-40.349238 -2.802564)'))) / (select extract(epoch from '2026-07-10 08:17:00'::timestamp) - extract(epoch from '2026-07-10 08:16: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'), 47638, 'SRID=4674;POINT (-40.349424 -2.802644)', '2026-07-10 08:17:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349238 -2.802564)'), GeomFromEWKT('SRID=4674;POINT (-40.349424 -2.802644)'))) / (select extract(epoch from '2026-07-10 08:17:08'::timestamp) - extract(epoch from '2026-07-10 08:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349238 -2.802564)'), GeomFromEWKT('SRID=4674;POINT (-40.349424 -2.802644)'))) / (select extract(epoch from '2026-07-10 08:17:08'::timestamp) - extract(epoch from '2026-07-10 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'), 47638, 'SRID=4674;POINT (-40.349621 -2.802732)', '2026-07-10 08:17:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349424 -2.802644)'), GeomFromEWKT('SRID=4674;POINT (-40.349621 -2.802732)'))) / (select extract(epoch from '2026-07-10 08:17:16'::timestamp) - extract(epoch from '2026-07-10 08:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349424 -2.802644)'), GeomFromEWKT('SRID=4674;POINT (-40.349621 -2.802732)'))) / (select extract(epoch from '2026-07-10 08:17:16'::timestamp) - extract(epoch from '2026-07-10 08:17: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'), 47638, 'SRID=4674;POINT (-40.34979 -2.802832)', '2026-07-10 08:17:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349621 -2.802732)'), GeomFromEWKT('SRID=4674;POINT (-40.34979 -2.802832)'))) / (select extract(epoch from '2026-07-10 08:17:24'::timestamp) - extract(epoch from '2026-07-10 08:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349621 -2.802732)'), GeomFromEWKT('SRID=4674;POINT (-40.34979 -2.802832)'))) / (select extract(epoch from '2026-07-10 08:17:24'::timestamp) - extract(epoch from '2026-07-10 08:17: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'), 47638, 'SRID=4674;POINT (-40.349953 -2.802936)', '2026-07-10 08:17:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34979 -2.802832)'), GeomFromEWKT('SRID=4674;POINT (-40.349953 -2.802936)'))) / (select extract(epoch from '2026-07-10 08:17:32'::timestamp) - extract(epoch from '2026-07-10 08:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34979 -2.802832)'), GeomFromEWKT('SRID=4674;POINT (-40.349953 -2.802936)'))) / (select extract(epoch from '2026-07-10 08:17:32'::timestamp) - extract(epoch from '2026-07-10 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'), 47638, 'SRID=4674;POINT (-40.350176 -2.803066)', '2026-07-10 08:17:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349953 -2.802936)'), GeomFromEWKT('SRID=4674;POINT (-40.350176 -2.803066)'))) / (select extract(epoch from '2026-07-10 08:17:42'::timestamp) - extract(epoch from '2026-07-10 08:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349953 -2.802936)'), GeomFromEWKT('SRID=4674;POINT (-40.350176 -2.803066)'))) / (select extract(epoch from '2026-07-10 08:17:42'::timestamp) - extract(epoch from '2026-07-10 08:17: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'), 47638, 'SRID=4674;POINT (-40.35038 -2.803174)', '2026-07-10 08:17:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350176 -2.803066)'), GeomFromEWKT('SRID=4674;POINT (-40.35038 -2.803174)'))) / (select extract(epoch from '2026-07-10 08:17:51'::timestamp) - extract(epoch from '2026-07-10 08:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350176 -2.803066)'), GeomFromEWKT('SRID=4674;POINT (-40.35038 -2.803174)'))) / (select extract(epoch from '2026-07-10 08:17:51'::timestamp) - extract(epoch from '2026-07-10 08:17: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'), 47638, 'SRID=4674;POINT (-40.350622 -2.803328)', '2026-07-10 08:18:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35038 -2.803174)'), GeomFromEWKT('SRID=4674;POINT (-40.350622 -2.803328)'))) / (select extract(epoch from '2026-07-10 08:18:02'::timestamp) - extract(epoch from '2026-07-10 08:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35038 -2.803174)'), GeomFromEWKT('SRID=4674;POINT (-40.350622 -2.803328)'))) / (select extract(epoch from '2026-07-10 08:18:02'::timestamp) - extract(epoch from '2026-07-10 08:17:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.350872 -2.803498)', '2026-07-10 08:18:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350622 -2.803328)'), GeomFromEWKT('SRID=4674;POINT (-40.350872 -2.803498)'))) / (select extract(epoch from '2026-07-10 08:18:14'::timestamp) - extract(epoch from '2026-07-10 08:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350622 -2.803328)'), GeomFromEWKT('SRID=4674;POINT (-40.350872 -2.803498)'))) / (select extract(epoch from '2026-07-10 08:18:14'::timestamp) - extract(epoch from '2026-07-10 08:18:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.35107 -2.803593)', '2026-07-10 08:18:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350872 -2.803498)'), GeomFromEWKT('SRID=4674;POINT (-40.35107 -2.803593)'))) / (select extract(epoch from '2026-07-10 08:18:22'::timestamp) - extract(epoch from '2026-07-10 08:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350872 -2.803498)'), GeomFromEWKT('SRID=4674;POINT (-40.35107 -2.803593)'))) / (select extract(epoch from '2026-07-10 08:18:22'::timestamp) - extract(epoch from '2026-07-10 08:18:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.351203 -2.803665)', '2026-07-10 08:18:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35107 -2.803593)'), GeomFromEWKT('SRID=4674;POINT (-40.351203 -2.803665)'))) / (select extract(epoch from '2026-07-10 08:18:28'::timestamp) - extract(epoch from '2026-07-10 08:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35107 -2.803593)'), GeomFromEWKT('SRID=4674;POINT (-40.351203 -2.803665)'))) / (select extract(epoch from '2026-07-10 08:18:28'::timestamp) - extract(epoch from '2026-07-10 08:18: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'), 47638, 'SRID=4674;POINT (-40.351386 -2.803789)', '2026-07-10 08:18:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351203 -2.803665)'), GeomFromEWKT('SRID=4674;POINT (-40.351386 -2.803789)'))) / (select extract(epoch from '2026-07-10 08:18:37'::timestamp) - extract(epoch from '2026-07-10 08:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351203 -2.803665)'), GeomFromEWKT('SRID=4674;POINT (-40.351386 -2.803789)'))) / (select extract(epoch from '2026-07-10 08:18:37'::timestamp) - extract(epoch from '2026-07-10 08:18: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'), 47638, 'SRID=4674;POINT (-40.351528 -2.803919)', '2026-07-10 08:18:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351386 -2.803789)'), GeomFromEWKT('SRID=4674;POINT (-40.351528 -2.803919)'))) / (select extract(epoch from '2026-07-10 08:18:46'::timestamp) - extract(epoch from '2026-07-10 08:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351386 -2.803789)'), GeomFromEWKT('SRID=4674;POINT (-40.351528 -2.803919)'))) / (select extract(epoch from '2026-07-10 08:18:46'::timestamp) - extract(epoch from '2026-07-10 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'), 47638, 'SRID=4674;POINT (-40.351643 -2.804033)', '2026-07-10 08:18:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351528 -2.803919)'), GeomFromEWKT('SRID=4674;POINT (-40.351643 -2.804033)'))) / (select extract(epoch from '2026-07-10 08:18:54'::timestamp) - extract(epoch from '2026-07-10 08:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351528 -2.803919)'), GeomFromEWKT('SRID=4674;POINT (-40.351643 -2.804033)'))) / (select extract(epoch from '2026-07-10 08:18:54'::timestamp) - extract(epoch from '2026-07-10 08:18:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.351774 -2.804147)', '2026-07-10 08:19:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351643 -2.804033)'), GeomFromEWKT('SRID=4674;POINT (-40.351774 -2.804147)'))) / (select extract(epoch from '2026-07-10 08:19:03'::timestamp) - extract(epoch from '2026-07-10 08:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351643 -2.804033)'), GeomFromEWKT('SRID=4674;POINT (-40.351774 -2.804147)'))) / (select extract(epoch from '2026-07-10 08:19:03'::timestamp) - extract(epoch from '2026-07-10 08:18: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'), 47638, 'SRID=4674;POINT (-40.351888 -2.804257)', '2026-07-10 08:19:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351774 -2.804147)'), GeomFromEWKT('SRID=4674;POINT (-40.351888 -2.804257)'))) / (select extract(epoch from '2026-07-10 08:19:11'::timestamp) - extract(epoch from '2026-07-10 08:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351774 -2.804147)'), GeomFromEWKT('SRID=4674;POINT (-40.351888 -2.804257)'))) / (select extract(epoch from '2026-07-10 08:19:11'::timestamp) - extract(epoch from '2026-07-10 08:19: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'), 47638, 'SRID=4674;POINT (-40.35201 -2.804389)', '2026-07-10 08:19:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351888 -2.804257)'), GeomFromEWKT('SRID=4674;POINT (-40.35201 -2.804389)'))) / (select extract(epoch from '2026-07-10 08:19:20'::timestamp) - extract(epoch from '2026-07-10 08:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351888 -2.804257)'), GeomFromEWKT('SRID=4674;POINT (-40.35201 -2.804389)'))) / (select extract(epoch from '2026-07-10 08:19:20'::timestamp) - extract(epoch from '2026-07-10 08:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.352147 -2.804513)', '2026-07-10 08:19:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35201 -2.804389)'), GeomFromEWKT('SRID=4674;POINT (-40.352147 -2.804513)'))) / (select extract(epoch from '2026-07-10 08:19:29'::timestamp) - extract(epoch from '2026-07-10 08:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35201 -2.804389)'), GeomFromEWKT('SRID=4674;POINT (-40.352147 -2.804513)'))) / (select extract(epoch from '2026-07-10 08:19:29'::timestamp) - extract(epoch from '2026-07-10 08:19:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.352309 -2.804647)', '2026-07-10 08:19:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352147 -2.804513)'), GeomFromEWKT('SRID=4674;POINT (-40.352309 -2.804647)'))) / (select extract(epoch from '2026-07-10 08:19:39'::timestamp) - extract(epoch from '2026-07-10 08:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352147 -2.804513)'), GeomFromEWKT('SRID=4674;POINT (-40.352309 -2.804647)'))) / (select extract(epoch from '2026-07-10 08:19:39'::timestamp) - extract(epoch from '2026-07-10 08:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.352469 -2.804787)', '2026-07-10 08:19:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352309 -2.804647)'), GeomFromEWKT('SRID=4674;POINT (-40.352469 -2.804787)'))) / (select extract(epoch from '2026-07-10 08:19:49'::timestamp) - extract(epoch from '2026-07-10 08:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352309 -2.804647)'), GeomFromEWKT('SRID=4674;POINT (-40.352469 -2.804787)'))) / (select extract(epoch from '2026-07-10 08:19:49'::timestamp) - extract(epoch from '2026-07-10 08:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.352592 -2.804912)', '2026-07-10 08:19:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352469 -2.804787)'), GeomFromEWKT('SRID=4674;POINT (-40.352592 -2.804912)'))) / (select extract(epoch from '2026-07-10 08:19:59'::timestamp) - extract(epoch from '2026-07-10 08:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352469 -2.804787)'), GeomFromEWKT('SRID=4674;POINT (-40.352592 -2.804912)'))) / (select extract(epoch from '2026-07-10 08:19:59'::timestamp) - extract(epoch from '2026-07-10 08:19: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'), 47638, 'SRID=4674;POINT (-40.352647 -2.805003)', '2026-07-10 08:20:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352592 -2.804912)'), GeomFromEWKT('SRID=4674;POINT (-40.352647 -2.805003)'))) / (select extract(epoch from '2026-07-10 08:20:06'::timestamp) - extract(epoch from '2026-07-10 08:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352592 -2.804912)'), GeomFromEWKT('SRID=4674;POINT (-40.352647 -2.805003)'))) / (select extract(epoch from '2026-07-10 08:20:06'::timestamp) - extract(epoch from '2026-07-10 08:19: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'), 47638, 'SRID=4674;POINT (-40.352723 -2.80513)', '2026-07-10 08:20:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352647 -2.805003)'), GeomFromEWKT('SRID=4674;POINT (-40.352723 -2.80513)'))) / (select extract(epoch from '2026-07-10 08:20:17'::timestamp) - extract(epoch from '2026-07-10 08:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352647 -2.805003)'), GeomFromEWKT('SRID=4674;POINT (-40.352723 -2.80513)'))) / (select extract(epoch from '2026-07-10 08:20:17'::timestamp) - extract(epoch from '2026-07-10 08:20:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47638, 'SRID=4674;POINT (-40.352785 -2.805237)', '2026-07-10 08:20:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352723 -2.80513)'), GeomFromEWKT('SRID=4674;POINT (-40.352785 -2.805237)'))) / (select extract(epoch from '2026-07-10 08:20:25'::timestamp) - extract(epoch from '2026-07-10 08:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352723 -2.80513)'), GeomFromEWKT('SRID=4674;POINT (-40.352785 -2.805237)'))) / (select extract(epoch from '2026-07-10 08:20:25'::timestamp) - extract(epoch from '2026-07-10 08:20:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
