 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.302064 -2.793394)', '2026-07-23 06:43:21', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302065 -2.79342)'), GeomFromEWKT('SRID=4674;POINT (-40.302064 -2.793394)'))) / (select extract(epoch from '2026-07-23 06:43:21'::timestamp) - extract(epoch from '2026-07-23 06:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302065 -2.79342)'), GeomFromEWKT('SRID=4674;POINT (-40.302064 -2.793394)'))) / (select extract(epoch from '2026-07-23 06:43:21'::timestamp) - extract(epoch from '2026-07-23 06:43: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'), 47640, 'SRID=4674;POINT (-40.302063 -2.793364)', '2026-07-23 06:43:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302064 -2.793394)'), GeomFromEWKT('SRID=4674;POINT (-40.302063 -2.793364)'))) / (select extract(epoch from '2026-07-23 06:43:40'::timestamp) - extract(epoch from '2026-07-23 06:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302064 -2.793394)'), GeomFromEWKT('SRID=4674;POINT (-40.302063 -2.793364)'))) / (select extract(epoch from '2026-07-23 06:43:40'::timestamp) - extract(epoch from '2026-07-23 06:43: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'), 47640, 'SRID=4674;POINT (-40.302056 -2.793338)', '2026-07-23 06:44:04', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302063 -2.793364)'), GeomFromEWKT('SRID=4674;POINT (-40.302056 -2.793338)'))) / (select extract(epoch from '2026-07-23 06:44:04'::timestamp) - extract(epoch from '2026-07-23 06:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302063 -2.793364)'), GeomFromEWKT('SRID=4674;POINT (-40.302056 -2.793338)'))) / (select extract(epoch from '2026-07-23 06:44:04'::timestamp) - extract(epoch from '2026-07-23 06:43: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'), 47640, 'SRID=4674;POINT (-40.302029 -2.793352)', '2026-07-23 06:44:16', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302056 -2.793338)'), GeomFromEWKT('SRID=4674;POINT (-40.302029 -2.793352)'))) / (select extract(epoch from '2026-07-23 06:44:16'::timestamp) - extract(epoch from '2026-07-23 06:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302056 -2.793338)'), GeomFromEWKT('SRID=4674;POINT (-40.302029 -2.793352)'))) / (select extract(epoch from '2026-07-23 06:44:16'::timestamp) - extract(epoch from '2026-07-23 06:44: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'), 47640, 'SRID=4674;POINT (-40.301994 -2.793342)', '2026-07-23 06:44:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302029 -2.793352)'), GeomFromEWKT('SRID=4674;POINT (-40.301994 -2.793342)'))) / (select extract(epoch from '2026-07-23 06:44:27'::timestamp) - extract(epoch from '2026-07-23 06:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302029 -2.793352)'), GeomFromEWKT('SRID=4674;POINT (-40.301994 -2.793342)'))) / (select extract(epoch from '2026-07-23 06:44:27'::timestamp) - extract(epoch from '2026-07-23 06:44:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.301955 -2.793341)', '2026-07-23 06:44:42', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301994 -2.793342)'), GeomFromEWKT('SRID=4674;POINT (-40.301955 -2.793341)'))) / (select extract(epoch from '2026-07-23 06:44:42'::timestamp) - extract(epoch from '2026-07-23 06:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301994 -2.793342)'), GeomFromEWKT('SRID=4674;POINT (-40.301955 -2.793341)'))) / (select extract(epoch from '2026-07-23 06:44:42'::timestamp) - extract(epoch from '2026-07-23 06:44:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.301892 -2.79336)', '2026-07-23 06:44:59', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301955 -2.793341)'), GeomFromEWKT('SRID=4674;POINT (-40.301892 -2.79336)'))) / (select extract(epoch from '2026-07-23 06:44:59'::timestamp) - extract(epoch from '2026-07-23 06:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301955 -2.793341)'), GeomFromEWKT('SRID=4674;POINT (-40.301892 -2.79336)'))) / (select extract(epoch from '2026-07-23 06:44:59'::timestamp) - extract(epoch from '2026-07-23 06:44:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.301884 -2.793333)', '2026-07-23 06:45:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301892 -2.79336)'), GeomFromEWKT('SRID=4674;POINT (-40.301884 -2.793333)'))) / (select extract(epoch from '2026-07-23 06:45:15'::timestamp) - extract(epoch from '2026-07-23 06:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301892 -2.79336)'), GeomFromEWKT('SRID=4674;POINT (-40.301884 -2.793333)'))) / (select extract(epoch from '2026-07-23 06:45:15'::timestamp) - extract(epoch from '2026-07-23 06:44: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'), 47640, 'SRID=4674;POINT (-40.301869 -2.793322)', '2026-07-23 06:45:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301884 -2.793333)'), GeomFromEWKT('SRID=4674;POINT (-40.301869 -2.793322)'))) / (select extract(epoch from '2026-07-23 06:45:33'::timestamp) - extract(epoch from '2026-07-23 06:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301884 -2.793333)'), GeomFromEWKT('SRID=4674;POINT (-40.301869 -2.793322)'))) / (select extract(epoch from '2026-07-23 06:45:33'::timestamp) - extract(epoch from '2026-07-23 06:45: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'), 47640, 'SRID=4674;POINT (-40.301837 -2.793305)', '2026-07-23 06:46:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301869 -2.793322)'), GeomFromEWKT('SRID=4674;POINT (-40.301837 -2.793305)'))) / (select extract(epoch from '2026-07-23 06:46:01'::timestamp) - extract(epoch from '2026-07-23 06:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301869 -2.793322)'), GeomFromEWKT('SRID=4674;POINT (-40.301837 -2.793305)'))) / (select extract(epoch from '2026-07-23 06:46:01'::timestamp) - extract(epoch from '2026-07-23 06:45: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'), 47640, 'SRID=4674;POINT (-40.301807 -2.793311)', '2026-07-23 06:46:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301837 -2.793305)'), GeomFromEWKT('SRID=4674;POINT (-40.301807 -2.793311)'))) / (select extract(epoch from '2026-07-23 06:46:11'::timestamp) - extract(epoch from '2026-07-23 06:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301837 -2.793305)'), GeomFromEWKT('SRID=4674;POINT (-40.301807 -2.793311)'))) / (select extract(epoch from '2026-07-23 06:46:11'::timestamp) - extract(epoch from '2026-07-23 06:46: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'), 47640, 'SRID=4674;POINT (-40.301731 -2.793317)', '2026-07-23 06:46:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301807 -2.793311)'), GeomFromEWKT('SRID=4674;POINT (-40.301731 -2.793317)'))) / (select extract(epoch from '2026-07-23 06:46:28'::timestamp) - extract(epoch from '2026-07-23 06:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301807 -2.793311)'), GeomFromEWKT('SRID=4674;POINT (-40.301731 -2.793317)'))) / (select extract(epoch from '2026-07-23 06:46:28'::timestamp) - extract(epoch from '2026-07-23 06:46:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.301705 -2.793312)', '2026-07-23 06:46:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301731 -2.793317)'), GeomFromEWKT('SRID=4674;POINT (-40.301705 -2.793312)'))) / (select extract(epoch from '2026-07-23 06:46:49'::timestamp) - extract(epoch from '2026-07-23 06:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301731 -2.793317)'), GeomFromEWKT('SRID=4674;POINT (-40.301705 -2.793312)'))) / (select extract(epoch from '2026-07-23 06:46:49'::timestamp) - extract(epoch from '2026-07-23 06:46:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.30167 -2.793318)', '2026-07-23 06:47:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301705 -2.793312)'), GeomFromEWKT('SRID=4674;POINT (-40.30167 -2.793318)'))) / (select extract(epoch from '2026-07-23 06:47:10'::timestamp) - extract(epoch from '2026-07-23 06:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301705 -2.793312)'), GeomFromEWKT('SRID=4674;POINT (-40.30167 -2.793318)'))) / (select extract(epoch from '2026-07-23 06:47:10'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.301639 -2.793329)', '2026-07-23 06:47:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30167 -2.793318)'), GeomFromEWKT('SRID=4674;POINT (-40.301639 -2.793329)'))) / (select extract(epoch from '2026-07-23 06:47:26'::timestamp) - extract(epoch from '2026-07-23 06:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30167 -2.793318)'), GeomFromEWKT('SRID=4674;POINT (-40.301639 -2.793329)'))) / (select extract(epoch from '2026-07-23 06:47:26'::timestamp) - extract(epoch from '2026-07-23 06:47: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'), 47640, 'SRID=4674;POINT (-40.301627 -2.793319)', '2026-07-23 06:47:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301639 -2.793329)'), GeomFromEWKT('SRID=4674;POINT (-40.301627 -2.793319)'))) / (select extract(epoch from '2026-07-23 06:47:42'::timestamp) - extract(epoch from '2026-07-23 06:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301639 -2.793329)'), GeomFromEWKT('SRID=4674;POINT (-40.301627 -2.793319)'))) / (select extract(epoch from '2026-07-23 06:47:42'::timestamp) - extract(epoch from '2026-07-23 06:47: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'), 47640, 'SRID=4674;POINT (-40.301611 -2.793319)', '2026-07-23 06:48:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301627 -2.793319)'), GeomFromEWKT('SRID=4674;POINT (-40.301611 -2.793319)'))) / (select extract(epoch from '2026-07-23 06:48:04'::timestamp) - extract(epoch from '2026-07-23 06:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301627 -2.793319)'), GeomFromEWKT('SRID=4674;POINT (-40.301611 -2.793319)'))) / (select extract(epoch from '2026-07-23 06:48:04'::timestamp) - extract(epoch from '2026-07-23 06:47: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'), 47640, 'SRID=4674;POINT (-40.301604 -2.793306)', '2026-07-23 06:48:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301611 -2.793319)'), GeomFromEWKT('SRID=4674;POINT (-40.301604 -2.793306)'))) / (select extract(epoch from '2026-07-23 06:48:20'::timestamp) - extract(epoch from '2026-07-23 06:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301611 -2.793319)'), GeomFromEWKT('SRID=4674;POINT (-40.301604 -2.793306)'))) / (select extract(epoch from '2026-07-23 06:48:20'::timestamp) - extract(epoch from '2026-07-23 06:48: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'), 47640, 'SRID=4674;POINT (-40.301575 -2.793305)', '2026-07-23 06:48:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301604 -2.793306)'), GeomFromEWKT('SRID=4674;POINT (-40.301575 -2.793305)'))) / (select extract(epoch from '2026-07-23 06:48:34'::timestamp) - extract(epoch from '2026-07-23 06:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301604 -2.793306)'), GeomFromEWKT('SRID=4674;POINT (-40.301575 -2.793305)'))) / (select extract(epoch from '2026-07-23 06:48:34'::timestamp) - extract(epoch from '2026-07-23 06:48: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'), 47640, 'SRID=4674;POINT (-40.301547 -2.793318)', '2026-07-23 06:48:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301575 -2.793305)'), GeomFromEWKT('SRID=4674;POINT (-40.301547 -2.793318)'))) / (select extract(epoch from '2026-07-23 06:48:55'::timestamp) - extract(epoch from '2026-07-23 06:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301575 -2.793305)'), GeomFromEWKT('SRID=4674;POINT (-40.301547 -2.793318)'))) / (select extract(epoch from '2026-07-23 06:48:55'::timestamp) - extract(epoch from '2026-07-23 06:48:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.301492 -2.793333)', '2026-07-23 06:49:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301547 -2.793318)'), GeomFromEWKT('SRID=4674;POINT (-40.301492 -2.793333)'))) / (select extract(epoch from '2026-07-23 06:49:10'::timestamp) - extract(epoch from '2026-07-23 06:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301547 -2.793318)'), GeomFromEWKT('SRID=4674;POINT (-40.301492 -2.793333)'))) / (select extract(epoch from '2026-07-23 06:49:10'::timestamp) - extract(epoch from '2026-07-23 06:48: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'), 47640, 'SRID=4674;POINT (-40.301495 -2.793324)', '2026-07-23 06:49:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301492 -2.793333)'), GeomFromEWKT('SRID=4674;POINT (-40.301495 -2.793324)'))) / (select extract(epoch from '2026-07-23 06:49:23'::timestamp) - extract(epoch from '2026-07-23 06:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301492 -2.793333)'), GeomFromEWKT('SRID=4674;POINT (-40.301495 -2.793324)'))) / (select extract(epoch from '2026-07-23 06:49:23'::timestamp) - extract(epoch from '2026-07-23 06:49: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'), 47640, 'SRID=4674;POINT (-40.30148 -2.793323)', '2026-07-23 06:49:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301495 -2.793324)'), GeomFromEWKT('SRID=4674;POINT (-40.30148 -2.793323)'))) / (select extract(epoch from '2026-07-23 06:49:43'::timestamp) - extract(epoch from '2026-07-23 06:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301495 -2.793324)'), GeomFromEWKT('SRID=4674;POINT (-40.30148 -2.793323)'))) / (select extract(epoch from '2026-07-23 06:49:43'::timestamp) - extract(epoch from '2026-07-23 06:49: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'), 47640, 'SRID=4674;POINT (-40.30148 -2.793322)', '2026-07-23 06:50:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30148 -2.793323)'), GeomFromEWKT('SRID=4674;POINT (-40.30148 -2.793322)'))) / (select extract(epoch from '2026-07-23 06:50:05'::timestamp) - extract(epoch from '2026-07-23 06:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30148 -2.793323)'), GeomFromEWKT('SRID=4674;POINT (-40.30148 -2.793322)'))) / (select extract(epoch from '2026-07-23 06:50:05'::timestamp) - extract(epoch from '2026-07-23 06:49: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'), 47640, 'SRID=4674;POINT (-40.301463 -2.793342)', '2026-07-23 06:50:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30148 -2.793322)'), GeomFromEWKT('SRID=4674;POINT (-40.301463 -2.793342)'))) / (select extract(epoch from '2026-07-23 06:50:27'::timestamp) - extract(epoch from '2026-07-23 06:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30148 -2.793322)'), GeomFromEWKT('SRID=4674;POINT (-40.301463 -2.793342)'))) / (select extract(epoch from '2026-07-23 06:50:27'::timestamp) - extract(epoch from '2026-07-23 06: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'), 47640, 'SRID=4674;POINT (-40.301459 -2.793335)', '2026-07-23 06:50:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301463 -2.793342)'), GeomFromEWKT('SRID=4674;POINT (-40.301459 -2.793335)'))) / (select extract(epoch from '2026-07-23 06:50:48'::timestamp) - extract(epoch from '2026-07-23 06:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301463 -2.793342)'), GeomFromEWKT('SRID=4674;POINT (-40.301459 -2.793335)'))) / (select extract(epoch from '2026-07-23 06:50:48'::timestamp) - extract(epoch from '2026-07-23 06:50:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.301425 -2.79335)', '2026-07-23 06:51:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301459 -2.793335)'), GeomFromEWKT('SRID=4674;POINT (-40.301425 -2.79335)'))) / (select extract(epoch from '2026-07-23 06:51:03'::timestamp) - extract(epoch from '2026-07-23 06:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301459 -2.793335)'), GeomFromEWKT('SRID=4674;POINT (-40.301425 -2.79335)'))) / (select extract(epoch from '2026-07-23 06:51:03'::timestamp) - extract(epoch from '2026-07-23 06:50:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.301405 -2.793367)', '2026-07-23 06:51:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301425 -2.79335)'), GeomFromEWKT('SRID=4674;POINT (-40.301405 -2.793367)'))) / (select extract(epoch from '2026-07-23 06:51:18'::timestamp) - extract(epoch from '2026-07-23 06:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301425 -2.79335)'), GeomFromEWKT('SRID=4674;POINT (-40.301405 -2.793367)'))) / (select extract(epoch from '2026-07-23 06:51:18'::timestamp) - extract(epoch from '2026-07-23 06:51: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'), 47640, 'SRID=4674;POINT (-40.301374 -2.79341)', '2026-07-23 06:51:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301405 -2.793367)'), GeomFromEWKT('SRID=4674;POINT (-40.301374 -2.79341)'))) / (select extract(epoch from '2026-07-23 06:51:35'::timestamp) - extract(epoch from '2026-07-23 06:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301405 -2.793367)'), GeomFromEWKT('SRID=4674;POINT (-40.301374 -2.79341)'))) / (select extract(epoch from '2026-07-23 06:51:35'::timestamp) - extract(epoch from '2026-07-23 06:51:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.301335 -2.793436)', '2026-07-23 06:51:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301374 -2.79341)'), GeomFromEWKT('SRID=4674;POINT (-40.301335 -2.793436)'))) / (select extract(epoch from '2026-07-23 06:51:50'::timestamp) - extract(epoch from '2026-07-23 06:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301374 -2.79341)'), GeomFromEWKT('SRID=4674;POINT (-40.301335 -2.793436)'))) / (select extract(epoch from '2026-07-23 06:51:50'::timestamp) - extract(epoch from '2026-07-23 06:51:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.301294 -2.793398)', '2026-07-23 06:52:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301335 -2.793436)'), GeomFromEWKT('SRID=4674;POINT (-40.301294 -2.793398)'))) / (select extract(epoch from '2026-07-23 06:52:04'::timestamp) - extract(epoch from '2026-07-23 06:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301335 -2.793436)'), GeomFromEWKT('SRID=4674;POINT (-40.301294 -2.793398)'))) / (select extract(epoch from '2026-07-23 06:52:04'::timestamp) - extract(epoch from '2026-07-23 06:51: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'), 47640, 'SRID=4674;POINT (-40.301219 -2.793368)', '2026-07-23 06:52:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301294 -2.793398)'), GeomFromEWKT('SRID=4674;POINT (-40.301219 -2.793368)'))) / (select extract(epoch from '2026-07-23 06:52:20'::timestamp) - extract(epoch from '2026-07-23 06:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301294 -2.793398)'), GeomFromEWKT('SRID=4674;POINT (-40.301219 -2.793368)'))) / (select extract(epoch from '2026-07-23 06:52:20'::timestamp) - extract(epoch from '2026-07-23 06:52:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.301217 -2.793356)', '2026-07-23 06:52:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301219 -2.793368)'), GeomFromEWKT('SRID=4674;POINT (-40.301217 -2.793356)'))) / (select extract(epoch from '2026-07-23 06:52:35'::timestamp) - extract(epoch from '2026-07-23 06:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301219 -2.793368)'), GeomFromEWKT('SRID=4674;POINT (-40.301217 -2.793356)'))) / (select extract(epoch from '2026-07-23 06:52:35'::timestamp) - extract(epoch from '2026-07-23 06: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'), 47640, 'SRID=4674;POINT (-40.301226 -2.793338)', '2026-07-23 06:52:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301217 -2.793356)'), GeomFromEWKT('SRID=4674;POINT (-40.301226 -2.793338)'))) / (select extract(epoch from '2026-07-23 06:52:57'::timestamp) - extract(epoch from '2026-07-23 06:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301217 -2.793356)'), GeomFromEWKT('SRID=4674;POINT (-40.301226 -2.793338)'))) / (select extract(epoch from '2026-07-23 06:52:57'::timestamp) - extract(epoch from '2026-07-23 06:52:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.301183 -2.793326)', '2026-07-23 06:53:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301226 -2.793338)'), GeomFromEWKT('SRID=4674;POINT (-40.301183 -2.793326)'))) / (select extract(epoch from '2026-07-23 06:53:08'::timestamp) - extract(epoch from '2026-07-23 06:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301226 -2.793338)'), GeomFromEWKT('SRID=4674;POINT (-40.301183 -2.793326)'))) / (select extract(epoch from '2026-07-23 06:53:08'::timestamp) - extract(epoch from '2026-07-23 06:52: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'), 47640, 'SRID=4674;POINT (-40.301106 -2.793301)', '2026-07-23 06:53:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301183 -2.793326)'), GeomFromEWKT('SRID=4674;POINT (-40.301106 -2.793301)'))) / (select extract(epoch from '2026-07-23 06:53:25'::timestamp) - extract(epoch from '2026-07-23 06:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301183 -2.793326)'), GeomFromEWKT('SRID=4674;POINT (-40.301106 -2.793301)'))) / (select extract(epoch from '2026-07-23 06:53:25'::timestamp) - extract(epoch from '2026-07-23 06:53: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'), 47640, 'SRID=4674;POINT (-40.301091 -2.793283)', '2026-07-23 06:53:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301106 -2.793301)'), GeomFromEWKT('SRID=4674;POINT (-40.301091 -2.793283)'))) / (select extract(epoch from '2026-07-23 06:53:43'::timestamp) - extract(epoch from '2026-07-23 06:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301106 -2.793301)'), GeomFromEWKT('SRID=4674;POINT (-40.301091 -2.793283)'))) / (select extract(epoch from '2026-07-23 06:53:43'::timestamp) - extract(epoch from '2026-07-23 06:53:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.301049 -2.793277)', '2026-07-23 06:53:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301091 -2.793283)'), GeomFromEWKT('SRID=4674;POINT (-40.301049 -2.793277)'))) / (select extract(epoch from '2026-07-23 06:53:56'::timestamp) - extract(epoch from '2026-07-23 06:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301091 -2.793283)'), GeomFromEWKT('SRID=4674;POINT (-40.301049 -2.793277)'))) / (select extract(epoch from '2026-07-23 06:53:56'::timestamp) - extract(epoch from '2026-07-23 06:53:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.301 -2.793273)', '2026-07-23 06:54:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301049 -2.793277)'), GeomFromEWKT('SRID=4674;POINT (-40.301 -2.793273)'))) / (select extract(epoch from '2026-07-23 06:54:10'::timestamp) - extract(epoch from '2026-07-23 06:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301049 -2.793277)'), GeomFromEWKT('SRID=4674;POINT (-40.301 -2.793273)'))) / (select extract(epoch from '2026-07-23 06:54:10'::timestamp) - extract(epoch from '2026-07-23 06:53:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.301001 -2.793253)', '2026-07-23 06:54:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301 -2.793273)'), GeomFromEWKT('SRID=4674;POINT (-40.301001 -2.793253)'))) / (select extract(epoch from '2026-07-23 06:54:27'::timestamp) - extract(epoch from '2026-07-23 06:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301 -2.793273)'), GeomFromEWKT('SRID=4674;POINT (-40.301001 -2.793253)'))) / (select extract(epoch from '2026-07-23 06:54:27'::timestamp) - extract(epoch from '2026-07-23 06:54: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'), 47640, 'SRID=4674;POINT (-40.300962 -2.793219)', '2026-07-23 06:54:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301001 -2.793253)'), GeomFromEWKT('SRID=4674;POINT (-40.300962 -2.793219)'))) / (select extract(epoch from '2026-07-23 06:54:56'::timestamp) - extract(epoch from '2026-07-23 06:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301001 -2.793253)'), GeomFromEWKT('SRID=4674;POINT (-40.300962 -2.793219)'))) / (select extract(epoch from '2026-07-23 06:54:56'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.300963 -2.793202)', '2026-07-23 06:55:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300962 -2.793219)'), GeomFromEWKT('SRID=4674;POINT (-40.300963 -2.793202)'))) / (select extract(epoch from '2026-07-23 06:55:18'::timestamp) - extract(epoch from '2026-07-23 06:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300962 -2.793219)'), GeomFromEWKT('SRID=4674;POINT (-40.300963 -2.793202)'))) / (select extract(epoch from '2026-07-23 06:55:18'::timestamp) - extract(epoch from '2026-07-23 06:54: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'), 47640, 'SRID=4674;POINT (-40.300915 -2.793189)', '2026-07-23 06:55:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300963 -2.793202)'), GeomFromEWKT('SRID=4674;POINT (-40.300915 -2.793189)'))) / (select extract(epoch from '2026-07-23 06:55:34'::timestamp) - extract(epoch from '2026-07-23 06:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300963 -2.793202)'), GeomFromEWKT('SRID=4674;POINT (-40.300915 -2.793189)'))) / (select extract(epoch from '2026-07-23 06:55:34'::timestamp) - extract(epoch from '2026-07-23 06: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'), 47640, 'SRID=4674;POINT (-40.300879 -2.793168)', '2026-07-23 06:55:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300915 -2.793189)'), GeomFromEWKT('SRID=4674;POINT (-40.300879 -2.793168)'))) / (select extract(epoch from '2026-07-23 06:55:57'::timestamp) - extract(epoch from '2026-07-23 06:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300915 -2.793189)'), GeomFromEWKT('SRID=4674;POINT (-40.300879 -2.793168)'))) / (select extract(epoch from '2026-07-23 06:55:57'::timestamp) - extract(epoch from '2026-07-23 06:55: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'), 47640, 'SRID=4674;POINT (-40.300829 -2.793169)', '2026-07-23 06:56:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300879 -2.793168)'), GeomFromEWKT('SRID=4674;POINT (-40.300829 -2.793169)'))) / (select extract(epoch from '2026-07-23 06:56:12'::timestamp) - extract(epoch from '2026-07-23 06:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300879 -2.793168)'), GeomFromEWKT('SRID=4674;POINT (-40.300829 -2.793169)'))) / (select extract(epoch from '2026-07-23 06:56:12'::timestamp) - extract(epoch from '2026-07-23 06:55:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.300824 -2.793145)', '2026-07-23 06:56:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300829 -2.793169)'), GeomFromEWKT('SRID=4674;POINT (-40.300824 -2.793145)'))) / (select extract(epoch from '2026-07-23 06:56:32'::timestamp) - extract(epoch from '2026-07-23 06:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300829 -2.793169)'), GeomFromEWKT('SRID=4674;POINT (-40.300824 -2.793145)'))) / (select extract(epoch from '2026-07-23 06:56:32'::timestamp) - extract(epoch from '2026-07-23 06:56:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.300788 -2.793146)', '2026-07-23 06:56:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300824 -2.793145)'), GeomFromEWKT('SRID=4674;POINT (-40.300788 -2.793146)'))) / (select extract(epoch from '2026-07-23 06:56:53'::timestamp) - extract(epoch from '2026-07-23 06:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300824 -2.793145)'), GeomFromEWKT('SRID=4674;POINT (-40.300788 -2.793146)'))) / (select extract(epoch from '2026-07-23 06:56:53'::timestamp) - extract(epoch from '2026-07-23 06: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'), 47640, 'SRID=4674;POINT (-40.300739 -2.793149)', '2026-07-23 06:57:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300788 -2.793146)'), GeomFromEWKT('SRID=4674;POINT (-40.300739 -2.793149)'))) / (select extract(epoch from '2026-07-23 06:57:10'::timestamp) - extract(epoch from '2026-07-23 06:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300788 -2.793146)'), GeomFromEWKT('SRID=4674;POINT (-40.300739 -2.793149)'))) / (select extract(epoch from '2026-07-23 06:57:10'::timestamp) - extract(epoch from '2026-07-23 06:56: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'), 47640, 'SRID=4674;POINT (-40.300682 -2.793159)', '2026-07-23 06:57:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300739 -2.793149)'), GeomFromEWKT('SRID=4674;POINT (-40.300682 -2.793159)'))) / (select extract(epoch from '2026-07-23 06:57:28'::timestamp) - extract(epoch from '2026-07-23 06:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300739 -2.793149)'), GeomFromEWKT('SRID=4674;POINT (-40.300682 -2.793159)'))) / (select extract(epoch from '2026-07-23 06:57:28'::timestamp) - extract(epoch from '2026-07-23 06:57:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.300633 -2.793155)', '2026-07-23 06:57:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300682 -2.793159)'), GeomFromEWKT('SRID=4674;POINT (-40.300633 -2.793155)'))) / (select extract(epoch from '2026-07-23 06:57:49'::timestamp) - extract(epoch from '2026-07-23 06:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300682 -2.793159)'), GeomFromEWKT('SRID=4674;POINT (-40.300633 -2.793155)'))) / (select extract(epoch from '2026-07-23 06:57:49'::timestamp) - extract(epoch from '2026-07-23 06:57: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'), 47640, 'SRID=4674;POINT (-40.30059 -2.793153)', '2026-07-23 06:58:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300633 -2.793155)'), GeomFromEWKT('SRID=4674;POINT (-40.30059 -2.793153)'))) / (select extract(epoch from '2026-07-23 06:58:04'::timestamp) - extract(epoch from '2026-07-23 06:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300633 -2.793155)'), GeomFromEWKT('SRID=4674;POINT (-40.30059 -2.793153)'))) / (select extract(epoch from '2026-07-23 06:58:04'::timestamp) - extract(epoch from '2026-07-23 06:57:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.300547 -2.793148)', '2026-07-23 06:58:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30059 -2.793153)'), GeomFromEWKT('SRID=4674;POINT (-40.300547 -2.793148)'))) / (select extract(epoch from '2026-07-23 06:58:20'::timestamp) - extract(epoch from '2026-07-23 06:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30059 -2.793153)'), GeomFromEWKT('SRID=4674;POINT (-40.300547 -2.793148)'))) / (select extract(epoch from '2026-07-23 06:58:20'::timestamp) - extract(epoch from '2026-07-23 06:58:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.300535 -2.793135)', '2026-07-23 06:58:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300547 -2.793148)'), GeomFromEWKT('SRID=4674;POINT (-40.300535 -2.793135)'))) / (select extract(epoch from '2026-07-23 06:58:41'::timestamp) - extract(epoch from '2026-07-23 06:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300547 -2.793148)'), GeomFromEWKT('SRID=4674;POINT (-40.300535 -2.793135)'))) / (select extract(epoch from '2026-07-23 06:58:41'::timestamp) - extract(epoch from '2026-07-23 06:58: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'), 47640, 'SRID=4674;POINT (-40.300492 -2.793139)', '2026-07-23 06:59:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300535 -2.793135)'), GeomFromEWKT('SRID=4674;POINT (-40.300492 -2.793139)'))) / (select extract(epoch from '2026-07-23 06:59:03'::timestamp) - extract(epoch from '2026-07-23 06:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300535 -2.793135)'), GeomFromEWKT('SRID=4674;POINT (-40.300492 -2.793139)'))) / (select extract(epoch from '2026-07-23 06:59:03'::timestamp) - extract(epoch from '2026-07-23 06:58: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'), 47640, 'SRID=4674;POINT (-40.300455 -2.793133)', '2026-07-23 06:59:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300492 -2.793139)'), GeomFromEWKT('SRID=4674;POINT (-40.300455 -2.793133)'))) / (select extract(epoch from '2026-07-23 06:59:22'::timestamp) - extract(epoch from '2026-07-23 06:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300492 -2.793139)'), GeomFromEWKT('SRID=4674;POINT (-40.300455 -2.793133)'))) / (select extract(epoch from '2026-07-23 06:59:22'::timestamp) - extract(epoch from '2026-07-23 06:59: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'), 47640, 'SRID=4674;POINT (-40.300399 -2.793136)', '2026-07-23 06:59:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300455 -2.793133)'), GeomFromEWKT('SRID=4674;POINT (-40.300399 -2.793136)'))) / (select extract(epoch from '2026-07-23 06:59:47'::timestamp) - extract(epoch from '2026-07-23 06:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300455 -2.793133)'), GeomFromEWKT('SRID=4674;POINT (-40.300399 -2.793136)'))) / (select extract(epoch from '2026-07-23 06:59:47'::timestamp) - extract(epoch from '2026-07-23 06:59:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.300351 -2.793126)', '2026-07-23 07:00:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300399 -2.793136)'), GeomFromEWKT('SRID=4674;POINT (-40.300351 -2.793126)'))) / (select extract(epoch from '2026-07-23 07:00:02'::timestamp) - extract(epoch from '2026-07-23 06:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300399 -2.793136)'), GeomFromEWKT('SRID=4674;POINT (-40.300351 -2.793126)'))) / (select extract(epoch from '2026-07-23 07:00:02'::timestamp) - extract(epoch from '2026-07-23 06:59:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.300276 -2.793125)', '2026-07-23 07:00:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300351 -2.793126)'), GeomFromEWKT('SRID=4674;POINT (-40.300276 -2.793125)'))) / (select extract(epoch from '2026-07-23 07:00:18'::timestamp) - extract(epoch from '2026-07-23 07:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300351 -2.793126)'), GeomFromEWKT('SRID=4674;POINT (-40.300276 -2.793125)'))) / (select extract(epoch from '2026-07-23 07:00:18'::timestamp) - extract(epoch from '2026-07-23 07:00: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'), 47640, 'SRID=4674;POINT (-40.300247 -2.793123)', '2026-07-23 07:00:31', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300276 -2.793125)'), GeomFromEWKT('SRID=4674;POINT (-40.300247 -2.793123)'))) / (select extract(epoch from '2026-07-23 07:00:31'::timestamp) - extract(epoch from '2026-07-23 07:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300276 -2.793125)'), GeomFromEWKT('SRID=4674;POINT (-40.300247 -2.793123)'))) / (select extract(epoch from '2026-07-23 07:00:31'::timestamp) - extract(epoch from '2026-07-23 07:00: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'), 47640, 'SRID=4674;POINT (-40.300189 -2.793135)', '2026-07-23 07:00:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300247 -2.793123)'), GeomFromEWKT('SRID=4674;POINT (-40.300189 -2.793135)'))) / (select extract(epoch from '2026-07-23 07:00:45'::timestamp) - extract(epoch from '2026-07-23 07:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300247 -2.793123)'), GeomFromEWKT('SRID=4674;POINT (-40.300189 -2.793135)'))) / (select extract(epoch from '2026-07-23 07:00:45'::timestamp) - extract(epoch from '2026-07-23 07:00: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'), 47640, 'SRID=4674;POINT (-40.300067 -2.79314)', '2026-07-23 07:01:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300189 -2.793135)'), GeomFromEWKT('SRID=4674;POINT (-40.300067 -2.79314)'))) / (select extract(epoch from '2026-07-23 07:01:00'::timestamp) - extract(epoch from '2026-07-23 07:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300189 -2.793135)'), GeomFromEWKT('SRID=4674;POINT (-40.300067 -2.79314)'))) / (select extract(epoch from '2026-07-23 07:01:00'::timestamp) - extract(epoch from '2026-07-23 07:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.299947 -2.793173)', '2026-07-23 07:01:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300067 -2.79314)'), GeomFromEWKT('SRID=4674;POINT (-40.299947 -2.793173)'))) / (select extract(epoch from '2026-07-23 07:01:19'::timestamp) - extract(epoch from '2026-07-23 07:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300067 -2.79314)'), GeomFromEWKT('SRID=4674;POINT (-40.299947 -2.793173)'))) / (select extract(epoch from '2026-07-23 07:01:19'::timestamp) - extract(epoch from '2026-07-23 07:01:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.299851 -2.793159)', '2026-07-23 07:01:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299947 -2.793173)'), GeomFromEWKT('SRID=4674;POINT (-40.299851 -2.793159)'))) / (select extract(epoch from '2026-07-23 07:01:36'::timestamp) - extract(epoch from '2026-07-23 07:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299947 -2.793173)'), GeomFromEWKT('SRID=4674;POINT (-40.299851 -2.793159)'))) / (select extract(epoch from '2026-07-23 07:01:36'::timestamp) - extract(epoch from '2026-07-23 07:01: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'), 47640, 'SRID=4674;POINT (-40.299759 -2.793175)', '2026-07-23 07:01:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299851 -2.793159)'), GeomFromEWKT('SRID=4674;POINT (-40.299759 -2.793175)'))) / (select extract(epoch from '2026-07-23 07:01:55'::timestamp) - extract(epoch from '2026-07-23 07:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299851 -2.793159)'), GeomFromEWKT('SRID=4674;POINT (-40.299759 -2.793175)'))) / (select extract(epoch from '2026-07-23 07:01:55'::timestamp) - extract(epoch from '2026-07-23 07:01:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.299654 -2.793169)', '2026-07-23 07:02:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299759 -2.793175)'), GeomFromEWKT('SRID=4674;POINT (-40.299654 -2.793169)'))) / (select extract(epoch from '2026-07-23 07:02:14'::timestamp) - extract(epoch from '2026-07-23 07:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299759 -2.793175)'), GeomFromEWKT('SRID=4674;POINT (-40.299654 -2.793169)'))) / (select extract(epoch from '2026-07-23 07:02:14'::timestamp) - extract(epoch from '2026-07-23 07: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'), 47640, 'SRID=4674;POINT (-40.299553 -2.793176)', '2026-07-23 07:02:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299654 -2.793169)'), GeomFromEWKT('SRID=4674;POINT (-40.299553 -2.793176)'))) / (select extract(epoch from '2026-07-23 07:02:34'::timestamp) - extract(epoch from '2026-07-23 07:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299654 -2.793169)'), GeomFromEWKT('SRID=4674;POINT (-40.299553 -2.793176)'))) / (select extract(epoch from '2026-07-23 07:02:34'::timestamp) - extract(epoch from '2026-07-23 07:02: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'), 47640, 'SRID=4674;POINT (-40.299443 -2.793192)', '2026-07-23 07:02:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299553 -2.793176)'), GeomFromEWKT('SRID=4674;POINT (-40.299443 -2.793192)'))) / (select extract(epoch from '2026-07-23 07:02:52'::timestamp) - extract(epoch from '2026-07-23 07:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299553 -2.793176)'), GeomFromEWKT('SRID=4674;POINT (-40.299443 -2.793192)'))) / (select extract(epoch from '2026-07-23 07:02:52'::timestamp) - extract(epoch from '2026-07-23 07:02:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.299377 -2.79322)', '2026-07-23 07:03:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299443 -2.793192)'), GeomFromEWKT('SRID=4674;POINT (-40.299377 -2.79322)'))) / (select extract(epoch from '2026-07-23 07:03:09'::timestamp) - extract(epoch from '2026-07-23 07:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299443 -2.793192)'), GeomFromEWKT('SRID=4674;POINT (-40.299377 -2.79322)'))) / (select extract(epoch from '2026-07-23 07:03:09'::timestamp) - extract(epoch from '2026-07-23 07:02:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.299373 -2.793203)', '2026-07-23 07:03:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299377 -2.79322)'), GeomFromEWKT('SRID=4674;POINT (-40.299373 -2.793203)'))) / (select extract(epoch from '2026-07-23 07:03:24'::timestamp) - extract(epoch from '2026-07-23 07:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299377 -2.79322)'), GeomFromEWKT('SRID=4674;POINT (-40.299373 -2.793203)'))) / (select extract(epoch from '2026-07-23 07:03:24'::timestamp) - extract(epoch from '2026-07-23 07:03: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'), 47640, 'SRID=4674;POINT (-40.29934 -2.793187)', '2026-07-23 07:03:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299373 -2.793203)'), GeomFromEWKT('SRID=4674;POINT (-40.29934 -2.793187)'))) / (select extract(epoch from '2026-07-23 07:03:39'::timestamp) - extract(epoch from '2026-07-23 07:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299373 -2.793203)'), GeomFromEWKT('SRID=4674;POINT (-40.29934 -2.793187)'))) / (select extract(epoch from '2026-07-23 07:03:39'::timestamp) - extract(epoch from '2026-07-23 07:03:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.299261 -2.793175)', '2026-07-23 07:03:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29934 -2.793187)'), GeomFromEWKT('SRID=4674;POINT (-40.299261 -2.793175)'))) / (select extract(epoch from '2026-07-23 07:03:55'::timestamp) - extract(epoch from '2026-07-23 07:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29934 -2.793187)'), GeomFromEWKT('SRID=4674;POINT (-40.299261 -2.793175)'))) / (select extract(epoch from '2026-07-23 07:03:55'::timestamp) - extract(epoch from '2026-07-23 07:03:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.299191 -2.793181)', '2026-07-23 07:04:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299261 -2.793175)'), GeomFromEWKT('SRID=4674;POINT (-40.299191 -2.793181)'))) / (select extract(epoch from '2026-07-23 07:04:10'::timestamp) - extract(epoch from '2026-07-23 07:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299261 -2.793175)'), GeomFromEWKT('SRID=4674;POINT (-40.299191 -2.793181)'))) / (select extract(epoch from '2026-07-23 07:04:10'::timestamp) - extract(epoch from '2026-07-23 07:03:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.299136 -2.793189)', '2026-07-23 07:04:28', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299191 -2.793181)'), GeomFromEWKT('SRID=4674;POINT (-40.299136 -2.793189)'))) / (select extract(epoch from '2026-07-23 07:04:28'::timestamp) - extract(epoch from '2026-07-23 07:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299191 -2.793181)'), GeomFromEWKT('SRID=4674;POINT (-40.299136 -2.793189)'))) / (select extract(epoch from '2026-07-23 07:04:28'::timestamp) - extract(epoch from '2026-07-23 07:04:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.299056 -2.793178)', '2026-07-23 07:04:45', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299136 -2.793189)'), GeomFromEWKT('SRID=4674;POINT (-40.299056 -2.793178)'))) / (select extract(epoch from '2026-07-23 07:04:45'::timestamp) - extract(epoch from '2026-07-23 07:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299136 -2.793189)'), GeomFromEWKT('SRID=4674;POINT (-40.299056 -2.793178)'))) / (select extract(epoch from '2026-07-23 07:04:45'::timestamp) - extract(epoch from '2026-07-23 07:04: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'), 47640, 'SRID=4674;POINT (-40.298989 -2.793184)', '2026-07-23 07:05:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299056 -2.793178)'), GeomFromEWKT('SRID=4674;POINT (-40.298989 -2.793184)'))) / (select extract(epoch from '2026-07-23 07:05:03'::timestamp) - extract(epoch from '2026-07-23 07:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299056 -2.793178)'), GeomFromEWKT('SRID=4674;POINT (-40.298989 -2.793184)'))) / (select extract(epoch from '2026-07-23 07:05:03'::timestamp) - extract(epoch from '2026-07-23 07:04: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'), 47640, 'SRID=4674;POINT (-40.298954 -2.793178)', '2026-07-23 07:05:19', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298989 -2.793184)'), GeomFromEWKT('SRID=4674;POINT (-40.298954 -2.793178)'))) / (select extract(epoch from '2026-07-23 07:05:19'::timestamp) - extract(epoch from '2026-07-23 07:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298989 -2.793184)'), GeomFromEWKT('SRID=4674;POINT (-40.298954 -2.793178)'))) / (select extract(epoch from '2026-07-23 07:05:19'::timestamp) - extract(epoch from '2026-07-23 07:05:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.298921 -2.793173)', '2026-07-23 07:05:34', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298954 -2.793178)'), GeomFromEWKT('SRID=4674;POINT (-40.298921 -2.793173)'))) / (select extract(epoch from '2026-07-23 07:05:34'::timestamp) - extract(epoch from '2026-07-23 07:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298954 -2.793178)'), GeomFromEWKT('SRID=4674;POINT (-40.298921 -2.793173)'))) / (select extract(epoch from '2026-07-23 07:05:34'::timestamp) - extract(epoch from '2026-07-23 07:05:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.298855 -2.793172)', '2026-07-23 07:05:51', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298921 -2.793173)'), GeomFromEWKT('SRID=4674;POINT (-40.298855 -2.793172)'))) / (select extract(epoch from '2026-07-23 07:05:51'::timestamp) - extract(epoch from '2026-07-23 07:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298921 -2.793173)'), GeomFromEWKT('SRID=4674;POINT (-40.298855 -2.793172)'))) / (select extract(epoch from '2026-07-23 07:05:51'::timestamp) - extract(epoch from '2026-07-23 07:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.298813 -2.79317)', '2026-07-23 07:06:08', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298855 -2.793172)'), GeomFromEWKT('SRID=4674;POINT (-40.298813 -2.79317)'))) / (select extract(epoch from '2026-07-23 07:06:08'::timestamp) - extract(epoch from '2026-07-23 07:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298855 -2.793172)'), GeomFromEWKT('SRID=4674;POINT (-40.298813 -2.79317)'))) / (select extract(epoch from '2026-07-23 07:06:08'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.298752 -2.79317)', '2026-07-23 07:06:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298813 -2.79317)'), GeomFromEWKT('SRID=4674;POINT (-40.298752 -2.79317)'))) / (select extract(epoch from '2026-07-23 07:06:27'::timestamp) - extract(epoch from '2026-07-23 07:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298813 -2.79317)'), GeomFromEWKT('SRID=4674;POINT (-40.298752 -2.79317)'))) / (select extract(epoch from '2026-07-23 07:06:27'::timestamp) - extract(epoch from '2026-07-23 07:06:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.298722 -2.793165)', '2026-07-23 07:06:42', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298752 -2.79317)'), GeomFromEWKT('SRID=4674;POINT (-40.298722 -2.793165)'))) / (select extract(epoch from '2026-07-23 07:06:42'::timestamp) - extract(epoch from '2026-07-23 07:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298752 -2.79317)'), GeomFromEWKT('SRID=4674;POINT (-40.298722 -2.793165)'))) / (select extract(epoch from '2026-07-23 07:06:42'::timestamp) - extract(epoch from '2026-07-23 07:06:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.298682 -2.79317)', '2026-07-23 07:07:00', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298722 -2.793165)'), GeomFromEWKT('SRID=4674;POINT (-40.298682 -2.79317)'))) / (select extract(epoch from '2026-07-23 07:07:00'::timestamp) - extract(epoch from '2026-07-23 07:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298722 -2.793165)'), GeomFromEWKT('SRID=4674;POINT (-40.298682 -2.79317)'))) / (select extract(epoch from '2026-07-23 07:07:00'::timestamp) - extract(epoch from '2026-07-23 07:06: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'), 47640, 'SRID=4674;POINT (-40.298606 -2.793167)', '2026-07-23 07:07:17', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298682 -2.79317)'), GeomFromEWKT('SRID=4674;POINT (-40.298606 -2.793167)'))) / (select extract(epoch from '2026-07-23 07:07:17'::timestamp) - extract(epoch from '2026-07-23 07:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298682 -2.79317)'), GeomFromEWKT('SRID=4674;POINT (-40.298606 -2.793167)'))) / (select extract(epoch from '2026-07-23 07:07:17'::timestamp) - extract(epoch from '2026-07-23 07:07: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'), 47640, 'SRID=4674;POINT (-40.29853 -2.793186)', '2026-07-23 07:07:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298606 -2.793167)'), GeomFromEWKT('SRID=4674;POINT (-40.29853 -2.793186)'))) / (select extract(epoch from '2026-07-23 07:07:33'::timestamp) - extract(epoch from '2026-07-23 07:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298606 -2.793167)'), GeomFromEWKT('SRID=4674;POINT (-40.29853 -2.793186)'))) / (select extract(epoch from '2026-07-23 07:07:33'::timestamp) - extract(epoch from '2026-07-23 07:07: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'), 47640, 'SRID=4674;POINT (-40.298506 -2.793175)', '2026-07-23 07:07:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29853 -2.793186)'), GeomFromEWKT('SRID=4674;POINT (-40.298506 -2.793175)'))) / (select extract(epoch from '2026-07-23 07:07:47'::timestamp) - extract(epoch from '2026-07-23 07:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29853 -2.793186)'), GeomFromEWKT('SRID=4674;POINT (-40.298506 -2.793175)'))) / (select extract(epoch from '2026-07-23 07:07:47'::timestamp) - extract(epoch from '2026-07-23 07:07:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.298473 -2.79316)', '2026-07-23 07:08:09', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298506 -2.793175)'), GeomFromEWKT('SRID=4674;POINT (-40.298473 -2.79316)'))) / (select extract(epoch from '2026-07-23 07:08:09'::timestamp) - extract(epoch from '2026-07-23 07:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298506 -2.793175)'), GeomFromEWKT('SRID=4674;POINT (-40.298473 -2.79316)'))) / (select extract(epoch from '2026-07-23 07:08:09'::timestamp) - extract(epoch from '2026-07-23 07:07: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'), 47640, 'SRID=4674;POINT (-40.298473 -2.793137)', '2026-07-23 07:08:28', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298473 -2.79316)'), GeomFromEWKT('SRID=4674;POINT (-40.298473 -2.793137)'))) / (select extract(epoch from '2026-07-23 07:08:28'::timestamp) - extract(epoch from '2026-07-23 07:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298473 -2.79316)'), GeomFromEWKT('SRID=4674;POINT (-40.298473 -2.793137)'))) / (select extract(epoch from '2026-07-23 07:08:28'::timestamp) - extract(epoch from '2026-07-23 07:08:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.298424 -2.793153)', '2026-07-23 07:08:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298473 -2.793137)'), GeomFromEWKT('SRID=4674;POINT (-40.298424 -2.793153)'))) / (select extract(epoch from '2026-07-23 07:08:44'::timestamp) - extract(epoch from '2026-07-23 07:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298473 -2.793137)'), GeomFromEWKT('SRID=4674;POINT (-40.298424 -2.793153)'))) / (select extract(epoch from '2026-07-23 07:08:44'::timestamp) - extract(epoch from '2026-07-23 07:08:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.298393 -2.793161)', '2026-07-23 07:08:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298424 -2.793153)'), GeomFromEWKT('SRID=4674;POINT (-40.298393 -2.793161)'))) / (select extract(epoch from '2026-07-23 07:08:55'::timestamp) - extract(epoch from '2026-07-23 07:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298424 -2.793153)'), GeomFromEWKT('SRID=4674;POINT (-40.298393 -2.793161)'))) / (select extract(epoch from '2026-07-23 07:08:55'::timestamp) - extract(epoch from '2026-07-23 07:08: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'), 47640, 'SRID=4674;POINT (-40.298302 -2.793216)', '2026-07-23 07:09:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298393 -2.793161)'), GeomFromEWKT('SRID=4674;POINT (-40.298302 -2.793216)'))) / (select extract(epoch from '2026-07-23 07:09:12'::timestamp) - extract(epoch from '2026-07-23 07:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298393 -2.793161)'), GeomFromEWKT('SRID=4674;POINT (-40.298302 -2.793216)'))) / (select extract(epoch from '2026-07-23 07:09:12'::timestamp) - extract(epoch from '2026-07-23 07:08: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'), 47640, 'SRID=4674;POINT (-40.298234 -2.79325)', '2026-07-23 07:09:26', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298302 -2.793216)'), GeomFromEWKT('SRID=4674;POINT (-40.298234 -2.79325)'))) / (select extract(epoch from '2026-07-23 07:09:26'::timestamp) - extract(epoch from '2026-07-23 07:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298302 -2.793216)'), GeomFromEWKT('SRID=4674;POINT (-40.298234 -2.79325)'))) / (select extract(epoch from '2026-07-23 07:09:26'::timestamp) - extract(epoch from '2026-07-23 07:09: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'), 47640, 'SRID=4674;POINT (-40.298223 -2.793269)', '2026-07-23 07:09:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298234 -2.79325)'), GeomFromEWKT('SRID=4674;POINT (-40.298223 -2.793269)'))) / (select extract(epoch from '2026-07-23 07:09:40'::timestamp) - extract(epoch from '2026-07-23 07:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298234 -2.79325)'), GeomFromEWKT('SRID=4674;POINT (-40.298223 -2.793269)'))) / (select extract(epoch from '2026-07-23 07:09:40'::timestamp) - extract(epoch from '2026-07-23 07:09: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'), 47640, 'SRID=4674;POINT (-40.298242 -2.793255)', '2026-07-23 07:09:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298223 -2.793269)'), GeomFromEWKT('SRID=4674;POINT (-40.298242 -2.793255)'))) / (select extract(epoch from '2026-07-23 07:09:56'::timestamp) - extract(epoch from '2026-07-23 07:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298223 -2.793269)'), GeomFromEWKT('SRID=4674;POINT (-40.298242 -2.793255)'))) / (select extract(epoch from '2026-07-23 07:09:56'::timestamp) - extract(epoch from '2026-07-23 07:09: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'), 47640, 'SRID=4674;POINT (-40.298213 -2.793238)', '2026-07-23 07:10:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298242 -2.793255)'), GeomFromEWKT('SRID=4674;POINT (-40.298213 -2.793238)'))) / (select extract(epoch from '2026-07-23 07:10:08'::timestamp) - extract(epoch from '2026-07-23 07:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298242 -2.793255)'), GeomFromEWKT('SRID=4674;POINT (-40.298213 -2.793238)'))) / (select extract(epoch from '2026-07-23 07:10:08'::timestamp) - extract(epoch from '2026-07-23 07:09: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'), 47640, 'SRID=4674;POINT (-40.298155 -2.793222)', '2026-07-23 07:10:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298213 -2.793238)'), GeomFromEWKT('SRID=4674;POINT (-40.298155 -2.793222)'))) / (select extract(epoch from '2026-07-23 07:10:24'::timestamp) - extract(epoch from '2026-07-23 07:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298213 -2.793238)'), GeomFromEWKT('SRID=4674;POINT (-40.298155 -2.793222)'))) / (select extract(epoch from '2026-07-23 07:10:24'::timestamp) - extract(epoch from '2026-07-23 07:10:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.298113 -2.793205)', '2026-07-23 07:10:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298155 -2.793222)'), GeomFromEWKT('SRID=4674;POINT (-40.298113 -2.793205)'))) / (select extract(epoch from '2026-07-23 07:10:40'::timestamp) - extract(epoch from '2026-07-23 07:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298155 -2.793222)'), GeomFromEWKT('SRID=4674;POINT (-40.298113 -2.793205)'))) / (select extract(epoch from '2026-07-23 07:10:40'::timestamp) - extract(epoch from '2026-07-23 07:10: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'), 47640, 'SRID=4674;POINT (-40.298064 -2.793199)', '2026-07-23 07:10:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298113 -2.793205)'), GeomFromEWKT('SRID=4674;POINT (-40.298064 -2.793199)'))) / (select extract(epoch from '2026-07-23 07:10:55'::timestamp) - extract(epoch from '2026-07-23 07:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298113 -2.793205)'), GeomFromEWKT('SRID=4674;POINT (-40.298064 -2.793199)'))) / (select extract(epoch from '2026-07-23 07:10:55'::timestamp) - extract(epoch from '2026-07-23 07:10:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.297978 -2.793213)', '2026-07-23 07:11:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298064 -2.793199)'), GeomFromEWKT('SRID=4674;POINT (-40.297978 -2.793213)'))) / (select extract(epoch from '2026-07-23 07:11:10'::timestamp) - extract(epoch from '2026-07-23 07:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298064 -2.793199)'), GeomFromEWKT('SRID=4674;POINT (-40.297978 -2.793213)'))) / (select extract(epoch from '2026-07-23 07:11:10'::timestamp) - extract(epoch from '2026-07-23 07:10: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'), 47640, 'SRID=4674;POINT (-40.297889 -2.793219)', '2026-07-23 07:11:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297978 -2.793213)'), GeomFromEWKT('SRID=4674;POINT (-40.297889 -2.793219)'))) / (select extract(epoch from '2026-07-23 07:11:28'::timestamp) - extract(epoch from '2026-07-23 07:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297978 -2.793213)'), GeomFromEWKT('SRID=4674;POINT (-40.297889 -2.793219)'))) / (select extract(epoch from '2026-07-23 07:11:28'::timestamp) - extract(epoch from '2026-07-23 07:11:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.297815 -2.793202)', '2026-07-23 07:11:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297889 -2.793219)'), GeomFromEWKT('SRID=4674;POINT (-40.297815 -2.793202)'))) / (select extract(epoch from '2026-07-23 07:11:45'::timestamp) - extract(epoch from '2026-07-23 07:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297889 -2.793219)'), GeomFromEWKT('SRID=4674;POINT (-40.297815 -2.793202)'))) / (select extract(epoch from '2026-07-23 07:11:45'::timestamp) - extract(epoch from '2026-07-23 07:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.297751 -2.793208)', '2026-07-23 07:12:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297815 -2.793202)'), GeomFromEWKT('SRID=4674;POINT (-40.297751 -2.793208)'))) / (select extract(epoch from '2026-07-23 07:12:02'::timestamp) - extract(epoch from '2026-07-23 07:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297815 -2.793202)'), GeomFromEWKT('SRID=4674;POINT (-40.297751 -2.793208)'))) / (select extract(epoch from '2026-07-23 07:12:02'::timestamp) - extract(epoch from '2026-07-23 07: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'), 47640, 'SRID=4674;POINT (-40.297715 -2.793201)', '2026-07-23 07:12:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297751 -2.793208)'), GeomFromEWKT('SRID=4674;POINT (-40.297715 -2.793201)'))) / (select extract(epoch from '2026-07-23 07:12:17'::timestamp) - extract(epoch from '2026-07-23 07:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297751 -2.793208)'), GeomFromEWKT('SRID=4674;POINT (-40.297715 -2.793201)'))) / (select extract(epoch from '2026-07-23 07:12:17'::timestamp) - extract(epoch from '2026-07-23 07:12: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'), 47640, 'SRID=4674;POINT (-40.29764 -2.793198)', '2026-07-23 07:12:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297715 -2.793201)'), GeomFromEWKT('SRID=4674;POINT (-40.29764 -2.793198)'))) / (select extract(epoch from '2026-07-23 07:12:33'::timestamp) - extract(epoch from '2026-07-23 07:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297715 -2.793201)'), GeomFromEWKT('SRID=4674;POINT (-40.29764 -2.793198)'))) / (select extract(epoch from '2026-07-23 07:12:33'::timestamp) - extract(epoch from '2026-07-23 07:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.297586 -2.793187)', '2026-07-23 07:12:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29764 -2.793198)'), GeomFromEWKT('SRID=4674;POINT (-40.297586 -2.793187)'))) / (select extract(epoch from '2026-07-23 07:12:50'::timestamp) - extract(epoch from '2026-07-23 07:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29764 -2.793198)'), GeomFromEWKT('SRID=4674;POINT (-40.297586 -2.793187)'))) / (select extract(epoch from '2026-07-23 07:12:50'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.297529 -2.793178)', '2026-07-23 07:13:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297586 -2.793187)'), GeomFromEWKT('SRID=4674;POINT (-40.297529 -2.793178)'))) / (select extract(epoch from '2026-07-23 07:13:13'::timestamp) - extract(epoch from '2026-07-23 07:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297586 -2.793187)'), GeomFromEWKT('SRID=4674;POINT (-40.297529 -2.793178)'))) / (select extract(epoch from '2026-07-23 07:13:13'::timestamp) - extract(epoch from '2026-07-23 07: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'), 47640, 'SRID=4674;POINT (-40.297472 -2.793166)', '2026-07-23 07:13:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297529 -2.793178)'), GeomFromEWKT('SRID=4674;POINT (-40.297472 -2.793166)'))) / (select extract(epoch from '2026-07-23 07:13:29'::timestamp) - extract(epoch from '2026-07-23 07:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297529 -2.793178)'), GeomFromEWKT('SRID=4674;POINT (-40.297472 -2.793166)'))) / (select extract(epoch from '2026-07-23 07:13:29'::timestamp) - extract(epoch from '2026-07-23 07:13: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'), 47640, 'SRID=4674;POINT (-40.2974 -2.793166)', '2026-07-23 07:13:48', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297472 -2.793166)'), GeomFromEWKT('SRID=4674;POINT (-40.2974 -2.793166)'))) / (select extract(epoch from '2026-07-23 07:13:48'::timestamp) - extract(epoch from '2026-07-23 07:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297472 -2.793166)'), GeomFromEWKT('SRID=4674;POINT (-40.2974 -2.793166)'))) / (select extract(epoch from '2026-07-23 07:13:48'::timestamp) - extract(epoch from '2026-07-23 07:13:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.29736 -2.793153)', '2026-07-23 07:14:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2974 -2.793166)'), GeomFromEWKT('SRID=4674;POINT (-40.29736 -2.793153)'))) / (select extract(epoch from '2026-07-23 07:14:06'::timestamp) - extract(epoch from '2026-07-23 07:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2974 -2.793166)'), GeomFromEWKT('SRID=4674;POINT (-40.29736 -2.793153)'))) / (select extract(epoch from '2026-07-23 07:14:06'::timestamp) - extract(epoch from '2026-07-23 07:13:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.297331 -2.793145)', '2026-07-23 07:14:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29736 -2.793153)'), GeomFromEWKT('SRID=4674;POINT (-40.297331 -2.793145)'))) / (select extract(epoch from '2026-07-23 07:14:22'::timestamp) - extract(epoch from '2026-07-23 07:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29736 -2.793153)'), GeomFromEWKT('SRID=4674;POINT (-40.297331 -2.793145)'))) / (select extract(epoch from '2026-07-23 07:14:22'::timestamp) - extract(epoch from '2026-07-23 07:14: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'), 47640, 'SRID=4674;POINT (-40.297328 -2.793131)', '2026-07-23 07:14:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297331 -2.793145)'), GeomFromEWKT('SRID=4674;POINT (-40.297328 -2.793131)'))) / (select extract(epoch from '2026-07-23 07:14:39'::timestamp) - extract(epoch from '2026-07-23 07:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297331 -2.793145)'), GeomFromEWKT('SRID=4674;POINT (-40.297328 -2.793131)'))) / (select extract(epoch from '2026-07-23 07:14:39'::timestamp) - extract(epoch from '2026-07-23 07:14:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.297286 -2.793125)', '2026-07-23 07:14:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297328 -2.793131)'), GeomFromEWKT('SRID=4674;POINT (-40.297286 -2.793125)'))) / (select extract(epoch from '2026-07-23 07:14:56'::timestamp) - extract(epoch from '2026-07-23 07:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297328 -2.793131)'), GeomFromEWKT('SRID=4674;POINT (-40.297286 -2.793125)'))) / (select extract(epoch from '2026-07-23 07:14:56'::timestamp) - extract(epoch from '2026-07-23 07:14:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.297225 -2.793124)', '2026-07-23 07:15:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297286 -2.793125)'), GeomFromEWKT('SRID=4674;POINT (-40.297225 -2.793124)'))) / (select extract(epoch from '2026-07-23 07:15:12'::timestamp) - extract(epoch from '2026-07-23 07:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297286 -2.793125)'), GeomFromEWKT('SRID=4674;POINT (-40.297225 -2.793124)'))) / (select extract(epoch from '2026-07-23 07:15:12'::timestamp) - extract(epoch from '2026-07-23 07:14: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'), 47640, 'SRID=4674;POINT (-40.297149 -2.79314)', '2026-07-23 07:15:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297225 -2.793124)'), GeomFromEWKT('SRID=4674;POINT (-40.297149 -2.79314)'))) / (select extract(epoch from '2026-07-23 07:15:27'::timestamp) - extract(epoch from '2026-07-23 07:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297225 -2.793124)'), GeomFromEWKT('SRID=4674;POINT (-40.297149 -2.79314)'))) / (select extract(epoch from '2026-07-23 07:15:27'::timestamp) - extract(epoch from '2026-07-23 07:15: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'), 47640, 'SRID=4674;POINT (-40.297102 -2.793151)', '2026-07-23 07:15:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297149 -2.79314)'), GeomFromEWKT('SRID=4674;POINT (-40.297102 -2.793151)'))) / (select extract(epoch from '2026-07-23 07:15:41'::timestamp) - extract(epoch from '2026-07-23 07:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297149 -2.79314)'), GeomFromEWKT('SRID=4674;POINT (-40.297102 -2.793151)'))) / (select extract(epoch from '2026-07-23 07:15:41'::timestamp) - extract(epoch from '2026-07-23 07:15: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'), 47640, 'SRID=4674;POINT (-40.297024 -2.793145)', '2026-07-23 07:15:58', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297102 -2.793151)'), GeomFromEWKT('SRID=4674;POINT (-40.297024 -2.793145)'))) / (select extract(epoch from '2026-07-23 07:15:58'::timestamp) - extract(epoch from '2026-07-23 07:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297102 -2.793151)'), GeomFromEWKT('SRID=4674;POINT (-40.297024 -2.793145)'))) / (select extract(epoch from '2026-07-23 07:15:58'::timestamp) - extract(epoch from '2026-07-23 07:15: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'), 47640, 'SRID=4674;POINT (-40.296949 -2.793155)', '2026-07-23 07:16:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297024 -2.793145)'), GeomFromEWKT('SRID=4674;POINT (-40.296949 -2.793155)'))) / (select extract(epoch from '2026-07-23 07:16:14'::timestamp) - extract(epoch from '2026-07-23 07:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297024 -2.793145)'), GeomFromEWKT('SRID=4674;POINT (-40.296949 -2.793155)'))) / (select extract(epoch from '2026-07-23 07:16:14'::timestamp) - extract(epoch from '2026-07-23 07:15:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.296852 -2.79316)', '2026-07-23 07:16:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296949 -2.793155)'), GeomFromEWKT('SRID=4674;POINT (-40.296852 -2.79316)'))) / (select extract(epoch from '2026-07-23 07:16:35'::timestamp) - extract(epoch from '2026-07-23 07:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296949 -2.793155)'), GeomFromEWKT('SRID=4674;POINT (-40.296852 -2.79316)'))) / (select extract(epoch from '2026-07-23 07:16:35'::timestamp) - extract(epoch from '2026-07-23 07:16: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'), 47640, 'SRID=4674;POINT (-40.296788 -2.793154)', '2026-07-23 07:16:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296852 -2.79316)'), GeomFromEWKT('SRID=4674;POINT (-40.296788 -2.793154)'))) / (select extract(epoch from '2026-07-23 07:16:52'::timestamp) - extract(epoch from '2026-07-23 07:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296852 -2.79316)'), GeomFromEWKT('SRID=4674;POINT (-40.296788 -2.793154)'))) / (select extract(epoch from '2026-07-23 07:16:52'::timestamp) - extract(epoch from '2026-07-23 07: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'), 47640, 'SRID=4674;POINT (-40.296756 -2.793151)', '2026-07-23 07:17:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296788 -2.793154)'), GeomFromEWKT('SRID=4674;POINT (-40.296756 -2.793151)'))) / (select extract(epoch from '2026-07-23 07:17:08'::timestamp) - extract(epoch from '2026-07-23 07:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296788 -2.793154)'), GeomFromEWKT('SRID=4674;POINT (-40.296756 -2.793151)'))) / (select extract(epoch from '2026-07-23 07:17:08'::timestamp) - extract(epoch from '2026-07-23 07: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'), 47640, 'SRID=4674;POINT (-40.296713 -2.793142)', '2026-07-23 07:17:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296756 -2.793151)'), GeomFromEWKT('SRID=4674;POINT (-40.296713 -2.793142)'))) / (select extract(epoch from '2026-07-23 07:17:25'::timestamp) - extract(epoch from '2026-07-23 07:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296756 -2.793151)'), GeomFromEWKT('SRID=4674;POINT (-40.296713 -2.793142)'))) / (select extract(epoch from '2026-07-23 07:17:25'::timestamp) - extract(epoch from '2026-07-23 07: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'), 47640, 'SRID=4674;POINT (-40.296668 -2.793145)', '2026-07-23 07:17:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296713 -2.793142)'), GeomFromEWKT('SRID=4674;POINT (-40.296668 -2.793145)'))) / (select extract(epoch from '2026-07-23 07:17:39'::timestamp) - extract(epoch from '2026-07-23 07:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296713 -2.793142)'), GeomFromEWKT('SRID=4674;POINT (-40.296668 -2.793145)'))) / (select extract(epoch from '2026-07-23 07:17:39'::timestamp) - extract(epoch from '2026-07-23 07:17: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'), 47640, 'SRID=4674;POINT (-40.296644 -2.793132)', '2026-07-23 07:17:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296668 -2.793145)'), GeomFromEWKT('SRID=4674;POINT (-40.296644 -2.793132)'))) / (select extract(epoch from '2026-07-23 07:17:54'::timestamp) - extract(epoch from '2026-07-23 07:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296668 -2.793145)'), GeomFromEWKT('SRID=4674;POINT (-40.296644 -2.793132)'))) / (select extract(epoch from '2026-07-23 07:17:54'::timestamp) - extract(epoch from '2026-07-23 07:17:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.296609 -2.79313)', '2026-07-23 07:18:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296644 -2.793132)'), GeomFromEWKT('SRID=4674;POINT (-40.296609 -2.79313)'))) / (select extract(epoch from '2026-07-23 07:18:05'::timestamp) - extract(epoch from '2026-07-23 07:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296644 -2.793132)'), GeomFromEWKT('SRID=4674;POINT (-40.296609 -2.79313)'))) / (select extract(epoch from '2026-07-23 07:18:05'::timestamp) - extract(epoch from '2026-07-23 07:17: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'), 47640, 'SRID=4674;POINT (-40.29658 -2.793127)', '2026-07-23 07:18:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296609 -2.79313)'), GeomFromEWKT('SRID=4674;POINT (-40.29658 -2.793127)'))) / (select extract(epoch from '2026-07-23 07:18:19'::timestamp) - extract(epoch from '2026-07-23 07:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296609 -2.79313)'), GeomFromEWKT('SRID=4674;POINT (-40.29658 -2.793127)'))) / (select extract(epoch from '2026-07-23 07:18:19'::timestamp) - extract(epoch from '2026-07-23 07:18: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'), 47640, 'SRID=4674;POINT (-40.296545 -2.79312)', '2026-07-23 07:18:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29658 -2.793127)'), GeomFromEWKT('SRID=4674;POINT (-40.296545 -2.79312)'))) / (select extract(epoch from '2026-07-23 07:18:35'::timestamp) - extract(epoch from '2026-07-23 07:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29658 -2.793127)'), GeomFromEWKT('SRID=4674;POINT (-40.296545 -2.79312)'))) / (select extract(epoch from '2026-07-23 07:18:35'::timestamp) - extract(epoch from '2026-07-23 07:18: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'), 47640, 'SRID=4674;POINT (-40.296525 -2.793117)', '2026-07-23 07:18:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296545 -2.79312)'), GeomFromEWKT('SRID=4674;POINT (-40.296525 -2.793117)'))) / (select extract(epoch from '2026-07-23 07:18:48'::timestamp) - extract(epoch from '2026-07-23 07:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296545 -2.79312)'), GeomFromEWKT('SRID=4674;POINT (-40.296525 -2.793117)'))) / (select extract(epoch from '2026-07-23 07:18:48'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.296509 -2.793107)', '2026-07-23 07:19:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296525 -2.793117)'), GeomFromEWKT('SRID=4674;POINT (-40.296509 -2.793107)'))) / (select extract(epoch from '2026-07-23 07:19:02'::timestamp) - extract(epoch from '2026-07-23 07:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296525 -2.793117)'), GeomFromEWKT('SRID=4674;POINT (-40.296509 -2.793107)'))) / (select extract(epoch from '2026-07-23 07:19:02'::timestamp) - extract(epoch from '2026-07-23 07:18: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'), 47640, 'SRID=4674;POINT (-40.296478 -2.793095)', '2026-07-23 07:19:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296509 -2.793107)'), GeomFromEWKT('SRID=4674;POINT (-40.296478 -2.793095)'))) / (select extract(epoch from '2026-07-23 07:19:16'::timestamp) - extract(epoch from '2026-07-23 07:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296509 -2.793107)'), GeomFromEWKT('SRID=4674;POINT (-40.296478 -2.793095)'))) / (select extract(epoch from '2026-07-23 07:19:16'::timestamp) - extract(epoch from '2026-07-23 07:19: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'), 47640, 'SRID=4674;POINT (-40.296449 -2.793089)', '2026-07-23 07:19:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296478 -2.793095)'), GeomFromEWKT('SRID=4674;POINT (-40.296449 -2.793089)'))) / (select extract(epoch from '2026-07-23 07:19:37'::timestamp) - extract(epoch from '2026-07-23 07:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296478 -2.793095)'), GeomFromEWKT('SRID=4674;POINT (-40.296449 -2.793089)'))) / (select extract(epoch from '2026-07-23 07:19:37'::timestamp) - extract(epoch from '2026-07-23 07:19: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'), 47640, 'SRID=4674;POINT (-40.296403 -2.793094)', '2026-07-23 07:19:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296449 -2.793089)'), GeomFromEWKT('SRID=4674;POINT (-40.296403 -2.793094)'))) / (select extract(epoch from '2026-07-23 07:19:51'::timestamp) - extract(epoch from '2026-07-23 07:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296449 -2.793089)'), GeomFromEWKT('SRID=4674;POINT (-40.296403 -2.793094)'))) / (select extract(epoch from '2026-07-23 07:19:51'::timestamp) - extract(epoch from '2026-07-23 07:19: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'), 47640, 'SRID=4674;POINT (-40.296362 -2.793084)', '2026-07-23 07:20:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296403 -2.793094)'), GeomFromEWKT('SRID=4674;POINT (-40.296362 -2.793084)'))) / (select extract(epoch from '2026-07-23 07:20:13'::timestamp) - extract(epoch from '2026-07-23 07:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296403 -2.793094)'), GeomFromEWKT('SRID=4674;POINT (-40.296362 -2.793084)'))) / (select extract(epoch from '2026-07-23 07:20:13'::timestamp) - extract(epoch from '2026-07-23 07:19: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'), 47640, 'SRID=4674;POINT (-40.296339 -2.793083)', '2026-07-23 07:20:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296362 -2.793084)'), GeomFromEWKT('SRID=4674;POINT (-40.296339 -2.793083)'))) / (select extract(epoch from '2026-07-23 07:20:29'::timestamp) - extract(epoch from '2026-07-23 07:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296362 -2.793084)'), GeomFromEWKT('SRID=4674;POINT (-40.296339 -2.793083)'))) / (select extract(epoch from '2026-07-23 07:20:29'::timestamp) - extract(epoch from '2026-07-23 07:20: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'), 47640, 'SRID=4674;POINT (-40.296311 -2.793075)', '2026-07-23 07:20:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296339 -2.793083)'), GeomFromEWKT('SRID=4674;POINT (-40.296311 -2.793075)'))) / (select extract(epoch from '2026-07-23 07:20:45'::timestamp) - extract(epoch from '2026-07-23 07:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296339 -2.793083)'), GeomFromEWKT('SRID=4674;POINT (-40.296311 -2.793075)'))) / (select extract(epoch from '2026-07-23 07:20:45'::timestamp) - extract(epoch from '2026-07-23 07:20: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'), 47640, 'SRID=4674;POINT (-40.296273 -2.793082)', '2026-07-23 07:21:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296311 -2.793075)'), GeomFromEWKT('SRID=4674;POINT (-40.296273 -2.793082)'))) / (select extract(epoch from '2026-07-23 07:21:03'::timestamp) - extract(epoch from '2026-07-23 07:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296311 -2.793075)'), GeomFromEWKT('SRID=4674;POINT (-40.296273 -2.793082)'))) / (select extract(epoch from '2026-07-23 07:21:03'::timestamp) - extract(epoch from '2026-07-23 07:20: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'), 47640, 'SRID=4674;POINT (-40.296257 -2.793087)', '2026-07-23 07:21:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296273 -2.793082)'), GeomFromEWKT('SRID=4674;POINT (-40.296257 -2.793087)'))) / (select extract(epoch from '2026-07-23 07:21:16'::timestamp) - extract(epoch from '2026-07-23 07:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296273 -2.793082)'), GeomFromEWKT('SRID=4674;POINT (-40.296257 -2.793087)'))) / (select extract(epoch from '2026-07-23 07:21:16'::timestamp) - extract(epoch from '2026-07-23 07:21: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'), 47640, 'SRID=4674;POINT (-40.296273 -2.793062)', '2026-07-23 07:21:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296257 -2.793087)'), GeomFromEWKT('SRID=4674;POINT (-40.296273 -2.793062)'))) / (select extract(epoch from '2026-07-23 07:21:38'::timestamp) - extract(epoch from '2026-07-23 07:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296257 -2.793087)'), GeomFromEWKT('SRID=4674;POINT (-40.296273 -2.793062)'))) / (select extract(epoch from '2026-07-23 07:21:38'::timestamp) - extract(epoch from '2026-07-23 07:21: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'), 47640, 'SRID=4674;POINT (-40.296259 -2.793044)', '2026-07-23 07:22:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296273 -2.793062)'), GeomFromEWKT('SRID=4674;POINT (-40.296259 -2.793044)'))) / (select extract(epoch from '2026-07-23 07:22:01'::timestamp) - extract(epoch from '2026-07-23 07:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296273 -2.793062)'), GeomFromEWKT('SRID=4674;POINT (-40.296259 -2.793044)'))) / (select extract(epoch from '2026-07-23 07:22:01'::timestamp) - extract(epoch from '2026-07-23 07:21:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.296252 -2.793037)', '2026-07-23 07:22:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296259 -2.793044)'), GeomFromEWKT('SRID=4674;POINT (-40.296252 -2.793037)'))) / (select extract(epoch from '2026-07-23 07:22:27'::timestamp) - extract(epoch from '2026-07-23 07:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296259 -2.793044)'), GeomFromEWKT('SRID=4674;POINT (-40.296252 -2.793037)'))) / (select extract(epoch from '2026-07-23 07:22:27'::timestamp) - extract(epoch from '2026-07-23 07:22:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.296221 -2.793049)', '2026-07-23 07:22:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296252 -2.793037)'), GeomFromEWKT('SRID=4674;POINT (-40.296221 -2.793049)'))) / (select extract(epoch from '2026-07-23 07:22:50'::timestamp) - extract(epoch from '2026-07-23 07:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296252 -2.793037)'), GeomFromEWKT('SRID=4674;POINT (-40.296221 -2.793049)'))) / (select extract(epoch from '2026-07-23 07:22:50'::timestamp) - extract(epoch from '2026-07-23 07:22: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'), 47640, 'SRID=4674;POINT (-40.296209 -2.793032)', '2026-07-23 07:23:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296221 -2.793049)'), GeomFromEWKT('SRID=4674;POINT (-40.296209 -2.793032)'))) / (select extract(epoch from '2026-07-23 07:23:06'::timestamp) - extract(epoch from '2026-07-23 07:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296221 -2.793049)'), GeomFromEWKT('SRID=4674;POINT (-40.296209 -2.793032)'))) / (select extract(epoch from '2026-07-23 07:23:06'::timestamp) - extract(epoch from '2026-07-23 07:22: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'), 47640, 'SRID=4674;POINT (-40.296203 -2.793031)', '2026-07-23 07:23:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296209 -2.793032)'), GeomFromEWKT('SRID=4674;POINT (-40.296203 -2.793031)'))) / (select extract(epoch from '2026-07-23 07:23:23'::timestamp) - extract(epoch from '2026-07-23 07:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296209 -2.793032)'), GeomFromEWKT('SRID=4674;POINT (-40.296203 -2.793031)'))) / (select extract(epoch from '2026-07-23 07:23:23'::timestamp) - extract(epoch from '2026-07-23 07:23: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'), 47640, 'SRID=4674;POINT (-40.29616 -2.79304)', '2026-07-23 07:23:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296203 -2.793031)'), GeomFromEWKT('SRID=4674;POINT (-40.29616 -2.79304)'))) / (select extract(epoch from '2026-07-23 07:23:41'::timestamp) - extract(epoch from '2026-07-23 07:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296203 -2.793031)'), GeomFromEWKT('SRID=4674;POINT (-40.29616 -2.79304)'))) / (select extract(epoch from '2026-07-23 07:23:41'::timestamp) - extract(epoch from '2026-07-23 07:23: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'), 47640, 'SRID=4674;POINT (-40.296114 -2.793051)', '2026-07-23 07:23:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29616 -2.79304)'), GeomFromEWKT('SRID=4674;POINT (-40.296114 -2.793051)'))) / (select extract(epoch from '2026-07-23 07:23:58'::timestamp) - extract(epoch from '2026-07-23 07:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29616 -2.79304)'), GeomFromEWKT('SRID=4674;POINT (-40.296114 -2.793051)'))) / (select extract(epoch from '2026-07-23 07:23:58'::timestamp) - extract(epoch from '2026-07-23 07:23: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'), 47640, 'SRID=4674;POINT (-40.296107 -2.793045)', '2026-07-23 07:24:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296114 -2.793051)'), GeomFromEWKT('SRID=4674;POINT (-40.296107 -2.793045)'))) / (select extract(epoch from '2026-07-23 07:24:12'::timestamp) - extract(epoch from '2026-07-23 07:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296114 -2.793051)'), GeomFromEWKT('SRID=4674;POINT (-40.296107 -2.793045)'))) / (select extract(epoch from '2026-07-23 07:24:12'::timestamp) - extract(epoch from '2026-07-23 07:23: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'), 47640, 'SRID=4674;POINT (-40.296071 -2.79305)', '2026-07-23 07:24:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296107 -2.793045)'), GeomFromEWKT('SRID=4674;POINT (-40.296071 -2.79305)'))) / (select extract(epoch from '2026-07-23 07:24:29'::timestamp) - extract(epoch from '2026-07-23 07:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296107 -2.793045)'), GeomFromEWKT('SRID=4674;POINT (-40.296071 -2.79305)'))) / (select extract(epoch from '2026-07-23 07:24:29'::timestamp) - extract(epoch from '2026-07-23 07:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.296052 -2.793048)', '2026-07-23 07:24:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296071 -2.79305)'), GeomFromEWKT('SRID=4674;POINT (-40.296052 -2.793048)'))) / (select extract(epoch from '2026-07-23 07:24:44'::timestamp) - extract(epoch from '2026-07-23 07:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296071 -2.79305)'), GeomFromEWKT('SRID=4674;POINT (-40.296052 -2.793048)'))) / (select extract(epoch from '2026-07-23 07:24:44'::timestamp) - extract(epoch from '2026-07-23 07:24: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'), 47640, 'SRID=4674;POINT (-40.296028 -2.793042)', '2026-07-23 07:25:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296052 -2.793048)'), GeomFromEWKT('SRID=4674;POINT (-40.296028 -2.793042)'))) / (select extract(epoch from '2026-07-23 07:25:06'::timestamp) - extract(epoch from '2026-07-23 07:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296052 -2.793048)'), GeomFromEWKT('SRID=4674;POINT (-40.296028 -2.793042)'))) / (select extract(epoch from '2026-07-23 07:25:06'::timestamp) - extract(epoch from '2026-07-23 07:24: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'), 47640, 'SRID=4674;POINT (-40.296022 -2.793041)', '2026-07-23 07:25:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296028 -2.793042)'), GeomFromEWKT('SRID=4674;POINT (-40.296022 -2.793041)'))) / (select extract(epoch from '2026-07-23 07:25:23'::timestamp) - extract(epoch from '2026-07-23 07:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296028 -2.793042)'), GeomFromEWKT('SRID=4674;POINT (-40.296022 -2.793041)'))) / (select extract(epoch from '2026-07-23 07:25:23'::timestamp) - extract(epoch from '2026-07-23 07:25:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.296016 -2.793032)', '2026-07-23 07:25:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296022 -2.793041)'), GeomFromEWKT('SRID=4674;POINT (-40.296016 -2.793032)'))) / (select extract(epoch from '2026-07-23 07:25:45'::timestamp) - extract(epoch from '2026-07-23 07:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296022 -2.793041)'), GeomFromEWKT('SRID=4674;POINT (-40.296016 -2.793032)'))) / (select extract(epoch from '2026-07-23 07:25:45'::timestamp) - extract(epoch from '2026-07-23 07:25: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'), 47640, 'SRID=4674;POINT (-40.29599 -2.793033)', '2026-07-23 07:26:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296016 -2.793032)'), GeomFromEWKT('SRID=4674;POINT (-40.29599 -2.793033)'))) / (select extract(epoch from '2026-07-23 07:26:05'::timestamp) - extract(epoch from '2026-07-23 07:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296016 -2.793032)'), GeomFromEWKT('SRID=4674;POINT (-40.29599 -2.793033)'))) / (select extract(epoch from '2026-07-23 07:26:05'::timestamp) - extract(epoch from '2026-07-23 07:25: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'), 47640, 'SRID=4674;POINT (-40.295967 -2.793024)', '2026-07-23 07:26:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29599 -2.793033)'), GeomFromEWKT('SRID=4674;POINT (-40.295967 -2.793024)'))) / (select extract(epoch from '2026-07-23 07:26:19'::timestamp) - extract(epoch from '2026-07-23 07:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29599 -2.793033)'), GeomFromEWKT('SRID=4674;POINT (-40.295967 -2.793024)'))) / (select extract(epoch from '2026-07-23 07:26:19'::timestamp) - extract(epoch from '2026-07-23 07:26: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'), 47640, 'SRID=4674;POINT (-40.295954 -2.793025)', '2026-07-23 07:26:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295967 -2.793024)'), GeomFromEWKT('SRID=4674;POINT (-40.295954 -2.793025)'))) / (select extract(epoch from '2026-07-23 07:26:37'::timestamp) - extract(epoch from '2026-07-23 07:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295967 -2.793024)'), GeomFromEWKT('SRID=4674;POINT (-40.295954 -2.793025)'))) / (select extract(epoch from '2026-07-23 07:26:37'::timestamp) - extract(epoch from '2026-07-23 07:26: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'), 47640, 'SRID=4674;POINT (-40.295933 -2.793024)', '2026-07-23 07:26:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295954 -2.793025)'), GeomFromEWKT('SRID=4674;POINT (-40.295933 -2.793024)'))) / (select extract(epoch from '2026-07-23 07:26:56'::timestamp) - extract(epoch from '2026-07-23 07:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295954 -2.793025)'), GeomFromEWKT('SRID=4674;POINT (-40.295933 -2.793024)'))) / (select extract(epoch from '2026-07-23 07:26:56'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.295912 -2.793026)', '2026-07-23 07:27:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295933 -2.793024)'), GeomFromEWKT('SRID=4674;POINT (-40.295912 -2.793026)'))) / (select extract(epoch from '2026-07-23 07:27:09'::timestamp) - extract(epoch from '2026-07-23 07:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295933 -2.793024)'), GeomFromEWKT('SRID=4674;POINT (-40.295912 -2.793026)'))) / (select extract(epoch from '2026-07-23 07:27:09'::timestamp) - extract(epoch from '2026-07-23 07:26: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'), 47640, 'SRID=4674;POINT (-40.295887 -2.793016)', '2026-07-23 07:27:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295912 -2.793026)'), GeomFromEWKT('SRID=4674;POINT (-40.295887 -2.793016)'))) / (select extract(epoch from '2026-07-23 07:27:36'::timestamp) - extract(epoch from '2026-07-23 07:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295912 -2.793026)'), GeomFromEWKT('SRID=4674;POINT (-40.295887 -2.793016)'))) / (select extract(epoch from '2026-07-23 07:27:36'::timestamp) - extract(epoch from '2026-07-23 07:27:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.295863 -2.793014)', '2026-07-23 07:27:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295887 -2.793016)'), GeomFromEWKT('SRID=4674;POINT (-40.295863 -2.793014)'))) / (select extract(epoch from '2026-07-23 07:27:55'::timestamp) - extract(epoch from '2026-07-23 07:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295887 -2.793016)'), GeomFromEWKT('SRID=4674;POINT (-40.295863 -2.793014)'))) / (select extract(epoch from '2026-07-23 07:27:55'::timestamp) - extract(epoch from '2026-07-23 07:27:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.295842 -2.793029)', '2026-07-23 07:28:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295863 -2.793014)'), GeomFromEWKT('SRID=4674;POINT (-40.295842 -2.793029)'))) / (select extract(epoch from '2026-07-23 07:28:08'::timestamp) - extract(epoch from '2026-07-23 07:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295863 -2.793014)'), GeomFromEWKT('SRID=4674;POINT (-40.295842 -2.793029)'))) / (select extract(epoch from '2026-07-23 07:28:08'::timestamp) - extract(epoch from '2026-07-23 07:27: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'), 47640, 'SRID=4674;POINT (-40.29582 -2.793028)', '2026-07-23 07:28:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295842 -2.793029)'), GeomFromEWKT('SRID=4674;POINT (-40.29582 -2.793028)'))) / (select extract(epoch from '2026-07-23 07:28:23'::timestamp) - extract(epoch from '2026-07-23 07:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295842 -2.793029)'), GeomFromEWKT('SRID=4674;POINT (-40.29582 -2.793028)'))) / (select extract(epoch from '2026-07-23 07:28:23'::timestamp) - extract(epoch from '2026-07-23 07:28: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'), 47640, 'SRID=4674;POINT (-40.295817 -2.793013)', '2026-07-23 07:28:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29582 -2.793028)'), GeomFromEWKT('SRID=4674;POINT (-40.295817 -2.793013)'))) / (select extract(epoch from '2026-07-23 07:28:42'::timestamp) - extract(epoch from '2026-07-23 07:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29582 -2.793028)'), GeomFromEWKT('SRID=4674;POINT (-40.295817 -2.793013)'))) / (select extract(epoch from '2026-07-23 07:28:42'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.295788 -2.793033)', '2026-07-23 07:28:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295817 -2.793013)'), GeomFromEWKT('SRID=4674;POINT (-40.295788 -2.793033)'))) / (select extract(epoch from '2026-07-23 07:28:59'::timestamp) - extract(epoch from '2026-07-23 07:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295817 -2.793013)'), GeomFromEWKT('SRID=4674;POINT (-40.295788 -2.793033)'))) / (select extract(epoch from '2026-07-23 07:28:59'::timestamp) - extract(epoch from '2026-07-23 07:28: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'), 47640, 'SRID=4674;POINT (-40.295751 -2.793026)', '2026-07-23 07:29:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295788 -2.793033)'), GeomFromEWKT('SRID=4674;POINT (-40.295751 -2.793026)'))) / (select extract(epoch from '2026-07-23 07:29:19'::timestamp) - extract(epoch from '2026-07-23 07:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295788 -2.793033)'), GeomFromEWKT('SRID=4674;POINT (-40.295751 -2.793026)'))) / (select extract(epoch from '2026-07-23 07:29:19'::timestamp) - extract(epoch from '2026-07-23 07:28:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.29574 -2.793025)', '2026-07-23 07:29:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295751 -2.793026)'), GeomFromEWKT('SRID=4674;POINT (-40.29574 -2.793025)'))) / (select extract(epoch from '2026-07-23 07:29:38'::timestamp) - extract(epoch from '2026-07-23 07:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295751 -2.793026)'), GeomFromEWKT('SRID=4674;POINT (-40.29574 -2.793025)'))) / (select extract(epoch from '2026-07-23 07:29:38'::timestamp) - extract(epoch from '2026-07-23 07:29: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'), 47640, 'SRID=4674;POINT (-40.295718 -2.79304)', '2026-07-23 07:29:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29574 -2.793025)'), GeomFromEWKT('SRID=4674;POINT (-40.295718 -2.79304)'))) / (select extract(epoch from '2026-07-23 07:29:52'::timestamp) - extract(epoch from '2026-07-23 07:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29574 -2.793025)'), GeomFromEWKT('SRID=4674;POINT (-40.295718 -2.79304)'))) / (select extract(epoch from '2026-07-23 07:29:52'::timestamp) - extract(epoch from '2026-07-23 07:29: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'), 47640, 'SRID=4674;POINT (-40.295645 -2.793051)', '2026-07-23 07:30:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295718 -2.79304)'), GeomFromEWKT('SRID=4674;POINT (-40.295645 -2.793051)'))) / (select extract(epoch from '2026-07-23 07:30:13'::timestamp) - extract(epoch from '2026-07-23 07:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295718 -2.79304)'), GeomFromEWKT('SRID=4674;POINT (-40.295645 -2.793051)'))) / (select extract(epoch from '2026-07-23 07:30:13'::timestamp) - extract(epoch from '2026-07-23 07:29: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'), 47640, 'SRID=4674;POINT (-40.295608 -2.793062)', '2026-07-23 07:30:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295645 -2.793051)'), GeomFromEWKT('SRID=4674;POINT (-40.295608 -2.793062)'))) / (select extract(epoch from '2026-07-23 07:30:30'::timestamp) - extract(epoch from '2026-07-23 07:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295645 -2.793051)'), GeomFromEWKT('SRID=4674;POINT (-40.295608 -2.793062)'))) / (select extract(epoch from '2026-07-23 07:30:30'::timestamp) - extract(epoch from '2026-07-23 07:30:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.295571 -2.793073)', '2026-07-23 07:30:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295608 -2.793062)'), GeomFromEWKT('SRID=4674;POINT (-40.295571 -2.793073)'))) / (select extract(epoch from '2026-07-23 07:30:47'::timestamp) - extract(epoch from '2026-07-23 07:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295608 -2.793062)'), GeomFromEWKT('SRID=4674;POINT (-40.295571 -2.793073)'))) / (select extract(epoch from '2026-07-23 07:30:47'::timestamp) - extract(epoch from '2026-07-23 07:30: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'), 47640, 'SRID=4674;POINT (-40.295522 -2.793095)', '2026-07-23 07:31:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295571 -2.793073)'), GeomFromEWKT('SRID=4674;POINT (-40.295522 -2.793095)'))) / (select extract(epoch from '2026-07-23 07:31:06'::timestamp) - extract(epoch from '2026-07-23 07:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295571 -2.793073)'), GeomFromEWKT('SRID=4674;POINT (-40.295522 -2.793095)'))) / (select extract(epoch from '2026-07-23 07:31:06'::timestamp) - extract(epoch from '2026-07-23 07:30: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'), 47640, 'SRID=4674;POINT (-40.295469 -2.793127)', '2026-07-23 07:31:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295522 -2.793095)'), GeomFromEWKT('SRID=4674;POINT (-40.295469 -2.793127)'))) / (select extract(epoch from '2026-07-23 07:31:21'::timestamp) - extract(epoch from '2026-07-23 07:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295522 -2.793095)'), GeomFromEWKT('SRID=4674;POINT (-40.295469 -2.793127)'))) / (select extract(epoch from '2026-07-23 07:31:21'::timestamp) - extract(epoch from '2026-07-23 07:31: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'), 47640, 'SRID=4674;POINT (-40.295436 -2.79312)', '2026-07-23 07:31:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295469 -2.793127)'), GeomFromEWKT('SRID=4674;POINT (-40.295436 -2.79312)'))) / (select extract(epoch from '2026-07-23 07:31:35'::timestamp) - extract(epoch from '2026-07-23 07:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295469 -2.793127)'), GeomFromEWKT('SRID=4674;POINT (-40.295436 -2.79312)'))) / (select extract(epoch from '2026-07-23 07:31:35'::timestamp) - extract(epoch from '2026-07-23 07:31: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'), 47640, 'SRID=4674;POINT (-40.29538 -2.793123)', '2026-07-23 07:31:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295436 -2.79312)'), GeomFromEWKT('SRID=4674;POINT (-40.29538 -2.793123)'))) / (select extract(epoch from '2026-07-23 07:31:51'::timestamp) - extract(epoch from '2026-07-23 07:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295436 -2.79312)'), GeomFromEWKT('SRID=4674;POINT (-40.29538 -2.793123)'))) / (select extract(epoch from '2026-07-23 07:31:51'::timestamp) - extract(epoch from '2026-07-23 07:31: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'), 47640, 'SRID=4674;POINT (-40.295347 -2.793129)', '2026-07-23 07:32:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29538 -2.793123)'), GeomFromEWKT('SRID=4674;POINT (-40.295347 -2.793129)'))) / (select extract(epoch from '2026-07-23 07:32:07'::timestamp) - extract(epoch from '2026-07-23 07:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29538 -2.793123)'), GeomFromEWKT('SRID=4674;POINT (-40.295347 -2.793129)'))) / (select extract(epoch from '2026-07-23 07:32:07'::timestamp) - extract(epoch from '2026-07-23 07:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.295304 -2.793128)', '2026-07-23 07:32:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295347 -2.793129)'), GeomFromEWKT('SRID=4674;POINT (-40.295304 -2.793128)'))) / (select extract(epoch from '2026-07-23 07:32:21'::timestamp) - extract(epoch from '2026-07-23 07:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295347 -2.793129)'), GeomFromEWKT('SRID=4674;POINT (-40.295304 -2.793128)'))) / (select extract(epoch from '2026-07-23 07:32:21'::timestamp) - extract(epoch from '2026-07-23 07:32: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'), 47640, 'SRID=4674;POINT (-40.295264 -2.793123)', '2026-07-23 07:32:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295304 -2.793128)'), GeomFromEWKT('SRID=4674;POINT (-40.295264 -2.793123)'))) / (select extract(epoch from '2026-07-23 07:32:39'::timestamp) - extract(epoch from '2026-07-23 07:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295304 -2.793128)'), GeomFromEWKT('SRID=4674;POINT (-40.295264 -2.793123)'))) / (select extract(epoch from '2026-07-23 07:32:39'::timestamp) - extract(epoch from '2026-07-23 07:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.295235 -2.793132)', '2026-07-23 07:32:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295264 -2.793123)'), GeomFromEWKT('SRID=4674;POINT (-40.295235 -2.793132)'))) / (select extract(epoch from '2026-07-23 07:32:49'::timestamp) - extract(epoch from '2026-07-23 07:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295264 -2.793123)'), GeomFromEWKT('SRID=4674;POINT (-40.295235 -2.793132)'))) / (select extract(epoch from '2026-07-23 07:32:49'::timestamp) - extract(epoch from '2026-07-23 07:32: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'), 47640, 'SRID=4674;POINT (-40.295208 -2.793128)', '2026-07-23 07:33:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295235 -2.793132)'), GeomFromEWKT('SRID=4674;POINT (-40.295208 -2.793128)'))) / (select extract(epoch from '2026-07-23 07:33:05'::timestamp) - extract(epoch from '2026-07-23 07:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295235 -2.793132)'), GeomFromEWKT('SRID=4674;POINT (-40.295208 -2.793128)'))) / (select extract(epoch from '2026-07-23 07:33:05'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.295215 -2.793133)', '2026-07-23 07:33:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295208 -2.793128)'), GeomFromEWKT('SRID=4674;POINT (-40.295215 -2.793133)'))) / (select extract(epoch from '2026-07-23 07:33:18'::timestamp) - extract(epoch from '2026-07-23 07:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295208 -2.793128)'), GeomFromEWKT('SRID=4674;POINT (-40.295215 -2.793133)'))) / (select extract(epoch from '2026-07-23 07:33:18'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.295201 -2.793116)', '2026-07-23 07:33:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295215 -2.793133)'), GeomFromEWKT('SRID=4674;POINT (-40.295201 -2.793116)'))) / (select extract(epoch from '2026-07-23 07:33:40'::timestamp) - extract(epoch from '2026-07-23 07:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295215 -2.793133)'), GeomFromEWKT('SRID=4674;POINT (-40.295201 -2.793116)'))) / (select extract(epoch from '2026-07-23 07:33:40'::timestamp) - extract(epoch from '2026-07-23 07:33: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'), 47640, 'SRID=4674;POINT (-40.295152 -2.793118)', '2026-07-23 07:33:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295201 -2.793116)'), GeomFromEWKT('SRID=4674;POINT (-40.295152 -2.793118)'))) / (select extract(epoch from '2026-07-23 07:33:54'::timestamp) - extract(epoch from '2026-07-23 07:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295201 -2.793116)'), GeomFromEWKT('SRID=4674;POINT (-40.295152 -2.793118)'))) / (select extract(epoch from '2026-07-23 07:33:54'::timestamp) - extract(epoch from '2026-07-23 07:33: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'), 47640, 'SRID=4674;POINT (-40.295115 -2.793128)', '2026-07-23 07:34:10', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295152 -2.793118)'), GeomFromEWKT('SRID=4674;POINT (-40.295115 -2.793128)'))) / (select extract(epoch from '2026-07-23 07:34:10'::timestamp) - extract(epoch from '2026-07-23 07:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295152 -2.793118)'), GeomFromEWKT('SRID=4674;POINT (-40.295115 -2.793128)'))) / (select extract(epoch from '2026-07-23 07:34:10'::timestamp) - extract(epoch from '2026-07-23 07:33: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'), 47640, 'SRID=4674;POINT (-40.29509 -2.793138)', '2026-07-23 07:34:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295115 -2.793128)'), GeomFromEWKT('SRID=4674;POINT (-40.29509 -2.793138)'))) / (select extract(epoch from '2026-07-23 07:34:26'::timestamp) - extract(epoch from '2026-07-23 07:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295115 -2.793128)'), GeomFromEWKT('SRID=4674;POINT (-40.29509 -2.793138)'))) / (select extract(epoch from '2026-07-23 07:34:26'::timestamp) - extract(epoch from '2026-07-23 07:34:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.295052 -2.793162)', '2026-07-23 07:34:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29509 -2.793138)'), GeomFromEWKT('SRID=4674;POINT (-40.295052 -2.793162)'))) / (select extract(epoch from '2026-07-23 07:34:40'::timestamp) - extract(epoch from '2026-07-23 07:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29509 -2.793138)'), GeomFromEWKT('SRID=4674;POINT (-40.295052 -2.793162)'))) / (select extract(epoch from '2026-07-23 07:34:40'::timestamp) - extract(epoch from '2026-07-23 07:34:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.295028 -2.79316)', '2026-07-23 07:34:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295052 -2.793162)'), GeomFromEWKT('SRID=4674;POINT (-40.295028 -2.79316)'))) / (select extract(epoch from '2026-07-23 07:34:53'::timestamp) - extract(epoch from '2026-07-23 07:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295052 -2.793162)'), GeomFromEWKT('SRID=4674;POINT (-40.295028 -2.79316)'))) / (select extract(epoch from '2026-07-23 07:34:53'::timestamp) - extract(epoch from '2026-07-23 07:34: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'), 47640, 'SRID=4674;POINT (-40.295013 -2.793145)', '2026-07-23 07:35:15', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295028 -2.79316)'), GeomFromEWKT('SRID=4674;POINT (-40.295013 -2.793145)'))) / (select extract(epoch from '2026-07-23 07:35:15'::timestamp) - extract(epoch from '2026-07-23 07:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295028 -2.79316)'), GeomFromEWKT('SRID=4674;POINT (-40.295013 -2.793145)'))) / (select extract(epoch from '2026-07-23 07:35:15'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.294953 -2.793127)', '2026-07-23 07:35:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295013 -2.793145)'), GeomFromEWKT('SRID=4674;POINT (-40.294953 -2.793127)'))) / (select extract(epoch from '2026-07-23 07:35:31'::timestamp) - extract(epoch from '2026-07-23 07:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295013 -2.793145)'), GeomFromEWKT('SRID=4674;POINT (-40.294953 -2.793127)'))) / (select extract(epoch from '2026-07-23 07:35:31'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.294951 -2.793112)', '2026-07-23 07:35:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294953 -2.793127)'), GeomFromEWKT('SRID=4674;POINT (-40.294951 -2.793112)'))) / (select extract(epoch from '2026-07-23 07:35:49'::timestamp) - extract(epoch from '2026-07-23 07:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294953 -2.793127)'), GeomFromEWKT('SRID=4674;POINT (-40.294951 -2.793112)'))) / (select extract(epoch from '2026-07-23 07:35:49'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.294914 -2.793092)', '2026-07-23 07:36:10', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294951 -2.793112)'), GeomFromEWKT('SRID=4674;POINT (-40.294914 -2.793092)'))) / (select extract(epoch from '2026-07-23 07:36:10'::timestamp) - extract(epoch from '2026-07-23 07:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294951 -2.793112)'), GeomFromEWKT('SRID=4674;POINT (-40.294914 -2.793092)'))) / (select extract(epoch from '2026-07-23 07:36:10'::timestamp) - extract(epoch from '2026-07-23 07:35:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.294906 -2.793073)', '2026-07-23 07:36:28', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294914 -2.793092)'), GeomFromEWKT('SRID=4674;POINT (-40.294906 -2.793073)'))) / (select extract(epoch from '2026-07-23 07:36:28'::timestamp) - extract(epoch from '2026-07-23 07:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294914 -2.793092)'), GeomFromEWKT('SRID=4674;POINT (-40.294906 -2.793073)'))) / (select extract(epoch from '2026-07-23 07:36:28'::timestamp) - extract(epoch from '2026-07-23 07:36: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'), 47640, 'SRID=4674;POINT (-40.294881 -2.793063)', '2026-07-23 07:36:44', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294906 -2.793073)'), GeomFromEWKT('SRID=4674;POINT (-40.294881 -2.793063)'))) / (select extract(epoch from '2026-07-23 07:36:44'::timestamp) - extract(epoch from '2026-07-23 07:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294906 -2.793073)'), GeomFromEWKT('SRID=4674;POINT (-40.294881 -2.793063)'))) / (select extract(epoch from '2026-07-23 07:36:44'::timestamp) - extract(epoch from '2026-07-23 07:36: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'), 47640, 'SRID=4674;POINT (-40.294857 -2.793051)', '2026-07-23 07:37:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294881 -2.793063)'), GeomFromEWKT('SRID=4674;POINT (-40.294857 -2.793051)'))) / (select extract(epoch from '2026-07-23 07:37:03'::timestamp) - extract(epoch from '2026-07-23 07:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294881 -2.793063)'), GeomFromEWKT('SRID=4674;POINT (-40.294857 -2.793051)'))) / (select extract(epoch from '2026-07-23 07:37:03'::timestamp) - extract(epoch from '2026-07-23 07:36: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'), 47640, 'SRID=4674;POINT (-40.294831 -2.793032)', '2026-07-23 07:37:25', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294857 -2.793051)'), GeomFromEWKT('SRID=4674;POINT (-40.294831 -2.793032)'))) / (select extract(epoch from '2026-07-23 07:37:25'::timestamp) - extract(epoch from '2026-07-23 07:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294857 -2.793051)'), GeomFromEWKT('SRID=4674;POINT (-40.294831 -2.793032)'))) / (select extract(epoch from '2026-07-23 07:37:25'::timestamp) - extract(epoch from '2026-07-23 07:37: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'), 47640, 'SRID=4674;POINT (-40.294821 -2.793016)', '2026-07-23 07:37:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294831 -2.793032)'), GeomFromEWKT('SRID=4674;POINT (-40.294821 -2.793016)'))) / (select extract(epoch from '2026-07-23 07:37:46'::timestamp) - extract(epoch from '2026-07-23 07:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294831 -2.793032)'), GeomFromEWKT('SRID=4674;POINT (-40.294821 -2.793016)'))) / (select extract(epoch from '2026-07-23 07:37:46'::timestamp) - extract(epoch from '2026-07-23 07:37:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.294801 -2.793015)', '2026-07-23 07:38:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294821 -2.793016)'), GeomFromEWKT('SRID=4674;POINT (-40.294801 -2.793015)'))) / (select extract(epoch from '2026-07-23 07:38:00'::timestamp) - extract(epoch from '2026-07-23 07:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294821 -2.793016)'), GeomFromEWKT('SRID=4674;POINT (-40.294801 -2.793015)'))) / (select extract(epoch from '2026-07-23 07:38:00'::timestamp) - extract(epoch from '2026-07-23 07:37: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'), 47640, 'SRID=4674;POINT (-40.294783 -2.793012)', '2026-07-23 07:38:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294801 -2.793015)'), GeomFromEWKT('SRID=4674;POINT (-40.294783 -2.793012)'))) / (select extract(epoch from '2026-07-23 07:38:20'::timestamp) - extract(epoch from '2026-07-23 07:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294801 -2.793015)'), GeomFromEWKT('SRID=4674;POINT (-40.294783 -2.793012)'))) / (select extract(epoch from '2026-07-23 07:38:20'::timestamp) - extract(epoch from '2026-07-23 07:38: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'), 47640, 'SRID=4674;POINT (-40.294781 -2.793002)', '2026-07-23 07:38:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294783 -2.793012)'), GeomFromEWKT('SRID=4674;POINT (-40.294781 -2.793002)'))) / (select extract(epoch from '2026-07-23 07:38:43'::timestamp) - extract(epoch from '2026-07-23 07:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294783 -2.793012)'), GeomFromEWKT('SRID=4674;POINT (-40.294781 -2.793002)'))) / (select extract(epoch from '2026-07-23 07:38:43'::timestamp) - extract(epoch from '2026-07-23 07:38: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'), 47640, 'SRID=4674;POINT (-40.294757 -2.792993)', '2026-07-23 07:39:06', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294781 -2.793002)'), GeomFromEWKT('SRID=4674;POINT (-40.294757 -2.792993)'))) / (select extract(epoch from '2026-07-23 07:39:06'::timestamp) - extract(epoch from '2026-07-23 07:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294781 -2.793002)'), GeomFromEWKT('SRID=4674;POINT (-40.294757 -2.792993)'))) / (select extract(epoch from '2026-07-23 07:39:06'::timestamp) - extract(epoch from '2026-07-23 07:38: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'), 47640, 'SRID=4674;POINT (-40.294732 -2.792998)', '2026-07-23 07:39:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294757 -2.792993)'), GeomFromEWKT('SRID=4674;POINT (-40.294732 -2.792998)'))) / (select extract(epoch from '2026-07-23 07:39:16'::timestamp) - extract(epoch from '2026-07-23 07:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294757 -2.792993)'), GeomFromEWKT('SRID=4674;POINT (-40.294732 -2.792998)'))) / (select extract(epoch from '2026-07-23 07:39:16'::timestamp) - extract(epoch from '2026-07-23 07:39:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.294703 -2.792991)', '2026-07-23 07:39:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294732 -2.792998)'), GeomFromEWKT('SRID=4674;POINT (-40.294703 -2.792991)'))) / (select extract(epoch from '2026-07-23 07:39:29'::timestamp) - extract(epoch from '2026-07-23 07:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294732 -2.792998)'), GeomFromEWKT('SRID=4674;POINT (-40.294703 -2.792991)'))) / (select extract(epoch from '2026-07-23 07:39:29'::timestamp) - extract(epoch from '2026-07-23 07:39: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'), 47640, 'SRID=4674;POINT (-40.294656 -2.793006)', '2026-07-23 07:39:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294703 -2.792991)'), GeomFromEWKT('SRID=4674;POINT (-40.294656 -2.793006)'))) / (select extract(epoch from '2026-07-23 07:39:45'::timestamp) - extract(epoch from '2026-07-23 07:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294703 -2.792991)'), GeomFromEWKT('SRID=4674;POINT (-40.294656 -2.793006)'))) / (select extract(epoch from '2026-07-23 07:39:45'::timestamp) - extract(epoch from '2026-07-23 07:39: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'), 47640, 'SRID=4674;POINT (-40.294632 -2.793011)', '2026-07-23 07:40:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294656 -2.793006)'), GeomFromEWKT('SRID=4674;POINT (-40.294632 -2.793011)'))) / (select extract(epoch from '2026-07-23 07:40:06'::timestamp) - extract(epoch from '2026-07-23 07:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294656 -2.793006)'), GeomFromEWKT('SRID=4674;POINT (-40.294632 -2.793011)'))) / (select extract(epoch from '2026-07-23 07:40:06'::timestamp) - extract(epoch from '2026-07-23 07:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.2946 -2.793013)', '2026-07-23 07:40:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294632 -2.793011)'), GeomFromEWKT('SRID=4674;POINT (-40.2946 -2.793013)'))) / (select extract(epoch from '2026-07-23 07:40:26'::timestamp) - extract(epoch from '2026-07-23 07:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294632 -2.793011)'), GeomFromEWKT('SRID=4674;POINT (-40.2946 -2.793013)'))) / (select extract(epoch from '2026-07-23 07:40:26'::timestamp) - extract(epoch from '2026-07-23 07:40: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'), 47640, 'SRID=4674;POINT (-40.294569 -2.792994)', '2026-07-23 07:40:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2946 -2.793013)'), GeomFromEWKT('SRID=4674;POINT (-40.294569 -2.792994)'))) / (select extract(epoch from '2026-07-23 07:40:44'::timestamp) - extract(epoch from '2026-07-23 07:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2946 -2.793013)'), GeomFromEWKT('SRID=4674;POINT (-40.294569 -2.792994)'))) / (select extract(epoch from '2026-07-23 07:40:44'::timestamp) - extract(epoch from '2026-07-23 07:40:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.294564 -2.792982)', '2026-07-23 07:41:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294569 -2.792994)'), GeomFromEWKT('SRID=4674;POINT (-40.294564 -2.792982)'))) / (select extract(epoch from '2026-07-23 07:41:08'::timestamp) - extract(epoch from '2026-07-23 07:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294569 -2.792994)'), GeomFromEWKT('SRID=4674;POINT (-40.294564 -2.792982)'))) / (select extract(epoch from '2026-07-23 07:41:08'::timestamp) - extract(epoch from '2026-07-23 07:40: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'), 47640, 'SRID=4674;POINT (-40.294529 -2.792984)', '2026-07-23 07:41:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294564 -2.792982)'), GeomFromEWKT('SRID=4674;POINT (-40.294529 -2.792984)'))) / (select extract(epoch from '2026-07-23 07:41:25'::timestamp) - extract(epoch from '2026-07-23 07:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294564 -2.792982)'), GeomFromEWKT('SRID=4674;POINT (-40.294529 -2.792984)'))) / (select extract(epoch from '2026-07-23 07:41:25'::timestamp) - extract(epoch from '2026-07-23 07:41: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'), 47640, 'SRID=4674;POINT (-40.294455 -2.792998)', '2026-07-23 07:41:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294529 -2.792984)'), GeomFromEWKT('SRID=4674;POINT (-40.294455 -2.792998)'))) / (select extract(epoch from '2026-07-23 07:41:44'::timestamp) - extract(epoch from '2026-07-23 07:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294529 -2.792984)'), GeomFromEWKT('SRID=4674;POINT (-40.294455 -2.792998)'))) / (select extract(epoch from '2026-07-23 07:41:44'::timestamp) - extract(epoch from '2026-07-23 07:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.294363 -2.793026)', '2026-07-23 07:42:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294455 -2.792998)'), GeomFromEWKT('SRID=4674;POINT (-40.294363 -2.793026)'))) / (select extract(epoch from '2026-07-23 07:42:02'::timestamp) - extract(epoch from '2026-07-23 07:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294455 -2.792998)'), GeomFromEWKT('SRID=4674;POINT (-40.294363 -2.793026)'))) / (select extract(epoch from '2026-07-23 07:42:02'::timestamp) - extract(epoch from '2026-07-23 07:41: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'), 47640, 'SRID=4674;POINT (-40.294333 -2.793005)', '2026-07-23 07:42:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294363 -2.793026)'), GeomFromEWKT('SRID=4674;POINT (-40.294333 -2.793005)'))) / (select extract(epoch from '2026-07-23 07:42:16'::timestamp) - extract(epoch from '2026-07-23 07:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294363 -2.793026)'), GeomFromEWKT('SRID=4674;POINT (-40.294333 -2.793005)'))) / (select extract(epoch from '2026-07-23 07:42:16'::timestamp) - extract(epoch from '2026-07-23 07:42: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'), 47640, 'SRID=4674;POINT (-40.294286 -2.793008)', '2026-07-23 07:42:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294333 -2.793005)'), GeomFromEWKT('SRID=4674;POINT (-40.294286 -2.793008)'))) / (select extract(epoch from '2026-07-23 07:42:35'::timestamp) - extract(epoch from '2026-07-23 07:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294333 -2.793005)'), GeomFromEWKT('SRID=4674;POINT (-40.294286 -2.793008)'))) / (select extract(epoch from '2026-07-23 07:42:35'::timestamp) - extract(epoch from '2026-07-23 07:42: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'), 47640, 'SRID=4674;POINT (-40.294246 -2.793013)', '2026-07-23 07:42:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294286 -2.793008)'), GeomFromEWKT('SRID=4674;POINT (-40.294246 -2.793013)'))) / (select extract(epoch from '2026-07-23 07:42:53'::timestamp) - extract(epoch from '2026-07-23 07:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294286 -2.793008)'), GeomFromEWKT('SRID=4674;POINT (-40.294246 -2.793013)'))) / (select extract(epoch from '2026-07-23 07:42:53'::timestamp) - extract(epoch from '2026-07-23 07:42: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'), 47640, 'SRID=4674;POINT (-40.294201 -2.793012)', '2026-07-23 07:43:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294246 -2.793013)'), GeomFromEWKT('SRID=4674;POINT (-40.294201 -2.793012)'))) / (select extract(epoch from '2026-07-23 07:43:07'::timestamp) - extract(epoch from '2026-07-23 07:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294246 -2.793013)'), GeomFromEWKT('SRID=4674;POINT (-40.294201 -2.793012)'))) / (select extract(epoch from '2026-07-23 07:43:07'::timestamp) - extract(epoch from '2026-07-23 07:42:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.294125 -2.79302)', '2026-07-23 07:43:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294201 -2.793012)'), GeomFromEWKT('SRID=4674;POINT (-40.294125 -2.79302)'))) / (select extract(epoch from '2026-07-23 07:43:25'::timestamp) - extract(epoch from '2026-07-23 07:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294201 -2.793012)'), GeomFromEWKT('SRID=4674;POINT (-40.294125 -2.79302)'))) / (select extract(epoch from '2026-07-23 07:43:25'::timestamp) - extract(epoch from '2026-07-23 07:43: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'), 47640, 'SRID=4674;POINT (-40.294109 -2.793027)', '2026-07-23 07:43:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294125 -2.79302)'), GeomFromEWKT('SRID=4674;POINT (-40.294109 -2.793027)'))) / (select extract(epoch from '2026-07-23 07:43:48'::timestamp) - extract(epoch from '2026-07-23 07:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294125 -2.79302)'), GeomFromEWKT('SRID=4674;POINT (-40.294109 -2.793027)'))) / (select extract(epoch from '2026-07-23 07:43:48'::timestamp) - extract(epoch from '2026-07-23 07:43:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.294061 -2.793018)', '2026-07-23 07:44:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294109 -2.793027)'), GeomFromEWKT('SRID=4674;POINT (-40.294061 -2.793018)'))) / (select extract(epoch from '2026-07-23 07:44:04'::timestamp) - extract(epoch from '2026-07-23 07:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294109 -2.793027)'), GeomFromEWKT('SRID=4674;POINT (-40.294061 -2.793018)'))) / (select extract(epoch from '2026-07-23 07:44:04'::timestamp) - extract(epoch from '2026-07-23 07:43:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.294013 -2.793022)', '2026-07-23 07:44:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294061 -2.793018)'), GeomFromEWKT('SRID=4674;POINT (-40.294013 -2.793022)'))) / (select extract(epoch from '2026-07-23 07:44:24'::timestamp) - extract(epoch from '2026-07-23 07:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294061 -2.793018)'), GeomFromEWKT('SRID=4674;POINT (-40.294013 -2.793022)'))) / (select extract(epoch from '2026-07-23 07:44:24'::timestamp) - extract(epoch from '2026-07-23 07:44: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'), 47640, 'SRID=4674;POINT (-40.293944 -2.79303)', '2026-07-23 07:44:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294013 -2.793022)'), GeomFromEWKT('SRID=4674;POINT (-40.293944 -2.79303)'))) / (select extract(epoch from '2026-07-23 07:44:41'::timestamp) - extract(epoch from '2026-07-23 07:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294013 -2.793022)'), GeomFromEWKT('SRID=4674;POINT (-40.293944 -2.79303)'))) / (select extract(epoch from '2026-07-23 07:44:41'::timestamp) - extract(epoch from '2026-07-23 07:44: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'), 47640, 'SRID=4674;POINT (-40.293854 -2.793044)', '2026-07-23 07:45:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293944 -2.79303)'), GeomFromEWKT('SRID=4674;POINT (-40.293854 -2.793044)'))) / (select extract(epoch from '2026-07-23 07:45:00'::timestamp) - extract(epoch from '2026-07-23 07:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293944 -2.79303)'), GeomFromEWKT('SRID=4674;POINT (-40.293854 -2.793044)'))) / (select extract(epoch from '2026-07-23 07:45:00'::timestamp) - extract(epoch from '2026-07-23 07:44: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'), 47640, 'SRID=4674;POINT (-40.293753 -2.793051)', '2026-07-23 07:45:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293854 -2.793044)'), GeomFromEWKT('SRID=4674;POINT (-40.293753 -2.793051)'))) / (select extract(epoch from '2026-07-23 07:45:22'::timestamp) - extract(epoch from '2026-07-23 07:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293854 -2.793044)'), GeomFromEWKT('SRID=4674;POINT (-40.293753 -2.793051)'))) / (select extract(epoch from '2026-07-23 07:45:22'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.293721 -2.793051)', '2026-07-23 07:45:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293753 -2.793051)'), GeomFromEWKT('SRID=4674;POINT (-40.293721 -2.793051)'))) / (select extract(epoch from '2026-07-23 07:45:38'::timestamp) - extract(epoch from '2026-07-23 07:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293753 -2.793051)'), GeomFromEWKT('SRID=4674;POINT (-40.293721 -2.793051)'))) / (select extract(epoch from '2026-07-23 07:45:38'::timestamp) - extract(epoch from '2026-07-23 07:45: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'), 47640, 'SRID=4674;POINT (-40.293716 -2.793036)', '2026-07-23 07:45:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293721 -2.793051)'), GeomFromEWKT('SRID=4674;POINT (-40.293716 -2.793036)'))) / (select extract(epoch from '2026-07-23 07:45:55'::timestamp) - extract(epoch from '2026-07-23 07:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293721 -2.793051)'), GeomFromEWKT('SRID=4674;POINT (-40.293716 -2.793036)'))) / (select extract(epoch from '2026-07-23 07:45:55'::timestamp) - extract(epoch from '2026-07-23 07:45: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'), 47640, 'SRID=4674;POINT (-40.293655 -2.79303)', '2026-07-23 07:46:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293716 -2.793036)'), GeomFromEWKT('SRID=4674;POINT (-40.293655 -2.79303)'))) / (select extract(epoch from '2026-07-23 07:46:12'::timestamp) - extract(epoch from '2026-07-23 07:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293716 -2.793036)'), GeomFromEWKT('SRID=4674;POINT (-40.293655 -2.79303)'))) / (select extract(epoch from '2026-07-23 07:46:12'::timestamp) - extract(epoch from '2026-07-23 07:45:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.293609 -2.793044)', '2026-07-23 07:46:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293655 -2.79303)'), GeomFromEWKT('SRID=4674;POINT (-40.293609 -2.793044)'))) / (select extract(epoch from '2026-07-23 07:46:27'::timestamp) - extract(epoch from '2026-07-23 07:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293655 -2.79303)'), GeomFromEWKT('SRID=4674;POINT (-40.293609 -2.793044)'))) / (select extract(epoch from '2026-07-23 07:46:27'::timestamp) - extract(epoch from '2026-07-23 07:46:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.293551 -2.793047)', '2026-07-23 07:46:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293609 -2.793044)'), GeomFromEWKT('SRID=4674;POINT (-40.293551 -2.793047)'))) / (select extract(epoch from '2026-07-23 07:46:44'::timestamp) - extract(epoch from '2026-07-23 07:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293609 -2.793044)'), GeomFromEWKT('SRID=4674;POINT (-40.293551 -2.793047)'))) / (select extract(epoch from '2026-07-23 07:46:44'::timestamp) - extract(epoch from '2026-07-23 07:46: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'), 47640, 'SRID=4674;POINT (-40.293524 -2.793037)', '2026-07-23 07:47:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293551 -2.793047)'), GeomFromEWKT('SRID=4674;POINT (-40.293524 -2.793037)'))) / (select extract(epoch from '2026-07-23 07:47:02'::timestamp) - extract(epoch from '2026-07-23 07:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293551 -2.793047)'), GeomFromEWKT('SRID=4674;POINT (-40.293524 -2.793037)'))) / (select extract(epoch from '2026-07-23 07:47:02'::timestamp) - extract(epoch from '2026-07-23 07:46: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'), 47640, 'SRID=4674;POINT (-40.29347 -2.793041)', '2026-07-23 07:47:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293524 -2.793037)'), GeomFromEWKT('SRID=4674;POINT (-40.29347 -2.793041)'))) / (select extract(epoch from '2026-07-23 07:47:18'::timestamp) - extract(epoch from '2026-07-23 07:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293524 -2.793037)'), GeomFromEWKT('SRID=4674;POINT (-40.29347 -2.793041)'))) / (select extract(epoch from '2026-07-23 07:47:18'::timestamp) - extract(epoch from '2026-07-23 07:47: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'), 47640, 'SRID=4674;POINT (-40.293418 -2.793049)', '2026-07-23 07:47:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29347 -2.793041)'), GeomFromEWKT('SRID=4674;POINT (-40.293418 -2.793049)'))) / (select extract(epoch from '2026-07-23 07:47:33'::timestamp) - extract(epoch from '2026-07-23 07:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29347 -2.793041)'), GeomFromEWKT('SRID=4674;POINT (-40.293418 -2.793049)'))) / (select extract(epoch from '2026-07-23 07:47:33'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.29338 -2.793058)', '2026-07-23 07:47:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293418 -2.793049)'), GeomFromEWKT('SRID=4674;POINT (-40.29338 -2.793058)'))) / (select extract(epoch from '2026-07-23 07:47:50'::timestamp) - extract(epoch from '2026-07-23 07:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293418 -2.793049)'), GeomFromEWKT('SRID=4674;POINT (-40.29338 -2.793058)'))) / (select extract(epoch from '2026-07-23 07:47:50'::timestamp) - extract(epoch from '2026-07-23 07:47:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.293375 -2.793048)', '2026-07-23 07:48:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29338 -2.793058)'), GeomFromEWKT('SRID=4674;POINT (-40.293375 -2.793048)'))) / (select extract(epoch from '2026-07-23 07:48:11'::timestamp) - extract(epoch from '2026-07-23 07:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29338 -2.793058)'), GeomFromEWKT('SRID=4674;POINT (-40.293375 -2.793048)'))) / (select extract(epoch from '2026-07-23 07:48:11'::timestamp) - extract(epoch from '2026-07-23 07: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'), 47640, 'SRID=4674;POINT (-40.293341 -2.793055)', '2026-07-23 07:48:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293375 -2.793048)'), GeomFromEWKT('SRID=4674;POINT (-40.293341 -2.793055)'))) / (select extract(epoch from '2026-07-23 07:48:27'::timestamp) - extract(epoch from '2026-07-23 07:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293375 -2.793048)'), GeomFromEWKT('SRID=4674;POINT (-40.293341 -2.793055)'))) / (select extract(epoch from '2026-07-23 07:48:27'::timestamp) - extract(epoch from '2026-07-23 07:48: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'), 47640, 'SRID=4674;POINT (-40.29334 -2.793057)', '2026-07-23 07:48:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293341 -2.793055)'), GeomFromEWKT('SRID=4674;POINT (-40.29334 -2.793057)'))) / (select extract(epoch from '2026-07-23 07:48:43'::timestamp) - extract(epoch from '2026-07-23 07:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293341 -2.793055)'), GeomFromEWKT('SRID=4674;POINT (-40.29334 -2.793057)'))) / (select extract(epoch from '2026-07-23 07:48:43'::timestamp) - extract(epoch from '2026-07-23 07:48:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.293301 -2.793068)', '2026-07-23 07:48:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29334 -2.793057)'), GeomFromEWKT('SRID=4674;POINT (-40.293301 -2.793068)'))) / (select extract(epoch from '2026-07-23 07:48:56'::timestamp) - extract(epoch from '2026-07-23 07:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29334 -2.793057)'), GeomFromEWKT('SRID=4674;POINT (-40.293301 -2.793068)'))) / (select extract(epoch from '2026-07-23 07:48:56'::timestamp) - extract(epoch from '2026-07-23 07:48:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.293208 -2.793084)', '2026-07-23 07:49:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293301 -2.793068)'), GeomFromEWKT('SRID=4674;POINT (-40.293208 -2.793084)'))) / (select extract(epoch from '2026-07-23 07:49:18'::timestamp) - extract(epoch from '2026-07-23 07:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293301 -2.793068)'), GeomFromEWKT('SRID=4674;POINT (-40.293208 -2.793084)'))) / (select extract(epoch from '2026-07-23 07:49:18'::timestamp) - extract(epoch from '2026-07-23 07:48:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.29316 -2.793096)', '2026-07-23 07:49:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293208 -2.793084)'), GeomFromEWKT('SRID=4674;POINT (-40.29316 -2.793096)'))) / (select extract(epoch from '2026-07-23 07:49:37'::timestamp) - extract(epoch from '2026-07-23 07:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293208 -2.793084)'), GeomFromEWKT('SRID=4674;POINT (-40.29316 -2.793096)'))) / (select extract(epoch from '2026-07-23 07:49:37'::timestamp) - extract(epoch from '2026-07-23 07: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'), 47640, 'SRID=4674;POINT (-40.293123 -2.7931)', '2026-07-23 07:49:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29316 -2.793096)'), GeomFromEWKT('SRID=4674;POINT (-40.293123 -2.7931)'))) / (select extract(epoch from '2026-07-23 07:49:59'::timestamp) - extract(epoch from '2026-07-23 07:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29316 -2.793096)'), GeomFromEWKT('SRID=4674;POINT (-40.293123 -2.7931)'))) / (select extract(epoch from '2026-07-23 07:49:59'::timestamp) - extract(epoch from '2026-07-23 07:49: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'), 47640, 'SRID=4674;POINT (-40.293107 -2.793095)', '2026-07-23 07:50:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293123 -2.7931)'), GeomFromEWKT('SRID=4674;POINT (-40.293107 -2.793095)'))) / (select extract(epoch from '2026-07-23 07:50:16'::timestamp) - extract(epoch from '2026-07-23 07:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293123 -2.7931)'), GeomFromEWKT('SRID=4674;POINT (-40.293107 -2.793095)'))) / (select extract(epoch from '2026-07-23 07:50:16'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.293067 -2.793106)', '2026-07-23 07:50:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293107 -2.793095)'), GeomFromEWKT('SRID=4674;POINT (-40.293067 -2.793106)'))) / (select extract(epoch from '2026-07-23 07:50:34'::timestamp) - extract(epoch from '2026-07-23 07:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293107 -2.793095)'), GeomFromEWKT('SRID=4674;POINT (-40.293067 -2.793106)'))) / (select extract(epoch from '2026-07-23 07:50:34'::timestamp) - extract(epoch from '2026-07-23 07:50:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.293006 -2.793118)', '2026-07-23 07:50:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293067 -2.793106)'), GeomFromEWKT('SRID=4674;POINT (-40.293006 -2.793118)'))) / (select extract(epoch from '2026-07-23 07:50:53'::timestamp) - extract(epoch from '2026-07-23 07:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293067 -2.793106)'), GeomFromEWKT('SRID=4674;POINT (-40.293006 -2.793118)'))) / (select extract(epoch from '2026-07-23 07:50:53'::timestamp) - extract(epoch from '2026-07-23 07:50: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'), 47640, 'SRID=4674;POINT (-40.292991 -2.79313)', '2026-07-23 07:51:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293006 -2.793118)'), GeomFromEWKT('SRID=4674;POINT (-40.292991 -2.79313)'))) / (select extract(epoch from '2026-07-23 07:51:11'::timestamp) - extract(epoch from '2026-07-23 07:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293006 -2.793118)'), GeomFromEWKT('SRID=4674;POINT (-40.292991 -2.79313)'))) / (select extract(epoch from '2026-07-23 07:51:11'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.292942 -2.793127)', '2026-07-23 07:51:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292991 -2.79313)'), GeomFromEWKT('SRID=4674;POINT (-40.292942 -2.793127)'))) / (select extract(epoch from '2026-07-23 07:51:25'::timestamp) - extract(epoch from '2026-07-23 07:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292991 -2.79313)'), GeomFromEWKT('SRID=4674;POINT (-40.292942 -2.793127)'))) / (select extract(epoch from '2026-07-23 07:51:25'::timestamp) - extract(epoch from '2026-07-23 07:51: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'), 47640, 'SRID=4674;POINT (-40.292869 -2.793147)', '2026-07-23 07:51:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292942 -2.793127)'), GeomFromEWKT('SRID=4674;POINT (-40.292869 -2.793147)'))) / (select extract(epoch from '2026-07-23 07:51:45'::timestamp) - extract(epoch from '2026-07-23 07:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292942 -2.793127)'), GeomFromEWKT('SRID=4674;POINT (-40.292869 -2.793147)'))) / (select extract(epoch from '2026-07-23 07:51:45'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.292838 -2.79316)', '2026-07-23 07:51:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292869 -2.793147)'), GeomFromEWKT('SRID=4674;POINT (-40.292838 -2.79316)'))) / (select extract(epoch from '2026-07-23 07:51:58'::timestamp) - extract(epoch from '2026-07-23 07:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292869 -2.793147)'), GeomFromEWKT('SRID=4674;POINT (-40.292838 -2.79316)'))) / (select extract(epoch from '2026-07-23 07:51:58'::timestamp) - extract(epoch from '2026-07-23 07:51: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'), 47640, 'SRID=4674;POINT (-40.292806 -2.79316)', '2026-07-23 07:52:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292838 -2.79316)'), GeomFromEWKT('SRID=4674;POINT (-40.292806 -2.79316)'))) / (select extract(epoch from '2026-07-23 07:52:15'::timestamp) - extract(epoch from '2026-07-23 07:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292838 -2.79316)'), GeomFromEWKT('SRID=4674;POINT (-40.292806 -2.79316)'))) / (select extract(epoch from '2026-07-23 07:52:15'::timestamp) - extract(epoch from '2026-07-23 07:51: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'), 47640, 'SRID=4674;POINT (-40.292778 -2.79316)', '2026-07-23 07:52:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292806 -2.79316)'), GeomFromEWKT('SRID=4674;POINT (-40.292778 -2.79316)'))) / (select extract(epoch from '2026-07-23 07:52:31'::timestamp) - extract(epoch from '2026-07-23 07:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292806 -2.79316)'), GeomFromEWKT('SRID=4674;POINT (-40.292778 -2.79316)'))) / (select extract(epoch from '2026-07-23 07:52:31'::timestamp) - extract(epoch from '2026-07-23 07:52: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'), 47640, 'SRID=4674;POINT (-40.292751 -2.793185)', '2026-07-23 07:52:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292778 -2.79316)'), GeomFromEWKT('SRID=4674;POINT (-40.292751 -2.793185)'))) / (select extract(epoch from '2026-07-23 07:52:48'::timestamp) - extract(epoch from '2026-07-23 07:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292778 -2.79316)'), GeomFromEWKT('SRID=4674;POINT (-40.292751 -2.793185)'))) / (select extract(epoch from '2026-07-23 07:52:48'::timestamp) - extract(epoch from '2026-07-23 07:52: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'), 47640, 'SRID=4674;POINT (-40.292747 -2.793175)', '2026-07-23 07:53:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292751 -2.793185)'), GeomFromEWKT('SRID=4674;POINT (-40.292747 -2.793175)'))) / (select extract(epoch from '2026-07-23 07:53:00'::timestamp) - extract(epoch from '2026-07-23 07:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292751 -2.793185)'), GeomFromEWKT('SRID=4674;POINT (-40.292747 -2.793175)'))) / (select extract(epoch from '2026-07-23 07:53:00'::timestamp) - extract(epoch from '2026-07-23 07:52: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'), 47640, 'SRID=4674;POINT (-40.292787 -2.793162)', '2026-07-23 07:53:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292747 -2.793175)'), GeomFromEWKT('SRID=4674;POINT (-40.292787 -2.793162)'))) / (select extract(epoch from '2026-07-23 07:53:14'::timestamp) - extract(epoch from '2026-07-23 07:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292747 -2.793175)'), GeomFromEWKT('SRID=4674;POINT (-40.292787 -2.793162)'))) / (select extract(epoch from '2026-07-23 07:53:14'::timestamp) - extract(epoch from '2026-07-23 07:53:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.29286 -2.793156)', '2026-07-23 07:53:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292787 -2.793162)'), GeomFromEWKT('SRID=4674;POINT (-40.29286 -2.793156)'))) / (select extract(epoch from '2026-07-23 07:53:29'::timestamp) - extract(epoch from '2026-07-23 07:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292787 -2.793162)'), GeomFromEWKT('SRID=4674;POINT (-40.29286 -2.793156)'))) / (select extract(epoch from '2026-07-23 07:53:29'::timestamp) - extract(epoch from '2026-07-23 07:53:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.292945 -2.793156)', '2026-07-23 07:53:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29286 -2.793156)'), GeomFromEWKT('SRID=4674;POINT (-40.292945 -2.793156)'))) / (select extract(epoch from '2026-07-23 07:53:47'::timestamp) - extract(epoch from '2026-07-23 07:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29286 -2.793156)'), GeomFromEWKT('SRID=4674;POINT (-40.292945 -2.793156)'))) / (select extract(epoch from '2026-07-23 07:53:47'::timestamp) - extract(epoch from '2026-07-23 07:53: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'), 47640, 'SRID=4674;POINT (-40.293005 -2.793198)', '2026-07-23 07:54:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292945 -2.793156)'), GeomFromEWKT('SRID=4674;POINT (-40.293005 -2.793198)'))) / (select extract(epoch from '2026-07-23 07:54:05'::timestamp) - extract(epoch from '2026-07-23 07:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.292945 -2.793156)'), GeomFromEWKT('SRID=4674;POINT (-40.293005 -2.793198)'))) / (select extract(epoch from '2026-07-23 07:54:05'::timestamp) - extract(epoch from '2026-07-23 07:53: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'), 47640, 'SRID=4674;POINT (-40.293044 -2.7932)', '2026-07-23 07:54:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293005 -2.793198)'), GeomFromEWKT('SRID=4674;POINT (-40.293044 -2.7932)'))) / (select extract(epoch from '2026-07-23 07:54:20'::timestamp) - extract(epoch from '2026-07-23 07:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293005 -2.793198)'), GeomFromEWKT('SRID=4674;POINT (-40.293044 -2.7932)'))) / (select extract(epoch from '2026-07-23 07:54:20'::timestamp) - extract(epoch from '2026-07-23 07:54: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'), 47640, 'SRID=4674;POINT (-40.293083 -2.793201)', '2026-07-23 07:54:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293044 -2.7932)'), GeomFromEWKT('SRID=4674;POINT (-40.293083 -2.793201)'))) / (select extract(epoch from '2026-07-23 07:54:32'::timestamp) - extract(epoch from '2026-07-23 07:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293044 -2.7932)'), GeomFromEWKT('SRID=4674;POINT (-40.293083 -2.793201)'))) / (select extract(epoch from '2026-07-23 07:54:32'::timestamp) - extract(epoch from '2026-07-23 07:54:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.29311 -2.793197)', '2026-07-23 07:54:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293083 -2.793201)'), GeomFromEWKT('SRID=4674;POINT (-40.29311 -2.793197)'))) / (select extract(epoch from '2026-07-23 07:54:46'::timestamp) - extract(epoch from '2026-07-23 07:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293083 -2.793201)'), GeomFromEWKT('SRID=4674;POINT (-40.29311 -2.793197)'))) / (select extract(epoch from '2026-07-23 07:54:46'::timestamp) - extract(epoch from '2026-07-23 07:54: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'), 47640, 'SRID=4674;POINT (-40.293159 -2.793195)', '2026-07-23 07:55:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29311 -2.793197)'), GeomFromEWKT('SRID=4674;POINT (-40.293159 -2.793195)'))) / (select extract(epoch from '2026-07-23 07:55:01'::timestamp) - extract(epoch from '2026-07-23 07:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29311 -2.793197)'), GeomFromEWKT('SRID=4674;POINT (-40.293159 -2.793195)'))) / (select extract(epoch from '2026-07-23 07:55:01'::timestamp) - extract(epoch from '2026-07-23 07:54: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'), 47640, 'SRID=4674;POINT (-40.293214 -2.793181)', '2026-07-23 07:55:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293159 -2.793195)'), GeomFromEWKT('SRID=4674;POINT (-40.293214 -2.793181)'))) / (select extract(epoch from '2026-07-23 07:55:16'::timestamp) - extract(epoch from '2026-07-23 07:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293159 -2.793195)'), GeomFromEWKT('SRID=4674;POINT (-40.293214 -2.793181)'))) / (select extract(epoch from '2026-07-23 07:55:16'::timestamp) - extract(epoch from '2026-07-23 07:55: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'), 47640, 'SRID=4674;POINT (-40.293277 -2.793168)', '2026-07-23 07:55:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293214 -2.793181)'), GeomFromEWKT('SRID=4674;POINT (-40.293277 -2.793168)'))) / (select extract(epoch from '2026-07-23 07:55:33'::timestamp) - extract(epoch from '2026-07-23 07:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293214 -2.793181)'), GeomFromEWKT('SRID=4674;POINT (-40.293277 -2.793168)'))) / (select extract(epoch from '2026-07-23 07:55:33'::timestamp) - extract(epoch from '2026-07-23 07: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'), 47640, 'SRID=4674;POINT (-40.293314 -2.79316)', '2026-07-23 07:55:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293277 -2.793168)'), GeomFromEWKT('SRID=4674;POINT (-40.293314 -2.79316)'))) / (select extract(epoch from '2026-07-23 07:55:48'::timestamp) - extract(epoch from '2026-07-23 07:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293277 -2.793168)'), GeomFromEWKT('SRID=4674;POINT (-40.293314 -2.79316)'))) / (select extract(epoch from '2026-07-23 07:55:48'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.293346 -2.793145)', '2026-07-23 07:56:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293314 -2.79316)'), GeomFromEWKT('SRID=4674;POINT (-40.293346 -2.793145)'))) / (select extract(epoch from '2026-07-23 07:56:05'::timestamp) - extract(epoch from '2026-07-23 07:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293314 -2.79316)'), GeomFromEWKT('SRID=4674;POINT (-40.293346 -2.793145)'))) / (select extract(epoch from '2026-07-23 07:56:05'::timestamp) - extract(epoch from '2026-07-23 07: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'), 47640, 'SRID=4674;POINT (-40.29341 -2.793106)', '2026-07-23 07:56:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293346 -2.793145)'), GeomFromEWKT('SRID=4674;POINT (-40.29341 -2.793106)'))) / (select extract(epoch from '2026-07-23 07:56:24'::timestamp) - extract(epoch from '2026-07-23 07:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293346 -2.793145)'), GeomFromEWKT('SRID=4674;POINT (-40.29341 -2.793106)'))) / (select extract(epoch from '2026-07-23 07:56:24'::timestamp) - extract(epoch from '2026-07-23 07:56: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'), 47640, 'SRID=4674;POINT (-40.293454 -2.7931)', '2026-07-23 07:56:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29341 -2.793106)'), GeomFromEWKT('SRID=4674;POINT (-40.293454 -2.7931)'))) / (select extract(epoch from '2026-07-23 07:56:38'::timestamp) - extract(epoch from '2026-07-23 07:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29341 -2.793106)'), GeomFromEWKT('SRID=4674;POINT (-40.293454 -2.7931)'))) / (select extract(epoch from '2026-07-23 07:56:38'::timestamp) - extract(epoch from '2026-07-23 07:56: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'), 47640, 'SRID=4674;POINT (-40.29352 -2.793089)', '2026-07-23 07:56:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293454 -2.7931)'), GeomFromEWKT('SRID=4674;POINT (-40.29352 -2.793089)'))) / (select extract(epoch from '2026-07-23 07:56:58'::timestamp) - extract(epoch from '2026-07-23 07:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293454 -2.7931)'), GeomFromEWKT('SRID=4674;POINT (-40.29352 -2.793089)'))) / (select extract(epoch from '2026-07-23 07:56:58'::timestamp) - extract(epoch from '2026-07-23 07:56: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'), 47640, 'SRID=4674;POINT (-40.293552 -2.793051)', '2026-07-23 07:57:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29352 -2.793089)'), GeomFromEWKT('SRID=4674;POINT (-40.293552 -2.793051)'))) / (select extract(epoch from '2026-07-23 07:57:16'::timestamp) - extract(epoch from '2026-07-23 07:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29352 -2.793089)'), GeomFromEWKT('SRID=4674;POINT (-40.293552 -2.793051)'))) / (select extract(epoch from '2026-07-23 07:57:16'::timestamp) - extract(epoch from '2026-07-23 07: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'), 47640, 'SRID=4674;POINT (-40.293594 -2.793006)', '2026-07-23 07:57:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293552 -2.793051)'), GeomFromEWKT('SRID=4674;POINT (-40.293594 -2.793006)'))) / (select extract(epoch from '2026-07-23 07:57:33'::timestamp) - extract(epoch from '2026-07-23 07:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293552 -2.793051)'), GeomFromEWKT('SRID=4674;POINT (-40.293594 -2.793006)'))) / (select extract(epoch from '2026-07-23 07:57:33'::timestamp) - extract(epoch from '2026-07-23 07:57: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'), 47640, 'SRID=4674;POINT (-40.293633 -2.792927)', '2026-07-23 07:57:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293594 -2.793006)'), GeomFromEWKT('SRID=4674;POINT (-40.293633 -2.792927)'))) / (select extract(epoch from '2026-07-23 07:57:52'::timestamp) - extract(epoch from '2026-07-23 07:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293594 -2.793006)'), GeomFromEWKT('SRID=4674;POINT (-40.293633 -2.792927)'))) / (select extract(epoch from '2026-07-23 07:57:52'::timestamp) - extract(epoch from '2026-07-23 07:57: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'), 47640, 'SRID=4674;POINT (-40.293718 -2.792851)', '2026-07-23 07:58:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293633 -2.792927)'), GeomFromEWKT('SRID=4674;POINT (-40.293718 -2.792851)'))) / (select extract(epoch from '2026-07-23 07:58:07'::timestamp) - extract(epoch from '2026-07-23 07:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293633 -2.792927)'), GeomFromEWKT('SRID=4674;POINT (-40.293718 -2.792851)'))) / (select extract(epoch from '2026-07-23 07:58:07'::timestamp) - extract(epoch from '2026-07-23 07:57: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'), 47640, 'SRID=4674;POINT (-40.293851 -2.79284)', '2026-07-23 07:58:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293718 -2.792851)'), GeomFromEWKT('SRID=4674;POINT (-40.293851 -2.79284)'))) / (select extract(epoch from '2026-07-23 07:58:21'::timestamp) - extract(epoch from '2026-07-23 07:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293718 -2.792851)'), GeomFromEWKT('SRID=4674;POINT (-40.293851 -2.79284)'))) / (select extract(epoch from '2026-07-23 07:58:21'::timestamp) - extract(epoch from '2026-07-23 07:58: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'), 47640, 'SRID=4674;POINT (-40.293952 -2.79287)', '2026-07-23 07:58:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293851 -2.79284)'), GeomFromEWKT('SRID=4674;POINT (-40.293952 -2.79287)'))) / (select extract(epoch from '2026-07-23 07:58:32'::timestamp) - extract(epoch from '2026-07-23 07:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293851 -2.79284)'), GeomFromEWKT('SRID=4674;POINT (-40.293952 -2.79287)'))) / (select extract(epoch from '2026-07-23 07:58:32'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.293965 -2.792879)', '2026-07-23 07:58:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293952 -2.79287)'), GeomFromEWKT('SRID=4674;POINT (-40.293965 -2.792879)'))) / (select extract(epoch from '2026-07-23 07:58:34'::timestamp) - extract(epoch from '2026-07-23 07:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293952 -2.79287)'), GeomFromEWKT('SRID=4674;POINT (-40.293965 -2.792879)'))) / (select extract(epoch from '2026-07-23 07:58:34'::timestamp) - extract(epoch from '2026-07-23 07:58:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.293995 -2.792893)', '2026-07-23 07:58:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293965 -2.792879)'), GeomFromEWKT('SRID=4674;POINT (-40.293995 -2.792893)'))) / (select extract(epoch from '2026-07-23 07:58:38'::timestamp) - extract(epoch from '2026-07-23 07:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293965 -2.792879)'), GeomFromEWKT('SRID=4674;POINT (-40.293995 -2.792893)'))) / (select extract(epoch from '2026-07-23 07:58:38'::timestamp) - extract(epoch from '2026-07-23 07:58: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'), 47640, 'SRID=4674;POINT (-40.294049 -2.792919)', '2026-07-23 07:58:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293995 -2.792893)'), GeomFromEWKT('SRID=4674;POINT (-40.294049 -2.792919)'))) / (select extract(epoch from '2026-07-23 07:58:46'::timestamp) - extract(epoch from '2026-07-23 07:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.293995 -2.792893)'), GeomFromEWKT('SRID=4674;POINT (-40.294049 -2.792919)'))) / (select extract(epoch from '2026-07-23 07:58:46'::timestamp) - extract(epoch from '2026-07-23 07:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.29412 -2.792942)', '2026-07-23 07:58:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294049 -2.792919)'), GeomFromEWKT('SRID=4674;POINT (-40.29412 -2.792942)'))) / (select extract(epoch from '2026-07-23 07:58:58'::timestamp) - extract(epoch from '2026-07-23 07:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294049 -2.792919)'), GeomFromEWKT('SRID=4674;POINT (-40.29412 -2.792942)'))) / (select extract(epoch from '2026-07-23 07:58:58'::timestamp) - extract(epoch from '2026-07-23 07:58: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'), 47640, 'SRID=4674;POINT (-40.294182 -2.792958)', '2026-07-23 07:59:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29412 -2.792942)'), GeomFromEWKT('SRID=4674;POINT (-40.294182 -2.792958)'))) / (select extract(epoch from '2026-07-23 07:59:08'::timestamp) - extract(epoch from '2026-07-23 07:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29412 -2.792942)'), GeomFromEWKT('SRID=4674;POINT (-40.294182 -2.792958)'))) / (select extract(epoch from '2026-07-23 07:59:08'::timestamp) - extract(epoch from '2026-07-23 07:58: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'), 47640, 'SRID=4674;POINT (-40.294251 -2.792982)', '2026-07-23 07:59:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294182 -2.792958)'), GeomFromEWKT('SRID=4674;POINT (-40.294251 -2.792982)'))) / (select extract(epoch from '2026-07-23 07:59:21'::timestamp) - extract(epoch from '2026-07-23 07:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294182 -2.792958)'), GeomFromEWKT('SRID=4674;POINT (-40.294251 -2.792982)'))) / (select extract(epoch from '2026-07-23 07:59:21'::timestamp) - extract(epoch from '2026-07-23 07:59: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'), 47640, 'SRID=4674;POINT (-40.2943 -2.793008)', '2026-07-23 07:59:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294251 -2.792982)'), GeomFromEWKT('SRID=4674;POINT (-40.2943 -2.793008)'))) / (select extract(epoch from '2026-07-23 07:59:31'::timestamp) - extract(epoch from '2026-07-23 07:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294251 -2.792982)'), GeomFromEWKT('SRID=4674;POINT (-40.2943 -2.793008)'))) / (select extract(epoch from '2026-07-23 07:59:31'::timestamp) - extract(epoch from '2026-07-23 07: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'), 47640, 'SRID=4674;POINT (-40.294361 -2.793034)', '2026-07-23 07:59:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2943 -2.793008)'), GeomFromEWKT('SRID=4674;POINT (-40.294361 -2.793034)'))) / (select extract(epoch from '2026-07-23 07:59:44'::timestamp) - extract(epoch from '2026-07-23 07:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.2943 -2.793008)'), GeomFromEWKT('SRID=4674;POINT (-40.294361 -2.793034)'))) / (select extract(epoch from '2026-07-23 07:59:44'::timestamp) - extract(epoch from '2026-07-23 07:59: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'), 47640, 'SRID=4674;POINT (-40.294457 -2.793066)', '2026-07-23 08:00:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294361 -2.793034)'), GeomFromEWKT('SRID=4674;POINT (-40.294457 -2.793066)'))) / (select extract(epoch from '2026-07-23 08:00:02'::timestamp) - extract(epoch from '2026-07-23 07:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294361 -2.793034)'), GeomFromEWKT('SRID=4674;POINT (-40.294457 -2.793066)'))) / (select extract(epoch from '2026-07-23 08:00:02'::timestamp) - extract(epoch from '2026-07-23 07:59: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'), 47640, 'SRID=4674;POINT (-40.294553 -2.793102)', '2026-07-23 08:00:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294457 -2.793066)'), GeomFromEWKT('SRID=4674;POINT (-40.294553 -2.793102)'))) / (select extract(epoch from '2026-07-23 08:00:18'::timestamp) - extract(epoch from '2026-07-23 08:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294457 -2.793066)'), GeomFromEWKT('SRID=4674;POINT (-40.294553 -2.793102)'))) / (select extract(epoch from '2026-07-23 08:00:18'::timestamp) - extract(epoch from '2026-07-23 08:00: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'), 47640, 'SRID=4674;POINT (-40.294606 -2.793126)', '2026-07-23 08:00:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294553 -2.793102)'), GeomFromEWKT('SRID=4674;POINT (-40.294606 -2.793126)'))) / (select extract(epoch from '2026-07-23 08:00:30'::timestamp) - extract(epoch from '2026-07-23 08:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294553 -2.793102)'), GeomFromEWKT('SRID=4674;POINT (-40.294606 -2.793126)'))) / (select extract(epoch from '2026-07-23 08:00:30'::timestamp) - extract(epoch from '2026-07-23 08:00: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'), 47640, 'SRID=4674;POINT (-40.294708 -2.79315)', '2026-07-23 08:00:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294606 -2.793126)'), GeomFromEWKT('SRID=4674;POINT (-40.294708 -2.79315)'))) / (select extract(epoch from '2026-07-23 08:00:49'::timestamp) - extract(epoch from '2026-07-23 08:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294606 -2.793126)'), GeomFromEWKT('SRID=4674;POINT (-40.294708 -2.79315)'))) / (select extract(epoch from '2026-07-23 08:00:49'::timestamp) - extract(epoch from '2026-07-23 08:00: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'), 47640, 'SRID=4674;POINT (-40.294789 -2.793171)', '2026-07-23 08:01:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294708 -2.79315)'), GeomFromEWKT('SRID=4674;POINT (-40.294789 -2.793171)'))) / (select extract(epoch from '2026-07-23 08:01:00'::timestamp) - extract(epoch from '2026-07-23 08:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294708 -2.79315)'), GeomFromEWKT('SRID=4674;POINT (-40.294789 -2.793171)'))) / (select extract(epoch from '2026-07-23 08:01:00'::timestamp) - extract(epoch from '2026-07-23 08:00: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'), 47640, 'SRID=4674;POINT (-40.294842 -2.793217)', '2026-07-23 08:01:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294789 -2.793171)'), GeomFromEWKT('SRID=4674;POINT (-40.294842 -2.793217)'))) / (select extract(epoch from '2026-07-23 08:01:13'::timestamp) - extract(epoch from '2026-07-23 08:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294789 -2.793171)'), GeomFromEWKT('SRID=4674;POINT (-40.294842 -2.793217)'))) / (select extract(epoch from '2026-07-23 08:01:13'::timestamp) - extract(epoch from '2026-07-23 08:01:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.294888 -2.793267)', '2026-07-23 08:01:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294842 -2.793217)'), GeomFromEWKT('SRID=4674;POINT (-40.294888 -2.793267)'))) / (select extract(epoch from '2026-07-23 08:01:24'::timestamp) - extract(epoch from '2026-07-23 08:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294842 -2.793217)'), GeomFromEWKT('SRID=4674;POINT (-40.294888 -2.793267)'))) / (select extract(epoch from '2026-07-23 08:01:24'::timestamp) - extract(epoch from '2026-07-23 08:01: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'), 47640, 'SRID=4674;POINT (-40.294954 -2.793336)', '2026-07-23 08:01:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294888 -2.793267)'), GeomFromEWKT('SRID=4674;POINT (-40.294954 -2.793336)'))) / (select extract(epoch from '2026-07-23 08:01:39'::timestamp) - extract(epoch from '2026-07-23 08:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294888 -2.793267)'), GeomFromEWKT('SRID=4674;POINT (-40.294954 -2.793336)'))) / (select extract(epoch from '2026-07-23 08:01:39'::timestamp) - extract(epoch from '2026-07-23 08:01:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.295002 -2.793369)', '2026-07-23 08:01:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294954 -2.793336)'), GeomFromEWKT('SRID=4674;POINT (-40.295002 -2.793369)'))) / (select extract(epoch from '2026-07-23 08:01:54'::timestamp) - extract(epoch from '2026-07-23 08:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.294954 -2.793336)'), GeomFromEWKT('SRID=4674;POINT (-40.295002 -2.793369)'))) / (select extract(epoch from '2026-07-23 08:01:54'::timestamp) - extract(epoch from '2026-07-23 08:01: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'), 47640, 'SRID=4674;POINT (-40.295055 -2.793424)', '2026-07-23 08:02:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295002 -2.793369)'), GeomFromEWKT('SRID=4674;POINT (-40.295055 -2.793424)'))) / (select extract(epoch from '2026-07-23 08:02:07'::timestamp) - extract(epoch from '2026-07-23 08:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295002 -2.793369)'), GeomFromEWKT('SRID=4674;POINT (-40.295055 -2.793424)'))) / (select extract(epoch from '2026-07-23 08:02:07'::timestamp) - extract(epoch from '2026-07-23 08:01:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.295116 -2.793507)', '2026-07-23 08:02:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295055 -2.793424)'), GeomFromEWKT('SRID=4674;POINT (-40.295116 -2.793507)'))) / (select extract(epoch from '2026-07-23 08:02:17'::timestamp) - extract(epoch from '2026-07-23 08:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295055 -2.793424)'), GeomFromEWKT('SRID=4674;POINT (-40.295116 -2.793507)'))) / (select extract(epoch from '2026-07-23 08:02:17'::timestamp) - extract(epoch from '2026-07-23 08:02: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'), 47640, 'SRID=4674;POINT (-40.295201 -2.793592)', '2026-07-23 08:02:24', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295116 -2.793507)'), GeomFromEWKT('SRID=4674;POINT (-40.295201 -2.793592)'))) / (select extract(epoch from '2026-07-23 08:02:24'::timestamp) - extract(epoch from '2026-07-23 08:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295116 -2.793507)'), GeomFromEWKT('SRID=4674;POINT (-40.295201 -2.793592)'))) / (select extract(epoch from '2026-07-23 08:02:24'::timestamp) - extract(epoch from '2026-07-23 08:02: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'), 47640, 'SRID=4674;POINT (-40.295313 -2.793689)', '2026-07-23 08:02:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295201 -2.793592)'), GeomFromEWKT('SRID=4674;POINT (-40.295313 -2.793689)'))) / (select extract(epoch from '2026-07-23 08:02:30'::timestamp) - extract(epoch from '2026-07-23 08:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295201 -2.793592)'), GeomFromEWKT('SRID=4674;POINT (-40.295313 -2.793689)'))) / (select extract(epoch from '2026-07-23 08:02:30'::timestamp) - extract(epoch from '2026-07-23 08:02: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'), 47640, 'SRID=4674;POINT (-40.295442 -2.793752)', '2026-07-23 08:02:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295313 -2.793689)'), GeomFromEWKT('SRID=4674;POINT (-40.295442 -2.793752)'))) / (select extract(epoch from '2026-07-23 08:02:36'::timestamp) - extract(epoch from '2026-07-23 08:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295313 -2.793689)'), GeomFromEWKT('SRID=4674;POINT (-40.295442 -2.793752)'))) / (select extract(epoch from '2026-07-23 08:02:36'::timestamp) - extract(epoch from '2026-07-23 08:02: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'), 47640, 'SRID=4674;POINT (-40.295584 -2.793796)', '2026-07-23 08:02:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295442 -2.793752)'), GeomFromEWKT('SRID=4674;POINT (-40.295584 -2.793796)'))) / (select extract(epoch from '2026-07-23 08:02:42'::timestamp) - extract(epoch from '2026-07-23 08:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295442 -2.793752)'), GeomFromEWKT('SRID=4674;POINT (-40.295584 -2.793796)'))) / (select extract(epoch from '2026-07-23 08:02:42'::timestamp) - extract(epoch from '2026-07-23 08:02: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'), 47640, 'SRID=4674;POINT (-40.295871 -2.793846)', '2026-07-23 08:02:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295584 -2.793796)'), GeomFromEWKT('SRID=4674;POINT (-40.295871 -2.793846)'))) / (select extract(epoch from '2026-07-23 08:02:53'::timestamp) - extract(epoch from '2026-07-23 08:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295584 -2.793796)'), GeomFromEWKT('SRID=4674;POINT (-40.295871 -2.793846)'))) / (select extract(epoch from '2026-07-23 08:02:53'::timestamp) - extract(epoch from '2026-07-23 08:02:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.296071 -2.793887)', '2026-07-23 08:03:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295871 -2.793846)'), GeomFromEWKT('SRID=4674;POINT (-40.296071 -2.793887)'))) / (select extract(epoch from '2026-07-23 08:03:01'::timestamp) - extract(epoch from '2026-07-23 08:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.295871 -2.793846)'), GeomFromEWKT('SRID=4674;POINT (-40.296071 -2.793887)'))) / (select extract(epoch from '2026-07-23 08:03:01'::timestamp) - extract(epoch from '2026-07-23 08:02: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'), 47640, 'SRID=4674;POINT (-40.296268 -2.793908)', '2026-07-23 08:03:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296071 -2.793887)'), GeomFromEWKT('SRID=4674;POINT (-40.296268 -2.793908)'))) / (select extract(epoch from '2026-07-23 08:03:08'::timestamp) - extract(epoch from '2026-07-23 08:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296071 -2.793887)'), GeomFromEWKT('SRID=4674;POINT (-40.296268 -2.793908)'))) / (select extract(epoch from '2026-07-23 08:03:08'::timestamp) - extract(epoch from '2026-07-23 08:03:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.296445 -2.793944)', '2026-07-23 08:03:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296268 -2.793908)'), GeomFromEWKT('SRID=4674;POINT (-40.296445 -2.793944)'))) / (select extract(epoch from '2026-07-23 08:03:15'::timestamp) - extract(epoch from '2026-07-23 08:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296268 -2.793908)'), GeomFromEWKT('SRID=4674;POINT (-40.296445 -2.793944)'))) / (select extract(epoch from '2026-07-23 08:03:15'::timestamp) - extract(epoch from '2026-07-23 08:03:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.29666 -2.793967)', '2026-07-23 08:03:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296445 -2.793944)'), GeomFromEWKT('SRID=4674;POINT (-40.29666 -2.793967)'))) / (select extract(epoch from '2026-07-23 08:03:23'::timestamp) - extract(epoch from '2026-07-23 08:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296445 -2.793944)'), GeomFromEWKT('SRID=4674;POINT (-40.29666 -2.793967)'))) / (select extract(epoch from '2026-07-23 08:03:23'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.296872 -2.79398)', '2026-07-23 08:03:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29666 -2.793967)'), GeomFromEWKT('SRID=4674;POINT (-40.296872 -2.79398)'))) / (select extract(epoch from '2026-07-23 08:03:32'::timestamp) - extract(epoch from '2026-07-23 08:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.29666 -2.793967)'), GeomFromEWKT('SRID=4674;POINT (-40.296872 -2.79398)'))) / (select extract(epoch from '2026-07-23 08:03:32'::timestamp) - extract(epoch from '2026-07-23 08:03:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.297058 -2.793998)', '2026-07-23 08:03:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296872 -2.79398)'), GeomFromEWKT('SRID=4674;POINT (-40.297058 -2.793998)'))) / (select extract(epoch from '2026-07-23 08:03:39'::timestamp) - extract(epoch from '2026-07-23 08:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.296872 -2.79398)'), GeomFromEWKT('SRID=4674;POINT (-40.297058 -2.793998)'))) / (select extract(epoch from '2026-07-23 08:03:39'::timestamp) - extract(epoch from '2026-07-23 08:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.297286 -2.79403)', '2026-07-23 08:03:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297058 -2.793998)'), GeomFromEWKT('SRID=4674;POINT (-40.297286 -2.79403)'))) / (select extract(epoch from '2026-07-23 08:03:48'::timestamp) - extract(epoch from '2026-07-23 08:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297058 -2.793998)'), GeomFromEWKT('SRID=4674;POINT (-40.297286 -2.79403)'))) / (select extract(epoch from '2026-07-23 08:03:48'::timestamp) - extract(epoch from '2026-07-23 08:03:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.297549 -2.794039)', '2026-07-23 08:03:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297286 -2.79403)'), GeomFromEWKT('SRID=4674;POINT (-40.297549 -2.794039)'))) / (select extract(epoch from '2026-07-23 08:03:58'::timestamp) - extract(epoch from '2026-07-23 08:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297286 -2.79403)'), GeomFromEWKT('SRID=4674;POINT (-40.297549 -2.794039)'))) / (select extract(epoch from '2026-07-23 08:03:58'::timestamp) - extract(epoch from '2026-07-23 08:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.297743 -2.794055)', '2026-07-23 08:04:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297549 -2.794039)'), GeomFromEWKT('SRID=4674;POINT (-40.297743 -2.794055)'))) / (select extract(epoch from '2026-07-23 08:04:06'::timestamp) - extract(epoch from '2026-07-23 08:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297549 -2.794039)'), GeomFromEWKT('SRID=4674;POINT (-40.297743 -2.794055)'))) / (select extract(epoch from '2026-07-23 08:04:06'::timestamp) - extract(epoch from '2026-07-23 08:03: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'), 47640, 'SRID=4674;POINT (-40.297937 -2.794078)', '2026-07-23 08:04:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297743 -2.794055)'), GeomFromEWKT('SRID=4674;POINT (-40.297937 -2.794078)'))) / (select extract(epoch from '2026-07-23 08:04:14'::timestamp) - extract(epoch from '2026-07-23 08:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297743 -2.794055)'), GeomFromEWKT('SRID=4674;POINT (-40.297937 -2.794078)'))) / (select extract(epoch from '2026-07-23 08:04:14'::timestamp) - extract(epoch from '2026-07-23 08:04:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.298118 -2.794092)', '2026-07-23 08:04:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297937 -2.794078)'), GeomFromEWKT('SRID=4674;POINT (-40.298118 -2.794092)'))) / (select extract(epoch from '2026-07-23 08:04:22'::timestamp) - extract(epoch from '2026-07-23 08:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.297937 -2.794078)'), GeomFromEWKT('SRID=4674;POINT (-40.298118 -2.794092)'))) / (select extract(epoch from '2026-07-23 08:04:22'::timestamp) - extract(epoch from '2026-07-23 08:04: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'), 47640, 'SRID=4674;POINT (-40.298304 -2.794108)', '2026-07-23 08:04:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298118 -2.794092)'), GeomFromEWKT('SRID=4674;POINT (-40.298304 -2.794108)'))) / (select extract(epoch from '2026-07-23 08:04:30'::timestamp) - extract(epoch from '2026-07-23 08:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298118 -2.794092)'), GeomFromEWKT('SRID=4674;POINT (-40.298304 -2.794108)'))) / (select extract(epoch from '2026-07-23 08:04:30'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.298521 -2.794124)', '2026-07-23 08:04:40', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298304 -2.794108)'), GeomFromEWKT('SRID=4674;POINT (-40.298521 -2.794124)'))) / (select extract(epoch from '2026-07-23 08:04:40'::timestamp) - extract(epoch from '2026-07-23 08:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298304 -2.794108)'), GeomFromEWKT('SRID=4674;POINT (-40.298521 -2.794124)'))) / (select extract(epoch from '2026-07-23 08:04:40'::timestamp) - extract(epoch from '2026-07-23 08:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.298746 -2.794152)', '2026-07-23 08:04:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298521 -2.794124)'), GeomFromEWKT('SRID=4674;POINT (-40.298746 -2.794152)'))) / (select extract(epoch from '2026-07-23 08:04:50'::timestamp) - extract(epoch from '2026-07-23 08:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298521 -2.794124)'), GeomFromEWKT('SRID=4674;POINT (-40.298746 -2.794152)'))) / (select extract(epoch from '2026-07-23 08:04:50'::timestamp) - extract(epoch from '2026-07-23 08:04: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'), 47640, 'SRID=4674;POINT (-40.298961 -2.794179)', '2026-07-23 08:04:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298746 -2.794152)'), GeomFromEWKT('SRID=4674;POINT (-40.298961 -2.794179)'))) / (select extract(epoch from '2026-07-23 08:04:59'::timestamp) - extract(epoch from '2026-07-23 08:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298746 -2.794152)'), GeomFromEWKT('SRID=4674;POINT (-40.298961 -2.794179)'))) / (select extract(epoch from '2026-07-23 08:04:59'::timestamp) - extract(epoch from '2026-07-23 08:04:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.299235 -2.794222)', '2026-07-23 08:05:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298961 -2.794179)'), GeomFromEWKT('SRID=4674;POINT (-40.299235 -2.794222)'))) / (select extract(epoch from '2026-07-23 08:05:10'::timestamp) - extract(epoch from '2026-07-23 08:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.298961 -2.794179)'), GeomFromEWKT('SRID=4674;POINT (-40.299235 -2.794222)'))) / (select extract(epoch from '2026-07-23 08:05:10'::timestamp) - extract(epoch from '2026-07-23 08:04:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.299424 -2.794243)', '2026-07-23 08:05:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299235 -2.794222)'), GeomFromEWKT('SRID=4674;POINT (-40.299424 -2.794243)'))) / (select extract(epoch from '2026-07-23 08:05:18'::timestamp) - extract(epoch from '2026-07-23 08:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299235 -2.794222)'), GeomFromEWKT('SRID=4674;POINT (-40.299424 -2.794243)'))) / (select extract(epoch from '2026-07-23 08:05:18'::timestamp) - extract(epoch from '2026-07-23 08:05:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.299602 -2.79426)', '2026-07-23 08:05:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299424 -2.794243)'), GeomFromEWKT('SRID=4674;POINT (-40.299602 -2.79426)'))) / (select extract(epoch from '2026-07-23 08:05:25'::timestamp) - extract(epoch from '2026-07-23 08:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299424 -2.794243)'), GeomFromEWKT('SRID=4674;POINT (-40.299602 -2.79426)'))) / (select extract(epoch from '2026-07-23 08:05:25'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.299827 -2.794273)', '2026-07-23 08:05:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299602 -2.79426)'), GeomFromEWKT('SRID=4674;POINT (-40.299827 -2.794273)'))) / (select extract(epoch from '2026-07-23 08:05:34'::timestamp) - extract(epoch from '2026-07-23 08:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299602 -2.79426)'), GeomFromEWKT('SRID=4674;POINT (-40.299827 -2.794273)'))) / (select extract(epoch from '2026-07-23 08:05:34'::timestamp) - extract(epoch from '2026-07-23 08:05: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'), 47640, 'SRID=4674;POINT (-40.300017 -2.794294)', '2026-07-23 08:05:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299827 -2.794273)'), GeomFromEWKT('SRID=4674;POINT (-40.300017 -2.794294)'))) / (select extract(epoch from '2026-07-23 08:05:42'::timestamp) - extract(epoch from '2026-07-23 08:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.299827 -2.794273)'), GeomFromEWKT('SRID=4674;POINT (-40.300017 -2.794294)'))) / (select extract(epoch from '2026-07-23 08:05:42'::timestamp) - extract(epoch from '2026-07-23 08:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.300198 -2.794328)', '2026-07-23 08:05:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300017 -2.794294)'), GeomFromEWKT('SRID=4674;POINT (-40.300198 -2.794328)'))) / (select extract(epoch from '2026-07-23 08:05:50'::timestamp) - extract(epoch from '2026-07-23 08:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300017 -2.794294)'), GeomFromEWKT('SRID=4674;POINT (-40.300198 -2.794328)'))) / (select extract(epoch from '2026-07-23 08:05:50'::timestamp) - extract(epoch from '2026-07-23 08:05:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.300351 -2.794368)', '2026-07-23 08:05:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300198 -2.794328)'), GeomFromEWKT('SRID=4674;POINT (-40.300351 -2.794368)'))) / (select extract(epoch from '2026-07-23 08:05:57'::timestamp) - extract(epoch from '2026-07-23 08:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300198 -2.794328)'), GeomFromEWKT('SRID=4674;POINT (-40.300351 -2.794368)'))) / (select extract(epoch from '2026-07-23 08:05:57'::timestamp) - extract(epoch from '2026-07-23 08:05: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'), 47640, 'SRID=4674;POINT (-40.300526 -2.794432)', '2026-07-23 08:06:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300351 -2.794368)'), GeomFromEWKT('SRID=4674;POINT (-40.300526 -2.794432)'))) / (select extract(epoch from '2026-07-23 08:06:05'::timestamp) - extract(epoch from '2026-07-23 08:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300351 -2.794368)'), GeomFromEWKT('SRID=4674;POINT (-40.300526 -2.794432)'))) / (select extract(epoch from '2026-07-23 08:06:05'::timestamp) - extract(epoch from '2026-07-23 08:05: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'), 47640, 'SRID=4674;POINT (-40.300702 -2.7945)', '2026-07-23 08:06:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300526 -2.794432)'), GeomFromEWKT('SRID=4674;POINT (-40.300702 -2.7945)'))) / (select extract(epoch from '2026-07-23 08:06:13'::timestamp) - extract(epoch from '2026-07-23 08:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300526 -2.794432)'), GeomFromEWKT('SRID=4674;POINT (-40.300702 -2.7945)'))) / (select extract(epoch from '2026-07-23 08:06:13'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.30086 -2.794578)', '2026-07-23 08:06:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300702 -2.7945)'), GeomFromEWKT('SRID=4674;POINT (-40.30086 -2.794578)'))) / (select extract(epoch from '2026-07-23 08:06:20'::timestamp) - extract(epoch from '2026-07-23 08:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.300702 -2.7945)'), GeomFromEWKT('SRID=4674;POINT (-40.30086 -2.794578)'))) / (select extract(epoch from '2026-07-23 08:06:20'::timestamp) - extract(epoch from '2026-07-23 08:06:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.301036 -2.794632)', '2026-07-23 08:06:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30086 -2.794578)'), GeomFromEWKT('SRID=4674;POINT (-40.301036 -2.794632)'))) / (select extract(epoch from '2026-07-23 08:06:28'::timestamp) - extract(epoch from '2026-07-23 08:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30086 -2.794578)'), GeomFromEWKT('SRID=4674;POINT (-40.301036 -2.794632)'))) / (select extract(epoch from '2026-07-23 08:06:28'::timestamp) - extract(epoch from '2026-07-23 08:06: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'), 47640, 'SRID=4674;POINT (-40.301246 -2.79465)', '2026-07-23 08:06:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301036 -2.794632)'), GeomFromEWKT('SRID=4674;POINT (-40.301246 -2.79465)'))) / (select extract(epoch from '2026-07-23 08:06:37'::timestamp) - extract(epoch from '2026-07-23 08:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301036 -2.794632)'), GeomFromEWKT('SRID=4674;POINT (-40.301246 -2.79465)'))) / (select extract(epoch from '2026-07-23 08:06:37'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.301429 -2.794648)', '2026-07-23 08:06:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301246 -2.79465)'), GeomFromEWKT('SRID=4674;POINT (-40.301429 -2.794648)'))) / (select extract(epoch from '2026-07-23 08:06:45'::timestamp) - extract(epoch from '2026-07-23 08:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301246 -2.79465)'), GeomFromEWKT('SRID=4674;POINT (-40.301429 -2.794648)'))) / (select extract(epoch from '2026-07-23 08:06:45'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.3016 -2.794655)', '2026-07-23 08:06:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301429 -2.794648)'), GeomFromEWKT('SRID=4674;POINT (-40.3016 -2.794655)'))) / (select extract(epoch from '2026-07-23 08:06:52'::timestamp) - extract(epoch from '2026-07-23 08:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301429 -2.794648)'), GeomFromEWKT('SRID=4674;POINT (-40.3016 -2.794655)'))) / (select extract(epoch from '2026-07-23 08:06:52'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.301822 -2.794674)', '2026-07-23 08:07:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3016 -2.794655)'), GeomFromEWKT('SRID=4674;POINT (-40.301822 -2.794674)'))) / (select extract(epoch from '2026-07-23 08:07:01'::timestamp) - extract(epoch from '2026-07-23 08:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3016 -2.794655)'), GeomFromEWKT('SRID=4674;POINT (-40.301822 -2.794674)'))) / (select extract(epoch from '2026-07-23 08:07:01'::timestamp) - extract(epoch from '2026-07-23 08:06: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'), 47640, 'SRID=4674;POINT (-40.301983 -2.794682)', '2026-07-23 08:07:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301822 -2.794674)'), GeomFromEWKT('SRID=4674;POINT (-40.301983 -2.794682)'))) / (select extract(epoch from '2026-07-23 08:07:08'::timestamp) - extract(epoch from '2026-07-23 08:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301822 -2.794674)'), GeomFromEWKT('SRID=4674;POINT (-40.301983 -2.794682)'))) / (select extract(epoch from '2026-07-23 08:07:08'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.302129 -2.794712)', '2026-07-23 08:07:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301983 -2.794682)'), GeomFromEWKT('SRID=4674;POINT (-40.302129 -2.794712)'))) / (select extract(epoch from '2026-07-23 08:07:15'::timestamp) - extract(epoch from '2026-07-23 08:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.301983 -2.794682)'), GeomFromEWKT('SRID=4674;POINT (-40.302129 -2.794712)'))) / (select extract(epoch from '2026-07-23 08:07:15'::timestamp) - extract(epoch from '2026-07-23 08:07: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'), 47640, 'SRID=4674;POINT (-40.302235 -2.794788)', '2026-07-23 08:07:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302129 -2.794712)'), GeomFromEWKT('SRID=4674;POINT (-40.302235 -2.794788)'))) / (select extract(epoch from '2026-07-23 08:07:21'::timestamp) - extract(epoch from '2026-07-23 08:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302129 -2.794712)'), GeomFromEWKT('SRID=4674;POINT (-40.302235 -2.794788)'))) / (select extract(epoch from '2026-07-23 08:07:21'::timestamp) - extract(epoch from '2026-07-23 08:07: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'), 47640, 'SRID=4674;POINT (-40.302351 -2.794889)', '2026-07-23 08:07:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302235 -2.794788)'), GeomFromEWKT('SRID=4674;POINT (-40.302351 -2.794889)'))) / (select extract(epoch from '2026-07-23 08:07:29'::timestamp) - extract(epoch from '2026-07-23 08:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302235 -2.794788)'), GeomFromEWKT('SRID=4674;POINT (-40.302351 -2.794889)'))) / (select extract(epoch from '2026-07-23 08:07:29'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.302533 -2.795003)', '2026-07-23 08:07:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302351 -2.794889)'), GeomFromEWKT('SRID=4674;POINT (-40.302533 -2.795003)'))) / (select extract(epoch from '2026-07-23 08:07:39'::timestamp) - extract(epoch from '2026-07-23 08:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302351 -2.794889)'), GeomFromEWKT('SRID=4674;POINT (-40.302533 -2.795003)'))) / (select extract(epoch from '2026-07-23 08:07:39'::timestamp) - extract(epoch from '2026-07-23 08:07: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'), 47640, 'SRID=4674;POINT (-40.302706 -2.795086)', '2026-07-23 08:07:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302533 -2.795003)'), GeomFromEWKT('SRID=4674;POINT (-40.302706 -2.795086)'))) / (select extract(epoch from '2026-07-23 08:07:47'::timestamp) - extract(epoch from '2026-07-23 08:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302533 -2.795003)'), GeomFromEWKT('SRID=4674;POINT (-40.302706 -2.795086)'))) / (select extract(epoch from '2026-07-23 08:07:47'::timestamp) - extract(epoch from '2026-07-23 08:07: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'), 47640, 'SRID=4674;POINT (-40.302913 -2.795136)', '2026-07-23 08:07:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302706 -2.795086)'), GeomFromEWKT('SRID=4674;POINT (-40.302913 -2.795136)'))) / (select extract(epoch from '2026-07-23 08:07:56'::timestamp) - extract(epoch from '2026-07-23 08:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302706 -2.795086)'), GeomFromEWKT('SRID=4674;POINT (-40.302913 -2.795136)'))) / (select extract(epoch from '2026-07-23 08:07:56'::timestamp) - extract(epoch from '2026-07-23 08:07: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'), 47640, 'SRID=4674;POINT (-40.303158 -2.795209)', '2026-07-23 08:08:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302913 -2.795136)'), GeomFromEWKT('SRID=4674;POINT (-40.303158 -2.795209)'))) / (select extract(epoch from '2026-07-23 08:08:05'::timestamp) - extract(epoch from '2026-07-23 08:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302913 -2.795136)'), GeomFromEWKT('SRID=4674;POINT (-40.303158 -2.795209)'))) / (select extract(epoch from '2026-07-23 08:08:05'::timestamp) - extract(epoch from '2026-07-23 08:07: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'), 47640, 'SRID=4674;POINT (-40.303357 -2.795322)', '2026-07-23 08:08:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303158 -2.795209)'), GeomFromEWKT('SRID=4674;POINT (-40.303357 -2.795322)'))) / (select extract(epoch from '2026-07-23 08:08:13'::timestamp) - extract(epoch from '2026-07-23 08:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303158 -2.795209)'), GeomFromEWKT('SRID=4674;POINT (-40.303357 -2.795322)'))) / (select extract(epoch from '2026-07-23 08:08:13'::timestamp) - extract(epoch from '2026-07-23 08:08: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'), 47640, 'SRID=4674;POINT (-40.303574 -2.795421)', '2026-07-23 08:08:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303357 -2.795322)'), GeomFromEWKT('SRID=4674;POINT (-40.303574 -2.795421)'))) / (select extract(epoch from '2026-07-23 08:08:21'::timestamp) - extract(epoch from '2026-07-23 08:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303357 -2.795322)'), GeomFromEWKT('SRID=4674;POINT (-40.303574 -2.795421)'))) / (select extract(epoch from '2026-07-23 08:08:21'::timestamp) - extract(epoch from '2026-07-23 08:08: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'), 47640, 'SRID=4674;POINT (-40.303754 -2.795557)', '2026-07-23 08:08:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303574 -2.795421)'), GeomFromEWKT('SRID=4674;POINT (-40.303754 -2.795557)'))) / (select extract(epoch from '2026-07-23 08:08:29'::timestamp) - extract(epoch from '2026-07-23 08:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303574 -2.795421)'), GeomFromEWKT('SRID=4674;POINT (-40.303754 -2.795557)'))) / (select extract(epoch from '2026-07-23 08:08:29'::timestamp) - extract(epoch from '2026-07-23 08:08: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'), 47640, 'SRID=4674;POINT (-40.303931 -2.795625)', '2026-07-23 08:08:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303754 -2.795557)'), GeomFromEWKT('SRID=4674;POINT (-40.303931 -2.795625)'))) / (select extract(epoch from '2026-07-23 08:08:36'::timestamp) - extract(epoch from '2026-07-23 08:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303754 -2.795557)'), GeomFromEWKT('SRID=4674;POINT (-40.303931 -2.795625)'))) / (select extract(epoch from '2026-07-23 08:08:36'::timestamp) - extract(epoch from '2026-07-23 08:08: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'), 47640, 'SRID=4674;POINT (-40.304159 -2.795661)', '2026-07-23 08:08:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303931 -2.795625)'), GeomFromEWKT('SRID=4674;POINT (-40.304159 -2.795661)'))) / (select extract(epoch from '2026-07-23 08:08:44'::timestamp) - extract(epoch from '2026-07-23 08:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303931 -2.795625)'), GeomFromEWKT('SRID=4674;POINT (-40.304159 -2.795661)'))) / (select extract(epoch from '2026-07-23 08:08:44'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.304352 -2.795704)', '2026-07-23 08:08:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304159 -2.795661)'), GeomFromEWKT('SRID=4674;POINT (-40.304352 -2.795704)'))) / (select extract(epoch from '2026-07-23 08:08:51'::timestamp) - extract(epoch from '2026-07-23 08:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304159 -2.795661)'), GeomFromEWKT('SRID=4674;POINT (-40.304352 -2.795704)'))) / (select extract(epoch from '2026-07-23 08:08:51'::timestamp) - extract(epoch from '2026-07-23 08:08: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'), 47640, 'SRID=4674;POINT (-40.304509 -2.795755)', '2026-07-23 08:08:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304352 -2.795704)'), GeomFromEWKT('SRID=4674;POINT (-40.304509 -2.795755)'))) / (select extract(epoch from '2026-07-23 08:08:57'::timestamp) - extract(epoch from '2026-07-23 08:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304352 -2.795704)'), GeomFromEWKT('SRID=4674;POINT (-40.304509 -2.795755)'))) / (select extract(epoch from '2026-07-23 08:08:57'::timestamp) - extract(epoch from '2026-07-23 08:08: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'), 47640, 'SRID=4674;POINT (-40.304726 -2.795788)', '2026-07-23 08:09:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304509 -2.795755)'), GeomFromEWKT('SRID=4674;POINT (-40.304726 -2.795788)'))) / (select extract(epoch from '2026-07-23 08:09:05'::timestamp) - extract(epoch from '2026-07-23 08:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304509 -2.795755)'), GeomFromEWKT('SRID=4674;POINT (-40.304726 -2.795788)'))) / (select extract(epoch from '2026-07-23 08:09:05'::timestamp) - extract(epoch from '2026-07-23 08:08:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.305022 -2.795811)', '2026-07-23 08:09:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304726 -2.795788)'), GeomFromEWKT('SRID=4674;POINT (-40.305022 -2.795811)'))) / (select extract(epoch from '2026-07-23 08:09:16'::timestamp) - extract(epoch from '2026-07-23 08:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304726 -2.795788)'), GeomFromEWKT('SRID=4674;POINT (-40.305022 -2.795811)'))) / (select extract(epoch from '2026-07-23 08:09:16'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.3052 -2.795837)', '2026-07-23 08:09:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305022 -2.795811)'), GeomFromEWKT('SRID=4674;POINT (-40.3052 -2.795837)'))) / (select extract(epoch from '2026-07-23 08:09:23'::timestamp) - extract(epoch from '2026-07-23 08:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305022 -2.795811)'), GeomFromEWKT('SRID=4674;POINT (-40.3052 -2.795837)'))) / (select extract(epoch from '2026-07-23 08:09:23'::timestamp) - extract(epoch from '2026-07-23 08:09:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.305503 -2.795885)', '2026-07-23 08:09:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3052 -2.795837)'), GeomFromEWKT('SRID=4674;POINT (-40.305503 -2.795885)'))) / (select extract(epoch from '2026-07-23 08:09:35'::timestamp) - extract(epoch from '2026-07-23 08:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3052 -2.795837)'), GeomFromEWKT('SRID=4674;POINT (-40.305503 -2.795885)'))) / (select extract(epoch from '2026-07-23 08:09:35'::timestamp) - extract(epoch from '2026-07-23 08:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.305648 -2.795874)', '2026-07-23 08:09:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305503 -2.795885)'), GeomFromEWKT('SRID=4674;POINT (-40.305648 -2.795874)'))) / (select extract(epoch from '2026-07-23 08:09:41'::timestamp) - extract(epoch from '2026-07-23 08:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305503 -2.795885)'), GeomFromEWKT('SRID=4674;POINT (-40.305648 -2.795874)'))) / (select extract(epoch from '2026-07-23 08:09:41'::timestamp) - extract(epoch from '2026-07-23 08:09: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'), 47640, 'SRID=4674;POINT (-40.305814 -2.795874)', '2026-07-23 08:09:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305648 -2.795874)'), GeomFromEWKT('SRID=4674;POINT (-40.305814 -2.795874)'))) / (select extract(epoch from '2026-07-23 08:09:48'::timestamp) - extract(epoch from '2026-07-23 08:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305648 -2.795874)'), GeomFromEWKT('SRID=4674;POINT (-40.305814 -2.795874)'))) / (select extract(epoch from '2026-07-23 08:09:48'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.305985 -2.795879)', '2026-07-23 08:09:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305814 -2.795874)'), GeomFromEWKT('SRID=4674;POINT (-40.305985 -2.795879)'))) / (select extract(epoch from '2026-07-23 08:09:55'::timestamp) - extract(epoch from '2026-07-23 08:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305814 -2.795874)'), GeomFromEWKT('SRID=4674;POINT (-40.305985 -2.795879)'))) / (select extract(epoch from '2026-07-23 08:09:55'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.306158 -2.795914)', '2026-07-23 08:10:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305985 -2.795879)'), GeomFromEWKT('SRID=4674;POINT (-40.306158 -2.795914)'))) / (select extract(epoch from '2026-07-23 08:10:02'::timestamp) - extract(epoch from '2026-07-23 08:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305985 -2.795879)'), GeomFromEWKT('SRID=4674;POINT (-40.306158 -2.795914)'))) / (select extract(epoch from '2026-07-23 08:10:02'::timestamp) - extract(epoch from '2026-07-23 08:09: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'), 47640, 'SRID=4674;POINT (-40.306351 -2.795939)', '2026-07-23 08:10:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306158 -2.795914)'), GeomFromEWKT('SRID=4674;POINT (-40.306351 -2.795939)'))) / (select extract(epoch from '2026-07-23 08:10:09'::timestamp) - extract(epoch from '2026-07-23 08:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306158 -2.795914)'), GeomFromEWKT('SRID=4674;POINT (-40.306351 -2.795939)'))) / (select extract(epoch from '2026-07-23 08:10:09'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.306569 -2.795952)', '2026-07-23 08:10:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306351 -2.795939)'), GeomFromEWKT('SRID=4674;POINT (-40.306569 -2.795952)'))) / (select extract(epoch from '2026-07-23 08:10:18'::timestamp) - extract(epoch from '2026-07-23 08:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306351 -2.795939)'), GeomFromEWKT('SRID=4674;POINT (-40.306569 -2.795952)'))) / (select extract(epoch from '2026-07-23 08:10:18'::timestamp) - extract(epoch from '2026-07-23 08:10: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'), 47640, 'SRID=4674;POINT (-40.306761 -2.795937)', '2026-07-23 08:10:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306569 -2.795952)'), GeomFromEWKT('SRID=4674;POINT (-40.306761 -2.795937)'))) / (select extract(epoch from '2026-07-23 08:10:26'::timestamp) - extract(epoch from '2026-07-23 08:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306569 -2.795952)'), GeomFromEWKT('SRID=4674;POINT (-40.306761 -2.795937)'))) / (select extract(epoch from '2026-07-23 08:10:26'::timestamp) - extract(epoch from '2026-07-23 08:10:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.306997 -2.795942)', '2026-07-23 08:10:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306761 -2.795937)'), GeomFromEWKT('SRID=4674;POINT (-40.306997 -2.795942)'))) / (select extract(epoch from '2026-07-23 08:10:35'::timestamp) - extract(epoch from '2026-07-23 08:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306761 -2.795937)'), GeomFromEWKT('SRID=4674;POINT (-40.306997 -2.795942)'))) / (select extract(epoch from '2026-07-23 08:10:35'::timestamp) - extract(epoch from '2026-07-23 08:10: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'), 47640, 'SRID=4674;POINT (-40.307198 -2.795956)', '2026-07-23 08:10:43', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306997 -2.795942)'), GeomFromEWKT('SRID=4674;POINT (-40.307198 -2.795956)'))) / (select extract(epoch from '2026-07-23 08:10:43'::timestamp) - extract(epoch from '2026-07-23 08:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306997 -2.795942)'), GeomFromEWKT('SRID=4674;POINT (-40.307198 -2.795956)'))) / (select extract(epoch from '2026-07-23 08:10:43'::timestamp) - extract(epoch from '2026-07-23 08:10: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'), 47640, 'SRID=4674;POINT (-40.307385 -2.795991)', '2026-07-23 08:10:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307198 -2.795956)'), GeomFromEWKT('SRID=4674;POINT (-40.307385 -2.795991)'))) / (select extract(epoch from '2026-07-23 08:10:51'::timestamp) - extract(epoch from '2026-07-23 08:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307198 -2.795956)'), GeomFromEWKT('SRID=4674;POINT (-40.307385 -2.795991)'))) / (select extract(epoch from '2026-07-23 08:10:51'::timestamp) - extract(epoch from '2026-07-23 08:10: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'), 47640, 'SRID=4674;POINT (-40.307622 -2.796033)', '2026-07-23 08:11:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307385 -2.795991)'), GeomFromEWKT('SRID=4674;POINT (-40.307622 -2.796033)'))) / (select extract(epoch from '2026-07-23 08:11:00'::timestamp) - extract(epoch from '2026-07-23 08:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307385 -2.795991)'), GeomFromEWKT('SRID=4674;POINT (-40.307622 -2.796033)'))) / (select extract(epoch from '2026-07-23 08:11:00'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.307907 -2.796078)', '2026-07-23 08:11:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307622 -2.796033)'), GeomFromEWKT('SRID=4674;POINT (-40.307907 -2.796078)'))) / (select extract(epoch from '2026-07-23 08:11:09'::timestamp) - extract(epoch from '2026-07-23 08:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307622 -2.796033)'), GeomFromEWKT('SRID=4674;POINT (-40.307907 -2.796078)'))) / (select extract(epoch from '2026-07-23 08:11:09'::timestamp) - extract(epoch from '2026-07-23 08:11: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'), 47640, 'SRID=4674;POINT (-40.308177 -2.796112)', '2026-07-23 08:11:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307907 -2.796078)'), GeomFromEWKT('SRID=4674;POINT (-40.308177 -2.796112)'))) / (select extract(epoch from '2026-07-23 08:11:18'::timestamp) - extract(epoch from '2026-07-23 08:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307907 -2.796078)'), GeomFromEWKT('SRID=4674;POINT (-40.308177 -2.796112)'))) / (select extract(epoch from '2026-07-23 08:11:18'::timestamp) - extract(epoch from '2026-07-23 08:11:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.308391 -2.796129)', '2026-07-23 08:11:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308177 -2.796112)'), GeomFromEWKT('SRID=4674;POINT (-40.308391 -2.796129)'))) / (select extract(epoch from '2026-07-23 08:11:26'::timestamp) - extract(epoch from '2026-07-23 08:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308177 -2.796112)'), GeomFromEWKT('SRID=4674;POINT (-40.308391 -2.796129)'))) / (select extract(epoch from '2026-07-23 08:11:26'::timestamp) - extract(epoch from '2026-07-23 08:11:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.308608 -2.796142)', '2026-07-23 08:11:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308391 -2.796129)'), GeomFromEWKT('SRID=4674;POINT (-40.308608 -2.796142)'))) / (select extract(epoch from '2026-07-23 08:11:34'::timestamp) - extract(epoch from '2026-07-23 08:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308391 -2.796129)'), GeomFromEWKT('SRID=4674;POINT (-40.308608 -2.796142)'))) / (select extract(epoch from '2026-07-23 08:11:34'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.308823 -2.796142)', '2026-07-23 08:11:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308608 -2.796142)'), GeomFromEWKT('SRID=4674;POINT (-40.308823 -2.796142)'))) / (select extract(epoch from '2026-07-23 08:11:42'::timestamp) - extract(epoch from '2026-07-23 08:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308608 -2.796142)'), GeomFromEWKT('SRID=4674;POINT (-40.308823 -2.796142)'))) / (select extract(epoch from '2026-07-23 08:11:42'::timestamp) - extract(epoch from '2026-07-23 08:11: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'), 47640, 'SRID=4674;POINT (-40.309065 -2.796151)', '2026-07-23 08:11:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308823 -2.796142)'), GeomFromEWKT('SRID=4674;POINT (-40.309065 -2.796151)'))) / (select extract(epoch from '2026-07-23 08:11:51'::timestamp) - extract(epoch from '2026-07-23 08:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308823 -2.796142)'), GeomFromEWKT('SRID=4674;POINT (-40.309065 -2.796151)'))) / (select extract(epoch from '2026-07-23 08:11:51'::timestamp) - extract(epoch from '2026-07-23 08:11: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'), 47640, 'SRID=4674;POINT (-40.309283 -2.796146)', '2026-07-23 08:11:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309065 -2.796151)'), GeomFromEWKT('SRID=4674;POINT (-40.309283 -2.796146)'))) / (select extract(epoch from '2026-07-23 08:11:59'::timestamp) - extract(epoch from '2026-07-23 08:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309065 -2.796151)'), GeomFromEWKT('SRID=4674;POINT (-40.309283 -2.796146)'))) / (select extract(epoch from '2026-07-23 08:11:59'::timestamp) - extract(epoch from '2026-07-23 08:11: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'), 47640, 'SRID=4674;POINT (-40.309514 -2.796156)', '2026-07-23 08:12:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309283 -2.796146)'), GeomFromEWKT('SRID=4674;POINT (-40.309514 -2.796156)'))) / (select extract(epoch from '2026-07-23 08:12:07'::timestamp) - extract(epoch from '2026-07-23 08:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309283 -2.796146)'), GeomFromEWKT('SRID=4674;POINT (-40.309514 -2.796156)'))) / (select extract(epoch from '2026-07-23 08:12:07'::timestamp) - extract(epoch from '2026-07-23 08:11:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.309758 -2.796153)', '2026-07-23 08:12:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309514 -2.796156)'), GeomFromEWKT('SRID=4674;POINT (-40.309758 -2.796153)'))) / (select extract(epoch from '2026-07-23 08:12:16'::timestamp) - extract(epoch from '2026-07-23 08:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309514 -2.796156)'), GeomFromEWKT('SRID=4674;POINT (-40.309758 -2.796153)'))) / (select extract(epoch from '2026-07-23 08:12:16'::timestamp) - extract(epoch from '2026-07-23 08:12: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'), 47640, 'SRID=4674;POINT (-40.309974 -2.796133)', '2026-07-23 08:12:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309758 -2.796153)'), GeomFromEWKT('SRID=4674;POINT (-40.309974 -2.796133)'))) / (select extract(epoch from '2026-07-23 08:12:24'::timestamp) - extract(epoch from '2026-07-23 08:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309758 -2.796153)'), GeomFromEWKT('SRID=4674;POINT (-40.309974 -2.796133)'))) / (select extract(epoch from '2026-07-23 08:12:24'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.310177 -2.796142)', '2026-07-23 08:12:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309974 -2.796133)'), GeomFromEWKT('SRID=4674;POINT (-40.310177 -2.796142)'))) / (select extract(epoch from '2026-07-23 08:12:31'::timestamp) - extract(epoch from '2026-07-23 08:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309974 -2.796133)'), GeomFromEWKT('SRID=4674;POINT (-40.310177 -2.796142)'))) / (select extract(epoch from '2026-07-23 08:12:31'::timestamp) - extract(epoch from '2026-07-23 08:12: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'), 47640, 'SRID=4674;POINT (-40.310375 -2.796148)', '2026-07-23 08:12:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310177 -2.796142)'), GeomFromEWKT('SRID=4674;POINT (-40.310375 -2.796148)'))) / (select extract(epoch from '2026-07-23 08:12:38'::timestamp) - extract(epoch from '2026-07-23 08:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310177 -2.796142)'), GeomFromEWKT('SRID=4674;POINT (-40.310375 -2.796148)'))) / (select extract(epoch from '2026-07-23 08:12:38'::timestamp) - extract(epoch from '2026-07-23 08:12: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'), 47640, 'SRID=4674;POINT (-40.310591 -2.796186)', '2026-07-23 08:12:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310375 -2.796148)'), GeomFromEWKT('SRID=4674;POINT (-40.310591 -2.796186)'))) / (select extract(epoch from '2026-07-23 08:12:46'::timestamp) - extract(epoch from '2026-07-23 08:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310375 -2.796148)'), GeomFromEWKT('SRID=4674;POINT (-40.310591 -2.796186)'))) / (select extract(epoch from '2026-07-23 08:12:46'::timestamp) - extract(epoch from '2026-07-23 08:12:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.310781 -2.796216)', '2026-07-23 08:12:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310591 -2.796186)'), GeomFromEWKT('SRID=4674;POINT (-40.310781 -2.796216)'))) / (select extract(epoch from '2026-07-23 08:12:53'::timestamp) - extract(epoch from '2026-07-23 08:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310591 -2.796186)'), GeomFromEWKT('SRID=4674;POINT (-40.310781 -2.796216)'))) / (select extract(epoch from '2026-07-23 08:12:53'::timestamp) - extract(epoch from '2026-07-23 08:12: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'), 47640, 'SRID=4674;POINT (-40.310998 -2.796229)', '2026-07-23 08:13:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310781 -2.796216)'), GeomFromEWKT('SRID=4674;POINT (-40.310998 -2.796229)'))) / (select extract(epoch from '2026-07-23 08:13:00'::timestamp) - extract(epoch from '2026-07-23 08:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310781 -2.796216)'), GeomFromEWKT('SRID=4674;POINT (-40.310998 -2.796229)'))) / (select extract(epoch from '2026-07-23 08:13:00'::timestamp) - extract(epoch from '2026-07-23 08:12: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'), 47640, 'SRID=4674;POINT (-40.311257 -2.796232)', '2026-07-23 08:13:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310998 -2.796229)'), GeomFromEWKT('SRID=4674;POINT (-40.311257 -2.796232)'))) / (select extract(epoch from '2026-07-23 08:13:09'::timestamp) - extract(epoch from '2026-07-23 08:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310998 -2.796229)'), GeomFromEWKT('SRID=4674;POINT (-40.311257 -2.796232)'))) / (select extract(epoch from '2026-07-23 08:13:09'::timestamp) - extract(epoch from '2026-07-23 08:13: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'), 47640, 'SRID=4674;POINT (-40.311467 -2.796215)', '2026-07-23 08:13:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311257 -2.796232)'), GeomFromEWKT('SRID=4674;POINT (-40.311467 -2.796215)'))) / (select extract(epoch from '2026-07-23 08:13:17'::timestamp) - extract(epoch from '2026-07-23 08:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311257 -2.796232)'), GeomFromEWKT('SRID=4674;POINT (-40.311467 -2.796215)'))) / (select extract(epoch from '2026-07-23 08:13:17'::timestamp) - extract(epoch from '2026-07-23 08:13: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'), 47640, 'SRID=4674;POINT (-40.311639 -2.796201)', '2026-07-23 08:13:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311467 -2.796215)'), GeomFromEWKT('SRID=4674;POINT (-40.311639 -2.796201)'))) / (select extract(epoch from '2026-07-23 08:13:24'::timestamp) - extract(epoch from '2026-07-23 08:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311467 -2.796215)'), GeomFromEWKT('SRID=4674;POINT (-40.311639 -2.796201)'))) / (select extract(epoch from '2026-07-23 08:13:24'::timestamp) - extract(epoch from '2026-07-23 08:13: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'), 47640, 'SRID=4674;POINT (-40.311907 -2.796205)', '2026-07-23 08:13:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311639 -2.796201)'), GeomFromEWKT('SRID=4674;POINT (-40.311907 -2.796205)'))) / (select extract(epoch from '2026-07-23 08:13:34'::timestamp) - extract(epoch from '2026-07-23 08:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311639 -2.796201)'), GeomFromEWKT('SRID=4674;POINT (-40.311907 -2.796205)'))) / (select extract(epoch from '2026-07-23 08:13:34'::timestamp) - extract(epoch from '2026-07-23 08:13: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'), 47640, 'SRID=4674;POINT (-40.312133 -2.796229)', '2026-07-23 08:13:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311907 -2.796205)'), GeomFromEWKT('SRID=4674;POINT (-40.312133 -2.796229)'))) / (select extract(epoch from '2026-07-23 08:13:43'::timestamp) - extract(epoch from '2026-07-23 08:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311907 -2.796205)'), GeomFromEWKT('SRID=4674;POINT (-40.312133 -2.796229)'))) / (select extract(epoch from '2026-07-23 08:13:43'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.312324 -2.796261)', '2026-07-23 08:13:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312133 -2.796229)'), GeomFromEWKT('SRID=4674;POINT (-40.312324 -2.796261)'))) / (select extract(epoch from '2026-07-23 08:13:50'::timestamp) - extract(epoch from '2026-07-23 08:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312133 -2.796229)'), GeomFromEWKT('SRID=4674;POINT (-40.312324 -2.796261)'))) / (select extract(epoch from '2026-07-23 08:13:50'::timestamp) - extract(epoch from '2026-07-23 08:13: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'), 47640, 'SRID=4674;POINT (-40.312582 -2.796283)', '2026-07-23 08:14:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312324 -2.796261)'), GeomFromEWKT('SRID=4674;POINT (-40.312582 -2.796283)'))) / (select extract(epoch from '2026-07-23 08:14:00'::timestamp) - extract(epoch from '2026-07-23 08:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312324 -2.796261)'), GeomFromEWKT('SRID=4674;POINT (-40.312582 -2.796283)'))) / (select extract(epoch from '2026-07-23 08:14:00'::timestamp) - extract(epoch from '2026-07-23 08:13:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.312772 -2.796274)', '2026-07-23 08:14:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312582 -2.796283)'), GeomFromEWKT('SRID=4674;POINT (-40.312772 -2.796274)'))) / (select extract(epoch from '2026-07-23 08:14:07'::timestamp) - extract(epoch from '2026-07-23 08:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312582 -2.796283)'), GeomFromEWKT('SRID=4674;POINT (-40.312772 -2.796274)'))) / (select extract(epoch from '2026-07-23 08:14:07'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.313031 -2.796259)', '2026-07-23 08:14:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312772 -2.796274)'), GeomFromEWKT('SRID=4674;POINT (-40.313031 -2.796259)'))) / (select extract(epoch from '2026-07-23 08:14:16'::timestamp) - extract(epoch from '2026-07-23 08:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312772 -2.796274)'), GeomFromEWKT('SRID=4674;POINT (-40.313031 -2.796259)'))) / (select extract(epoch from '2026-07-23 08:14:16'::timestamp) - extract(epoch from '2026-07-23 08:14:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.313186 -2.796224)', '2026-07-23 08:14:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313031 -2.796259)'), GeomFromEWKT('SRID=4674;POINT (-40.313186 -2.796224)'))) / (select extract(epoch from '2026-07-23 08:14:22'::timestamp) - extract(epoch from '2026-07-23 08:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313031 -2.796259)'), GeomFromEWKT('SRID=4674;POINT (-40.313186 -2.796224)'))) / (select extract(epoch from '2026-07-23 08:14:22'::timestamp) - extract(epoch from '2026-07-23 08:14:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.313353 -2.796212)', '2026-07-23 08:14:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313186 -2.796224)'), GeomFromEWKT('SRID=4674;POINT (-40.313353 -2.796212)'))) / (select extract(epoch from '2026-07-23 08:14:29'::timestamp) - extract(epoch from '2026-07-23 08:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313186 -2.796224)'), GeomFromEWKT('SRID=4674;POINT (-40.313353 -2.796212)'))) / (select extract(epoch from '2026-07-23 08:14:29'::timestamp) - extract(epoch from '2026-07-23 08:14:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.313521 -2.796198)', '2026-07-23 08:14:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313353 -2.796212)'), GeomFromEWKT('SRID=4674;POINT (-40.313521 -2.796198)'))) / (select extract(epoch from '2026-07-23 08:14:36'::timestamp) - extract(epoch from '2026-07-23 08:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313353 -2.796212)'), GeomFromEWKT('SRID=4674;POINT (-40.313521 -2.796198)'))) / (select extract(epoch from '2026-07-23 08:14:36'::timestamp) - extract(epoch from '2026-07-23 08:14: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'), 47640, 'SRID=4674;POINT (-40.313729 -2.796192)', '2026-07-23 08:14:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313521 -2.796198)'), GeomFromEWKT('SRID=4674;POINT (-40.313729 -2.796192)'))) / (select extract(epoch from '2026-07-23 08:14:44'::timestamp) - extract(epoch from '2026-07-23 08:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313521 -2.796198)'), GeomFromEWKT('SRID=4674;POINT (-40.313729 -2.796192)'))) / (select extract(epoch from '2026-07-23 08:14:44'::timestamp) - extract(epoch from '2026-07-23 08:14:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.31395 -2.796168)', '2026-07-23 08:14:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313729 -2.796192)'), GeomFromEWKT('SRID=4674;POINT (-40.31395 -2.796168)'))) / (select extract(epoch from '2026-07-23 08:14:53'::timestamp) - extract(epoch from '2026-07-23 08:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313729 -2.796192)'), GeomFromEWKT('SRID=4674;POINT (-40.31395 -2.796168)'))) / (select extract(epoch from '2026-07-23 08:14:53'::timestamp) - extract(epoch from '2026-07-23 08:14: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'), 47640, 'SRID=4674;POINT (-40.314107 -2.796157)', '2026-07-23 08:15:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31395 -2.796168)'), GeomFromEWKT('SRID=4674;POINT (-40.314107 -2.796157)'))) / (select extract(epoch from '2026-07-23 08:15:00'::timestamp) - extract(epoch from '2026-07-23 08:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31395 -2.796168)'), GeomFromEWKT('SRID=4674;POINT (-40.314107 -2.796157)'))) / (select extract(epoch from '2026-07-23 08:15:00'::timestamp) - extract(epoch from '2026-07-23 08:14: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'), 47640, 'SRID=4674;POINT (-40.314249 -2.79615)', '2026-07-23 08:15:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314107 -2.796157)'), GeomFromEWKT('SRID=4674;POINT (-40.314249 -2.79615)'))) / (select extract(epoch from '2026-07-23 08:15:06'::timestamp) - extract(epoch from '2026-07-23 08:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314107 -2.796157)'), GeomFromEWKT('SRID=4674;POINT (-40.314249 -2.79615)'))) / (select extract(epoch from '2026-07-23 08:15:06'::timestamp) - extract(epoch from '2026-07-23 08:15:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314394 -2.796157)', '2026-07-23 08:15:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314249 -2.79615)'), GeomFromEWKT('SRID=4674;POINT (-40.314394 -2.796157)'))) / (select extract(epoch from '2026-07-23 08:15:12'::timestamp) - extract(epoch from '2026-07-23 08:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314249 -2.79615)'), GeomFromEWKT('SRID=4674;POINT (-40.314394 -2.796157)'))) / (select extract(epoch from '2026-07-23 08:15:12'::timestamp) - extract(epoch from '2026-07-23 08:15:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314605 -2.796176)', '2026-07-23 08:15:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314394 -2.796157)'), GeomFromEWKT('SRID=4674;POINT (-40.314605 -2.796176)'))) / (select extract(epoch from '2026-07-23 08:15:20'::timestamp) - extract(epoch from '2026-07-23 08:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314394 -2.796157)'), GeomFromEWKT('SRID=4674;POINT (-40.314605 -2.796176)'))) / (select extract(epoch from '2026-07-23 08:15:20'::timestamp) - extract(epoch from '2026-07-23 08:15: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'), 47640, 'SRID=4674;POINT (-40.314811 -2.796173)', '2026-07-23 08:15:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314605 -2.796176)'), GeomFromEWKT('SRID=4674;POINT (-40.314811 -2.796173)'))) / (select extract(epoch from '2026-07-23 08:15:28'::timestamp) - extract(epoch from '2026-07-23 08:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314605 -2.796176)'), GeomFromEWKT('SRID=4674;POINT (-40.314811 -2.796173)'))) / (select extract(epoch from '2026-07-23 08:15:28'::timestamp) - extract(epoch from '2026-07-23 08:15:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.315038 -2.796166)', '2026-07-23 08:15:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314811 -2.796173)'), GeomFromEWKT('SRID=4674;POINT (-40.315038 -2.796166)'))) / (select extract(epoch from '2026-07-23 08:15:37'::timestamp) - extract(epoch from '2026-07-23 08:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314811 -2.796173)'), GeomFromEWKT('SRID=4674;POINT (-40.315038 -2.796166)'))) / (select extract(epoch from '2026-07-23 08:15:37'::timestamp) - extract(epoch from '2026-07-23 08:15:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.315248 -2.796151)', '2026-07-23 08:15:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315038 -2.796166)'), GeomFromEWKT('SRID=4674;POINT (-40.315248 -2.796151)'))) / (select extract(epoch from '2026-07-23 08:15:45'::timestamp) - extract(epoch from '2026-07-23 08:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315038 -2.796166)'), GeomFromEWKT('SRID=4674;POINT (-40.315248 -2.796151)'))) / (select extract(epoch from '2026-07-23 08:15:45'::timestamp) - extract(epoch from '2026-07-23 08:15:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.315495 -2.796135)', '2026-07-23 08:15:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315248 -2.796151)'), GeomFromEWKT('SRID=4674;POINT (-40.315495 -2.796135)'))) / (select extract(epoch from '2026-07-23 08:15:54'::timestamp) - extract(epoch from '2026-07-23 08:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315248 -2.796151)'), GeomFromEWKT('SRID=4674;POINT (-40.315495 -2.796135)'))) / (select extract(epoch from '2026-07-23 08:15:54'::timestamp) - extract(epoch from '2026-07-23 08:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.315781 -2.796109)', '2026-07-23 08:16:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315495 -2.796135)'), GeomFromEWKT('SRID=4674;POINT (-40.315781 -2.796109)'))) / (select extract(epoch from '2026-07-23 08:16:05'::timestamp) - extract(epoch from '2026-07-23 08:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315495 -2.796135)'), GeomFromEWKT('SRID=4674;POINT (-40.315781 -2.796109)'))) / (select extract(epoch from '2026-07-23 08:16:05'::timestamp) - extract(epoch from '2026-07-23 08:15: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'), 47640, 'SRID=4674;POINT (-40.31599 -2.796097)', '2026-07-23 08:16:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315781 -2.796109)'), GeomFromEWKT('SRID=4674;POINT (-40.31599 -2.796097)'))) / (select extract(epoch from '2026-07-23 08:16:13'::timestamp) - extract(epoch from '2026-07-23 08:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315781 -2.796109)'), GeomFromEWKT('SRID=4674;POINT (-40.31599 -2.796097)'))) / (select extract(epoch from '2026-07-23 08:16:13'::timestamp) - extract(epoch from '2026-07-23 08:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.316236 -2.79608)', '2026-07-23 08:16:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31599 -2.796097)'), GeomFromEWKT('SRID=4674;POINT (-40.316236 -2.79608)'))) / (select extract(epoch from '2026-07-23 08:16:23'::timestamp) - extract(epoch from '2026-07-23 08:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31599 -2.796097)'), GeomFromEWKT('SRID=4674;POINT (-40.316236 -2.79608)'))) / (select extract(epoch from '2026-07-23 08:16:23'::timestamp) - extract(epoch from '2026-07-23 08:16: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'), 47640, 'SRID=4674;POINT (-40.316459 -2.796079)', '2026-07-23 08:16:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316236 -2.79608)'), GeomFromEWKT('SRID=4674;POINT (-40.316459 -2.796079)'))) / (select extract(epoch from '2026-07-23 08:16:32'::timestamp) - extract(epoch from '2026-07-23 08:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316236 -2.79608)'), GeomFromEWKT('SRID=4674;POINT (-40.316459 -2.796079)'))) / (select extract(epoch from '2026-07-23 08:16:32'::timestamp) - extract(epoch from '2026-07-23 08:16: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'), 47640, 'SRID=4674;POINT (-40.316653 -2.796085)', '2026-07-23 08:16:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316459 -2.796079)'), GeomFromEWKT('SRID=4674;POINT (-40.316653 -2.796085)'))) / (select extract(epoch from '2026-07-23 08:16:40'::timestamp) - extract(epoch from '2026-07-23 08:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316459 -2.796079)'), GeomFromEWKT('SRID=4674;POINT (-40.316653 -2.796085)'))) / (select extract(epoch from '2026-07-23 08:16:40'::timestamp) - extract(epoch from '2026-07-23 08:16: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'), 47640, 'SRID=4674;POINT (-40.316871 -2.796079)', '2026-07-23 08:16:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316653 -2.796085)'), GeomFromEWKT('SRID=4674;POINT (-40.316871 -2.796079)'))) / (select extract(epoch from '2026-07-23 08:16:48'::timestamp) - extract(epoch from '2026-07-23 08:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316653 -2.796085)'), GeomFromEWKT('SRID=4674;POINT (-40.316871 -2.796079)'))) / (select extract(epoch from '2026-07-23 08:16:48'::timestamp) - extract(epoch from '2026-07-23 08:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.317121 -2.796072)', '2026-07-23 08:16:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316871 -2.796079)'), GeomFromEWKT('SRID=4674;POINT (-40.317121 -2.796072)'))) / (select extract(epoch from '2026-07-23 08:16:57'::timestamp) - extract(epoch from '2026-07-23 08:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316871 -2.796079)'), GeomFromEWKT('SRID=4674;POINT (-40.317121 -2.796072)'))) / (select extract(epoch from '2026-07-23 08:16:57'::timestamp) - extract(epoch from '2026-07-23 08:16: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'), 47640, 'SRID=4674;POINT (-40.317311 -2.796053)', '2026-07-23 08:17:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317121 -2.796072)'), GeomFromEWKT('SRID=4674;POINT (-40.317311 -2.796053)'))) / (select extract(epoch from '2026-07-23 08:17:04'::timestamp) - extract(epoch from '2026-07-23 08:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317121 -2.796072)'), GeomFromEWKT('SRID=4674;POINT (-40.317311 -2.796053)'))) / (select extract(epoch from '2026-07-23 08:17:04'::timestamp) - extract(epoch from '2026-07-23 08:16: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'), 47640, 'SRID=4674;POINT (-40.31747 -2.796024)', '2026-07-23 08:17:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317311 -2.796053)'), GeomFromEWKT('SRID=4674;POINT (-40.31747 -2.796024)'))) / (select extract(epoch from '2026-07-23 08:17:10'::timestamp) - extract(epoch from '2026-07-23 08:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317311 -2.796053)'), GeomFromEWKT('SRID=4674;POINT (-40.31747 -2.796024)'))) / (select extract(epoch from '2026-07-23 08:17:10'::timestamp) - extract(epoch from '2026-07-23 08:17: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'), 47640, 'SRID=4674;POINT (-40.317638 -2.795997)', '2026-07-23 08:17:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31747 -2.796024)'), GeomFromEWKT('SRID=4674;POINT (-40.317638 -2.795997)'))) / (select extract(epoch from '2026-07-23 08:17:17'::timestamp) - extract(epoch from '2026-07-23 08:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31747 -2.796024)'), GeomFromEWKT('SRID=4674;POINT (-40.317638 -2.795997)'))) / (select extract(epoch from '2026-07-23 08:17:17'::timestamp) - extract(epoch from '2026-07-23 08:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.317758 -2.795983)', '2026-07-23 08:17:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317638 -2.795997)'), GeomFromEWKT('SRID=4674;POINT (-40.317758 -2.795983)'))) / (select extract(epoch from '2026-07-23 08:17:22'::timestamp) - extract(epoch from '2026-07-23 08:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317638 -2.795997)'), GeomFromEWKT('SRID=4674;POINT (-40.317758 -2.795983)'))) / (select extract(epoch from '2026-07-23 08:17:22'::timestamp) - extract(epoch from '2026-07-23 08:17:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.317984 -2.795952)', '2026-07-23 08:17:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317758 -2.795983)'), GeomFromEWKT('SRID=4674;POINT (-40.317984 -2.795952)'))) / (select extract(epoch from '2026-07-23 08:17:31'::timestamp) - extract(epoch from '2026-07-23 08:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317758 -2.795983)'), GeomFromEWKT('SRID=4674;POINT (-40.317984 -2.795952)'))) / (select extract(epoch from '2026-07-23 08:17:31'::timestamp) - extract(epoch from '2026-07-23 08:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.318246 -2.795937)', '2026-07-23 08:17:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317984 -2.795952)'), GeomFromEWKT('SRID=4674;POINT (-40.318246 -2.795937)'))) / (select extract(epoch from '2026-07-23 08:17:41'::timestamp) - extract(epoch from '2026-07-23 08:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317984 -2.795952)'), GeomFromEWKT('SRID=4674;POINT (-40.318246 -2.795937)'))) / (select extract(epoch from '2026-07-23 08:17:41'::timestamp) - extract(epoch from '2026-07-23 08:17: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'), 47640, 'SRID=4674;POINT (-40.318465 -2.795904)', '2026-07-23 08:17:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318246 -2.795937)'), GeomFromEWKT('SRID=4674;POINT (-40.318465 -2.795904)'))) / (select extract(epoch from '2026-07-23 08:17:49'::timestamp) - extract(epoch from '2026-07-23 08:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318246 -2.795937)'), GeomFromEWKT('SRID=4674;POINT (-40.318465 -2.795904)'))) / (select extract(epoch from '2026-07-23 08:17:49'::timestamp) - extract(epoch from '2026-07-23 08:17: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'), 47640, 'SRID=4674;POINT (-40.31868 -2.795882)', '2026-07-23 08:17:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318465 -2.795904)'), GeomFromEWKT('SRID=4674;POINT (-40.31868 -2.795882)'))) / (select extract(epoch from '2026-07-23 08:17:57'::timestamp) - extract(epoch from '2026-07-23 08:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318465 -2.795904)'), GeomFromEWKT('SRID=4674;POINT (-40.31868 -2.795882)'))) / (select extract(epoch from '2026-07-23 08:17:57'::timestamp) - extract(epoch from '2026-07-23 08:17: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'), 47640, 'SRID=4674;POINT (-40.318891 -2.795874)', '2026-07-23 08:18:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31868 -2.795882)'), GeomFromEWKT('SRID=4674;POINT (-40.318891 -2.795874)'))) / (select extract(epoch from '2026-07-23 08:18:05'::timestamp) - extract(epoch from '2026-07-23 08:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31868 -2.795882)'), GeomFromEWKT('SRID=4674;POINT (-40.318891 -2.795874)'))) / (select extract(epoch from '2026-07-23 08:18:05'::timestamp) - extract(epoch from '2026-07-23 08:17: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'), 47640, 'SRID=4674;POINT (-40.319107 -2.795868)', '2026-07-23 08:18:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318891 -2.795874)'), GeomFromEWKT('SRID=4674;POINT (-40.319107 -2.795868)'))) / (select extract(epoch from '2026-07-23 08:18:13'::timestamp) - extract(epoch from '2026-07-23 08:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318891 -2.795874)'), GeomFromEWKT('SRID=4674;POINT (-40.319107 -2.795868)'))) / (select extract(epoch from '2026-07-23 08:18:13'::timestamp) - extract(epoch from '2026-07-23 08:18: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'), 47640, 'SRID=4674;POINT (-40.319355 -2.795877)', '2026-07-23 08:18:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319107 -2.795868)'), GeomFromEWKT('SRID=4674;POINT (-40.319355 -2.795877)'))) / (select extract(epoch from '2026-07-23 08:18:22'::timestamp) - extract(epoch from '2026-07-23 08:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319107 -2.795868)'), GeomFromEWKT('SRID=4674;POINT (-40.319355 -2.795877)'))) / (select extract(epoch from '2026-07-23 08:18:22'::timestamp) - extract(epoch from '2026-07-23 08:18:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.319534 -2.79585)', '2026-07-23 08:18:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319355 -2.795877)'), GeomFromEWKT('SRID=4674;POINT (-40.319534 -2.79585)'))) / (select extract(epoch from '2026-07-23 08:18:29'::timestamp) - extract(epoch from '2026-07-23 08:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319355 -2.795877)'), GeomFromEWKT('SRID=4674;POINT (-40.319534 -2.79585)'))) / (select extract(epoch from '2026-07-23 08:18:29'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.319726 -2.795838)', '2026-07-23 08:18:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319534 -2.79585)'), GeomFromEWKT('SRID=4674;POINT (-40.319726 -2.795838)'))) / (select extract(epoch from '2026-07-23 08:18:37'::timestamp) - extract(epoch from '2026-07-23 08:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319534 -2.79585)'), GeomFromEWKT('SRID=4674;POINT (-40.319726 -2.795838)'))) / (select extract(epoch from '2026-07-23 08:18:37'::timestamp) - extract(epoch from '2026-07-23 08:18:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.319902 -2.795832)', '2026-07-23 08:18:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319726 -2.795838)'), GeomFromEWKT('SRID=4674;POINT (-40.319902 -2.795832)'))) / (select extract(epoch from '2026-07-23 08:18:44'::timestamp) - extract(epoch from '2026-07-23 08:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319726 -2.795838)'), GeomFromEWKT('SRID=4674;POINT (-40.319902 -2.795832)'))) / (select extract(epoch from '2026-07-23 08:18:44'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.320103 -2.795829)', '2026-07-23 08:18:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319902 -2.795832)'), GeomFromEWKT('SRID=4674;POINT (-40.320103 -2.795829)'))) / (select extract(epoch from '2026-07-23 08:18:52'::timestamp) - extract(epoch from '2026-07-23 08:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319902 -2.795832)'), GeomFromEWKT('SRID=4674;POINT (-40.320103 -2.795829)'))) / (select extract(epoch from '2026-07-23 08:18:52'::timestamp) - extract(epoch from '2026-07-23 08:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.320303 -2.795824)', '2026-07-23 08:19:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320103 -2.795829)'), GeomFromEWKT('SRID=4674;POINT (-40.320303 -2.795824)'))) / (select extract(epoch from '2026-07-23 08:19:00'::timestamp) - extract(epoch from '2026-07-23 08:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320103 -2.795829)'), GeomFromEWKT('SRID=4674;POINT (-40.320303 -2.795824)'))) / (select extract(epoch from '2026-07-23 08:19:00'::timestamp) - extract(epoch from '2026-07-23 08:18: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'), 47640, 'SRID=4674;POINT (-40.320473 -2.795808)', '2026-07-23 08:19:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320303 -2.795824)'), GeomFromEWKT('SRID=4674;POINT (-40.320473 -2.795808)'))) / (select extract(epoch from '2026-07-23 08:19:07'::timestamp) - extract(epoch from '2026-07-23 08:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320303 -2.795824)'), GeomFromEWKT('SRID=4674;POINT (-40.320473 -2.795808)'))) / (select extract(epoch from '2026-07-23 08:19:07'::timestamp) - extract(epoch from '2026-07-23 08:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.320683 -2.795785)', '2026-07-23 08:19:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320473 -2.795808)'), GeomFromEWKT('SRID=4674;POINT (-40.320683 -2.795785)'))) / (select extract(epoch from '2026-07-23 08:19:16'::timestamp) - extract(epoch from '2026-07-23 08:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320473 -2.795808)'), GeomFromEWKT('SRID=4674;POINT (-40.320683 -2.795785)'))) / (select extract(epoch from '2026-07-23 08:19:16'::timestamp) - extract(epoch from '2026-07-23 08:19: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'), 47640, 'SRID=4674;POINT (-40.320879 -2.795777)', '2026-07-23 08:19:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320683 -2.795785)'), GeomFromEWKT('SRID=4674;POINT (-40.320879 -2.795777)'))) / (select extract(epoch from '2026-07-23 08:19:24'::timestamp) - extract(epoch from '2026-07-23 08:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320683 -2.795785)'), GeomFromEWKT('SRID=4674;POINT (-40.320879 -2.795777)'))) / (select extract(epoch from '2026-07-23 08:19:24'::timestamp) - extract(epoch from '2026-07-23 08:19: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'), 47640, 'SRID=4674;POINT (-40.321077 -2.79577)', '2026-07-23 08:19:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320879 -2.795777)'), GeomFromEWKT('SRID=4674;POINT (-40.321077 -2.79577)'))) / (select extract(epoch from '2026-07-23 08:19:32'::timestamp) - extract(epoch from '2026-07-23 08:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320879 -2.795777)'), GeomFromEWKT('SRID=4674;POINT (-40.321077 -2.79577)'))) / (select extract(epoch from '2026-07-23 08:19:32'::timestamp) - extract(epoch from '2026-07-23 08:19:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.321326 -2.795725)', '2026-07-23 08:19:43', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321077 -2.79577)'), GeomFromEWKT('SRID=4674;POINT (-40.321326 -2.795725)'))) / (select extract(epoch from '2026-07-23 08:19:43'::timestamp) - extract(epoch from '2026-07-23 08:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321077 -2.79577)'), GeomFromEWKT('SRID=4674;POINT (-40.321326 -2.795725)'))) / (select extract(epoch from '2026-07-23 08:19:43'::timestamp) - extract(epoch from '2026-07-23 08:19:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.321457 -2.795702)', '2026-07-23 08:19:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321326 -2.795725)'), GeomFromEWKT('SRID=4674;POINT (-40.321457 -2.795702)'))) / (select extract(epoch from '2026-07-23 08:19:49'::timestamp) - extract(epoch from '2026-07-23 08:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321326 -2.795725)'), GeomFromEWKT('SRID=4674;POINT (-40.321457 -2.795702)'))) / (select extract(epoch from '2026-07-23 08:19:49'::timestamp) - extract(epoch from '2026-07-23 08:19: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'), 47640, 'SRID=4674;POINT (-40.321576 -2.795689)', '2026-07-23 08:19:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321457 -2.795702)'), GeomFromEWKT('SRID=4674;POINT (-40.321576 -2.795689)'))) / (select extract(epoch from '2026-07-23 08:19:54'::timestamp) - extract(epoch from '2026-07-23 08:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321457 -2.795702)'), GeomFromEWKT('SRID=4674;POINT (-40.321576 -2.795689)'))) / (select extract(epoch from '2026-07-23 08:19:54'::timestamp) - extract(epoch from '2026-07-23 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'), 47640, 'SRID=4674;POINT (-40.32176 -2.795665)', '2026-07-23 08:20:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321576 -2.795689)'), GeomFromEWKT('SRID=4674;POINT (-40.32176 -2.795665)'))) / (select extract(epoch from '2026-07-23 08:20:02'::timestamp) - extract(epoch from '2026-07-23 08:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321576 -2.795689)'), GeomFromEWKT('SRID=4674;POINT (-40.32176 -2.795665)'))) / (select extract(epoch from '2026-07-23 08:20:02'::timestamp) - extract(epoch from '2026-07-23 08:19: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'), 47640, 'SRID=4674;POINT (-40.32197 -2.795651)', '2026-07-23 08:20:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32176 -2.795665)'), GeomFromEWKT('SRID=4674;POINT (-40.32197 -2.795651)'))) / (select extract(epoch from '2026-07-23 08:20:11'::timestamp) - extract(epoch from '2026-07-23 08:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32176 -2.795665)'), GeomFromEWKT('SRID=4674;POINT (-40.32197 -2.795651)'))) / (select extract(epoch from '2026-07-23 08:20:11'::timestamp) - extract(epoch from '2026-07-23 08:20:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.322156 -2.795649)', '2026-07-23 08:20:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32197 -2.795651)'), GeomFromEWKT('SRID=4674;POINT (-40.322156 -2.795649)'))) / (select extract(epoch from '2026-07-23 08:20:19'::timestamp) - extract(epoch from '2026-07-23 08:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32197 -2.795651)'), GeomFromEWKT('SRID=4674;POINT (-40.322156 -2.795649)'))) / (select extract(epoch from '2026-07-23 08:20:19'::timestamp) - extract(epoch from '2026-07-23 08:20: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'), 47640, 'SRID=4674;POINT (-40.322409 -2.795666)', '2026-07-23 08:20:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322156 -2.795649)'), GeomFromEWKT('SRID=4674;POINT (-40.322409 -2.795666)'))) / (select extract(epoch from '2026-07-23 08:20:29'::timestamp) - extract(epoch from '2026-07-23 08:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322156 -2.795649)'), GeomFromEWKT('SRID=4674;POINT (-40.322409 -2.795666)'))) / (select extract(epoch from '2026-07-23 08:20:29'::timestamp) - extract(epoch from '2026-07-23 08:20: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'), 47640, 'SRID=4674;POINT (-40.322606 -2.795682)', '2026-07-23 08:20:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322409 -2.795666)'), GeomFromEWKT('SRID=4674;POINT (-40.322606 -2.795682)'))) / (select extract(epoch from '2026-07-23 08:20:37'::timestamp) - extract(epoch from '2026-07-23 08:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322409 -2.795666)'), GeomFromEWKT('SRID=4674;POINT (-40.322606 -2.795682)'))) / (select extract(epoch from '2026-07-23 08:20:37'::timestamp) - extract(epoch from '2026-07-23 08:20: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'), 47640, 'SRID=4674;POINT (-40.322799 -2.795696)', '2026-07-23 08:20:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322606 -2.795682)'), GeomFromEWKT('SRID=4674;POINT (-40.322799 -2.795696)'))) / (select extract(epoch from '2026-07-23 08:20:45'::timestamp) - extract(epoch from '2026-07-23 08:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322606 -2.795682)'), GeomFromEWKT('SRID=4674;POINT (-40.322799 -2.795696)'))) / (select extract(epoch from '2026-07-23 08:20:45'::timestamp) - extract(epoch from '2026-07-23 08:20: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'), 47640, 'SRID=4674;POINT (-40.323018 -2.795717)', '2026-07-23 08:20:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322799 -2.795696)'), GeomFromEWKT('SRID=4674;POINT (-40.323018 -2.795717)'))) / (select extract(epoch from '2026-07-23 08:20:54'::timestamp) - extract(epoch from '2026-07-23 08:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322799 -2.795696)'), GeomFromEWKT('SRID=4674;POINT (-40.323018 -2.795717)'))) / (select extract(epoch from '2026-07-23 08:20:54'::timestamp) - extract(epoch from '2026-07-23 08:20: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'), 47640, 'SRID=4674;POINT (-40.323223 -2.795742)', '2026-07-23 08:21:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323018 -2.795717)'), GeomFromEWKT('SRID=4674;POINT (-40.323223 -2.795742)'))) / (select extract(epoch from '2026-07-23 08:21:02'::timestamp) - extract(epoch from '2026-07-23 08:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323018 -2.795717)'), GeomFromEWKT('SRID=4674;POINT (-40.323223 -2.795742)'))) / (select extract(epoch from '2026-07-23 08:21:02'::timestamp) - extract(epoch from '2026-07-23 08:20: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'), 47640, 'SRID=4674;POINT (-40.323511 -2.795752)', '2026-07-23 08:21:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323223 -2.795742)'), GeomFromEWKT('SRID=4674;POINT (-40.323511 -2.795752)'))) / (select extract(epoch from '2026-07-23 08:21:13'::timestamp) - extract(epoch from '2026-07-23 08:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323223 -2.795742)'), GeomFromEWKT('SRID=4674;POINT (-40.323511 -2.795752)'))) / (select extract(epoch from '2026-07-23 08:21:13'::timestamp) - extract(epoch from '2026-07-23 08:21:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.323672 -2.795772)', '2026-07-23 08:21:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323511 -2.795752)'), GeomFromEWKT('SRID=4674;POINT (-40.323672 -2.795772)'))) / (select extract(epoch from '2026-07-23 08:21:20'::timestamp) - extract(epoch from '2026-07-23 08:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323511 -2.795752)'), GeomFromEWKT('SRID=4674;POINT (-40.323672 -2.795772)'))) / (select extract(epoch from '2026-07-23 08:21:20'::timestamp) - extract(epoch from '2026-07-23 08:21:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.323839 -2.795776)', '2026-07-23 08:21:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323672 -2.795772)'), GeomFromEWKT('SRID=4674;POINT (-40.323839 -2.795776)'))) / (select extract(epoch from '2026-07-23 08:21:28'::timestamp) - extract(epoch from '2026-07-23 08:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323672 -2.795772)'), GeomFromEWKT('SRID=4674;POINT (-40.323839 -2.795776)'))) / (select extract(epoch from '2026-07-23 08:21:28'::timestamp) - extract(epoch from '2026-07-23 08:21: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'), 47640, 'SRID=4674;POINT (-40.323993 -2.795779)', '2026-07-23 08:21:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323839 -2.795776)'), GeomFromEWKT('SRID=4674;POINT (-40.323993 -2.795779)'))) / (select extract(epoch from '2026-07-23 08:21:35'::timestamp) - extract(epoch from '2026-07-23 08:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323839 -2.795776)'), GeomFromEWKT('SRID=4674;POINT (-40.323993 -2.795779)'))) / (select extract(epoch from '2026-07-23 08:21:35'::timestamp) - extract(epoch from '2026-07-23 08:21: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'), 47640, 'SRID=4674;POINT (-40.324182 -2.795814)', '2026-07-23 08:21:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323993 -2.795779)'), GeomFromEWKT('SRID=4674;POINT (-40.324182 -2.795814)'))) / (select extract(epoch from '2026-07-23 08:21:43'::timestamp) - extract(epoch from '2026-07-23 08:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323993 -2.795779)'), GeomFromEWKT('SRID=4674;POINT (-40.324182 -2.795814)'))) / (select extract(epoch from '2026-07-23 08:21:43'::timestamp) - extract(epoch from '2026-07-23 08:21:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.324358 -2.795845)', '2026-07-23 08:21:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324182 -2.795814)'), GeomFromEWKT('SRID=4674;POINT (-40.324358 -2.795845)'))) / (select extract(epoch from '2026-07-23 08:21:50'::timestamp) - extract(epoch from '2026-07-23 08:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324182 -2.795814)'), GeomFromEWKT('SRID=4674;POINT (-40.324358 -2.795845)'))) / (select extract(epoch from '2026-07-23 08:21:50'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.324557 -2.795851)', '2026-07-23 08:21:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324358 -2.795845)'), GeomFromEWKT('SRID=4674;POINT (-40.324557 -2.795851)'))) / (select extract(epoch from '2026-07-23 08:21:57'::timestamp) - extract(epoch from '2026-07-23 08:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324358 -2.795845)'), GeomFromEWKT('SRID=4674;POINT (-40.324557 -2.795851)'))) / (select extract(epoch from '2026-07-23 08:21:57'::timestamp) - extract(epoch from '2026-07-23 08:21:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.324826 -2.79585)', '2026-07-23 08:22:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324557 -2.795851)'), GeomFromEWKT('SRID=4674;POINT (-40.324826 -2.79585)'))) / (select extract(epoch from '2026-07-23 08:22:07'::timestamp) - extract(epoch from '2026-07-23 08:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324557 -2.795851)'), GeomFromEWKT('SRID=4674;POINT (-40.324826 -2.79585)'))) / (select extract(epoch from '2026-07-23 08:22:07'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.324988 -2.795858)', '2026-07-23 08:22:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324826 -2.79585)'), GeomFromEWKT('SRID=4674;POINT (-40.324988 -2.795858)'))) / (select extract(epoch from '2026-07-23 08:22:13'::timestamp) - extract(epoch from '2026-07-23 08:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324826 -2.79585)'), GeomFromEWKT('SRID=4674;POINT (-40.324988 -2.795858)'))) / (select extract(epoch from '2026-07-23 08:22:13'::timestamp) - extract(epoch from '2026-07-23 08:22:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.325158 -2.795879)', '2026-07-23 08:22:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324988 -2.795858)'), GeomFromEWKT('SRID=4674;POINT (-40.325158 -2.795879)'))) / (select extract(epoch from '2026-07-23 08:22:20'::timestamp) - extract(epoch from '2026-07-23 08:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324988 -2.795858)'), GeomFromEWKT('SRID=4674;POINT (-40.325158 -2.795879)'))) / (select extract(epoch from '2026-07-23 08:22:20'::timestamp) - extract(epoch from '2026-07-23 08:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.32542 -2.795917)', '2026-07-23 08:22:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325158 -2.795879)'), GeomFromEWKT('SRID=4674;POINT (-40.32542 -2.795917)'))) / (select extract(epoch from '2026-07-23 08:22:30'::timestamp) - extract(epoch from '2026-07-23 08:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325158 -2.795879)'), GeomFromEWKT('SRID=4674;POINT (-40.32542 -2.795917)'))) / (select extract(epoch from '2026-07-23 08:22:30'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.325613 -2.79594)', '2026-07-23 08:22:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32542 -2.795917)'), GeomFromEWKT('SRID=4674;POINT (-40.325613 -2.79594)'))) / (select extract(epoch from '2026-07-23 08:22:37'::timestamp) - extract(epoch from '2026-07-23 08:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32542 -2.795917)'), GeomFromEWKT('SRID=4674;POINT (-40.325613 -2.79594)'))) / (select extract(epoch from '2026-07-23 08:22:37'::timestamp) - extract(epoch from '2026-07-23 08:22: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'), 47640, 'SRID=4674;POINT (-40.325858 -2.795985)', '2026-07-23 08:22:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325613 -2.79594)'), GeomFromEWKT('SRID=4674;POINT (-40.325858 -2.795985)'))) / (select extract(epoch from '2026-07-23 08:22:46'::timestamp) - extract(epoch from '2026-07-23 08:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325613 -2.79594)'), GeomFromEWKT('SRID=4674;POINT (-40.325858 -2.795985)'))) / (select extract(epoch from '2026-07-23 08:22:46'::timestamp) - extract(epoch from '2026-07-23 08:22:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.326049 -2.796001)', '2026-07-23 08:22:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325858 -2.795985)'), GeomFromEWKT('SRID=4674;POINT (-40.326049 -2.796001)'))) / (select extract(epoch from '2026-07-23 08:22:53'::timestamp) - extract(epoch from '2026-07-23 08:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325858 -2.795985)'), GeomFromEWKT('SRID=4674;POINT (-40.326049 -2.796001)'))) / (select extract(epoch from '2026-07-23 08:22:53'::timestamp) - extract(epoch from '2026-07-23 08:22:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.326309 -2.796054)', '2026-07-23 08:23:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326049 -2.796001)'), GeomFromEWKT('SRID=4674;POINT (-40.326309 -2.796054)'))) / (select extract(epoch from '2026-07-23 08:23:03'::timestamp) - extract(epoch from '2026-07-23 08:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326049 -2.796001)'), GeomFromEWKT('SRID=4674;POINT (-40.326309 -2.796054)'))) / (select extract(epoch from '2026-07-23 08:23:03'::timestamp) - extract(epoch from '2026-07-23 08:22: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'), 47640, 'SRID=4674;POINT (-40.326577 -2.796086)', '2026-07-23 08:23:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326309 -2.796054)'), GeomFromEWKT('SRID=4674;POINT (-40.326577 -2.796086)'))) / (select extract(epoch from '2026-07-23 08:23:13'::timestamp) - extract(epoch from '2026-07-23 08:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326309 -2.796054)'), GeomFromEWKT('SRID=4674;POINT (-40.326577 -2.796086)'))) / (select extract(epoch from '2026-07-23 08:23:13'::timestamp) - extract(epoch from '2026-07-23 08:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.326816 -2.796064)', '2026-07-23 08:23:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326577 -2.796086)'), GeomFromEWKT('SRID=4674;POINT (-40.326816 -2.796064)'))) / (select extract(epoch from '2026-07-23 08:23:22'::timestamp) - extract(epoch from '2026-07-23 08:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326577 -2.796086)'), GeomFromEWKT('SRID=4674;POINT (-40.326816 -2.796064)'))) / (select extract(epoch from '2026-07-23 08:23:22'::timestamp) - extract(epoch from '2026-07-23 08:23: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'), 47640, 'SRID=4674;POINT (-40.327015 -2.796055)', '2026-07-23 08:23:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326816 -2.796064)'), GeomFromEWKT('SRID=4674;POINT (-40.327015 -2.796055)'))) / (select extract(epoch from '2026-07-23 08:23:30'::timestamp) - extract(epoch from '2026-07-23 08:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326816 -2.796064)'), GeomFromEWKT('SRID=4674;POINT (-40.327015 -2.796055)'))) / (select extract(epoch from '2026-07-23 08:23:30'::timestamp) - extract(epoch from '2026-07-23 08:23: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'), 47640, 'SRID=4674;POINT (-40.327297 -2.796069)', '2026-07-23 08:23:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327015 -2.796055)'), GeomFromEWKT('SRID=4674;POINT (-40.327297 -2.796069)'))) / (select extract(epoch from '2026-07-23 08:23:40'::timestamp) - extract(epoch from '2026-07-23 08:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327015 -2.796055)'), GeomFromEWKT('SRID=4674;POINT (-40.327297 -2.796069)'))) / (select extract(epoch from '2026-07-23 08:23:40'::timestamp) - extract(epoch from '2026-07-23 08:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.327573 -2.796075)', '2026-07-23 08:23:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327297 -2.796069)'), GeomFromEWKT('SRID=4674;POINT (-40.327573 -2.796075)'))) / (select extract(epoch from '2026-07-23 08:23:50'::timestamp) - extract(epoch from '2026-07-23 08:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327297 -2.796069)'), GeomFromEWKT('SRID=4674;POINT (-40.327573 -2.796075)'))) / (select extract(epoch from '2026-07-23 08:23:50'::timestamp) - extract(epoch from '2026-07-23 08:23: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'), 47640, 'SRID=4674;POINT (-40.327787 -2.796108)', '2026-07-23 08:23:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327573 -2.796075)'), GeomFromEWKT('SRID=4674;POINT (-40.327787 -2.796108)'))) / (select extract(epoch from '2026-07-23 08:23:57'::timestamp) - extract(epoch from '2026-07-23 08:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327573 -2.796075)'), GeomFromEWKT('SRID=4674;POINT (-40.327787 -2.796108)'))) / (select extract(epoch from '2026-07-23 08:23:57'::timestamp) - extract(epoch from '2026-07-23 08:23: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'), 47640, 'SRID=4674;POINT (-40.328026 -2.796166)', '2026-07-23 08:24:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327787 -2.796108)'), GeomFromEWKT('SRID=4674;POINT (-40.328026 -2.796166)'))) / (select extract(epoch from '2026-07-23 08:24:06'::timestamp) - extract(epoch from '2026-07-23 08:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327787 -2.796108)'), GeomFromEWKT('SRID=4674;POINT (-40.328026 -2.796166)'))) / (select extract(epoch from '2026-07-23 08:24:06'::timestamp) - extract(epoch from '2026-07-23 08:23: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'), 47640, 'SRID=4674;POINT (-40.328249 -2.796237)', '2026-07-23 08:24:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328026 -2.796166)'), GeomFromEWKT('SRID=4674;POINT (-40.328249 -2.796237)'))) / (select extract(epoch from '2026-07-23 08:24:14'::timestamp) - extract(epoch from '2026-07-23 08:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328026 -2.796166)'), GeomFromEWKT('SRID=4674;POINT (-40.328249 -2.796237)'))) / (select extract(epoch from '2026-07-23 08:24:14'::timestamp) - extract(epoch from '2026-07-23 08:24: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'), 47640, 'SRID=4674;POINT (-40.328492 -2.796311)', '2026-07-23 08:24:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328249 -2.796237)'), GeomFromEWKT('SRID=4674;POINT (-40.328492 -2.796311)'))) / (select extract(epoch from '2026-07-23 08:24:23'::timestamp) - extract(epoch from '2026-07-23 08:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328249 -2.796237)'), GeomFromEWKT('SRID=4674;POINT (-40.328492 -2.796311)'))) / (select extract(epoch from '2026-07-23 08:24:23'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.328797 -2.796386)', '2026-07-23 08:24:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328492 -2.796311)'), GeomFromEWKT('SRID=4674;POINT (-40.328797 -2.796386)'))) / (select extract(epoch from '2026-07-23 08:24:34'::timestamp) - extract(epoch from '2026-07-23 08:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328492 -2.796311)'), GeomFromEWKT('SRID=4674;POINT (-40.328797 -2.796386)'))) / (select extract(epoch from '2026-07-23 08:24:34'::timestamp) - extract(epoch from '2026-07-23 08:24: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'), 47640, 'SRID=4674;POINT (-40.329003 -2.796434)', '2026-07-23 08:24:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328797 -2.796386)'), GeomFromEWKT('SRID=4674;POINT (-40.329003 -2.796434)'))) / (select extract(epoch from '2026-07-23 08:24:42'::timestamp) - extract(epoch from '2026-07-23 08:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328797 -2.796386)'), GeomFromEWKT('SRID=4674;POINT (-40.329003 -2.796434)'))) / (select extract(epoch from '2026-07-23 08:24:42'::timestamp) - extract(epoch from '2026-07-23 08:24: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'), 47640, 'SRID=4674;POINT (-40.329188 -2.796476)', '2026-07-23 08:24:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329003 -2.796434)'), GeomFromEWKT('SRID=4674;POINT (-40.329188 -2.796476)'))) / (select extract(epoch from '2026-07-23 08:24:48'::timestamp) - extract(epoch from '2026-07-23 08:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329003 -2.796434)'), GeomFromEWKT('SRID=4674;POINT (-40.329188 -2.796476)'))) / (select extract(epoch from '2026-07-23 08:24:48'::timestamp) - extract(epoch from '2026-07-23 08:24: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'), 47640, 'SRID=4674;POINT (-40.329436 -2.796524)', '2026-07-23 08:24:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329188 -2.796476)'), GeomFromEWKT('SRID=4674;POINT (-40.329436 -2.796524)'))) / (select extract(epoch from '2026-07-23 08:24:57'::timestamp) - extract(epoch from '2026-07-23 08:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329188 -2.796476)'), GeomFromEWKT('SRID=4674;POINT (-40.329436 -2.796524)'))) / (select extract(epoch from '2026-07-23 08:24:57'::timestamp) - extract(epoch from '2026-07-23 08:24:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.329641 -2.796557)', '2026-07-23 08:25:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329436 -2.796524)'), GeomFromEWKT('SRID=4674;POINT (-40.329641 -2.796557)'))) / (select extract(epoch from '2026-07-23 08:25:05'::timestamp) - extract(epoch from '2026-07-23 08:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329436 -2.796524)'), GeomFromEWKT('SRID=4674;POINT (-40.329641 -2.796557)'))) / (select extract(epoch from '2026-07-23 08:25:05'::timestamp) - extract(epoch from '2026-07-23 08:24: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'), 47640, 'SRID=4674;POINT (-40.329858 -2.796585)', '2026-07-23 08:25:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329641 -2.796557)'), GeomFromEWKT('SRID=4674;POINT (-40.329858 -2.796585)'))) / (select extract(epoch from '2026-07-23 08:25:13'::timestamp) - extract(epoch from '2026-07-23 08:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329641 -2.796557)'), GeomFromEWKT('SRID=4674;POINT (-40.329858 -2.796585)'))) / (select extract(epoch from '2026-07-23 08:25:13'::timestamp) - extract(epoch from '2026-07-23 08:25: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'), 47640, 'SRID=4674;POINT (-40.330033 -2.796597)', '2026-07-23 08:25:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329858 -2.796585)'), GeomFromEWKT('SRID=4674;POINT (-40.330033 -2.796597)'))) / (select extract(epoch from '2026-07-23 08:25:20'::timestamp) - extract(epoch from '2026-07-23 08:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329858 -2.796585)'), GeomFromEWKT('SRID=4674;POINT (-40.330033 -2.796597)'))) / (select extract(epoch from '2026-07-23 08:25:20'::timestamp) - extract(epoch from '2026-07-23 08:25: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'), 47640, 'SRID=4674;POINT (-40.330239 -2.79661)', '2026-07-23 08:25:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330033 -2.796597)'), GeomFromEWKT('SRID=4674;POINT (-40.330239 -2.79661)'))) / (select extract(epoch from '2026-07-23 08:25:28'::timestamp) - extract(epoch from '2026-07-23 08:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330033 -2.796597)'), GeomFromEWKT('SRID=4674;POINT (-40.330239 -2.79661)'))) / (select extract(epoch from '2026-07-23 08:25:28'::timestamp) - extract(epoch from '2026-07-23 08:25: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'), 47640, 'SRID=4674;POINT (-40.330391 -2.79661)', '2026-07-23 08:25:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330239 -2.79661)'), GeomFromEWKT('SRID=4674;POINT (-40.330391 -2.79661)'))) / (select extract(epoch from '2026-07-23 08:25:34'::timestamp) - extract(epoch from '2026-07-23 08:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330239 -2.79661)'), GeomFromEWKT('SRID=4674;POINT (-40.330391 -2.79661)'))) / (select extract(epoch from '2026-07-23 08:25:34'::timestamp) - extract(epoch from '2026-07-23 08:25: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'), 47640, 'SRID=4674;POINT (-40.330626 -2.796606)', '2026-07-23 08:25:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330391 -2.79661)'), GeomFromEWKT('SRID=4674;POINT (-40.330626 -2.796606)'))) / (select extract(epoch from '2026-07-23 08:25:43'::timestamp) - extract(epoch from '2026-07-23 08:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330391 -2.79661)'), GeomFromEWKT('SRID=4674;POINT (-40.330626 -2.796606)'))) / (select extract(epoch from '2026-07-23 08:25:43'::timestamp) - extract(epoch from '2026-07-23 08:25: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'), 47640, 'SRID=4674;POINT (-40.330831 -2.796622)', '2026-07-23 08:25:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330626 -2.796606)'), GeomFromEWKT('SRID=4674;POINT (-40.330831 -2.796622)'))) / (select extract(epoch from '2026-07-23 08:25:51'::timestamp) - extract(epoch from '2026-07-23 08:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330626 -2.796606)'), GeomFromEWKT('SRID=4674;POINT (-40.330831 -2.796622)'))) / (select extract(epoch from '2026-07-23 08:25:51'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.330976 -2.796636)', '2026-07-23 08:25:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330831 -2.796622)'), GeomFromEWKT('SRID=4674;POINT (-40.330976 -2.796636)'))) / (select extract(epoch from '2026-07-23 08:25:57'::timestamp) - extract(epoch from '2026-07-23 08:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330831 -2.796622)'), GeomFromEWKT('SRID=4674;POINT (-40.330976 -2.796636)'))) / (select extract(epoch from '2026-07-23 08:25:57'::timestamp) - extract(epoch from '2026-07-23 08:25: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'), 47640, 'SRID=4674;POINT (-40.331208 -2.796675)', '2026-07-23 08:26:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330976 -2.796636)'), GeomFromEWKT('SRID=4674;POINT (-40.331208 -2.796675)'))) / (select extract(epoch from '2026-07-23 08:26:06'::timestamp) - extract(epoch from '2026-07-23 08:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330976 -2.796636)'), GeomFromEWKT('SRID=4674;POINT (-40.331208 -2.796675)'))) / (select extract(epoch from '2026-07-23 08:26:06'::timestamp) - extract(epoch from '2026-07-23 08:25:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.331352 -2.796704)', '2026-07-23 08:26:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331208 -2.796675)'), GeomFromEWKT('SRID=4674;POINT (-40.331352 -2.796704)'))) / (select extract(epoch from '2026-07-23 08:26:12'::timestamp) - extract(epoch from '2026-07-23 08:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331208 -2.796675)'), GeomFromEWKT('SRID=4674;POINT (-40.331352 -2.796704)'))) / (select extract(epoch from '2026-07-23 08:26:12'::timestamp) - extract(epoch from '2026-07-23 08:26: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'), 47640, 'SRID=4674;POINT (-40.33152 -2.796729)', '2026-07-23 08:26:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331352 -2.796704)'), GeomFromEWKT('SRID=4674;POINT (-40.33152 -2.796729)'))) / (select extract(epoch from '2026-07-23 08:26:19'::timestamp) - extract(epoch from '2026-07-23 08:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331352 -2.796704)'), GeomFromEWKT('SRID=4674;POINT (-40.33152 -2.796729)'))) / (select extract(epoch from '2026-07-23 08:26:19'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.33174 -2.796768)', '2026-07-23 08:26:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33152 -2.796729)'), GeomFromEWKT('SRID=4674;POINT (-40.33174 -2.796768)'))) / (select extract(epoch from '2026-07-23 08:26:27'::timestamp) - extract(epoch from '2026-07-23 08:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33152 -2.796729)'), GeomFromEWKT('SRID=4674;POINT (-40.33174 -2.796768)'))) / (select extract(epoch from '2026-07-23 08:26:27'::timestamp) - extract(epoch from '2026-07-23 08:26: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'), 47640, 'SRID=4674;POINT (-40.331971 -2.796833)', '2026-07-23 08:26:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33174 -2.796768)'), GeomFromEWKT('SRID=4674;POINT (-40.331971 -2.796833)'))) / (select extract(epoch from '2026-07-23 08:26:36'::timestamp) - extract(epoch from '2026-07-23 08:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33174 -2.796768)'), GeomFromEWKT('SRID=4674;POINT (-40.331971 -2.796833)'))) / (select extract(epoch from '2026-07-23 08:26:36'::timestamp) - extract(epoch from '2026-07-23 08:26:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.332311 -2.796903)', '2026-07-23 08:26:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331971 -2.796833)'), GeomFromEWKT('SRID=4674;POINT (-40.332311 -2.796903)'))) / (select extract(epoch from '2026-07-23 08:26:49'::timestamp) - extract(epoch from '2026-07-23 08:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331971 -2.796833)'), GeomFromEWKT('SRID=4674;POINT (-40.332311 -2.796903)'))) / (select extract(epoch from '2026-07-23 08:26:49'::timestamp) - extract(epoch from '2026-07-23 08:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.33257 -2.796954)', '2026-07-23 08:26:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332311 -2.796903)'), GeomFromEWKT('SRID=4674;POINT (-40.33257 -2.796954)'))) / (select extract(epoch from '2026-07-23 08:26:59'::timestamp) - extract(epoch from '2026-07-23 08:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332311 -2.796903)'), GeomFromEWKT('SRID=4674;POINT (-40.33257 -2.796954)'))) / (select extract(epoch from '2026-07-23 08:26:59'::timestamp) - extract(epoch from '2026-07-23 08:26: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'), 47640, 'SRID=4674;POINT (-40.332803 -2.797004)', '2026-07-23 08:27:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33257 -2.796954)'), GeomFromEWKT('SRID=4674;POINT (-40.332803 -2.797004)'))) / (select extract(epoch from '2026-07-23 08:27:08'::timestamp) - extract(epoch from '2026-07-23 08:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33257 -2.796954)'), GeomFromEWKT('SRID=4674;POINT (-40.332803 -2.797004)'))) / (select extract(epoch from '2026-07-23 08:27:08'::timestamp) - extract(epoch from '2026-07-23 08:26:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.333015 -2.797058)', '2026-07-23 08:27:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332803 -2.797004)'), GeomFromEWKT('SRID=4674;POINT (-40.333015 -2.797058)'))) / (select extract(epoch from '2026-07-23 08:27:16'::timestamp) - extract(epoch from '2026-07-23 08:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332803 -2.797004)'), GeomFromEWKT('SRID=4674;POINT (-40.333015 -2.797058)'))) / (select extract(epoch from '2026-07-23 08:27:16'::timestamp) - extract(epoch from '2026-07-23 08:27:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.333265 -2.797156)', '2026-07-23 08:27:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333015 -2.797058)'), GeomFromEWKT('SRID=4674;POINT (-40.333265 -2.797156)'))) / (select extract(epoch from '2026-07-23 08:27:26'::timestamp) - extract(epoch from '2026-07-23 08:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333015 -2.797058)'), GeomFromEWKT('SRID=4674;POINT (-40.333265 -2.797156)'))) / (select extract(epoch from '2026-07-23 08:27:26'::timestamp) - extract(epoch from '2026-07-23 08:27: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'), 47640, 'SRID=4674;POINT (-40.333523 -2.797263)', '2026-07-23 08:27:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333265 -2.797156)'), GeomFromEWKT('SRID=4674;POINT (-40.333523 -2.797263)'))) / (select extract(epoch from '2026-07-23 08:27:37'::timestamp) - extract(epoch from '2026-07-23 08:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333265 -2.797156)'), GeomFromEWKT('SRID=4674;POINT (-40.333523 -2.797263)'))) / (select extract(epoch from '2026-07-23 08:27:37'::timestamp) - extract(epoch from '2026-07-23 08:27:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.333716 -2.797331)', '2026-07-23 08:27:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333523 -2.797263)'), GeomFromEWKT('SRID=4674;POINT (-40.333716 -2.797331)'))) / (select extract(epoch from '2026-07-23 08:27:45'::timestamp) - extract(epoch from '2026-07-23 08:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333523 -2.797263)'), GeomFromEWKT('SRID=4674;POINT (-40.333716 -2.797331)'))) / (select extract(epoch from '2026-07-23 08:27:45'::timestamp) - extract(epoch from '2026-07-23 08:27: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'), 47640, 'SRID=4674;POINT (-40.333907 -2.797406)', '2026-07-23 08:27:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333716 -2.797331)'), GeomFromEWKT('SRID=4674;POINT (-40.333907 -2.797406)'))) / (select extract(epoch from '2026-07-23 08:27:53'::timestamp) - extract(epoch from '2026-07-23 08:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333716 -2.797331)'), GeomFromEWKT('SRID=4674;POINT (-40.333907 -2.797406)'))) / (select extract(epoch from '2026-07-23 08:27:53'::timestamp) - extract(epoch from '2026-07-23 08:27: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'), 47640, 'SRID=4674;POINT (-40.334077 -2.797474)', '2026-07-23 08:28:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333907 -2.797406)'), GeomFromEWKT('SRID=4674;POINT (-40.334077 -2.797474)'))) / (select extract(epoch from '2026-07-23 08:28:00'::timestamp) - extract(epoch from '2026-07-23 08:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333907 -2.797406)'), GeomFromEWKT('SRID=4674;POINT (-40.334077 -2.797474)'))) / (select extract(epoch from '2026-07-23 08:28:00'::timestamp) - extract(epoch from '2026-07-23 08:27:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.334299 -2.797527)', '2026-07-23 08:28:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334077 -2.797474)'), GeomFromEWKT('SRID=4674;POINT (-40.334299 -2.797527)'))) / (select extract(epoch from '2026-07-23 08:28:09'::timestamp) - extract(epoch from '2026-07-23 08:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334077 -2.797474)'), GeomFromEWKT('SRID=4674;POINT (-40.334299 -2.797527)'))) / (select extract(epoch from '2026-07-23 08:28:09'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.33454 -2.797611)', '2026-07-23 08:28:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334299 -2.797527)'), GeomFromEWKT('SRID=4674;POINT (-40.33454 -2.797611)'))) / (select extract(epoch from '2026-07-23 08:28:19'::timestamp) - extract(epoch from '2026-07-23 08:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334299 -2.797527)'), GeomFromEWKT('SRID=4674;POINT (-40.33454 -2.797611)'))) / (select extract(epoch from '2026-07-23 08:28:19'::timestamp) - extract(epoch from '2026-07-23 08:28:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.334771 -2.797719)', '2026-07-23 08:28:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33454 -2.797611)'), GeomFromEWKT('SRID=4674;POINT (-40.334771 -2.797719)'))) / (select extract(epoch from '2026-07-23 08:28:28'::timestamp) - extract(epoch from '2026-07-23 08:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33454 -2.797611)'), GeomFromEWKT('SRID=4674;POINT (-40.334771 -2.797719)'))) / (select extract(epoch from '2026-07-23 08:28:28'::timestamp) - extract(epoch from '2026-07-23 08:28: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'), 47640, 'SRID=4674;POINT (-40.334974 -2.797802)', '2026-07-23 08:28:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334771 -2.797719)'), GeomFromEWKT('SRID=4674;POINT (-40.334974 -2.797802)'))) / (select extract(epoch from '2026-07-23 08:28:36'::timestamp) - extract(epoch from '2026-07-23 08:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334771 -2.797719)'), GeomFromEWKT('SRID=4674;POINT (-40.334974 -2.797802)'))) / (select extract(epoch from '2026-07-23 08:28:36'::timestamp) - extract(epoch from '2026-07-23 08:28:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.335191 -2.797877)', '2026-07-23 08:28:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334974 -2.797802)'), GeomFromEWKT('SRID=4674;POINT (-40.335191 -2.797877)'))) / (select extract(epoch from '2026-07-23 08:28:45'::timestamp) - extract(epoch from '2026-07-23 08:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334974 -2.797802)'), GeomFromEWKT('SRID=4674;POINT (-40.335191 -2.797877)'))) / (select extract(epoch from '2026-07-23 08:28:45'::timestamp) - extract(epoch from '2026-07-23 08:28: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'), 47640, 'SRID=4674;POINT (-40.335401 -2.797941)', '2026-07-23 08:28:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335191 -2.797877)'), GeomFromEWKT('SRID=4674;POINT (-40.335401 -2.797941)'))) / (select extract(epoch from '2026-07-23 08:28:53'::timestamp) - extract(epoch from '2026-07-23 08:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335191 -2.797877)'), GeomFromEWKT('SRID=4674;POINT (-40.335401 -2.797941)'))) / (select extract(epoch from '2026-07-23 08:28:53'::timestamp) - extract(epoch from '2026-07-23 08:28: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'), 47640, 'SRID=4674;POINT (-40.335599 -2.798003)', '2026-07-23 08:29:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335401 -2.797941)'), GeomFromEWKT('SRID=4674;POINT (-40.335599 -2.798003)'))) / (select extract(epoch from '2026-07-23 08:29:01'::timestamp) - extract(epoch from '2026-07-23 08:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335401 -2.797941)'), GeomFromEWKT('SRID=4674;POINT (-40.335599 -2.798003)'))) / (select extract(epoch from '2026-07-23 08:29:01'::timestamp) - extract(epoch from '2026-07-23 08:28: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'), 47640, 'SRID=4674;POINT (-40.335852 -2.798092)', '2026-07-23 08:29:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335599 -2.798003)'), GeomFromEWKT('SRID=4674;POINT (-40.335852 -2.798092)'))) / (select extract(epoch from '2026-07-23 08:29:11'::timestamp) - extract(epoch from '2026-07-23 08:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335599 -2.798003)'), GeomFromEWKT('SRID=4674;POINT (-40.335852 -2.798092)'))) / (select extract(epoch from '2026-07-23 08:29:11'::timestamp) - extract(epoch from '2026-07-23 08:29: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'), 47640, 'SRID=4674;POINT (-40.336099 -2.798171)', '2026-07-23 08:29:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335852 -2.798092)'), GeomFromEWKT('SRID=4674;POINT (-40.336099 -2.798171)'))) / (select extract(epoch from '2026-07-23 08:29:21'::timestamp) - extract(epoch from '2026-07-23 08:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335852 -2.798092)'), GeomFromEWKT('SRID=4674;POINT (-40.336099 -2.798171)'))) / (select extract(epoch from '2026-07-23 08:29:21'::timestamp) - extract(epoch from '2026-07-23 08:29: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'), 47640, 'SRID=4674;POINT (-40.336284 -2.798226)', '2026-07-23 08:29:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336099 -2.798171)'), GeomFromEWKT('SRID=4674;POINT (-40.336284 -2.798226)'))) / (select extract(epoch from '2026-07-23 08:29:29'::timestamp) - extract(epoch from '2026-07-23 08:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336099 -2.798171)'), GeomFromEWKT('SRID=4674;POINT (-40.336284 -2.798226)'))) / (select extract(epoch from '2026-07-23 08:29:29'::timestamp) - extract(epoch from '2026-07-23 08:29: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'), 47640, 'SRID=4674;POINT (-40.336525 -2.798314)', '2026-07-23 08:29:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336284 -2.798226)'), GeomFromEWKT('SRID=4674;POINT (-40.336525 -2.798314)'))) / (select extract(epoch from '2026-07-23 08:29:39'::timestamp) - extract(epoch from '2026-07-23 08:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336284 -2.798226)'), GeomFromEWKT('SRID=4674;POINT (-40.336525 -2.798314)'))) / (select extract(epoch from '2026-07-23 08:29:39'::timestamp) - extract(epoch from '2026-07-23 08:29: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'), 47640, 'SRID=4674;POINT (-40.336746 -2.798407)', '2026-07-23 08:29:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336525 -2.798314)'), GeomFromEWKT('SRID=4674;POINT (-40.336746 -2.798407)'))) / (select extract(epoch from '2026-07-23 08:29:48'::timestamp) - extract(epoch from '2026-07-23 08:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336525 -2.798314)'), GeomFromEWKT('SRID=4674;POINT (-40.336746 -2.798407)'))) / (select extract(epoch from '2026-07-23 08:29:48'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.336939 -2.798476)', '2026-07-23 08:29:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336746 -2.798407)'), GeomFromEWKT('SRID=4674;POINT (-40.336939 -2.798476)'))) / (select extract(epoch from '2026-07-23 08:29:56'::timestamp) - extract(epoch from '2026-07-23 08:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336746 -2.798407)'), GeomFromEWKT('SRID=4674;POINT (-40.336939 -2.798476)'))) / (select extract(epoch from '2026-07-23 08:29:56'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.337175 -2.798565)', '2026-07-23 08:30:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336939 -2.798476)'), GeomFromEWKT('SRID=4674;POINT (-40.337175 -2.798565)'))) / (select extract(epoch from '2026-07-23 08:30:06'::timestamp) - extract(epoch from '2026-07-23 08:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336939 -2.798476)'), GeomFromEWKT('SRID=4674;POINT (-40.337175 -2.798565)'))) / (select extract(epoch from '2026-07-23 08:30:06'::timestamp) - extract(epoch from '2026-07-23 08:29:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.337386 -2.798637)', '2026-07-23 08:30:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337175 -2.798565)'), GeomFromEWKT('SRID=4674;POINT (-40.337386 -2.798637)'))) / (select extract(epoch from '2026-07-23 08:30:15'::timestamp) - extract(epoch from '2026-07-23 08:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337175 -2.798565)'), GeomFromEWKT('SRID=4674;POINT (-40.337386 -2.798637)'))) / (select extract(epoch from '2026-07-23 08:30:15'::timestamp) - extract(epoch from '2026-07-23 08:30:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.337563 -2.798695)', '2026-07-23 08:30:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337386 -2.798637)'), GeomFromEWKT('SRID=4674;POINT (-40.337563 -2.798695)'))) / (select extract(epoch from '2026-07-23 08:30:22'::timestamp) - extract(epoch from '2026-07-23 08:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337386 -2.798637)'), GeomFromEWKT('SRID=4674;POINT (-40.337563 -2.798695)'))) / (select extract(epoch from '2026-07-23 08:30:22'::timestamp) - extract(epoch from '2026-07-23 08:30: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'), 47640, 'SRID=4674;POINT (-40.337715 -2.798729)', '2026-07-23 08:30:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337563 -2.798695)'), GeomFromEWKT('SRID=4674;POINT (-40.337715 -2.798729)'))) / (select extract(epoch from '2026-07-23 08:30:28'::timestamp) - extract(epoch from '2026-07-23 08:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337563 -2.798695)'), GeomFromEWKT('SRID=4674;POINT (-40.337715 -2.798729)'))) / (select extract(epoch from '2026-07-23 08:30:28'::timestamp) - extract(epoch from '2026-07-23 08:30:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.337958 -2.798816)', '2026-07-23 08:30:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337715 -2.798729)'), GeomFromEWKT('SRID=4674;POINT (-40.337958 -2.798816)'))) / (select extract(epoch from '2026-07-23 08:30:38'::timestamp) - extract(epoch from '2026-07-23 08:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337715 -2.798729)'), GeomFromEWKT('SRID=4674;POINT (-40.337958 -2.798816)'))) / (select extract(epoch from '2026-07-23 08:30:38'::timestamp) - extract(epoch from '2026-07-23 08:30:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.338173 -2.798902)', '2026-07-23 08:30:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337958 -2.798816)'), GeomFromEWKT('SRID=4674;POINT (-40.338173 -2.798902)'))) / (select extract(epoch from '2026-07-23 08:30:47'::timestamp) - extract(epoch from '2026-07-23 08:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337958 -2.798816)'), GeomFromEWKT('SRID=4674;POINT (-40.338173 -2.798902)'))) / (select extract(epoch from '2026-07-23 08:30:47'::timestamp) - extract(epoch from '2026-07-23 08:30: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'), 47640, 'SRID=4674;POINT (-40.338435 -2.799008)', '2026-07-23 08:30:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338173 -2.798902)'), GeomFromEWKT('SRID=4674;POINT (-40.338435 -2.799008)'))) / (select extract(epoch from '2026-07-23 08:30:57'::timestamp) - extract(epoch from '2026-07-23 08:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338173 -2.798902)'), GeomFromEWKT('SRID=4674;POINT (-40.338435 -2.799008)'))) / (select extract(epoch from '2026-07-23 08:30:57'::timestamp) - extract(epoch from '2026-07-23 08:30: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'), 47640, 'SRID=4674;POINT (-40.338685 -2.799122)', '2026-07-23 08:31:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338435 -2.799008)'), GeomFromEWKT('SRID=4674;POINT (-40.338685 -2.799122)'))) / (select extract(epoch from '2026-07-23 08:31:07'::timestamp) - extract(epoch from '2026-07-23 08:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338435 -2.799008)'), GeomFromEWKT('SRID=4674;POINT (-40.338685 -2.799122)'))) / (select extract(epoch from '2026-07-23 08:31:07'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.338931 -2.799201)', '2026-07-23 08:31:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338685 -2.799122)'), GeomFromEWKT('SRID=4674;POINT (-40.338931 -2.799201)'))) / (select extract(epoch from '2026-07-23 08:31:16'::timestamp) - extract(epoch from '2026-07-23 08:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338685 -2.799122)'), GeomFromEWKT('SRID=4674;POINT (-40.338931 -2.799201)'))) / (select extract(epoch from '2026-07-23 08:31:16'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.339186 -2.799295)', '2026-07-23 08:31:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338931 -2.799201)'), GeomFromEWKT('SRID=4674;POINT (-40.339186 -2.799295)'))) / (select extract(epoch from '2026-07-23 08:31:26'::timestamp) - extract(epoch from '2026-07-23 08:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338931 -2.799201)'), GeomFromEWKT('SRID=4674;POINT (-40.339186 -2.799295)'))) / (select extract(epoch from '2026-07-23 08:31:26'::timestamp) - extract(epoch from '2026-07-23 08:31:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.339401 -2.799373)', '2026-07-23 08:31:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339186 -2.799295)'), GeomFromEWKT('SRID=4674;POINT (-40.339401 -2.799373)'))) / (select extract(epoch from '2026-07-23 08:31:35'::timestamp) - extract(epoch from '2026-07-23 08:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339186 -2.799295)'), GeomFromEWKT('SRID=4674;POINT (-40.339401 -2.799373)'))) / (select extract(epoch from '2026-07-23 08:31:35'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.339648 -2.799466)', '2026-07-23 08:31:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339401 -2.799373)'), GeomFromEWKT('SRID=4674;POINT (-40.339648 -2.799466)'))) / (select extract(epoch from '2026-07-23 08:31:44'::timestamp) - extract(epoch from '2026-07-23 08:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339401 -2.799373)'), GeomFromEWKT('SRID=4674;POINT (-40.339648 -2.799466)'))) / (select extract(epoch from '2026-07-23 08:31:44'::timestamp) - extract(epoch from '2026-07-23 08:31: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'), 47640, 'SRID=4674;POINT (-40.339823 -2.799535)', '2026-07-23 08:31:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339648 -2.799466)'), GeomFromEWKT('SRID=4674;POINT (-40.339823 -2.799535)'))) / (select extract(epoch from '2026-07-23 08:31:51'::timestamp) - extract(epoch from '2026-07-23 08:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339648 -2.799466)'), GeomFromEWKT('SRID=4674;POINT (-40.339823 -2.799535)'))) / (select extract(epoch from '2026-07-23 08:31:51'::timestamp) - extract(epoch from '2026-07-23 08:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.340026 -2.799618)', '2026-07-23 08:31:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339823 -2.799535)'), GeomFromEWKT('SRID=4674;POINT (-40.340026 -2.799618)'))) / (select extract(epoch from '2026-07-23 08:31:59'::timestamp) - extract(epoch from '2026-07-23 08:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339823 -2.799535)'), GeomFromEWKT('SRID=4674;POINT (-40.340026 -2.799618)'))) / (select extract(epoch from '2026-07-23 08:31:59'::timestamp) - extract(epoch from '2026-07-23 08:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.340246 -2.799693)', '2026-07-23 08:32:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340026 -2.799618)'), GeomFromEWKT('SRID=4674;POINT (-40.340246 -2.799693)'))) / (select extract(epoch from '2026-07-23 08:32:08'::timestamp) - extract(epoch from '2026-07-23 08:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340026 -2.799618)'), GeomFromEWKT('SRID=4674;POINT (-40.340246 -2.799693)'))) / (select extract(epoch from '2026-07-23 08:32:08'::timestamp) - extract(epoch from '2026-07-23 08:31:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.340439 -2.79976)', '2026-07-23 08:32:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340246 -2.799693)'), GeomFromEWKT('SRID=4674;POINT (-40.340439 -2.79976)'))) / (select extract(epoch from '2026-07-23 08:32:16'::timestamp) - extract(epoch from '2026-07-23 08:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340246 -2.799693)'), GeomFromEWKT('SRID=4674;POINT (-40.340439 -2.79976)'))) / (select extract(epoch from '2026-07-23 08:32:16'::timestamp) - extract(epoch from '2026-07-23 08:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.340705 -2.799844)', '2026-07-23 08:32:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340439 -2.79976)'), GeomFromEWKT('SRID=4674;POINT (-40.340705 -2.799844)'))) / (select extract(epoch from '2026-07-23 08:32:26'::timestamp) - extract(epoch from '2026-07-23 08:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340439 -2.79976)'), GeomFromEWKT('SRID=4674;POINT (-40.340705 -2.799844)'))) / (select extract(epoch from '2026-07-23 08:32:26'::timestamp) - extract(epoch from '2026-07-23 08:32: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'), 47640, 'SRID=4674;POINT (-40.341014 -2.799919)', '2026-07-23 08:32:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340705 -2.799844)'), GeomFromEWKT('SRID=4674;POINT (-40.341014 -2.799919)'))) / (select extract(epoch from '2026-07-23 08:32:37'::timestamp) - extract(epoch from '2026-07-23 08:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340705 -2.799844)'), GeomFromEWKT('SRID=4674;POINT (-40.341014 -2.799919)'))) / (select extract(epoch from '2026-07-23 08:32:37'::timestamp) - extract(epoch from '2026-07-23 08:32: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'), 47640, 'SRID=4674;POINT (-40.341249 -2.80003)', '2026-07-23 08:32:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341014 -2.799919)'), GeomFromEWKT('SRID=4674;POINT (-40.341249 -2.80003)'))) / (select extract(epoch from '2026-07-23 08:32:47'::timestamp) - extract(epoch from '2026-07-23 08:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341014 -2.799919)'), GeomFromEWKT('SRID=4674;POINT (-40.341249 -2.80003)'))) / (select extract(epoch from '2026-07-23 08:32:47'::timestamp) - extract(epoch from '2026-07-23 08:32: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'), 47640, 'SRID=4674;POINT (-40.34141 -2.800127)', '2026-07-23 08:32:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341249 -2.80003)'), GeomFromEWKT('SRID=4674;POINT (-40.34141 -2.800127)'))) / (select extract(epoch from '2026-07-23 08:32:55'::timestamp) - extract(epoch from '2026-07-23 08:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341249 -2.80003)'), GeomFromEWKT('SRID=4674;POINT (-40.34141 -2.800127)'))) / (select extract(epoch from '2026-07-23 08:32:55'::timestamp) - extract(epoch from '2026-07-23 08:32:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.341585 -2.800209)', '2026-07-23 08:33:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34141 -2.800127)'), GeomFromEWKT('SRID=4674;POINT (-40.341585 -2.800209)'))) / (select extract(epoch from '2026-07-23 08:33:03'::timestamp) - extract(epoch from '2026-07-23 08:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34141 -2.800127)'), GeomFromEWKT('SRID=4674;POINT (-40.341585 -2.800209)'))) / (select extract(epoch from '2026-07-23 08:33:03'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.341775 -2.800284)', '2026-07-23 08:33:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341585 -2.800209)'), GeomFromEWKT('SRID=4674;POINT (-40.341775 -2.800284)'))) / (select extract(epoch from '2026-07-23 08:33:11'::timestamp) - extract(epoch from '2026-07-23 08:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341585 -2.800209)'), GeomFromEWKT('SRID=4674;POINT (-40.341775 -2.800284)'))) / (select extract(epoch from '2026-07-23 08:33:11'::timestamp) - extract(epoch from '2026-07-23 08:33: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'), 47640, 'SRID=4674;POINT (-40.342079 -2.80042)', '2026-07-23 08:33:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341775 -2.800284)'), GeomFromEWKT('SRID=4674;POINT (-40.342079 -2.80042)'))) / (select extract(epoch from '2026-07-23 08:33:23'::timestamp) - extract(epoch from '2026-07-23 08:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341775 -2.800284)'), GeomFromEWKT('SRID=4674;POINT (-40.342079 -2.80042)'))) / (select extract(epoch from '2026-07-23 08:33:23'::timestamp) - extract(epoch from '2026-07-23 08:33: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'), 47640, 'SRID=4674;POINT (-40.342319 -2.800516)', '2026-07-23 08:33:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342079 -2.80042)'), GeomFromEWKT('SRID=4674;POINT (-40.342319 -2.800516)'))) / (select extract(epoch from '2026-07-23 08:33:32'::timestamp) - extract(epoch from '2026-07-23 08:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342079 -2.80042)'), GeomFromEWKT('SRID=4674;POINT (-40.342319 -2.800516)'))) / (select extract(epoch from '2026-07-23 08:33:32'::timestamp) - extract(epoch from '2026-07-23 08:33:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.342554 -2.800625)', '2026-07-23 08:33:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342319 -2.800516)'), GeomFromEWKT('SRID=4674;POINT (-40.342554 -2.800625)'))) / (select extract(epoch from '2026-07-23 08:33:41'::timestamp) - extract(epoch from '2026-07-23 08:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342319 -2.800516)'), GeomFromEWKT('SRID=4674;POINT (-40.342554 -2.800625)'))) / (select extract(epoch from '2026-07-23 08:33:41'::timestamp) - extract(epoch from '2026-07-23 08:33: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'), 47640, 'SRID=4674;POINT (-40.342729 -2.800706)', '2026-07-23 08:33:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342554 -2.800625)'), GeomFromEWKT('SRID=4674;POINT (-40.342729 -2.800706)'))) / (select extract(epoch from '2026-07-23 08:33:48'::timestamp) - extract(epoch from '2026-07-23 08:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342554 -2.800625)'), GeomFromEWKT('SRID=4674;POINT (-40.342729 -2.800706)'))) / (select extract(epoch from '2026-07-23 08:33:48'::timestamp) - extract(epoch from '2026-07-23 08:33: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'), 47640, 'SRID=4674;POINT (-40.342983 -2.800812)', '2026-07-23 08:33:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342729 -2.800706)'), GeomFromEWKT('SRID=4674;POINT (-40.342983 -2.800812)'))) / (select extract(epoch from '2026-07-23 08:33:58'::timestamp) - extract(epoch from '2026-07-23 08:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342729 -2.800706)'), GeomFromEWKT('SRID=4674;POINT (-40.342983 -2.800812)'))) / (select extract(epoch from '2026-07-23 08:33:58'::timestamp) - extract(epoch from '2026-07-23 08:33: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'), 47640, 'SRID=4674;POINT (-40.343315 -2.800949)', '2026-07-23 08:34:10', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342983 -2.800812)'), GeomFromEWKT('SRID=4674;POINT (-40.343315 -2.800949)'))) / (select extract(epoch from '2026-07-23 08:34:10'::timestamp) - extract(epoch from '2026-07-23 08:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342983 -2.800812)'), GeomFromEWKT('SRID=4674;POINT (-40.343315 -2.800949)'))) / (select extract(epoch from '2026-07-23 08:34:10'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.34357 -2.801067)', '2026-07-23 08:34:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343315 -2.800949)'), GeomFromEWKT('SRID=4674;POINT (-40.34357 -2.801067)'))) / (select extract(epoch from '2026-07-23 08:34:20'::timestamp) - extract(epoch from '2026-07-23 08:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343315 -2.800949)'), GeomFromEWKT('SRID=4674;POINT (-40.34357 -2.801067)'))) / (select extract(epoch from '2026-07-23 08:34:20'::timestamp) - extract(epoch from '2026-07-23 08:34:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.343774 -2.801175)', '2026-07-23 08:34:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34357 -2.801067)'), GeomFromEWKT('SRID=4674;POINT (-40.343774 -2.801175)'))) / (select extract(epoch from '2026-07-23 08:34:28'::timestamp) - extract(epoch from '2026-07-23 08:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34357 -2.801067)'), GeomFromEWKT('SRID=4674;POINT (-40.343774 -2.801175)'))) / (select extract(epoch from '2026-07-23 08:34:28'::timestamp) - extract(epoch from '2026-07-23 08:34: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'), 47640, 'SRID=4674;POINT (-40.343986 -2.801297)', '2026-07-23 08:34:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343774 -2.801175)'), GeomFromEWKT('SRID=4674;POINT (-40.343986 -2.801297)'))) / (select extract(epoch from '2026-07-23 08:34:37'::timestamp) - extract(epoch from '2026-07-23 08:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343774 -2.801175)'), GeomFromEWKT('SRID=4674;POINT (-40.343986 -2.801297)'))) / (select extract(epoch from '2026-07-23 08:34:37'::timestamp) - extract(epoch from '2026-07-23 08:34: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'), 47640, 'SRID=4674;POINT (-40.344197 -2.801407)', '2026-07-23 08:34:46', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343986 -2.801297)'), GeomFromEWKT('SRID=4674;POINT (-40.344197 -2.801407)'))) / (select extract(epoch from '2026-07-23 08:34:46'::timestamp) - extract(epoch from '2026-07-23 08:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343986 -2.801297)'), GeomFromEWKT('SRID=4674;POINT (-40.344197 -2.801407)'))) / (select extract(epoch from '2026-07-23 08:34:46'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.344395 -2.801491)', '2026-07-23 08:34:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344197 -2.801407)'), GeomFromEWKT('SRID=4674;POINT (-40.344395 -2.801491)'))) / (select extract(epoch from '2026-07-23 08:34:54'::timestamp) - extract(epoch from '2026-07-23 08:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344197 -2.801407)'), GeomFromEWKT('SRID=4674;POINT (-40.344395 -2.801491)'))) / (select extract(epoch from '2026-07-23 08:34:54'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.344675 -2.801609)', '2026-07-23 08:35:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344395 -2.801491)'), GeomFromEWKT('SRID=4674;POINT (-40.344675 -2.801609)'))) / (select extract(epoch from '2026-07-23 08:35:05'::timestamp) - extract(epoch from '2026-07-23 08:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344395 -2.801491)'), GeomFromEWKT('SRID=4674;POINT (-40.344675 -2.801609)'))) / (select extract(epoch from '2026-07-23 08:35:05'::timestamp) - extract(epoch from '2026-07-23 08:34: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'), 47640, 'SRID=4674;POINT (-40.344884 -2.801699)', '2026-07-23 08:35:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344675 -2.801609)'), GeomFromEWKT('SRID=4674;POINT (-40.344884 -2.801699)'))) / (select extract(epoch from '2026-07-23 08:35:14'::timestamp) - extract(epoch from '2026-07-23 08:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344675 -2.801609)'), GeomFromEWKT('SRID=4674;POINT (-40.344884 -2.801699)'))) / (select extract(epoch from '2026-07-23 08:35:14'::timestamp) - extract(epoch from '2026-07-23 08:35: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'), 47640, 'SRID=4674;POINT (-40.345104 -2.801804)', '2026-07-23 08:35:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344884 -2.801699)'), GeomFromEWKT('SRID=4674;POINT (-40.345104 -2.801804)'))) / (select extract(epoch from '2026-07-23 08:35:23'::timestamp) - extract(epoch from '2026-07-23 08:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344884 -2.801699)'), GeomFromEWKT('SRID=4674;POINT (-40.345104 -2.801804)'))) / (select extract(epoch from '2026-07-23 08:35:23'::timestamp) - extract(epoch from '2026-07-23 08:35: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'), 47640, 'SRID=4674;POINT (-40.345363 -2.801907)', '2026-07-23 08:35:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345104 -2.801804)'), GeomFromEWKT('SRID=4674;POINT (-40.345363 -2.801907)'))) / (select extract(epoch from '2026-07-23 08:35:34'::timestamp) - extract(epoch from '2026-07-23 08:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345104 -2.801804)'), GeomFromEWKT('SRID=4674;POINT (-40.345363 -2.801907)'))) / (select extract(epoch from '2026-07-23 08:35:34'::timestamp) - extract(epoch from '2026-07-23 08:35: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'), 47640, 'SRID=4674;POINT (-40.345596 -2.801994)', '2026-07-23 08:35:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345363 -2.801907)'), GeomFromEWKT('SRID=4674;POINT (-40.345596 -2.801994)'))) / (select extract(epoch from '2026-07-23 08:35:44'::timestamp) - extract(epoch from '2026-07-23 08:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345363 -2.801907)'), GeomFromEWKT('SRID=4674;POINT (-40.345596 -2.801994)'))) / (select extract(epoch from '2026-07-23 08:35:44'::timestamp) - extract(epoch from '2026-07-23 08:35:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.34576 -2.802045)', '2026-07-23 08:35:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345596 -2.801994)'), GeomFromEWKT('SRID=4674;POINT (-40.34576 -2.802045)'))) / (select extract(epoch from '2026-07-23 08:35:51'::timestamp) - extract(epoch from '2026-07-23 08:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345596 -2.801994)'), GeomFromEWKT('SRID=4674;POINT (-40.34576 -2.802045)'))) / (select extract(epoch from '2026-07-23 08:35:51'::timestamp) - extract(epoch from '2026-07-23 08:35: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'), 47640, 'SRID=4674;POINT (-40.346001 -2.802127)', '2026-07-23 08:36:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34576 -2.802045)'), GeomFromEWKT('SRID=4674;POINT (-40.346001 -2.802127)'))) / (select extract(epoch from '2026-07-23 08:36:02'::timestamp) - extract(epoch from '2026-07-23 08:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34576 -2.802045)'), GeomFromEWKT('SRID=4674;POINT (-40.346001 -2.802127)'))) / (select extract(epoch from '2026-07-23 08:36:02'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.346174 -2.802193)', '2026-07-23 08:36:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346001 -2.802127)'), GeomFromEWKT('SRID=4674;POINT (-40.346174 -2.802193)'))) / (select extract(epoch from '2026-07-23 08:36:09'::timestamp) - extract(epoch from '2026-07-23 08:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346001 -2.802127)'), GeomFromEWKT('SRID=4674;POINT (-40.346174 -2.802193)'))) / (select extract(epoch from '2026-07-23 08:36:09'::timestamp) - extract(epoch from '2026-07-23 08:36: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'), 47640, 'SRID=4674;POINT (-40.346342 -2.802254)', '2026-07-23 08:36:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346174 -2.802193)'), GeomFromEWKT('SRID=4674;POINT (-40.346342 -2.802254)'))) / (select extract(epoch from '2026-07-23 08:36:16'::timestamp) - extract(epoch from '2026-07-23 08:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346174 -2.802193)'), GeomFromEWKT('SRID=4674;POINT (-40.346342 -2.802254)'))) / (select extract(epoch from '2026-07-23 08:36:16'::timestamp) - extract(epoch from '2026-07-23 08:36: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'), 47640, 'SRID=4674;POINT (-40.346552 -2.802345)', '2026-07-23 08:36:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346342 -2.802254)'), GeomFromEWKT('SRID=4674;POINT (-40.346552 -2.802345)'))) / (select extract(epoch from '2026-07-23 08:36:25'::timestamp) - extract(epoch from '2026-07-23 08:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346342 -2.802254)'), GeomFromEWKT('SRID=4674;POINT (-40.346552 -2.802345)'))) / (select extract(epoch from '2026-07-23 08:36:25'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.346793 -2.802442)', '2026-07-23 08:36:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346552 -2.802345)'), GeomFromEWKT('SRID=4674;POINT (-40.346793 -2.802442)'))) / (select extract(epoch from '2026-07-23 08:36:36'::timestamp) - extract(epoch from '2026-07-23 08:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346552 -2.802345)'), GeomFromEWKT('SRID=4674;POINT (-40.346793 -2.802442)'))) / (select extract(epoch from '2026-07-23 08:36:36'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.34697 -2.802534)', '2026-07-23 08:36:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346793 -2.802442)'), GeomFromEWKT('SRID=4674;POINT (-40.34697 -2.802534)'))) / (select extract(epoch from '2026-07-23 08:36:44'::timestamp) - extract(epoch from '2026-07-23 08:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346793 -2.802442)'), GeomFromEWKT('SRID=4674;POINT (-40.34697 -2.802534)'))) / (select extract(epoch from '2026-07-23 08:36:44'::timestamp) - extract(epoch from '2026-07-23 08:36: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'), 47640, 'SRID=4674;POINT (-40.34718 -2.80266)', '2026-07-23 08:36:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34697 -2.802534)'), GeomFromEWKT('SRID=4674;POINT (-40.34718 -2.80266)'))) / (select extract(epoch from '2026-07-23 08:36:53'::timestamp) - extract(epoch from '2026-07-23 08:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34697 -2.802534)'), GeomFromEWKT('SRID=4674;POINT (-40.34718 -2.80266)'))) / (select extract(epoch from '2026-07-23 08:36:53'::timestamp) - extract(epoch from '2026-07-23 08:36: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'), 47640, 'SRID=4674;POINT (-40.34733 -2.802767)', '2026-07-23 08:37:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34718 -2.80266)'), GeomFromEWKT('SRID=4674;POINT (-40.34733 -2.802767)'))) / (select extract(epoch from '2026-07-23 08:37:00'::timestamp) - extract(epoch from '2026-07-23 08:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34718 -2.80266)'), GeomFromEWKT('SRID=4674;POINT (-40.34733 -2.802767)'))) / (select extract(epoch from '2026-07-23 08:37:00'::timestamp) - extract(epoch from '2026-07-23 08:36:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.347609 -2.802904)', '2026-07-23 08:37:10', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34733 -2.802767)'), GeomFromEWKT('SRID=4674;POINT (-40.347609 -2.802904)'))) / (select extract(epoch from '2026-07-23 08:37:10'::timestamp) - extract(epoch from '2026-07-23 08:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34733 -2.802767)'), GeomFromEWKT('SRID=4674;POINT (-40.347609 -2.802904)'))) / (select extract(epoch from '2026-07-23 08:37:10'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.347901 -2.803039)', '2026-07-23 08:37:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347609 -2.802904)'), GeomFromEWKT('SRID=4674;POINT (-40.347901 -2.803039)'))) / (select extract(epoch from '2026-07-23 08:37:22'::timestamp) - extract(epoch from '2026-07-23 08:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347609 -2.802904)'), GeomFromEWKT('SRID=4674;POINT (-40.347901 -2.803039)'))) / (select extract(epoch from '2026-07-23 08:37:22'::timestamp) - extract(epoch from '2026-07-23 08:37: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'), 47640, 'SRID=4674;POINT (-40.348084 -2.803126)', '2026-07-23 08:37:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347901 -2.803039)'), GeomFromEWKT('SRID=4674;POINT (-40.348084 -2.803126)'))) / (select extract(epoch from '2026-07-23 08:37:30'::timestamp) - extract(epoch from '2026-07-23 08:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347901 -2.803039)'), GeomFromEWKT('SRID=4674;POINT (-40.348084 -2.803126)'))) / (select extract(epoch from '2026-07-23 08:37:30'::timestamp) - extract(epoch from '2026-07-23 08:37:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.34835 -2.803251)', '2026-07-23 08:37:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348084 -2.803126)'), GeomFromEWKT('SRID=4674;POINT (-40.34835 -2.803251)'))) / (select extract(epoch from '2026-07-23 08:37:41'::timestamp) - extract(epoch from '2026-07-23 08:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348084 -2.803126)'), GeomFromEWKT('SRID=4674;POINT (-40.34835 -2.803251)'))) / (select extract(epoch from '2026-07-23 08:37:41'::timestamp) - extract(epoch from '2026-07-23 08:37: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'), 47640, 'SRID=4674;POINT (-40.348613 -2.803368)', '2026-07-23 08:37:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34835 -2.803251)'), GeomFromEWKT('SRID=4674;POINT (-40.348613 -2.803368)'))) / (select extract(epoch from '2026-07-23 08:37:51'::timestamp) - extract(epoch from '2026-07-23 08:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34835 -2.803251)'), GeomFromEWKT('SRID=4674;POINT (-40.348613 -2.803368)'))) / (select extract(epoch from '2026-07-23 08:37:51'::timestamp) - extract(epoch from '2026-07-23 08:37: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'), 47640, 'SRID=4674;POINT (-40.348839 -2.803473)', '2026-07-23 08:38:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348613 -2.803368)'), GeomFromEWKT('SRID=4674;POINT (-40.348839 -2.803473)'))) / (select extract(epoch from '2026-07-23 08:38:00'::timestamp) - extract(epoch from '2026-07-23 08:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348613 -2.803368)'), GeomFromEWKT('SRID=4674;POINT (-40.348839 -2.803473)'))) / (select extract(epoch from '2026-07-23 08:38:00'::timestamp) - extract(epoch from '2026-07-23 08:37: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'), 47640, 'SRID=4674;POINT (-40.349057 -2.803595)', '2026-07-23 08:38:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348839 -2.803473)'), GeomFromEWKT('SRID=4674;POINT (-40.349057 -2.803595)'))) / (select extract(epoch from '2026-07-23 08:38:09'::timestamp) - extract(epoch from '2026-07-23 08:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348839 -2.803473)'), GeomFromEWKT('SRID=4674;POINT (-40.349057 -2.803595)'))) / (select extract(epoch from '2026-07-23 08:38:09'::timestamp) - extract(epoch from '2026-07-23 08:38: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'), 47640, 'SRID=4674;POINT (-40.349287 -2.803729)', '2026-07-23 08:38:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349057 -2.803595)'), GeomFromEWKT('SRID=4674;POINT (-40.349287 -2.803729)'))) / (select extract(epoch from '2026-07-23 08:38:19'::timestamp) - extract(epoch from '2026-07-23 08:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349057 -2.803595)'), GeomFromEWKT('SRID=4674;POINT (-40.349287 -2.803729)'))) / (select extract(epoch from '2026-07-23 08:38:19'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.349518 -2.80386)', '2026-07-23 08:38:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349287 -2.803729)'), GeomFromEWKT('SRID=4674;POINT (-40.349518 -2.80386)'))) / (select extract(epoch from '2026-07-23 08:38:29'::timestamp) - extract(epoch from '2026-07-23 08:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349287 -2.803729)'), GeomFromEWKT('SRID=4674;POINT (-40.349518 -2.80386)'))) / (select extract(epoch from '2026-07-23 08:38:29'::timestamp) - extract(epoch from '2026-07-23 08:38: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'), 47640, 'SRID=4674;POINT (-40.349748 -2.80399)', '2026-07-23 08:38:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349518 -2.80386)'), GeomFromEWKT('SRID=4674;POINT (-40.349748 -2.80399)'))) / (select extract(epoch from '2026-07-23 08:38:39'::timestamp) - extract(epoch from '2026-07-23 08:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349518 -2.80386)'), GeomFromEWKT('SRID=4674;POINT (-40.349748 -2.80399)'))) / (select extract(epoch from '2026-07-23 08:38:39'::timestamp) - extract(epoch from '2026-07-23 08:38: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'), 47640, 'SRID=4674;POINT (-40.349971 -2.80413)', '2026-07-23 08:38:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349748 -2.80399)'), GeomFromEWKT('SRID=4674;POINT (-40.349971 -2.80413)'))) / (select extract(epoch from '2026-07-23 08:38:49'::timestamp) - extract(epoch from '2026-07-23 08:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349748 -2.80399)'), GeomFromEWKT('SRID=4674;POINT (-40.349971 -2.80413)'))) / (select extract(epoch from '2026-07-23 08:38:49'::timestamp) - extract(epoch from '2026-07-23 08:38: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'), 47640, 'SRID=4674;POINT (-40.350194 -2.804254)', '2026-07-23 08:38:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349971 -2.80413)'), GeomFromEWKT('SRID=4674;POINT (-40.350194 -2.804254)'))) / (select extract(epoch from '2026-07-23 08:38:59'::timestamp) - extract(epoch from '2026-07-23 08:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349971 -2.80413)'), GeomFromEWKT('SRID=4674;POINT (-40.350194 -2.804254)'))) / (select extract(epoch from '2026-07-23 08:38:59'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.350391 -2.804353)', '2026-07-23 08:39:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350194 -2.804254)'), GeomFromEWKT('SRID=4674;POINT (-40.350391 -2.804353)'))) / (select extract(epoch from '2026-07-23 08:39:08'::timestamp) - extract(epoch from '2026-07-23 08:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350194 -2.804254)'), GeomFromEWKT('SRID=4674;POINT (-40.350391 -2.804353)'))) / (select extract(epoch from '2026-07-23 08:39:08'::timestamp) - extract(epoch from '2026-07-23 08:38: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'), 47640, 'SRID=4674;POINT (-40.350615 -2.804455)', '2026-07-23 08:39:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350391 -2.804353)'), GeomFromEWKT('SRID=4674;POINT (-40.350615 -2.804455)'))) / (select extract(epoch from '2026-07-23 08:39:18'::timestamp) - extract(epoch from '2026-07-23 08:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350391 -2.804353)'), GeomFromEWKT('SRID=4674;POINT (-40.350615 -2.804455)'))) / (select extract(epoch from '2026-07-23 08:39:18'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.350812 -2.804537)', '2026-07-23 08:39:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350615 -2.804455)'), GeomFromEWKT('SRID=4674;POINT (-40.350812 -2.804537)'))) / (select extract(epoch from '2026-07-23 08:39:27'::timestamp) - extract(epoch from '2026-07-23 08:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350615 -2.804455)'), GeomFromEWKT('SRID=4674;POINT (-40.350812 -2.804537)'))) / (select extract(epoch from '2026-07-23 08:39:27'::timestamp) - extract(epoch from '2026-07-23 08:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.350977 -2.804609)', '2026-07-23 08:39:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350812 -2.804537)'), GeomFromEWKT('SRID=4674;POINT (-40.350977 -2.804609)'))) / (select extract(epoch from '2026-07-23 08:39:35'::timestamp) - extract(epoch from '2026-07-23 08:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350812 -2.804537)'), GeomFromEWKT('SRID=4674;POINT (-40.350977 -2.804609)'))) / (select extract(epoch from '2026-07-23 08:39:35'::timestamp) - extract(epoch from '2026-07-23 08:39: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'), 47640, 'SRID=4674;POINT (-40.351124 -2.804671)', '2026-07-23 08:39:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350977 -2.804609)'), GeomFromEWKT('SRID=4674;POINT (-40.351124 -2.804671)'))) / (select extract(epoch from '2026-07-23 08:39:42'::timestamp) - extract(epoch from '2026-07-23 08:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350977 -2.804609)'), GeomFromEWKT('SRID=4674;POINT (-40.351124 -2.804671)'))) / (select extract(epoch from '2026-07-23 08:39:42'::timestamp) - extract(epoch from '2026-07-23 08:39: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'), 47640, 'SRID=4674;POINT (-40.351332 -2.804779)', '2026-07-23 08:39:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351124 -2.804671)'), GeomFromEWKT('SRID=4674;POINT (-40.351332 -2.804779)'))) / (select extract(epoch from '2026-07-23 08:39:52'::timestamp) - extract(epoch from '2026-07-23 08:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351124 -2.804671)'), GeomFromEWKT('SRID=4674;POINT (-40.351332 -2.804779)'))) / (select extract(epoch from '2026-07-23 08:39:52'::timestamp) - extract(epoch from '2026-07-23 08:39:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.351538 -2.804906)', '2026-07-23 08:40:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351332 -2.804779)'), GeomFromEWKT('SRID=4674;POINT (-40.351538 -2.804906)'))) / (select extract(epoch from '2026-07-23 08:40:02'::timestamp) - extract(epoch from '2026-07-23 08:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351332 -2.804779)'), GeomFromEWKT('SRID=4674;POINT (-40.351538 -2.804906)'))) / (select extract(epoch from '2026-07-23 08:40:02'::timestamp) - extract(epoch from '2026-07-23 08:39:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.351761 -2.805051)', '2026-07-23 08:40:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351538 -2.804906)'), GeomFromEWKT('SRID=4674;POINT (-40.351761 -2.805051)'))) / (select extract(epoch from '2026-07-23 08:40:13'::timestamp) - extract(epoch from '2026-07-23 08:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351538 -2.804906)'), GeomFromEWKT('SRID=4674;POINT (-40.351761 -2.805051)'))) / (select extract(epoch from '2026-07-23 08:40:13'::timestamp) - extract(epoch from '2026-07-23 08:40: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'), 47640, 'SRID=4674;POINT (-40.351983 -2.805231)', '2026-07-23 08:40:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351761 -2.805051)'), GeomFromEWKT('SRID=4674;POINT (-40.351983 -2.805231)'))) / (select extract(epoch from '2026-07-23 08:40:24'::timestamp) - extract(epoch from '2026-07-23 08:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351761 -2.805051)'), GeomFromEWKT('SRID=4674;POINT (-40.351983 -2.805231)'))) / (select extract(epoch from '2026-07-23 08:40:24'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.352074 -2.805335)', '2026-07-23 08:40:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351983 -2.805231)'), GeomFromEWKT('SRID=4674;POINT (-40.352074 -2.805335)'))) / (select extract(epoch from '2026-07-23 08:40:31'::timestamp) - extract(epoch from '2026-07-23 08:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351983 -2.805231)'), GeomFromEWKT('SRID=4674;POINT (-40.352074 -2.805335)'))) / (select extract(epoch from '2026-07-23 08:40:31'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.352155 -2.805421)', '2026-07-23 08:40:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352074 -2.805335)'), GeomFromEWKT('SRID=4674;POINT (-40.352155 -2.805421)'))) / (select extract(epoch from '2026-07-23 08:40:39'::timestamp) - extract(epoch from '2026-07-23 08:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352074 -2.805335)'), GeomFromEWKT('SRID=4674;POINT (-40.352155 -2.805421)'))) / (select extract(epoch from '2026-07-23 08:40:39'::timestamp) - extract(epoch from '2026-07-23 08:40: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'), 47640, 'SRID=4674;POINT (-40.352211 -2.805515)', '2026-07-23 08:40:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352155 -2.805421)'), GeomFromEWKT('SRID=4674;POINT (-40.352211 -2.805515)'))) / (select extract(epoch from '2026-07-23 08:40:50'::timestamp) - extract(epoch from '2026-07-23 08:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352155 -2.805421)'), GeomFromEWKT('SRID=4674;POINT (-40.352211 -2.805515)'))) / (select extract(epoch from '2026-07-23 08:40:50'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.352278 -2.805635)', '2026-07-23 08:41:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352211 -2.805515)'), GeomFromEWKT('SRID=4674;POINT (-40.352278 -2.805635)'))) / (select extract(epoch from '2026-07-23 08:41:02'::timestamp) - extract(epoch from '2026-07-23 08:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352211 -2.805515)'), GeomFromEWKT('SRID=4674;POINT (-40.352278 -2.805635)'))) / (select extract(epoch from '2026-07-23 08:41:02'::timestamp) - extract(epoch from '2026-07-23 08:40: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'), 47640, 'SRID=4674;POINT (-40.352329 -2.805745)', '2026-07-23 08:41:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352278 -2.805635)'), GeomFromEWKT('SRID=4674;POINT (-40.352329 -2.805745)'))) / (select extract(epoch from '2026-07-23 08:41:11'::timestamp) - extract(epoch from '2026-07-23 08:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352278 -2.805635)'), GeomFromEWKT('SRID=4674;POINT (-40.352329 -2.805745)'))) / (select extract(epoch from '2026-07-23 08:41:11'::timestamp) - extract(epoch from '2026-07-23 08:41: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'), 47640, 'SRID=4674;POINT (-40.352398 -2.805841)', '2026-07-23 08:41:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352329 -2.805745)'), GeomFromEWKT('SRID=4674;POINT (-40.352398 -2.805841)'))) / (select extract(epoch from '2026-07-23 08:41:20'::timestamp) - extract(epoch from '2026-07-23 08:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352329 -2.805745)'), GeomFromEWKT('SRID=4674;POINT (-40.352398 -2.805841)'))) / (select extract(epoch from '2026-07-23 08:41:20'::timestamp) - extract(epoch from '2026-07-23 08:41: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'), 47640, 'SRID=4674;POINT (-40.352466 -2.805939)', '2026-07-23 08:41:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352398 -2.805841)'), GeomFromEWKT('SRID=4674;POINT (-40.352466 -2.805939)'))) / (select extract(epoch from '2026-07-23 08:41:29'::timestamp) - extract(epoch from '2026-07-23 08:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352398 -2.805841)'), GeomFromEWKT('SRID=4674;POINT (-40.352466 -2.805939)'))) / (select extract(epoch from '2026-07-23 08:41:29'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.352542 -2.806035)', '2026-07-23 08:41:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352466 -2.805939)'), GeomFromEWKT('SRID=4674;POINT (-40.352542 -2.806035)'))) / (select extract(epoch from '2026-07-23 08:41:38'::timestamp) - extract(epoch from '2026-07-23 08:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352466 -2.805939)'), GeomFromEWKT('SRID=4674;POINT (-40.352542 -2.806035)'))) / (select extract(epoch from '2026-07-23 08:41:38'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.352604 -2.806153)', '2026-07-23 08:41:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352542 -2.806035)'), GeomFromEWKT('SRID=4674;POINT (-40.352604 -2.806153)'))) / (select extract(epoch from '2026-07-23 08:41:48'::timestamp) - extract(epoch from '2026-07-23 08:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352542 -2.806035)'), GeomFromEWKT('SRID=4674;POINT (-40.352604 -2.806153)'))) / (select extract(epoch from '2026-07-23 08:41:48'::timestamp) - extract(epoch from '2026-07-23 08:41: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'), 47640, 'SRID=4674;POINT (-40.35265 -2.806237)', '2026-07-23 08:41:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352604 -2.806153)'), GeomFromEWKT('SRID=4674;POINT (-40.35265 -2.806237)'))) / (select extract(epoch from '2026-07-23 08:41:56'::timestamp) - extract(epoch from '2026-07-23 08:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352604 -2.806153)'), GeomFromEWKT('SRID=4674;POINT (-40.35265 -2.806237)'))) / (select extract(epoch from '2026-07-23 08:41:56'::timestamp) - extract(epoch from '2026-07-23 08:41: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'), 47640, 'SRID=4674;POINT (-40.352703 -2.806348)', '2026-07-23 08:42:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35265 -2.806237)'), GeomFromEWKT('SRID=4674;POINT (-40.352703 -2.806348)'))) / (select extract(epoch from '2026-07-23 08:42:07'::timestamp) - extract(epoch from '2026-07-23 08:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35265 -2.806237)'), GeomFromEWKT('SRID=4674;POINT (-40.352703 -2.806348)'))) / (select extract(epoch from '2026-07-23 08:42:07'::timestamp) - extract(epoch from '2026-07-23 08:41: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'), 47640, 'SRID=4674;POINT (-40.352728 -2.806421)', '2026-07-23 08:42:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352703 -2.806348)'), GeomFromEWKT('SRID=4674;POINT (-40.352728 -2.806421)'))) / (select extract(epoch from '2026-07-23 08:42:14'::timestamp) - extract(epoch from '2026-07-23 08:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352703 -2.806348)'), GeomFromEWKT('SRID=4674;POINT (-40.352728 -2.806421)'))) / (select extract(epoch from '2026-07-23 08:42:14'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47640, 'SRID=4674;POINT (-40.352766 -2.80652)', '2026-07-23 08:42:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352728 -2.806421)'), GeomFromEWKT('SRID=4674;POINT (-40.352766 -2.80652)'))) / (select extract(epoch from '2026-07-23 08:42:25'::timestamp) - extract(epoch from '2026-07-23 08:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352728 -2.806421)'), GeomFromEWKT('SRID=4674;POINT (-40.352766 -2.80652)'))) / (select extract(epoch from '2026-07-23 08:42:25'::timestamp) - extract(epoch from '2026-07-23 08:42: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'), 47640, 'SRID=4674;POINT (-40.352802 -2.806599)', '2026-07-23 08:42:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352766 -2.80652)'), GeomFromEWKT('SRID=4674;POINT (-40.352802 -2.806599)'))) / (select extract(epoch from '2026-07-23 08:42:35'::timestamp) - extract(epoch from '2026-07-23 08:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352766 -2.80652)'), GeomFromEWKT('SRID=4674;POINT (-40.352802 -2.806599)'))) / (select extract(epoch from '2026-07-23 08:42:35'::timestamp) - extract(epoch from '2026-07-23 08:42:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
