 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.122967 -2.819734)', '2026-07-08 14:18:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12291 -2.819706)'), GeomFromEWKT('SRID=4674;POINT (-40.122967 -2.819734)'))) / (select extract(epoch from '2026-07-08 14:18:47'::timestamp) - extract(epoch from '2026-07-08 14:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12291 -2.819706)'), GeomFromEWKT('SRID=4674;POINT (-40.122967 -2.819734)'))) / (select extract(epoch from '2026-07-08 14:18:47'::timestamp) - extract(epoch from '2026-07-08 14:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123035 -2.819772)', '2026-07-08 14:19:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122967 -2.819734)'), GeomFromEWKT('SRID=4674;POINT (-40.123035 -2.819772)'))) / (select extract(epoch from '2026-07-08 14:19:02'::timestamp) - extract(epoch from '2026-07-08 14:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122967 -2.819734)'), GeomFromEWKT('SRID=4674;POINT (-40.123035 -2.819772)'))) / (select extract(epoch from '2026-07-08 14:19:02'::timestamp) - extract(epoch from '2026-07-08 14:18:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123089 -2.819802)', '2026-07-08 14:19:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123035 -2.819772)'), GeomFromEWKT('SRID=4674;POINT (-40.123089 -2.819802)'))) / (select extract(epoch from '2026-07-08 14:19:16'::timestamp) - extract(epoch from '2026-07-08 14:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123035 -2.819772)'), GeomFromEWKT('SRID=4674;POINT (-40.123089 -2.819802)'))) / (select extract(epoch from '2026-07-08 14:19:16'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.12318 -2.819851)', '2026-07-08 14:19:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123089 -2.819802)'), GeomFromEWKT('SRID=4674;POINT (-40.12318 -2.819851)'))) / (select extract(epoch from '2026-07-08 14:19:34'::timestamp) - extract(epoch from '2026-07-08 14:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123089 -2.819802)'), GeomFromEWKT('SRID=4674;POINT (-40.12318 -2.819851)'))) / (select extract(epoch from '2026-07-08 14:19:34'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.123258 -2.819896)', '2026-07-08 14:19:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12318 -2.819851)'), GeomFromEWKT('SRID=4674;POINT (-40.123258 -2.819896)'))) / (select extract(epoch from '2026-07-08 14:19:52'::timestamp) - extract(epoch from '2026-07-08 14:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12318 -2.819851)'), GeomFromEWKT('SRID=4674;POINT (-40.123258 -2.819896)'))) / (select extract(epoch from '2026-07-08 14:19:52'::timestamp) - extract(epoch from '2026-07-08 14:19: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'), 47631, 'SRID=4674;POINT (-40.123329 -2.819947)', '2026-07-08 14:20:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123258 -2.819896)'), GeomFromEWKT('SRID=4674;POINT (-40.123329 -2.819947)'))) / (select extract(epoch from '2026-07-08 14:20:11'::timestamp) - extract(epoch from '2026-07-08 14:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123258 -2.819896)'), GeomFromEWKT('SRID=4674;POINT (-40.123329 -2.819947)'))) / (select extract(epoch from '2026-07-08 14:20:11'::timestamp) - extract(epoch from '2026-07-08 14:19: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'), 47631, 'SRID=4674;POINT (-40.123403 -2.819989)', '2026-07-08 14:20:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123329 -2.819947)'), GeomFromEWKT('SRID=4674;POINT (-40.123403 -2.819989)'))) / (select extract(epoch from '2026-07-08 14:20:29'::timestamp) - extract(epoch from '2026-07-08 14:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123329 -2.819947)'), GeomFromEWKT('SRID=4674;POINT (-40.123403 -2.819989)'))) / (select extract(epoch from '2026-07-08 14:20:29'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.123457 -2.820022)', '2026-07-08 14:20:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123403 -2.819989)'), GeomFromEWKT('SRID=4674;POINT (-40.123457 -2.820022)'))) / (select extract(epoch from '2026-07-08 14:20:46'::timestamp) - extract(epoch from '2026-07-08 14:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123403 -2.819989)'), GeomFromEWKT('SRID=4674;POINT (-40.123457 -2.820022)'))) / (select extract(epoch from '2026-07-08 14:20:46'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.123535 -2.820057)', '2026-07-08 14:21:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123457 -2.820022)'), GeomFromEWKT('SRID=4674;POINT (-40.123535 -2.820057)'))) / (select extract(epoch from '2026-07-08 14:21:02'::timestamp) - extract(epoch from '2026-07-08 14:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123457 -2.820022)'), GeomFromEWKT('SRID=4674;POINT (-40.123535 -2.820057)'))) / (select extract(epoch from '2026-07-08 14:21:02'::timestamp) - extract(epoch from '2026-07-08 14:20: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'), 47631, 'SRID=4674;POINT (-40.123606 -2.820104)', '2026-07-08 14:21:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123535 -2.820057)'), GeomFromEWKT('SRID=4674;POINT (-40.123606 -2.820104)'))) / (select extract(epoch from '2026-07-08 14:21:20'::timestamp) - extract(epoch from '2026-07-08 14:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123535 -2.820057)'), GeomFromEWKT('SRID=4674;POINT (-40.123606 -2.820104)'))) / (select extract(epoch from '2026-07-08 14:21:20'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.123688 -2.820139)', '2026-07-08 14:21:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123606 -2.820104)'), GeomFromEWKT('SRID=4674;POINT (-40.123688 -2.820139)'))) / (select extract(epoch from '2026-07-08 14:21:38'::timestamp) - extract(epoch from '2026-07-08 14:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123606 -2.820104)'), GeomFromEWKT('SRID=4674;POINT (-40.123688 -2.820139)'))) / (select extract(epoch from '2026-07-08 14:21:38'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.123767 -2.820173)', '2026-07-08 14:21:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123688 -2.820139)'), GeomFromEWKT('SRID=4674;POINT (-40.123767 -2.820173)'))) / (select extract(epoch from '2026-07-08 14:21:54'::timestamp) - extract(epoch from '2026-07-08 14:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123688 -2.820139)'), GeomFromEWKT('SRID=4674;POINT (-40.123767 -2.820173)'))) / (select extract(epoch from '2026-07-08 14:21:54'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.123827 -2.82021)', '2026-07-08 14:22:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123767 -2.820173)'), GeomFromEWKT('SRID=4674;POINT (-40.123827 -2.82021)'))) / (select extract(epoch from '2026-07-08 14:22:12'::timestamp) - extract(epoch from '2026-07-08 14:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123767 -2.820173)'), GeomFromEWKT('SRID=4674;POINT (-40.123827 -2.82021)'))) / (select extract(epoch from '2026-07-08 14:22:12'::timestamp) - extract(epoch from '2026-07-08 14:21:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123907 -2.820258)', '2026-07-08 14:22:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123827 -2.82021)'), GeomFromEWKT('SRID=4674;POINT (-40.123907 -2.820258)'))) / (select extract(epoch from '2026-07-08 14:22:32'::timestamp) - extract(epoch from '2026-07-08 14:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123827 -2.82021)'), GeomFromEWKT('SRID=4674;POINT (-40.123907 -2.820258)'))) / (select extract(epoch from '2026-07-08 14:22:32'::timestamp) - extract(epoch from '2026-07-08 14:22: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'), 47631, 'SRID=4674;POINT (-40.123993 -2.820303)', '2026-07-08 14:22:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123907 -2.820258)'), GeomFromEWKT('SRID=4674;POINT (-40.123993 -2.820303)'))) / (select extract(epoch from '2026-07-08 14:22:51'::timestamp) - extract(epoch from '2026-07-08 14:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123907 -2.820258)'), GeomFromEWKT('SRID=4674;POINT (-40.123993 -2.820303)'))) / (select extract(epoch from '2026-07-08 14:22:51'::timestamp) - extract(epoch from '2026-07-08 14:22: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'), 47631, 'SRID=4674;POINT (-40.12402 -2.82032)', '2026-07-08 14:23:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123993 -2.820303)'), GeomFromEWKT('SRID=4674;POINT (-40.12402 -2.82032)'))) / (select extract(epoch from '2026-07-08 14:23:04'::timestamp) - extract(epoch from '2026-07-08 14:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123993 -2.820303)'), GeomFromEWKT('SRID=4674;POINT (-40.12402 -2.82032)'))) / (select extract(epoch from '2026-07-08 14:23:04'::timestamp) - extract(epoch from '2026-07-08 14:22: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'), 47631, 'SRID=4674;POINT (-40.124083 -2.820343)', '2026-07-08 14:23:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12402 -2.82032)'), GeomFromEWKT('SRID=4674;POINT (-40.124083 -2.820343)'))) / (select extract(epoch from '2026-07-08 14:23:13'::timestamp) - extract(epoch from '2026-07-08 14:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12402 -2.82032)'), GeomFromEWKT('SRID=4674;POINT (-40.124083 -2.820343)'))) / (select extract(epoch from '2026-07-08 14:23:13'::timestamp) - extract(epoch from '2026-07-08 14:23: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'), 47631, 'SRID=4674;POINT (-40.124133 -2.820365)', '2026-07-08 14:23:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124083 -2.820343)'), GeomFromEWKT('SRID=4674;POINT (-40.124133 -2.820365)'))) / (select extract(epoch from '2026-07-08 14:23:26'::timestamp) - extract(epoch from '2026-07-08 14:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124083 -2.820343)'), GeomFromEWKT('SRID=4674;POINT (-40.124133 -2.820365)'))) / (select extract(epoch from '2026-07-08 14:23:26'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.124185 -2.820387)', '2026-07-08 14:23:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124133 -2.820365)'), GeomFromEWKT('SRID=4674;POINT (-40.124185 -2.820387)'))) / (select extract(epoch from '2026-07-08 14:23:41'::timestamp) - extract(epoch from '2026-07-08 14:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124133 -2.820365)'), GeomFromEWKT('SRID=4674;POINT (-40.124185 -2.820387)'))) / (select extract(epoch from '2026-07-08 14:23:41'::timestamp) - extract(epoch from '2026-07-08 14:23: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'), 47631, 'SRID=4674;POINT (-40.124282 -2.820417)', '2026-07-08 14:23:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124185 -2.820387)'), GeomFromEWKT('SRID=4674;POINT (-40.124282 -2.820417)'))) / (select extract(epoch from '2026-07-08 14:23:59'::timestamp) - extract(epoch from '2026-07-08 14:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124185 -2.820387)'), GeomFromEWKT('SRID=4674;POINT (-40.124282 -2.820417)'))) / (select extract(epoch from '2026-07-08 14:23:59'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.12433 -2.820455)', '2026-07-08 14:24:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124282 -2.820417)'), GeomFromEWKT('SRID=4674;POINT (-40.12433 -2.820455)'))) / (select extract(epoch from '2026-07-08 14:24:16'::timestamp) - extract(epoch from '2026-07-08 14:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124282 -2.820417)'), GeomFromEWKT('SRID=4674;POINT (-40.12433 -2.820455)'))) / (select extract(epoch from '2026-07-08 14:24:16'::timestamp) - extract(epoch from '2026-07-08 14:23: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'), 47631, 'SRID=4674;POINT (-40.124384 -2.820472)', '2026-07-08 14:24:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12433 -2.820455)'), GeomFromEWKT('SRID=4674;POINT (-40.124384 -2.820472)'))) / (select extract(epoch from '2026-07-08 14:24:29'::timestamp) - extract(epoch from '2026-07-08 14:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12433 -2.820455)'), GeomFromEWKT('SRID=4674;POINT (-40.124384 -2.820472)'))) / (select extract(epoch from '2026-07-08 14:24:29'::timestamp) - extract(epoch from '2026-07-08 14:24: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'), 47631, 'SRID=4674;POINT (-40.12442 -2.820489)', '2026-07-08 14:24:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124384 -2.820472)'), GeomFromEWKT('SRID=4674;POINT (-40.12442 -2.820489)'))) / (select extract(epoch from '2026-07-08 14:24:38'::timestamp) - extract(epoch from '2026-07-08 14:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124384 -2.820472)'), GeomFromEWKT('SRID=4674;POINT (-40.12442 -2.820489)'))) / (select extract(epoch from '2026-07-08 14:24:38'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.124527 -2.820533)', '2026-07-08 14:24:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12442 -2.820489)'), GeomFromEWKT('SRID=4674;POINT (-40.124527 -2.820533)'))) / (select extract(epoch from '2026-07-08 14:24:57'::timestamp) - extract(epoch from '2026-07-08 14:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12442 -2.820489)'), GeomFromEWKT('SRID=4674;POINT (-40.124527 -2.820533)'))) / (select extract(epoch from '2026-07-08 14:24:57'::timestamp) - extract(epoch from '2026-07-08 14:24: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'), 47631, 'SRID=4674;POINT (-40.124591 -2.820564)', '2026-07-08 14:25:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124527 -2.820533)'), GeomFromEWKT('SRID=4674;POINT (-40.124591 -2.820564)'))) / (select extract(epoch from '2026-07-08 14:25:16'::timestamp) - extract(epoch from '2026-07-08 14:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124527 -2.820533)'), GeomFromEWKT('SRID=4674;POINT (-40.124591 -2.820564)'))) / (select extract(epoch from '2026-07-08 14:25:16'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.124633 -2.820579)', '2026-07-08 14:25:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124591 -2.820564)'), GeomFromEWKT('SRID=4674;POINT (-40.124633 -2.820579)'))) / (select extract(epoch from '2026-07-08 14:25:25'::timestamp) - extract(epoch from '2026-07-08 14:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124591 -2.820564)'), GeomFromEWKT('SRID=4674;POINT (-40.124633 -2.820579)'))) / (select extract(epoch from '2026-07-08 14:25:25'::timestamp) - extract(epoch from '2026-07-08 14:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.124706 -2.820596)', '2026-07-08 14:25:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124633 -2.820579)'), GeomFromEWKT('SRID=4674;POINT (-40.124706 -2.820596)'))) / (select extract(epoch from '2026-07-08 14:25:42'::timestamp) - extract(epoch from '2026-07-08 14:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124633 -2.820579)'), GeomFromEWKT('SRID=4674;POINT (-40.124706 -2.820596)'))) / (select extract(epoch from '2026-07-08 14:25:42'::timestamp) - extract(epoch from '2026-07-08 14:25: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'), 47631, 'SRID=4674;POINT (-40.124756 -2.820615)', '2026-07-08 14:25:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124706 -2.820596)'), GeomFromEWKT('SRID=4674;POINT (-40.124756 -2.820615)'))) / (select extract(epoch from '2026-07-08 14:25:54'::timestamp) - extract(epoch from '2026-07-08 14:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124706 -2.820596)'), GeomFromEWKT('SRID=4674;POINT (-40.124756 -2.820615)'))) / (select extract(epoch from '2026-07-08 14:25:54'::timestamp) - extract(epoch from '2026-07-08 14:25: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'), 47631, 'SRID=4674;POINT (-40.124777 -2.82063)', '2026-07-08 14:26:07', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124756 -2.820615)'), GeomFromEWKT('SRID=4674;POINT (-40.124777 -2.82063)'))) / (select extract(epoch from '2026-07-08 14:26:07'::timestamp) - extract(epoch from '2026-07-08 14:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124756 -2.820615)'), GeomFromEWKT('SRID=4674;POINT (-40.124777 -2.82063)'))) / (select extract(epoch from '2026-07-08 14:26:07'::timestamp) - extract(epoch from '2026-07-08 14:25: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'), 47631, 'SRID=4674;POINT (-40.124834 -2.820658)', '2026-07-08 14:26:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124777 -2.82063)'), GeomFromEWKT('SRID=4674;POINT (-40.124834 -2.820658)'))) / (select extract(epoch from '2026-07-08 14:26:21'::timestamp) - extract(epoch from '2026-07-08 14:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124777 -2.82063)'), GeomFromEWKT('SRID=4674;POINT (-40.124834 -2.820658)'))) / (select extract(epoch from '2026-07-08 14:26:21'::timestamp) - extract(epoch from '2026-07-08 14:26: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'), 47631, 'SRID=4674;POINT (-40.124894 -2.82069)', '2026-07-08 14:26:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124834 -2.820658)'), GeomFromEWKT('SRID=4674;POINT (-40.124894 -2.82069)'))) / (select extract(epoch from '2026-07-08 14:26:36'::timestamp) - extract(epoch from '2026-07-08 14:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124834 -2.820658)'), GeomFromEWKT('SRID=4674;POINT (-40.124894 -2.82069)'))) / (select extract(epoch from '2026-07-08 14:26:36'::timestamp) - extract(epoch from '2026-07-08 14:26: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'), 47631, 'SRID=4674;POINT (-40.12497 -2.820717)', '2026-07-08 14:26:54', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124894 -2.82069)'), GeomFromEWKT('SRID=4674;POINT (-40.12497 -2.820717)'))) / (select extract(epoch from '2026-07-08 14:26:54'::timestamp) - extract(epoch from '2026-07-08 14:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124894 -2.82069)'), GeomFromEWKT('SRID=4674;POINT (-40.12497 -2.820717)'))) / (select extract(epoch from '2026-07-08 14:26:54'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.125037 -2.820733)', '2026-07-08 14:27:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12497 -2.820717)'), GeomFromEWKT('SRID=4674;POINT (-40.125037 -2.820733)'))) / (select extract(epoch from '2026-07-08 14:27:10'::timestamp) - extract(epoch from '2026-07-08 14:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12497 -2.820717)'), GeomFromEWKT('SRID=4674;POINT (-40.125037 -2.820733)'))) / (select extract(epoch from '2026-07-08 14:27:10'::timestamp) - extract(epoch from '2026-07-08 14:26:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125089 -2.82077)', '2026-07-08 14:27:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125037 -2.820733)'), GeomFromEWKT('SRID=4674;POINT (-40.125089 -2.82077)'))) / (select extract(epoch from '2026-07-08 14:27:24'::timestamp) - extract(epoch from '2026-07-08 14:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125037 -2.820733)'), GeomFromEWKT('SRID=4674;POINT (-40.125089 -2.82077)'))) / (select extract(epoch from '2026-07-08 14:27:24'::timestamp) - extract(epoch from '2026-07-08 14:27: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'), 47631, 'SRID=4674;POINT (-40.125142 -2.820794)', '2026-07-08 14:27:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125089 -2.82077)'), GeomFromEWKT('SRID=4674;POINT (-40.125142 -2.820794)'))) / (select extract(epoch from '2026-07-08 14:27:41'::timestamp) - extract(epoch from '2026-07-08 14:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125089 -2.82077)'), GeomFromEWKT('SRID=4674;POINT (-40.125142 -2.820794)'))) / (select extract(epoch from '2026-07-08 14:27:41'::timestamp) - extract(epoch from '2026-07-08 14:27: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'), 47631, 'SRID=4674;POINT (-40.125192 -2.820816)', '2026-07-08 14:27:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125142 -2.820794)'), GeomFromEWKT('SRID=4674;POINT (-40.125192 -2.820816)'))) / (select extract(epoch from '2026-07-08 14:27:55'::timestamp) - extract(epoch from '2026-07-08 14:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125142 -2.820794)'), GeomFromEWKT('SRID=4674;POINT (-40.125192 -2.820816)'))) / (select extract(epoch from '2026-07-08 14:27:55'::timestamp) - extract(epoch from '2026-07-08 14:27: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'), 47631, 'SRID=4674;POINT (-40.12523 -2.820827)', '2026-07-08 14:28:09', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125192 -2.820816)'), GeomFromEWKT('SRID=4674;POINT (-40.12523 -2.820827)'))) / (select extract(epoch from '2026-07-08 14:28:09'::timestamp) - extract(epoch from '2026-07-08 14:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125192 -2.820816)'), GeomFromEWKT('SRID=4674;POINT (-40.12523 -2.820827)'))) / (select extract(epoch from '2026-07-08 14:28:09'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.125262 -2.820836)', '2026-07-08 14:28:19', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12523 -2.820827)'), GeomFromEWKT('SRID=4674;POINT (-40.125262 -2.820836)'))) / (select extract(epoch from '2026-07-08 14:28:19'::timestamp) - extract(epoch from '2026-07-08 14:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12523 -2.820827)'), GeomFromEWKT('SRID=4674;POINT (-40.125262 -2.820836)'))) / (select extract(epoch from '2026-07-08 14:28:19'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.125302 -2.820868)', '2026-07-08 14:28:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125262 -2.820836)'), GeomFromEWKT('SRID=4674;POINT (-40.125302 -2.820868)'))) / (select extract(epoch from '2026-07-08 14:28:29'::timestamp) - extract(epoch from '2026-07-08 14:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125262 -2.820836)'), GeomFromEWKT('SRID=4674;POINT (-40.125302 -2.820868)'))) / (select extract(epoch from '2026-07-08 14:28:29'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.125352 -2.820887)', '2026-07-08 14:28:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125302 -2.820868)'), GeomFromEWKT('SRID=4674;POINT (-40.125352 -2.820887)'))) / (select extract(epoch from '2026-07-08 14:28:42'::timestamp) - extract(epoch from '2026-07-08 14:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125302 -2.820868)'), GeomFromEWKT('SRID=4674;POINT (-40.125352 -2.820887)'))) / (select extract(epoch from '2026-07-08 14:28:42'::timestamp) - extract(epoch from '2026-07-08 14:28:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125388 -2.820904)', '2026-07-08 14:28:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125352 -2.820887)'), GeomFromEWKT('SRID=4674;POINT (-40.125388 -2.820904)'))) / (select extract(epoch from '2026-07-08 14:28:55'::timestamp) - extract(epoch from '2026-07-08 14:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125352 -2.820887)'), GeomFromEWKT('SRID=4674;POINT (-40.125388 -2.820904)'))) / (select extract(epoch from '2026-07-08 14:28:55'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.12541 -2.820919)', '2026-07-08 14:29:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125388 -2.820904)'), GeomFromEWKT('SRID=4674;POINT (-40.12541 -2.820919)'))) / (select extract(epoch from '2026-07-08 14:29:07'::timestamp) - extract(epoch from '2026-07-08 14:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125388 -2.820904)'), GeomFromEWKT('SRID=4674;POINT (-40.12541 -2.820919)'))) / (select extract(epoch from '2026-07-08 14:29:07'::timestamp) - extract(epoch from '2026-07-08 14:28: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'), 47631, 'SRID=4674;POINT (-40.125515 -2.820967)', '2026-07-08 14:29:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12541 -2.820919)'), GeomFromEWKT('SRID=4674;POINT (-40.125515 -2.820967)'))) / (select extract(epoch from '2026-07-08 14:29:30'::timestamp) - extract(epoch from '2026-07-08 14:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12541 -2.820919)'), GeomFromEWKT('SRID=4674;POINT (-40.125515 -2.820967)'))) / (select extract(epoch from '2026-07-08 14:29:30'::timestamp) - extract(epoch from '2026-07-08 14:29:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125544 -2.820979)', '2026-07-08 14:29:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125515 -2.820967)'), GeomFromEWKT('SRID=4674;POINT (-40.125544 -2.820979)'))) / (select extract(epoch from '2026-07-08 14:29:38'::timestamp) - extract(epoch from '2026-07-08 14:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125515 -2.820967)'), GeomFromEWKT('SRID=4674;POINT (-40.125544 -2.820979)'))) / (select extract(epoch from '2026-07-08 14:29:38'::timestamp) - extract(epoch from '2026-07-08 14:29:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125556 -2.820983)', '2026-07-08 14:29:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125544 -2.820979)'), GeomFromEWKT('SRID=4674;POINT (-40.125556 -2.820983)'))) / (select extract(epoch from '2026-07-08 14:29:51'::timestamp) - extract(epoch from '2026-07-08 14:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125544 -2.820979)'), GeomFromEWKT('SRID=4674;POINT (-40.125556 -2.820983)'))) / (select extract(epoch from '2026-07-08 14:29:51'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.12568 -2.82105)', '2026-07-08 14:30:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125556 -2.820983)'), GeomFromEWKT('SRID=4674;POINT (-40.12568 -2.82105)'))) / (select extract(epoch from '2026-07-08 14:30:25'::timestamp) - extract(epoch from '2026-07-08 14:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125556 -2.820983)'), GeomFromEWKT('SRID=4674;POINT (-40.12568 -2.82105)'))) / (select extract(epoch from '2026-07-08 14:30:25'::timestamp) - extract(epoch from '2026-07-08 14:29: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'), 47631, 'SRID=4674;POINT (-40.125723 -2.82107)', '2026-07-08 14:30:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12568 -2.82105)'), GeomFromEWKT('SRID=4674;POINT (-40.125723 -2.82107)'))) / (select extract(epoch from '2026-07-08 14:30:37'::timestamp) - extract(epoch from '2026-07-08 14:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12568 -2.82105)'), GeomFromEWKT('SRID=4674;POINT (-40.125723 -2.82107)'))) / (select extract(epoch from '2026-07-08 14:30:37'::timestamp) - extract(epoch from '2026-07-08 14:30: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'), 47631, 'SRID=4674;POINT (-40.125763 -2.821096)', '2026-07-08 14:30:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125723 -2.82107)'), GeomFromEWKT('SRID=4674;POINT (-40.125763 -2.821096)'))) / (select extract(epoch from '2026-07-08 14:30:50'::timestamp) - extract(epoch from '2026-07-08 14:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125723 -2.82107)'), GeomFromEWKT('SRID=4674;POINT (-40.125763 -2.821096)'))) / (select extract(epoch from '2026-07-08 14:30:50'::timestamp) - extract(epoch from '2026-07-08 14:30: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'), 47631, 'SRID=4674;POINT (-40.12582 -2.821143)', '2026-07-08 14:31:06', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125763 -2.821096)'), GeomFromEWKT('SRID=4674;POINT (-40.12582 -2.821143)'))) / (select extract(epoch from '2026-07-08 14:31:06'::timestamp) - extract(epoch from '2026-07-08 14:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125763 -2.821096)'), GeomFromEWKT('SRID=4674;POINT (-40.12582 -2.821143)'))) / (select extract(epoch from '2026-07-08 14:31:06'::timestamp) - extract(epoch from '2026-07-08 14:30:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125872 -2.821137)', '2026-07-08 14:31:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12582 -2.821143)'), GeomFromEWKT('SRID=4674;POINT (-40.125872 -2.821137)'))) / (select extract(epoch from '2026-07-08 14:31:20'::timestamp) - extract(epoch from '2026-07-08 14:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12582 -2.821143)'), GeomFromEWKT('SRID=4674;POINT (-40.125872 -2.821137)'))) / (select extract(epoch from '2026-07-08 14:31:20'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.125924 -2.821154)', '2026-07-08 14:31:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125872 -2.821137)'), GeomFromEWKT('SRID=4674;POINT (-40.125924 -2.821154)'))) / (select extract(epoch from '2026-07-08 14:31:29'::timestamp) - extract(epoch from '2026-07-08 14:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125872 -2.821137)'), GeomFromEWKT('SRID=4674;POINT (-40.125924 -2.821154)'))) / (select extract(epoch from '2026-07-08 14:31:29'::timestamp) - extract(epoch from '2026-07-08 14:31:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125975 -2.821181)', '2026-07-08 14:31:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125924 -2.821154)'), GeomFromEWKT('SRID=4674;POINT (-40.125975 -2.821181)'))) / (select extract(epoch from '2026-07-08 14:31:46'::timestamp) - extract(epoch from '2026-07-08 14:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125924 -2.821154)'), GeomFromEWKT('SRID=4674;POINT (-40.125975 -2.821181)'))) / (select extract(epoch from '2026-07-08 14:31:46'::timestamp) - extract(epoch from '2026-07-08 14:31: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'), 47631, 'SRID=4674;POINT (-40.126016 -2.8212)', '2026-07-08 14:31:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125975 -2.821181)'), GeomFromEWKT('SRID=4674;POINT (-40.126016 -2.8212)'))) / (select extract(epoch from '2026-07-08 14:31:57'::timestamp) - extract(epoch from '2026-07-08 14:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125975 -2.821181)'), GeomFromEWKT('SRID=4674;POINT (-40.126016 -2.8212)'))) / (select extract(epoch from '2026-07-08 14:31:57'::timestamp) - extract(epoch from '2026-07-08 14:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.126069 -2.821169)', '2026-07-08 14:32:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126016 -2.8212)'), GeomFromEWKT('SRID=4674;POINT (-40.126069 -2.821169)'))) / (select extract(epoch from '2026-07-08 14:32:10'::timestamp) - extract(epoch from '2026-07-08 14:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126016 -2.8212)'), GeomFromEWKT('SRID=4674;POINT (-40.126069 -2.821169)'))) / (select extract(epoch from '2026-07-08 14:32:10'::timestamp) - extract(epoch from '2026-07-08 14:31: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'), 47631, 'SRID=4674;POINT (-40.126051 -2.821188)', '2026-07-08 14:32:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126069 -2.821169)'), GeomFromEWKT('SRID=4674;POINT (-40.126051 -2.821188)'))) / (select extract(epoch from '2026-07-08 14:32:17'::timestamp) - extract(epoch from '2026-07-08 14:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126069 -2.821169)'), GeomFromEWKT('SRID=4674;POINT (-40.126051 -2.821188)'))) / (select extract(epoch from '2026-07-08 14:32:17'::timestamp) - extract(epoch from '2026-07-08 14:32: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'), 47631, 'SRID=4674;POINT (-40.125984 -2.821226)', '2026-07-08 14:32:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126051 -2.821188)'), GeomFromEWKT('SRID=4674;POINT (-40.125984 -2.821226)'))) / (select extract(epoch from '2026-07-08 14:32:24'::timestamp) - extract(epoch from '2026-07-08 14:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126051 -2.821188)'), GeomFromEWKT('SRID=4674;POINT (-40.125984 -2.821226)'))) / (select extract(epoch from '2026-07-08 14:32:24'::timestamp) - extract(epoch from '2026-07-08 14:32: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'), 47631, 'SRID=4674;POINT (-40.125896 -2.821264)', '2026-07-08 14:32:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125984 -2.821226)'), GeomFromEWKT('SRID=4674;POINT (-40.125896 -2.821264)'))) / (select extract(epoch from '2026-07-08 14:32:32'::timestamp) - extract(epoch from '2026-07-08 14:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125984 -2.821226)'), GeomFromEWKT('SRID=4674;POINT (-40.125896 -2.821264)'))) / (select extract(epoch from '2026-07-08 14:32:32'::timestamp) - extract(epoch from '2026-07-08 14:32: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'), 47631, 'SRID=4674;POINT (-40.125823 -2.821284)', '2026-07-08 14:32:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125896 -2.821264)'), GeomFromEWKT('SRID=4674;POINT (-40.125823 -2.821284)'))) / (select extract(epoch from '2026-07-08 14:32:39'::timestamp) - extract(epoch from '2026-07-08 14:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125896 -2.821264)'), GeomFromEWKT('SRID=4674;POINT (-40.125823 -2.821284)'))) / (select extract(epoch from '2026-07-08 14:32:39'::timestamp) - extract(epoch from '2026-07-08 14:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125713 -2.821325)', '2026-07-08 14:32:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125823 -2.821284)'), GeomFromEWKT('SRID=4674;POINT (-40.125713 -2.821325)'))) / (select extract(epoch from '2026-07-08 14:32:48'::timestamp) - extract(epoch from '2026-07-08 14:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125823 -2.821284)'), GeomFromEWKT('SRID=4674;POINT (-40.125713 -2.821325)'))) / (select extract(epoch from '2026-07-08 14:32:48'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.125621 -2.821338)', '2026-07-08 14:32:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125713 -2.821325)'), GeomFromEWKT('SRID=4674;POINT (-40.125621 -2.821338)'))) / (select extract(epoch from '2026-07-08 14:32:56'::timestamp) - extract(epoch from '2026-07-08 14:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125713 -2.821325)'), GeomFromEWKT('SRID=4674;POINT (-40.125621 -2.821338)'))) / (select extract(epoch from '2026-07-08 14:32:56'::timestamp) - extract(epoch from '2026-07-08 14:32:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125539 -2.821349)', '2026-07-08 14:33:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125621 -2.821338)'), GeomFromEWKT('SRID=4674;POINT (-40.125539 -2.821349)'))) / (select extract(epoch from '2026-07-08 14:33:04'::timestamp) - extract(epoch from '2026-07-08 14:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125621 -2.821338)'), GeomFromEWKT('SRID=4674;POINT (-40.125539 -2.821349)'))) / (select extract(epoch from '2026-07-08 14:33:04'::timestamp) - extract(epoch from '2026-07-08 14:32:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125413 -2.821356)', '2026-07-08 14:33:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125539 -2.821349)'), GeomFromEWKT('SRID=4674;POINT (-40.125413 -2.821356)'))) / (select extract(epoch from '2026-07-08 14:33:15'::timestamp) - extract(epoch from '2026-07-08 14:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125539 -2.821349)'), GeomFromEWKT('SRID=4674;POINT (-40.125413 -2.821356)'))) / (select extract(epoch from '2026-07-08 14:33:15'::timestamp) - extract(epoch from '2026-07-08 14:33: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'), 47631, 'SRID=4674;POINT (-40.125322 -2.821365)', '2026-07-08 14:33:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125413 -2.821356)'), GeomFromEWKT('SRID=4674;POINT (-40.125322 -2.821365)'))) / (select extract(epoch from '2026-07-08 14:33:24'::timestamp) - extract(epoch from '2026-07-08 14:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125413 -2.821356)'), GeomFromEWKT('SRID=4674;POINT (-40.125322 -2.821365)'))) / (select extract(epoch from '2026-07-08 14:33:24'::timestamp) - extract(epoch from '2026-07-08 14:33: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'), 47631, 'SRID=4674;POINT (-40.12523 -2.82137)', '2026-07-08 14:33:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125322 -2.821365)'), GeomFromEWKT('SRID=4674;POINT (-40.12523 -2.82137)'))) / (select extract(epoch from '2026-07-08 14:33:33'::timestamp) - extract(epoch from '2026-07-08 14:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125322 -2.821365)'), GeomFromEWKT('SRID=4674;POINT (-40.12523 -2.82137)'))) / (select extract(epoch from '2026-07-08 14:33:33'::timestamp) - extract(epoch from '2026-07-08 14:33:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125136 -2.821352)', '2026-07-08 14:33:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12523 -2.82137)'), GeomFromEWKT('SRID=4674;POINT (-40.125136 -2.821352)'))) / (select extract(epoch from '2026-07-08 14:33:42'::timestamp) - extract(epoch from '2026-07-08 14:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12523 -2.82137)'), GeomFromEWKT('SRID=4674;POINT (-40.125136 -2.821352)'))) / (select extract(epoch from '2026-07-08 14:33:42'::timestamp) - extract(epoch from '2026-07-08 14:33: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'), 47631, 'SRID=4674;POINT (-40.125004 -2.821309)', '2026-07-08 14:33:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125136 -2.821352)'), GeomFromEWKT('SRID=4674;POINT (-40.125004 -2.821309)'))) / (select extract(epoch from '2026-07-08 14:33:54'::timestamp) - extract(epoch from '2026-07-08 14:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125136 -2.821352)'), GeomFromEWKT('SRID=4674;POINT (-40.125004 -2.821309)'))) / (select extract(epoch from '2026-07-08 14:33:54'::timestamp) - extract(epoch from '2026-07-08 14:33:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.124904 -2.821275)', '2026-07-08 14:34:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125004 -2.821309)'), GeomFromEWKT('SRID=4674;POINT (-40.124904 -2.821275)'))) / (select extract(epoch from '2026-07-08 14:34:04'::timestamp) - extract(epoch from '2026-07-08 14:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125004 -2.821309)'), GeomFromEWKT('SRID=4674;POINT (-40.124904 -2.821275)'))) / (select extract(epoch from '2026-07-08 14:34:04'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.124806 -2.821241)', '2026-07-08 14:34:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124904 -2.821275)'), GeomFromEWKT('SRID=4674;POINT (-40.124806 -2.821241)'))) / (select extract(epoch from '2026-07-08 14:34:14'::timestamp) - extract(epoch from '2026-07-08 14:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124904 -2.821275)'), GeomFromEWKT('SRID=4674;POINT (-40.124806 -2.821241)'))) / (select extract(epoch from '2026-07-08 14:34:14'::timestamp) - extract(epoch from '2026-07-08 14:34: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'), 47631, 'SRID=4674;POINT (-40.124706 -2.821192)', '2026-07-08 14:34:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124806 -2.821241)'), GeomFromEWKT('SRID=4674;POINT (-40.124706 -2.821192)'))) / (select extract(epoch from '2026-07-08 14:34:24'::timestamp) - extract(epoch from '2026-07-08 14:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124806 -2.821241)'), GeomFromEWKT('SRID=4674;POINT (-40.124706 -2.821192)'))) / (select extract(epoch from '2026-07-08 14:34:24'::timestamp) - extract(epoch from '2026-07-08 14:34:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.124588 -2.821167)', '2026-07-08 14:34:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124706 -2.821192)'), GeomFromEWKT('SRID=4674;POINT (-40.124588 -2.821167)'))) / (select extract(epoch from '2026-07-08 14:34:34'::timestamp) - extract(epoch from '2026-07-08 14:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124706 -2.821192)'), GeomFromEWKT('SRID=4674;POINT (-40.124588 -2.821167)'))) / (select extract(epoch from '2026-07-08 14:34:34'::timestamp) - extract(epoch from '2026-07-08 14:34: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'), 47631, 'SRID=4674;POINT (-40.124488 -2.821143)', '2026-07-08 14:34:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124588 -2.821167)'), GeomFromEWKT('SRID=4674;POINT (-40.124488 -2.821143)'))) / (select extract(epoch from '2026-07-08 14:34:43'::timestamp) - extract(epoch from '2026-07-08 14:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124588 -2.821167)'), GeomFromEWKT('SRID=4674;POINT (-40.124488 -2.821143)'))) / (select extract(epoch from '2026-07-08 14:34:43'::timestamp) - extract(epoch from '2026-07-08 14:34:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.124405 -2.821134)', '2026-07-08 14:34:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124488 -2.821143)'), GeomFromEWKT('SRID=4674;POINT (-40.124405 -2.821134)'))) / (select extract(epoch from '2026-07-08 14:34:51'::timestamp) - extract(epoch from '2026-07-08 14:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124488 -2.821143)'), GeomFromEWKT('SRID=4674;POINT (-40.124405 -2.821134)'))) / (select extract(epoch from '2026-07-08 14:34:51'::timestamp) - extract(epoch from '2026-07-08 14:34:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.124298 -2.82109)', '2026-07-08 14:35:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124405 -2.821134)'), GeomFromEWKT('SRID=4674;POINT (-40.124298 -2.82109)'))) / (select extract(epoch from '2026-07-08 14:35:01'::timestamp) - extract(epoch from '2026-07-08 14:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124405 -2.821134)'), GeomFromEWKT('SRID=4674;POINT (-40.124298 -2.82109)'))) / (select extract(epoch from '2026-07-08 14:35:01'::timestamp) - extract(epoch from '2026-07-08 14:34: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'), 47631, 'SRID=4674;POINT (-40.124175 -2.821032)', '2026-07-08 14:35:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124298 -2.82109)'), GeomFromEWKT('SRID=4674;POINT (-40.124175 -2.821032)'))) / (select extract(epoch from '2026-07-08 14:35:11'::timestamp) - extract(epoch from '2026-07-08 14:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124298 -2.82109)'), GeomFromEWKT('SRID=4674;POINT (-40.124175 -2.821032)'))) / (select extract(epoch from '2026-07-08 14:35:11'::timestamp) - extract(epoch from '2026-07-08 14:35: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'), 47631, 'SRID=4674;POINT (-40.124011 -2.820958)', '2026-07-08 14:35:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124175 -2.821032)'), GeomFromEWKT('SRID=4674;POINT (-40.124011 -2.820958)'))) / (select extract(epoch from '2026-07-08 14:35:23'::timestamp) - extract(epoch from '2026-07-08 14:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124175 -2.821032)'), GeomFromEWKT('SRID=4674;POINT (-40.124011 -2.820958)'))) / (select extract(epoch from '2026-07-08 14:35:23'::timestamp) - extract(epoch from '2026-07-08 14:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123878 -2.820923)', '2026-07-08 14:35:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124011 -2.820958)'), GeomFromEWKT('SRID=4674;POINT (-40.123878 -2.820923)'))) / (select extract(epoch from '2026-07-08 14:35:32'::timestamp) - extract(epoch from '2026-07-08 14:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124011 -2.820958)'), GeomFromEWKT('SRID=4674;POINT (-40.123878 -2.820923)'))) / (select extract(epoch from '2026-07-08 14:35:32'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.123762 -2.8209)', '2026-07-08 14:35:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123878 -2.820923)'), GeomFromEWKT('SRID=4674;POINT (-40.123762 -2.8209)'))) / (select extract(epoch from '2026-07-08 14:35:40'::timestamp) - extract(epoch from '2026-07-08 14:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123878 -2.820923)'), GeomFromEWKT('SRID=4674;POINT (-40.123762 -2.8209)'))) / (select extract(epoch from '2026-07-08 14:35:40'::timestamp) - extract(epoch from '2026-07-08 14:35: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'), 47631, 'SRID=4674;POINT (-40.123622 -2.820885)', '2026-07-08 14:35:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123762 -2.8209)'), GeomFromEWKT('SRID=4674;POINT (-40.123622 -2.820885)'))) / (select extract(epoch from '2026-07-08 14:35:50'::timestamp) - extract(epoch from '2026-07-08 14:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123762 -2.8209)'), GeomFromEWKT('SRID=4674;POINT (-40.123622 -2.820885)'))) / (select extract(epoch from '2026-07-08 14:35:50'::timestamp) - extract(epoch from '2026-07-08 14:35:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123504 -2.820842)', '2026-07-08 14:35:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123622 -2.820885)'), GeomFromEWKT('SRID=4674;POINT (-40.123504 -2.820842)'))) / (select extract(epoch from '2026-07-08 14:35:59'::timestamp) - extract(epoch from '2026-07-08 14:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123622 -2.820885)'), GeomFromEWKT('SRID=4674;POINT (-40.123504 -2.820842)'))) / (select extract(epoch from '2026-07-08 14:35:59'::timestamp) - extract(epoch from '2026-07-08 14:35:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123384 -2.820748)', '2026-07-08 14:36:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123504 -2.820842)'), GeomFromEWKT('SRID=4674;POINT (-40.123384 -2.820748)'))) / (select extract(epoch from '2026-07-08 14:36:09'::timestamp) - extract(epoch from '2026-07-08 14:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123504 -2.820842)'), GeomFromEWKT('SRID=4674;POINT (-40.123384 -2.820748)'))) / (select extract(epoch from '2026-07-08 14:36:09'::timestamp) - extract(epoch from '2026-07-08 14:35:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.12325 -2.82067)', '2026-07-08 14:36:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123384 -2.820748)'), GeomFromEWKT('SRID=4674;POINT (-40.12325 -2.82067)'))) / (select extract(epoch from '2026-07-08 14:36:19'::timestamp) - extract(epoch from '2026-07-08 14:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123384 -2.820748)'), GeomFromEWKT('SRID=4674;POINT (-40.12325 -2.82067)'))) / (select extract(epoch from '2026-07-08 14:36:19'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.123097 -2.820583)', '2026-07-08 14:36:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12325 -2.82067)'), GeomFromEWKT('SRID=4674;POINT (-40.123097 -2.820583)'))) / (select extract(epoch from '2026-07-08 14:36:30'::timestamp) - extract(epoch from '2026-07-08 14:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12325 -2.82067)'), GeomFromEWKT('SRID=4674;POINT (-40.123097 -2.820583)'))) / (select extract(epoch from '2026-07-08 14:36:30'::timestamp) - extract(epoch from '2026-07-08 14:36: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'), 47631, 'SRID=4674;POINT (-40.122953 -2.820487)', '2026-07-08 14:36:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123097 -2.820583)'), GeomFromEWKT('SRID=4674;POINT (-40.122953 -2.820487)'))) / (select extract(epoch from '2026-07-08 14:36:41'::timestamp) - extract(epoch from '2026-07-08 14:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123097 -2.820583)'), GeomFromEWKT('SRID=4674;POINT (-40.122953 -2.820487)'))) / (select extract(epoch from '2026-07-08 14:36:41'::timestamp) - extract(epoch from '2026-07-08 14:36: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'), 47631, 'SRID=4674;POINT (-40.122856 -2.820372)', '2026-07-08 14:36:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122953 -2.820487)'), GeomFromEWKT('SRID=4674;POINT (-40.122856 -2.820372)'))) / (select extract(epoch from '2026-07-08 14:36:51'::timestamp) - extract(epoch from '2026-07-08 14:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122953 -2.820487)'), GeomFromEWKT('SRID=4674;POINT (-40.122856 -2.820372)'))) / (select extract(epoch from '2026-07-08 14:36:51'::timestamp) - extract(epoch from '2026-07-08 14:36: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'), 47631, 'SRID=4674;POINT (-40.122775 -2.820245)', '2026-07-08 14:37:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122856 -2.820372)'), GeomFromEWKT('SRID=4674;POINT (-40.122775 -2.820245)'))) / (select extract(epoch from '2026-07-08 14:37:00'::timestamp) - extract(epoch from '2026-07-08 14:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122856 -2.820372)'), GeomFromEWKT('SRID=4674;POINT (-40.122775 -2.820245)'))) / (select extract(epoch from '2026-07-08 14:37:00'::timestamp) - extract(epoch from '2026-07-08 14:36: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'), 47631, 'SRID=4674;POINT (-40.12272 -2.820113)', '2026-07-08 14:37:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122775 -2.820245)'), GeomFromEWKT('SRID=4674;POINT (-40.12272 -2.820113)'))) / (select extract(epoch from '2026-07-08 14:37:09'::timestamp) - extract(epoch from '2026-07-08 14:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122775 -2.820245)'), GeomFromEWKT('SRID=4674;POINT (-40.12272 -2.820113)'))) / (select extract(epoch from '2026-07-08 14:37:09'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.12273 -2.819924)', '2026-07-08 14:37:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12272 -2.820113)'), GeomFromEWKT('SRID=4674;POINT (-40.12273 -2.819924)'))) / (select extract(epoch from '2026-07-08 14:37:20'::timestamp) - extract(epoch from '2026-07-08 14:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12272 -2.820113)'), GeomFromEWKT('SRID=4674;POINT (-40.12273 -2.819924)'))) / (select extract(epoch from '2026-07-08 14:37:20'::timestamp) - extract(epoch from '2026-07-08 14:37:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.122779 -2.819779)', '2026-07-08 14:37:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12273 -2.819924)'), GeomFromEWKT('SRID=4674;POINT (-40.122779 -2.819779)'))) / (select extract(epoch from '2026-07-08 14:37:28'::timestamp) - extract(epoch from '2026-07-08 14:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12273 -2.819924)'), GeomFromEWKT('SRID=4674;POINT (-40.122779 -2.819779)'))) / (select extract(epoch from '2026-07-08 14:37:28'::timestamp) - extract(epoch from '2026-07-08 14:37:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.122898 -2.819636)', '2026-07-08 14:37:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122779 -2.819779)'), GeomFromEWKT('SRID=4674;POINT (-40.122898 -2.819636)'))) / (select extract(epoch from '2026-07-08 14:37:38'::timestamp) - extract(epoch from '2026-07-08 14:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122779 -2.819779)'), GeomFromEWKT('SRID=4674;POINT (-40.122898 -2.819636)'))) / (select extract(epoch from '2026-07-08 14:37:38'::timestamp) - extract(epoch from '2026-07-08 14:37:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123032 -2.819534)', '2026-07-08 14:37:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122898 -2.819636)'), GeomFromEWKT('SRID=4674;POINT (-40.123032 -2.819534)'))) / (select extract(epoch from '2026-07-08 14:37:46'::timestamp) - extract(epoch from '2026-07-08 14:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122898 -2.819636)'), GeomFromEWKT('SRID=4674;POINT (-40.123032 -2.819534)'))) / (select extract(epoch from '2026-07-08 14:37:46'::timestamp) - extract(epoch from '2026-07-08 14:37: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'), 47631, 'SRID=4674;POINT (-40.123177 -2.819458)', '2026-07-08 14:37:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123032 -2.819534)'), GeomFromEWKT('SRID=4674;POINT (-40.123177 -2.819458)'))) / (select extract(epoch from '2026-07-08 14:37:54'::timestamp) - extract(epoch from '2026-07-08 14:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123032 -2.819534)'), GeomFromEWKT('SRID=4674;POINT (-40.123177 -2.819458)'))) / (select extract(epoch from '2026-07-08 14:37:54'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.12333 -2.819395)', '2026-07-08 14:38:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123177 -2.819458)'), GeomFromEWKT('SRID=4674;POINT (-40.12333 -2.819395)'))) / (select extract(epoch from '2026-07-08 14:38:02'::timestamp) - extract(epoch from '2026-07-08 14:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123177 -2.819458)'), GeomFromEWKT('SRID=4674;POINT (-40.12333 -2.819395)'))) / (select extract(epoch from '2026-07-08 14:38:02'::timestamp) - extract(epoch from '2026-07-08 14:37: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'), 47631, 'SRID=4674;POINT (-40.123485 -2.819365)', '2026-07-08 14:38:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12333 -2.819395)'), GeomFromEWKT('SRID=4674;POINT (-40.123485 -2.819365)'))) / (select extract(epoch from '2026-07-08 14:38:10'::timestamp) - extract(epoch from '2026-07-08 14:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12333 -2.819395)'), GeomFromEWKT('SRID=4674;POINT (-40.123485 -2.819365)'))) / (select extract(epoch from '2026-07-08 14:38:10'::timestamp) - extract(epoch from '2026-07-08 14:38:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123689 -2.819344)', '2026-07-08 14:38:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123485 -2.819365)'), GeomFromEWKT('SRID=4674;POINT (-40.123689 -2.819344)'))) / (select extract(epoch from '2026-07-08 14:38:21'::timestamp) - extract(epoch from '2026-07-08 14:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123485 -2.819365)'), GeomFromEWKT('SRID=4674;POINT (-40.123689 -2.819344)'))) / (select extract(epoch from '2026-07-08 14:38:21'::timestamp) - extract(epoch from '2026-07-08 14:38:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123839 -2.819359)', '2026-07-08 14:38:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123689 -2.819344)'), GeomFromEWKT('SRID=4674;POINT (-40.123839 -2.819359)'))) / (select extract(epoch from '2026-07-08 14:38:29'::timestamp) - extract(epoch from '2026-07-08 14:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123689 -2.819344)'), GeomFromEWKT('SRID=4674;POINT (-40.123839 -2.819359)'))) / (select extract(epoch from '2026-07-08 14:38:29'::timestamp) - extract(epoch from '2026-07-08 14:38:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123982 -2.819394)', '2026-07-08 14:38:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123839 -2.819359)'), GeomFromEWKT('SRID=4674;POINT (-40.123982 -2.819394)'))) / (select extract(epoch from '2026-07-08 14:38:37'::timestamp) - extract(epoch from '2026-07-08 14:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123839 -2.819359)'), GeomFromEWKT('SRID=4674;POINT (-40.123982 -2.819394)'))) / (select extract(epoch from '2026-07-08 14:38:37'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.124062 -2.819472)', '2026-07-08 14:38:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123982 -2.819394)'), GeomFromEWKT('SRID=4674;POINT (-40.124062 -2.819472)'))) / (select extract(epoch from '2026-07-08 14:38:45'::timestamp) - extract(epoch from '2026-07-08 14:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123982 -2.819394)'), GeomFromEWKT('SRID=4674;POINT (-40.124062 -2.819472)'))) / (select extract(epoch from '2026-07-08 14:38:45'::timestamp) - extract(epoch from '2026-07-08 14:38: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'), 47631, 'SRID=4674;POINT (-40.124081 -2.819546)', '2026-07-08 14:38:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124062 -2.819472)'), GeomFromEWKT('SRID=4674;POINT (-40.124081 -2.819546)'))) / (select extract(epoch from '2026-07-08 14:38:51'::timestamp) - extract(epoch from '2026-07-08 14:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124062 -2.819472)'), GeomFromEWKT('SRID=4674;POINT (-40.124081 -2.819546)'))) / (select extract(epoch from '2026-07-08 14:38:51'::timestamp) - extract(epoch from '2026-07-08 14:38: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'), 47631, 'SRID=4674;POINT (-40.12404 -2.819641)', '2026-07-08 14:38:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124081 -2.819546)'), GeomFromEWKT('SRID=4674;POINT (-40.12404 -2.819641)'))) / (select extract(epoch from '2026-07-08 14:38:59'::timestamp) - extract(epoch from '2026-07-08 14:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124081 -2.819546)'), GeomFromEWKT('SRID=4674;POINT (-40.12404 -2.819641)'))) / (select extract(epoch from '2026-07-08 14:38:59'::timestamp) - extract(epoch from '2026-07-08 14:38: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'), 47631, 'SRID=4674;POINT (-40.124006 -2.819679)', '2026-07-08 14:39:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12404 -2.819641)'), GeomFromEWKT('SRID=4674;POINT (-40.124006 -2.819679)'))) / (select extract(epoch from '2026-07-08 14:39:04'::timestamp) - extract(epoch from '2026-07-08 14:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12404 -2.819641)'), GeomFromEWKT('SRID=4674;POINT (-40.124006 -2.819679)'))) / (select extract(epoch from '2026-07-08 14:39:04'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.123999 -2.819694)', '2026-07-08 14:39:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124006 -2.819679)'), GeomFromEWKT('SRID=4674;POINT (-40.123999 -2.819694)'))) / (select extract(epoch from '2026-07-08 14:39:06'::timestamp) - extract(epoch from '2026-07-08 14:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124006 -2.819679)'), GeomFromEWKT('SRID=4674;POINT (-40.123999 -2.819694)'))) / (select extract(epoch from '2026-07-08 14:39:06'::timestamp) - extract(epoch from '2026-07-08 14:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123965 -2.819768)', '2026-07-08 14:39:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123999 -2.819694)'), GeomFromEWKT('SRID=4674;POINT (-40.123965 -2.819768)'))) / (select extract(epoch from '2026-07-08 14:39:14'::timestamp) - extract(epoch from '2026-07-08 14:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123999 -2.819694)'), GeomFromEWKT('SRID=4674;POINT (-40.123965 -2.819768)'))) / (select extract(epoch from '2026-07-08 14:39:14'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.123958 -2.819771)', '2026-07-08 14:39:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123965 -2.819768)'), GeomFromEWKT('SRID=4674;POINT (-40.123958 -2.819771)'))) / (select extract(epoch from '2026-07-08 14:39:15'::timestamp) - extract(epoch from '2026-07-08 14:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123965 -2.819768)'), GeomFromEWKT('SRID=4674;POINT (-40.123958 -2.819771)'))) / (select extract(epoch from '2026-07-08 14:39:15'::timestamp) - extract(epoch from '2026-07-08 14:39: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'), 47631, 'SRID=4674;POINT (-40.12393 -2.819769)', '2026-07-08 14:39:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123958 -2.819771)'), GeomFromEWKT('SRID=4674;POINT (-40.12393 -2.819769)'))) / (select extract(epoch from '2026-07-08 14:39:21'::timestamp) - extract(epoch from '2026-07-08 14:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123958 -2.819771)'), GeomFromEWKT('SRID=4674;POINT (-40.12393 -2.819769)'))) / (select extract(epoch from '2026-07-08 14:39:21'::timestamp) - extract(epoch from '2026-07-08 14:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123898 -2.819698)', '2026-07-08 14:39:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12393 -2.819769)'), GeomFromEWKT('SRID=4674;POINT (-40.123898 -2.819698)'))) / (select extract(epoch from '2026-07-08 14:39:31'::timestamp) - extract(epoch from '2026-07-08 14:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12393 -2.819769)'), GeomFromEWKT('SRID=4674;POINT (-40.123898 -2.819698)'))) / (select extract(epoch from '2026-07-08 14:39:31'::timestamp) - extract(epoch from '2026-07-08 14:39: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'), 47631, 'SRID=4674;POINT (-40.12382 -2.81967)', '2026-07-08 14:39:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123898 -2.819698)'), GeomFromEWKT('SRID=4674;POINT (-40.12382 -2.81967)'))) / (select extract(epoch from '2026-07-08 14:39:43'::timestamp) - extract(epoch from '2026-07-08 14:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123898 -2.819698)'), GeomFromEWKT('SRID=4674;POINT (-40.12382 -2.81967)'))) / (select extract(epoch from '2026-07-08 14:39:43'::timestamp) - extract(epoch from '2026-07-08 14:39: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'), 47631, 'SRID=4674;POINT (-40.123744 -2.81966)', '2026-07-08 14:39:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12382 -2.81967)'), GeomFromEWKT('SRID=4674;POINT (-40.123744 -2.81966)'))) / (select extract(epoch from '2026-07-08 14:39:59'::timestamp) - extract(epoch from '2026-07-08 14:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12382 -2.81967)'), GeomFromEWKT('SRID=4674;POINT (-40.123744 -2.81966)'))) / (select extract(epoch from '2026-07-08 14:39:59'::timestamp) - extract(epoch from '2026-07-08 14:39: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'), 47631, 'SRID=4674;POINT (-40.12372 -2.819612)', '2026-07-08 14:40:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123744 -2.81966)'), GeomFromEWKT('SRID=4674;POINT (-40.12372 -2.819612)'))) / (select extract(epoch from '2026-07-08 14:40:11'::timestamp) - extract(epoch from '2026-07-08 14:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123744 -2.81966)'), GeomFromEWKT('SRID=4674;POINT (-40.12372 -2.819612)'))) / (select extract(epoch from '2026-07-08 14:40:11'::timestamp) - extract(epoch from '2026-07-08 14:39: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'), 47631, 'SRID=4674;POINT (-40.123831 -2.819591)', '2026-07-08 14:40:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12372 -2.819612)'), GeomFromEWKT('SRID=4674;POINT (-40.123831 -2.819591)'))) / (select extract(epoch from '2026-07-08 14:40:37'::timestamp) - extract(epoch from '2026-07-08 14:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12372 -2.819612)'), GeomFromEWKT('SRID=4674;POINT (-40.123831 -2.819591)'))) / (select extract(epoch from '2026-07-08 14:40:37'::timestamp) - extract(epoch from '2026-07-08 14:40: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'), 47631, 'SRID=4674;POINT (-40.123921 -2.819571)', '2026-07-08 14:40:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123831 -2.819591)'), GeomFromEWKT('SRID=4674;POINT (-40.123921 -2.819571)'))) / (select extract(epoch from '2026-07-08 14:40:51'::timestamp) - extract(epoch from '2026-07-08 14:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123831 -2.819591)'), GeomFromEWKT('SRID=4674;POINT (-40.123921 -2.819571)'))) / (select extract(epoch from '2026-07-08 14:40:51'::timestamp) - extract(epoch from '2026-07-08 14:40: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'), 47631, 'SRID=4674;POINT (-40.124017 -2.819564)', '2026-07-08 14:41:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123921 -2.819571)'), GeomFromEWKT('SRID=4674;POINT (-40.124017 -2.819564)'))) / (select extract(epoch from '2026-07-08 14:41:04'::timestamp) - extract(epoch from '2026-07-08 14:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123921 -2.819571)'), GeomFromEWKT('SRID=4674;POINT (-40.124017 -2.819564)'))) / (select extract(epoch from '2026-07-08 14:41:04'::timestamp) - extract(epoch from '2026-07-08 14:40:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.124088 -2.819547)', '2026-07-08 14:41:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124017 -2.819564)'), GeomFromEWKT('SRID=4674;POINT (-40.124088 -2.819547)'))) / (select extract(epoch from '2026-07-08 14:41:18'::timestamp) - extract(epoch from '2026-07-08 14:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124017 -2.819564)'), GeomFromEWKT('SRID=4674;POINT (-40.124088 -2.819547)'))) / (select extract(epoch from '2026-07-08 14:41:18'::timestamp) - extract(epoch from '2026-07-08 14:41:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.124146 -2.819585)', '2026-07-08 14:41:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124088 -2.819547)'), GeomFromEWKT('SRID=4674;POINT (-40.124146 -2.819585)'))) / (select extract(epoch from '2026-07-08 14:41:31'::timestamp) - extract(epoch from '2026-07-08 14:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124088 -2.819547)'), GeomFromEWKT('SRID=4674;POINT (-40.124146 -2.819585)'))) / (select extract(epoch from '2026-07-08 14:41:31'::timestamp) - extract(epoch from '2026-07-08 14:41:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.124178 -2.819683)', '2026-07-08 14:41:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124146 -2.819585)'), GeomFromEWKT('SRID=4674;POINT (-40.124178 -2.819683)'))) / (select extract(epoch from '2026-07-08 14:41:46'::timestamp) - extract(epoch from '2026-07-08 14:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124146 -2.819585)'), GeomFromEWKT('SRID=4674;POINT (-40.124178 -2.819683)'))) / (select extract(epoch from '2026-07-08 14:41:46'::timestamp) - extract(epoch from '2026-07-08 14:41: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'), 47631, 'SRID=4674;POINT (-40.124151 -2.819761)', '2026-07-08 14:42:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124178 -2.819683)'), GeomFromEWKT('SRID=4674;POINT (-40.124151 -2.819761)'))) / (select extract(epoch from '2026-07-08 14:42:01'::timestamp) - extract(epoch from '2026-07-08 14:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124178 -2.819683)'), GeomFromEWKT('SRID=4674;POINT (-40.124151 -2.819761)'))) / (select extract(epoch from '2026-07-08 14:42:01'::timestamp) - extract(epoch from '2026-07-08 14:41:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.124089 -2.819759)', '2026-07-08 14:42:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124151 -2.819761)'), GeomFromEWKT('SRID=4674;POINT (-40.124089 -2.819759)'))) / (select extract(epoch from '2026-07-08 14:42:14'::timestamp) - extract(epoch from '2026-07-08 14:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124151 -2.819761)'), GeomFromEWKT('SRID=4674;POINT (-40.124089 -2.819759)'))) / (select extract(epoch from '2026-07-08 14:42:14'::timestamp) - extract(epoch from '2026-07-08 14:42: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'), 47631, 'SRID=4674;POINT (-40.124102 -2.819705)', '2026-07-08 14:42:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124089 -2.819759)'), GeomFromEWKT('SRID=4674;POINT (-40.124102 -2.819705)'))) / (select extract(epoch from '2026-07-08 14:42:24'::timestamp) - extract(epoch from '2026-07-08 14:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124089 -2.819759)'), GeomFromEWKT('SRID=4674;POINT (-40.124102 -2.819705)'))) / (select extract(epoch from '2026-07-08 14:42:24'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.124184 -2.819638)', '2026-07-08 14:42:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124102 -2.819705)'), GeomFromEWKT('SRID=4674;POINT (-40.124184 -2.819638)'))) / (select extract(epoch from '2026-07-08 14:42:37'::timestamp) - extract(epoch from '2026-07-08 14:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124102 -2.819705)'), GeomFromEWKT('SRID=4674;POINT (-40.124184 -2.819638)'))) / (select extract(epoch from '2026-07-08 14:42:37'::timestamp) - extract(epoch from '2026-07-08 14:42: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'), 47631, 'SRID=4674;POINT (-40.124311 -2.819607)', '2026-07-08 14:42:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124184 -2.819638)'), GeomFromEWKT('SRID=4674;POINT (-40.124311 -2.819607)'))) / (select extract(epoch from '2026-07-08 14:42:48'::timestamp) - extract(epoch from '2026-07-08 14:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124184 -2.819638)'), GeomFromEWKT('SRID=4674;POINT (-40.124311 -2.819607)'))) / (select extract(epoch from '2026-07-08 14:42:48'::timestamp) - extract(epoch from '2026-07-08 14:42: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'), 47631, 'SRID=4674;POINT (-40.124464 -2.819654)', '2026-07-08 14:43:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124311 -2.819607)'), GeomFromEWKT('SRID=4674;POINT (-40.124464 -2.819654)'))) / (select extract(epoch from '2026-07-08 14:43:02'::timestamp) - extract(epoch from '2026-07-08 14:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124311 -2.819607)'), GeomFromEWKT('SRID=4674;POINT (-40.124464 -2.819654)'))) / (select extract(epoch from '2026-07-08 14:43:02'::timestamp) - extract(epoch from '2026-07-08 14:42: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'), 47631, 'SRID=4674;POINT (-40.124638 -2.819733)', '2026-07-08 14:43:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124464 -2.819654)'), GeomFromEWKT('SRID=4674;POINT (-40.124638 -2.819733)'))) / (select extract(epoch from '2026-07-08 14:43:16'::timestamp) - extract(epoch from '2026-07-08 14:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124464 -2.819654)'), GeomFromEWKT('SRID=4674;POINT (-40.124638 -2.819733)'))) / (select extract(epoch from '2026-07-08 14:43:16'::timestamp) - extract(epoch from '2026-07-08 14:43: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'), 47631, 'SRID=4674;POINT (-40.12473 -2.819796)', '2026-07-08 14:43:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124638 -2.819733)'), GeomFromEWKT('SRID=4674;POINT (-40.12473 -2.819796)'))) / (select extract(epoch from '2026-07-08 14:43:26'::timestamp) - extract(epoch from '2026-07-08 14:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124638 -2.819733)'), GeomFromEWKT('SRID=4674;POINT (-40.12473 -2.819796)'))) / (select extract(epoch from '2026-07-08 14:43:26'::timestamp) - extract(epoch from '2026-07-08 14:43:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.12487 -2.819848)', '2026-07-08 14:43:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12473 -2.819796)'), GeomFromEWKT('SRID=4674;POINT (-40.12487 -2.819848)'))) / (select extract(epoch from '2026-07-08 14:43:36'::timestamp) - extract(epoch from '2026-07-08 14:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12473 -2.819796)'), GeomFromEWKT('SRID=4674;POINT (-40.12487 -2.819848)'))) / (select extract(epoch from '2026-07-08 14:43:36'::timestamp) - extract(epoch from '2026-07-08 14:43: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'), 47631, 'SRID=4674;POINT (-40.124959 -2.8199)', '2026-07-08 14:43:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12487 -2.819848)'), GeomFromEWKT('SRID=4674;POINT (-40.124959 -2.8199)'))) / (select extract(epoch from '2026-07-08 14:43:45'::timestamp) - extract(epoch from '2026-07-08 14:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12487 -2.819848)'), GeomFromEWKT('SRID=4674;POINT (-40.124959 -2.8199)'))) / (select extract(epoch from '2026-07-08 14:43:45'::timestamp) - extract(epoch from '2026-07-08 14:43:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125035 -2.819947)', '2026-07-08 14:43:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124959 -2.8199)'), GeomFromEWKT('SRID=4674;POINT (-40.125035 -2.819947)'))) / (select extract(epoch from '2026-07-08 14:43:54'::timestamp) - extract(epoch from '2026-07-08 14:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124959 -2.8199)'), GeomFromEWKT('SRID=4674;POINT (-40.125035 -2.819947)'))) / (select extract(epoch from '2026-07-08 14:43:54'::timestamp) - extract(epoch from '2026-07-08 14:43:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.12512 -2.820002)', '2026-07-08 14:44:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125035 -2.819947)'), GeomFromEWKT('SRID=4674;POINT (-40.12512 -2.820002)'))) / (select extract(epoch from '2026-07-08 14:44:03'::timestamp) - extract(epoch from '2026-07-08 14:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125035 -2.819947)'), GeomFromEWKT('SRID=4674;POINT (-40.12512 -2.820002)'))) / (select extract(epoch from '2026-07-08 14:44:03'::timestamp) - extract(epoch from '2026-07-08 14:43: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'), 47631, 'SRID=4674;POINT (-40.12519 -2.820054)', '2026-07-08 14:44:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12512 -2.820002)'), GeomFromEWKT('SRID=4674;POINT (-40.12519 -2.820054)'))) / (select extract(epoch from '2026-07-08 14:44:11'::timestamp) - extract(epoch from '2026-07-08 14:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12512 -2.820002)'), GeomFromEWKT('SRID=4674;POINT (-40.12519 -2.820054)'))) / (select extract(epoch from '2026-07-08 14:44:11'::timestamp) - extract(epoch from '2026-07-08 14:44: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'), 47631, 'SRID=4674;POINT (-40.125279 -2.820096)', '2026-07-08 14:44:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12519 -2.820054)'), GeomFromEWKT('SRID=4674;POINT (-40.125279 -2.820096)'))) / (select extract(epoch from '2026-07-08 14:44:20'::timestamp) - extract(epoch from '2026-07-08 14:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12519 -2.820054)'), GeomFromEWKT('SRID=4674;POINT (-40.125279 -2.820096)'))) / (select extract(epoch from '2026-07-08 14:44:20'::timestamp) - extract(epoch from '2026-07-08 14:44: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'), 47631, 'SRID=4674;POINT (-40.125364 -2.820132)', '2026-07-08 14:44:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125279 -2.820096)'), GeomFromEWKT('SRID=4674;POINT (-40.125364 -2.820132)'))) / (select extract(epoch from '2026-07-08 14:44:29'::timestamp) - extract(epoch from '2026-07-08 14:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125279 -2.820096)'), GeomFromEWKT('SRID=4674;POINT (-40.125364 -2.820132)'))) / (select extract(epoch from '2026-07-08 14:44:29'::timestamp) - extract(epoch from '2026-07-08 14:44:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125465 -2.820159)', '2026-07-08 14:44:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125364 -2.820132)'), GeomFromEWKT('SRID=4674;POINT (-40.125465 -2.820159)'))) / (select extract(epoch from '2026-07-08 14:44:38'::timestamp) - extract(epoch from '2026-07-08 14:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125364 -2.820132)'), GeomFromEWKT('SRID=4674;POINT (-40.125465 -2.820159)'))) / (select extract(epoch from '2026-07-08 14:44:38'::timestamp) - extract(epoch from '2026-07-08 14:44: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'), 47631, 'SRID=4674;POINT (-40.125554 -2.820207)', '2026-07-08 14:44:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125465 -2.820159)'), GeomFromEWKT('SRID=4674;POINT (-40.125554 -2.820207)'))) / (select extract(epoch from '2026-07-08 14:44:45'::timestamp) - extract(epoch from '2026-07-08 14:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125465 -2.820159)'), GeomFromEWKT('SRID=4674;POINT (-40.125554 -2.820207)'))) / (select extract(epoch from '2026-07-08 14:44:45'::timestamp) - extract(epoch from '2026-07-08 14:44:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125651 -2.82027)', '2026-07-08 14:44:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125554 -2.820207)'), GeomFromEWKT('SRID=4674;POINT (-40.125651 -2.82027)'))) / (select extract(epoch from '2026-07-08 14:44:54'::timestamp) - extract(epoch from '2026-07-08 14:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125554 -2.820207)'), GeomFromEWKT('SRID=4674;POINT (-40.125651 -2.82027)'))) / (select extract(epoch from '2026-07-08 14:44:54'::timestamp) - extract(epoch from '2026-07-08 14:44: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'), 47631, 'SRID=4674;POINT (-40.125766 -2.820325)', '2026-07-08 14:45:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125651 -2.82027)'), GeomFromEWKT('SRID=4674;POINT (-40.125766 -2.820325)'))) / (select extract(epoch from '2026-07-08 14:45:04'::timestamp) - extract(epoch from '2026-07-08 14:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125651 -2.82027)'), GeomFromEWKT('SRID=4674;POINT (-40.125766 -2.820325)'))) / (select extract(epoch from '2026-07-08 14:45:04'::timestamp) - extract(epoch from '2026-07-08 14:44:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.12586 -2.820359)', '2026-07-08 14:45:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125766 -2.820325)'), GeomFromEWKT('SRID=4674;POINT (-40.12586 -2.820359)'))) / (select extract(epoch from '2026-07-08 14:45:13'::timestamp) - extract(epoch from '2026-07-08 14:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125766 -2.820325)'), GeomFromEWKT('SRID=4674;POINT (-40.12586 -2.820359)'))) / (select extract(epoch from '2026-07-08 14:45:13'::timestamp) - extract(epoch from '2026-07-08 14:45: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'), 47631, 'SRID=4674;POINT (-40.125985 -2.820374)', '2026-07-08 14:45:23', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12586 -2.820359)'), GeomFromEWKT('SRID=4674;POINT (-40.125985 -2.820374)'))) / (select extract(epoch from '2026-07-08 14:45:23'::timestamp) - extract(epoch from '2026-07-08 14:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12586 -2.820359)'), GeomFromEWKT('SRID=4674;POINT (-40.125985 -2.820374)'))) / (select extract(epoch from '2026-07-08 14:45:23'::timestamp) - extract(epoch from '2026-07-08 14:45: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'), 47631, 'SRID=4674;POINT (-40.126087 -2.820367)', '2026-07-08 14:45:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125985 -2.820374)'), GeomFromEWKT('SRID=4674;POINT (-40.126087 -2.820367)'))) / (select extract(epoch from '2026-07-08 14:45:31'::timestamp) - extract(epoch from '2026-07-08 14:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125985 -2.820374)'), GeomFromEWKT('SRID=4674;POINT (-40.126087 -2.820367)'))) / (select extract(epoch from '2026-07-08 14:45:31'::timestamp) - extract(epoch from '2026-07-08 14:45:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.126146 -2.820329)', '2026-07-08 14:45:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126087 -2.820367)'), GeomFromEWKT('SRID=4674;POINT (-40.126146 -2.820329)'))) / (select extract(epoch from '2026-07-08 14:45:39'::timestamp) - extract(epoch from '2026-07-08 14:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126087 -2.820367)'), GeomFromEWKT('SRID=4674;POINT (-40.126146 -2.820329)'))) / (select extract(epoch from '2026-07-08 14:45:39'::timestamp) - extract(epoch from '2026-07-08 14:45: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'), 47631, 'SRID=4674;POINT (-40.126202 -2.820268)', '2026-07-08 14:45:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126146 -2.820329)'), GeomFromEWKT('SRID=4674;POINT (-40.126202 -2.820268)'))) / (select extract(epoch from '2026-07-08 14:45:52'::timestamp) - extract(epoch from '2026-07-08 14:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126146 -2.820329)'), GeomFromEWKT('SRID=4674;POINT (-40.126202 -2.820268)'))) / (select extract(epoch from '2026-07-08 14:45:52'::timestamp) - extract(epoch from '2026-07-08 14:45: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'), 47631, 'SRID=4674;POINT (-40.126179 -2.820228)', '2026-07-08 14:46:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126202 -2.820268)'), GeomFromEWKT('SRID=4674;POINT (-40.126179 -2.820228)'))) / (select extract(epoch from '2026-07-08 14:46:03'::timestamp) - extract(epoch from '2026-07-08 14:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126202 -2.820268)'), GeomFromEWKT('SRID=4674;POINT (-40.126179 -2.820228)'))) / (select extract(epoch from '2026-07-08 14:46:03'::timestamp) - extract(epoch from '2026-07-08 14:45: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'), 47631, 'SRID=4674;POINT (-40.126127 -2.820138)', '2026-07-08 14:46:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126179 -2.820228)'), GeomFromEWKT('SRID=4674;POINT (-40.126127 -2.820138)'))) / (select extract(epoch from '2026-07-08 14:46:21'::timestamp) - extract(epoch from '2026-07-08 14:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126179 -2.820228)'), GeomFromEWKT('SRID=4674;POINT (-40.126127 -2.820138)'))) / (select extract(epoch from '2026-07-08 14:46:21'::timestamp) - extract(epoch from '2026-07-08 14:46: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'), 47631, 'SRID=4674;POINT (-40.126083 -2.820046)', '2026-07-08 14:46:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126127 -2.820138)'), GeomFromEWKT('SRID=4674;POINT (-40.126083 -2.820046)'))) / (select extract(epoch from '2026-07-08 14:46:39'::timestamp) - extract(epoch from '2026-07-08 14:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126127 -2.820138)'), GeomFromEWKT('SRID=4674;POINT (-40.126083 -2.820046)'))) / (select extract(epoch from '2026-07-08 14:46:39'::timestamp) - extract(epoch from '2026-07-08 14:46: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'), 47631, 'SRID=4674;POINT (-40.126045 -2.81998)', '2026-07-08 14:46:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126083 -2.820046)'), GeomFromEWKT('SRID=4674;POINT (-40.126045 -2.81998)'))) / (select extract(epoch from '2026-07-08 14:46:56'::timestamp) - extract(epoch from '2026-07-08 14:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126083 -2.820046)'), GeomFromEWKT('SRID=4674;POINT (-40.126045 -2.81998)'))) / (select extract(epoch from '2026-07-08 14:46:56'::timestamp) - extract(epoch from '2026-07-08 14:46:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125976 -2.819906)', '2026-07-08 14:47:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126045 -2.81998)'), GeomFromEWKT('SRID=4674;POINT (-40.125976 -2.819906)'))) / (select extract(epoch from '2026-07-08 14:47:12'::timestamp) - extract(epoch from '2026-07-08 14:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126045 -2.81998)'), GeomFromEWKT('SRID=4674;POINT (-40.125976 -2.819906)'))) / (select extract(epoch from '2026-07-08 14:47:12'::timestamp) - extract(epoch from '2026-07-08 14:46:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125979 -2.819881)', '2026-07-08 14:47:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125976 -2.819906)'), GeomFromEWKT('SRID=4674;POINT (-40.125979 -2.819881)'))) / (select extract(epoch from '2026-07-08 14:47:23'::timestamp) - extract(epoch from '2026-07-08 14:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125976 -2.819906)'), GeomFromEWKT('SRID=4674;POINT (-40.125979 -2.819881)'))) / (select extract(epoch from '2026-07-08 14:47:23'::timestamp) - extract(epoch from '2026-07-08 14:47: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'), 47631, 'SRID=4674;POINT (-40.125953 -2.819858)', '2026-07-08 14:47:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125979 -2.819881)'), GeomFromEWKT('SRID=4674;POINT (-40.125953 -2.819858)'))) / (select extract(epoch from '2026-07-08 14:47:32'::timestamp) - extract(epoch from '2026-07-08 14:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125979 -2.819881)'), GeomFromEWKT('SRID=4674;POINT (-40.125953 -2.819858)'))) / (select extract(epoch from '2026-07-08 14:47:32'::timestamp) - extract(epoch from '2026-07-08 14:47: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'), 47631, 'SRID=4674;POINT (-40.125897 -2.819838)', '2026-07-08 14:47:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125953 -2.819858)'), GeomFromEWKT('SRID=4674;POINT (-40.125897 -2.819838)'))) / (select extract(epoch from '2026-07-08 14:47:47'::timestamp) - extract(epoch from '2026-07-08 14:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125953 -2.819858)'), GeomFromEWKT('SRID=4674;POINT (-40.125897 -2.819838)'))) / (select extract(epoch from '2026-07-08 14:47:47'::timestamp) - extract(epoch from '2026-07-08 14:47:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125861 -2.819769)', '2026-07-08 14:48:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125897 -2.819838)'), GeomFromEWKT('SRID=4674;POINT (-40.125861 -2.819769)'))) / (select extract(epoch from '2026-07-08 14:48:05'::timestamp) - extract(epoch from '2026-07-08 14:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125897 -2.819838)'), GeomFromEWKT('SRID=4674;POINT (-40.125861 -2.819769)'))) / (select extract(epoch from '2026-07-08 14:48:05'::timestamp) - extract(epoch from '2026-07-08 14:47: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'), 47631, 'SRID=4674;POINT (-40.125858 -2.819753)', '2026-07-08 14:48:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125861 -2.819769)'), GeomFromEWKT('SRID=4674;POINT (-40.125858 -2.819753)'))) / (select extract(epoch from '2026-07-08 14:48:18'::timestamp) - extract(epoch from '2026-07-08 14:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125861 -2.819769)'), GeomFromEWKT('SRID=4674;POINT (-40.125858 -2.819753)'))) / (select extract(epoch from '2026-07-08 14:48:18'::timestamp) - extract(epoch from '2026-07-08 14:48: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'), 47631, 'SRID=4674;POINT (-40.125817 -2.819701)', '2026-07-08 14:48:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125858 -2.819753)'), GeomFromEWKT('SRID=4674;POINT (-40.125817 -2.819701)'))) / (select extract(epoch from '2026-07-08 14:48:30'::timestamp) - extract(epoch from '2026-07-08 14:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125858 -2.819753)'), GeomFromEWKT('SRID=4674;POINT (-40.125817 -2.819701)'))) / (select extract(epoch from '2026-07-08 14:48:30'::timestamp) - extract(epoch from '2026-07-08 14:48:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125803 -2.819641)', '2026-07-08 14:48:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125817 -2.819701)'), GeomFromEWKT('SRID=4674;POINT (-40.125803 -2.819641)'))) / (select extract(epoch from '2026-07-08 14:48:43'::timestamp) - extract(epoch from '2026-07-08 14:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125817 -2.819701)'), GeomFromEWKT('SRID=4674;POINT (-40.125803 -2.819641)'))) / (select extract(epoch from '2026-07-08 14:48:43'::timestamp) - extract(epoch from '2026-07-08 14:48: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'), 47631, 'SRID=4674;POINT (-40.125802 -2.819593)', '2026-07-08 14:48:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125803 -2.819641)'), GeomFromEWKT('SRID=4674;POINT (-40.125802 -2.819593)'))) / (select extract(epoch from '2026-07-08 14:48:54'::timestamp) - extract(epoch from '2026-07-08 14:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125803 -2.819641)'), GeomFromEWKT('SRID=4674;POINT (-40.125802 -2.819593)'))) / (select extract(epoch from '2026-07-08 14:48:54'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.125792 -2.819572)', '2026-07-08 14:49:04', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125802 -2.819593)'), GeomFromEWKT('SRID=4674;POINT (-40.125792 -2.819572)'))) / (select extract(epoch from '2026-07-08 14:49:04'::timestamp) - extract(epoch from '2026-07-08 14:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125802 -2.819593)'), GeomFromEWKT('SRID=4674;POINT (-40.125792 -2.819572)'))) / (select extract(epoch from '2026-07-08 14:49:04'::timestamp) - extract(epoch from '2026-07-08 14:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125717 -2.819565)', '2026-07-08 14:49:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125792 -2.819572)'), GeomFromEWKT('SRID=4674;POINT (-40.125717 -2.819565)'))) / (select extract(epoch from '2026-07-08 14:49:17'::timestamp) - extract(epoch from '2026-07-08 14:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125792 -2.819572)'), GeomFromEWKT('SRID=4674;POINT (-40.125717 -2.819565)'))) / (select extract(epoch from '2026-07-08 14:49:17'::timestamp) - extract(epoch from '2026-07-08 14:49: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'), 47631, 'SRID=4674;POINT (-40.125594 -2.81954)', '2026-07-08 14:49:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125717 -2.819565)'), GeomFromEWKT('SRID=4674;POINT (-40.125594 -2.81954)'))) / (select extract(epoch from '2026-07-08 14:49:34'::timestamp) - extract(epoch from '2026-07-08 14:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125717 -2.819565)'), GeomFromEWKT('SRID=4674;POINT (-40.125594 -2.81954)'))) / (select extract(epoch from '2026-07-08 14:49:34'::timestamp) - extract(epoch from '2026-07-08 14:49: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'), 47631, 'SRID=4674;POINT (-40.125576 -2.819532)', '2026-07-08 14:49:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125594 -2.81954)'), GeomFromEWKT('SRID=4674;POINT (-40.125576 -2.819532)'))) / (select extract(epoch from '2026-07-08 14:49:46'::timestamp) - extract(epoch from '2026-07-08 14:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125594 -2.81954)'), GeomFromEWKT('SRID=4674;POINT (-40.125576 -2.819532)'))) / (select extract(epoch from '2026-07-08 14:49:46'::timestamp) - extract(epoch from '2026-07-08 14:49:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125503 -2.819441)', '2026-07-08 14:50:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125576 -2.819532)'), GeomFromEWKT('SRID=4674;POINT (-40.125503 -2.819441)'))) / (select extract(epoch from '2026-07-08 14:50:19'::timestamp) - extract(epoch from '2026-07-08 14:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125576 -2.819532)'), GeomFromEWKT('SRID=4674;POINT (-40.125503 -2.819441)'))) / (select extract(epoch from '2026-07-08 14:50:19'::timestamp) - extract(epoch from '2026-07-08 14:49: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'), 47631, 'SRID=4674;POINT (-40.125447 -2.81939)', '2026-07-08 14:50:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125503 -2.819441)'), GeomFromEWKT('SRID=4674;POINT (-40.125447 -2.81939)'))) / (select extract(epoch from '2026-07-08 14:50:33'::timestamp) - extract(epoch from '2026-07-08 14:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125503 -2.819441)'), GeomFromEWKT('SRID=4674;POINT (-40.125447 -2.81939)'))) / (select extract(epoch from '2026-07-08 14:50:33'::timestamp) - extract(epoch from '2026-07-08 14:50: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'), 47631, 'SRID=4674;POINT (-40.125387 -2.819381)', '2026-07-08 14:50:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125447 -2.81939)'), GeomFromEWKT('SRID=4674;POINT (-40.125387 -2.819381)'))) / (select extract(epoch from '2026-07-08 14:50:57'::timestamp) - extract(epoch from '2026-07-08 14:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125447 -2.81939)'), GeomFromEWKT('SRID=4674;POINT (-40.125387 -2.819381)'))) / (select extract(epoch from '2026-07-08 14:50:57'::timestamp) - extract(epoch from '2026-07-08 14:50: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'), 47631, 'SRID=4674;POINT (-40.125341 -2.819349)', '2026-07-08 14:51:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125387 -2.819381)'), GeomFromEWKT('SRID=4674;POINT (-40.125341 -2.819349)'))) / (select extract(epoch from '2026-07-08 14:51:10'::timestamp) - extract(epoch from '2026-07-08 14:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125387 -2.819381)'), GeomFromEWKT('SRID=4674;POINT (-40.125341 -2.819349)'))) / (select extract(epoch from '2026-07-08 14:51:10'::timestamp) - extract(epoch from '2026-07-08 14:50: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'), 47631, 'SRID=4674;POINT (-40.125285 -2.819311)', '2026-07-08 14:51:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125341 -2.819349)'), GeomFromEWKT('SRID=4674;POINT (-40.125285 -2.819311)'))) / (select extract(epoch from '2026-07-08 14:51:26'::timestamp) - extract(epoch from '2026-07-08 14:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125341 -2.819349)'), GeomFromEWKT('SRID=4674;POINT (-40.125285 -2.819311)'))) / (select extract(epoch from '2026-07-08 14:51:26'::timestamp) - extract(epoch from '2026-07-08 14:51:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.125216 -2.81928)', '2026-07-08 14:51:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125285 -2.819311)'), GeomFromEWKT('SRID=4674;POINT (-40.125216 -2.81928)'))) / (select extract(epoch from '2026-07-08 14:51:43'::timestamp) - extract(epoch from '2026-07-08 14:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125285 -2.819311)'), GeomFromEWKT('SRID=4674;POINT (-40.125216 -2.81928)'))) / (select extract(epoch from '2026-07-08 14:51:43'::timestamp) - extract(epoch from '2026-07-08 14:51: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'), 47631, 'SRID=4674;POINT (-40.125192 -2.819231)', '2026-07-08 14:51:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125216 -2.81928)'), GeomFromEWKT('SRID=4674;POINT (-40.125192 -2.819231)'))) / (select extract(epoch from '2026-07-08 14:51:59'::timestamp) - extract(epoch from '2026-07-08 14:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125216 -2.81928)'), GeomFromEWKT('SRID=4674;POINT (-40.125192 -2.819231)'))) / (select extract(epoch from '2026-07-08 14:51:59'::timestamp) - extract(epoch from '2026-07-08 14:51: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'), 47631, 'SRID=4674;POINT (-40.125106 -2.819229)', '2026-07-08 14:52:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125192 -2.819231)'), GeomFromEWKT('SRID=4674;POINT (-40.125106 -2.819229)'))) / (select extract(epoch from '2026-07-08 14:52:16'::timestamp) - extract(epoch from '2026-07-08 14:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125192 -2.819231)'), GeomFromEWKT('SRID=4674;POINT (-40.125106 -2.819229)'))) / (select extract(epoch from '2026-07-08 14:52:16'::timestamp) - extract(epoch from '2026-07-08 14:51: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'), 47631, 'SRID=4674;POINT (-40.125007 -2.81922)', '2026-07-08 14:52:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125106 -2.819229)'), GeomFromEWKT('SRID=4674;POINT (-40.125007 -2.81922)'))) / (select extract(epoch from '2026-07-08 14:52:36'::timestamp) - extract(epoch from '2026-07-08 14:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125106 -2.819229)'), GeomFromEWKT('SRID=4674;POINT (-40.125007 -2.81922)'))) / (select extract(epoch from '2026-07-08 14:52:36'::timestamp) - extract(epoch from '2026-07-08 14:52: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'), 47631, 'SRID=4674;POINT (-40.124971 -2.8192)', '2026-07-08 14:52:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125007 -2.81922)'), GeomFromEWKT('SRID=4674;POINT (-40.124971 -2.8192)'))) / (select extract(epoch from '2026-07-08 14:52:50'::timestamp) - extract(epoch from '2026-07-08 14:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125007 -2.81922)'), GeomFromEWKT('SRID=4674;POINT (-40.124971 -2.8192)'))) / (select extract(epoch from '2026-07-08 14:52:50'::timestamp) - extract(epoch from '2026-07-08 14:52: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'), 47631, 'SRID=4674;POINT (-40.124908 -2.819198)', '2026-07-08 14:53:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124971 -2.8192)'), GeomFromEWKT('SRID=4674;POINT (-40.124908 -2.819198)'))) / (select extract(epoch from '2026-07-08 14:53:07'::timestamp) - extract(epoch from '2026-07-08 14:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124971 -2.8192)'), GeomFromEWKT('SRID=4674;POINT (-40.124908 -2.819198)'))) / (select extract(epoch from '2026-07-08 14:53:07'::timestamp) - extract(epoch from '2026-07-08 14:52: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'), 47631, 'SRID=4674;POINT (-40.124823 -2.819171)', '2026-07-08 14:53:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124908 -2.819198)'), GeomFromEWKT('SRID=4674;POINT (-40.124823 -2.819171)'))) / (select extract(epoch from '2026-07-08 14:53:24'::timestamp) - extract(epoch from '2026-07-08 14:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124908 -2.819198)'), GeomFromEWKT('SRID=4674;POINT (-40.124823 -2.819171)'))) / (select extract(epoch from '2026-07-08 14:53:24'::timestamp) - extract(epoch from '2026-07-08 14:53: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'), 47631, 'SRID=4674;POINT (-40.124759 -2.819168)', '2026-07-08 14:53:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124823 -2.819171)'), GeomFromEWKT('SRID=4674;POINT (-40.124759 -2.819168)'))) / (select extract(epoch from '2026-07-08 14:53:40'::timestamp) - extract(epoch from '2026-07-08 14:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124823 -2.819171)'), GeomFromEWKT('SRID=4674;POINT (-40.124759 -2.819168)'))) / (select extract(epoch from '2026-07-08 14:53:40'::timestamp) - extract(epoch from '2026-07-08 14:53: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'), 47631, 'SRID=4674;POINT (-40.124745 -2.819164)', '2026-07-08 14:53:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124759 -2.819168)'), GeomFromEWKT('SRID=4674;POINT (-40.124745 -2.819164)'))) / (select extract(epoch from '2026-07-08 14:53:53'::timestamp) - extract(epoch from '2026-07-08 14:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124759 -2.819168)'), GeomFromEWKT('SRID=4674;POINT (-40.124745 -2.819164)'))) / (select extract(epoch from '2026-07-08 14:53:53'::timestamp) - extract(epoch from '2026-07-08 14:53: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'), 47631, 'SRID=4674;POINT (-40.124705 -2.81911)', '2026-07-08 14:54:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124745 -2.819164)'), GeomFromEWKT('SRID=4674;POINT (-40.124705 -2.81911)'))) / (select extract(epoch from '2026-07-08 14:54:12'::timestamp) - extract(epoch from '2026-07-08 14:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124745 -2.819164)'), GeomFromEWKT('SRID=4674;POINT (-40.124705 -2.81911)'))) / (select extract(epoch from '2026-07-08 14:54:12'::timestamp) - extract(epoch from '2026-07-08 14:53:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.124656 -2.819069)', '2026-07-08 14:54:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124705 -2.81911)'), GeomFromEWKT('SRID=4674;POINT (-40.124656 -2.819069)'))) / (select extract(epoch from '2026-07-08 14:54:26'::timestamp) - extract(epoch from '2026-07-08 14:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124705 -2.81911)'), GeomFromEWKT('SRID=4674;POINT (-40.124656 -2.819069)'))) / (select extract(epoch from '2026-07-08 14:54:26'::timestamp) - extract(epoch from '2026-07-08 14:54: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'), 47631, 'SRID=4674;POINT (-40.124659 -2.819021)', '2026-07-08 14:54:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124656 -2.819069)'), GeomFromEWKT('SRID=4674;POINT (-40.124659 -2.819021)'))) / (select extract(epoch from '2026-07-08 14:54:37'::timestamp) - extract(epoch from '2026-07-08 14:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124656 -2.819069)'), GeomFromEWKT('SRID=4674;POINT (-40.124659 -2.819021)'))) / (select extract(epoch from '2026-07-08 14:54:37'::timestamp) - extract(epoch from '2026-07-08 14:54: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'), 47631, 'SRID=4674;POINT (-40.124706 -2.818937)', '2026-07-08 14:54:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124659 -2.819021)'), GeomFromEWKT('SRID=4674;POINT (-40.124706 -2.818937)'))) / (select extract(epoch from '2026-07-08 14:54:53'::timestamp) - extract(epoch from '2026-07-08 14:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124659 -2.819021)'), GeomFromEWKT('SRID=4674;POINT (-40.124706 -2.818937)'))) / (select extract(epoch from '2026-07-08 14:54:53'::timestamp) - extract(epoch from '2026-07-08 14:54: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'), 47631, 'SRID=4674;POINT (-40.124762 -2.818849)', '2026-07-08 14:55:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124706 -2.818937)'), GeomFromEWKT('SRID=4674;POINT (-40.124762 -2.818849)'))) / (select extract(epoch from '2026-07-08 14:55:12'::timestamp) - extract(epoch from '2026-07-08 14:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124706 -2.818937)'), GeomFromEWKT('SRID=4674;POINT (-40.124762 -2.818849)'))) / (select extract(epoch from '2026-07-08 14:55:12'::timestamp) - extract(epoch from '2026-07-08 14:54: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'), 47631, 'SRID=4674;POINT (-40.124794 -2.818815)', '2026-07-08 14:55:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124762 -2.818849)'), GeomFromEWKT('SRID=4674;POINT (-40.124794 -2.818815)'))) / (select extract(epoch from '2026-07-08 14:55:27'::timestamp) - extract(epoch from '2026-07-08 14:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124762 -2.818849)'), GeomFromEWKT('SRID=4674;POINT (-40.124794 -2.818815)'))) / (select extract(epoch from '2026-07-08 14:55:27'::timestamp) - extract(epoch from '2026-07-08 14:55: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'), 47631, 'SRID=4674;POINT (-40.124825 -2.818757)', '2026-07-08 14:55:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124794 -2.818815)'), GeomFromEWKT('SRID=4674;POINT (-40.124825 -2.818757)'))) / (select extract(epoch from '2026-07-08 14:55:39'::timestamp) - extract(epoch from '2026-07-08 14:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124794 -2.818815)'), GeomFromEWKT('SRID=4674;POINT (-40.124825 -2.818757)'))) / (select extract(epoch from '2026-07-08 14:55:39'::timestamp) - extract(epoch from '2026-07-08 14:55: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'), 47631, 'SRID=4674;POINT (-40.124877 -2.818672)', '2026-07-08 14:55:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124825 -2.818757)'), GeomFromEWKT('SRID=4674;POINT (-40.124877 -2.818672)'))) / (select extract(epoch from '2026-07-08 14:55:55'::timestamp) - extract(epoch from '2026-07-08 14:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124825 -2.818757)'), GeomFromEWKT('SRID=4674;POINT (-40.124877 -2.818672)'))) / (select extract(epoch from '2026-07-08 14:55:55'::timestamp) - extract(epoch from '2026-07-08 14:55: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'), 47631, 'SRID=4674;POINT (-40.124914 -2.818581)', '2026-07-08 14:56:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124877 -2.818672)'), GeomFromEWKT('SRID=4674;POINT (-40.124914 -2.818581)'))) / (select extract(epoch from '2026-07-08 14:56:13'::timestamp) - extract(epoch from '2026-07-08 14:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124877 -2.818672)'), GeomFromEWKT('SRID=4674;POINT (-40.124914 -2.818581)'))) / (select extract(epoch from '2026-07-08 14:56:13'::timestamp) - extract(epoch from '2026-07-08 14:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.124942 -2.818539)', '2026-07-08 14:56:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124914 -2.818581)'), GeomFromEWKT('SRID=4674;POINT (-40.124942 -2.818539)'))) / (select extract(epoch from '2026-07-08 14:56:25'::timestamp) - extract(epoch from '2026-07-08 14:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124914 -2.818581)'), GeomFromEWKT('SRID=4674;POINT (-40.124942 -2.818539)'))) / (select extract(epoch from '2026-07-08 14:56:25'::timestamp) - extract(epoch from '2026-07-08 14:56:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.124941 -2.818535)', '2026-07-08 14:56:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124942 -2.818539)'), GeomFromEWKT('SRID=4674;POINT (-40.124941 -2.818535)'))) / (select extract(epoch from '2026-07-08 14:56:38'::timestamp) - extract(epoch from '2026-07-08 14:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124942 -2.818539)'), GeomFromEWKT('SRID=4674;POINT (-40.124941 -2.818535)'))) / (select extract(epoch from '2026-07-08 14:56:38'::timestamp) - extract(epoch from '2026-07-08 14:56:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.124841 -2.818556)', '2026-07-08 14:57:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124941 -2.818535)'), GeomFromEWKT('SRID=4674;POINT (-40.124841 -2.818556)'))) / (select extract(epoch from '2026-07-08 14:57:33'::timestamp) - extract(epoch from '2026-07-08 14:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124941 -2.818535)'), GeomFromEWKT('SRID=4674;POINT (-40.124841 -2.818556)'))) / (select extract(epoch from '2026-07-08 14:57:33'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.124678 -2.818537)', '2026-07-08 14:57:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124841 -2.818556)'), GeomFromEWKT('SRID=4674;POINT (-40.124678 -2.818537)'))) / (select extract(epoch from '2026-07-08 14:57:47'::timestamp) - extract(epoch from '2026-07-08 14:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124841 -2.818556)'), GeomFromEWKT('SRID=4674;POINT (-40.124678 -2.818537)'))) / (select extract(epoch from '2026-07-08 14:57:47'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.124442 -2.818542)', '2026-07-08 14:58:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124678 -2.818537)'), GeomFromEWKT('SRID=4674;POINT (-40.124442 -2.818542)'))) / (select extract(epoch from '2026-07-08 14:58:04'::timestamp) - extract(epoch from '2026-07-08 14:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124678 -2.818537)'), GeomFromEWKT('SRID=4674;POINT (-40.124442 -2.818542)'))) / (select extract(epoch from '2026-07-08 14:58:04'::timestamp) - extract(epoch from '2026-07-08 14:57: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'), 47631, 'SRID=4674;POINT (-40.124329 -2.818561)', '2026-07-08 14:58:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124442 -2.818542)'), GeomFromEWKT('SRID=4674;POINT (-40.124329 -2.818561)'))) / (select extract(epoch from '2026-07-08 14:58:12'::timestamp) - extract(epoch from '2026-07-08 14:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124442 -2.818542)'), GeomFromEWKT('SRID=4674;POINT (-40.124329 -2.818561)'))) / (select extract(epoch from '2026-07-08 14:58:12'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.124226 -2.818574)', '2026-07-08 14:58:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124329 -2.818561)'), GeomFromEWKT('SRID=4674;POINT (-40.124226 -2.818574)'))) / (select extract(epoch from '2026-07-08 14:58:20'::timestamp) - extract(epoch from '2026-07-08 14:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124329 -2.818561)'), GeomFromEWKT('SRID=4674;POINT (-40.124226 -2.818574)'))) / (select extract(epoch from '2026-07-08 14:58:20'::timestamp) - extract(epoch from '2026-07-08 14:58: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'), 47631, 'SRID=4674;POINT (-40.124107 -2.81859)', '2026-07-08 14:58:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124226 -2.818574)'), GeomFromEWKT('SRID=4674;POINT (-40.124107 -2.81859)'))) / (select extract(epoch from '2026-07-08 14:58:29'::timestamp) - extract(epoch from '2026-07-08 14:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124226 -2.818574)'), GeomFromEWKT('SRID=4674;POINT (-40.124107 -2.81859)'))) / (select extract(epoch from '2026-07-08 14:58:29'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.123996 -2.818591)', '2026-07-08 14:58:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124107 -2.81859)'), GeomFromEWKT('SRID=4674;POINT (-40.123996 -2.818591)'))) / (select extract(epoch from '2026-07-08 14:58:37'::timestamp) - extract(epoch from '2026-07-08 14:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124107 -2.81859)'), GeomFromEWKT('SRID=4674;POINT (-40.123996 -2.818591)'))) / (select extract(epoch from '2026-07-08 14:58:37'::timestamp) - extract(epoch from '2026-07-08 14:58: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'), 47631, 'SRID=4674;POINT (-40.123876 -2.818586)', '2026-07-08 14:58:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123996 -2.818591)'), GeomFromEWKT('SRID=4674;POINT (-40.123876 -2.818586)'))) / (select extract(epoch from '2026-07-08 14:58:46'::timestamp) - extract(epoch from '2026-07-08 14:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123996 -2.818591)'), GeomFromEWKT('SRID=4674;POINT (-40.123876 -2.818586)'))) / (select extract(epoch from '2026-07-08 14:58:46'::timestamp) - extract(epoch from '2026-07-08 14:58: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'), 47631, 'SRID=4674;POINT (-40.123755 -2.818573)', '2026-07-08 14:58:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123876 -2.818586)'), GeomFromEWKT('SRID=4674;POINT (-40.123755 -2.818573)'))) / (select extract(epoch from '2026-07-08 14:58:56'::timestamp) - extract(epoch from '2026-07-08 14:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123876 -2.818586)'), GeomFromEWKT('SRID=4674;POINT (-40.123755 -2.818573)'))) / (select extract(epoch from '2026-07-08 14:58:56'::timestamp) - extract(epoch from '2026-07-08 14: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'), 47631, 'SRID=4674;POINT (-40.123646 -2.818565)', '2026-07-08 14:59:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123755 -2.818573)'), GeomFromEWKT('SRID=4674;POINT (-40.123646 -2.818565)'))) / (select extract(epoch from '2026-07-08 14:59:04'::timestamp) - extract(epoch from '2026-07-08 14:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123755 -2.818573)'), GeomFromEWKT('SRID=4674;POINT (-40.123646 -2.818565)'))) / (select extract(epoch from '2026-07-08 14:59:04'::timestamp) - extract(epoch from '2026-07-08 14:58: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'), 47631, 'SRID=4674;POINT (-40.123541 -2.818568)', '2026-07-08 14:59:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123646 -2.818565)'), GeomFromEWKT('SRID=4674;POINT (-40.123541 -2.818568)'))) / (select extract(epoch from '2026-07-08 14:59:12'::timestamp) - extract(epoch from '2026-07-08 14:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123646 -2.818565)'), GeomFromEWKT('SRID=4674;POINT (-40.123541 -2.818568)'))) / (select extract(epoch from '2026-07-08 14:59:12'::timestamp) - extract(epoch from '2026-07-08 14:59: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'), 47631, 'SRID=4674;POINT (-40.123438 -2.818562)', '2026-07-08 14:59:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123541 -2.818568)'), GeomFromEWKT('SRID=4674;POINT (-40.123438 -2.818562)'))) / (select extract(epoch from '2026-07-08 14:59:20'::timestamp) - extract(epoch from '2026-07-08 14:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123541 -2.818568)'), GeomFromEWKT('SRID=4674;POINT (-40.123438 -2.818562)'))) / (select extract(epoch from '2026-07-08 14:59:20'::timestamp) - extract(epoch from '2026-07-08 14:59: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'), 47631, 'SRID=4674;POINT (-40.123318 -2.818578)', '2026-07-08 14:59:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123438 -2.818562)'), GeomFromEWKT('SRID=4674;POINT (-40.123318 -2.818578)'))) / (select extract(epoch from '2026-07-08 14:59:29'::timestamp) - extract(epoch from '2026-07-08 14:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123438 -2.818562)'), GeomFromEWKT('SRID=4674;POINT (-40.123318 -2.818578)'))) / (select extract(epoch from '2026-07-08 14:59:29'::timestamp) - extract(epoch from '2026-07-08 14:59: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'), 47631, 'SRID=4674;POINT (-40.123226 -2.818602)', '2026-07-08 14:59:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123318 -2.818578)'), GeomFromEWKT('SRID=4674;POINT (-40.123226 -2.818602)'))) / (select extract(epoch from '2026-07-08 14:59:36'::timestamp) - extract(epoch from '2026-07-08 14:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123318 -2.818578)'), GeomFromEWKT('SRID=4674;POINT (-40.123226 -2.818602)'))) / (select extract(epoch from '2026-07-08 14:59:36'::timestamp) - extract(epoch from '2026-07-08 14:59: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'), 47631, 'SRID=4674;POINT (-40.123096 -2.818618)', '2026-07-08 14:59:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123226 -2.818602)'), GeomFromEWKT('SRID=4674;POINT (-40.123096 -2.818618)'))) / (select extract(epoch from '2026-07-08 14:59:46'::timestamp) - extract(epoch from '2026-07-08 14:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123226 -2.818602)'), GeomFromEWKT('SRID=4674;POINT (-40.123096 -2.818618)'))) / (select extract(epoch from '2026-07-08 14:59:46'::timestamp) - extract(epoch from '2026-07-08 14:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.123002 -2.818605)', '2026-07-08 14:59:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123096 -2.818618)'), GeomFromEWKT('SRID=4674;POINT (-40.123002 -2.818605)'))) / (select extract(epoch from '2026-07-08 14:59:53'::timestamp) - extract(epoch from '2026-07-08 14:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123096 -2.818618)'), GeomFromEWKT('SRID=4674;POINT (-40.123002 -2.818605)'))) / (select extract(epoch from '2026-07-08 14:59:53'::timestamp) - extract(epoch from '2026-07-08 14:59:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.122877 -2.818598)', '2026-07-08 15:00:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123002 -2.818605)'), GeomFromEWKT('SRID=4674;POINT (-40.122877 -2.818598)'))) / (select extract(epoch from '2026-07-08 15:00:02'::timestamp) - extract(epoch from '2026-07-08 14:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123002 -2.818605)'), GeomFromEWKT('SRID=4674;POINT (-40.122877 -2.818598)'))) / (select extract(epoch from '2026-07-08 15:00:02'::timestamp) - extract(epoch from '2026-07-08 14:59:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.122769 -2.818581)', '2026-07-08 15:00:10', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122877 -2.818598)'), GeomFromEWKT('SRID=4674;POINT (-40.122769 -2.818581)'))) / (select extract(epoch from '2026-07-08 15:00:10'::timestamp) - extract(epoch from '2026-07-08 15:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122877 -2.818598)'), GeomFromEWKT('SRID=4674;POINT (-40.122769 -2.818581)'))) / (select extract(epoch from '2026-07-08 15:00:10'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.122647 -2.818562)', '2026-07-08 15:00:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122769 -2.818581)'), GeomFromEWKT('SRID=4674;POINT (-40.122647 -2.818562)'))) / (select extract(epoch from '2026-07-08 15:00:20'::timestamp) - extract(epoch from '2026-07-08 15:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122769 -2.818581)'), GeomFromEWKT('SRID=4674;POINT (-40.122647 -2.818562)'))) / (select extract(epoch from '2026-07-08 15:00:20'::timestamp) - extract(epoch from '2026-07-08 15:00: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'), 47631, 'SRID=4674;POINT (-40.122538 -2.818564)', '2026-07-08 15:00:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122647 -2.818562)'), GeomFromEWKT('SRID=4674;POINT (-40.122538 -2.818564)'))) / (select extract(epoch from '2026-07-08 15:00:28'::timestamp) - extract(epoch from '2026-07-08 15:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122647 -2.818562)'), GeomFromEWKT('SRID=4674;POINT (-40.122538 -2.818564)'))) / (select extract(epoch from '2026-07-08 15:00:28'::timestamp) - extract(epoch from '2026-07-08 15:00:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.122416 -2.818582)', '2026-07-08 15:00:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122538 -2.818564)'), GeomFromEWKT('SRID=4674;POINT (-40.122416 -2.818582)'))) / (select extract(epoch from '2026-07-08 15:00:37'::timestamp) - extract(epoch from '2026-07-08 15:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122538 -2.818564)'), GeomFromEWKT('SRID=4674;POINT (-40.122416 -2.818582)'))) / (select extract(epoch from '2026-07-08 15:00:37'::timestamp) - extract(epoch from '2026-07-08 15:00:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.12229 -2.818589)', '2026-07-08 15:00:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122416 -2.818582)'), GeomFromEWKT('SRID=4674;POINT (-40.12229 -2.818589)'))) / (select extract(epoch from '2026-07-08 15:00:46'::timestamp) - extract(epoch from '2026-07-08 15:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122416 -2.818582)'), GeomFromEWKT('SRID=4674;POINT (-40.12229 -2.818589)'))) / (select extract(epoch from '2026-07-08 15:00:46'::timestamp) - extract(epoch from '2026-07-08 15:00:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.122188 -2.818614)', '2026-07-08 15:00:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12229 -2.818589)'), GeomFromEWKT('SRID=4674;POINT (-40.122188 -2.818614)'))) / (select extract(epoch from '2026-07-08 15:00:54'::timestamp) - extract(epoch from '2026-07-08 15:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12229 -2.818589)'), GeomFromEWKT('SRID=4674;POINT (-40.122188 -2.818614)'))) / (select extract(epoch from '2026-07-08 15:00:54'::timestamp) - extract(epoch from '2026-07-08 15:00:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.12211 -2.81863)', '2026-07-08 15:01:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122188 -2.818614)'), GeomFromEWKT('SRID=4674;POINT (-40.12211 -2.81863)'))) / (select extract(epoch from '2026-07-08 15:01:00'::timestamp) - extract(epoch from '2026-07-08 15:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122188 -2.818614)'), GeomFromEWKT('SRID=4674;POINT (-40.12211 -2.81863)'))) / (select extract(epoch from '2026-07-08 15:01:00'::timestamp) - extract(epoch from '2026-07-08 15:00: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'), 47631, 'SRID=4674;POINT (-40.122003 -2.818628)', '2026-07-08 15:01:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12211 -2.81863)'), GeomFromEWKT('SRID=4674;POINT (-40.122003 -2.818628)'))) / (select extract(epoch from '2026-07-08 15:01:08'::timestamp) - extract(epoch from '2026-07-08 15:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12211 -2.81863)'), GeomFromEWKT('SRID=4674;POINT (-40.122003 -2.818628)'))) / (select extract(epoch from '2026-07-08 15:01:08'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.121879 -2.818622)', '2026-07-08 15:01:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122003 -2.818628)'), GeomFromEWKT('SRID=4674;POINT (-40.121879 -2.818622)'))) / (select extract(epoch from '2026-07-08 15:01:17'::timestamp) - extract(epoch from '2026-07-08 15:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122003 -2.818628)'), GeomFromEWKT('SRID=4674;POINT (-40.121879 -2.818622)'))) / (select extract(epoch from '2026-07-08 15:01:17'::timestamp) - extract(epoch from '2026-07-08 15:01: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'), 47631, 'SRID=4674;POINT (-40.121752 -2.818628)', '2026-07-08 15:01:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121879 -2.818622)'), GeomFromEWKT('SRID=4674;POINT (-40.121752 -2.818628)'))) / (select extract(epoch from '2026-07-08 15:01:26'::timestamp) - extract(epoch from '2026-07-08 15:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121879 -2.818622)'), GeomFromEWKT('SRID=4674;POINT (-40.121752 -2.818628)'))) / (select extract(epoch from '2026-07-08 15:01:26'::timestamp) - extract(epoch from '2026-07-08 15:01: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'), 47631, 'SRID=4674;POINT (-40.121651 -2.818634)', '2026-07-08 15:01:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121752 -2.818628)'), GeomFromEWKT('SRID=4674;POINT (-40.121651 -2.818634)'))) / (select extract(epoch from '2026-07-08 15:01:33'::timestamp) - extract(epoch from '2026-07-08 15:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121752 -2.818628)'), GeomFromEWKT('SRID=4674;POINT (-40.121651 -2.818634)'))) / (select extract(epoch from '2026-07-08 15:01:33'::timestamp) - extract(epoch from '2026-07-08 15:01: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'), 47631, 'SRID=4674;POINT (-40.121486 -2.818646)', '2026-07-08 15:01:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121651 -2.818634)'), GeomFromEWKT('SRID=4674;POINT (-40.121486 -2.818646)'))) / (select extract(epoch from '2026-07-08 15:01:45'::timestamp) - extract(epoch from '2026-07-08 15:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121651 -2.818634)'), GeomFromEWKT('SRID=4674;POINT (-40.121486 -2.818646)'))) / (select extract(epoch from '2026-07-08 15:01:45'::timestamp) - extract(epoch from '2026-07-08 15:01:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.121367 -2.818663)', '2026-07-08 15:01:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121486 -2.818646)'), GeomFromEWKT('SRID=4674;POINT (-40.121367 -2.818663)'))) / (select extract(epoch from '2026-07-08 15:01:54'::timestamp) - extract(epoch from '2026-07-08 15:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121486 -2.818646)'), GeomFromEWKT('SRID=4674;POINT (-40.121367 -2.818663)'))) / (select extract(epoch from '2026-07-08 15:01:54'::timestamp) - extract(epoch from '2026-07-08 15:01:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.121247 -2.818675)', '2026-07-08 15:02:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121367 -2.818663)'), GeomFromEWKT('SRID=4674;POINT (-40.121247 -2.818675)'))) / (select extract(epoch from '2026-07-08 15:02:03'::timestamp) - extract(epoch from '2026-07-08 15:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121367 -2.818663)'), GeomFromEWKT('SRID=4674;POINT (-40.121247 -2.818675)'))) / (select extract(epoch from '2026-07-08 15:02:03'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.121137 -2.818687)', '2026-07-08 15:02:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121247 -2.818675)'), GeomFromEWKT('SRID=4674;POINT (-40.121137 -2.818687)'))) / (select extract(epoch from '2026-07-08 15:02:11'::timestamp) - extract(epoch from '2026-07-08 15:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121247 -2.818675)'), GeomFromEWKT('SRID=4674;POINT (-40.121137 -2.818687)'))) / (select extract(epoch from '2026-07-08 15:02:11'::timestamp) - extract(epoch from '2026-07-08 15:02: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'), 47631, 'SRID=4674;POINT (-40.121037 -2.818699)', '2026-07-08 15:02:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121137 -2.818687)'), GeomFromEWKT('SRID=4674;POINT (-40.121037 -2.818699)'))) / (select extract(epoch from '2026-07-08 15:02:18'::timestamp) - extract(epoch from '2026-07-08 15:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121137 -2.818687)'), GeomFromEWKT('SRID=4674;POINT (-40.121037 -2.818699)'))) / (select extract(epoch from '2026-07-08 15:02:18'::timestamp) - extract(epoch from '2026-07-08 15:02:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.120955 -2.81869)', '2026-07-08 15:02:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121037 -2.818699)'), GeomFromEWKT('SRID=4674;POINT (-40.120955 -2.81869)'))) / (select extract(epoch from '2026-07-08 15:02:25'::timestamp) - extract(epoch from '2026-07-08 15:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121037 -2.818699)'), GeomFromEWKT('SRID=4674;POINT (-40.120955 -2.81869)'))) / (select extract(epoch from '2026-07-08 15:02:25'::timestamp) - extract(epoch from '2026-07-08 15:02:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.120792 -2.818722)', '2026-07-08 15:02:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120955 -2.81869)'), GeomFromEWKT('SRID=4674;POINT (-40.120792 -2.818722)'))) / (select extract(epoch from '2026-07-08 15:02:36'::timestamp) - extract(epoch from '2026-07-08 15:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120955 -2.81869)'), GeomFromEWKT('SRID=4674;POINT (-40.120792 -2.818722)'))) / (select extract(epoch from '2026-07-08 15:02:36'::timestamp) - extract(epoch from '2026-07-08 15:02: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'), 47631, 'SRID=4674;POINT (-40.120671 -2.818719)', '2026-07-08 15:02:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120792 -2.818722)'), GeomFromEWKT('SRID=4674;POINT (-40.120671 -2.818719)'))) / (select extract(epoch from '2026-07-08 15:02:45'::timestamp) - extract(epoch from '2026-07-08 15:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120792 -2.818722)'), GeomFromEWKT('SRID=4674;POINT (-40.120671 -2.818719)'))) / (select extract(epoch from '2026-07-08 15:02:45'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.120539 -2.818717)', '2026-07-08 15:02:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120671 -2.818719)'), GeomFromEWKT('SRID=4674;POINT (-40.120539 -2.818717)'))) / (select extract(epoch from '2026-07-08 15:02:54'::timestamp) - extract(epoch from '2026-07-08 15:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120671 -2.818719)'), GeomFromEWKT('SRID=4674;POINT (-40.120539 -2.818717)'))) / (select extract(epoch from '2026-07-08 15:02:54'::timestamp) - extract(epoch from '2026-07-08 15:02: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'), 47631, 'SRID=4674;POINT (-40.12042 -2.818714)', '2026-07-08 15:03:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120539 -2.818717)'), GeomFromEWKT('SRID=4674;POINT (-40.12042 -2.818714)'))) / (select extract(epoch from '2026-07-08 15:03:03'::timestamp) - extract(epoch from '2026-07-08 15:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120539 -2.818717)'), GeomFromEWKT('SRID=4674;POINT (-40.12042 -2.818714)'))) / (select extract(epoch from '2026-07-08 15:03:03'::timestamp) - extract(epoch from '2026-07-08 15:02: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'), 47631, 'SRID=4674;POINT (-40.120231 -2.818704)', '2026-07-08 15:03:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12042 -2.818714)'), GeomFromEWKT('SRID=4674;POINT (-40.120231 -2.818704)'))) / (select extract(epoch from '2026-07-08 15:03:16'::timestamp) - extract(epoch from '2026-07-08 15:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12042 -2.818714)'), GeomFromEWKT('SRID=4674;POINT (-40.120231 -2.818704)'))) / (select extract(epoch from '2026-07-08 15:03:16'::timestamp) - extract(epoch from '2026-07-08 15:03: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'), 47631, 'SRID=4674;POINT (-40.120117 -2.818693)', '2026-07-08 15:03:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120231 -2.818704)'), GeomFromEWKT('SRID=4674;POINT (-40.120117 -2.818693)'))) / (select extract(epoch from '2026-07-08 15:03:24'::timestamp) - extract(epoch from '2026-07-08 15:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120231 -2.818704)'), GeomFromEWKT('SRID=4674;POINT (-40.120117 -2.818693)'))) / (select extract(epoch from '2026-07-08 15:03:24'::timestamp) - extract(epoch from '2026-07-08 15:03: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'), 47631, 'SRID=4674;POINT (-40.119989 -2.818691)', '2026-07-08 15:03:33', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120117 -2.818693)'), GeomFromEWKT('SRID=4674;POINT (-40.119989 -2.818691)'))) / (select extract(epoch from '2026-07-08 15:03:33'::timestamp) - extract(epoch from '2026-07-08 15:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120117 -2.818693)'), GeomFromEWKT('SRID=4674;POINT (-40.119989 -2.818691)'))) / (select extract(epoch from '2026-07-08 15:03:33'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.119846 -2.818682)', '2026-07-08 15:03:42', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119989 -2.818691)'), GeomFromEWKT('SRID=4674;POINT (-40.119846 -2.818682)'))) / (select extract(epoch from '2026-07-08 15:03:42'::timestamp) - extract(epoch from '2026-07-08 15:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119989 -2.818691)'), GeomFromEWKT('SRID=4674;POINT (-40.119846 -2.818682)'))) / (select extract(epoch from '2026-07-08 15:03:42'::timestamp) - extract(epoch from '2026-07-08 15:03:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.119702 -2.81867)', '2026-07-08 15:03:52', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119846 -2.818682)'), GeomFromEWKT('SRID=4674;POINT (-40.119702 -2.81867)'))) / (select extract(epoch from '2026-07-08 15:03:52'::timestamp) - extract(epoch from '2026-07-08 15:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119846 -2.818682)'), GeomFromEWKT('SRID=4674;POINT (-40.119702 -2.81867)'))) / (select extract(epoch from '2026-07-08 15:03:52'::timestamp) - extract(epoch from '2026-07-08 15:03: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'), 47631, 'SRID=4674;POINT (-40.119555 -2.818659)', '2026-07-08 15:04:02', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119702 -2.81867)'), GeomFromEWKT('SRID=4674;POINT (-40.119555 -2.818659)'))) / (select extract(epoch from '2026-07-08 15:04:02'::timestamp) - extract(epoch from '2026-07-08 15:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119702 -2.81867)'), GeomFromEWKT('SRID=4674;POINT (-40.119555 -2.818659)'))) / (select extract(epoch from '2026-07-08 15:04:02'::timestamp) - extract(epoch from '2026-07-08 15:03: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'), 47631, 'SRID=4674;POINT (-40.119461 -2.818649)', '2026-07-08 15:04:09', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119555 -2.818659)'), GeomFromEWKT('SRID=4674;POINT (-40.119461 -2.818649)'))) / (select extract(epoch from '2026-07-08 15:04:09'::timestamp) - extract(epoch from '2026-07-08 15:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119555 -2.818659)'), GeomFromEWKT('SRID=4674;POINT (-40.119461 -2.818649)'))) / (select extract(epoch from '2026-07-08 15:04:09'::timestamp) - extract(epoch from '2026-07-08 15:04:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.119334 -2.818649)', '2026-07-08 15:04:18', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119461 -2.818649)'), GeomFromEWKT('SRID=4674;POINT (-40.119334 -2.818649)'))) / (select extract(epoch from '2026-07-08 15:04:18'::timestamp) - extract(epoch from '2026-07-08 15:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119461 -2.818649)'), GeomFromEWKT('SRID=4674;POINT (-40.119334 -2.818649)'))) / (select extract(epoch from '2026-07-08 15:04:18'::timestamp) - extract(epoch from '2026-07-08 15:04:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.119214 -2.818626)', '2026-07-08 15:04:27', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119334 -2.818649)'), GeomFromEWKT('SRID=4674;POINT (-40.119214 -2.818626)'))) / (select extract(epoch from '2026-07-08 15:04:27'::timestamp) - extract(epoch from '2026-07-08 15:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119334 -2.818649)'), GeomFromEWKT('SRID=4674;POINT (-40.119214 -2.818626)'))) / (select extract(epoch from '2026-07-08 15:04:27'::timestamp) - extract(epoch from '2026-07-08 15:04: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'), 47631, 'SRID=4674;POINT (-40.119066 -2.81858)', '2026-07-08 15:04:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119214 -2.818626)'), GeomFromEWKT('SRID=4674;POINT (-40.119066 -2.81858)'))) / (select extract(epoch from '2026-07-08 15:04:38'::timestamp) - extract(epoch from '2026-07-08 15:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119214 -2.818626)'), GeomFromEWKT('SRID=4674;POINT (-40.119066 -2.81858)'))) / (select extract(epoch from '2026-07-08 15:04:38'::timestamp) - extract(epoch from '2026-07-08 15:04: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'), 47631, 'SRID=4674;POINT (-40.118941 -2.818561)', '2026-07-08 15:04:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119066 -2.81858)'), GeomFromEWKT('SRID=4674;POINT (-40.118941 -2.818561)'))) / (select extract(epoch from '2026-07-08 15:04:47'::timestamp) - extract(epoch from '2026-07-08 15:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119066 -2.81858)'), GeomFromEWKT('SRID=4674;POINT (-40.118941 -2.818561)'))) / (select extract(epoch from '2026-07-08 15:04:47'::timestamp) - extract(epoch from '2026-07-08 15:04: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'), 47631, 'SRID=4674;POINT (-40.118828 -2.818578)', '2026-07-08 15:04:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118941 -2.818561)'), GeomFromEWKT('SRID=4674;POINT (-40.118828 -2.818578)'))) / (select extract(epoch from '2026-07-08 15:04:55'::timestamp) - extract(epoch from '2026-07-08 15:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118941 -2.818561)'), GeomFromEWKT('SRID=4674;POINT (-40.118828 -2.818578)'))) / (select extract(epoch from '2026-07-08 15:04:55'::timestamp) - extract(epoch from '2026-07-08 15:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.118704 -2.818586)', '2026-07-08 15:05:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118828 -2.818578)'), GeomFromEWKT('SRID=4674;POINT (-40.118704 -2.818586)'))) / (select extract(epoch from '2026-07-08 15:05:04'::timestamp) - extract(epoch from '2026-07-08 15:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118828 -2.818578)'), GeomFromEWKT('SRID=4674;POINT (-40.118704 -2.818586)'))) / (select extract(epoch from '2026-07-08 15:05:04'::timestamp) - extract(epoch from '2026-07-08 15:04: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'), 47631, 'SRID=4674;POINT (-40.118585 -2.818621)', '2026-07-08 15:05:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118704 -2.818586)'), GeomFromEWKT('SRID=4674;POINT (-40.118585 -2.818621)'))) / (select extract(epoch from '2026-07-08 15:05:13'::timestamp) - extract(epoch from '2026-07-08 15:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118704 -2.818586)'), GeomFromEWKT('SRID=4674;POINT (-40.118585 -2.818621)'))) / (select extract(epoch from '2026-07-08 15:05:13'::timestamp) - extract(epoch from '2026-07-08 15:05: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'), 47631, 'SRID=4674;POINT (-40.118462 -2.818619)', '2026-07-08 15:05:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118585 -2.818621)'), GeomFromEWKT('SRID=4674;POINT (-40.118462 -2.818619)'))) / (select extract(epoch from '2026-07-08 15:05:22'::timestamp) - extract(epoch from '2026-07-08 15:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118585 -2.818621)'), GeomFromEWKT('SRID=4674;POINT (-40.118462 -2.818619)'))) / (select extract(epoch from '2026-07-08 15:05:22'::timestamp) - extract(epoch from '2026-07-08 15:05:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.118337 -2.818604)', '2026-07-08 15:05:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118462 -2.818619)'), GeomFromEWKT('SRID=4674;POINT (-40.118337 -2.818604)'))) / (select extract(epoch from '2026-07-08 15:05:31'::timestamp) - extract(epoch from '2026-07-08 15:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118462 -2.818619)'), GeomFromEWKT('SRID=4674;POINT (-40.118337 -2.818604)'))) / (select extract(epoch from '2026-07-08 15:05:31'::timestamp) - extract(epoch from '2026-07-08 15:05: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'), 47631, 'SRID=4674;POINT (-40.118207 -2.818578)', '2026-07-08 15:05:40', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118337 -2.818604)'), GeomFromEWKT('SRID=4674;POINT (-40.118207 -2.818578)'))) / (select extract(epoch from '2026-07-08 15:05:40'::timestamp) - extract(epoch from '2026-07-08 15:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118337 -2.818604)'), GeomFromEWKT('SRID=4674;POINT (-40.118207 -2.818578)'))) / (select extract(epoch from '2026-07-08 15:05:40'::timestamp) - extract(epoch from '2026-07-08 15:05: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'), 47631, 'SRID=4674;POINT (-40.11806 -2.818543)', '2026-07-08 15:05:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118207 -2.818578)'), GeomFromEWKT('SRID=4674;POINT (-40.11806 -2.818543)'))) / (select extract(epoch from '2026-07-08 15:05:50'::timestamp) - extract(epoch from '2026-07-08 15:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118207 -2.818578)'), GeomFromEWKT('SRID=4674;POINT (-40.11806 -2.818543)'))) / (select extract(epoch from '2026-07-08 15:05:50'::timestamp) - extract(epoch from '2026-07-08 15:05:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.117945 -2.818503)', '2026-07-08 15:05:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11806 -2.818543)'), GeomFromEWKT('SRID=4674;POINT (-40.117945 -2.818503)'))) / (select extract(epoch from '2026-07-08 15:05:59'::timestamp) - extract(epoch from '2026-07-08 15:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11806 -2.818543)'), GeomFromEWKT('SRID=4674;POINT (-40.117945 -2.818503)'))) / (select extract(epoch from '2026-07-08 15:05:59'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.117782 -2.818501)', '2026-07-08 15:06:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117945 -2.818503)'), GeomFromEWKT('SRID=4674;POINT (-40.117782 -2.818501)'))) / (select extract(epoch from '2026-07-08 15:06:11'::timestamp) - extract(epoch from '2026-07-08 15:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117945 -2.818503)'), GeomFromEWKT('SRID=4674;POINT (-40.117782 -2.818501)'))) / (select extract(epoch from '2026-07-08 15:06:11'::timestamp) - extract(epoch from '2026-07-08 15:05: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'), 47631, 'SRID=4674;POINT (-40.117656 -2.818473)', '2026-07-08 15:06:21', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117782 -2.818501)'), GeomFromEWKT('SRID=4674;POINT (-40.117656 -2.818473)'))) / (select extract(epoch from '2026-07-08 15:06:21'::timestamp) - extract(epoch from '2026-07-08 15:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117782 -2.818501)'), GeomFromEWKT('SRID=4674;POINT (-40.117656 -2.818473)'))) / (select extract(epoch from '2026-07-08 15:06:21'::timestamp) - extract(epoch from '2026-07-08 15:06:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.117554 -2.818421)', '2026-07-08 15:06:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117656 -2.818473)'), GeomFromEWKT('SRID=4674;POINT (-40.117554 -2.818421)'))) / (select extract(epoch from '2026-07-08 15:06:30'::timestamp) - extract(epoch from '2026-07-08 15:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117656 -2.818473)'), GeomFromEWKT('SRID=4674;POINT (-40.117554 -2.818421)'))) / (select extract(epoch from '2026-07-08 15:06:30'::timestamp) - extract(epoch from '2026-07-08 15:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.117456 -2.818332)', '2026-07-08 15:06:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117554 -2.818421)'), GeomFromEWKT('SRID=4674;POINT (-40.117456 -2.818332)'))) / (select extract(epoch from '2026-07-08 15:06:39'::timestamp) - extract(epoch from '2026-07-08 15:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117554 -2.818421)'), GeomFromEWKT('SRID=4674;POINT (-40.117456 -2.818332)'))) / (select extract(epoch from '2026-07-08 15:06:39'::timestamp) - extract(epoch from '2026-07-08 15:06: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'), 47631, 'SRID=4674;POINT (-40.11734 -2.818237)', '2026-07-08 15:06:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117456 -2.818332)'), GeomFromEWKT('SRID=4674;POINT (-40.11734 -2.818237)'))) / (select extract(epoch from '2026-07-08 15:06:49'::timestamp) - extract(epoch from '2026-07-08 15:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117456 -2.818332)'), GeomFromEWKT('SRID=4674;POINT (-40.11734 -2.818237)'))) / (select extract(epoch from '2026-07-08 15:06:49'::timestamp) - extract(epoch from '2026-07-08 15:06:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.117228 -2.818186)', '2026-07-08 15:06:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11734 -2.818237)'), GeomFromEWKT('SRID=4674;POINT (-40.117228 -2.818186)'))) / (select extract(epoch from '2026-07-08 15:06:58'::timestamp) - extract(epoch from '2026-07-08 15:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11734 -2.818237)'), GeomFromEWKT('SRID=4674;POINT (-40.117228 -2.818186)'))) / (select extract(epoch from '2026-07-08 15:06:58'::timestamp) - extract(epoch from '2026-07-08 15:06: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'), 47631, 'SRID=4674;POINT (-40.117109 -2.818151)', '2026-07-08 15:07:06', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117228 -2.818186)'), GeomFromEWKT('SRID=4674;POINT (-40.117109 -2.818151)'))) / (select extract(epoch from '2026-07-08 15:07:06'::timestamp) - extract(epoch from '2026-07-08 15:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117228 -2.818186)'), GeomFromEWKT('SRID=4674;POINT (-40.117109 -2.818151)'))) / (select extract(epoch from '2026-07-08 15:07:06'::timestamp) - extract(epoch from '2026-07-08 15:06: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'), 47631, 'SRID=4674;POINT (-40.116998 -2.818091)', '2026-07-08 15:07:15', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117109 -2.818151)'), GeomFromEWKT('SRID=4674;POINT (-40.116998 -2.818091)'))) / (select extract(epoch from '2026-07-08 15:07:15'::timestamp) - extract(epoch from '2026-07-08 15:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117109 -2.818151)'), GeomFromEWKT('SRID=4674;POINT (-40.116998 -2.818091)'))) / (select extract(epoch from '2026-07-08 15:07:15'::timestamp) - extract(epoch from '2026-07-08 15:07:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.116909 -2.81804)', '2026-07-08 15:07:22', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116998 -2.818091)'), GeomFromEWKT('SRID=4674;POINT (-40.116909 -2.81804)'))) / (select extract(epoch from '2026-07-08 15:07:22'::timestamp) - extract(epoch from '2026-07-08 15:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116998 -2.818091)'), GeomFromEWKT('SRID=4674;POINT (-40.116909 -2.81804)'))) / (select extract(epoch from '2026-07-08 15:07:22'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.116808 -2.817942)', '2026-07-08 15:07:32', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116909 -2.81804)'), GeomFromEWKT('SRID=4674;POINT (-40.116808 -2.817942)'))) / (select extract(epoch from '2026-07-08 15:07:32'::timestamp) - extract(epoch from '2026-07-08 15:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116909 -2.81804)'), GeomFromEWKT('SRID=4674;POINT (-40.116808 -2.817942)'))) / (select extract(epoch from '2026-07-08 15:07:32'::timestamp) - extract(epoch from '2026-07-08 15:07:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.116721 -2.817906)', '2026-07-08 15:07:39', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116808 -2.817942)'), GeomFromEWKT('SRID=4674;POINT (-40.116721 -2.817906)'))) / (select extract(epoch from '2026-07-08 15:07:39'::timestamp) - extract(epoch from '2026-07-08 15:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116808 -2.817942)'), GeomFromEWKT('SRID=4674;POINT (-40.116721 -2.817906)'))) / (select extract(epoch from '2026-07-08 15:07:39'::timestamp) - extract(epoch from '2026-07-08 15:07: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'), 47631, 'SRID=4674;POINT (-40.116611 -2.817869)', '2026-07-08 15:07:48', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116721 -2.817906)'), GeomFromEWKT('SRID=4674;POINT (-40.116611 -2.817869)'))) / (select extract(epoch from '2026-07-08 15:07:48'::timestamp) - extract(epoch from '2026-07-08 15:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116721 -2.817906)'), GeomFromEWKT('SRID=4674;POINT (-40.116611 -2.817869)'))) / (select extract(epoch from '2026-07-08 15:07:48'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.116516 -2.8178)', '2026-07-08 15:07:56', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116611 -2.817869)'), GeomFromEWKT('SRID=4674;POINT (-40.116516 -2.8178)'))) / (select extract(epoch from '2026-07-08 15:07:56'::timestamp) - extract(epoch from '2026-07-08 15:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116611 -2.817869)'), GeomFromEWKT('SRID=4674;POINT (-40.116516 -2.8178)'))) / (select extract(epoch from '2026-07-08 15:07:56'::timestamp) - extract(epoch from '2026-07-08 15:07:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.116405 -2.817701)', '2026-07-08 15:08:06', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116516 -2.8178)'), GeomFromEWKT('SRID=4674;POINT (-40.116405 -2.817701)'))) / (select extract(epoch from '2026-07-08 15:08:06'::timestamp) - extract(epoch from '2026-07-08 15:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116516 -2.8178)'), GeomFromEWKT('SRID=4674;POINT (-40.116405 -2.817701)'))) / (select extract(epoch from '2026-07-08 15:08:06'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.116299 -2.817643)', '2026-07-08 15:08:15', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116405 -2.817701)'), GeomFromEWKT('SRID=4674;POINT (-40.116299 -2.817643)'))) / (select extract(epoch from '2026-07-08 15:08:15'::timestamp) - extract(epoch from '2026-07-08 15:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116405 -2.817701)'), GeomFromEWKT('SRID=4674;POINT (-40.116299 -2.817643)'))) / (select extract(epoch from '2026-07-08 15:08:15'::timestamp) - extract(epoch from '2026-07-08 15:08:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.116211 -2.817601)', '2026-07-08 15:08:22', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116299 -2.817643)'), GeomFromEWKT('SRID=4674;POINT (-40.116211 -2.817601)'))) / (select extract(epoch from '2026-07-08 15:08:22'::timestamp) - extract(epoch from '2026-07-08 15:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116299 -2.817643)'), GeomFromEWKT('SRID=4674;POINT (-40.116211 -2.817601)'))) / (select extract(epoch from '2026-07-08 15:08:22'::timestamp) - extract(epoch from '2026-07-08 15:08: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'), 47631, 'SRID=4674;POINT (-40.116129 -2.817556)', '2026-07-08 15:08:29', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116211 -2.817601)'), GeomFromEWKT('SRID=4674;POINT (-40.116129 -2.817556)'))) / (select extract(epoch from '2026-07-08 15:08:29'::timestamp) - extract(epoch from '2026-07-08 15:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116211 -2.817601)'), GeomFromEWKT('SRID=4674;POINT (-40.116129 -2.817556)'))) / (select extract(epoch from '2026-07-08 15:08:29'::timestamp) - extract(epoch from '2026-07-08 15:08:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.116014 -2.817505)', '2026-07-08 15:08:38', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116129 -2.817556)'), GeomFromEWKT('SRID=4674;POINT (-40.116014 -2.817505)'))) / (select extract(epoch from '2026-07-08 15:08:38'::timestamp) - extract(epoch from '2026-07-08 15:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116129 -2.817556)'), GeomFromEWKT('SRID=4674;POINT (-40.116014 -2.817505)'))) / (select extract(epoch from '2026-07-08 15:08:38'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.115909 -2.817443)', '2026-07-08 15:08:47', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116014 -2.817505)'), GeomFromEWKT('SRID=4674;POINT (-40.115909 -2.817443)'))) / (select extract(epoch from '2026-07-08 15:08:47'::timestamp) - extract(epoch from '2026-07-08 15:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116014 -2.817505)'), GeomFromEWKT('SRID=4674;POINT (-40.115909 -2.817443)'))) / (select extract(epoch from '2026-07-08 15:08:47'::timestamp) - extract(epoch from '2026-07-08 15:08: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'), 47631, 'SRID=4674;POINT (-40.115797 -2.817395)', '2026-07-08 15:08:56', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115909 -2.817443)'), GeomFromEWKT('SRID=4674;POINT (-40.115797 -2.817395)'))) / (select extract(epoch from '2026-07-08 15:08:56'::timestamp) - extract(epoch from '2026-07-08 15:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115909 -2.817443)'), GeomFromEWKT('SRID=4674;POINT (-40.115797 -2.817395)'))) / (select extract(epoch from '2026-07-08 15:08:56'::timestamp) - extract(epoch from '2026-07-08 15:08: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'), 47631, 'SRID=4674;POINT (-40.115662 -2.817342)', '2026-07-08 15:09:06', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115797 -2.817395)'), GeomFromEWKT('SRID=4674;POINT (-40.115662 -2.817342)'))) / (select extract(epoch from '2026-07-08 15:09:06'::timestamp) - extract(epoch from '2026-07-08 15:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115797 -2.817395)'), GeomFromEWKT('SRID=4674;POINT (-40.115662 -2.817342)'))) / (select extract(epoch from '2026-07-08 15:09:06'::timestamp) - extract(epoch from '2026-07-08 15:08: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'), 47631, 'SRID=4674;POINT (-40.115537 -2.817265)', '2026-07-08 15:09:16', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115662 -2.817342)'), GeomFromEWKT('SRID=4674;POINT (-40.115537 -2.817265)'))) / (select extract(epoch from '2026-07-08 15:09:16'::timestamp) - extract(epoch from '2026-07-08 15:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115662 -2.817342)'), GeomFromEWKT('SRID=4674;POINT (-40.115537 -2.817265)'))) / (select extract(epoch from '2026-07-08 15:09:16'::timestamp) - extract(epoch from '2026-07-08 15:09:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.115369 -2.817173)', '2026-07-08 15:09:30', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115537 -2.817265)'), GeomFromEWKT('SRID=4674;POINT (-40.115369 -2.817173)'))) / (select extract(epoch from '2026-07-08 15:09:30'::timestamp) - extract(epoch from '2026-07-08 15:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115537 -2.817265)'), GeomFromEWKT('SRID=4674;POINT (-40.115369 -2.817173)'))) / (select extract(epoch from '2026-07-08 15:09:30'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.115259 -2.817141)', '2026-07-08 15:09:39', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115369 -2.817173)'), GeomFromEWKT('SRID=4674;POINT (-40.115259 -2.817141)'))) / (select extract(epoch from '2026-07-08 15:09:39'::timestamp) - extract(epoch from '2026-07-08 15:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115369 -2.817173)'), GeomFromEWKT('SRID=4674;POINT (-40.115259 -2.817141)'))) / (select extract(epoch from '2026-07-08 15:09:39'::timestamp) - extract(epoch from '2026-07-08 15:09: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'), 47631, 'SRID=4674;POINT (-40.115139 -2.817117)', '2026-07-08 15:09:48', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115259 -2.817141)'), GeomFromEWKT('SRID=4674;POINT (-40.115139 -2.817117)'))) / (select extract(epoch from '2026-07-08 15:09:48'::timestamp) - extract(epoch from '2026-07-08 15:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115259 -2.817141)'), GeomFromEWKT('SRID=4674;POINT (-40.115139 -2.817117)'))) / (select extract(epoch from '2026-07-08 15:09:48'::timestamp) - extract(epoch from '2026-07-08 15:09: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'), 47631, 'SRID=4674;POINT (-40.11503 -2.817076)', '2026-07-08 15:09:57', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115139 -2.817117)'), GeomFromEWKT('SRID=4674;POINT (-40.11503 -2.817076)'))) / (select extract(epoch from '2026-07-08 15:09:57'::timestamp) - extract(epoch from '2026-07-08 15:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115139 -2.817117)'), GeomFromEWKT('SRID=4674;POINT (-40.11503 -2.817076)'))) / (select extract(epoch from '2026-07-08 15:09:57'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.114877 -2.817048)', '2026-07-08 15:10:08', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11503 -2.817076)'), GeomFromEWKT('SRID=4674;POINT (-40.114877 -2.817048)'))) / (select extract(epoch from '2026-07-08 15:10:08'::timestamp) - extract(epoch from '2026-07-08 15:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11503 -2.817076)'), GeomFromEWKT('SRID=4674;POINT (-40.114877 -2.817048)'))) / (select extract(epoch from '2026-07-08 15:10:08'::timestamp) - extract(epoch from '2026-07-08 15:09: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'), 47631, 'SRID=4674;POINT (-40.114755 -2.817005)', '2026-07-08 15:10:17', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114877 -2.817048)'), GeomFromEWKT('SRID=4674;POINT (-40.114755 -2.817005)'))) / (select extract(epoch from '2026-07-08 15:10:17'::timestamp) - extract(epoch from '2026-07-08 15:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114877 -2.817048)'), GeomFromEWKT('SRID=4674;POINT (-40.114755 -2.817005)'))) / (select extract(epoch from '2026-07-08 15:10:17'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.114674 -2.816961)', '2026-07-08 15:10:24', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114755 -2.817005)'), GeomFromEWKT('SRID=4674;POINT (-40.114674 -2.816961)'))) / (select extract(epoch from '2026-07-08 15:10:24'::timestamp) - extract(epoch from '2026-07-08 15:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114755 -2.817005)'), GeomFromEWKT('SRID=4674;POINT (-40.114674 -2.816961)'))) / (select extract(epoch from '2026-07-08 15:10:24'::timestamp) - extract(epoch from '2026-07-08 15:10: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'), 47631, 'SRID=4674;POINT (-40.114572 -2.816916)', '2026-07-08 15:10:32', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114674 -2.816961)'), GeomFromEWKT('SRID=4674;POINT (-40.114572 -2.816916)'))) / (select extract(epoch from '2026-07-08 15:10:32'::timestamp) - extract(epoch from '2026-07-08 15:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114674 -2.816961)'), GeomFromEWKT('SRID=4674;POINT (-40.114572 -2.816916)'))) / (select extract(epoch from '2026-07-08 15:10:32'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.11445 -2.816887)', '2026-07-08 15:10:41', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114572 -2.816916)'), GeomFromEWKT('SRID=4674;POINT (-40.11445 -2.816887)'))) / (select extract(epoch from '2026-07-08 15:10:41'::timestamp) - extract(epoch from '2026-07-08 15:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114572 -2.816916)'), GeomFromEWKT('SRID=4674;POINT (-40.11445 -2.816887)'))) / (select extract(epoch from '2026-07-08 15:10:41'::timestamp) - extract(epoch from '2026-07-08 15:10: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'), 47631, 'SRID=4674;POINT (-40.114313 -2.816881)', '2026-07-08 15:10:51', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11445 -2.816887)'), GeomFromEWKT('SRID=4674;POINT (-40.114313 -2.816881)'))) / (select extract(epoch from '2026-07-08 15:10:51'::timestamp) - extract(epoch from '2026-07-08 15:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11445 -2.816887)'), GeomFromEWKT('SRID=4674;POINT (-40.114313 -2.816881)'))) / (select extract(epoch from '2026-07-08 15:10:51'::timestamp) - extract(epoch from '2026-07-08 15:10: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'), 47631, 'SRID=4674;POINT (-40.114183 -2.816859)', '2026-07-08 15:11:02', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114313 -2.816881)'), GeomFromEWKT('SRID=4674;POINT (-40.114183 -2.816859)'))) / (select extract(epoch from '2026-07-08 15:11:02'::timestamp) - extract(epoch from '2026-07-08 15:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114313 -2.816881)'), GeomFromEWKT('SRID=4674;POINT (-40.114183 -2.816859)'))) / (select extract(epoch from '2026-07-08 15:11:02'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.114057 -2.816826)', '2026-07-08 15:11:12', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114183 -2.816859)'), GeomFromEWKT('SRID=4674;POINT (-40.114057 -2.816826)'))) / (select extract(epoch from '2026-07-08 15:11:12'::timestamp) - extract(epoch from '2026-07-08 15:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114183 -2.816859)'), GeomFromEWKT('SRID=4674;POINT (-40.114057 -2.816826)'))) / (select extract(epoch from '2026-07-08 15:11:12'::timestamp) - extract(epoch from '2026-07-08 15:11: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'), 47631, 'SRID=4674;POINT (-40.113946 -2.816797)', '2026-07-08 15:11:20', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114057 -2.816826)'), GeomFromEWKT('SRID=4674;POINT (-40.113946 -2.816797)'))) / (select extract(epoch from '2026-07-08 15:11:20'::timestamp) - extract(epoch from '2026-07-08 15:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114057 -2.816826)'), GeomFromEWKT('SRID=4674;POINT (-40.113946 -2.816797)'))) / (select extract(epoch from '2026-07-08 15:11:20'::timestamp) - extract(epoch from '2026-07-08 15:11:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113821 -2.816789)', '2026-07-08 15:11:29', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113946 -2.816797)'), GeomFromEWKT('SRID=4674;POINT (-40.113821 -2.816789)'))) / (select extract(epoch from '2026-07-08 15:11:29'::timestamp) - extract(epoch from '2026-07-08 15:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113946 -2.816797)'), GeomFromEWKT('SRID=4674;POINT (-40.113821 -2.816789)'))) / (select extract(epoch from '2026-07-08 15:11:29'::timestamp) - extract(epoch from '2026-07-08 15:11:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113707 -2.816802)', '2026-07-08 15:11:38', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113821 -2.816789)'), GeomFromEWKT('SRID=4674;POINT (-40.113707 -2.816802)'))) / (select extract(epoch from '2026-07-08 15:11:38'::timestamp) - extract(epoch from '2026-07-08 15:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113821 -2.816789)'), GeomFromEWKT('SRID=4674;POINT (-40.113707 -2.816802)'))) / (select extract(epoch from '2026-07-08 15:11:38'::timestamp) - extract(epoch from '2026-07-08 15:11: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'), 47631, 'SRID=4674;POINT (-40.113585 -2.816785)', '2026-07-08 15:11:47', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113707 -2.816802)'), GeomFromEWKT('SRID=4674;POINT (-40.113585 -2.816785)'))) / (select extract(epoch from '2026-07-08 15:11:47'::timestamp) - extract(epoch from '2026-07-08 15:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113707 -2.816802)'), GeomFromEWKT('SRID=4674;POINT (-40.113585 -2.816785)'))) / (select extract(epoch from '2026-07-08 15:11:47'::timestamp) - extract(epoch from '2026-07-08 15:11: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'), 47631, 'SRID=4674;POINT (-40.113472 -2.816783)', '2026-07-08 15:11:55', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113585 -2.816785)'), GeomFromEWKT('SRID=4674;POINT (-40.113472 -2.816783)'))) / (select extract(epoch from '2026-07-08 15:11:55'::timestamp) - extract(epoch from '2026-07-08 15:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113585 -2.816785)'), GeomFromEWKT('SRID=4674;POINT (-40.113472 -2.816783)'))) / (select extract(epoch from '2026-07-08 15:11:55'::timestamp) - extract(epoch from '2026-07-08 15:11: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'), 47631, 'SRID=4674;POINT (-40.113356 -2.816783)', '2026-07-08 15:12:03', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113472 -2.816783)'), GeomFromEWKT('SRID=4674;POINT (-40.113356 -2.816783)'))) / (select extract(epoch from '2026-07-08 15:12:03'::timestamp) - extract(epoch from '2026-07-08 15:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113472 -2.816783)'), GeomFromEWKT('SRID=4674;POINT (-40.113356 -2.816783)'))) / (select extract(epoch from '2026-07-08 15:12:03'::timestamp) - extract(epoch from '2026-07-08 15:11:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113246 -2.816774)', '2026-07-08 15:12:12', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113356 -2.816783)'), GeomFromEWKT('SRID=4674;POINT (-40.113246 -2.816774)'))) / (select extract(epoch from '2026-07-08 15:12:12'::timestamp) - extract(epoch from '2026-07-08 15:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113356 -2.816783)'), GeomFromEWKT('SRID=4674;POINT (-40.113246 -2.816774)'))) / (select extract(epoch from '2026-07-08 15:12:12'::timestamp) - extract(epoch from '2026-07-08 15:12: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'), 47631, 'SRID=4674;POINT (-40.113164 -2.81678)', '2026-07-08 15:12:20', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113246 -2.816774)'), GeomFromEWKT('SRID=4674;POINT (-40.113164 -2.81678)'))) / (select extract(epoch from '2026-07-08 15:12:20'::timestamp) - extract(epoch from '2026-07-08 15:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113246 -2.816774)'), GeomFromEWKT('SRID=4674;POINT (-40.113164 -2.81678)'))) / (select extract(epoch from '2026-07-08 15:12:20'::timestamp) - extract(epoch from '2026-07-08 15:12: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'), 47631, 'SRID=4674;POINT (-40.113044 -2.816783)', '2026-07-08 15:12:29', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113164 -2.81678)'), GeomFromEWKT('SRID=4674;POINT (-40.113044 -2.816783)'))) / (select extract(epoch from '2026-07-08 15:12:29'::timestamp) - extract(epoch from '2026-07-08 15:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113164 -2.81678)'), GeomFromEWKT('SRID=4674;POINT (-40.113044 -2.816783)'))) / (select extract(epoch from '2026-07-08 15:12:29'::timestamp) - extract(epoch from '2026-07-08 15:12: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'), 47631, 'SRID=4674;POINT (-40.11294 -2.816775)', '2026-07-08 15:12:37', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113044 -2.816783)'), GeomFromEWKT('SRID=4674;POINT (-40.11294 -2.816775)'))) / (select extract(epoch from '2026-07-08 15:12:37'::timestamp) - extract(epoch from '2026-07-08 15:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113044 -2.816783)'), GeomFromEWKT('SRID=4674;POINT (-40.11294 -2.816775)'))) / (select extract(epoch from '2026-07-08 15:12:37'::timestamp) - extract(epoch from '2026-07-08 15:12: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'), 47631, 'SRID=4674;POINT (-40.112827 -2.81676)', '2026-07-08 15:12:46', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11294 -2.816775)'), GeomFromEWKT('SRID=4674;POINT (-40.112827 -2.81676)'))) / (select extract(epoch from '2026-07-08 15:12:46'::timestamp) - extract(epoch from '2026-07-08 15:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11294 -2.816775)'), GeomFromEWKT('SRID=4674;POINT (-40.112827 -2.81676)'))) / (select extract(epoch from '2026-07-08 15:12:46'::timestamp) - extract(epoch from '2026-07-08 15:12: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'), 47631, 'SRID=4674;POINT (-40.112696 -2.816769)', '2026-07-08 15:12:56', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112827 -2.81676)'), GeomFromEWKT('SRID=4674;POINT (-40.112696 -2.816769)'))) / (select extract(epoch from '2026-07-08 15:12:56'::timestamp) - extract(epoch from '2026-07-08 15:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112827 -2.81676)'), GeomFromEWKT('SRID=4674;POINT (-40.112696 -2.816769)'))) / (select extract(epoch from '2026-07-08 15:12:56'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.112579 -2.816779)', '2026-07-08 15:13:05', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112696 -2.816769)'), GeomFromEWKT('SRID=4674;POINT (-40.112579 -2.816779)'))) / (select extract(epoch from '2026-07-08 15:13:05'::timestamp) - extract(epoch from '2026-07-08 15:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112696 -2.816769)'), GeomFromEWKT('SRID=4674;POINT (-40.112579 -2.816779)'))) / (select extract(epoch from '2026-07-08 15:13:05'::timestamp) - extract(epoch from '2026-07-08 15:12: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'), 47631, 'SRID=4674;POINT (-40.11245 -2.816766)', '2026-07-08 15:13:14', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112579 -2.816779)'), GeomFromEWKT('SRID=4674;POINT (-40.11245 -2.816766)'))) / (select extract(epoch from '2026-07-08 15:13:14'::timestamp) - extract(epoch from '2026-07-08 15:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112579 -2.816779)'), GeomFromEWKT('SRID=4674;POINT (-40.11245 -2.816766)'))) / (select extract(epoch from '2026-07-08 15:13:14'::timestamp) - extract(epoch from '2026-07-08 15:13:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112362 -2.816776)', '2026-07-08 15:13:21', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11245 -2.816766)'), GeomFromEWKT('SRID=4674;POINT (-40.112362 -2.816776)'))) / (select extract(epoch from '2026-07-08 15:13:21'::timestamp) - extract(epoch from '2026-07-08 15:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11245 -2.816766)'), GeomFromEWKT('SRID=4674;POINT (-40.112362 -2.816776)'))) / (select extract(epoch from '2026-07-08 15:13:21'::timestamp) - extract(epoch from '2026-07-08 15:13:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112274 -2.816768)', '2026-07-08 15:13:30', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112362 -2.816776)'), GeomFromEWKT('SRID=4674;POINT (-40.112274 -2.816768)'))) / (select extract(epoch from '2026-07-08 15:13:30'::timestamp) - extract(epoch from '2026-07-08 15:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112362 -2.816776)'), GeomFromEWKT('SRID=4674;POINT (-40.112274 -2.816768)'))) / (select extract(epoch from '2026-07-08 15:13:30'::timestamp) - extract(epoch from '2026-07-08 15:13:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112184 -2.816724)', '2026-07-08 15:13:39', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112274 -2.816768)'), GeomFromEWKT('SRID=4674;POINT (-40.112184 -2.816724)'))) / (select extract(epoch from '2026-07-08 15:13:39'::timestamp) - extract(epoch from '2026-07-08 15:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112274 -2.816768)'), GeomFromEWKT('SRID=4674;POINT (-40.112184 -2.816724)'))) / (select extract(epoch from '2026-07-08 15:13:39'::timestamp) - extract(epoch from '2026-07-08 15:13: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'), 47631, 'SRID=4674;POINT (-40.112065 -2.816699)', '2026-07-08 15:13:49', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112184 -2.816724)'), GeomFromEWKT('SRID=4674;POINT (-40.112065 -2.816699)'))) / (select extract(epoch from '2026-07-08 15:13:49'::timestamp) - extract(epoch from '2026-07-08 15:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112184 -2.816724)'), GeomFromEWKT('SRID=4674;POINT (-40.112065 -2.816699)'))) / (select extract(epoch from '2026-07-08 15:13:49'::timestamp) - extract(epoch from '2026-07-08 15:13: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'), 47631, 'SRID=4674;POINT (-40.111987 -2.816688)', '2026-07-08 15:13:57', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112065 -2.816699)'), GeomFromEWKT('SRID=4674;POINT (-40.111987 -2.816688)'))) / (select extract(epoch from '2026-07-08 15:13:57'::timestamp) - extract(epoch from '2026-07-08 15:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112065 -2.816699)'), GeomFromEWKT('SRID=4674;POINT (-40.111987 -2.816688)'))) / (select extract(epoch from '2026-07-08 15:13:57'::timestamp) - extract(epoch from '2026-07-08 15:13:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111897 -2.81666)', '2026-07-08 15:14:05', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111987 -2.816688)'), GeomFromEWKT('SRID=4674;POINT (-40.111897 -2.81666)'))) / (select extract(epoch from '2026-07-08 15:14:05'::timestamp) - extract(epoch from '2026-07-08 15:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111987 -2.816688)'), GeomFromEWKT('SRID=4674;POINT (-40.111897 -2.81666)'))) / (select extract(epoch from '2026-07-08 15:14:05'::timestamp) - extract(epoch from '2026-07-08 15:13: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'), 47631, 'SRID=4674;POINT (-40.111813 -2.816646)', '2026-07-08 15:14:13', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111897 -2.81666)'), GeomFromEWKT('SRID=4674;POINT (-40.111813 -2.816646)'))) / (select extract(epoch from '2026-07-08 15:14:13'::timestamp) - extract(epoch from '2026-07-08 15:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111897 -2.81666)'), GeomFromEWKT('SRID=4674;POINT (-40.111813 -2.816646)'))) / (select extract(epoch from '2026-07-08 15:14:13'::timestamp) - extract(epoch from '2026-07-08 15:14:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11175 -2.816626)', '2026-07-08 15:14:20', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111813 -2.816646)'), GeomFromEWKT('SRID=4674;POINT (-40.11175 -2.816626)'))) / (select extract(epoch from '2026-07-08 15:14:20'::timestamp) - extract(epoch from '2026-07-08 15:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111813 -2.816646)'), GeomFromEWKT('SRID=4674;POINT (-40.11175 -2.816626)'))) / (select extract(epoch from '2026-07-08 15:14:20'::timestamp) - extract(epoch from '2026-07-08 15:14: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'), 47631, 'SRID=4674;POINT (-40.111741 -2.816623)', '2026-07-08 15:14:21', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11175 -2.816626)'), GeomFromEWKT('SRID=4674;POINT (-40.111741 -2.816623)'))) / (select extract(epoch from '2026-07-08 15:14:21'::timestamp) - extract(epoch from '2026-07-08 15:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11175 -2.816626)'), GeomFromEWKT('SRID=4674;POINT (-40.111741 -2.816623)'))) / (select extract(epoch from '2026-07-08 15:14:21'::timestamp) - extract(epoch from '2026-07-08 15:14:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111678 -2.816593)', '2026-07-08 15:14:29', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111741 -2.816623)'), GeomFromEWKT('SRID=4674;POINT (-40.111678 -2.816593)'))) / (select extract(epoch from '2026-07-08 15:14:29'::timestamp) - extract(epoch from '2026-07-08 15:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111741 -2.816623)'), GeomFromEWKT('SRID=4674;POINT (-40.111678 -2.816593)'))) / (select extract(epoch from '2026-07-08 15:14:29'::timestamp) - extract(epoch from '2026-07-08 15:14: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'), 47631, 'SRID=4674;POINT (-40.111618 -2.81657)', '2026-07-08 15:14:37', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111678 -2.816593)'), GeomFromEWKT('SRID=4674;POINT (-40.111618 -2.81657)'))) / (select extract(epoch from '2026-07-08 15:14:37'::timestamp) - extract(epoch from '2026-07-08 15:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111678 -2.816593)'), GeomFromEWKT('SRID=4674;POINT (-40.111618 -2.81657)'))) / (select extract(epoch from '2026-07-08 15:14:37'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.111507 -2.816545)', '2026-07-08 15:14:49', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111618 -2.81657)'), GeomFromEWKT('SRID=4674;POINT (-40.111507 -2.816545)'))) / (select extract(epoch from '2026-07-08 15:14:49'::timestamp) - extract(epoch from '2026-07-08 15:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111618 -2.81657)'), GeomFromEWKT('SRID=4674;POINT (-40.111507 -2.816545)'))) / (select extract(epoch from '2026-07-08 15:14:49'::timestamp) - extract(epoch from '2026-07-08 15:14: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'), 47631, 'SRID=4674;POINT (-40.111394 -2.816476)', '2026-07-08 15:15:00', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111507 -2.816545)'), GeomFromEWKT('SRID=4674;POINT (-40.111394 -2.816476)'))) / (select extract(epoch from '2026-07-08 15:15:00'::timestamp) - extract(epoch from '2026-07-08 15:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111507 -2.816545)'), GeomFromEWKT('SRID=4674;POINT (-40.111394 -2.816476)'))) / (select extract(epoch from '2026-07-08 15:15:00'::timestamp) - extract(epoch from '2026-07-08 15:14:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111309 -2.816416)', '2026-07-08 15:15:08', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111394 -2.816476)'), GeomFromEWKT('SRID=4674;POINT (-40.111309 -2.816416)'))) / (select extract(epoch from '2026-07-08 15:15:08'::timestamp) - extract(epoch from '2026-07-08 15:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111394 -2.816476)'), GeomFromEWKT('SRID=4674;POINT (-40.111309 -2.816416)'))) / (select extract(epoch from '2026-07-08 15:15:08'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.111195 -2.816375)', '2026-07-08 15:15:18', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111309 -2.816416)'), GeomFromEWKT('SRID=4674;POINT (-40.111195 -2.816375)'))) / (select extract(epoch from '2026-07-08 15:15:18'::timestamp) - extract(epoch from '2026-07-08 15:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111309 -2.816416)'), GeomFromEWKT('SRID=4674;POINT (-40.111195 -2.816375)'))) / (select extract(epoch from '2026-07-08 15:15:18'::timestamp) - extract(epoch from '2026-07-08 15:15:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111105 -2.816348)', '2026-07-08 15:15:25', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111195 -2.816375)'), GeomFromEWKT('SRID=4674;POINT (-40.111105 -2.816348)'))) / (select extract(epoch from '2026-07-08 15:15:25'::timestamp) - extract(epoch from '2026-07-08 15:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111195 -2.816375)'), GeomFromEWKT('SRID=4674;POINT (-40.111105 -2.816348)'))) / (select extract(epoch from '2026-07-08 15:15:25'::timestamp) - extract(epoch from '2026-07-08 15:15:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11099 -2.816342)', '2026-07-08 15:15:33', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111105 -2.816348)'), GeomFromEWKT('SRID=4674;POINT (-40.11099 -2.816342)'))) / (select extract(epoch from '2026-07-08 15:15:33'::timestamp) - extract(epoch from '2026-07-08 15:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111105 -2.816348)'), GeomFromEWKT('SRID=4674;POINT (-40.11099 -2.816342)'))) / (select extract(epoch from '2026-07-08 15:15:33'::timestamp) - extract(epoch from '2026-07-08 15:15: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'), 47631, 'SRID=4674;POINT (-40.110838 -2.816325)', '2026-07-08 15:15:43', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11099 -2.816342)'), GeomFromEWKT('SRID=4674;POINT (-40.110838 -2.816325)'))) / (select extract(epoch from '2026-07-08 15:15:43'::timestamp) - extract(epoch from '2026-07-08 15:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11099 -2.816342)'), GeomFromEWKT('SRID=4674;POINT (-40.110838 -2.816325)'))) / (select extract(epoch from '2026-07-08 15:15:43'::timestamp) - extract(epoch from '2026-07-08 15:15:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.110698 -2.816296)', '2026-07-08 15:15:53', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110838 -2.816325)'), GeomFromEWKT('SRID=4674;POINT (-40.110698 -2.816296)'))) / (select extract(epoch from '2026-07-08 15:15:53'::timestamp) - extract(epoch from '2026-07-08 15:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110838 -2.816325)'), GeomFromEWKT('SRID=4674;POINT (-40.110698 -2.816296)'))) / (select extract(epoch from '2026-07-08 15:15:53'::timestamp) - extract(epoch from '2026-07-08 15:15: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'), 47631, 'SRID=4674;POINT (-40.110611 -2.81629)', '2026-07-08 15:15:59', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110698 -2.816296)'), GeomFromEWKT('SRID=4674;POINT (-40.110611 -2.81629)'))) / (select extract(epoch from '2026-07-08 15:15:59'::timestamp) - extract(epoch from '2026-07-08 15:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110698 -2.816296)'), GeomFromEWKT('SRID=4674;POINT (-40.110611 -2.81629)'))) / (select extract(epoch from '2026-07-08 15:15:59'::timestamp) - extract(epoch from '2026-07-08 15:15:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.110493 -2.816265)', '2026-07-08 15:16:08', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110611 -2.81629)'), GeomFromEWKT('SRID=4674;POINT (-40.110493 -2.816265)'))) / (select extract(epoch from '2026-07-08 15:16:08'::timestamp) - extract(epoch from '2026-07-08 15:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110611 -2.81629)'), GeomFromEWKT('SRID=4674;POINT (-40.110493 -2.816265)'))) / (select extract(epoch from '2026-07-08 15:16:08'::timestamp) - extract(epoch from '2026-07-08 15:15: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'), 47631, 'SRID=4674;POINT (-40.110404 -2.816229)', '2026-07-08 15:16:16', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110493 -2.816265)'), GeomFromEWKT('SRID=4674;POINT (-40.110404 -2.816229)'))) / (select extract(epoch from '2026-07-08 15:16:16'::timestamp) - extract(epoch from '2026-07-08 15:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110493 -2.816265)'), GeomFromEWKT('SRID=4674;POINT (-40.110404 -2.816229)'))) / (select extract(epoch from '2026-07-08 15:16:16'::timestamp) - extract(epoch from '2026-07-08 15:16: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'), 47631, 'SRID=4674;POINT (-40.11029 -2.816198)', '2026-07-08 15:16:26', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110404 -2.816229)'), GeomFromEWKT('SRID=4674;POINT (-40.11029 -2.816198)'))) / (select extract(epoch from '2026-07-08 15:16:26'::timestamp) - extract(epoch from '2026-07-08 15:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110404 -2.816229)'), GeomFromEWKT('SRID=4674;POINT (-40.11029 -2.816198)'))) / (select extract(epoch from '2026-07-08 15:16:26'::timestamp) - extract(epoch from '2026-07-08 15:16: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'), 47631, 'SRID=4674;POINT (-40.110199 -2.816147)', '2026-07-08 15:16:34', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11029 -2.816198)'), GeomFromEWKT('SRID=4674;POINT (-40.110199 -2.816147)'))) / (select extract(epoch from '2026-07-08 15:16:34'::timestamp) - extract(epoch from '2026-07-08 15:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11029 -2.816198)'), GeomFromEWKT('SRID=4674;POINT (-40.110199 -2.816147)'))) / (select extract(epoch from '2026-07-08 15:16:34'::timestamp) - extract(epoch from '2026-07-08 15:16:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.1101 -2.8161)', '2026-07-08 15:16:43', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110199 -2.816147)'), GeomFromEWKT('SRID=4674;POINT (-40.1101 -2.8161)'))) / (select extract(epoch from '2026-07-08 15:16:43'::timestamp) - extract(epoch from '2026-07-08 15:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110199 -2.816147)'), GeomFromEWKT('SRID=4674;POINT (-40.1101 -2.8161)'))) / (select extract(epoch from '2026-07-08 15:16:43'::timestamp) - extract(epoch from '2026-07-08 15:16:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.109997 -2.816052)', '2026-07-08 15:16:53', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1101 -2.8161)'), GeomFromEWKT('SRID=4674;POINT (-40.109997 -2.816052)'))) / (select extract(epoch from '2026-07-08 15:16:53'::timestamp) - extract(epoch from '2026-07-08 15:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1101 -2.8161)'), GeomFromEWKT('SRID=4674;POINT (-40.109997 -2.816052)'))) / (select extract(epoch from '2026-07-08 15:16:53'::timestamp) - extract(epoch from '2026-07-08 15:16:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.109884 -2.816032)', '2026-07-08 15:17:04', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109997 -2.816052)'), GeomFromEWKT('SRID=4674;POINT (-40.109884 -2.816032)'))) / (select extract(epoch from '2026-07-08 15:17:04'::timestamp) - extract(epoch from '2026-07-08 15:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109997 -2.816052)'), GeomFromEWKT('SRID=4674;POINT (-40.109884 -2.816032)'))) / (select extract(epoch from '2026-07-08 15:17:04'::timestamp) - extract(epoch from '2026-07-08 15:16: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'), 47631, 'SRID=4674;POINT (-40.1098 -2.81603)', '2026-07-08 15:17:11', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109884 -2.816032)'), GeomFromEWKT('SRID=4674;POINT (-40.1098 -2.81603)'))) / (select extract(epoch from '2026-07-08 15:17:11'::timestamp) - extract(epoch from '2026-07-08 15:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109884 -2.816032)'), GeomFromEWKT('SRID=4674;POINT (-40.1098 -2.81603)'))) / (select extract(epoch from '2026-07-08 15:17:11'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.109683 -2.816014)', '2026-07-08 15:17:21', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1098 -2.81603)'), GeomFromEWKT('SRID=4674;POINT (-40.109683 -2.816014)'))) / (select extract(epoch from '2026-07-08 15:17:21'::timestamp) - extract(epoch from '2026-07-08 15:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1098 -2.81603)'), GeomFromEWKT('SRID=4674;POINT (-40.109683 -2.816014)'))) / (select extract(epoch from '2026-07-08 15:17:21'::timestamp) - extract(epoch from '2026-07-08 15:17:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.10959 -2.816)', '2026-07-08 15:17:30', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109683 -2.816014)'), GeomFromEWKT('SRID=4674;POINT (-40.10959 -2.816)'))) / (select extract(epoch from '2026-07-08 15:17:30'::timestamp) - extract(epoch from '2026-07-08 15:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109683 -2.816014)'), GeomFromEWKT('SRID=4674;POINT (-40.10959 -2.816)'))) / (select extract(epoch from '2026-07-08 15:17:30'::timestamp) - extract(epoch from '2026-07-08 15:17: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'), 47631, 'SRID=4674;POINT (-40.10951 -2.815998)', '2026-07-08 15:17:37', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10959 -2.816)'), GeomFromEWKT('SRID=4674;POINT (-40.10951 -2.815998)'))) / (select extract(epoch from '2026-07-08 15:17:37'::timestamp) - extract(epoch from '2026-07-08 15:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10959 -2.816)'), GeomFromEWKT('SRID=4674;POINT (-40.10951 -2.815998)'))) / (select extract(epoch from '2026-07-08 15:17:37'::timestamp) - extract(epoch from '2026-07-08 15:17: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'), 47631, 'SRID=4674;POINT (-40.109421 -2.81597)', '2026-07-08 15:17:46', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10951 -2.815998)'), GeomFromEWKT('SRID=4674;POINT (-40.109421 -2.81597)'))) / (select extract(epoch from '2026-07-08 15:17:46'::timestamp) - extract(epoch from '2026-07-08 15:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10951 -2.815998)'), GeomFromEWKT('SRID=4674;POINT (-40.109421 -2.81597)'))) / (select extract(epoch from '2026-07-08 15:17:46'::timestamp) - extract(epoch from '2026-07-08 15:17: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'), 47631, 'SRID=4674;POINT (-40.109307 -2.815915)', '2026-07-08 15:17:56', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109421 -2.81597)'), GeomFromEWKT('SRID=4674;POINT (-40.109307 -2.815915)'))) / (select extract(epoch from '2026-07-08 15:17:56'::timestamp) - extract(epoch from '2026-07-08 15:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109421 -2.81597)'), GeomFromEWKT('SRID=4674;POINT (-40.109307 -2.815915)'))) / (select extract(epoch from '2026-07-08 15:17:56'::timestamp) - extract(epoch from '2026-07-08 15:17:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.10922 -2.815889)', '2026-07-08 15:18:04', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109307 -2.815915)'), GeomFromEWKT('SRID=4674;POINT (-40.10922 -2.815889)'))) / (select extract(epoch from '2026-07-08 15:18:04'::timestamp) - extract(epoch from '2026-07-08 15:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109307 -2.815915)'), GeomFromEWKT('SRID=4674;POINT (-40.10922 -2.815889)'))) / (select extract(epoch from '2026-07-08 15:18:04'::timestamp) - extract(epoch from '2026-07-08 15:17:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.10911 -2.815876)', '2026-07-08 15:18:14', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10922 -2.815889)'), GeomFromEWKT('SRID=4674;POINT (-40.10911 -2.815876)'))) / (select extract(epoch from '2026-07-08 15:18:14'::timestamp) - extract(epoch from '2026-07-08 15:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10922 -2.815889)'), GeomFromEWKT('SRID=4674;POINT (-40.10911 -2.815876)'))) / (select extract(epoch from '2026-07-08 15:18:14'::timestamp) - extract(epoch from '2026-07-08 15:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.109026 -2.815879)', '2026-07-08 15:18:22', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10911 -2.815876)'), GeomFromEWKT('SRID=4674;POINT (-40.109026 -2.815879)'))) / (select extract(epoch from '2026-07-08 15:18:22'::timestamp) - extract(epoch from '2026-07-08 15:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10911 -2.815876)'), GeomFromEWKT('SRID=4674;POINT (-40.109026 -2.815879)'))) / (select extract(epoch from '2026-07-08 15:18:22'::timestamp) - extract(epoch from '2026-07-08 15:18:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.108933 -2.815882)', '2026-07-08 15:18:31', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109026 -2.815879)'), GeomFromEWKT('SRID=4674;POINT (-40.108933 -2.815882)'))) / (select extract(epoch from '2026-07-08 15:18:31'::timestamp) - extract(epoch from '2026-07-08 15:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109026 -2.815879)'), GeomFromEWKT('SRID=4674;POINT (-40.108933 -2.815882)'))) / (select extract(epoch from '2026-07-08 15:18:31'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.108855 -2.815876)', '2026-07-08 15:18:40', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108933 -2.815882)'), GeomFromEWKT('SRID=4674;POINT (-40.108855 -2.815876)'))) / (select extract(epoch from '2026-07-08 15:18:40'::timestamp) - extract(epoch from '2026-07-08 15:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108933 -2.815882)'), GeomFromEWKT('SRID=4674;POINT (-40.108855 -2.815876)'))) / (select extract(epoch from '2026-07-08 15:18:40'::timestamp) - extract(epoch from '2026-07-08 15:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.108757 -2.815885)', '2026-07-08 15:18:49', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108855 -2.815876)'), GeomFromEWKT('SRID=4674;POINT (-40.108757 -2.815885)'))) / (select extract(epoch from '2026-07-08 15:18:49'::timestamp) - extract(epoch from '2026-07-08 15:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108855 -2.815876)'), GeomFromEWKT('SRID=4674;POINT (-40.108757 -2.815885)'))) / (select extract(epoch from '2026-07-08 15:18:49'::timestamp) - extract(epoch from '2026-07-08 15:18: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'), 47631, 'SRID=4674;POINT (-40.10868 -2.815889)', '2026-07-08 15:18:57', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108757 -2.815885)'), GeomFromEWKT('SRID=4674;POINT (-40.10868 -2.815889)'))) / (select extract(epoch from '2026-07-08 15:18:57'::timestamp) - extract(epoch from '2026-07-08 15:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108757 -2.815885)'), GeomFromEWKT('SRID=4674;POINT (-40.10868 -2.815889)'))) / (select extract(epoch from '2026-07-08 15:18:57'::timestamp) - extract(epoch from '2026-07-08 15:18: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'), 47631, 'SRID=4674;POINT (-40.108593 -2.815899)', '2026-07-08 15:19:05', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10868 -2.815889)'), GeomFromEWKT('SRID=4674;POINT (-40.108593 -2.815899)'))) / (select extract(epoch from '2026-07-08 15:19:05'::timestamp) - extract(epoch from '2026-07-08 15:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10868 -2.815889)'), GeomFromEWKT('SRID=4674;POINT (-40.108593 -2.815899)'))) / (select extract(epoch from '2026-07-08 15:19:05'::timestamp) - extract(epoch from '2026-07-08 15:18: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'), 47631, 'SRID=4674;POINT (-40.108516 -2.815915)', '2026-07-08 15:19:13', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108593 -2.815899)'), GeomFromEWKT('SRID=4674;POINT (-40.108516 -2.815915)'))) / (select extract(epoch from '2026-07-08 15:19:13'::timestamp) - extract(epoch from '2026-07-08 15:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108593 -2.815899)'), GeomFromEWKT('SRID=4674;POINT (-40.108516 -2.815915)'))) / (select extract(epoch from '2026-07-08 15:19:13'::timestamp) - extract(epoch from '2026-07-08 15:19: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'), 47631, 'SRID=4674;POINT (-40.108452 -2.815921)', '2026-07-08 15:19:21', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108516 -2.815915)'), GeomFromEWKT('SRID=4674;POINT (-40.108452 -2.815921)'))) / (select extract(epoch from '2026-07-08 15:19:21'::timestamp) - extract(epoch from '2026-07-08 15:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108516 -2.815915)'), GeomFromEWKT('SRID=4674;POINT (-40.108452 -2.815921)'))) / (select extract(epoch from '2026-07-08 15:19:21'::timestamp) - extract(epoch from '2026-07-08 15:19:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.108356 -2.815921)', '2026-07-08 15:19:30', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108452 -2.815921)'), GeomFromEWKT('SRID=4674;POINT (-40.108356 -2.815921)'))) / (select extract(epoch from '2026-07-08 15:19:30'::timestamp) - extract(epoch from '2026-07-08 15:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108452 -2.815921)'), GeomFromEWKT('SRID=4674;POINT (-40.108356 -2.815921)'))) / (select extract(epoch from '2026-07-08 15:19:30'::timestamp) - extract(epoch from '2026-07-08 15:19: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'), 47631, 'SRID=4674;POINT (-40.108229 -2.815901)', '2026-07-08 15:19:40', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108356 -2.815921)'), GeomFromEWKT('SRID=4674;POINT (-40.108229 -2.815901)'))) / (select extract(epoch from '2026-07-08 15:19:40'::timestamp) - extract(epoch from '2026-07-08 15:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108356 -2.815921)'), GeomFromEWKT('SRID=4674;POINT (-40.108229 -2.815901)'))) / (select extract(epoch from '2026-07-08 15:19:40'::timestamp) - extract(epoch from '2026-07-08 15:19: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'), 47631, 'SRID=4674;POINT (-40.108143 -2.815907)', '2026-07-08 15:19:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108229 -2.815901)'), GeomFromEWKT('SRID=4674;POINT (-40.108143 -2.815907)'))) / (select extract(epoch from '2026-07-08 15:19:48'::timestamp) - extract(epoch from '2026-07-08 15:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108229 -2.815901)'), GeomFromEWKT('SRID=4674;POINT (-40.108143 -2.815907)'))) / (select extract(epoch from '2026-07-08 15:19:48'::timestamp) - extract(epoch from '2026-07-08 15:19:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.108045 -2.815913)', '2026-07-08 15:19:58', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108143 -2.815907)'), GeomFromEWKT('SRID=4674;POINT (-40.108045 -2.815913)'))) / (select extract(epoch from '2026-07-08 15:19:58'::timestamp) - extract(epoch from '2026-07-08 15:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108143 -2.815907)'), GeomFromEWKT('SRID=4674;POINT (-40.108045 -2.815913)'))) / (select extract(epoch from '2026-07-08 15:19:58'::timestamp) - extract(epoch from '2026-07-08 15:19:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.107982 -2.815952)', '2026-07-08 15:20:05', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108045 -2.815913)'), GeomFromEWKT('SRID=4674;POINT (-40.107982 -2.815952)'))) / (select extract(epoch from '2026-07-08 15:20:05'::timestamp) - extract(epoch from '2026-07-08 15:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108045 -2.815913)'), GeomFromEWKT('SRID=4674;POINT (-40.107982 -2.815952)'))) / (select extract(epoch from '2026-07-08 15:20:05'::timestamp) - extract(epoch from '2026-07-08 15:19: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'), 47631, 'SRID=4674;POINT (-40.107909 -2.816027)', '2026-07-08 15:20:13', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107982 -2.815952)'), GeomFromEWKT('SRID=4674;POINT (-40.107909 -2.816027)'))) / (select extract(epoch from '2026-07-08 15:20:13'::timestamp) - extract(epoch from '2026-07-08 15:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107982 -2.815952)'), GeomFromEWKT('SRID=4674;POINT (-40.107909 -2.816027)'))) / (select extract(epoch from '2026-07-08 15:20:13'::timestamp) - extract(epoch from '2026-07-08 15:20: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'), 47631, 'SRID=4674;POINT (-40.107848 -2.816093)', '2026-07-08 15:20:21', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107909 -2.816027)'), GeomFromEWKT('SRID=4674;POINT (-40.107848 -2.816093)'))) / (select extract(epoch from '2026-07-08 15:20:21'::timestamp) - extract(epoch from '2026-07-08 15:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107909 -2.816027)'), GeomFromEWKT('SRID=4674;POINT (-40.107848 -2.816093)'))) / (select extract(epoch from '2026-07-08 15:20:21'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.107722 -2.816134)', '2026-07-08 15:20:30', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107848 -2.816093)'), GeomFromEWKT('SRID=4674;POINT (-40.107722 -2.816134)'))) / (select extract(epoch from '2026-07-08 15:20:30'::timestamp) - extract(epoch from '2026-07-08 15:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107848 -2.816093)'), GeomFromEWKT('SRID=4674;POINT (-40.107722 -2.816134)'))) / (select extract(epoch from '2026-07-08 15:20:30'::timestamp) - extract(epoch from '2026-07-08 15:20: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'), 47631, 'SRID=4674;POINT (-40.107641 -2.816181)', '2026-07-08 15:20:37', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107722 -2.816134)'), GeomFromEWKT('SRID=4674;POINT (-40.107641 -2.816181)'))) / (select extract(epoch from '2026-07-08 15:20:37'::timestamp) - extract(epoch from '2026-07-08 15:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107722 -2.816134)'), GeomFromEWKT('SRID=4674;POINT (-40.107641 -2.816181)'))) / (select extract(epoch from '2026-07-08 15:20:37'::timestamp) - extract(epoch from '2026-07-08 15:20:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.107545 -2.816235)', '2026-07-08 15:20:45', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107641 -2.816181)'), GeomFromEWKT('SRID=4674;POINT (-40.107545 -2.816235)'))) / (select extract(epoch from '2026-07-08 15:20:45'::timestamp) - extract(epoch from '2026-07-08 15:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107641 -2.816181)'), GeomFromEWKT('SRID=4674;POINT (-40.107545 -2.816235)'))) / (select extract(epoch from '2026-07-08 15:20:45'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.107451 -2.816323)', '2026-07-08 15:20:55', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107545 -2.816235)'), GeomFromEWKT('SRID=4674;POINT (-40.107451 -2.816323)'))) / (select extract(epoch from '2026-07-08 15:20:55'::timestamp) - extract(epoch from '2026-07-08 15:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107545 -2.816235)'), GeomFromEWKT('SRID=4674;POINT (-40.107451 -2.816323)'))) / (select extract(epoch from '2026-07-08 15:20:55'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.10737 -2.816398)', '2026-07-08 15:21:03', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107451 -2.816323)'), GeomFromEWKT('SRID=4674;POINT (-40.10737 -2.816398)'))) / (select extract(epoch from '2026-07-08 15:21:03'::timestamp) - extract(epoch from '2026-07-08 15:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107451 -2.816323)'), GeomFromEWKT('SRID=4674;POINT (-40.10737 -2.816398)'))) / (select extract(epoch from '2026-07-08 15:21:03'::timestamp) - extract(epoch from '2026-07-08 15:20: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'), 47631, 'SRID=4674;POINT (-40.107304 -2.816482)', '2026-07-08 15:21:11', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10737 -2.816398)'), GeomFromEWKT('SRID=4674;POINT (-40.107304 -2.816482)'))) / (select extract(epoch from '2026-07-08 15:21:11'::timestamp) - extract(epoch from '2026-07-08 15:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10737 -2.816398)'), GeomFromEWKT('SRID=4674;POINT (-40.107304 -2.816482)'))) / (select extract(epoch from '2026-07-08 15:21:11'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.10727 -2.81654)', '2026-07-08 15:21:20', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107304 -2.816482)'), GeomFromEWKT('SRID=4674;POINT (-40.10727 -2.81654)'))) / (select extract(epoch from '2026-07-08 15:21:20'::timestamp) - extract(epoch from '2026-07-08 15:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107304 -2.816482)'), GeomFromEWKT('SRID=4674;POINT (-40.10727 -2.81654)'))) / (select extract(epoch from '2026-07-08 15:21:20'::timestamp) - extract(epoch from '2026-07-08 15:21: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'), 47631, 'SRID=4674;POINT (-40.107268 -2.816553)', '2026-07-08 15:21:32', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10727 -2.81654)'), GeomFromEWKT('SRID=4674;POINT (-40.107268 -2.816553)'))) / (select extract(epoch from '2026-07-08 15:21:32'::timestamp) - extract(epoch from '2026-07-08 15:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10727 -2.81654)'), GeomFromEWKT('SRID=4674;POINT (-40.107268 -2.816553)'))) / (select extract(epoch from '2026-07-08 15:21:32'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.107374 -2.816559)', '2026-07-08 15:21:52', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107268 -2.816553)'), GeomFromEWKT('SRID=4674;POINT (-40.107374 -2.816559)'))) / (select extract(epoch from '2026-07-08 15:21:52'::timestamp) - extract(epoch from '2026-07-08 15:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107268 -2.816553)'), GeomFromEWKT('SRID=4674;POINT (-40.107374 -2.816559)'))) / (select extract(epoch from '2026-07-08 15:21:52'::timestamp) - extract(epoch from '2026-07-08 15:21: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'), 47631, 'SRID=4674;POINT (-40.107454 -2.816578)', '2026-07-08 15:22:08', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107374 -2.816559)'), GeomFromEWKT('SRID=4674;POINT (-40.107454 -2.816578)'))) / (select extract(epoch from '2026-07-08 15:22:08'::timestamp) - extract(epoch from '2026-07-08 15:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107374 -2.816559)'), GeomFromEWKT('SRID=4674;POINT (-40.107454 -2.816578)'))) / (select extract(epoch from '2026-07-08 15:22:08'::timestamp) - extract(epoch from '2026-07-08 15:21:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.107568 -2.816635)', '2026-07-08 15:22:29', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107454 -2.816578)'), GeomFromEWKT('SRID=4674;POINT (-40.107568 -2.816635)'))) / (select extract(epoch from '2026-07-08 15:22:29'::timestamp) - extract(epoch from '2026-07-08 15:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107454 -2.816578)'), GeomFromEWKT('SRID=4674;POINT (-40.107568 -2.816635)'))) / (select extract(epoch from '2026-07-08 15:22:29'::timestamp) - extract(epoch from '2026-07-08 15:22: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'), 47631, 'SRID=4674;POINT (-40.107657 -2.816656)', '2026-07-08 15:22:49', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107568 -2.816635)'), GeomFromEWKT('SRID=4674;POINT (-40.107657 -2.816656)'))) / (select extract(epoch from '2026-07-08 15:22:49'::timestamp) - extract(epoch from '2026-07-08 15:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107568 -2.816635)'), GeomFromEWKT('SRID=4674;POINT (-40.107657 -2.816656)'))) / (select extract(epoch from '2026-07-08 15:22:49'::timestamp) - extract(epoch from '2026-07-08 15:22: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'), 47631, 'SRID=4674;POINT (-40.107727 -2.816677)', '2026-07-08 15:23:05', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107657 -2.816656)'), GeomFromEWKT('SRID=4674;POINT (-40.107727 -2.816677)'))) / (select extract(epoch from '2026-07-08 15:23:05'::timestamp) - extract(epoch from '2026-07-08 15:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107657 -2.816656)'), GeomFromEWKT('SRID=4674;POINT (-40.107727 -2.816677)'))) / (select extract(epoch from '2026-07-08 15:23:05'::timestamp) - extract(epoch from '2026-07-08 15:22: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'), 47631, 'SRID=4674;POINT (-40.107787 -2.81669)', '2026-07-08 15:23:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107727 -2.816677)'), GeomFromEWKT('SRID=4674;POINT (-40.107787 -2.81669)'))) / (select extract(epoch from '2026-07-08 15:23:25'::timestamp) - extract(epoch from '2026-07-08 15:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107727 -2.816677)'), GeomFromEWKT('SRID=4674;POINT (-40.107787 -2.81669)'))) / (select extract(epoch from '2026-07-08 15:23:25'::timestamp) - extract(epoch from '2026-07-08 15:23: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'), 47631, 'SRID=4674;POINT (-40.107851 -2.816731)', '2026-07-08 15:23:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107787 -2.81669)'), GeomFromEWKT('SRID=4674;POINT (-40.107851 -2.816731)'))) / (select extract(epoch from '2026-07-08 15:23:39'::timestamp) - extract(epoch from '2026-07-08 15:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107787 -2.81669)'), GeomFromEWKT('SRID=4674;POINT (-40.107851 -2.816731)'))) / (select extract(epoch from '2026-07-08 15:23:39'::timestamp) - extract(epoch from '2026-07-08 15:23: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'), 47631, 'SRID=4674;POINT (-40.107926 -2.816775)', '2026-07-08 15:24:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107851 -2.816731)'), GeomFromEWKT('SRID=4674;POINT (-40.107926 -2.816775)'))) / (select extract(epoch from '2026-07-08 15:24:01'::timestamp) - extract(epoch from '2026-07-08 15:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107851 -2.816731)'), GeomFromEWKT('SRID=4674;POINT (-40.107926 -2.816775)'))) / (select extract(epoch from '2026-07-08 15:24:01'::timestamp) - extract(epoch from '2026-07-08 15:23:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.107992 -2.816796)', '2026-07-08 15:24:18', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107926 -2.816775)'), GeomFromEWKT('SRID=4674;POINT (-40.107992 -2.816796)'))) / (select extract(epoch from '2026-07-08 15:24:18'::timestamp) - extract(epoch from '2026-07-08 15:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107926 -2.816775)'), GeomFromEWKT('SRID=4674;POINT (-40.107992 -2.816796)'))) / (select extract(epoch from '2026-07-08 15:24:18'::timestamp) - extract(epoch from '2026-07-08 15:24: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'), 47631, 'SRID=4674;POINT (-40.108095 -2.816839)', '2026-07-08 15:24:37', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107992 -2.816796)'), GeomFromEWKT('SRID=4674;POINT (-40.108095 -2.816839)'))) / (select extract(epoch from '2026-07-08 15:24:37'::timestamp) - extract(epoch from '2026-07-08 15:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.107992 -2.816796)'), GeomFromEWKT('SRID=4674;POINT (-40.108095 -2.816839)'))) / (select extract(epoch from '2026-07-08 15:24:37'::timestamp) - extract(epoch from '2026-07-08 15:24: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'), 47631, 'SRID=4674;POINT (-40.108166 -2.816863)', '2026-07-08 15:24:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108095 -2.816839)'), GeomFromEWKT('SRID=4674;POINT (-40.108166 -2.816863)'))) / (select extract(epoch from '2026-07-08 15:24:54'::timestamp) - extract(epoch from '2026-07-08 15:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108095 -2.816839)'), GeomFromEWKT('SRID=4674;POINT (-40.108166 -2.816863)'))) / (select extract(epoch from '2026-07-08 15:24:54'::timestamp) - extract(epoch from '2026-07-08 15:24: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'), 47631, 'SRID=4674;POINT (-40.108243 -2.816878)', '2026-07-08 15:25:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108166 -2.816863)'), GeomFromEWKT('SRID=4674;POINT (-40.108243 -2.816878)'))) / (select extract(epoch from '2026-07-08 15:25:11'::timestamp) - extract(epoch from '2026-07-08 15:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108166 -2.816863)'), GeomFromEWKT('SRID=4674;POINT (-40.108243 -2.816878)'))) / (select extract(epoch from '2026-07-08 15:25:11'::timestamp) - extract(epoch from '2026-07-08 15:24: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'), 47631, 'SRID=4674;POINT (-40.108323 -2.816899)', '2026-07-08 15:25:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108243 -2.816878)'), GeomFromEWKT('SRID=4674;POINT (-40.108323 -2.816899)'))) / (select extract(epoch from '2026-07-08 15:25:31'::timestamp) - extract(epoch from '2026-07-08 15:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108243 -2.816878)'), GeomFromEWKT('SRID=4674;POINT (-40.108323 -2.816899)'))) / (select extract(epoch from '2026-07-08 15:25:31'::timestamp) - extract(epoch from '2026-07-08 15:25: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'), 47631, 'SRID=4674;POINT (-40.108384 -2.816918)', '2026-07-08 15:25:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108323 -2.816899)'), GeomFromEWKT('SRID=4674;POINT (-40.108384 -2.816918)'))) / (select extract(epoch from '2026-07-08 15:25:45'::timestamp) - extract(epoch from '2026-07-08 15:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108323 -2.816899)'), GeomFromEWKT('SRID=4674;POINT (-40.108384 -2.816918)'))) / (select extract(epoch from '2026-07-08 15:25:45'::timestamp) - extract(epoch from '2026-07-08 15:25: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'), 47631, 'SRID=4674;POINT (-40.108435 -2.816937)', '2026-07-08 15:25:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108384 -2.816918)'), GeomFromEWKT('SRID=4674;POINT (-40.108435 -2.816937)'))) / (select extract(epoch from '2026-07-08 15:25:59'::timestamp) - extract(epoch from '2026-07-08 15:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108384 -2.816918)'), GeomFromEWKT('SRID=4674;POINT (-40.108435 -2.816937)'))) / (select extract(epoch from '2026-07-08 15:25:59'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.108536 -2.816978)', '2026-07-08 15:26:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108435 -2.816937)'), GeomFromEWKT('SRID=4674;POINT (-40.108536 -2.816978)'))) / (select extract(epoch from '2026-07-08 15:26:17'::timestamp) - extract(epoch from '2026-07-08 15:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108435 -2.816937)'), GeomFromEWKT('SRID=4674;POINT (-40.108536 -2.816978)'))) / (select extract(epoch from '2026-07-08 15:26:17'::timestamp) - extract(epoch from '2026-07-08 15:25: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'), 47631, 'SRID=4674;POINT (-40.108604 -2.816991)', '2026-07-08 15:26:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108536 -2.816978)'), GeomFromEWKT('SRID=4674;POINT (-40.108604 -2.816991)'))) / (select extract(epoch from '2026-07-08 15:26:33'::timestamp) - extract(epoch from '2026-07-08 15:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108536 -2.816978)'), GeomFromEWKT('SRID=4674;POINT (-40.108604 -2.816991)'))) / (select extract(epoch from '2026-07-08 15:26:33'::timestamp) - extract(epoch from '2026-07-08 15:26:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.108627 -2.816996)', '2026-07-08 15:26:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108604 -2.816991)'), GeomFromEWKT('SRID=4674;POINT (-40.108627 -2.816996)'))) / (select extract(epoch from '2026-07-08 15:26:45'::timestamp) - extract(epoch from '2026-07-08 15:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108604 -2.816991)'), GeomFromEWKT('SRID=4674;POINT (-40.108627 -2.816996)'))) / (select extract(epoch from '2026-07-08 15:26:45'::timestamp) - extract(epoch from '2026-07-08 15:26: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'), 47631, 'SRID=4674;POINT (-40.108703 -2.817022)', '2026-07-08 15:27:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108627 -2.816996)'), GeomFromEWKT('SRID=4674;POINT (-40.108703 -2.817022)'))) / (select extract(epoch from '2026-07-08 15:27:03'::timestamp) - extract(epoch from '2026-07-08 15:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108627 -2.816996)'), GeomFromEWKT('SRID=4674;POINT (-40.108703 -2.817022)'))) / (select extract(epoch from '2026-07-08 15:27:03'::timestamp) - extract(epoch from '2026-07-08 15:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.108756 -2.817059)', '2026-07-08 15:27:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108703 -2.817022)'), GeomFromEWKT('SRID=4674;POINT (-40.108756 -2.817059)'))) / (select extract(epoch from '2026-07-08 15:27:20'::timestamp) - extract(epoch from '2026-07-08 15:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108703 -2.817022)'), GeomFromEWKT('SRID=4674;POINT (-40.108756 -2.817059)'))) / (select extract(epoch from '2026-07-08 15:27:20'::timestamp) - extract(epoch from '2026-07-08 15:27: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'), 47631, 'SRID=4674;POINT (-40.108835 -2.817095)', '2026-07-08 15:27:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108756 -2.817059)'), GeomFromEWKT('SRID=4674;POINT (-40.108835 -2.817095)'))) / (select extract(epoch from '2026-07-08 15:27:38'::timestamp) - extract(epoch from '2026-07-08 15:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108756 -2.817059)'), GeomFromEWKT('SRID=4674;POINT (-40.108835 -2.817095)'))) / (select extract(epoch from '2026-07-08 15:27:38'::timestamp) - extract(epoch from '2026-07-08 15:27:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.108913 -2.817127)', '2026-07-08 15:27:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108835 -2.817095)'), GeomFromEWKT('SRID=4674;POINT (-40.108913 -2.817127)'))) / (select extract(epoch from '2026-07-08 15:27:57'::timestamp) - extract(epoch from '2026-07-08 15:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108835 -2.817095)'), GeomFromEWKT('SRID=4674;POINT (-40.108913 -2.817127)'))) / (select extract(epoch from '2026-07-08 15:27:57'::timestamp) - extract(epoch from '2026-07-08 15:27: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'), 47631, 'SRID=4674;POINT (-40.108994 -2.817156)', '2026-07-08 15:28:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108913 -2.817127)'), GeomFromEWKT('SRID=4674;POINT (-40.108994 -2.817156)'))) / (select extract(epoch from '2026-07-08 15:28:16'::timestamp) - extract(epoch from '2026-07-08 15:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108913 -2.817127)'), GeomFromEWKT('SRID=4674;POINT (-40.108994 -2.817156)'))) / (select extract(epoch from '2026-07-08 15:28:16'::timestamp) - extract(epoch from '2026-07-08 15:27: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'), 47631, 'SRID=4674;POINT (-40.109056 -2.817185)', '2026-07-08 15:28:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108994 -2.817156)'), GeomFromEWKT('SRID=4674;POINT (-40.109056 -2.817185)'))) / (select extract(epoch from '2026-07-08 15:28:30'::timestamp) - extract(epoch from '2026-07-08 15:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.108994 -2.817156)'), GeomFromEWKT('SRID=4674;POINT (-40.109056 -2.817185)'))) / (select extract(epoch from '2026-07-08 15:28:30'::timestamp) - extract(epoch from '2026-07-08 15:28:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.10915 -2.817207)', '2026-07-08 15:28:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109056 -2.817185)'), GeomFromEWKT('SRID=4674;POINT (-40.10915 -2.817207)'))) / (select extract(epoch from '2026-07-08 15:28:49'::timestamp) - extract(epoch from '2026-07-08 15:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109056 -2.817185)'), GeomFromEWKT('SRID=4674;POINT (-40.10915 -2.817207)'))) / (select extract(epoch from '2026-07-08 15:28:49'::timestamp) - extract(epoch from '2026-07-08 15:28:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.109219 -2.817216)', '2026-07-08 15:29:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10915 -2.817207)'), GeomFromEWKT('SRID=4674;POINT (-40.109219 -2.817216)'))) / (select extract(epoch from '2026-07-08 15:29:04'::timestamp) - extract(epoch from '2026-07-08 15:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.10915 -2.817207)'), GeomFromEWKT('SRID=4674;POINT (-40.109219 -2.817216)'))) / (select extract(epoch from '2026-07-08 15:29:04'::timestamp) - extract(epoch from '2026-07-08 15:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.109262 -2.817223)', '2026-07-08 15:29:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109219 -2.817216)'), GeomFromEWKT('SRID=4674;POINT (-40.109262 -2.817223)'))) / (select extract(epoch from '2026-07-08 15:29:13'::timestamp) - extract(epoch from '2026-07-08 15:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109219 -2.817216)'), GeomFromEWKT('SRID=4674;POINT (-40.109262 -2.817223)'))) / (select extract(epoch from '2026-07-08 15:29:13'::timestamp) - extract(epoch from '2026-07-08 15:29: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'), 47631, 'SRID=4674;POINT (-40.109344 -2.817261)', '2026-07-08 15:29:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109262 -2.817223)'), GeomFromEWKT('SRID=4674;POINT (-40.109344 -2.817261)'))) / (select extract(epoch from '2026-07-08 15:29:31'::timestamp) - extract(epoch from '2026-07-08 15:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109262 -2.817223)'), GeomFromEWKT('SRID=4674;POINT (-40.109344 -2.817261)'))) / (select extract(epoch from '2026-07-08 15:29:31'::timestamp) - extract(epoch from '2026-07-08 15:29:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.109382 -2.817277)', '2026-07-08 15:29:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109344 -2.817261)'), GeomFromEWKT('SRID=4674;POINT (-40.109382 -2.817277)'))) / (select extract(epoch from '2026-07-08 15:29:44'::timestamp) - extract(epoch from '2026-07-08 15:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109344 -2.817261)'), GeomFromEWKT('SRID=4674;POINT (-40.109382 -2.817277)'))) / (select extract(epoch from '2026-07-08 15:29:44'::timestamp) - extract(epoch from '2026-07-08 15:29: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'), 47631, 'SRID=4674;POINT (-40.109436 -2.817299)', '2026-07-08 15:30:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109382 -2.817277)'), GeomFromEWKT('SRID=4674;POINT (-40.109436 -2.817299)'))) / (select extract(epoch from '2026-07-08 15:30:03'::timestamp) - extract(epoch from '2026-07-08 15:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109382 -2.817277)'), GeomFromEWKT('SRID=4674;POINT (-40.109436 -2.817299)'))) / (select extract(epoch from '2026-07-08 15:30:03'::timestamp) - extract(epoch from '2026-07-08 15:29: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'), 47631, 'SRID=4674;POINT (-40.109475 -2.817314)', '2026-07-08 15:30:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109436 -2.817299)'), GeomFromEWKT('SRID=4674;POINT (-40.109475 -2.817314)'))) / (select extract(epoch from '2026-07-08 15:30:13'::timestamp) - extract(epoch from '2026-07-08 15:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109436 -2.817299)'), GeomFromEWKT('SRID=4674;POINT (-40.109475 -2.817314)'))) / (select extract(epoch from '2026-07-08 15:30:13'::timestamp) - extract(epoch from '2026-07-08 15:30: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'), 47631, 'SRID=4674;POINT (-40.109574 -2.817341)', '2026-07-08 15:30:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109475 -2.817314)'), GeomFromEWKT('SRID=4674;POINT (-40.109574 -2.817341)'))) / (select extract(epoch from '2026-07-08 15:30:28'::timestamp) - extract(epoch from '2026-07-08 15:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109475 -2.817314)'), GeomFromEWKT('SRID=4674;POINT (-40.109574 -2.817341)'))) / (select extract(epoch from '2026-07-08 15:30:28'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.109621 -2.817356)', '2026-07-08 15:30:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109574 -2.817341)'), GeomFromEWKT('SRID=4674;POINT (-40.109621 -2.817356)'))) / (select extract(epoch from '2026-07-08 15:30:44'::timestamp) - extract(epoch from '2026-07-08 15:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109574 -2.817341)'), GeomFromEWKT('SRID=4674;POINT (-40.109621 -2.817356)'))) / (select extract(epoch from '2026-07-08 15:30:44'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.109697 -2.817382)', '2026-07-08 15:31:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109621 -2.817356)'), GeomFromEWKT('SRID=4674;POINT (-40.109697 -2.817382)'))) / (select extract(epoch from '2026-07-08 15:31:02'::timestamp) - extract(epoch from '2026-07-08 15:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109621 -2.817356)'), GeomFromEWKT('SRID=4674;POINT (-40.109697 -2.817382)'))) / (select extract(epoch from '2026-07-08 15:31:02'::timestamp) - extract(epoch from '2026-07-08 15:30: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'), 47631, 'SRID=4674;POINT (-40.109747 -2.81739)', '2026-07-08 15:31:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109697 -2.817382)'), GeomFromEWKT('SRID=4674;POINT (-40.109747 -2.81739)'))) / (select extract(epoch from '2026-07-08 15:31:15'::timestamp) - extract(epoch from '2026-07-08 15:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109697 -2.817382)'), GeomFromEWKT('SRID=4674;POINT (-40.109747 -2.81739)'))) / (select extract(epoch from '2026-07-08 15:31:15'::timestamp) - extract(epoch from '2026-07-08 15:31: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'), 47631, 'SRID=4674;POINT (-40.109829 -2.817392)', '2026-07-08 15:31:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109747 -2.81739)'), GeomFromEWKT('SRID=4674;POINT (-40.109829 -2.817392)'))) / (select extract(epoch from '2026-07-08 15:31:33'::timestamp) - extract(epoch from '2026-07-08 15:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109747 -2.81739)'), GeomFromEWKT('SRID=4674;POINT (-40.109829 -2.817392)'))) / (select extract(epoch from '2026-07-08 15:31:33'::timestamp) - extract(epoch from '2026-07-08 15:31: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'), 47631, 'SRID=4674;POINT (-40.109924 -2.817421)', '2026-07-08 15:31:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109829 -2.817392)'), GeomFromEWKT('SRID=4674;POINT (-40.109924 -2.817421)'))) / (select extract(epoch from '2026-07-08 15:31:51'::timestamp) - extract(epoch from '2026-07-08 15:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109829 -2.817392)'), GeomFromEWKT('SRID=4674;POINT (-40.109924 -2.817421)'))) / (select extract(epoch from '2026-07-08 15:31:51'::timestamp) - extract(epoch from '2026-07-08 15:31: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'), 47631, 'SRID=4674;POINT (-40.109996 -2.817443)', '2026-07-08 15:32:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109924 -2.817421)'), GeomFromEWKT('SRID=4674;POINT (-40.109996 -2.817443)'))) / (select extract(epoch from '2026-07-08 15:32:08'::timestamp) - extract(epoch from '2026-07-08 15:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109924 -2.817421)'), GeomFromEWKT('SRID=4674;POINT (-40.109996 -2.817443)'))) / (select extract(epoch from '2026-07-08 15:32:08'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.110072 -2.817445)', '2026-07-08 15:32:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109996 -2.817443)'), GeomFromEWKT('SRID=4674;POINT (-40.110072 -2.817445)'))) / (select extract(epoch from '2026-07-08 15:32:26'::timestamp) - extract(epoch from '2026-07-08 15:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.109996 -2.817443)'), GeomFromEWKT('SRID=4674;POINT (-40.110072 -2.817445)'))) / (select extract(epoch from '2026-07-08 15:32:26'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.110143 -2.817471)', '2026-07-08 15:32:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110072 -2.817445)'), GeomFromEWKT('SRID=4674;POINT (-40.110143 -2.817471)'))) / (select extract(epoch from '2026-07-08 15:32:45'::timestamp) - extract(epoch from '2026-07-08 15:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110072 -2.817445)'), GeomFromEWKT('SRID=4674;POINT (-40.110143 -2.817471)'))) / (select extract(epoch from '2026-07-08 15:32:45'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.110219 -2.817494)', '2026-07-08 15:33:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110143 -2.817471)'), GeomFromEWKT('SRID=4674;POINT (-40.110219 -2.817494)'))) / (select extract(epoch from '2026-07-08 15:33:01'::timestamp) - extract(epoch from '2026-07-08 15:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110143 -2.817471)'), GeomFromEWKT('SRID=4674;POINT (-40.110219 -2.817494)'))) / (select extract(epoch from '2026-07-08 15:33:01'::timestamp) - extract(epoch from '2026-07-08 15:32: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'), 47631, 'SRID=4674;POINT (-40.110288 -2.817521)', '2026-07-08 15:33:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110219 -2.817494)'), GeomFromEWKT('SRID=4674;POINT (-40.110288 -2.817521)'))) / (select extract(epoch from '2026-07-08 15:33:16'::timestamp) - extract(epoch from '2026-07-08 15:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110219 -2.817494)'), GeomFromEWKT('SRID=4674;POINT (-40.110288 -2.817521)'))) / (select extract(epoch from '2026-07-08 15:33:16'::timestamp) - extract(epoch from '2026-07-08 15:33: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'), 47631, 'SRID=4674;POINT (-40.110332 -2.817547)', '2026-07-08 15:33:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110288 -2.817521)'), GeomFromEWKT('SRID=4674;POINT (-40.110332 -2.817547)'))) / (select extract(epoch from '2026-07-08 15:33:31'::timestamp) - extract(epoch from '2026-07-08 15:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110288 -2.817521)'), GeomFromEWKT('SRID=4674;POINT (-40.110332 -2.817547)'))) / (select extract(epoch from '2026-07-08 15:33:31'::timestamp) - extract(epoch from '2026-07-08 15:33: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'), 47631, 'SRID=4674;POINT (-40.110393 -2.817556)', '2026-07-08 15:33:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110332 -2.817547)'), GeomFromEWKT('SRID=4674;POINT (-40.110393 -2.817556)'))) / (select extract(epoch from '2026-07-08 15:33:46'::timestamp) - extract(epoch from '2026-07-08 15:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110332 -2.817547)'), GeomFromEWKT('SRID=4674;POINT (-40.110393 -2.817556)'))) / (select extract(epoch from '2026-07-08 15:33:46'::timestamp) - extract(epoch from '2026-07-08 15:33: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'), 47631, 'SRID=4674;POINT (-40.110494 -2.817565)', '2026-07-08 15:34:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110393 -2.817556)'), GeomFromEWKT('SRID=4674;POINT (-40.110494 -2.817565)'))) / (select extract(epoch from '2026-07-08 15:34:04'::timestamp) - extract(epoch from '2026-07-08 15:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110393 -2.817556)'), GeomFromEWKT('SRID=4674;POINT (-40.110494 -2.817565)'))) / (select extract(epoch from '2026-07-08 15:34:04'::timestamp) - extract(epoch from '2026-07-08 15:33: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'), 47631, 'SRID=4674;POINT (-40.110558 -2.81758)', '2026-07-08 15:34:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110494 -2.817565)'), GeomFromEWKT('SRID=4674;POINT (-40.110558 -2.81758)'))) / (select extract(epoch from '2026-07-08 15:34:20'::timestamp) - extract(epoch from '2026-07-08 15:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110494 -2.817565)'), GeomFromEWKT('SRID=4674;POINT (-40.110558 -2.81758)'))) / (select extract(epoch from '2026-07-08 15:34:20'::timestamp) - extract(epoch from '2026-07-08 15:34: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'), 47631, 'SRID=4674;POINT (-40.110584 -2.817584)', '2026-07-08 15:34:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110558 -2.81758)'), GeomFromEWKT('SRID=4674;POINT (-40.110584 -2.817584)'))) / (select extract(epoch from '2026-07-08 15:34:30'::timestamp) - extract(epoch from '2026-07-08 15:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110558 -2.81758)'), GeomFromEWKT('SRID=4674;POINT (-40.110584 -2.817584)'))) / (select extract(epoch from '2026-07-08 15:34:30'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.110618 -2.817589)', '2026-07-08 15:34:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110584 -2.817584)'), GeomFromEWKT('SRID=4674;POINT (-40.110618 -2.817589)'))) / (select extract(epoch from '2026-07-08 15:34:39'::timestamp) - extract(epoch from '2026-07-08 15:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110584 -2.817584)'), GeomFromEWKT('SRID=4674;POINT (-40.110618 -2.817589)'))) / (select extract(epoch from '2026-07-08 15:34:39'::timestamp) - extract(epoch from '2026-07-08 15:34: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'), 47631, 'SRID=4674;POINT (-40.110682 -2.817614)', '2026-07-08 15:34:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110618 -2.817589)'), GeomFromEWKT('SRID=4674;POINT (-40.110682 -2.817614)'))) / (select extract(epoch from '2026-07-08 15:34:55'::timestamp) - extract(epoch from '2026-07-08 15:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110618 -2.817589)'), GeomFromEWKT('SRID=4674;POINT (-40.110682 -2.817614)'))) / (select extract(epoch from '2026-07-08 15:34:55'::timestamp) - extract(epoch from '2026-07-08 15:34: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'), 47631, 'SRID=4674;POINT (-40.110726 -2.817623)', '2026-07-08 15:35:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110682 -2.817614)'), GeomFromEWKT('SRID=4674;POINT (-40.110726 -2.817623)'))) / (select extract(epoch from '2026-07-08 15:35:05'::timestamp) - extract(epoch from '2026-07-08 15:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110682 -2.817614)'), GeomFromEWKT('SRID=4674;POINT (-40.110726 -2.817623)'))) / (select extract(epoch from '2026-07-08 15:35:05'::timestamp) - extract(epoch from '2026-07-08 15:34: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'), 47631, 'SRID=4674;POINT (-40.110797 -2.817642)', '2026-07-08 15:35:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110726 -2.817623)'), GeomFromEWKT('SRID=4674;POINT (-40.110797 -2.817642)'))) / (select extract(epoch from '2026-07-08 15:35:23'::timestamp) - extract(epoch from '2026-07-08 15:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110726 -2.817623)'), GeomFromEWKT('SRID=4674;POINT (-40.110797 -2.817642)'))) / (select extract(epoch from '2026-07-08 15:35:23'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.110843 -2.817659)', '2026-07-08 15:35:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110797 -2.817642)'), GeomFromEWKT('SRID=4674;POINT (-40.110843 -2.817659)'))) / (select extract(epoch from '2026-07-08 15:35:35'::timestamp) - extract(epoch from '2026-07-08 15:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110797 -2.817642)'), GeomFromEWKT('SRID=4674;POINT (-40.110843 -2.817659)'))) / (select extract(epoch from '2026-07-08 15:35:35'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.110929 -2.817688)', '2026-07-08 15:35:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110843 -2.817659)'), GeomFromEWKT('SRID=4674;POINT (-40.110929 -2.817688)'))) / (select extract(epoch from '2026-07-08 15:35:55'::timestamp) - extract(epoch from '2026-07-08 15:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110843 -2.817659)'), GeomFromEWKT('SRID=4674;POINT (-40.110929 -2.817688)'))) / (select extract(epoch from '2026-07-08 15:35:55'::timestamp) - extract(epoch from '2026-07-08 15:35: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'), 47631, 'SRID=4674;POINT (-40.110961 -2.817692)', '2026-07-08 15:36:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110929 -2.817688)'), GeomFromEWKT('SRID=4674;POINT (-40.110961 -2.817692)'))) / (select extract(epoch from '2026-07-08 15:36:04'::timestamp) - extract(epoch from '2026-07-08 15:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110929 -2.817688)'), GeomFromEWKT('SRID=4674;POINT (-40.110961 -2.817692)'))) / (select extract(epoch from '2026-07-08 15:36:04'::timestamp) - extract(epoch from '2026-07-08 15:35: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'), 47631, 'SRID=4674;POINT (-40.111028 -2.817688)', '2026-07-08 15:36:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110961 -2.817692)'), GeomFromEWKT('SRID=4674;POINT (-40.111028 -2.817688)'))) / (select extract(epoch from '2026-07-08 15:36:21'::timestamp) - extract(epoch from '2026-07-08 15:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.110961 -2.817692)'), GeomFromEWKT('SRID=4674;POINT (-40.111028 -2.817688)'))) / (select extract(epoch from '2026-07-08 15:36:21'::timestamp) - extract(epoch from '2026-07-08 15:36: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'), 47631, 'SRID=4674;POINT (-40.111081 -2.817698)', '2026-07-08 15:36:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111028 -2.817688)'), GeomFromEWKT('SRID=4674;POINT (-40.111081 -2.817698)'))) / (select extract(epoch from '2026-07-08 15:36:36'::timestamp) - extract(epoch from '2026-07-08 15:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111028 -2.817688)'), GeomFromEWKT('SRID=4674;POINT (-40.111081 -2.817698)'))) / (select extract(epoch from '2026-07-08 15:36:36'::timestamp) - extract(epoch from '2026-07-08 15:36:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111171 -2.817733)', '2026-07-08 15:36:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111081 -2.817698)'), GeomFromEWKT('SRID=4674;POINT (-40.111171 -2.817733)'))) / (select extract(epoch from '2026-07-08 15:36:53'::timestamp) - extract(epoch from '2026-07-08 15:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111081 -2.817698)'), GeomFromEWKT('SRID=4674;POINT (-40.111171 -2.817733)'))) / (select extract(epoch from '2026-07-08 15:36:53'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.11124 -2.817742)', '2026-07-08 15:37:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111171 -2.817733)'), GeomFromEWKT('SRID=4674;POINT (-40.11124 -2.817742)'))) / (select extract(epoch from '2026-07-08 15:37:10'::timestamp) - extract(epoch from '2026-07-08 15:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111171 -2.817733)'), GeomFromEWKT('SRID=4674;POINT (-40.11124 -2.817742)'))) / (select extract(epoch from '2026-07-08 15:37:10'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.111284 -2.81775)', '2026-07-08 15:37:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11124 -2.817742)'), GeomFromEWKT('SRID=4674;POINT (-40.111284 -2.81775)'))) / (select extract(epoch from '2026-07-08 15:37:22'::timestamp) - extract(epoch from '2026-07-08 15:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11124 -2.817742)'), GeomFromEWKT('SRID=4674;POINT (-40.111284 -2.81775)'))) / (select extract(epoch from '2026-07-08 15:37:22'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.111345 -2.817754)', '2026-07-08 15:37:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111284 -2.81775)'), GeomFromEWKT('SRID=4674;POINT (-40.111345 -2.817754)'))) / (select extract(epoch from '2026-07-08 15:37:37'::timestamp) - extract(epoch from '2026-07-08 15:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111284 -2.81775)'), GeomFromEWKT('SRID=4674;POINT (-40.111345 -2.817754)'))) / (select extract(epoch from '2026-07-08 15:37:37'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.111396 -2.817751)', '2026-07-08 15:37:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111345 -2.817754)'), GeomFromEWKT('SRID=4674;POINT (-40.111396 -2.817751)'))) / (select extract(epoch from '2026-07-08 15:37:50'::timestamp) - extract(epoch from '2026-07-08 15:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111345 -2.817754)'), GeomFromEWKT('SRID=4674;POINT (-40.111396 -2.817751)'))) / (select extract(epoch from '2026-07-08 15:37:50'::timestamp) - extract(epoch from '2026-07-08 15:37:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111448 -2.817761)', '2026-07-08 15:38:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111396 -2.817751)'), GeomFromEWKT('SRID=4674;POINT (-40.111448 -2.817761)'))) / (select extract(epoch from '2026-07-08 15:38:00'::timestamp) - extract(epoch from '2026-07-08 15:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111396 -2.817751)'), GeomFromEWKT('SRID=4674;POINT (-40.111448 -2.817761)'))) / (select extract(epoch from '2026-07-08 15:38:00'::timestamp) - extract(epoch from '2026-07-08 15:37:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.111534 -2.817778)', '2026-07-08 15:38:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111448 -2.817761)'), GeomFromEWKT('SRID=4674;POINT (-40.111534 -2.817778)'))) / (select extract(epoch from '2026-07-08 15:38:16'::timestamp) - extract(epoch from '2026-07-08 15:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111448 -2.817761)'), GeomFromEWKT('SRID=4674;POINT (-40.111534 -2.817778)'))) / (select extract(epoch from '2026-07-08 15:38:16'::timestamp) - extract(epoch from '2026-07-08 15: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'), 47631, 'SRID=4674;POINT (-40.111572 -2.817774)', '2026-07-08 15:38:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111534 -2.817778)'), GeomFromEWKT('SRID=4674;POINT (-40.111572 -2.817774)'))) / (select extract(epoch from '2026-07-08 15:38:33'::timestamp) - extract(epoch from '2026-07-08 15:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111534 -2.817778)'), GeomFromEWKT('SRID=4674;POINT (-40.111572 -2.817774)'))) / (select extract(epoch from '2026-07-08 15:38:33'::timestamp) - extract(epoch from '2026-07-08 15:38:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11152 -2.817751)', '2026-07-08 16:08:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111572 -2.817774)'), GeomFromEWKT('SRID=4674;POINT (-40.11152 -2.817751)'))) / (select extract(epoch from '2026-07-08 16:08:41'::timestamp) - extract(epoch from '2026-07-08 15:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111572 -2.817774)'), GeomFromEWKT('SRID=4674;POINT (-40.11152 -2.817751)'))) / (select extract(epoch from '2026-07-08 16:08:41'::timestamp) - extract(epoch from '2026-07-08 15:38:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.1116 -2.817752)', '2026-07-08 16:09:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11152 -2.817751)'), GeomFromEWKT('SRID=4674;POINT (-40.1116 -2.817752)'))) / (select extract(epoch from '2026-07-08 16:09:19'::timestamp) - extract(epoch from '2026-07-08 16:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11152 -2.817751)'), GeomFromEWKT('SRID=4674;POINT (-40.1116 -2.817752)'))) / (select extract(epoch from '2026-07-08 16:09:19'::timestamp) - extract(epoch from '2026-07-08 16:08: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'), 47631, 'SRID=4674;POINT (-40.111681 -2.817739)', '2026-07-08 16:09:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1116 -2.817752)'), GeomFromEWKT('SRID=4674;POINT (-40.111681 -2.817739)'))) / (select extract(epoch from '2026-07-08 16:09:34'::timestamp) - extract(epoch from '2026-07-08 16:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1116 -2.817752)'), GeomFromEWKT('SRID=4674;POINT (-40.111681 -2.817739)'))) / (select extract(epoch from '2026-07-08 16:09:34'::timestamp) - extract(epoch from '2026-07-08 16:09: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'), 47631, 'SRID=4674;POINT (-40.111771 -2.817723)', '2026-07-08 16:09:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111681 -2.817739)'), GeomFromEWKT('SRID=4674;POINT (-40.111771 -2.817723)'))) / (select extract(epoch from '2026-07-08 16:09:49'::timestamp) - extract(epoch from '2026-07-08 16:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111681 -2.817739)'), GeomFromEWKT('SRID=4674;POINT (-40.111771 -2.817723)'))) / (select extract(epoch from '2026-07-08 16:09:49'::timestamp) - extract(epoch from '2026-07-08 16:09: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'), 47631, 'SRID=4674;POINT (-40.111867 -2.817697)', '2026-07-08 16:10:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111771 -2.817723)'), GeomFromEWKT('SRID=4674;POINT (-40.111867 -2.817697)'))) / (select extract(epoch from '2026-07-08 16:10:05'::timestamp) - extract(epoch from '2026-07-08 16:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111771 -2.817723)'), GeomFromEWKT('SRID=4674;POINT (-40.111867 -2.817697)'))) / (select extract(epoch from '2026-07-08 16:10:05'::timestamp) - extract(epoch from '2026-07-08 16:09: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'), 47631, 'SRID=4674;POINT (-40.111944 -2.81769)', '2026-07-08 16:10:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111867 -2.817697)'), GeomFromEWKT('SRID=4674;POINT (-40.111944 -2.81769)'))) / (select extract(epoch from '2026-07-08 16:10:23'::timestamp) - extract(epoch from '2026-07-08 16:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111867 -2.817697)'), GeomFromEWKT('SRID=4674;POINT (-40.111944 -2.81769)'))) / (select extract(epoch from '2026-07-08 16:10:23'::timestamp) - extract(epoch from '2026-07-08 16:10:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112034 -2.817668)', '2026-07-08 16:10:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111944 -2.81769)'), GeomFromEWKT('SRID=4674;POINT (-40.112034 -2.817668)'))) / (select extract(epoch from '2026-07-08 16:10:39'::timestamp) - extract(epoch from '2026-07-08 16:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.111944 -2.81769)'), GeomFromEWKT('SRID=4674;POINT (-40.112034 -2.817668)'))) / (select extract(epoch from '2026-07-08 16:10:39'::timestamp) - extract(epoch from '2026-07-08 16:10: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'), 47631, 'SRID=4674;POINT (-40.112134 -2.817654)', '2026-07-08 16:10:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112034 -2.817668)'), GeomFromEWKT('SRID=4674;POINT (-40.112134 -2.817654)'))) / (select extract(epoch from '2026-07-08 16:10:57'::timestamp) - extract(epoch from '2026-07-08 16:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112034 -2.817668)'), GeomFromEWKT('SRID=4674;POINT (-40.112134 -2.817654)'))) / (select extract(epoch from '2026-07-08 16:10:57'::timestamp) - extract(epoch from '2026-07-08 16:10: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'), 47631, 'SRID=4674;POINT (-40.112212 -2.817647)', '2026-07-08 16:11:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112134 -2.817654)'), GeomFromEWKT('SRID=4674;POINT (-40.112212 -2.817647)'))) / (select extract(epoch from '2026-07-08 16:11:13'::timestamp) - extract(epoch from '2026-07-08 16:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112134 -2.817654)'), GeomFromEWKT('SRID=4674;POINT (-40.112212 -2.817647)'))) / (select extract(epoch from '2026-07-08 16:11:13'::timestamp) - extract(epoch from '2026-07-08 16:10: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'), 47631, 'SRID=4674;POINT (-40.112288 -2.817619)', '2026-07-08 16:11:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112212 -2.817647)'), GeomFromEWKT('SRID=4674;POINT (-40.112288 -2.817619)'))) / (select extract(epoch from '2026-07-08 16:11:30'::timestamp) - extract(epoch from '2026-07-08 16:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112212 -2.817647)'), GeomFromEWKT('SRID=4674;POINT (-40.112288 -2.817619)'))) / (select extract(epoch from '2026-07-08 16:11:30'::timestamp) - extract(epoch from '2026-07-08 16:11: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'), 47631, 'SRID=4674;POINT (-40.112364 -2.817633)', '2026-07-08 16:11:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112288 -2.817619)'), GeomFromEWKT('SRID=4674;POINT (-40.112364 -2.817633)'))) / (select extract(epoch from '2026-07-08 16:11:44'::timestamp) - extract(epoch from '2026-07-08 16:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112288 -2.817619)'), GeomFromEWKT('SRID=4674;POINT (-40.112364 -2.817633)'))) / (select extract(epoch from '2026-07-08 16:11:44'::timestamp) - extract(epoch from '2026-07-08 16:11: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'), 47631, 'SRID=4674;POINT (-40.112442 -2.817603)', '2026-07-08 16:11:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112364 -2.817633)'), GeomFromEWKT('SRID=4674;POINT (-40.112442 -2.817603)'))) / (select extract(epoch from '2026-07-08 16:11:55'::timestamp) - extract(epoch from '2026-07-08 16:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112364 -2.817633)'), GeomFromEWKT('SRID=4674;POINT (-40.112442 -2.817603)'))) / (select extract(epoch from '2026-07-08 16:11:55'::timestamp) - extract(epoch from '2026-07-08 16:11: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'), 47631, 'SRID=4674;POINT (-40.112539 -2.817507)', '2026-07-08 16:12:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112442 -2.817603)'), GeomFromEWKT('SRID=4674;POINT (-40.112539 -2.817507)'))) / (select extract(epoch from '2026-07-08 16:12:09'::timestamp) - extract(epoch from '2026-07-08 16:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112442 -2.817603)'), GeomFromEWKT('SRID=4674;POINT (-40.112539 -2.817507)'))) / (select extract(epoch from '2026-07-08 16:12:09'::timestamp) - extract(epoch from '2026-07-08 16:11:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11265 -2.817343)', '2026-07-08 16:12:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112539 -2.817507)'), GeomFromEWKT('SRID=4674;POINT (-40.11265 -2.817343)'))) / (select extract(epoch from '2026-07-08 16:12:29'::timestamp) - extract(epoch from '2026-07-08 16:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112539 -2.817507)'), GeomFromEWKT('SRID=4674;POINT (-40.11265 -2.817343)'))) / (select extract(epoch from '2026-07-08 16:12:29'::timestamp) - extract(epoch from '2026-07-08 16:12:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112686 -2.817223)', '2026-07-08 16:12:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11265 -2.817343)'), GeomFromEWKT('SRID=4674;POINT (-40.112686 -2.817223)'))) / (select extract(epoch from '2026-07-08 16:12:43'::timestamp) - extract(epoch from '2026-07-08 16:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11265 -2.817343)'), GeomFromEWKT('SRID=4674;POINT (-40.112686 -2.817223)'))) / (select extract(epoch from '2026-07-08 16:12:43'::timestamp) - extract(epoch from '2026-07-08 16:12: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'), 47631, 'SRID=4674;POINT (-40.112806 -2.817084)', '2026-07-08 16:12:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112686 -2.817223)'), GeomFromEWKT('SRID=4674;POINT (-40.112806 -2.817084)'))) / (select extract(epoch from '2026-07-08 16:12:59'::timestamp) - extract(epoch from '2026-07-08 16:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112686 -2.817223)'), GeomFromEWKT('SRID=4674;POINT (-40.112806 -2.817084)'))) / (select extract(epoch from '2026-07-08 16:12:59'::timestamp) - extract(epoch from '2026-07-08 16:12:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112928 -2.816968)', '2026-07-08 16:13:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112806 -2.817084)'), GeomFromEWKT('SRID=4674;POINT (-40.112928 -2.816968)'))) / (select extract(epoch from '2026-07-08 16:13:14'::timestamp) - extract(epoch from '2026-07-08 16:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112806 -2.817084)'), GeomFromEWKT('SRID=4674;POINT (-40.112928 -2.816968)'))) / (select extract(epoch from '2026-07-08 16:13:14'::timestamp) - extract(epoch from '2026-07-08 16:12:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11301 -2.816847)', '2026-07-08 16:13:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112928 -2.816968)'), GeomFromEWKT('SRID=4674;POINT (-40.11301 -2.816847)'))) / (select extract(epoch from '2026-07-08 16:13:28'::timestamp) - extract(epoch from '2026-07-08 16:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112928 -2.816968)'), GeomFromEWKT('SRID=4674;POINT (-40.11301 -2.816847)'))) / (select extract(epoch from '2026-07-08 16:13:28'::timestamp) - extract(epoch from '2026-07-08 16:13:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113157 -2.816674)', '2026-07-08 16:13:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11301 -2.816847)'), GeomFromEWKT('SRID=4674;POINT (-40.113157 -2.816674)'))) / (select extract(epoch from '2026-07-08 16:13:47'::timestamp) - extract(epoch from '2026-07-08 16:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11301 -2.816847)'), GeomFromEWKT('SRID=4674;POINT (-40.113157 -2.816674)'))) / (select extract(epoch from '2026-07-08 16:13:47'::timestamp) - extract(epoch from '2026-07-08 16:13:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113249 -2.816532)', '2026-07-08 16:14:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113157 -2.816674)'), GeomFromEWKT('SRID=4674;POINT (-40.113249 -2.816532)'))) / (select extract(epoch from '2026-07-08 16:14:03'::timestamp) - extract(epoch from '2026-07-08 16:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113157 -2.816674)'), GeomFromEWKT('SRID=4674;POINT (-40.113249 -2.816532)'))) / (select extract(epoch from '2026-07-08 16:14:03'::timestamp) - extract(epoch from '2026-07-08 16:13:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113343 -2.816388)', '2026-07-08 16:14:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113249 -2.816532)'), GeomFromEWKT('SRID=4674;POINT (-40.113343 -2.816388)'))) / (select extract(epoch from '2026-07-08 16:14:23'::timestamp) - extract(epoch from '2026-07-08 16:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113249 -2.816532)'), GeomFromEWKT('SRID=4674;POINT (-40.113343 -2.816388)'))) / (select extract(epoch from '2026-07-08 16:14:23'::timestamp) - extract(epoch from '2026-07-08 16:14: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'), 47631, 'SRID=4674;POINT (-40.11335 -2.816308)', '2026-07-08 16:14:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113343 -2.816388)'), GeomFromEWKT('SRID=4674;POINT (-40.11335 -2.816308)'))) / (select extract(epoch from '2026-07-08 16:14:35'::timestamp) - extract(epoch from '2026-07-08 16:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113343 -2.816388)'), GeomFromEWKT('SRID=4674;POINT (-40.11335 -2.816308)'))) / (select extract(epoch from '2026-07-08 16:14:35'::timestamp) - extract(epoch from '2026-07-08 16:14:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113325 -2.816266)', '2026-07-08 16:14:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11335 -2.816308)'), GeomFromEWKT('SRID=4674;POINT (-40.113325 -2.816266)'))) / (select extract(epoch from '2026-07-08 16:14:47'::timestamp) - extract(epoch from '2026-07-08 16:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11335 -2.816308)'), GeomFromEWKT('SRID=4674;POINT (-40.113325 -2.816266)'))) / (select extract(epoch from '2026-07-08 16:14:47'::timestamp) - extract(epoch from '2026-07-08 16:14: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'), 47631, 'SRID=4674;POINT (-40.113299 -2.816283)', '2026-07-08 16:14:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113325 -2.816266)'), GeomFromEWKT('SRID=4674;POINT (-40.113299 -2.816283)'))) / (select extract(epoch from '2026-07-08 16:14:56'::timestamp) - extract(epoch from '2026-07-08 16:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113325 -2.816266)'), GeomFromEWKT('SRID=4674;POINT (-40.113299 -2.816283)'))) / (select extract(epoch from '2026-07-08 16:14:56'::timestamp) - extract(epoch from '2026-07-08 16:14: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'), 47631, 'SRID=4674;POINT (-40.113227 -2.816328)', '2026-07-08 16:15:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113299 -2.816283)'), GeomFromEWKT('SRID=4674;POINT (-40.113227 -2.816328)'))) / (select extract(epoch from '2026-07-08 16:15:11'::timestamp) - extract(epoch from '2026-07-08 16:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113299 -2.816283)'), GeomFromEWKT('SRID=4674;POINT (-40.113227 -2.816328)'))) / (select extract(epoch from '2026-07-08 16:15:11'::timestamp) - extract(epoch from '2026-07-08 16: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'), 47631, 'SRID=4674;POINT (-40.113208 -2.816323)', '2026-07-08 16:15:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113227 -2.816328)'), GeomFromEWKT('SRID=4674;POINT (-40.113208 -2.816323)'))) / (select extract(epoch from '2026-07-08 16:15:22'::timestamp) - extract(epoch from '2026-07-08 16:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113227 -2.816328)'), GeomFromEWKT('SRID=4674;POINT (-40.113208 -2.816323)'))) / (select extract(epoch from '2026-07-08 16:15:22'::timestamp) - extract(epoch from '2026-07-08 16:15: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'), 47631, 'SRID=4674;POINT (-40.113216 -2.81625)', '2026-07-08 16:15:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113208 -2.816323)'), GeomFromEWKT('SRID=4674;POINT (-40.113216 -2.81625)'))) / (select extract(epoch from '2026-07-08 16:15:37'::timestamp) - extract(epoch from '2026-07-08 16:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113208 -2.816323)'), GeomFromEWKT('SRID=4674;POINT (-40.113216 -2.81625)'))) / (select extract(epoch from '2026-07-08 16:15:37'::timestamp) - extract(epoch from '2026-07-08 16:15:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113215 -2.816215)', '2026-07-08 16:15:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113216 -2.81625)'), GeomFromEWKT('SRID=4674;POINT (-40.113215 -2.816215)'))) / (select extract(epoch from '2026-07-08 16:15:47'::timestamp) - extract(epoch from '2026-07-08 16:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113216 -2.81625)'), GeomFromEWKT('SRID=4674;POINT (-40.113215 -2.816215)'))) / (select extract(epoch from '2026-07-08 16:15:47'::timestamp) - extract(epoch from '2026-07-08 16: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'), 47631, 'SRID=4674;POINT (-40.113151 -2.8162)', '2026-07-08 16:16:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113215 -2.816215)'), GeomFromEWKT('SRID=4674;POINT (-40.113151 -2.8162)'))) / (select extract(epoch from '2026-07-08 16:16:05'::timestamp) - extract(epoch from '2026-07-08 16:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113215 -2.816215)'), GeomFromEWKT('SRID=4674;POINT (-40.113151 -2.8162)'))) / (select extract(epoch from '2026-07-08 16:16:05'::timestamp) - extract(epoch from '2026-07-08 16:15: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'), 47631, 'SRID=4674;POINT (-40.113155 -2.81615)', '2026-07-08 16:16:18', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113151 -2.8162)'), GeomFromEWKT('SRID=4674;POINT (-40.113155 -2.81615)'))) / (select extract(epoch from '2026-07-08 16:16:18'::timestamp) - extract(epoch from '2026-07-08 16:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113151 -2.8162)'), GeomFromEWKT('SRID=4674;POINT (-40.113155 -2.81615)'))) / (select extract(epoch from '2026-07-08 16:16:18'::timestamp) - extract(epoch from '2026-07-08 16:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11313 -2.816115)', '2026-07-08 16:16:30', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113155 -2.81615)'), GeomFromEWKT('SRID=4674;POINT (-40.11313 -2.816115)'))) / (select extract(epoch from '2026-07-08 16:16:30'::timestamp) - extract(epoch from '2026-07-08 16:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113155 -2.81615)'), GeomFromEWKT('SRID=4674;POINT (-40.11313 -2.816115)'))) / (select extract(epoch from '2026-07-08 16:16:30'::timestamp) - extract(epoch from '2026-07-08 16:16:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.113096 -2.816047)', '2026-07-08 16:16:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11313 -2.816115)'), GeomFromEWKT('SRID=4674;POINT (-40.113096 -2.816047)'))) / (select extract(epoch from '2026-07-08 16:16:48'::timestamp) - extract(epoch from '2026-07-08 16:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11313 -2.816115)'), GeomFromEWKT('SRID=4674;POINT (-40.113096 -2.816047)'))) / (select extract(epoch from '2026-07-08 16:16:48'::timestamp) - extract(epoch from '2026-07-08 16:16: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'), 47631, 'SRID=4674;POINT (-40.11308 -2.816036)', '2026-07-08 16:16:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113096 -2.816047)'), GeomFromEWKT('SRID=4674;POINT (-40.11308 -2.816036)'))) / (select extract(epoch from '2026-07-08 16:16:57'::timestamp) - extract(epoch from '2026-07-08 16:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113096 -2.816047)'), GeomFromEWKT('SRID=4674;POINT (-40.11308 -2.816036)'))) / (select extract(epoch from '2026-07-08 16:16:57'::timestamp) - extract(epoch from '2026-07-08 16: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'), 47631, 'SRID=4674;POINT (-40.113051 -2.81599)', '2026-07-08 16:17:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11308 -2.816036)'), GeomFromEWKT('SRID=4674;POINT (-40.113051 -2.81599)'))) / (select extract(epoch from '2026-07-08 16:17:11'::timestamp) - extract(epoch from '2026-07-08 16:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11308 -2.816036)'), GeomFromEWKT('SRID=4674;POINT (-40.113051 -2.81599)'))) / (select extract(epoch from '2026-07-08 16:17:11'::timestamp) - extract(epoch from '2026-07-08 16: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'), 47631, 'SRID=4674;POINT (-40.113047 -2.815977)', '2026-07-08 16:17:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113051 -2.81599)'), GeomFromEWKT('SRID=4674;POINT (-40.113047 -2.815977)'))) / (select extract(epoch from '2026-07-08 16:17:19'::timestamp) - extract(epoch from '2026-07-08 16:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113051 -2.81599)'), GeomFromEWKT('SRID=4674;POINT (-40.113047 -2.815977)'))) / (select extract(epoch from '2026-07-08 16:17:19'::timestamp) - extract(epoch from '2026-07-08 16:17:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112985 -2.815933)', '2026-07-08 16:17:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113047 -2.815977)'), GeomFromEWKT('SRID=4674;POINT (-40.112985 -2.815933)'))) / (select extract(epoch from '2026-07-08 16:17:33'::timestamp) - extract(epoch from '2026-07-08 16:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113047 -2.815977)'), GeomFromEWKT('SRID=4674;POINT (-40.112985 -2.815933)'))) / (select extract(epoch from '2026-07-08 16:17:33'::timestamp) - extract(epoch from '2026-07-08 16:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112913 -2.815913)', '2026-07-08 16:17:51', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112985 -2.815933)'), GeomFromEWKT('SRID=4674;POINT (-40.112913 -2.815913)'))) / (select extract(epoch from '2026-07-08 16:17:51'::timestamp) - extract(epoch from '2026-07-08 16:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112985 -2.815933)'), GeomFromEWKT('SRID=4674;POINT (-40.112913 -2.815913)'))) / (select extract(epoch from '2026-07-08 16:17:51'::timestamp) - extract(epoch from '2026-07-08 16:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11287 -2.815906)', '2026-07-08 16:18:03', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112913 -2.815913)'), GeomFromEWKT('SRID=4674;POINT (-40.11287 -2.815906)'))) / (select extract(epoch from '2026-07-08 16:18:03'::timestamp) - extract(epoch from '2026-07-08 16:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112913 -2.815913)'), GeomFromEWKT('SRID=4674;POINT (-40.11287 -2.815906)'))) / (select extract(epoch from '2026-07-08 16:18:03'::timestamp) - extract(epoch from '2026-07-08 16:17:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11282 -2.81586)', '2026-07-08 16:18:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11287 -2.815906)'), GeomFromEWKT('SRID=4674;POINT (-40.11282 -2.81586)'))) / (select extract(epoch from '2026-07-08 16:18:27'::timestamp) - extract(epoch from '2026-07-08 16:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11287 -2.815906)'), GeomFromEWKT('SRID=4674;POINT (-40.11282 -2.81586)'))) / (select extract(epoch from '2026-07-08 16:18:27'::timestamp) - extract(epoch from '2026-07-08 16:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112814 -2.815825)', '2026-07-08 16:18:37', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11282 -2.81586)'), GeomFromEWKT('SRID=4674;POINT (-40.112814 -2.815825)'))) / (select extract(epoch from '2026-07-08 16:18:37'::timestamp) - extract(epoch from '2026-07-08 16:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11282 -2.81586)'), GeomFromEWKT('SRID=4674;POINT (-40.112814 -2.815825)'))) / (select extract(epoch from '2026-07-08 16:18:37'::timestamp) - extract(epoch from '2026-07-08 16:18: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'), 47631, 'SRID=4674;POINT (-40.112742 -2.81584)', '2026-07-08 16:18:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112814 -2.815825)'), GeomFromEWKT('SRID=4674;POINT (-40.112742 -2.81584)'))) / (select extract(epoch from '2026-07-08 16:18:56'::timestamp) - extract(epoch from '2026-07-08 16:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112814 -2.815825)'), GeomFromEWKT('SRID=4674;POINT (-40.112742 -2.81584)'))) / (select extract(epoch from '2026-07-08 16:18:56'::timestamp) - extract(epoch from '2026-07-08 16: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'), 47631, 'SRID=4674;POINT (-40.112682 -2.815802)', '2026-07-08 16:19:09', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112742 -2.81584)'), GeomFromEWKT('SRID=4674;POINT (-40.112682 -2.815802)'))) / (select extract(epoch from '2026-07-08 16:19:09'::timestamp) - extract(epoch from '2026-07-08 16:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112742 -2.81584)'), GeomFromEWKT('SRID=4674;POINT (-40.112682 -2.815802)'))) / (select extract(epoch from '2026-07-08 16:19:09'::timestamp) - extract(epoch from '2026-07-08 16:18: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'), 47631, 'SRID=4674;POINT (-40.112669 -2.815775)', '2026-07-08 16:19:23', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112682 -2.815802)'), GeomFromEWKT('SRID=4674;POINT (-40.112669 -2.815775)'))) / (select extract(epoch from '2026-07-08 16:19:23'::timestamp) - extract(epoch from '2026-07-08 16:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112682 -2.815802)'), GeomFromEWKT('SRID=4674;POINT (-40.112669 -2.815775)'))) / (select extract(epoch from '2026-07-08 16:19:23'::timestamp) - extract(epoch from '2026-07-08 16:19:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112652 -2.815724)', '2026-07-08 16:19:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112669 -2.815775)'), GeomFromEWKT('SRID=4674;POINT (-40.112652 -2.815724)'))) / (select extract(epoch from '2026-07-08 16:19:33'::timestamp) - extract(epoch from '2026-07-08 16:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112669 -2.815775)'), GeomFromEWKT('SRID=4674;POINT (-40.112652 -2.815724)'))) / (select extract(epoch from '2026-07-08 16:19:33'::timestamp) - extract(epoch from '2026-07-08 16:19:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112614 -2.815717)', '2026-07-08 16:19:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112652 -2.815724)'), GeomFromEWKT('SRID=4674;POINT (-40.112614 -2.815717)'))) / (select extract(epoch from '2026-07-08 16:19:47'::timestamp) - extract(epoch from '2026-07-08 16:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112652 -2.815724)'), GeomFromEWKT('SRID=4674;POINT (-40.112614 -2.815717)'))) / (select extract(epoch from '2026-07-08 16:19:47'::timestamp) - extract(epoch from '2026-07-08 16:19: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'), 47631, 'SRID=4674;POINT (-40.112546 -2.815719)', '2026-07-08 16:20:04', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112614 -2.815717)'), GeomFromEWKT('SRID=4674;POINT (-40.112546 -2.815719)'))) / (select extract(epoch from '2026-07-08 16:20:04'::timestamp) - extract(epoch from '2026-07-08 16:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112614 -2.815717)'), GeomFromEWKT('SRID=4674;POINT (-40.112546 -2.815719)'))) / (select extract(epoch from '2026-07-08 16:20:04'::timestamp) - extract(epoch from '2026-07-08 16:19:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112532 -2.815692)', '2026-07-08 16:20:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112546 -2.815719)'), GeomFromEWKT('SRID=4674;POINT (-40.112532 -2.815692)'))) / (select extract(epoch from '2026-07-08 16:20:14'::timestamp) - extract(epoch from '2026-07-08 16:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112546 -2.815719)'), GeomFromEWKT('SRID=4674;POINT (-40.112532 -2.815692)'))) / (select extract(epoch from '2026-07-08 16:20:14'::timestamp) - extract(epoch from '2026-07-08 16:20:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11251 -2.815676)', '2026-07-08 16:20:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112532 -2.815692)'), GeomFromEWKT('SRID=4674;POINT (-40.11251 -2.815676)'))) / (select extract(epoch from '2026-07-08 16:20:26'::timestamp) - extract(epoch from '2026-07-08 16:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112532 -2.815692)'), GeomFromEWKT('SRID=4674;POINT (-40.11251 -2.815676)'))) / (select extract(epoch from '2026-07-08 16:20:26'::timestamp) - extract(epoch from '2026-07-08 16:20: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'), 47631, 'SRID=4674;POINT (-40.112507 -2.815674)', '2026-07-08 16:20:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11251 -2.815676)'), GeomFromEWKT('SRID=4674;POINT (-40.112507 -2.815674)'))) / (select extract(epoch from '2026-07-08 16:20:27'::timestamp) - extract(epoch from '2026-07-08 16:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11251 -2.815676)'), GeomFromEWKT('SRID=4674;POINT (-40.112507 -2.815674)'))) / (select extract(epoch from '2026-07-08 16:20:27'::timestamp) - extract(epoch from '2026-07-08 16:20:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11247 -2.81566)', '2026-07-08 16:20:38', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112507 -2.815674)'), GeomFromEWKT('SRID=4674;POINT (-40.11247 -2.81566)'))) / (select extract(epoch from '2026-07-08 16:20:38'::timestamp) - extract(epoch from '2026-07-08 16:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112507 -2.815674)'), GeomFromEWKT('SRID=4674;POINT (-40.11247 -2.81566)'))) / (select extract(epoch from '2026-07-08 16:20:38'::timestamp) - extract(epoch from '2026-07-08 16:20:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112419 -2.815659)', '2026-07-08 16:20:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11247 -2.81566)'), GeomFromEWKT('SRID=4674;POINT (-40.112419 -2.815659)'))) / (select extract(epoch from '2026-07-08 16:20:51'::timestamp) - extract(epoch from '2026-07-08 16:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11247 -2.81566)'), GeomFromEWKT('SRID=4674;POINT (-40.112419 -2.815659)'))) / (select extract(epoch from '2026-07-08 16:20:51'::timestamp) - extract(epoch from '2026-07-08 16:20: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'), 47631, 'SRID=4674;POINT (-40.112408 -2.815655)', '2026-07-08 16:21:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112419 -2.815659)'), GeomFromEWKT('SRID=4674;POINT (-40.112408 -2.815655)'))) / (select extract(epoch from '2026-07-08 16:21:04'::timestamp) - extract(epoch from '2026-07-08 16:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112419 -2.815659)'), GeomFromEWKT('SRID=4674;POINT (-40.112408 -2.815655)'))) / (select extract(epoch from '2026-07-08 16:21:04'::timestamp) - extract(epoch from '2026-07-08 16:20:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112367 -2.815608)', '2026-07-08 16:21:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112408 -2.815655)'), GeomFromEWKT('SRID=4674;POINT (-40.112367 -2.815608)'))) / (select extract(epoch from '2026-07-08 16:21:17'::timestamp) - extract(epoch from '2026-07-08 16:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112408 -2.815655)'), GeomFromEWKT('SRID=4674;POINT (-40.112367 -2.815608)'))) / (select extract(epoch from '2026-07-08 16:21:17'::timestamp) - extract(epoch from '2026-07-08 16:21:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11234 -2.815564)', '2026-07-08 16:21:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112367 -2.815608)'), GeomFromEWKT('SRID=4674;POINT (-40.11234 -2.815564)'))) / (select extract(epoch from '2026-07-08 16:21:34'::timestamp) - extract(epoch from '2026-07-08 16:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112367 -2.815608)'), GeomFromEWKT('SRID=4674;POINT (-40.11234 -2.815564)'))) / (select extract(epoch from '2026-07-08 16:21:34'::timestamp) - extract(epoch from '2026-07-08 16:21:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112347 -2.815501)', '2026-07-08 16:21:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11234 -2.815564)'), GeomFromEWKT('SRID=4674;POINT (-40.112347 -2.815501)'))) / (select extract(epoch from '2026-07-08 16:21:45'::timestamp) - extract(epoch from '2026-07-08 16:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11234 -2.815564)'), GeomFromEWKT('SRID=4674;POINT (-40.112347 -2.815501)'))) / (select extract(epoch from '2026-07-08 16:21:45'::timestamp) - extract(epoch from '2026-07-08 16:21:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112393 -2.815418)', '2026-07-08 16:22:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112347 -2.815501)'), GeomFromEWKT('SRID=4674;POINT (-40.112393 -2.815418)'))) / (select extract(epoch from '2026-07-08 16:22:01'::timestamp) - extract(epoch from '2026-07-08 16:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112347 -2.815501)'), GeomFromEWKT('SRID=4674;POINT (-40.112393 -2.815418)'))) / (select extract(epoch from '2026-07-08 16:22:01'::timestamp) - extract(epoch from '2026-07-08 16:21: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'), 47631, 'SRID=4674;POINT (-40.112387 -2.815424)', '2026-07-08 16:22:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112393 -2.815418)'), GeomFromEWKT('SRID=4674;POINT (-40.112387 -2.815424)'))) / (select extract(epoch from '2026-07-08 16:22:12'::timestamp) - extract(epoch from '2026-07-08 16:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112393 -2.815418)'), GeomFromEWKT('SRID=4674;POINT (-40.112387 -2.815424)'))) / (select extract(epoch from '2026-07-08 16:22:12'::timestamp) - extract(epoch from '2026-07-08 16: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'), 47631, 'SRID=4674;POINT (-40.112355 -2.81547)', '2026-07-08 16:22:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112387 -2.815424)'), GeomFromEWKT('SRID=4674;POINT (-40.112355 -2.81547)'))) / (select extract(epoch from '2026-07-08 16:22:25'::timestamp) - extract(epoch from '2026-07-08 16:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112387 -2.815424)'), GeomFromEWKT('SRID=4674;POINT (-40.112355 -2.81547)'))) / (select extract(epoch from '2026-07-08 16:22:25'::timestamp) - extract(epoch from '2026-07-08 16:22: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'), 47631, 'SRID=4674;POINT (-40.112343 -2.815405)', '2026-07-08 16:22:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112355 -2.81547)'), GeomFromEWKT('SRID=4674;POINT (-40.112343 -2.815405)'))) / (select extract(epoch from '2026-07-08 16:22:45'::timestamp) - extract(epoch from '2026-07-08 16:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112355 -2.81547)'), GeomFromEWKT('SRID=4674;POINT (-40.112343 -2.815405)'))) / (select extract(epoch from '2026-07-08 16:22:45'::timestamp) - extract(epoch from '2026-07-08 16:22: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'), 47631, 'SRID=4674;POINT (-40.112358 -2.815312)', '2026-07-08 16:23:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112343 -2.815405)'), GeomFromEWKT('SRID=4674;POINT (-40.112358 -2.815312)'))) / (select extract(epoch from '2026-07-08 16:23:00'::timestamp) - extract(epoch from '2026-07-08 16:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112343 -2.815405)'), GeomFromEWKT('SRID=4674;POINT (-40.112358 -2.815312)'))) / (select extract(epoch from '2026-07-08 16:23:00'::timestamp) - extract(epoch from '2026-07-08 16:22: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'), 47631, 'SRID=4674;POINT (-40.112364 -2.815225)', '2026-07-08 16:23:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112358 -2.815312)'), GeomFromEWKT('SRID=4674;POINT (-40.112364 -2.815225)'))) / (select extract(epoch from '2026-07-08 16:23:16'::timestamp) - extract(epoch from '2026-07-08 16:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112358 -2.815312)'), GeomFromEWKT('SRID=4674;POINT (-40.112364 -2.815225)'))) / (select extract(epoch from '2026-07-08 16:23:16'::timestamp) - extract(epoch from '2026-07-08 16:23: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'), 47631, 'SRID=4674;POINT (-40.112356 -2.815184)', '2026-07-08 16:23:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112364 -2.815225)'), GeomFromEWKT('SRID=4674;POINT (-40.112356 -2.815184)'))) / (select extract(epoch from '2026-07-08 16:23:27'::timestamp) - extract(epoch from '2026-07-08 16:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112364 -2.815225)'), GeomFromEWKT('SRID=4674;POINT (-40.112356 -2.815184)'))) / (select extract(epoch from '2026-07-08 16:23:27'::timestamp) - extract(epoch from '2026-07-08 16:23:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.11232 -2.815151)', '2026-07-08 16:23:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112356 -2.815184)'), GeomFromEWKT('SRID=4674;POINT (-40.11232 -2.815151)'))) / (select extract(epoch from '2026-07-08 16:23:43'::timestamp) - extract(epoch from '2026-07-08 16:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112356 -2.815184)'), GeomFromEWKT('SRID=4674;POINT (-40.11232 -2.815151)'))) / (select extract(epoch from '2026-07-08 16:23:43'::timestamp) - extract(epoch from '2026-07-08 16:23: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'), 47631, 'SRID=4674;POINT (-40.112305 -2.815104)', '2026-07-08 16:23:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11232 -2.815151)'), GeomFromEWKT('SRID=4674;POINT (-40.112305 -2.815104)'))) / (select extract(epoch from '2026-07-08 16:23:57'::timestamp) - extract(epoch from '2026-07-08 16:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11232 -2.815151)'), GeomFromEWKT('SRID=4674;POINT (-40.112305 -2.815104)'))) / (select extract(epoch from '2026-07-08 16:23:57'::timestamp) - extract(epoch from '2026-07-08 16:23:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47631, 'SRID=4674;POINT (-40.112243 -2.815129)', '2026-07-08 16:24:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112305 -2.815104)'), GeomFromEWKT('SRID=4674;POINT (-40.112243 -2.815129)'))) / (select extract(epoch from '2026-07-08 16:24:13'::timestamp) - extract(epoch from '2026-07-08 16:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112305 -2.815104)'), GeomFromEWKT('SRID=4674;POINT (-40.112243 -2.815129)'))) / (select extract(epoch from '2026-07-08 16:24:13'::timestamp) - extract(epoch from '2026-07-08 16:23:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
