 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.788782 -3.561504)', '2026-08-04 04:48:57', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788796 -3.561495)'), GeomFromEWKT('SRID=4674;POINT (-38.788782 -3.561504)'))) / (select extract(epoch from '2026-08-04 04:48:57'::timestamp) - extract(epoch from '2026-08-04 04:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788796 -3.561495)'), GeomFromEWKT('SRID=4674;POINT (-38.788782 -3.561504)'))) / (select extract(epoch from '2026-08-04 04:48:57'::timestamp) - extract(epoch from '2026-08-04 04:48:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.788714 -3.561562)', '2026-08-04 04:49:02', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788782 -3.561504)'), GeomFromEWKT('SRID=4674;POINT (-38.788714 -3.561562)'))) / (select extract(epoch from '2026-08-04 04:49:02'::timestamp) - extract(epoch from '2026-08-04 04:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788782 -3.561504)'), GeomFromEWKT('SRID=4674;POINT (-38.788714 -3.561562)'))) / (select extract(epoch from '2026-08-04 04:49:02'::timestamp) - extract(epoch from '2026-08-04 04:48: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'), 48149, 'SRID=4674;POINT (-38.788634 -3.561637)', '2026-08-04 04:49:08', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788714 -3.561562)'), GeomFromEWKT('SRID=4674;POINT (-38.788634 -3.561637)'))) / (select extract(epoch from '2026-08-04 04:49:08'::timestamp) - extract(epoch from '2026-08-04 04:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788714 -3.561562)'), GeomFromEWKT('SRID=4674;POINT (-38.788634 -3.561637)'))) / (select extract(epoch from '2026-08-04 04:49:08'::timestamp) - extract(epoch from '2026-08-04 04:49: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'), 48149, 'SRID=4674;POINT (-38.788548 -3.561704)', '2026-08-04 04:49:14', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788634 -3.561637)'), GeomFromEWKT('SRID=4674;POINT (-38.788548 -3.561704)'))) / (select extract(epoch from '2026-08-04 04:49:14'::timestamp) - extract(epoch from '2026-08-04 04:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788634 -3.561637)'), GeomFromEWKT('SRID=4674;POINT (-38.788548 -3.561704)'))) / (select extract(epoch from '2026-08-04 04:49:14'::timestamp) - extract(epoch from '2026-08-04 04:49: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'), 48149, 'SRID=4674;POINT (-38.788465 -3.561767)', '2026-08-04 04:49:20', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788548 -3.561704)'), GeomFromEWKT('SRID=4674;POINT (-38.788465 -3.561767)'))) / (select extract(epoch from '2026-08-04 04:49:20'::timestamp) - extract(epoch from '2026-08-04 04:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788548 -3.561704)'), GeomFromEWKT('SRID=4674;POINT (-38.788465 -3.561767)'))) / (select extract(epoch from '2026-08-04 04:49:20'::timestamp) - extract(epoch from '2026-08-04 04:49: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'), 48149, 'SRID=4674;POINT (-38.788354 -3.561857)', '2026-08-04 04:49:28', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788465 -3.561767)'), GeomFromEWKT('SRID=4674;POINT (-38.788354 -3.561857)'))) / (select extract(epoch from '2026-08-04 04:49:28'::timestamp) - extract(epoch from '2026-08-04 04:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788465 -3.561767)'), GeomFromEWKT('SRID=4674;POINT (-38.788354 -3.561857)'))) / (select extract(epoch from '2026-08-04 04:49:28'::timestamp) - extract(epoch from '2026-08-04 04:49: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'), 48149, 'SRID=4674;POINT (-38.788261 -3.561934)', '2026-08-04 04:49:35', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788354 -3.561857)'), GeomFromEWKT('SRID=4674;POINT (-38.788261 -3.561934)'))) / (select extract(epoch from '2026-08-04 04:49:35'::timestamp) - extract(epoch from '2026-08-04 04:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788354 -3.561857)'), GeomFromEWKT('SRID=4674;POINT (-38.788261 -3.561934)'))) / (select extract(epoch from '2026-08-04 04:49:35'::timestamp) - extract(epoch from '2026-08-04 04:49:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.788169 -3.562012)', '2026-08-04 04:49:42', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788261 -3.561934)'), GeomFromEWKT('SRID=4674;POINT (-38.788169 -3.562012)'))) / (select extract(epoch from '2026-08-04 04:49:42'::timestamp) - extract(epoch from '2026-08-04 04:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788261 -3.561934)'), GeomFromEWKT('SRID=4674;POINT (-38.788169 -3.562012)'))) / (select extract(epoch from '2026-08-04 04:49:42'::timestamp) - extract(epoch from '2026-08-04 04:49: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'), 48149, 'SRID=4674;POINT (-38.788096 -3.562096)', '2026-08-04 04:49:48', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788169 -3.562012)'), GeomFromEWKT('SRID=4674;POINT (-38.788096 -3.562096)'))) / (select extract(epoch from '2026-08-04 04:49:48'::timestamp) - extract(epoch from '2026-08-04 04:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788169 -3.562012)'), GeomFromEWKT('SRID=4674;POINT (-38.788096 -3.562096)'))) / (select extract(epoch from '2026-08-04 04:49:48'::timestamp) - extract(epoch from '2026-08-04 04:49: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'), 48149, 'SRID=4674;POINT (-38.788028 -3.562153)', '2026-08-04 04:49:53', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788096 -3.562096)'), GeomFromEWKT('SRID=4674;POINT (-38.788028 -3.562153)'))) / (select extract(epoch from '2026-08-04 04:49:53'::timestamp) - extract(epoch from '2026-08-04 04:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788096 -3.562096)'), GeomFromEWKT('SRID=4674;POINT (-38.788028 -3.562153)'))) / (select extract(epoch from '2026-08-04 04:49:53'::timestamp) - extract(epoch from '2026-08-04 04:49: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'), 48149, 'SRID=4674;POINT (-38.787938 -3.562219)', '2026-08-04 04:49:59', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788028 -3.562153)'), GeomFromEWKT('SRID=4674;POINT (-38.787938 -3.562219)'))) / (select extract(epoch from '2026-08-04 04:49:59'::timestamp) - extract(epoch from '2026-08-04 04:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788028 -3.562153)'), GeomFromEWKT('SRID=4674;POINT (-38.787938 -3.562219)'))) / (select extract(epoch from '2026-08-04 04:49:59'::timestamp) - extract(epoch from '2026-08-04 04:49: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'), 48149, 'SRID=4674;POINT (-38.787837 -3.562299)', '2026-08-04 04:50:06', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787938 -3.562219)'), GeomFromEWKT('SRID=4674;POINT (-38.787837 -3.562299)'))) / (select extract(epoch from '2026-08-04 04:50:06'::timestamp) - extract(epoch from '2026-08-04 04:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787938 -3.562219)'), GeomFromEWKT('SRID=4674;POINT (-38.787837 -3.562299)'))) / (select extract(epoch from '2026-08-04 04:50:06'::timestamp) - extract(epoch from '2026-08-04 04:49:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.78775 -3.562358)', '2026-08-04 04:50:12', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787837 -3.562299)'), GeomFromEWKT('SRID=4674;POINT (-38.78775 -3.562358)'))) / (select extract(epoch from '2026-08-04 04:50:12'::timestamp) - extract(epoch from '2026-08-04 04:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787837 -3.562299)'), GeomFromEWKT('SRID=4674;POINT (-38.78775 -3.562358)'))) / (select extract(epoch from '2026-08-04 04:50:12'::timestamp) - extract(epoch from '2026-08-04 04:50: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'), 48149, 'SRID=4674;POINT (-38.787738 -3.562371)', '2026-08-04 04:50:13', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78775 -3.562358)'), GeomFromEWKT('SRID=4674;POINT (-38.787738 -3.562371)'))) / (select extract(epoch from '2026-08-04 04:50:13'::timestamp) - extract(epoch from '2026-08-04 04:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78775 -3.562358)'), GeomFromEWKT('SRID=4674;POINT (-38.787738 -3.562371)'))) / (select extract(epoch from '2026-08-04 04:50:13'::timestamp) - extract(epoch from '2026-08-04 04:50: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'), 48149, 'SRID=4674;POINT (-38.787646 -3.562445)', '2026-08-04 04:50:19', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787738 -3.562371)'), GeomFromEWKT('SRID=4674;POINT (-38.787646 -3.562445)'))) / (select extract(epoch from '2026-08-04 04:50:19'::timestamp) - extract(epoch from '2026-08-04 04:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787738 -3.562371)'), GeomFromEWKT('SRID=4674;POINT (-38.787646 -3.562445)'))) / (select extract(epoch from '2026-08-04 04:50:19'::timestamp) - extract(epoch from '2026-08-04 04:50:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.787563 -3.562515)', '2026-08-04 04:50:25', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787646 -3.562445)'), GeomFromEWKT('SRID=4674;POINT (-38.787563 -3.562515)'))) / (select extract(epoch from '2026-08-04 04:50:25'::timestamp) - extract(epoch from '2026-08-04 04:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787646 -3.562445)'), GeomFromEWKT('SRID=4674;POINT (-38.787563 -3.562515)'))) / (select extract(epoch from '2026-08-04 04:50:25'::timestamp) - extract(epoch from '2026-08-04 04: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'), 48149, 'SRID=4674;POINT (-38.787494 -3.562579)', '2026-08-04 04:50:30', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787563 -3.562515)'), GeomFromEWKT('SRID=4674;POINT (-38.787494 -3.562579)'))) / (select extract(epoch from '2026-08-04 04:50:30'::timestamp) - extract(epoch from '2026-08-04 04:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787563 -3.562515)'), GeomFromEWKT('SRID=4674;POINT (-38.787494 -3.562579)'))) / (select extract(epoch from '2026-08-04 04:50:30'::timestamp) - extract(epoch from '2026-08-04 04:50: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'), 48149, 'SRID=4674;POINT (-38.787478 -3.562589)', '2026-08-04 04:50:31', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787494 -3.562579)'), GeomFromEWKT('SRID=4674;POINT (-38.787478 -3.562589)'))) / (select extract(epoch from '2026-08-04 04:50:31'::timestamp) - extract(epoch from '2026-08-04 04:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787494 -3.562579)'), GeomFromEWKT('SRID=4674;POINT (-38.787478 -3.562589)'))) / (select extract(epoch from '2026-08-04 04:50:31'::timestamp) - extract(epoch from '2026-08-04 04:50: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'), 48149, 'SRID=4674;POINT (-38.78735 -3.562685)', '2026-08-04 04:50:39', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787478 -3.562589)'), GeomFromEWKT('SRID=4674;POINT (-38.78735 -3.562685)'))) / (select extract(epoch from '2026-08-04 04:50:39'::timestamp) - extract(epoch from '2026-08-04 04:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787478 -3.562589)'), GeomFromEWKT('SRID=4674;POINT (-38.78735 -3.562685)'))) / (select extract(epoch from '2026-08-04 04:50:39'::timestamp) - extract(epoch from '2026-08-04 04:50: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'), 48149, 'SRID=4674;POINT (-38.787312 -3.562706)', '2026-08-04 04:50:41', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78735 -3.562685)'), GeomFromEWKT('SRID=4674;POINT (-38.787312 -3.562706)'))) / (select extract(epoch from '2026-08-04 04:50:41'::timestamp) - extract(epoch from '2026-08-04 04:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78735 -3.562685)'), GeomFromEWKT('SRID=4674;POINT (-38.787312 -3.562706)'))) / (select extract(epoch from '2026-08-04 04:50:41'::timestamp) - extract(epoch from '2026-08-04 04:50:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.787268 -3.562747)', '2026-08-04 04:50:44', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787312 -3.562706)'), GeomFromEWKT('SRID=4674;POINT (-38.787268 -3.562747)'))) / (select extract(epoch from '2026-08-04 04:50:44'::timestamp) - extract(epoch from '2026-08-04 04:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787312 -3.562706)'), GeomFromEWKT('SRID=4674;POINT (-38.787268 -3.562747)'))) / (select extract(epoch from '2026-08-04 04:50:44'::timestamp) - extract(epoch from '2026-08-04 04:50: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'), 48149, 'SRID=4674;POINT (-38.787185 -3.562812)', '2026-08-04 04:50:50', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787268 -3.562747)'), GeomFromEWKT('SRID=4674;POINT (-38.787185 -3.562812)'))) / (select extract(epoch from '2026-08-04 04:50:50'::timestamp) - extract(epoch from '2026-08-04 04:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787268 -3.562747)'), GeomFromEWKT('SRID=4674;POINT (-38.787185 -3.562812)'))) / (select extract(epoch from '2026-08-04 04:50:50'::timestamp) - extract(epoch from '2026-08-04 04:50: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'), 48149, 'SRID=4674;POINT (-38.787122 -3.562869)', '2026-08-04 04:50:55', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787185 -3.562812)'), GeomFromEWKT('SRID=4674;POINT (-38.787122 -3.562869)'))) / (select extract(epoch from '2026-08-04 04:50:55'::timestamp) - extract(epoch from '2026-08-04 04:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787185 -3.562812)'), GeomFromEWKT('SRID=4674;POINT (-38.787122 -3.562869)'))) / (select extract(epoch from '2026-08-04 04:50:55'::timestamp) - extract(epoch from '2026-08-04 04:50: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'), 48149, 'SRID=4674;POINT (-38.78708 -3.5629)', '2026-08-04 04:50:58', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787122 -3.562869)'), GeomFromEWKT('SRID=4674;POINT (-38.78708 -3.5629)'))) / (select extract(epoch from '2026-08-04 04:50:58'::timestamp) - extract(epoch from '2026-08-04 04:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787122 -3.562869)'), GeomFromEWKT('SRID=4674;POINT (-38.78708 -3.5629)'))) / (select extract(epoch from '2026-08-04 04:50:58'::timestamp) - extract(epoch from '2026-08-04 04:50: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'), 48149, 'SRID=4674;POINT (-38.787056 -3.562926)', '2026-08-04 04:51:00', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78708 -3.5629)'), GeomFromEWKT('SRID=4674;POINT (-38.787056 -3.562926)'))) / (select extract(epoch from '2026-08-04 04:51:00'::timestamp) - extract(epoch from '2026-08-04 04:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78708 -3.5629)'), GeomFromEWKT('SRID=4674;POINT (-38.787056 -3.562926)'))) / (select extract(epoch from '2026-08-04 04:51:00'::timestamp) - extract(epoch from '2026-08-04 04:50: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'), 48149, 'SRID=4674;POINT (-38.786964 -3.562993)', '2026-08-04 04:51:06', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787056 -3.562926)'), GeomFromEWKT('SRID=4674;POINT (-38.786964 -3.562993)'))) / (select extract(epoch from '2026-08-04 04:51:06'::timestamp) - extract(epoch from '2026-08-04 04:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787056 -3.562926)'), GeomFromEWKT('SRID=4674;POINT (-38.786964 -3.562993)'))) / (select extract(epoch from '2026-08-04 04:51:06'::timestamp) - extract(epoch from '2026-08-04 04:51: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'), 48149, 'SRID=4674;POINT (-38.786859 -3.563063)', '2026-08-04 04:51:13', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786964 -3.562993)'), GeomFromEWKT('SRID=4674;POINT (-38.786859 -3.563063)'))) / (select extract(epoch from '2026-08-04 04:51:13'::timestamp) - extract(epoch from '2026-08-04 04:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786964 -3.562993)'), GeomFromEWKT('SRID=4674;POINT (-38.786859 -3.563063)'))) / (select extract(epoch from '2026-08-04 04:51:13'::timestamp) - extract(epoch from '2026-08-04 04:51: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'), 48149, 'SRID=4674;POINT (-38.786762 -3.563125)', '2026-08-04 04:51:19', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786859 -3.563063)'), GeomFromEWKT('SRID=4674;POINT (-38.786762 -3.563125)'))) / (select extract(epoch from '2026-08-04 04:51:19'::timestamp) - extract(epoch from '2026-08-04 04:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786859 -3.563063)'), GeomFromEWKT('SRID=4674;POINT (-38.786762 -3.563125)'))) / (select extract(epoch from '2026-08-04 04:51:19'::timestamp) - extract(epoch from '2026-08-04 04:51: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'), 48149, 'SRID=4674;POINT (-38.786662 -3.563186)', '2026-08-04 04:51:25', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786762 -3.563125)'), GeomFromEWKT('SRID=4674;POINT (-38.786662 -3.563186)'))) / (select extract(epoch from '2026-08-04 04:51:25'::timestamp) - extract(epoch from '2026-08-04 04:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786762 -3.563125)'), GeomFromEWKT('SRID=4674;POINT (-38.786662 -3.563186)'))) / (select extract(epoch from '2026-08-04 04:51:25'::timestamp) - extract(epoch from '2026-08-04 04:51: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'), 48149, 'SRID=4674;POINT (-38.786583 -3.563225)', '2026-08-04 04:51:30', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786662 -3.563186)'), GeomFromEWKT('SRID=4674;POINT (-38.786583 -3.563225)'))) / (select extract(epoch from '2026-08-04 04:51:30'::timestamp) - extract(epoch from '2026-08-04 04:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786662 -3.563186)'), GeomFromEWKT('SRID=4674;POINT (-38.786583 -3.563225)'))) / (select extract(epoch from '2026-08-04 04:51:30'::timestamp) - extract(epoch from '2026-08-04 04:51:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.786507 -3.563275)', '2026-08-04 04:51:35', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786583 -3.563225)'), GeomFromEWKT('SRID=4674;POINT (-38.786507 -3.563275)'))) / (select extract(epoch from '2026-08-04 04:51:35'::timestamp) - extract(epoch from '2026-08-04 04:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786583 -3.563225)'), GeomFromEWKT('SRID=4674;POINT (-38.786507 -3.563275)'))) / (select extract(epoch from '2026-08-04 04:51:35'::timestamp) - extract(epoch from '2026-08-04 04:51: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'), 48149, 'SRID=4674;POINT (-38.786427 -3.563323)', '2026-08-04 04:51:40', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786507 -3.563275)'), GeomFromEWKT('SRID=4674;POINT (-38.786427 -3.563323)'))) / (select extract(epoch from '2026-08-04 04:51:40'::timestamp) - extract(epoch from '2026-08-04 04:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786507 -3.563275)'), GeomFromEWKT('SRID=4674;POINT (-38.786427 -3.563323)'))) / (select extract(epoch from '2026-08-04 04:51:40'::timestamp) - extract(epoch from '2026-08-04 04:51:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.786349 -3.563373)', '2026-08-04 04:51:45', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786427 -3.563323)'), GeomFromEWKT('SRID=4674;POINT (-38.786349 -3.563373)'))) / (select extract(epoch from '2026-08-04 04:51:45'::timestamp) - extract(epoch from '2026-08-04 04:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786427 -3.563323)'), GeomFromEWKT('SRID=4674;POINT (-38.786349 -3.563373)'))) / (select extract(epoch from '2026-08-04 04:51:45'::timestamp) - extract(epoch from '2026-08-04 04:51:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.786237 -3.563459)', '2026-08-04 04:51:52', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786349 -3.563373)'), GeomFromEWKT('SRID=4674;POINT (-38.786237 -3.563459)'))) / (select extract(epoch from '2026-08-04 04:51:52'::timestamp) - extract(epoch from '2026-08-04 04:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786349 -3.563373)'), GeomFromEWKT('SRID=4674;POINT (-38.786237 -3.563459)'))) / (select extract(epoch from '2026-08-04 04:51:52'::timestamp) - extract(epoch from '2026-08-04 04:51:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.786135 -3.56354)', '2026-08-04 04:51:59', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786237 -3.563459)'), GeomFromEWKT('SRID=4674;POINT (-38.786135 -3.56354)'))) / (select extract(epoch from '2026-08-04 04:51:59'::timestamp) - extract(epoch from '2026-08-04 04:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786237 -3.563459)'), GeomFromEWKT('SRID=4674;POINT (-38.786135 -3.56354)'))) / (select extract(epoch from '2026-08-04 04:51:59'::timestamp) - extract(epoch from '2026-08-04 04:51: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'), 48149, 'SRID=4674;POINT (-38.786023 -3.563615)', '2026-08-04 04:52:06', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786135 -3.56354)'), GeomFromEWKT('SRID=4674;POINT (-38.786023 -3.563615)'))) / (select extract(epoch from '2026-08-04 04:52:06'::timestamp) - extract(epoch from '2026-08-04 04:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786135 -3.56354)'), GeomFromEWKT('SRID=4674;POINT (-38.786023 -3.563615)'))) / (select extract(epoch from '2026-08-04 04:52:06'::timestamp) - extract(epoch from '2026-08-04 04: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'), 48149, 'SRID=4674;POINT (-38.785917 -3.563682)', '2026-08-04 04:52:13', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786023 -3.563615)'), GeomFromEWKT('SRID=4674;POINT (-38.785917 -3.563682)'))) / (select extract(epoch from '2026-08-04 04:52:13'::timestamp) - extract(epoch from '2026-08-04 04:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786023 -3.563615)'), GeomFromEWKT('SRID=4674;POINT (-38.785917 -3.563682)'))) / (select extract(epoch from '2026-08-04 04:52:13'::timestamp) - extract(epoch from '2026-08-04 04:52: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'), 48149, 'SRID=4674;POINT (-38.785834 -3.563739)', '2026-08-04 04:52:19', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785917 -3.563682)'), GeomFromEWKT('SRID=4674;POINT (-38.785834 -3.563739)'))) / (select extract(epoch from '2026-08-04 04:52:19'::timestamp) - extract(epoch from '2026-08-04 04:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785917 -3.563682)'), GeomFromEWKT('SRID=4674;POINT (-38.785834 -3.563739)'))) / (select extract(epoch from '2026-08-04 04:52:19'::timestamp) - extract(epoch from '2026-08-04 04:52:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.78574 -3.563789)', '2026-08-04 04:52:25', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785834 -3.563739)'), GeomFromEWKT('SRID=4674;POINT (-38.78574 -3.563789)'))) / (select extract(epoch from '2026-08-04 04:52:25'::timestamp) - extract(epoch from '2026-08-04 04:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785834 -3.563739)'), GeomFromEWKT('SRID=4674;POINT (-38.78574 -3.563789)'))) / (select extract(epoch from '2026-08-04 04:52:25'::timestamp) - extract(epoch from '2026-08-04 04:52: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'), 48149, 'SRID=4674;POINT (-38.785615 -3.563837)', '2026-08-04 04:52:32', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78574 -3.563789)'), GeomFromEWKT('SRID=4674;POINT (-38.785615 -3.563837)'))) / (select extract(epoch from '2026-08-04 04:52:32'::timestamp) - extract(epoch from '2026-08-04 04:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78574 -3.563789)'), GeomFromEWKT('SRID=4674;POINT (-38.785615 -3.563837)'))) / (select extract(epoch from '2026-08-04 04:52:32'::timestamp) - extract(epoch from '2026-08-04 04:52: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'), 48149, 'SRID=4674;POINT (-38.785514 -3.563903)', '2026-08-04 04:52:39', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785615 -3.563837)'), GeomFromEWKT('SRID=4674;POINT (-38.785514 -3.563903)'))) / (select extract(epoch from '2026-08-04 04:52:39'::timestamp) - extract(epoch from '2026-08-04 04:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785615 -3.563837)'), GeomFromEWKT('SRID=4674;POINT (-38.785514 -3.563903)'))) / (select extract(epoch from '2026-08-04 04:52:39'::timestamp) - extract(epoch from '2026-08-04 04:52: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'), 48149, 'SRID=4674;POINT (-38.785414 -3.563961)', '2026-08-04 04:52:45', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785514 -3.563903)'), GeomFromEWKT('SRID=4674;POINT (-38.785414 -3.563961)'))) / (select extract(epoch from '2026-08-04 04:52:45'::timestamp) - extract(epoch from '2026-08-04 04:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785514 -3.563903)'), GeomFromEWKT('SRID=4674;POINT (-38.785414 -3.563961)'))) / (select extract(epoch from '2026-08-04 04:52:45'::timestamp) - extract(epoch from '2026-08-04 04:52:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.785315 -3.564011)', '2026-08-04 04:52:51', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785414 -3.563961)'), GeomFromEWKT('SRID=4674;POINT (-38.785315 -3.564011)'))) / (select extract(epoch from '2026-08-04 04:52:51'::timestamp) - extract(epoch from '2026-08-04 04:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785414 -3.563961)'), GeomFromEWKT('SRID=4674;POINT (-38.785315 -3.564011)'))) / (select extract(epoch from '2026-08-04 04:52:51'::timestamp) - extract(epoch from '2026-08-04 04:52: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'), 48149, 'SRID=4674;POINT (-38.785213 -3.56408)', '2026-08-04 04:52:58', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785315 -3.564011)'), GeomFromEWKT('SRID=4674;POINT (-38.785213 -3.56408)'))) / (select extract(epoch from '2026-08-04 04:52:58'::timestamp) - extract(epoch from '2026-08-04 04:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785315 -3.564011)'), GeomFromEWKT('SRID=4674;POINT (-38.785213 -3.56408)'))) / (select extract(epoch from '2026-08-04 04:52:58'::timestamp) - extract(epoch from '2026-08-04 04:52: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'), 48149, 'SRID=4674;POINT (-38.785115 -3.564137)', '2026-08-04 04:53:04', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785213 -3.56408)'), GeomFromEWKT('SRID=4674;POINT (-38.785115 -3.564137)'))) / (select extract(epoch from '2026-08-04 04:53:04'::timestamp) - extract(epoch from '2026-08-04 04:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785213 -3.56408)'), GeomFromEWKT('SRID=4674;POINT (-38.785115 -3.564137)'))) / (select extract(epoch from '2026-08-04 04:53:04'::timestamp) - extract(epoch from '2026-08-04 04:52:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.784991 -3.564205)', '2026-08-04 04:53:12', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785115 -3.564137)'), GeomFromEWKT('SRID=4674;POINT (-38.784991 -3.564205)'))) / (select extract(epoch from '2026-08-04 04:53:12'::timestamp) - extract(epoch from '2026-08-04 04:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785115 -3.564137)'), GeomFromEWKT('SRID=4674;POINT (-38.784991 -3.564205)'))) / (select extract(epoch from '2026-08-04 04:53:12'::timestamp) - extract(epoch from '2026-08-04 04:53: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'), 48149, 'SRID=4674;POINT (-38.784898 -3.564261)', '2026-08-04 04:53:18', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784991 -3.564205)'), GeomFromEWKT('SRID=4674;POINT (-38.784898 -3.564261)'))) / (select extract(epoch from '2026-08-04 04:53:18'::timestamp) - extract(epoch from '2026-08-04 04:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784991 -3.564205)'), GeomFromEWKT('SRID=4674;POINT (-38.784898 -3.564261)'))) / (select extract(epoch from '2026-08-04 04:53:18'::timestamp) - extract(epoch from '2026-08-04 04:53: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'), 48149, 'SRID=4674;POINT (-38.784766 -3.564342)', '2026-08-04 04:53:26', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784898 -3.564261)'), GeomFromEWKT('SRID=4674;POINT (-38.784766 -3.564342)'))) / (select extract(epoch from '2026-08-04 04:53:26'::timestamp) - extract(epoch from '2026-08-04 04:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784898 -3.564261)'), GeomFromEWKT('SRID=4674;POINT (-38.784766 -3.564342)'))) / (select extract(epoch from '2026-08-04 04:53:26'::timestamp) - extract(epoch from '2026-08-04 04:53: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'), 48149, 'SRID=4674;POINT (-38.78466 -3.564394)', '2026-08-04 04:53:32', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784766 -3.564342)'), GeomFromEWKT('SRID=4674;POINT (-38.78466 -3.564394)'))) / (select extract(epoch from '2026-08-04 04:53:32'::timestamp) - extract(epoch from '2026-08-04 04:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784766 -3.564342)'), GeomFromEWKT('SRID=4674;POINT (-38.78466 -3.564394)'))) / (select extract(epoch from '2026-08-04 04:53:32'::timestamp) - extract(epoch from '2026-08-04 04:53: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'), 48149, 'SRID=4674;POINT (-38.784565 -3.564452)', '2026-08-04 04:53:38', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78466 -3.564394)'), GeomFromEWKT('SRID=4674;POINT (-38.784565 -3.564452)'))) / (select extract(epoch from '2026-08-04 04:53:38'::timestamp) - extract(epoch from '2026-08-04 04:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78466 -3.564394)'), GeomFromEWKT('SRID=4674;POINT (-38.784565 -3.564452)'))) / (select extract(epoch from '2026-08-04 04:53:38'::timestamp) - extract(epoch from '2026-08-04 04:53:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.784443 -3.564504)', '2026-08-04 04:53:45', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784565 -3.564452)'), GeomFromEWKT('SRID=4674;POINT (-38.784443 -3.564504)'))) / (select extract(epoch from '2026-08-04 04:53:45'::timestamp) - extract(epoch from '2026-08-04 04:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784565 -3.564452)'), GeomFromEWKT('SRID=4674;POINT (-38.784443 -3.564504)'))) / (select extract(epoch from '2026-08-04 04:53:45'::timestamp) - extract(epoch from '2026-08-04 04:53:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.784345 -3.56455)', '2026-08-04 04:53:51', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784443 -3.564504)'), GeomFromEWKT('SRID=4674;POINT (-38.784345 -3.56455)'))) / (select extract(epoch from '2026-08-04 04:53:51'::timestamp) - extract(epoch from '2026-08-04 04:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784443 -3.564504)'), GeomFromEWKT('SRID=4674;POINT (-38.784345 -3.56455)'))) / (select extract(epoch from '2026-08-04 04:53:51'::timestamp) - extract(epoch from '2026-08-04 04:53: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'), 48149, 'SRID=4674;POINT (-38.784226 -3.564607)', '2026-08-04 04:53:59', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784345 -3.56455)'), GeomFromEWKT('SRID=4674;POINT (-38.784226 -3.564607)'))) / (select extract(epoch from '2026-08-04 04:53:59'::timestamp) - extract(epoch from '2026-08-04 04:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784345 -3.56455)'), GeomFromEWKT('SRID=4674;POINT (-38.784226 -3.564607)'))) / (select extract(epoch from '2026-08-04 04:53:59'::timestamp) - extract(epoch from '2026-08-04 04:53: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'), 48149, 'SRID=4674;POINT (-38.784127 -3.564649)', '2026-08-04 04:54:05', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784226 -3.564607)'), GeomFromEWKT('SRID=4674;POINT (-38.784127 -3.564649)'))) / (select extract(epoch from '2026-08-04 04:54:05'::timestamp) - extract(epoch from '2026-08-04 04:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784226 -3.564607)'), GeomFromEWKT('SRID=4674;POINT (-38.784127 -3.564649)'))) / (select extract(epoch from '2026-08-04 04:54:05'::timestamp) - extract(epoch from '2026-08-04 04:53: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'), 48149, 'SRID=4674;POINT (-38.784018 -3.564718)', '2026-08-04 04:54:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784127 -3.564649)'), GeomFromEWKT('SRID=4674;POINT (-38.784018 -3.564718)'))) / (select extract(epoch from '2026-08-04 04:54:12'::timestamp) - extract(epoch from '2026-08-04 04:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784127 -3.564649)'), GeomFromEWKT('SRID=4674;POINT (-38.784018 -3.564718)'))) / (select extract(epoch from '2026-08-04 04:54:12'::timestamp) - extract(epoch from '2026-08-04 04:54:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.783903 -3.564762)', '2026-08-04 04:54:19', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784018 -3.564718)'), GeomFromEWKT('SRID=4674;POINT (-38.783903 -3.564762)'))) / (select extract(epoch from '2026-08-04 04:54:19'::timestamp) - extract(epoch from '2026-08-04 04:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784018 -3.564718)'), GeomFromEWKT('SRID=4674;POINT (-38.783903 -3.564762)'))) / (select extract(epoch from '2026-08-04 04:54:19'::timestamp) - extract(epoch from '2026-08-04 04: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'), 48149, 'SRID=4674;POINT (-38.783772 -3.564813)', '2026-08-04 04:54:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783903 -3.564762)'), GeomFromEWKT('SRID=4674;POINT (-38.783772 -3.564813)'))) / (select extract(epoch from '2026-08-04 04:54:27'::timestamp) - extract(epoch from '2026-08-04 04:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783903 -3.564762)'), GeomFromEWKT('SRID=4674;POINT (-38.783772 -3.564813)'))) / (select extract(epoch from '2026-08-04 04:54:27'::timestamp) - extract(epoch from '2026-08-04 04:54: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'), 48149, 'SRID=4674;POINT (-38.783619 -3.564878)', '2026-08-04 04:54:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783772 -3.564813)'), GeomFromEWKT('SRID=4674;POINT (-38.783619 -3.564878)'))) / (select extract(epoch from '2026-08-04 04:54:36'::timestamp) - extract(epoch from '2026-08-04 04:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783772 -3.564813)'), GeomFromEWKT('SRID=4674;POINT (-38.783619 -3.564878)'))) / (select extract(epoch from '2026-08-04 04:54:36'::timestamp) - extract(epoch from '2026-08-04 04:54:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.783486 -3.564962)', '2026-08-04 04:54:44', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783619 -3.564878)'), GeomFromEWKT('SRID=4674;POINT (-38.783486 -3.564962)'))) / (select extract(epoch from '2026-08-04 04:54:44'::timestamp) - extract(epoch from '2026-08-04 04:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783619 -3.564878)'), GeomFromEWKT('SRID=4674;POINT (-38.783486 -3.564962)'))) / (select extract(epoch from '2026-08-04 04:54:44'::timestamp) - extract(epoch from '2026-08-04 04:54: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'), 48149, 'SRID=4674;POINT (-38.783362 -3.565043)', '2026-08-04 04:54:52', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783486 -3.564962)'), GeomFromEWKT('SRID=4674;POINT (-38.783362 -3.565043)'))) / (select extract(epoch from '2026-08-04 04:54:52'::timestamp) - extract(epoch from '2026-08-04 04:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783486 -3.564962)'), GeomFromEWKT('SRID=4674;POINT (-38.783362 -3.565043)'))) / (select extract(epoch from '2026-08-04 04:54:52'::timestamp) - extract(epoch from '2026-08-04 04:54: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'), 48149, 'SRID=4674;POINT (-38.783258 -3.565087)', '2026-08-04 04:54:58', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783362 -3.565043)'), GeomFromEWKT('SRID=4674;POINT (-38.783258 -3.565087)'))) / (select extract(epoch from '2026-08-04 04:54:58'::timestamp) - extract(epoch from '2026-08-04 04:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783362 -3.565043)'), GeomFromEWKT('SRID=4674;POINT (-38.783258 -3.565087)'))) / (select extract(epoch from '2026-08-04 04:54:58'::timestamp) - extract(epoch from '2026-08-04 04:54: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'), 48149, 'SRID=4674;POINT (-38.783138 -3.565136)', '2026-08-04 04:55:05', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783258 -3.565087)'), GeomFromEWKT('SRID=4674;POINT (-38.783138 -3.565136)'))) / (select extract(epoch from '2026-08-04 04:55:05'::timestamp) - extract(epoch from '2026-08-04 04:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783258 -3.565087)'), GeomFromEWKT('SRID=4674;POINT (-38.783138 -3.565136)'))) / (select extract(epoch from '2026-08-04 04:55:05'::timestamp) - extract(epoch from '2026-08-04 04:54:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.783 -3.565174)', '2026-08-04 04:55:12', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783138 -3.565136)'), GeomFromEWKT('SRID=4674;POINT (-38.783 -3.565174)'))) / (select extract(epoch from '2026-08-04 04:55:12'::timestamp) - extract(epoch from '2026-08-04 04:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783138 -3.565136)'), GeomFromEWKT('SRID=4674;POINT (-38.783 -3.565174)'))) / (select extract(epoch from '2026-08-04 04:55:12'::timestamp) - extract(epoch from '2026-08-04 04:55: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'), 48149, 'SRID=4674;POINT (-38.782879 -3.565221)', '2026-08-04 04:55:19', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783 -3.565174)'), GeomFromEWKT('SRID=4674;POINT (-38.782879 -3.565221)'))) / (select extract(epoch from '2026-08-04 04:55:19'::timestamp) - extract(epoch from '2026-08-04 04:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783 -3.565174)'), GeomFromEWKT('SRID=4674;POINT (-38.782879 -3.565221)'))) / (select extract(epoch from '2026-08-04 04:55:19'::timestamp) - extract(epoch from '2026-08-04 04: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'), 48149, 'SRID=4674;POINT (-38.782749 -3.565266)', '2026-08-04 04:55:26', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782879 -3.565221)'), GeomFromEWKT('SRID=4674;POINT (-38.782749 -3.565266)'))) / (select extract(epoch from '2026-08-04 04:55:26'::timestamp) - extract(epoch from '2026-08-04 04:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782879 -3.565221)'), GeomFromEWKT('SRID=4674;POINT (-38.782749 -3.565266)'))) / (select extract(epoch from '2026-08-04 04:55:26'::timestamp) - extract(epoch from '2026-08-04 04:55: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'), 48149, 'SRID=4674;POINT (-38.782612 -3.565316)', '2026-08-04 04:55:34', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782749 -3.565266)'), GeomFromEWKT('SRID=4674;POINT (-38.782612 -3.565316)'))) / (select extract(epoch from '2026-08-04 04:55:34'::timestamp) - extract(epoch from '2026-08-04 04:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782749 -3.565266)'), GeomFromEWKT('SRID=4674;POINT (-38.782612 -3.565316)'))) / (select extract(epoch from '2026-08-04 04:55:34'::timestamp) - extract(epoch from '2026-08-04 04:55: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'), 48149, 'SRID=4674;POINT (-38.782492 -3.565362)', '2026-08-04 04:55:41', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782612 -3.565316)'), GeomFromEWKT('SRID=4674;POINT (-38.782492 -3.565362)'))) / (select extract(epoch from '2026-08-04 04:55:41'::timestamp) - extract(epoch from '2026-08-04 04:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782612 -3.565316)'), GeomFromEWKT('SRID=4674;POINT (-38.782492 -3.565362)'))) / (select extract(epoch from '2026-08-04 04:55:41'::timestamp) - extract(epoch from '2026-08-04 04:55:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.782397 -3.565401)', '2026-08-04 04:55:47', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782492 -3.565362)'), GeomFromEWKT('SRID=4674;POINT (-38.782397 -3.565401)'))) / (select extract(epoch from '2026-08-04 04:55:47'::timestamp) - extract(epoch from '2026-08-04 04:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782492 -3.565362)'), GeomFromEWKT('SRID=4674;POINT (-38.782397 -3.565401)'))) / (select extract(epoch from '2026-08-04 04:55:47'::timestamp) - extract(epoch from '2026-08-04 04:55:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.782299 -3.565443)', '2026-08-04 04:55:53', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782397 -3.565401)'), GeomFromEWKT('SRID=4674;POINT (-38.782299 -3.565443)'))) / (select extract(epoch from '2026-08-04 04:55:53'::timestamp) - extract(epoch from '2026-08-04 04:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782397 -3.565401)'), GeomFromEWKT('SRID=4674;POINT (-38.782299 -3.565443)'))) / (select extract(epoch from '2026-08-04 04:55:53'::timestamp) - extract(epoch from '2026-08-04 04:55:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.782193 -3.56548)', '2026-08-04 04:55:59', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782299 -3.565443)'), GeomFromEWKT('SRID=4674;POINT (-38.782193 -3.56548)'))) / (select extract(epoch from '2026-08-04 04:55:59'::timestamp) - extract(epoch from '2026-08-04 04:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782299 -3.565443)'), GeomFromEWKT('SRID=4674;POINT (-38.782193 -3.56548)'))) / (select extract(epoch from '2026-08-04 04:55:59'::timestamp) - extract(epoch from '2026-08-04 04:55: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'), 48149, 'SRID=4674;POINT (-38.782059 -3.565517)', '2026-08-04 04:56:06', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782193 -3.56548)'), GeomFromEWKT('SRID=4674;POINT (-38.782059 -3.565517)'))) / (select extract(epoch from '2026-08-04 04:56:06'::timestamp) - extract(epoch from '2026-08-04 04:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782193 -3.56548)'), GeomFromEWKT('SRID=4674;POINT (-38.782059 -3.565517)'))) / (select extract(epoch from '2026-08-04 04:56:06'::timestamp) - extract(epoch from '2026-08-04 04:55: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'), 48149, 'SRID=4674;POINT (-38.781934 -3.565554)', '2026-08-04 04:56:13', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782059 -3.565517)'), GeomFromEWKT('SRID=4674;POINT (-38.781934 -3.565554)'))) / (select extract(epoch from '2026-08-04 04:56:13'::timestamp) - extract(epoch from '2026-08-04 04:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782059 -3.565517)'), GeomFromEWKT('SRID=4674;POINT (-38.781934 -3.565554)'))) / (select extract(epoch from '2026-08-04 04:56:13'::timestamp) - extract(epoch from '2026-08-04 04:56: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'), 48149, 'SRID=4674;POINT (-38.781839 -3.565585)', '2026-08-04 04:56:18', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781934 -3.565554)'), GeomFromEWKT('SRID=4674;POINT (-38.781839 -3.565585)'))) / (select extract(epoch from '2026-08-04 04:56:18'::timestamp) - extract(epoch from '2026-08-04 04:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781934 -3.565554)'), GeomFromEWKT('SRID=4674;POINT (-38.781839 -3.565585)'))) / (select extract(epoch from '2026-08-04 04:56:18'::timestamp) - extract(epoch from '2026-08-04 04: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'), 48149, 'SRID=4674;POINT (-38.781742 -3.565631)', '2026-08-04 04:56:24', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781839 -3.565585)'), GeomFromEWKT('SRID=4674;POINT (-38.781742 -3.565631)'))) / (select extract(epoch from '2026-08-04 04:56:24'::timestamp) - extract(epoch from '2026-08-04 04:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781839 -3.565585)'), GeomFromEWKT('SRID=4674;POINT (-38.781742 -3.565631)'))) / (select extract(epoch from '2026-08-04 04:56:24'::timestamp) - extract(epoch from '2026-08-04 04:56: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'), 48149, 'SRID=4674;POINT (-38.781638 -3.565673)', '2026-08-04 04:56:30', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781742 -3.565631)'), GeomFromEWKT('SRID=4674;POINT (-38.781638 -3.565673)'))) / (select extract(epoch from '2026-08-04 04:56:30'::timestamp) - extract(epoch from '2026-08-04 04:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781742 -3.565631)'), GeomFromEWKT('SRID=4674;POINT (-38.781638 -3.565673)'))) / (select extract(epoch from '2026-08-04 04:56:30'::timestamp) - extract(epoch from '2026-08-04 04:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.781527 -3.565719)', '2026-08-04 04:56:37', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781638 -3.565673)'), GeomFromEWKT('SRID=4674;POINT (-38.781527 -3.565719)'))) / (select extract(epoch from '2026-08-04 04:56:37'::timestamp) - extract(epoch from '2026-08-04 04:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781638 -3.565673)'), GeomFromEWKT('SRID=4674;POINT (-38.781527 -3.565719)'))) / (select extract(epoch from '2026-08-04 04:56:37'::timestamp) - extract(epoch from '2026-08-04 04:56: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'), 48149, 'SRID=4674;POINT (-38.781395 -3.565773)', '2026-08-04 04:56:45', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781527 -3.565719)'), GeomFromEWKT('SRID=4674;POINT (-38.781395 -3.565773)'))) / (select extract(epoch from '2026-08-04 04:56:45'::timestamp) - extract(epoch from '2026-08-04 04:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781527 -3.565719)'), GeomFromEWKT('SRID=4674;POINT (-38.781395 -3.565773)'))) / (select extract(epoch from '2026-08-04 04:56:45'::timestamp) - extract(epoch from '2026-08-04 04:56: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'), 48149, 'SRID=4674;POINT (-38.781298 -3.565815)', '2026-08-04 04:56:51', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781395 -3.565773)'), GeomFromEWKT('SRID=4674;POINT (-38.781298 -3.565815)'))) / (select extract(epoch from '2026-08-04 04:56:51'::timestamp) - extract(epoch from '2026-08-04 04:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781395 -3.565773)'), GeomFromEWKT('SRID=4674;POINT (-38.781298 -3.565815)'))) / (select extract(epoch from '2026-08-04 04:56:51'::timestamp) - extract(epoch from '2026-08-04 04:56: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'), 48149, 'SRID=4674;POINT (-38.781165 -3.56585)', '2026-08-04 04:56:58', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781298 -3.565815)'), GeomFromEWKT('SRID=4674;POINT (-38.781165 -3.56585)'))) / (select extract(epoch from '2026-08-04 04:56:58'::timestamp) - extract(epoch from '2026-08-04 04:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781298 -3.565815)'), GeomFromEWKT('SRID=4674;POINT (-38.781165 -3.56585)'))) / (select extract(epoch from '2026-08-04 04:56:58'::timestamp) - extract(epoch from '2026-08-04 04:56: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'), 48149, 'SRID=4674;POINT (-38.781034 -3.565891)', '2026-08-04 04:57:05', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781165 -3.56585)'), GeomFromEWKT('SRID=4674;POINT (-38.781034 -3.565891)'))) / (select extract(epoch from '2026-08-04 04:57:05'::timestamp) - extract(epoch from '2026-08-04 04:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781165 -3.56585)'), GeomFromEWKT('SRID=4674;POINT (-38.781034 -3.565891)'))) / (select extract(epoch from '2026-08-04 04:57:05'::timestamp) - extract(epoch from '2026-08-04 04:56:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.7809 -3.565928)', '2026-08-04 04:57:13', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781034 -3.565891)'), GeomFromEWKT('SRID=4674;POINT (-38.7809 -3.565928)'))) / (select extract(epoch from '2026-08-04 04:57:13'::timestamp) - extract(epoch from '2026-08-04 04:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781034 -3.565891)'), GeomFromEWKT('SRID=4674;POINT (-38.7809 -3.565928)'))) / (select extract(epoch from '2026-08-04 04:57:13'::timestamp) - extract(epoch from '2026-08-04 04:57:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.780752 -3.565958)', '2026-08-04 04:57:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7809 -3.565928)'), GeomFromEWKT('SRID=4674;POINT (-38.780752 -3.565958)'))) / (select extract(epoch from '2026-08-04 04:57:21'::timestamp) - extract(epoch from '2026-08-04 04:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7809 -3.565928)'), GeomFromEWKT('SRID=4674;POINT (-38.780752 -3.565958)'))) / (select extract(epoch from '2026-08-04 04:57:21'::timestamp) - extract(epoch from '2026-08-04 04:57: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'), 48149, 'SRID=4674;POINT (-38.780666 -3.565988)', '2026-08-04 04:57:26', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780752 -3.565958)'), GeomFromEWKT('SRID=4674;POINT (-38.780666 -3.565988)'))) / (select extract(epoch from '2026-08-04 04:57:26'::timestamp) - extract(epoch from '2026-08-04 04:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780752 -3.565958)'), GeomFromEWKT('SRID=4674;POINT (-38.780666 -3.565988)'))) / (select extract(epoch from '2026-08-04 04:57:26'::timestamp) - extract(epoch from '2026-08-04 04:57: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'), 48149, 'SRID=4674;POINT (-38.780564 -3.566038)', '2026-08-04 04:57:32', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780666 -3.565988)'), GeomFromEWKT('SRID=4674;POINT (-38.780564 -3.566038)'))) / (select extract(epoch from '2026-08-04 04:57:32'::timestamp) - extract(epoch from '2026-08-04 04:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780666 -3.565988)'), GeomFromEWKT('SRID=4674;POINT (-38.780564 -3.566038)'))) / (select extract(epoch from '2026-08-04 04:57:32'::timestamp) - extract(epoch from '2026-08-04 04:57: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'), 48149, 'SRID=4674;POINT (-38.780439 -3.566078)', '2026-08-04 04:57:39', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780564 -3.566038)'), GeomFromEWKT('SRID=4674;POINT (-38.780439 -3.566078)'))) / (select extract(epoch from '2026-08-04 04:57:39'::timestamp) - extract(epoch from '2026-08-04 04:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780564 -3.566038)'), GeomFromEWKT('SRID=4674;POINT (-38.780439 -3.566078)'))) / (select extract(epoch from '2026-08-04 04:57:39'::timestamp) - extract(epoch from '2026-08-04 04:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.78035 -3.566085)', '2026-08-04 04:57:44', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780439 -3.566078)'), GeomFromEWKT('SRID=4674;POINT (-38.78035 -3.566085)'))) / (select extract(epoch from '2026-08-04 04:57:44'::timestamp) - extract(epoch from '2026-08-04 04:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780439 -3.566078)'), GeomFromEWKT('SRID=4674;POINT (-38.78035 -3.566085)'))) / (select extract(epoch from '2026-08-04 04:57:44'::timestamp) - extract(epoch from '2026-08-04 04:57: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'), 48149, 'SRID=4674;POINT (-38.78034 -3.566089)', '2026-08-04 04:57:45', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78035 -3.566085)'), GeomFromEWKT('SRID=4674;POINT (-38.78034 -3.566089)'))) / (select extract(epoch from '2026-08-04 04:57:45'::timestamp) - extract(epoch from '2026-08-04 04:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78035 -3.566085)'), GeomFromEWKT('SRID=4674;POINT (-38.78034 -3.566089)'))) / (select extract(epoch from '2026-08-04 04:57:45'::timestamp) - extract(epoch from '2026-08-04 04:57: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'), 48149, 'SRID=4674;POINT (-38.780296 -3.566093)', '2026-08-04 04:57:48', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78034 -3.566089)'), GeomFromEWKT('SRID=4674;POINT (-38.780296 -3.566093)'))) / (select extract(epoch from '2026-08-04 04:57:48'::timestamp) - extract(epoch from '2026-08-04 04:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78034 -3.566089)'), GeomFromEWKT('SRID=4674;POINT (-38.780296 -3.566093)'))) / (select extract(epoch from '2026-08-04 04:57:48'::timestamp) - extract(epoch from '2026-08-04 04:57:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.780217 -3.566104)', '2026-08-04 04:57:53', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780296 -3.566093)'), GeomFromEWKT('SRID=4674;POINT (-38.780217 -3.566104)'))) / (select extract(epoch from '2026-08-04 04:57:53'::timestamp) - extract(epoch from '2026-08-04 04:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780296 -3.566093)'), GeomFromEWKT('SRID=4674;POINT (-38.780217 -3.566104)'))) / (select extract(epoch from '2026-08-04 04:57:53'::timestamp) - extract(epoch from '2026-08-04 04:57: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'), 48149, 'SRID=4674;POINT (-38.780142 -3.566104)', '2026-08-04 04:57:58', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780217 -3.566104)'), GeomFromEWKT('SRID=4674;POINT (-38.780142 -3.566104)'))) / (select extract(epoch from '2026-08-04 04:57:58'::timestamp) - extract(epoch from '2026-08-04 04:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780217 -3.566104)'), GeomFromEWKT('SRID=4674;POINT (-38.780142 -3.566104)'))) / (select extract(epoch from '2026-08-04 04:57:58'::timestamp) - extract(epoch from '2026-08-04 04:57: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'), 48149, 'SRID=4674;POINT (-38.780046 -3.566111)', '2026-08-04 04:58:04', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780142 -3.566104)'), GeomFromEWKT('SRID=4674;POINT (-38.780046 -3.566111)'))) / (select extract(epoch from '2026-08-04 04:58:04'::timestamp) - extract(epoch from '2026-08-04 04:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780142 -3.566104)'), GeomFromEWKT('SRID=4674;POINT (-38.780046 -3.566111)'))) / (select extract(epoch from '2026-08-04 04:58:04'::timestamp) - extract(epoch from '2026-08-04 04:57: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'), 48149, 'SRID=4674;POINT (-38.779942 -3.566137)', '2026-08-04 04:58:10', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780046 -3.566111)'), GeomFromEWKT('SRID=4674;POINT (-38.779942 -3.566137)'))) / (select extract(epoch from '2026-08-04 04:58:10'::timestamp) - extract(epoch from '2026-08-04 04:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780046 -3.566111)'), GeomFromEWKT('SRID=4674;POINT (-38.779942 -3.566137)'))) / (select extract(epoch from '2026-08-04 04:58:10'::timestamp) - extract(epoch from '2026-08-04 04: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'), 48149, 'SRID=4674;POINT (-38.779838 -3.566162)', '2026-08-04 04:58:16', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779942 -3.566137)'), GeomFromEWKT('SRID=4674;POINT (-38.779838 -3.566162)'))) / (select extract(epoch from '2026-08-04 04:58:16'::timestamp) - extract(epoch from '2026-08-04 04:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779942 -3.566137)'), GeomFromEWKT('SRID=4674;POINT (-38.779838 -3.566162)'))) / (select extract(epoch from '2026-08-04 04:58:16'::timestamp) - extract(epoch from '2026-08-04 04:58: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'), 48149, 'SRID=4674;POINT (-38.779728 -3.566163)', '2026-08-04 04:58:22', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779838 -3.566162)'), GeomFromEWKT('SRID=4674;POINT (-38.779728 -3.566163)'))) / (select extract(epoch from '2026-08-04 04:58:22'::timestamp) - extract(epoch from '2026-08-04 04:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779838 -3.566162)'), GeomFromEWKT('SRID=4674;POINT (-38.779728 -3.566163)'))) / (select extract(epoch from '2026-08-04 04:58:22'::timestamp) - extract(epoch from '2026-08-04 04:58:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.779705 -3.56617)', '2026-08-04 04:58:24', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779728 -3.566163)'), GeomFromEWKT('SRID=4674;POINT (-38.779705 -3.56617)'))) / (select extract(epoch from '2026-08-04 04:58:24'::timestamp) - extract(epoch from '2026-08-04 04:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779728 -3.566163)'), GeomFromEWKT('SRID=4674;POINT (-38.779705 -3.56617)'))) / (select extract(epoch from '2026-08-04 04:58:24'::timestamp) - extract(epoch from '2026-08-04 04:58: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'), 48149, 'SRID=4674;POINT (-38.779653 -3.566167)', '2026-08-04 04:58:27', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779705 -3.56617)'), GeomFromEWKT('SRID=4674;POINT (-38.779653 -3.566167)'))) / (select extract(epoch from '2026-08-04 04:58:27'::timestamp) - extract(epoch from '2026-08-04 04:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779705 -3.56617)'), GeomFromEWKT('SRID=4674;POINT (-38.779653 -3.566167)'))) / (select extract(epoch from '2026-08-04 04:58:27'::timestamp) - extract(epoch from '2026-08-04 04:58: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'), 48149, 'SRID=4674;POINT (-38.779557 -3.566178)', '2026-08-04 04:58:33', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779653 -3.566167)'), GeomFromEWKT('SRID=4674;POINT (-38.779557 -3.566178)'))) / (select extract(epoch from '2026-08-04 04:58:33'::timestamp) - extract(epoch from '2026-08-04 04:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779653 -3.566167)'), GeomFromEWKT('SRID=4674;POINT (-38.779557 -3.566178)'))) / (select extract(epoch from '2026-08-04 04:58:33'::timestamp) - extract(epoch from '2026-08-04 04:58:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.7795 -3.566168)', '2026-08-04 04:58:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779557 -3.566178)'), GeomFromEWKT('SRID=4674;POINT (-38.7795 -3.566168)'))) / (select extract(epoch from '2026-08-04 04:58:37'::timestamp) - extract(epoch from '2026-08-04 04:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779557 -3.566178)'), GeomFromEWKT('SRID=4674;POINT (-38.7795 -3.566168)'))) / (select extract(epoch from '2026-08-04 04:58:37'::timestamp) - extract(epoch from '2026-08-04 04:58:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.779485 -3.566165)', '2026-08-04 04:58:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7795 -3.566168)'), GeomFromEWKT('SRID=4674;POINT (-38.779485 -3.566165)'))) / (select extract(epoch from '2026-08-04 04:58:38'::timestamp) - extract(epoch from '2026-08-04 04:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7795 -3.566168)'), GeomFromEWKT('SRID=4674;POINT (-38.779485 -3.566165)'))) / (select extract(epoch from '2026-08-04 04:58:38'::timestamp) - extract(epoch from '2026-08-04 04: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'), 48149, 'SRID=4674;POINT (-38.77936 -3.566148)', '2026-08-04 04:58:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779485 -3.566165)'), GeomFromEWKT('SRID=4674;POINT (-38.77936 -3.566148)'))) / (select extract(epoch from '2026-08-04 04:58:45'::timestamp) - extract(epoch from '2026-08-04 04:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779485 -3.566165)'), GeomFromEWKT('SRID=4674;POINT (-38.77936 -3.566148)'))) / (select extract(epoch from '2026-08-04 04:58:45'::timestamp) - extract(epoch from '2026-08-04 04:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.77926 -3.566147)', '2026-08-04 04:58:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77936 -3.566148)'), GeomFromEWKT('SRID=4674;POINT (-38.77926 -3.566147)'))) / (select extract(epoch from '2026-08-04 04:58:51'::timestamp) - extract(epoch from '2026-08-04 04:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77936 -3.566148)'), GeomFromEWKT('SRID=4674;POINT (-38.77926 -3.566147)'))) / (select extract(epoch from '2026-08-04 04:58:51'::timestamp) - extract(epoch from '2026-08-04 04:58: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'), 48149, 'SRID=4674;POINT (-38.779169 -3.566147)', '2026-08-04 04:58:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77926 -3.566147)'), GeomFromEWKT('SRID=4674;POINT (-38.779169 -3.566147)'))) / (select extract(epoch from '2026-08-04 04:58:57'::timestamp) - extract(epoch from '2026-08-04 04:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77926 -3.566147)'), GeomFromEWKT('SRID=4674;POINT (-38.779169 -3.566147)'))) / (select extract(epoch from '2026-08-04 04:58:57'::timestamp) - extract(epoch from '2026-08-04 04:58:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.779014 -3.566139)', '2026-08-04 04:59:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779169 -3.566147)'), GeomFromEWKT('SRID=4674;POINT (-38.779014 -3.566139)'))) / (select extract(epoch from '2026-08-04 04:59:05'::timestamp) - extract(epoch from '2026-08-04 04:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779169 -3.566147)'), GeomFromEWKT('SRID=4674;POINT (-38.779014 -3.566139)'))) / (select extract(epoch from '2026-08-04 04:59:05'::timestamp) - extract(epoch from '2026-08-04 04:58: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'), 48149, 'SRID=4674;POINT (-38.778867 -3.566153)', '2026-08-04 04:59:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779014 -3.566139)'), GeomFromEWKT('SRID=4674;POINT (-38.778867 -3.566153)'))) / (select extract(epoch from '2026-08-04 04:59:13'::timestamp) - extract(epoch from '2026-08-04 04:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779014 -3.566139)'), GeomFromEWKT('SRID=4674;POINT (-38.778867 -3.566153)'))) / (select extract(epoch from '2026-08-04 04:59:13'::timestamp) - extract(epoch from '2026-08-04 04:59: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'), 48149, 'SRID=4674;POINT (-38.778747 -3.566187)', '2026-08-04 04:59:20', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778867 -3.566153)'), GeomFromEWKT('SRID=4674;POINT (-38.778747 -3.566187)'))) / (select extract(epoch from '2026-08-04 04:59:20'::timestamp) - extract(epoch from '2026-08-04 04:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778867 -3.566153)'), GeomFromEWKT('SRID=4674;POINT (-38.778747 -3.566187)'))) / (select extract(epoch from '2026-08-04 04:59:20'::timestamp) - extract(epoch from '2026-08-04 04:59: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'), 48149, 'SRID=4674;POINT (-38.778626 -3.5662)', '2026-08-04 04:59:27', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778747 -3.566187)'), GeomFromEWKT('SRID=4674;POINT (-38.778626 -3.5662)'))) / (select extract(epoch from '2026-08-04 04:59:27'::timestamp) - extract(epoch from '2026-08-04 04:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778747 -3.566187)'), GeomFromEWKT('SRID=4674;POINT (-38.778626 -3.5662)'))) / (select extract(epoch from '2026-08-04 04:59:27'::timestamp) - extract(epoch from '2026-08-04 04: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'), 48149, 'SRID=4674;POINT (-38.778532 -3.566206)', '2026-08-04 04:59:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778626 -3.5662)'), GeomFromEWKT('SRID=4674;POINT (-38.778532 -3.566206)'))) / (select extract(epoch from '2026-08-04 04:59:33'::timestamp) - extract(epoch from '2026-08-04 04:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778626 -3.5662)'), GeomFromEWKT('SRID=4674;POINT (-38.778532 -3.566206)'))) / (select extract(epoch from '2026-08-04 04:59:33'::timestamp) - extract(epoch from '2026-08-04 04:59: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'), 48149, 'SRID=4674;POINT (-38.778421 -3.566186)', '2026-08-04 04:59:39', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778532 -3.566206)'), GeomFromEWKT('SRID=4674;POINT (-38.778421 -3.566186)'))) / (select extract(epoch from '2026-08-04 04:59:39'::timestamp) - extract(epoch from '2026-08-04 04:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778532 -3.566206)'), GeomFromEWKT('SRID=4674;POINT (-38.778421 -3.566186)'))) / (select extract(epoch from '2026-08-04 04:59:39'::timestamp) - extract(epoch from '2026-08-04 04:59: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'), 48149, 'SRID=4674;POINT (-38.778298 -3.566162)', '2026-08-04 04:59:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778421 -3.566186)'), GeomFromEWKT('SRID=4674;POINT (-38.778298 -3.566162)'))) / (select extract(epoch from '2026-08-04 04:59:46'::timestamp) - extract(epoch from '2026-08-04 04:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778421 -3.566186)'), GeomFromEWKT('SRID=4674;POINT (-38.778298 -3.566162)'))) / (select extract(epoch from '2026-08-04 04:59:46'::timestamp) - extract(epoch from '2026-08-04 04:59: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'), 48149, 'SRID=4674;POINT (-38.77817 -3.566146)', '2026-08-04 04:59:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778298 -3.566162)'), GeomFromEWKT('SRID=4674;POINT (-38.77817 -3.566146)'))) / (select extract(epoch from '2026-08-04 04:59:54'::timestamp) - extract(epoch from '2026-08-04 04:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778298 -3.566162)'), GeomFromEWKT('SRID=4674;POINT (-38.77817 -3.566146)'))) / (select extract(epoch from '2026-08-04 04:59:54'::timestamp) - extract(epoch from '2026-08-04 04: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'), 48149, 'SRID=4674;POINT (-38.778096 -3.566168)', '2026-08-04 04:59:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77817 -3.566146)'), GeomFromEWKT('SRID=4674;POINT (-38.778096 -3.566168)'))) / (select extract(epoch from '2026-08-04 04:59:59'::timestamp) - extract(epoch from '2026-08-04 04:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77817 -3.566146)'), GeomFromEWKT('SRID=4674;POINT (-38.778096 -3.566168)'))) / (select extract(epoch from '2026-08-04 04:59:59'::timestamp) - extract(epoch from '2026-08-04 04:59: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'), 48149, 'SRID=4674;POINT (-38.778068 -3.566173)', '2026-08-04 05:00:01', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778096 -3.566168)'), GeomFromEWKT('SRID=4674;POINT (-38.778068 -3.566173)'))) / (select extract(epoch from '2026-08-04 05:00:01'::timestamp) - extract(epoch from '2026-08-04 04:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778096 -3.566168)'), GeomFromEWKT('SRID=4674;POINT (-38.778068 -3.566173)'))) / (select extract(epoch from '2026-08-04 05:00:01'::timestamp) - extract(epoch from '2026-08-04 04:59: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'), 48149, 'SRID=4674;POINT (-38.778045 -3.56618)', '2026-08-04 05:00:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778068 -3.566173)'), GeomFromEWKT('SRID=4674;POINT (-38.778045 -3.56618)'))) / (select extract(epoch from '2026-08-04 05:00:03'::timestamp) - extract(epoch from '2026-08-04 05:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778068 -3.566173)'), GeomFromEWKT('SRID=4674;POINT (-38.778045 -3.56618)'))) / (select extract(epoch from '2026-08-04 05:00:03'::timestamp) - extract(epoch from '2026-08-04 05:00: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'), 48149, 'SRID=4674;POINT (-38.778013 -3.566186)', '2026-08-04 05:00:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778045 -3.56618)'), GeomFromEWKT('SRID=4674;POINT (-38.778013 -3.566186)'))) / (select extract(epoch from '2026-08-04 05:00:05'::timestamp) - extract(epoch from '2026-08-04 05:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778045 -3.56618)'), GeomFromEWKT('SRID=4674;POINT (-38.778013 -3.566186)'))) / (select extract(epoch from '2026-08-04 05:00:05'::timestamp) - extract(epoch from '2026-08-04 05:00: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'), 48149, 'SRID=4674;POINT (-38.777928 -3.566204)', '2026-08-04 05:00:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778013 -3.566186)'), GeomFromEWKT('SRID=4674;POINT (-38.777928 -3.566204)'))) / (select extract(epoch from '2026-08-04 05:00:11'::timestamp) - extract(epoch from '2026-08-04 05:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778013 -3.566186)'), GeomFromEWKT('SRID=4674;POINT (-38.777928 -3.566204)'))) / (select extract(epoch from '2026-08-04 05:00:11'::timestamp) - extract(epoch from '2026-08-04 05:00:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.77784 -3.566231)', '2026-08-04 05:00:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777928 -3.566204)'), GeomFromEWKT('SRID=4674;POINT (-38.77784 -3.566231)'))) / (select extract(epoch from '2026-08-04 05:00:17'::timestamp) - extract(epoch from '2026-08-04 05:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777928 -3.566204)'), GeomFromEWKT('SRID=4674;POINT (-38.77784 -3.566231)'))) / (select extract(epoch from '2026-08-04 05:00:17'::timestamp) - extract(epoch from '2026-08-04 05:00: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'), 48149, 'SRID=4674;POINT (-38.777791 -3.566239)', '2026-08-04 05:00:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77784 -3.566231)'), GeomFromEWKT('SRID=4674;POINT (-38.777791 -3.566239)'))) / (select extract(epoch from '2026-08-04 05:00:21'::timestamp) - extract(epoch from '2026-08-04 05:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77784 -3.566231)'), GeomFromEWKT('SRID=4674;POINT (-38.777791 -3.566239)'))) / (select extract(epoch from '2026-08-04 05:00:21'::timestamp) - extract(epoch from '2026-08-04 05:00: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'), 48149, 'SRID=4674;POINT (-38.777763 -3.566226)', '2026-08-04 05:00:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777791 -3.566239)'), GeomFromEWKT('SRID=4674;POINT (-38.777763 -3.566226)'))) / (select extract(epoch from '2026-08-04 05:00:23'::timestamp) - extract(epoch from '2026-08-04 05:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777791 -3.566239)'), GeomFromEWKT('SRID=4674;POINT (-38.777763 -3.566226)'))) / (select extract(epoch from '2026-08-04 05:00:23'::timestamp) - extract(epoch from '2026-08-04 05:00:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.777673 -3.566168)', '2026-08-04 05:00:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777763 -3.566226)'), GeomFromEWKT('SRID=4674;POINT (-38.777673 -3.566168)'))) / (select extract(epoch from '2026-08-04 05:00:29'::timestamp) - extract(epoch from '2026-08-04 05:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777763 -3.566226)'), GeomFromEWKT('SRID=4674;POINT (-38.777673 -3.566168)'))) / (select extract(epoch from '2026-08-04 05:00:29'::timestamp) - extract(epoch from '2026-08-04 05:00: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'), 48149, 'SRID=4674;POINT (-38.777591 -3.566096)', '2026-08-04 05:00:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777673 -3.566168)'), GeomFromEWKT('SRID=4674;POINT (-38.777591 -3.566096)'))) / (select extract(epoch from '2026-08-04 05:00:35'::timestamp) - extract(epoch from '2026-08-04 05:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777673 -3.566168)'), GeomFromEWKT('SRID=4674;POINT (-38.777591 -3.566096)'))) / (select extract(epoch from '2026-08-04 05:00:35'::timestamp) - extract(epoch from '2026-08-04 05:00: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'), 48149, 'SRID=4674;POINT (-38.777507 -3.566018)', '2026-08-04 05:00:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777591 -3.566096)'), GeomFromEWKT('SRID=4674;POINT (-38.777507 -3.566018)'))) / (select extract(epoch from '2026-08-04 05:00:41'::timestamp) - extract(epoch from '2026-08-04 05:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777591 -3.566096)'), GeomFromEWKT('SRID=4674;POINT (-38.777507 -3.566018)'))) / (select extract(epoch from '2026-08-04 05:00:41'::timestamp) - extract(epoch from '2026-08-04 05:00: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'), 48149, 'SRID=4674;POINT (-38.777387 -3.565907)', '2026-08-04 05:00:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777507 -3.566018)'), GeomFromEWKT('SRID=4674;POINT (-38.777387 -3.565907)'))) / (select extract(epoch from '2026-08-04 05:00:49'::timestamp) - extract(epoch from '2026-08-04 05:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777507 -3.566018)'), GeomFromEWKT('SRID=4674;POINT (-38.777387 -3.565907)'))) / (select extract(epoch from '2026-08-04 05:00:49'::timestamp) - extract(epoch from '2026-08-04 05:00: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'), 48149, 'SRID=4674;POINT (-38.777325 -3.56583)', '2026-08-04 05:00:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777387 -3.565907)'), GeomFromEWKT('SRID=4674;POINT (-38.777325 -3.56583)'))) / (select extract(epoch from '2026-08-04 05:00:54'::timestamp) - extract(epoch from '2026-08-04 05:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777387 -3.565907)'), GeomFromEWKT('SRID=4674;POINT (-38.777325 -3.56583)'))) / (select extract(epoch from '2026-08-04 05:00:54'::timestamp) - extract(epoch from '2026-08-04 05:00:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.777232 -3.565735)', '2026-08-04 05:01:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777325 -3.56583)'), GeomFromEWKT('SRID=4674;POINT (-38.777232 -3.565735)'))) / (select extract(epoch from '2026-08-04 05:01:01'::timestamp) - extract(epoch from '2026-08-04 05:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777325 -3.56583)'), GeomFromEWKT('SRID=4674;POINT (-38.777232 -3.565735)'))) / (select extract(epoch from '2026-08-04 05:01:01'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.777168 -3.565665)', '2026-08-04 05:01:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777232 -3.565735)'), GeomFromEWKT('SRID=4674;POINT (-38.777168 -3.565665)'))) / (select extract(epoch from '2026-08-04 05:01:06'::timestamp) - extract(epoch from '2026-08-04 05:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777232 -3.565735)'), GeomFromEWKT('SRID=4674;POINT (-38.777168 -3.565665)'))) / (select extract(epoch from '2026-08-04 05:01:06'::timestamp) - extract(epoch from '2026-08-04 05:01:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.777102 -3.565535)', '2026-08-04 05:01:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777168 -3.565665)'), GeomFromEWKT('SRID=4674;POINT (-38.777102 -3.565535)'))) / (select extract(epoch from '2026-08-04 05:01:13'::timestamp) - extract(epoch from '2026-08-04 05:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777168 -3.565665)'), GeomFromEWKT('SRID=4674;POINT (-38.777102 -3.565535)'))) / (select extract(epoch from '2026-08-04 05:01:13'::timestamp) - extract(epoch from '2026-08-04 05:01: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'), 48149, 'SRID=4674;POINT (-38.777019 -3.565428)', '2026-08-04 05:01:20', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777102 -3.565535)'), GeomFromEWKT('SRID=4674;POINT (-38.777019 -3.565428)'))) / (select extract(epoch from '2026-08-04 05:01:20'::timestamp) - extract(epoch from '2026-08-04 05:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777102 -3.565535)'), GeomFromEWKT('SRID=4674;POINT (-38.777019 -3.565428)'))) / (select extract(epoch from '2026-08-04 05:01:20'::timestamp) - extract(epoch from '2026-08-04 05:01:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.776968 -3.565334)', '2026-08-04 05:01:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777019 -3.565428)'), GeomFromEWKT('SRID=4674;POINT (-38.776968 -3.565334)'))) / (select extract(epoch from '2026-08-04 05:01:25'::timestamp) - extract(epoch from '2026-08-04 05:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777019 -3.565428)'), GeomFromEWKT('SRID=4674;POINT (-38.776968 -3.565334)'))) / (select extract(epoch from '2026-08-04 05:01:25'::timestamp) - extract(epoch from '2026-08-04 05:01: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'), 48149, 'SRID=4674;POINT (-38.77693 -3.565195)', '2026-08-04 05:01:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776968 -3.565334)'), GeomFromEWKT('SRID=4674;POINT (-38.77693 -3.565195)'))) / (select extract(epoch from '2026-08-04 05:01:32'::timestamp) - extract(epoch from '2026-08-04 05:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776968 -3.565334)'), GeomFromEWKT('SRID=4674;POINT (-38.77693 -3.565195)'))) / (select extract(epoch from '2026-08-04 05:01:32'::timestamp) - extract(epoch from '2026-08-04 05:01:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.776901 -3.565041)', '2026-08-04 05:01:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77693 -3.565195)'), GeomFromEWKT('SRID=4674;POINT (-38.776901 -3.565041)'))) / (select extract(epoch from '2026-08-04 05:01:39'::timestamp) - extract(epoch from '2026-08-04 05:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77693 -3.565195)'), GeomFromEWKT('SRID=4674;POINT (-38.776901 -3.565041)'))) / (select extract(epoch from '2026-08-04 05:01:39'::timestamp) - extract(epoch from '2026-08-04 05:01: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'), 48149, 'SRID=4674;POINT (-38.776881 -3.56494)', '2026-08-04 05:01:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776901 -3.565041)'), GeomFromEWKT('SRID=4674;POINT (-38.776881 -3.56494)'))) / (select extract(epoch from '2026-08-04 05:01:44'::timestamp) - extract(epoch from '2026-08-04 05:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776901 -3.565041)'), GeomFromEWKT('SRID=4674;POINT (-38.776881 -3.56494)'))) / (select extract(epoch from '2026-08-04 05:01:44'::timestamp) - extract(epoch from '2026-08-04 05:01:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.776889 -3.564848)', '2026-08-04 05:01:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776881 -3.56494)'), GeomFromEWKT('SRID=4674;POINT (-38.776889 -3.564848)'))) / (select extract(epoch from '2026-08-04 05:01:49'::timestamp) - extract(epoch from '2026-08-04 05:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776881 -3.56494)'), GeomFromEWKT('SRID=4674;POINT (-38.776889 -3.564848)'))) / (select extract(epoch from '2026-08-04 05:01:49'::timestamp) - extract(epoch from '2026-08-04 05:01: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'), 48149, 'SRID=4674;POINT (-38.776887 -3.564747)', '2026-08-04 05:01:54', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776889 -3.564848)'), GeomFromEWKT('SRID=4674;POINT (-38.776887 -3.564747)'))) / (select extract(epoch from '2026-08-04 05:01:54'::timestamp) - extract(epoch from '2026-08-04 05:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776889 -3.564848)'), GeomFromEWKT('SRID=4674;POINT (-38.776887 -3.564747)'))) / (select extract(epoch from '2026-08-04 05:01:54'::timestamp) - extract(epoch from '2026-08-04 05:01: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'), 48149, 'SRID=4674;POINT (-38.776854 -3.564628)', '2026-08-04 05:02:00', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776887 -3.564747)'), GeomFromEWKT('SRID=4674;POINT (-38.776854 -3.564628)'))) / (select extract(epoch from '2026-08-04 05:02:00'::timestamp) - extract(epoch from '2026-08-04 05:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776887 -3.564747)'), GeomFromEWKT('SRID=4674;POINT (-38.776854 -3.564628)'))) / (select extract(epoch from '2026-08-04 05:02:00'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.7768 -3.564521)', '2026-08-04 05:02:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776854 -3.564628)'), GeomFromEWKT('SRID=4674;POINT (-38.7768 -3.564521)'))) / (select extract(epoch from '2026-08-04 05:02:06'::timestamp) - extract(epoch from '2026-08-04 05:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776854 -3.564628)'), GeomFromEWKT('SRID=4674;POINT (-38.7768 -3.564521)'))) / (select extract(epoch from '2026-08-04 05:02:06'::timestamp) - extract(epoch from '2026-08-04 05:02:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.776737 -3.564438)', '2026-08-04 05:02:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7768 -3.564521)'), GeomFromEWKT('SRID=4674;POINT (-38.776737 -3.564438)'))) / (select extract(epoch from '2026-08-04 05:02:12'::timestamp) - extract(epoch from '2026-08-04 05:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7768 -3.564521)'), GeomFromEWKT('SRID=4674;POINT (-38.776737 -3.564438)'))) / (select extract(epoch from '2026-08-04 05:02:12'::timestamp) - extract(epoch from '2026-08-04 05:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.776671 -3.56435)', '2026-08-04 05:02:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776737 -3.564438)'), GeomFromEWKT('SRID=4674;POINT (-38.776671 -3.56435)'))) / (select extract(epoch from '2026-08-04 05:02:18'::timestamp) - extract(epoch from '2026-08-04 05:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776737 -3.564438)'), GeomFromEWKT('SRID=4674;POINT (-38.776671 -3.56435)'))) / (select extract(epoch from '2026-08-04 05:02:18'::timestamp) - extract(epoch from '2026-08-04 05:02: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'), 48149, 'SRID=4674;POINT (-38.776618 -3.564244)', '2026-08-04 05:02:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776671 -3.56435)'), GeomFromEWKT('SRID=4674;POINT (-38.776618 -3.564244)'))) / (select extract(epoch from '2026-08-04 05:02:24'::timestamp) - extract(epoch from '2026-08-04 05:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776671 -3.56435)'), GeomFromEWKT('SRID=4674;POINT (-38.776618 -3.564244)'))) / (select extract(epoch from '2026-08-04 05:02:24'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.776576 -3.564157)', '2026-08-04 05:02:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776618 -3.564244)'), GeomFromEWKT('SRID=4674;POINT (-38.776576 -3.564157)'))) / (select extract(epoch from '2026-08-04 05:02:29'::timestamp) - extract(epoch from '2026-08-04 05:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776618 -3.564244)'), GeomFromEWKT('SRID=4674;POINT (-38.776576 -3.564157)'))) / (select extract(epoch from '2026-08-04 05:02:29'::timestamp) - extract(epoch from '2026-08-04 05:02:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.776533 -3.564033)', '2026-08-04 05:02:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776576 -3.564157)'), GeomFromEWKT('SRID=4674;POINT (-38.776533 -3.564033)'))) / (select extract(epoch from '2026-08-04 05:02:35'::timestamp) - extract(epoch from '2026-08-04 05:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776576 -3.564157)'), GeomFromEWKT('SRID=4674;POINT (-38.776533 -3.564033)'))) / (select extract(epoch from '2026-08-04 05:02:35'::timestamp) - extract(epoch from '2026-08-04 05:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.776489 -3.563919)', '2026-08-04 05:02:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776533 -3.564033)'), GeomFromEWKT('SRID=4674;POINT (-38.776489 -3.563919)'))) / (select extract(epoch from '2026-08-04 05:02:41'::timestamp) - extract(epoch from '2026-08-04 05:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776533 -3.564033)'), GeomFromEWKT('SRID=4674;POINT (-38.776489 -3.563919)'))) / (select extract(epoch from '2026-08-04 05:02:41'::timestamp) - extract(epoch from '2026-08-04 05:02:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.776446 -3.563769)', '2026-08-04 05:02:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776489 -3.563919)'), GeomFromEWKT('SRID=4674;POINT (-38.776446 -3.563769)'))) / (select extract(epoch from '2026-08-04 05:02:48'::timestamp) - extract(epoch from '2026-08-04 05:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776489 -3.563919)'), GeomFromEWKT('SRID=4674;POINT (-38.776446 -3.563769)'))) / (select extract(epoch from '2026-08-04 05:02:48'::timestamp) - extract(epoch from '2026-08-04 05:02:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.776405 -3.56362)', '2026-08-04 05:02:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776446 -3.563769)'), GeomFromEWKT('SRID=4674;POINT (-38.776405 -3.56362)'))) / (select extract(epoch from '2026-08-04 05:02:55'::timestamp) - extract(epoch from '2026-08-04 05:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776446 -3.563769)'), GeomFromEWKT('SRID=4674;POINT (-38.776405 -3.56362)'))) / (select extract(epoch from '2026-08-04 05:02:55'::timestamp) - extract(epoch from '2026-08-04 05:02:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.776379 -3.5635)', '2026-08-04 05:03:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776405 -3.56362)'), GeomFromEWKT('SRID=4674;POINT (-38.776379 -3.5635)'))) / (select extract(epoch from '2026-08-04 05:03:01'::timestamp) - extract(epoch from '2026-08-04 05:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776405 -3.56362)'), GeomFromEWKT('SRID=4674;POINT (-38.776379 -3.5635)'))) / (select extract(epoch from '2026-08-04 05:03:01'::timestamp) - extract(epoch from '2026-08-04 05:02: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'), 48149, 'SRID=4674;POINT (-38.776337 -3.563356)', '2026-08-04 05:03:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776379 -3.5635)'), GeomFromEWKT('SRID=4674;POINT (-38.776337 -3.563356)'))) / (select extract(epoch from '2026-08-04 05:03:08'::timestamp) - extract(epoch from '2026-08-04 05:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776379 -3.5635)'), GeomFromEWKT('SRID=4674;POINT (-38.776337 -3.563356)'))) / (select extract(epoch from '2026-08-04 05:03:08'::timestamp) - extract(epoch from '2026-08-04 05:03:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.776297 -3.563212)', '2026-08-04 05:03:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776337 -3.563356)'), GeomFromEWKT('SRID=4674;POINT (-38.776297 -3.563212)'))) / (select extract(epoch from '2026-08-04 05:03:15'::timestamp) - extract(epoch from '2026-08-04 05:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776337 -3.563356)'), GeomFromEWKT('SRID=4674;POINT (-38.776297 -3.563212)'))) / (select extract(epoch from '2026-08-04 05:03:15'::timestamp) - extract(epoch from '2026-08-04 05:03:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.776248 -3.563078)', '2026-08-04 05:03:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776297 -3.563212)'), GeomFromEWKT('SRID=4674;POINT (-38.776248 -3.563078)'))) / (select extract(epoch from '2026-08-04 05:03:22'::timestamp) - extract(epoch from '2026-08-04 05:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776297 -3.563212)'), GeomFromEWKT('SRID=4674;POINT (-38.776248 -3.563078)'))) / (select extract(epoch from '2026-08-04 05:03:22'::timestamp) - extract(epoch from '2026-08-04 05:03:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.776188 -3.562976)', '2026-08-04 05:03:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776248 -3.563078)'), GeomFromEWKT('SRID=4674;POINT (-38.776188 -3.562976)'))) / (select extract(epoch from '2026-08-04 05:03:28'::timestamp) - extract(epoch from '2026-08-04 05:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776248 -3.563078)'), GeomFromEWKT('SRID=4674;POINT (-38.776188 -3.562976)'))) / (select extract(epoch from '2026-08-04 05:03:28'::timestamp) - extract(epoch from '2026-08-04 05:03: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'), 48149, 'SRID=4674;POINT (-38.776145 -3.56286)', '2026-08-04 05:03:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776188 -3.562976)'), GeomFromEWKT('SRID=4674;POINT (-38.776145 -3.56286)'))) / (select extract(epoch from '2026-08-04 05:03:34'::timestamp) - extract(epoch from '2026-08-04 05:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776188 -3.562976)'), GeomFromEWKT('SRID=4674;POINT (-38.776145 -3.56286)'))) / (select extract(epoch from '2026-08-04 05:03:34'::timestamp) - extract(epoch from '2026-08-04 05:03: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'), 48149, 'SRID=4674;POINT (-38.776077 -3.562758)', '2026-08-04 05:03:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776145 -3.56286)'), GeomFromEWKT('SRID=4674;POINT (-38.776077 -3.562758)'))) / (select extract(epoch from '2026-08-04 05:03:40'::timestamp) - extract(epoch from '2026-08-04 05:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776145 -3.56286)'), GeomFromEWKT('SRID=4674;POINT (-38.776077 -3.562758)'))) / (select extract(epoch from '2026-08-04 05:03:40'::timestamp) - extract(epoch from '2026-08-04 05:03:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.77601 -3.562651)', '2026-08-04 05:03:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776077 -3.562758)'), GeomFromEWKT('SRID=4674;POINT (-38.77601 -3.562651)'))) / (select extract(epoch from '2026-08-04 05:03:46'::timestamp) - extract(epoch from '2026-08-04 05:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776077 -3.562758)'), GeomFromEWKT('SRID=4674;POINT (-38.77601 -3.562651)'))) / (select extract(epoch from '2026-08-04 05:03:46'::timestamp) - extract(epoch from '2026-08-04 05:03:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.775921 -3.562482)', '2026-08-04 05:03:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77601 -3.562651)'), GeomFromEWKT('SRID=4674;POINT (-38.775921 -3.562482)'))) / (select extract(epoch from '2026-08-04 05:03:55'::timestamp) - extract(epoch from '2026-08-04 05:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77601 -3.562651)'), GeomFromEWKT('SRID=4674;POINT (-38.775921 -3.562482)'))) / (select extract(epoch from '2026-08-04 05:03:55'::timestamp) - extract(epoch from '2026-08-04 05:03:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.77588 -3.562365)', '2026-08-04 05:04:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775921 -3.562482)'), GeomFromEWKT('SRID=4674;POINT (-38.77588 -3.562365)'))) / (select extract(epoch from '2026-08-04 05:04:01'::timestamp) - extract(epoch from '2026-08-04 05:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775921 -3.562482)'), GeomFromEWKT('SRID=4674;POINT (-38.77588 -3.562365)'))) / (select extract(epoch from '2026-08-04 05:04:01'::timestamp) - extract(epoch from '2026-08-04 05:03:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.775842 -3.562239)', '2026-08-04 05:04:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77588 -3.562365)'), GeomFromEWKT('SRID=4674;POINT (-38.775842 -3.562239)'))) / (select extract(epoch from '2026-08-04 05:04:07'::timestamp) - extract(epoch from '2026-08-04 05:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77588 -3.562365)'), GeomFromEWKT('SRID=4674;POINT (-38.775842 -3.562239)'))) / (select extract(epoch from '2026-08-04 05:04:07'::timestamp) - extract(epoch from '2026-08-04 05:04: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'), 48149, 'SRID=4674;POINT (-38.775815 -3.562108)', '2026-08-04 05:04:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775842 -3.562239)'), GeomFromEWKT('SRID=4674;POINT (-38.775815 -3.562108)'))) / (select extract(epoch from '2026-08-04 05:04:13'::timestamp) - extract(epoch from '2026-08-04 05:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775842 -3.562239)'), GeomFromEWKT('SRID=4674;POINT (-38.775815 -3.562108)'))) / (select extract(epoch from '2026-08-04 05:04:13'::timestamp) - extract(epoch from '2026-08-04 05:04: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'), 48149, 'SRID=4674;POINT (-38.775768 -3.561944)', '2026-08-04 05:04:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775815 -3.562108)'), GeomFromEWKT('SRID=4674;POINT (-38.775768 -3.561944)'))) / (select extract(epoch from '2026-08-04 05:04:21'::timestamp) - extract(epoch from '2026-08-04 05:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775815 -3.562108)'), GeomFromEWKT('SRID=4674;POINT (-38.775768 -3.561944)'))) / (select extract(epoch from '2026-08-04 05:04:21'::timestamp) - extract(epoch from '2026-08-04 05:04: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'), 48149, 'SRID=4674;POINT (-38.775722 -3.561816)', '2026-08-04 05:04:28', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775768 -3.561944)'), GeomFromEWKT('SRID=4674;POINT (-38.775722 -3.561816)'))) / (select extract(epoch from '2026-08-04 05:04:28'::timestamp) - extract(epoch from '2026-08-04 05:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775768 -3.561944)'), GeomFromEWKT('SRID=4674;POINT (-38.775722 -3.561816)'))) / (select extract(epoch from '2026-08-04 05:04:28'::timestamp) - extract(epoch from '2026-08-04 05:04: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'), 48149, 'SRID=4674;POINT (-38.775673 -3.561719)', '2026-08-04 05:04:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775722 -3.561816)'), GeomFromEWKT('SRID=4674;POINT (-38.775673 -3.561719)'))) / (select extract(epoch from '2026-08-04 05:04:33'::timestamp) - extract(epoch from '2026-08-04 05:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775722 -3.561816)'), GeomFromEWKT('SRID=4674;POINT (-38.775673 -3.561719)'))) / (select extract(epoch from '2026-08-04 05:04:33'::timestamp) - extract(epoch from '2026-08-04 05:04:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.775615 -3.561584)', '2026-08-04 05:04:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775673 -3.561719)'), GeomFromEWKT('SRID=4674;POINT (-38.775615 -3.561584)'))) / (select extract(epoch from '2026-08-04 05:04:40'::timestamp) - extract(epoch from '2026-08-04 05:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775673 -3.561719)'), GeomFromEWKT('SRID=4674;POINT (-38.775615 -3.561584)'))) / (select extract(epoch from '2026-08-04 05:04:40'::timestamp) - extract(epoch from '2026-08-04 05:04: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'), 48149, 'SRID=4674;POINT (-38.775571 -3.561485)', '2026-08-04 05:04:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775615 -3.561584)'), GeomFromEWKT('SRID=4674;POINT (-38.775571 -3.561485)'))) / (select extract(epoch from '2026-08-04 05:04:45'::timestamp) - extract(epoch from '2026-08-04 05:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775615 -3.561584)'), GeomFromEWKT('SRID=4674;POINT (-38.775571 -3.561485)'))) / (select extract(epoch from '2026-08-04 05:04:45'::timestamp) - extract(epoch from '2026-08-04 05:04:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.775508 -3.561387)', '2026-08-04 05:04:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775571 -3.561485)'), GeomFromEWKT('SRID=4674;POINT (-38.775508 -3.561387)'))) / (select extract(epoch from '2026-08-04 05:04:51'::timestamp) - extract(epoch from '2026-08-04 05:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775571 -3.561485)'), GeomFromEWKT('SRID=4674;POINT (-38.775508 -3.561387)'))) / (select extract(epoch from '2026-08-04 05:04:51'::timestamp) - extract(epoch from '2026-08-04 05:04:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.775411 -3.561253)', '2026-08-04 05:04:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775508 -3.561387)'), GeomFromEWKT('SRID=4674;POINT (-38.775411 -3.561253)'))) / (select extract(epoch from '2026-08-04 05:04:59'::timestamp) - extract(epoch from '2026-08-04 05:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775508 -3.561387)'), GeomFromEWKT('SRID=4674;POINT (-38.775411 -3.561253)'))) / (select extract(epoch from '2026-08-04 05:04:59'::timestamp) - extract(epoch from '2026-08-04 05:04: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'), 48149, 'SRID=4674;POINT (-38.775331 -3.561143)', '2026-08-04 05:05:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775411 -3.561253)'), GeomFromEWKT('SRID=4674;POINT (-38.775331 -3.561143)'))) / (select extract(epoch from '2026-08-04 05:05:06'::timestamp) - extract(epoch from '2026-08-04 05:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775411 -3.561253)'), GeomFromEWKT('SRID=4674;POINT (-38.775331 -3.561143)'))) / (select extract(epoch from '2026-08-04 05:05:06'::timestamp) - extract(epoch from '2026-08-04 05:04:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.775281 -3.561041)', '2026-08-04 05:05:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775331 -3.561143)'), GeomFromEWKT('SRID=4674;POINT (-38.775281 -3.561041)'))) / (select extract(epoch from '2026-08-04 05:05:12'::timestamp) - extract(epoch from '2026-08-04 05:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775331 -3.561143)'), GeomFromEWKT('SRID=4674;POINT (-38.775281 -3.561041)'))) / (select extract(epoch from '2026-08-04 05:05:12'::timestamp) - extract(epoch from '2026-08-04 05:05:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.775192 -3.560889)', '2026-08-04 05:05:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775281 -3.561041)'), GeomFromEWKT('SRID=4674;POINT (-38.775192 -3.560889)'))) / (select extract(epoch from '2026-08-04 05:05:20'::timestamp) - extract(epoch from '2026-08-04 05:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775281 -3.561041)'), GeomFromEWKT('SRID=4674;POINT (-38.775192 -3.560889)'))) / (select extract(epoch from '2026-08-04 05:05:20'::timestamp) - extract(epoch from '2026-08-04 05:05: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'), 48149, 'SRID=4674;POINT (-38.775131 -3.560759)', '2026-08-04 05:05:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775192 -3.560889)'), GeomFromEWKT('SRID=4674;POINT (-38.775131 -3.560759)'))) / (select extract(epoch from '2026-08-04 05:05:27'::timestamp) - extract(epoch from '2026-08-04 05:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775192 -3.560889)'), GeomFromEWKT('SRID=4674;POINT (-38.775131 -3.560759)'))) / (select extract(epoch from '2026-08-04 05:05:27'::timestamp) - extract(epoch from '2026-08-04 05:05: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'), 48149, 'SRID=4674;POINT (-38.775085 -3.560668)', '2026-08-04 05:05:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775131 -3.560759)'), GeomFromEWKT('SRID=4674;POINT (-38.775085 -3.560668)'))) / (select extract(epoch from '2026-08-04 05:05:32'::timestamp) - extract(epoch from '2026-08-04 05:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775131 -3.560759)'), GeomFromEWKT('SRID=4674;POINT (-38.775085 -3.560668)'))) / (select extract(epoch from '2026-08-04 05:05:32'::timestamp) - extract(epoch from '2026-08-04 05:05:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.775046 -3.56058)', '2026-08-04 05:05:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775085 -3.560668)'), GeomFromEWKT('SRID=4674;POINT (-38.775046 -3.56058)'))) / (select extract(epoch from '2026-08-04 05:05:37'::timestamp) - extract(epoch from '2026-08-04 05:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775085 -3.560668)'), GeomFromEWKT('SRID=4674;POINT (-38.775046 -3.56058)'))) / (select extract(epoch from '2026-08-04 05:05:37'::timestamp) - extract(epoch from '2026-08-04 05:05: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'), 48149, 'SRID=4674;POINT (-38.774977 -3.56046)', '2026-08-04 05:05:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775046 -3.56058)'), GeomFromEWKT('SRID=4674;POINT (-38.774977 -3.56046)'))) / (select extract(epoch from '2026-08-04 05:05:44'::timestamp) - extract(epoch from '2026-08-04 05:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775046 -3.56058)'), GeomFromEWKT('SRID=4674;POINT (-38.774977 -3.56046)'))) / (select extract(epoch from '2026-08-04 05:05:44'::timestamp) - extract(epoch from '2026-08-04 05:05:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.774898 -3.560331)', '2026-08-04 05:05:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774977 -3.56046)'), GeomFromEWKT('SRID=4674;POINT (-38.774898 -3.560331)'))) / (select extract(epoch from '2026-08-04 05:05:51'::timestamp) - extract(epoch from '2026-08-04 05:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774977 -3.56046)'), GeomFromEWKT('SRID=4674;POINT (-38.774898 -3.560331)'))) / (select extract(epoch from '2026-08-04 05:05:51'::timestamp) - extract(epoch from '2026-08-04 05:05:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.774844 -3.560218)', '2026-08-04 05:05:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774898 -3.560331)'), GeomFromEWKT('SRID=4674;POINT (-38.774844 -3.560218)'))) / (select extract(epoch from '2026-08-04 05:05:57'::timestamp) - extract(epoch from '2026-08-04 05:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774898 -3.560331)'), GeomFromEWKT('SRID=4674;POINT (-38.774844 -3.560218)'))) / (select extract(epoch from '2026-08-04 05:05:57'::timestamp) - extract(epoch from '2026-08-04 05:05:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.774782 -3.560108)', '2026-08-04 05:06:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774844 -3.560218)'), GeomFromEWKT('SRID=4674;POINT (-38.774782 -3.560108)'))) / (select extract(epoch from '2026-08-04 05:06:03'::timestamp) - extract(epoch from '2026-08-04 05:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774844 -3.560218)'), GeomFromEWKT('SRID=4674;POINT (-38.774782 -3.560108)'))) / (select extract(epoch from '2026-08-04 05:06:03'::timestamp) - extract(epoch from '2026-08-04 05:05:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.774711 -3.560002)', '2026-08-04 05:06:09', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774782 -3.560108)'), GeomFromEWKT('SRID=4674;POINT (-38.774711 -3.560002)'))) / (select extract(epoch from '2026-08-04 05:06:09'::timestamp) - extract(epoch from '2026-08-04 05:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774782 -3.560108)'), GeomFromEWKT('SRID=4674;POINT (-38.774711 -3.560002)'))) / (select extract(epoch from '2026-08-04 05:06:09'::timestamp) - extract(epoch from '2026-08-04 05:06:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.774628 -3.559922)', '2026-08-04 05:06:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774711 -3.560002)'), GeomFromEWKT('SRID=4674;POINT (-38.774628 -3.559922)'))) / (select extract(epoch from '2026-08-04 05:06:15'::timestamp) - extract(epoch from '2026-08-04 05:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774711 -3.560002)'), GeomFromEWKT('SRID=4674;POINT (-38.774628 -3.559922)'))) / (select extract(epoch from '2026-08-04 05:06:15'::timestamp) - extract(epoch from '2026-08-04 05:06: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'), 48149, 'SRID=4674;POINT (-38.774587 -3.559883)', '2026-08-04 05:06:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774628 -3.559922)'), GeomFromEWKT('SRID=4674;POINT (-38.774587 -3.559883)'))) / (select extract(epoch from '2026-08-04 05:06:18'::timestamp) - extract(epoch from '2026-08-04 05:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774628 -3.559922)'), GeomFromEWKT('SRID=4674;POINT (-38.774587 -3.559883)'))) / (select extract(epoch from '2026-08-04 05:06:18'::timestamp) - extract(epoch from '2026-08-04 05:06: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'), 48149, 'SRID=4674;POINT (-38.774578 -3.559869)', '2026-08-04 05:06:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774587 -3.559883)'), GeomFromEWKT('SRID=4674;POINT (-38.774578 -3.559869)'))) / (select extract(epoch from '2026-08-04 05:06:19'::timestamp) - extract(epoch from '2026-08-04 05:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774587 -3.559883)'), GeomFromEWKT('SRID=4674;POINT (-38.774578 -3.559869)'))) / (select extract(epoch from '2026-08-04 05:06:19'::timestamp) - extract(epoch from '2026-08-04 05:06: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'), 48149, 'SRID=4674;POINT (-38.774503 -3.559801)', '2026-08-04 05:06:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774578 -3.559869)'), GeomFromEWKT('SRID=4674;POINT (-38.774503 -3.559801)'))) / (select extract(epoch from '2026-08-04 05:06:24'::timestamp) - extract(epoch from '2026-08-04 05:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774578 -3.559869)'), GeomFromEWKT('SRID=4674;POINT (-38.774503 -3.559801)'))) / (select extract(epoch from '2026-08-04 05:06:24'::timestamp) - extract(epoch from '2026-08-04 05:06:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.774415 -3.559725)', '2026-08-04 05:06:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774503 -3.559801)'), GeomFromEWKT('SRID=4674;POINT (-38.774415 -3.559725)'))) / (select extract(epoch from '2026-08-04 05:06:30'::timestamp) - extract(epoch from '2026-08-04 05:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774503 -3.559801)'), GeomFromEWKT('SRID=4674;POINT (-38.774415 -3.559725)'))) / (select extract(epoch from '2026-08-04 05:06:30'::timestamp) - extract(epoch from '2026-08-04 05:06: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'), 48149, 'SRID=4674;POINT (-38.774381 -3.559703)', '2026-08-04 05:06:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774415 -3.559725)'), GeomFromEWKT('SRID=4674;POINT (-38.774381 -3.559703)'))) / (select extract(epoch from '2026-08-04 05:06:32'::timestamp) - extract(epoch from '2026-08-04 05:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774415 -3.559725)'), GeomFromEWKT('SRID=4674;POINT (-38.774381 -3.559703)'))) / (select extract(epoch from '2026-08-04 05:06:32'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.77436 -3.559684)', '2026-08-04 05:06:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774381 -3.559703)'), GeomFromEWKT('SRID=4674;POINT (-38.77436 -3.559684)'))) / (select extract(epoch from '2026-08-04 05:06:34'::timestamp) - extract(epoch from '2026-08-04 05:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774381 -3.559703)'), GeomFromEWKT('SRID=4674;POINT (-38.77436 -3.559684)'))) / (select extract(epoch from '2026-08-04 05:06:34'::timestamp) - extract(epoch from '2026-08-04 05:06: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'), 48149, 'SRID=4674;POINT (-38.774303 -3.55964)', '2026-08-04 05:06:39', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77436 -3.559684)'), GeomFromEWKT('SRID=4674;POINT (-38.774303 -3.55964)'))) / (select extract(epoch from '2026-08-04 05:06:39'::timestamp) - extract(epoch from '2026-08-04 05:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77436 -3.559684)'), GeomFromEWKT('SRID=4674;POINT (-38.774303 -3.55964)'))) / (select extract(epoch from '2026-08-04 05:06:39'::timestamp) - extract(epoch from '2026-08-04 05:06: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'), 48149, 'SRID=4674;POINT (-38.774268 -3.559587)', '2026-08-04 05:06:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774303 -3.55964)'), GeomFromEWKT('SRID=4674;POINT (-38.774268 -3.559587)'))) / (select extract(epoch from '2026-08-04 05:06:45'::timestamp) - extract(epoch from '2026-08-04 05:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774303 -3.55964)'), GeomFromEWKT('SRID=4674;POINT (-38.774268 -3.559587)'))) / (select extract(epoch from '2026-08-04 05:06:45'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.774269 -3.559567)', '2026-08-04 05:06:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774268 -3.559587)'), GeomFromEWKT('SRID=4674;POINT (-38.774269 -3.559567)'))) / (select extract(epoch from '2026-08-04 05:06:49'::timestamp) - extract(epoch from '2026-08-04 05:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774268 -3.559587)'), GeomFromEWKT('SRID=4674;POINT (-38.774269 -3.559567)'))) / (select extract(epoch from '2026-08-04 05:06:49'::timestamp) - extract(epoch from '2026-08-04 05:06:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.774267 -3.559528)', '2026-08-04 05:06:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774269 -3.559567)'), GeomFromEWKT('SRID=4674;POINT (-38.774267 -3.559528)'))) / (select extract(epoch from '2026-08-04 05:06:56'::timestamp) - extract(epoch from '2026-08-04 05:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774269 -3.559567)'), GeomFromEWKT('SRID=4674;POINT (-38.774267 -3.559528)'))) / (select extract(epoch from '2026-08-04 05:06:56'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.77427 -3.559506)', '2026-08-04 05:07:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774267 -3.559528)'), GeomFromEWKT('SRID=4674;POINT (-38.77427 -3.559506)'))) / (select extract(epoch from '2026-08-04 05:07:01'::timestamp) - extract(epoch from '2026-08-04 05:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774267 -3.559528)'), GeomFromEWKT('SRID=4674;POINT (-38.77427 -3.559506)'))) / (select extract(epoch from '2026-08-04 05:07:01'::timestamp) - extract(epoch from '2026-08-04 05:06: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'), 48149, 'SRID=4674;POINT (-38.774275 -3.55946)', '2026-08-04 05:07:11', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77427 -3.559506)'), GeomFromEWKT('SRID=4674;POINT (-38.774275 -3.55946)'))) / (select extract(epoch from '2026-08-04 05:07:11'::timestamp) - extract(epoch from '2026-08-04 05:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77427 -3.559506)'), GeomFromEWKT('SRID=4674;POINT (-38.774275 -3.55946)'))) / (select extract(epoch from '2026-08-04 05:07:11'::timestamp) - extract(epoch from '2026-08-04 05:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.774284 -3.559431)', '2026-08-04 05:07:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774275 -3.55946)'), GeomFromEWKT('SRID=4674;POINT (-38.774284 -3.559431)'))) / (select extract(epoch from '2026-08-04 05:07:18'::timestamp) - extract(epoch from '2026-08-04 05:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774275 -3.55946)'), GeomFromEWKT('SRID=4674;POINT (-38.774284 -3.559431)'))) / (select extract(epoch from '2026-08-04 05:07:18'::timestamp) - extract(epoch from '2026-08-04 05:07:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.774294 -3.559419)', '2026-08-04 05:07:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774284 -3.559431)'), GeomFromEWKT('SRID=4674;POINT (-38.774294 -3.559419)'))) / (select extract(epoch from '2026-08-04 05:07:20'::timestamp) - extract(epoch from '2026-08-04 05:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774284 -3.559431)'), GeomFromEWKT('SRID=4674;POINT (-38.774294 -3.559419)'))) / (select extract(epoch from '2026-08-04 05:07:20'::timestamp) - extract(epoch from '2026-08-04 05:07: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'), 48149, 'SRID=4674;POINT (-38.774287 -3.559409)', '2026-08-04 05:07:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774294 -3.559419)'), GeomFromEWKT('SRID=4674;POINT (-38.774287 -3.559409)'))) / (select extract(epoch from '2026-08-04 05:07:22'::timestamp) - extract(epoch from '2026-08-04 05:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774294 -3.559419)'), GeomFromEWKT('SRID=4674;POINT (-38.774287 -3.559409)'))) / (select extract(epoch from '2026-08-04 05:07:22'::timestamp) - extract(epoch from '2026-08-04 05:07:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.774307 -3.559384)', '2026-08-04 05:07:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774287 -3.559409)'), GeomFromEWKT('SRID=4674;POINT (-38.774307 -3.559384)'))) / (select extract(epoch from '2026-08-04 05:07:29'::timestamp) - extract(epoch from '2026-08-04 05:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774287 -3.559409)'), GeomFromEWKT('SRID=4674;POINT (-38.774307 -3.559384)'))) / (select extract(epoch from '2026-08-04 05:07:29'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.774337 -3.559356)', '2026-08-04 05:07:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774307 -3.559384)'), GeomFromEWKT('SRID=4674;POINT (-38.774337 -3.559356)'))) / (select extract(epoch from '2026-08-04 05:07:37'::timestamp) - extract(epoch from '2026-08-04 05:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774307 -3.559384)'), GeomFromEWKT('SRID=4674;POINT (-38.774337 -3.559356)'))) / (select extract(epoch from '2026-08-04 05:07:37'::timestamp) - extract(epoch from '2026-08-04 05:07:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.774353 -3.559337)', '2026-08-04 05:07:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774337 -3.559356)'), GeomFromEWKT('SRID=4674;POINT (-38.774353 -3.559337)'))) / (select extract(epoch from '2026-08-04 05:07:44'::timestamp) - extract(epoch from '2026-08-04 05:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774337 -3.559356)'), GeomFromEWKT('SRID=4674;POINT (-38.774353 -3.559337)'))) / (select extract(epoch from '2026-08-04 05:07:44'::timestamp) - extract(epoch from '2026-08-04 05:07: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'), 48149, 'SRID=4674;POINT (-38.774371 -3.559313)', '2026-08-04 05:07:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774353 -3.559337)'), GeomFromEWKT('SRID=4674;POINT (-38.774371 -3.559313)'))) / (select extract(epoch from '2026-08-04 05:07:54'::timestamp) - extract(epoch from '2026-08-04 05:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774353 -3.559337)'), GeomFromEWKT('SRID=4674;POINT (-38.774371 -3.559313)'))) / (select extract(epoch from '2026-08-04 05:07:54'::timestamp) - extract(epoch from '2026-08-04 05:07:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.774382 -3.559282)', '2026-08-04 05:08:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774371 -3.559313)'), GeomFromEWKT('SRID=4674;POINT (-38.774382 -3.559282)'))) / (select extract(epoch from '2026-08-04 05:08:01'::timestamp) - extract(epoch from '2026-08-04 05:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774371 -3.559313)'), GeomFromEWKT('SRID=4674;POINT (-38.774382 -3.559282)'))) / (select extract(epoch from '2026-08-04 05:08:01'::timestamp) - extract(epoch from '2026-08-04 05:07: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'), 48149, 'SRID=4674;POINT (-38.774385 -3.55927)', '2026-08-04 05:08:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774382 -3.559282)'), GeomFromEWKT('SRID=4674;POINT (-38.774385 -3.55927)'))) / (select extract(epoch from '2026-08-04 05:08:03'::timestamp) - extract(epoch from '2026-08-04 05:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774382 -3.559282)'), GeomFromEWKT('SRID=4674;POINT (-38.774385 -3.55927)'))) / (select extract(epoch from '2026-08-04 05:08:03'::timestamp) - extract(epoch from '2026-08-04 05:08: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'), 48149, 'SRID=4674;POINT (-38.774401 -3.559238)', '2026-08-04 05:08:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774385 -3.55927)'), GeomFromEWKT('SRID=4674;POINT (-38.774401 -3.559238)'))) / (select extract(epoch from '2026-08-04 05:08:11'::timestamp) - extract(epoch from '2026-08-04 05:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774385 -3.55927)'), GeomFromEWKT('SRID=4674;POINT (-38.774401 -3.559238)'))) / (select extract(epoch from '2026-08-04 05:08:11'::timestamp) - extract(epoch from '2026-08-04 05:08:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.774427 -3.559207)', '2026-08-04 05:08:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774401 -3.559238)'), GeomFromEWKT('SRID=4674;POINT (-38.774427 -3.559207)'))) / (select extract(epoch from '2026-08-04 05:08:19'::timestamp) - extract(epoch from '2026-08-04 05:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774401 -3.559238)'), GeomFromEWKT('SRID=4674;POINT (-38.774427 -3.559207)'))) / (select extract(epoch from '2026-08-04 05:08:19'::timestamp) - extract(epoch from '2026-08-04 05:08: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'), 48149, 'SRID=4674;POINT (-38.77443 -3.559177)', '2026-08-04 05:08:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774427 -3.559207)'), GeomFromEWKT('SRID=4674;POINT (-38.77443 -3.559177)'))) / (select extract(epoch from '2026-08-04 05:08:24'::timestamp) - extract(epoch from '2026-08-04 05:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774427 -3.559207)'), GeomFromEWKT('SRID=4674;POINT (-38.77443 -3.559177)'))) / (select extract(epoch from '2026-08-04 05:08:24'::timestamp) - extract(epoch from '2026-08-04 05:08: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'), 48149, 'SRID=4674;POINT (-38.774414 -3.559157)', '2026-08-04 05:08:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77443 -3.559177)'), GeomFromEWKT('SRID=4674;POINT (-38.774414 -3.559157)'))) / (select extract(epoch from '2026-08-04 05:08:26'::timestamp) - extract(epoch from '2026-08-04 05:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77443 -3.559177)'), GeomFromEWKT('SRID=4674;POINT (-38.774414 -3.559157)'))) / (select extract(epoch from '2026-08-04 05:08:26'::timestamp) - extract(epoch from '2026-08-04 05:08: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'), 48149, 'SRID=4674;POINT (-38.77433 -3.5591)', '2026-08-04 05:08:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774414 -3.559157)'), GeomFromEWKT('SRID=4674;POINT (-38.77433 -3.5591)'))) / (select extract(epoch from '2026-08-04 05:08:33'::timestamp) - extract(epoch from '2026-08-04 05:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774414 -3.559157)'), GeomFromEWKT('SRID=4674;POINT (-38.77433 -3.5591)'))) / (select extract(epoch from '2026-08-04 05:08:33'::timestamp) - extract(epoch from '2026-08-04 05:08: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'), 48149, 'SRID=4674;POINT (-38.774212 -3.559059)', '2026-08-04 05:08:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77433 -3.5591)'), GeomFromEWKT('SRID=4674;POINT (-38.774212 -3.559059)'))) / (select extract(epoch from '2026-08-04 05:08:40'::timestamp) - extract(epoch from '2026-08-04 05:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77433 -3.5591)'), GeomFromEWKT('SRID=4674;POINT (-38.774212 -3.559059)'))) / (select extract(epoch from '2026-08-04 05:08:40'::timestamp) - extract(epoch from '2026-08-04 05:08: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'), 48149, 'SRID=4674;POINT (-38.774112 -3.559024)', '2026-08-04 05:08:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774212 -3.559059)'), GeomFromEWKT('SRID=4674;POINT (-38.774112 -3.559024)'))) / (select extract(epoch from '2026-08-04 05:08:46'::timestamp) - extract(epoch from '2026-08-04 05:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774212 -3.559059)'), GeomFromEWKT('SRID=4674;POINT (-38.774112 -3.559024)'))) / (select extract(epoch from '2026-08-04 05:08:46'::timestamp) - extract(epoch from '2026-08-04 05:08: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'), 48149, 'SRID=4674;POINT (-38.774086 -3.559002)', '2026-08-04 05:08:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774112 -3.559024)'), GeomFromEWKT('SRID=4674;POINT (-38.774086 -3.559002)'))) / (select extract(epoch from '2026-08-04 05:08:49'::timestamp) - extract(epoch from '2026-08-04 05:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774112 -3.559024)'), GeomFromEWKT('SRID=4674;POINT (-38.774086 -3.559002)'))) / (select extract(epoch from '2026-08-04 05:08:49'::timestamp) - extract(epoch from '2026-08-04 05:08:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.774066 -3.558994)', '2026-08-04 05:08:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774086 -3.559002)'), GeomFromEWKT('SRID=4674;POINT (-38.774066 -3.558994)'))) / (select extract(epoch from '2026-08-04 05:08:51'::timestamp) - extract(epoch from '2026-08-04 05:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774086 -3.559002)'), GeomFromEWKT('SRID=4674;POINT (-38.774066 -3.558994)'))) / (select extract(epoch from '2026-08-04 05:08:51'::timestamp) - extract(epoch from '2026-08-04 05:08: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'), 48149, 'SRID=4674;POINT (-38.774039 -3.558971)', '2026-08-04 05:08:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774066 -3.558994)'), GeomFromEWKT('SRID=4674;POINT (-38.774039 -3.558971)'))) / (select extract(epoch from '2026-08-04 05:08:57'::timestamp) - extract(epoch from '2026-08-04 05:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774066 -3.558994)'), GeomFromEWKT('SRID=4674;POINT (-38.774039 -3.558971)'))) / (select extract(epoch from '2026-08-04 05:08:57'::timestamp) - extract(epoch from '2026-08-04 05:08:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.774028 -3.558929)', '2026-08-04 05:09:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774039 -3.558971)'), GeomFromEWKT('SRID=4674;POINT (-38.774028 -3.558929)'))) / (select extract(epoch from '2026-08-04 05:09:07'::timestamp) - extract(epoch from '2026-08-04 05:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774039 -3.558971)'), GeomFromEWKT('SRID=4674;POINT (-38.774028 -3.558929)'))) / (select extract(epoch from '2026-08-04 05:09:07'::timestamp) - extract(epoch from '2026-08-04 05:08:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.774038 -3.558898)', '2026-08-04 05:09:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774028 -3.558929)'), GeomFromEWKT('SRID=4674;POINT (-38.774038 -3.558898)'))) / (select extract(epoch from '2026-08-04 05:09:17'::timestamp) - extract(epoch from '2026-08-04 05:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774028 -3.558929)'), GeomFromEWKT('SRID=4674;POINT (-38.774038 -3.558898)'))) / (select extract(epoch from '2026-08-04 05:09:17'::timestamp) - extract(epoch from '2026-08-04 05:09:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.774054 -3.558875)', '2026-08-04 05:09:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774038 -3.558898)'), GeomFromEWKT('SRID=4674;POINT (-38.774054 -3.558875)'))) / (select extract(epoch from '2026-08-04 05:09:24'::timestamp) - extract(epoch from '2026-08-04 05:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774038 -3.558898)'), GeomFromEWKT('SRID=4674;POINT (-38.774054 -3.558875)'))) / (select extract(epoch from '2026-08-04 05:09:24'::timestamp) - extract(epoch from '2026-08-04 05:09:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.774067 -3.55884)', '2026-08-04 05:09:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774054 -3.558875)'), GeomFromEWKT('SRID=4674;POINT (-38.774067 -3.55884)'))) / (select extract(epoch from '2026-08-04 05:09:31'::timestamp) - extract(epoch from '2026-08-04 05:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774054 -3.558875)'), GeomFromEWKT('SRID=4674;POINT (-38.774067 -3.55884)'))) / (select extract(epoch from '2026-08-04 05:09:31'::timestamp) - extract(epoch from '2026-08-04 05:09: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'), 48149, 'SRID=4674;POINT (-38.774054 -3.558814)', '2026-08-04 05:09:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774067 -3.55884)'), GeomFromEWKT('SRID=4674;POINT (-38.774054 -3.558814)'))) / (select extract(epoch from '2026-08-04 05:09:33'::timestamp) - extract(epoch from '2026-08-04 05:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774067 -3.55884)'), GeomFromEWKT('SRID=4674;POINT (-38.774054 -3.558814)'))) / (select extract(epoch from '2026-08-04 05:09:33'::timestamp) - extract(epoch from '2026-08-04 05:09:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.774039 -3.55879)', '2026-08-04 05:09:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774054 -3.558814)'), GeomFromEWKT('SRID=4674;POINT (-38.774039 -3.55879)'))) / (select extract(epoch from '2026-08-04 05:09:35'::timestamp) - extract(epoch from '2026-08-04 05:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774054 -3.558814)'), GeomFromEWKT('SRID=4674;POINT (-38.774039 -3.55879)'))) / (select extract(epoch from '2026-08-04 05:09:35'::timestamp) - extract(epoch from '2026-08-04 05:09:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.773988 -3.558765)', '2026-08-04 05:09:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774039 -3.55879)'), GeomFromEWKT('SRID=4674;POINT (-38.773988 -3.558765)'))) / (select extract(epoch from '2026-08-04 05:09:38'::timestamp) - extract(epoch from '2026-08-04 05:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774039 -3.55879)'), GeomFromEWKT('SRID=4674;POINT (-38.773988 -3.558765)'))) / (select extract(epoch from '2026-08-04 05:09:38'::timestamp) - extract(epoch from '2026-08-04 05:09:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.773926 -3.558736)', '2026-08-04 05:09:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773988 -3.558765)'), GeomFromEWKT('SRID=4674;POINT (-38.773926 -3.558736)'))) / (select extract(epoch from '2026-08-04 05:09:42'::timestamp) - extract(epoch from '2026-08-04 05:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773988 -3.558765)'), GeomFromEWKT('SRID=4674;POINT (-38.773926 -3.558736)'))) / (select extract(epoch from '2026-08-04 05:09:42'::timestamp) - extract(epoch from '2026-08-04 05:09: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'), 48149, 'SRID=4674;POINT (-38.773911 -3.558732)', '2026-08-04 05:09:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773926 -3.558736)'), GeomFromEWKT('SRID=4674;POINT (-38.773911 -3.558732)'))) / (select extract(epoch from '2026-08-04 05:09:43'::timestamp) - extract(epoch from '2026-08-04 05:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773926 -3.558736)'), GeomFromEWKT('SRID=4674;POINT (-38.773911 -3.558732)'))) / (select extract(epoch from '2026-08-04 05:09:43'::timestamp) - extract(epoch from '2026-08-04 05:09: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'), 48149, 'SRID=4674;POINT (-38.773863 -3.558713)', '2026-08-04 05:09:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773911 -3.558732)'), GeomFromEWKT('SRID=4674;POINT (-38.773863 -3.558713)'))) / (select extract(epoch from '2026-08-04 05:09:47'::timestamp) - extract(epoch from '2026-08-04 05:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773911 -3.558732)'), GeomFromEWKT('SRID=4674;POINT (-38.773863 -3.558713)'))) / (select extract(epoch from '2026-08-04 05:09:47'::timestamp) - extract(epoch from '2026-08-04 05:09: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'), 48149, 'SRID=4674;POINT (-38.773849 -3.55871)', '2026-08-04 05:09:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773863 -3.558713)'), GeomFromEWKT('SRID=4674;POINT (-38.773849 -3.55871)'))) / (select extract(epoch from '2026-08-04 05:09:49'::timestamp) - extract(epoch from '2026-08-04 05:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773863 -3.558713)'), GeomFromEWKT('SRID=4674;POINT (-38.773849 -3.55871)'))) / (select extract(epoch from '2026-08-04 05:09:49'::timestamp) - extract(epoch from '2026-08-04 05:09: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'), 48149, 'SRID=4674;POINT (-38.773831 -3.558704)', '2026-08-04 05:09:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773849 -3.55871)'), GeomFromEWKT('SRID=4674;POINT (-38.773831 -3.558704)'))) / (select extract(epoch from '2026-08-04 05:09:52'::timestamp) - extract(epoch from '2026-08-04 05:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773849 -3.55871)'), GeomFromEWKT('SRID=4674;POINT (-38.773831 -3.558704)'))) / (select extract(epoch from '2026-08-04 05:09:52'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.77382 -3.558693)', '2026-08-04 05:09:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773831 -3.558704)'), GeomFromEWKT('SRID=4674;POINT (-38.77382 -3.558693)'))) / (select extract(epoch from '2026-08-04 05:09:55'::timestamp) - extract(epoch from '2026-08-04 05:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773831 -3.558704)'), GeomFromEWKT('SRID=4674;POINT (-38.77382 -3.558693)'))) / (select extract(epoch from '2026-08-04 05:09:55'::timestamp) - extract(epoch from '2026-08-04 05:09: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'), 48149, 'SRID=4674;POINT (-38.773814 -3.558677)', '2026-08-04 05:10:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77382 -3.558693)'), GeomFromEWKT('SRID=4674;POINT (-38.773814 -3.558677)'))) / (select extract(epoch from '2026-08-04 05:10:01'::timestamp) - extract(epoch from '2026-08-04 05:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77382 -3.558693)'), GeomFromEWKT('SRID=4674;POINT (-38.773814 -3.558677)'))) / (select extract(epoch from '2026-08-04 05:10:01'::timestamp) - extract(epoch from '2026-08-04 05:09:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.773811 -3.558632)', '2026-08-04 05:10:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773814 -3.558677)'), GeomFromEWKT('SRID=4674;POINT (-38.773811 -3.558632)'))) / (select extract(epoch from '2026-08-04 05:10:13'::timestamp) - extract(epoch from '2026-08-04 05:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773814 -3.558677)'), GeomFromEWKT('SRID=4674;POINT (-38.773811 -3.558632)'))) / (select extract(epoch from '2026-08-04 05:10:13'::timestamp) - extract(epoch from '2026-08-04 05:10: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'), 48149, 'SRID=4674;POINT (-38.773825 -3.558603)', '2026-08-04 05:10:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773811 -3.558632)'), GeomFromEWKT('SRID=4674;POINT (-38.773825 -3.558603)'))) / (select extract(epoch from '2026-08-04 05:10:21'::timestamp) - extract(epoch from '2026-08-04 05:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773811 -3.558632)'), GeomFromEWKT('SRID=4674;POINT (-38.773825 -3.558603)'))) / (select extract(epoch from '2026-08-04 05:10:21'::timestamp) - extract(epoch from '2026-08-04 05:10: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'), 48149, 'SRID=4674;POINT (-38.773823 -3.558585)', '2026-08-04 05:10:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773825 -3.558603)'), GeomFromEWKT('SRID=4674;POINT (-38.773823 -3.558585)'))) / (select extract(epoch from '2026-08-04 05:10:23'::timestamp) - extract(epoch from '2026-08-04 05:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773825 -3.558603)'), GeomFromEWKT('SRID=4674;POINT (-38.773823 -3.558585)'))) / (select extract(epoch from '2026-08-04 05:10:23'::timestamp) - extract(epoch from '2026-08-04 05:10: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'), 48149, 'SRID=4674;POINT (-38.773778 -3.558557)', '2026-08-04 05:10:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773823 -3.558585)'), GeomFromEWKT('SRID=4674;POINT (-38.773778 -3.558557)'))) / (select extract(epoch from '2026-08-04 05:10:27'::timestamp) - extract(epoch from '2026-08-04 05:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773823 -3.558585)'), GeomFromEWKT('SRID=4674;POINT (-38.773778 -3.558557)'))) / (select extract(epoch from '2026-08-04 05:10:27'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.773672 -3.558531)', '2026-08-04 05:10:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773778 -3.558557)'), GeomFromEWKT('SRID=4674;POINT (-38.773672 -3.558531)'))) / (select extract(epoch from '2026-08-04 05:10:33'::timestamp) - extract(epoch from '2026-08-04 05:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773778 -3.558557)'), GeomFromEWKT('SRID=4674;POINT (-38.773672 -3.558531)'))) / (select extract(epoch from '2026-08-04 05:10:33'::timestamp) - extract(epoch from '2026-08-04 05:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.773562 -3.558514)', '2026-08-04 05:10:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773672 -3.558531)'), GeomFromEWKT('SRID=4674;POINT (-38.773562 -3.558514)'))) / (select extract(epoch from '2026-08-04 05:10:39'::timestamp) - extract(epoch from '2026-08-04 05:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773672 -3.558531)'), GeomFromEWKT('SRID=4674;POINT (-38.773562 -3.558514)'))) / (select extract(epoch from '2026-08-04 05:10:39'::timestamp) - extract(epoch from '2026-08-04 05:10:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.773411 -3.558492)', '2026-08-04 05:10:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773562 -3.558514)'), GeomFromEWKT('SRID=4674;POINT (-38.773411 -3.558492)'))) / (select extract(epoch from '2026-08-04 05:10:46'::timestamp) - extract(epoch from '2026-08-04 05:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773562 -3.558514)'), GeomFromEWKT('SRID=4674;POINT (-38.773411 -3.558492)'))) / (select extract(epoch from '2026-08-04 05:10:46'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.773283 -3.558472)', '2026-08-04 05:10:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773411 -3.558492)'), GeomFromEWKT('SRID=4674;POINT (-38.773283 -3.558472)'))) / (select extract(epoch from '2026-08-04 05:10:52'::timestamp) - extract(epoch from '2026-08-04 05:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773411 -3.558492)'), GeomFromEWKT('SRID=4674;POINT (-38.773283 -3.558472)'))) / (select extract(epoch from '2026-08-04 05:10:52'::timestamp) - extract(epoch from '2026-08-04 05:10:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.773154 -3.558421)', '2026-08-04 05:10:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773283 -3.558472)'), GeomFromEWKT('SRID=4674;POINT (-38.773154 -3.558421)'))) / (select extract(epoch from '2026-08-04 05:10:58'::timestamp) - extract(epoch from '2026-08-04 05:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773283 -3.558472)'), GeomFromEWKT('SRID=4674;POINT (-38.773154 -3.558421)'))) / (select extract(epoch from '2026-08-04 05:10:58'::timestamp) - extract(epoch from '2026-08-04 05:10: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'), 48149, 'SRID=4674;POINT (-38.773057 -3.558372)', '2026-08-04 05:11:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773154 -3.558421)'), GeomFromEWKT('SRID=4674;POINT (-38.773057 -3.558372)'))) / (select extract(epoch from '2026-08-04 05:11:03'::timestamp) - extract(epoch from '2026-08-04 05:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773154 -3.558421)'), GeomFromEWKT('SRID=4674;POINT (-38.773057 -3.558372)'))) / (select extract(epoch from '2026-08-04 05:11:03'::timestamp) - extract(epoch from '2026-08-04 05:10:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.772941 -3.558335)', '2026-08-04 05:11:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773057 -3.558372)'), GeomFromEWKT('SRID=4674;POINT (-38.772941 -3.558335)'))) / (select extract(epoch from '2026-08-04 05:11:09'::timestamp) - extract(epoch from '2026-08-04 05:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773057 -3.558372)'), GeomFromEWKT('SRID=4674;POINT (-38.772941 -3.558335)'))) / (select extract(epoch from '2026-08-04 05:11:09'::timestamp) - extract(epoch from '2026-08-04 05:11: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'), 48149, 'SRID=4674;POINT (-38.772815 -3.558289)', '2026-08-04 05:11:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772941 -3.558335)'), GeomFromEWKT('SRID=4674;POINT (-38.772815 -3.558289)'))) / (select extract(epoch from '2026-08-04 05:11:15'::timestamp) - extract(epoch from '2026-08-04 05:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772941 -3.558335)'), GeomFromEWKT('SRID=4674;POINT (-38.772815 -3.558289)'))) / (select extract(epoch from '2026-08-04 05:11:15'::timestamp) - extract(epoch from '2026-08-04 05:11:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.772702 -3.558232)', '2026-08-04 05:11:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772815 -3.558289)'), GeomFromEWKT('SRID=4674;POINT (-38.772702 -3.558232)'))) / (select extract(epoch from '2026-08-04 05:11:21'::timestamp) - extract(epoch from '2026-08-04 05:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772815 -3.558289)'), GeomFromEWKT('SRID=4674;POINT (-38.772702 -3.558232)'))) / (select extract(epoch from '2026-08-04 05:11:21'::timestamp) - extract(epoch from '2026-08-04 05:11: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'), 48149, 'SRID=4674;POINT (-38.772621 -3.558125)', '2026-08-04 05:11:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772702 -3.558232)'), GeomFromEWKT('SRID=4674;POINT (-38.772621 -3.558125)'))) / (select extract(epoch from '2026-08-04 05:11:27'::timestamp) - extract(epoch from '2026-08-04 05:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772702 -3.558232)'), GeomFromEWKT('SRID=4674;POINT (-38.772621 -3.558125)'))) / (select extract(epoch from '2026-08-04 05:11:27'::timestamp) - extract(epoch from '2026-08-04 05:11: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'), 48149, 'SRID=4674;POINT (-38.772549 -3.557983)', '2026-08-04 05:11:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772621 -3.558125)'), GeomFromEWKT('SRID=4674;POINT (-38.772549 -3.557983)'))) / (select extract(epoch from '2026-08-04 05:11:34'::timestamp) - extract(epoch from '2026-08-04 05:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772621 -3.558125)'), GeomFromEWKT('SRID=4674;POINT (-38.772549 -3.557983)'))) / (select extract(epoch from '2026-08-04 05:11:34'::timestamp) - extract(epoch from '2026-08-04 05:11: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'), 48149, 'SRID=4674;POINT (-38.772503 -3.557798)', '2026-08-04 05:11:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772549 -3.557983)'), GeomFromEWKT('SRID=4674;POINT (-38.772503 -3.557798)'))) / (select extract(epoch from '2026-08-04 05:11:42'::timestamp) - extract(epoch from '2026-08-04 05:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772549 -3.557983)'), GeomFromEWKT('SRID=4674;POINT (-38.772503 -3.557798)'))) / (select extract(epoch from '2026-08-04 05:11:42'::timestamp) - extract(epoch from '2026-08-04 05:11:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.772467 -3.557689)', '2026-08-04 05:11:47', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772503 -3.557798)'), GeomFromEWKT('SRID=4674;POINT (-38.772467 -3.557689)'))) / (select extract(epoch from '2026-08-04 05:11:47'::timestamp) - extract(epoch from '2026-08-04 05:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772503 -3.557798)'), GeomFromEWKT('SRID=4674;POINT (-38.772467 -3.557689)'))) / (select extract(epoch from '2026-08-04 05:11:47'::timestamp) - extract(epoch from '2026-08-04 05:11:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.772416 -3.55756)', '2026-08-04 05:11:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772467 -3.557689)'), GeomFromEWKT('SRID=4674;POINT (-38.772416 -3.55756)'))) / (select extract(epoch from '2026-08-04 05:11:53'::timestamp) - extract(epoch from '2026-08-04 05:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772467 -3.557689)'), GeomFromEWKT('SRID=4674;POINT (-38.772416 -3.55756)'))) / (select extract(epoch from '2026-08-04 05:11:53'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.772366 -3.557455)', '2026-08-04 05:11:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772416 -3.55756)'), GeomFromEWKT('SRID=4674;POINT (-38.772366 -3.557455)'))) / (select extract(epoch from '2026-08-04 05:11:58'::timestamp) - extract(epoch from '2026-08-04 05:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772416 -3.55756)'), GeomFromEWKT('SRID=4674;POINT (-38.772366 -3.557455)'))) / (select extract(epoch from '2026-08-04 05:11:58'::timestamp) - extract(epoch from '2026-08-04 05:11:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.772302 -3.557358)', '2026-08-04 05:12:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772366 -3.557455)'), GeomFromEWKT('SRID=4674;POINT (-38.772302 -3.557358)'))) / (select extract(epoch from '2026-08-04 05:12:03'::timestamp) - extract(epoch from '2026-08-04 05:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772366 -3.557455)'), GeomFromEWKT('SRID=4674;POINT (-38.772302 -3.557358)'))) / (select extract(epoch from '2026-08-04 05:12:03'::timestamp) - extract(epoch from '2026-08-04 05:11: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'), 48149, 'SRID=4674;POINT (-38.772231 -3.557235)', '2026-08-04 05:12:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772302 -3.557358)'), GeomFromEWKT('SRID=4674;POINT (-38.772231 -3.557235)'))) / (select extract(epoch from '2026-08-04 05:12:09'::timestamp) - extract(epoch from '2026-08-04 05:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772302 -3.557358)'), GeomFromEWKT('SRID=4674;POINT (-38.772231 -3.557235)'))) / (select extract(epoch from '2026-08-04 05:12:09'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.772165 -3.557141)', '2026-08-04 05:12:14', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772231 -3.557235)'), GeomFromEWKT('SRID=4674;POINT (-38.772165 -3.557141)'))) / (select extract(epoch from '2026-08-04 05:12:14'::timestamp) - extract(epoch from '2026-08-04 05:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772231 -3.557235)'), GeomFromEWKT('SRID=4674;POINT (-38.772165 -3.557141)'))) / (select extract(epoch from '2026-08-04 05:12:14'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.772056 -3.557004)', '2026-08-04 05:12:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772165 -3.557141)'), GeomFromEWKT('SRID=4674;POINT (-38.772056 -3.557004)'))) / (select extract(epoch from '2026-08-04 05:12:22'::timestamp) - extract(epoch from '2026-08-04 05:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772165 -3.557141)'), GeomFromEWKT('SRID=4674;POINT (-38.772056 -3.557004)'))) / (select extract(epoch from '2026-08-04 05:12:22'::timestamp) - extract(epoch from '2026-08-04 05:12:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.771977 -3.5569)', '2026-08-04 05:12:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772056 -3.557004)'), GeomFromEWKT('SRID=4674;POINT (-38.771977 -3.5569)'))) / (select extract(epoch from '2026-08-04 05:12:28'::timestamp) - extract(epoch from '2026-08-04 05:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772056 -3.557004)'), GeomFromEWKT('SRID=4674;POINT (-38.771977 -3.5569)'))) / (select extract(epoch from '2026-08-04 05:12:28'::timestamp) - extract(epoch from '2026-08-04 05:12:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.771872 -3.556812)', '2026-08-04 05:12:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771977 -3.5569)'), GeomFromEWKT('SRID=4674;POINT (-38.771872 -3.556812)'))) / (select extract(epoch from '2026-08-04 05:12:34'::timestamp) - extract(epoch from '2026-08-04 05:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771977 -3.5569)'), GeomFromEWKT('SRID=4674;POINT (-38.771872 -3.556812)'))) / (select extract(epoch from '2026-08-04 05:12:34'::timestamp) - extract(epoch from '2026-08-04 05:12: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'), 48149, 'SRID=4674;POINT (-38.771755 -3.556722)', '2026-08-04 05:12:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771872 -3.556812)'), GeomFromEWKT('SRID=4674;POINT (-38.771755 -3.556722)'))) / (select extract(epoch from '2026-08-04 05:12:41'::timestamp) - extract(epoch from '2026-08-04 05:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771872 -3.556812)'), GeomFromEWKT('SRID=4674;POINT (-38.771755 -3.556722)'))) / (select extract(epoch from '2026-08-04 05:12:41'::timestamp) - extract(epoch from '2026-08-04 05:12:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.771647 -3.556605)', '2026-08-04 05:12:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771755 -3.556722)'), GeomFromEWKT('SRID=4674;POINT (-38.771647 -3.556605)'))) / (select extract(epoch from '2026-08-04 05:12:48'::timestamp) - extract(epoch from '2026-08-04 05:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771755 -3.556722)'), GeomFromEWKT('SRID=4674;POINT (-38.771647 -3.556605)'))) / (select extract(epoch from '2026-08-04 05:12:48'::timestamp) - extract(epoch from '2026-08-04 05:12: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'), 48149, 'SRID=4674;POINT (-38.771541 -3.556494)', '2026-08-04 05:12:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771647 -3.556605)'), GeomFromEWKT('SRID=4674;POINT (-38.771541 -3.556494)'))) / (select extract(epoch from '2026-08-04 05:12:55'::timestamp) - extract(epoch from '2026-08-04 05:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771647 -3.556605)'), GeomFromEWKT('SRID=4674;POINT (-38.771541 -3.556494)'))) / (select extract(epoch from '2026-08-04 05:12:55'::timestamp) - extract(epoch from '2026-08-04 05:12:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.771421 -3.556369)', '2026-08-04 05:13:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771541 -3.556494)'), GeomFromEWKT('SRID=4674;POINT (-38.771421 -3.556369)'))) / (select extract(epoch from '2026-08-04 05:13:03'::timestamp) - extract(epoch from '2026-08-04 05:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771541 -3.556494)'), GeomFromEWKT('SRID=4674;POINT (-38.771421 -3.556369)'))) / (select extract(epoch from '2026-08-04 05:13:03'::timestamp) - extract(epoch from '2026-08-04 05:12: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'), 48149, 'SRID=4674;POINT (-38.771332 -3.556282)', '2026-08-04 05:13:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771421 -3.556369)'), GeomFromEWKT('SRID=4674;POINT (-38.771332 -3.556282)'))) / (select extract(epoch from '2026-08-04 05:13:09'::timestamp) - extract(epoch from '2026-08-04 05:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771421 -3.556369)'), GeomFromEWKT('SRID=4674;POINT (-38.771332 -3.556282)'))) / (select extract(epoch from '2026-08-04 05:13:09'::timestamp) - extract(epoch from '2026-08-04 05:13: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'), 48149, 'SRID=4674;POINT (-38.771248 -3.556208)', '2026-08-04 05:13:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771332 -3.556282)'), GeomFromEWKT('SRID=4674;POINT (-38.771248 -3.556208)'))) / (select extract(epoch from '2026-08-04 05:13:14'::timestamp) - extract(epoch from '2026-08-04 05:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771332 -3.556282)'), GeomFromEWKT('SRID=4674;POINT (-38.771248 -3.556208)'))) / (select extract(epoch from '2026-08-04 05:13:14'::timestamp) - extract(epoch from '2026-08-04 05:13:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.771156 -3.556122)', '2026-08-04 05:13:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771248 -3.556208)'), GeomFromEWKT('SRID=4674;POINT (-38.771156 -3.556122)'))) / (select extract(epoch from '2026-08-04 05:13:20'::timestamp) - extract(epoch from '2026-08-04 05:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771248 -3.556208)'), GeomFromEWKT('SRID=4674;POINT (-38.771156 -3.556122)'))) / (select extract(epoch from '2026-08-04 05:13:20'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.771024 -3.556)', '2026-08-04 05:13:28', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771156 -3.556122)'), GeomFromEWKT('SRID=4674;POINT (-38.771024 -3.556)'))) / (select extract(epoch from '2026-08-04 05:13:28'::timestamp) - extract(epoch from '2026-08-04 05:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771156 -3.556122)'), GeomFromEWKT('SRID=4674;POINT (-38.771024 -3.556)'))) / (select extract(epoch from '2026-08-04 05:13:28'::timestamp) - extract(epoch from '2026-08-04 05:13:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.77091 -3.555891)', '2026-08-04 05:13:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771024 -3.556)'), GeomFromEWKT('SRID=4674;POINT (-38.77091 -3.555891)'))) / (select extract(epoch from '2026-08-04 05:13:35'::timestamp) - extract(epoch from '2026-08-04 05:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771024 -3.556)'), GeomFromEWKT('SRID=4674;POINT (-38.77091 -3.555891)'))) / (select extract(epoch from '2026-08-04 05:13:35'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.770801 -3.555811)', '2026-08-04 05:13:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77091 -3.555891)'), GeomFromEWKT('SRID=4674;POINT (-38.770801 -3.555811)'))) / (select extract(epoch from '2026-08-04 05:13:41'::timestamp) - extract(epoch from '2026-08-04 05:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77091 -3.555891)'), GeomFromEWKT('SRID=4674;POINT (-38.770801 -3.555811)'))) / (select extract(epoch from '2026-08-04 05:13:41'::timestamp) - extract(epoch from '2026-08-04 05:13:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.770673 -3.555723)', '2026-08-04 05:13:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770801 -3.555811)'), GeomFromEWKT('SRID=4674;POINT (-38.770673 -3.555723)'))) / (select extract(epoch from '2026-08-04 05:13:48'::timestamp) - extract(epoch from '2026-08-04 05:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770801 -3.555811)'), GeomFromEWKT('SRID=4674;POINT (-38.770673 -3.555723)'))) / (select extract(epoch from '2026-08-04 05:13:48'::timestamp) - extract(epoch from '2026-08-04 05:13: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'), 48149, 'SRID=4674;POINT (-38.770566 -3.555652)', '2026-08-04 05:13:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770673 -3.555723)'), GeomFromEWKT('SRID=4674;POINT (-38.770566 -3.555652)'))) / (select extract(epoch from '2026-08-04 05:13:54'::timestamp) - extract(epoch from '2026-08-04 05:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770673 -3.555723)'), GeomFromEWKT('SRID=4674;POINT (-38.770566 -3.555652)'))) / (select extract(epoch from '2026-08-04 05:13:54'::timestamp) - extract(epoch from '2026-08-04 05:13:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.770479 -3.5556)', '2026-08-04 05:13:59', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770566 -3.555652)'), GeomFromEWKT('SRID=4674;POINT (-38.770479 -3.5556)'))) / (select extract(epoch from '2026-08-04 05:13:59'::timestamp) - extract(epoch from '2026-08-04 05:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770566 -3.555652)'), GeomFromEWKT('SRID=4674;POINT (-38.770479 -3.5556)'))) / (select extract(epoch from '2026-08-04 05:13:59'::timestamp) - extract(epoch from '2026-08-04 05:13: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'), 48149, 'SRID=4674;POINT (-38.770381 -3.555525)', '2026-08-04 05:14:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770479 -3.5556)'), GeomFromEWKT('SRID=4674;POINT (-38.770381 -3.555525)'))) / (select extract(epoch from '2026-08-04 05:14:05'::timestamp) - extract(epoch from '2026-08-04 05:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770479 -3.5556)'), GeomFromEWKT('SRID=4674;POINT (-38.770381 -3.555525)'))) / (select extract(epoch from '2026-08-04 05:14:05'::timestamp) - extract(epoch from '2026-08-04 05:13: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'), 48149, 'SRID=4674;POINT (-38.770295 -3.555466)', '2026-08-04 05:14:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770381 -3.555525)'), GeomFromEWKT('SRID=4674;POINT (-38.770295 -3.555466)'))) / (select extract(epoch from '2026-08-04 05:14:10'::timestamp) - extract(epoch from '2026-08-04 05:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770381 -3.555525)'), GeomFromEWKT('SRID=4674;POINT (-38.770295 -3.555466)'))) / (select extract(epoch from '2026-08-04 05:14:10'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.770205 -3.555403)', '2026-08-04 05:14:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770295 -3.555466)'), GeomFromEWKT('SRID=4674;POINT (-38.770205 -3.555403)'))) / (select extract(epoch from '2026-08-04 05:14:15'::timestamp) - extract(epoch from '2026-08-04 05:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770295 -3.555466)'), GeomFromEWKT('SRID=4674;POINT (-38.770205 -3.555403)'))) / (select extract(epoch from '2026-08-04 05:14:15'::timestamp) - extract(epoch from '2026-08-04 05:14:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.770133 -3.555324)', '2026-08-04 05:14:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770205 -3.555403)'), GeomFromEWKT('SRID=4674;POINT (-38.770133 -3.555324)'))) / (select extract(epoch from '2026-08-04 05:14:20'::timestamp) - extract(epoch from '2026-08-04 05:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770205 -3.555403)'), GeomFromEWKT('SRID=4674;POINT (-38.770133 -3.555324)'))) / (select extract(epoch from '2026-08-04 05:14:20'::timestamp) - extract(epoch from '2026-08-04 05:14:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.77005 -3.555263)', '2026-08-04 05:14:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770133 -3.555324)'), GeomFromEWKT('SRID=4674;POINT (-38.77005 -3.555263)'))) / (select extract(epoch from '2026-08-04 05:14:25'::timestamp) - extract(epoch from '2026-08-04 05:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770133 -3.555324)'), GeomFromEWKT('SRID=4674;POINT (-38.77005 -3.555263)'))) / (select extract(epoch from '2026-08-04 05:14:25'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.769931 -3.555194)', '2026-08-04 05:14:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77005 -3.555263)'), GeomFromEWKT('SRID=4674;POINT (-38.769931 -3.555194)'))) / (select extract(epoch from '2026-08-04 05:14:32'::timestamp) - extract(epoch from '2026-08-04 05:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77005 -3.555263)'), GeomFromEWKT('SRID=4674;POINT (-38.769931 -3.555194)'))) / (select extract(epoch from '2026-08-04 05:14:32'::timestamp) - extract(epoch from '2026-08-04 05:14: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'), 48149, 'SRID=4674;POINT (-38.76983 -3.55512)', '2026-08-04 05:14:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769931 -3.555194)'), GeomFromEWKT('SRID=4674;POINT (-38.76983 -3.55512)'))) / (select extract(epoch from '2026-08-04 05:14:38'::timestamp) - extract(epoch from '2026-08-04 05:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769931 -3.555194)'), GeomFromEWKT('SRID=4674;POINT (-38.76983 -3.55512)'))) / (select extract(epoch from '2026-08-04 05:14:38'::timestamp) - extract(epoch from '2026-08-04 05:14:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.769706 -3.555029)', '2026-08-04 05:14:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76983 -3.55512)'), GeomFromEWKT('SRID=4674;POINT (-38.769706 -3.555029)'))) / (select extract(epoch from '2026-08-04 05:14:45'::timestamp) - extract(epoch from '2026-08-04 05:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76983 -3.55512)'), GeomFromEWKT('SRID=4674;POINT (-38.769706 -3.555029)'))) / (select extract(epoch from '2026-08-04 05:14:45'::timestamp) - extract(epoch from '2026-08-04 05:14: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'), 48149, 'SRID=4674;POINT (-38.769595 -3.554957)', '2026-08-04 05:14:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769706 -3.555029)'), GeomFromEWKT('SRID=4674;POINT (-38.769595 -3.554957)'))) / (select extract(epoch from '2026-08-04 05:14:51'::timestamp) - extract(epoch from '2026-08-04 05:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769706 -3.555029)'), GeomFromEWKT('SRID=4674;POINT (-38.769595 -3.554957)'))) / (select extract(epoch from '2026-08-04 05:14:51'::timestamp) - extract(epoch from '2026-08-04 05:14: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'), 48149, 'SRID=4674;POINT (-38.769494 -3.554907)', '2026-08-04 05:14:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769595 -3.554957)'), GeomFromEWKT('SRID=4674;POINT (-38.769494 -3.554907)'))) / (select extract(epoch from '2026-08-04 05:14:56'::timestamp) - extract(epoch from '2026-08-04 05:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769595 -3.554957)'), GeomFromEWKT('SRID=4674;POINT (-38.769494 -3.554907)'))) / (select extract(epoch from '2026-08-04 05:14:56'::timestamp) - extract(epoch from '2026-08-04 05:14: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'), 48149, 'SRID=4674;POINT (-38.769351 -3.554817)', '2026-08-04 05:15:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769494 -3.554907)'), GeomFromEWKT('SRID=4674;POINT (-38.769351 -3.554817)'))) / (select extract(epoch from '2026-08-04 05:15:04'::timestamp) - extract(epoch from '2026-08-04 05:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769494 -3.554907)'), GeomFromEWKT('SRID=4674;POINT (-38.769351 -3.554817)'))) / (select extract(epoch from '2026-08-04 05:15:04'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.76923 -3.554708)', '2026-08-04 05:15:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769351 -3.554817)'), GeomFromEWKT('SRID=4674;POINT (-38.76923 -3.554708)'))) / (select extract(epoch from '2026-08-04 05:15:12'::timestamp) - extract(epoch from '2026-08-04 05:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769351 -3.554817)'), GeomFromEWKT('SRID=4674;POINT (-38.76923 -3.554708)'))) / (select extract(epoch from '2026-08-04 05:15:12'::timestamp) - extract(epoch from '2026-08-04 05:15:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.769125 -3.55462)', '2026-08-04 05:15:18', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76923 -3.554708)'), GeomFromEWKT('SRID=4674;POINT (-38.769125 -3.55462)'))) / (select extract(epoch from '2026-08-04 05:15:18'::timestamp) - extract(epoch from '2026-08-04 05:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76923 -3.554708)'), GeomFromEWKT('SRID=4674;POINT (-38.769125 -3.55462)'))) / (select extract(epoch from '2026-08-04 05:15:18'::timestamp) - extract(epoch from '2026-08-04 05:15:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.769056 -3.554563)', '2026-08-04 05:15:23', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769125 -3.55462)'), GeomFromEWKT('SRID=4674;POINT (-38.769056 -3.554563)'))) / (select extract(epoch from '2026-08-04 05:15:23'::timestamp) - extract(epoch from '2026-08-04 05:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769125 -3.55462)'), GeomFromEWKT('SRID=4674;POINT (-38.769056 -3.554563)'))) / (select extract(epoch from '2026-08-04 05:15:23'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.768947 -3.554464)', '2026-08-04 05:15:30', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769056 -3.554563)'), GeomFromEWKT('SRID=4674;POINT (-38.768947 -3.554464)'))) / (select extract(epoch from '2026-08-04 05:15:30'::timestamp) - extract(epoch from '2026-08-04 05:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769056 -3.554563)'), GeomFromEWKT('SRID=4674;POINT (-38.768947 -3.554464)'))) / (select extract(epoch from '2026-08-04 05:15:30'::timestamp) - extract(epoch from '2026-08-04 05:15: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'), 48149, 'SRID=4674;POINT (-38.768831 -3.554372)', '2026-08-04 05:15:37', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768947 -3.554464)'), GeomFromEWKT('SRID=4674;POINT (-38.768831 -3.554372)'))) / (select extract(epoch from '2026-08-04 05:15:37'::timestamp) - extract(epoch from '2026-08-04 05:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768947 -3.554464)'), GeomFromEWKT('SRID=4674;POINT (-38.768831 -3.554372)'))) / (select extract(epoch from '2026-08-04 05:15:37'::timestamp) - extract(epoch from '2026-08-04 05:15:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.768757 -3.554287)', '2026-08-04 05:15:42', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768831 -3.554372)'), GeomFromEWKT('SRID=4674;POINT (-38.768757 -3.554287)'))) / (select extract(epoch from '2026-08-04 05:15:42'::timestamp) - extract(epoch from '2026-08-04 05:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768831 -3.554372)'), GeomFromEWKT('SRID=4674;POINT (-38.768757 -3.554287)'))) / (select extract(epoch from '2026-08-04 05:15:42'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.76866 -3.554191)', '2026-08-04 05:15:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768757 -3.554287)'), GeomFromEWKT('SRID=4674;POINT (-38.76866 -3.554191)'))) / (select extract(epoch from '2026-08-04 05:15:48'::timestamp) - extract(epoch from '2026-08-04 05:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768757 -3.554287)'), GeomFromEWKT('SRID=4674;POINT (-38.76866 -3.554191)'))) / (select extract(epoch from '2026-08-04 05:15:48'::timestamp) - extract(epoch from '2026-08-04 05:15: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'), 48149, 'SRID=4674;POINT (-38.768546 -3.554094)', '2026-08-04 05:15:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76866 -3.554191)'), GeomFromEWKT('SRID=4674;POINT (-38.768546 -3.554094)'))) / (select extract(epoch from '2026-08-04 05:15:55'::timestamp) - extract(epoch from '2026-08-04 05:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76866 -3.554191)'), GeomFromEWKT('SRID=4674;POINT (-38.768546 -3.554094)'))) / (select extract(epoch from '2026-08-04 05:15:55'::timestamp) - extract(epoch from '2026-08-04 05:15:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.768446 -3.553997)', '2026-08-04 05:16:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768546 -3.554094)'), GeomFromEWKT('SRID=4674;POINT (-38.768446 -3.553997)'))) / (select extract(epoch from '2026-08-04 05:16:01'::timestamp) - extract(epoch from '2026-08-04 05:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768546 -3.554094)'), GeomFromEWKT('SRID=4674;POINT (-38.768446 -3.553997)'))) / (select extract(epoch from '2026-08-04 05:16:01'::timestamp) - extract(epoch from '2026-08-04 05:15:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.768368 -3.553926)', '2026-08-04 05:16:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768446 -3.553997)'), GeomFromEWKT('SRID=4674;POINT (-38.768368 -3.553926)'))) / (select extract(epoch from '2026-08-04 05:16:06'::timestamp) - extract(epoch from '2026-08-04 05:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768446 -3.553997)'), GeomFromEWKT('SRID=4674;POINT (-38.768368 -3.553926)'))) / (select extract(epoch from '2026-08-04 05:16:06'::timestamp) - extract(epoch from '2026-08-04 05:16: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'), 48149, 'SRID=4674;POINT (-38.768287 -3.553866)', '2026-08-04 05:16:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768368 -3.553926)'), GeomFromEWKT('SRID=4674;POINT (-38.768287 -3.553866)'))) / (select extract(epoch from '2026-08-04 05:16:11'::timestamp) - extract(epoch from '2026-08-04 05:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768368 -3.553926)'), GeomFromEWKT('SRID=4674;POINT (-38.768287 -3.553866)'))) / (select extract(epoch from '2026-08-04 05:16:11'::timestamp) - extract(epoch from '2026-08-04 05:16: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'), 48149, 'SRID=4674;POINT (-38.768226 -3.553787)', '2026-08-04 05:16:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768287 -3.553866)'), GeomFromEWKT('SRID=4674;POINT (-38.768226 -3.553787)'))) / (select extract(epoch from '2026-08-04 05:16:16'::timestamp) - extract(epoch from '2026-08-04 05:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768287 -3.553866)'), GeomFromEWKT('SRID=4674;POINT (-38.768226 -3.553787)'))) / (select extract(epoch from '2026-08-04 05:16:16'::timestamp) - extract(epoch from '2026-08-04 05:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.768143 -3.553634)', '2026-08-04 05:16:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768226 -3.553787)'), GeomFromEWKT('SRID=4674;POINT (-38.768143 -3.553634)'))) / (select extract(epoch from '2026-08-04 05:16:24'::timestamp) - extract(epoch from '2026-08-04 05:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768226 -3.553787)'), GeomFromEWKT('SRID=4674;POINT (-38.768143 -3.553634)'))) / (select extract(epoch from '2026-08-04 05:16:24'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.768084 -3.553509)', '2026-08-04 05:16:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768143 -3.553634)'), GeomFromEWKT('SRID=4674;POINT (-38.768084 -3.553509)'))) / (select extract(epoch from '2026-08-04 05:16:30'::timestamp) - extract(epoch from '2026-08-04 05:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768143 -3.553634)'), GeomFromEWKT('SRID=4674;POINT (-38.768084 -3.553509)'))) / (select extract(epoch from '2026-08-04 05:16:30'::timestamp) - extract(epoch from '2026-08-04 05:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.768014 -3.553407)', '2026-08-04 05:16:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768084 -3.553509)'), GeomFromEWKT('SRID=4674;POINT (-38.768014 -3.553407)'))) / (select extract(epoch from '2026-08-04 05:16:36'::timestamp) - extract(epoch from '2026-08-04 05:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768084 -3.553509)'), GeomFromEWKT('SRID=4674;POINT (-38.768014 -3.553407)'))) / (select extract(epoch from '2026-08-04 05:16:36'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.767922 -3.5533)', '2026-08-04 05:16:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768014 -3.553407)'), GeomFromEWKT('SRID=4674;POINT (-38.767922 -3.5533)'))) / (select extract(epoch from '2026-08-04 05:16:42'::timestamp) - extract(epoch from '2026-08-04 05:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.768014 -3.553407)'), GeomFromEWKT('SRID=4674;POINT (-38.767922 -3.5533)'))) / (select extract(epoch from '2026-08-04 05:16:42'::timestamp) - extract(epoch from '2026-08-04 05:16: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'), 48149, 'SRID=4674;POINT (-38.767808 -3.553216)', '2026-08-04 05:16:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767922 -3.5533)'), GeomFromEWKT('SRID=4674;POINT (-38.767808 -3.553216)'))) / (select extract(epoch from '2026-08-04 05:16:48'::timestamp) - extract(epoch from '2026-08-04 05:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767922 -3.5533)'), GeomFromEWKT('SRID=4674;POINT (-38.767808 -3.553216)'))) / (select extract(epoch from '2026-08-04 05:16:48'::timestamp) - extract(epoch from '2026-08-04 05:16: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'), 48149, 'SRID=4674;POINT (-38.767704 -3.553149)', '2026-08-04 05:16:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767808 -3.553216)'), GeomFromEWKT('SRID=4674;POINT (-38.767704 -3.553149)'))) / (select extract(epoch from '2026-08-04 05:16:54'::timestamp) - extract(epoch from '2026-08-04 05:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767808 -3.553216)'), GeomFromEWKT('SRID=4674;POINT (-38.767704 -3.553149)'))) / (select extract(epoch from '2026-08-04 05:16:54'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.767604 -3.55312)', '2026-08-04 05:16:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767704 -3.553149)'), GeomFromEWKT('SRID=4674;POINT (-38.767604 -3.55312)'))) / (select extract(epoch from '2026-08-04 05:16:59'::timestamp) - extract(epoch from '2026-08-04 05:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767704 -3.553149)'), GeomFromEWKT('SRID=4674;POINT (-38.767604 -3.55312)'))) / (select extract(epoch from '2026-08-04 05:16:59'::timestamp) - extract(epoch from '2026-08-04 05:16: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'), 48149, 'SRID=4674;POINT (-38.767468 -3.553107)', '2026-08-04 05:17:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767604 -3.55312)'), GeomFromEWKT('SRID=4674;POINT (-38.767468 -3.553107)'))) / (select extract(epoch from '2026-08-04 05:17:06'::timestamp) - extract(epoch from '2026-08-04 05:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767604 -3.55312)'), GeomFromEWKT('SRID=4674;POINT (-38.767468 -3.553107)'))) / (select extract(epoch from '2026-08-04 05:17:06'::timestamp) - extract(epoch from '2026-08-04 05:16:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.767373 -3.553075)', '2026-08-04 05:17:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767468 -3.553107)'), GeomFromEWKT('SRID=4674;POINT (-38.767373 -3.553075)'))) / (select extract(epoch from '2026-08-04 05:17:11'::timestamp) - extract(epoch from '2026-08-04 05:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767468 -3.553107)'), GeomFromEWKT('SRID=4674;POINT (-38.767373 -3.553075)'))) / (select extract(epoch from '2026-08-04 05:17:11'::timestamp) - extract(epoch from '2026-08-04 05:17: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'), 48149, 'SRID=4674;POINT (-38.767314 -3.553056)', '2026-08-04 05:17:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767373 -3.553075)'), GeomFromEWKT('SRID=4674;POINT (-38.767314 -3.553056)'))) / (select extract(epoch from '2026-08-04 05:17:14'::timestamp) - extract(epoch from '2026-08-04 05:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767373 -3.553075)'), GeomFromEWKT('SRID=4674;POINT (-38.767314 -3.553056)'))) / (select extract(epoch from '2026-08-04 05:17:14'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.767282 -3.553036)', '2026-08-04 05:17:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767314 -3.553056)'), GeomFromEWKT('SRID=4674;POINT (-38.767282 -3.553036)'))) / (select extract(epoch from '2026-08-04 05:17:16'::timestamp) - extract(epoch from '2026-08-04 05:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767314 -3.553056)'), GeomFromEWKT('SRID=4674;POINT (-38.767282 -3.553036)'))) / (select extract(epoch from '2026-08-04 05:17:16'::timestamp) - extract(epoch from '2026-08-04 05:17: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'), 48149, 'SRID=4674;POINT (-38.767196 -3.55301)', '2026-08-04 05:17:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767282 -3.553036)'), GeomFromEWKT('SRID=4674;POINT (-38.767196 -3.55301)'))) / (select extract(epoch from '2026-08-04 05:17:21'::timestamp) - extract(epoch from '2026-08-04 05:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767282 -3.553036)'), GeomFromEWKT('SRID=4674;POINT (-38.767196 -3.55301)'))) / (select extract(epoch from '2026-08-04 05:17:21'::timestamp) - extract(epoch from '2026-08-04 05:17:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.767089 -3.552966)', '2026-08-04 05:17:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767196 -3.55301)'), GeomFromEWKT('SRID=4674;POINT (-38.767089 -3.552966)'))) / (select extract(epoch from '2026-08-04 05:17:27'::timestamp) - extract(epoch from '2026-08-04 05:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767196 -3.55301)'), GeomFromEWKT('SRID=4674;POINT (-38.767089 -3.552966)'))) / (select extract(epoch from '2026-08-04 05:17:27'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766997 -3.552914)', '2026-08-04 05:17:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767089 -3.552966)'), GeomFromEWKT('SRID=4674;POINT (-38.766997 -3.552914)'))) / (select extract(epoch from '2026-08-04 05:17:33'::timestamp) - extract(epoch from '2026-08-04 05:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.767089 -3.552966)'), GeomFromEWKT('SRID=4674;POINT (-38.766997 -3.552914)'))) / (select extract(epoch from '2026-08-04 05:17:33'::timestamp) - extract(epoch from '2026-08-04 05:17: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'), 48149, 'SRID=4674;POINT (-38.766907 -3.55286)', '2026-08-04 05:17:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766997 -3.552914)'), GeomFromEWKT('SRID=4674;POINT (-38.766907 -3.55286)'))) / (select extract(epoch from '2026-08-04 05:17:38'::timestamp) - extract(epoch from '2026-08-04 05:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766997 -3.552914)'), GeomFromEWKT('SRID=4674;POINT (-38.766907 -3.55286)'))) / (select extract(epoch from '2026-08-04 05:17:38'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766803 -3.55283)', '2026-08-04 05:17:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766907 -3.55286)'), GeomFromEWKT('SRID=4674;POINT (-38.766803 -3.55283)'))) / (select extract(epoch from '2026-08-04 05:17:43'::timestamp) - extract(epoch from '2026-08-04 05:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766907 -3.55286)'), GeomFromEWKT('SRID=4674;POINT (-38.766803 -3.55283)'))) / (select extract(epoch from '2026-08-04 05:17:43'::timestamp) - extract(epoch from '2026-08-04 05:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766686 -3.55282)', '2026-08-04 05:17:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766803 -3.55283)'), GeomFromEWKT('SRID=4674;POINT (-38.766686 -3.55282)'))) / (select extract(epoch from '2026-08-04 05:17:49'::timestamp) - extract(epoch from '2026-08-04 05:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766803 -3.55283)'), GeomFromEWKT('SRID=4674;POINT (-38.766686 -3.55282)'))) / (select extract(epoch from '2026-08-04 05:17:49'::timestamp) - extract(epoch from '2026-08-04 05:17: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'), 48149, 'SRID=4674;POINT (-38.766595 -3.552834)', '2026-08-04 05:17:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766686 -3.55282)'), GeomFromEWKT('SRID=4674;POINT (-38.766595 -3.552834)'))) / (select extract(epoch from '2026-08-04 05:17:54'::timestamp) - extract(epoch from '2026-08-04 05:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766686 -3.55282)'), GeomFromEWKT('SRID=4674;POINT (-38.766595 -3.552834)'))) / (select extract(epoch from '2026-08-04 05:17:54'::timestamp) - extract(epoch from '2026-08-04 05:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.7665 -3.55282)', '2026-08-04 05:17:59', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766595 -3.552834)'), GeomFromEWKT('SRID=4674;POINT (-38.7665 -3.55282)'))) / (select extract(epoch from '2026-08-04 05:17:59'::timestamp) - extract(epoch from '2026-08-04 05:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766595 -3.552834)'), GeomFromEWKT('SRID=4674;POINT (-38.7665 -3.55282)'))) / (select extract(epoch from '2026-08-04 05:17:59'::timestamp) - extract(epoch from '2026-08-04 05:17:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766365 -3.552785)', '2026-08-04 05:18:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7665 -3.55282)'), GeomFromEWKT('SRID=4674;POINT (-38.766365 -3.552785)'))) / (select extract(epoch from '2026-08-04 05:18:06'::timestamp) - extract(epoch from '2026-08-04 05:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7665 -3.55282)'), GeomFromEWKT('SRID=4674;POINT (-38.766365 -3.552785)'))) / (select extract(epoch from '2026-08-04 05:18:06'::timestamp) - extract(epoch from '2026-08-04 05:17: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'), 48149, 'SRID=4674;POINT (-38.766263 -3.552793)', '2026-08-04 05:18:11', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766365 -3.552785)'), GeomFromEWKT('SRID=4674;POINT (-38.766263 -3.552793)'))) / (select extract(epoch from '2026-08-04 05:18:11'::timestamp) - extract(epoch from '2026-08-04 05:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766365 -3.552785)'), GeomFromEWKT('SRID=4674;POINT (-38.766263 -3.552793)'))) / (select extract(epoch from '2026-08-04 05:18:11'::timestamp) - extract(epoch from '2026-08-04 05:18: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'), 48149, 'SRID=4674;POINT (-38.766193 -3.552842)', '2026-08-04 05:18:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766263 -3.552793)'), GeomFromEWKT('SRID=4674;POINT (-38.766193 -3.552842)'))) / (select extract(epoch from '2026-08-04 05:18:16'::timestamp) - extract(epoch from '2026-08-04 05:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766263 -3.552793)'), GeomFromEWKT('SRID=4674;POINT (-38.766193 -3.552842)'))) / (select extract(epoch from '2026-08-04 05:18:16'::timestamp) - extract(epoch from '2026-08-04 05:18: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'), 48149, 'SRID=4674;POINT (-38.766137 -3.552914)', '2026-08-04 05:18:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766193 -3.552842)'), GeomFromEWKT('SRID=4674;POINT (-38.766137 -3.552914)'))) / (select extract(epoch from '2026-08-04 05:18:22'::timestamp) - extract(epoch from '2026-08-04 05:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766193 -3.552842)'), GeomFromEWKT('SRID=4674;POINT (-38.766137 -3.552914)'))) / (select extract(epoch from '2026-08-04 05:18:22'::timestamp) - extract(epoch from '2026-08-04 05:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766147 -3.553038)', '2026-08-04 05:18:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766137 -3.552914)'), GeomFromEWKT('SRID=4674;POINT (-38.766147 -3.553038)'))) / (select extract(epoch from '2026-08-04 05:18:29'::timestamp) - extract(epoch from '2026-08-04 05:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766137 -3.552914)'), GeomFromEWKT('SRID=4674;POINT (-38.766147 -3.553038)'))) / (select extract(epoch from '2026-08-04 05:18:29'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766154 -3.55313)', '2026-08-04 05:18:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766147 -3.553038)'), GeomFromEWKT('SRID=4674;POINT (-38.766154 -3.55313)'))) / (select extract(epoch from '2026-08-04 05:18:34'::timestamp) - extract(epoch from '2026-08-04 05:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766147 -3.553038)'), GeomFromEWKT('SRID=4674;POINT (-38.766154 -3.55313)'))) / (select extract(epoch from '2026-08-04 05:18:34'::timestamp) - extract(epoch from '2026-08-04 05:18:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766141 -3.553236)', '2026-08-04 05:18:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766154 -3.55313)'), GeomFromEWKT('SRID=4674;POINT (-38.766141 -3.553236)'))) / (select extract(epoch from '2026-08-04 05:18:40'::timestamp) - extract(epoch from '2026-08-04 05:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766154 -3.55313)'), GeomFromEWKT('SRID=4674;POINT (-38.766141 -3.553236)'))) / (select extract(epoch from '2026-08-04 05:18:40'::timestamp) - extract(epoch from '2026-08-04 05:18: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'), 48149, 'SRID=4674;POINT (-38.766115 -3.553333)', '2026-08-04 05:18:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766141 -3.553236)'), GeomFromEWKT('SRID=4674;POINT (-38.766115 -3.553333)'))) / (select extract(epoch from '2026-08-04 05:18:45'::timestamp) - extract(epoch from '2026-08-04 05:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766141 -3.553236)'), GeomFromEWKT('SRID=4674;POINT (-38.766115 -3.553333)'))) / (select extract(epoch from '2026-08-04 05:18:45'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766082 -3.553444)', '2026-08-04 05:18:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766115 -3.553333)'), GeomFromEWKT('SRID=4674;POINT (-38.766082 -3.553444)'))) / (select extract(epoch from '2026-08-04 05:18:51'::timestamp) - extract(epoch from '2026-08-04 05:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766115 -3.553333)'), GeomFromEWKT('SRID=4674;POINT (-38.766082 -3.553444)'))) / (select extract(epoch from '2026-08-04 05:18:51'::timestamp) - extract(epoch from '2026-08-04 05:18: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'), 48149, 'SRID=4674;POINT (-38.766035 -3.553558)', '2026-08-04 05:18:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766082 -3.553444)'), GeomFromEWKT('SRID=4674;POINT (-38.766035 -3.553558)'))) / (select extract(epoch from '2026-08-04 05:18:57'::timestamp) - extract(epoch from '2026-08-04 05:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766082 -3.553444)'), GeomFromEWKT('SRID=4674;POINT (-38.766035 -3.553558)'))) / (select extract(epoch from '2026-08-04 05:18:57'::timestamp) - extract(epoch from '2026-08-04 05:18:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.765982 -3.553664)', '2026-08-04 05:19:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766035 -3.553558)'), GeomFromEWKT('SRID=4674;POINT (-38.765982 -3.553664)'))) / (select extract(epoch from '2026-08-04 05:19:04'::timestamp) - extract(epoch from '2026-08-04 05:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766035 -3.553558)'), GeomFromEWKT('SRID=4674;POINT (-38.765982 -3.553664)'))) / (select extract(epoch from '2026-08-04 05:19:04'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.765969 -3.553722)', '2026-08-04 05:19:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765982 -3.553664)'), GeomFromEWKT('SRID=4674;POINT (-38.765969 -3.553722)'))) / (select extract(epoch from '2026-08-04 05:19:10'::timestamp) - extract(epoch from '2026-08-04 05:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765982 -3.553664)'), GeomFromEWKT('SRID=4674;POINT (-38.765969 -3.553722)'))) / (select extract(epoch from '2026-08-04 05:19:10'::timestamp) - extract(epoch from '2026-08-04 05:19:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.76598 -3.553748)', '2026-08-04 05:19:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765969 -3.553722)'), GeomFromEWKT('SRID=4674;POINT (-38.76598 -3.553748)'))) / (select extract(epoch from '2026-08-04 05:19:18'::timestamp) - extract(epoch from '2026-08-04 05:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.765969 -3.553722)'), GeomFromEWKT('SRID=4674;POINT (-38.76598 -3.553748)'))) / (select extract(epoch from '2026-08-04 05:19:18'::timestamp) - extract(epoch from '2026-08-04 05:19: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'), 48149, 'SRID=4674;POINT (-38.766003 -3.553739)', '2026-08-04 05:19:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76598 -3.553748)'), GeomFromEWKT('SRID=4674;POINT (-38.766003 -3.553739)'))) / (select extract(epoch from '2026-08-04 05:19:29'::timestamp) - extract(epoch from '2026-08-04 05:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76598 -3.553748)'), GeomFromEWKT('SRID=4674;POINT (-38.766003 -3.553739)'))) / (select extract(epoch from '2026-08-04 05:19:29'::timestamp) - extract(epoch from '2026-08-04 05:19:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766017 -3.553703)', '2026-08-04 05:19:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766003 -3.553739)'), GeomFromEWKT('SRID=4674;POINT (-38.766017 -3.553703)'))) / (select extract(epoch from '2026-08-04 05:19:39'::timestamp) - extract(epoch from '2026-08-04 05:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766003 -3.553739)'), GeomFromEWKT('SRID=4674;POINT (-38.766017 -3.553703)'))) / (select extract(epoch from '2026-08-04 05:19:39'::timestamp) - extract(epoch from '2026-08-04 05:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766042 -3.553667)', '2026-08-04 05:19:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766017 -3.553703)'), GeomFromEWKT('SRID=4674;POINT (-38.766042 -3.553667)'))) / (select extract(epoch from '2026-08-04 05:19:49'::timestamp) - extract(epoch from '2026-08-04 05:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766017 -3.553703)'), GeomFromEWKT('SRID=4674;POINT (-38.766042 -3.553667)'))) / (select extract(epoch from '2026-08-04 05:19:49'::timestamp) - extract(epoch from '2026-08-04 05:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766081 -3.55362)', '2026-08-04 05:20:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766042 -3.553667)'), GeomFromEWKT('SRID=4674;POINT (-38.766081 -3.55362)'))) / (select extract(epoch from '2026-08-04 05:20:00'::timestamp) - extract(epoch from '2026-08-04 05:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766042 -3.553667)'), GeomFromEWKT('SRID=4674;POINT (-38.766081 -3.55362)'))) / (select extract(epoch from '2026-08-04 05:20:00'::timestamp) - extract(epoch from '2026-08-04 05:19:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766103 -3.553591)', '2026-08-04 05:20:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766081 -3.55362)'), GeomFromEWKT('SRID=4674;POINT (-38.766103 -3.553591)'))) / (select extract(epoch from '2026-08-04 05:20:07'::timestamp) - extract(epoch from '2026-08-04 05:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766081 -3.55362)'), GeomFromEWKT('SRID=4674;POINT (-38.766103 -3.553591)'))) / (select extract(epoch from '2026-08-04 05:20:07'::timestamp) - extract(epoch from '2026-08-04 05:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766123 -3.553571)', '2026-08-04 05:20:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766103 -3.553591)'), GeomFromEWKT('SRID=4674;POINT (-38.766123 -3.553571)'))) / (select extract(epoch from '2026-08-04 05:20:15'::timestamp) - extract(epoch from '2026-08-04 05:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766103 -3.553591)'), GeomFromEWKT('SRID=4674;POINT (-38.766123 -3.553571)'))) / (select extract(epoch from '2026-08-04 05:20:15'::timestamp) - extract(epoch from '2026-08-04 05:20:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.76615 -3.553552)', '2026-08-04 05:20:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766123 -3.553571)'), GeomFromEWKT('SRID=4674;POINT (-38.76615 -3.553552)'))) / (select extract(epoch from '2026-08-04 05:20:25'::timestamp) - extract(epoch from '2026-08-04 05:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766123 -3.553571)'), GeomFromEWKT('SRID=4674;POINT (-38.76615 -3.553552)'))) / (select extract(epoch from '2026-08-04 05:20:25'::timestamp) - extract(epoch from '2026-08-04 05:20: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'), 48149, 'SRID=4674;POINT (-38.766171 -3.553527)', '2026-08-04 05:20:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76615 -3.553552)'), GeomFromEWKT('SRID=4674;POINT (-38.766171 -3.553527)'))) / (select extract(epoch from '2026-08-04 05:20:35'::timestamp) - extract(epoch from '2026-08-04 05:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76615 -3.553552)'), GeomFromEWKT('SRID=4674;POINT (-38.766171 -3.553527)'))) / (select extract(epoch from '2026-08-04 05:20:35'::timestamp) - extract(epoch from '2026-08-04 05:20: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'), 48149, 'SRID=4674;POINT (-38.766198 -3.553492)', '2026-08-04 05:20:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766171 -3.553527)'), GeomFromEWKT('SRID=4674;POINT (-38.766198 -3.553492)'))) / (select extract(epoch from '2026-08-04 05:20:45'::timestamp) - extract(epoch from '2026-08-04 05:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766171 -3.553527)'), GeomFromEWKT('SRID=4674;POINT (-38.766198 -3.553492)'))) / (select extract(epoch from '2026-08-04 05:20:45'::timestamp) - extract(epoch from '2026-08-04 05:20:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766227 -3.553461)', '2026-08-04 05:20:54', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766198 -3.553492)'), GeomFromEWKT('SRID=4674;POINT (-38.766227 -3.553461)'))) / (select extract(epoch from '2026-08-04 05:20:54'::timestamp) - extract(epoch from '2026-08-04 05:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766198 -3.553492)'), GeomFromEWKT('SRID=4674;POINT (-38.766227 -3.553461)'))) / (select extract(epoch from '2026-08-04 05:20:54'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766247 -3.553437)', '2026-08-04 05:21:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766227 -3.553461)'), GeomFromEWKT('SRID=4674;POINT (-38.766247 -3.553437)'))) / (select extract(epoch from '2026-08-04 05:21:04'::timestamp) - extract(epoch from '2026-08-04 05:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766227 -3.553461)'), GeomFromEWKT('SRID=4674;POINT (-38.766247 -3.553437)'))) / (select extract(epoch from '2026-08-04 05:21:04'::timestamp) - extract(epoch from '2026-08-04 05:20:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766299 -3.553397)', '2026-08-04 05:21:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766247 -3.553437)'), GeomFromEWKT('SRID=4674;POINT (-38.766299 -3.553397)'))) / (select extract(epoch from '2026-08-04 05:21:14'::timestamp) - extract(epoch from '2026-08-04 05:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766247 -3.553437)'), GeomFromEWKT('SRID=4674;POINT (-38.766299 -3.553397)'))) / (select extract(epoch from '2026-08-04 05:21:14'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766334 -3.553365)', '2026-08-04 05:21:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766299 -3.553397)'), GeomFromEWKT('SRID=4674;POINT (-38.766334 -3.553365)'))) / (select extract(epoch from '2026-08-04 05:21:21'::timestamp) - extract(epoch from '2026-08-04 05:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766299 -3.553397)'), GeomFromEWKT('SRID=4674;POINT (-38.766334 -3.553365)'))) / (select extract(epoch from '2026-08-04 05:21:21'::timestamp) - extract(epoch from '2026-08-04 05:21: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'), 48149, 'SRID=4674;POINT (-38.766369 -3.553346)', '2026-08-04 05:21:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766334 -3.553365)'), GeomFromEWKT('SRID=4674;POINT (-38.766369 -3.553346)'))) / (select extract(epoch from '2026-08-04 05:21:29'::timestamp) - extract(epoch from '2026-08-04 05:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766334 -3.553365)'), GeomFromEWKT('SRID=4674;POINT (-38.766369 -3.553346)'))) / (select extract(epoch from '2026-08-04 05:21:29'::timestamp) - extract(epoch from '2026-08-04 05:21: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'), 48149, 'SRID=4674;POINT (-38.76642 -3.553315)', '2026-08-04 05:21:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766369 -3.553346)'), GeomFromEWKT('SRID=4674;POINT (-38.76642 -3.553315)'))) / (select extract(epoch from '2026-08-04 05:21:40'::timestamp) - extract(epoch from '2026-08-04 05:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766369 -3.553346)'), GeomFromEWKT('SRID=4674;POINT (-38.76642 -3.553315)'))) / (select extract(epoch from '2026-08-04 05:21:40'::timestamp) - extract(epoch from '2026-08-04 05:21:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766443 -3.55329)', '2026-08-04 05:21:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76642 -3.553315)'), GeomFromEWKT('SRID=4674;POINT (-38.766443 -3.55329)'))) / (select extract(epoch from '2026-08-04 05:21:49'::timestamp) - extract(epoch from '2026-08-04 05:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76642 -3.553315)'), GeomFromEWKT('SRID=4674;POINT (-38.766443 -3.55329)'))) / (select extract(epoch from '2026-08-04 05:21:49'::timestamp) - extract(epoch from '2026-08-04 05:21:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.76646 -3.553275)', '2026-08-04 05:21:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766443 -3.55329)'), GeomFromEWKT('SRID=4674;POINT (-38.76646 -3.553275)'))) / (select extract(epoch from '2026-08-04 05:21:56'::timestamp) - extract(epoch from '2026-08-04 05:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766443 -3.55329)'), GeomFromEWKT('SRID=4674;POINT (-38.76646 -3.553275)'))) / (select extract(epoch from '2026-08-04 05:21:56'::timestamp) - extract(epoch from '2026-08-04 05:21: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'), 48149, 'SRID=4674;POINT (-38.76649 -3.553243)', '2026-08-04 05:22:07', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76646 -3.553275)'), GeomFromEWKT('SRID=4674;POINT (-38.76649 -3.553243)'))) / (select extract(epoch from '2026-08-04 05:22:07'::timestamp) - extract(epoch from '2026-08-04 05:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76646 -3.553275)'), GeomFromEWKT('SRID=4674;POINT (-38.76649 -3.553243)'))) / (select extract(epoch from '2026-08-04 05:22:07'::timestamp) - extract(epoch from '2026-08-04 05:21:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766509 -3.55322)', '2026-08-04 05:22:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76649 -3.553243)'), GeomFromEWKT('SRID=4674;POINT (-38.766509 -3.55322)'))) / (select extract(epoch from '2026-08-04 05:22:12'::timestamp) - extract(epoch from '2026-08-04 05:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76649 -3.553243)'), GeomFromEWKT('SRID=4674;POINT (-38.766509 -3.55322)'))) / (select extract(epoch from '2026-08-04 05:22:12'::timestamp) - extract(epoch from '2026-08-04 05:22:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766521 -3.553216)', '2026-08-04 05:22:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766509 -3.55322)'), GeomFromEWKT('SRID=4674;POINT (-38.766521 -3.553216)'))) / (select extract(epoch from '2026-08-04 05:22:14'::timestamp) - extract(epoch from '2026-08-04 05:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766509 -3.55322)'), GeomFromEWKT('SRID=4674;POINT (-38.766521 -3.553216)'))) / (select extract(epoch from '2026-08-04 05:22:14'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766563 -3.553183)', '2026-08-04 05:22:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766521 -3.553216)'), GeomFromEWKT('SRID=4674;POINT (-38.766563 -3.553183)'))) / (select extract(epoch from '2026-08-04 05:22:21'::timestamp) - extract(epoch from '2026-08-04 05:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766521 -3.553216)'), GeomFromEWKT('SRID=4674;POINT (-38.766563 -3.553183)'))) / (select extract(epoch from '2026-08-04 05:22:21'::timestamp) - extract(epoch from '2026-08-04 05:22: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'), 48149, 'SRID=4674;POINT (-38.766591 -3.553152)', '2026-08-04 05:22:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766563 -3.553183)'), GeomFromEWKT('SRID=4674;POINT (-38.766591 -3.553152)'))) / (select extract(epoch from '2026-08-04 05:22:30'::timestamp) - extract(epoch from '2026-08-04 05:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766563 -3.553183)'), GeomFromEWKT('SRID=4674;POINT (-38.766591 -3.553152)'))) / (select extract(epoch from '2026-08-04 05:22:30'::timestamp) - extract(epoch from '2026-08-04 05:22: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'), 48149, 'SRID=4674;POINT (-38.76664 -3.553115)', '2026-08-04 05:22:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766591 -3.553152)'), GeomFromEWKT('SRID=4674;POINT (-38.76664 -3.553115)'))) / (select extract(epoch from '2026-08-04 05:22:40'::timestamp) - extract(epoch from '2026-08-04 05:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766591 -3.553152)'), GeomFromEWKT('SRID=4674;POINT (-38.76664 -3.553115)'))) / (select extract(epoch from '2026-08-04 05:22:40'::timestamp) - extract(epoch from '2026-08-04 05:22:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766649 -3.553088)', '2026-08-04 05:22:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76664 -3.553115)'), GeomFromEWKT('SRID=4674;POINT (-38.766649 -3.553088)'))) / (select extract(epoch from '2026-08-04 05:22:51'::timestamp) - extract(epoch from '2026-08-04 05:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76664 -3.553115)'), GeomFromEWKT('SRID=4674;POINT (-38.766649 -3.553088)'))) / (select extract(epoch from '2026-08-04 05:22:51'::timestamp) - extract(epoch from '2026-08-04 05:22:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766644 -3.553084)', '2026-08-04 05:23:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766649 -3.553088)'), GeomFromEWKT('SRID=4674;POINT (-38.766644 -3.553084)'))) / (select extract(epoch from '2026-08-04 05:23:00'::timestamp) - extract(epoch from '2026-08-04 05:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766649 -3.553088)'), GeomFromEWKT('SRID=4674;POINT (-38.766644 -3.553084)'))) / (select extract(epoch from '2026-08-04 05:23:00'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766638 -3.553084)', '2026-08-04 05:23:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766644 -3.553084)'), GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.553084)'))) / (select extract(epoch from '2026-08-04 05:23:11'::timestamp) - extract(epoch from '2026-08-04 05:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766644 -3.553084)'), GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.553084)'))) / (select extract(epoch from '2026-08-04 05:23:11'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766645 -3.553067)', '2026-08-04 05:23:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.553084)'), GeomFromEWKT('SRID=4674;POINT (-38.766645 -3.553067)'))) / (select extract(epoch from '2026-08-04 05:23:20'::timestamp) - extract(epoch from '2026-08-04 05:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.553084)'), GeomFromEWKT('SRID=4674;POINT (-38.766645 -3.553067)'))) / (select extract(epoch from '2026-08-04 05:23:20'::timestamp) - extract(epoch from '2026-08-04 05:23: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'), 48149, 'SRID=4674;POINT (-38.766666 -3.553046)', '2026-08-04 05:23:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766645 -3.553067)'), GeomFromEWKT('SRID=4674;POINT (-38.766666 -3.553046)'))) / (select extract(epoch from '2026-08-04 05:23:27'::timestamp) - extract(epoch from '2026-08-04 05:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766645 -3.553067)'), GeomFromEWKT('SRID=4674;POINT (-38.766666 -3.553046)'))) / (select extract(epoch from '2026-08-04 05:23:27'::timestamp) - extract(epoch from '2026-08-04 05:23: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'), 48149, 'SRID=4674;POINT (-38.7667 -3.553022)', '2026-08-04 05:23:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766666 -3.553046)'), GeomFromEWKT('SRID=4674;POINT (-38.7667 -3.553022)'))) / (select extract(epoch from '2026-08-04 05:23:35'::timestamp) - extract(epoch from '2026-08-04 05:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766666 -3.553046)'), GeomFromEWKT('SRID=4674;POINT (-38.7667 -3.553022)'))) / (select extract(epoch from '2026-08-04 05:23:35'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.76672 -3.552995)', '2026-08-04 05:23:43', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7667 -3.553022)'), GeomFromEWKT('SRID=4674;POINT (-38.76672 -3.552995)'))) / (select extract(epoch from '2026-08-04 05:23:43'::timestamp) - extract(epoch from '2026-08-04 05:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7667 -3.553022)'), GeomFromEWKT('SRID=4674;POINT (-38.76672 -3.552995)'))) / (select extract(epoch from '2026-08-04 05:23:43'::timestamp) - extract(epoch from '2026-08-04 05:23: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'), 48149, 'SRID=4674;POINT (-38.766731 -3.552984)', '2026-08-04 05:23:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76672 -3.552995)'), GeomFromEWKT('SRID=4674;POINT (-38.766731 -3.552984)'))) / (select extract(epoch from '2026-08-04 05:23:53'::timestamp) - extract(epoch from '2026-08-04 05:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76672 -3.552995)'), GeomFromEWKT('SRID=4674;POINT (-38.766731 -3.552984)'))) / (select extract(epoch from '2026-08-04 05:23:53'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766727 -3.552988)', '2026-08-04 05:24:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766731 -3.552984)'), GeomFromEWKT('SRID=4674;POINT (-38.766727 -3.552988)'))) / (select extract(epoch from '2026-08-04 05:24:00'::timestamp) - extract(epoch from '2026-08-04 05:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766731 -3.552984)'), GeomFromEWKT('SRID=4674;POINT (-38.766727 -3.552988)'))) / (select extract(epoch from '2026-08-04 05:24:00'::timestamp) - extract(epoch from '2026-08-04 05:23:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766735 -3.552982)', '2026-08-04 05:24:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766727 -3.552988)'), GeomFromEWKT('SRID=4674;POINT (-38.766735 -3.552982)'))) / (select extract(epoch from '2026-08-04 05:24:09'::timestamp) - extract(epoch from '2026-08-04 05:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766727 -3.552988)'), GeomFromEWKT('SRID=4674;POINT (-38.766735 -3.552982)'))) / (select extract(epoch from '2026-08-04 05:24:09'::timestamp) - extract(epoch from '2026-08-04 05:24: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'), 48149, 'SRID=4674;POINT (-38.766733 -3.55298)', '2026-08-04 05:24:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766735 -3.552982)'), GeomFromEWKT('SRID=4674;POINT (-38.766733 -3.55298)'))) / (select extract(epoch from '2026-08-04 05:24:20'::timestamp) - extract(epoch from '2026-08-04 05:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766735 -3.552982)'), GeomFromEWKT('SRID=4674;POINT (-38.766733 -3.55298)'))) / (select extract(epoch from '2026-08-04 05:24:20'::timestamp) - extract(epoch from '2026-08-04 05:24:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.76672 -3.552969)', '2026-08-04 05:24:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766733 -3.55298)'), GeomFromEWKT('SRID=4674;POINT (-38.76672 -3.552969)'))) / (select extract(epoch from '2026-08-04 05:24:36'::timestamp) - extract(epoch from '2026-08-04 05:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766733 -3.55298)'), GeomFromEWKT('SRID=4674;POINT (-38.76672 -3.552969)'))) / (select extract(epoch from '2026-08-04 05:24:36'::timestamp) - extract(epoch from '2026-08-04 05:24: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'), 48149, 'SRID=4674;POINT (-38.766716 -3.552953)', '2026-08-04 05:24:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76672 -3.552969)'), GeomFromEWKT('SRID=4674;POINT (-38.766716 -3.552953)'))) / (select extract(epoch from '2026-08-04 05:24:51'::timestamp) - extract(epoch from '2026-08-04 05:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76672 -3.552969)'), GeomFromEWKT('SRID=4674;POINT (-38.766716 -3.552953)'))) / (select extract(epoch from '2026-08-04 05:24:51'::timestamp) - extract(epoch from '2026-08-04 05:24: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'), 48149, 'SRID=4674;POINT (-38.766712 -3.552955)', '2026-08-04 05:24:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766716 -3.552953)'), GeomFromEWKT('SRID=4674;POINT (-38.766712 -3.552955)'))) / (select extract(epoch from '2026-08-04 05:24:56'::timestamp) - extract(epoch from '2026-08-04 05:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766716 -3.552953)'), GeomFromEWKT('SRID=4674;POINT (-38.766712 -3.552955)'))) / (select extract(epoch from '2026-08-04 05:24:56'::timestamp) - extract(epoch from '2026-08-04 05:24: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'), 48149, 'SRID=4674;POINT (-38.766709 -3.552955)', '2026-08-04 05:25:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766712 -3.552955)'), GeomFromEWKT('SRID=4674;POINT (-38.766709 -3.552955)'))) / (select extract(epoch from '2026-08-04 05:25:07'::timestamp) - extract(epoch from '2026-08-04 05:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766712 -3.552955)'), GeomFromEWKT('SRID=4674;POINT (-38.766709 -3.552955)'))) / (select extract(epoch from '2026-08-04 05:25:07'::timestamp) - extract(epoch from '2026-08-04 05:24: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'), 48149, 'SRID=4674;POINT (-38.766704 -3.552949)', '2026-08-04 05:25:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766709 -3.552955)'), GeomFromEWKT('SRID=4674;POINT (-38.766704 -3.552949)'))) / (select extract(epoch from '2026-08-04 05:25:21'::timestamp) - extract(epoch from '2026-08-04 05:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766709 -3.552955)'), GeomFromEWKT('SRID=4674;POINT (-38.766704 -3.552949)'))) / (select extract(epoch from '2026-08-04 05:25:21'::timestamp) - extract(epoch from '2026-08-04 05:25: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'), 48149, 'SRID=4674;POINT (-38.7667 -3.552954)', '2026-08-04 05:25:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766704 -3.552949)'), GeomFromEWKT('SRID=4674;POINT (-38.7667 -3.552954)'))) / (select extract(epoch from '2026-08-04 05:25:32'::timestamp) - extract(epoch from '2026-08-04 05:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766704 -3.552949)'), GeomFromEWKT('SRID=4674;POINT (-38.7667 -3.552954)'))) / (select extract(epoch from '2026-08-04 05:25:32'::timestamp) - extract(epoch from '2026-08-04 05:25:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766699 -3.552952)', '2026-08-04 05:25:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7667 -3.552954)'), GeomFromEWKT('SRID=4674;POINT (-38.766699 -3.552952)'))) / (select extract(epoch from '2026-08-04 05:25:43'::timestamp) - extract(epoch from '2026-08-04 05:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7667 -3.552954)'), GeomFromEWKT('SRID=4674;POINT (-38.766699 -3.552952)'))) / (select extract(epoch from '2026-08-04 05:25:43'::timestamp) - extract(epoch from '2026-08-04 05:25: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'), 48149, 'SRID=4674;POINT (-38.766708 -3.552955)', '2026-08-04 05:25:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766699 -3.552952)'), GeomFromEWKT('SRID=4674;POINT (-38.766708 -3.552955)'))) / (select extract(epoch from '2026-08-04 05:25:50'::timestamp) - extract(epoch from '2026-08-04 05:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766699 -3.552952)'), GeomFromEWKT('SRID=4674;POINT (-38.766708 -3.552955)'))) / (select extract(epoch from '2026-08-04 05:25:50'::timestamp) - extract(epoch from '2026-08-04 05:25:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766696 -3.552945)', '2026-08-04 05:25:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766708 -3.552955)'), GeomFromEWKT('SRID=4674;POINT (-38.766696 -3.552945)'))) / (select extract(epoch from '2026-08-04 05:25:58'::timestamp) - extract(epoch from '2026-08-04 05:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766708 -3.552955)'), GeomFromEWKT('SRID=4674;POINT (-38.766696 -3.552945)'))) / (select extract(epoch from '2026-08-04 05:25:58'::timestamp) - extract(epoch from '2026-08-04 05:25: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'), 48149, 'SRID=4674;POINT (-38.766699 -3.55294)', '2026-08-04 05:26:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766696 -3.552945)'), GeomFromEWKT('SRID=4674;POINT (-38.766699 -3.55294)'))) / (select extract(epoch from '2026-08-04 05:26:11'::timestamp) - extract(epoch from '2026-08-04 05:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766696 -3.552945)'), GeomFromEWKT('SRID=4674;POINT (-38.766699 -3.55294)'))) / (select extract(epoch from '2026-08-04 05:26:11'::timestamp) - extract(epoch from '2026-08-04 05:25: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'), 48149, 'SRID=4674;POINT (-38.766705 -3.552941)', '2026-08-04 05:26:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766699 -3.55294)'), GeomFromEWKT('SRID=4674;POINT (-38.766705 -3.552941)'))) / (select extract(epoch from '2026-08-04 05:26:29'::timestamp) - extract(epoch from '2026-08-04 05:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766699 -3.55294)'), GeomFromEWKT('SRID=4674;POINT (-38.766705 -3.552941)'))) / (select extract(epoch from '2026-08-04 05:26:29'::timestamp) - extract(epoch from '2026-08-04 05:26: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'), 48149, 'SRID=4674;POINT (-38.7667 -3.552941)', '2026-08-04 05:26:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766705 -3.552941)'), GeomFromEWKT('SRID=4674;POINT (-38.7667 -3.552941)'))) / (select extract(epoch from '2026-08-04 05:26:41'::timestamp) - extract(epoch from '2026-08-04 05:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766705 -3.552941)'), GeomFromEWKT('SRID=4674;POINT (-38.7667 -3.552941)'))) / (select extract(epoch from '2026-08-04 05:26:41'::timestamp) - extract(epoch from '2026-08-04 05:26: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'), 48149, 'SRID=4674;POINT (-38.7667 -3.552929)', '2026-08-04 05:26:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7667 -3.552941)'), GeomFromEWKT('SRID=4674;POINT (-38.7667 -3.552929)'))) / (select extract(epoch from '2026-08-04 05:26:50'::timestamp) - extract(epoch from '2026-08-04 05:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7667 -3.552941)'), GeomFromEWKT('SRID=4674;POINT (-38.7667 -3.552929)'))) / (select extract(epoch from '2026-08-04 05:26:50'::timestamp) - extract(epoch from '2026-08-04 05:26: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'), 48149, 'SRID=4674;POINT (-38.766704 -3.552933)', '2026-08-04 05:26:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7667 -3.552929)'), GeomFromEWKT('SRID=4674;POINT (-38.766704 -3.552933)'))) / (select extract(epoch from '2026-08-04 05:26:59'::timestamp) - extract(epoch from '2026-08-04 05:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7667 -3.552929)'), GeomFromEWKT('SRID=4674;POINT (-38.766704 -3.552933)'))) / (select extract(epoch from '2026-08-04 05:26:59'::timestamp) - extract(epoch from '2026-08-04 05:26: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'), 48149, 'SRID=4674;POINT (-38.76669 -3.552926)', '2026-08-04 05:27:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766704 -3.552933)'), GeomFromEWKT('SRID=4674;POINT (-38.76669 -3.552926)'))) / (select extract(epoch from '2026-08-04 05:27:12'::timestamp) - extract(epoch from '2026-08-04 05:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766704 -3.552933)'), GeomFromEWKT('SRID=4674;POINT (-38.76669 -3.552926)'))) / (select extract(epoch from '2026-08-04 05:27:12'::timestamp) - extract(epoch from '2026-08-04 05:26:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766684 -3.552921)', '2026-08-04 05:27:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76669 -3.552926)'), GeomFromEWKT('SRID=4674;POINT (-38.766684 -3.552921)'))) / (select extract(epoch from '2026-08-04 05:27:18'::timestamp) - extract(epoch from '2026-08-04 05:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76669 -3.552926)'), GeomFromEWKT('SRID=4674;POINT (-38.766684 -3.552921)'))) / (select extract(epoch from '2026-08-04 05:27:18'::timestamp) - extract(epoch from '2026-08-04 05:27: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'), 48149, 'SRID=4674;POINT (-38.766691 -3.552927)', '2026-08-04 05:27:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766684 -3.552921)'), GeomFromEWKT('SRID=4674;POINT (-38.766691 -3.552927)'))) / (select extract(epoch from '2026-08-04 05:27:24'::timestamp) - extract(epoch from '2026-08-04 05:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766684 -3.552921)'), GeomFromEWKT('SRID=4674;POINT (-38.766691 -3.552927)'))) / (select extract(epoch from '2026-08-04 05:27:24'::timestamp) - extract(epoch from '2026-08-04 05:27: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'), 48149, 'SRID=4674;POINT (-38.766687 -3.552921)', '2026-08-04 05:27:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766691 -3.552927)'), GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552921)'))) / (select extract(epoch from '2026-08-04 05:27:35'::timestamp) - extract(epoch from '2026-08-04 05:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766691 -3.552927)'), GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552921)'))) / (select extract(epoch from '2026-08-04 05:27:35'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766686 -3.552915)', '2026-08-04 05:27:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552921)'), GeomFromEWKT('SRID=4674;POINT (-38.766686 -3.552915)'))) / (select extract(epoch from '2026-08-04 05:27:52'::timestamp) - extract(epoch from '2026-08-04 05:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552921)'), GeomFromEWKT('SRID=4674;POINT (-38.766686 -3.552915)'))) / (select extract(epoch from '2026-08-04 05:27:52'::timestamp) - extract(epoch from '2026-08-04 05:27: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'), 48149, 'SRID=4674;POINT (-38.766687 -3.552922)', '2026-08-04 05:28:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766686 -3.552915)'), GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552922)'))) / (select extract(epoch from '2026-08-04 05:28:01'::timestamp) - extract(epoch from '2026-08-04 05:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766686 -3.552915)'), GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552922)'))) / (select extract(epoch from '2026-08-04 05:28:01'::timestamp) - extract(epoch from '2026-08-04 05:27: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'), 48149, 'SRID=4674;POINT (-38.766689 -3.552923)', '2026-08-04 05:28:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552922)'), GeomFromEWKT('SRID=4674;POINT (-38.766689 -3.552923)'))) / (select extract(epoch from '2026-08-04 05:28:09'::timestamp) - extract(epoch from '2026-08-04 05:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552922)'), GeomFromEWKT('SRID=4674;POINT (-38.766689 -3.552923)'))) / (select extract(epoch from '2026-08-04 05:28:09'::timestamp) - extract(epoch from '2026-08-04 05:28:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766681 -3.552924)', '2026-08-04 05:28:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766689 -3.552923)'), GeomFromEWKT('SRID=4674;POINT (-38.766681 -3.552924)'))) / (select extract(epoch from '2026-08-04 05:28:20'::timestamp) - extract(epoch from '2026-08-04 05:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766689 -3.552923)'), GeomFromEWKT('SRID=4674;POINT (-38.766681 -3.552924)'))) / (select extract(epoch from '2026-08-04 05:28:20'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766693 -3.552927)', '2026-08-04 05:28:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766681 -3.552924)'), GeomFromEWKT('SRID=4674;POINT (-38.766693 -3.552927)'))) / (select extract(epoch from '2026-08-04 05:28:29'::timestamp) - extract(epoch from '2026-08-04 05:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766681 -3.552924)'), GeomFromEWKT('SRID=4674;POINT (-38.766693 -3.552927)'))) / (select extract(epoch from '2026-08-04 05:28:29'::timestamp) - extract(epoch from '2026-08-04 05:28: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'), 48149, 'SRID=4674;POINT (-38.766694 -3.552926)', '2026-08-04 05:28:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766693 -3.552927)'), GeomFromEWKT('SRID=4674;POINT (-38.766694 -3.552926)'))) / (select extract(epoch from '2026-08-04 05:28:38'::timestamp) - extract(epoch from '2026-08-04 05:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766693 -3.552927)'), GeomFromEWKT('SRID=4674;POINT (-38.766694 -3.552926)'))) / (select extract(epoch from '2026-08-04 05:28:38'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766696 -3.552925)', '2026-08-04 05:28:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766694 -3.552926)'), GeomFromEWKT('SRID=4674;POINT (-38.766696 -3.552925)'))) / (select extract(epoch from '2026-08-04 05:28:44'::timestamp) - extract(epoch from '2026-08-04 05:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766694 -3.552926)'), GeomFromEWKT('SRID=4674;POINT (-38.766696 -3.552925)'))) / (select extract(epoch from '2026-08-04 05:28:44'::timestamp) - extract(epoch from '2026-08-04 05:28:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766687 -3.552928)', '2026-08-04 05:28:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766696 -3.552925)'), GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552928)'))) / (select extract(epoch from '2026-08-04 05:28:53'::timestamp) - extract(epoch from '2026-08-04 05:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766696 -3.552925)'), GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552928)'))) / (select extract(epoch from '2026-08-04 05:28:53'::timestamp) - extract(epoch from '2026-08-04 05:28: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'), 48149, 'SRID=4674;POINT (-38.766687 -3.552929)', '2026-08-04 05:29:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552928)'), GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552929)'))) / (select extract(epoch from '2026-08-04 05:29:06'::timestamp) - extract(epoch from '2026-08-04 05:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552928)'), GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552929)'))) / (select extract(epoch from '2026-08-04 05:29:06'::timestamp) - extract(epoch from '2026-08-04 05:28:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766687 -3.552929)', '2026-08-04 05:29:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552929)'), GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552929)'))) / (select extract(epoch from '2026-08-04 05:29:17'::timestamp) - extract(epoch from '2026-08-04 05:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552929)'), GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552929)'))) / (select extract(epoch from '2026-08-04 05:29:17'::timestamp) - extract(epoch from '2026-08-04 05:29:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766687 -3.552923)', '2026-08-04 05:29:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552929)'), GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552923)'))) / (select extract(epoch from '2026-08-04 05:29:26'::timestamp) - extract(epoch from '2026-08-04 05:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552929)'), GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552923)'))) / (select extract(epoch from '2026-08-04 05:29:26'::timestamp) - extract(epoch from '2026-08-04 05:29:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.76669 -3.552918)', '2026-08-04 05:29:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552923)'), GeomFromEWKT('SRID=4674;POINT (-38.76669 -3.552918)'))) / (select extract(epoch from '2026-08-04 05:29:36'::timestamp) - extract(epoch from '2026-08-04 05:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766687 -3.552923)'), GeomFromEWKT('SRID=4674;POINT (-38.76669 -3.552918)'))) / (select extract(epoch from '2026-08-04 05:29:36'::timestamp) - extract(epoch from '2026-08-04 05:29: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'), 48149, 'SRID=4674;POINT (-38.766686 -3.552922)', '2026-08-04 05:29:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76669 -3.552918)'), GeomFromEWKT('SRID=4674;POINT (-38.766686 -3.552922)'))) / (select extract(epoch from '2026-08-04 05:29:49'::timestamp) - extract(epoch from '2026-08-04 05:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76669 -3.552918)'), GeomFromEWKT('SRID=4674;POINT (-38.766686 -3.552922)'))) / (select extract(epoch from '2026-08-04 05:29:49'::timestamp) - extract(epoch from '2026-08-04 05:29:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.76668 -3.552922)', '2026-08-04 05:29:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766686 -3.552922)'), GeomFromEWKT('SRID=4674;POINT (-38.76668 -3.552922)'))) / (select extract(epoch from '2026-08-04 05:29:57'::timestamp) - extract(epoch from '2026-08-04 05:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766686 -3.552922)'), GeomFromEWKT('SRID=4674;POINT (-38.76668 -3.552922)'))) / (select extract(epoch from '2026-08-04 05:29:57'::timestamp) - extract(epoch from '2026-08-04 05:29: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'), 48149, 'SRID=4674;POINT (-38.766681 -3.552912)', '2026-08-04 05:30:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76668 -3.552922)'), GeomFromEWKT('SRID=4674;POINT (-38.766681 -3.552912)'))) / (select extract(epoch from '2026-08-04 05:30:09'::timestamp) - extract(epoch from '2026-08-04 05:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76668 -3.552922)'), GeomFromEWKT('SRID=4674;POINT (-38.766681 -3.552912)'))) / (select extract(epoch from '2026-08-04 05:30:09'::timestamp) - extract(epoch from '2026-08-04 05:29: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'), 48149, 'SRID=4674;POINT (-38.766677 -3.552916)', '2026-08-04 05:30:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766681 -3.552912)'), GeomFromEWKT('SRID=4674;POINT (-38.766677 -3.552916)'))) / (select extract(epoch from '2026-08-04 05:30:16'::timestamp) - extract(epoch from '2026-08-04 05:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766681 -3.552912)'), GeomFromEWKT('SRID=4674;POINT (-38.766677 -3.552916)'))) / (select extract(epoch from '2026-08-04 05:30:16'::timestamp) - extract(epoch from '2026-08-04 05:30: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'), 48149, 'SRID=4674;POINT (-38.766681 -3.552919)', '2026-08-04 05:30:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766677 -3.552916)'), GeomFromEWKT('SRID=4674;POINT (-38.766681 -3.552919)'))) / (select extract(epoch from '2026-08-04 05:30:31'::timestamp) - extract(epoch from '2026-08-04 05:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766677 -3.552916)'), GeomFromEWKT('SRID=4674;POINT (-38.766681 -3.552919)'))) / (select extract(epoch from '2026-08-04 05:30:31'::timestamp) - extract(epoch from '2026-08-04 05:30:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766683 -3.55292)', '2026-08-04 05:30:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766681 -3.552919)'), GeomFromEWKT('SRID=4674;POINT (-38.766683 -3.55292)'))) / (select extract(epoch from '2026-08-04 05:30:41'::timestamp) - extract(epoch from '2026-08-04 05:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766681 -3.552919)'), GeomFromEWKT('SRID=4674;POINT (-38.766683 -3.55292)'))) / (select extract(epoch from '2026-08-04 05:30:41'::timestamp) - extract(epoch from '2026-08-04 05:30: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'), 48149, 'SRID=4674;POINT (-38.766677 -3.552925)', '2026-08-04 05:30:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766683 -3.55292)'), GeomFromEWKT('SRID=4674;POINT (-38.766677 -3.552925)'))) / (select extract(epoch from '2026-08-04 05:30:51'::timestamp) - extract(epoch from '2026-08-04 05:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766683 -3.55292)'), GeomFromEWKT('SRID=4674;POINT (-38.766677 -3.552925)'))) / (select extract(epoch from '2026-08-04 05:30:51'::timestamp) - extract(epoch from '2026-08-04 05:30: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'), 48149, 'SRID=4674;POINT (-38.766679 -3.552923)', '2026-08-04 05:30:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766677 -3.552925)'), GeomFromEWKT('SRID=4674;POINT (-38.766679 -3.552923)'))) / (select extract(epoch from '2026-08-04 05:30:58'::timestamp) - extract(epoch from '2026-08-04 05:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766677 -3.552925)'), GeomFromEWKT('SRID=4674;POINT (-38.766679 -3.552923)'))) / (select extract(epoch from '2026-08-04 05:30:58'::timestamp) - extract(epoch from '2026-08-04 05:30:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766682 -3.55292)', '2026-08-04 05:31:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766679 -3.552923)'), GeomFromEWKT('SRID=4674;POINT (-38.766682 -3.55292)'))) / (select extract(epoch from '2026-08-04 05:31:07'::timestamp) - extract(epoch from '2026-08-04 05:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766679 -3.552923)'), GeomFromEWKT('SRID=4674;POINT (-38.766682 -3.55292)'))) / (select extract(epoch from '2026-08-04 05:31:07'::timestamp) - extract(epoch from '2026-08-04 05:30: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'), 48149, 'SRID=4674;POINT (-38.766682 -3.552926)', '2026-08-04 05:31:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766682 -3.55292)'), GeomFromEWKT('SRID=4674;POINT (-38.766682 -3.552926)'))) / (select extract(epoch from '2026-08-04 05:31:16'::timestamp) - extract(epoch from '2026-08-04 05:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766682 -3.55292)'), GeomFromEWKT('SRID=4674;POINT (-38.766682 -3.552926)'))) / (select extract(epoch from '2026-08-04 05:31:16'::timestamp) - extract(epoch from '2026-08-04 05:31:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766672 -3.552911)', '2026-08-04 05:31:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766682 -3.552926)'), GeomFromEWKT('SRID=4674;POINT (-38.766672 -3.552911)'))) / (select extract(epoch from '2026-08-04 05:31:30'::timestamp) - extract(epoch from '2026-08-04 05:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766682 -3.552926)'), GeomFromEWKT('SRID=4674;POINT (-38.766672 -3.552911)'))) / (select extract(epoch from '2026-08-04 05:31:30'::timestamp) - extract(epoch from '2026-08-04 05:31:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766666 -3.552906)', '2026-08-04 05:31:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766672 -3.552911)'), GeomFromEWKT('SRID=4674;POINT (-38.766666 -3.552906)'))) / (select extract(epoch from '2026-08-04 05:31:42'::timestamp) - extract(epoch from '2026-08-04 05:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766672 -3.552911)'), GeomFromEWKT('SRID=4674;POINT (-38.766666 -3.552906)'))) / (select extract(epoch from '2026-08-04 05:31:42'::timestamp) - extract(epoch from '2026-08-04 05:31: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'), 48149, 'SRID=4674;POINT (-38.766667 -3.552907)', '2026-08-04 05:31:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766666 -3.552906)'), GeomFromEWKT('SRID=4674;POINT (-38.766667 -3.552907)'))) / (select extract(epoch from '2026-08-04 05:31:53'::timestamp) - extract(epoch from '2026-08-04 05:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766666 -3.552906)'), GeomFromEWKT('SRID=4674;POINT (-38.766667 -3.552907)'))) / (select extract(epoch from '2026-08-04 05:31:53'::timestamp) - extract(epoch from '2026-08-04 05:31: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'), 48149, 'SRID=4674;POINT (-38.766666 -3.552914)', '2026-08-04 05:32:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766667 -3.552907)'), GeomFromEWKT('SRID=4674;POINT (-38.766666 -3.552914)'))) / (select extract(epoch from '2026-08-04 05:32:01'::timestamp) - extract(epoch from '2026-08-04 05:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766667 -3.552907)'), GeomFromEWKT('SRID=4674;POINT (-38.766666 -3.552914)'))) / (select extract(epoch from '2026-08-04 05:32:01'::timestamp) - extract(epoch from '2026-08-04 05:31: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'), 48149, 'SRID=4674;POINT (-38.766662 -3.552912)', '2026-08-04 05:32:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766666 -3.552914)'), GeomFromEWKT('SRID=4674;POINT (-38.766662 -3.552912)'))) / (select extract(epoch from '2026-08-04 05:32:13'::timestamp) - extract(epoch from '2026-08-04 05:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766666 -3.552914)'), GeomFromEWKT('SRID=4674;POINT (-38.766662 -3.552912)'))) / (select extract(epoch from '2026-08-04 05:32:13'::timestamp) - extract(epoch from '2026-08-04 05:32:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766661 -3.552913)', '2026-08-04 05:32:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766662 -3.552912)'), GeomFromEWKT('SRID=4674;POINT (-38.766661 -3.552913)'))) / (select extract(epoch from '2026-08-04 05:32:24'::timestamp) - extract(epoch from '2026-08-04 05:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766662 -3.552912)'), GeomFromEWKT('SRID=4674;POINT (-38.766661 -3.552913)'))) / (select extract(epoch from '2026-08-04 05:32:24'::timestamp) - extract(epoch from '2026-08-04 05:32: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'), 48149, 'SRID=4674;POINT (-38.766656 -3.552909)', '2026-08-04 05:32:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766661 -3.552913)'), GeomFromEWKT('SRID=4674;POINT (-38.766656 -3.552909)'))) / (select extract(epoch from '2026-08-04 05:32:34'::timestamp) - extract(epoch from '2026-08-04 05:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766661 -3.552913)'), GeomFromEWKT('SRID=4674;POINT (-38.766656 -3.552909)'))) / (select extract(epoch from '2026-08-04 05:32:34'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766659 -3.552911)', '2026-08-04 05:32:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766656 -3.552909)'), GeomFromEWKT('SRID=4674;POINT (-38.766659 -3.552911)'))) / (select extract(epoch from '2026-08-04 05:32:40'::timestamp) - extract(epoch from '2026-08-04 05:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766656 -3.552909)'), GeomFromEWKT('SRID=4674;POINT (-38.766659 -3.552911)'))) / (select extract(epoch from '2026-08-04 05:32:40'::timestamp) - extract(epoch from '2026-08-04 05:32:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766655 -3.552909)', '2026-08-04 05:32:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766659 -3.552911)'), GeomFromEWKT('SRID=4674;POINT (-38.766655 -3.552909)'))) / (select extract(epoch from '2026-08-04 05:32:50'::timestamp) - extract(epoch from '2026-08-04 05:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766659 -3.552911)'), GeomFromEWKT('SRID=4674;POINT (-38.766655 -3.552909)'))) / (select extract(epoch from '2026-08-04 05:32:50'::timestamp) - extract(epoch from '2026-08-04 05:32: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'), 48149, 'SRID=4674;POINT (-38.766652 -3.552907)', '2026-08-04 05:32:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766655 -3.552909)'), GeomFromEWKT('SRID=4674;POINT (-38.766652 -3.552907)'))) / (select extract(epoch from '2026-08-04 05:32:56'::timestamp) - extract(epoch from '2026-08-04 05:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766655 -3.552909)'), GeomFromEWKT('SRID=4674;POINT (-38.766652 -3.552907)'))) / (select extract(epoch from '2026-08-04 05:32:56'::timestamp) - extract(epoch from '2026-08-04 05:32: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'), 48149, 'SRID=4674;POINT (-38.766654 -3.552907)', '2026-08-04 05:33:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766652 -3.552907)'), GeomFromEWKT('SRID=4674;POINT (-38.766654 -3.552907)'))) / (select extract(epoch from '2026-08-04 05:33:08'::timestamp) - extract(epoch from '2026-08-04 05:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766652 -3.552907)'), GeomFromEWKT('SRID=4674;POINT (-38.766654 -3.552907)'))) / (select extract(epoch from '2026-08-04 05:33:08'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.76665 -3.552905)', '2026-08-04 05:33:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766654 -3.552907)'), GeomFromEWKT('SRID=4674;POINT (-38.76665 -3.552905)'))) / (select extract(epoch from '2026-08-04 05:33:20'::timestamp) - extract(epoch from '2026-08-04 05:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766654 -3.552907)'), GeomFromEWKT('SRID=4674;POINT (-38.76665 -3.552905)'))) / (select extract(epoch from '2026-08-04 05:33:20'::timestamp) - extract(epoch from '2026-08-04 05:33: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'), 48149, 'SRID=4674;POINT (-38.766651 -3.552904)', '2026-08-04 05:33:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76665 -3.552905)'), GeomFromEWKT('SRID=4674;POINT (-38.766651 -3.552904)'))) / (select extract(epoch from '2026-08-04 05:33:30'::timestamp) - extract(epoch from '2026-08-04 05:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76665 -3.552905)'), GeomFromEWKT('SRID=4674;POINT (-38.766651 -3.552904)'))) / (select extract(epoch from '2026-08-04 05:33:30'::timestamp) - extract(epoch from '2026-08-04 05:33:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766655 -3.552891)', '2026-08-04 05:33:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766651 -3.552904)'), GeomFromEWKT('SRID=4674;POINT (-38.766655 -3.552891)'))) / (select extract(epoch from '2026-08-04 05:33:44'::timestamp) - extract(epoch from '2026-08-04 05:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766651 -3.552904)'), GeomFromEWKT('SRID=4674;POINT (-38.766655 -3.552891)'))) / (select extract(epoch from '2026-08-04 05:33:44'::timestamp) - extract(epoch from '2026-08-04 05:33: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'), 48149, 'SRID=4674;POINT (-38.766646 -3.552897)', '2026-08-04 05:33:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766655 -3.552891)'), GeomFromEWKT('SRID=4674;POINT (-38.766646 -3.552897)'))) / (select extract(epoch from '2026-08-04 05:33:49'::timestamp) - extract(epoch from '2026-08-04 05:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766655 -3.552891)'), GeomFromEWKT('SRID=4674;POINT (-38.766646 -3.552897)'))) / (select extract(epoch from '2026-08-04 05:33:49'::timestamp) - extract(epoch from '2026-08-04 05:33: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'), 48149, 'SRID=4674;POINT (-38.766649 -3.552902)', '2026-08-04 05:33:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766646 -3.552897)'), GeomFromEWKT('SRID=4674;POINT (-38.766649 -3.552902)'))) / (select extract(epoch from '2026-08-04 05:33:59'::timestamp) - extract(epoch from '2026-08-04 05:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766646 -3.552897)'), GeomFromEWKT('SRID=4674;POINT (-38.766649 -3.552902)'))) / (select extract(epoch from '2026-08-04 05:33:59'::timestamp) - extract(epoch from '2026-08-04 05:33: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'), 48149, 'SRID=4674;POINT (-38.766645 -3.552901)', '2026-08-04 05:34:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766649 -3.552902)'), GeomFromEWKT('SRID=4674;POINT (-38.766645 -3.552901)'))) / (select extract(epoch from '2026-08-04 05:34:04'::timestamp) - extract(epoch from '2026-08-04 05:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766649 -3.552902)'), GeomFromEWKT('SRID=4674;POINT (-38.766645 -3.552901)'))) / (select extract(epoch from '2026-08-04 05:34:04'::timestamp) - extract(epoch from '2026-08-04 05:33:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766645 -3.552898)', '2026-08-04 05:34:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766645 -3.552901)'), GeomFromEWKT('SRID=4674;POINT (-38.766645 -3.552898)'))) / (select extract(epoch from '2026-08-04 05:34:12'::timestamp) - extract(epoch from '2026-08-04 05:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766645 -3.552901)'), GeomFromEWKT('SRID=4674;POINT (-38.766645 -3.552898)'))) / (select extract(epoch from '2026-08-04 05:34:12'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766649 -3.552901)', '2026-08-04 05:34:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766645 -3.552898)'), GeomFromEWKT('SRID=4674;POINT (-38.766649 -3.552901)'))) / (select extract(epoch from '2026-08-04 05:34:24'::timestamp) - extract(epoch from '2026-08-04 05:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766645 -3.552898)'), GeomFromEWKT('SRID=4674;POINT (-38.766649 -3.552901)'))) / (select extract(epoch from '2026-08-04 05:34:24'::timestamp) - extract(epoch from '2026-08-04 05:34:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766653 -3.552896)', '2026-08-04 05:34:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766649 -3.552901)'), GeomFromEWKT('SRID=4674;POINT (-38.766653 -3.552896)'))) / (select extract(epoch from '2026-08-04 05:34:38'::timestamp) - extract(epoch from '2026-08-04 05:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766649 -3.552901)'), GeomFromEWKT('SRID=4674;POINT (-38.766653 -3.552896)'))) / (select extract(epoch from '2026-08-04 05:34:38'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766656 -3.552883)', '2026-08-04 05:34:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766653 -3.552896)'), GeomFromEWKT('SRID=4674;POINT (-38.766656 -3.552883)'))) / (select extract(epoch from '2026-08-04 05:34:47'::timestamp) - extract(epoch from '2026-08-04 05:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766653 -3.552896)'), GeomFromEWKT('SRID=4674;POINT (-38.766656 -3.552883)'))) / (select extract(epoch from '2026-08-04 05:34:47'::timestamp) - extract(epoch from '2026-08-04 05:34: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'), 48149, 'SRID=4674;POINT (-38.766653 -3.552886)', '2026-08-04 05:34:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766656 -3.552883)'), GeomFromEWKT('SRID=4674;POINT (-38.766653 -3.552886)'))) / (select extract(epoch from '2026-08-04 05:34:58'::timestamp) - extract(epoch from '2026-08-04 05:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766656 -3.552883)'), GeomFromEWKT('SRID=4674;POINT (-38.766653 -3.552886)'))) / (select extract(epoch from '2026-08-04 05:34:58'::timestamp) - extract(epoch from '2026-08-04 05:34: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'), 48149, 'SRID=4674;POINT (-38.766652 -3.552888)', '2026-08-04 05:35:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766653 -3.552886)'), GeomFromEWKT('SRID=4674;POINT (-38.766652 -3.552888)'))) / (select extract(epoch from '2026-08-04 05:35:10'::timestamp) - extract(epoch from '2026-08-04 05:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766653 -3.552886)'), GeomFromEWKT('SRID=4674;POINT (-38.766652 -3.552888)'))) / (select extract(epoch from '2026-08-04 05:35:10'::timestamp) - extract(epoch from '2026-08-04 05:34: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'), 48149, 'SRID=4674;POINT (-38.766657 -3.552882)', '2026-08-04 05:35:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766652 -3.552888)'), GeomFromEWKT('SRID=4674;POINT (-38.766657 -3.552882)'))) / (select extract(epoch from '2026-08-04 05:35:24'::timestamp) - extract(epoch from '2026-08-04 05:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766652 -3.552888)'), GeomFromEWKT('SRID=4674;POINT (-38.766657 -3.552882)'))) / (select extract(epoch from '2026-08-04 05:35:24'::timestamp) - extract(epoch from '2026-08-04 05:35: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'), 48149, 'SRID=4674;POINT (-38.76666 -3.552897)', '2026-08-04 05:35:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766657 -3.552882)'), GeomFromEWKT('SRID=4674;POINT (-38.76666 -3.552897)'))) / (select extract(epoch from '2026-08-04 05:35:33'::timestamp) - extract(epoch from '2026-08-04 05:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766657 -3.552882)'), GeomFromEWKT('SRID=4674;POINT (-38.76666 -3.552897)'))) / (select extract(epoch from '2026-08-04 05:35:33'::timestamp) - extract(epoch from '2026-08-04 05:35: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'), 48149, 'SRID=4674;POINT (-38.766663 -3.552898)', '2026-08-04 05:35:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76666 -3.552897)'), GeomFromEWKT('SRID=4674;POINT (-38.766663 -3.552898)'))) / (select extract(epoch from '2026-08-04 05:35:44'::timestamp) - extract(epoch from '2026-08-04 05:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76666 -3.552897)'), GeomFromEWKT('SRID=4674;POINT (-38.766663 -3.552898)'))) / (select extract(epoch from '2026-08-04 05:35:44'::timestamp) - extract(epoch from '2026-08-04 05:35: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'), 48149, 'SRID=4674;POINT (-38.766673 -3.552906)', '2026-08-04 05:35:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766663 -3.552898)'), GeomFromEWKT('SRID=4674;POINT (-38.766673 -3.552906)'))) / (select extract(epoch from '2026-08-04 05:35:55'::timestamp) - extract(epoch from '2026-08-04 05:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766663 -3.552898)'), GeomFromEWKT('SRID=4674;POINT (-38.766673 -3.552906)'))) / (select extract(epoch from '2026-08-04 05:35:55'::timestamp) - extract(epoch from '2026-08-04 05:35:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766668 -3.552908)', '2026-08-04 05:36:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766673 -3.552906)'), GeomFromEWKT('SRID=4674;POINT (-38.766668 -3.552908)'))) / (select extract(epoch from '2026-08-04 05:36:00'::timestamp) - extract(epoch from '2026-08-04 05:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766673 -3.552906)'), GeomFromEWKT('SRID=4674;POINT (-38.766668 -3.552908)'))) / (select extract(epoch from '2026-08-04 05:36:00'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766655 -3.552897)', '2026-08-04 05:36:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766668 -3.552908)'), GeomFromEWKT('SRID=4674;POINT (-38.766655 -3.552897)'))) / (select extract(epoch from '2026-08-04 05:36:08'::timestamp) - extract(epoch from '2026-08-04 05:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766668 -3.552908)'), GeomFromEWKT('SRID=4674;POINT (-38.766655 -3.552897)'))) / (select extract(epoch from '2026-08-04 05:36:08'::timestamp) - extract(epoch from '2026-08-04 05:36: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'), 48149, 'SRID=4674;POINT (-38.766648 -3.552893)', '2026-08-04 05:36:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766655 -3.552897)'), GeomFromEWKT('SRID=4674;POINT (-38.766648 -3.552893)'))) / (select extract(epoch from '2026-08-04 05:36:18'::timestamp) - extract(epoch from '2026-08-04 05:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766655 -3.552897)'), GeomFromEWKT('SRID=4674;POINT (-38.766648 -3.552893)'))) / (select extract(epoch from '2026-08-04 05:36:18'::timestamp) - extract(epoch from '2026-08-04 05:36:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766644 -3.552895)', '2026-08-04 05:36:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766648 -3.552893)'), GeomFromEWKT('SRID=4674;POINT (-38.766644 -3.552895)'))) / (select extract(epoch from '2026-08-04 05:36:27'::timestamp) - extract(epoch from '2026-08-04 05:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766648 -3.552893)'), GeomFromEWKT('SRID=4674;POINT (-38.766644 -3.552895)'))) / (select extract(epoch from '2026-08-04 05:36:27'::timestamp) - extract(epoch from '2026-08-04 05:36: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'), 48149, 'SRID=4674;POINT (-38.766637 -3.552887)', '2026-08-04 05:36:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766644 -3.552895)'), GeomFromEWKT('SRID=4674;POINT (-38.766637 -3.552887)'))) / (select extract(epoch from '2026-08-04 05:36:39'::timestamp) - extract(epoch from '2026-08-04 05:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766644 -3.552895)'), GeomFromEWKT('SRID=4674;POINT (-38.766637 -3.552887)'))) / (select extract(epoch from '2026-08-04 05:36:39'::timestamp) - extract(epoch from '2026-08-04 05:36: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'), 48149, 'SRID=4674;POINT (-38.766636 -3.55288)', '2026-08-04 05:36:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766637 -3.552887)'), GeomFromEWKT('SRID=4674;POINT (-38.766636 -3.55288)'))) / (select extract(epoch from '2026-08-04 05:36:52'::timestamp) - extract(epoch from '2026-08-04 05:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766637 -3.552887)'), GeomFromEWKT('SRID=4674;POINT (-38.766636 -3.55288)'))) / (select extract(epoch from '2026-08-04 05:36:52'::timestamp) - extract(epoch from '2026-08-04 05:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766638 -3.552879)', '2026-08-04 05:36:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766636 -3.55288)'), GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552879)'))) / (select extract(epoch from '2026-08-04 05:36:57'::timestamp) - extract(epoch from '2026-08-04 05:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766636 -3.55288)'), GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552879)'))) / (select extract(epoch from '2026-08-04 05:36:57'::timestamp) - extract(epoch from '2026-08-04 05:36: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'), 48149, 'SRID=4674;POINT (-38.766639 -3.552875)', '2026-08-04 05:37:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552879)'), GeomFromEWKT('SRID=4674;POINT (-38.766639 -3.552875)'))) / (select extract(epoch from '2026-08-04 05:37:10'::timestamp) - extract(epoch from '2026-08-04 05:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552879)'), GeomFromEWKT('SRID=4674;POINT (-38.766639 -3.552875)'))) / (select extract(epoch from '2026-08-04 05:37:10'::timestamp) - extract(epoch from '2026-08-04 05:36: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'), 48149, 'SRID=4674;POINT (-38.76665 -3.552884)', '2026-08-04 05:37:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766639 -3.552875)'), GeomFromEWKT('SRID=4674;POINT (-38.76665 -3.552884)'))) / (select extract(epoch from '2026-08-04 05:37:20'::timestamp) - extract(epoch from '2026-08-04 05:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766639 -3.552875)'), GeomFromEWKT('SRID=4674;POINT (-38.76665 -3.552884)'))) / (select extract(epoch from '2026-08-04 05:37:20'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766646 -3.55289)', '2026-08-04 05:37:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76665 -3.552884)'), GeomFromEWKT('SRID=4674;POINT (-38.766646 -3.55289)'))) / (select extract(epoch from '2026-08-04 05:37:30'::timestamp) - extract(epoch from '2026-08-04 05:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76665 -3.552884)'), GeomFromEWKT('SRID=4674;POINT (-38.766646 -3.55289)'))) / (select extract(epoch from '2026-08-04 05:37:30'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766646 -3.552891)', '2026-08-04 05:37:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766646 -3.55289)'), GeomFromEWKT('SRID=4674;POINT (-38.766646 -3.552891)'))) / (select extract(epoch from '2026-08-04 05:37:37'::timestamp) - extract(epoch from '2026-08-04 05:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766646 -3.55289)'), GeomFromEWKT('SRID=4674;POINT (-38.766646 -3.552891)'))) / (select extract(epoch from '2026-08-04 05:37:37'::timestamp) - extract(epoch from '2026-08-04 05:37:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766639 -3.55288)', '2026-08-04 05:37:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766646 -3.552891)'), GeomFromEWKT('SRID=4674;POINT (-38.766639 -3.55288)'))) / (select extract(epoch from '2026-08-04 05:37:49'::timestamp) - extract(epoch from '2026-08-04 05:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766646 -3.552891)'), GeomFromEWKT('SRID=4674;POINT (-38.766639 -3.55288)'))) / (select extract(epoch from '2026-08-04 05:37:49'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766638 -3.552879)', '2026-08-04 05:38:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766639 -3.55288)'), GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552879)'))) / (select extract(epoch from '2026-08-04 05:38:01'::timestamp) - extract(epoch from '2026-08-04 05:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766639 -3.55288)'), GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552879)'))) / (select extract(epoch from '2026-08-04 05:38:01'::timestamp) - extract(epoch from '2026-08-04 05:37: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'), 48149, 'SRID=4674;POINT (-38.766639 -3.552874)', '2026-08-04 05:38:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552879)'), GeomFromEWKT('SRID=4674;POINT (-38.766639 -3.552874)'))) / (select extract(epoch from '2026-08-04 05:38:08'::timestamp) - extract(epoch from '2026-08-04 05:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552879)'), GeomFromEWKT('SRID=4674;POINT (-38.766639 -3.552874)'))) / (select extract(epoch from '2026-08-04 05:38:08'::timestamp) - extract(epoch from '2026-08-04 05:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766642 -3.552874)', '2026-08-04 05:38:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766639 -3.552874)'), GeomFromEWKT('SRID=4674;POINT (-38.766642 -3.552874)'))) / (select extract(epoch from '2026-08-04 05:38:14'::timestamp) - extract(epoch from '2026-08-04 05:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766639 -3.552874)'), GeomFromEWKT('SRID=4674;POINT (-38.766642 -3.552874)'))) / (select extract(epoch from '2026-08-04 05:38:14'::timestamp) - extract(epoch from '2026-08-04 05:38: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'), 48149, 'SRID=4674;POINT (-38.766645 -3.552874)', '2026-08-04 05:38:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766642 -3.552874)'), GeomFromEWKT('SRID=4674;POINT (-38.766645 -3.552874)'))) / (select extract(epoch from '2026-08-04 05:38:23'::timestamp) - extract(epoch from '2026-08-04 05:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766642 -3.552874)'), GeomFromEWKT('SRID=4674;POINT (-38.766645 -3.552874)'))) / (select extract(epoch from '2026-08-04 05:38:23'::timestamp) - extract(epoch from '2026-08-04 05:38: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'), 48149, 'SRID=4674;POINT (-38.766653 -3.552884)', '2026-08-04 05:38:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766645 -3.552874)'), GeomFromEWKT('SRID=4674;POINT (-38.766653 -3.552884)'))) / (select extract(epoch from '2026-08-04 05:38:34'::timestamp) - extract(epoch from '2026-08-04 05:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766645 -3.552874)'), GeomFromEWKT('SRID=4674;POINT (-38.766653 -3.552884)'))) / (select extract(epoch from '2026-08-04 05:38:34'::timestamp) - extract(epoch from '2026-08-04 05:38: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'), 48149, 'SRID=4674;POINT (-38.766647 -3.552882)', '2026-08-04 05:38:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766653 -3.552884)'), GeomFromEWKT('SRID=4674;POINT (-38.766647 -3.552882)'))) / (select extract(epoch from '2026-08-04 05:38:42'::timestamp) - extract(epoch from '2026-08-04 05:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766653 -3.552884)'), GeomFromEWKT('SRID=4674;POINT (-38.766647 -3.552882)'))) / (select extract(epoch from '2026-08-04 05:38:42'::timestamp) - extract(epoch from '2026-08-04 05:38:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766648 -3.552881)', '2026-08-04 05:38:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766647 -3.552882)'), GeomFromEWKT('SRID=4674;POINT (-38.766648 -3.552881)'))) / (select extract(epoch from '2026-08-04 05:38:53'::timestamp) - extract(epoch from '2026-08-04 05:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766647 -3.552882)'), GeomFromEWKT('SRID=4674;POINT (-38.766648 -3.552881)'))) / (select extract(epoch from '2026-08-04 05:38:53'::timestamp) - extract(epoch from '2026-08-04 05:38:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.76664 -3.552883)', '2026-08-04 05:39:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766648 -3.552881)'), GeomFromEWKT('SRID=4674;POINT (-38.76664 -3.552883)'))) / (select extract(epoch from '2026-08-04 05:39:06'::timestamp) - extract(epoch from '2026-08-04 05:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766648 -3.552881)'), GeomFromEWKT('SRID=4674;POINT (-38.76664 -3.552883)'))) / (select extract(epoch from '2026-08-04 05:39:06'::timestamp) - extract(epoch from '2026-08-04 05:38: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'), 48149, 'SRID=4674;POINT (-38.766635 -3.552886)', '2026-08-04 05:39:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76664 -3.552883)'), GeomFromEWKT('SRID=4674;POINT (-38.766635 -3.552886)'))) / (select extract(epoch from '2026-08-04 05:39:19'::timestamp) - extract(epoch from '2026-08-04 05:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76664 -3.552883)'), GeomFromEWKT('SRID=4674;POINT (-38.766635 -3.552886)'))) / (select extract(epoch from '2026-08-04 05:39:19'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766638 -3.552895)', '2026-08-04 05:39:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766635 -3.552886)'), GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552895)'))) / (select extract(epoch from '2026-08-04 05:39:29'::timestamp) - extract(epoch from '2026-08-04 05:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766635 -3.552886)'), GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552895)'))) / (select extract(epoch from '2026-08-04 05:39:29'::timestamp) - extract(epoch from '2026-08-04 05:39: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'), 48149, 'SRID=4674;POINT (-38.766637 -3.552886)', '2026-08-04 05:39:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552895)'), GeomFromEWKT('SRID=4674;POINT (-38.766637 -3.552886)'))) / (select extract(epoch from '2026-08-04 05:39:40'::timestamp) - extract(epoch from '2026-08-04 05:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552895)'), GeomFromEWKT('SRID=4674;POINT (-38.766637 -3.552886)'))) / (select extract(epoch from '2026-08-04 05:39:40'::timestamp) - extract(epoch from '2026-08-04 05:39:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766638 -3.552893)', '2026-08-04 05:39:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766637 -3.552886)'), GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552893)'))) / (select extract(epoch from '2026-08-04 05:39:49'::timestamp) - extract(epoch from '2026-08-04 05:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766637 -3.552886)'), GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552893)'))) / (select extract(epoch from '2026-08-04 05:39:49'::timestamp) - extract(epoch from '2026-08-04 05:39:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766644 -3.552888)', '2026-08-04 05:40:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552893)'), GeomFromEWKT('SRID=4674;POINT (-38.766644 -3.552888)'))) / (select extract(epoch from '2026-08-04 05:40:03'::timestamp) - extract(epoch from '2026-08-04 05:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552893)'), GeomFromEWKT('SRID=4674;POINT (-38.766644 -3.552888)'))) / (select extract(epoch from '2026-08-04 05:40:03'::timestamp) - extract(epoch from '2026-08-04 05:39: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'), 48149, 'SRID=4674;POINT (-38.766638 -3.552889)', '2026-08-04 05:40:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766644 -3.552888)'), GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552889)'))) / (select extract(epoch from '2026-08-04 05:40:12'::timestamp) - extract(epoch from '2026-08-04 05:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766644 -3.552888)'), GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552889)'))) / (select extract(epoch from '2026-08-04 05:40:12'::timestamp) - extract(epoch from '2026-08-04 05:40:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766639 -3.552896)', '2026-08-04 05:40:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552889)'), GeomFromEWKT('SRID=4674;POINT (-38.766639 -3.552896)'))) / (select extract(epoch from '2026-08-04 05:40:20'::timestamp) - extract(epoch from '2026-08-04 05:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552889)'), GeomFromEWKT('SRID=4674;POINT (-38.766639 -3.552896)'))) / (select extract(epoch from '2026-08-04 05:40:20'::timestamp) - extract(epoch from '2026-08-04 05:40: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'), 48149, 'SRID=4674;POINT (-38.766643 -3.552887)', '2026-08-04 05:40:31', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766639 -3.552896)'), GeomFromEWKT('SRID=4674;POINT (-38.766643 -3.552887)'))) / (select extract(epoch from '2026-08-04 05:40:31'::timestamp) - extract(epoch from '2026-08-04 05:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766639 -3.552896)'), GeomFromEWKT('SRID=4674;POINT (-38.766643 -3.552887)'))) / (select extract(epoch from '2026-08-04 05:40:31'::timestamp) - extract(epoch from '2026-08-04 05:40: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'), 48149, 'SRID=4674;POINT (-38.766633 -3.552888)', '2026-08-04 05:40:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766643 -3.552887)'), GeomFromEWKT('SRID=4674;POINT (-38.766633 -3.552888)'))) / (select extract(epoch from '2026-08-04 05:40:39'::timestamp) - extract(epoch from '2026-08-04 05:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766643 -3.552887)'), GeomFromEWKT('SRID=4674;POINT (-38.766633 -3.552888)'))) / (select extract(epoch from '2026-08-04 05:40:39'::timestamp) - extract(epoch from '2026-08-04 05:40:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.76663 -3.552892)', '2026-08-04 05:40:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766633 -3.552888)'), GeomFromEWKT('SRID=4674;POINT (-38.76663 -3.552892)'))) / (select extract(epoch from '2026-08-04 05:40:47'::timestamp) - extract(epoch from '2026-08-04 05:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766633 -3.552888)'), GeomFromEWKT('SRID=4674;POINT (-38.76663 -3.552892)'))) / (select extract(epoch from '2026-08-04 05:40:47'::timestamp) - extract(epoch from '2026-08-04 05:40:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766635 -3.552891)', '2026-08-04 05:40:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76663 -3.552892)'), GeomFromEWKT('SRID=4674;POINT (-38.766635 -3.552891)'))) / (select extract(epoch from '2026-08-04 05:40:54'::timestamp) - extract(epoch from '2026-08-04 05:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76663 -3.552892)'), GeomFromEWKT('SRID=4674;POINT (-38.766635 -3.552891)'))) / (select extract(epoch from '2026-08-04 05:40:54'::timestamp) - extract(epoch from '2026-08-04 05:40: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'), 48149, 'SRID=4674;POINT (-38.766631 -3.552893)', '2026-08-04 05:41:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766635 -3.552891)'), GeomFromEWKT('SRID=4674;POINT (-38.766631 -3.552893)'))) / (select extract(epoch from '2026-08-04 05:41:01'::timestamp) - extract(epoch from '2026-08-04 05:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766635 -3.552891)'), GeomFromEWKT('SRID=4674;POINT (-38.766631 -3.552893)'))) / (select extract(epoch from '2026-08-04 05:41:01'::timestamp) - extract(epoch from '2026-08-04 05:40:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766637 -3.552885)', '2026-08-04 05:41:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766631 -3.552893)'), GeomFromEWKT('SRID=4674;POINT (-38.766637 -3.552885)'))) / (select extract(epoch from '2026-08-04 05:41:17'::timestamp) - extract(epoch from '2026-08-04 05:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766631 -3.552893)'), GeomFromEWKT('SRID=4674;POINT (-38.766637 -3.552885)'))) / (select extract(epoch from '2026-08-04 05:41:17'::timestamp) - extract(epoch from '2026-08-04 05:41: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'), 48149, 'SRID=4674;POINT (-38.766637 -3.552894)', '2026-08-04 05:41:24', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766637 -3.552885)'), GeomFromEWKT('SRID=4674;POINT (-38.766637 -3.552894)'))) / (select extract(epoch from '2026-08-04 05:41:24'::timestamp) - extract(epoch from '2026-08-04 05:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766637 -3.552885)'), GeomFromEWKT('SRID=4674;POINT (-38.766637 -3.552894)'))) / (select extract(epoch from '2026-08-04 05:41:24'::timestamp) - extract(epoch from '2026-08-04 05:41: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'), 48149, 'SRID=4674;POINT (-38.766635 -3.552882)', '2026-08-04 05:41:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766637 -3.552894)'), GeomFromEWKT('SRID=4674;POINT (-38.766635 -3.552882)'))) / (select extract(epoch from '2026-08-04 05:41:32'::timestamp) - extract(epoch from '2026-08-04 05:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766637 -3.552894)'), GeomFromEWKT('SRID=4674;POINT (-38.766635 -3.552882)'))) / (select extract(epoch from '2026-08-04 05:41:32'::timestamp) - extract(epoch from '2026-08-04 05:41: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'), 48149, 'SRID=4674;POINT (-38.766633 -3.55288)', '2026-08-04 05:41:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766635 -3.552882)'), GeomFromEWKT('SRID=4674;POINT (-38.766633 -3.55288)'))) / (select extract(epoch from '2026-08-04 05:41:43'::timestamp) - extract(epoch from '2026-08-04 05:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766635 -3.552882)'), GeomFromEWKT('SRID=4674;POINT (-38.766633 -3.55288)'))) / (select extract(epoch from '2026-08-04 05:41:43'::timestamp) - extract(epoch from '2026-08-04 05:41: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'), 48149, 'SRID=4674;POINT (-38.766637 -3.552887)', '2026-08-04 05:41:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766633 -3.55288)'), GeomFromEWKT('SRID=4674;POINT (-38.766637 -3.552887)'))) / (select extract(epoch from '2026-08-04 05:41:50'::timestamp) - extract(epoch from '2026-08-04 05:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766633 -3.55288)'), GeomFromEWKT('SRID=4674;POINT (-38.766637 -3.552887)'))) / (select extract(epoch from '2026-08-04 05:41:50'::timestamp) - extract(epoch from '2026-08-04 05:41: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'), 48149, 'SRID=4674;POINT (-38.766628 -3.552881)', '2026-08-04 05:41:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766637 -3.552887)'), GeomFromEWKT('SRID=4674;POINT (-38.766628 -3.552881)'))) / (select extract(epoch from '2026-08-04 05:41:58'::timestamp) - extract(epoch from '2026-08-04 05:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766637 -3.552887)'), GeomFromEWKT('SRID=4674;POINT (-38.766628 -3.552881)'))) / (select extract(epoch from '2026-08-04 05:41:58'::timestamp) - extract(epoch from '2026-08-04 05:41: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'), 48149, 'SRID=4674;POINT (-38.76663 -3.552873)', '2026-08-04 05:42:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766628 -3.552881)'), GeomFromEWKT('SRID=4674;POINT (-38.76663 -3.552873)'))) / (select extract(epoch from '2026-08-04 05:42:08'::timestamp) - extract(epoch from '2026-08-04 05:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766628 -3.552881)'), GeomFromEWKT('SRID=4674;POINT (-38.76663 -3.552873)'))) / (select extract(epoch from '2026-08-04 05:42:08'::timestamp) - extract(epoch from '2026-08-04 05:41: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'), 48149, 'SRID=4674;POINT (-38.76663 -3.552873)', '2026-08-04 05:42:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76663 -3.552873)'), GeomFromEWKT('SRID=4674;POINT (-38.76663 -3.552873)'))) / (select extract(epoch from '2026-08-04 05:42:14'::timestamp) - extract(epoch from '2026-08-04 05:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76663 -3.552873)'), GeomFromEWKT('SRID=4674;POINT (-38.76663 -3.552873)'))) / (select extract(epoch from '2026-08-04 05:42:14'::timestamp) - extract(epoch from '2026-08-04 05:42: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'), 48149, 'SRID=4674;POINT (-38.766638 -3.552879)', '2026-08-04 05:42:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76663 -3.552873)'), GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552879)'))) / (select extract(epoch from '2026-08-04 05:42:18'::timestamp) - extract(epoch from '2026-08-04 05:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76663 -3.552873)'), GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552879)'))) / (select extract(epoch from '2026-08-04 05:42:18'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766633 -3.552883)', '2026-08-04 05:42:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552879)'), GeomFromEWKT('SRID=4674;POINT (-38.766633 -3.552883)'))) / (select extract(epoch from '2026-08-04 05:42:26'::timestamp) - extract(epoch from '2026-08-04 05:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766638 -3.552879)'), GeomFromEWKT('SRID=4674;POINT (-38.766633 -3.552883)'))) / (select extract(epoch from '2026-08-04 05:42:26'::timestamp) - extract(epoch from '2026-08-04 05:42:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766635 -3.552886)', '2026-08-04 05:42:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766633 -3.552883)'), GeomFromEWKT('SRID=4674;POINT (-38.766635 -3.552886)'))) / (select extract(epoch from '2026-08-04 05:42:31'::timestamp) - extract(epoch from '2026-08-04 05:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766633 -3.552883)'), GeomFromEWKT('SRID=4674;POINT (-38.766635 -3.552886)'))) / (select extract(epoch from '2026-08-04 05:42:31'::timestamp) - extract(epoch from '2026-08-04 05:42: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'), 48149, 'SRID=4674;POINT (-38.766635 -3.552891)', '2026-08-04 05:42:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766635 -3.552886)'), GeomFromEWKT('SRID=4674;POINT (-38.766635 -3.552891)'))) / (select extract(epoch from '2026-08-04 05:42:38'::timestamp) - extract(epoch from '2026-08-04 05:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766635 -3.552886)'), GeomFromEWKT('SRID=4674;POINT (-38.766635 -3.552891)'))) / (select extract(epoch from '2026-08-04 05:42:38'::timestamp) - extract(epoch from '2026-08-04 05:42:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766639 -3.552887)', '2026-08-04 05:42:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766635 -3.552891)'), GeomFromEWKT('SRID=4674;POINT (-38.766639 -3.552887)'))) / (select extract(epoch from '2026-08-04 05:42:43'::timestamp) - extract(epoch from '2026-08-04 05:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766635 -3.552891)'), GeomFromEWKT('SRID=4674;POINT (-38.766639 -3.552887)'))) / (select extract(epoch from '2026-08-04 05:42:43'::timestamp) - extract(epoch from '2026-08-04 05:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766642 -3.552877)', '2026-08-04 05:42:53', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766639 -3.552887)'), GeomFromEWKT('SRID=4674;POINT (-38.766642 -3.552877)'))) / (select extract(epoch from '2026-08-04 05:42:53'::timestamp) - extract(epoch from '2026-08-04 05:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766639 -3.552887)'), GeomFromEWKT('SRID=4674;POINT (-38.766642 -3.552877)'))) / (select extract(epoch from '2026-08-04 05:42:53'::timestamp) - extract(epoch from '2026-08-04 05:42:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766648 -3.55288)', '2026-08-04 05:43:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766642 -3.552877)'), GeomFromEWKT('SRID=4674;POINT (-38.766648 -3.55288)'))) / (select extract(epoch from '2026-08-04 05:43:02'::timestamp) - extract(epoch from '2026-08-04 05:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766642 -3.552877)'), GeomFromEWKT('SRID=4674;POINT (-38.766648 -3.55288)'))) / (select extract(epoch from '2026-08-04 05:43:02'::timestamp) - extract(epoch from '2026-08-04 05:42:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766641 -3.552873)', '2026-08-04 05:43:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766648 -3.55288)'), GeomFromEWKT('SRID=4674;POINT (-38.766641 -3.552873)'))) / (select extract(epoch from '2026-08-04 05:43:18'::timestamp) - extract(epoch from '2026-08-04 05:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766648 -3.55288)'), GeomFromEWKT('SRID=4674;POINT (-38.766641 -3.552873)'))) / (select extract(epoch from '2026-08-04 05:43:18'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766642 -3.552875)', '2026-08-04 05:43:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766641 -3.552873)'), GeomFromEWKT('SRID=4674;POINT (-38.766642 -3.552875)'))) / (select extract(epoch from '2026-08-04 05:43:31'::timestamp) - extract(epoch from '2026-08-04 05:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766641 -3.552873)'), GeomFromEWKT('SRID=4674;POINT (-38.766642 -3.552875)'))) / (select extract(epoch from '2026-08-04 05:43:31'::timestamp) - extract(epoch from '2026-08-04 05:43: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'), 48149, 'SRID=4674;POINT (-38.766636 -3.552872)', '2026-08-04 05:43:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766642 -3.552875)'), GeomFromEWKT('SRID=4674;POINT (-38.766636 -3.552872)'))) / (select extract(epoch from '2026-08-04 05:43:49'::timestamp) - extract(epoch from '2026-08-04 05:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766642 -3.552875)'), GeomFromEWKT('SRID=4674;POINT (-38.766636 -3.552872)'))) / (select extract(epoch from '2026-08-04 05:43:49'::timestamp) - extract(epoch from '2026-08-04 05:43: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'), 48149, 'SRID=4674;POINT (-38.76664 -3.552878)', '2026-08-04 05:43:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766636 -3.552872)'), GeomFromEWKT('SRID=4674;POINT (-38.76664 -3.552878)'))) / (select extract(epoch from '2026-08-04 05:43:57'::timestamp) - extract(epoch from '2026-08-04 05:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766636 -3.552872)'), GeomFromEWKT('SRID=4674;POINT (-38.76664 -3.552878)'))) / (select extract(epoch from '2026-08-04 05:43:57'::timestamp) - extract(epoch from '2026-08-04 05:43: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'), 48149, 'SRID=4674;POINT (-38.766642 -3.552879)', '2026-08-04 05:44:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76664 -3.552878)'), GeomFromEWKT('SRID=4674;POINT (-38.766642 -3.552879)'))) / (select extract(epoch from '2026-08-04 05:44:05'::timestamp) - extract(epoch from '2026-08-04 05:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76664 -3.552878)'), GeomFromEWKT('SRID=4674;POINT (-38.766642 -3.552879)'))) / (select extract(epoch from '2026-08-04 05:44:05'::timestamp) - extract(epoch from '2026-08-04 05:43: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'), 48149, 'SRID=4674;POINT (-38.766627 -3.55288)', '2026-08-04 05:44:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766642 -3.552879)'), GeomFromEWKT('SRID=4674;POINT (-38.766627 -3.55288)'))) / (select extract(epoch from '2026-08-04 05:44:20'::timestamp) - extract(epoch from '2026-08-04 05:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766642 -3.552879)'), GeomFromEWKT('SRID=4674;POINT (-38.766627 -3.55288)'))) / (select extract(epoch from '2026-08-04 05:44:20'::timestamp) - extract(epoch from '2026-08-04 05:44: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'), 48149, 'SRID=4674;POINT (-38.766629 -3.552872)', '2026-08-04 05:44:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766627 -3.55288)'), GeomFromEWKT('SRID=4674;POINT (-38.766629 -3.552872)'))) / (select extract(epoch from '2026-08-04 05:44:28'::timestamp) - extract(epoch from '2026-08-04 05:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766627 -3.55288)'), GeomFromEWKT('SRID=4674;POINT (-38.766629 -3.552872)'))) / (select extract(epoch from '2026-08-04 05:44:28'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48149, 'SRID=4674;POINT (-38.766632 -3.55287)', '2026-08-04 05:44:35', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766629 -3.552872)'), GeomFromEWKT('SRID=4674;POINT (-38.766632 -3.55287)'))) / (select extract(epoch from '2026-08-04 05:44:35'::timestamp) - extract(epoch from '2026-08-04 05:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766629 -3.552872)'), GeomFromEWKT('SRID=4674;POINT (-38.766632 -3.55287)'))) / (select extract(epoch from '2026-08-04 05:44:35'::timestamp) - extract(epoch from '2026-08-04 05:44: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'), 48149, 'SRID=4674;POINT (-38.766641 -3.552875)', '2026-08-04 05:44:41', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766632 -3.55287)'), GeomFromEWKT('SRID=4674;POINT (-38.766641 -3.552875)'))) / (select extract(epoch from '2026-08-04 05:44:41'::timestamp) - extract(epoch from '2026-08-04 05:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766632 -3.55287)'), GeomFromEWKT('SRID=4674;POINT (-38.766641 -3.552875)'))) / (select extract(epoch from '2026-08-04 05:44:41'::timestamp) - extract(epoch from '2026-08-04 05:44: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'), 48149, 'SRID=4674;POINT (-38.766643 -3.552875)', '2026-08-04 05:44:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766641 -3.552875)'), GeomFromEWKT('SRID=4674;POINT (-38.766643 -3.552875)'))) / (select extract(epoch from '2026-08-04 05:44:51'::timestamp) - extract(epoch from '2026-08-04 05:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766641 -3.552875)'), GeomFromEWKT('SRID=4674;POINT (-38.766643 -3.552875)'))) / (select extract(epoch from '2026-08-04 05:44:51'::timestamp) - extract(epoch from '2026-08-04 05:44:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766634 -3.552872)', '2026-08-04 05:45:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766643 -3.552875)'), GeomFromEWKT('SRID=4674;POINT (-38.766634 -3.552872)'))) / (select extract(epoch from '2026-08-04 05:45:07'::timestamp) - extract(epoch from '2026-08-04 05:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766643 -3.552875)'), GeomFromEWKT('SRID=4674;POINT (-38.766634 -3.552872)'))) / (select extract(epoch from '2026-08-04 05:45:07'::timestamp) - extract(epoch from '2026-08-04 05:44:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48149, 'SRID=4674;POINT (-38.766631 -3.552875)', '2026-08-04 05:45:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766634 -3.552872)'), GeomFromEWKT('SRID=4674;POINT (-38.766631 -3.552875)'))) / (select extract(epoch from '2026-08-04 05:45:17'::timestamp) - extract(epoch from '2026-08-04 05:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.766634 -3.552872)'), GeomFromEWKT('SRID=4674;POINT (-38.766631 -3.552875)'))) / (select extract(epoch from '2026-08-04 05:45:17'::timestamp) - extract(epoch from '2026-08-04 05:45:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
