 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.405571 -3.343649)', '2026-07-18 13:04:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405498 -3.343574)'), GeomFromEWKT('SRID=4674;POINT (-38.405571 -3.343649)'))) / (select extract(epoch from '2026-07-18 13:04:10'::timestamp) - extract(epoch from '2026-07-18 13:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405498 -3.343574)'), GeomFromEWKT('SRID=4674;POINT (-38.405571 -3.343649)'))) / (select extract(epoch from '2026-07-18 13:04:10'::timestamp) - extract(epoch from '2026-07-18 13:04: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'), 47391, 'SRID=4674;POINT (-38.40559 -3.343672)', '2026-07-18 13:04:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405571 -3.343649)'), GeomFromEWKT('SRID=4674;POINT (-38.40559 -3.343672)'))) / (select extract(epoch from '2026-07-18 13:04:12'::timestamp) - extract(epoch from '2026-07-18 13:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405571 -3.343649)'), GeomFromEWKT('SRID=4674;POINT (-38.40559 -3.343672)'))) / (select extract(epoch from '2026-07-18 13:04:12'::timestamp) - extract(epoch from '2026-07-18 13:04:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.405621 -3.343691)', '2026-07-18 13:04:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40559 -3.343672)'), GeomFromEWKT('SRID=4674;POINT (-38.405621 -3.343691)'))) / (select extract(epoch from '2026-07-18 13:04:14'::timestamp) - extract(epoch from '2026-07-18 13:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40559 -3.343672)'), GeomFromEWKT('SRID=4674;POINT (-38.405621 -3.343691)'))) / (select extract(epoch from '2026-07-18 13:04:14'::timestamp) - extract(epoch from '2026-07-18 13:04:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.405677 -3.343752)', '2026-07-18 13:04:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405621 -3.343691)'), GeomFromEWKT('SRID=4674;POINT (-38.405677 -3.343752)'))) / (select extract(epoch from '2026-07-18 13:04:20'::timestamp) - extract(epoch from '2026-07-18 13:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405621 -3.343691)'), GeomFromEWKT('SRID=4674;POINT (-38.405677 -3.343752)'))) / (select extract(epoch from '2026-07-18 13:04:20'::timestamp) - extract(epoch from '2026-07-18 13:04:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.405687 -3.343765)', '2026-07-18 13:04:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405677 -3.343752)'), GeomFromEWKT('SRID=4674;POINT (-38.405687 -3.343765)'))) / (select extract(epoch from '2026-07-18 13:04:21'::timestamp) - extract(epoch from '2026-07-18 13:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405677 -3.343752)'), GeomFromEWKT('SRID=4674;POINT (-38.405687 -3.343765)'))) / (select extract(epoch from '2026-07-18 13:04:21'::timestamp) - extract(epoch from '2026-07-18 13:04: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'), 47391, 'SRID=4674;POINT (-38.40572 -3.343803)', '2026-07-18 13:04:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405687 -3.343765)'), GeomFromEWKT('SRID=4674;POINT (-38.40572 -3.343803)'))) / (select extract(epoch from '2026-07-18 13:04:25'::timestamp) - extract(epoch from '2026-07-18 13:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405687 -3.343765)'), GeomFromEWKT('SRID=4674;POINT (-38.40572 -3.343803)'))) / (select extract(epoch from '2026-07-18 13:04:25'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.405739 -3.34382)', '2026-07-18 13:04:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40572 -3.343803)'), GeomFromEWKT('SRID=4674;POINT (-38.405739 -3.34382)'))) / (select extract(epoch from '2026-07-18 13:04:27'::timestamp) - extract(epoch from '2026-07-18 13:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40572 -3.343803)'), GeomFromEWKT('SRID=4674;POINT (-38.405739 -3.34382)'))) / (select extract(epoch from '2026-07-18 13:04:27'::timestamp) - extract(epoch from '2026-07-18 13:04: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'), 47391, 'SRID=4674;POINT (-38.405752 -3.34383)', '2026-07-18 13:04:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405739 -3.34382)'), GeomFromEWKT('SRID=4674;POINT (-38.405752 -3.34383)'))) / (select extract(epoch from '2026-07-18 13:04:29'::timestamp) - extract(epoch from '2026-07-18 13:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405739 -3.34382)'), GeomFromEWKT('SRID=4674;POINT (-38.405752 -3.34383)'))) / (select extract(epoch from '2026-07-18 13:04:29'::timestamp) - extract(epoch from '2026-07-18 13:04:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.405786 -3.34385)', '2026-07-18 13:04:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405752 -3.34383)'), GeomFromEWKT('SRID=4674;POINT (-38.405786 -3.34385)'))) / (select extract(epoch from '2026-07-18 13:04:32'::timestamp) - extract(epoch from '2026-07-18 13:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405752 -3.34383)'), GeomFromEWKT('SRID=4674;POINT (-38.405786 -3.34385)'))) / (select extract(epoch from '2026-07-18 13:04:32'::timestamp) - extract(epoch from '2026-07-18 13:04:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.405833 -3.343896)', '2026-07-18 13:04:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405786 -3.34385)'), GeomFromEWKT('SRID=4674;POINT (-38.405833 -3.343896)'))) / (select extract(epoch from '2026-07-18 13:04:36'::timestamp) - extract(epoch from '2026-07-18 13:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405786 -3.34385)'), GeomFromEWKT('SRID=4674;POINT (-38.405833 -3.343896)'))) / (select extract(epoch from '2026-07-18 13:04:36'::timestamp) - extract(epoch from '2026-07-18 13:04: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'), 47391, 'SRID=4674;POINT (-38.405874 -3.34393)', '2026-07-18 13:04:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405833 -3.343896)'), GeomFromEWKT('SRID=4674;POINT (-38.405874 -3.34393)'))) / (select extract(epoch from '2026-07-18 13:04:39'::timestamp) - extract(epoch from '2026-07-18 13:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405833 -3.343896)'), GeomFromEWKT('SRID=4674;POINT (-38.405874 -3.34393)'))) / (select extract(epoch from '2026-07-18 13:04:39'::timestamp) - extract(epoch from '2026-07-18 13:04: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'), 47391, 'SRID=4674;POINT (-38.405893 -3.343952)', '2026-07-18 13:04:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405874 -3.34393)'), GeomFromEWKT('SRID=4674;POINT (-38.405893 -3.343952)'))) / (select extract(epoch from '2026-07-18 13:04:41'::timestamp) - extract(epoch from '2026-07-18 13:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405874 -3.34393)'), GeomFromEWKT('SRID=4674;POINT (-38.405893 -3.343952)'))) / (select extract(epoch from '2026-07-18 13:04:41'::timestamp) - extract(epoch from '2026-07-18 13:04: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'), 47391, 'SRID=4674;POINT (-38.405951 -3.344015)', '2026-07-18 13:04:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405893 -3.343952)'), GeomFromEWKT('SRID=4674;POINT (-38.405951 -3.344015)'))) / (select extract(epoch from '2026-07-18 13:04:46'::timestamp) - extract(epoch from '2026-07-18 13:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405893 -3.343952)'), GeomFromEWKT('SRID=4674;POINT (-38.405951 -3.344015)'))) / (select extract(epoch from '2026-07-18 13:04:46'::timestamp) - extract(epoch from '2026-07-18 13:04:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.405986 -3.34406)', '2026-07-18 13:04:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405951 -3.344015)'), GeomFromEWKT('SRID=4674;POINT (-38.405986 -3.34406)'))) / (select extract(epoch from '2026-07-18 13:04:50'::timestamp) - extract(epoch from '2026-07-18 13:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405951 -3.344015)'), GeomFromEWKT('SRID=4674;POINT (-38.405986 -3.34406)'))) / (select extract(epoch from '2026-07-18 13:04:50'::timestamp) - extract(epoch from '2026-07-18 13:04: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'), 47391, 'SRID=4674;POINT (-38.406001 -3.344086)', '2026-07-18 13:04:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405986 -3.34406)'), GeomFromEWKT('SRID=4674;POINT (-38.406001 -3.344086)'))) / (select extract(epoch from '2026-07-18 13:04:52'::timestamp) - extract(epoch from '2026-07-18 13:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.405986 -3.34406)'), GeomFromEWKT('SRID=4674;POINT (-38.406001 -3.344086)'))) / (select extract(epoch from '2026-07-18 13:04:52'::timestamp) - extract(epoch from '2026-07-18 13:04:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.406061 -3.344146)', '2026-07-18 13:04:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406001 -3.344086)'), GeomFromEWKT('SRID=4674;POINT (-38.406061 -3.344146)'))) / (select extract(epoch from '2026-07-18 13:04:58'::timestamp) - extract(epoch from '2026-07-18 13:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406001 -3.344086)'), GeomFromEWKT('SRID=4674;POINT (-38.406061 -3.344146)'))) / (select extract(epoch from '2026-07-18 13:04:58'::timestamp) - extract(epoch from '2026-07-18 13:04: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'), 47391, 'SRID=4674;POINT (-38.406153 -3.344227)', '2026-07-18 13:05:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406061 -3.344146)'), GeomFromEWKT('SRID=4674;POINT (-38.406153 -3.344227)'))) / (select extract(epoch from '2026-07-18 13:05:05'::timestamp) - extract(epoch from '2026-07-18 13:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406061 -3.344146)'), GeomFromEWKT('SRID=4674;POINT (-38.406153 -3.344227)'))) / (select extract(epoch from '2026-07-18 13:05:05'::timestamp) - extract(epoch from '2026-07-18 13:04: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'), 47391, 'SRID=4674;POINT (-38.406228 -3.344296)', '2026-07-18 13:05:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406153 -3.344227)'), GeomFromEWKT('SRID=4674;POINT (-38.406228 -3.344296)'))) / (select extract(epoch from '2026-07-18 13:05:10'::timestamp) - extract(epoch from '2026-07-18 13:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406153 -3.344227)'), GeomFromEWKT('SRID=4674;POINT (-38.406228 -3.344296)'))) / (select extract(epoch from '2026-07-18 13:05:10'::timestamp) - extract(epoch from '2026-07-18 13:05:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.406304 -3.344384)', '2026-07-18 13:05:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406228 -3.344296)'), GeomFromEWKT('SRID=4674;POINT (-38.406304 -3.344384)'))) / (select extract(epoch from '2026-07-18 13:05:16'::timestamp) - extract(epoch from '2026-07-18 13:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406228 -3.344296)'), GeomFromEWKT('SRID=4674;POINT (-38.406304 -3.344384)'))) / (select extract(epoch from '2026-07-18 13:05:16'::timestamp) - extract(epoch from '2026-07-18 13:05:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.406349 -3.344453)', '2026-07-18 13:05:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406304 -3.344384)'), GeomFromEWKT('SRID=4674;POINT (-38.406349 -3.344453)'))) / (select extract(epoch from '2026-07-18 13:05:21'::timestamp) - extract(epoch from '2026-07-18 13:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406304 -3.344384)'), GeomFromEWKT('SRID=4674;POINT (-38.406349 -3.344453)'))) / (select extract(epoch from '2026-07-18 13:05:21'::timestamp) - extract(epoch from '2026-07-18 13:05: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'), 47391, 'SRID=4674;POINT (-38.406363 -3.34447)', '2026-07-18 13:05:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406349 -3.344453)'), GeomFromEWKT('SRID=4674;POINT (-38.406363 -3.34447)'))) / (select extract(epoch from '2026-07-18 13:05:22'::timestamp) - extract(epoch from '2026-07-18 13:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406349 -3.344453)'), GeomFromEWKT('SRID=4674;POINT (-38.406363 -3.34447)'))) / (select extract(epoch from '2026-07-18 13:05:22'::timestamp) - extract(epoch from '2026-07-18 13:05: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'), 47391, 'SRID=4674;POINT (-38.406396 -3.344496)', '2026-07-18 13:05:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406363 -3.34447)'), GeomFromEWKT('SRID=4674;POINT (-38.406396 -3.344496)'))) / (select extract(epoch from '2026-07-18 13:05:25'::timestamp) - extract(epoch from '2026-07-18 13:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406363 -3.34447)'), GeomFromEWKT('SRID=4674;POINT (-38.406396 -3.344496)'))) / (select extract(epoch from '2026-07-18 13:05:25'::timestamp) - extract(epoch from '2026-07-18 13:05:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.406451 -3.344556)', '2026-07-18 13:05:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406396 -3.344496)'), GeomFromEWKT('SRID=4674;POINT (-38.406451 -3.344556)'))) / (select extract(epoch from '2026-07-18 13:05:30'::timestamp) - extract(epoch from '2026-07-18 13:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406396 -3.344496)'), GeomFromEWKT('SRID=4674;POINT (-38.406451 -3.344556)'))) / (select extract(epoch from '2026-07-18 13:05:30'::timestamp) - extract(epoch from '2026-07-18 13:05:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.406485 -3.34461)', '2026-07-18 13:05:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406451 -3.344556)'), GeomFromEWKT('SRID=4674;POINT (-38.406485 -3.34461)'))) / (select extract(epoch from '2026-07-18 13:05:34'::timestamp) - extract(epoch from '2026-07-18 13:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406451 -3.344556)'), GeomFromEWKT('SRID=4674;POINT (-38.406485 -3.34461)'))) / (select extract(epoch from '2026-07-18 13:05:34'::timestamp) - extract(epoch from '2026-07-18 13:05: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'), 47391, 'SRID=4674;POINT (-38.406498 -3.344622)', '2026-07-18 13:05:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406485 -3.34461)'), GeomFromEWKT('SRID=4674;POINT (-38.406498 -3.344622)'))) / (select extract(epoch from '2026-07-18 13:05:35'::timestamp) - extract(epoch from '2026-07-18 13:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406485 -3.34461)'), GeomFromEWKT('SRID=4674;POINT (-38.406498 -3.344622)'))) / (select extract(epoch from '2026-07-18 13:05:35'::timestamp) - extract(epoch from '2026-07-18 13:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.406555 -3.344689)', '2026-07-18 13:05:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406498 -3.344622)'), GeomFromEWKT('SRID=4674;POINT (-38.406555 -3.344689)'))) / (select extract(epoch from '2026-07-18 13:05:41'::timestamp) - extract(epoch from '2026-07-18 13:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406498 -3.344622)'), GeomFromEWKT('SRID=4674;POINT (-38.406555 -3.344689)'))) / (select extract(epoch from '2026-07-18 13:05:41'::timestamp) - extract(epoch from '2026-07-18 13:05:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.406574 -3.344697)', '2026-07-18 13:05:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406555 -3.344689)'), GeomFromEWKT('SRID=4674;POINT (-38.406574 -3.344697)'))) / (select extract(epoch from '2026-07-18 13:05:42'::timestamp) - extract(epoch from '2026-07-18 13:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406555 -3.344689)'), GeomFromEWKT('SRID=4674;POINT (-38.406574 -3.344697)'))) / (select extract(epoch from '2026-07-18 13:05:42'::timestamp) - extract(epoch from '2026-07-18 13:05: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'), 47391, 'SRID=4674;POINT (-38.406612 -3.34471)', '2026-07-18 13:05:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406574 -3.344697)'), GeomFromEWKT('SRID=4674;POINT (-38.406612 -3.34471)'))) / (select extract(epoch from '2026-07-18 13:05:44'::timestamp) - extract(epoch from '2026-07-18 13:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406574 -3.344697)'), GeomFromEWKT('SRID=4674;POINT (-38.406612 -3.34471)'))) / (select extract(epoch from '2026-07-18 13:05:44'::timestamp) - extract(epoch from '2026-07-18 13:05:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.406624 -3.34472)', '2026-07-18 13:05:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406612 -3.34471)'), GeomFromEWKT('SRID=4674;POINT (-38.406624 -3.34472)'))) / (select extract(epoch from '2026-07-18 13:05:45'::timestamp) - extract(epoch from '2026-07-18 13:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406612 -3.34471)'), GeomFromEWKT('SRID=4674;POINT (-38.406624 -3.34472)'))) / (select extract(epoch from '2026-07-18 13:05:45'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.406705 -3.344787)', '2026-07-18 13:05:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406624 -3.34472)'), GeomFromEWKT('SRID=4674;POINT (-38.406705 -3.344787)'))) / (select extract(epoch from '2026-07-18 13:05:51'::timestamp) - extract(epoch from '2026-07-18 13:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406624 -3.34472)'), GeomFromEWKT('SRID=4674;POINT (-38.406705 -3.344787)'))) / (select extract(epoch from '2026-07-18 13:05:51'::timestamp) - extract(epoch from '2026-07-18 13:05: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'), 47391, 'SRID=4674;POINT (-38.406762 -3.344853)', '2026-07-18 13:05:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406705 -3.344787)'), GeomFromEWKT('SRID=4674;POINT (-38.406762 -3.344853)'))) / (select extract(epoch from '2026-07-18 13:05:57'::timestamp) - extract(epoch from '2026-07-18 13:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406705 -3.344787)'), GeomFromEWKT('SRID=4674;POINT (-38.406762 -3.344853)'))) / (select extract(epoch from '2026-07-18 13:05:57'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.406787 -3.344892)', '2026-07-18 13:06:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406762 -3.344853)'), GeomFromEWKT('SRID=4674;POINT (-38.406787 -3.344892)'))) / (select extract(epoch from '2026-07-18 13:06:00'::timestamp) - extract(epoch from '2026-07-18 13:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406762 -3.344853)'), GeomFromEWKT('SRID=4674;POINT (-38.406787 -3.344892)'))) / (select extract(epoch from '2026-07-18 13:06:00'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.406821 -3.344909)', '2026-07-18 13:06:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406787 -3.344892)'), GeomFromEWKT('SRID=4674;POINT (-38.406821 -3.344909)'))) / (select extract(epoch from '2026-07-18 13:06:02'::timestamp) - extract(epoch from '2026-07-18 13:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406787 -3.344892)'), GeomFromEWKT('SRID=4674;POINT (-38.406821 -3.344909)'))) / (select extract(epoch from '2026-07-18 13:06:02'::timestamp) - extract(epoch from '2026-07-18 13:06: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'), 47391, 'SRID=4674;POINT (-38.406844 -3.344934)', '2026-07-18 13:06:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406821 -3.344909)'), GeomFromEWKT('SRID=4674;POINT (-38.406844 -3.344934)'))) / (select extract(epoch from '2026-07-18 13:06:04'::timestamp) - extract(epoch from '2026-07-18 13:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406821 -3.344909)'), GeomFromEWKT('SRID=4674;POINT (-38.406844 -3.344934)'))) / (select extract(epoch from '2026-07-18 13:06:04'::timestamp) - extract(epoch from '2026-07-18 13:06: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'), 47391, 'SRID=4674;POINT (-38.406856 -3.34495)', '2026-07-18 13:06:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406844 -3.344934)'), GeomFromEWKT('SRID=4674;POINT (-38.406856 -3.34495)'))) / (select extract(epoch from '2026-07-18 13:06:06'::timestamp) - extract(epoch from '2026-07-18 13:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406844 -3.344934)'), GeomFromEWKT('SRID=4674;POINT (-38.406856 -3.34495)'))) / (select extract(epoch from '2026-07-18 13:06:06'::timestamp) - extract(epoch from '2026-07-18 13:06: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'), 47391, 'SRID=4674;POINT (-38.406923 -3.345019)', '2026-07-18 13:06:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406856 -3.34495)'), GeomFromEWKT('SRID=4674;POINT (-38.406923 -3.345019)'))) / (select extract(epoch from '2026-07-18 13:06:12'::timestamp) - extract(epoch from '2026-07-18 13:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406856 -3.34495)'), GeomFromEWKT('SRID=4674;POINT (-38.406923 -3.345019)'))) / (select extract(epoch from '2026-07-18 13:06:12'::timestamp) - extract(epoch from '2026-07-18 13:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.406931 -3.345038)', '2026-07-18 13:06:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406923 -3.345019)'), GeomFromEWKT('SRID=4674;POINT (-38.406931 -3.345038)'))) / (select extract(epoch from '2026-07-18 13:06:14'::timestamp) - extract(epoch from '2026-07-18 13:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406923 -3.345019)'), GeomFromEWKT('SRID=4674;POINT (-38.406931 -3.345038)'))) / (select extract(epoch from '2026-07-18 13:06:14'::timestamp) - extract(epoch from '2026-07-18 13:06: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'), 47391, 'SRID=4674;POINT (-38.40696 -3.345061)', '2026-07-18 13:06:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406931 -3.345038)'), GeomFromEWKT('SRID=4674;POINT (-38.40696 -3.345061)'))) / (select extract(epoch from '2026-07-18 13:06:16'::timestamp) - extract(epoch from '2026-07-18 13:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.406931 -3.345038)'), GeomFromEWKT('SRID=4674;POINT (-38.40696 -3.345061)'))) / (select extract(epoch from '2026-07-18 13:06:16'::timestamp) - extract(epoch from '2026-07-18 13:06:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.407035 -3.345131)', '2026-07-18 13:06:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40696 -3.345061)'), GeomFromEWKT('SRID=4674;POINT (-38.407035 -3.345131)'))) / (select extract(epoch from '2026-07-18 13:06:23'::timestamp) - extract(epoch from '2026-07-18 13:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40696 -3.345061)'), GeomFromEWKT('SRID=4674;POINT (-38.407035 -3.345131)'))) / (select extract(epoch from '2026-07-18 13:06:23'::timestamp) - extract(epoch from '2026-07-18 13:06: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'), 47391, 'SRID=4674;POINT (-38.407097 -3.345193)', '2026-07-18 13:06:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407035 -3.345131)'), GeomFromEWKT('SRID=4674;POINT (-38.407097 -3.345193)'))) / (select extract(epoch from '2026-07-18 13:06:29'::timestamp) - extract(epoch from '2026-07-18 13:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407035 -3.345131)'), GeomFromEWKT('SRID=4674;POINT (-38.407097 -3.345193)'))) / (select extract(epoch from '2026-07-18 13:06:29'::timestamp) - extract(epoch from '2026-07-18 13:06: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'), 47391, 'SRID=4674;POINT (-38.40717 -3.345251)', '2026-07-18 13:06:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407097 -3.345193)'), GeomFromEWKT('SRID=4674;POINT (-38.40717 -3.345251)'))) / (select extract(epoch from '2026-07-18 13:06:35'::timestamp) - extract(epoch from '2026-07-18 13:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407097 -3.345193)'), GeomFromEWKT('SRID=4674;POINT (-38.40717 -3.345251)'))) / (select extract(epoch from '2026-07-18 13:06:35'::timestamp) - extract(epoch from '2026-07-18 13:06: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'), 47391, 'SRID=4674;POINT (-38.407233 -3.345309)', '2026-07-18 13:06:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40717 -3.345251)'), GeomFromEWKT('SRID=4674;POINT (-38.407233 -3.345309)'))) / (select extract(epoch from '2026-07-18 13:06:40'::timestamp) - extract(epoch from '2026-07-18 13:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40717 -3.345251)'), GeomFromEWKT('SRID=4674;POINT (-38.407233 -3.345309)'))) / (select extract(epoch from '2026-07-18 13:06:40'::timestamp) - extract(epoch from '2026-07-18 13:06: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'), 47391, 'SRID=4674;POINT (-38.407254 -3.345335)', '2026-07-18 13:06:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407233 -3.345309)'), GeomFromEWKT('SRID=4674;POINT (-38.407254 -3.345335)'))) / (select extract(epoch from '2026-07-18 13:06:42'::timestamp) - extract(epoch from '2026-07-18 13:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407233 -3.345309)'), GeomFromEWKT('SRID=4674;POINT (-38.407254 -3.345335)'))) / (select extract(epoch from '2026-07-18 13:06:42'::timestamp) - extract(epoch from '2026-07-18 13:06: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'), 47391, 'SRID=4674;POINT (-38.407281 -3.345353)', '2026-07-18 13:06:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407254 -3.345335)'), GeomFromEWKT('SRID=4674;POINT (-38.407281 -3.345353)'))) / (select extract(epoch from '2026-07-18 13:06:44'::timestamp) - extract(epoch from '2026-07-18 13:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407254 -3.345335)'), GeomFromEWKT('SRID=4674;POINT (-38.407281 -3.345353)'))) / (select extract(epoch from '2026-07-18 13:06:44'::timestamp) - extract(epoch from '2026-07-18 13:06:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.40732 -3.345402)', '2026-07-18 13:06:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407281 -3.345353)'), GeomFromEWKT('SRID=4674;POINT (-38.40732 -3.345402)'))) / (select extract(epoch from '2026-07-18 13:06:48'::timestamp) - extract(epoch from '2026-07-18 13:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407281 -3.345353)'), GeomFromEWKT('SRID=4674;POINT (-38.40732 -3.345402)'))) / (select extract(epoch from '2026-07-18 13:06:48'::timestamp) - extract(epoch from '2026-07-18 13:06: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'), 47391, 'SRID=4674;POINT (-38.407324 -3.345415)', '2026-07-18 13:06:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40732 -3.345402)'), GeomFromEWKT('SRID=4674;POINT (-38.407324 -3.345415)'))) / (select extract(epoch from '2026-07-18 13:06:49'::timestamp) - extract(epoch from '2026-07-18 13:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40732 -3.345402)'), GeomFromEWKT('SRID=4674;POINT (-38.407324 -3.345415)'))) / (select extract(epoch from '2026-07-18 13:06:49'::timestamp) - extract(epoch from '2026-07-18 13:06: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'), 47391, 'SRID=4674;POINT (-38.407348 -3.345443)', '2026-07-18 13:06:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407324 -3.345415)'), GeomFromEWKT('SRID=4674;POINT (-38.407348 -3.345443)'))) / (select extract(epoch from '2026-07-18 13:06:52'::timestamp) - extract(epoch from '2026-07-18 13:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407324 -3.345415)'), GeomFromEWKT('SRID=4674;POINT (-38.407348 -3.345443)'))) / (select extract(epoch from '2026-07-18 13:06:52'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.407354 -3.345466)', '2026-07-18 13:06:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407348 -3.345443)'), GeomFromEWKT('SRID=4674;POINT (-38.407354 -3.345466)'))) / (select extract(epoch from '2026-07-18 13:06:54'::timestamp) - extract(epoch from '2026-07-18 13:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407348 -3.345443)'), GeomFromEWKT('SRID=4674;POINT (-38.407354 -3.345466)'))) / (select extract(epoch from '2026-07-18 13:06:54'::timestamp) - extract(epoch from '2026-07-18 13:06:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.407361 -3.345472)', '2026-07-18 13:06:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407354 -3.345466)'), GeomFromEWKT('SRID=4674;POINT (-38.407361 -3.345472)'))) / (select extract(epoch from '2026-07-18 13:06:55'::timestamp) - extract(epoch from '2026-07-18 13:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407354 -3.345466)'), GeomFromEWKT('SRID=4674;POINT (-38.407361 -3.345472)'))) / (select extract(epoch from '2026-07-18 13:06:55'::timestamp) - extract(epoch from '2026-07-18 13:06: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'), 47391, 'SRID=4674;POINT (-38.407395 -3.345512)', '2026-07-18 13:06:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407361 -3.345472)'), GeomFromEWKT('SRID=4674;POINT (-38.407395 -3.345512)'))) / (select extract(epoch from '2026-07-18 13:06:59'::timestamp) - extract(epoch from '2026-07-18 13:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407361 -3.345472)'), GeomFromEWKT('SRID=4674;POINT (-38.407395 -3.345512)'))) / (select extract(epoch from '2026-07-18 13:06:59'::timestamp) - extract(epoch from '2026-07-18 13:06: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'), 47391, 'SRID=4674;POINT (-38.407442 -3.34557)', '2026-07-18 13:07:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407395 -3.345512)'), GeomFromEWKT('SRID=4674;POINT (-38.407442 -3.34557)'))) / (select extract(epoch from '2026-07-18 13:07:04'::timestamp) - extract(epoch from '2026-07-18 13:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407395 -3.345512)'), GeomFromEWKT('SRID=4674;POINT (-38.407442 -3.34557)'))) / (select extract(epoch from '2026-07-18 13:07:04'::timestamp) - extract(epoch from '2026-07-18 13:06: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'), 47391, 'SRID=4674;POINT (-38.407486 -3.345597)', '2026-07-18 13:07:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407442 -3.34557)'), GeomFromEWKT('SRID=4674;POINT (-38.407486 -3.345597)'))) / (select extract(epoch from '2026-07-18 13:07:06'::timestamp) - extract(epoch from '2026-07-18 13:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407442 -3.34557)'), GeomFromEWKT('SRID=4674;POINT (-38.407486 -3.345597)'))) / (select extract(epoch from '2026-07-18 13:07:06'::timestamp) - extract(epoch from '2026-07-18 13:07: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'), 47391, 'SRID=4674;POINT (-38.407498 -3.345617)', '2026-07-18 13:07:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407486 -3.345597)'), GeomFromEWKT('SRID=4674;POINT (-38.407498 -3.345617)'))) / (select extract(epoch from '2026-07-18 13:07:07'::timestamp) - extract(epoch from '2026-07-18 13:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407486 -3.345597)'), GeomFromEWKT('SRID=4674;POINT (-38.407498 -3.345617)'))) / (select extract(epoch from '2026-07-18 13:07:07'::timestamp) - extract(epoch from '2026-07-18 13:07:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.40755 -3.345662)', '2026-07-18 13:07:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407498 -3.345617)'), GeomFromEWKT('SRID=4674;POINT (-38.40755 -3.345662)'))) / (select extract(epoch from '2026-07-18 13:07:12'::timestamp) - extract(epoch from '2026-07-18 13:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407498 -3.345617)'), GeomFromEWKT('SRID=4674;POINT (-38.40755 -3.345662)'))) / (select extract(epoch from '2026-07-18 13:07:12'::timestamp) - extract(epoch from '2026-07-18 13:07: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'), 47391, 'SRID=4674;POINT (-38.407577 -3.345692)', '2026-07-18 13:07:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40755 -3.345662)'), GeomFromEWKT('SRID=4674;POINT (-38.407577 -3.345692)'))) / (select extract(epoch from '2026-07-18 13:07:15'::timestamp) - extract(epoch from '2026-07-18 13:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40755 -3.345662)'), GeomFromEWKT('SRID=4674;POINT (-38.407577 -3.345692)'))) / (select extract(epoch from '2026-07-18 13:07:15'::timestamp) - extract(epoch from '2026-07-18 13:07: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'), 47391, 'SRID=4674;POINT (-38.407591 -3.3457)', '2026-07-18 13:07:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407577 -3.345692)'), GeomFromEWKT('SRID=4674;POINT (-38.407591 -3.3457)'))) / (select extract(epoch from '2026-07-18 13:07:16'::timestamp) - extract(epoch from '2026-07-18 13:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407577 -3.345692)'), GeomFromEWKT('SRID=4674;POINT (-38.407591 -3.3457)'))) / (select extract(epoch from '2026-07-18 13:07:16'::timestamp) - extract(epoch from '2026-07-18 13:07:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.407665 -3.345768)', '2026-07-18 13:07:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407591 -3.3457)'), GeomFromEWKT('SRID=4674;POINT (-38.407665 -3.345768)'))) / (select extract(epoch from '2026-07-18 13:07:22'::timestamp) - extract(epoch from '2026-07-18 13:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407591 -3.3457)'), GeomFromEWKT('SRID=4674;POINT (-38.407665 -3.345768)'))) / (select extract(epoch from '2026-07-18 13:07:22'::timestamp) - extract(epoch from '2026-07-18 13:07: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'), 47391, 'SRID=4674;POINT (-38.40773 -3.345842)', '2026-07-18 13:07:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407665 -3.345768)'), GeomFromEWKT('SRID=4674;POINT (-38.40773 -3.345842)'))) / (select extract(epoch from '2026-07-18 13:07:28'::timestamp) - extract(epoch from '2026-07-18 13:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407665 -3.345768)'), GeomFromEWKT('SRID=4674;POINT (-38.40773 -3.345842)'))) / (select extract(epoch from '2026-07-18 13:07:28'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.40775 -3.345852)', '2026-07-18 13:07:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40773 -3.345842)'), GeomFromEWKT('SRID=4674;POINT (-38.40775 -3.345852)'))) / (select extract(epoch from '2026-07-18 13:07:30'::timestamp) - extract(epoch from '2026-07-18 13:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40773 -3.345842)'), GeomFromEWKT('SRID=4674;POINT (-38.40775 -3.345852)'))) / (select extract(epoch from '2026-07-18 13:07:30'::timestamp) - extract(epoch from '2026-07-18 13:07: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'), 47391, 'SRID=4674;POINT (-38.407782 -3.345899)', '2026-07-18 13:07:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40775 -3.345852)'), GeomFromEWKT('SRID=4674;POINT (-38.407782 -3.345899)'))) / (select extract(epoch from '2026-07-18 13:07:33'::timestamp) - extract(epoch from '2026-07-18 13:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40775 -3.345852)'), GeomFromEWKT('SRID=4674;POINT (-38.407782 -3.345899)'))) / (select extract(epoch from '2026-07-18 13:07:33'::timestamp) - extract(epoch from '2026-07-18 13:07:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.407793 -3.345911)', '2026-07-18 13:07:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407782 -3.345899)'), GeomFromEWKT('SRID=4674;POINT (-38.407793 -3.345911)'))) / (select extract(epoch from '2026-07-18 13:07:34'::timestamp) - extract(epoch from '2026-07-18 13:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407782 -3.345899)'), GeomFromEWKT('SRID=4674;POINT (-38.407793 -3.345911)'))) / (select extract(epoch from '2026-07-18 13:07:34'::timestamp) - extract(epoch from '2026-07-18 13:07:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.407839 -3.345941)', '2026-07-18 13:07:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407793 -3.345911)'), GeomFromEWKT('SRID=4674;POINT (-38.407839 -3.345941)'))) / (select extract(epoch from '2026-07-18 13:07:37'::timestamp) - extract(epoch from '2026-07-18 13:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407793 -3.345911)'), GeomFromEWKT('SRID=4674;POINT (-38.407839 -3.345941)'))) / (select extract(epoch from '2026-07-18 13:07:37'::timestamp) - extract(epoch from '2026-07-18 13:07:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.407882 -3.345991)', '2026-07-18 13:07:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407839 -3.345941)'), GeomFromEWKT('SRID=4674;POINT (-38.407882 -3.345991)'))) / (select extract(epoch from '2026-07-18 13:07:42'::timestamp) - extract(epoch from '2026-07-18 13:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407839 -3.345941)'), GeomFromEWKT('SRID=4674;POINT (-38.407882 -3.345991)'))) / (select extract(epoch from '2026-07-18 13:07:42'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.407903 -3.346015)', '2026-07-18 13:07:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407882 -3.345991)'), GeomFromEWKT('SRID=4674;POINT (-38.407903 -3.346015)'))) / (select extract(epoch from '2026-07-18 13:07:44'::timestamp) - extract(epoch from '2026-07-18 13:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407882 -3.345991)'), GeomFromEWKT('SRID=4674;POINT (-38.407903 -3.346015)'))) / (select extract(epoch from '2026-07-18 13:07:44'::timestamp) - extract(epoch from '2026-07-18 13:07: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'), 47391, 'SRID=4674;POINT (-38.407922 -3.346028)', '2026-07-18 13:07:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407903 -3.346015)'), GeomFromEWKT('SRID=4674;POINT (-38.407922 -3.346028)'))) / (select extract(epoch from '2026-07-18 13:07:46'::timestamp) - extract(epoch from '2026-07-18 13:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407903 -3.346015)'), GeomFromEWKT('SRID=4674;POINT (-38.407922 -3.346028)'))) / (select extract(epoch from '2026-07-18 13:07:46'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.407974 -3.346078)', '2026-07-18 13:07:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407922 -3.346028)'), GeomFromEWKT('SRID=4674;POINT (-38.407974 -3.346078)'))) / (select extract(epoch from '2026-07-18 13:07:50'::timestamp) - extract(epoch from '2026-07-18 13:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407922 -3.346028)'), GeomFromEWKT('SRID=4674;POINT (-38.407974 -3.346078)'))) / (select extract(epoch from '2026-07-18 13:07:50'::timestamp) - extract(epoch from '2026-07-18 13:07: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'), 47391, 'SRID=4674;POINT (-38.408016 -3.346122)', '2026-07-18 13:07:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407974 -3.346078)'), GeomFromEWKT('SRID=4674;POINT (-38.408016 -3.346122)'))) / (select extract(epoch from '2026-07-18 13:07:54'::timestamp) - extract(epoch from '2026-07-18 13:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.407974 -3.346078)'), GeomFromEWKT('SRID=4674;POINT (-38.408016 -3.346122)'))) / (select extract(epoch from '2026-07-18 13:07:54'::timestamp) - extract(epoch from '2026-07-18 13:07: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'), 47391, 'SRID=4674;POINT (-38.408101 -3.346187)', '2026-07-18 13:08:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408016 -3.346122)'), GeomFromEWKT('SRID=4674;POINT (-38.408101 -3.346187)'))) / (select extract(epoch from '2026-07-18 13:08:00'::timestamp) - extract(epoch from '2026-07-18 13:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408016 -3.346122)'), GeomFromEWKT('SRID=4674;POINT (-38.408101 -3.346187)'))) / (select extract(epoch from '2026-07-18 13:08:00'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.408127 -3.346224)', '2026-07-18 13:08:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408101 -3.346187)'), GeomFromEWKT('SRID=4674;POINT (-38.408127 -3.346224)'))) / (select extract(epoch from '2026-07-18 13:08:03'::timestamp) - extract(epoch from '2026-07-18 13:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408101 -3.346187)'), GeomFromEWKT('SRID=4674;POINT (-38.408127 -3.346224)'))) / (select extract(epoch from '2026-07-18 13:08:03'::timestamp) - extract(epoch from '2026-07-18 13:08: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'), 47391, 'SRID=4674;POINT (-38.408159 -3.346248)', '2026-07-18 13:08:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408127 -3.346224)'), GeomFromEWKT('SRID=4674;POINT (-38.408159 -3.346248)'))) / (select extract(epoch from '2026-07-18 13:08:05'::timestamp) - extract(epoch from '2026-07-18 13:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408127 -3.346224)'), GeomFromEWKT('SRID=4674;POINT (-38.408159 -3.346248)'))) / (select extract(epoch from '2026-07-18 13:08:05'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.408212 -3.346308)', '2026-07-18 13:08:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408159 -3.346248)'), GeomFromEWKT('SRID=4674;POINT (-38.408212 -3.346308)'))) / (select extract(epoch from '2026-07-18 13:08:10'::timestamp) - extract(epoch from '2026-07-18 13:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408159 -3.346248)'), GeomFromEWKT('SRID=4674;POINT (-38.408212 -3.346308)'))) / (select extract(epoch from '2026-07-18 13:08:10'::timestamp) - extract(epoch from '2026-07-18 13:08:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.408265 -3.346354)', '2026-07-18 13:08:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408212 -3.346308)'), GeomFromEWKT('SRID=4674;POINT (-38.408265 -3.346354)'))) / (select extract(epoch from '2026-07-18 13:08:14'::timestamp) - extract(epoch from '2026-07-18 13:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408212 -3.346308)'), GeomFromEWKT('SRID=4674;POINT (-38.408265 -3.346354)'))) / (select extract(epoch from '2026-07-18 13:08:14'::timestamp) - extract(epoch from '2026-07-18 13:08: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'), 47391, 'SRID=4674;POINT (-38.408339 -3.346423)', '2026-07-18 13:08:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408265 -3.346354)'), GeomFromEWKT('SRID=4674;POINT (-38.408339 -3.346423)'))) / (select extract(epoch from '2026-07-18 13:08:20'::timestamp) - extract(epoch from '2026-07-18 13:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408265 -3.346354)'), GeomFromEWKT('SRID=4674;POINT (-38.408339 -3.346423)'))) / (select extract(epoch from '2026-07-18 13:08:20'::timestamp) - extract(epoch from '2026-07-18 13:08:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.408412 -3.346488)', '2026-07-18 13:08:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408339 -3.346423)'), GeomFromEWKT('SRID=4674;POINT (-38.408412 -3.346488)'))) / (select extract(epoch from '2026-07-18 13:08:25'::timestamp) - extract(epoch from '2026-07-18 13:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408339 -3.346423)'), GeomFromEWKT('SRID=4674;POINT (-38.408412 -3.346488)'))) / (select extract(epoch from '2026-07-18 13:08:25'::timestamp) - extract(epoch from '2026-07-18 13:08: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'), 47391, 'SRID=4674;POINT (-38.408435 -3.346506)', '2026-07-18 13:08:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408412 -3.346488)'), GeomFromEWKT('SRID=4674;POINT (-38.408435 -3.346506)'))) / (select extract(epoch from '2026-07-18 13:08:27'::timestamp) - extract(epoch from '2026-07-18 13:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408412 -3.346488)'), GeomFromEWKT('SRID=4674;POINT (-38.408435 -3.346506)'))) / (select extract(epoch from '2026-07-18 13:08:27'::timestamp) - extract(epoch from '2026-07-18 13:08:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.408484 -3.346539)', '2026-07-18 13:08:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408435 -3.346506)'), GeomFromEWKT('SRID=4674;POINT (-38.408484 -3.346539)'))) / (select extract(epoch from '2026-07-18 13:08:30'::timestamp) - extract(epoch from '2026-07-18 13:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408435 -3.346506)'), GeomFromEWKT('SRID=4674;POINT (-38.408484 -3.346539)'))) / (select extract(epoch from '2026-07-18 13:08:30'::timestamp) - extract(epoch from '2026-07-18 13:08:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.408575 -3.346635)', '2026-07-18 13:08:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408484 -3.346539)'), GeomFromEWKT('SRID=4674;POINT (-38.408575 -3.346635)'))) / (select extract(epoch from '2026-07-18 13:08:37'::timestamp) - extract(epoch from '2026-07-18 13:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408484 -3.346539)'), GeomFromEWKT('SRID=4674;POINT (-38.408575 -3.346635)'))) / (select extract(epoch from '2026-07-18 13:08:37'::timestamp) - extract(epoch from '2026-07-18 13:08: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'), 47391, 'SRID=4674;POINT (-38.408635 -3.346695)', '2026-07-18 13:08:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408575 -3.346635)'), GeomFromEWKT('SRID=4674;POINT (-38.408635 -3.346695)'))) / (select extract(epoch from '2026-07-18 13:08:41'::timestamp) - extract(epoch from '2026-07-18 13:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408575 -3.346635)'), GeomFromEWKT('SRID=4674;POINT (-38.408635 -3.346695)'))) / (select extract(epoch from '2026-07-18 13:08:41'::timestamp) - extract(epoch from '2026-07-18 13:08:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.40868 -3.346752)', '2026-07-18 13:08:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408635 -3.346695)'), GeomFromEWKT('SRID=4674;POINT (-38.40868 -3.346752)'))) / (select extract(epoch from '2026-07-18 13:08:45'::timestamp) - extract(epoch from '2026-07-18 13:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408635 -3.346695)'), GeomFromEWKT('SRID=4674;POINT (-38.40868 -3.346752)'))) / (select extract(epoch from '2026-07-18 13:08:45'::timestamp) - extract(epoch from '2026-07-18 13:08:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.408744 -3.346842)', '2026-07-18 13:08:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40868 -3.346752)'), GeomFromEWKT('SRID=4674;POINT (-38.408744 -3.346842)'))) / (select extract(epoch from '2026-07-18 13:08:51'::timestamp) - extract(epoch from '2026-07-18 13:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40868 -3.346752)'), GeomFromEWKT('SRID=4674;POINT (-38.408744 -3.346842)'))) / (select extract(epoch from '2026-07-18 13:08:51'::timestamp) - extract(epoch from '2026-07-18 13:08:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.408794 -3.346918)', '2026-07-18 13:08:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408744 -3.346842)'), GeomFromEWKT('SRID=4674;POINT (-38.408794 -3.346918)'))) / (select extract(epoch from '2026-07-18 13:08:56'::timestamp) - extract(epoch from '2026-07-18 13:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408744 -3.346842)'), GeomFromEWKT('SRID=4674;POINT (-38.408794 -3.346918)'))) / (select extract(epoch from '2026-07-18 13:08:56'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.408875 -3.34702)', '2026-07-18 13:09:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408794 -3.346918)'), GeomFromEWKT('SRID=4674;POINT (-38.408875 -3.34702)'))) / (select extract(epoch from '2026-07-18 13:09:03'::timestamp) - extract(epoch from '2026-07-18 13:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408794 -3.346918)'), GeomFromEWKT('SRID=4674;POINT (-38.408875 -3.34702)'))) / (select extract(epoch from '2026-07-18 13:09:03'::timestamp) - extract(epoch from '2026-07-18 13:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.408893 -3.347047)', '2026-07-18 13:09:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408875 -3.34702)'), GeomFromEWKT('SRID=4674;POINT (-38.408893 -3.347047)'))) / (select extract(epoch from '2026-07-18 13:09:05'::timestamp) - extract(epoch from '2026-07-18 13:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408875 -3.34702)'), GeomFromEWKT('SRID=4674;POINT (-38.408893 -3.347047)'))) / (select extract(epoch from '2026-07-18 13:09:05'::timestamp) - extract(epoch from '2026-07-18 13:09: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'), 47391, 'SRID=4674;POINT (-38.408927 -3.347078)', '2026-07-18 13:09:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408893 -3.347047)'), GeomFromEWKT('SRID=4674;POINT (-38.408927 -3.347078)'))) / (select extract(epoch from '2026-07-18 13:09:07'::timestamp) - extract(epoch from '2026-07-18 13:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408893 -3.347047)'), GeomFromEWKT('SRID=4674;POINT (-38.408927 -3.347078)'))) / (select extract(epoch from '2026-07-18 13:09:07'::timestamp) - extract(epoch from '2026-07-18 13:09:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.408977 -3.347145)', '2026-07-18 13:09:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408927 -3.347078)'), GeomFromEWKT('SRID=4674;POINT (-38.408977 -3.347145)'))) / (select extract(epoch from '2026-07-18 13:09:12'::timestamp) - extract(epoch from '2026-07-18 13:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408927 -3.347078)'), GeomFromEWKT('SRID=4674;POINT (-38.408977 -3.347145)'))) / (select extract(epoch from '2026-07-18 13:09:12'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.409024 -3.347186)', '2026-07-18 13:09:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408977 -3.347145)'), GeomFromEWKT('SRID=4674;POINT (-38.409024 -3.347186)'))) / (select extract(epoch from '2026-07-18 13:09:15'::timestamp) - extract(epoch from '2026-07-18 13:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.408977 -3.347145)'), GeomFromEWKT('SRID=4674;POINT (-38.409024 -3.347186)'))) / (select extract(epoch from '2026-07-18 13:09:15'::timestamp) - extract(epoch from '2026-07-18 13:09:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.409038 -3.347214)', '2026-07-18 13:09:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409024 -3.347186)'), GeomFromEWKT('SRID=4674;POINT (-38.409038 -3.347214)'))) / (select extract(epoch from '2026-07-18 13:09:17'::timestamp) - extract(epoch from '2026-07-18 13:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409024 -3.347186)'), GeomFromEWKT('SRID=4674;POINT (-38.409038 -3.347214)'))) / (select extract(epoch from '2026-07-18 13:09:17'::timestamp) - extract(epoch from '2026-07-18 13:09: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'), 47391, 'SRID=4674;POINT (-38.409051 -3.347226)', '2026-07-18 13:09:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409038 -3.347214)'), GeomFromEWKT('SRID=4674;POINT (-38.409051 -3.347226)'))) / (select extract(epoch from '2026-07-18 13:09:18'::timestamp) - extract(epoch from '2026-07-18 13:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409038 -3.347214)'), GeomFromEWKT('SRID=4674;POINT (-38.409051 -3.347226)'))) / (select extract(epoch from '2026-07-18 13:09:18'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.409093 -3.347267)', '2026-07-18 13:09:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409051 -3.347226)'), GeomFromEWKT('SRID=4674;POINT (-38.409093 -3.347267)'))) / (select extract(epoch from '2026-07-18 13:09:21'::timestamp) - extract(epoch from '2026-07-18 13:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409051 -3.347226)'), GeomFromEWKT('SRID=4674;POINT (-38.409093 -3.347267)'))) / (select extract(epoch from '2026-07-18 13:09:21'::timestamp) - extract(epoch from '2026-07-18 13:09: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'), 47391, 'SRID=4674;POINT (-38.409172 -3.347352)', '2026-07-18 13:09:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409093 -3.347267)'), GeomFromEWKT('SRID=4674;POINT (-38.409172 -3.347352)'))) / (select extract(epoch from '2026-07-18 13:09:27'::timestamp) - extract(epoch from '2026-07-18 13:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409093 -3.347267)'), GeomFromEWKT('SRID=4674;POINT (-38.409172 -3.347352)'))) / (select extract(epoch from '2026-07-18 13:09:27'::timestamp) - extract(epoch from '2026-07-18 13:09: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'), 47391, 'SRID=4674;POINT (-38.40922 -3.347398)', '2026-07-18 13:09:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409172 -3.347352)'), GeomFromEWKT('SRID=4674;POINT (-38.40922 -3.347398)'))) / (select extract(epoch from '2026-07-18 13:09:31'::timestamp) - extract(epoch from '2026-07-18 13:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409172 -3.347352)'), GeomFromEWKT('SRID=4674;POINT (-38.40922 -3.347398)'))) / (select extract(epoch from '2026-07-18 13:09:31'::timestamp) - extract(epoch from '2026-07-18 13:09: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'), 47391, 'SRID=4674;POINT (-38.409233 -3.347407)', '2026-07-18 13:09:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40922 -3.347398)'), GeomFromEWKT('SRID=4674;POINT (-38.409233 -3.347407)'))) / (select extract(epoch from '2026-07-18 13:09:32'::timestamp) - extract(epoch from '2026-07-18 13:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40922 -3.347398)'), GeomFromEWKT('SRID=4674;POINT (-38.409233 -3.347407)'))) / (select extract(epoch from '2026-07-18 13:09:32'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.409273 -3.347469)', '2026-07-18 13:09:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409233 -3.347407)'), GeomFromEWKT('SRID=4674;POINT (-38.409273 -3.347469)'))) / (select extract(epoch from '2026-07-18 13:09:37'::timestamp) - extract(epoch from '2026-07-18 13:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409233 -3.347407)'), GeomFromEWKT('SRID=4674;POINT (-38.409273 -3.347469)'))) / (select extract(epoch from '2026-07-18 13:09:37'::timestamp) - extract(epoch from '2026-07-18 13:09: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'), 47391, 'SRID=4674;POINT (-38.409326 -3.34753)', '2026-07-18 13:09:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409273 -3.347469)'), GeomFromEWKT('SRID=4674;POINT (-38.409326 -3.34753)'))) / (select extract(epoch from '2026-07-18 13:09:42'::timestamp) - extract(epoch from '2026-07-18 13:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409273 -3.347469)'), GeomFromEWKT('SRID=4674;POINT (-38.409326 -3.34753)'))) / (select extract(epoch from '2026-07-18 13:09:42'::timestamp) - extract(epoch from '2026-07-18 13:09: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'), 47391, 'SRID=4674;POINT (-38.409372 -3.347587)', '2026-07-18 13:09:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409326 -3.34753)'), GeomFromEWKT('SRID=4674;POINT (-38.409372 -3.347587)'))) / (select extract(epoch from '2026-07-18 13:09:47'::timestamp) - extract(epoch from '2026-07-18 13:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409326 -3.34753)'), GeomFromEWKT('SRID=4674;POINT (-38.409372 -3.347587)'))) / (select extract(epoch from '2026-07-18 13:09:47'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.409414 -3.347614)', '2026-07-18 13:09:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409372 -3.347587)'), GeomFromEWKT('SRID=4674;POINT (-38.409414 -3.347614)'))) / (select extract(epoch from '2026-07-18 13:09:50'::timestamp) - extract(epoch from '2026-07-18 13:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409372 -3.347587)'), GeomFromEWKT('SRID=4674;POINT (-38.409414 -3.347614)'))) / (select extract(epoch from '2026-07-18 13:09:50'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.409424 -3.347625)', '2026-07-18 13:09:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409414 -3.347614)'), GeomFromEWKT('SRID=4674;POINT (-38.409424 -3.347625)'))) / (select extract(epoch from '2026-07-18 13:09:51'::timestamp) - extract(epoch from '2026-07-18 13:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409414 -3.347614)'), GeomFromEWKT('SRID=4674;POINT (-38.409424 -3.347625)'))) / (select extract(epoch from '2026-07-18 13:09:51'::timestamp) - extract(epoch from '2026-07-18 13:09:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.409499 -3.347698)', '2026-07-18 13:09:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409424 -3.347625)'), GeomFromEWKT('SRID=4674;POINT (-38.409499 -3.347698)'))) / (select extract(epoch from '2026-07-18 13:09:57'::timestamp) - extract(epoch from '2026-07-18 13:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409424 -3.347625)'), GeomFromEWKT('SRID=4674;POINT (-38.409499 -3.347698)'))) / (select extract(epoch from '2026-07-18 13:09:57'::timestamp) - extract(epoch from '2026-07-18 13:09: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'), 47391, 'SRID=4674;POINT (-38.409563 -3.347775)', '2026-07-18 13:10:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409499 -3.347698)'), GeomFromEWKT('SRID=4674;POINT (-38.409563 -3.347775)'))) / (select extract(epoch from '2026-07-18 13:10:03'::timestamp) - extract(epoch from '2026-07-18 13:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409499 -3.347698)'), GeomFromEWKT('SRID=4674;POINT (-38.409563 -3.347775)'))) / (select extract(epoch from '2026-07-18 13:10:03'::timestamp) - extract(epoch from '2026-07-18 13:09:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.409572 -3.347791)', '2026-07-18 13:10:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409563 -3.347775)'), GeomFromEWKT('SRID=4674;POINT (-38.409572 -3.347791)'))) / (select extract(epoch from '2026-07-18 13:10:04'::timestamp) - extract(epoch from '2026-07-18 13:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409563 -3.347775)'), GeomFromEWKT('SRID=4674;POINT (-38.409572 -3.347791)'))) / (select extract(epoch from '2026-07-18 13:10:04'::timestamp) - extract(epoch from '2026-07-18 13:10: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'), 47391, 'SRID=4674;POINT (-38.409591 -3.347814)', '2026-07-18 13:10:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409572 -3.347791)'), GeomFromEWKT('SRID=4674;POINT (-38.409591 -3.347814)'))) / (select extract(epoch from '2026-07-18 13:10:06'::timestamp) - extract(epoch from '2026-07-18 13:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409572 -3.347791)'), GeomFromEWKT('SRID=4674;POINT (-38.409591 -3.347814)'))) / (select extract(epoch from '2026-07-18 13:10:06'::timestamp) - extract(epoch from '2026-07-18 13:10: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'), 47391, 'SRID=4674;POINT (-38.409605 -3.347824)', '2026-07-18 13:10:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409591 -3.347814)'), GeomFromEWKT('SRID=4674;POINT (-38.409605 -3.347824)'))) / (select extract(epoch from '2026-07-18 13:10:07'::timestamp) - extract(epoch from '2026-07-18 13:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409591 -3.347814)'), GeomFromEWKT('SRID=4674;POINT (-38.409605 -3.347824)'))) / (select extract(epoch from '2026-07-18 13:10:07'::timestamp) - extract(epoch from '2026-07-18 13:10:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.409639 -3.347852)', '2026-07-18 13:10:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409605 -3.347824)'), GeomFromEWKT('SRID=4674;POINT (-38.409639 -3.347852)'))) / (select extract(epoch from '2026-07-18 13:10:10'::timestamp) - extract(epoch from '2026-07-18 13:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409605 -3.347824)'), GeomFromEWKT('SRID=4674;POINT (-38.409639 -3.347852)'))) / (select extract(epoch from '2026-07-18 13:10:10'::timestamp) - extract(epoch from '2026-07-18 13:10: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'), 47391, 'SRID=4674;POINT (-38.409661 -3.347881)', '2026-07-18 13:10:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409639 -3.347852)'), GeomFromEWKT('SRID=4674;POINT (-38.409661 -3.347881)'))) / (select extract(epoch from '2026-07-18 13:10:12'::timestamp) - extract(epoch from '2026-07-18 13:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409639 -3.347852)'), GeomFromEWKT('SRID=4674;POINT (-38.409661 -3.347881)'))) / (select extract(epoch from '2026-07-18 13:10:12'::timestamp) - extract(epoch from '2026-07-18 13:10: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'), 47391, 'SRID=4674;POINT (-38.409723 -3.347947)', '2026-07-18 13:10:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409661 -3.347881)'), GeomFromEWKT('SRID=4674;POINT (-38.409723 -3.347947)'))) / (select extract(epoch from '2026-07-18 13:10:17'::timestamp) - extract(epoch from '2026-07-18 13:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409661 -3.347881)'), GeomFromEWKT('SRID=4674;POINT (-38.409723 -3.347947)'))) / (select extract(epoch from '2026-07-18 13:10:17'::timestamp) - extract(epoch from '2026-07-18 13:10:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.409789 -3.348033)', '2026-07-18 13:10:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409723 -3.347947)'), GeomFromEWKT('SRID=4674;POINT (-38.409789 -3.348033)'))) / (select extract(epoch from '2026-07-18 13:10:23'::timestamp) - extract(epoch from '2026-07-18 13:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409723 -3.347947)'), GeomFromEWKT('SRID=4674;POINT (-38.409789 -3.348033)'))) / (select extract(epoch from '2026-07-18 13:10:23'::timestamp) - extract(epoch from '2026-07-18 13:10:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.409842 -3.348101)', '2026-07-18 13:10:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409789 -3.348033)'), GeomFromEWKT('SRID=4674;POINT (-38.409842 -3.348101)'))) / (select extract(epoch from '2026-07-18 13:10:28'::timestamp) - extract(epoch from '2026-07-18 13:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409789 -3.348033)'), GeomFromEWKT('SRID=4674;POINT (-38.409842 -3.348101)'))) / (select extract(epoch from '2026-07-18 13:10:28'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.40985 -3.348108)', '2026-07-18 13:10:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409842 -3.348101)'), GeomFromEWKT('SRID=4674;POINT (-38.40985 -3.348108)'))) / (select extract(epoch from '2026-07-18 13:10:29'::timestamp) - extract(epoch from '2026-07-18 13:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409842 -3.348101)'), GeomFromEWKT('SRID=4674;POINT (-38.40985 -3.348108)'))) / (select extract(epoch from '2026-07-18 13:10:29'::timestamp) - extract(epoch from '2026-07-18 13:10:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.409912 -3.348186)', '2026-07-18 13:10:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40985 -3.348108)'), GeomFromEWKT('SRID=4674;POINT (-38.409912 -3.348186)'))) / (select extract(epoch from '2026-07-18 13:10:34'::timestamp) - extract(epoch from '2026-07-18 13:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40985 -3.348108)'), GeomFromEWKT('SRID=4674;POINT (-38.409912 -3.348186)'))) / (select extract(epoch from '2026-07-18 13:10:34'::timestamp) - extract(epoch from '2026-07-18 13:10: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'), 47391, 'SRID=4674;POINT (-38.409964 -3.34825)', '2026-07-18 13:10:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409912 -3.348186)'), GeomFromEWKT('SRID=4674;POINT (-38.409964 -3.34825)'))) / (select extract(epoch from '2026-07-18 13:10:39'::timestamp) - extract(epoch from '2026-07-18 13:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409912 -3.348186)'), GeomFromEWKT('SRID=4674;POINT (-38.409964 -3.34825)'))) / (select extract(epoch from '2026-07-18 13:10:39'::timestamp) - extract(epoch from '2026-07-18 13:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.40998 -3.348275)', '2026-07-18 13:10:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409964 -3.34825)'), GeomFromEWKT('SRID=4674;POINT (-38.40998 -3.348275)'))) / (select extract(epoch from '2026-07-18 13:10:41'::timestamp) - extract(epoch from '2026-07-18 13:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.409964 -3.34825)'), GeomFromEWKT('SRID=4674;POINT (-38.40998 -3.348275)'))) / (select extract(epoch from '2026-07-18 13:10:41'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.410006 -3.348309)', '2026-07-18 13:10:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40998 -3.348275)'), GeomFromEWKT('SRID=4674;POINT (-38.410006 -3.348309)'))) / (select extract(epoch from '2026-07-18 13:10:44'::timestamp) - extract(epoch from '2026-07-18 13:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.40998 -3.348275)'), GeomFromEWKT('SRID=4674;POINT (-38.410006 -3.348309)'))) / (select extract(epoch from '2026-07-18 13:10:44'::timestamp) - extract(epoch from '2026-07-18 13:10:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.410062 -3.348379)', '2026-07-18 13:10:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410006 -3.348309)'), GeomFromEWKT('SRID=4674;POINT (-38.410062 -3.348379)'))) / (select extract(epoch from '2026-07-18 13:10:50'::timestamp) - extract(epoch from '2026-07-18 13:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410006 -3.348309)'), GeomFromEWKT('SRID=4674;POINT (-38.410062 -3.348379)'))) / (select extract(epoch from '2026-07-18 13:10:50'::timestamp) - extract(epoch from '2026-07-18 13:10: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'), 47391, 'SRID=4674;POINT (-38.410078 -3.34839)', '2026-07-18 13:10:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410062 -3.348379)'), GeomFromEWKT('SRID=4674;POINT (-38.410078 -3.34839)'))) / (select extract(epoch from '2026-07-18 13:10:51'::timestamp) - extract(epoch from '2026-07-18 13:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410062 -3.348379)'), GeomFromEWKT('SRID=4674;POINT (-38.410078 -3.34839)'))) / (select extract(epoch from '2026-07-18 13:10:51'::timestamp) - extract(epoch from '2026-07-18 13:10: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'), 47391, 'SRID=4674;POINT (-38.410133 -3.348444)', '2026-07-18 13:10:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410078 -3.34839)'), GeomFromEWKT('SRID=4674;POINT (-38.410133 -3.348444)'))) / (select extract(epoch from '2026-07-18 13:10:56'::timestamp) - extract(epoch from '2026-07-18 13:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410078 -3.34839)'), GeomFromEWKT('SRID=4674;POINT (-38.410133 -3.348444)'))) / (select extract(epoch from '2026-07-18 13:10:56'::timestamp) - extract(epoch from '2026-07-18 13:10:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.410196 -3.348493)', '2026-07-18 13:11:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410133 -3.348444)'), GeomFromEWKT('SRID=4674;POINT (-38.410196 -3.348493)'))) / (select extract(epoch from '2026-07-18 13:11:00'::timestamp) - extract(epoch from '2026-07-18 13:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410133 -3.348444)'), GeomFromEWKT('SRID=4674;POINT (-38.410196 -3.348493)'))) / (select extract(epoch from '2026-07-18 13:11:00'::timestamp) - extract(epoch from '2026-07-18 13:10: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'), 47391, 'SRID=4674;POINT (-38.410275 -3.348561)', '2026-07-18 13:11:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410196 -3.348493)'), GeomFromEWKT('SRID=4674;POINT (-38.410275 -3.348561)'))) / (select extract(epoch from '2026-07-18 13:11:06'::timestamp) - extract(epoch from '2026-07-18 13:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410196 -3.348493)'), GeomFromEWKT('SRID=4674;POINT (-38.410275 -3.348561)'))) / (select extract(epoch from '2026-07-18 13:11:06'::timestamp) - extract(epoch from '2026-07-18 13:11:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.41036 -3.348651)', '2026-07-18 13:11:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410275 -3.348561)'), GeomFromEWKT('SRID=4674;POINT (-38.41036 -3.348651)'))) / (select extract(epoch from '2026-07-18 13:11:13'::timestamp) - extract(epoch from '2026-07-18 13:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410275 -3.348561)'), GeomFromEWKT('SRID=4674;POINT (-38.41036 -3.348651)'))) / (select extract(epoch from '2026-07-18 13:11:13'::timestamp) - extract(epoch from '2026-07-18 13:11: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'), 47391, 'SRID=4674;POINT (-38.410405 -3.348717)', '2026-07-18 13:11:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41036 -3.348651)'), GeomFromEWKT('SRID=4674;POINT (-38.410405 -3.348717)'))) / (select extract(epoch from '2026-07-18 13:11:18'::timestamp) - extract(epoch from '2026-07-18 13:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41036 -3.348651)'), GeomFromEWKT('SRID=4674;POINT (-38.410405 -3.348717)'))) / (select extract(epoch from '2026-07-18 13:11:18'::timestamp) - extract(epoch from '2026-07-18 13:11:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.410424 -3.348725)', '2026-07-18 13:11:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410405 -3.348717)'), GeomFromEWKT('SRID=4674;POINT (-38.410424 -3.348725)'))) / (select extract(epoch from '2026-07-18 13:11:19'::timestamp) - extract(epoch from '2026-07-18 13:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410405 -3.348717)'), GeomFromEWKT('SRID=4674;POINT (-38.410424 -3.348725)'))) / (select extract(epoch from '2026-07-18 13:11:19'::timestamp) - extract(epoch from '2026-07-18 13:11:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.410484 -3.348786)', '2026-07-18 13:11:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410424 -3.348725)'), GeomFromEWKT('SRID=4674;POINT (-38.410484 -3.348786)'))) / (select extract(epoch from '2026-07-18 13:11:24'::timestamp) - extract(epoch from '2026-07-18 13:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410424 -3.348725)'), GeomFromEWKT('SRID=4674;POINT (-38.410484 -3.348786)'))) / (select extract(epoch from '2026-07-18 13:11:24'::timestamp) - extract(epoch from '2026-07-18 13:11: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'), 47391, 'SRID=4674;POINT (-38.410515 -3.348806)', '2026-07-18 13:11:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410484 -3.348786)'), GeomFromEWKT('SRID=4674;POINT (-38.410515 -3.348806)'))) / (select extract(epoch from '2026-07-18 13:11:26'::timestamp) - extract(epoch from '2026-07-18 13:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410484 -3.348786)'), GeomFromEWKT('SRID=4674;POINT (-38.410515 -3.348806)'))) / (select extract(epoch from '2026-07-18 13:11:26'::timestamp) - extract(epoch from '2026-07-18 13:11: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'), 47391, 'SRID=4674;POINT (-38.41054 -3.348839)', '2026-07-18 13:11:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410515 -3.348806)'), GeomFromEWKT('SRID=4674;POINT (-38.41054 -3.348839)'))) / (select extract(epoch from '2026-07-18 13:11:29'::timestamp) - extract(epoch from '2026-07-18 13:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410515 -3.348806)'), GeomFromEWKT('SRID=4674;POINT (-38.41054 -3.348839)'))) / (select extract(epoch from '2026-07-18 13:11:29'::timestamp) - extract(epoch from '2026-07-18 13:11:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.410599 -3.348885)', '2026-07-18 13:11:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41054 -3.348839)'), GeomFromEWKT('SRID=4674;POINT (-38.410599 -3.348885)'))) / (select extract(epoch from '2026-07-18 13:11:34'::timestamp) - extract(epoch from '2026-07-18 13:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41054 -3.348839)'), GeomFromEWKT('SRID=4674;POINT (-38.410599 -3.348885)'))) / (select extract(epoch from '2026-07-18 13:11:34'::timestamp) - extract(epoch from '2026-07-18 13:11:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.410602 -3.348892)', '2026-07-18 13:11:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410599 -3.348885)'), GeomFromEWKT('SRID=4674;POINT (-38.410602 -3.348892)'))) / (select extract(epoch from '2026-07-18 13:11:35'::timestamp) - extract(epoch from '2026-07-18 13:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410599 -3.348885)'), GeomFromEWKT('SRID=4674;POINT (-38.410602 -3.348892)'))) / (select extract(epoch from '2026-07-18 13:11:35'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.410639 -3.348923)', '2026-07-18 13:11:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410602 -3.348892)'), GeomFromEWKT('SRID=4674;POINT (-38.410639 -3.348923)'))) / (select extract(epoch from '2026-07-18 13:11:38'::timestamp) - extract(epoch from '2026-07-18 13:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410602 -3.348892)'), GeomFromEWKT('SRID=4674;POINT (-38.410639 -3.348923)'))) / (select extract(epoch from '2026-07-18 13:11:38'::timestamp) - extract(epoch from '2026-07-18 13:11: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'), 47391, 'SRID=4674;POINT (-38.410696 -3.348957)', '2026-07-18 13:11:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410639 -3.348923)'), GeomFromEWKT('SRID=4674;POINT (-38.410696 -3.348957)'))) / (select extract(epoch from '2026-07-18 13:11:43'::timestamp) - extract(epoch from '2026-07-18 13:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410639 -3.348923)'), GeomFromEWKT('SRID=4674;POINT (-38.410696 -3.348957)'))) / (select extract(epoch from '2026-07-18 13:11:43'::timestamp) - extract(epoch from '2026-07-18 13:11:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.410776 -3.349011)', '2026-07-18 13:11:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410696 -3.348957)'), GeomFromEWKT('SRID=4674;POINT (-38.410776 -3.349011)'))) / (select extract(epoch from '2026-07-18 13:11:49'::timestamp) - extract(epoch from '2026-07-18 13:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410696 -3.348957)'), GeomFromEWKT('SRID=4674;POINT (-38.410776 -3.349011)'))) / (select extract(epoch from '2026-07-18 13:11:49'::timestamp) - extract(epoch from '2026-07-18 13:11: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'), 47391, 'SRID=4674;POINT (-38.410852 -3.34907)', '2026-07-18 13:11:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410776 -3.349011)'), GeomFromEWKT('SRID=4674;POINT (-38.410852 -3.34907)'))) / (select extract(epoch from '2026-07-18 13:11:54'::timestamp) - extract(epoch from '2026-07-18 13:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410776 -3.349011)'), GeomFromEWKT('SRID=4674;POINT (-38.410852 -3.34907)'))) / (select extract(epoch from '2026-07-18 13:11:54'::timestamp) - extract(epoch from '2026-07-18 13:11:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.410864 -3.349083)', '2026-07-18 13:11:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410852 -3.34907)'), GeomFromEWKT('SRID=4674;POINT (-38.410864 -3.349083)'))) / (select extract(epoch from '2026-07-18 13:11:55'::timestamp) - extract(epoch from '2026-07-18 13:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410852 -3.34907)'), GeomFromEWKT('SRID=4674;POINT (-38.410864 -3.349083)'))) / (select extract(epoch from '2026-07-18 13:11:55'::timestamp) - extract(epoch from '2026-07-18 13:11: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'), 47391, 'SRID=4674;POINT (-38.410891 -3.349101)', '2026-07-18 13:11:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410864 -3.349083)'), GeomFromEWKT('SRID=4674;POINT (-38.410891 -3.349101)'))) / (select extract(epoch from '2026-07-18 13:11:57'::timestamp) - extract(epoch from '2026-07-18 13:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410864 -3.349083)'), GeomFromEWKT('SRID=4674;POINT (-38.410891 -3.349101)'))) / (select extract(epoch from '2026-07-18 13:11:57'::timestamp) - extract(epoch from '2026-07-18 13:11:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.410939 -3.349132)', '2026-07-18 13:12:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410891 -3.349101)'), GeomFromEWKT('SRID=4674;POINT (-38.410939 -3.349132)'))) / (select extract(epoch from '2026-07-18 13:12:00'::timestamp) - extract(epoch from '2026-07-18 13:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410891 -3.349101)'), GeomFromEWKT('SRID=4674;POINT (-38.410939 -3.349132)'))) / (select extract(epoch from '2026-07-18 13:12:00'::timestamp) - extract(epoch from '2026-07-18 13:11: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'), 47391, 'SRID=4674;POINT (-38.411009 -3.349193)', '2026-07-18 13:12:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410939 -3.349132)'), GeomFromEWKT('SRID=4674;POINT (-38.411009 -3.349193)'))) / (select extract(epoch from '2026-07-18 13:12:05'::timestamp) - extract(epoch from '2026-07-18 13:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.410939 -3.349132)'), GeomFromEWKT('SRID=4674;POINT (-38.411009 -3.349193)'))) / (select extract(epoch from '2026-07-18 13:12:05'::timestamp) - extract(epoch from '2026-07-18 13:12: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'), 47391, 'SRID=4674;POINT (-38.411113 -3.349281)', '2026-07-18 13:12:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411009 -3.349193)'), GeomFromEWKT('SRID=4674;POINT (-38.411113 -3.349281)'))) / (select extract(epoch from '2026-07-18 13:12:12'::timestamp) - extract(epoch from '2026-07-18 13:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411009 -3.349193)'), GeomFromEWKT('SRID=4674;POINT (-38.411113 -3.349281)'))) / (select extract(epoch from '2026-07-18 13:12:12'::timestamp) - extract(epoch from '2026-07-18 13:12:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.411203 -3.349357)', '2026-07-18 13:12:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411113 -3.349281)'), GeomFromEWKT('SRID=4674;POINT (-38.411203 -3.349357)'))) / (select extract(epoch from '2026-07-18 13:12:18'::timestamp) - extract(epoch from '2026-07-18 13:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411113 -3.349281)'), GeomFromEWKT('SRID=4674;POINT (-38.411203 -3.349357)'))) / (select extract(epoch from '2026-07-18 13:12:18'::timestamp) - extract(epoch from '2026-07-18 13:12:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.411288 -3.349432)', '2026-07-18 13:12:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411203 -3.349357)'), GeomFromEWKT('SRID=4674;POINT (-38.411288 -3.349432)'))) / (select extract(epoch from '2026-07-18 13:12:24'::timestamp) - extract(epoch from '2026-07-18 13:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411203 -3.349357)'), GeomFromEWKT('SRID=4674;POINT (-38.411288 -3.349432)'))) / (select extract(epoch from '2026-07-18 13:12:24'::timestamp) - extract(epoch from '2026-07-18 13:12: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'), 47391, 'SRID=4674;POINT (-38.411314 -3.349449)', '2026-07-18 13:12:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411288 -3.349432)'), GeomFromEWKT('SRID=4674;POINT (-38.411314 -3.349449)'))) / (select extract(epoch from '2026-07-18 13:12:26'::timestamp) - extract(epoch from '2026-07-18 13:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411288 -3.349432)'), GeomFromEWKT('SRID=4674;POINT (-38.411314 -3.349449)'))) / (select extract(epoch from '2026-07-18 13:12:26'::timestamp) - extract(epoch from '2026-07-18 13:12:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.411337 -3.34946)', '2026-07-18 13:12:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411314 -3.349449)'), GeomFromEWKT('SRID=4674;POINT (-38.411337 -3.34946)'))) / (select extract(epoch from '2026-07-18 13:12:28'::timestamp) - extract(epoch from '2026-07-18 13:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411314 -3.349449)'), GeomFromEWKT('SRID=4674;POINT (-38.411337 -3.34946)'))) / (select extract(epoch from '2026-07-18 13:12:28'::timestamp) - extract(epoch from '2026-07-18 13:12:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.411352 -3.349475)', '2026-07-18 13:12:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411337 -3.34946)'), GeomFromEWKT('SRID=4674;POINT (-38.411352 -3.349475)'))) / (select extract(epoch from '2026-07-18 13:12:29'::timestamp) - extract(epoch from '2026-07-18 13:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411337 -3.34946)'), GeomFromEWKT('SRID=4674;POINT (-38.411352 -3.349475)'))) / (select extract(epoch from '2026-07-18 13:12:29'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.411388 -3.349516)', '2026-07-18 13:12:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411352 -3.349475)'), GeomFromEWKT('SRID=4674;POINT (-38.411388 -3.349516)'))) / (select extract(epoch from '2026-07-18 13:12:32'::timestamp) - extract(epoch from '2026-07-18 13:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411352 -3.349475)'), GeomFromEWKT('SRID=4674;POINT (-38.411388 -3.349516)'))) / (select extract(epoch from '2026-07-18 13:12:32'::timestamp) - extract(epoch from '2026-07-18 13:12:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.411447 -3.349581)', '2026-07-18 13:12:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411388 -3.349516)'), GeomFromEWKT('SRID=4674;POINT (-38.411447 -3.349581)'))) / (select extract(epoch from '2026-07-18 13:12:37'::timestamp) - extract(epoch from '2026-07-18 13:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411388 -3.349516)'), GeomFromEWKT('SRID=4674;POINT (-38.411447 -3.349581)'))) / (select extract(epoch from '2026-07-18 13:12:37'::timestamp) - extract(epoch from '2026-07-18 13:12: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'), 47391, 'SRID=4674;POINT (-38.411534 -3.349663)', '2026-07-18 13:12:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411447 -3.349581)'), GeomFromEWKT('SRID=4674;POINT (-38.411534 -3.349663)'))) / (select extract(epoch from '2026-07-18 13:12:44'::timestamp) - extract(epoch from '2026-07-18 13:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411447 -3.349581)'), GeomFromEWKT('SRID=4674;POINT (-38.411534 -3.349663)'))) / (select extract(epoch from '2026-07-18 13:12:44'::timestamp) - extract(epoch from '2026-07-18 13:12:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.411599 -3.349727)', '2026-07-18 13:12:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411534 -3.349663)'), GeomFromEWKT('SRID=4674;POINT (-38.411599 -3.349727)'))) / (select extract(epoch from '2026-07-18 13:12:49'::timestamp) - extract(epoch from '2026-07-18 13:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411534 -3.349663)'), GeomFromEWKT('SRID=4674;POINT (-38.411599 -3.349727)'))) / (select extract(epoch from '2026-07-18 13:12:49'::timestamp) - extract(epoch from '2026-07-18 13:12: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'), 47391, 'SRID=4674;POINT (-38.411675 -3.349793)', '2026-07-18 13:12:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411599 -3.349727)'), GeomFromEWKT('SRID=4674;POINT (-38.411675 -3.349793)'))) / (select extract(epoch from '2026-07-18 13:12:54'::timestamp) - extract(epoch from '2026-07-18 13:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411599 -3.349727)'), GeomFromEWKT('SRID=4674;POINT (-38.411675 -3.349793)'))) / (select extract(epoch from '2026-07-18 13:12:54'::timestamp) - extract(epoch from '2026-07-18 13:12:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.411746 -3.349877)', '2026-07-18 13:13:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411675 -3.349793)'), GeomFromEWKT('SRID=4674;POINT (-38.411746 -3.349877)'))) / (select extract(epoch from '2026-07-18 13:13:00'::timestamp) - extract(epoch from '2026-07-18 13:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411675 -3.349793)'), GeomFromEWKT('SRID=4674;POINT (-38.411746 -3.349877)'))) / (select extract(epoch from '2026-07-18 13:13:00'::timestamp) - extract(epoch from '2026-07-18 13:12: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'), 47391, 'SRID=4674;POINT (-38.411797 -3.34994)', '2026-07-18 13:13:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411746 -3.349877)'), GeomFromEWKT('SRID=4674;POINT (-38.411797 -3.34994)'))) / (select extract(epoch from '2026-07-18 13:13:05'::timestamp) - extract(epoch from '2026-07-18 13:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411746 -3.349877)'), GeomFromEWKT('SRID=4674;POINT (-38.411797 -3.34994)'))) / (select extract(epoch from '2026-07-18 13:13:05'::timestamp) - extract(epoch from '2026-07-18 13:13:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.411843 -3.350011)', '2026-07-18 13:13:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411797 -3.34994)'), GeomFromEWKT('SRID=4674;POINT (-38.411843 -3.350011)'))) / (select extract(epoch from '2026-07-18 13:13:10'::timestamp) - extract(epoch from '2026-07-18 13:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411797 -3.34994)'), GeomFromEWKT('SRID=4674;POINT (-38.411843 -3.350011)'))) / (select extract(epoch from '2026-07-18 13:13:10'::timestamp) - extract(epoch from '2026-07-18 13:13:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.411879 -3.350047)', '2026-07-18 13:13:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411843 -3.350011)'), GeomFromEWKT('SRID=4674;POINT (-38.411879 -3.350047)'))) / (select extract(epoch from '2026-07-18 13:13:14'::timestamp) - extract(epoch from '2026-07-18 13:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411843 -3.350011)'), GeomFromEWKT('SRID=4674;POINT (-38.411879 -3.350047)'))) / (select extract(epoch from '2026-07-18 13:13:14'::timestamp) - extract(epoch from '2026-07-18 13:13: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'), 47391, 'SRID=4674;POINT (-38.411894 -3.35006)', '2026-07-18 13:13:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411879 -3.350047)'), GeomFromEWKT('SRID=4674;POINT (-38.411894 -3.35006)'))) / (select extract(epoch from '2026-07-18 13:13:16'::timestamp) - extract(epoch from '2026-07-18 13:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411879 -3.350047)'), GeomFromEWKT('SRID=4674;POINT (-38.411894 -3.35006)'))) / (select extract(epoch from '2026-07-18 13:13:16'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.411965 -3.350107)', '2026-07-18 13:13:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411894 -3.35006)'), GeomFromEWKT('SRID=4674;POINT (-38.411965 -3.350107)'))) / (select extract(epoch from '2026-07-18 13:13:21'::timestamp) - extract(epoch from '2026-07-18 13:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411894 -3.35006)'), GeomFromEWKT('SRID=4674;POINT (-38.411965 -3.350107)'))) / (select extract(epoch from '2026-07-18 13:13:21'::timestamp) - extract(epoch from '2026-07-18 13:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.412042 -3.350172)', '2026-07-18 13:13:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411965 -3.350107)'), GeomFromEWKT('SRID=4674;POINT (-38.412042 -3.350172)'))) / (select extract(epoch from '2026-07-18 13:13:27'::timestamp) - extract(epoch from '2026-07-18 13:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.411965 -3.350107)'), GeomFromEWKT('SRID=4674;POINT (-38.412042 -3.350172)'))) / (select extract(epoch from '2026-07-18 13:13:27'::timestamp) - extract(epoch from '2026-07-18 13:13:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.412105 -3.350232)', '2026-07-18 13:13:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412042 -3.350172)'), GeomFromEWKT('SRID=4674;POINT (-38.412105 -3.350232)'))) / (select extract(epoch from '2026-07-18 13:13:32'::timestamp) - extract(epoch from '2026-07-18 13:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412042 -3.350172)'), GeomFromEWKT('SRID=4674;POINT (-38.412105 -3.350232)'))) / (select extract(epoch from '2026-07-18 13:13:32'::timestamp) - extract(epoch from '2026-07-18 13:13: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'), 47391, 'SRID=4674;POINT (-38.412182 -3.350309)', '2026-07-18 13:13:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412105 -3.350232)'), GeomFromEWKT('SRID=4674;POINT (-38.412182 -3.350309)'))) / (select extract(epoch from '2026-07-18 13:13:38'::timestamp) - extract(epoch from '2026-07-18 13:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412105 -3.350232)'), GeomFromEWKT('SRID=4674;POINT (-38.412182 -3.350309)'))) / (select extract(epoch from '2026-07-18 13:13:38'::timestamp) - extract(epoch from '2026-07-18 13:13: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'), 47391, 'SRID=4674;POINT (-38.412209 -3.350331)', '2026-07-18 13:13:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412182 -3.350309)'), GeomFromEWKT('SRID=4674;POINT (-38.412209 -3.350331)'))) / (select extract(epoch from '2026-07-18 13:13:40'::timestamp) - extract(epoch from '2026-07-18 13:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412182 -3.350309)'), GeomFromEWKT('SRID=4674;POINT (-38.412209 -3.350331)'))) / (select extract(epoch from '2026-07-18 13:13:40'::timestamp) - extract(epoch from '2026-07-18 13:13:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.412258 -3.35038)', '2026-07-18 13:13:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412209 -3.350331)'), GeomFromEWKT('SRID=4674;POINT (-38.412258 -3.35038)'))) / (select extract(epoch from '2026-07-18 13:13:44'::timestamp) - extract(epoch from '2026-07-18 13:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412209 -3.350331)'), GeomFromEWKT('SRID=4674;POINT (-38.412258 -3.35038)'))) / (select extract(epoch from '2026-07-18 13:13:44'::timestamp) - extract(epoch from '2026-07-18 13:13: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'), 47391, 'SRID=4674;POINT (-38.412324 -3.350441)', '2026-07-18 13:13:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412258 -3.35038)'), GeomFromEWKT('SRID=4674;POINT (-38.412324 -3.350441)'))) / (select extract(epoch from '2026-07-18 13:13:49'::timestamp) - extract(epoch from '2026-07-18 13:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412258 -3.35038)'), GeomFromEWKT('SRID=4674;POINT (-38.412324 -3.350441)'))) / (select extract(epoch from '2026-07-18 13:13:49'::timestamp) - extract(epoch from '2026-07-18 13:13:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.412342 -3.350453)', '2026-07-18 13:13:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412324 -3.350441)'), GeomFromEWKT('SRID=4674;POINT (-38.412342 -3.350453)'))) / (select extract(epoch from '2026-07-18 13:13:51'::timestamp) - extract(epoch from '2026-07-18 13:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412324 -3.350441)'), GeomFromEWKT('SRID=4674;POINT (-38.412342 -3.350453)'))) / (select extract(epoch from '2026-07-18 13:13:51'::timestamp) - extract(epoch from '2026-07-18 13:13:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.412365 -3.35047)', '2026-07-18 13:13:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412342 -3.350453)'), GeomFromEWKT('SRID=4674;POINT (-38.412365 -3.35047)'))) / (select extract(epoch from '2026-07-18 13:13:53'::timestamp) - extract(epoch from '2026-07-18 13:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412342 -3.350453)'), GeomFromEWKT('SRID=4674;POINT (-38.412365 -3.35047)'))) / (select extract(epoch from '2026-07-18 13:13:53'::timestamp) - extract(epoch from '2026-07-18 13:13: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'), 47391, 'SRID=4674;POINT (-38.41242 -3.350501)', '2026-07-18 13:13:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412365 -3.35047)'), GeomFromEWKT('SRID=4674;POINT (-38.41242 -3.350501)'))) / (select extract(epoch from '2026-07-18 13:13:58'::timestamp) - extract(epoch from '2026-07-18 13:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412365 -3.35047)'), GeomFromEWKT('SRID=4674;POINT (-38.41242 -3.350501)'))) / (select extract(epoch from '2026-07-18 13:13:58'::timestamp) - extract(epoch from '2026-07-18 13:13: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'), 47391, 'SRID=4674;POINT (-38.412432 -3.350507)', '2026-07-18 13:13:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41242 -3.350501)'), GeomFromEWKT('SRID=4674;POINT (-38.412432 -3.350507)'))) / (select extract(epoch from '2026-07-18 13:13:59'::timestamp) - extract(epoch from '2026-07-18 13:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41242 -3.350501)'), GeomFromEWKT('SRID=4674;POINT (-38.412432 -3.350507)'))) / (select extract(epoch from '2026-07-18 13:13:59'::timestamp) - extract(epoch from '2026-07-18 13:13: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'), 47391, 'SRID=4674;POINT (-38.412493 -3.350544)', '2026-07-18 13:14:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412432 -3.350507)'), GeomFromEWKT('SRID=4674;POINT (-38.412493 -3.350544)'))) / (select extract(epoch from '2026-07-18 13:14:03'::timestamp) - extract(epoch from '2026-07-18 13:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412432 -3.350507)'), GeomFromEWKT('SRID=4674;POINT (-38.412493 -3.350544)'))) / (select extract(epoch from '2026-07-18 13:14:03'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.412504 -3.350557)', '2026-07-18 13:14:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412493 -3.350544)'), GeomFromEWKT('SRID=4674;POINT (-38.412504 -3.350557)'))) / (select extract(epoch from '2026-07-18 13:14:04'::timestamp) - extract(epoch from '2026-07-18 13:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412493 -3.350544)'), GeomFromEWKT('SRID=4674;POINT (-38.412504 -3.350557)'))) / (select extract(epoch from '2026-07-18 13:14:04'::timestamp) - extract(epoch from '2026-07-18 13:14:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.41252 -3.350567)', '2026-07-18 13:14:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412504 -3.350557)'), GeomFromEWKT('SRID=4674;POINT (-38.41252 -3.350567)'))) / (select extract(epoch from '2026-07-18 13:14:05'::timestamp) - extract(epoch from '2026-07-18 13:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412504 -3.350557)'), GeomFromEWKT('SRID=4674;POINT (-38.41252 -3.350567)'))) / (select extract(epoch from '2026-07-18 13:14:05'::timestamp) - extract(epoch from '2026-07-18 13:14: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'), 47391, 'SRID=4674;POINT (-38.412576 -3.350596)', '2026-07-18 13:14:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41252 -3.350567)'), GeomFromEWKT('SRID=4674;POINT (-38.412576 -3.350596)'))) / (select extract(epoch from '2026-07-18 13:14:08'::timestamp) - extract(epoch from '2026-07-18 13:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41252 -3.350567)'), GeomFromEWKT('SRID=4674;POINT (-38.412576 -3.350596)'))) / (select extract(epoch from '2026-07-18 13:14:08'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.412658 -3.350679)', '2026-07-18 13:14:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412576 -3.350596)'), GeomFromEWKT('SRID=4674;POINT (-38.412658 -3.350679)'))) / (select extract(epoch from '2026-07-18 13:14:14'::timestamp) - extract(epoch from '2026-07-18 13:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412576 -3.350596)'), GeomFromEWKT('SRID=4674;POINT (-38.412658 -3.350679)'))) / (select extract(epoch from '2026-07-18 13:14:14'::timestamp) - extract(epoch from '2026-07-18 13:14: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'), 47391, 'SRID=4674;POINT (-38.41273 -3.350765)', '2026-07-18 13:14:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412658 -3.350679)'), GeomFromEWKT('SRID=4674;POINT (-38.41273 -3.350765)'))) / (select extract(epoch from '2026-07-18 13:14:19'::timestamp) - extract(epoch from '2026-07-18 13:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412658 -3.350679)'), GeomFromEWKT('SRID=4674;POINT (-38.41273 -3.350765)'))) / (select extract(epoch from '2026-07-18 13:14:19'::timestamp) - extract(epoch from '2026-07-18 13:14:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.412822 -3.350869)', '2026-07-18 13:14:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41273 -3.350765)'), GeomFromEWKT('SRID=4674;POINT (-38.412822 -3.350869)'))) / (select extract(epoch from '2026-07-18 13:14:26'::timestamp) - extract(epoch from '2026-07-18 13:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41273 -3.350765)'), GeomFromEWKT('SRID=4674;POINT (-38.412822 -3.350869)'))) / (select extract(epoch from '2026-07-18 13:14:26'::timestamp) - extract(epoch from '2026-07-18 13:14: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'), 47391, 'SRID=4674;POINT (-38.412901 -3.35097)', '2026-07-18 13:14:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412822 -3.350869)'), GeomFromEWKT('SRID=4674;POINT (-38.412901 -3.35097)'))) / (select extract(epoch from '2026-07-18 13:14:33'::timestamp) - extract(epoch from '2026-07-18 13:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412822 -3.350869)'), GeomFromEWKT('SRID=4674;POINT (-38.412901 -3.35097)'))) / (select extract(epoch from '2026-07-18 13:14:33'::timestamp) - extract(epoch from '2026-07-18 13:14: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'), 47391, 'SRID=4674;POINT (-38.412955 -3.351041)', '2026-07-18 13:14:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412901 -3.35097)'), GeomFromEWKT('SRID=4674;POINT (-38.412955 -3.351041)'))) / (select extract(epoch from '2026-07-18 13:14:38'::timestamp) - extract(epoch from '2026-07-18 13:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412901 -3.35097)'), GeomFromEWKT('SRID=4674;POINT (-38.412955 -3.351041)'))) / (select extract(epoch from '2026-07-18 13:14:38'::timestamp) - extract(epoch from '2026-07-18 13:14: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'), 47391, 'SRID=4674;POINT (-38.41304 -3.351139)', '2026-07-18 13:14:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412955 -3.351041)'), GeomFromEWKT('SRID=4674;POINT (-38.41304 -3.351139)'))) / (select extract(epoch from '2026-07-18 13:14:45'::timestamp) - extract(epoch from '2026-07-18 13:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.412955 -3.351041)'), GeomFromEWKT('SRID=4674;POINT (-38.41304 -3.351139)'))) / (select extract(epoch from '2026-07-18 13:14:45'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.413106 -3.351203)', '2026-07-18 13:14:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41304 -3.351139)'), GeomFromEWKT('SRID=4674;POINT (-38.413106 -3.351203)'))) / (select extract(epoch from '2026-07-18 13:14:50'::timestamp) - extract(epoch from '2026-07-18 13:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41304 -3.351139)'), GeomFromEWKT('SRID=4674;POINT (-38.413106 -3.351203)'))) / (select extract(epoch from '2026-07-18 13:14:50'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.413162 -3.351287)', '2026-07-18 13:14:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413106 -3.351203)'), GeomFromEWKT('SRID=4674;POINT (-38.413162 -3.351287)'))) / (select extract(epoch from '2026-07-18 13:14:55'::timestamp) - extract(epoch from '2026-07-18 13:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413106 -3.351203)'), GeomFromEWKT('SRID=4674;POINT (-38.413162 -3.351287)'))) / (select extract(epoch from '2026-07-18 13:14:55'::timestamp) - extract(epoch from '2026-07-18 13:14:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.413226 -3.351375)', '2026-07-18 13:15:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413162 -3.351287)'), GeomFromEWKT('SRID=4674;POINT (-38.413226 -3.351375)'))) / (select extract(epoch from '2026-07-18 13:15:01'::timestamp) - extract(epoch from '2026-07-18 13:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413162 -3.351287)'), GeomFromEWKT('SRID=4674;POINT (-38.413226 -3.351375)'))) / (select extract(epoch from '2026-07-18 13:15:01'::timestamp) - extract(epoch from '2026-07-18 13:14: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'), 47391, 'SRID=4674;POINT (-38.413286 -3.351452)', '2026-07-18 13:15:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413226 -3.351375)'), GeomFromEWKT('SRID=4674;POINT (-38.413286 -3.351452)'))) / (select extract(epoch from '2026-07-18 13:15:06'::timestamp) - extract(epoch from '2026-07-18 13:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413226 -3.351375)'), GeomFromEWKT('SRID=4674;POINT (-38.413286 -3.351452)'))) / (select extract(epoch from '2026-07-18 13:15:06'::timestamp) - extract(epoch from '2026-07-18 13:15: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'), 47391, 'SRID=4674;POINT (-38.413343 -3.351533)', '2026-07-18 13:15:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413286 -3.351452)'), GeomFromEWKT('SRID=4674;POINT (-38.413343 -3.351533)'))) / (select extract(epoch from '2026-07-18 13:15:12'::timestamp) - extract(epoch from '2026-07-18 13:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413286 -3.351452)'), GeomFromEWKT('SRID=4674;POINT (-38.413343 -3.351533)'))) / (select extract(epoch from '2026-07-18 13:15:12'::timestamp) - extract(epoch from '2026-07-18 13:15:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.413413 -3.351612)', '2026-07-18 13:15:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413343 -3.351533)'), GeomFromEWKT('SRID=4674;POINT (-38.413413 -3.351612)'))) / (select extract(epoch from '2026-07-18 13:15:19'::timestamp) - extract(epoch from '2026-07-18 13:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413343 -3.351533)'), GeomFromEWKT('SRID=4674;POINT (-38.413413 -3.351612)'))) / (select extract(epoch from '2026-07-18 13:15:19'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.413452 -3.351655)', '2026-07-18 13:15:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413413 -3.351612)'), GeomFromEWKT('SRID=4674;POINT (-38.413452 -3.351655)'))) / (select extract(epoch from '2026-07-18 13:15:23'::timestamp) - extract(epoch from '2026-07-18 13:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413413 -3.351612)'), GeomFromEWKT('SRID=4674;POINT (-38.413452 -3.351655)'))) / (select extract(epoch from '2026-07-18 13:15:23'::timestamp) - extract(epoch from '2026-07-18 13:15: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'), 47391, 'SRID=4674;POINT (-38.413534 -3.351712)', '2026-07-18 13:15:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413452 -3.351655)'), GeomFromEWKT('SRID=4674;POINT (-38.413534 -3.351712)'))) / (select extract(epoch from '2026-07-18 13:15:29'::timestamp) - extract(epoch from '2026-07-18 13:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413452 -3.351655)'), GeomFromEWKT('SRID=4674;POINT (-38.413534 -3.351712)'))) / (select extract(epoch from '2026-07-18 13:15:29'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.413557 -3.351736)', '2026-07-18 13:15:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413534 -3.351712)'), GeomFromEWKT('SRID=4674;POINT (-38.413557 -3.351736)'))) / (select extract(epoch from '2026-07-18 13:15:31'::timestamp) - extract(epoch from '2026-07-18 13:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413534 -3.351712)'), GeomFromEWKT('SRID=4674;POINT (-38.413557 -3.351736)'))) / (select extract(epoch from '2026-07-18 13:15:31'::timestamp) - extract(epoch from '2026-07-18 13:15: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'), 47391, 'SRID=4674;POINT (-38.413599 -3.351776)', '2026-07-18 13:15:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413557 -3.351736)'), GeomFromEWKT('SRID=4674;POINT (-38.413599 -3.351776)'))) / (select extract(epoch from '2026-07-18 13:15:34'::timestamp) - extract(epoch from '2026-07-18 13:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413557 -3.351736)'), GeomFromEWKT('SRID=4674;POINT (-38.413599 -3.351776)'))) / (select extract(epoch from '2026-07-18 13:15:34'::timestamp) - extract(epoch from '2026-07-18 13:15: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'), 47391, 'SRID=4674;POINT (-38.413645 -3.351813)', '2026-07-18 13:15:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413599 -3.351776)'), GeomFromEWKT('SRID=4674;POINT (-38.413645 -3.351813)'))) / (select extract(epoch from '2026-07-18 13:15:37'::timestamp) - extract(epoch from '2026-07-18 13:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413599 -3.351776)'), GeomFromEWKT('SRID=4674;POINT (-38.413645 -3.351813)'))) / (select extract(epoch from '2026-07-18 13:15:37'::timestamp) - extract(epoch from '2026-07-18 13:15: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'), 47391, 'SRID=4674;POINT (-38.413658 -3.351841)', '2026-07-18 13:15:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413645 -3.351813)'), GeomFromEWKT('SRID=4674;POINT (-38.413658 -3.351841)'))) / (select extract(epoch from '2026-07-18 13:15:39'::timestamp) - extract(epoch from '2026-07-18 13:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413645 -3.351813)'), GeomFromEWKT('SRID=4674;POINT (-38.413658 -3.351841)'))) / (select extract(epoch from '2026-07-18 13:15:39'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.413722 -3.351894)', '2026-07-18 13:15:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413658 -3.351841)'), GeomFromEWKT('SRID=4674;POINT (-38.413722 -3.351894)'))) / (select extract(epoch from '2026-07-18 13:15:43'::timestamp) - extract(epoch from '2026-07-18 13:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413658 -3.351841)'), GeomFromEWKT('SRID=4674;POINT (-38.413722 -3.351894)'))) / (select extract(epoch from '2026-07-18 13:15:43'::timestamp) - extract(epoch from '2026-07-18 13:15: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'), 47391, 'SRID=4674;POINT (-38.413765 -3.351944)', '2026-07-18 13:15:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413722 -3.351894)'), GeomFromEWKT('SRID=4674;POINT (-38.413765 -3.351944)'))) / (select extract(epoch from '2026-07-18 13:15:47'::timestamp) - extract(epoch from '2026-07-18 13:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413722 -3.351894)'), GeomFromEWKT('SRID=4674;POINT (-38.413765 -3.351944)'))) / (select extract(epoch from '2026-07-18 13:15:47'::timestamp) - extract(epoch from '2026-07-18 13:15:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.413784 -3.351954)', '2026-07-18 13:15:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413765 -3.351944)'), GeomFromEWKT('SRID=4674;POINT (-38.413784 -3.351954)'))) / (select extract(epoch from '2026-07-18 13:15:48'::timestamp) - extract(epoch from '2026-07-18 13:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413765 -3.351944)'), GeomFromEWKT('SRID=4674;POINT (-38.413784 -3.351954)'))) / (select extract(epoch from '2026-07-18 13:15:48'::timestamp) - extract(epoch from '2026-07-18 13:15:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.413806 -3.351971)', '2026-07-18 13:15:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413784 -3.351954)'), GeomFromEWKT('SRID=4674;POINT (-38.413806 -3.351971)'))) / (select extract(epoch from '2026-07-18 13:15:50'::timestamp) - extract(epoch from '2026-07-18 13:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413784 -3.351954)'), GeomFromEWKT('SRID=4674;POINT (-38.413806 -3.351971)'))) / (select extract(epoch from '2026-07-18 13:15:50'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.413831 -3.351994)', '2026-07-18 13:15:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413806 -3.351971)'), GeomFromEWKT('SRID=4674;POINT (-38.413831 -3.351994)'))) / (select extract(epoch from '2026-07-18 13:15:52'::timestamp) - extract(epoch from '2026-07-18 13:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413806 -3.351971)'), GeomFromEWKT('SRID=4674;POINT (-38.413831 -3.351994)'))) / (select extract(epoch from '2026-07-18 13:15:52'::timestamp) - extract(epoch from '2026-07-18 13:15: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'), 47391, 'SRID=4674;POINT (-38.413905 -3.352066)', '2026-07-18 13:15:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413831 -3.351994)'), GeomFromEWKT('SRID=4674;POINT (-38.413905 -3.352066)'))) / (select extract(epoch from '2026-07-18 13:15:58'::timestamp) - extract(epoch from '2026-07-18 13:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413831 -3.351994)'), GeomFromEWKT('SRID=4674;POINT (-38.413905 -3.352066)'))) / (select extract(epoch from '2026-07-18 13:15:58'::timestamp) - extract(epoch from '2026-07-18 13:15: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'), 47391, 'SRID=4674;POINT (-38.413974 -3.352127)', '2026-07-18 13:16:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413905 -3.352066)'), GeomFromEWKT('SRID=4674;POINT (-38.413974 -3.352127)'))) / (select extract(epoch from '2026-07-18 13:16:03'::timestamp) - extract(epoch from '2026-07-18 13:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413905 -3.352066)'), GeomFromEWKT('SRID=4674;POINT (-38.413974 -3.352127)'))) / (select extract(epoch from '2026-07-18 13:16:03'::timestamp) - extract(epoch from '2026-07-18 13:15:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.41404 -3.352189)', '2026-07-18 13:16:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413974 -3.352127)'), GeomFromEWKT('SRID=4674;POINT (-38.41404 -3.352189)'))) / (select extract(epoch from '2026-07-18 13:16:08'::timestamp) - extract(epoch from '2026-07-18 13:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.413974 -3.352127)'), GeomFromEWKT('SRID=4674;POINT (-38.41404 -3.352189)'))) / (select extract(epoch from '2026-07-18 13:16:08'::timestamp) - extract(epoch from '2026-07-18 13:16:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.414089 -3.352241)', '2026-07-18 13:16:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41404 -3.352189)'), GeomFromEWKT('SRID=4674;POINT (-38.414089 -3.352241)'))) / (select extract(epoch from '2026-07-18 13:16:13'::timestamp) - extract(epoch from '2026-07-18 13:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41404 -3.352189)'), GeomFromEWKT('SRID=4674;POINT (-38.414089 -3.352241)'))) / (select extract(epoch from '2026-07-18 13:16:13'::timestamp) - extract(epoch from '2026-07-18 13:16:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.414142 -3.352296)', '2026-07-18 13:16:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414089 -3.352241)'), GeomFromEWKT('SRID=4674;POINT (-38.414142 -3.352296)'))) / (select extract(epoch from '2026-07-18 13:16:18'::timestamp) - extract(epoch from '2026-07-18 13:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414089 -3.352241)'), GeomFromEWKT('SRID=4674;POINT (-38.414142 -3.352296)'))) / (select extract(epoch from '2026-07-18 13:16:18'::timestamp) - extract(epoch from '2026-07-18 13:16:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.414165 -3.352318)', '2026-07-18 13:16:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414142 -3.352296)'), GeomFromEWKT('SRID=4674;POINT (-38.414165 -3.352318)'))) / (select extract(epoch from '2026-07-18 13:16:20'::timestamp) - extract(epoch from '2026-07-18 13:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414142 -3.352296)'), GeomFromEWKT('SRID=4674;POINT (-38.414165 -3.352318)'))) / (select extract(epoch from '2026-07-18 13:16:20'::timestamp) - extract(epoch from '2026-07-18 13:16:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.414218 -3.35235)', '2026-07-18 13:16:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414165 -3.352318)'), GeomFromEWKT('SRID=4674;POINT (-38.414218 -3.35235)'))) / (select extract(epoch from '2026-07-18 13:16:23'::timestamp) - extract(epoch from '2026-07-18 13:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414165 -3.352318)'), GeomFromEWKT('SRID=4674;POINT (-38.414218 -3.35235)'))) / (select extract(epoch from '2026-07-18 13:16:23'::timestamp) - extract(epoch from '2026-07-18 13:16: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'), 47391, 'SRID=4674;POINT (-38.414232 -3.352363)', '2026-07-18 13:16:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414218 -3.35235)'), GeomFromEWKT('SRID=4674;POINT (-38.414232 -3.352363)'))) / (select extract(epoch from '2026-07-18 13:16:24'::timestamp) - extract(epoch from '2026-07-18 13:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414218 -3.35235)'), GeomFromEWKT('SRID=4674;POINT (-38.414232 -3.352363)'))) / (select extract(epoch from '2026-07-18 13:16:24'::timestamp) - extract(epoch from '2026-07-18 13:16:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.414273 -3.352395)', '2026-07-18 13:16:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414232 -3.352363)'), GeomFromEWKT('SRID=4674;POINT (-38.414273 -3.352395)'))) / (select extract(epoch from '2026-07-18 13:16:27'::timestamp) - extract(epoch from '2026-07-18 13:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414232 -3.352363)'), GeomFromEWKT('SRID=4674;POINT (-38.414273 -3.352395)'))) / (select extract(epoch from '2026-07-18 13:16:27'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.414346 -3.352489)', '2026-07-18 13:16:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414273 -3.352395)'), GeomFromEWKT('SRID=4674;POINT (-38.414346 -3.352489)'))) / (select extract(epoch from '2026-07-18 13:16:33'::timestamp) - extract(epoch from '2026-07-18 13:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414273 -3.352395)'), GeomFromEWKT('SRID=4674;POINT (-38.414346 -3.352489)'))) / (select extract(epoch from '2026-07-18 13:16:33'::timestamp) - extract(epoch from '2026-07-18 13:16: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'), 47391, 'SRID=4674;POINT (-38.414391 -3.35256)', '2026-07-18 13:16:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414346 -3.352489)'), GeomFromEWKT('SRID=4674;POINT (-38.414391 -3.35256)'))) / (select extract(epoch from '2026-07-18 13:16:38'::timestamp) - extract(epoch from '2026-07-18 13:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414346 -3.352489)'), GeomFromEWKT('SRID=4674;POINT (-38.414391 -3.35256)'))) / (select extract(epoch from '2026-07-18 13:16:38'::timestamp) - extract(epoch from '2026-07-18 13:16:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.414411 -3.352594)', '2026-07-18 13:16:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414391 -3.35256)'), GeomFromEWKT('SRID=4674;POINT (-38.414411 -3.352594)'))) / (select extract(epoch from '2026-07-18 13:16:40'::timestamp) - extract(epoch from '2026-07-18 13:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414391 -3.35256)'), GeomFromEWKT('SRID=4674;POINT (-38.414411 -3.352594)'))) / (select extract(epoch from '2026-07-18 13:16:40'::timestamp) - extract(epoch from '2026-07-18 13:16: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'), 47391, 'SRID=4674;POINT (-38.414451 -3.35264)', '2026-07-18 13:16:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414411 -3.352594)'), GeomFromEWKT('SRID=4674;POINT (-38.414451 -3.35264)'))) / (select extract(epoch from '2026-07-18 13:16:43'::timestamp) - extract(epoch from '2026-07-18 13:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414411 -3.352594)'), GeomFromEWKT('SRID=4674;POINT (-38.414451 -3.35264)'))) / (select extract(epoch from '2026-07-18 13:16:43'::timestamp) - extract(epoch from '2026-07-18 13:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.414468 -3.35267)', '2026-07-18 13:16:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414451 -3.35264)'), GeomFromEWKT('SRID=4674;POINT (-38.414468 -3.35267)'))) / (select extract(epoch from '2026-07-18 13:16:45'::timestamp) - extract(epoch from '2026-07-18 13:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414451 -3.35264)'), GeomFromEWKT('SRID=4674;POINT (-38.414468 -3.35267)'))) / (select extract(epoch from '2026-07-18 13:16:45'::timestamp) - extract(epoch from '2026-07-18 13:16:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.414506 -3.352712)', '2026-07-18 13:16:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414468 -3.35267)'), GeomFromEWKT('SRID=4674;POINT (-38.414506 -3.352712)'))) / (select extract(epoch from '2026-07-18 13:16:48'::timestamp) - extract(epoch from '2026-07-18 13:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414468 -3.35267)'), GeomFromEWKT('SRID=4674;POINT (-38.414506 -3.352712)'))) / (select extract(epoch from '2026-07-18 13:16:48'::timestamp) - extract(epoch from '2026-07-18 13:16: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'), 47391, 'SRID=4674;POINT (-38.41458 -3.352801)', '2026-07-18 13:16:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414506 -3.352712)'), GeomFromEWKT('SRID=4674;POINT (-38.41458 -3.352801)'))) / (select extract(epoch from '2026-07-18 13:16:54'::timestamp) - extract(epoch from '2026-07-18 13:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414506 -3.352712)'), GeomFromEWKT('SRID=4674;POINT (-38.41458 -3.352801)'))) / (select extract(epoch from '2026-07-18 13:16:54'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.414635 -3.352857)', '2026-07-18 13:16:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41458 -3.352801)'), GeomFromEWKT('SRID=4674;POINT (-38.414635 -3.352857)'))) / (select extract(epoch from '2026-07-18 13:16:59'::timestamp) - extract(epoch from '2026-07-18 13:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41458 -3.352801)'), GeomFromEWKT('SRID=4674;POINT (-38.414635 -3.352857)'))) / (select extract(epoch from '2026-07-18 13:16:59'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.414661 -3.352896)', '2026-07-18 13:17:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414635 -3.352857)'), GeomFromEWKT('SRID=4674;POINT (-38.414661 -3.352896)'))) / (select extract(epoch from '2026-07-18 13:17:02'::timestamp) - extract(epoch from '2026-07-18 13:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414635 -3.352857)'), GeomFromEWKT('SRID=4674;POINT (-38.414661 -3.352896)'))) / (select extract(epoch from '2026-07-18 13:17:02'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.414681 -3.352905)', '2026-07-18 13:17:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414661 -3.352896)'), GeomFromEWKT('SRID=4674;POINT (-38.414681 -3.352905)'))) / (select extract(epoch from '2026-07-18 13:17:03'::timestamp) - extract(epoch from '2026-07-18 13:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414661 -3.352896)'), GeomFromEWKT('SRID=4674;POINT (-38.414681 -3.352905)'))) / (select extract(epoch from '2026-07-18 13:17:03'::timestamp) - extract(epoch from '2026-07-18 13:17: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'), 47391, 'SRID=4674;POINT (-38.414697 -3.352915)', '2026-07-18 13:17:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414681 -3.352905)'), GeomFromEWKT('SRID=4674;POINT (-38.414697 -3.352915)'))) / (select extract(epoch from '2026-07-18 13:17:04'::timestamp) - extract(epoch from '2026-07-18 13:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414681 -3.352905)'), GeomFromEWKT('SRID=4674;POINT (-38.414697 -3.352915)'))) / (select extract(epoch from '2026-07-18 13:17:04'::timestamp) - extract(epoch from '2026-07-18 13:17: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'), 47391, 'SRID=4674;POINT (-38.414723 -3.352958)', '2026-07-18 13:17:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414697 -3.352915)'), GeomFromEWKT('SRID=4674;POINT (-38.414723 -3.352958)'))) / (select extract(epoch from '2026-07-18 13:17:07'::timestamp) - extract(epoch from '2026-07-18 13:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414697 -3.352915)'), GeomFromEWKT('SRID=4674;POINT (-38.414723 -3.352958)'))) / (select extract(epoch from '2026-07-18 13:17:07'::timestamp) - extract(epoch from '2026-07-18 13:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.414814 -3.353054)', '2026-07-18 13:17:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414723 -3.352958)'), GeomFromEWKT('SRID=4674;POINT (-38.414814 -3.353054)'))) / (select extract(epoch from '2026-07-18 13:17:13'::timestamp) - extract(epoch from '2026-07-18 13:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414723 -3.352958)'), GeomFromEWKT('SRID=4674;POINT (-38.414814 -3.353054)'))) / (select extract(epoch from '2026-07-18 13:17:13'::timestamp) - extract(epoch from '2026-07-18 13:17:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.414901 -3.353158)', '2026-07-18 13:17:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414814 -3.353054)'), GeomFromEWKT('SRID=4674;POINT (-38.414901 -3.353158)'))) / (select extract(epoch from '2026-07-18 13:17:20'::timestamp) - extract(epoch from '2026-07-18 13:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414814 -3.353054)'), GeomFromEWKT('SRID=4674;POINT (-38.414901 -3.353158)'))) / (select extract(epoch from '2026-07-18 13:17:20'::timestamp) - extract(epoch from '2026-07-18 13:17: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'), 47391, 'SRID=4674;POINT (-38.414909 -3.353172)', '2026-07-18 13:17:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414901 -3.353158)'), GeomFromEWKT('SRID=4674;POINT (-38.414909 -3.353172)'))) / (select extract(epoch from '2026-07-18 13:17:21'::timestamp) - extract(epoch from '2026-07-18 13:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414901 -3.353158)'), GeomFromEWKT('SRID=4674;POINT (-38.414909 -3.353172)'))) / (select extract(epoch from '2026-07-18 13:17:21'::timestamp) - extract(epoch from '2026-07-18 13:17: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'), 47391, 'SRID=4674;POINT (-38.414919 -3.353197)', '2026-07-18 13:17:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414909 -3.353172)'), GeomFromEWKT('SRID=4674;POINT (-38.414919 -3.353197)'))) / (select extract(epoch from '2026-07-18 13:17:23'::timestamp) - extract(epoch from '2026-07-18 13:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414909 -3.353172)'), GeomFromEWKT('SRID=4674;POINT (-38.414919 -3.353197)'))) / (select extract(epoch from '2026-07-18 13:17:23'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.414927 -3.353209)', '2026-07-18 13:17:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414919 -3.353197)'), GeomFromEWKT('SRID=4674;POINT (-38.414927 -3.353209)'))) / (select extract(epoch from '2026-07-18 13:17:24'::timestamp) - extract(epoch from '2026-07-18 13:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414919 -3.353197)'), GeomFromEWKT('SRID=4674;POINT (-38.414927 -3.353209)'))) / (select extract(epoch from '2026-07-18 13:17:24'::timestamp) - extract(epoch from '2026-07-18 13:17:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.414983 -3.353278)', '2026-07-18 13:17:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414927 -3.353209)'), GeomFromEWKT('SRID=4674;POINT (-38.414983 -3.353278)'))) / (select extract(epoch from '2026-07-18 13:17:30'::timestamp) - extract(epoch from '2026-07-18 13:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414927 -3.353209)'), GeomFromEWKT('SRID=4674;POINT (-38.414983 -3.353278)'))) / (select extract(epoch from '2026-07-18 13:17:30'::timestamp) - extract(epoch from '2026-07-18 13:17:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.414992 -3.353293)', '2026-07-18 13:17:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414983 -3.353278)'), GeomFromEWKT('SRID=4674;POINT (-38.414992 -3.353293)'))) / (select extract(epoch from '2026-07-18 13:17:31'::timestamp) - extract(epoch from '2026-07-18 13:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414983 -3.353278)'), GeomFromEWKT('SRID=4674;POINT (-38.414992 -3.353293)'))) / (select extract(epoch from '2026-07-18 13:17:31'::timestamp) - extract(epoch from '2026-07-18 13:17:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.415042 -3.353329)', '2026-07-18 13:17:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414992 -3.353293)'), GeomFromEWKT('SRID=4674;POINT (-38.415042 -3.353329)'))) / (select extract(epoch from '2026-07-18 13:17:34'::timestamp) - extract(epoch from '2026-07-18 13:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.414992 -3.353293)'), GeomFromEWKT('SRID=4674;POINT (-38.415042 -3.353329)'))) / (select extract(epoch from '2026-07-18 13:17:34'::timestamp) - extract(epoch from '2026-07-18 13:17:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.415121 -3.353406)', '2026-07-18 13:17:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415042 -3.353329)'), GeomFromEWKT('SRID=4674;POINT (-38.415121 -3.353406)'))) / (select extract(epoch from '2026-07-18 13:17:40'::timestamp) - extract(epoch from '2026-07-18 13:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415042 -3.353329)'), GeomFromEWKT('SRID=4674;POINT (-38.415121 -3.353406)'))) / (select extract(epoch from '2026-07-18 13:17:40'::timestamp) - extract(epoch from '2026-07-18 13:17: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'), 47391, 'SRID=4674;POINT (-38.415131 -3.353419)', '2026-07-18 13:17:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415121 -3.353406)'), GeomFromEWKT('SRID=4674;POINT (-38.415131 -3.353419)'))) / (select extract(epoch from '2026-07-18 13:17:41'::timestamp) - extract(epoch from '2026-07-18 13:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415121 -3.353406)'), GeomFromEWKT('SRID=4674;POINT (-38.415131 -3.353419)'))) / (select extract(epoch from '2026-07-18 13:17:41'::timestamp) - extract(epoch from '2026-07-18 13:17:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.415157 -3.353459)', '2026-07-18 13:17:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415131 -3.353419)'), GeomFromEWKT('SRID=4674;POINT (-38.415157 -3.353459)'))) / (select extract(epoch from '2026-07-18 13:17:44'::timestamp) - extract(epoch from '2026-07-18 13:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415131 -3.353419)'), GeomFromEWKT('SRID=4674;POINT (-38.415157 -3.353459)'))) / (select extract(epoch from '2026-07-18 13:17:44'::timestamp) - extract(epoch from '2026-07-18 13:17:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.415224 -3.353538)', '2026-07-18 13:17:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415157 -3.353459)'), GeomFromEWKT('SRID=4674;POINT (-38.415224 -3.353538)'))) / (select extract(epoch from '2026-07-18 13:17:50'::timestamp) - extract(epoch from '2026-07-18 13:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415157 -3.353459)'), GeomFromEWKT('SRID=4674;POINT (-38.415224 -3.353538)'))) / (select extract(epoch from '2026-07-18 13:17:50'::timestamp) - extract(epoch from '2026-07-18 13:17: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'), 47391, 'SRID=4674;POINT (-38.415283 -3.353611)', '2026-07-18 13:17:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415224 -3.353538)'), GeomFromEWKT('SRID=4674;POINT (-38.415283 -3.353611)'))) / (select extract(epoch from '2026-07-18 13:17:56'::timestamp) - extract(epoch from '2026-07-18 13:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415224 -3.353538)'), GeomFromEWKT('SRID=4674;POINT (-38.415283 -3.353611)'))) / (select extract(epoch from '2026-07-18 13:17:56'::timestamp) - extract(epoch from '2026-07-18 13:17: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'), 47391, 'SRID=4674;POINT (-38.415332 -3.353672)', '2026-07-18 13:18:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415283 -3.353611)'), GeomFromEWKT('SRID=4674;POINT (-38.415332 -3.353672)'))) / (select extract(epoch from '2026-07-18 13:18:01'::timestamp) - extract(epoch from '2026-07-18 13:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415283 -3.353611)'), GeomFromEWKT('SRID=4674;POINT (-38.415332 -3.353672)'))) / (select extract(epoch from '2026-07-18 13:18:01'::timestamp) - extract(epoch from '2026-07-18 13:17:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.415338 -3.353686)', '2026-07-18 13:18:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415332 -3.353672)'), GeomFromEWKT('SRID=4674;POINT (-38.415338 -3.353686)'))) / (select extract(epoch from '2026-07-18 13:18:02'::timestamp) - extract(epoch from '2026-07-18 13:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415332 -3.353672)'), GeomFromEWKT('SRID=4674;POINT (-38.415338 -3.353686)'))) / (select extract(epoch from '2026-07-18 13:18:02'::timestamp) - extract(epoch from '2026-07-18 13:18: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'), 47391, 'SRID=4674;POINT (-38.415401 -3.35375)', '2026-07-18 13:18:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415338 -3.353686)'), GeomFromEWKT('SRID=4674;POINT (-38.415401 -3.35375)'))) / (select extract(epoch from '2026-07-18 13:18:07'::timestamp) - extract(epoch from '2026-07-18 13:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415338 -3.353686)'), GeomFromEWKT('SRID=4674;POINT (-38.415401 -3.35375)'))) / (select extract(epoch from '2026-07-18 13:18:07'::timestamp) - extract(epoch from '2026-07-18 13:18:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.415422 -3.353766)', '2026-07-18 13:18:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415401 -3.35375)'), GeomFromEWKT('SRID=4674;POINT (-38.415422 -3.353766)'))) / (select extract(epoch from '2026-07-18 13:18:09'::timestamp) - extract(epoch from '2026-07-18 13:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415401 -3.35375)'), GeomFromEWKT('SRID=4674;POINT (-38.415422 -3.353766)'))) / (select extract(epoch from '2026-07-18 13:18:09'::timestamp) - extract(epoch from '2026-07-18 13:18: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'), 47391, 'SRID=4674;POINT (-38.41548 -3.353817)', '2026-07-18 13:18:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415422 -3.353766)'), GeomFromEWKT('SRID=4674;POINT (-38.41548 -3.353817)'))) / (select extract(epoch from '2026-07-18 13:18:13'::timestamp) - extract(epoch from '2026-07-18 13:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415422 -3.353766)'), GeomFromEWKT('SRID=4674;POINT (-38.41548 -3.353817)'))) / (select extract(epoch from '2026-07-18 13:18:13'::timestamp) - extract(epoch from '2026-07-18 13:18: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'), 47391, 'SRID=4674;POINT (-38.415546 -3.353878)', '2026-07-18 13:18:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41548 -3.353817)'), GeomFromEWKT('SRID=4674;POINT (-38.415546 -3.353878)'))) / (select extract(epoch from '2026-07-18 13:18:18'::timestamp) - extract(epoch from '2026-07-18 13:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41548 -3.353817)'), GeomFromEWKT('SRID=4674;POINT (-38.415546 -3.353878)'))) / (select extract(epoch from '2026-07-18 13:18:18'::timestamp) - extract(epoch from '2026-07-18 13:18:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.415621 -3.353949)', '2026-07-18 13:18:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415546 -3.353878)'), GeomFromEWKT('SRID=4674;POINT (-38.415621 -3.353949)'))) / (select extract(epoch from '2026-07-18 13:18:24'::timestamp) - extract(epoch from '2026-07-18 13:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415546 -3.353878)'), GeomFromEWKT('SRID=4674;POINT (-38.415621 -3.353949)'))) / (select extract(epoch from '2026-07-18 13:18:24'::timestamp) - extract(epoch from '2026-07-18 13:18: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'), 47391, 'SRID=4674;POINT (-38.415673 -3.353991)', '2026-07-18 13:18:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415621 -3.353949)'), GeomFromEWKT('SRID=4674;POINT (-38.415673 -3.353991)'))) / (select extract(epoch from '2026-07-18 13:18:28'::timestamp) - extract(epoch from '2026-07-18 13:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415621 -3.353949)'), GeomFromEWKT('SRID=4674;POINT (-38.415673 -3.353991)'))) / (select extract(epoch from '2026-07-18 13:18:28'::timestamp) - extract(epoch from '2026-07-18 13:18: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'), 47391, 'SRID=4674;POINT (-38.41568 -3.354)', '2026-07-18 13:18:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415673 -3.353991)'), GeomFromEWKT('SRID=4674;POINT (-38.41568 -3.354)'))) / (select extract(epoch from '2026-07-18 13:18:29'::timestamp) - extract(epoch from '2026-07-18 13:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415673 -3.353991)'), GeomFromEWKT('SRID=4674;POINT (-38.41568 -3.354)'))) / (select extract(epoch from '2026-07-18 13:18:29'::timestamp) - extract(epoch from '2026-07-18 13:18:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.415721 -3.354031)', '2026-07-18 13:18:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41568 -3.354)'), GeomFromEWKT('SRID=4674;POINT (-38.415721 -3.354031)'))) / (select extract(epoch from '2026-07-18 13:18:32'::timestamp) - extract(epoch from '2026-07-18 13:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41568 -3.354)'), GeomFromEWKT('SRID=4674;POINT (-38.415721 -3.354031)'))) / (select extract(epoch from '2026-07-18 13:18:32'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.415795 -3.354104)', '2026-07-18 13:18:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415721 -3.354031)'), GeomFromEWKT('SRID=4674;POINT (-38.415795 -3.354104)'))) / (select extract(epoch from '2026-07-18 13:18:38'::timestamp) - extract(epoch from '2026-07-18 13:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415721 -3.354031)'), GeomFromEWKT('SRID=4674;POINT (-38.415795 -3.354104)'))) / (select extract(epoch from '2026-07-18 13:18:38'::timestamp) - extract(epoch from '2026-07-18 13:18: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'), 47391, 'SRID=4674;POINT (-38.415871 -3.354175)', '2026-07-18 13:18:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415795 -3.354104)'), GeomFromEWKT('SRID=4674;POINT (-38.415871 -3.354175)'))) / (select extract(epoch from '2026-07-18 13:18:44'::timestamp) - extract(epoch from '2026-07-18 13:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415795 -3.354104)'), GeomFromEWKT('SRID=4674;POINT (-38.415871 -3.354175)'))) / (select extract(epoch from '2026-07-18 13:18:44'::timestamp) - extract(epoch from '2026-07-18 13:18: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'), 47391, 'SRID=4674;POINT (-38.415933 -3.354241)', '2026-07-18 13:18:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415871 -3.354175)'), GeomFromEWKT('SRID=4674;POINT (-38.415933 -3.354241)'))) / (select extract(epoch from '2026-07-18 13:18:49'::timestamp) - extract(epoch from '2026-07-18 13:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415871 -3.354175)'), GeomFromEWKT('SRID=4674;POINT (-38.415933 -3.354241)'))) / (select extract(epoch from '2026-07-18 13:18:49'::timestamp) - extract(epoch from '2026-07-18 13:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.416002 -3.354318)', '2026-07-18 13:18:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415933 -3.354241)'), GeomFromEWKT('SRID=4674;POINT (-38.416002 -3.354318)'))) / (select extract(epoch from '2026-07-18 13:18:55'::timestamp) - extract(epoch from '2026-07-18 13:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.415933 -3.354241)'), GeomFromEWKT('SRID=4674;POINT (-38.416002 -3.354318)'))) / (select extract(epoch from '2026-07-18 13:18:55'::timestamp) - extract(epoch from '2026-07-18 13:18:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.416016 -3.354344)', '2026-07-18 13:18:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416002 -3.354318)'), GeomFromEWKT('SRID=4674;POINT (-38.416016 -3.354344)'))) / (select extract(epoch from '2026-07-18 13:18:57'::timestamp) - extract(epoch from '2026-07-18 13:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416002 -3.354318)'), GeomFromEWKT('SRID=4674;POINT (-38.416016 -3.354344)'))) / (select extract(epoch from '2026-07-18 13:18:57'::timestamp) - extract(epoch from '2026-07-18 13:18: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'), 47391, 'SRID=4674;POINT (-38.416044 -3.354371)', '2026-07-18 13:18:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416016 -3.354344)'), GeomFromEWKT('SRID=4674;POINT (-38.416044 -3.354371)'))) / (select extract(epoch from '2026-07-18 13:18:59'::timestamp) - extract(epoch from '2026-07-18 13:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416016 -3.354344)'), GeomFromEWKT('SRID=4674;POINT (-38.416044 -3.354371)'))) / (select extract(epoch from '2026-07-18 13:18:59'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.416118 -3.354456)', '2026-07-18 13:19:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416044 -3.354371)'), GeomFromEWKT('SRID=4674;POINT (-38.416118 -3.354456)'))) / (select extract(epoch from '2026-07-18 13:19:05'::timestamp) - extract(epoch from '2026-07-18 13:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416044 -3.354371)'), GeomFromEWKT('SRID=4674;POINT (-38.416118 -3.354456)'))) / (select extract(epoch from '2026-07-18 13:19:05'::timestamp) - extract(epoch from '2026-07-18 13:18: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'), 47391, 'SRID=4674;POINT (-38.416162 -3.354508)', '2026-07-18 13:19:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416118 -3.354456)'), GeomFromEWKT('SRID=4674;POINT (-38.416162 -3.354508)'))) / (select extract(epoch from '2026-07-18 13:19:09'::timestamp) - extract(epoch from '2026-07-18 13:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416118 -3.354456)'), GeomFromEWKT('SRID=4674;POINT (-38.416162 -3.354508)'))) / (select extract(epoch from '2026-07-18 13:19:09'::timestamp) - extract(epoch from '2026-07-18 13:19:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.41617 -3.354521)', '2026-07-18 13:19:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416162 -3.354508)'), GeomFromEWKT('SRID=4674;POINT (-38.41617 -3.354521)'))) / (select extract(epoch from '2026-07-18 13:19:10'::timestamp) - extract(epoch from '2026-07-18 13:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416162 -3.354508)'), GeomFromEWKT('SRID=4674;POINT (-38.41617 -3.354521)'))) / (select extract(epoch from '2026-07-18 13:19:10'::timestamp) - extract(epoch from '2026-07-18 13:19:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.416261 -3.354627)', '2026-07-18 13:19:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41617 -3.354521)'), GeomFromEWKT('SRID=4674;POINT (-38.416261 -3.354627)'))) / (select extract(epoch from '2026-07-18 13:19:18'::timestamp) - extract(epoch from '2026-07-18 13:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41617 -3.354521)'), GeomFromEWKT('SRID=4674;POINT (-38.416261 -3.354627)'))) / (select extract(epoch from '2026-07-18 13:19:18'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.416317 -3.354692)', '2026-07-18 13:19:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416261 -3.354627)'), GeomFromEWKT('SRID=4674;POINT (-38.416317 -3.354692)'))) / (select extract(epoch from '2026-07-18 13:19:23'::timestamp) - extract(epoch from '2026-07-18 13:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416261 -3.354627)'), GeomFromEWKT('SRID=4674;POINT (-38.416317 -3.354692)'))) / (select extract(epoch from '2026-07-18 13:19:23'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.416336 -3.354707)', '2026-07-18 13:19:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416317 -3.354692)'), GeomFromEWKT('SRID=4674;POINT (-38.416336 -3.354707)'))) / (select extract(epoch from '2026-07-18 13:19:24'::timestamp) - extract(epoch from '2026-07-18 13:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416317 -3.354692)'), GeomFromEWKT('SRID=4674;POINT (-38.416336 -3.354707)'))) / (select extract(epoch from '2026-07-18 13:19:24'::timestamp) - extract(epoch from '2026-07-18 13:19:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.416389 -3.354765)', '2026-07-18 13:19:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416336 -3.354707)'), GeomFromEWKT('SRID=4674;POINT (-38.416389 -3.354765)'))) / (select extract(epoch from '2026-07-18 13:19:29'::timestamp) - extract(epoch from '2026-07-18 13:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416336 -3.354707)'), GeomFromEWKT('SRID=4674;POINT (-38.416389 -3.354765)'))) / (select extract(epoch from '2026-07-18 13:19:29'::timestamp) - extract(epoch from '2026-07-18 13:19:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.416471 -3.354852)', '2026-07-18 13:19:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416389 -3.354765)'), GeomFromEWKT('SRID=4674;POINT (-38.416471 -3.354852)'))) / (select extract(epoch from '2026-07-18 13:19:36'::timestamp) - extract(epoch from '2026-07-18 13:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416389 -3.354765)'), GeomFromEWKT('SRID=4674;POINT (-38.416471 -3.354852)'))) / (select extract(epoch from '2026-07-18 13:19:36'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.41653 -3.35491)', '2026-07-18 13:19:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416471 -3.354852)'), GeomFromEWKT('SRID=4674;POINT (-38.41653 -3.35491)'))) / (select extract(epoch from '2026-07-18 13:19:40'::timestamp) - extract(epoch from '2026-07-18 13:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416471 -3.354852)'), GeomFromEWKT('SRID=4674;POINT (-38.41653 -3.35491)'))) / (select extract(epoch from '2026-07-18 13:19:40'::timestamp) - extract(epoch from '2026-07-18 13:19: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'), 47391, 'SRID=4674;POINT (-38.416566 -3.354951)', '2026-07-18 13:19:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41653 -3.35491)'), GeomFromEWKT('SRID=4674;POINT (-38.416566 -3.354951)'))) / (select extract(epoch from '2026-07-18 13:19:44'::timestamp) - extract(epoch from '2026-07-18 13:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41653 -3.35491)'), GeomFromEWKT('SRID=4674;POINT (-38.416566 -3.354951)'))) / (select extract(epoch from '2026-07-18 13:19:44'::timestamp) - extract(epoch from '2026-07-18 13:19:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.416613 -3.354993)', '2026-07-18 13:19:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416566 -3.354951)'), GeomFromEWKT('SRID=4674;POINT (-38.416613 -3.354993)'))) / (select extract(epoch from '2026-07-18 13:19:48'::timestamp) - extract(epoch from '2026-07-18 13:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416566 -3.354951)'), GeomFromEWKT('SRID=4674;POINT (-38.416613 -3.354993)'))) / (select extract(epoch from '2026-07-18 13:19:48'::timestamp) - extract(epoch from '2026-07-18 13:19: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'), 47391, 'SRID=4674;POINT (-38.416686 -3.355048)', '2026-07-18 13:19:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416613 -3.354993)'), GeomFromEWKT('SRID=4674;POINT (-38.416686 -3.355048)'))) / (select extract(epoch from '2026-07-18 13:19:53'::timestamp) - extract(epoch from '2026-07-18 13:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416613 -3.354993)'), GeomFromEWKT('SRID=4674;POINT (-38.416686 -3.355048)'))) / (select extract(epoch from '2026-07-18 13:19:53'::timestamp) - extract(epoch from '2026-07-18 13:19:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.416788 -3.355116)', '2026-07-18 13:19:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416686 -3.355048)'), GeomFromEWKT('SRID=4674;POINT (-38.416788 -3.355116)'))) / (select extract(epoch from '2026-07-18 13:19:59'::timestamp) - extract(epoch from '2026-07-18 13:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416686 -3.355048)'), GeomFromEWKT('SRID=4674;POINT (-38.416788 -3.355116)'))) / (select extract(epoch from '2026-07-18 13:19:59'::timestamp) - extract(epoch from '2026-07-18 13:19: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'), 47391, 'SRID=4674;POINT (-38.416803 -3.355127)', '2026-07-18 13:20:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416788 -3.355116)'), GeomFromEWKT('SRID=4674;POINT (-38.416803 -3.355127)'))) / (select extract(epoch from '2026-07-18 13:20:00'::timestamp) - extract(epoch from '2026-07-18 13:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416788 -3.355116)'), GeomFromEWKT('SRID=4674;POINT (-38.416803 -3.355127)'))) / (select extract(epoch from '2026-07-18 13:20:00'::timestamp) - extract(epoch from '2026-07-18 13:19:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.416842 -3.355164)', '2026-07-18 13:20:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416803 -3.355127)'), GeomFromEWKT('SRID=4674;POINT (-38.416842 -3.355164)'))) / (select extract(epoch from '2026-07-18 13:20:03'::timestamp) - extract(epoch from '2026-07-18 13:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416803 -3.355127)'), GeomFromEWKT('SRID=4674;POINT (-38.416842 -3.355164)'))) / (select extract(epoch from '2026-07-18 13:20:03'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.416894 -3.355199)', '2026-07-18 13:20:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416842 -3.355164)'), GeomFromEWKT('SRID=4674;POINT (-38.416894 -3.355199)'))) / (select extract(epoch from '2026-07-18 13:20:06'::timestamp) - extract(epoch from '2026-07-18 13:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416842 -3.355164)'), GeomFromEWKT('SRID=4674;POINT (-38.416894 -3.355199)'))) / (select extract(epoch from '2026-07-18 13:20:06'::timestamp) - extract(epoch from '2026-07-18 13:20: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'), 47391, 'SRID=4674;POINT (-38.416909 -3.355219)', '2026-07-18 13:20:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416894 -3.355199)'), GeomFromEWKT('SRID=4674;POINT (-38.416909 -3.355219)'))) / (select extract(epoch from '2026-07-18 13:20:08'::timestamp) - extract(epoch from '2026-07-18 13:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416894 -3.355199)'), GeomFromEWKT('SRID=4674;POINT (-38.416909 -3.355219)'))) / (select extract(epoch from '2026-07-18 13:20:08'::timestamp) - extract(epoch from '2026-07-18 13:20:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.416974 -3.355292)', '2026-07-18 13:20:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416909 -3.355219)'), GeomFromEWKT('SRID=4674;POINT (-38.416974 -3.355292)'))) / (select extract(epoch from '2026-07-18 13:20:13'::timestamp) - extract(epoch from '2026-07-18 13:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416909 -3.355219)'), GeomFromEWKT('SRID=4674;POINT (-38.416974 -3.355292)'))) / (select extract(epoch from '2026-07-18 13:20:13'::timestamp) - extract(epoch from '2026-07-18 13:20: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'), 47391, 'SRID=4674;POINT (-38.417041 -3.355374)', '2026-07-18 13:20:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416974 -3.355292)'), GeomFromEWKT('SRID=4674;POINT (-38.417041 -3.355374)'))) / (select extract(epoch from '2026-07-18 13:20:19'::timestamp) - extract(epoch from '2026-07-18 13:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.416974 -3.355292)'), GeomFromEWKT('SRID=4674;POINT (-38.417041 -3.355374)'))) / (select extract(epoch from '2026-07-18 13:20:19'::timestamp) - extract(epoch from '2026-07-18 13:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.417097 -3.355437)', '2026-07-18 13:20:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417041 -3.355374)'), GeomFromEWKT('SRID=4674;POINT (-38.417097 -3.355437)'))) / (select extract(epoch from '2026-07-18 13:20:24'::timestamp) - extract(epoch from '2026-07-18 13:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417041 -3.355374)'), GeomFromEWKT('SRID=4674;POINT (-38.417097 -3.355437)'))) / (select extract(epoch from '2026-07-18 13:20:24'::timestamp) - extract(epoch from '2026-07-18 13:20:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.417124 -3.355446)', '2026-07-18 13:20:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417097 -3.355437)'), GeomFromEWKT('SRID=4674;POINT (-38.417124 -3.355446)'))) / (select extract(epoch from '2026-07-18 13:20:26'::timestamp) - extract(epoch from '2026-07-18 13:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417097 -3.355437)'), GeomFromEWKT('SRID=4674;POINT (-38.417124 -3.355446)'))) / (select extract(epoch from '2026-07-18 13:20:26'::timestamp) - extract(epoch from '2026-07-18 13:20: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'), 47391, 'SRID=4674;POINT (-38.417145 -3.355472)', '2026-07-18 13:20:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417124 -3.355446)'), GeomFromEWKT('SRID=4674;POINT (-38.417145 -3.355472)'))) / (select extract(epoch from '2026-07-18 13:20:29'::timestamp) - extract(epoch from '2026-07-18 13:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417124 -3.355446)'), GeomFromEWKT('SRID=4674;POINT (-38.417145 -3.355472)'))) / (select extract(epoch from '2026-07-18 13:20:29'::timestamp) - extract(epoch from '2026-07-18 13:20:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.417195 -3.355533)', '2026-07-18 13:20:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417145 -3.355472)'), GeomFromEWKT('SRID=4674;POINT (-38.417195 -3.355533)'))) / (select extract(epoch from '2026-07-18 13:20:33'::timestamp) - extract(epoch from '2026-07-18 13:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417145 -3.355472)'), GeomFromEWKT('SRID=4674;POINT (-38.417195 -3.355533)'))) / (select extract(epoch from '2026-07-18 13:20:33'::timestamp) - extract(epoch from '2026-07-18 13:20:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.417196 -3.355543)', '2026-07-18 13:20:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417195 -3.355533)'), GeomFromEWKT('SRID=4674;POINT (-38.417196 -3.355543)'))) / (select extract(epoch from '2026-07-18 13:20:34'::timestamp) - extract(epoch from '2026-07-18 13:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417195 -3.355533)'), GeomFromEWKT('SRID=4674;POINT (-38.417196 -3.355543)'))) / (select extract(epoch from '2026-07-18 13:20:34'::timestamp) - extract(epoch from '2026-07-18 13:20: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'), 47391, 'SRID=4674;POINT (-38.417211 -3.355553)', '2026-07-18 13:20:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417196 -3.355543)'), GeomFromEWKT('SRID=4674;POINT (-38.417211 -3.355553)'))) / (select extract(epoch from '2026-07-18 13:20:36'::timestamp) - extract(epoch from '2026-07-18 13:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417196 -3.355543)'), GeomFromEWKT('SRID=4674;POINT (-38.417211 -3.355553)'))) / (select extract(epoch from '2026-07-18 13:20:36'::timestamp) - extract(epoch from '2026-07-18 13:20: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'), 47391, 'SRID=4674;POINT (-38.417248 -3.355587)', '2026-07-18 13:20:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417211 -3.355553)'), GeomFromEWKT('SRID=4674;POINT (-38.417248 -3.355587)'))) / (select extract(epoch from '2026-07-18 13:20:39'::timestamp) - extract(epoch from '2026-07-18 13:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417211 -3.355553)'), GeomFromEWKT('SRID=4674;POINT (-38.417248 -3.355587)'))) / (select extract(epoch from '2026-07-18 13:20:39'::timestamp) - extract(epoch from '2026-07-18 13:20: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'), 47391, 'SRID=4674;POINT (-38.417272 -3.355615)', '2026-07-18 13:20:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417248 -3.355587)'), GeomFromEWKT('SRID=4674;POINT (-38.417272 -3.355615)'))) / (select extract(epoch from '2026-07-18 13:20:43'::timestamp) - extract(epoch from '2026-07-18 13:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417248 -3.355587)'), GeomFromEWKT('SRID=4674;POINT (-38.417272 -3.355615)'))) / (select extract(epoch from '2026-07-18 13:20:43'::timestamp) - extract(epoch from '2026-07-18 13:20: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'), 47391, 'SRID=4674;POINT (-38.417317 -3.355647)', '2026-07-18 13:20:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417272 -3.355615)'), GeomFromEWKT('SRID=4674;POINT (-38.417317 -3.355647)'))) / (select extract(epoch from '2026-07-18 13:20:46'::timestamp) - extract(epoch from '2026-07-18 13:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417272 -3.355615)'), GeomFromEWKT('SRID=4674;POINT (-38.417317 -3.355647)'))) / (select extract(epoch from '2026-07-18 13:20:46'::timestamp) - extract(epoch from '2026-07-18 13:20: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'), 47391, 'SRID=4674;POINT (-38.417382 -3.355704)', '2026-07-18 13:20:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417317 -3.355647)'), GeomFromEWKT('SRID=4674;POINT (-38.417382 -3.355704)'))) / (select extract(epoch from '2026-07-18 13:20:52'::timestamp) - extract(epoch from '2026-07-18 13:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417317 -3.355647)'), GeomFromEWKT('SRID=4674;POINT (-38.417382 -3.355704)'))) / (select extract(epoch from '2026-07-18 13:20:52'::timestamp) - extract(epoch from '2026-07-18 13:20:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.417445 -3.355751)', '2026-07-18 13:20:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417382 -3.355704)'), GeomFromEWKT('SRID=4674;POINT (-38.417445 -3.355751)'))) / (select extract(epoch from '2026-07-18 13:20:57'::timestamp) - extract(epoch from '2026-07-18 13:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417382 -3.355704)'), GeomFromEWKT('SRID=4674;POINT (-38.417445 -3.355751)'))) / (select extract(epoch from '2026-07-18 13:20:57'::timestamp) - extract(epoch from '2026-07-18 13:20: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'), 47391, 'SRID=4674;POINT (-38.417508 -3.355808)', '2026-07-18 13:21:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417445 -3.355751)'), GeomFromEWKT('SRID=4674;POINT (-38.417508 -3.355808)'))) / (select extract(epoch from '2026-07-18 13:21:03'::timestamp) - extract(epoch from '2026-07-18 13:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417445 -3.355751)'), GeomFromEWKT('SRID=4674;POINT (-38.417508 -3.355808)'))) / (select extract(epoch from '2026-07-18 13:21:03'::timestamp) - extract(epoch from '2026-07-18 13:20: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'), 47391, 'SRID=4674;POINT (-38.417568 -3.355853)', '2026-07-18 13:21:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417508 -3.355808)'), GeomFromEWKT('SRID=4674;POINT (-38.417568 -3.355853)'))) / (select extract(epoch from '2026-07-18 13:21:08'::timestamp) - extract(epoch from '2026-07-18 13:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417508 -3.355808)'), GeomFromEWKT('SRID=4674;POINT (-38.417568 -3.355853)'))) / (select extract(epoch from '2026-07-18 13:21:08'::timestamp) - extract(epoch from '2026-07-18 13:21:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.417582 -3.355858)', '2026-07-18 13:21:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417568 -3.355853)'), GeomFromEWKT('SRID=4674;POINT (-38.417582 -3.355858)'))) / (select extract(epoch from '2026-07-18 13:21:09'::timestamp) - extract(epoch from '2026-07-18 13:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417568 -3.355853)'), GeomFromEWKT('SRID=4674;POINT (-38.417582 -3.355858)'))) / (select extract(epoch from '2026-07-18 13:21:09'::timestamp) - extract(epoch from '2026-07-18 13:21:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.417634 -3.355904)', '2026-07-18 13:21:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417582 -3.355858)'), GeomFromEWKT('SRID=4674;POINT (-38.417634 -3.355904)'))) / (select extract(epoch from '2026-07-18 13:21:14'::timestamp) - extract(epoch from '2026-07-18 13:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417582 -3.355858)'), GeomFromEWKT('SRID=4674;POINT (-38.417634 -3.355904)'))) / (select extract(epoch from '2026-07-18 13:21:14'::timestamp) - extract(epoch from '2026-07-18 13:21: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'), 47391, 'SRID=4674;POINT (-38.417643 -3.355913)', '2026-07-18 13:21:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417634 -3.355904)'), GeomFromEWKT('SRID=4674;POINT (-38.417643 -3.355913)'))) / (select extract(epoch from '2026-07-18 13:21:15'::timestamp) - extract(epoch from '2026-07-18 13:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417634 -3.355904)'), GeomFromEWKT('SRID=4674;POINT (-38.417643 -3.355913)'))) / (select extract(epoch from '2026-07-18 13:21:15'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.417671 -3.355937)', '2026-07-18 13:21:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417643 -3.355913)'), GeomFromEWKT('SRID=4674;POINT (-38.417671 -3.355937)'))) / (select extract(epoch from '2026-07-18 13:21:18'::timestamp) - extract(epoch from '2026-07-18 13:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417643 -3.355913)'), GeomFromEWKT('SRID=4674;POINT (-38.417671 -3.355937)'))) / (select extract(epoch from '2026-07-18 13:21:18'::timestamp) - extract(epoch from '2026-07-18 13:21: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'), 47391, 'SRID=4674;POINT (-38.417716 -3.355986)', '2026-07-18 13:21:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417671 -3.355937)'), GeomFromEWKT('SRID=4674;POINT (-38.417716 -3.355986)'))) / (select extract(epoch from '2026-07-18 13:21:22'::timestamp) - extract(epoch from '2026-07-18 13:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417671 -3.355937)'), GeomFromEWKT('SRID=4674;POINT (-38.417716 -3.355986)'))) / (select extract(epoch from '2026-07-18 13:21:22'::timestamp) - extract(epoch from '2026-07-18 13:21: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'), 47391, 'SRID=4674;POINT (-38.417725 -3.355992)', '2026-07-18 13:21:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417716 -3.355986)'), GeomFromEWKT('SRID=4674;POINT (-38.417725 -3.355992)'))) / (select extract(epoch from '2026-07-18 13:21:23'::timestamp) - extract(epoch from '2026-07-18 13:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417716 -3.355986)'), GeomFromEWKT('SRID=4674;POINT (-38.417725 -3.355992)'))) / (select extract(epoch from '2026-07-18 13:21:23'::timestamp) - extract(epoch from '2026-07-18 13:21: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'), 47391, 'SRID=4674;POINT (-38.417775 -3.356048)', '2026-07-18 13:21:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417725 -3.355992)'), GeomFromEWKT('SRID=4674;POINT (-38.417775 -3.356048)'))) / (select extract(epoch from '2026-07-18 13:21:29'::timestamp) - extract(epoch from '2026-07-18 13:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417725 -3.355992)'), GeomFromEWKT('SRID=4674;POINT (-38.417775 -3.356048)'))) / (select extract(epoch from '2026-07-18 13:21:29'::timestamp) - extract(epoch from '2026-07-18 13:21: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'), 47391, 'SRID=4674;POINT (-38.417788 -3.356068)', '2026-07-18 13:21:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417775 -3.356048)'), GeomFromEWKT('SRID=4674;POINT (-38.417788 -3.356068)'))) / (select extract(epoch from '2026-07-18 13:21:31'::timestamp) - extract(epoch from '2026-07-18 13:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417775 -3.356048)'), GeomFromEWKT('SRID=4674;POINT (-38.417788 -3.356068)'))) / (select extract(epoch from '2026-07-18 13:21:31'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.417806 -3.356083)', '2026-07-18 13:21:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417788 -3.356068)'), GeomFromEWKT('SRID=4674;POINT (-38.417806 -3.356083)'))) / (select extract(epoch from '2026-07-18 13:21:34'::timestamp) - extract(epoch from '2026-07-18 13:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417788 -3.356068)'), GeomFromEWKT('SRID=4674;POINT (-38.417806 -3.356083)'))) / (select extract(epoch from '2026-07-18 13:21:34'::timestamp) - extract(epoch from '2026-07-18 13:21: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'), 47391, 'SRID=4674;POINT (-38.41783 -3.356108)', '2026-07-18 13:21:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417806 -3.356083)'), GeomFromEWKT('SRID=4674;POINT (-38.41783 -3.356108)'))) / (select extract(epoch from '2026-07-18 13:21:39'::timestamp) - extract(epoch from '2026-07-18 13:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417806 -3.356083)'), GeomFromEWKT('SRID=4674;POINT (-38.41783 -3.356108)'))) / (select extract(epoch from '2026-07-18 13:21:39'::timestamp) - extract(epoch from '2026-07-18 13:21:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.417889 -3.356122)', '2026-07-18 13:21:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41783 -3.356108)'), GeomFromEWKT('SRID=4674;POINT (-38.417889 -3.356122)'))) / (select extract(epoch from '2026-07-18 13:21:45'::timestamp) - extract(epoch from '2026-07-18 13:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41783 -3.356108)'), GeomFromEWKT('SRID=4674;POINT (-38.417889 -3.356122)'))) / (select extract(epoch from '2026-07-18 13:21:45'::timestamp) - extract(epoch from '2026-07-18 13:21: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'), 47391, 'SRID=4674;POINT (-38.417995 -3.356184)', '2026-07-18 13:21:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417889 -3.356122)'), GeomFromEWKT('SRID=4674;POINT (-38.417995 -3.356184)'))) / (select extract(epoch from '2026-07-18 13:21:52'::timestamp) - extract(epoch from '2026-07-18 13:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417889 -3.356122)'), GeomFromEWKT('SRID=4674;POINT (-38.417995 -3.356184)'))) / (select extract(epoch from '2026-07-18 13:21:52'::timestamp) - extract(epoch from '2026-07-18 13:21:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.418073 -3.356245)', '2026-07-18 13:21:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417995 -3.356184)'), GeomFromEWKT('SRID=4674;POINT (-38.418073 -3.356245)'))) / (select extract(epoch from '2026-07-18 13:21:57'::timestamp) - extract(epoch from '2026-07-18 13:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.417995 -3.356184)'), GeomFromEWKT('SRID=4674;POINT (-38.418073 -3.356245)'))) / (select extract(epoch from '2026-07-18 13:21:57'::timestamp) - extract(epoch from '2026-07-18 13:21:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.418128 -3.356303)', '2026-07-18 13:22:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418073 -3.356245)'), GeomFromEWKT('SRID=4674;POINT (-38.418128 -3.356303)'))) / (select extract(epoch from '2026-07-18 13:22:02'::timestamp) - extract(epoch from '2026-07-18 13:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418073 -3.356245)'), GeomFromEWKT('SRID=4674;POINT (-38.418128 -3.356303)'))) / (select extract(epoch from '2026-07-18 13:22:02'::timestamp) - extract(epoch from '2026-07-18 13:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.418134 -3.356314)', '2026-07-18 13:22:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418128 -3.356303)'), GeomFromEWKT('SRID=4674;POINT (-38.418134 -3.356314)'))) / (select extract(epoch from '2026-07-18 13:22:03'::timestamp) - extract(epoch from '2026-07-18 13:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418128 -3.356303)'), GeomFromEWKT('SRID=4674;POINT (-38.418134 -3.356314)'))) / (select extract(epoch from '2026-07-18 13:22:03'::timestamp) - extract(epoch from '2026-07-18 13:22: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'), 47391, 'SRID=4674;POINT (-38.418158 -3.356348)', '2026-07-18 13:22:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418134 -3.356314)'), GeomFromEWKT('SRID=4674;POINT (-38.418158 -3.356348)'))) / (select extract(epoch from '2026-07-18 13:22:06'::timestamp) - extract(epoch from '2026-07-18 13:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418134 -3.356314)'), GeomFromEWKT('SRID=4674;POINT (-38.418158 -3.356348)'))) / (select extract(epoch from '2026-07-18 13:22:06'::timestamp) - extract(epoch from '2026-07-18 13:22: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'), 47391, 'SRID=4674;POINT (-38.418167 -3.356358)', '2026-07-18 13:22:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418158 -3.356348)'), GeomFromEWKT('SRID=4674;POINT (-38.418167 -3.356358)'))) / (select extract(epoch from '2026-07-18 13:22:07'::timestamp) - extract(epoch from '2026-07-18 13:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418158 -3.356348)'), GeomFromEWKT('SRID=4674;POINT (-38.418167 -3.356358)'))) / (select extract(epoch from '2026-07-18 13:22:07'::timestamp) - extract(epoch from '2026-07-18 13:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.418195 -3.35638)', '2026-07-18 13:22:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418167 -3.356358)'), GeomFromEWKT('SRID=4674;POINT (-38.418195 -3.35638)'))) / (select extract(epoch from '2026-07-18 13:22:09'::timestamp) - extract(epoch from '2026-07-18 13:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418167 -3.356358)'), GeomFromEWKT('SRID=4674;POINT (-38.418195 -3.35638)'))) / (select extract(epoch from '2026-07-18 13:22:09'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.418208 -3.356399)', '2026-07-18 13:22:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418195 -3.35638)'), GeomFromEWKT('SRID=4674;POINT (-38.418208 -3.356399)'))) / (select extract(epoch from '2026-07-18 13:22:11'::timestamp) - extract(epoch from '2026-07-18 13:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418195 -3.35638)'), GeomFromEWKT('SRID=4674;POINT (-38.418208 -3.356399)'))) / (select extract(epoch from '2026-07-18 13:22:11'::timestamp) - extract(epoch from '2026-07-18 13:22: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'), 47391, 'SRID=4674;POINT (-38.418231 -3.356418)', '2026-07-18 13:22:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418208 -3.356399)'), GeomFromEWKT('SRID=4674;POINT (-38.418231 -3.356418)'))) / (select extract(epoch from '2026-07-18 13:22:13'::timestamp) - extract(epoch from '2026-07-18 13:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418208 -3.356399)'), GeomFromEWKT('SRID=4674;POINT (-38.418231 -3.356418)'))) / (select extract(epoch from '2026-07-18 13:22:13'::timestamp) - extract(epoch from '2026-07-18 13:22: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'), 47391, 'SRID=4674;POINT (-38.41827 -3.35645)', '2026-07-18 13:22:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418231 -3.356418)'), GeomFromEWKT('SRID=4674;POINT (-38.41827 -3.35645)'))) / (select extract(epoch from '2026-07-18 13:22:16'::timestamp) - extract(epoch from '2026-07-18 13:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418231 -3.356418)'), GeomFromEWKT('SRID=4674;POINT (-38.41827 -3.35645)'))) / (select extract(epoch from '2026-07-18 13:22:16'::timestamp) - extract(epoch from '2026-07-18 13:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.418292 -3.356469)', '2026-07-18 13:22:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41827 -3.35645)'), GeomFromEWKT('SRID=4674;POINT (-38.418292 -3.356469)'))) / (select extract(epoch from '2026-07-18 13:22:18'::timestamp) - extract(epoch from '2026-07-18 13:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41827 -3.35645)'), GeomFromEWKT('SRID=4674;POINT (-38.418292 -3.356469)'))) / (select extract(epoch from '2026-07-18 13:22:18'::timestamp) - extract(epoch from '2026-07-18 13:22: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'), 47391, 'SRID=4674;POINT (-38.418312 -3.356492)', '2026-07-18 13:22:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418292 -3.356469)'), GeomFromEWKT('SRID=4674;POINT (-38.418312 -3.356492)'))) / (select extract(epoch from '2026-07-18 13:22:20'::timestamp) - extract(epoch from '2026-07-18 13:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418292 -3.356469)'), GeomFromEWKT('SRID=4674;POINT (-38.418312 -3.356492)'))) / (select extract(epoch from '2026-07-18 13:22:20'::timestamp) - extract(epoch from '2026-07-18 13:22: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'), 47391, 'SRID=4674;POINT (-38.418376 -3.356548)', '2026-07-18 13:22:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418312 -3.356492)'), GeomFromEWKT('SRID=4674;POINT (-38.418376 -3.356548)'))) / (select extract(epoch from '2026-07-18 13:22:25'::timestamp) - extract(epoch from '2026-07-18 13:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418312 -3.356492)'), GeomFromEWKT('SRID=4674;POINT (-38.418376 -3.356548)'))) / (select extract(epoch from '2026-07-18 13:22:25'::timestamp) - extract(epoch from '2026-07-18 13:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.418415 -3.356608)', '2026-07-18 13:22:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418376 -3.356548)'), GeomFromEWKT('SRID=4674;POINT (-38.418415 -3.356608)'))) / (select extract(epoch from '2026-07-18 13:22:30'::timestamp) - extract(epoch from '2026-07-18 13:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418376 -3.356548)'), GeomFromEWKT('SRID=4674;POINT (-38.418415 -3.356608)'))) / (select extract(epoch from '2026-07-18 13:22:30'::timestamp) - extract(epoch from '2026-07-18 13:22:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.418435 -3.356653)', '2026-07-18 13:22:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418415 -3.356608)'), GeomFromEWKT('SRID=4674;POINT (-38.418435 -3.356653)'))) / (select extract(epoch from '2026-07-18 13:22:34'::timestamp) - extract(epoch from '2026-07-18 13:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418415 -3.356608)'), GeomFromEWKT('SRID=4674;POINT (-38.418435 -3.356653)'))) / (select extract(epoch from '2026-07-18 13:22:34'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.418462 -3.356674)', '2026-07-18 13:22:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418435 -3.356653)'), GeomFromEWKT('SRID=4674;POINT (-38.418462 -3.356674)'))) / (select extract(epoch from '2026-07-18 13:22:37'::timestamp) - extract(epoch from '2026-07-18 13:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418435 -3.356653)'), GeomFromEWKT('SRID=4674;POINT (-38.418462 -3.356674)'))) / (select extract(epoch from '2026-07-18 13:22:37'::timestamp) - extract(epoch from '2026-07-18 13:22:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.418511 -3.356716)', '2026-07-18 13:22:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418462 -3.356674)'), GeomFromEWKT('SRID=4674;POINT (-38.418511 -3.356716)'))) / (select extract(epoch from '2026-07-18 13:22:41'::timestamp) - extract(epoch from '2026-07-18 13:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418462 -3.356674)'), GeomFromEWKT('SRID=4674;POINT (-38.418511 -3.356716)'))) / (select extract(epoch from '2026-07-18 13:22:41'::timestamp) - extract(epoch from '2026-07-18 13:22:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.418519 -3.356726)', '2026-07-18 13:22:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418511 -3.356716)'), GeomFromEWKT('SRID=4674;POINT (-38.418519 -3.356726)'))) / (select extract(epoch from '2026-07-18 13:22:42'::timestamp) - extract(epoch from '2026-07-18 13:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418511 -3.356716)'), GeomFromEWKT('SRID=4674;POINT (-38.418519 -3.356726)'))) / (select extract(epoch from '2026-07-18 13:22:42'::timestamp) - extract(epoch from '2026-07-18 13:22: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'), 47391, 'SRID=4674;POINT (-38.418581 -3.356768)', '2026-07-18 13:22:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418519 -3.356726)'), GeomFromEWKT('SRID=4674;POINT (-38.418581 -3.356768)'))) / (select extract(epoch from '2026-07-18 13:22:46'::timestamp) - extract(epoch from '2026-07-18 13:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418519 -3.356726)'), GeomFromEWKT('SRID=4674;POINT (-38.418581 -3.356768)'))) / (select extract(epoch from '2026-07-18 13:22:46'::timestamp) - extract(epoch from '2026-07-18 13:22: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'), 47391, 'SRID=4674;POINT (-38.418617 -3.356823)', '2026-07-18 13:22:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418581 -3.356768)'), GeomFromEWKT('SRID=4674;POINT (-38.418617 -3.356823)'))) / (select extract(epoch from '2026-07-18 13:22:50'::timestamp) - extract(epoch from '2026-07-18 13:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418581 -3.356768)'), GeomFromEWKT('SRID=4674;POINT (-38.418617 -3.356823)'))) / (select extract(epoch from '2026-07-18 13:22:50'::timestamp) - extract(epoch from '2026-07-18 13:22:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.418651 -3.356848)', '2026-07-18 13:22:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418617 -3.356823)'), GeomFromEWKT('SRID=4674;POINT (-38.418651 -3.356848)'))) / (select extract(epoch from '2026-07-18 13:22:52'::timestamp) - extract(epoch from '2026-07-18 13:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418617 -3.356823)'), GeomFromEWKT('SRID=4674;POINT (-38.418651 -3.356848)'))) / (select extract(epoch from '2026-07-18 13:22:52'::timestamp) - extract(epoch from '2026-07-18 13:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.418702 -3.356931)', '2026-07-18 13:22:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418651 -3.356848)'), GeomFromEWKT('SRID=4674;POINT (-38.418702 -3.356931)'))) / (select extract(epoch from '2026-07-18 13:22:57'::timestamp) - extract(epoch from '2026-07-18 13:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418651 -3.356848)'), GeomFromEWKT('SRID=4674;POINT (-38.418702 -3.356931)'))) / (select extract(epoch from '2026-07-18 13:22:57'::timestamp) - extract(epoch from '2026-07-18 13:22: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'), 47391, 'SRID=4674;POINT (-38.418749 -3.356989)', '2026-07-18 13:23:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418702 -3.356931)'), GeomFromEWKT('SRID=4674;POINT (-38.418749 -3.356989)'))) / (select extract(epoch from '2026-07-18 13:23:01'::timestamp) - extract(epoch from '2026-07-18 13:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418702 -3.356931)'), GeomFromEWKT('SRID=4674;POINT (-38.418749 -3.356989)'))) / (select extract(epoch from '2026-07-18 13:23:01'::timestamp) - extract(epoch from '2026-07-18 13:22:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.418811 -3.357075)', '2026-07-18 13:23:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418749 -3.356989)'), GeomFromEWKT('SRID=4674;POINT (-38.418811 -3.357075)'))) / (select extract(epoch from '2026-07-18 13:23:07'::timestamp) - extract(epoch from '2026-07-18 13:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418749 -3.356989)'), GeomFromEWKT('SRID=4674;POINT (-38.418811 -3.357075)'))) / (select extract(epoch from '2026-07-18 13:23:07'::timestamp) - extract(epoch from '2026-07-18 13:23: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'), 47391, 'SRID=4674;POINT (-38.418869 -3.35717)', '2026-07-18 13:23:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418811 -3.357075)'), GeomFromEWKT('SRID=4674;POINT (-38.418869 -3.35717)'))) / (select extract(epoch from '2026-07-18 13:23:13'::timestamp) - extract(epoch from '2026-07-18 13:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418811 -3.357075)'), GeomFromEWKT('SRID=4674;POINT (-38.418869 -3.35717)'))) / (select extract(epoch from '2026-07-18 13:23:13'::timestamp) - extract(epoch from '2026-07-18 13:23: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'), 47391, 'SRID=4674;POINT (-38.418926 -3.357241)', '2026-07-18 13:23:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418869 -3.35717)'), GeomFromEWKT('SRID=4674;POINT (-38.418926 -3.357241)'))) / (select extract(epoch from '2026-07-18 13:23:18'::timestamp) - extract(epoch from '2026-07-18 13:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418869 -3.35717)'), GeomFromEWKT('SRID=4674;POINT (-38.418926 -3.357241)'))) / (select extract(epoch from '2026-07-18 13:23:18'::timestamp) - extract(epoch from '2026-07-18 13:23:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.418982 -3.357303)', '2026-07-18 13:23:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418926 -3.357241)'), GeomFromEWKT('SRID=4674;POINT (-38.418982 -3.357303)'))) / (select extract(epoch from '2026-07-18 13:23:23'::timestamp) - extract(epoch from '2026-07-18 13:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418926 -3.357241)'), GeomFromEWKT('SRID=4674;POINT (-38.418982 -3.357303)'))) / (select extract(epoch from '2026-07-18 13:23:23'::timestamp) - extract(epoch from '2026-07-18 13:23: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'), 47391, 'SRID=4674;POINT (-38.419004 -3.357325)', '2026-07-18 13:23:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418982 -3.357303)'), GeomFromEWKT('SRID=4674;POINT (-38.419004 -3.357325)'))) / (select extract(epoch from '2026-07-18 13:23:25'::timestamp) - extract(epoch from '2026-07-18 13:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.418982 -3.357303)'), GeomFromEWKT('SRID=4674;POINT (-38.419004 -3.357325)'))) / (select extract(epoch from '2026-07-18 13:23:25'::timestamp) - extract(epoch from '2026-07-18 13:23:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.419035 -3.357364)', '2026-07-18 13:23:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419004 -3.357325)'), GeomFromEWKT('SRID=4674;POINT (-38.419035 -3.357364)'))) / (select extract(epoch from '2026-07-18 13:23:28'::timestamp) - extract(epoch from '2026-07-18 13:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419004 -3.357325)'), GeomFromEWKT('SRID=4674;POINT (-38.419035 -3.357364)'))) / (select extract(epoch from '2026-07-18 13:23:28'::timestamp) - extract(epoch from '2026-07-18 13:23:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.419102 -3.357463)', '2026-07-18 13:23:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419035 -3.357364)'), GeomFromEWKT('SRID=4674;POINT (-38.419102 -3.357463)'))) / (select extract(epoch from '2026-07-18 13:23:35'::timestamp) - extract(epoch from '2026-07-18 13:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419035 -3.357364)'), GeomFromEWKT('SRID=4674;POINT (-38.419102 -3.357463)'))) / (select extract(epoch from '2026-07-18 13:23:35'::timestamp) - extract(epoch from '2026-07-18 13:23:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.419122 -3.35749)', '2026-07-18 13:23:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419102 -3.357463)'), GeomFromEWKT('SRID=4674;POINT (-38.419122 -3.35749)'))) / (select extract(epoch from '2026-07-18 13:23:37'::timestamp) - extract(epoch from '2026-07-18 13:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419102 -3.357463)'), GeomFromEWKT('SRID=4674;POINT (-38.419122 -3.35749)'))) / (select extract(epoch from '2026-07-18 13:23:37'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.419148 -3.357517)', '2026-07-18 13:23:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419122 -3.35749)'), GeomFromEWKT('SRID=4674;POINT (-38.419148 -3.357517)'))) / (select extract(epoch from '2026-07-18 13:23:39'::timestamp) - extract(epoch from '2026-07-18 13:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419122 -3.35749)'), GeomFromEWKT('SRID=4674;POINT (-38.419148 -3.357517)'))) / (select extract(epoch from '2026-07-18 13:23:39'::timestamp) - extract(epoch from '2026-07-18 13:23: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'), 47391, 'SRID=4674;POINT (-38.41923 -3.357606)', '2026-07-18 13:23:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419148 -3.357517)'), GeomFromEWKT('SRID=4674;POINT (-38.41923 -3.357606)'))) / (select extract(epoch from '2026-07-18 13:23:46'::timestamp) - extract(epoch from '2026-07-18 13:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419148 -3.357517)'), GeomFromEWKT('SRID=4674;POINT (-38.41923 -3.357606)'))) / (select extract(epoch from '2026-07-18 13:23:46'::timestamp) - extract(epoch from '2026-07-18 13:23:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.419304 -3.35768)', '2026-07-18 13:23:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41923 -3.357606)'), GeomFromEWKT('SRID=4674;POINT (-38.419304 -3.35768)'))) / (select extract(epoch from '2026-07-18 13:23:52'::timestamp) - extract(epoch from '2026-07-18 13:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41923 -3.357606)'), GeomFromEWKT('SRID=4674;POINT (-38.419304 -3.35768)'))) / (select extract(epoch from '2026-07-18 13:23:52'::timestamp) - extract(epoch from '2026-07-18 13:23: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'), 47391, 'SRID=4674;POINT (-38.419373 -3.357745)', '2026-07-18 13:23:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419304 -3.35768)'), GeomFromEWKT('SRID=4674;POINT (-38.419373 -3.357745)'))) / (select extract(epoch from '2026-07-18 13:23:57'::timestamp) - extract(epoch from '2026-07-18 13:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419304 -3.35768)'), GeomFromEWKT('SRID=4674;POINT (-38.419373 -3.357745)'))) / (select extract(epoch from '2026-07-18 13:23:57'::timestamp) - extract(epoch from '2026-07-18 13:23: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'), 47391, 'SRID=4674;POINT (-38.419434 -3.357821)', '2026-07-18 13:24:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419373 -3.357745)'), GeomFromEWKT('SRID=4674;POINT (-38.419434 -3.357821)'))) / (select extract(epoch from '2026-07-18 13:24:02'::timestamp) - extract(epoch from '2026-07-18 13:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419373 -3.357745)'), GeomFromEWKT('SRID=4674;POINT (-38.419434 -3.357821)'))) / (select extract(epoch from '2026-07-18 13:24:02'::timestamp) - extract(epoch from '2026-07-18 13:23:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4195 -3.357911)', '2026-07-18 13:24:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419434 -3.357821)'), GeomFromEWKT('SRID=4674;POINT (-38.4195 -3.357911)'))) / (select extract(epoch from '2026-07-18 13:24:08'::timestamp) - extract(epoch from '2026-07-18 13:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419434 -3.357821)'), GeomFromEWKT('SRID=4674;POINT (-38.4195 -3.357911)'))) / (select extract(epoch from '2026-07-18 13:24:08'::timestamp) - extract(epoch from '2026-07-18 13:24:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.41955 -3.357979)', '2026-07-18 13:24:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4195 -3.357911)'), GeomFromEWKT('SRID=4674;POINT (-38.41955 -3.357979)'))) / (select extract(epoch from '2026-07-18 13:24:13'::timestamp) - extract(epoch from '2026-07-18 13:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4195 -3.357911)'), GeomFromEWKT('SRID=4674;POINT (-38.41955 -3.357979)'))) / (select extract(epoch from '2026-07-18 13:24:13'::timestamp) - extract(epoch from '2026-07-18 13:24: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'), 47391, 'SRID=4674;POINT (-38.419597 -3.358055)', '2026-07-18 13:24:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41955 -3.357979)'), GeomFromEWKT('SRID=4674;POINT (-38.419597 -3.358055)'))) / (select extract(epoch from '2026-07-18 13:24:18'::timestamp) - extract(epoch from '2026-07-18 13:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41955 -3.357979)'), GeomFromEWKT('SRID=4674;POINT (-38.419597 -3.358055)'))) / (select extract(epoch from '2026-07-18 13:24:18'::timestamp) - extract(epoch from '2026-07-18 13:24: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'), 47391, 'SRID=4674;POINT (-38.419625 -3.35808)', '2026-07-18 13:24:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419597 -3.358055)'), GeomFromEWKT('SRID=4674;POINT (-38.419625 -3.35808)'))) / (select extract(epoch from '2026-07-18 13:24:20'::timestamp) - extract(epoch from '2026-07-18 13:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419597 -3.358055)'), GeomFromEWKT('SRID=4674;POINT (-38.419625 -3.35808)'))) / (select extract(epoch from '2026-07-18 13:24:20'::timestamp) - extract(epoch from '2026-07-18 13:24:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.419641 -3.358118)', '2026-07-18 13:24:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419625 -3.35808)'), GeomFromEWKT('SRID=4674;POINT (-38.419641 -3.358118)'))) / (select extract(epoch from '2026-07-18 13:24:22'::timestamp) - extract(epoch from '2026-07-18 13:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419625 -3.35808)'), GeomFromEWKT('SRID=4674;POINT (-38.419641 -3.358118)'))) / (select extract(epoch from '2026-07-18 13:24:22'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.419715 -3.35824)', '2026-07-18 13:24:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419641 -3.358118)'), GeomFromEWKT('SRID=4674;POINT (-38.419715 -3.35824)'))) / (select extract(epoch from '2026-07-18 13:24:29'::timestamp) - extract(epoch from '2026-07-18 13:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419641 -3.358118)'), GeomFromEWKT('SRID=4674;POINT (-38.419715 -3.35824)'))) / (select extract(epoch from '2026-07-18 13:24:29'::timestamp) - extract(epoch from '2026-07-18 13:24: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'), 47391, 'SRID=4674;POINT (-38.41974 -3.358281)', '2026-07-18 13:24:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419715 -3.35824)'), GeomFromEWKT('SRID=4674;POINT (-38.41974 -3.358281)'))) / (select extract(epoch from '2026-07-18 13:24:32'::timestamp) - extract(epoch from '2026-07-18 13:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419715 -3.35824)'), GeomFromEWKT('SRID=4674;POINT (-38.41974 -3.358281)'))) / (select extract(epoch from '2026-07-18 13:24:32'::timestamp) - extract(epoch from '2026-07-18 13:24:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.419754 -3.358292)', '2026-07-18 13:24:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41974 -3.358281)'), GeomFromEWKT('SRID=4674;POINT (-38.419754 -3.358292)'))) / (select extract(epoch from '2026-07-18 13:24:33'::timestamp) - extract(epoch from '2026-07-18 13:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41974 -3.358281)'), GeomFromEWKT('SRID=4674;POINT (-38.419754 -3.358292)'))) / (select extract(epoch from '2026-07-18 13:24:33'::timestamp) - extract(epoch from '2026-07-18 13:24:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.41979 -3.358342)', '2026-07-18 13:24:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419754 -3.358292)'), GeomFromEWKT('SRID=4674;POINT (-38.41979 -3.358342)'))) / (select extract(epoch from '2026-07-18 13:24:36'::timestamp) - extract(epoch from '2026-07-18 13:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419754 -3.358292)'), GeomFromEWKT('SRID=4674;POINT (-38.41979 -3.358342)'))) / (select extract(epoch from '2026-07-18 13:24:36'::timestamp) - extract(epoch from '2026-07-18 13:24: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'), 47391, 'SRID=4674;POINT (-38.419791 -3.358359)', '2026-07-18 13:24:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41979 -3.358342)'), GeomFromEWKT('SRID=4674;POINT (-38.419791 -3.358359)'))) / (select extract(epoch from '2026-07-18 13:24:37'::timestamp) - extract(epoch from '2026-07-18 13:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.41979 -3.358342)'), GeomFromEWKT('SRID=4674;POINT (-38.419791 -3.358359)'))) / (select extract(epoch from '2026-07-18 13:24:37'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.419797 -3.358368)', '2026-07-18 13:24:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419791 -3.358359)'), GeomFromEWKT('SRID=4674;POINT (-38.419797 -3.358368)'))) / (select extract(epoch from '2026-07-18 13:24:38'::timestamp) - extract(epoch from '2026-07-18 13:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419791 -3.358359)'), GeomFromEWKT('SRID=4674;POINT (-38.419797 -3.358368)'))) / (select extract(epoch from '2026-07-18 13:24:38'::timestamp) - extract(epoch from '2026-07-18 13:24:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.419826 -3.358403)', '2026-07-18 13:24:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419797 -3.358368)'), GeomFromEWKT('SRID=4674;POINT (-38.419826 -3.358403)'))) / (select extract(epoch from '2026-07-18 13:24:41'::timestamp) - extract(epoch from '2026-07-18 13:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419797 -3.358368)'), GeomFromEWKT('SRID=4674;POINT (-38.419826 -3.358403)'))) / (select extract(epoch from '2026-07-18 13:24:41'::timestamp) - extract(epoch from '2026-07-18 13:24:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.419839 -3.358431)', '2026-07-18 13:24:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419826 -3.358403)'), GeomFromEWKT('SRID=4674;POINT (-38.419839 -3.358431)'))) / (select extract(epoch from '2026-07-18 13:24:43'::timestamp) - extract(epoch from '2026-07-18 13:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419826 -3.358403)'), GeomFromEWKT('SRID=4674;POINT (-38.419839 -3.358431)'))) / (select extract(epoch from '2026-07-18 13:24:43'::timestamp) - extract(epoch from '2026-07-18 13:24: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'), 47391, 'SRID=4674;POINT (-38.419879 -3.358472)', '2026-07-18 13:24:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419839 -3.358431)'), GeomFromEWKT('SRID=4674;POINT (-38.419879 -3.358472)'))) / (select extract(epoch from '2026-07-18 13:24:46'::timestamp) - extract(epoch from '2026-07-18 13:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419839 -3.358431)'), GeomFromEWKT('SRID=4674;POINT (-38.419879 -3.358472)'))) / (select extract(epoch from '2026-07-18 13:24:46'::timestamp) - extract(epoch from '2026-07-18 13:24: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'), 47391, 'SRID=4674;POINT (-38.419941 -3.358543)', '2026-07-18 13:24:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419879 -3.358472)'), GeomFromEWKT('SRID=4674;POINT (-38.419941 -3.358543)'))) / (select extract(epoch from '2026-07-18 13:24:52'::timestamp) - extract(epoch from '2026-07-18 13:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419879 -3.358472)'), GeomFromEWKT('SRID=4674;POINT (-38.419941 -3.358543)'))) / (select extract(epoch from '2026-07-18 13:24:52'::timestamp) - extract(epoch from '2026-07-18 13:24:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.420005 -3.358631)', '2026-07-18 13:24:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419941 -3.358543)'), GeomFromEWKT('SRID=4674;POINT (-38.420005 -3.358631)'))) / (select extract(epoch from '2026-07-18 13:24:58'::timestamp) - extract(epoch from '2026-07-18 13:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.419941 -3.358543)'), GeomFromEWKT('SRID=4674;POINT (-38.420005 -3.358631)'))) / (select extract(epoch from '2026-07-18 13:24:58'::timestamp) - extract(epoch from '2026-07-18 13:24: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'), 47391, 'SRID=4674;POINT (-38.420052 -3.358697)', '2026-07-18 13:25:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420005 -3.358631)'), GeomFromEWKT('SRID=4674;POINT (-38.420052 -3.358697)'))) / (select extract(epoch from '2026-07-18 13:25:03'::timestamp) - extract(epoch from '2026-07-18 13:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420005 -3.358631)'), GeomFromEWKT('SRID=4674;POINT (-38.420052 -3.358697)'))) / (select extract(epoch from '2026-07-18 13:25:03'::timestamp) - extract(epoch from '2026-07-18 13:24: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'), 47391, 'SRID=4674;POINT (-38.420108 -3.358783)', '2026-07-18 13:25:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420052 -3.358697)'), GeomFromEWKT('SRID=4674;POINT (-38.420108 -3.358783)'))) / (select extract(epoch from '2026-07-18 13:25:08'::timestamp) - extract(epoch from '2026-07-18 13:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420052 -3.358697)'), GeomFromEWKT('SRID=4674;POINT (-38.420108 -3.358783)'))) / (select extract(epoch from '2026-07-18 13:25:08'::timestamp) - extract(epoch from '2026-07-18 13:25: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'), 47391, 'SRID=4674;POINT (-38.42014 -3.358833)', '2026-07-18 13:25:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420108 -3.358783)'), GeomFromEWKT('SRID=4674;POINT (-38.42014 -3.358833)'))) / (select extract(epoch from '2026-07-18 13:25:12'::timestamp) - extract(epoch from '2026-07-18 13:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420108 -3.358783)'), GeomFromEWKT('SRID=4674;POINT (-38.42014 -3.358833)'))) / (select extract(epoch from '2026-07-18 13:25:12'::timestamp) - extract(epoch from '2026-07-18 13:25: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'), 47391, 'SRID=4674;POINT (-38.420195 -3.358895)', '2026-07-18 13:25:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42014 -3.358833)'), GeomFromEWKT('SRID=4674;POINT (-38.420195 -3.358895)'))) / (select extract(epoch from '2026-07-18 13:25:17'::timestamp) - extract(epoch from '2026-07-18 13:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42014 -3.358833)'), GeomFromEWKT('SRID=4674;POINT (-38.420195 -3.358895)'))) / (select extract(epoch from '2026-07-18 13:25:17'::timestamp) - extract(epoch from '2026-07-18 13:25: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'), 47391, 'SRID=4674;POINT (-38.420244 -3.358958)', '2026-07-18 13:25:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420195 -3.358895)'), GeomFromEWKT('SRID=4674;POINT (-38.420244 -3.358958)'))) / (select extract(epoch from '2026-07-18 13:25:21'::timestamp) - extract(epoch from '2026-07-18 13:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420195 -3.358895)'), GeomFromEWKT('SRID=4674;POINT (-38.420244 -3.358958)'))) / (select extract(epoch from '2026-07-18 13:25:21'::timestamp) - extract(epoch from '2026-07-18 13:25:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.420321 -3.359077)', '2026-07-18 13:25:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420244 -3.358958)'), GeomFromEWKT('SRID=4674;POINT (-38.420321 -3.359077)'))) / (select extract(epoch from '2026-07-18 13:25:28'::timestamp) - extract(epoch from '2026-07-18 13:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420244 -3.358958)'), GeomFromEWKT('SRID=4674;POINT (-38.420321 -3.359077)'))) / (select extract(epoch from '2026-07-18 13:25:28'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.420398 -3.35918)', '2026-07-18 13:25:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420321 -3.359077)'), GeomFromEWKT('SRID=4674;POINT (-38.420398 -3.35918)'))) / (select extract(epoch from '2026-07-18 13:25:35'::timestamp) - extract(epoch from '2026-07-18 13:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420321 -3.359077)'), GeomFromEWKT('SRID=4674;POINT (-38.420398 -3.35918)'))) / (select extract(epoch from '2026-07-18 13:25:35'::timestamp) - extract(epoch from '2026-07-18 13:25:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.42045 -3.359265)', '2026-07-18 13:25:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420398 -3.35918)'), GeomFromEWKT('SRID=4674;POINT (-38.42045 -3.359265)'))) / (select extract(epoch from '2026-07-18 13:25:40'::timestamp) - extract(epoch from '2026-07-18 13:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420398 -3.35918)'), GeomFromEWKT('SRID=4674;POINT (-38.42045 -3.359265)'))) / (select extract(epoch from '2026-07-18 13:25:40'::timestamp) - extract(epoch from '2026-07-18 13:25: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'), 47391, 'SRID=4674;POINT (-38.420495 -3.359359)', '2026-07-18 13:25:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42045 -3.359265)'), GeomFromEWKT('SRID=4674;POINT (-38.420495 -3.359359)'))) / (select extract(epoch from '2026-07-18 13:25:45'::timestamp) - extract(epoch from '2026-07-18 13:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42045 -3.359265)'), GeomFromEWKT('SRID=4674;POINT (-38.420495 -3.359359)'))) / (select extract(epoch from '2026-07-18 13:25:45'::timestamp) - extract(epoch from '2026-07-18 13:25: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'), 47391, 'SRID=4674;POINT (-38.420541 -3.359446)', '2026-07-18 13:25:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420495 -3.359359)'), GeomFromEWKT('SRID=4674;POINT (-38.420541 -3.359446)'))) / (select extract(epoch from '2026-07-18 13:25:51'::timestamp) - extract(epoch from '2026-07-18 13:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420495 -3.359359)'), GeomFromEWKT('SRID=4674;POINT (-38.420541 -3.359446)'))) / (select extract(epoch from '2026-07-18 13:25:51'::timestamp) - extract(epoch from '2026-07-18 13:25:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.420588 -3.359526)', '2026-07-18 13:25:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420541 -3.359446)'), GeomFromEWKT('SRID=4674;POINT (-38.420588 -3.359526)'))) / (select extract(epoch from '2026-07-18 13:25:56'::timestamp) - extract(epoch from '2026-07-18 13:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420541 -3.359446)'), GeomFromEWKT('SRID=4674;POINT (-38.420588 -3.359526)'))) / (select extract(epoch from '2026-07-18 13:25:56'::timestamp) - extract(epoch from '2026-07-18 13:25:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.420602 -3.359544)', '2026-07-18 13:25:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420588 -3.359526)'), GeomFromEWKT('SRID=4674;POINT (-38.420602 -3.359544)'))) / (select extract(epoch from '2026-07-18 13:25:57'::timestamp) - extract(epoch from '2026-07-18 13:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420588 -3.359526)'), GeomFromEWKT('SRID=4674;POINT (-38.420602 -3.359544)'))) / (select extract(epoch from '2026-07-18 13:25:57'::timestamp) - extract(epoch from '2026-07-18 13:25: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'), 47391, 'SRID=4674;POINT (-38.420644 -3.359632)', '2026-07-18 13:26:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420602 -3.359544)'), GeomFromEWKT('SRID=4674;POINT (-38.420644 -3.359632)'))) / (select extract(epoch from '2026-07-18 13:26:02'::timestamp) - extract(epoch from '2026-07-18 13:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420602 -3.359544)'), GeomFromEWKT('SRID=4674;POINT (-38.420644 -3.359632)'))) / (select extract(epoch from '2026-07-18 13:26:02'::timestamp) - extract(epoch from '2026-07-18 13:25:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.420716 -3.359746)', '2026-07-18 13:26:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420644 -3.359632)'), GeomFromEWKT('SRID=4674;POINT (-38.420716 -3.359746)'))) / (select extract(epoch from '2026-07-18 13:26:09'::timestamp) - extract(epoch from '2026-07-18 13:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420644 -3.359632)'), GeomFromEWKT('SRID=4674;POINT (-38.420716 -3.359746)'))) / (select extract(epoch from '2026-07-18 13:26:09'::timestamp) - extract(epoch from '2026-07-18 13:26: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'), 47391, 'SRID=4674;POINT (-38.420766 -3.359825)', '2026-07-18 13:26:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420716 -3.359746)'), GeomFromEWKT('SRID=4674;POINT (-38.420766 -3.359825)'))) / (select extract(epoch from '2026-07-18 13:26:14'::timestamp) - extract(epoch from '2026-07-18 13:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420716 -3.359746)'), GeomFromEWKT('SRID=4674;POINT (-38.420766 -3.359825)'))) / (select extract(epoch from '2026-07-18 13:26:14'::timestamp) - extract(epoch from '2026-07-18 13:26: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'), 47391, 'SRID=4674;POINT (-38.4208 -3.359902)', '2026-07-18 13:26:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420766 -3.359825)'), GeomFromEWKT('SRID=4674;POINT (-38.4208 -3.359902)'))) / (select extract(epoch from '2026-07-18 13:26:19'::timestamp) - extract(epoch from '2026-07-18 13:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420766 -3.359825)'), GeomFromEWKT('SRID=4674;POINT (-38.4208 -3.359902)'))) / (select extract(epoch from '2026-07-18 13:26:19'::timestamp) - extract(epoch from '2026-07-18 13:26: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'), 47391, 'SRID=4674;POINT (-38.420849 -3.359954)', '2026-07-18 13:26:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4208 -3.359902)'), GeomFromEWKT('SRID=4674;POINT (-38.420849 -3.359954)'))) / (select extract(epoch from '2026-07-18 13:26:23'::timestamp) - extract(epoch from '2026-07-18 13:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4208 -3.359902)'), GeomFromEWKT('SRID=4674;POINT (-38.420849 -3.359954)'))) / (select extract(epoch from '2026-07-18 13:26:23'::timestamp) - extract(epoch from '2026-07-18 13:26:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.420853 -3.359965)', '2026-07-18 13:26:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420849 -3.359954)'), GeomFromEWKT('SRID=4674;POINT (-38.420853 -3.359965)'))) / (select extract(epoch from '2026-07-18 13:26:24'::timestamp) - extract(epoch from '2026-07-18 13:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420849 -3.359954)'), GeomFromEWKT('SRID=4674;POINT (-38.420853 -3.359965)'))) / (select extract(epoch from '2026-07-18 13:26:24'::timestamp) - extract(epoch from '2026-07-18 13:26: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'), 47391, 'SRID=4674;POINT (-38.420861 -3.359976)', '2026-07-18 13:26:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420853 -3.359965)'), GeomFromEWKT('SRID=4674;POINT (-38.420861 -3.359976)'))) / (select extract(epoch from '2026-07-18 13:26:25'::timestamp) - extract(epoch from '2026-07-18 13:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420853 -3.359965)'), GeomFromEWKT('SRID=4674;POINT (-38.420861 -3.359976)'))) / (select extract(epoch from '2026-07-18 13:26:25'::timestamp) - extract(epoch from '2026-07-18 13:26: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'), 47391, 'SRID=4674;POINT (-38.420911 -3.360023)', '2026-07-18 13:26:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420861 -3.359976)'), GeomFromEWKT('SRID=4674;POINT (-38.420911 -3.360023)'))) / (select extract(epoch from '2026-07-18 13:26:29'::timestamp) - extract(epoch from '2026-07-18 13:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420861 -3.359976)'), GeomFromEWKT('SRID=4674;POINT (-38.420911 -3.360023)'))) / (select extract(epoch from '2026-07-18 13:26:29'::timestamp) - extract(epoch from '2026-07-18 13:26: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'), 47391, 'SRID=4674;POINT (-38.420931 -3.360051)', '2026-07-18 13:26:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420911 -3.360023)'), GeomFromEWKT('SRID=4674;POINT (-38.420931 -3.360051)'))) / (select extract(epoch from '2026-07-18 13:26:31'::timestamp) - extract(epoch from '2026-07-18 13:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420911 -3.360023)'), GeomFromEWKT('SRID=4674;POINT (-38.420931 -3.360051)'))) / (select extract(epoch from '2026-07-18 13:26:31'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.42097 -3.36009)', '2026-07-18 13:26:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420931 -3.360051)'), GeomFromEWKT('SRID=4674;POINT (-38.42097 -3.36009)'))) / (select extract(epoch from '2026-07-18 13:26:34'::timestamp) - extract(epoch from '2026-07-18 13:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420931 -3.360051)'), GeomFromEWKT('SRID=4674;POINT (-38.42097 -3.36009)'))) / (select extract(epoch from '2026-07-18 13:26:34'::timestamp) - extract(epoch from '2026-07-18 13:26: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'), 47391, 'SRID=4674;POINT (-38.420988 -3.360118)', '2026-07-18 13:26:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42097 -3.36009)'), GeomFromEWKT('SRID=4674;POINT (-38.420988 -3.360118)'))) / (select extract(epoch from '2026-07-18 13:26:36'::timestamp) - extract(epoch from '2026-07-18 13:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42097 -3.36009)'), GeomFromEWKT('SRID=4674;POINT (-38.420988 -3.360118)'))) / (select extract(epoch from '2026-07-18 13:26:36'::timestamp) - extract(epoch from '2026-07-18 13:26: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'), 47391, 'SRID=4674;POINT (-38.42102 -3.360163)', '2026-07-18 13:26:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420988 -3.360118)'), GeomFromEWKT('SRID=4674;POINT (-38.42102 -3.360163)'))) / (select extract(epoch from '2026-07-18 13:26:39'::timestamp) - extract(epoch from '2026-07-18 13:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.420988 -3.360118)'), GeomFromEWKT('SRID=4674;POINT (-38.42102 -3.360163)'))) / (select extract(epoch from '2026-07-18 13:26:39'::timestamp) - extract(epoch from '2026-07-18 13:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.42107 -3.360245)', '2026-07-18 13:26:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42102 -3.360163)'), GeomFromEWKT('SRID=4674;POINT (-38.42107 -3.360245)'))) / (select extract(epoch from '2026-07-18 13:26:45'::timestamp) - extract(epoch from '2026-07-18 13:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42102 -3.360163)'), GeomFromEWKT('SRID=4674;POINT (-38.42107 -3.360245)'))) / (select extract(epoch from '2026-07-18 13:26:45'::timestamp) - extract(epoch from '2026-07-18 13:26: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'), 47391, 'SRID=4674;POINT (-38.421114 -3.360313)', '2026-07-18 13:26:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42107 -3.360245)'), GeomFromEWKT('SRID=4674;POINT (-38.421114 -3.360313)'))) / (select extract(epoch from '2026-07-18 13:26:50'::timestamp) - extract(epoch from '2026-07-18 13:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42107 -3.360245)'), GeomFromEWKT('SRID=4674;POINT (-38.421114 -3.360313)'))) / (select extract(epoch from '2026-07-18 13:26:50'::timestamp) - extract(epoch from '2026-07-18 13:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.421191 -3.360401)', '2026-07-18 13:26:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421114 -3.360313)'), GeomFromEWKT('SRID=4674;POINT (-38.421191 -3.360401)'))) / (select extract(epoch from '2026-07-18 13:26:57'::timestamp) - extract(epoch from '2026-07-18 13:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421114 -3.360313)'), GeomFromEWKT('SRID=4674;POINT (-38.421191 -3.360401)'))) / (select extract(epoch from '2026-07-18 13:26:57'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.421214 -3.360422)', '2026-07-18 13:26:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421191 -3.360401)'), GeomFromEWKT('SRID=4674;POINT (-38.421214 -3.360422)'))) / (select extract(epoch from '2026-07-18 13:26:59'::timestamp) - extract(epoch from '2026-07-18 13:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421191 -3.360401)'), GeomFromEWKT('SRID=4674;POINT (-38.421214 -3.360422)'))) / (select extract(epoch from '2026-07-18 13:26:59'::timestamp) - extract(epoch from '2026-07-18 13:26: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'), 47391, 'SRID=4674;POINT (-38.421241 -3.360464)', '2026-07-18 13:27:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421214 -3.360422)'), GeomFromEWKT('SRID=4674;POINT (-38.421241 -3.360464)'))) / (select extract(epoch from '2026-07-18 13:27:02'::timestamp) - extract(epoch from '2026-07-18 13:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421214 -3.360422)'), GeomFromEWKT('SRID=4674;POINT (-38.421241 -3.360464)'))) / (select extract(epoch from '2026-07-18 13:27:02'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.421303 -3.360542)', '2026-07-18 13:27:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421241 -3.360464)'), GeomFromEWKT('SRID=4674;POINT (-38.421303 -3.360542)'))) / (select extract(epoch from '2026-07-18 13:27:07'::timestamp) - extract(epoch from '2026-07-18 13:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421241 -3.360464)'), GeomFromEWKT('SRID=4674;POINT (-38.421303 -3.360542)'))) / (select extract(epoch from '2026-07-18 13:27:07'::timestamp) - extract(epoch from '2026-07-18 13:27:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.421384 -3.360651)', '2026-07-18 13:27:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421303 -3.360542)'), GeomFromEWKT('SRID=4674;POINT (-38.421384 -3.360651)'))) / (select extract(epoch from '2026-07-18 13:27:14'::timestamp) - extract(epoch from '2026-07-18 13:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421303 -3.360542)'), GeomFromEWKT('SRID=4674;POINT (-38.421384 -3.360651)'))) / (select extract(epoch from '2026-07-18 13:27:14'::timestamp) - extract(epoch from '2026-07-18 13:27: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'), 47391, 'SRID=4674;POINT (-38.421457 -3.360729)', '2026-07-18 13:27:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421384 -3.360651)'), GeomFromEWKT('SRID=4674;POINT (-38.421457 -3.360729)'))) / (select extract(epoch from '2026-07-18 13:27:20'::timestamp) - extract(epoch from '2026-07-18 13:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421384 -3.360651)'), GeomFromEWKT('SRID=4674;POINT (-38.421457 -3.360729)'))) / (select extract(epoch from '2026-07-18 13:27:20'::timestamp) - extract(epoch from '2026-07-18 13:27: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'), 47391, 'SRID=4674;POINT (-38.421549 -3.360851)', '2026-07-18 13:27:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421457 -3.360729)'), GeomFromEWKT('SRID=4674;POINT (-38.421549 -3.360851)'))) / (select extract(epoch from '2026-07-18 13:27:28'::timestamp) - extract(epoch from '2026-07-18 13:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421457 -3.360729)'), GeomFromEWKT('SRID=4674;POINT (-38.421549 -3.360851)'))) / (select extract(epoch from '2026-07-18 13:27:28'::timestamp) - extract(epoch from '2026-07-18 13:27:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.421605 -3.360904)', '2026-07-18 13:27:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421549 -3.360851)'), GeomFromEWKT('SRID=4674;POINT (-38.421605 -3.360904)'))) / (select extract(epoch from '2026-07-18 13:27:33'::timestamp) - extract(epoch from '2026-07-18 13:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421549 -3.360851)'), GeomFromEWKT('SRID=4674;POINT (-38.421605 -3.360904)'))) / (select extract(epoch from '2026-07-18 13:27:33'::timestamp) - extract(epoch from '2026-07-18 13:27: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'), 47391, 'SRID=4674;POINT (-38.421653 -3.360959)', '2026-07-18 13:27:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421605 -3.360904)'), GeomFromEWKT('SRID=4674;POINT (-38.421653 -3.360959)'))) / (select extract(epoch from '2026-07-18 13:27:38'::timestamp) - extract(epoch from '2026-07-18 13:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421605 -3.360904)'), GeomFromEWKT('SRID=4674;POINT (-38.421653 -3.360959)'))) / (select extract(epoch from '2026-07-18 13:27:38'::timestamp) - extract(epoch from '2026-07-18 13:27: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'), 47391, 'SRID=4674;POINT (-38.42171 -3.361013)', '2026-07-18 13:27:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421653 -3.360959)'), GeomFromEWKT('SRID=4674;POINT (-38.42171 -3.361013)'))) / (select extract(epoch from '2026-07-18 13:27:43'::timestamp) - extract(epoch from '2026-07-18 13:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421653 -3.360959)'), GeomFromEWKT('SRID=4674;POINT (-38.42171 -3.361013)'))) / (select extract(epoch from '2026-07-18 13:27:43'::timestamp) - extract(epoch from '2026-07-18 13:27:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.421719 -3.361027)', '2026-07-18 13:27:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42171 -3.361013)'), GeomFromEWKT('SRID=4674;POINT (-38.421719 -3.361027)'))) / (select extract(epoch from '2026-07-18 13:27:44'::timestamp) - extract(epoch from '2026-07-18 13:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42171 -3.361013)'), GeomFromEWKT('SRID=4674;POINT (-38.421719 -3.361027)'))) / (select extract(epoch from '2026-07-18 13:27:44'::timestamp) - extract(epoch from '2026-07-18 13:27: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'), 47391, 'SRID=4674;POINT (-38.421749 -3.361059)', '2026-07-18 13:27:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421719 -3.361027)'), GeomFromEWKT('SRID=4674;POINT (-38.421749 -3.361059)'))) / (select extract(epoch from '2026-07-18 13:27:47'::timestamp) - extract(epoch from '2026-07-18 13:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421719 -3.361027)'), GeomFromEWKT('SRID=4674;POINT (-38.421749 -3.361059)'))) / (select extract(epoch from '2026-07-18 13:27:47'::timestamp) - extract(epoch from '2026-07-18 13:27: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'), 47391, 'SRID=4674;POINT (-38.421806 -3.361133)', '2026-07-18 13:27:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421749 -3.361059)'), GeomFromEWKT('SRID=4674;POINT (-38.421806 -3.361133)'))) / (select extract(epoch from '2026-07-18 13:27:52'::timestamp) - extract(epoch from '2026-07-18 13:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421749 -3.361059)'), GeomFromEWKT('SRID=4674;POINT (-38.421806 -3.361133)'))) / (select extract(epoch from '2026-07-18 13:27:52'::timestamp) - extract(epoch from '2026-07-18 13:27:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.421879 -3.361217)', '2026-07-18 13:27:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421806 -3.361133)'), GeomFromEWKT('SRID=4674;POINT (-38.421879 -3.361217)'))) / (select extract(epoch from '2026-07-18 13:27:58'::timestamp) - extract(epoch from '2026-07-18 13:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421806 -3.361133)'), GeomFromEWKT('SRID=4674;POINT (-38.421879 -3.361217)'))) / (select extract(epoch from '2026-07-18 13:27:58'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.421908 -3.36127)', '2026-07-18 13:28:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421879 -3.361217)'), GeomFromEWKT('SRID=4674;POINT (-38.421908 -3.36127)'))) / (select extract(epoch from '2026-07-18 13:28:01'::timestamp) - extract(epoch from '2026-07-18 13:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421879 -3.361217)'), GeomFromEWKT('SRID=4674;POINT (-38.421908 -3.36127)'))) / (select extract(epoch from '2026-07-18 13:28:01'::timestamp) - extract(epoch from '2026-07-18 13:27: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'), 47391, 'SRID=4674;POINT (-38.421933 -3.361299)', '2026-07-18 13:28:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421908 -3.36127)'), GeomFromEWKT('SRID=4674;POINT (-38.421933 -3.361299)'))) / (select extract(epoch from '2026-07-18 13:28:03'::timestamp) - extract(epoch from '2026-07-18 13:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421908 -3.36127)'), GeomFromEWKT('SRID=4674;POINT (-38.421933 -3.361299)'))) / (select extract(epoch from '2026-07-18 13:28:03'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.421985 -3.361377)', '2026-07-18 13:28:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421933 -3.361299)'), GeomFromEWKT('SRID=4674;POINT (-38.421985 -3.361377)'))) / (select extract(epoch from '2026-07-18 13:28:08'::timestamp) - extract(epoch from '2026-07-18 13:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421933 -3.361299)'), GeomFromEWKT('SRID=4674;POINT (-38.421985 -3.361377)'))) / (select extract(epoch from '2026-07-18 13:28:08'::timestamp) - extract(epoch from '2026-07-18 13:28: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'), 47391, 'SRID=4674;POINT (-38.422034 -3.361448)', '2026-07-18 13:28:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421985 -3.361377)'), GeomFromEWKT('SRID=4674;POINT (-38.422034 -3.361448)'))) / (select extract(epoch from '2026-07-18 13:28:13'::timestamp) - extract(epoch from '2026-07-18 13:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.421985 -3.361377)'), GeomFromEWKT('SRID=4674;POINT (-38.422034 -3.361448)'))) / (select extract(epoch from '2026-07-18 13:28:13'::timestamp) - extract(epoch from '2026-07-18 13:28:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.422087 -3.361517)', '2026-07-18 13:28:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422034 -3.361448)'), GeomFromEWKT('SRID=4674;POINT (-38.422087 -3.361517)'))) / (select extract(epoch from '2026-07-18 13:28:18'::timestamp) - extract(epoch from '2026-07-18 13:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422034 -3.361448)'), GeomFromEWKT('SRID=4674;POINT (-38.422087 -3.361517)'))) / (select extract(epoch from '2026-07-18 13:28:18'::timestamp) - extract(epoch from '2026-07-18 13:28:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.422138 -3.361595)', '2026-07-18 13:28:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422087 -3.361517)'), GeomFromEWKT('SRID=4674;POINT (-38.422138 -3.361595)'))) / (select extract(epoch from '2026-07-18 13:28:23'::timestamp) - extract(epoch from '2026-07-18 13:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422087 -3.361517)'), GeomFromEWKT('SRID=4674;POINT (-38.422138 -3.361595)'))) / (select extract(epoch from '2026-07-18 13:28:23'::timestamp) - extract(epoch from '2026-07-18 13:28: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'), 47391, 'SRID=4674;POINT (-38.422196 -3.361663)', '2026-07-18 13:28:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422138 -3.361595)'), GeomFromEWKT('SRID=4674;POINT (-38.422196 -3.361663)'))) / (select extract(epoch from '2026-07-18 13:28:28'::timestamp) - extract(epoch from '2026-07-18 13:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422138 -3.361595)'), GeomFromEWKT('SRID=4674;POINT (-38.422196 -3.361663)'))) / (select extract(epoch from '2026-07-18 13:28:28'::timestamp) - extract(epoch from '2026-07-18 13:28:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.42227 -3.361727)', '2026-07-18 13:28:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422196 -3.361663)'), GeomFromEWKT('SRID=4674;POINT (-38.42227 -3.361727)'))) / (select extract(epoch from '2026-07-18 13:28:34'::timestamp) - extract(epoch from '2026-07-18 13:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422196 -3.361663)'), GeomFromEWKT('SRID=4674;POINT (-38.42227 -3.361727)'))) / (select extract(epoch from '2026-07-18 13:28:34'::timestamp) - extract(epoch from '2026-07-18 13:28:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.422293 -3.361752)', '2026-07-18 13:28:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42227 -3.361727)'), GeomFromEWKT('SRID=4674;POINT (-38.422293 -3.361752)'))) / (select extract(epoch from '2026-07-18 13:28:37'::timestamp) - extract(epoch from '2026-07-18 13:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42227 -3.361727)'), GeomFromEWKT('SRID=4674;POINT (-38.422293 -3.361752)'))) / (select extract(epoch from '2026-07-18 13:28:37'::timestamp) - extract(epoch from '2026-07-18 13:28:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.422328 -3.361772)', '2026-07-18 13:28:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422293 -3.361752)'), GeomFromEWKT('SRID=4674;POINT (-38.422328 -3.361772)'))) / (select extract(epoch from '2026-07-18 13:28:39'::timestamp) - extract(epoch from '2026-07-18 13:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422293 -3.361752)'), GeomFromEWKT('SRID=4674;POINT (-38.422328 -3.361772)'))) / (select extract(epoch from '2026-07-18 13:28:39'::timestamp) - extract(epoch from '2026-07-18 13:28: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'), 47391, 'SRID=4674;POINT (-38.422396 -3.361837)', '2026-07-18 13:28:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422328 -3.361772)'), GeomFromEWKT('SRID=4674;POINT (-38.422396 -3.361837)'))) / (select extract(epoch from '2026-07-18 13:28:44'::timestamp) - extract(epoch from '2026-07-18 13:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422328 -3.361772)'), GeomFromEWKT('SRID=4674;POINT (-38.422396 -3.361837)'))) / (select extract(epoch from '2026-07-18 13:28:44'::timestamp) - extract(epoch from '2026-07-18 13:28: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'), 47391, 'SRID=4674;POINT (-38.42246 -3.361898)', '2026-07-18 13:28:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422396 -3.361837)'), GeomFromEWKT('SRID=4674;POINT (-38.42246 -3.361898)'))) / (select extract(epoch from '2026-07-18 13:28:48'::timestamp) - extract(epoch from '2026-07-18 13:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422396 -3.361837)'), GeomFromEWKT('SRID=4674;POINT (-38.42246 -3.361898)'))) / (select extract(epoch from '2026-07-18 13:28:48'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.422513 -3.361967)', '2026-07-18 13:28:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42246 -3.361898)'), GeomFromEWKT('SRID=4674;POINT (-38.422513 -3.361967)'))) / (select extract(epoch from '2026-07-18 13:28:53'::timestamp) - extract(epoch from '2026-07-18 13:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42246 -3.361898)'), GeomFromEWKT('SRID=4674;POINT (-38.422513 -3.361967)'))) / (select extract(epoch from '2026-07-18 13:28:53'::timestamp) - extract(epoch from '2026-07-18 13:28: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'), 47391, 'SRID=4674;POINT (-38.422578 -3.362051)', '2026-07-18 13:28:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422513 -3.361967)'), GeomFromEWKT('SRID=4674;POINT (-38.422578 -3.362051)'))) / (select extract(epoch from '2026-07-18 13:28:58'::timestamp) - extract(epoch from '2026-07-18 13:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422513 -3.361967)'), GeomFromEWKT('SRID=4674;POINT (-38.422578 -3.362051)'))) / (select extract(epoch from '2026-07-18 13:28:58'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.422605 -3.362078)', '2026-07-18 13:29:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422578 -3.362051)'), GeomFromEWKT('SRID=4674;POINT (-38.422605 -3.362078)'))) / (select extract(epoch from '2026-07-18 13:29:00'::timestamp) - extract(epoch from '2026-07-18 13:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422578 -3.362051)'), GeomFromEWKT('SRID=4674;POINT (-38.422605 -3.362078)'))) / (select extract(epoch from '2026-07-18 13:29:00'::timestamp) - extract(epoch from '2026-07-18 13:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.422625 -3.362107)', '2026-07-18 13:29:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422605 -3.362078)'), GeomFromEWKT('SRID=4674;POINT (-38.422625 -3.362107)'))) / (select extract(epoch from '2026-07-18 13:29:02'::timestamp) - extract(epoch from '2026-07-18 13:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422605 -3.362078)'), GeomFromEWKT('SRID=4674;POINT (-38.422625 -3.362107)'))) / (select extract(epoch from '2026-07-18 13:29:02'::timestamp) - extract(epoch from '2026-07-18 13:29: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'), 47391, 'SRID=4674;POINT (-38.422686 -3.362185)', '2026-07-18 13:29:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422625 -3.362107)'), GeomFromEWKT('SRID=4674;POINT (-38.422686 -3.362185)'))) / (select extract(epoch from '2026-07-18 13:29:07'::timestamp) - extract(epoch from '2026-07-18 13:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422625 -3.362107)'), GeomFromEWKT('SRID=4674;POINT (-38.422686 -3.362185)'))) / (select extract(epoch from '2026-07-18 13:29:07'::timestamp) - extract(epoch from '2026-07-18 13:29:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.422751 -3.362279)', '2026-07-18 13:29:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422686 -3.362185)'), GeomFromEWKT('SRID=4674;POINT (-38.422751 -3.362279)'))) / (select extract(epoch from '2026-07-18 13:29:13'::timestamp) - extract(epoch from '2026-07-18 13:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422686 -3.362185)'), GeomFromEWKT('SRID=4674;POINT (-38.422751 -3.362279)'))) / (select extract(epoch from '2026-07-18 13:29:13'::timestamp) - extract(epoch from '2026-07-18 13:29:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.422783 -3.362319)', '2026-07-18 13:29:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422751 -3.362279)'), GeomFromEWKT('SRID=4674;POINT (-38.422783 -3.362319)'))) / (select extract(epoch from '2026-07-18 13:29:16'::timestamp) - extract(epoch from '2026-07-18 13:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422751 -3.362279)'), GeomFromEWKT('SRID=4674;POINT (-38.422783 -3.362319)'))) / (select extract(epoch from '2026-07-18 13:29:16'::timestamp) - extract(epoch from '2026-07-18 13:29:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4228 -3.362345)', '2026-07-18 13:29:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422783 -3.362319)'), GeomFromEWKT('SRID=4674;POINT (-38.4228 -3.362345)'))) / (select extract(epoch from '2026-07-18 13:29:18'::timestamp) - extract(epoch from '2026-07-18 13:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422783 -3.362319)'), GeomFromEWKT('SRID=4674;POINT (-38.4228 -3.362345)'))) / (select extract(epoch from '2026-07-18 13:29:18'::timestamp) - extract(epoch from '2026-07-18 13:29: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'), 47391, 'SRID=4674;POINT (-38.422896 -3.362461)', '2026-07-18 13:29:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4228 -3.362345)'), GeomFromEWKT('SRID=4674;POINT (-38.422896 -3.362461)'))) / (select extract(epoch from '2026-07-18 13:29:27'::timestamp) - extract(epoch from '2026-07-18 13:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4228 -3.362345)'), GeomFromEWKT('SRID=4674;POINT (-38.422896 -3.362461)'))) / (select extract(epoch from '2026-07-18 13:29:27'::timestamp) - extract(epoch from '2026-07-18 13:29: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'), 47391, 'SRID=4674;POINT (-38.422964 -3.362539)', '2026-07-18 13:29:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422896 -3.362461)'), GeomFromEWKT('SRID=4674;POINT (-38.422964 -3.362539)'))) / (select extract(epoch from '2026-07-18 13:29:33'::timestamp) - extract(epoch from '2026-07-18 13:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422896 -3.362461)'), GeomFromEWKT('SRID=4674;POINT (-38.422964 -3.362539)'))) / (select extract(epoch from '2026-07-18 13:29:33'::timestamp) - extract(epoch from '2026-07-18 13:29: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'), 47391, 'SRID=4674;POINT (-38.423031 -3.36263)', '2026-07-18 13:29:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422964 -3.362539)'), GeomFromEWKT('SRID=4674;POINT (-38.423031 -3.36263)'))) / (select extract(epoch from '2026-07-18 13:29:39'::timestamp) - extract(epoch from '2026-07-18 13:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.422964 -3.362539)'), GeomFromEWKT('SRID=4674;POINT (-38.423031 -3.36263)'))) / (select extract(epoch from '2026-07-18 13:29:39'::timestamp) - extract(epoch from '2026-07-18 13:29: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'), 47391, 'SRID=4674;POINT (-38.423093 -3.3627)', '2026-07-18 13:29:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423031 -3.36263)'), GeomFromEWKT('SRID=4674;POINT (-38.423093 -3.3627)'))) / (select extract(epoch from '2026-07-18 13:29:44'::timestamp) - extract(epoch from '2026-07-18 13:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423031 -3.36263)'), GeomFromEWKT('SRID=4674;POINT (-38.423093 -3.3627)'))) / (select extract(epoch from '2026-07-18 13:29:44'::timestamp) - extract(epoch from '2026-07-18 13:29:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.42316 -3.362769)', '2026-07-18 13:29:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423093 -3.3627)'), GeomFromEWKT('SRID=4674;POINT (-38.42316 -3.362769)'))) / (select extract(epoch from '2026-07-18 13:29:50'::timestamp) - extract(epoch from '2026-07-18 13:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423093 -3.3627)'), GeomFromEWKT('SRID=4674;POINT (-38.42316 -3.362769)'))) / (select extract(epoch from '2026-07-18 13:29:50'::timestamp) - extract(epoch from '2026-07-18 13:29:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.423198 -3.362812)', '2026-07-18 13:29:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42316 -3.362769)'), GeomFromEWKT('SRID=4674;POINT (-38.423198 -3.362812)'))) / (select extract(epoch from '2026-07-18 13:29:54'::timestamp) - extract(epoch from '2026-07-18 13:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42316 -3.362769)'), GeomFromEWKT('SRID=4674;POINT (-38.423198 -3.362812)'))) / (select extract(epoch from '2026-07-18 13:29:54'::timestamp) - extract(epoch from '2026-07-18 13:29:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.423274 -3.362883)', '2026-07-18 13:30:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423198 -3.362812)'), GeomFromEWKT('SRID=4674;POINT (-38.423274 -3.362883)'))) / (select extract(epoch from '2026-07-18 13:30:00'::timestamp) - extract(epoch from '2026-07-18 13:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423198 -3.362812)'), GeomFromEWKT('SRID=4674;POINT (-38.423274 -3.362883)'))) / (select extract(epoch from '2026-07-18 13:30:00'::timestamp) - extract(epoch from '2026-07-18 13:29: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'), 47391, 'SRID=4674;POINT (-38.423357 -3.362956)', '2026-07-18 13:30:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423274 -3.362883)'), GeomFromEWKT('SRID=4674;POINT (-38.423357 -3.362956)'))) / (select extract(epoch from '2026-07-18 13:30:06'::timestamp) - extract(epoch from '2026-07-18 13:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423274 -3.362883)'), GeomFromEWKT('SRID=4674;POINT (-38.423357 -3.362956)'))) / (select extract(epoch from '2026-07-18 13:30:06'::timestamp) - extract(epoch from '2026-07-18 13:30: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'), 47391, 'SRID=4674;POINT (-38.423449 -3.363041)', '2026-07-18 13:30:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423357 -3.362956)'), GeomFromEWKT('SRID=4674;POINT (-38.423449 -3.363041)'))) / (select extract(epoch from '2026-07-18 13:30:12'::timestamp) - extract(epoch from '2026-07-18 13:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423357 -3.362956)'), GeomFromEWKT('SRID=4674;POINT (-38.423449 -3.363041)'))) / (select extract(epoch from '2026-07-18 13:30:12'::timestamp) - extract(epoch from '2026-07-18 13:30:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.423483 -3.36308)', '2026-07-18 13:30:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423449 -3.363041)'), GeomFromEWKT('SRID=4674;POINT (-38.423483 -3.36308)'))) / (select extract(epoch from '2026-07-18 13:30:15'::timestamp) - extract(epoch from '2026-07-18 13:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423449 -3.363041)'), GeomFromEWKT('SRID=4674;POINT (-38.423483 -3.36308)'))) / (select extract(epoch from '2026-07-18 13:30:15'::timestamp) - extract(epoch from '2026-07-18 13:30: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'), 47391, 'SRID=4674;POINT (-38.423512 -3.363112)', '2026-07-18 13:30:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423483 -3.36308)'), GeomFromEWKT('SRID=4674;POINT (-38.423512 -3.363112)'))) / (select extract(epoch from '2026-07-18 13:30:17'::timestamp) - extract(epoch from '2026-07-18 13:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423483 -3.36308)'), GeomFromEWKT('SRID=4674;POINT (-38.423512 -3.363112)'))) / (select extract(epoch from '2026-07-18 13:30:17'::timestamp) - extract(epoch from '2026-07-18 13:30:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.423582 -3.36321)', '2026-07-18 13:30:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423512 -3.363112)'), GeomFromEWKT('SRID=4674;POINT (-38.423582 -3.36321)'))) / (select extract(epoch from '2026-07-18 13:30:23'::timestamp) - extract(epoch from '2026-07-18 13:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423512 -3.363112)'), GeomFromEWKT('SRID=4674;POINT (-38.423582 -3.36321)'))) / (select extract(epoch from '2026-07-18 13:30:23'::timestamp) - extract(epoch from '2026-07-18 13:30: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'), 47391, 'SRID=4674;POINT (-38.423643 -3.363292)', '2026-07-18 13:30:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423582 -3.36321)'), GeomFromEWKT('SRID=4674;POINT (-38.423643 -3.363292)'))) / (select extract(epoch from '2026-07-18 13:30:28'::timestamp) - extract(epoch from '2026-07-18 13:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423582 -3.36321)'), GeomFromEWKT('SRID=4674;POINT (-38.423643 -3.363292)'))) / (select extract(epoch from '2026-07-18 13:30:28'::timestamp) - extract(epoch from '2026-07-18 13:30: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'), 47391, 'SRID=4674;POINT (-38.423736 -3.3634)', '2026-07-18 13:30:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423643 -3.363292)'), GeomFromEWKT('SRID=4674;POINT (-38.423736 -3.3634)'))) / (select extract(epoch from '2026-07-18 13:30:35'::timestamp) - extract(epoch from '2026-07-18 13:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423643 -3.363292)'), GeomFromEWKT('SRID=4674;POINT (-38.423736 -3.3634)'))) / (select extract(epoch from '2026-07-18 13:30:35'::timestamp) - extract(epoch from '2026-07-18 13:30:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.423745 -3.363415)', '2026-07-18 13:30:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423736 -3.3634)'), GeomFromEWKT('SRID=4674;POINT (-38.423745 -3.363415)'))) / (select extract(epoch from '2026-07-18 13:30:36'::timestamp) - extract(epoch from '2026-07-18 13:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423736 -3.3634)'), GeomFromEWKT('SRID=4674;POINT (-38.423745 -3.363415)'))) / (select extract(epoch from '2026-07-18 13:30:36'::timestamp) - extract(epoch from '2026-07-18 13:30:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.423782 -3.363459)', '2026-07-18 13:30:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423745 -3.363415)'), GeomFromEWKT('SRID=4674;POINT (-38.423782 -3.363459)'))) / (select extract(epoch from '2026-07-18 13:30:39'::timestamp) - extract(epoch from '2026-07-18 13:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423745 -3.363415)'), GeomFromEWKT('SRID=4674;POINT (-38.423782 -3.363459)'))) / (select extract(epoch from '2026-07-18 13:30:39'::timestamp) - extract(epoch from '2026-07-18 13:30: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'), 47391, 'SRID=4674;POINT (-38.423845 -3.363516)', '2026-07-18 13:30:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423782 -3.363459)'), GeomFromEWKT('SRID=4674;POINT (-38.423845 -3.363516)'))) / (select extract(epoch from '2026-07-18 13:30:44'::timestamp) - extract(epoch from '2026-07-18 13:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423782 -3.363459)'), GeomFromEWKT('SRID=4674;POINT (-38.423845 -3.363516)'))) / (select extract(epoch from '2026-07-18 13:30:44'::timestamp) - extract(epoch from '2026-07-18 13:30:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.423869 -3.363544)', '2026-07-18 13:30:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423845 -3.363516)'), GeomFromEWKT('SRID=4674;POINT (-38.423869 -3.363544)'))) / (select extract(epoch from '2026-07-18 13:30:46'::timestamp) - extract(epoch from '2026-07-18 13:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423845 -3.363516)'), GeomFromEWKT('SRID=4674;POINT (-38.423869 -3.363544)'))) / (select extract(epoch from '2026-07-18 13:30:46'::timestamp) - extract(epoch from '2026-07-18 13:30:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.423915 -3.363582)', '2026-07-18 13:30:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423869 -3.363544)'), GeomFromEWKT('SRID=4674;POINT (-38.423915 -3.363582)'))) / (select extract(epoch from '2026-07-18 13:30:49'::timestamp) - extract(epoch from '2026-07-18 13:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423869 -3.363544)'), GeomFromEWKT('SRID=4674;POINT (-38.423915 -3.363582)'))) / (select extract(epoch from '2026-07-18 13:30:49'::timestamp) - extract(epoch from '2026-07-18 13:30: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'), 47391, 'SRID=4674;POINT (-38.423978 -3.363681)', '2026-07-18 13:30:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423915 -3.363582)'), GeomFromEWKT('SRID=4674;POINT (-38.423978 -3.363681)'))) / (select extract(epoch from '2026-07-18 13:30:56'::timestamp) - extract(epoch from '2026-07-18 13:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423915 -3.363582)'), GeomFromEWKT('SRID=4674;POINT (-38.423978 -3.363681)'))) / (select extract(epoch from '2026-07-18 13:30:56'::timestamp) - extract(epoch from '2026-07-18 13:30: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'), 47391, 'SRID=4674;POINT (-38.424054 -3.363766)', '2026-07-18 13:31:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423978 -3.363681)'), GeomFromEWKT('SRID=4674;POINT (-38.424054 -3.363766)'))) / (select extract(epoch from '2026-07-18 13:31:03'::timestamp) - extract(epoch from '2026-07-18 13:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.423978 -3.363681)'), GeomFromEWKT('SRID=4674;POINT (-38.424054 -3.363766)'))) / (select extract(epoch from '2026-07-18 13:31:03'::timestamp) - extract(epoch from '2026-07-18 13:30: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'), 47391, 'SRID=4674;POINT (-38.424078 -3.36379)', '2026-07-18 13:31:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424054 -3.363766)'), GeomFromEWKT('SRID=4674;POINT (-38.424078 -3.36379)'))) / (select extract(epoch from '2026-07-18 13:31:05'::timestamp) - extract(epoch from '2026-07-18 13:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424054 -3.363766)'), GeomFromEWKT('SRID=4674;POINT (-38.424078 -3.36379)'))) / (select extract(epoch from '2026-07-18 13:31:05'::timestamp) - extract(epoch from '2026-07-18 13:31: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'), 47391, 'SRID=4674;POINT (-38.424109 -3.363819)', '2026-07-18 13:31:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424078 -3.36379)'), GeomFromEWKT('SRID=4674;POINT (-38.424109 -3.363819)'))) / (select extract(epoch from '2026-07-18 13:31:08'::timestamp) - extract(epoch from '2026-07-18 13:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424078 -3.36379)'), GeomFromEWKT('SRID=4674;POINT (-38.424109 -3.363819)'))) / (select extract(epoch from '2026-07-18 13:31:08'::timestamp) - extract(epoch from '2026-07-18 13:31:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.424178 -3.363895)', '2026-07-18 13:31:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424109 -3.363819)'), GeomFromEWKT('SRID=4674;POINT (-38.424178 -3.363895)'))) / (select extract(epoch from '2026-07-18 13:31:13'::timestamp) - extract(epoch from '2026-07-18 13:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424109 -3.363819)'), GeomFromEWKT('SRID=4674;POINT (-38.424178 -3.363895)'))) / (select extract(epoch from '2026-07-18 13:31:13'::timestamp) - extract(epoch from '2026-07-18 13:31: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'), 47391, 'SRID=4674;POINT (-38.424193 -3.363915)', '2026-07-18 13:31:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424178 -3.363895)'), GeomFromEWKT('SRID=4674;POINT (-38.424193 -3.363915)'))) / (select extract(epoch from '2026-07-18 13:31:15'::timestamp) - extract(epoch from '2026-07-18 13:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424178 -3.363895)'), GeomFromEWKT('SRID=4674;POINT (-38.424193 -3.363915)'))) / (select extract(epoch from '2026-07-18 13:31:15'::timestamp) - extract(epoch from '2026-07-18 13:31: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'), 47391, 'SRID=4674;POINT (-38.424235 -3.363955)', '2026-07-18 13:31:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424193 -3.363915)'), GeomFromEWKT('SRID=4674;POINT (-38.424235 -3.363955)'))) / (select extract(epoch from '2026-07-18 13:31:18'::timestamp) - extract(epoch from '2026-07-18 13:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424193 -3.363915)'), GeomFromEWKT('SRID=4674;POINT (-38.424235 -3.363955)'))) / (select extract(epoch from '2026-07-18 13:31:18'::timestamp) - extract(epoch from '2026-07-18 13:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.424252 -3.363981)', '2026-07-18 13:31:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424235 -3.363955)'), GeomFromEWKT('SRID=4674;POINT (-38.424252 -3.363981)'))) / (select extract(epoch from '2026-07-18 13:31:20'::timestamp) - extract(epoch from '2026-07-18 13:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424235 -3.363955)'), GeomFromEWKT('SRID=4674;POINT (-38.424252 -3.363981)'))) / (select extract(epoch from '2026-07-18 13:31:20'::timestamp) - extract(epoch from '2026-07-18 13:31: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'), 47391, 'SRID=4674;POINT (-38.424286 -3.363994)', '2026-07-18 13:31:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424252 -3.363981)'), GeomFromEWKT('SRID=4674;POINT (-38.424286 -3.363994)'))) / (select extract(epoch from '2026-07-18 13:31:22'::timestamp) - extract(epoch from '2026-07-18 13:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424252 -3.363981)'), GeomFromEWKT('SRID=4674;POINT (-38.424286 -3.363994)'))) / (select extract(epoch from '2026-07-18 13:31:22'::timestamp) - extract(epoch from '2026-07-18 13:31:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.424308 -3.364025)', '2026-07-18 13:31:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424286 -3.363994)'), GeomFromEWKT('SRID=4674;POINT (-38.424308 -3.364025)'))) / (select extract(epoch from '2026-07-18 13:31:24'::timestamp) - extract(epoch from '2026-07-18 13:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424286 -3.363994)'), GeomFromEWKT('SRID=4674;POINT (-38.424308 -3.364025)'))) / (select extract(epoch from '2026-07-18 13:31:24'::timestamp) - extract(epoch from '2026-07-18 13:31: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'), 47391, 'SRID=4674;POINT (-38.424344 -3.364055)', '2026-07-18 13:31:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424308 -3.364025)'), GeomFromEWKT('SRID=4674;POINT (-38.424344 -3.364055)'))) / (select extract(epoch from '2026-07-18 13:31:26'::timestamp) - extract(epoch from '2026-07-18 13:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424308 -3.364025)'), GeomFromEWKT('SRID=4674;POINT (-38.424344 -3.364055)'))) / (select extract(epoch from '2026-07-18 13:31:26'::timestamp) - extract(epoch from '2026-07-18 13:31: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'), 47391, 'SRID=4674;POINT (-38.424386 -3.364107)', '2026-07-18 13:31:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424344 -3.364055)'), GeomFromEWKT('SRID=4674;POINT (-38.424386 -3.364107)'))) / (select extract(epoch from '2026-07-18 13:31:30'::timestamp) - extract(epoch from '2026-07-18 13:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424344 -3.364055)'), GeomFromEWKT('SRID=4674;POINT (-38.424386 -3.364107)'))) / (select extract(epoch from '2026-07-18 13:31:30'::timestamp) - extract(epoch from '2026-07-18 13:31:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.424404 -3.364116)', '2026-07-18 13:31:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424386 -3.364107)'), GeomFromEWKT('SRID=4674;POINT (-38.424404 -3.364116)'))) / (select extract(epoch from '2026-07-18 13:31:31'::timestamp) - extract(epoch from '2026-07-18 13:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424386 -3.364107)'), GeomFromEWKT('SRID=4674;POINT (-38.424404 -3.364116)'))) / (select extract(epoch from '2026-07-18 13:31:31'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.424437 -3.364143)', '2026-07-18 13:31:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424404 -3.364116)'), GeomFromEWKT('SRID=4674;POINT (-38.424437 -3.364143)'))) / (select extract(epoch from '2026-07-18 13:31:33'::timestamp) - extract(epoch from '2026-07-18 13:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424404 -3.364116)'), GeomFromEWKT('SRID=4674;POINT (-38.424437 -3.364143)'))) / (select extract(epoch from '2026-07-18 13:31:33'::timestamp) - extract(epoch from '2026-07-18 13:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.424444 -3.364158)', '2026-07-18 13:31:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424437 -3.364143)'), GeomFromEWKT('SRID=4674;POINT (-38.424444 -3.364158)'))) / (select extract(epoch from '2026-07-18 13:31:34'::timestamp) - extract(epoch from '2026-07-18 13:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424437 -3.364143)'), GeomFromEWKT('SRID=4674;POINT (-38.424444 -3.364158)'))) / (select extract(epoch from '2026-07-18 13:31:34'::timestamp) - extract(epoch from '2026-07-18 13:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.424453 -3.364169)', '2026-07-18 13:31:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424444 -3.364158)'), GeomFromEWKT('SRID=4674;POINT (-38.424453 -3.364169)'))) / (select extract(epoch from '2026-07-18 13:31:35'::timestamp) - extract(epoch from '2026-07-18 13:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424444 -3.364158)'), GeomFromEWKT('SRID=4674;POINT (-38.424453 -3.364169)'))) / (select extract(epoch from '2026-07-18 13:31:35'::timestamp) - extract(epoch from '2026-07-18 13:31: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'), 47391, 'SRID=4674;POINT (-38.424498 -3.364222)', '2026-07-18 13:31:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424453 -3.364169)'), GeomFromEWKT('SRID=4674;POINT (-38.424498 -3.364222)'))) / (select extract(epoch from '2026-07-18 13:31:39'::timestamp) - extract(epoch from '2026-07-18 13:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424453 -3.364169)'), GeomFromEWKT('SRID=4674;POINT (-38.424498 -3.364222)'))) / (select extract(epoch from '2026-07-18 13:31:39'::timestamp) - extract(epoch from '2026-07-18 13:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.424547 -3.36429)', '2026-07-18 13:31:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424498 -3.364222)'), GeomFromEWKT('SRID=4674;POINT (-38.424547 -3.36429)'))) / (select extract(epoch from '2026-07-18 13:31:44'::timestamp) - extract(epoch from '2026-07-18 13:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424498 -3.364222)'), GeomFromEWKT('SRID=4674;POINT (-38.424547 -3.36429)'))) / (select extract(epoch from '2026-07-18 13:31:44'::timestamp) - extract(epoch from '2026-07-18 13:31: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'), 47391, 'SRID=4674;POINT (-38.424601 -3.364357)', '2026-07-18 13:31:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424547 -3.36429)'), GeomFromEWKT('SRID=4674;POINT (-38.424601 -3.364357)'))) / (select extract(epoch from '2026-07-18 13:31:49'::timestamp) - extract(epoch from '2026-07-18 13:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424547 -3.36429)'), GeomFromEWKT('SRID=4674;POINT (-38.424601 -3.364357)'))) / (select extract(epoch from '2026-07-18 13:31:49'::timestamp) - extract(epoch from '2026-07-18 13:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.424612 -3.364366)', '2026-07-18 13:31:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424601 -3.364357)'), GeomFromEWKT('SRID=4674;POINT (-38.424612 -3.364366)'))) / (select extract(epoch from '2026-07-18 13:31:50'::timestamp) - extract(epoch from '2026-07-18 13:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424601 -3.364357)'), GeomFromEWKT('SRID=4674;POINT (-38.424612 -3.364366)'))) / (select extract(epoch from '2026-07-18 13:31:50'::timestamp) - extract(epoch from '2026-07-18 13:31: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'), 47391, 'SRID=4674;POINT (-38.424648 -3.364401)', '2026-07-18 13:31:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424612 -3.364366)'), GeomFromEWKT('SRID=4674;POINT (-38.424648 -3.364401)'))) / (select extract(epoch from '2026-07-18 13:31:53'::timestamp) - extract(epoch from '2026-07-18 13:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424612 -3.364366)'), GeomFromEWKT('SRID=4674;POINT (-38.424648 -3.364401)'))) / (select extract(epoch from '2026-07-18 13:31:53'::timestamp) - extract(epoch from '2026-07-18 13:31: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'), 47391, 'SRID=4674;POINT (-38.424696 -3.364443)', '2026-07-18 13:31:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424648 -3.364401)'), GeomFromEWKT('SRID=4674;POINT (-38.424696 -3.364443)'))) / (select extract(epoch from '2026-07-18 13:31:57'::timestamp) - extract(epoch from '2026-07-18 13:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424648 -3.364401)'), GeomFromEWKT('SRID=4674;POINT (-38.424696 -3.364443)'))) / (select extract(epoch from '2026-07-18 13:31:57'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.424707 -3.364454)', '2026-07-18 13:31:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424696 -3.364443)'), GeomFromEWKT('SRID=4674;POINT (-38.424707 -3.364454)'))) / (select extract(epoch from '2026-07-18 13:31:58'::timestamp) - extract(epoch from '2026-07-18 13:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424696 -3.364443)'), GeomFromEWKT('SRID=4674;POINT (-38.424707 -3.364454)'))) / (select extract(epoch from '2026-07-18 13:31:58'::timestamp) - extract(epoch from '2026-07-18 13:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.424763 -3.3645)', '2026-07-18 13:32:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424707 -3.364454)'), GeomFromEWKT('SRID=4674;POINT (-38.424763 -3.3645)'))) / (select extract(epoch from '2026-07-18 13:32:03'::timestamp) - extract(epoch from '2026-07-18 13:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424707 -3.364454)'), GeomFromEWKT('SRID=4674;POINT (-38.424763 -3.3645)'))) / (select extract(epoch from '2026-07-18 13:32:03'::timestamp) - extract(epoch from '2026-07-18 13:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.42484 -3.364568)', '2026-07-18 13:32:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424763 -3.3645)'), GeomFromEWKT('SRID=4674;POINT (-38.42484 -3.364568)'))) / (select extract(epoch from '2026-07-18 13:32:09'::timestamp) - extract(epoch from '2026-07-18 13:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424763 -3.3645)'), GeomFromEWKT('SRID=4674;POINT (-38.42484 -3.364568)'))) / (select extract(epoch from '2026-07-18 13:32:09'::timestamp) - extract(epoch from '2026-07-18 13:32: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'), 47391, 'SRID=4674;POINT (-38.424915 -3.364654)', '2026-07-18 13:32:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42484 -3.364568)'), GeomFromEWKT('SRID=4674;POINT (-38.424915 -3.364654)'))) / (select extract(epoch from '2026-07-18 13:32:15'::timestamp) - extract(epoch from '2026-07-18 13:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42484 -3.364568)'), GeomFromEWKT('SRID=4674;POINT (-38.424915 -3.364654)'))) / (select extract(epoch from '2026-07-18 13:32:15'::timestamp) - extract(epoch from '2026-07-18 13:32:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.424969 -3.364739)', '2026-07-18 13:32:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424915 -3.364654)'), GeomFromEWKT('SRID=4674;POINT (-38.424969 -3.364739)'))) / (select extract(epoch from '2026-07-18 13:32:21'::timestamp) - extract(epoch from '2026-07-18 13:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424915 -3.364654)'), GeomFromEWKT('SRID=4674;POINT (-38.424969 -3.364739)'))) / (select extract(epoch from '2026-07-18 13:32:21'::timestamp) - extract(epoch from '2026-07-18 13:32: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'), 47391, 'SRID=4674;POINT (-38.425005 -3.364796)', '2026-07-18 13:32:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424969 -3.364739)'), GeomFromEWKT('SRID=4674;POINT (-38.425005 -3.364796)'))) / (select extract(epoch from '2026-07-18 13:32:26'::timestamp) - extract(epoch from '2026-07-18 13:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.424969 -3.364739)'), GeomFromEWKT('SRID=4674;POINT (-38.425005 -3.364796)'))) / (select extract(epoch from '2026-07-18 13:32:26'::timestamp) - extract(epoch from '2026-07-18 13:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.425057 -3.36486)', '2026-07-18 13:32:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425005 -3.364796)'), GeomFromEWKT('SRID=4674;POINT (-38.425057 -3.36486)'))) / (select extract(epoch from '2026-07-18 13:32:32'::timestamp) - extract(epoch from '2026-07-18 13:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425005 -3.364796)'), GeomFromEWKT('SRID=4674;POINT (-38.425057 -3.36486)'))) / (select extract(epoch from '2026-07-18 13:32:32'::timestamp) - extract(epoch from '2026-07-18 13:32:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.42514 -3.364923)', '2026-07-18 13:32:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425057 -3.36486)'), GeomFromEWKT('SRID=4674;POINT (-38.42514 -3.364923)'))) / (select extract(epoch from '2026-07-18 13:32:38'::timestamp) - extract(epoch from '2026-07-18 13:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425057 -3.36486)'), GeomFromEWKT('SRID=4674;POINT (-38.42514 -3.364923)'))) / (select extract(epoch from '2026-07-18 13:32:38'::timestamp) - extract(epoch from '2026-07-18 13:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.425196 -3.364996)', '2026-07-18 13:32:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42514 -3.364923)'), GeomFromEWKT('SRID=4674;POINT (-38.425196 -3.364996)'))) / (select extract(epoch from '2026-07-18 13:32:43'::timestamp) - extract(epoch from '2026-07-18 13:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42514 -3.364923)'), GeomFromEWKT('SRID=4674;POINT (-38.425196 -3.364996)'))) / (select extract(epoch from '2026-07-18 13:32:43'::timestamp) - extract(epoch from '2026-07-18 13:32: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'), 47391, 'SRID=4674;POINT (-38.425263 -3.365091)', '2026-07-18 13:32:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425196 -3.364996)'), GeomFromEWKT('SRID=4674;POINT (-38.425263 -3.365091)'))) / (select extract(epoch from '2026-07-18 13:32:49'::timestamp) - extract(epoch from '2026-07-18 13:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425196 -3.364996)'), GeomFromEWKT('SRID=4674;POINT (-38.425263 -3.365091)'))) / (select extract(epoch from '2026-07-18 13:32:49'::timestamp) - extract(epoch from '2026-07-18 13:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.425327 -3.365181)', '2026-07-18 13:32:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425263 -3.365091)'), GeomFromEWKT('SRID=4674;POINT (-38.425327 -3.365181)'))) / (select extract(epoch from '2026-07-18 13:32:55'::timestamp) - extract(epoch from '2026-07-18 13:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425263 -3.365091)'), GeomFromEWKT('SRID=4674;POINT (-38.425327 -3.365181)'))) / (select extract(epoch from '2026-07-18 13:32:55'::timestamp) - extract(epoch from '2026-07-18 13:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.425352 -3.36521)', '2026-07-18 13:32:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425327 -3.365181)'), GeomFromEWKT('SRID=4674;POINT (-38.425352 -3.36521)'))) / (select extract(epoch from '2026-07-18 13:32:57'::timestamp) - extract(epoch from '2026-07-18 13:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425327 -3.365181)'), GeomFromEWKT('SRID=4674;POINT (-38.425352 -3.36521)'))) / (select extract(epoch from '2026-07-18 13:32:57'::timestamp) - extract(epoch from '2026-07-18 13:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.425382 -3.365235)', '2026-07-18 13:32:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425352 -3.36521)'), GeomFromEWKT('SRID=4674;POINT (-38.425382 -3.365235)'))) / (select extract(epoch from '2026-07-18 13:32:59'::timestamp) - extract(epoch from '2026-07-18 13:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425352 -3.36521)'), GeomFromEWKT('SRID=4674;POINT (-38.425382 -3.365235)'))) / (select extract(epoch from '2026-07-18 13:32:59'::timestamp) - extract(epoch from '2026-07-18 13:32:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.425434 -3.365306)', '2026-07-18 13:33:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425382 -3.365235)'), GeomFromEWKT('SRID=4674;POINT (-38.425434 -3.365306)'))) / (select extract(epoch from '2026-07-18 13:33:04'::timestamp) - extract(epoch from '2026-07-18 13:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425382 -3.365235)'), GeomFromEWKT('SRID=4674;POINT (-38.425434 -3.365306)'))) / (select extract(epoch from '2026-07-18 13:33:04'::timestamp) - extract(epoch from '2026-07-18 13:32: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'), 47391, 'SRID=4674;POINT (-38.42546 -3.365336)', '2026-07-18 13:33:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425434 -3.365306)'), GeomFromEWKT('SRID=4674;POINT (-38.42546 -3.365336)'))) / (select extract(epoch from '2026-07-18 13:33:06'::timestamp) - extract(epoch from '2026-07-18 13:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425434 -3.365306)'), GeomFromEWKT('SRID=4674;POINT (-38.42546 -3.365336)'))) / (select extract(epoch from '2026-07-18 13:33:06'::timestamp) - extract(epoch from '2026-07-18 13:33:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.425504 -3.36538)', '2026-07-18 13:33:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42546 -3.365336)'), GeomFromEWKT('SRID=4674;POINT (-38.425504 -3.36538)'))) / (select extract(epoch from '2026-07-18 13:33:09'::timestamp) - extract(epoch from '2026-07-18 13:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42546 -3.365336)'), GeomFromEWKT('SRID=4674;POINT (-38.425504 -3.36538)'))) / (select extract(epoch from '2026-07-18 13:33:09'::timestamp) - extract(epoch from '2026-07-18 13:33: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'), 47391, 'SRID=4674;POINT (-38.425507 -3.365392)', '2026-07-18 13:33:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425504 -3.36538)'), GeomFromEWKT('SRID=4674;POINT (-38.425507 -3.365392)'))) / (select extract(epoch from '2026-07-18 13:33:10'::timestamp) - extract(epoch from '2026-07-18 13:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425504 -3.36538)'), GeomFromEWKT('SRID=4674;POINT (-38.425507 -3.365392)'))) / (select extract(epoch from '2026-07-18 13:33:10'::timestamp) - extract(epoch from '2026-07-18 13:33: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'), 47391, 'SRID=4674;POINT (-38.425513 -3.365404)', '2026-07-18 13:33:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425507 -3.365392)'), GeomFromEWKT('SRID=4674;POINT (-38.425513 -3.365404)'))) / (select extract(epoch from '2026-07-18 13:33:11'::timestamp) - extract(epoch from '2026-07-18 13:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425507 -3.365392)'), GeomFromEWKT('SRID=4674;POINT (-38.425513 -3.365404)'))) / (select extract(epoch from '2026-07-18 13:33:11'::timestamp) - extract(epoch from '2026-07-18 13:33: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'), 47391, 'SRID=4674;POINT (-38.425561 -3.365445)', '2026-07-18 13:33:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425513 -3.365404)'), GeomFromEWKT('SRID=4674;POINT (-38.425561 -3.365445)'))) / (select extract(epoch from '2026-07-18 13:33:14'::timestamp) - extract(epoch from '2026-07-18 13:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425513 -3.365404)'), GeomFromEWKT('SRID=4674;POINT (-38.425561 -3.365445)'))) / (select extract(epoch from '2026-07-18 13:33:14'::timestamp) - extract(epoch from '2026-07-18 13:33:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.425588 -3.365479)', '2026-07-18 13:33:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425561 -3.365445)'), GeomFromEWKT('SRID=4674;POINT (-38.425588 -3.365479)'))) / (select extract(epoch from '2026-07-18 13:33:17'::timestamp) - extract(epoch from '2026-07-18 13:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425561 -3.365445)'), GeomFromEWKT('SRID=4674;POINT (-38.425588 -3.365479)'))) / (select extract(epoch from '2026-07-18 13:33:17'::timestamp) - extract(epoch from '2026-07-18 13:33: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'), 47391, 'SRID=4674;POINT (-38.425621 -3.365499)', '2026-07-18 13:33:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425588 -3.365479)'), GeomFromEWKT('SRID=4674;POINT (-38.425621 -3.365499)'))) / (select extract(epoch from '2026-07-18 13:33:19'::timestamp) - extract(epoch from '2026-07-18 13:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425588 -3.365479)'), GeomFromEWKT('SRID=4674;POINT (-38.425621 -3.365499)'))) / (select extract(epoch from '2026-07-18 13:33:19'::timestamp) - extract(epoch from '2026-07-18 13:33: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'), 47391, 'SRID=4674;POINT (-38.42568 -3.365581)', '2026-07-18 13:33:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425621 -3.365499)'), GeomFromEWKT('SRID=4674;POINT (-38.42568 -3.365581)'))) / (select extract(epoch from '2026-07-18 13:33:25'::timestamp) - extract(epoch from '2026-07-18 13:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425621 -3.365499)'), GeomFromEWKT('SRID=4674;POINT (-38.42568 -3.365581)'))) / (select extract(epoch from '2026-07-18 13:33:25'::timestamp) - extract(epoch from '2026-07-18 13:33:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.425733 -3.365661)', '2026-07-18 13:33:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42568 -3.365581)'), GeomFromEWKT('SRID=4674;POINT (-38.425733 -3.365661)'))) / (select extract(epoch from '2026-07-18 13:33:30'::timestamp) - extract(epoch from '2026-07-18 13:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42568 -3.365581)'), GeomFromEWKT('SRID=4674;POINT (-38.425733 -3.365661)'))) / (select extract(epoch from '2026-07-18 13:33:30'::timestamp) - extract(epoch from '2026-07-18 13:33: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'), 47391, 'SRID=4674;POINT (-38.42574 -3.365676)', '2026-07-18 13:33:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425733 -3.365661)'), GeomFromEWKT('SRID=4674;POINT (-38.42574 -3.365676)'))) / (select extract(epoch from '2026-07-18 13:33:31'::timestamp) - extract(epoch from '2026-07-18 13:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425733 -3.365661)'), GeomFromEWKT('SRID=4674;POINT (-38.42574 -3.365676)'))) / (select extract(epoch from '2026-07-18 13:33:31'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.425809 -3.365758)', '2026-07-18 13:33:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42574 -3.365676)'), GeomFromEWKT('SRID=4674;POINT (-38.425809 -3.365758)'))) / (select extract(epoch from '2026-07-18 13:33:37'::timestamp) - extract(epoch from '2026-07-18 13:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42574 -3.365676)'), GeomFromEWKT('SRID=4674;POINT (-38.425809 -3.365758)'))) / (select extract(epoch from '2026-07-18 13:33:37'::timestamp) - extract(epoch from '2026-07-18 13:33:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.425839 -3.365772)', '2026-07-18 13:33:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425809 -3.365758)'), GeomFromEWKT('SRID=4674;POINT (-38.425839 -3.365772)'))) / (select extract(epoch from '2026-07-18 13:33:39'::timestamp) - extract(epoch from '2026-07-18 13:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425809 -3.365758)'), GeomFromEWKT('SRID=4674;POINT (-38.425839 -3.365772)'))) / (select extract(epoch from '2026-07-18 13:33:39'::timestamp) - extract(epoch from '2026-07-18 13:33: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'), 47391, 'SRID=4674;POINT (-38.425855 -3.365797)', '2026-07-18 13:33:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425839 -3.365772)'), GeomFromEWKT('SRID=4674;POINT (-38.425855 -3.365797)'))) / (select extract(epoch from '2026-07-18 13:33:41'::timestamp) - extract(epoch from '2026-07-18 13:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425839 -3.365772)'), GeomFromEWKT('SRID=4674;POINT (-38.425855 -3.365797)'))) / (select extract(epoch from '2026-07-18 13:33:41'::timestamp) - extract(epoch from '2026-07-18 13:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.42587 -3.36582)', '2026-07-18 13:33:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425855 -3.365797)'), GeomFromEWKT('SRID=4674;POINT (-38.42587 -3.36582)'))) / (select extract(epoch from '2026-07-18 13:33:43'::timestamp) - extract(epoch from '2026-07-18 13:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425855 -3.365797)'), GeomFromEWKT('SRID=4674;POINT (-38.42587 -3.36582)'))) / (select extract(epoch from '2026-07-18 13:33:43'::timestamp) - extract(epoch from '2026-07-18 13:33:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.425902 -3.365849)', '2026-07-18 13:33:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42587 -3.36582)'), GeomFromEWKT('SRID=4674;POINT (-38.425902 -3.365849)'))) / (select extract(epoch from '2026-07-18 13:33:46'::timestamp) - extract(epoch from '2026-07-18 13:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42587 -3.36582)'), GeomFromEWKT('SRID=4674;POINT (-38.425902 -3.365849)'))) / (select extract(epoch from '2026-07-18 13:33:46'::timestamp) - extract(epoch from '2026-07-18 13:33: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'), 47391, 'SRID=4674;POINT (-38.425926 -3.365877)', '2026-07-18 13:33:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425902 -3.365849)'), GeomFromEWKT('SRID=4674;POINT (-38.425926 -3.365877)'))) / (select extract(epoch from '2026-07-18 13:33:49'::timestamp) - extract(epoch from '2026-07-18 13:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425902 -3.365849)'), GeomFromEWKT('SRID=4674;POINT (-38.425926 -3.365877)'))) / (select extract(epoch from '2026-07-18 13:33:49'::timestamp) - extract(epoch from '2026-07-18 13:33:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.425959 -3.36589)', '2026-07-18 13:33:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425926 -3.365877)'), GeomFromEWKT('SRID=4674;POINT (-38.425959 -3.36589)'))) / (select extract(epoch from '2026-07-18 13:33:51'::timestamp) - extract(epoch from '2026-07-18 13:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425926 -3.365877)'), GeomFromEWKT('SRID=4674;POINT (-38.425959 -3.36589)'))) / (select extract(epoch from '2026-07-18 13:33:51'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.426015 -3.365943)', '2026-07-18 13:33:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425959 -3.36589)'), GeomFromEWKT('SRID=4674;POINT (-38.426015 -3.365943)'))) / (select extract(epoch from '2026-07-18 13:33:56'::timestamp) - extract(epoch from '2026-07-18 13:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.425959 -3.36589)'), GeomFromEWKT('SRID=4674;POINT (-38.426015 -3.365943)'))) / (select extract(epoch from '2026-07-18 13:33:56'::timestamp) - extract(epoch from '2026-07-18 13:33: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'), 47391, 'SRID=4674;POINT (-38.426095 -3.366009)', '2026-07-18 13:34:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426015 -3.365943)'), GeomFromEWKT('SRID=4674;POINT (-38.426095 -3.366009)'))) / (select extract(epoch from '2026-07-18 13:34:02'::timestamp) - extract(epoch from '2026-07-18 13:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426015 -3.365943)'), GeomFromEWKT('SRID=4674;POINT (-38.426095 -3.366009)'))) / (select extract(epoch from '2026-07-18 13:34:02'::timestamp) - extract(epoch from '2026-07-18 13:33: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'), 47391, 'SRID=4674;POINT (-38.426183 -3.366096)', '2026-07-18 13:34:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426095 -3.366009)'), GeomFromEWKT('SRID=4674;POINT (-38.426183 -3.366096)'))) / (select extract(epoch from '2026-07-18 13:34:09'::timestamp) - extract(epoch from '2026-07-18 13:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426095 -3.366009)'), GeomFromEWKT('SRID=4674;POINT (-38.426183 -3.366096)'))) / (select extract(epoch from '2026-07-18 13:34:09'::timestamp) - extract(epoch from '2026-07-18 13:34: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'), 47391, 'SRID=4674;POINT (-38.426276 -3.36619)', '2026-07-18 13:34:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426183 -3.366096)'), GeomFromEWKT('SRID=4674;POINT (-38.426276 -3.36619)'))) / (select extract(epoch from '2026-07-18 13:34:16'::timestamp) - extract(epoch from '2026-07-18 13:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426183 -3.366096)'), GeomFromEWKT('SRID=4674;POINT (-38.426276 -3.36619)'))) / (select extract(epoch from '2026-07-18 13:34:16'::timestamp) - extract(epoch from '2026-07-18 13:34: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'), 47391, 'SRID=4674;POINT (-38.426346 -3.366264)', '2026-07-18 13:34:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426276 -3.36619)'), GeomFromEWKT('SRID=4674;POINT (-38.426346 -3.366264)'))) / (select extract(epoch from '2026-07-18 13:34:21'::timestamp) - extract(epoch from '2026-07-18 13:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426276 -3.36619)'), GeomFromEWKT('SRID=4674;POINT (-38.426346 -3.366264)'))) / (select extract(epoch from '2026-07-18 13:34:21'::timestamp) - extract(epoch from '2026-07-18 13:34: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'), 47391, 'SRID=4674;POINT (-38.426361 -3.366283)', '2026-07-18 13:34:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426346 -3.366264)'), GeomFromEWKT('SRID=4674;POINT (-38.426361 -3.366283)'))) / (select extract(epoch from '2026-07-18 13:34:22'::timestamp) - extract(epoch from '2026-07-18 13:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426346 -3.366264)'), GeomFromEWKT('SRID=4674;POINT (-38.426361 -3.366283)'))) / (select extract(epoch from '2026-07-18 13:34:22'::timestamp) - extract(epoch from '2026-07-18 13:34: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'), 47391, 'SRID=4674;POINT (-38.42638 -3.366318)', '2026-07-18 13:34:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426361 -3.366283)'), GeomFromEWKT('SRID=4674;POINT (-38.42638 -3.366318)'))) / (select extract(epoch from '2026-07-18 13:34:24'::timestamp) - extract(epoch from '2026-07-18 13:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426361 -3.366283)'), GeomFromEWKT('SRID=4674;POINT (-38.42638 -3.366318)'))) / (select extract(epoch from '2026-07-18 13:34:24'::timestamp) - extract(epoch from '2026-07-18 13:34:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.426394 -3.366331)', '2026-07-18 13:34:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42638 -3.366318)'), GeomFromEWKT('SRID=4674;POINT (-38.426394 -3.366331)'))) / (select extract(epoch from '2026-07-18 13:34:25'::timestamp) - extract(epoch from '2026-07-18 13:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.42638 -3.366318)'), GeomFromEWKT('SRID=4674;POINT (-38.426394 -3.366331)'))) / (select extract(epoch from '2026-07-18 13:34:25'::timestamp) - extract(epoch from '2026-07-18 13: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'), 47391, 'SRID=4674;POINT (-38.426466 -3.366435)', '2026-07-18 13:34:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426394 -3.366331)'), GeomFromEWKT('SRID=4674;POINT (-38.426466 -3.366435)'))) / (select extract(epoch from '2026-07-18 13:34:31'::timestamp) - extract(epoch from '2026-07-18 13:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.426394 -3.366331)'), GeomFromEWKT('SRID=4674;POINT (-38.426466 -3.366435)'))) / (select extract(epoch from '2026-07-18 13:34:31'::timestamp) - extract(epoch from '2026-07-18 13:34:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
